1const __vite__fileDeps=["assets/vendors/vendor-swiper.BqvbXe0X.css","assets/theme-0/commonChunk.BDf1RAOt.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); 2import{_ as g}from"./vendorChunk.CdOYM0LL.js";import{cC as u,f as p,gz as y,T as w,N as f,b7 as m,nq as _,lp as P}from"./commonChunk.PdIs3tQN.js";import"../vendors/vendor-stable.c3KwpDaz.js";const I=u(()=>g(()=>import("./commonChunk.PdIs3tQN.js").then(e=>e.Bm),__vite__mapDeps([0,1])),e=>e.navigateToWithdrawPage,"navigateToWithdrawPage"),D=u(()=>g(()=>import("./commonChunk.PdIs3tQN.js").then(e=>e.Bm),__vite__mapDeps([0,1])),e=>e.openRechargeModal,"openRechargeModal"),l=y,T=P;let r;const i={Paymodal:()=>D(),PaymodalPreSelect:e=>_({payKind:e.paykind,payTypeId:e.payTypeId,channelId:e.channelId})},C=(e,t)=>{var o;try{return e==="Paymodal"&&t.paykind?i.PaymodalPreSelect(t):(o=i[e])!=null&&o.call(i,t)||f().open(e,t),!0}catch(n){return!1}},d=e=>e instanceof Error?e.message:String(e),E=e=>{const{error:t,isSomeErrorText:o=!0,onConfirm:n}=e,s=d(t),{t:a}=p();l({type:"error",title:()=>a("lobby.common.tips.title"),className:"host-envs_tg-micro-app",confirmButtonText:()=>a("lobby.common.tips.confirm"),message:()=>(o?`${a("lobby.error.microAppLoginFailed")}[${s||"Network Error"}]`:s)||"Unknown Error",showCancelButton:!1,showCloseButton:!1,closeOnRouteChange:!1,onConfirm:n})},R=e=>{const t=d(e),{t:o}=p();l({type:"error",title:()=>o("lobby.common.tips.title"),className:"host-envs_tg-micro-app",confirmButtonText:()=>o("lobby.common.tips.confirm"),message:()=>o("lobby.tgma.e1",{m:t}),showCancelButton:!1,showCloseButton:!1,showConfirmButton:!1,closeOnRouteChange:!1})},c=e=>{if(r){e==null||e();return}w("APP_BEFORE_MOUNTED",()=>{r=f(),e==null||e()})},v=()=>{let e=!1;return c(()=>{e=!0,r==null||r.lockAutoDialog()}),()=>{e&&(r==null||r.unlockAutoDialog())}},B=e=>{const t=o=>{const n=s=>{if(s.name&&e.includes(s.name))return o(s);const a=()=>{},h={close:a,instance:{proxy:{open:a,close:a}},result:Promise.resolve("cancel")};return Promise.resolve(h)};return Object.assign(n,o),n};m.showConfirmDialog=t(T),m.showDialog=t(l),c(()=>{const o=r.open;r.open=(n,...s)=>n&&e.includes(n)?o(n,...s):!1})},A=()=>(c(),{forbidAutoDialog:v,createDialogGuard:B}),F=Object.freeze(Object.defineProperty({__proto__:null,createDialogOperator:A,openDialog:C,showDialog:l,showInitFailed:R,showLoginFailed:E},Symbol.toStringTag,{value:"Module"}));export{A as c,F as d,I as n,C as o,E as s};
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.