PageSourceSearch

https://www.vermont.cz/build-20260930113052-cfa8/assets/shared-lazy-image-C0H0SARr.js

js vermont.cz collected 2026-10-05 21:44:16 UTC 1,534 bytes, 1 lines download raw bytes

1import{_ as i,o as t,b as n,e as l,w as d,r as c,f as p,n as h,g as m,h as g}from"./index.esm-C__ncqa8.js";import"./_commonjsHelpers-BosuxZz1.js";const u="30px 0px",f=.01,_={data(){return{inViewport:!1,loaded:!1,error:!1,observer:null}},props:{alt:{type:String},sizes:String,src:{type:String},srcset:String},mounted(){this.observer=new IntersectionObserver(this.onIntersection,{rootMargin:u,threshold:f}),this.observer.observe(this.$el)},beforeDestroy(){this.observer.disconnect()},computed:{imageClassObj(){return{"shared-lazy-img__image_loaded !opacity-100":this.loaded||this.error}},spinnerClassObj(){return{"shared-lazy-img__spinner_hidden":this.loaded||this.error}}},methods:{onImageLoad(){this.loaded=!0},onImageError(){this.error=!0},onIntersection([{isIntersecting:e}]){e&&(this.inViewport=!0,this.observer.disconnect())}}},b={class:"shared-lazy-img"},y=["alt","src","srcset","sizes"];function v(e,s,z,I,o,r){return t(),n("div",b,[o.inViewport?(t(),l(m(e.$slots.default?"picture":"div"),{key:0,class:"shared-lazy-img__image-wrapper block aspect-[2/3] h-full w-full object-[inherit]"},{default:d(()=>[c(e.$slots,"default"),p("img",{alt:e.$props.alt,src:e.$props.src,srcset:e.$props.srcset,sizes:e.$props.sizes,class:h([r.imageClassObj,"shared-lazy-img__image block h-full w-full object-[inherit] opacity-0 [transition:opacity_0.3s_ease]"]),onLoad:s[0]||(s[0]=a=>r.onImageLoad()),onError:s[1]||(s[1]=a=>r.onImageError()),width:"185",height:"278"},null,42,y)]),_:3})):g("",!0)])}const C=i(_,[["render",v]]);export{C 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.