1import{h as t}from"./element-plus.80abf16b.js";import{c1 as l,bM as a,bK as e,bQ as o,c2 as s,c3 as i,cg as n,bP as r,cp as u,cd as d}from"./commonmodules.b9c1dd40.js";import{_ as c,u as m}from"./index.d3bd9396.js";import"./lodash-es.480d1bd8.js";import"./axios.1263d4b1.js";import"./vue-router.5e13d197.js";const p={class:"template-thumbnail-field"},b={key:0,class:"template-thumbnail-featured camps-horizontal-vertical-center"};var h=c(l({__name:"ThumbnailField",props:{domId:null,componentData:null},setup(l){const c=l,h=m(),v=a(),f=e((()=>h.state.detail.data));return c.componentData&&(v.value=JSON.parse(null==c?void 0:c.componentData)),o((()=>c.componentData),(t=>{v.value=JSON.parse(t)})),o((()=>f.value),(t=>{var l;t.thumbnailUrl&&(null==(l=document.querySelector("meta[property='og:image']"))||l.setAttribute("content",`${location.origin}${t.thumbnailUrl}`))})),(l,a)=>{var e,o,c,m,h,g,y,j;const _=t;return s(),i("section",p,[n(_,{class:"pc-thumbnail",src:null==(e=r(f))?void 0:e.thumbnailUrl,fit:"cover",style:u({width:null==(o=r(v))?void 0:o.pcWidth,height:null==(c=r(v))?void 0:c.pcHeight}),alt:null==(m=r(f))?void 0:m.title},null,8,["src","style","alt"]),n(_,{class:"mobile-thumbnail",src:null==(h=r(f))?void 0:h.thumbnailUrl,fit:"cover",style:u({width:null==(g=r(v))?void 0:g.mobileWidth,height:"auto"}),alt:null==(y=r(f))?void 0:y.title},null,8,["src","style","alt"]),(null==(j=r(f))?void 0:j.featured)?(s(),i("span",b,"featured")):d("",!0)])}}}),[["__scopeId","data-v-46301d61"]]);export{h 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.