1import{_ as v}from"./Cj6ZeDcQ.js";import{J as k,aN as x,K as w,Z as l,_ as r,ah as y,an as s,ae as i,af as f,a9 as m,ai as p,a2 as o,aa as C,R as d,aj as b}from"./De_JQGIt.js";const N={key:0,class:"skeleton-placeholder"},B={key:0,class:"app-image__error skeleton-placeholder"},I=k({__name:"Image",props:{provider:{default:"static"},densities:{default:"1x"},format:{default:"webp"},fit:{default:"fill"},loading:{default:"lazy"},preload:{type:Boolean,default:!1}},setup(a){x(e=>({v2addb452:e.fit}));const t=d(!1),n=d(!1),c=d(null);function g(){n.value=!0}const _=()=>{t.value=!0};return w(()=>{const e=c.value?.querySelector("img");e&&e.complete&&e.naturalHeight>0&&(t.value=!0)}),(e,u)=>{const h=v;return l(),r("div",{class:y(["image-wrapper",{"is-visible-img":s(t)||a.loading==="eager"}]),ref_key:"wrapperRef",ref:c},[i(p,{name:"skeleton-fade"},{default:f(()=>[!(s(t)||a.loading==="eager")&&!s(n)?(l(),r("div",N)):m("",!0)]),_:1}),i(p,{name:"skeleton-fade"},{default:f(()=>[s(n)?(l(),r("div",B,[...u[0]||(u[0]=[o("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"},[o("rect",{x:"3",y:"3",width:"18",height:"18",rx:"3"}),o("path",{d:"M3 16l5-5 4 4 3-3 6 6"}),o("circle",{cx:"8.5",cy:"8.5",r:"1.5"})],-1),o("span",null,"No disponible",-1)])])):m("",!0)]),_:1}),i(h,C(e.$attrs,{densities:a.densities,loading:a.loading,preload:a.preload,class:["app-image",{"is-visible-img":s(t)||a.loading==="eager"}],onLoad:_,onError:g}),null,16,["densities","loading","preload","class"])],2)}}}),R=Object.assign(b(I,[["__scopeId","data-v-7e9a871e"]]),{__name:"CustomizedImage"});export{R as default};
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.