import{V as v,O as f,Q as h,W as C,ak as y,m as i,$ as b,p as w,X as k,Y as I,o as d,af as B,a3 as N}from"./common.modules-adc6b33e.js";import{aC as c,A as l,aw as x,aD as p,aE as A,aF as D,aG as F,aH as L,aI as T,aJ as G,_ as P}from"./page-activity-ActivityDetail-b9249b49.js";import"./native/index-0b5e3b14.js";import"./en-8e350547.js";window.getBuildInfo=function(){return{buildTime:"4/17/2025, 12:09:57 PM",branch:" commitId:8bf9f27a915f5dcd9b9436e446b585b05218b863"}};const E={class:"fish_game"},M={class:"fish_list"},O=["onClick"],U=v({__name:"index",setup(u){const t=f([]),{t:n}=h(),m=()=>{c.back()},_=async()=>{const e=await l(x({type:11}));e&&t.push(...e.data.gameLists)},g=e=>{N({title:n("tips"),message:n("tipsPlayGame"),cancelButtonText:n("cancel"),showCancelButton:!0}).then(async()=>{var o;let s={gameCode:e.gameCode||e.gameID,vendorCode:e.hasOwnProperty("vendorCode")&&e.vendorCode?e.vendorCode:Number(e.vendorId)||Number(e.slotsTypeID)};e.hasOwnProperty("vendorCode")?s.deviceType=p(!1):s.phonetype=p();const a=await l(A({...s}));if(a)if(D())F("game",{...(a==null?void 0:a.data)||{},gameName:e.slotsName||e.gameNameEn||""});else return L||["Wickets9","CMD","IM","SaBa","ARLottery"].includes(s.vendorCode)?T(a==null?void 0:a.data,1):c.push({name:"game",query:{url:G((o=a==null?void 0:a.data)==null?void 0:o.url),vendorCode:s.vendorCode}})})};return _(),(e,s)=>{const a=C("NavBar"),o=y("lazy");return d(),i("div",E,[b(a,{title:e.$t("fishing"),backgroundColor:"linear-gradient(90deg, #CF0305 0%, #F23F3A 100%)",placeholder:!1,"left-arrow":"",onClickLeft:m},null,8,["title"]),w("div",M,[(d(!0),i(k,null,I(t,r=>B((d(),i("img",{class:"gameImg",key:r.vendorId,onClick:V=>g(r)},null,8,O)),[[o,r.img]])),128))])])}}});const R=P(U,[["__scopeId","data-v-50e7ebdb"],["__file","/usr/local/jenkins-prod/workspace/ar079-india-tashanwin/src/views/home/FishGames/index.vue"]]);export{R as default};
//# sourceMappingURL=page-home-FishGames-1c7af0d6.js.map
