1import{W as g}from"./WinnerCard-DMmkdVUU.js";import{ao as w,bg as C,_ as S}from"./vendor-stores-DWg3JMyH.js";import{A as f}from"./index-aSPEa8LB.js";import{C as _}from"./CarouselItem-BQozoFAp.js";import{a as $,n as r,E as a,C as s,D as n,e as P,o,b,F as A,A as W,p as i,B as k,h as v}from"./vendor-vue-Bn3cOtVK.js";import"./vendor-i18n-DOPbklXz.js";import"./BaseCard-Dl4cP6F_.js";import"./vendor-google-libphonenumber-C9uRUSpL.js";import"./vendor-easyqrcodejs-C84wwU9H.js";import"./vendor-utils-CwDzBzLR.js";import"./vendor-ics-vdQVfxya.js";import"./vendor-ably-85trm9Jw.js";import"./vendor-analytics-DdXnPYNK.js";const B=$({components:{WinnerCard:g,AppCarousel:f,CarouselItem:_},props:{title:{type:String,required:!0}},setup(){return{winnersStore:w(),PrizeResultCategories:C}},data(){return{winners:[],upgradePlan:this.$plansStore.getPlanByTier("vip",this.$userStore.highestPlan?.period)}},async mounted(){await this.winnersStore.fetchWinners(),this.winners=this.winnersStore.highlightedWinners}}),y={class:"px-3 @md/main:px-8"};function I(e,t,N,T,U,V){const p=r("WinnerCard"),l=r("CarouselItem"),u=r("AppCarousel"),m=r("AppUpgradeModal"),d=r("AppSection");return t[0]||(a(-1,!0),(t[0]=s(d,{class:"dark-section !mb-0"},{default:n(()=>[P("div",y,[s(u,{icon:e.Icons.Trophy,title:e.title,"view-all-route":{name:"results-and-winners",hash:"#"+e.PrizeResultCategories.Winners},"container-class":"[&_.button]:text-black [&_.button]:bg-white"},{preamble:n(()=>[k(e.$slots,"sub-heading")]),default:n(()=>[(o(!0),b(A,null,W(e.winners,(c,h)=>(o(),i(l,{key:h,class:"w-[306px] max-w-[100%]"},{default:n(()=>[s(p,{winner:c,class:"h-full"},null,8,["winner"])]),_:2},1024))),128))]),_:3},8,["icon","title","view-all-route"])]),e.$userStore.showUpgradePlan&&e.$userStore.highestPlan&&e.$userStore.vipPlan?(o(),i(m,{key:0,"user-plan":e.$userStore.highestPlan,"upgrade-plan":e.$userStore.vipPlan},null,8,["user-plan","upgrade-plan"])):v("",!0)]),_:3})).cacheIndex=0,a(1),t[0])}const K=S(B,[["render",I]]);export{K as default}; 2//# sourceMappingURL=WinnersSection-DO0ETknn.js.map
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.