1import{pw as i,la as u}from"./commonChunk.CbHrP2ip.js";import{m as p}from"./1_SearchGameChunk.DPxG-dhI.js";import{bW as a}from"./0_EntryLoginRegisterChunk.DMUz1wnE.js";import{e as m,m as f}from"../vendors/vendor-stable.CbjAnMzp.js";import"./vendorChunk.96TTY5fG.js";import"./1_MineChunk.CPGTMigo.js";import"./0_RechargeCommonChunk.DDWWiKeW.js";import"./0_WithdrawChunk.B8tEuVYo.js";import"./1_AgentCenterChunk.qBSEz8xL.js";import"../vendors/vendor-swiper.Bq2sw0Pq.js";const g={title:"",width:"",theme:null,message:"",overlay:!0,callback:null,teleport:"body",className:"",allowHtml:!1,lockScroll:!0,transition:void 0,beforeClose:null,overlayClass:"",overlayStyle:void 0,messageAlign:"",cancelButtonText:"",cancelButtonColor:null,cancelButtonDisabled:!1,confirmButtonText:"",confirmButtonColor:null,confirmButtonDisabled:!1,showConfirmButton:!0,showCancelButton:!1,showCloseButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1,cancelButtonClearBackground:!0,dialogMode:"small"},C=(o=null,e={})=>p({setup(){const{state:s,toggle:l}=u(),n=Object.assign({},g,e);return()=>m(a,f(s,n,{"onUpdate:show":l}),null)}},o);function w(o){var l;if(typeof window=="undefined")return{close:()=>{},instance:{},result:Promise.resolve("cancel")};const e=o.appContext||((l=i.get("App"))==null?void 0:l._context),{instance:t}=C(e,o),s=new Promise((n,c)=>{t.proxy.open({callback:r=>{(r==="confirm"?n:c)(r)}})});return{close:()=>y(t),instance:t,result:s}}const T=o=>w(Object.assign({showCancelButton:!0},o)),y=o=>{var e;o&&("close"in o&&typeof o.close=="function"?o.close():"proxy"in o&&((e=o.proxy)!=null&&e.close)&&o.proxy.close())},A=a;export{A as DialogComponent,y as closeDialog,T as showConfirmDialog,w as showDialog};
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.