1"use strict";(self.webpackChunkhikingbook=self.webpackChunkhikingbook||[]).push([[1466],{10268(e,t,s){s.d(t,{A:()=>o});var i=s(56059),n=s(79945),d=s(25381);class o{constructor(e){this.id=e.id||(0,n.A)(),this.title=e.title||"",this.subtitle=e.subtitle||"",this.imageURL=e.imageURL||"",this.ctaURL=e.ctaURL||"",this.onlineAt=e.onlineAt?new Date(e.onlineAt):new Date,this.offlineAt=e.offlineAt?new Date(e.offlineAt):null,this.isoA3CountryCodes=e.isoA3CountryCodes||[],this.encodedID=e.encodedID||(0,d.cJ)(this.id),this.updatedAt=e.updatedAt?new Date(e.updatedAt):new Date,this.publishedAt=e.publishedAt?new Date(e.publishedAt):new Date,this.description=e.description||"",this.scene=e.scene||"feeds",this.userID=e.userID||i.A.users.hikingbook,this.ctaTitle=e.ctaTitle||"",this.sql=e.sql}resetForCopy(){this.id=(0,n.A)(),this.encodedID=(0,d.cJ)(this.id),this.updatedAt=new Date}}},6228(e,t,s){s.r(t),s.d(t,{default:()=>c});var i=s(49424);const n={class:"embla-container"},d={class:"d-block w-100 img-fluid rounded-3",width:"660",height:"260"},o=["href"];s(97700),s(47144),s(89542);var a=s(10268),l=s(25381);s(80184);const h={components:{SwipeCarousel:(0,i.$V)(()=>Promise.all([s.e(5008),s.e(3645)]).then(()=>s(40788)))},props:{scenes:{type:Array,required:!0},countryCode:{type:String,default:""}},data:()=>({advertisements:[]}),created(){this.fetchAdvertisements()},methods:{fetchAdvertisements(){const e={};this.countryCode&&(e["country-code"]=this.countryCode),this.scenes.includes("all")||(e.scenes=this.scenes),(0,l.hd)(Object.keys(e).length>0?`/advertises?${(0,l.jw)(e)}`:"/advertises",{method:"GET"}).then(e=>{const t=e.map(e=>new a.A(e));t.shuffle(),this.advertisements=t})}}};const c=(0,s(1940).A)(h,[["render",function(e,t,s,a,l,h){const c=(0,i.g2)("swipe-carousel"),r=(0,i.gN)("lazy");return(0,i.uX)(),(0,i.Wv)(c,{"autoplay-delay":4e3,options:{loop:!0},"num-slides":l.advertisements.length},{default:(0,i.k6)(()=>[(0,i.Lk)("div",n,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(l.advertisements,(e,t)=>((0,i.uX)(),(0,i.CE)("div",{key:t,class:"embla-slide position-relative"},[(0,i.bo)((0,i.Lk)("img",d,null,512),[[r,e.imageURL]]),(0,i.Lk)("a",{href:e.ctaURL,class:"stretched-link",target:"_blank",rel:"noopener"},null,8,o)]))),128))])]),_:1},8,["num-slides"])}],["__scopeId","data-v-77dbf168"]])}}]); 2//# sourceMappingURL=1466.20aec4e79df91f3488a9.min.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.