{"version":3,"file":"ProjectImageStack.Dt__STKP.mjs","names":[],"sources":["https:/framerusercontent.com/modules/BjUXoTfuFM5KzTlolHrx/GwUXUscLblMrBWUhDwzY/ProjectImageStack.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function ProjectImageStack(props){const{images=[]}=props;const widthPattern=[\"100%\",\"72%\",\"86%\"];const gapPattern=[56,72,64];const validImages=images.filter(image=>image&&typeof image.src===\"string\"&&image.src.trim());return /*#__PURE__*/_jsx(\"section\",{\"aria-label\":\"Project image stack\",style:{position:\"relative\",width:\"100%\",height:\"auto\",display:\"flex\",flexDirection:\"column\",alignItems:\"flex-start\"},children:validImages.map((image,index)=>{const isLast=index===validImages.length-1;const width=widthPattern[index%widthPattern.length];const gap=gapPattern[index%gapPattern.length];return /*#__PURE__*/_jsx(\"div\",{style:{width,marginBottom:isLast?0:gap},children:/*#__PURE__*/_jsx(\"img\",{src:image.src,srcSet:image.srcSet,alt:image.alt||\"\",style:{width:\"100%\",aspectRatio:\"4 / 5\",display:\"block\",objectFit:\"cover\",borderRadius:2}})},`${image.src}-${index}`);})});}addPropertyControls(ProjectImageStack,{images:{type:ControlType.Array,title:\"Images\",control:{type:ControlType.ResponsiveImage},defaultValue:[],maxCount:50}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProjectImageStack\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProjectImageStack.map"],"mappings":"4JAGG,SAAwB,EAAkB,EAAM,CAAC,GAAK,CAAC,SAAO,CAAC,GAAG,EAAY,EAAa,CAAC,OAAO,MAAM,KAAK,EAAQ,EAAW,CAAC,GAAG,GAAG,EAAE,EAAQ,EAAY,EAAO,OAAO,GAAO,GAAO,OAAO,EAAM,KAAM,UAAU,EAAM,IAAI,KAAK,CAAC,EAAE,OAAoB,EAAK,UAAU,CAAC,aAAa,sBAAsB,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,QAAQ,OAAO,cAAc,SAAS,WAAW,YAAY,EAAE,SAAS,EAAY,KAAK,EAAM,IAAQ,CAAC,IAAM,EAAO,IAAQ,EAAY,OAAO,EAAQ,EAAM,EAAa,EAAM,EAAa,QAAc,EAAI,EAAW,EAAM,EAAW,QAAQ,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,QAAM,aAAa,EAAO,EAAE,CAAG,EAAE,SAAsB,EAAK,MAAM,CAAC,IAAI,EAAM,IAAI,OAAO,EAAM,OAAO,IAAI,EAAM,KAAK,GAAG,MAAM,CAAC,MAAM,OAAO,YAAY,QAAQ,QAAQ,QAAQ,UAAU,QAAQ,aAAa,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,EAAM,IAAI,GAAG,GAAO,CAAE,CAAC,CAAC,CAAC,CAAE,iBAH50B,IAAoD,EAGyxB,EAAoB,EAAkB,CAAC,OAAO,CAAC,KAAK,EAAY,MAAM,MAAM,SAAS,QAAQ,CAAC,KAAK,EAAY,eAAe,EAAE,aAAa,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC"}