PageSourceSearch

https://bdbirdclub.org/newsformembers/frontend/static/js/LazyImage.92de27af.js

js bdbirdclub.org collected 2026-10-07 20:28:30 UTC 2,008 bytes, 10 lines download raw bytes

1var _____WB$wombat$assign$function_____=function(name){return (globalThis._wb_wombat && globalThis._wb_wombat.local_init && globalThis._wb_wombat.local_init(name))||globalThis[name];};if(!globalThis.__WB_pmw){globalThis.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}var window = _____WB$wombat$assign$function_____("window");
2var self = _____WB$wombat$assign$function_____("self");
3var document = _____WB$wombat$assign$function_____("document");
4var location = _____WB$wombat$assign$function_____("location");
5var top = _____WB$wombat$assign$function_____("top");
6var parent = _____WB$wombat$assign$function_____("parent");
7var frames = _____WB$wombat$assign$function_____("frames");
8var opener = _____WB$wombat$assign$function_____("opener");
9import{b6 as l,aT as o,b7 as i,al as n,ae as r,af as t,au as d}from"./index.5457813a.js";const u=2,c={name:"LazyImage",props:{lazySrc:{type:String,default:null},alt:{type:String,default:""},defaultImage:{type:String,default:()=>l}},mounted(){this.initPage()},watch:{lazySrc(e){this.initPage()}},data(){return{isError:!1}},computed:{el(){return this.$refs.lazy},imgSrc(){const e=Math.round(this.el.width*this.devicePixelRatio);return"".concat(this.lazySrc,"?w=").concat(e)},devicePixelRatio(){return Math.min(window.devicePixelRatio,u)},errorImage(){return o}},methods:{initPage(){i(this.el,{enableAutoReload:!0,loaded:a=>{a.setAttribute("data-loaded",!1),a.setAttribute("src",this.imgSrc)}}).observe()},handleError(){this.$refs.lazy.src=this.errorImage,this.isError=!0}}};const m=["src","data-src","alt"],g=["src","alt"];function f(e,a,h,y,p,I){return e.lazySrc?(r(),t("img",{key:0,ref:"lazy",src:e.defaultImage,"data-src":e.lazySrc,alt:e.alt,class:d([{"error-image":e.isError},"lazyImage"]),onError:a[0]||(a[0]=(...s)=>e.handleError&&e.handleError(...s))},null,42,m)):(r(),t("img",{key:1,src:e.defaultImage,alt:e.alt},null,8,g))}const z=n(c,[["render",f],["__scopeId","data-v-5503bff0"]]);export{z as L};
10//# sourceMappingURL=LazyImage.92de27af.js.map

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.