{"version":3,"file":"PrivacyMap.DpgnRfao.mjs","names":["React.useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/1PFjrfzyOpabQHykBYmC/STmemtdASTSptAhORiX2/PrivacyMap.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";const DEFAULT_MAP_URL=\"https://www.google.com/maps?q=Lenbachstra%C3%9Fe%207a%2C%2010245%20Berlin&output=embed\";const DEFAULT_ROUTE_URL=\"https://www.google.com/maps/dir/?api=1&destination=Lenbachstra%C3%9Fe%207a%2C%2010245%20Berlin\";const FONT_CSS=`\n@font-face { font-family: \"PI Ysabeau\"; src: url(\"https://fonts.gstatic.com/s/ysabeau/v5/kmKiZqEiBAXLcnuMvjZNI_5FGeJet7OWCDY1I8Gcw6Oi.woff2\") format(\"woff2\"); font-weight: 400; font-style: normal; font-display: swap; }\n@font-face { font-family: \"PI Ysabeau\"; src: url(\"https://fonts.gstatic.com/s/ysabeau/v5/kmKiZqEiBAXLcnuMvjZNI_5FGeJet7NxDzY1I8Gcw6Oi.woff2\") format(\"woff2\"); font-weight: 700; font-style: normal; font-display: swap; }\n@font-face { font-family: \"PI Bodoni Moda\"; src: url(\"https://fonts.gstatic.com/s/bodonimoda/v28/aFT67PxzY382XsXX63LUYL6GYFcan6NJrKp-VPjfJMShrpsGFUt8oZDdwIVytVjMYwE.woff2\") format(\"woff2\"); font-weight: 600; font-style: normal; font-display: swap; }\n`;/**\n * @framerIntrinsicWidth 720\n * @framerIntrinsicHeight 420\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function PrivacyMap(props){const{address=\"Lenbachstra\\xdfe 7a, 10245 Berlin\",mapUrl=DEFAULT_MAP_URL,routeUrl=DEFAULT_ROUTE_URL,background=\"#FBF7EC\",foreground=\"#102F35\",accent=\"#D98273\",borderColor=\"rgba(16, 47, 53, 0.20)\",style}=props;const[loaded,setLoaded]=React.useState(false);const resolvedMapUrl=typeof mapUrl===\"string\"&&mapUrl?mapUrl:DEFAULT_MAP_URL;const resolvedRouteUrl=typeof routeUrl===\"string\"&&routeUrl?routeUrl:DEFAULT_ROUTE_URL;const routeButtonStyle={display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",minHeight:50,border:\"1px solid \"+borderColor,borderRadius:7,padding:\"15px 22px\",background:background,color:foreground,textDecoration:\"none\",cursor:\"pointer\",font:'700 14px/1 \"Barlow Condensed\", sans-serif',letterSpacing:\"0.08em\",boxSizing:\"border-box\"};return /*#__PURE__*/_jsxs(\"section\",{\"aria-label\":\"Standortkarte\",style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",minHeight:320,overflow:\"hidden\",background,color:foreground,border:\"1px solid \"+borderColor,borderRadius:14,boxSizing:\"border-box\",fontFamily:'\"Barlow Condensed\", sans-serif',pointerEvents:\"auto\"},children:[/*#__PURE__*/_jsx(\"style\",{children:FONT_CSS}),loaded?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"iframe\",{title:\"Google Maps: \"+address,src:resolvedMapUrl,loading:\"lazy\",allowFullScreen:true,referrerPolicy:\"strict-origin-when-cross-origin\",style:{width:\"100%\",height:\"100%\",border:0,display:\"block\"}}),/*#__PURE__*/_jsx(\"a\",{href:resolvedRouteUrl,target:\"_blank\",rel:\"noopener noreferrer\",\"aria-label\":\"Route zu \"+address+\" in Google Maps planen\",style:{...routeButtonStyle,position:\"absolute\",right:16,bottom:16,zIndex:2},children:\"ROUTE PLANEN ↗\"})]}):/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",minHeight:320,display:\"flex\",flexDirection:\"column\",justifyContent:\"center\",alignItems:\"flex-start\",gap:16,padding:32,boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{fontSize:42,lineHeight:1},children:\"⌖\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:'\"Barlow Condensed\", sans-serif',fontSize:\"clamp(24px, 3vw, 28px)\",fontWeight:600,letterSpacing:\"-0.005em\",lineHeight:1.1},children:\"Standort am Ostkreuz\"}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",fontSize:18,lineHeight:1.6},children:address.split(\",\").map((line,index)=>/*#__PURE__*/_jsx(\"span\",{children:line.trim()},index))}),/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:620,fontSize:16,lineHeight:1.55,opacity:.8},children:\"Die Karte wird erst nach Deinem Klick von Google geladen. Dabei k\\xf6nnen Daten an Google \\xfcbertragen werden.\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:12,marginTop:4,position:\"relative\",zIndex:2,pointerEvents:\"auto\"},children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:event=>{event.preventDefault();event.stopPropagation();setLoaded(true);},\"aria-label\":\"Google Maps Karte laden\",style:{minHeight:50,cursor:\"pointer\",border:\"1px solid \"+borderColor,borderRadius:7,padding:\"15px 22px\",background:accent,color:foreground,font:'700 14px/1 \"Barlow Condensed\", sans-serif',letterSpacing:\"0.08em\"},children:\"GOOGLE MAPS LADEN\"}),/*#__PURE__*/_jsx(\"a\",{href:resolvedRouteUrl,target:\"_blank\",rel:\"noopener noreferrer\",\"aria-label\":\"Route zu \"+address+\" in Google Maps planen\",style:routeButtonStyle,children:\"ROUTE PLANEN ↗\"})]})]})]});}addPropertyControls(PrivacyMap,{address:{type:ControlType.String,title:\"Adresse\",defaultValue:\"Lenbachstra\\xdfe 7a, 10245 Berlin\"},mapUrl:{type:ControlType.String,title:\"Karten-URL\",defaultValue:DEFAULT_MAP_URL},routeUrl:{type:ControlType.Link,title:\"Route\",defaultValue:DEFAULT_ROUTE_URL},background:{type:ControlType.Color,title:\"Hintergrund\",defaultValue:\"#FBF7EC\"},foreground:{type:ControlType.Color,title:\"Text\",defaultValue:\"#102F35\"},accent:{type:ControlType.Color,title:\"Akzent\",defaultValue:\"#D98273\"},borderColor:{type:ControlType.Color,title:\"Rahmen\",defaultValue:\"rgba(16, 47, 53, 0.20)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PrivacyMap\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"720\",\"framerIntrinsicHeight\":\"420\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PrivacyMap.map"],"mappings":"wLASG,SAAwB,EAAW,EAAM,CAAC,GAAK,CAAC,UAAQ,iCAAoC,SAAO,EAAgB,WAAS,EAAkB,aAAW,UAAU,aAAW,UAAU,SAAO,UAAU,cAAY,yBAAyB,SAAO,EAAW,CAAC,EAAO,GAAWA,EAAe,EAAK,EAAQ,EAAe,OAAO,GAAS,UAAU,EAAO,EAAO,EAAsB,EAAiB,OAAO,GAAW,UAAU,EAAS,EAAS,EAAwB,EAAiB,CAAC,QAAQ,cAAc,WAAW,SAAS,eAAe,SAAS,UAAU,GAAG,OAAO,aAAa,EAAY,aAAa,EAAE,QAAQ,YAAuB,aAAW,MAAM,EAAW,eAAe,OAAO,OAAO,UAAU,KAAK,4CAA4C,cAAc,SAAS,UAAU,YAAY,EAAE,OAAoB,EAAM,UAAU,CAAC,aAAa,gBAAgB,MAAM,CAAC,GAAG,EAAM,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,UAAU,IAAI,SAAS,SAAS,aAAW,MAAM,EAAW,OAAO,aAAa,EAAY,aAAa,GAAG,UAAU,aAAa,WAAW,iCAAiC,cAAc,MAAM,EAAE,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS,CAAQ,CAAC,EAAE,EAAoB,EAAMC,EAAU,CAAC,SAAS,CAAc,EAAK,SAAS,CAAC,MAAM,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