{"version":3,"file":"Custom.D5AMMjts.mjs","names":["Children","__esmMin","z","j","c","init_jsx_runtime","init_npm_react_18_3_1","withStaggerChildren","props","clonedChildren","children","child","index","Component","withWordSpacing","init_Custom"],"sources":["https:/framerusercontent.com/modules/gZPmkxhtFdtfgEJYm7L3/1iuEICSco3jt787WVBVd/Custom.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{Children,cloneElement}from\"react\";export function withStaggerChildren(Component){return props=>{const{children}=props;const clonedChildren=Children.map(children,(child,index)=>child?.props?/*#__PURE__*/cloneElement(child,{...child.props,initial:{opacity:0},whileInView:{opacity:1,transition:{duration:.8,easing:[.19,1,.22,1],delay:.1*index}},viewport:{once:true}}):null);return /*#__PURE__*/_jsx(Component,{...props,children:clonedChildren});};}export function withWordSpacing(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{wordSpacing:\"-4em\"}});};}export function withAspectRatioSquare(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{aspectRatio:\"1 / 1\",width:\"100%\",height:\"auto\"}});};}export function withAspectRatioHorizontal(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,aspectRatio:\"16 / 9\",width:props.style?.width??\"100%\",height:\"auto\"}});};}export function widthMaxViewportWidth(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,maxWidth:\"100vw\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withWordSpacing\":{\"type\":\"reactHoc\",\"name\":\"withWordSpacing\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"widthMaxViewportWidth\":{\"type\":\"reactHoc\",\"name\":\"widthMaxViewportWidth\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withStaggerChildren\":{\"type\":\"reactHoc\",\"name\":\"withStaggerChildren\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAspectRatioSquare\":{\"type\":\"reactHoc\",\"name\":\"withAspectRatioSquare\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAspectRatioHorizontal\":{\"type\":\"reactHoc\",\"name\":\"withAspectRatioHorizontal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Custom.map"],"mappings":"A,yHAAoF,SAAgBO,EAAoB,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,YAAUC,EAAYC,EAAeT,EAAS,IAAIU,GAAU,EAAM,IAAQC,GAAO,MAAmB,gBAAaA,EAAM,CAAC,GAAGA,EAAM,MAAM,QAAQ,CAAC,QAAQ,CAAC,EAAE,YAAY,CAAC,QAAQ,EAAE,WAAW,CAAC,SAAS,GAAG,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,MAAM,GAAGC,CAAK,CAAC,EAAE,SAAS,CAAC,KAAK,EAAI,CAAC,CAAC,EAAE,IAAI,EAAE,MAAoB,gBAAKC,EAAU,CAAC,GAAGL,EAAM,SAASC,CAAc,CAAC,CAAE,CAAE,CAAC,SAAgBK,EAAgB,EAAU,CAAC,MAAO,IAA4B,gBAAKD,EAAU,CAAC,GAAGL,EAAM,MAAM,CAAC,YAAY,MAAM,CAAC,CAAC,CAAI,C"}