{"version":3,"file":"GoogleMaps.BKwJASCb.mjs","names":[],"sources":["https:/framerusercontent.com/modules/uLLfL127LbU6PKV3zIaM/w6sihujiZlwDFFAFYqHe/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":"0SAAsN,SAAwB,EAAW,CAAC,aAAW,QAAM,GAAG,GAAO,CAAC,IAAM,EAAa,EAAU,CAAK,EACxR,EAAM,cAAM,KAAK,CAAU,EAAQ,EAAS,GAAO,EAAM,GAAG,EAAM,GAAG,GAAG,OAAoB,EAAK,EAAO,IAAI,CAAC,MAAM,CAAC,GAAG,EAAM,GAAG,EAAgB,SAAS,SAAS,cAAY,EAAE,GAAG,EAAM,SAAsB,EAAK,SAAS,CAAC,MAAM,CAAC,OAAO,OAAO,MAAM,OAAO,OAAO,CAAC,EAAE,IAAI,CAAQ,CAAC,CAAC,CAAC,CAAE,iBADjR,IAA2D,IAAgH,EACuG,EAAoB,EAAW,CAAC,WAAW,CAAC,KAAK,EAAY,OAAO,MAAM,cAAc,aAAa,4LAA4L,YAAY,mCAAmC,EAAE,GAAG,CAAmB,CAAC"}