{"version":3,"file":"Functions.8ml2Vi7R.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Q9bMzW2XxP78MFD1GhM6/JVojUWkSNQBPcQWLr5jt/Functions.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";const useStore=createStore({hidden:false});export function HideIn400MS(Component){return props=>{const[store,setStore]=useStore();const handleClick=()=>{setTimeout(()=>{setStore({hidden:true});},400);};return /*#__PURE__*/_jsx(Component,{...props,onClick:handleClick});};}export function AppCTA(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,style:{display:store.hidden?\"none\":\"\"}});};}export function ShowFromStart(Component){return props=>{const secStep=props[\"data-framer-name\"];setTimeout(()=>{const secVideo=document.querySelector(\"[data-framer-name='\"+secStep+\"'] video\");if(secVideo){secVideo.load();secVideo.play();}},20);return /*#__PURE__*/_jsx(Component,{...props});};}export function AllowEncryptedMedia(Component){return props=>{const compRef=useRef(null);useEffect(()=>{console.log(compRef.current);});return /*#__PURE__*/_jsx(Component,{...props,ref:compRef,allow:\"encrypted-media; autoplay; clipboard-write\",allowtransparency:\"true\"});};}export function Navigation(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,id:\"navbar\"});};}\nexport const __FramerMetadata__ = {\"exports\":{\"AppCTA\":{\"type\":\"reactHoc\",\"name\":\"AppCTA\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Navigation\":{\"type\":\"reactHoc\",\"name\":\"Navigation\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AllowEncryptedMedia\":{\"type\":\"reactHoc\",\"name\":\"AllowEncryptedMedia\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShowFromStart\":{\"type\":\"reactHoc\",\"name\":\"ShowFromStart\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HideIn400MS\":{\"type\":\"reactHoc\",\"name\":\"HideIn400MS\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Functions.map"],"mappings":"sOAA+L,SAAgB,EAAY,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,EAAM,GAAU,GAAU,CAAO,MAAgB,CAAC,eAAe,CAAC,EAAS,CAAC,OAAO,GAAK,CAAC,EAAG,IAAI,EAAG,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,EAAY,CAAC,EAAI,SAAgB,EAAO,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,EAAM,GAAU,GAAU,CAAC,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,QAAQ,EAAM,OAAO,OAAO,GAAG,CAAC,CAAC,EAAI,SAAgB,EAAc,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAQ,EAAM,oBAAwK,OAApJ,eAAe,CAAC,IAAM,EAAS,SAAS,cAAc,sBAAsB,EAAQ,WAAW,CAAI,IAAU,EAAS,MAAM,CAAC,EAAS,MAAM,GAAI,GAAG,CAAqB,EAAK,EAAU,CAAC,GAAG,EAAM,CAAC,EAAsR,SAAgB,EAAW,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,GAAG,SAAS,CAAC,oBAA3sC,IAAoC,IAAqE,CAAM,EAAS,EAAY,CAAC,OAAO,GAAM,CAAC"}