{"version":3,"file":"PrivacyMap.B0V6y8Dk.mjs","names":["React.useState","_Fragment","__esmMin","init_npm_react_18_3_1","l","_e","p","c","init_jsx_runtime","init_framer_BWFVvmND","ControlType","addPropertyControls","PrivacyMap","DEFAULT_MAP_URL","DEFAULT_ROUTE_URL","props","loaded","setLoaded","resolvedMapUrl","mapUrl","resolvedRouteUrl","routeUrl","routeButtonStyle","borderColor","foreground","style","FONT_CSS","address","line","index","event","accent","init_PrivacyMap"],"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":"A,wLASG,SAAwBY,EAAW,EAAM,CAAC,GAAK,CAAC,UAAQ,iCAAoC,SAAOC,EAAgB,WAASC,EAAkB,aAAW,UAAU,aAAW,UAAU,SAAO,UAAU,cAAY,yBAAyB,SAAOC,EAAW,CAACC,EAAOC,GAAWjB,EAAe,EAAK,EAAQkB,EAAe,OAAOC,GAAS,UAAUA,EAAOA,EAAON,EAAsBO,EAAiB,OAAOC,GAAW,UAAUA,EAASA,EAASP,EAAwBQ,EAAiB,CAAC,QAAQ,cAAc,WAAW,SAAS,eAAe,SAAS,UAAU,GAAG,OAAO,aAAaC,EAAY,aAAa,EAAE,QAAQ,YAAuB,aAAW,MAAMC,EAAW,eAAe,OAAO,OAAO,UAAU,KAAK,4CAA4C,cAAc,SAAS,UAAU,YAAY,EAAE,MAAoB,gBAAM,UAAU,CAAC,aAAa,gBAAgB,MAAM,CAAC,GAAGC,EAAM,SAAS,WAA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