{"version":3,"file":"ImageSizes.DKdAXxdW.mjs","names":["__esmMin","init_jsx_runtime","c","richSrcSet","src","bg","u","w","h","base","long","parts","s","STEPS","withImage","props","Component","next","sizes","extra","withAvatarImage","withAvatarCover","withResponsiveImage","withHeroImage","init_ImageSizes"],"sources":["https:/framerusercontent.com/modules/BJA4bnykAEKIlMNVNaSn/UGdysPPrW0g4ezgPpYXf/ImageSizes.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";// Image download sizes (updated 24 Nov 2026).\n// Framer only offers each photo in a few large sizes (about 512, 1,024 and 2,048 px, or the\n// original file when it is smaller than 1,024 px). A 48 px avatar therefore downloaded a\n// 500 to 1,000 px file (up to 190 KB each). These overrides give the browser a fuller list of\n// sizes from Framer's image server (scale-down-to=128, 192, 256 ... px on the long side), so it\n// can pick the smallest file that is still sharp at the size shown, on any screen.\n//\n//   withAvatarImage    → the Image layer in the Avatar component (24 to 84 px)\n//   withSmallPhoto     → any photo shown at up to about 120 px\n//   withAvatarCover    → Review Card avatar: fills its circle, small file\n//   withResponsiveImage → any other photo: keeps Framer's own display sizes, adds the smaller files\n//   withHeroImage      → the main photo at the top of a page: smaller files too, and loaded first (fetchpriority high)\nconst STEPS=[128,192,256,384,512,640,768,1024,1280,1536,2048];function richSrcSet(bg){try{const src=bg&&bg.src;if(!src||src.indexOf(\"framerusercontent.com/images/\")===-1)return bg;const u=new URL(src);let w=Number(bg.pixelWidth)||Number(u.searchParams.get(\"width\"));let h=Number(bg.pixelHeight)||Number(u.searchParams.get(\"height\"));if(!w||!h)return bg;if(/\\.svg$/i.test(u.pathname))return bg;const base=src.split(\"?\")[0];const long=Math.max(w,h);const parts=[];for(const s of STEPS){if(s>=long)break;parts.push(base+\"?scale-down-to=\"+s+\"&width=\"+w+\"&height=\"+h+\" \"+Math.round(w*s/long)+\"w\");}parts.push(base+\"?width=\"+w+\"&height=\"+h+\" \"+w+\"w\");return{...bg,srcSet:parts.join(\", \")};}catch(e){return bg;}}function withImage(Component,sizes,extra){return props=>{const bg=props.background;if(!bg||typeof bg!==\"object\")return /*#__PURE__*/_jsx(Component,{...props});const next=richSrcSet(bg);return /*#__PURE__*/_jsx(Component,{...props,background:{...next,...sizes?{sizes}:{},...extra||{}}});};}export function withAvatarImage(Component){// 84 px covers the largest avatar (review ticker); the smaller ones still get small files.\nreturn withImage(Component,\"84px\");}export function withSmallPhoto(Component){return withImage(Component,\"120px\");}// Review Card avatar (Inside the Internship on Internship, Remote and Child Life pages):\n// crop the photo to fill its circle instead of stretching it, and download a small file.\nexport function withAvatarCover(Component){return withImage(Component,\"48px\",{fit:\"fill\"});}export function withResponsiveImage(Component){return withImage(Component);}// Main photo at the top of Home, the destination pages and the story pages (28 Nov 2026).\n// Replaces withFetchPriority on those layers: same \"load this first\", plus the smaller files.\nexport function withHeroImage(Component){return withImage(Component,undefined,{fetchPriority:\"high\"});}\nexport const __FramerMetadata__ = {\"exports\":{\"withHeroImage\":{\"type\":\"reactHoc\",\"name\":\"withHeroImage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAvatarImage\":{\"type\":\"reactHoc\",\"name\":\"withAvatarImage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAvatarCover\":{\"type\":\"reactHoc\",\"name\":\"withAvatarCover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSmallPhoto\":{\"type\":\"reactHoc\",\"name\":\"withSmallPhoto\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withResponsiveImage\":{\"type\":\"reactHoc\",\"name\":\"withResponsiveImage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ImageSizes.map"],"mappings":"A,oGAY8D,SAASG,EAAW,EAAG,CAAC,GAAG,CAAC,IAAMC,EAAIC,GAAIA,EAAG,IAAI,GAAG,CAACD,GAAKA,EAAI,QAAQ,+BAA+B,IAAI,GAAG,OAAOC,EAAG,IAAMC,EAAE,IAAI,IAAIF,C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