PageSourceSearch

https://cdn-assets.astroimg.com/www.astroimg.com/_nuxt/CkQ5vNG3.js

js astroimg.com collected 2026-10-08 05:56:00 UTC 1,700 bytes, 1 lines download raw bytes

1{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=Object.assign({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:www.astroimg.com":!0})}import{B as e,Ct as t,E as n,I as r,K as i,L as a,Nt as o,Ot as s,Vt as c,W as l,Xt as u,Z as d,ct as f,dt as p,in as m,nt as h,x as g,xn as _,yn as v,z as y}from"./CoAGEU6B.js";import{t as b}from"./Cry8Qvm_.js";import{t as x}from"./DB0DNbrb.js";o(),d(),g(),m();var S={class:`a-image__placeholder`},C={class:`a-image__icon`},w=[`src`,`loading`],T=Object.assign(b(i({__name:`AImage`,props:{src:{default:``},fit:{default:`cover`},width:{default:``},height:{default:``},lazy:{type:Boolean,default:!0}},setup(i){let o=i,d=c(!1),m=c(!1),g=c(),b=r(()=>({width:o.width,height:o.height})),T=r(()=>o.fit),E=r(()=>!o.src||d.value||!m.value);t(()=>o.src,()=>{if(!o.src){k();return}d.value=!1,m.value=!1,h(()=>{A()})});function D(){d.value=!0}function O(){m.value=!0}function k(){d.value=!0,m.value=!1}function A(){let e=g.value;if(!o.src){k();return}if(e&&e.complete){if(e.naturalWidth>0){m.value=!0,d.value=!1;return}d.value=!0}}return f(()=>{A()}),(t,r)=>{let i=x;return p(),e(`div`,{class:`a-image`,style:_(u(b))},[s(a(`div`,S,[a(`div`,C,[l(i,{name:`svg:empty-l`})])],512),[[n,u(E)]]),o.src&&!u(d)?(p(),e(`img`,{key:0,ref_key:`imageRef`,ref:g,class:v([`a-image__img`,[`a-image__img--${u(T)}`,{"a-image__img--loaded":u(m)}]]),src:o.src,loading:o.lazy?`lazy`:`eager`,onError:D,onLoad:O},null,42,w)):y(``,!0)],4)}}}),[[`__scopeId`,`data-v-ea28f7e6`]]),{__name:`AImage`});export{T as t};

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.