{"version":3,"file":"LineDraw.ALt7AS_A.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/uPYEHnSRGNwGQ0JFn24V/dyFqH2fuanqhsQpNIgDg/LineDraw.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useRef}from\"react\";import{motion,useInView,useReducedMotion}from\"framer-motion\";import{useIsStaticRenderer}from\"framer\";/**\n * withLineDraw — draws a divider/line from left to right as it scrolls into view.\n * Apply as a code override to thin divider frames.\n */export function withLineDraw(Component){return function LineDrawWrapper(props){const ref=useRef(null);const inView=useInView(ref,{once:true,margin:\"-8% 0px\"});const isStatic=useIsStaticRenderer();const reduce=useReducedMotion();if(isStatic||reduce){return /*#__PURE__*/_jsx(Component,{...props});}return /*#__PURE__*/_jsx(motion.div,{ref:ref,style:{width:\"100%\",transformOrigin:\"left center\"},initial:{scaleX:0},animate:{scaleX:inView?1:0},transition:{duration:.9,ease:[.21,.61,.35,1]},children:/*#__PURE__*/_jsx(Component,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withLineDraw\":{\"type\":\"reactHoc\",\"name\":\"withLineDraw\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LineDraw.map"],"mappings":"mOAGG,SAAgB,EAAa,EAAU,CAAC,OAAO,SAAyB,EAAM,CAAC,IAAM,EAAIA,EAAO,IAAI,EAAQ,EAAO,EAAU,EAAI,CAAC,KAAK,GAAK,OAAO,SAAS,CAAC,EAAQ,EAAS,EAAoB,EAAQ,EAAO,EAAiB,EAAuE,OAAlE,GAAU,EAA4B,EAAK,EAAU,CAAC,GAAG,CAAK,CAAC,EAAuB,EAAK,EAAO,IAAI,CAAK,MAAI,MAAM,CAAC,MAAM,OAAO,gBAAgB,aAAa,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,OAAO,IAAU,EAAE,WAAW,CAAC,SAAS,GAAG,KAAK,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC,EAAE,SAAsB,EAAK,EAAU,CAAC,GAAG,CAAK,CAAC,CAAC,CAAC,CAAE,CAAE,iBAHpf,IAA0B,IAA6D,IAAwC"}