1import{_ as m,j as g,b as l,c as e,e as s,o as n,a,t as o,F as f,s as p,g as c,w as u,Z as _}from"./index-sUPB-bMu.js";import y from"./InfoTag-AnNNVod3.js";import{C as b}from"./ContentActions-etZ4rn6P.js";import"./screenSizeMixin-BFhk1uZ9.js";const k={name:"EntryBanner",components:{InfoTag:y,ContentActions:b},props:{show:{type:Boolean,default:!0},data:{type:Object,required:!0},fullInfo:{type:Boolean,default:!0},contentToOpenId:{type:Number,default:null},openContentAs:{type:String,default:"SINGLE"}},computed:{...g(["inpcPlayValidSubscription"]),showTagsBlock(){return this.tags&&(!!this.tags.length||!!this.duracao)},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,contentToOpenId:this.contentToOpenId,comingSoon:this.data.flagEmBreve,openContentAs:this.openContentAs,allowAddToMyList:!0}}}},v={key:0,class:"entry-banner"},I={class:"entry-banner__inner container-fluid"},C={key:0,class:"entry-banner__background"},B=["src","alt"],T={class:"entry-banner__content"},w={class:"about-content"},x={key:0,class:"about-content__title"},A={class:"text"},N={key:1,class:"about-content__description"},D={class:"text"},E={key:2,class:"about-content__tags"},S={key:0,class:"tag"},V={class:"about-content__actions"};function O(q,L,r,j,F,t){const d=l("InfoTag"),h=l("ContentActions");return r.show?(n(),e("div",v,[a("div",I,[t.background?(n(),e("div",C,[a("img",{src:t.background,alt:t.title,class:"background-image"},null,8,B)])):s("",!0),a("div",T,[a("div",w,[t.title?(n(),e("div",x,[a("h1",A,o(t.title),1)])):s("",!0),t.description&&r.fullInfo?(n(),e("div",N,[a("p",D,o(t.description),1)])):s("",!0),t.showTagsBlock&&r.fullInfo?(n(),e("div",E,[(n(!0),e(f,null,p(t.tags,i=>(n(),e("div",{key:i.id,class:"tag"},[c(d,null,{default:u(()=>[_(o(i.nome),1)]),_:2},1024)]))),128)),t.duration?(n(),e("div",S,[c(d,{transparent:!0},{default:u(()=>[_(o(t.duration),1)]),_:1})])):s("",!0)])):s("",!0),a("div",V,[c(h,{data:t.actionData},null,8,["data"])])])])])])):s("",!0)}const z=m(k,[["render",O],["__scopeId","data-v-9b60f137"]]);export{z 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.