1import u from"./DqIKrIDH.js";import f from"./DoP2-cPk.js";import{_,c as h,a,j as l,e as c,d,t as r,w as g,A as x,o}from"./C_dDoqqV.js";const b=["light","dark"],k={name:"ModalBonusBanner",components:{Button:f},props:{gameName:{type:String,default:""},partner:{type:Object,required:!0},iconTheme:{type:String,validator:e=>b.includes(e),default:"dark"}},data(){return{visitCasinoLabel:this.$t("modalGame.visitCasino"),playTheRealMoneyOfThisGameLabel:this.$t("modalGame.playTheRealMoneyOfThisGame")}},computed:{affiliateLink(){const e=this.partner?.phoenix?.attributes?.toplistOffer?.attributes?.afflinkProxy;return e&&!this.notActive?`${x().public.PHOENIX_AFFLINK_SERVER}${e}`:""},offerDetails(){return this.partner?.phoenix?.attributes?.toplistOffer?.attributes?.titlePreview??"-"},partnerLogo(){const e=this.$config.public.PHOENIX_IMAGE_SERVER,n=this.partner?.favicon[this.iconTheme];return`${e}${n}?w=300&h=200&fm=avif`},notActive(){return this.partner?.supplement?.notActive}}},y={class:"flex flex-wrap md:flex-nowrap py-md px-lg items-center h-full gap-md"},v={class:"banner-logo-wrapper pr-lg md:h-full flex-shrink-0 border-r color-stroke-elevation flex justify-center items-center order-1"},w={class:"order-3 md:order-2 flex-grow md:flex md:justify-center md:items-center w-full md:w-auto"},L={class:"text-foreground-1 text-sm md:text-md font-bold mt-4 md:mt-0 leading-150"},B={class:"text-foreground-accent md:block"},O={class:"afflink-btn-wrapper order-2 md:order-3 flex-grow flex justify-end items-center md:flex-grow-0"};function T(e,n,s,E,i,t){const m=u,p=f;return o(),h("div",y,[a("div",v,[t.partnerLogo?(o(),l(m,{key:0,src:t.partnerLogo,class:"w-full h-auto max-w-full",alt:"partner logo"},null,8,["src"])):c("",!0)]),a("div",w,[a("div",null,[a("p",L,[d(r(i.playTheRealMoneyOfThisGameLabel)+" ",1),a("span",B,r(t.offerDetails),1)])])]),a("div",O,[t.affiliateLink?(o(),l(p,{key:0,tag:"a",size:"MD",href:t.affiliateLink,variant:"primary",rel:"noopener noreferrer nofollow",target:"_blank",disabled:!t.affiliateLink,"data-aa-tracker":`Modal game bonus banner play now button ${s.gameName}`},{default:g(()=>[d(r(i.visitCasinoLabel),1)]),_:1},8,["href","disabled","data-aa-tracker"])):c("",!0)])])}const P=Object.assign(_(k,[["render",T],["__scopeId","data-v-cbd08d44"]]),{__name:"ModalBonusBanner"});export{P 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.