{"version":3,"file":"Code_Wipe.ZX02g7pt.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/vpGyn2HkiJPD9HS7r3GQ/VjQo30A2oNGdHesjn8PX/Code_Wipe.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{startTransition,useEffect,useState}from\"react\";let wipeDelay7OncePlayed=false;function createWipe(delay){return function withWipe(Component){return function WipeOnce(props){const[loaded,setLoaded]=useState(false);useEffect(()=>{setLoaded(true);},[]);return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,clipPath:loaded?\"inset(0% 0% 0% 0%)\":\"inset(100% 0% 0% 0%)\",transition:`clip-path 0.65s cubic-bezier(0.14, 1, 0.3, 1) ${delay}s`,willChange:\"clip-path\"}});};};}function createWipeOnce(delay){return function withWipeOnce(Component){return function WipeOncePerLoad(props){const shouldAnimate=!wipeDelay7OncePlayed;const[loaded,setLoaded]=useState(!shouldAnimate);useEffect(()=>{if(!shouldAnimate)return;wipeDelay7OncePlayed=true;startTransition(()=>setLoaded(true));},[shouldAnimate]);return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,clipPath:loaded?\"inset(0% 0% 0% 0%)\":\"inset(100% 0% 0% 0%)\",transition:shouldAnimate?`clip-path 0.65s cubic-bezier(0.14, 1, 0.3, 1) ${delay}s`:\"none\",willChange:shouldAnimate?\"clip-path\":undefined}});};};}export function withWipeNoDelay(Component){return createWipe(0)(Component);}export function withWipeDelay1(Component){return createWipe(.05)(Component);}export function withWipeDelay2(Component){return createWipe(.1)(Component);}export function withWipeDelay3(Component){return createWipe(.15)(Component);}export function withWipeDelay4(Component){return createWipe(.2)(Component);}export function withWipeDelay5(Component){return createWipe(.25)(Component);}export function withWipeDelay6(Component){return createWipe(.3)(Component);}export function withWipeDelay7(Component){return createWipe(.35)(Component);}export function withWipeDelay7Once(Component){return createWipeOnce(.35)(Component);}export function withWipeDelay8(Component){return createWipe(.4)(Component);}export function withWipeDelay9(Component){return createWipe(.45)(Component);}export function withWipeDelay10(Component){return createWipe(.5)(Component);}export function withWipeDelay11(Component){return createWipe(.7)(Component);}export function withWipeDelay12(Component){return createWipe(.75)(Component);}export function withWipeDelay13(Component){return createWipe(.8)(Component);}export function withWipeDelay14(Component){return createWipe(.85)(Component);}export function withWipeDelay15(Component){return createWipe(.9)(Component);}export function withWipeDelay16(Component){return createWipe(.95)(Component);}export function withWipeDelay17(Component){return createWipe(1)(Component);}export function withWipeDelay18(Component){return createWipe(1.05)(Component);}export function withWipeDelay19(Component){return createWipe(.95)(Component);}export function withWipeDelay20(Component){return createWipe(1)(Component);}\nexport const __FramerMetadata__ = {\"exports\":{\"withWipeDelay14\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay14\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay10\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay10\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeNoDelay\":{\"type\":\"reactHoc\",\"name\":\"withWipeNoDelay\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay4\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay4\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay7\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay7\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay13\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay13\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay7Once\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay7Once\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay9\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay9\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay16\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay16\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay18\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay18\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay11\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay11\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay12\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay12\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay3\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay3\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay6\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay6\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay1\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay1\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay15\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay15\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay17\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay17\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay19\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay19\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay5\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay5\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay20\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay20\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay2\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay2\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWipeDelay8\":{\"type\":\"reactHoc\",\"name\":\"withWipeDelay8\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Code_Wipe.map"],"mappings":"yHAAgI,SAAS,EAAW,EAAM,CAAC,OAAO,SAAkB,EAAU,CAAC,OAAO,SAAkB,EAAM,CAAC,GAAK,CAAC,EAAO,GAAWA,EAAS,EAAK,EAAuC,OAArC,MAAc,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