1import{_ as T}from"./RecordTable-bIHblzGe-179145378.js";import{bd as z,X as N,a0 as R,$ as j,aw as i,aF as r,b7 as v,b8 as n,b9 as E,l as m,av as a,b2 as L,aU as g,b0 as f,az as e,aB as l,a_ as t,aA as $,e as y,W as V}from"./vendor-nuxt-D6GEx_KY-179145378.js";import{_ as A}from"./List-kdt0zeLK-179145378.js";import{h as H,q as K,c as P}from"./entry-Cb5X-vyo-179145378.js";import"./Pagination-DBnX9qhg-179145378.js";import"./QuickNav-BHohe36J-179145378.js";import"./DateFilter-9wiaAH7d-179145378.js";import"./DatePickerCalendar-DPipf4gx-179145378.js";import"./vendor-swiper-BE7GD7FJ-179145378.js";const q={key:0},O={key:0,class:"text-left"},W={class:"text-left"},X={class:"text-left"},G={class:"text-left"},I={class:"text-left"},J={class:"text-left"},Q={class:"text-left"},Y={class:"text-left"},Z={class:"text-left"},tt={class:"text-left"},et={class:"text-left"},st={class:"text-left"},ot={key:0,class:"capitalize"},at={class:"whitespace-nowrap"},it={class:"whitespace-nowrap"},rt={class:"whitespace-nowrap"},dt={key:1},nt={class:"mb-6"},lt={key:0,class:"grid grid-cols-2 items-center border-b border-line p-4"},_t={class:"text-xs"},ct={class:"text-right text-sm capitalize"},ht={class:"grid grid-cols-2 items-center border-b border-line p-4"},bt={class:"text-xs"},mt={class:"text-right text-sm"},ut={class:"grid grid-cols-2 items-center border-b border-line p-4"},pt={class:"text-xs"},vt={class:"text-right text-sm"},gt={class:"grid grid-cols-2 items-center border-b border-line p-4"},ft={class:"text-xs"},$t={class:"text-right text-sm"},yt={class:"grid grid-cols-2 items-center border-b border-line p-4"},xt={class:"text-xs"},wt={class:"text-right text-sm"},kt={class:"grid grid-cols-2 items-center border-b border-line p-4"},Ct={class:"text-xs"},Dt={class:"text-right text-sm"},Bt={class:"grid grid-cols-2 items-center border-b border-line p-4"},Ut={class:"text-xs"},Ft={class:"text-right text-sm"},Mt={class:"grid grid-cols-2 items-center border-b border-line p-4"},St={class:"text-xs"},Tt={class:"text-right text-sm"},zt={class:"grid grid-cols-2 items-center border-b border-line p-4"},Nt={class:"text-xs"},Rt={class:"text-right text-sm"},jt={class:"grid grid-cols-2 items-center border-b border-line p-4"},Et={class:"text-xs"},Lt={class:"text-right text-sm"},Vt={class:"grid grid-cols-2 items-center border-b border-line p-4"},At={class:"text-xs"},Ht={class:"text-right text-sm"},Kt={class:"grid grid-cols-2 items-center border-b border-line p-4"},Pt={class:"text-xs"},te={__name:"rebate",setup(qt){const x=V();H();const _=K();z(()=>{_.ready&&(typeof _.data.rebate>"u"||_.data.rebate=="0")&&c.replace(h("/"))},{flush:"post"});const{isMobile:w}=N(),k=m("startDate"),C=m("endDate"),D=P(),u=y(()=>({currency:D.data?.currency,date_from:k.value,date_to:C.value})),B=m("filterKey"),c=R(),h=j(),U=({startDate:s,endDate:p})=>{c.replace(`${h("/statement")}?startDate=${s}&endDate=${p}`)},d=y(()=>!!["champ191","gcwin99","bng8","aw8","finbet8","jolibet","jw8","wic11","nepal","nex8v2","siam66","uea8","wawin8","ime88","khalti88","gambinoslot","pgm26"].includes(x.public.MERCHANT));return(s,p)=>{const F=T,M=E,S=A;return a(),i("div",null,[r(w)?(a(),i("div",dt,[v(S,{title:s.$t("rebate_history"),apiUrl:"promotion/get-rebate-history-new",onBack:U},{list:n(({list:b})=>[(a(!0),i(g,null,f(b,o=>(a(),i("div",nt,[r(d)?(a(),i("div",lt,[t("div",_t,e(s.$t("rebate_type")),1),t("div",ct,e(o.rebate_type),1)])):l("",!0),t("div",ht,[t("div",bt,e(s.$t("start_date")),1),t("div",mt,e(o.start_time),1)]),t("div",ut,[t("div",pt,e(s.$t("end_date")),1),t("div",vt,e(o.end_time),1)]),t("div",gt,[t("div",ft,e(s.$t("rebate_date")),1),t("div",$t,e(o.bonus_date),1)]),t("div",yt,[t("div",xt,e(s.$t("provider")),1),t("div",wt,e(o.provider_name),1)]),t("div",kt,[t("div",Ct,e(s.$t("total_valid_bet")),1),t("div",Dt,e(o.total_valid_turnover?s.$fn(o.total_valid_turnover,2):"-"),1)]),t("div",Bt,[t("div",Ut,e(s.$t("total_promotion_valid_bet")),1),t("div",Ft,e(o.total_promo_turnover?s.$fn(o.total_promo_turnover,2):"-"),1)]),t("div",Mt,[t("div",St,e(s.$t("total_eligible_valid_bet")),1),t("div",Tt,e(o.total_eligible_turnover?s.$fn(o.total_eligible_turnover,2):-0),1)]),t("div",zt,[t("div",Nt,e(s.$t("rebate")),1),t("div",Rt,e
1(o.rebate_rate?s.$fn(o.rebate_rate,2):"-"),1)]),t("div",jt,[t("div",Et,e(s.$t("rebate_amount")),1),t("div",Lt,e(o.rebate_amount?s.$fn(o.rebate_amount,2):"-"),1)]),t("div",Vt,[t("div",At,e(s.$t("claimed_date")),1),t("div",Ht,e(o.transaction_date),1)]),t("div",Kt,[t("div",Pt,e(s.$t("status")),1),t("div",{class:$(["status-text text-right text-sm",o.status])},e(o.status?s.$t(o.status):s.$t("pending")),3)])]))),256))]),_:1},8,["title"])])):(a(),i("div",q,[v(M,null,{default:n(()=>[r(u).date_from?(a(),L(F,{api:r(d)?"promotion/get-rebate-history-new":"promotion/get-rebate-history",payload:r(u),key:r(B)},{head:n(()=>[r(d)?(a(),i("th",O,e(s.$t("rebate_type")),1)):l("",!0),t("th",W,e(s.$t("start_date")),1),t("th",X,e(s.$t("end_date")),1),t("th",G,e(s.$t("rebate_date")),1),t("th",I,e(s.$t("provider")),1),t("th",J,e(s.$t("total_valid_bet")),1),t("th",Q,e(s.$t("total_promotion_valid_bet")),1),t("th",Y,e(s.$t("total_eligible_valid_bet")),1),t("th",Z,e(s.$t("rebate")),1),t("th",tt,e(s.$t("rebate_amount")),1),t("th",et,e(s.$t("claimed_date")),1),t("th",st,e(s.$t("status")),1)]),body:n(({rows:b})=>[(a(!0),i(g,null,f(b,o=>(a(),i("tr",{key:o.id},[r(d)?(a(),i("td",ot,e(o.rebate_type),1)):l("",!0),t("td",at,e(s.$UTCdateFormat(o.start_time)),1),t("td",it,e(s.$UTCdateFormat(o.end_time)),1),t("td",rt,e(s.$UTCdateFormat(o.bonus_date)),1),t("td",null,e(o.provider_name),1),t("td",null,e(o.total_valid_turnover?s.$fn(o.total_valid_turnover,2):"-"),1),t("td",null,e(o.total_promo_turnover?s.$fn(o.total_promo_turnover,2):"-"),1),t("td",null,e(o.total_eligible_turnover?s.$fn(o.total_eligible_turnover,2):-0),1),t("td",null,e(o.rebate_rate?s.$fn(o.rebate_rate,2):"-"),1),t("td",null,e(o.rebate_amount?s.$fn(o.rebate_amount,2):"-"),1),t("td",null,e(o.transaction_date),1),t("td",{class:$(["status-text",o.status])},e(o.status?s.$t(o.status):s.$t("pending")),3)]))),128))]),_:1},8,["api","payload"])):l("",!0)]),_:1})]))])}}};export{te as default}; 2//# sourceMappingURL=rebate-BSLtnek4-179145378.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.