1import{_ as k,a as D}from"./Footer.7b727350.js";import{_ as B}from"./PromotionDetail.vue.576b113a.js";import{f as V,D as C,B as p,r as c,g as M,o as i,c as l,i as t,b as m,a as o,t as u,G as N,H as $,k as I,m as L,s as f}from"./entry.42c38062.js";import{u as F}from"./wallet.store.480fe689.js";/* empty css */import{_ as S}from"./_plugin-vue_export-helper.c27b6911.js";import"./nuxt-img.128cd9de.js";import"./nuxt-link.3d631044.js";import"./index.bac9d31c.js";import"./ButtonLanguage.vue.4004424f.js";import"./DropdownButton.vue.dd9ed0aa.js";import"./AppSpinner.vue.e44861df.js";const W={class:"landing-layout overflow-hidden"},E={key:0},G={class:"container-landing py-5 lg:py-8"},H={class:"mb-4 md:mb-8 relative pl-20 md:pl-32 pr-4 py-2 bg-gradient-to-r rounded-l-full from-secondary via-secondary to-main/20"},R={class:"absolute max-w-[60px] md:max-w-[120px] left-[-5px] md:left-[-25px] top-[50%] translate-y-[-50%]"},U=["src","alt"],j={class:"text-2xl md:text-4xl leading-6 text-white title-shadow italic"},q=["onClick"],z={class:"active_promotion"},A=["src","alt"],J=V({__name:"promotion",setup(K){const v=C(),s=p(()=>v.appearance),g=F(),h=p(()=>g.getBalance),d=c(null),r=c(!1),_=c([]),x=async()=>{try{const e=await f.promotion.getPublicPromotions();_.value=e.data||[]}catch{}},y=async e=>{await f.promotion.getPublicPromotionsInfo({id:e.id}).then(a=>{a.data&&a.data&&(d.value=a.data,r.value=!0)})};return M(()=>{x()}),(e,a)=>{const b=k,w=D,P=B;
1return i(),l("div",W,[t(s)?(i(),l("div",E,[m(b,{key:"navbar"}),o("div",G,[o("div",H,[o("div",R,[o("img",{src:t(s)&&t(s).menu_icon_promotion.url,alt:t(s)&&t(s).menu_icon_promotion.alt,class:"w-full"},null,8,U)]),o("span",j,u(e.$t("landing.promotion")),1)]),(i(!0),l(N,null,$(t(_),n=>(i(),l("div",{key:n,class:"relative carousel__item rounded-3xl overflow-hidden mb-3",onClick:O=>y(n)},[o("div",z,u(e.$t("pdProDetail")),1),o("img",{src:n.img_path,alt:n.name,class:"mx-auto cursor-pointer w-full"},null,8,A)],8,q))),128))]),m(w)])):I("",!0),m(P,{modelValue:t(r),"onUpdate:modelValue":a[0]||(a[0]=n=>L(r)?r.value=n:null),trunDetail:t(d),cash:t(h),type:"deposit","no-fetch":!0},null,8,["modelValue","trunDetail","cash"])])}}});const it=S(J,[["__scopeId","data-v-22ea36da"]]);export{it 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.