{"version":3,"file":"GoogleMaps.BJCJ2_2q.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","Image"],"sources":["https:/framerusercontent.com/modules/gPRLD9szjZauzoX5kWBO/Wc8TNpIbhbbzCNN8U3t9/ia5CkQbEd.js","https:/framer.com/m/framer/default-utils.js@^0.45.0","https:/framerusercontent.com/modules/Hbc0lxqGSRzFG6uMT9yO/jZfB18ggDrqER5ihmIsa/GoogleMaps.js"],"sourcesContent":["// Generated by Framer (04b9457)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getLoadingLazyAtYPosition,Image,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{Video}from\"https://framerusercontent.com/modules/lRDHiNWNVWmE0lqtoVHP/7qT0r3So12155VV5Jq5x/Video.js\";const VideoFonts=getFonts(Video);const serializationHash=\"framer-xhtBA\";const variantClassNames={L1spCEqT8:\"framer-v-tqi5ob\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={delay:0,duration:.4,ease:[.44,0,.56,1],type:\"tween\"};const toImageSrc=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value.src;}return typeof value===\"string\"?value:undefined;};const negate=value=>{return!value;};const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({height,id,image,showVideo,videoPoster,videoURL,width,...props})=>{return{...props,b1yLCVmjE:videoPoster??props.b1yLCVmjE,qr_eL5_qQ:image??props.qr_eL5_qQ,tRQiAbNTk:showVideo??props.tRQiAbNTk,XfrnL5PUK:videoURL??props.XfrnL5PUK};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,qr_eL5_qQ,tRQiAbNTk,XfrnL5PUK,b1yLCVmjE,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"L1spCEqT8\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const visible=negate(tRQiAbNTk);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-tqi5ob\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"L1spCEqT8\",ref:refBinding,style:{borderBottomLeftRadius:12,borderBottomRightRadius:12,borderTopLeftRadius:12,borderTopRightRadius:12,...style},children:[tRQiAbNTk&&/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1lsa6al-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"uEFIXPXAs-container\",nodeId:\"uEFIXPXAs\",rendersWithMotion:true,scopeId:\"ia5CkQbEd\",children:/*#__PURE__*/_jsx(Video,{backgroundColor:\"var(--token-1ad0dd99-5aec-4e1d-804a-3c603649eb34, rgb(255, 255, 255))\",borderRadius:12,bottomLeftRadius:12,bottomRightRadius:12,controls:false,height:\"100%\",id:\"uEFIXPXAs\",isMixedBorderRadius:false,layoutId:\"uEFIXPXAs\",loop:true,muted:true,objectFit:\"cover\",playing:true,poster:toImageSrc(b1yLCVmjE),posterEnabled:true,srcType:\"URL\",srcUrl:XfrnL5PUK,startTime:0,style:{height:\"100%\",width:\"100%\"},topLeftRadius:12,topRightRadius:12,volume:25,width:\"100%\"})})}),visible&&/*#__PURE__*/_jsx(Image,{as:\"figure\",background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+0),pixelHeight:1232,pixelWidth:928,sizes:componentViewport?.width||\"100vw\",...toResponsiveImage(qr_eL5_qQ)},className:\"framer-1scysv9\",layoutDependency:layoutDependency,layoutId:\"tTKWc02bo\",style:{borderBottomLeftRadius:12,borderBottomRightRadius:12,borderTopLeftRadius:12,borderTopRightRadius:12}})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-xhtBA.framer-1jneaeh, .framer-xhtBA .framer-1jneaeh { display: block; }\",\".framer-xhtBA.framer-tqi5ob { align-content: flex-start; align-items: flex-start; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 12px; height: 736px; justify-content: flex-start; overflow: hidden; padding: 0px; position: relative; width: 786px; will-change: var(--framer-will-change-override, transform); }\",\".framer-xhtBA .framer-1lsa6al-container { flex: 1 0 0px; height: 1px; pointer-events: none; position: relative; width: 100%; }\",\".framer-xhtBA .framer-1scysv9 { flex: 1 0 0px; height: 1px; position: relative; width: 100%; z-index: 1; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 736\n * @framerIntrinsicWidth 786\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"qr_eL5_qQ\":\"image\",\"tRQiAbNTk\":\"showVideo\",\"XfrnL5PUK\":\"videoURL\",\"b1yLCVmjE\":\"videoPoster\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Frameria5CkQbEd=withCSS(Component,css,\"framer-xhtBA\");export default Frameria5CkQbEd;Frameria5CkQbEd.displayName=\"Visual\";Frameria5CkQbEd.defaultProps={height:736,width:786};addPropertyControls(Frameria5CkQbEd,{qr_eL5_qQ:{title:\"Image\",type:ControlType.ResponsiveImage},tRQiAbNTk:{defaultValue:false,title:\"Show Video\",type:ControlType.Boolean},XfrnL5PUK:{defaultValue:\"\",title:\"Video URL\",type:ControlType.String},b1yLCVmjE:{description:\"A placeholder image shown while the video is loading.\",title:\"Video Poster\",type:ControlType.ResponsiveImage}});addFonts(Frameria5CkQbEd,[{explicitInter:true,fonts:[]},...VideoFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Frameria5CkQbEd\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"786\",\"framerIntrinsicHeight\":\"736\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"qr_eL5_qQ\\\":\\\"image\\\",\\\"tRQiAbNTk\\\":\\\"showVideo\\\",\\\"XfrnL5PUK\\\":\\\"videoURL\\\",\\\"b1yLCVmjE\\\":\\\"videoPoster\\\"}\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ia5CkQbEd.map","/*\n * index (framer/default-utils@0.45.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/G4IfyjvwmaeSBpdb4TWu/OIjZRBmWDcIE2B6qgG1j/index.js\"\n","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\";const coordinatesRegex=/^((?:\\-?|\\+?)?\\d+(?:\\.\\d+)?),\\s*((?:\\-?|\\+?)?\\d+(?:\\.\\d+)?)$/;/**\n * GOOGLE MAPS\n *\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 400\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function GoogleMaps({coordinates,zoom,style,...props}){const borderRadius=useRadius(props);return /*#__PURE__*/_jsx(motion.div,{style:{...style,...containerStyles,overflow:\"hidden\",borderRadius},...props,children:/*#__PURE__*/_jsx(\"iframe\",{style:{height:\"100%\",width:\"100%\",border:0},src:`https://maps.google.com/maps?q=${encodeURIComponent(coordinates)}&z=${zoom}&output=embed`})});}addPropertyControls(GoogleMaps,{coordinates:{type:ControlType.String,title:\"Location\",placeholder:\"Framer B.V.\",defaultValue:\"Framer B.V.\",description:\"The name of the place or its GPS coordinates.\"},zoom:{type:ControlType.Number,step:1,min:0,max:25,title:\"Zoom\",defaultValue:15},...borderRadiusControl});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GoogleMaps\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"400\",\"framerIntrinsicWidth\":\"600\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__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