{"version":3,"file":"TextAnim1.CLJbU8Fl.mjs","names":["ANIMATION_DELAY"],"sources":["https:/framerusercontent.com/modules/kkZzDq7Qi7lJXMYVHquh/7WCWZUkpSc6UaRjl0C0T/ParagraphAnim1.js","https:/framerusercontent.com/modules/289s8iVy4388Ifr0ed3i/FNFZqqJZKzkPPeZI8U1T/TextAnim1.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";// Adjust the base delay for the entire animation\nconst ANIMATION_DELAY=.5// Change as needed\n;export function withParagraphReveal(Component){return props=>{// Check if we're in the Framer editor\nconst isInEditor=typeof window!==\"undefined\"&&window.location.href.includes(\"framercanvas.com\");return /*#__PURE__*/_jsx(motion.div,{initial:isInEditor?{opacity:1}:{opacity:0},whileInView:{opacity:1},viewport:{once:true,margin:\"0px\"},transition:{duration:.8,delay:ANIMATION_DELAY,ease:[.23,1,.32,1]},children:/*#__PURE__*/_jsx(Component,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withParagraphReveal\":{\"type\":\"reactHoc\",\"name\":\"withParagraphReveal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ParagraphAnim1.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";// Adjust this delay for each text field (in seconds)\nconst ANIMATION_DELAY=.1// Change to 0.1, 0.2, etc. for subsequent text fields\n;export function withTextReveal(Component){return props=>{// Check if we're in the Framer editor\nconst isInEditor=typeof window!==\"undefined\"&&window.location.href.includes(\"framercanvas.com\");return /*#__PURE__*/_jsx(\"div\",{style:{overflow:\"hidden\",width:\"100%\",height:\"100%\",paddingBottom:\"5px\",boxSizing:\"border-box\"},children:/*#__PURE__*/_jsx(motion.div,{initial:isInEditor?{y:\"0%\",opacity:1}:{y:\"100%\",opacity:0},whileInView:{y:\"0%\",opacity:1},viewport:{once:true,margin:\"-50px\"},transition:{duration:.9,delay:ANIMATION_DELAY,// Ease out quint curve: fast start, slow finish\nease:[.23,1,.32,1]},style:{width:\"100%\",height:\"100%\"},children:/*#__PURE__*/_jsx(Component,{...props})})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withTextReveal\":{\"type\":\"reactHoc\",\"name\":\"withTextReveal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TextAnim1.map"],"mappings":"mKAEC,SAAgB,EAAoB,EAAU,CAAC,MAAO,IAAO,CAC9D,IAAM,EAAkB,IAAS,QAAa,EAAO,SAAS,KAAK,SAAS,kBAAkB,EAAE,OAAoB,EAAK,EAAO,IAAI,CAAC,QAAQ,EAAW,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,EAAE,YAAY,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC,KAAK,GAAK,OAAO,KAAK,EAAE,WAAW,CAAC,SAAS,GAAG,MAAMA,EAAgB,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,EAAE,SAAsB,EAAK,EAAU,CAAC,GAAG,CAAK,CAAC,CAAC,CAAC,CAAE,CAAE,uBAHvT,IAAkC,EACtEA,EAAgB,MCCrB,SAAgB,EAAe,EAAU,CAAC,MAAO,IAAO,CACzD,IAAM,EAAkB,IAAS,QAAa,EAAO,SAAS,KAAK,SAAS,kBAAkB,EAAE,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,SAAS,MAAM,OAAO,OAAO,OAAO,cAAc,MAAM,UAAU,YAAY,EAAE,SAAsB,EAAK,EAAO,IAAI,CAAC,QAAQ,EAAW,CAAC,EAAE,KAAK,QAAQ,CAAC,EAAE,CAAC,EAAE,OAAO,QAAQ,CAAC,EAAE,YAAY,CAAC,EAAE,KAAK,QAAQ,CAAC,EAAE,SAAS,CAAC,KAAK,GAAK,OAAO,OAAO,EAAE,WAAW,CAAC,SAAS,GAAG,MAAM,EACna,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,MAAM,OAAO,OAAO,MAAM,EAAE,SAAsB,EAAK,EAAU,CAAC,GAAG,CAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAAE,uBAJpE,IAAkC,EACtE,EAAgB"}