{"version":3,"file":"GridStagger.BKICJ-34.mjs","names":[],"sources":["https:/framerusercontent.com/modules/fwk1cOYyB6iM0oVufINR/d7oJO8nulztLGu8e63lc/GridStagger.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";const time=.05// Seconds between each layer's appear effect\n;export function StaggeredAnimations(Component){return props=>{const{children}=props;const variants={start:props.initial||{opacity:0,scale:.5,rotate:0,rotateX:0,rotateY:0,x:0,y:0},end:{opacity:1,scale:1,rotate:0,rotateX:0,rotateY:0,x:0,y:0}};// Add variants and transition to children.\nconst{delay=0,...transitionProps}=props.animate?.transition||{};for(let i=0;i<children.length;i++){const child=children[i];child.props.variants=variants;child.props.transition={...transitionProps,delay:delay+i*time};}return /*#__PURE__*/_jsx(Component,{...props,initial:\"start\",animate:\"end\"});};}\nexport const __FramerMetadata__ = {\"exports\":{\"StaggeredAnimations\":{\"type\":\"reactHoc\",\"name\":\"StaggeredAnimations\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GridStagger.map"],"mappings":"oGACC,SAAgB,EAAoB,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,YAAU,EAAY,EAAS,CAAC,MAAM,EAAM,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAC3O,CAAC,QAAM,EAAE,GAAG,GAAiB,EAAM,SAAS,YAAY,CAAC,EAAE,IAAI,IAAI,EAAE,EAAE,EAAE,EAAS,OAAO,IAAI,CAAC,IAAM,EAAM,EAAS,GAAG,EAAM,MAAM,SAAS,EAAS,EAAM,MAAM,WAAW,CAAC,GAAG,EAAgB,MAAM,EAAM,EAAE,CAAI,CAAE,CAAC,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,QAAQ,QAAQ,KAAK,CAAC,CAAE,CAAE,mBAF9P,EAAO,EAAK"}