{"version":3,"file":"ModalTrigger.3DXEWOJM.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Image1","RichText","useState","useRef"],"sources":["https:/framerusercontent.com/modules/Kvcp4gurhng4pVdRvRBL/WzaJEJFwsT6DsHcsUow7/hpKkcbhRD.js","https:/framerusercontent.com/modules/EwB4jllVgp9hqHHiUvzT/ZmQUwQlF8S4lyMDlSy3w/ModalTrigger.js"],"sourcesContent":["// Generated by Framer (a1faaee)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getLoadingLazyAtYPosition,Image as Image1,RichText,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import MultiStepForm from\"https://framerusercontent.com/modules/XbpGlpaQM44upmYP9ztN/BCTsmHgyqYaa95R0p8ge/MultiStepForm.js\";const MultiStepFormFonts=getFonts(MultiStepForm);const cycleOrder=[\"uNeRgUYCK\",\"oGlmhSDZW\"];const serializationHash=\"framer-66Ao9\";const variantClassNames={oGlmhSDZW:\"framer-v-c4gs07\",uNeRgUYCK:\"framer-v-ixkb07\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const mqNnEsOY2=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};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 humanReadableVariantMap={Desktop:\"uNeRgUYCK\",Phone:\"oGlmhSDZW\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,image,width,...props})=>{return{...props,mqNnEsOY2:image??props.mqNnEsOY2??{alt:\"\",pixelHeight:884,pixelWidth:444,src:\"https://framerusercontent.com/images/7NK1TmsBED6HYYDPMRTQRu60xPA.png?width=444&height=884\",srcSet:\"https://framerusercontent.com/images/7NK1TmsBED6HYYDPMRTQRu60xPA.png?width=444&height=884 444w\"},variant:humanReadableVariantMap[props.variant]??props.variant??\"uNeRgUYCK\"};};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,mqNnEsOY2,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"uNeRgUYCK\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"oGlmhSDZW\")return false;return true;};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-ixkb07\",className,classNames),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"uNeRgUYCK\",ref:refBinding,style:{backgroundColor:\"rgb(255, 255, 255)\",...style},...addPropertyOverrides({oGlmhSDZW:{\"data-framer-name\":\"Phone\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(Image1,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+20),pixelHeight:884,pixelWidth:444,sizes:`max((${componentViewport?.width||\"100vw\"} - 60px) * 0.3023, 1px)`,...toResponsiveImage(mqNnEsOY2)},className:\"framer-da6a4t\",layoutDependency:layoutDependency,layoutId:\"KilCfBuQ2\",style:{borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8}}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-d76fwq\",layoutDependency:layoutDependency,layoutId:\"wikd9j2RA\",children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-7io0gm\",layoutDependency:layoutDependency,layoutId:\"TOpeFhPd3\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h2,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7UmVja2xlc3MgTGlnaHQ=\",\"--framer-font-family\":'\"Reckless Light\", \"Reckless Light Placeholder\", sans-serif',\"--framer-font-size\":\"32px\",\"--framer-font-weight\":\"300\",\"--framer-letter-spacing\":\"-0.03em\",\"--framer-line-height\":\"1em\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-1of0zx5, var(--token-1da2b34e-46d1-47ae-8edf-332987699324, rgb(43, 37, 88)))\"},children:\"Save €150 on your Ticket!\"})}),className:\"framer-cu9i6z\",fonts:[\"CUSTOMV2;Reckless Light\"],layoutDependency:layoutDependency,layoutId:\"DDth42LGH\",style:{\"--extracted-1of0zx5\":\"var(--token-1da2b34e-46d1-47ae-8edf-332987699324, rgb(43, 37, 88))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7R2Vpc3QgIFJlZ3VsYXI=\",\"--framer-font-family\":'\"Geist  Regular\", \"Geist  Regular Placeholder\", sans-serif',\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"1.3em\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-1da2b34e-46d1-47ae-8edf-332987699324, rgb(43, 37, 88)))\"},children:\"Register below and get a voucher that takes €150 off your ticket for any edition, valid for 2 weeks \"})}),className:\"framer-199wgk0\",fonts:[\"CUSTOMV2;Geist  Regular\"],layoutDependency:layoutDependency,layoutId:\"Hch4aBP3X\",style:{\"--extracted-r6o4lv\":\"var(--token-1da2b34e-46d1-47ae-8edf-332987699324, rgb(43, 37, 88))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true})]}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1uyct15-container\",\"data-code-component-plugin-id\":\"84d4c1\",isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"AtuftyhtW-container\",nodeId:\"AtuftyhtW\",rendersWithMotion:true,scopeId:\"hpKkcbhRD\",children:/*#__PURE__*/_jsx(MultiStepForm,{backgroundColor:\"rgb(255, 255, 255)\",borderColor:\"rgb(224, 224, 224)\",borderRadius:0,buttonFont:{fontFamily:'\"Geist  SemiBold\", \"Geist  SemiBold Placeholder\", sans-serif',fontSize:\"16px\",fontStyle:\"normal\",fontWeight:600,letterSpacing:\"-0.01em\",lineHeight:\"1em\"},editionOptions:[{isDefault:false,title:\"Barcelona (Apr 13-14)\",value:\"Barcelona\"},{isDefault:false,title:\"Lisbon (Apr 22-23)\",value:\"Lisbon\"},{isDefault:false,title:\"Berlin (May 21-22)\",value:\"Berlin\"},{isDefault:false,title:\"Amsterdam (May 28-29)\",value:\"Amsterdam\"},{isDefault:true,title:\"Not sure yet\",value:\"Unsure\"}],height:\"100%\",id:\"AtuftyhtW\",inputBackground:\"rgb(245, 245, 245)\",inputFont:{fontFamily:'\"Geist  Regular\", \"Geist  Regular Placeholder\", sans-serif',fontSize:\"16px\",fontStyle:\"normal\",fontWeight:400,letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"},labelColor:\"rgb(102, 102, 102)\",labelFont:{fontFamily:'\"Geist  Regular\", \"Geist  Regular Placeholder\", sans-serif',fontSize:\"14px\",fontStyle:\"normal\",fontWeight:400,letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"},layoutId:\"AtuftyhtW\",mainButtonBackground:\"var(--token-1da2b34e-46d1-47ae-8edf-332987699324, rgb(43, 37, 88))\",mainButtonTextColor:\"var(--token-c5aaa09d-d4b7-4d49-9e7d-11b7ad3c9571, rgb(252, 250, 243))\",payingOptions:[{title:\"Not sure yet\"},{title:\"Myself\"},{title:\"My company\"},{title:\"Someone else\"}],primaryColor:\"rgb(0, 0, 0)\",redirectUrl:\"/registered\",seniorityOptions:[{title:\"Senior\"},{title:\"Lead\"},{title:\"Principal\"},{title:\"Manager\"},{title:\"Senior Manager\"},{title:\"Head of\"},{title:\"Director\"},{title:\"Senior Director\"},{title:\"VP\"},{title:\"Other\"}],showStepCounter:false,style:{width:\"100%\"},textColor:\"rgb(0, 0, 0)\",webhookUrl:\"https://hook.eu2.make.com/jkap6w63l6ajgjritf1hr705s3fxpngy\",width:\"100%\"})})})]})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-66Ao9.framer-8h1l7i, .framer-66Ao9 .framer-8h1l7i { display: block; }\",\".framer-66Ao9.framer-ixkb07 { align-content: flex-start; align-items: flex-start; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 20px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 20px; position: relative; width: 688px; }\",\".framer-66Ao9 .framer-da6a4t { flex: 1.3 0 0px; height: 436px; overflow: visible; position: relative; width: 1px; }\",\".framer-66Ao9 .framer-d76fwq { align-content: center; align-items: center; display: flex; flex: 3 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 1px; }\",\".framer-66Ao9 .framer-7io0gm { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 7px; height: min-content; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: 100%; }\",\".framer-66Ao9 .framer-cu9i6z, .framer-66Ao9 .framer-199wgk0 { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\".framer-66Ao9 .framer-1uyct15-container { flex: none; height: auto; position: relative; width: 100%; }\",\".framer-66Ao9.framer-v-c4gs07.framer-ixkb07 { width: 430px; }\",\".framer-66Ao9.framer-v-c4gs07 .framer-d76fwq { flex: 1 0 0px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 475.5\n * @framerIntrinsicWidth 688\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"oGlmhSDZW\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"mqNnEsOY2\":\"image\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerhpKkcbhRD=withCSS(Component,css,\"framer-66Ao9\");export default FramerhpKkcbhRD;FramerhpKkcbhRD.displayName=\"Discount Modal\";FramerhpKkcbhRD.defaultProps={height:475.5,width:688};addPropertyControls(FramerhpKkcbhRD,{variant:{options:[\"uNeRgUYCK\",\"oGlmhSDZW\"],optionTitles:[\"Desktop\",\"Phone\"],title:\"Variant\",type:ControlType.Enum},mqNnEsOY2:{__defaultAssetReference:\"data:framer/asset-reference,7NK1TmsBED6HYYDPMRTQRu60xPA.png?originalFilename=modal.png&width=444&height=884\",__vekterDefault:{alt:\"\",assetReference:\"data:framer/asset-reference,7NK1TmsBED6HYYDPMRTQRu60xPA.png?originalFilename=modal.png&width=444&height=884\"},title:\"Image\",type:ControlType.ResponsiveImage}});addFonts(FramerhpKkcbhRD,[{explicitInter:true,fonts:[{cssFamilyName:\"Reckless Light\",source:\"custom\",style:\"normal\",uiFamilyName:\"Reckless\",url:\"https://framerusercontent.com/assets/PTifzpndt8vUtfGSyu4Ngucl1FE.woff2\",weight:\"300\"},{cssFamilyName:\"Geist  Regular\",source:\"custom\",style:\"normal\",uiFamilyName:\"Geist \",url:\"https://framerusercontent.com/assets/dPkibpepZ03iV3cotNMEkZQ1p0U.woff2\",weight:\"400\"},{cssFamilyName:\"Geist  SemiBold\",source:\"custom\",style:\"normal\",uiFamilyName:\"Geist \",url:\"https://framerusercontent.com/assets/7pR8uTzuzTu64khiNT8cGz0UVg4.woff2\",weight:\"600\"}]},...MultiStepFormFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerhpKkcbhRD\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"oGlmhSDZW\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicWidth\":\"688\",\"framerIntrinsicHeight\":\"475.5\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\",\"framerVariables\":\"{\\\"mqNnEsOY2\\\":\\\"image\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./hpKkcbhRD.map","// ModalTrigger component with MouseLeave, Scroll Percentage, and Time Delay triggers\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef,useState,startTransition}from\"react\";import{addPropertyControls,ControlType,RenderTarget,useIsStaticRenderer}from\"framer\";/**\n * ModalTrigger\n *\n * Shows a custom pop-up/modal based on MouseLeave, Scroll Percentage, or Time Delay triggers.\n *\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 300\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function ModalTrigger(props){const{mouseLeave,scrollTrigger,scrollPercent,delayTrigger,delaySeconds,background,borderRadius,shadow,showClose,content,fadeSpeed,disableCookie,style}=props;const[open,setOpen]=useState(false);const[hasTriggered,setHasTriggered]=useState(false);const isStatic=useIsStaticRenderer();const timerRef=useRef(null);const isMobile=typeof window!==\"undefined\"&&window.innerWidth<=768;// Cookie/session logic\nuseEffect(()=>{// Always allow triggers to run; cookie is checked right before opening the modal\nstartTransition(()=>setHasTriggered(false));},[disableCookie]);// MouseLeave (Exit Intent)\nuseEffect(()=>{if(!mouseLeave||isStatic||hasTriggered)return;if(typeof window===\"undefined\")return;function handleMouseLeave(e){if(e.clientY<=0){if(!disableCookie&&typeof window!==\"undefined\"){const closed=window.localStorage.getItem(\"framer_modal_closed\");if(closed)return;}startTransition(()=>{setOpen(true);setHasTriggered(true);});}}window.addEventListener(\"mouseout\",handleMouseLeave);return()=>window.removeEventListener(\"mouseout\",handleMouseLeave);},[mouseLeave,isStatic,hasTriggered,disableCookie]);// Scroll Trigger\nuseEffect(()=>{if(!scrollTrigger||isStatic||hasTriggered)return;if(typeof window===\"undefined\"||typeof document===\"undefined\")return;function handleScroll(){const scrollTop=window.scrollY||window.pageYOffset;// Prevent triggering on initial load before the user actually scrolls\nif(scrollTop<=0)return;const docHeight=document.documentElement.scrollHeight-window.innerHeight;if(docHeight<=0)return;const percent=scrollTop/docHeight*100;if(percent>=scrollPercent){if(!disableCookie&&typeof window!==\"undefined\"){const closed=window.localStorage.getItem(\"framer_modal_closed\");if(closed)return;}startTransition(()=>{setOpen(true);setHasTriggered(true);});}}window.addEventListener(\"scroll\",handleScroll);return()=>window.removeEventListener(\"scroll\",handleScroll);},[scrollTrigger,scrollPercent,isStatic,hasTriggered,disableCookie]);// Delay Trigger\nuseEffect(()=>{if(!delayTrigger||isStatic||hasTriggered)return;if(typeof window===\"undefined\")return;timerRef.current=window.setTimeout(()=>{if(!disableCookie&&typeof window!==\"undefined\"){const closed=window.localStorage.getItem(\"framer_modal_closed\");if(closed)return;}startTransition(()=>{setOpen(true);setHasTriggered(true);});},delaySeconds*1e3);return()=>{if(timerRef.current)clearTimeout(timerRef.current);};},[delayTrigger,delaySeconds,isStatic,hasTriggered,disableCookie]);// Close modal\nfunction handleClose(){if(typeof window!==\"undefined\"&&!disableCookie){window.localStorage.setItem(\"framer_modal_closed\",\"1\");}startTransition(()=>setOpen(false));}if(!open||RenderTarget.current()===RenderTarget.thumbnail)return null;return /*#__PURE__*/_jsx(\"div\",{style:{...style,position:\"fixed\",top:0,left:0,width:\"100vw\",height:\"100vh\",zIndex:9999,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",background:\"rgba(0,0,0,0.32)\",transition:`opacity ${fadeSpeed}ms`,opacity:open?1:0,pointerEvents:open?\"auto\":\"none\"},\"aria-modal\":\"true\",role:\"dialog\",children:/*#__PURE__*/_jsxs(\"div\",{style:{background,borderRadius,boxShadow:shadow?\"0 8px 32px rgba(0,0,0,0.18)\":undefined,// Removed minWidth and maxWidth to let modal size to content\n// minWidth: `${props.minWidthVW}vw`,\n// maxWidth: props.maxWidthPx ? `${props.maxWidthPx}px` : \"90vw\",\nminHeight:180,maxHeight:\"90vh\",position:\"relative\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",transition:`opacity ${fadeSpeed}ms`,opacity:open?1:0},children:[showClose&&/*#__PURE__*/_jsx(\"button\",{\"aria-label\":\"Close modal\",onClick:handleClose,style:{position:\"absolute\",top:16,right:16,background:\"transparent\",border:\"none\",fontSize:24,cursor:\"pointer\",color:\"#888\",zIndex:2},children:\"\\xd7\"}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\"},children:isMobile&&props.contentMobile?props.contentMobile:props.content})]})});}addPropertyControls(ModalTrigger,{mouseLeave:{type:ControlType.Boolean,title:\"MouseLeave\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},scrollTrigger:{type:ControlType.Boolean,title:\"Scroll Trigger\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},scrollPercent:{type:ControlType.Number,title:\"Scroll %\",defaultValue:60,min:1,max:100,step:1,unit:\"%\",hidden:({scrollTrigger})=>!scrollTrigger},delayTrigger:{type:ControlType.Boolean,title:\"Delay Trigger\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},delaySeconds:{type:ControlType.Number,title:\"Seconds\",defaultValue:30,min:1,max:120,step:1,unit:\"s\",hidden:({delayTrigger})=>!delayTrigger},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#fff\"},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:16,min:0,max:48},shadow:{type:ControlType.Boolean,title:\"Shadow\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},showClose:{type:ControlType.Boolean,title:\"Show Close\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},content:{type:ControlType.Slot,title:\"Content\",maxCount:1},contentMobile:{type:ControlType.Slot,title:\"Content (Mobile)\",maxCount:1,description:\"Content to show in mobile viewport (<=768px). If empty, uses main content.\"},fadeSpeed:{type:ControlType.Number,title:\"Fade Speed\",defaultValue:400,min:100,max:3e3,step:50,unit:\"ms\"},disableCookie:{type:ControlType.Boolean,title:\"Disable Cookie\",defaultValue:false,enabledTitle:\"Disable\",disabledTitle:\"Enable\"},minWidthVW:{type:ControlType.Number,title:\"Min Width (vw)\",defaultValue:32,min:0,max:100,step:1,unit:\"vw\"},maxWidthPx:{type:ControlType.Number,title:\"Max Width (px)\",defaultValue:600,min:0,max:2e3,step:10,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ModalTrigger\",\"slots\":[\"content\",\"contentMobile\"],\"annotations\":{\"framerIntrinsicHeight\":\"300\",\"framerIntrinsicWidth\":\"400\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ModalTrigger.map"],"mappings":"gdACivB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,8CAAh2B,IAA+O,IAAkE,IAA4B,IAAsJ,CAAM,EAAmB,EAAS,EAAc,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,kBAAkB,CAAwN,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,EAAkB,GAAW,OAAO,GAAQ,UAAU,GAAc,OAAO,EAAM,KAAM,SAAiB,EAAc,OAAO,GAAQ,SAAS,CAAC,IAAI,EAAM,CAAC,IAAA,GAAkB,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,EAAwB,CAAC,QAAQ,YAAY,MAAM,YAAY,CAAO,EAA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