PageSourceSearch

https://zzzz.com/assets/theme-0/dialog.Cky2-89i.js

js zzzz.com collected 2026-10-05 21:50:34 UTC 2,385 bytes, 2 lines download raw bytes

1const __vite__fileDeps=["assets/theme-0/commonChunk.C0HSkOIA.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2import{_ as g}from"./vendorChunk.DAT6JrsC.js";import{df as u,A as p,gF as y,e as w,aw as d,R as m,di as _,j6 as P}from"./commonChunk.NaF3o1Ou.js";import"../vendors/vendor-stable.C7xqpJ6l.js";const I=u(()=>g(()=>import("./commonChunk.NaF3o1Ou.js").then(e=>e.wk),__vite__mapDeps([0])),e=>e.navigateToWithdrawPage,"navigateToWithdrawPage"),D=u(()=>g(()=>import("./commonChunk.NaF3o1Ou.js").then(e=>e.wk),__vite__mapDeps([0])),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})},R=(e,t)=>{var o;try{return e==="Paymodal"&&t.paykind?i.PaymodalPreSelect(t):(o=i[e])!=null&&o.call(i,t)||d().open(e,t),!0}catch(n){return!1}},f=e=>e instanceof Error?e.message:String(e),E=e=>{const{error:t,isSomeErrorText:o=!0,onConfirm:n}=e,s=f(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})},v=e=>{const t=f(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=d(),e==null||e()})},A=()=>{let e=!1;return c(()=>{e=!0,r==null||r.lockAutoDialog()}),()=>{e&&(r==null||r.unlockAutoDialog())}},C=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})},O=()=>(c(),{forbidAutoDialog:A,createDialogGuard:C}),F=Object.freeze(Object.defineProperty({__proto__:null,createDialogOperator:O,openDialog:R,showDialog:l,showInitFailed:v,showLoginFailed:E},Symbol.toStringTag,{value:"Module"}));export{O as c,F as d,I as n,R 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.