1import{qI as i,ms as u}from"./commonChunk.Dhe5lqYh.js";import{m as p}from"./1_SearchGameChunk.l0ciEGcc.js";import{bg as a}from"./0_EntryLoginRegisterChunk.CH23XrmN.js";import{f as m,h as f}from"../vendors/vendor-stable.B8ub4Ug6.js";import"./vendorChunk.BdsO83GQ.js";import"../vendors/vendor-swiper.T_wbf2QY.js";import"./1_MineChunk.DroyDZEx.js";import"./0_GameMoreCategoryChunk.CPz2DCY2.js";import"./0_RechargeCommonChunk.DSN05vBz.js";import"./1_AgentCenterChunk.PiK7sNsJ.js";import"./1_PromoteChunk.DYukjC1-.js";import"./1_ClubRebateChunk.DA9ie7NK.js";import"./0_WithdrawChunk.DK0bpz1Y.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,t={})=>p({setup(){const{state:s,toggle:l}=u(),n=Object.assign({},g,t);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 t=o.appContext||((l=i.get("App"))==null?void 0:l._context),{instance:e}=C(t,o),s=new Promise((n,c)=>{e.proxy.open({callback:r=>{(r==="confirm"?n:c)(r)}})});return{close:()=>y(e),instance:e,result:s}}const N=o=>w(Object.assign({showCancelButton:!0},o)),y=o=>{var t;o&&("close"in o&&typeof o.close=="function"?o.close():"proxy"in o&&((t=o.proxy)!=null&&t.close)&&o.proxy.close())},j=a;export{j as DialogComponent,y as closeDialog,N 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.