{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/oE9WKEU3ToJHJpjC4OLY/QAajue9wpIDHHMkxoWHp/UNkcg0f_v.js", "ssg:https://framerusercontent.com/modules/zkPALT9LKquD6yVDZTqM/F9KjrZNuy2ctXTI8Ey98/Exit_Intent_Popup.js"],
  "sourcesContent": ["// Generated by Framer (ac3cb42)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(motion.div,{...rest,layoutId:layoutId,ref:ref}):/*#__PURE__*/_jsx(\"div\",{...rest,ref:ref});});const getProps=({fill,height,id,width,...props})=>{return{...props,K5AAorpEW:fill??props.K5AAorpEW??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,K5AAorpEW,...restProps}=getProps(props);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-XSguI\",className),layoutId:layoutId,ref:ref,style:{\"--esondr\":K5AAorpEW,...style}});});const css=['.framer-XSguI { aspect-ratio: 1; background-color: var(--esondr); mask-image: url(\\'data:image/svg+xml,<svg aria-label=\"Close\" display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 14 1.41 L 12.59 0 L 7 5.59 L 1.41 0 L 0 1.41 L 5.59 7 L 0 12.59 L 1.41 14 L 7 8.41 L 12.59 14 L 14 12.59 L 8.41 7 Z\" fill=\"var(--esondr, rgb(0,0,0))\" height=\"14px\" id=\"tANCHQdDU\" opacity=\"1\" transform=\"translate(5 5)\" width=\"14px\"/></svg>\\'); mask-position: center; mask-repeat: no-repeat; width: 24px; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"K5AAorpEW\":\"fill\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Close\",\"color\":{\"type\":\"variable\",\"value\":\"esondr\"},\"set\":{\"localId\":\"vectorSet/DnLsXE00W\",\"id\":\"DnLsXE00W\",\"moduleId\":\"JIScivAkNLgXrcOUxHXD\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-XSguI\");export default Icon;addPropertyControls(Icon,{K5AAorpEW:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Fill\",type:ControlType.Color}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"24\",\"framerIntrinsicHeight\":\"24\",\"framerDisableUnlink\":\"true\",\"framerImmutableVariables\":\"true\",\"framerVector\":\"{\\\"name\\\":\\\"Close\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"esondr\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/DnLsXE00W\\\",\\\"id\\\":\\\"DnLsXE00W\\\",\\\"moduleId\\\":\\\"JIScivAkNLgXrcOUxHXD\\\"}}\",\"framerVariables\":\"{\\\"K5AAorpEW\\\":\\\"fill\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}", "/*\n * ExitIntent by framer.today\n * v1.0.0\n * https://framer.today/license\n *\n */import{jsx as _jsx}from\"react/jsx-runtime\";import React from\"react\";import{motion}from\"framer-motion\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";const useStore=createStore({isOverlayVisible:false});export function withWindowLeaveOverlay(Component){return function WrappedComponent(props){const[store,setStore]=useStore();const[overlayDismissed,setOverlayDismissed]=React.useState(false);// Check session storage once and initialize overlay visibility\nReact.useEffect(()=>{const dismissed=sessionStorage.getItem(\"overlayDismissed\")===\"true\";setOverlayDismissed(dismissed);if(dismissed){setStore({isOverlayVisible:false});}},[]);// Listen for mouseout events to detect exit intent\nReact.useEffect(()=>{if(overlayDismissed)return;const handleMouseLeave=event=>{if(sessionStorage.getItem(\"overlayDismissed\")===\"true\")return;const{clientX,clientY,relatedTarget}=event;const{innerWidth,innerHeight}=window;if(!relatedTarget&&(clientY<=0||clientY>=innerHeight||clientX<=0||clientX>=innerWidth)){setStore({isOverlayVisible:true});}};document.addEventListener(\"mouseout\",handleMouseLeave);return()=>document.removeEventListener(\"mouseout\",handleMouseLeave);},[overlayDismissed,setStore]);const dismissOverlay=event=>{event.preventDefault();setStore({isOverlayVisible:false});sessionStorage.setItem(\"overlayDismissed\",\"true\");};if(!store.isOverlayVisible)return null;const overlayStyle={position:\"fixed\",top:0,left:0,right:0,bottom:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",backgroundColor:\"rgba(0, 0, 0, 0.8)\",zIndex:1e3};const motionStyle={initial:{y:25,opacity:0},animate:{y:0,opacity:1},exit:{y:25,opacity:0},transition:{type:\"spring\",stiffness:300,damping:45,mass:1.1}};return /*#__PURE__*/_jsx(\"div\",{style:overlayStyle,onClick:dismissOverlay,children:/*#__PURE__*/_jsx(motion.div,{...motionStyle,onClick:e=>e.stopPropagation(),children:/*#__PURE__*/_jsx(Component,{...props})})});};}export function withDismissOverlay(Component){return function WrappedComponent(props){const[,setStore]=useStore();const dismissOverlay=event=>{event.preventDefault();setStore({isOverlayVisible:false});sessionStorage.setItem(\"overlayDismissed\",\"true\");};return /*#__PURE__*/_jsx(Component,{...props,onClick:dismissOverlay});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withWindowLeaveOverlay\":{\"type\":\"reactHoc\",\"name\":\"withWindowLeaveOverlay\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDismissOverlay\":{\"type\":\"reactHoc\",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AAC,EAAE,OAAoBC,EAAK,MAAM,CAAC,MAAMF,EAAa,QAAQD,EAAe,SAAsBG,EAAKC,EAAO,IAAI,CAAC,GAAGF,EAAY,QAAQZ,GAAGA,EAAE,gBAAgB,EAAE,SAAsBa,EAAKnB,EAAU,CAAC,GAAGC,CAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAAE,CAAQ,SAASoB,EAAmBrB,EAAU,CAAC,OAAO,SAA0BC,EAAM,CAAC,GAAK,CAAC,CAACE,CAAQ,EAAEN,EAAS,EAA6I,OAAoBsB,EAAKnB,EAAU,CAAC,GAAGC,EAAM,QAAnKQ,GAAO,CAACA,EAAM,eAAe,EAAEN,EAAS,CAAC,iBAAiB,EAAK,CAAC,EAAE,eAAe,QAAQ,mBAAmB,MAAM,CAAE,CAAqE,CAAC,CAAE,CAAE",
  "names": ["SVG", "Y", "props", "ref", "animated", "layoutId", "children", "rest", "p", "motion", "getProps", "fill", "height", "id", "width", "Component", "style", "className", "variant", "K5AAorpEW", "restProps", "cx", "css", "Icon", "withCSS", "UNkcg0f_v_default", "addPropertyControls", "ControlType", "useStore", "createStore", "withWindowLeaveOverlay", "Component", "props", "store", "setStore", "overlayDismissed", "setOverlayDismissed", "e", "dismissed", "handleMouseLeave", "event", "clientX", "clientY", "relatedTarget", "innerWidth", "innerHeight", "window", "dismissOverlay", "overlayStyle", "motionStyle", "p", "motion", "withDismissOverlay"]
}
