{"version":3,"file":"Menu_Link_Hover_Effect.-wY_1h-R.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/bZW4xsbUJqysv8trT817/hw9alPz0WCMsNEYqD39u/IpRIM7Was.js","https:/framer.com/m/framer/default-utils.js@^0.45.0","https:/framerusercontent.com/modules/Hbc0lxqGSRzFG6uMT9yO/jZfB18ggDrqER5ihmIsa/GoogleMaps.js","https:/framerusercontent.com/modules/aMLi9WlkU4anXLhxzEtp/YhB2Z9JxVqmD20vZUZOQ/Menu_Link_Hover_Effect.js"],"sourcesContent":["// Generated by Framer (c9d77eb)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-Z4wfz .framer-styles-preset-1215hac:not(.rich-text-wrapper), .framer-Z4wfz .framer-styles-preset-1215hac.rich-text-wrapper a { --framer-link-current-text-color: var(--token-a473ad64-ab8d-4ca3-9d0e-20d39b42bc08, #f9f5eb); --framer-link-hover-text-color: var(--token-a473ad64-ab8d-4ca3-9d0e-20d39b42bc08, #f9f5eb); --framer-link-hover-text-decoration: underline; --framer-link-text-color: var(--token-a473ad64-ab8d-4ca3-9d0e-20d39b42bc08, #f9f5eb); }\"];export const className=\"framer-Z4wfz\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","/*\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\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GoogleMaps.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";import{useEffect,useRef}from\"react\";//Custom menu link hover effect\nexport function withMenuLinkHoverEffect(Component){return /*#__PURE__*/forwardRef(props=>{const ref=useRef(null);const MouseEnter=event=>{event.preventDefault();const childrens=event.target.parentElement.children;Array.from(childrens).map((e,j)=>{childrens[j].style.opacity=.5;childrens[j].style.transition=\"0.2s ease-out\";});event.target.style.opacity=1;};const MouseLeave=event=>{event.preventDefault();const childrens=event.target.parentElement.children;Array.from(childrens).map((e,j)=>{childrens[j].style.opacity=1;childrens[j].style.transition=\"0.2s ease-out\";});};useEffect(()=>{if(ref.current!=null){Array.from(ref?.current?.children).map((e,i)=>{e.addEventListener(\"mouseenter\",MouseEnter);e.addEventListener(\"mouseleave\",MouseLeave);return()=>{e.removeEventListener(\"mouseenter\",MouseEnter);e.removeEventListener(\"mouseleave\",MouseLeave);};});}},[]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withMenuLinkHoverEffect\":{\"type\":\"reactHoc\",\"name\":\"withMenuLinkHoverEffect\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Menu_Link_Hover_Effect.map"],"mappings":"4UAC6B,EAAC,EAAU,UAAU,CAAC,CAAC,EAAe,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,CAAC,EAAe,EAAI,CAAC,0cAA0c,EAAe,EAAU,mCEO3lB,SAAwB,EAAW,CAAC,cAAY,OAAK,QAAM,GAAG,GAAO,CAAC,IAAM,EAAa,EAAU,CAAK,EAAE,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,kCAAkC,mBAAmB,CAAW,EAAE,KAAK,EAAK,cAAc,CAAC,CAAC,CAAC,CAAE,iBARxW,IAA2D,IAAgH,EAQ8L,EAAoB,EAAW,CAAC,YAAY,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,YAAY,cAAc,aAAa,cAAc,YAAY,+CAA+C,EAAE,KAAK,CAAC,KAAK,EAAY,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,GAAG,MAAM,OAAO,aAAa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