{"version":3,"file":"WithSimpleGrid.C0Ae9EcN.mjs","names":[],"sources":["https:/framerusercontent.com/modules/3W5oUp0uOdKvugotHAN9/DGXqeOkAVhIiBBtw5dCw/WithScrollAnimation.js","https:/framerusercontent.com/modules/iVyTmEhxN9yn2xifFuml/GshpsIweXG4mjKllosWG/WithSimpleGrid.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{motion,useViewportScroll,useTransform,useSpring,easeInOut}from\"framer-motion\";export function WithScrollAnimation(Component){return props=>{const{scrollYProgress}=useViewportScroll();// First transform the scroll to width\nconst widthRange=useTransform(scrollYProgress,[0,.15],[1422,218],{ease:easeInOut});// Then add spring physics to smooth it out\nconst smoothWidth=useSpring(widthRange,{mass:.8,stiffness:100,damping:30,restDelta:0});return /*#__PURE__*/_jsx(motion.div,{style:{width:\"100%\"},children:/*#__PURE__*/_jsx(motion.div,{style:{width:smoothWidth},children:/*#__PURE__*/_jsx(Component,{...props,style:{...props.style}})})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"WithScrollAnimation\":{\"type\":\"reactHoc\",\"name\":\"WithScrollAnimation\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithScrollAnimation.map","import{jsx as _jsx}from\"react/jsx-runtime\";export function WithSimpleGrid(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{display:\"grid\",gridTemplateColumns:\"repeat(3, 1fr)\",columnGap:\"32px\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"WithSimpleGrid\":{\"type\":\"reactHoc\",\"name\":\"WithSimpleGrid\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithSimpleGrid.map"],"mappings":"iRAAgI,SAAgB,EAAoB,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,kBAAgB,CAAC,IAC/M,EAAW,EAAa,EAAgB,CAAC,EAAE,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,EAAU,EAC3E,EAAY,EAAU,EAAW,CAAC,KAAK,GAAG,UAAU,IAAI,QAAQ,GAAG,UAAU,EAAE,EAAE,OAAoB,EAAK,EAAO,IAAI,CAAC,MAAM,CAAC,MAAM,OAAO,CAAC,SAAsB,EAAK,EAAO,IAAI,CAAC,MAAM,CAAC,MAAM,EAAY,CAAC,SAAsB,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,CAAC,EAAE,EAAE,CAAG,CAAE,0BCFtP,SAAgB,EAAe,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,QAAQ,OAAO,oBAAoB,iBAAiB,UAAU,OAAO,CAAC,CAAK"}