1import _ from"./DLutHHwq.js";import i from"./r9-99129.js";import u from"./CuWWfrxn.js";import{_ as x,c as r,a as c,t as n,e as s,F as h,x as p,j as a,b as O,w as g,o as t}from"./C_dDoqqV.js";import"./BzFipafK.js";import"./2Kz32Cv7.js";import"./B3UUmxRX.js";import"./cg-AAXxy.js";import"./DpWK8sBq.js";import"./BLuxgZ3F.js";const w={name:"ReviewDrawerOffer",props:{content:{type:Object,required:!0}},computed:{welcomeOffer(){return this.content?.welcomeOffer&&Object.keys(this.content?.welcomeOffer).length?this.content?.welcomeOffer:null},offerInfo(){return this.content?.offerInfo&&this.content?.offerInfo.length?this.content?.offerInfo:null},moreOffers(){return this.content?.moreOffers&&Object.keys(this.content?.moreOffers).length?this.content?.moreOffers:null}}},k={class:"flex flex-col gap-fluid-md"},v={class:"flex flex-col gap-fluid-xs"},b={key:0,class:"text-xs md:text-md leading-md text-foreground-3"},y={key:1,class:"text-md md:text-xl leading-md font-bold"},I={key:0,class:"flex flex-col gap-xs"},j={class:"text-xs md:text-sm leading-md"},B={key:1,class:"text-xs md:text-sm leading-md"},D={key:1},N={class:"text-xs md:text-sm leading-md"};function z(C,V,F,L,R,e){const l=_,m=i,d=u;return t(),r("div",k,[c("div",v,[e.welcomeOffer&&e.welcomeOffer?.label?(t(),r("span",b,n(e.welcomeOffer.label),1)):s("",!0),e.welcomeOffer&&e.welcomeOffer?.value?(t(),r("h3",y,n(e.welcomeOffer.value),1)):s("",!0)]),e.offerInfo?(t(),r("div",I,[(t(!0),r(h,null,p(e.offerInfo,(o,f)=>(t(),r("div",{key:f,class:"w-full flex flex-wrap gap-xs justify-between"},[c("span",j,n(o.label),1),o.variant==="bonus-code"?(t(),a(l,{key:0,id:`promo-${f}`,size:"SM","code-text":o.value,"data-aa-tracker":`Button to bonus code of ${o.partnerName}`,class:"order-1 w-fit"},null,8,["id","code-text","data-aa-tracker"])):(t(),r("span",B,n(o.value),1)),f!==e.offerInfo.length-1?(t(),a(m,{key:2,content:{size:"xxs",type:"visible"},class:"w-full"})):s("",!0)]))),128))])):s("",!0),e.moreOffers.href&&e.moreOffers.href.length?(t(),r("div",D,[O(d,{variant:"default",size:"md",href:e.moreOffers.href,class:"text-foreground-accent hover:text-foreground-accent-light duration-200"},{default:g(()=>[c("span",N,n(e.moreOffers.label),1)]),_:1},8,["href"])])):s("",!0)])}const Q=Object.assign(x(w,[["render",z]]),{__name:"ReviewDrawerOffer"});export{Q 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.