1import C from"./InfoTag-AnNNVod3.js";import{C as S}from"./ContentActions-etZ4rn6P.js";import{i as F}from"./screenSizeMixin-BFhk1uZ9.js";import{_ as f,b as n,c as a,o as e,a as s,e as l,t as _,F as v,s as k,g as o,w as r,Z as g,d as A}from"./index-sUPB-bMu.js";const D={name:"FeaturedPoster",components:{InfoTag:C,ContentActions:S},mixins:[F],props:{data:{type:Object,required:!0}},computed:{title(){return this.data.titulo},description(){return this.data.descricao},background(){return this.data.imagemDestaque?this.data.imagemDestaque.url:null},tags(){return this.data.tags},duration(){return this.data.duracao},actionData(){return{type:this.data.tipoConteudo,contentId:this.data.id,comingSoon:this.data.flagEmBreve,allowAddToMyList:!0}}}},I={class:"featured-poster"},P={class:"featured-poster__inner"},T={class:"featured-poster__content"},x={class:"background"},B=["src","alt"],q={key:1,class:"background__placeholder"},N={class:"content"},V={class:"content__title"},E={class:"content__description"},L={class:"tags"},j={key:0,class:"tags__item"},M={key:0,class:"actions"},O={key:0,class:"featured-poster__actions"};function Z(u,y,m,w,p,t){const c=n("InfoTag"),d=n("ContentActions");return e(),a("div",I,[s("div",P,[s("div",T,[s("div",x,[t.background?(e(),a("img",{key:0,src:t.background,alt:t.title,class:"background__image"},null,8,B)):(e(),a("div",q))]),s("div",N,[s("h3",V,_(t.title),1),s("p",E,_(t.description),1)]),s("div",L,[(e(!0),a(v,null,k(t.tags,i=>(e(),a("div",{key:i.id,class:"tags__item"},[o(c,null,{default:r(()=>[g(_(i.nome),1)]),_:2},1024)]))),128)),t.duration?(e(),a("div",j,[o(c,{transparent:!0},{default:r(()=>[g(_(t.duration),1)]),_:1})])):l("",!0)]),u.isScreen("tablet-up")?(e(),a("div",M,[o(d,{data:t.actionData},null,8,["data"])])):l("",!0)]),u.isScreen("tablet-down")?(e(),a("div",O,[o(d,{data:t.actionData},null,8,["data"])])):l("",!0)])])}const z=f(D,[["render",Z],["__scopeId","data-v-93d74ddf"]]),G={name:"ShowcaseFeatured",components:{FeaturedPoster:z},props:{contents:{type:Array,required:!0}},data(){return{settings:{wrapAround:!0,itemsToShow:1,autoplay:3e3}}}},H={class:"showcase-featured"},J={class:"showcase-featured__inner"};function K(u,y,m,w,p,t){const c=n("FeaturedPoster"),d=n("Slide"),i=n("Pagination"),b=n("Carousel");return e(),a("div",H,[s("div",J,[o(b,{class:"showcase-featured__slider",settings:p.settings},{addons:r(()=>[o(i)]),default:r(()=>[(e(!0),a(v,null,k(m.contents,h=>(e(),A(d,{key:h.id},{default:r(()=>[o(c,{data:h},null,8,["data"])]),_:2},1024))),128))]),_:1},8,["settings"])])])}const X=f(G,[["render",K],["__scopeId","data-v-1c663293"]]);export{X 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.