1import{d as t}from"./Cm2J8wJT.js";import{ah as a,J as i,L as s,M as e,V as d}from"./Cw52Jb_b.js";import"./oPzPbeIq.js";import"./Dv5-W7ly.js";const l=t({props:["ad","isMobile","skipStatistics","skipLazy"],methods:{handleImageClick(){window.open(this.ad.url,"_blank"),this.reportAdStat(this.ad.campaignId,this.ad.uniqueId,this.ad.id,"click")},reportAdStat(t,a,i,s="views"){const e=new CustomEvent("handleStatReport",{detail:{content_type:"ads",stat_type:s,stat_id:`${i}`,com_id:a}});window.dispatchEvent(e)}},mounted(){this.skipStatistics||this.reportAdStat(this.ad.campaignId,this.ad.uniqueId,this.ad.id)},computed:{imageUrl(){const t=this.getImageUrl(this.ad[this.isMobile&&this.ad.mobileUrl&&""!=this.ad.mobileUrl?"mobileUrl":"img"]);return t&&""!==t?t:this.getImageUrl(this.ad.img)}}},"$vYckbck6oh"),n={key:0,class:"single-ad align-items-center justify-content-center"},o=["data-not-lazy","loading","src","alt"];const r=a(l,[["render",function(t,a,l,r,c,m){return t.ad&&t.imageUrl&&""!==t.imageUrl?(i(),s("div",n,[e("img",{onClick:a[0]||(a[0]=(...a)=>t.handleImageClick&&t.handleImageClick(...a)),"data-not-lazy":!t.skipLazy||null,loading:t.skipLazy?"eager":"lazy",src:t.imageUrl,alt:t.ad.caption&&""!=t.ad.caption?t.ad.caption:"Reklama lokalna"},null,8,o)])):d("",!0)}]]);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.