{"version":3,"file":"GoogleMaps.D_adVeWS.mjs","names":[],"sources":["https:/framerusercontent.com/modules/sYcr1lCvj8fxEhu66Ltu/yJOIpKJZUJix3VpmRDR1/GoogleMaps.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,motion}from\"framer\";import{containerStyles,useRadius,borderRadiusControl}from\"https://framer.com/m/framer/default-utils.js@^0.45.0\";export default function GoogleMaps({iframeCode,style,...props}){const borderRadius=useRadius(props);// Extract the URL from the iframe code\nconst regex=/src=\"(.*?)\"/;const match=regex.exec(iframeCode);const embedUrl=match&&match[1]?match[1]:\"\";return /*#__PURE__*/_jsx(motion.div,{style:{...style,...containerStyles,overflow:\"hidden\",borderRadius},...props,children:/*#__PURE__*/_jsx(\"iframe\",{style:{height:\"100%\",width:\"100%\",border:0},src:embedUrl})});}addPropertyControls(GoogleMaps,{iframeCode:{type:ControlType.String,title:\"Iframe Code\",defaultValue:'<iframe src=\"https://www.google.com/maps/embed?pb=...\" width=\"600\" height=\"450\" style=\"border:0;\" allowfullscreen=\"\" loading=\"lazy\" referrerpolicy=\"no-referrer-when-downgrade\"></iframe>',description:\"Enter the Google Maps iframe code\"},...borderRadiusControl});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GoogleMaps\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GoogleMaps.map"],"mappings":"2bAAsN,SAAwB,EAAW,CAAC,aAAW,QAAM,GAAG,EAAM,CAAC,CAAC,IAAM,EAAa,EAAU,EAAM,CACnT,EAAM,cAAoB,EAAM,EAAM,KAAK,EAAW,CAAO,EAAS,GAAO,EAAM,GAAG,EAAM,GAAG,GAAG,MAAoB,GAAK,EAAO,IAAI,CAAC,MAAM,CAAC,GAAG,EAAM,GAAG,EAAgB,SAAS,SAAS,cAAa,EAAC,GAAG,EAAM,SAAsB,EAAK,SAAS,CAAC,MAAM,CAAC,OAAO,OAAO,MAAM,OAAO,OAAO,CAAE,EAAC,IAAI,CAAS,EAAC,AAAC,EAAC,AAAE,cAAA,AAD5T,GAA2C,IAA2D,IAAgH,CACsG,EAAoB,EAAW,CAAC,WAAW,CAAC,KAAK,EAAY,OAAO,MAAM,cAAc,aAAa,4LAA4L,YAAY,mCAAoC,EAAC,GAAG,CAAoB,EAAC"}