1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ba69bc85-4eb6-57c7-9569-6ce5e0ff6402")}catch(e){}}(); 3import{a as e,t}from"./jsx-runtime-CMgEUHpv.js";import{V as n}from"./dist-CAHjj65Z.js";import{t as r}from"./classnames-PxzWHlFm.js";var i=e(n(),1),a=e(r(),1),o={"beehiiv-images-production.s3.amazonaws.com":`media.beehiiv.com`,"media.beehiiv.net":`media.beehiiv.com`,"beehiiv-images-staging.s3.amazonaws.com":`media.staginghiiv.com`,"staging-media.beehiiv.net":`media.staginghiiv.com`},s=(e,t)=>{let n=null;try{n=new URL(e)}catch{}return n&&Object.keys(o).includes(n.host)?`https://${o[n?.host]}/cdn-cgi/image/${new URLSearchParams(t).toString().replace(/&/g,`,`)}${n?.pathname}`:e},c=t(),l=({src:e,alt:t,maxWidth:n,aspectRatio:r,widthClass:o,...l})=>{let u=(0,i.useRef)(null),d={social:`aspect-social`,square:`aspect-square`,video:`aspect-video`}[r],[f,p]={social:[1.9,1],square:[1,1],video:[16,9]}[r],m=n,h=Math.round(m/f*p),g=s(e,{format:`auto`,width:String(m),height:String(h),fit:`scale-down`,onerror:`redirect`});return(0,c.jsx)(`figure`,{className:(0,a.default)(d,`relative h-full overflow-hidden`,o||`w-full`),ref:u,children:(0,c.jsx)(`img`,{...l,width:m,height:h,src:g,alt:t,className:`absolute inset-0 h-full w-full object-cover`})})};export{l as t}; 4//# sourceMappingURL=Image-B1Otrzxn.js.map 5//# debugId=ba69bc85-4eb6-57c7-9569-6ce5e0ff6402
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.