1import{_ as w,b as g,d as f,C as k,B as x}from"./app.js";import"./swiper.js";const y={name:"SoylentMediaLink",components:{CmmsResponsiveImage:k,CroppedText:f,CmmsThumbnail:g},props:["element"],computed:{noMeta:function(){return this.element.data.noTitle&&this.element.data.noDate},showTitle:function(){return(this.element.data.headline||this.element.data.subline)&&this.element.data.noTitle===0},image:function(){if(this.element.data)return this.element.data.model.image},imageModel(){return this.element.data?this.isMobile?this.element.data.media_data_fallback?this.element.data.media_data_fallback.model:this.element.data.model.image:this.element.data.model.image:null},height:function(){return this.element.data.height},hasFallbackMedia(){return this.element.data.media_data_fallback!==null},style:function(){return this.imageModel?this.element.data.autoheight!==1&&!(this.isMobile&&this.hasFallbackMedia)?this.height===""?"padding-top: 56.25%;":"padding-top: ".concat(this.height,"px;"):"padding-top: ".concat(this.imageModel.height/this.imageModel.width*100,"%;"):""},isMobile(){return window.innerWidth<x}}},d=window.Vue.resolveComponent,a=window.Vue.openBlock,r=window.Vue.createBlock,n=window.Vue.createCommentVNode,M=window.Vue.normalizeStyle,i=window.Vue.createElementVNode,s=window.Vue.toDisplayString,c=window.Vue.createTextVNode,o=window.Vue.createElementBlock,V=window.Vue.withCtx,b=window.Vue.createVNode,p=window.Vue.normalizeClass,C={key:0,class:"overlay"},T={class:"overlay-wrapper"},v={key:0,class:"meta --text-size-xxs"},B={class:"date --text-weight-medium"},N={class:"time"},z={key:0,class:"duration --text-weight-medium"},S={key:1,class:"title --text-size-m --text-weight-medium"},E={key:1,class:"icon"};function I(m,l,e,D,L,t){const u=d("CmmsResponsiveImage"),h=d("CroppedText"),_=d("router-link");return a(),o("div",{class:p(["element",e.element.type,e.element.subtype,e.element.data.noZoom!==0?"no-zoom":"",t.imageModel?"":"no-image"])},[b(_,{href:e.element.data.link,to:m.$routerLink(e.element.data.link),target:e.element.data._blank?"_blank":!1},{default:V(()=>[i("span",{class:"thumbnail",style:M(t.style)},[t.imageModel?(a(),r(u,{key:0,fill:!0,image:t.imageModel},null,8,["image"])):n("",!0)],4),t.noMeta?n("",!0):(a(),o("span",C,[i("span",T,[e.element.data.noDate===0?(a(),o("span",v,[i("span",B,[l[0]||(l[0]=i("em",{class:"iconSet"},"today",-1)),c(" "+s(m.$filters.date.dayMonth(e.element.data.model.date)),1)]),i("span",N,s(e.element.data.model.date.time_txt),1),e.element.data.model.duration?(a(),o("span",z,[l[1]||(l[1]=i("em",{class:"iconSet"},"schedule",-1)),c(" "+s(e.element.data.model.duration),1)])):n("",!0)])):n("",!0),t.showTitle?(a(),o("span",S,s(e.element.data.headline),1)):n("",!0),t.showTitle&&e.element.data.subline?(a(),r(h,{key:2,class:"excerpt --text-size-s",tag:"span",text:e.element.data.subline,lines:2},null,8,["text"])):n("",!0)])])),t.noMeta?n("",!0):(a(),o("span",E,[...l[2]||(l[2]=[i("span",{class:"iconSet"},"chevron_right",-1)])]))]),_:1},8,["href","to","target"])],2)}const F=w(y,[["render",I]]);export{F 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.