(self.webpackChunkmy_vue_app=self.webpackChunkmy_vue_app||[]).push([[61719],{56027:function(e,t){"use strict";t.Z={"base-form-item":"gD0G2pAAJZZTJ1n0KQXv",currencyText:"saPGQcGOJEokiNYHytih",formRequired:"EooByEciSijZepo23r0Q",passIcon:"eLGvAXCqsXxjzPpIuB6T",realNameIcon:"mZDW90a2LKayvmv7pC9l","base-select":"XqjLK8ZRmJFdy7TPEkqA","phone-select-input":"PFwVVZ_QB6SZSfgf8I9A","input-select":"BAs0zmlVRfkSDB9E2ybL","select-width-icon":"HlSfZpZxovZIrfUHeA1B",phoneFormRequired:"T7pOuBjbpP7xd9vf0fF4",phoneIcon:"yhveExiY_McVCWreUEUc","base-select-dropdown-phone":"KXaFIpNByJILtL37pVwO",select:"MjMC7nhQVhzXHrTYaTlm",selectOption:"EbaAWQ8q4vTBAVvDYmAQ","email-select-input":"Ut03_AZgjiusqwnZAjET","base-form-item-auto":"SNUE2gynoXwrenio9H5F","base-select-dropdown":"SGxgklNsAb1aQjWuZhH2",optionIcon:"OvBKpt9R5BeYM3_KzcAh",optionSelected:"ffF9IuhXtmJll41BZvw2","custom-select-icon":"DlTldn4hc5FWrc8jc0ow","custom-select-email-icon":"RtduVXFT2jqp8gCtZV4g","has-select-prefix":"Bac6dWqa6pZ6MEil1AKg","input-edit-disabled":"opOxOwip3J3EfQE8YzAV","email-has-select-prefix":"Pjjd7EezGH_2vjA9q0nf",loadingComponentCom:"v7IyH8dwr1W3q1vpyVPs",common_bganimation:"pYKVWDaJF65t8cwKVLgr"}},51205:function(e,t){"use strict";t.Z={"currency-switch-header":"gMycWOXbEPPSKtGu9DJx","header-right-icon":"eL5yINcn8oAfuGYOqVCC","current-container":"b4gQjqmRH8tjkzGFg0E7","right-icon":"Hn5OU0m3R1n0guawGAFV",arrow:"NhoFzDQJj257wBYvQC6H",item:"RETxyrjSM0tk0F9bNdNp",gaming:"N2CJXsR0gA7aPnqzzh4B","count-to":"PiAY9jNCavdnic81DHhN","refresh-icon":"lSv9HZaqKnsTDWZVBjmG",languagePopver:"I2WcrfdL4_TVPJGV4WG7",languagePopup:"EgbeCNNXFpYcoJlz4zJS",menu:"LIetgBRcZz14nfMBk7ul","icon-box":"X37vhpCBZfyjJ0xqxWUH","icon-box-head":"thr9QqqIYXdxgjWZ9jXC",switchItem:"ftF39nS2_DrSmMYRIuKR",disabled:"Ho0Xzmlj_ZCFKwPjqBEB",langModalContainer:"HftYqkSnw8vn1uByOQ2F",currencyScroll:"zrCoFzbQVtnIA_PixjAj","current-bottom":"IfZ34ufuItvKuEJMNTQm",langModalContent:"hhcHWGWrkOg0ZifH5yNP",cicle:"k2PJI4RtXU9DHvgFaRXE",common_bganimation:"RGnPTccQzTb5tE0RDH0C"}},92304:function(e,t){"use strict";t.Z={prefixWarp:"n9l28DDVsowu3oeuB_cK","current-container":"jVfUjkoNdkDoZNDJYcIi","right-icon":"vWWPE97UXu2Ub4sKO7_r",arrow:"cnELY7vZFquSu086l2JK","header-right-icon":"DSjR5rqwkAl917hcuH9l",item:"bg01CgVbvy21yZsg5Aq0",languagePopver:"pvnU4HFzocTeDDufM0jI",languagePopverBottom:"B4S3rhwuhmKQ4NRDM29G",languagePopup:"opM5M6MTueA4IK2S2VZg",menu:"FVU4rbRBLe_8BxUhQ86V","icon-box":"yUC0MchK7XwMRAx2RW0p","icon-box-head":"xWDbOmxbu2SRiNi5I7PJ",disabled:"W0WnTaiHrRGgj2vvJEEG",langModalContent:"fnQwkxuubQ0vsCm5Ci_A",langModalContainer:"HkFPtm0Uly5KUHT2MhbS",cicle:"XmFVAcOt7YCkuEJ1j2xA",globalIcon:"xmiQXVfts06AnJoOOjAv","switch-lang-animate":"WLS9iTYWW1Y5oQyUJlmG",rotate:"pAfW0fBquNKCVesqDGKQ",common_bganimation:"NXDvPDD3_11BXzYcjAnA"}},1400:function(e,t){"use strict";t.Z={pagination:"Z1ee9QJd81eYwAsBfJ5D",pluginsPagination:"uIPZGFvlbc73vTKKPw6f",comTable:"Tg_bNUie8utWvNyBH9JN",odd:"kaR5fMl5DssvxlvqjM5j",reverseBgInListMode:"CoRxptnO0pNFo_rooL0s",timeoutError:"FdyFKFnjbwBimMQ_4o7G",btnRetry:"IvKjiSnjJt_0h_d7SvK2",icon:"tHxGc8Ztxm_R6OPFmtq_",even:"bPj6UldtSTOxBE3axVum",footer:"YbtYo1IvajB_51_BmelL",mobileFooter:"TNJJNBEWFE6ehM7F9gHA",hasTooltip:"s08mlF5L198_7acrxhpz",text:"ytVSADsCVukDjfIoBsIt",remark:"ipXNk3pNGqHRyvtV0uok",reverse:"SpcrGzVJUnDEf7RK9uqg",common_bganimation:"L_t2fHr9CZZECG3xr9T7"}},11294:function(e,t,i){var n={"./zh-cn":83839,"./zh-cn.js":83839};function r(e){var t=o(e);return i(t)}function o(e){if(!i.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}r.keys=function(){return Object.keys(n)},r.resolve=o,e.exports=r,r.id=11294},37015:function(e){const t=/rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)/i,i=(e,i)=>{try{return(e=>{const[,i,n,r]=e.match(t)||[];return[i,n,r]})((e=>{let i=e.toLowerCase();if(t.test(e))return i;if(i&&/^#([0-9a-f]{3}|[0-9a-f]{6})$/.test(i)){if(4===i.length){let e="#";for(let t=1;t<4;t+=1)e+=i.slice(t,t+1).concat(i.slice(t,t+1));i=e}const e=[];for(let t=1;t<7;t+=2)e.push(parseInt("0x"+i.slice(t,t+2)));return`RGB(${e.join(",")})`}throw new Error("Invalid HEX color format")})(e)).join(",")}catch(n){return i}},n={primary:["--theme-primary-color",{key:"--theme-primay-color-hex",format:i}],web_left_bg_shadow:[{key:"--theme-aside-no-active-box-shadow"}],border:["--theme-color-line",{key:"--theme-color-line-hex",format:i}],lead:["--theme-text-color-darken",{key:"--theme-text-color-darken-hex",format:i}],neutral_1:"--theme-text-color",neutral_2:"--theme-text-color-lighten",neutral_3:["--theme-text-color-placeholder","--theme-progress-line-color"],bg_1:"--theme-bg-color",bg_2:["--theme-main-bg-color",{key:"--theme-main-bg-color-hex",format:i}],accent_1:"--theme-secondary-color-success",accent_2:"--theme-secondary-color-error",accent_3:["--theme-secondary-color-finance",{key:"--theme-secondary-color-finance-hex",format:i}],leftnav_def:"--theme-left-nav-text-color",leftnav_active:"--theme-left-nav-text-active-color",text_primary:"--theme-primary-font-color",text_accent3:"--theme-secondary-color-help-text-color",home_bg:"--theme-home-bg",search_icon:"--theme-search-icon-color",label_accent3:"--theme-label-secondary-color-finance",labeltext_accent3:"--theme-secondary-color-help-text-color",kb_bg:"--theme-kb_bg",filter_bg:"--theme-active-bg-color",table_bg:"--theme-table-bg-color",btmnav_def:"--theme-btm-def-color",web_btmnav_db:"--theme-btm-bg-color",icon_1:"--theme-mine-icon-color",filter_active:["--theme-active-gou-color","--theme-filter-active-color"],icon_tg_q:"--theme-aside-icon-color-0",icon_tg_z:"--theme-aside-icon-color-1",jackpot_text:"--theme-jackpot-title-color",jdd_vip_bjc:"--theme-vip-progress-bg-color",left_bg_z:"--theme-left-active-bg-color",bs_zc_bg:"--theme-side-menu-bg-color",bs_zc_an1:["--theme-side-menu-btn-color",{key:"--theme-side-menu-btn-color-hex",format:i}],web_bs_zc_an2:"--theme-side-menu-btn-hover",web_bs_yj_bg:"--theme-side-footer-bg-color",ddt_bg:"--theme-game-card-ddt_bg",ddt_icon:"--theme-game-card-ddt_icon",bs_topnav_bg:"--theme-top-nav-bg",alt_primary:"--theme-alt-primary",alt_neutral_1:"--theme-alt-neutral-1",alt_neutral_2:"--theme-alt-neutral-2",alt_border:"--theme-alt-border",web_topbg_1:"--theme-user-card-top-bg-color",web_topbg_3:"--theme-user-card-bottom-bg-color",web_plat_line:"--theme-game-lobby-border",web_load_zz:"--theme-load-bg-color",web_left_bg_q:"--theme-aside-active-bg-color-0",web_left_bg_z:"--theme-aside-active-bg-color-1",profile_icon_1:"--theme-profile_icon_1",profile_icon_2:"--theme-profile_icon_2",profile_icon_3:"--theme-profile_icon_3",profile_icon_4:"--theme-profile_icon_4",web_filter_gou:"--theme-web_filter_gou",alt_text_primary:"--theme-alt-text-color",profile_toptext:"--theme-text-person-color",alt_lead:"--theme-header-logo-top-text"},r={NORMAL:1,EUROPEAN_AMERICAN:2,CYAN_BLUE:3,STAKE:4,CROWN_GOLD:5,GALAXY_GOLD:6,DQ:7,HK:9,THEME_12:12,THEME_17:17,THEME_13:13,THEME_14:14,THEME_36:36,THEME_15:15,THEME_16:16,THEME_26:26,THEME_27:27,THEME_24:24,THEME_18:18,THEME_19:19,THEME_20:20,THEME_21:21,THEME_35:35,THEME_25:25,THEME_33:33,THEME_31:31,THEME_39:39,THEME_28:28,THEME_29:29,THEME_34:34,THEME_32:32,THEME_40:40,THEME_41:41,THEME_10:10,THEME_42:42,THEME_45:45,THEME_46:46,THEME_37:37,THEME_48:48,THEME_49:49,THEME_43:43},o={[r.CYAN_BLUE]:{"--theme-header-height":"95px"},[r.STAKE]:{"--theme-header-height":"60px"},[r.THEME_13]:{"--theme-header-height":"125px"},[r.THEME_14]:{"--theme-header-height":"120px"},[r.THEME_12]:{"--theme-header-height":"202px"},[r.THEME_15]:{"--theme-header-height":"105px"}},a=(e,t=[])=>`--skin__${e}${t.reduce(((e,t)=>e+=`__${t}`),"")}`;e.exports={ThemeSkinType:r,getSkinName:e=>e?.type?`${e?.type}-${e?.backgroundColor}-${e?.skinTypeValue}`:"1-0-8",getCssVar:(e,t={})=>{const{serverColor:r={},themeVar:s={},version:l="v1"}=t,{baseThemeVar:c,ThemeVarConfig:u}=s,h="v1"===l,[d]=e.split("-")||[],p=o[d]||{},m=JSON.parse(JSON.stringify(u[e]?{...c,...p,...u[e]}:{...c,...p}).replace(/(\d*\.?\d+)px/g,((e,t)=>{if(!t)return e;const i=100,n=5,r=((e,t)=>{const i=Math.pow(10,t+1),n=Math.floor(e*i);return 10*Math.round(n/10)/i})(parseFloat(t)/i,n);return 0===r?"0":r+"rem"})));return Object.assign(h?m:{},Object.entries(r).reduce(((e,[t,r])=>{if(h){const i=n[t];((Array.isArray(i)?i:[i])||[]).forEach((t=>{const{key:i,format:n}=Object.assign({key:"",format:e=>e},"string"==typeof t?{key:t}:t),o=m[i];if(void 0!==o&&r)try{e[i]=n(r,o)}catch(a){}}))}else e[a(t)]=r,e[a(t,["toRgbString"])]=i(r);return e}),{}))},ThemeSkinBg:{HAS_BG:1,NO_BG:0},toRgbString:i,dataMap:{allCurrency:{ca:"currencyAisle",cc:"currencyCode",cd:"currencyDisplay",cn:"currencyName",cs:"currencySign",ct:"currencyType",fn:"fullName",gr:"gameRate",id:"id",mcc:"marketCurrencyCode",tp:"thousandthPlace"}}}},71826:function(e,t,i){"use strict";i.d(t,{Z:function(){return ce}});i(17583);var n,r,o,a,s,l,c,u,h,d,p,m,f,g=i(79177),b=i(78718),y=i.n(b),w=i(55433),v=i(12040),T=(i(82801),i(70753)),Z=i(38821),C=i(46851),S=i(1183),I=i(58217),E=i(72433),P=i(35829),_=i(75310),O=i(91475),R=i(13091),L=i(72770),A=i(53579),x=i(32225),M=i(18441),D=i(89347),N=i(35475),k=i(5860),z=i(90119),U=i(39972),B=i(13396),H=i(52851),G=i(75990),W=i(9260),F=i(75812),V=i(78910),$=i(38085),q=i(49293),Y=i(98478),j=i(96309),K=i(91117),X=i(37135),Q=i(20507),J=i(95059),ee=i(21615),te=i(20332),ie=i(32555),ne=i(342),re=i(30727),oe=i(61082),ae=i(30381),se=i.n(ae),le=i(16982);let ce=(n=(0,Z.wA)({name:"App"}),r=(0,Z.RL)("language"),o=(0,Z.RL)("currency"),a=(0,Z.RL)("isLogin"),s=(0,Z.RL)("gameGold"),l=(0,Z.RL)("isLogin",{immediate:!0}),c=(0,T.WY)(),u=(0,T.WY)(),h=(0,T.Xo)(2e3),d=(0,Z.RL)("routerName",{immediate:!0}),p=(0,Z.RL)("language"),n((f=class extends((0,Z.Wr)((0,te.Z)())){constructor(...e){super(...e),(0,w.Z)(this,"dragTime",0),(0,w.Z)(this,"Performance",{}),(0,w.Z)(this,"guideModal",null),(0,w.Z)(this,"tokenExpiredModal",null),(0,w.Z)(this,"multipleLoginModal",null),(0,w.Z)(this,"versionErrorModal",null),(0,w.Z)(this,"otherClientLoginModal",null),(0,w.Z)(this,"illegalRIModal",null),(0,w.Z)(this,"errorMessage",null)}get isInitializationCompleted(){return(0,O.h)().isInitializationCompleted}get isLogin(){return(0,O.h)().hasLogined}get language(){return(0,O.h)().language}get currency(){return(0,O.h)().userInfos?.currency}get gameGold(){return(0,O.h)().userInfos?.game_gold}onConfigDependenciesChange(){(0,O.h)().isInitializationCompleted&&this.$nextTick((()=>{re.Z.getConfigDependencies()}))}onGameGoleChange(){re.Z.triggerForcedBinding()}removeRedPocketCloseList(e,t){e&&!1===t&&(0,K.h)().loginAfterResetRedPocketCloseList()}get appIcon(){const e=window.innerWidth>600,t=(0,oe.Z)().apple.device,i=(0,oe.Z)().android.device,{brandLogoInfos:n,siteConfig:r}=(0,O.h)();let o;return o=i?n?.androidBootInstallation?.shortcutsLogo??n?.appIconBigPath??"":t&&!e?n?.iosBootInstallation?.shortcutsLogo??n?.appIconBigPath??"":n?.pcBootInstallation?.shortcutsLogo??n?.appIconBigPath??"",[{rel:"shortcut icon",href:r?.siteAppIcon},{sizes:"16x16",rel:"icon",href:o},{sizes:"32x32",rel:"icon",href:o},{rel:"apple-touch-icon",href:o},{sizes:"192x192",rel:"apple-touch-icon",href:o},{rel:"apple-touch-icon-precomposed",href:o}]}metaInfo(){const{siteConfig:e,siteInfos:t,brandLogoInfos:i}=(0,O.h)();return{title:t?.title||t?.siteName,link:this.appIcon,meta:[{name:"theme-color",content:e?.INJECT_DATA?.apiGetSiteInfo.data.data.skinConfigInfo.bs_topnav_bg??"#FFFFFF"},{name:"apple-mobile-web-app-status-bar-style",content:"white"},{name:"apple-mobile-web-app-capable",content:"yes"},{name:"apple-touch-fullscreen",content:"yes"},{name:"google",content:"notranslate"},{name:"apple-mobile-web-app-title",content:t?.title||t?.siteName||""},{name:"title",property:"og:title",content:t?.title||t?.siteName||""},{name:"description",property:"og:description",content:t?.description||""},{name:"keywords",property:"og:keywords",content:t?.keyword||""},{name:"image",property:"og:image",content:i?.hallLogo||""},{name:"url",property:"og:url",content:location.origin},{name:"type",property:"og:type",content:"game"}]}}toHome(e){"TO_HOME"===e.type&&this.$router.push({name:P.x4.ROOT})}listenMessage(){const e=()=>{try{[window,new BroadcastChannel("message")].forEach((e=>{e.addEventListener("message",(e=>{if(!this.isKeptAlive)try{const t="object"==typeof e.data?e.data:JSON.parse(e.data);if(!e.origin.includes(window.location.origin)&&![S.ay.EVENT_CUSTOMIZE_MOCK_PREVIEW].includes(t.type))return;t&&"onActions"===t.eventType&&C.xN.dispatch({type:t.type,payload:t.payload})}catch(t){}}))}))}catch(e){}};window.BroadcastChannel?e():(0,_.yu)({id:"broadcastchannel-polyfill",src:"/libs/broadcastchannel-polyfill/index.js"}).finally((()=>{e()}))}async jumpBackupDomain(){const e=e=>{const t=(0,G.vM)(window.location.href,e);window.location.href=t},{siteURLInfos:t}=(0,O.h)();if(await(async()=>{const{prevSuccessJumpDomain:t}=(0,O.h)();if(!t)return!1;try{return await(0,G.bO)(t),e(t),!0}catch(i){}return!1})())return;if(!t)return;const i=t.lobby_domain.filter((e=>new URL(e).host!==window.location.host));let n=0;const r=async()=>{if(n>=i.length)return;const t=i.slice(n,5+n);n+=5;const o=[];for(const e of t)o.push((0,G.bO)(e));try{const t=await Promise.any(o),{url:i}=t,{setPrevSuccessJumpDomain:n}=(0,O.h)();return n(i),void e(i)}catch(a){}await r()};r()}async jumpDomainByP2a(){await(0,G.gw)(5e3);const e=(0,V.VK)(),t=(0,V.J5)();if(e||t){const{hasStopDomainList:e}=(0,O.h)();if(e.includes(window.location.host))return void this.jumpBackupDomain();try{return void await(0,G.bO)(window.location.origin)}catch(i){const{setHasStopDomainList:e}=(0,O.h)();e(window.location.host)}this.jumpBackupDomain()}}mounted(){this.jumpDomainByP2a();const e={};document.body.classList.add("ready"),window.addEventListener("popstate",(()=>{if(this.isKeptAlive)return;document.querySelector("#app").style.zIndex=""}),!1),C.xN.subscribe(this.toHome),this.listenMessage(),(new C.sG.Media).watchResize(),C.xN.subscribe((t=>{if("PAGE_VISIBILITY_CHANGE"===t.type&&(t.payload.visibility?((0,z.B)(),C.sG.Polling.recover()):C.sG.Polling.pause()),"ANTD_POPUP_INVISIBLE"===t.type&&this.hackAntdComp(),"TOKEN_EXPIRED"===t.type&&(C.sG.WS.ws?.disconnect(),C.sG.Polling.destroy(),this.createTokenExpiredModal(t.payload.message)),"MULTIPLE_LOGIN"===t.type&&t.payload.token!==(0,J.u)().sessionKey&&this.createMultipleLoginModal(),"RESPONSE_ERROR"===t.type&&this.createErrorMessage(t.payload.message),"USER_RESTRICT_ERROR"===t.type&&(0,U.d3)(t.payload),"SITE_MAINTAIN"===t.type){const{res:e,requestErrorCountConsequent:i,isSiteFreeze:n,useMockMaintainIframe:r,isSiteFreezeAndMaintain:o,onError:a,onCallback:s,ipCheck:l}=t?.payload||{};C.sG.Page.to503((0,F.kb)({res:e,isSiteFreeze:n,isSiteFreezeAndMaintain:o,requestErrorCountConsequent:i,useMockMaintainIframe:r,onError:a,onCallback:s,ipCheck:l}))}if("VERSION_CHECK"===t.type&&this.guide2NewVersion(t.payload),"OTHER_CLIENT_GAME_LOGIN"===t.type&&this.createOtherClientLoginModal(t.payload),"GEETEST_ILLEGAL_REQUEST"===t.type&&this.createIllegalRequestInterceptionModal(t.payload),"TRACE_REPORT"===t.type){const i=t.payload?.event||"none";(!e[i]||e[i]+5e3<Date.now())&&(e[i]=Date.now(),(0,k.apiTraceReport)(t.payload))}if("REGISTER_SUCCESS"===t.type&&ee.WZ.setPhoneNumber(x.xV.Register),"LOGIN_SUCCESS"!==t.type&&"LOGOUT_SUCCESS"!==t.type||(ee.cY.speedPackageConfig&&window.jsBridge.postMessage(t.type,JSON.stringify(t.payload)),"LOGIN_SUCCESS"===t.type&&t.payload.loginType&&["normal","sms"].includes(t.payload.loginType)&&ee.WZ.setPhoneNumber(x.xV.Login)),"LOGOUT_BEFORE"===t.type&&([(0,X.n)()].forEach((e=>{e.hooksActions(t.type)})),(0,O.h)().clearDotPromote()),"LANGUAGE_CHANGE"===t.type&&ee.cY.speedPackageConfig&&window.jsBridge.postMessage("sp_language",C.CM.ServiceLanguageMap[t.payload]),"REFRESH_URL"===t.type&&(!e[t.type]||e[t.type]+3e5<Date.now())&&(e[t.type]=Date.now(),re.Z.initSiteURLInfos(!1)),"ALIVE_CHECK"===t.type&&(!e[t.type]||e[t.type]+6e4<Date.now())&&(e[t.type]=Date.now(),(0,G.bO)(location.origin).then((()=>{C.xN.dispatch({type:"MONITOR_EVENT",eventName:"Error",payload:{message:"alive on chunk error"}}),(0,z.B)()})).catch((()=>{(0,k.apiGetSiteURLInfos)().then((e=>Promise.any(e.lobby_domain.map((e=>(0,G.bO)(e)))))).then((e=>{A.Z.create({title:()=>this.$t("lobby.error.friendlyReminder"),content:()=>this.$t("lobby.error.domainIsBaned"),cancelText:this.$t("lobby.error.keepdomain"),okText:this.$t("lobby.error.switchdomain"),onOk:()=>{const{tokenInfos:t}=(0,J.u)();location.href=t?`${e.url}?_ti=${window.btoa(JSON.stringify(t))}`:e.url}})})).catch((()=>{C.xN.dispatch({type:"MONITOR_EVENT",eventName:"Error",payload:{message:"alive on fetch alive"}})}))}))),"MONITOR_EVENT"===t.type){const{ipCheck:e,siteCode:i,userInfos:n}=(0,O.h)(),r=(()=>{const e=q.t.find((e=>"init"===e.event))?.data;return y()(e,["created","version"])})(),o={...t.payload,siteCode:i,username:t?.payload?.username||n?.username,ip:e.ip,wgVersion:r.version,enterTime:r.created};window?.MonitoringAnalysis?.gtag("event",t.eventName,o),ne.Z?.doReport({eventName:t.eventName,payload:o})}if("REPORT_MANAGER"===t.type){const{ipCheck:e,siteCode:i,userInfos:n,uuid:r}=(0,O.h)(),o=(()=>{const e=q.t.find((e=>"init"===e.event))?.data;return y()(e,["created","version"])})(),a={...t.payload,siteCode:i,uuid:r,username:t?.payload?.username||n?.username,ip:e.ip,wgVersion:o.version,enterTime:o.created};ne.Z?.doReport({eventName:t.eventName,payload:a})}if("CONFIG_CHANGE_ERR"===t.type){const{updateSystemInfos:e}=(0,O.h)();(0,k.apiGetSysInfo)({customParams:{useCache:!1}}).then((t=>{const i=t.data?.data;i&&(e(i),C.xN.dispatch({type:"CONFIG_CHANGE_SUCCESS"}))}))}if("INIT"===t.type){const{versionRecord:e}=(0,O.h)();e&&e.version>t.payload.version&&C.xN.dispatch({type:"MONITOR_EVENT",eventName:"VersionBack",payload:{currentVersionInfos:t.payload,lastVersionInfos:{version:e.version,url:e.url}}}),(0,O.h)().updateVersionRecord(t.payload)}}));const{maintainTimeInfo:t}=(0,O.h)();t&&(0,F.rC)(t),this.getKefuDrag(),this.sendPerformanceLog();const{setFirstLoaded:i}=(0,Y.b)();i(!1),(0,W.j)(),(0,O.h)().listenChangeWithdrawPassword(),(0,K.h)().initRedPocket();const n={663:"n5mm9lcs41",5228:"n5mmg5g2fe",5073:"n5mmzmy93s",5021:"n5mn5gr0od",5091:"n5mncner0d",5050:"n5mnixdk1s",5235:"n5mno0c0cv",602:"n5mnu2wzmw",5012:"n5mnzvdt2a",5119:"n5mo4v6vm2",6332:"n5moa6ov89",1056:"myf7bu46v1",1071:"myf71z3uj7",296:"ms83q7x4xk",230:"ms8a3c9pxe",250:"ms8c6oyyv6",5033:"ms8kokhimh",500:"ms8m0tzfkq",6275:"ms8mfhwwr3",6276:"ms8mw2o214",6583:"mwqccksxcq",6050:"mwqd477j6m",702:"ms8n61t01t",326:"ms8ngpofah",722:"ms8nqpp8hy"};setTimeout((async()=>{const{siteCode:e}=(0,O.h)();try{const t=window.LOBBY_SITE_CONFIG?.INJECT_DATA?.apiGetSiteInfo?.data?.data?.vestBagJumpConfig;(t&&Array.isArray(t)?t:[t]).map((e=>e.packageName)).filter((e=>e?.includes("wg.clarity."))).forEach((t=>{n[e]=t.split(".")[2]}))}catch(t){}if(n[e]){const t=`<script type="text/javascript"> (function(c,l,a,r,i,t,y){ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "${n[e]}"); <\/script>`,i=document?.createRange().createContextualFragment(t).children,r=Array.prototype.slice.call(i).map((e=>()=>new Promise((t=>{e.innerHTML?.replace(/\s/g,"")?(document?.head.appendChild(e),t("")):(e.addEventListener("load",(()=>{t("")})),document?.head.appendChild(e))}))));for(const e of r)await e()}}),100),setTimeout((async()=>{const e={500:"KWPwNgRopr8lYlGn",230:"KWPyBVc2jYgredoC",250:"KWPyJS1wHQww52mh",5033:"KWPyOrOe0duUykV7",6275:"KWPyVZajzZaGkorF",296:"KWPyiMZq2KQhhTWi",6276:"KWPyoqx9wviIwqZ1",702:"KWPyv9WEFFyzdOZY",326:"KWPz0h5BAXCs3agN",722:"KWPz5jFm40gv1xNQ",6583:"KWPzAYq4FmEYl37t",6050:"KWQQwpyC2TykZB19",663:"KWQR8qGx1q69kBpS",5228:"KWQRJbGEYZOqSKXo",5073:"KWQRQyPWdTOJsOWz",5021:"KWQRWwFQpJ4cClEM",5091:"KWQRccgaOyYsPjEy",5050:"KWQRhDg3QyozpAbn",5235:"KWQRmLQTMt8wxTa0",602:"KWQRsFd1DbO08rHi",5012:"KWQRxO9UEwc15sp4",5119:"KWQS36A5uOYCxLX0",6332:"KWQS7Olu17aStc16",373:"KWQSDembuYMjZOWm",6822:"KWQSIVKSUWIWCCmO"},{siteCode:t}=(0,O.h)();try{const i=window.LOBBY_SITE_CONFIG?.INJECT_DATA?.apiGetSiteInfo?.data?.data?.vestBagJumpConfig;(i&&Array.isArray(i)?i:[i]).map((e=>e.packageName)).filter((e=>e?.includes("wg.51la."))).forEach((i=>{e[t]=i.split(".")[2]}))}catch(i){}e[t]&&(0,_.yu)({id:"LA_COLLECT",src:"//sdk.51.la/js-sdk-pro.min.js"}).then((()=>{window.LA?.init({id:e[t],ck:e[t],hashMode:!0})}))}),100),(0,j.g)().resetGamePlaying()}beforeDestroy(){(0,K.h)().destroyRedPocket()}createOtherClientLoginModal(e){const t=this.$createElement,i={request:!1},n=e=>{const t=document.querySelector("html .ant-message");t&&(t.style.zIndex=e)};this.otherClientLoginModal||(this.otherClientLoginModal=A.Z.create({title:()=>t("span",[this.$t("lobby.error.friendlyReminder")]),titleType:void 0,class:le.Z["other-client-login-modal"],contentPosition:"left",closable:!0,zIndex:99998,content:()=>t("inner-html",{attrs:{text:this.$t("lobby.error.otherClientLogin.contents",{deviceModel:e.deviceModel})}}),afterClose:()=>{this.otherClientLoginModal=null},cancelText:()=>this.$t("lobby.error.otherClientLogin.checkDevice"),onCancel:async()=>{this.otherClientLoginModal?.destroy(),this.otherClientLoginModal=null,this.$router.push({name:P.x4.DEVICE_INFO})},okText:()=>this.$t("lobby.error.otherClientLogin.logoutGame"),onOk:async()=>{try{await new Promise(((t,r)=>{if(i.request)return;i.request=!0;(0,N.Du)({platformId:void 0,token:e.token}).then((()=>{t(!0),this.otherClientLoginModal?.destroy(),this.otherClientLoginModal=null})).catch((()=>{A.Z.message({type:"error",onAutoClose:()=>{n("")},content:this.$t("lobby.error.otherClientLogin.logoutGameError")}),n(String(99998)),r()}))}))}finally{i.request=!1}}}))}createIllegalRequestInterceptionModal(e){const t=this.$createElement;if(this.illegalRIModal)return;const{t:i}=(0,I.QT)();this.illegalRIModal=A.Z.create({class:le.Z["illegal-request-interception-modal"],title:()=>t("div",[t(ie.Z,{attrs:{sprite:(0,H.T)("comm_icon_zyts")}}),i("lobby.modal.title.error")]),content:()=>e.msg,zIndex:99998,closable:!0,cancelButtonProps:{style:{display:"none"}},okText:i("lobby.modal.loginRegister.contactCustomer"),onOk:()=>{this.illegalRIModal?.destroy(),this.illegalRIModal=null,this.$router.push({name:P.x4.NOTICE,query:{noticeType:`${M.O.SERVICE}`}})},closeOnIcon:()=>{this.illegalRIModal=null}})}logDelta({name:e,delta:t}){this.Performance={...this.Performance,[e]:parseFloat(t.toFixed(2))}}sendPerformanceLog(){(0,$.a4)(this.logDelta),(0,$.Fu)(this.logDelta),(0,$.NO)(this.logDelta),(0,$.mr)(this.logDelta),setTimeout((()=>{C.xN.dispatch({type:"MONITOR_EVENT",eventName:"Performance",payload:this.Performance})}),2e4)}guide2NewVersion({version:e,disabled:t,force:i,byServer:n,closable:r=!0}){if(!t&&(e||i)){const t=se()(document.querySelector("html").getAttribute("data-version")).format("YYYY-MM-DD HH:mm"),o=se()(e).format("YYYY-MM-DD HH:mm"),a=(0,G.Az)("mock.minVersionTipDiff",72e5),s=Date.now()-(0,O.h)().versionTips.lastActionTime>a;if(t!==o&&s||i){if(this.versionErrorModal)return;const{t:e}=(0,I.QT)();this.versionErrorModal=A.Z.create({content:()=>e("lobby.error.upgradedMsg"),closable:r,cancelText:this.$t("lobby.common.tips.cancel"),okText:this.$t("lobby.error.upgradedBtn"),zIndex:99999,onOk:async()=>{(0,O.h)().updateVersionTips("lastActionTime");const e=new URL(window.location.href),t=e.searchParams;n&&t.set("fixed.version",String(Date.now())),e.search=t.toString(),window.location.href=e.toString()},afterClose:()=>{(0,O.h)().updateVersionTips("lastActionTime"),this.versionErrorModal=null},cancelButtonProps:{style:r?{}:{display:"none"}}})}}}getKefuDrag(e=60){const t=document.querySelector('[id="ukefu-point"]'),i=document.querySelector('[id="chat-widget-container"]');this.dragTime++,this.dragTime>e||(t||i?(t&&(0,B.CD)(t),i&&((0,B.Rw)(i),(0,B.XR)(i),(0,B.pm)())):setTimeout((()=>{this.getKefuDrag()}),1e3))}hackAntdComp(e=["Select","Picker","ADropdown"]){this.getChilds((t=>e.includes(t.$options.name??"unknown")),this).forEach((e=>{const t=e;switch(t.$options.name){case"Select":"function"==typeof t.setOpenState&&t.setOpenState(!1);break;case"Picker":t.sOpen&&(t.sOpen=!1);break;default:"function"==typeof t.blur&&t.blur()}}))}get routerName(){return this.$route.name}get serviceDisplayPage(){return(0,O.h)()?.serviceInformation?.customer?.onlineCustomers?.[0]?.h5DisplayPage}get hasCustomerCodeApp(){return(0,O.h)()?.serviceInformation?.customer?.onlineCustomers?.[0]?.customerCodeApp}get isFirstRoutes(){return this.$route.meta?.showTabBar??!1}get isEmbedded(){return this.routerName===P.x4.GAME_EMBEDDED}hiddenThirdServieButton(){const{thirdServiceMarkList:e}=(0,Q.HP)();for(const t of e){const e=document.querySelector(t);if(e){e.style.zIndex="-1",e.style.opacity="0";break}}}displayThirdServieButton(){if(this.isFirstRoutes&&this.serviceDisplayPage===D.E.Home||this.serviceDisplayPage===D.E.All){const{thirdServiceMarkList:e}=(0,Q.HP)();for(const t of e){const e=document.querySelector(t);if(e){e.style.zIndex="10000",e.style.opacity="1";break}}}}async handleThirdServiceVisible(){const{hasInitThirdService:e,setHasInitThirdService:t}=(0,Q.HP)();e||(await(0,G.gw)(1e4),t(!0)),this.hasCustomerCodeApp&&(this.isEmbedded?this.hiddenThirdServieButton():this.isFirstRoutes||this.serviceDisplayPage!==D.E.Home?this.displayThirdServieButton():this.hiddenThirdServieButton())}formModelReset(){this.getChilds((e=>["AFormItem","AFormModelItem"].includes(e.$options.name??"unknown")),this).forEach((e=>{const t=e;if(t.validateState){let e;t.rules&&(e=t.rules[0]?.trigger?t.rules[0]?.trigger[0]:void 0),t.validate(e)}}))}createTokenExpiredModal(e){const t=this.$createElement,{updateUserInfos:i,antLocale:n,userInfos:r}=(0,O.h)(),{t:o}=(0,I.QT)();this.tokenExpiredModal||((0,k.apiTraceReport)({event:"TokenExpired",username:r?.username}),C.sG.WS.ws?.disconnect(),i(null),this.tokenExpiredModal=A.Z.create({title:()=>t("span",[o("lobby.common.tips.title")]),class:"tokenExpiredModal",titlePosition:"center",content:()=>e,contentPosition:"center",...{...n?.Modal},afterClose:()=>{this.tokenExpiredModal=null},cancelButtonProps:{style:{display:"none"}},onOk:()=>{C.sG.Page.toRoot()}}))}createMultipleLoginModal(){const e=this.$createElement,{antLocale:t}=(0,O.h)(),{t:i}=(0,I.QT)();this.multipleLoginModal||(this.multipleLoginModal=A.Z.create({title:()=>e("span",[i("lobby.common.tips.title")]),class:"multipleLoginModal",titlePosition:"center",content:()=>i("lobby.error.multipleLogin"),contentPosition:"center",...{...t?.Modal},afterClose:()=>this.multipleLoginModal=null,cancelButtonProps:{style:{display:"none"}}}))}createErrorMessage(e){document.querySelector(".ant-message-error > span")?.innerText!==e&&(this.errorMessage&&this.errorMessage.destroy(),this.errorMessage=A.Z.message({type:"error",content:e,onClose:()=>{this.errorMessage=null}}))}handleClick(){(0,O.h)().robot=0}render(){const e=arguments[0],t=(0,O.h)();return e("div",{attrs:{id:"app"},key:t.rootKey,on:{click:this.handleClick}},[e("h1",{style:{display:"none"}},[t.siteInfos?.title]),e(g.Z,{attrs:{locale:t.antLocale}},[e("div",[this.defer(1)&&e("router-view"),this.defer(2)&&e(R.Z),t.isInitializationCompleted&&e(L.Z),e(E.YC,{attrs:{multiple:!0,name:C.CM.PortalName.GlobalApp}})])]),e("div",{attrs:{id:"google-btn-help"}})])}},(0,v.Z)(f.prototype,"onConfigDependenciesChange",[r,o,a],Object.getOwnPropertyDescriptor(f.prototype,"onConfigDependenciesChange"),f.prototype),(0,v.Z)(f.prototype,"onGameGoleChange",[s],Object.getOwnPropertyDescriptor(f.prototype,"onGameGoleChange"),f.prototype),(0,v.Z)(f.prototype,"removeRedPocketCloseList",[l],Object.getOwnPropertyDescriptor(f.prototype,"removeRedPocketCloseList"),f.prototype),(0,v.Z)(f.prototype,"toHome",[c],Object.getOwnPropertyDescriptor(f.prototype,"toHome"),f.prototype),(0,v.Z)(f.prototype,"hackAntdComp",[u,h],Object.getOwnPropertyDescriptor(f.prototype,"hackAntdComp"),f.prototype),(0,v.Z)(f.prototype,"handleThirdServiceVisible",[d],Object.getOwnPropertyDescriptor(f.prototype,"handleThirdServiceVisible"),f.prototype),(0,v.Z)(f.prototype,"formModelReset",[p],Object.getOwnPropertyDescriptor(f.prototype,"formModelReset"),f.prototype),m=f))||m)},16818:function(e,t,i){"use strict";i.d(t,{Yw:function(){return a},q:function(){return o}});var n=i(46851),r=i(43977);const o=e=>(e={page:1,pageLimit:500,...e},n.Uh.get({url:"/home/sys_music_list",customParams:{tryStaticMode:!0,staticKeyOmit:["platformType","currency","language"],keyOmit:!0},params:e}).then((e=>e.data.data))),a=()=>n.Uh.get({url:"/api/game/hall/listVirtualBonusPoolV2",customParams:{tryStaticMode:!0,noErrorMessage:!0,onlyStaticMode:!0,staticKeyOmit:["language","platformType"]}}).then((e=>{const t=e.data?.data,i=[];for(let n=0;n<t.length;n++){const e={};e.id=t[n].a,e.showType=t[n].b,e.showPosition=t[n].c,e.jumpPosition=t[n].d,e.decimalPlaces=t[n].e,e.numericStyle=t[n].f,e.backgroundStyle=t[n].g,e.externalLinks=t[n].h,e.carouselName=t[n].y,e.fontTypeface=t[n].j,e.backgroundUrl=(0,r.mX)(t[n].k),e.virtualPoolTimestamp=t[n].m,e.virtualPoolNumbers=t[n].n,i.push(e)}return{data:i}}))},85497:function(e,t,i){"use strict";let n,r,o,a;i.d(t,{Hh:function(){return n},oS:function(){return a},wz:function(){return o},y_:function(){return r}}),function(e){e[e.Marquee=10]="Marquee",e[e.Banner=20]="Banner",e[e.MiddlMenu=30]="MiddlMenu",e[e.Popular=40]="Popular",e[e.PlatformTop=50]="PlatformTop",e[e.Footer=60]="Footer",e[e.PlatformCard=70]="PlatformCard"}(n||(n={})),function(e){e[e.Independent=1]="Independent",e[e.onPlatform=2]="onPlatform",e[e.Carousel=3]="Carousel"}(r||(r={})),function(e){e[e.Platform=10]="Platform",e[e.Event=20]="Event",e[e.Task=30]="Task",e[e.OtherUrl=40]="OtherUrl"}(o||(o={})),function(e){e[e.NewcomerBenefits=1]="NewcomerBenefits",e[e.DailyTasks=2]="DailyTasks",e[e.WeeklyTasks=3]="WeeklyTasks",e[e.MysteriousTasks=4]="MysteriousTasks"}(a||(a={}))},17817:function(e,t,i){"use strict";i.d(t,{a8:function(){return m},KA:function(){return u},YA:function(){return d},_S:function(){return p},l6:function(){return s},w_:function(){return l},dQ:function(){return c},s9:function(){return h}});var n=i(82492),r=i.n(n);let o;!function(e){e[e.ALL=0]="ALL",e[e.UN_SETTLEMENT=1]="UN_SETTLEMENT",e[e.SETTLED=2]="SETTLED"}(o||(o={}));var a=i(46851);const s=e=>{const t=r()({current:1,gameCategoryId:0,gameIds:0,platformId:0,settleTimeEnd:0,settleTimeStart:0,settleStatus:o.ALL,size:20},e);return a.Uh.post({url:"/api/bet-manager/recentreport/betrecords/_query",data:t})},l=(e={platformId:null,gameCategoryId:null})=>(e.gameCategoryId=0===e.gameCategoryId?null:e.gameCategoryId,e.platformId=0===e.platformId?null:e.platformId,a.Uh.post({url:"/api/game/recentreport/platform-category-game-combo",data:e})),c=e=>a.Uh.post({url:"/api/bet-manager/recentreport/bet_report/personal/_query",data:e}),u=e=>a.Uh.post({url:"/user/accountPageList",data:e}),h=()=>a.Uh.post({url:"/home/walletType"}),d=e=>a.Uh.post({url:"/user/accountTotal",data:e}),p=()=>a.Uh.get({url:"/home/opt_type_v2",customParams:{tryStaticMode:!0,cache:!0,staticKeyOmit:["platformType","currency"],keyOmit:!0}}),m=e=>a.Uh.post({url:"/home/dealType",data:e})},57801:function(e,t,i){"use strict";i.d(t,{$l:function(){return Z},AW:function(){return E},Ac:function(){return T},By:function(){return f},CD:function(){return w},DC:function(){return s},Gd:function(){return y},Je:function(){return b},ND:function(){return m},O0:function(){return l},O7:function(){return v},PI:function(){return g},Rm:function(){return c},XY:function(){return h},c5:function(){return p},hZ:function(){return S},ni:function(){return u},oh:function(){return d},p:function(){return I},p_:function(){return C}});var n=i(82492),r=i.n(n),o=i(46851),a=i(91475);const s=e=>o.Uh.post({url:"/user/security/verifymodify",data:e}),l=e=>o.Uh.post({url:"/user/security/modifyphone",data:e}),c=e=>o.Uh.post({url:"/user/security/bindCpf",data:e}),u=e=>o.Uh.post({url:"/user/security/bindEmail",data:e}),h=e=>o.Uh.post({url:"/user/changepass",data:e}),d=e=>o.Uh.post({url:"/user/security/modifywithdrawpass",data:e}),p=e=>o.Uh.post({url:"/user/passquint",data:e}),m=e=>o.Uh.post({url:"/user/editquint",data:e}),f=e=>o.Uh.post({url:"/user/security/bindgoogleauth",data:e}),g=e=>o.Uh.post({url:"/user/security/switchgoogleauth",data:e}),b=e=>(e=r()({os_type:(0,a.h)().osType},e),o.Uh.post({url:"/user/security/thirduser/bind",data:e})),y=()=>o.Uh.post({url:"/user/getaccountquestion"}),w=e=>o.Uh.post({url:"/user/security/actionVerify",data:e}),v=e=>o.Uh.post({url:"/user/security/verifyPhoneCode",data:e}),T=e=>o.Uh.post({url:"/user/security/verifyEmailCode",data:e}),Z=e=>o.Uh.post({url:"/user/security/verifyGoogleAuthCode",data:e}),C=e=>o.Uh.post({url:"/user/security/verifyWithdrawPass",data:e,customParams:{noErrorMessage:!0}}),S=e=>o.Uh.post({url:"/user/security/verifyLoginPass",data:e}),I=e=>o.Uh.post({url:"/user/notLogin/resetPassVerify",data:e,customParams:{silentOnError:!0}}),E=e=>o.Uh.post({url:"/user/notlogin/resetpasswd",data:e,customParams:{silentOnError:!0}})},18745:function(e,t,i){"use strict";i.d(t,{OE:function(){return l},k5:function(){return r}});var n=i(62933);let r,o,a,s,l;!function(e){e[e.NONE=0]="NONE",e[e.LOGIN_PASS=1]="LOGIN_PASS",e[e.QUESTIONS=2]="QUESTIONS",e[e.GA=3]="GA",e[e.PHONE=4]="PHONE",e[e.EMAIL=5]="EMAIL",e[e.WITHDRAW_PASS=6]="WITHDRAW_PASS",e[e.THIRD_BIND=8]="THIRD_BIND"}(r||(r={})),function(e){e[e.PASSWORD=6]="PASSWORD",e[e.WITHDRAW=5]="WITHDRAW",e[e.QUESTIONS=4]="QUESTIONS"}(o||(o={})),function(e){e[e.GA=1]="GA",e[e.EMAIL=2]="EMAIL",e[e.PHONE=3]="PHONE",e[e.QUESTIONS=4]="QUESTIONS",e[e.WITHDRAW_PASS=5]="WITHDRAW_PASS"}(a||(a={})),function(e){e[e.WITH_LOGIN=n.I4.LOGIN_PWD]="WITH_LOGIN",e[e.WITH_WITHDRAWER=n.I4.WITHDRAW_PWD]="WITH_WITHDRAWER",e[e.WITH_QUESTION=n.I4.QUESTION]="WITH_QUESTION",e[e.WITH_PHONE=n.I4.PHONE]="WITH_PHONE",e[e.WITH_EMAIL=n.I4.EMAIL]="WITH_EMAIL",e[e.WITH_GA=n.I4.GA]="WITH_GA"}(s||(s={})),function(e){e.SECURITY_CENTER="security_center",e.FORGOT_PASSWORD="forgot_password"}(l||(l={}))},44566:function(e,t,i){"use strict";i.d(t,{l0:function(){return r},nl:function(){return a},rr:function(){return o}});var n=i(46851);const r=()=>n.Uh.post({url:"/user/avatars"}),o=e=>n.Uh.post({url:"/user/updateUserAvatars",data:e}),a=e=>n.Uh.post({url:"/user/settings/modifyinfo",data:e})},59971:function(e,t,i){"use strict";i.d(t,{R:function(){return o}});var n=i(46851),r=i(84220);const o=e=>n.Uh.get({url:"/api/lobby/channel/go/getChannelInfoById",params:{siteCode:r.Z.siteCode,...e,info:"channel"},customParams:{noEncrypt:!0,staticKeyOmit:["language","platformType","currency"],tryStaticMode:!0}}).then((e=>e?.data?.data))},5860:function(e,t,i){"use strict";i.r(t),i.d(t,{apiBindPhone:function(){return O},apiCheckForceUpdate:function(){return Re},apiCheckUsername:function(){return E},apiFastLogin:function(){return D},apiForceChangePwd:function(){return J},apiGetActiveRewardBind:function(){return ye},apiGetActiveRewardBindBeforeLogin:function(){return be},apiGetAllCurrency:function(){return ve},apiGetBaseSiteConfig:function(){return m},apiGetBrandLogoInfos:function(){return ce},apiGetBuriedConfig:function(){return Ee},apiGetClubEntryAvailable:function(){return S},apiGetEmailCodeAfterLogin:function(){return re},apiGetEmailCodeBeforceLogin:function(){return oe},apiGetEventCategoriesAvailable:function(){return I},apiGetFastLogin:function(){return N},apiGetFooterInfos:function(){return he},apiGetFrameBoxInfos:function(){return de},apiGetGeetestRisk:function(){return Ce},apiGetHeartBeat:function(){return _e},apiGetHomeCaptcha:function(){return F},apiGetHomeGold:function(){return Oe},apiGetHomeLayout:function(){return Te},apiGetI18nMessage:function(){return Ie},apiGetIpBindData:function(){return T},apiGetLinkSetting:function(){return z},apiGetMaintainInfo:function(){return v},apiGetMessageFrame:function(){return pe},apiGetNotLoginAccountVerifyList:function(){return j},apiGetOptimizationSiteConfig:function(){return f},apiGetPromoteAdvertise:function(){return le},apiGetQuestion:function(){return K},apiGetQuestionWithNotLogin:function(){return X},apiGetSiteInfo:function(){return y},apiGetSiteURLInfos:function(){return Z},apiGetSkinAssetsHash:function(){return C},apiGetSmsCode:function(){return V},apiGetSmsCodeAfterLogined:function(){return $},apiGetSmsCountry:function(){return w},apiGetSysInfo:function(){return g},apiGetSystemStatus:function(){return b},apiGetUserAgreementInfos:function(){return ue},apiGetUserInfo:function(){return A},apiGetWebPush:function(){return Ze},apiGuestChangeCurrency:function(){return k},apiLogin:function(){return _},apiLoginAfterGeetestValidate:function(){return W},apiLoginBeforeGeetestValidate:function(){return G},apiLogout:function(){return P},apiPointerDomain:function(){return Pe},apiRegister:function(){return H},apiReportDownloadUrlClick:function(){return ge},apiResetpasswdNotLogin:function(){return ee},apiRiskBindPhone:function(){return L},apiRiskVerifyPhone:function(){return R},apiRreRegisterVerify:function(){return B},apiThirdWayLogin:function(){return x},apiThirdWayRegister:function(){return M},apiTraceReport:function(){return Se},apiUpdatePrize:function(){return U},apiValidSmsCode:function(){return Y},apiVerifyEmailAfterLogin:function(){return ae},apiVerifyEmailNotLogin:function(){return te},apiVerifyPhone:function(){return q},apiVerifyPhoneNumberAfterLogin:function(){return se},apiVerifyPhoneNumberCaptcha:function(){return ne},apiVerifyPhoneNumberNotLogin:function(){return ie},apiVerifyQuestionAndWithdrawPwdWithNotLogin:function(){return Q},getAccessRestrictedInfo:function(){return we},getDownloadUrl:function(){return me},getListDownloadTemplate:function(){return fe}});var n=i(82492),r=i.n(n),o=i(18441),a=i(46851),s=i(93250),l=i(75990),c=i(91475),u=i(21615),h=i(75812),d=i(9669),p=i.n(d);const m=()=>a.Uh.get({url:"/api/lobby/webapi/h5/config/getInfo",customParams:{noEncrypt:!0,tryStaticMode:!0,staticKeyOmit:["currency","platformType","language"],cache:!0,cacheExpiredOnReload:!1,useCacheInError:(e,t)=>!!t}}),f=(e={},t)=>a.Uh.get(r()({url:"/api/lobby/webapi/optimization/site/config",params:{...e.previewonly?{previewonly:5}:{}},customParams:{onlyStaticMode:!!e.previewonly,staticKeyOmit:e.previewonly?["language","platformType","currency"]:["currency"],tryStaticMode:!0,noEncrypt:!0,useCache:!1,cache:!0,useCacheInError:(e,t)=>!!t,cacheExpiredOnReload:!1}},t)),g=(e={customParams:{cache:!0,useCacheInError:(e,t)=>!!t}})=>{const t=e.customParams?.cache??!0;return a.Uh.get(r()({url:"/home/getsysinfo",customParams:{noEncrypt:!0},params:{...t?{}:{now:Date.now()},os_type:(0,c.h)().osType}},e))},b=(e,t)=>a.Uh.get(r()({url:"/system/status",customParams:{tryStaticMode:!0,noEncrypt:!0,cacheExpiredOnReload:!1,useCache:!1,cache:!0,useCacheInError:(e,t)=>!!t},params:{...e}},t)),y=()=>a.Uh.get({url:"/api/lobby/site/getSiteInfo",customParams:{noEncrypt:!0,tryStaticMode:!0,cache:!0,useCacheInError:(e,t)=>!!t,cacheExpiredOnReload:!1,staticKeyOmit:["currency","platformType"]}}).catch((e=>{const{health:t,response:i}=h.ZP.parseInjectData("apiGetSiteInfo");if(t)return i;throw e})),w=()=>a.Uh.get({url:"/home/smsCountry",customParams:{noEncrypt:!0,tryStaticMode:!0,cache:!0,staticKeyOmit:["platformType"],keyOmit:!0}}),v=async(e=!1,t=!1,i=!0)=>{const n=e=>a.H4.ossDecrypt(e),r=(0,l.Wz)("useMockMaintainIframe"),o=()=>(0,s.$A)((e=>a.Uh.get({baseURL:r?`${window.location.origin}/pages/503/`:e,url:"/cocos/maintain-time.json",customParams:{maxRetryCount:0,noResponseDataCodeChecked:!0,noErrorMessage:!0,noEncrypt:!0,autoBaseUrl:!1,silentOnError:!0,setDefaultRequestConfig:e=>(e.headers={},e)},params:{timestamp:Date.now()}}))).then((e=>{const t="string"==typeof e.data?JSON.parse(n(e.data)):e.data;return i&&(0,h.HP)(t).health?t:Promise.reject()})).catch((()=>Promise.reject(new Error("request-error")))),c=()=>(0,s.$A)((e=>a.Uh.get({baseURL:e,url:"/cocos/maintain-time-default.json",customParams:{maxRetryCount:0,noResponseDataCodeChecked:!0,noErrorMessage:!0,noEncrypt:!0,autoBaseUrl:!1,silentOnError:!0,setDefaultRequestConfig:e=>(e.headers={},e)},params:{timestamp:Date.now()}}))).then((e=>{const t="string"==typeof e.data?JSON.parse(n(e.data)):e.data;return t&&(t._isDefault=!0),t}));try{if(e)return c();if(!t)return o();try{return await o()}catch{return await c()}}catch(u){return Promise.reject()}},T=e=>a.Uh.post({url:"/promote/getIpBindInfo",customParams:{noEncrypt:!0,useAppEnv:!!window.SpeedPackaeInit?.isSpeedPackae||u.cY.isWebClip},data:{...e}}),Z=async()=>{const e=await(0,s.$A)((e=>a.Uh.get({baseURL:e,url:"/cocos/config_data.json",customParams:{maxRetryCount:0,noResponseDataCodeChecked:!0,silentOnError:!0,noErrorMessage:!0,noEncrypt:!0,autoBaseUrl:!1,setDefaultRequestConfig:e=>(e.headers={},e)},params:{timestamp:Date.now()}})));return JSON.parse(a.H4.ossDecrypt(e.data))},C=async()=>{let e={};const{type:t,backgroundColor:i,skinTypeValue:n,holidayThemes:r=[]}=(0,c.h)()?.siteInfos||{},o=[`/siteadmin/skin/lobby_asset/${t}-${i}-${n}/assets.hash.json`,...r.map((e=>`/siteadmin/skin/lobby_asset/festival/${e.themeType}/${t}-${i}/assets.hash.json`))];try{await(0,s.$A)((t=>Promise.all(o.map((async i=>{try{const n=await p()({baseURL:t,url:i,customParams:{maxRetryCount:0,noResponseDataCodeChecked:!0,noEncrypt:!0,autoBaseUrl:!1},params:{timestamp:Date.now()}});e={...e,...n.data}}catch(n){}})))))}catch(a){}return{data:{code:1,data:e}}},S=e=>a.Uh.get({url:"/club/entry",...e}).then((e=>e.data.data)),I=()=>a.Uh.get({url:"/active/is_show",customParams:{tryStaticMode:!1}}).then((e=>e.data.data)),E=e=>a.Uh.post({url:"/home/check/username",data:{...e}}),P=(e={})=>{const{userInfos:t}=(0,c.h)();return a.Uh.post({url:"/home/UserLogout",data:{useridx:String(t?.username),token:e?.token||t?.session_key},customParams:{forceSessionToken:!0}})},_=(e,t)=>{const i=!!t?.noErrorMessage;return delete t?.noErrorMessage,a.Uh.post({url:"/home/login",data:{...a.sG.User.getIsP2aParamsByChannel,...a.sG.User.createLoginBasePayload,...e,appSystem:a.sG.User.getOSVersion,networkType:a.sG.User.networkTypeParam},headers:t,customParams:{retryWhenTimeout:!0,autoBaseUrl:!1,noErrorMessage:i}})},O=e=>a.Uh.post({url:"/user/phone",data:{...e}}),R=e=>a.Uh.post({url:"/user/risk/verifyPhone",data:{...e}}),L=e=>a.Uh.post({url:"/user/risk/bindPhone",data:{...e}}),A=e=>a.Uh.post({url:"/user/captcha/getUserInfo",data:{...e}}),x=(e,t)=>a.Uh.post({url:"/home/thirdpartylogin",headers:t,data:{...a.sG.User.getIsP2aParamsByChannel,...a.sG.User.createLoginBasePayload,...e,appSystem:a.sG.User.getOSVersion,networkType:a.sG.User.networkTypeParam}}),M=(e,t)=>a.Uh.post({url:"/home/thirdpartyregister",headers:t,data:{...a.sG.User.getIsP2aParamsByChannel,...a.sG.User.createLoginBasePayload,appSystem:a.sG.User.getOSVersion,networkType:a.sG.User.networkTypeParam,...e}}),D=(e,t=!1)=>{const{systemInfos:i}=(0,c.h)();return a.Uh.post({url:"/home/fastlogin",data:{...a.sG.User.getIsP2aParamsByChannel,...a.sG.User.createLoginBasePayload,token:i?.token,userkey:e.userkey,appSystem:a.sG.User.getOSVersion,networkType:a.sG.User.networkTypeParam},customParams:{noErrorMessage:t,autoBaseUrl:!1}})},N=(e=!1)=>a.Uh.post({url:"/home/getFastLogin",data:{...a.sG.User.getIsP2aParamsByChannel,...a.sG.User.createLoginBasePayload},customParams:{forceStaticAesKey:!0,tryCacheToken:!0,noErrorMessage:e,autoBaseUrl:!1}}),k=(e="",t=!1)=>{const{userInfos:i,systemInfos:n}=(0,c.h)();return a.Uh.post({url:"/home/updateGuestCurrency",customParams:{silentOnError:t},data:{userIdx:i?.username,currency:e,token:n?.token}})},z=()=>a.Uh.post({url:"/promote/linksetting"}),U=()=>a.Uh.post({url:"/home/prize"}),B=(e,t)=>{const{systemInfos:i}=(0,c.h)();return a.Uh.post({url:"/home/check/register",customParams:{autoBaseUrl:!1},headers:t,data:{...a.sG.User.createLoginBasePayload,token:i?.token,...e}})},H=(e,t)=>{const{systemInfos:i}=(0,c.h)();return a.Uh.post({url:"/home/register",customParams:{autoBaseUrl:!1,retryWhenTimeout:!0},headers:t,data:{...a.sG.User.getIsP2aParamsByChannel,...a.sG.User.createLoginBasePayload,token:i?.token,...e}})},G=e=>a.Uh.post({url:"/geetest/validate/v4",data:e}),W=e=>a.Uh.post({url:"/user/geetest/validate/v4",data:e}),F=()=>a.Uh.post({url:"/home/captcha",customParams:{noEncrypt:!0}}),V=e=>a.Uh.post({url:"/shortmsg/create",data:e}),$=e=>a.Uh.post({url:"/user/security/createsms",data:e}),q=e=>a.Uh.post({url:"/user/risk/verifyPhone",data:e}),Y=e=>a.Uh.post({url:"/shortmsg/validate",data:e}),j=(e,t)=>a.Uh.post(r()({url:"/user/notlogin/getAccountVerifyList",data:e},t)),K=()=>a.Uh.post({url:"/user/getquestion"}),X=()=>a.Uh.post({url:"/user/notlogin/getquestion"}),Q=e=>a.Uh.post({url:"/user/notlogin/verificquestionandwithdrawpasswd",data:e}),J=e=>a.Uh.post({url:"/user/forcechangepassword",data:e}),ee=e=>a.Uh.post({url:"/user/notlogin/resetpasswd",data:e}),te=(e,t)=>a.Uh.post({url:"/user/notlogin/verifyEmail",data:e,customParams:t}),ie=(e,t)=>a.Uh.post({url:"/user/sms/verifyphone",data:e,customParams:t}),ne=(e,t)=>a.Uh.post({url:"/user/captcha/verifyPhone",data:e,...t}),re=e=>a.Uh.post({url:"/user/security/createmail",data:e}),oe=e=>a.Uh.post({url:"/user/email/createmail",data:e}),ae=(e,t)=>a.Uh.post({url:"/user/security/verifyEmail",data:e,customParams:t}),se=(e,t)=>a.Uh.post({url:"/user/verifyphone",data:e,...t}),le=()=>a.Uh.get({url:"/promote/config/agentMode",customParams:{cache:!0,tryStaticMode:!0,staticKeyOmit:["platformType","currency"],keyOmit:!0}}).then((e=>e.data.data||{})),ce=()=>a.Uh.get({url:"/api/lobby/brandLogo/getBrandLogoUse",customParams:{noEncrypt:!0,cache:!0}}),ue=()=>a.Uh.get({url:"/api/lobby/userAgreement/index/getInfo",customParams:{tryStaticMode:!0,cache:!0,staticKeyOmit:["platformType","currency"],noEncrypt:!0}}),he=()=>a.Uh.get({url:"/api/lobby/footerConfig/getInfo",customParams:{tryStaticMode:!0,cache:!0,staticKeyOmit:["currency","platformType"]}}).then((e=>e.data.data||{})),de=()=>a.Uh.post({url:"/message/frameBox/index"}),pe=()=>a.Uh.get({url:"/message/frame",customParams:{tryStaticMode:!0,cache:!0}}).then((e=>{const{data:t}=e.data;if(t){const{notice:e=[],announcement:i=[],frame:n=[]}=t,r=(e,t)=>{e.forEach((e=>{e.forceType=t}))};return r(e,o.i.NOTICE),r(i,o.i.ANNOUNCEMENT),r(n,o.i.PUBLICIZE),[...e,...i,...n]}return[]})),me=()=>a.Uh.get({url:"/download/getDownloadUrl",customParams:{silentOnError:!0}}),fe=()=>a.Uh.get({url:"/download/template/listDownloadTemplate",customParams:{noEncrypt:!0,tryStaticMode:!0,staticKeyOmit:["currency","platformType"]}}),ge=e=>a.Uh.post({url:"/promote/binding/reportclickV2",data:e,customParams:{noEncrypt:!0}}),be=()=>a.Uh.get({url:"/activetask/newcomer_benefit_reward",customParams:{staticKeyOmit:["currency","language","platformType"],keyOmit:!0,appendDefault:!0,tryStaticMode:!0,cache:!0}}).then((e=>e?.data?.data)),ye=()=>a.Uh.post({url:"/activetask/newcomer_benefit_pop"}),we=()=>a.Uh.get({url:"/api/lobby/h5/config/getAccessRestrictedInfo",customParams:{tryStaticMode:!0,cache:!0,staticKeyOmit:["platformType","currency"],noEncrypt:!0}}),ve=()=>a.Uh.get({url:"/api/lobby/currencyInfo/getAllCurrency",customParams:{noEncrypt:!0,cache:!0,tryStaticMode:!0,staticKeyOmit:["currency","platformType","language"],cacheDep:e=>e,useCacheInError:(e,t)=>!!t,cacheExpiredOnReload:!1}}),Te=()=>a.Uh.get({url:"/api/lobby/layoutDesign/getLayout",customParams:{noEncrypt:!0}}),Ze=()=>a.Uh.get({url:"/api/lobby/webPush/getInfo"}),Ce=e=>a.Uh.post({url:"/risk/geetest/tokenQuery",data:e,customParams:{noEncrypt:!0}}),Se=e=>a.Uh.post({url:"/v1/netstat/player/logger",data:e,customParams:{noErrorMessage:!0,silentOnError:!0,noResponseDataCodeChecked:!0,noEncrypt:!0}}),Ie=async e=>await a.Uh.get({url:"/customer/getWebTrans",params:{language:e},customParams:{noEncrypt:!0,tryStaticMode:!0,silentOnError:!0,cache:!0,staticKeyOmit:["currency","platformType"],keyOmit:!0,cacheDep:e=>e,useCacheInError:(e,t)=>!!t,cacheExpiredOnReload:!1}}).catch((e=>{console.error(e)})),Ee=e=>a.Uh.post({url:"/promote/point/get",customParams:{cache:!0},data:e}).then((e=>e.data.data)),Pe=e=>a.Uh.post({url:"/promote/pointer/domain",data:e,customParams:{silentOnError:!0,noEncrypt:!0}}),_e=()=>{a.Uh.post({url:"/home/heartbeat",data:{robot:(0,c.h)().robot},customParams:{noErrorMessage:!0}})},Oe=()=>a.Uh.post({url:"/home/gold"}),Re=()=>a.Uh.get({url:"/api/lobby/webapi/forceUpdate/getForceUpdate",customParams:{tryStaticMode:!0,staticKeyOmit:["currency","platformType","language"]}})},62933:function(e,t,i){"use strict";let n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v,T,Z,C,S,I,E,P,_,O,R,L,A,x,M,D,N,k,z,U,B,H,G,W,F,V,$,q,Y,j,K,X,Q,J,ee,te,ie,ne,re,oe,ae,se,le,ce,ue,he,de,pe,me,fe,ge,be,ye,we,ve,Te,Ze,Ce;i.d(t,{Qm:function(){return U},UB:function(){return K},no:function(){return m},CM:function(){return H},RM:function(){return D},b1:function(){return a},lT:function(){return pe},P0:function(){return k},Do:function(){return j},LA:function(){return ie},AI:function(){return h},FW:function(){return F},x5:function(){return E},Tl:function(){return I},UH:function(){return p},bv:function(){return P},mi:function(){return O},SF:function(){return R},p4:function(){return ce},hG:function(){return he},j4:function(){return ne},Rk:function(){return se},hP:function(){return ue},VG:function(){return Q},Pf:function(){return we},F8:function(){return S},BJ:function(){return me},Zd:function(){return fe},Xn:function(){return Ze},Un:function(){return te},z1:function(){return B},Z:function(){return z},Gm:function(){return Ce},OP:function(){return l},Fb:function(){return A},wh:function(){return W},DN:function(){return de},Uf:function(){return ve},X5:function(){return be},Et:function(){return c},sF:function(){return ee},y5:function(){return V},I4:function(){return $},Zm:function(){return d},RS:function(){return X},fL:function(){return N},iw:function(){return f},uD:function(){return G},IH:function(){return L},el:function(){return ge},L3:function(){return x},WB:function(){return q},v7:function(){return Te},mY:function(){return oe},Mg:function(){return J},Ox:function(){return Y}}),function(e){e[e.DEFAULT=0]="DEFAULT",e[e.DEFAULT_HASCOLOR=1]="DEFAULT_HASCOLOR",e[e.EUROPEAN_AMERICAN=2]="EUROPEAN_AMERICAN",e[e.CYANBLUE=3]="CYANBLUE",e[e.STAKE=4]="STAKE",e[e.CROWN_GOLD=5]="CROWN_GOLD",e[e.GALAXY_GOLD=6]="GALAXY_GOLD",e[e.DQ=7]="DQ"}(n||(n={})),function(e){e[e.NORMAL=0]="NORMAL",e[e.MAINTAIN=1]="MAINTAIN"}(r||(r={})),function(e){e[e.FREEZED=1]="FREEZED"}(o||(o={})),function(e){e[e.CLOSE=0]="CLOSE",e[e.OPEN=1]="OPEN"}(a||(a={})),function(e){e[e.VALIDATE_WITH_GEETEST=100]="VALIDATE_WITH_GEETEST",e[e.VALIDATE_WITH_NOTHING=1]="VALIDATE_WITH_NOTHING",e[e.VALIDATE_WITH_SMS=7]="VALIDATE_WITH_SMS"}(s||(s={})),function(e){e[e.CLOSE=0]="CLOSE",e[e.OPEN=1]="OPEN"}(l||(l={})),function(e){e[e.NO=0]="NO",e[e.YES=1]="YES"}(c||(c={})),function(e){e[e.CLOSE=0]="CLOSE",e[e.OPEN=1]="OPEN"}(u||(u={})),function(e){e[e.CLOSE=0]="CLOSE",e[e.OPEN=1]="OPEN"}(h||(h={})),function(e){e[e.NO_USE=0]="NO_USE",e[e.FIRST_VERIFY=1]="FIRST_VERIFY",e[e.LAST_VERIFY=2]="LAST_VERIFY"}(d||(d={})),function(e){e[e.OPEN=1]="OPEN",e[e.CLOSE=0]="CLOSE"}(p||(p={})),function(e){e[e.OPEN=1]="OPEN",e[e.CLOSE=2]="CLOSE"}(m||(m={})),function(e){e[e.OPEN=1]="OPEN",e[e.CLOSE=0]="CLOSE"}(f||(f={})),function(e){e.normal="normal",e.european_american="europeanAmerican",e.cyan_blue="cyanBlue",e.stake="stake",e.crown_gold="crown_gold",e.galaxy_gold="galaxy_gold",e.dq="dq"}(g||(g={})),function(e){e[e.ZQ=101]="ZQ",e[e.GQ=102]="GQ"}(b||(b={})),function(e){e[e.european_blue_black=1]="european_blue_black",e[e.european_green_bg=2]="european_green_bg",e[e.european_yellow_black=3]="european_yellow_black",e[e.european_red_black=4]="european_red_black",e[e.european_blue_bg=5]="european_blue_bg",e[e.european_purple_bg=6]="european_purple_bg",e[e.european_black_gold=7]="european_black_gold",e[e.european_yellow_green=8]="european_yellow_green",e[e.european_cartier_red=9]="european_cartier_red",e[e.european_estee_lauder_blue=10]="european_estee_lauder_blue",e[e.european_burgundy_red=11]="european_burgundy_red",e[e.european_iwc_blue=12]="european_iwc_blue",e[e.european_gucci_green_gold=13]="european_gucci_green_gold",e[e.european_burberry_brown=14]="european_burberry_brown",e[e.european_lamer_green=15]="european_lamer_green",e[e.european_ebay_purple=16]="european_ebay_purple",e[e.european_dor_blue=17]="european_dor_blue",e[e.european_chivas_regal_blue=18]="european_chivas_regal_blue",e[e.european_furla_blue=19]="european_furla_blue",e[e.european_bottega_veneta_grey=20]="european_bottega_veneta_grey",e[e.european_embraer_blue=21]="european_embraer_blue",e[e.european_bordeaux_red=22]="european_bordeaux_red",e[e.european_breguet_grey=23]="european_breguet_grey",e[e.european_hermes_orange=24]="european_hermes_orange",e[e.european_bvlgari_brown=25]="european_bvlgari_brown",e[e.european_hermes_brown_orange=26]="european_hermes_brown_orange",e[e.european_elsa_schiaparelli_pink=27]="european_elsa_schiaparelli_pink",e[e.european_lancome_pink=28]="european_lancome_pink",e[e.european_lacoste_green=29]="european_lacoste_green",e[e.european_versace_yellow=30]="european_versace_yellow",e[e.european_bvlgari_zong=31]="european_bvlgari_zong",e[e.european_prada_black=32]="european_prada_black",e[e.european_victoria_secret_red=33]="european_victoria_secret_red",e[e.european_anna_sui_purple=34]="european_anna_sui_purple",e[e.european_facebook_blue=35]="european_facebook_blue",e[e.european_facebook_green=36]="european_facebook_green",e[e.european_twitter_blue=37]="european_twitter_blue",e[e.european_usdt_green=38]="european_usdt_green",e[e.european_sk2_red=39]="european_sk2_red",e[e.european_patek_philippegreen_brown=40]="european_patek_philippegreen_brown",e[e.european_microsoft_red=41]="european_microsoft_red",e[e.european_3ce_red=42]="european_3ce_red",e[e.european_louis_vuitton_brown=43]="european_louis_vuitton_brown",e[e.european_bottega_veneta_green=44]="european_bottega_veneta_green"}(y||(y={})),function(e){e[e.stake_gray_blue=1]="stake_gray_blue"}(w||(w={})),function(e){e[e.bg_cyan_blue=1]="bg_cyan_blue"}(v||(v={})),function(e){e[e.galaxy_gold=1]="galaxy_gold"}(T||(T={})),function(e){e[e.crown_gold=1]="crown_gold"}(Z||(Z={})),function(e){e[e.dq_green_yellow=1]="dq_green_yellow",e[e.dq_yellow_black=2]="dq_yellow_black",e[e.dq_green_white=3]="dq_green_white",e[e.dq_blue_white=4]="dq_blue_white",e[e.dq_blue_black=5]="dq_blue_black"}(C||(C={})),function(e){e[e.DEFAULT=0]="DEFAULT",e[e.SMART_MATCHING=1]="SMART_MATCHING"}(S||(S={})),function(e){e[e.NORMAL=1]="NORMAL",e[e.CRYPTO=2]="CRYPTO"}(I||(I={})),function(e){e[e.CLOSE=0]="CLOSE",e[e.OPEN=1]="OPEN"}(E||(E={})),function(e){e[e.Show=1]="Show",e[e.Hide=0]="Hide"}(P||(P={})),function(e){e[e.Show=1]="Show",e[e.Hide=0]="Hide"}(_||(_={})),function(e){e[e.NONE=0]="NONE",e[e.CLOSE=1]="CLOSE",e[e.OPEN=2]="OPEN"}(O||(O={})),function(e){e[e.ON=1]="ON",e[e.OFF=0]="OFF"}(R||(R={})),function(e){e[e.NONE=0]="NONE",e[e.GOOGLE=1]="GOOGLE",e[e.FACEBOOK=2]="FACEBOOK",e[e.WECHAT=4]="WECHAT",e[e.QQ=5]="QQ",e[e.LINE=3]="LINE"}(L||(L={})),function(e){e[e.NONE=0]="NONE",e[e.OPEN=1]="OPEN"}(A||(A={})),function(e){e[e.Normal=1]="Normal",e[e.FreezeManual=2]="FreezeManual",e[e.FreezeAbnormal=3]="FreezeAbnormal",e[e.ForbidReceive=4]="ForbidReceive",e[e.BlackList=5]="BlackList",e[e.FreezeGame=8]="FreezeGame"}(x||(x={})),function(e){e[e.UNNECESSARY=0]="UNNECESSARY",e[e.ONE=1]="ONE",e[e.TWO=2]="TWO",e[e.THREE=3]="THREE"}(M||(M={})),function(e){e[e.MUST_AUDIT=1]="MUST_AUDIT",e[e.DIRECT_WITHDRAWAL=2]="DIRECT_WITHDRAWAL"}(D||(D={})),function(e){e[e.OFF=0]="OFF",e[e.OPEN=1]="OPEN"}(N||(N={})),function(e){e[e.OFF=0]="OFF",e[e.NOT_ESSENTIAL=1]="NOT_ESSENTIAL",e[e.REQUIRED=2]="REQUIRED"}(k||(k={})),function(e){e.PHONE="must_bind_phone",e.EMAIL="must_bind_email",e.GA="must_bind_google_auth",e.WITHDRAWPASS="must_bind_withdraw_pass",e.SECRETSECURITY="must_bind_question",e.WITHDRAWACCOUNT="must_bind_withdraw_account"}(z||(z={})),function(e){e[e.Try=1]="Try",e[e.Normal=2]="Normal",e[e.Robot=3]="Robot",e[e.Demo=4]="Demo",e[e.Agent=5]="Agent",e[e.Promote=9]="Promote"}(U||(U={})),function(e){e[e.DEFAULT=0]="DEFAULT",e[e.SKIP=1]="SKIP"}(B||(B={})),function(e){e[e.Account=0]="Account",e[e.Phone=2]="Phone",e[e.Email=3]="Email",e[e.PhonePass=4]="PhonePass",e[e.EmailPass=5]="EmailPass",e[e.PhonePassCode=6]="PhonePassCode",e[e.EmailPassCode=7]="EmailPassCode"}(H||(H={})),function(e){e[e.APP=0]="APP",e[e.WAP=1]="WAP",e[e.FACEBOOK=2]="FACEBOOK",e[e.GOOGLE=3]="GOOGLE",e[e.WECHAT=4]="WECHAT",e[e.QQ=5]="QQ",e[e.LINE=6]="LINE"}(G||(G={})),function(e){e[e.IOS_APP=1]="IOS_APP",e[e.ANDROID_APP=2]="ANDROID_APP",e[e.PC_H5=3]="PC_H5",e[e.PC_Windows=4]="PC_Windows",e[e.IOS_H5=5]="IOS_H5",e[e.ANDROID_H5=6]="ANDROID_H5"}(W||(W={})),function(e){e[e.Register=1]="Register",e[e.Bind=2]="Bind",e[e.Verify=3]="Verify",e[e.LoginRegister=4]="LoginRegister",e[e.RegisterIntegration=5]="RegisterIntegration",e[e.LoginIntegration=6]="LoginIntegration"}(F||(F={})),function(e){e.DEPOSIT_GAME_SMS_VERIFY="deposit_game_sms_verify",e.WITHDRAW_SMS_VERIFY="withdraw_sms_verify"}(V||(V={})),function(e){e[e.NONE=0]="NONE",e[e.GA=1]="GA",e[e.EMAIL=2]="EMAIL",e[e.PHONE=3]="PHONE",e[e.QUESTION=4]="QUESTION",e[e.WITHDRAW_PWD=5]="WITHDRAW_PWD",e[e.LOGIN_PWD=6]="LOGIN_PWD"}($||($={})),function(e){e[e.WITH_LOGIN=$.LOGIN_PWD]="WITH_LOGIN",e[e.WITH_WITHDRAWER=$.WITHDRAW_PWD]="WITH_WITHDRAWER",e[e.WITH_QUESTION=$.QUESTION]="WITH_QUESTION",e[e.WITH_PHONE=$.PHONE]="WITH_PHONE",e[e.WITH_EMAIL=$.EMAIL]="WITH_EMAIL",e[e.WITH_GA=$.GA]="WITH_GA"}(q||(q={})),function(e){e[e.PHONE_ERROR=1216]="PHONE_ERROR"}(Y||(Y={})),function(e){e[e.CUSTOM=1]="CUSTOM",e[e.IMA_TXT=2]="IMA_TXT"}(j||(j={})),function(e){e.Age16="16",e.Age18="18",e.Age21="21",e.AgeNone="-1"}(K||(K={})),function(e){e[e.OPEN=1]="OPEN",e[e.CLOSE=0]="CLOSE"}(X||(X={})),function(e){e[e.Unread=0]="Unread",e[e.Read=1]="Read"}(Q||(Q={})),function(e){e[e.SPEED=1]="SPEED",e[e.NORMAL=2]="NORMAL",e[e.QUICK=3]="QUICK",e[e.P2A=4]="P2A",e[e.DesktopShortCut=5]="DesktopShortCut"}(J||(J={})),function(e){e[e.None=-1]="None",e[e.BindPhoneAndSMSValid=-2]="BindPhoneAndSMSValid",e[e.Register=0]="Register",e[e.BindPhone=1]="BindPhone",e[e.FirstBindBankCard=2]="FirstBindBankCard",e[e.BindWechat=3]="BindWechat",e[e.SetBirthDay=4]="SetBirthDay",e[e.SetWithdrawalPin=5]="SetWithdrawalPin",e[e.SetQuestion=6]="SetQuestion",e[e.FirstSetNicname=7]="FirstSetNicname",e[e.YuebaoFirstDeposit=8]="YuebaoFirstDeposit",e[e.SetAvatar=10]="SetAvatar",e[e.DownloadMusicLibrary=11]="DownloadMusicLibrary",e[e.SMSValid=12]="SMSValid",e[e.BindWhatsApp=13]="BindWhatsApp",e[e.BindFacebook=14]="BindFacebook",e[e.BindTelegram=15]="BindTelegram",e[e.SetGa=16]="SetGa",e[e.FirstDeposit=17]="FirstDeposit",e[e.DownloadAndLogin=18]="DownloadAndLogin",e[e.BindEmail=19]="BindEmail",e[e.BindCrypto=21]="BindCrypto",e[e.BindZalo=22]="BindZalo",e[e.BindLine=23]="BindLine",e[e.BindTwitter=24]="BindTwitter",e[e.AddWithdraw=25]="AddWithdraw",e[e.FirstWithdraw=26]="FirstWithdraw",e[e.AddContact=27]="AddContact",e[e.createDesktop=20]="createDesktop",e[e.createP2a=999]="createP2a"}(ee||(ee={})),function(e){e[e.DOWNLOAD=1]="DOWNLOAD",e[e.REGISTER=2]="REGISTER",e[e.TEST_REGISTER=3]="TEST_REGISTER",e[e.HOME=4]="HOME"}(te||(te={})),function(e){e[e.djc=0]="djc",e[e.zh=1]="zh",e[e.qp=2]="qp",e[e.by=3]="by",e[e.dz=4]="dz",e[e.zr=26]="zr",e[e.ty=27]="ty",e[e.cp=28]="cp",e[e.dianjing=29]="dianjing",e[e.blockchain=12]="blockchain",e[e.dj=100]="dj"}(ie||(ie={})),function(e){e[e.style0=0]="style0",e[e.style1=1]="style1"}(ne||(ne={})),function(e){e[e.FULL_SCREEN_LOADING=0]="FULL_SCREEN_LOADING",e[e.PART_SCREEN_LOADING=1]="PART_SCREEN_LOADING",e[e.BTN_LOADING=2]="BTN_LOADING"}(re||(re={})),function(e){e[e.default=3]="default",e[e.min=4]="min",e[e.cascading=5]="cascading",e[e.big=6]="big"}(oe||(oe={})),function(e){e[e.WebBanner=1]="WebBanner",e[e.LoadingPage=2]="LoadingPage",e[e.DialogData=3]="DialogData",e[e.AppBanner=4]="AppBanner",e[e.NewBanner=5]="NewBanner"}(ae||(ae={})),function(e){e[e.NotDefault=0]="NotDefault",e[e.Default=1]="Default"}(se||(se={})),function(e){e[e.default=1]="default",e[e.min=2]="min"}(le||(le={})),function(e){e[e.VERTICAL_BOTTOM=1]="VERTICAL_BOTTOM",e[e.SQUARE_BELOW=2]="SQUARE_BELOW"}(ce||(ce={})),function(e){e.generalColor="generalColor",e.generalCentreColor="generalCentreColor",e.importantColor="importantColor"}(ue||(ue={})),function(e){e.ordinaryColor="ordinaryColor",e.secondaryColor="secondaryColor",e.weakerColor="weakerColor"}(he||(he={})),function(e){e.leftUnColor="leftUnColor",e.leftOnColor="leftOnColor",e.bottomUnColor="bottomUnColor"}(de||(de={})),function(e){e[e.Texture=1]="Texture",e[e.Image=2]="Image"}(pe||(pe={})),function(e){e[e.VerticalMask=1]="VerticalMask",e[e.Square=2]="Square",e[e.Vertical=3]="Vertical",e[e.SquareRightAngle=4]="SquareRightAngle",e[e.Rounded=5]="Rounded",e[e.Horizontal=6]="Horizontal"}(me||(me={})),function(e){e[e.EuropeanAmerican=1]="EuropeanAmerican",e[e.LeftRight1=2]="LeftRight1",e[e.LeftRight2=3]="LeftRight2",e[e.Rounded=4]="Rounded",e[e.Square=5]="Square",e[e.Rectangle=6]="Rectangle"}(fe||(fe={})),function(e){e.HandLoadPage="1",e.HandScroll="2"}(ge||(ge={})),function(e){e.CLOSE="0",e.OPEN="1"}(be||(be={})),function(e){e.layout1="1",e.layout2="2",e.layout3="3",e.layout4="4"}(ye||(ye={})),function(e){e[e.Normal=1]="Normal",e[e.ClickDownLoad=2]="ClickDownLoad",e[e.App=3]="App"}(we||(we={})),function(e){e[e.Normal=1]="Normal",e[e.Quickly=2]="Quickly",e[e.Vest=3]="Vest"}(ve||(ve={})),function(e){e[e.Password=0]="Password",e[e.Captcha=1]="Captcha",e[e.PasswordCaptcha=2]="PasswordCaptcha"}(Te||(Te={})),function(e){e[e.Close=0]="Close",e[e.Open=1]="Open",e[e.OpenRequired=2]="OpenRequired",e[e.OpenRequiredVerify=3]="OpenRequiredVerify"}(Ze||(Ze={})),function(e){e.BTC="BTC",e.ETH="ETH"}(Ce||(Ce={}))},26513:function(e,t,i){"use strict";i.d(t,{V:function(){return r},j:function(){return o}});var n=i(46851);const r=e=>n.Uh.post({url:"/v1/netstat/player/adInfo",customParams:{silentOnError:!0,noErrorMessage:!0,noEncrypt:!0,noResponseDataCodeChecked:!0},data:e}),o=()=>n.Uh.get({url:"/api/lobby/config/getAppDownloadInfo",customParams:{silentOnError:!0,noErrorMessage:!0,noResponseDataCodeChecked:!0,tryStaticMode:!0,staticKeyOmit:["currency","platformType","language"]}})},60812:function(e,t,i){"use strict";i.d(t,{K4:function(){return u},PF:function(){return c}});var n=i(82492),r=i.n(n),o=i(55433),a=i(52723),s=i(46851),l=i(26248);class c{constructor(){(0,o.Z)(this,"activeCount",0),(0,o.Z)(this,"taskCount",0),(0,o.Z)(this,"rewardCount",0),(0,o.Z)(this,"returnGoldCount",0),(0,o.Z)(this,"activeAmount",0),(0,o.Z)(this,"taskAmount",0),(0,o.Z)(this,"returnAmount",0),(0,o.Z)(this,"rewardAmount",0),(0,o.Z)(this,"activeRedDot",{activeList:[],categoryList:[]}),(0,o.Z)(this,"taskRedDot",[]),(0,o.Z)(this,"disableReceiveAwardAll",1),(0,o.Z)(this,"disableReceiveLogPop",0),(0,o.Z)(this,"vipCount",0),(0,o.Z)(this,"VIPAmount",0),(0,o.Z)(this,"yuEBaoAmount",0),(0,o.Z)(this,"yueBaoCount",0),(0,o.Z)(this,"receiveLogCount",0),(0,o.Z)(this,"receiveLogAmount",0),(0,o.Z)(this,"rechargeFundCount",0),(0,o.Z)(this,"agentPromoteReward",0)}}const u=async(e=!1)=>{const t=(await s.Uh.post({url:"/active/getRedDotV2",data:{},customParams:{silentOnError:!0,cache:!e||0,throttleDelay:2e3},headers:{deviceModel:(0,l.h)().deviceModel,devicetype:(0,l.h)().deviceType}})).data?.data;return t.activeRedDot.activeList||(t.activeRedDot.activeList=[]),t.activeRedDot.categoryList||(t.activeRedDot.categoryList=[]),t.taskRedDot?t.taskRedDot=t.taskRedDot.map((e=>r()(new a.p2({template:e.template}),e))):t.taskRedDot=[],t}},39138:function(e,t,i){"use strict";i.d(t,{ON:function(){return l},Pl:function(){return c},We:function(){return u},oT:function(){return s},tU:function(){return a}});var n=i(46851),r=i(88399),o=i(26248);const a=(e,t)=>n.Uh.post({url:"/active/chop_one_knife_announcement",data:{...e},customParams:{silentOnError:!0,cache:(0,r.B)(t)},headers:{deviceModel:(0,o.h)().deviceModel,devicetype:(0,o.h)().deviceType}}).then((e=>e.data.data)),s=e=>n.Uh.post({url:"/active/chop_one_knife_turn",data:{...e},customParams:{silentOnError:!0},headers:{deviceModel:(0,o.h)().deviceModel,devicetype:(0,o.h)().deviceType}}).then((e=>e.data.data)),l=(e,t)=>n.Uh.post({url:"/active/chop_one_knife_my_logs",data:{...e},customParams:{silentOnError:!0,cache:(0,r.B)(t)},headers:{deviceModel:(0,o.h)().deviceModel,devicetype:(0,o.h)().deviceType}}).then((e=>e.data.data)),c=e=>n.Uh.post({url:"/active/chop_one_knife_sub_task_receive",data:{...e},customParams:{silentOnError:!0},headers:{deviceModel:(0,o.h)().deviceModel,devicetype:(0,o.h)().deviceType}}).then((e=>e.data.data)),u=()=>n.Uh.get({url:"/active/pop_chop_one_knife",customParams:{staticKeyOmit:["platformType"],tryStaticMode:!0,keyOmit:!0,cache:(0,r.B)(),silentOnError:!0},headers:{deviceModel:(0,o.h)().deviceModel,devicetype:(0,o.h)().deviceType}}).then((e=>e.data.data))},86943:function(e,t,i){"use strict";i.d(t,{Dt:function(){return c},E2:function(){return M},EB:function(){return l},Gl:function(){return A},H0:function(){return p},JX:function(){return Z},Jx:function(){return L},K4:function(){return o.K4},LI:function(){return d},RN:function(){return N},RX:function(){return w},U:function(){return s},V$:function(){return D},VF:function(){return O},Wx:function(){return b},X9:function(){return k},Yn:function(){return h},be:function(){return R},dh:function(){return z},fV:function(){return y},fs:function(){return m},fz:function(){return g},gj:function(){return I},iJ:function(){return S},iU:function(){return f},kM:function(){return C},nT:function(){return E},oe:function(){return T},qW:function(){return x},qx:function(){return v},sB:function(){return _},sX:function(){return u},xS:function(){return P}});var n=i(46851),r=i(88399),o=i(60812),a=i(26248);const s=async e=>(await n.Uh.get({url:"/active/category",customParams:{staticKeyOmit:["platformType"],keyOmit:!0,cache:!e&&6e4,useCache:!e,tryStaticMode:!e},headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType}}))?.data?.data,l=(e,t=!1)=>n.Uh.post({url:"/active/get",data:{activeId:e},headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType},customParams:{cache:(0,r.B)(t)}}).then((e=>e.data.data)),c=e=>n.Uh.post({url:"/active/getRankingList",data:e}).then((e=>e.data.data)),u=()=>n.Uh.get({url:"/active/getOneLuckyIntegral"}).then((e=>e.data.data)),h=()=>n.Uh.post({url:"/active/hkPromoteActive",headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType}}).then((e=>e.data.data)),d=e=>n.Uh.post({url:"/active/receiveOne",data:{...e},headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType}}).then((e=>e.data.data)),p=(e,t)=>n.Uh.post({url:"active/announcement",data:e,customParams:{cache:(0,r.B)(t)},headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType}}).then((e=>e.data.data||[])),m=(e,t)=>n.Uh.post({url:"/active/turntableTaskList",data:{activeId:e},customParams:{cache:(0,r.B)(t)},headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType}}).then((e=>e.data.data)),f=(e,t)=>n.Uh.post({url:"active/my_logs",data:{activeId:e,page:1},customParams:{cache:(0,r.B)(t)},headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType}}).then((e=>e.data.data||[])),g=(e,t)=>n.Uh.post({url:"/active/extract_word",data:{activeId:e,isAll:t},customParams:{silentOnError:!0}}).then((e=>e.data.data)),b=e=>n.Uh.post({url:"/active/group_word",data:{activeId:e},headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType},customParams:{silentOnError:!0}}).then((e=>e.data.data)),y=e=>n.Uh.post({url:"/active/investment_handler",data:{...e},customParams:{silentOnError:!0},headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType}}).then((e=>e.data.data)),w=(e,t=1,i=20)=>n.Uh.post({url:"/active/luckyIntegralList",data:{activeId:e,page:t,size:i},headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType}}).then((e=>e.data.data)),v=(e,t,i)=>n.Uh.post({url:"active/request_reward",data:{activeId:e,answers:t,requestDeviceType:i},headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType},customParams:{silentOnError:!0}}),T=e=>n.Uh.post({url:"/active/doMatchBet",data:e,headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType}}),Z=(e,t=1,i=20)=>n.Uh.post({url:"/active/matchBetRecordList",data:{activeId:e,page:t,size:i},headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType},customParams:{cache:(0,r.B)()}}).then((e=>e.data.data)),C=(e=!1)=>n.Uh.get({url:"/active/quickList",headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType},customParams:{staticKeyOmit:["platformType"],keyOmit:!0,cache:e?0:6e4,tryStaticMode:!0}}).then((e=>e.data.data)),S=(e,t=!1)=>n.Uh.post({url:"/active/luckyOrderList",data:e,customParams:{cache:(0,r.B)(t)},headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType}}).then((e=>e.data.data)),I=e=>n.Uh.post({url:"/active/checkCodePhoneNumber",data:e,headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType}}).then((e=>e.data.data)),E=e=>n.Uh.post({url:"/active/useDiscountCode",data:e,headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType},customParams:{silentOnError:!0}}).then((e=>e.data.data)),P=e=>n.Uh.get({url:"/active/getByTemplate",data:e,headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType},customParams:{staticKeyOmit:["language","platformType"],cache:6e4,keyOmit:!0,tryStaticMode:!0}}).then((e=>e.data.data)),_=()=>n.Uh.get({url:"/active/customPageList",headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType},customParams:{staticKeyOmit:["platformType"],keyOmit:!0,tryStaticMode:!0}}).then((e=>e.data.data)),O=e=>n.Uh.post({url:"/active/promote_details",data:e,headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType}}).then((e=>e.data.data)),R=e=>n.Uh.post({url:"/active/receiveOne",data:e,headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType},customParams:{silentOnError:!0}}).then((e=>e.data.data)),L=e=>n.Uh.post({url:"/activetask/getprize",data:e,headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType},customParams:{silentOnError:!0}}).then((e=>e.data.data)),A=e=>n.Uh.post({url:"/user/giftRecv1",data:e,headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType},customParams:{silentOnError:!0}}).then((e=>e.data.data)),x=()=>n.Uh.get({url:"/active/isShowV2",headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType},customParams:{cache:(0,r.B)(),tryStaticMode:!0,staticKeyOmit:["currency","language","platformType"],keyOmit:!0,appendDefault:!0}}).then((e=>e.data.data)),M=e=>n.Uh.post({url:"/active/receiveManualSend",data:e,headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType},customParams:{silentOnError:!0}}).then((e=>e.data.data)),D=()=>n.Uh.post({url:"/active/afterRechargePop",headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType}}).then((e=>e.data.data)),N=e=>n.Uh.post({url:"/active/wordSettleDetails",data:e}).then((e=>e.data.data)),k=e=>n.Uh.post({url:"/active/verifyDiscountPhone",data:e,headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType},customParams:{silentOnError:!0}}).then((e=>e.data)),z=(e=!1)=>n.Uh.post({url:"/active/activeTaskCompleteList",headers:{deviceModel:(0,a.h)().deviceModel,devicetype:(0,a.h)().deviceType},customParams:{cache:e?0:6e4}}).then((e=>e.data.data))},6309:function(e,t,i){"use strict";i.d(t,{bO:function(){return u},bu:function(){return c},h0:function(){return s},p8:function(){return l},sQ:function(){return a}});var n=i(46851),r=i(88399),o=i(26248);const a=e=>n.Uh.post({url:"/active/chop_one_knife_new_turn",data:{...e},customParams:{silentOnError:!0},headers:{deviceModel:(0,o.h)().deviceModel,devicetype:(0,o.h)().deviceType}}).then((e=>e.data.data)),s=(e,t)=>n.Uh.post({url:"/active/chop_one_knife_new_my_logs",data:{...e},customParams:{silentOnError:!0,cache:(0,r.B)(t)},headers:{deviceModel:(0,o.h)().deviceModel,devicetype:(0,o.h)().deviceType}}).then((e=>e.data.data)),l=()=>n.Uh.get({url:"/active/pop_chop_one_knife_new",customParams:{tryStaticMode:!0,silentOnError:!0,cache:(0,r.B)()},headers:{deviceModel:(0,o.h)().deviceModel,devicetype:(0,o.h)().deviceType}}).then((e=>e.data.data)),c=(e,t)=>n.Uh.post({url:"/active/chop_one_knife_new_announcement",data:{...e},customParams:{silentOnError:!0,cache:(0,r.B)(t)},headers:{deviceModel:(0,o.h)().deviceModel,devicetype:(0,o.h)().deviceType}}).then((e=>e.data.data)),u=e=>n.Uh.post({url:"/active/chop_one_knife_new_again",data:{activeId:e},customParams:{silentOnError:!0},headers:{deviceModel:(0,o.h)().deviceModel,devicetype:(0,o.h)().deviceType}}).then((e=>e.data))},18713:function(e,t,i){"use strict";i.d(t,{N:function(){return a},t:function(){return o}});var n=i(46851),r=i(26248);const o=()=>n.Uh.get({url:"/active/popSignActive",customParams:{cache:!0,tryStaticMode:!0,staticKeyOmit:["platformType"],keyOmit:!0}}).then((e=>e.data.data)),a=e=>n.Uh.post({url:"/active/sing",data:e,headers:{deviceModel:(0,r.h)().deviceModel,devicetype:(0,r.h)().deviceType},customParams:{silentOnError:!0}}).then((e=>e.data))},36630:function(e,t,i){"use strict";let n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v,T,Z,C,S,I,E,P,_,O,R,L,A,x,M,D,N,k,z,U,B,H,G,W,F,V,$,q,Y,j,K,X,Q,J,ee,te,ie,ne,re,oe,ae,se,le,ce,ue,he,de,pe,me,fe,ge,be,ye,we,ve,Te,Ze,Ce,Se,Ie,Ee,Pe,_e,Oe,Re;i.d(t,{$g:function(){return Oe},$l:function(){return he},AZ:function(){return E},As:function(){return Pe},Av:function(){return f},D1:function(){return M},DK:function(){return Y},Db:function(){return Q},F4:function(){return d},G:function(){return se},Ge:function(){return a},Hz:function(){return m},IN:function(){return A},Ik:function(){return I},Il:function(){return G},Im:function(){return de},Is:function(){return O},Iy:function(){return we},Iz:function(){return y},KB:function(){return D},L$:function(){return J},LB:function(){return R},LJ:function(){return v},Le:function(){return K},Lh:function(){return c},MO:function(){return Se},MV:function(){return q},Mk:function(){return re},Mr:function(){return b},Q7:function(){return ee},QV:function(){return _e},Qg:function(){return S},Qq:function(){return pe},UI:function(){return C},UJ:function(){return B},Ug:function(){return l},W9:function(){return V},YJ:function(){return T},Yf:function(){return F},Yp:function(){return W},Yq:function(){return r},Yr:function(){return ye},Yw:function(){return z},Zx:function(){return Ze},aT:function(){return g},ai:function(){return Ee},b3:function(){return te},c:function(){return ge},dF:function(){return n},gz:function(){return X},hI:function(){return me},hJ:function(){return P},hL:function(){return h},hR:function(){return ae},jL:function(){return fe},ks:function(){return Ce},l:function(){return p},l$:function(){return ve},lz:function(){return ne},mL:function(){return H},nI:function(){return Ie},nS:function(){return Te},od:function(){return _},pH:function(){return be},pz:function(){return Z},sG:function(){return L},ud:function(){return u},v:function(){return le},vE:function(){return N},yJ:function(){return Re},yt:function(){return j},zf:function(){return o}}),function(e){e[e.Customize=1]="Customize",e[e.LuckyWheel=2]="LuckyWheel",e[e.DailyBonus=3]="DailyBonus",e[e.Rescue=5]="Rescue",e[e.RedPack=7]="RedPack",e[e.Deposit=10]="Deposit",e[e.Wager=12]="Wager",e[e.Promote=15]="Promote",e[e.Invest=16]="Invest",e[e.Proxy=17]="Proxy",e[e.Collection=18]="Collection",e[e.LuckyWheelNew=20]="LuckyWheelNew",e[e.GuessingSports=21]="GuessingSports",e[e.LuckyBet=14]="LuckyBet",e[e.Ranking=24]="Ranking",e[e.DiscountCode=22]="DiscountCode",e[e.CutOnce=23]="CutOnce",e[e.NewCutOnce=25]="NewCutOnce"}(n||(n={})),function(e){e[e.Processing=0]="Processing",e[e.CanReceive=1]="CanReceive",e[e.HasReceive=2]="HasReceive",e[e.Expired=3]="Expired",e[e.Distributed=4]="Distributed",e[e.Cancel=5]="Cancel",e[e.PendingCheck=6]="PendingCheck",e[e.PendingApply=7]="PendingApply",e[e.Rejected=8]="Rejected"}(r||(r={})),function(e){e[e.Regular=0]="Regular",e[e.Proportion=1]="Proportion",e[e.Interregional=2]="Interregional"}(o||(o={})),function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"}(a||(a={})),function(e){e[e.Hide=1]="Hide",e[e.Show=0]="Show"}(s||(s={})),function(e){e[e.Signal=0]="Signal",e[e.Daily=1]="Daily",e[e.Weekly=2]="Weekly"}(l||(l={})),function(e){e[e.Daily=1]="Daily",e[e.Weekly=2]="Weekly",e[e.Monthly=3]="Monthly"}(c||(c={})),function(e){e[e.Accumulative=0]="Accumulative",e[e.Single=1]="Single",e[e.FirstDeposit=2]="FirstDeposit"}(u||(u={})),function(e){e[e.SILVER=0]="SILVER",e[e.GOLD=1]="GOLD",e[e.DIAMOND=2]="DIAMOND"}(h||(h={})),function(e){e.bankBinding="2",e.birthdaySettings="4",e.SMSVerification="12",e.emailBinding="19",e.BindDigitalCurrency="21",e.firstPay="17",e.BindThirdPartyWallet="30",e.BindPaymentMethod="25",e.Verified="10000",e.IPRestrictions="10001",e.SameDevice="10002",e.SameBrowserFingerprint="10003",e.SimilarActivities="10004",e.AfterDepositAndNoBet="10005",e.SameName="10006"}(d||(d={})),function(e){e[e.UnStart=0]="UnStart",e[e.Normal=1]="Normal",e[e.End=2]="End"}(p||(p={})),function(e){e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Center=3]="Center",e[e.Customer=4]="Customer"}(m||(m={})),function(e){e[e.DEFAULT=1]="DEFAULT",e[e.CUSTOMIZE=2]="CUSTOMIZE"}(f||(f={})),function(e){e[e.UnSignIn=0]="UnSignIn",e[e.SignIn=1]="SignIn",e[e.Distributed=2]="Distributed",e[e.Expired=3]="Expired"}(g||(g={})),function(e){e[e.STABLE=0]="STABLE",e[e.RATE=1]="RATE"}(b||(b={})),function(e){e[e.STABLE=0]="STABLE",e[e.RATE=1]="RATE",e[e.DAYSETTLEMENT=2]="DAYSETTLEMENT"}(y||(y={})),function(e){e[e.Day=0]="Day",e[e.Week=1]="Week",e[e.Month=2]="Month"}(w||(w={})),function(e){e[e.Undone=0]="Undone",e[e.CanReceive=1]="CanReceive",e[e.AlreadyReceived=2]="AlreadyReceived",e[e.Expired=3]="Expired",e[e.Distributed=4]="Distributed",e[e.CancelBackground=5]="CancelBackground",e[e.PendingApproval=6]="PendingApproval",e[e.PendingApply=7]="PendingApply",e[e.Reject=8]="Reject"}(v||(v={})),function(e){e[e.Commission=0]="Commission",e[e.Recharge=1]="Recharge"}(T||(T={})),function(e){e[e.DRAFT=0]="DRAFT",e[e.PROCESSING=1]="PROCESSING",e[e.PENDING=1]="PENDING",e[e.OVER=2]="OVER",e[e.CLOSED=3]="CLOSED",e[e.EXPIRED=4]="EXPIRED"}(Z||(Z={})),function(e){e[e.Show=1]="Show",e[e.Hide=2]="Hide"}(C||(C={})),function(e){e[e.OldCustomize=1]="OldCustomize",e[e.SelfCollectionDelivery=2]="SelfCollectionDelivery",e[e.SelfCollectionExpired=3]="SelfCollectionExpired",e[e.AutoDispatch=4]="AutoDispatch",e[e.ManualDistribution=5]="ManualDistribution"}(S||(S={})),function(e){e[e.Now=0]="Now",e[e.NextDay=1]="NextDay",e[e.EveryWeek=2]="EveryWeek",e[e.Monthly=3]="Monthly",e[e.NextWeek=4]="NextWeek",e[e.NextMonth=5]="NextMonth",e[e.EveryDaily=6]="EveryDaily"}(I||(I={})),function(e){e[e.Default=1]="Default",e[e.Spining=2]="Spining",e[e.Winning=3]="Winning"}(E||(E={})),function(e){e[e.SubUser=0]="SubUser",e[e.MySelfReCharge=11]="MySelfReCharge",e[e.MySelfDaMa=12]="MySelfDaMa",e[e.MySelfReChargeAndDaMa=13]="MySelfReChargeAndDaMa",e[e.OnceLoginApp=21]="OnceLoginApp",e[e.OnceBindPhone=22]="OnceBindPhone",e[e.OnceBindEmail=23]="OnceBindEmail",e[e.OnceBindWithdraw=24]="OnceBindWithdraw"}(P||(P={})),function(e){e[e.EAwardTypeConst=0]="EAwardTypeConst",e[e.EAwardTypeRand=1]="EAwardTypeRand",e[e.EAwardTypeUnGet=2]="EAwardTypeUnGet"}(_||(_={})),function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"}(O||(O={})),function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"}(R||(R={})),function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"}(L||(L={})),function(e){e[e.Month=0]="Month",e[e.Week=1]="Week",e[e.Day=2]="Day",e[e.Once=4]="Once"}(A||(A={})),function(e){e[e.EnterGame=1]="EnterGame",e[e.ReceiveEvent=2]="ReceiveEvent",e[e.Login=3]="Login",e[e.Recharge=4]="Recharge"}(x||(x={})),function(e){e[e.OpenRedRandomAmount=1]="OpenRedRandomAmount",e[e.OpenRedLossRatio=2]="OpenRedLossRatio",e[e.OpenRedLossAmount=3]="OpenRedLossAmount",e[e.OpenRedValidBet=4]="OpenRedValidBet",e[e.GrabRedFixedAmount=5]="GrabRedFixedAmount",e[e.GrabRedRandomAmount=6]="GrabRedRandomAmount",e[e.GrabRedCustomAmount=7]="GrabRedCustomAmount",e[e.GrabRedCustomizedRange=8]="GrabRedCustomizedRange",e[e.SendTodayRecharge=19]="SendTodayRecharge",e[e.SendTodayDaMa=20]="SendTodayDaMa",e[e.SendTodayMaxRecharge=21]="SendTodayMaxRecharge",e[e.SendTodayMaxDaMa=22]="SendTodayMaxDaMa",e[e.SendYesterdayRecharge=23]="SendYesterdayRecharge",e[e.SendYesterdayMaxDaMa=24]="SendYesterdayMaxDaMa",e[e.SendYesterdayMaxRecharge=25]="SendYesterdayMaxRecharge"}(M||(M={})),function(e){e[e.Unconditional=1]="Unconditional",e[e.RechargeOnDay=2]="RechargeOnDay",e[e.CodeOnDay=3]="CodeOnDay",e[e.SingleRechargeOnDday=4]="SingleRechargeOnDday",e[e.SingleCodeOnDay=5]="SingleCodeOnDay"}(D||(D={})),function(e){e[e.Fixed=0]="Fixed",e[e.RechargeOnDay=1]="RechargeOnDay",e[e.CodeOnDay=2]="CodeOnDay"}(N||(N={})),function(e){e[e.NotCompleted=0]="NotCompleted",e[e.CanReceive=1]="CanReceive",e[e.Received=2]="Received",e[e.Expired=3]="Expired",e[e.Distributed=4]="Distributed",e[e.BackgroundCancellation=5]="BackgroundCancellation",e[e.PendingApproval=6]="PendingApproval",e[e.PendingApplication=7]="PendingApplication",e[e.BackgroundRejection=8]="BackgroundRejection"}(k||(k={})),function(e){e[e.UNCONDITIONAL=0]="UNCONDITIONAL",e[e.CUMULATIVERECHARGE=1]="CUMULATIVERECHARGE",e[e.CUMULATIVECODING=2]="CUMULATIVECODING"}(z||(z={})),function(e){e[e.CLOSED=0]="CLOSED",e[e.OPEN=1]="OPEN"}(U||(U={})),function(e){e[e.NO=0]="NO",e[e.YES=1]="YES"}(B||(B={})),function(e){e[e.DAY=0]="DAY",e[e.CHARGE=1]="CHARGE",e[e.CODING=2]="CODING"}(H||(H={})),function(e){e[e.UnStart=0]="UnStart",e[e.Normal=1]="Normal",e[e.End=2]="End"}(G||(G={})),function(e){e[e.Continuous=0]="Continuous",e[e.Grand=1]="Grand"}(W||(W={})),function(e){e.Style0="0",e.Style1="1",e.Style2="2",e.Style3="3",e.Style4="4",e.Style5="5",e.Style6="6"}(F||(F={})),function(e){e[e.Fixed=0]="Fixed",e[e.Random=1]="Random"}(V||(V={})),function(e){e[e.NotReceive=0]="NotReceive",e[e.CanReceive=1]="CanReceive",e[e.HasReceive=2]="HasReceive"}($||($={})),function(e){e[e.HIDE=0]="HIDE",e[e.SHOW=1]="SHOW"}(q||(q={})),function(e){e[e.SHOW=0]="SHOW",e[e.HIDE=1]="HIDE"}(Y||(Y={})),function(e){e[e.LOTTERYMETHOD=0]="LOTTERYMETHOD",e[e.RECEIVEAWARD=1]="RECEIVEAWARD",e[e.SHARE=2]="SHARE"}(j||(j={})),function(e){e[e.CUSTOM=0]="CUSTOM",e[e.BETNUMBER=1]="BETNUMBER",e[e.PLATFORM=2]="PLATFORM",e[e.CATEGORY=3]="CATEGORY",e[e.GAMENUMBER=4]="GAMENUMBER",e[e.RECHARGEORDERID=5]="RECHARGEORDERID"}(K||(K={})),function(e){e[e.Default=0]="Default",e[e.OutsideLink=2]="OutsideLink",e[e.Activity=3]="Activity",e[e.Task=4]="Task",e[e.Recharge=5]="Recharge",e[e.Cashback=6]="Cashback",e[e.Proxy=7]="Proxy",e[e.Vip=8]="Vip"}(X||(X={})),function(e){e[e.PC=1]="PC",e[e.Mobile=2]="Mobile"}(Q||(Q={})),function(e){e[e.CurrentWindow=1]="CurrentWindow",e[e.NewWindow=2]="NewWindow"}(J||(J={})),function(e){e[e.InternalPage=0]="InternalPage",e[e.JumpOutsideLink=1]="JumpOutsideLink"}(ee||(ee={})),function(e){e[e.System=0]="System",e[e.CustomStyle=1]="CustomStyle",e[e.CustomGradient=2]="CustomGradient"}(te||(te={})),function(e){e[e.System=0]="System",e[e.CustomTexture=1]="CustomTexture"}(ie||(ie={})),function(e){e[e.big=1]="big",e[e.small=2]="small"}(ne||(ne={})),function(e){e[e.Fixed=1]="Fixed",e[e.Charge=2]="Charge",e[e.Bet=3]="Bet"}(re||(re={})),function(e){e[e.CanReceive=0]="CanReceive",e[e.HasReceive=1]="HasReceive"}(oe||(oe={})),function(e){e[e.End=1]="End",e[e.Continue=2]="Continue",e[e.Random=3]="Random"}(ae||(ae={})),function(e){e[e.Fixed=1]="Fixed",e[e.Times=2]="Times"}(se||(se={})),function(e){e[e.Fixed=1]="Fixed",e[e.Random=2]="Random"}(le||(le={})),function(e){e[e.UNCONDITIONAL=1]="UNCONDITIONAL",e[e.CUMULATIVERECHARGE=2]="CUMULATIVERECHARGE",e[e.CUMULATIVECODING=3]="CUMULATIVECODING"}(ce||(ce={})),function(e){e[e.Universal=1]="Universal",e[e.UniqueType=2]="UniqueType",e[e.BoundPhone=3]="BoundPhone",e[e.VerifySpecifiedPhone=4]="VerifySpecifiedPhone"}(ue||(ue={})),function(e){e[e.Fixed=1]="Fixed",e[e.FirstDepositBonus=2]="FirstDepositBonus",e[e.FirstChargeRatio=3]="FirstChargeRatio",e[e.Random=4]="Random"}(he||(he={})),function(e){e[e.Unbound=0]="Unbound",e[e.Bound=1]="Bound",e[e.HasPhoneNumber=2]="HasPhoneNumber"}(de||(de={})),function(e){e[e.open=0]="open",e[e.close=1]="close"}(pe||(pe={})),function(e){e[e.SendPrivatePromotion=0]="SendPrivatePromotion",e[e.LinkToGet=1]="LinkToGet"}(me||(me={})),function(e){e[e.Universal=1]="Universal",e[e.Unique=2]="Unique",e[e.BoundPhone=3]="BoundPhone",e[e.UnboundPhone=4]="UnboundPhone",e[e.FirstCharge=5]="FirstCharge",e[e.InvitationLink=6]="InvitationLink"}(fe||(fe={})),function(e){e[e.Success=0]="Success",e[e.Invalid=1]="Invalid",e[e.NotPhoneWinnings=2]="NotPhoneWinnings",e[e.IncorrectAreaCode=3]="IncorrectAreaCode",e[e.PhoneNotExist=4]="PhoneNotExist",e[e.PhoneAlreadyUse=5]="PhoneAlreadyUse"}(ge||(ge={})),function(e){e[e.Success=0]="Success",e[e.OnlyOneTime=1]="OnlyOneTime",e[e.WrongOrExpired=2]="WrongOrExpired",e[e.RechargeAtLeastOnce=3]="RechargeAtLeastOnce",e[e.CouponCodeNotMatchActivity=4]="CouponCodeNotMatchActivity",e[e.DiscountAmountTooLowContactCustomerService=5]="DiscountAmountTooLowContactCustomerService"}(be||(be={})),function(e){e[e.PROPORTION=0]="PROPORTION",e[e.FIXED=1]="FIXED"}(ye||(ye={})),function(e){e[e.Active=1]="Active",e[e.Task=2]="Task",e[e.Cashback=3]="Cashback",e[e.Interest=4]="Interest",e[e.Vip=5]="Vip",e[e.CanReceive=6]="CanReceive",e[e.Records=7]="Records",e[e.RechargeFund=8]="RechargeFund"}(we||(we={})),function(e){e[e.Open=0]="Open",e[e.Close=1]="Close"}(ve||(ve={})),function(e){e[e.Open=0]="Open",e[e.Close=1]="Close"}(Te||(Te={})),function(e){e[e.NoPop=0]="NoPop",e[e.DailyPop=1]="DailyPop",e[e.OnlyPop=4]="OnlyPop",e[e.OncePop=5]="OncePop",e[e.LoginPop=6]="LoginPop"}(Ze||(Ze={})),function(e){e.All="0"}(Ce||(Ce={})),function(e){e.All="0"}(Se||(Se={})),function(e){e[e.success=0]="success",e[e.statusError=1]="statusError",e[e.conditionError=2]="conditionError"}(Ie||(Ie={})),function(e){e[e.TYPE_1=1]="TYPE_1",e[e.TYPE_2=2]="TYPE_2",e[e.TYPE_3=3]="TYPE_3"}(Ee||(Ee={})),function(e){e[e.Now=0]="Now",e[e.Last=1]="Last"}(Pe||(Pe={})),function(e){e[e.CommonActivity=1]="CommonActivity",e[e.RechargeFundActive=6]="RechargeFundActive"}(_e||(_e={})),function(e){e[e.complete=1]="complete",e[e.undone=0]="undone"}(Oe||(Oe={})),function(e){e[e.undone=0]="undone",e[e.canReceive=1]="canReceive",e[e.received=2]="received",e[e.expired=3]="expired",e[e.distributed=4]="distributed",e[e.cancel=5]="cancel",e[e.pendingApproval=6]="pendingApproval",e[e.pendingApplication=7]="pendingApplication",e[e.reject=8]="reject"}(Re||(Re={}))},40181:function(e,t,i){"use strict";i.d(t,{IO:function(){return r},TL:function(){return s},is:function(){return o},vY:function(){return a}});var n=i(46851);const r=e=>n.Uh.upload({url:"/customer/uploadFile",data:e,customParams:{noEncrypt:!0}}).then((e=>e.data.data)),o=e=>n.Uh.post({url:"/customer/feedback",data:e}).then((e=>e.data.data)),a=e=>n.Uh.post({url:"/customer/getUserFeedback",data:e}).then((e=>e.data.data)),s=e=>n.Uh.post({url:"/customer/getAwardInfo",data:e}).then((e=>e.data.data))},15996:function(e,t,i){"use strict";i.d(t,{$O:function(){return z},CL:function(){return m},Cr:function(){return P},D3:function(){return p},DC:function(){return U},Df:function(){return H},Em:function(){return G},IE:function(){return v},JV:function(){return N},Jb:function(){return c},Jp:function(){return h},L0:function(){return g},Mu:function(){return f},N1:function(){return q},N8:function(){return R},PB:function(){return D},RX:function(){return T},Sx:function(){return y},VC:function(){return Y},VW:function(){return u},WZ:function(){return I},Wd:function(){return M},Xc:function(){return _},YC:function(){return W},Yt:function(){return F},Zd:function(){return d},Zr:function(){return L},aU:function(){return C},b$:function(){return x},b3:function(){return E},cx:function(){return S},ep:function(){return A},hD:function(){return w},je:function(){return b},jo:function(){return $},m6:function(){return O},mu:function(){return V},nC:function(){return Z},nx:function(){return B},ry:function(){return k},to:function(){return j}});var n=i(79704),r=i(46851),o=i(97500),a=i(43977),s=i(88781),l=i(88656);const c=(e,t,i)=>r.Uh.get({url:e,params:t,customParams:{noEncrypt:!0,noResponseDataCodeChecked:!0},headers:{"Web-Version":+new Date(document.documentElement.getAttribute("data-version")||""),"Sign-key":i}}),u=(e="")=>r.Uh.post({url:"/pay/payListV4",data:{payCurrency:e}}),h=(e=0)=>r.Uh.post({url:"/pay/payTypeV4",data:{type:e}}),d=e=>r.Uh.post({url:"/pay/payplatformlistV3",data:e}),p=e=>r.Uh.post({url:"/pay/orderListV3",data:e}),m=e=>r.Uh.post({url:"/pay/offlineOrderV3",data:e}),f=e=>r.Uh.post({url:"/pay/transferConfirm",data:e}),g=()=>r.Uh.get({url:"/home/maxChargeRate",params:{osType:(0,s.fP)()},customParams:{cache:!0,tryStaticMode:!0,staticKeyOmit:["platformType","language"],keyOmit:!0}}).then((e=>e.data.data)),b=e=>r.Uh.post({url:"/pay/orderInfo",data:e}),y=e=>r.Uh.post({url:"/pay/transferCancel",data:e}),w=e=>r.Uh.post({url:"/pay/getPayOrderFee",data:e}),v=e=>r.Uh.post({url:"/api/lobby/finance/getPayChooseBank",data:e}),T=e=>r.Uh.post({url:"/certify/verifyWithdrawalPasswordV2",data:e}),Z=()=>r.Uh.post({url:"/certify/receiveBonus"}),C=e=>r.Uh.post({url:"active/getReceiveRemark",data:{orderNo:e}}),S=(e=!0)=>r.Uh.get({url:"/certify/withdrawSettingV2",customParams:{tryStaticMode:e,staticKeyOmit:["platformType"],keyOmit:!0}}),I=()=>r.Uh.post({url:"/certify/withdrawInfoV2"}),E=()=>r.Uh.post({url:"/certify/userWalletInfo"}),P=()=>r.Uh.post({url:"/certify/walletSetting"}),_=e=>r.Uh.post({url:"/certify/cachV2",data:e,customParams:{noErrorMessage:!0}}),O=e=>r.Uh.post({url:"/certify/withdrawRecord",data:e}),R=(e,t)=>r.Uh.post({url:"/certify/bindcard?withdrawal_uuid="+t.withdrawalPassword,data:e}),L=(e,t)=>r.Uh.post({url:"/certify/bindalipay?withdrawal_uuid="+t.withdrawalPassword,data:e}),A=(e,t)=>r.Uh.post({url:"/certify/bindCrypto?withdrawal_uuid="+t?.withdrawalPassword,data:e}),x=(e,t)=>r.Uh.post({url:"/certify/bindUserWallet?withdrawal_uuid="+t?.withdrawalPassword,data:e}),M=e=>r.Uh.post({url:"/certify/deleteAccount",data:e}),D=e=>r.Uh.post({url:"/certify/setdefault",data:e}),N=e=>r.Uh.post({url:"/certify/auditTaskPageList",data:e}),k=e=>r.Uh.get({url:"/certify/auditTaskDetail?id="+e}),z=e=>r.Uh.post({url:"/certify/orderInfo",data:{order_no:e}}),U=e=>r.Uh.post({url:"/certify/getWithdrawFee",data:e}),B=e=>r.Uh.upload({url:"/certify/uploadpay",customParams:{autoFormData:!0},data:e}),H=e=>r.Uh.get({url:"/api/lobby/finance/getSiteCurrencyExchangeRateForOss",params:e,customParams:{tryStaticMode:!0,staticKeyOmit:["platformType","currency","language"]}}),G=(e,t,i)=>r.Uh.post({url:e,data:t,customParams:{silentOnError:!0,noEncrypt:!0,noResponseDataCodeChecked:!0},headers:{"Web-Version":+new Date(document.documentElement.getAttribute("data-version")||""),"Sign-key":i}}),W=async(e,t)=>r.Uh.get({url:e,params:t,customParams:{staticKeyOmit:["currency","language","platformType","token"],noEncrypt:!0,noResponseDataCodeChecked:!0}}),F=()=>r.Uh.post({url:"/certify/getWithdrawFeeSetting"}),V=async e=>r.Uh.get({url:"/payPopup/settingAndSlogans",params:e,customParams:{silentOnError:!0,tryStaticMode:!0,staticKeyOmit:["platformType","language"],keyOmit:!0}}),$=async e=>r.Uh.post({url:"/payPopup/content",data:e,customParams:{silentOnError:!0}}),q=async e=>r.Uh.post({url:"/pay/refreshStatus",data:e}),Y=async()=>r.Uh.get({url:"/api/game/hall/listValidBetExcludeGame",customParams:{tryStaticMode:!0,staticKeyOmit:["platformType"]}}).then((async e=>{const t=e?.data?.data,i=t.n?.map((e=>{const{a:t,b:i,d:n,e:r,f:o,g:a,h:s}=e;return{g0:"ALL"===t?Math.floor(Math.random()):Number(t),g1:i,g9:n,gameCategoryName:r,g10:"ALL"===o?Math.floor(Math.random()):Number(o),platformName:a,platformLogo:s}})),r=o.zN.parseArray(i,l.Z);return r.forEach((e=>{e.gameIcon=n.Z.parseGameItem(e),e.platformLogo=(0,a.mX)(e.platformLogo??"")})),{...t,n:r}})),j=async e=>r.Uh.post({url:"certify/checkAddWithdrawAccountStatus",data:e})},95415:function(e,t,i){"use strict";let n,r,o,a,s,l,c,u,h,d;i.d(t,{Jz:function(){return r},Q8:function(){return s},QR:function(){return n},iU:function(){return c},lr:function(){return a},nt:function(){return d},o_:function(){return o},pl:function(){return u},y3:function(){return l}}),function(e){e[e.NewWindow=1]="NewWindow",e[e.Inner=2]="Inner",e[e.QRCode=4]="QRCode",e[e.NewWindow2=5]="NewWindow2"}(n||(n={})),function(e){e[e.NON_NUMERIC=0]="NON_NUMERIC",e[e.NUMERIC=1]="NUMERIC",e[e.PHONE_NUMBER=2]="PHONE_NUMBER"}(r||(r={})),function(e){e[e.MustCompleteAllAudits=1]="MustCompleteAllAudits",e[e.RechargeDirectWithdrawal=2]="RechargeDirectWithdrawal"}(o||(o={})),function(e){e[e.OneTimeCompletion=1]="OneTimeCompletion",e[e.EachCompletion=2]="EachCompletion"}(a||(a={})),function(e){e[e.Clear=1]="Clear",e[e.NotClear=2]="NotClear"}(s||(s={})),function(e){e[e.DENY_MEMBER_VIEW=0]="DENY_MEMBER_VIEW",e[e.ALLOW_MEMBER_VIEW=1]="ALLOW_MEMBER_VIEW",e[e.ALLOW_VERIFY_WITHDRAWAL_PASSWORD=2]="ALLOW_VERIFY_WITHDRAWAL_PASSWORD"}(l||(l={})),function(e){e[e.FundSwitch=1]="FundSwitch",e[e.MemberDeposit=2]="MemberDeposit",e[e.MemberWithdrawal=3]="MemberWithdrawal",e[e.BankSettlement=4]="BankSettlement",e[e.FundAdjustment=5]="FundAdjustment",e[e.Activity=6]="Activity",e[e.Rebate=7]="Rebate",e[e.Commission=8]="Commission",e[e.InterestTreasure=9]="InterestTreasure",e[e.Task=10]="Task",e[e.VIPReward=13]="VIPReward",e[e.DepositDiscount=14]="DepositDiscount",e[e.Club=15]="Club",e[e.Reward=16]="Reward",e[e.BackOfficeAudit=22]="BackOfficeAudit",e[e.ProvidentFund=30]="ProvidentFund"}(c||(c={})),function(e){e[e.TopUp=1]="TopUp",e[e.SystemTask=2]="SystemTask",e[e.Reward=3]="Reward"}(u||(u={})),function(e){e[e.OFF=0]="OFF",e[e.ON=1]="ON"}(h||(h={})),function(e){e[e.None=0]="None",e[e.FixedAmount=1]="FixedAmount",e[e.Percentage=2]="Percentage"}(d||(d={}))},42790:function(e,t,i){"use strict";i.d(t,{df:function(){return r},hw:function(){return o},y:function(){return a}});var n=i(46851);const r=()=>n.Uh.get({url:"/api/lobby/webapi/selfRestraint/getInfo",customParams:{tryStaticMode:!0,cache:!0,staticKeyOmit:["currency","platformType"]}}).then((e=>e.data.data)),o=()=>n.Uh.post({url:"/user/restrict"}).then((e=>e.data.data)),a=e=>n.Uh.post({url:"/user/restrict/update",data:e}).then((e=>e.data.data))},8409:function(e,t,i){"use strict";let n,r;i.d(t,{j:function(){return r},v:function(){return n}}),function(e){e[e.isRestraintGame=1]="isRestraintGame",e[e.isRestraintBenefit=2]="isRestraintBenefit",e[e.isRestraintLogin=3]="isRestraintLogin",e[e.isRestraintDeposit=4]="isRestraintDeposit"}(n||(n={})),function(e){e[e.on=1]="on",e[e.off=0]="off"}(r||(r={}))},35475:function(e,t,i){"use strict";i.d(t,{A:function(){return h},Dg:function(){return y},Du:function(){return g},JZ:function(){return p},LG:function(){return f},QD:function(){return w},Qf:function(){return b},Ul:function(){return m},nn:function(){return d}});i(23474);var n=i(46851),r=i(93250),o=(i(1507),i(75990)),a=i(11777),s=i(78910),l=i(63312),c=i(91475);const u=(0,s.VK)(),h=(e,t)=>{const i=(0,o.wY)();i&&Number(i)&&(e={...e,cid:String(i)}),u&&(e={...e,isH5Pwa:1});const{userInfos:r}=(0,c.h)(),{isHasInstallSuccess:s}=(0,l.h)();return((r?.loginpwaType??0)||s)&&(e={...e,loginpwaType:1}),e={os_type:(0,a.sU)(),...e},n.Uh.post({url:"/gameapi/login",data:e,headers:t}).then((e=>e.data.data))},d=(e,t)=>n.Uh.post({url:"/home/addfavorite",data:{[t?"id":"delid"]:[{game_id:e.gameId,cate_id:e.platformId,category_id:e.gameCategoryId}]}}),p=()=>n.Uh.post({url:"/active/sport/matchList"}).then((e=>e.data.data?.list)),m=()=>n.Uh.post({url:"active/sport/highlights"}).then((e=>e.data.data?.list)),f=()=>n.Uh.get({url:"/api/game/hall/listExtLinkV2",customParams:{tryStaticMode:!0,cache:!0,noErrorMessage:!0,onlyStaticMode:!0,staticKeyOmit:["platformType"]}}).then((e=>e.data.data??[])),g=e=>n.Uh.post({url:"/gameapi/logout",data:e}).then((e=>e.data.data)),b=e=>n.Uh.post({url:"/gameout/logoutgame",data:e}).then((e=>e.data.data)),y=async()=>{const e=await(0,r.$A)((e=>n.Uh.get({baseURL:e,url:"/hall/api/third/game/platformExchange/findListAll.json",customParams:{maxRetryCount:0,noResponseDataCodeChecked:!0,noEncrypt:!0,autoBaseUrl:!1,setDefaultRequestConfig:e=>(e.headers={},e),noErrorMessage:!0},params:{timestamp:Date.now()}})));return("string"==typeof e.data?JSON.parse(n.H4.ossDecrypt(e.data)):e.data)?.data??{}},w=()=>n.Uh.post({url:"/gameapi/lastGameInfo",data:{os_type:(0,a.sU)()}}).then((e=>e.data.data))},22382:function(e,t,i){"use strict";let n,r,o,a,s;i.d(t,{D$:function(){return o},U7:function(){return s}}),function(e){e[e.CLOSE=0]="CLOSE",e[e.OPEN=1]="OPEN"}(n||(n={})),function(e){e[e.Normal=-1]="Normal",e[e.Square=0]="Square",e[e.Vertical=1]="Vertical"}(r||(r={})),function(e){e[e.FORMAL=0]="FORMAL",e[e.DEMO=1]="DEMO"}(o||(o={})),function(e){e[e.Event=20]="Event",e[e.Task=30]="Task"}(a||(a={})),function(e){e[e.No=0]="No",e[e.Have=1]="Have"}(s||(s={}))},25102:function(e,t,i){"use strict";i.d(t,{HI:function(){return s},Wy:function(){return l}});var n=i(18441),r=i(46851),o=i(25060),a=i(91475);const s=async()=>r.Uh.get({url:"/message/popupcfg",customParams:{tryStaticMode:!0,staticKeyOmit:["language","platformType"],keyOmit:!0}}),l=async e=>{const{hasLogined:t}=(0,a.h)(),i={tryStaticMode:!0,staticKeyOmit:["platformType"],keyOmit:!0};return(t?r.Uh.post({url:"/message/list/all",data:e,customParams:i}):r.Uh.get({url:"/message/list/all",params:e,customParams:i})).then((t=>{if(e.type===o.V4.FRAME||e.type===o.V4.INDEX_PAGE){const e=t.data.data;e?.announcementFrameMsgList?.forEach((e=>{e.forceType=n.i.ANNOUNCEMENT})),e?.noticeFrameMsgList?.forEach((e=>{e.forceType=n.i.NOTICE})),e?.publicityMsgList?.forEach((e=>{e.forceType=n.i.PUBLICIZE}))}return t.data.data}))}},51886:function(e,t,i){"use strict";let n,r,o,a;i.d(t,{lL:function(){return r},p:function(){return o},v4:function(){return n},yY:function(){return a}}),function(e){e[e.IMGRIGHT=1]="IMGRIGHT",e[e.IMGLEFT=2]="IMGLEFT",e[e.CUSTOMIZE=3]="CUSTOMIZE"}(n||(n={})),function(e){e[e.HIDDEN=1]="HIDDEN",e[e.SHOW=2]="SHOW"}(r||(r={})),function(e){e[e.Yes=1]="Yes",e[e.No=2]="No"}(o||(o={})),function(e){e[e.NOTLOGIN=1]="NOTLOGIN",e[e.OTHER=2]="OTHER"}(a||(a={}))},25060:function(e,t,i){"use strict";let n,r,o,a;i.d(t,{NQ:function(){return r},OR:function(){return o},V4:function(){return a},ik:function(){return n}}),function(e){e[e.unclaimed=1]="unclaimed",e[e.claimed=2]="claimed"}(n||(n={})),function(e){e[e.unclaimed=0]="unclaimed",e[e.claimed=1]="claimed"}(r||(r={})),function(e){e[e.ANNOUNCEMENT=2]="ANNOUNCEMENT",e[e.NOTICE=1]="NOTICE",e[e.MARQUEE=3]="MARQUEE"}(o||(o={})),function(e){e[e.ANNOUNCEMENT=2]="ANNOUNCEMENT",e[e.NOTICE=1]="NOTICE",e[e.MARQUEE=3]="MARQUEE",e[e.FRAME=4]="FRAME",e[e.INDEX_PAGE=99]="INDEX_PAGE"}(a||(a={}))},61102:function(e,t,i){"use strict";i.d(t,{F:function(){return r}});var n=i(46851);const r=e=>n.Uh.post({url:"/promote/binding/reportviewV2",customParams:{noEncrypt:!0},data:e}).then((e=>e.data.data))},20572:function(e,t,i){"use strict";let n,r,o;i.d(t,{Y5:function(){return o},bA:function(){return n}}),function(e){e[e.All=0]="All",e[e.Chess=1]="Chess",e[e.Fish=2]="Fish",e[e.Street=3]="Street",e[e.Real=4]="Real",e[e.Sports=5]="Sports",e[e.Cockfighting=6]="Cockfighting",e[e.Gameing=7]="Gameing",e[e.Lottery=8]="Lottery",e[e.Blockchain=11]="Blockchain"}(n||(n={})),function(e){e[e.UnSettle=0]="UnSettle",e[e.HasSettle=1]="HasSettle"}(r||(r={})),function(e){e[e.Direct=1]="Direct",e[e.Other=2]="Other"}(o||(o={}))},12542:function(e,t,i){"use strict";i.d(t,{K:function(){return r},V:function(){return o}});var n=i(46851);const r=e=>n.Uh.post({url:"/promote/v2/createaccount",data:e}).then((e=>e.data.data)),o=()=>n.Uh.get({url:"/promote/getCreateAccountConfig",customParams:{cache:!0,tryStaticMode:!0,staticKeyOmit:["platformType"],keyOmit:!0}}).then((e=>e.data.data))},74939:function(e,t,i){"use strict";i.d(t,{Ac:function(){return l},BV:function(){return h},Hf:function(){return a},W8:function(){return u},ZO:function(){return d},a3:function(){return c},ai:function(){return o},jZ:function(){return s},wA:function(){return r}});var n=i(46851);const r=()=>n.Uh.get({url:"/promote/config/index",customParams:{cache:!0,tryStaticMode:!0,staticKeyOmit:["platformType","currency"],keyOmit:!0}}).then((e=>e.data.data)),o=()=>n.Uh.post({url:"/promote/extract",customParams:{silentOnError:!0}}).then((e=>e.data.data)),a=(e,t)=>n.Uh.post({url:"/promote/getPublicityV2",data:e,customParams:t}).then((e=>e.data.data)),s=()=>n.Uh.get({url:"/promote/config/share",customParams:{cache:!0,tryStaticMode:!0,staticKeyOmit:["platformType"],keyOmit:!0}}).then((e=>e.data.data)),l=e=>n.Uh.post({url:"/html2img",data:e,customParams:{noEncrypt:!0}}).then((e=>e.data.data)),c=e=>n.Uh.get({url:"/promote/config/tutorial",params:e,customParams:{cache:!0,tryStaticMode:!0,staticKeyOmit:["platformType","currency"],keyOmit:!0}}).then((e=>e.data.data)),u=(e={},t)=>n.Uh.post({url:"/promote/v1/report/agentData",data:e,customParams:t}).then((e=>(p(e),e.data.data))),h=()=>n.Uh.get({url:"/promote/config/sensitiveData",customParams:{cache:!0,tryStaticMode:!0}}).then((e=>e.data.data)),d=e=>n.Uh.post({url:"/promote/selectpromotelink",data:e}).then((e=>e.data.data)),p=e=>{const t=e?.config?.headers?.["x-request-id"];t!=e?.data?.data?.requestId&&Promise.resolve().then(i.bind(i,5825)).then((({trace:t})=>{t("error",{errorName:"errorResponse",...e})}))}},52006:function(e,t,i){"use strict";i.d(t,{q:function(){return o}});var n=i(46851),r=i(78588);const o=()=>{const{agent_id:e}=(0,r.Z)().getAgentModeData;return n.Uh.get({url:"/promote/config/introduce",customParams:{cache:!0,tryStaticMode:!0,staticKeyOmit:["platformType"],keyOmit:!0},params:{agentId:e}}).then((e=>e.data.data))}},90390:function(e,t,i){"use strict";let n;i.d(t,{X:function(){return n}}),function(e){e[e.ValidBet=0]="ValidBet",e[e.NetProfit=2]="NetProfit"}(n||(n={}))},18682:function(e,t,i){"use strict";i.d(t,{$9:function(){return c},B9:function(){return s},TI:function(){return a},Z4:function(){return l}});var n=i(46851),r=i(88399),o=i(26248);const a=(e,t=!1)=>n.Uh.post({url:"/active/rechargeFund/recharge/list",data:e,customParams:{silentOnError:!0,cache:(0,r.B)(t)}}).then((e=>e.data.data)),s=(e=!1)=>n.Uh.get({url:"/active/rechargeFund/setting/get",customParams:{staticKeyOmit:["platformType"],keyOmit:!0,tryStaticMode:!0,cache:(0,r.B)(e)}}).then((e=>e.data.data)),l=(e=!1)=>n.Uh.post({url:"/active/rechargeFund/currentPeriodReward/get",customParams:{cache:(0,r.B)(e)}}).then((e=>e.data.data)),c=e=>n.Uh.post({url:"/active/rechargeFund/receive",data:e,headers:{deviceModel:(0,o.h)().deviceModel,devicetype:(0,o.h)().deviceType}}).then((e=>e.data))},88397:function(e,t,i){"use strict";let n;i.d(t,{$:function(){return n}}),function(e){e[e.Init=0]="Init",e[e.CanReceive=1]="CanReceive",e[e.Received=2]="Received",e[e.Expired=3]="Expired",e[e.Send=4]="Send",e[e.Cancel=5]="Cancel",e[e.NeedApply=6]="NeedApply",e[e.NeedRequest=7]="NeedRequest",e[e.Reject=8]="Reject",e[e.Receipting=9]="Receipting"}(n||(n={}))},76947:function(e,t,i){"use strict";i.d(t,{j$:function(){return s},sY:function(){return a},z2:function(){return l}});var n=i(46851),r=i(26248),o=i(91475);const a=()=>n.Uh.post({url:"/home/index",customParams:{noLog:!0,noErrorMessage:!0,silentOnError:!0},data:{robot:(0,o.h)().robot},headers:{deviceModel:(0,r.h)().deviceModel,devicetype:(0,r.h)().deviceType}}).then((e=>e.data.data)),s=e=>n.Uh.post({url:"/active/redactive",data:{...e},customParams:{cache:!1,noResponseDataCodeChecked:!0},headers:{deviceModel:(0,r.h)().deviceModel,devicetype:(0,r.h)().deviceType}}).then((e=>e.data)),l=e=>n.Uh.post({url:"/active/getred",data:{...e},customParams:{noResponseDataCodeChecked:!0},headers:{deviceModel:(0,r.h)().deviceModel,devicetype:(0,r.h)().deviceType}}).then((e=>e.data))},40456:function(e,t,i){"use strict";let n,r,o,a;i.d(t,{_t:function(){return r},d4:function(){return o},w2:function(){return a}}),function(e){e[e.CLOSE=1]="CLOSE",e[e.OPEN=2]="OPEN"}(n||(n={})),function(e){e.Grab="grab",e.Open="open",e.Send="send"}(r||(r={})),function(e){e[e.Seconds10=1e4]="Seconds10",e[e.Minutes3=18e4]="Minutes3",e[e.Minutes5=3e5]="Minutes5"}(o||(o={})),function(e){e[e.Count=10]="Count"}(a||(a={}))},77477:function(e,t,i){"use strict";i.d(t,{Ar:function(){return m},B9:function(){return T},Fb:function(){return S},LL:function(){return c},P6:function(){return E},QI:function(){return v},Rt:function(){return C},UO:function(){return b},Uy:function(){return f},YI:function(){return h},Ys:function(){return u},aF:function(){return Z},bW:function(){return g},cl:function(){return y},pA:function(){return w},rx:function(){return d},x9:function(){return I},xS:function(){return p}});var n=i(50644),r=i(46851),o=i(53663),a=i(20360),s=i(91475),l=i(12887);const c=(e=!1)=>{const{sabaToken:t,sabaUrl:i,sabaTokenWithType:c,setSabaToken:u,setSabaTokenWithType:h,sabaLoginNum:d,setSabaLoginNum:p}=(0,o.P)();if(!d)return;if(t&&i&&c&&!e)return void l.Z.setBaseUrlAndTokenApiDomian(c,i);p(d-1);const{setSabaMaintenance:m}=(0,s.h)();return r.Uh.post({url:"/saba/login",customParams:{noErrorMessage:!0,cache:!0}}).then((e=>{if(m(!1),e.data.data){const{token:t,tokenType:i,sabaUrl:n}=e.data.data;l.Z.setBaseUrlAndTokenApiDomian(`${i} ${t}`,n),p(o.A),u(t),h(`${i} ${t}`)}})).catch((e=>{const t=e.data;[a.L1,n.J].includes(t.errorCode)&&m(!0)}))},u=e=>l.Z.get({url:"/sports/v1/GetEvents",params:e}),h=e=>l.Z.get({url:"/betting/v1/GetOutrightTicket",params:{...e}}),d=e=>l.Z.post({url:"/betting/v1/PlaceOutrightBet",params:{...e},data:{},customParams:{silentOnError:!0}}),p=e=>l.Z.get({url:"/sports/v1/GetSports",params:e}),m=e=>l.Z.get({url:"/sports/v1/GetLeagues",params:e}),f=e=>l.Z.get({url:"betting/v1/GetSingleTicket",params:{...e},customParams:{silentOnError:!0}}),g=e=>l.Z.post({url:"/betting/v1/PlaceBet",params:{...e},customParams:{silentOnError:!0},data:{}}),b=e=>l.Z.post({url:"/betting/v1/GetParlayTickets",data:{...e},customParams:{silentOnError:!0}}),y=e=>l.Z.post({url:"/betting/v1/PlaceParlayBet",data:e,customParams:{silentOnError:!0}}),w=e=>l.Z.get({url:"/betting/v1/GetBetDetails",params:{...e}}),v=e=>l.Z.get({url:"/sports/v1/GetStreaming",params:e,customParams:{silentOnError:!0}}),T=e=>l.Z.get({url:"/cashout/v1/GetCashoutPrice",params:e}),Z=e=>l.Z.get({url:"/betting/v1/GetSystemParlayDetails",params:e}),C=e=>{const{transId:t,cashoutPrice:i}=e;return l.Z.post({url:`/cashout/v1/SellBack?transId=${t}&cashoutPrice=${i}`,data:e,customParams:{silentOnError:!0}})},S=e=>l.Z.get({url:"/cashout/v1/CheckSellingStatus",params:e}),I=e=>l.Z.get({url:`/betting/v1/GetGameDetails?eventids=${e}`,params:{}}),E=e=>l.Z.get({url:"/sports/v1/GetMarkets",params:e})},50644:function(e,t,i){"use strict";i.d(t,{$:function(){return r},J:function(){return n}});const n="UM99",r={running:"running",suspend:"suspend",closePrice:"closePrice",closed:"closed"}},4760:function(e,t,i){"use strict";i.d(t,{r:function(){return o}});var n=i(46851),r=i(84220);const o=()=>n.Uh.get({url:"/customer/staffallv3",params:{siteCode:r.Z.siteCode},customParams:{tryStaticMode:!0,cache:!0,staticKeyOmit:["platformType"],keyOmit:!0}}).then((e=>e.data.data))},60511:function(e,t,i){"use strict";i.d(t,{u:function(){return r}});var n=i(46851);const r=()=>n.Uh.get({url:"/api/lobby/versionUpdate/getVersionList",customParams:{cacheExpiredOnReload:!1,cache:!0}})},67262:function(e,t,i){"use strict";i.d(t,{$J:function(){return o},TV:function(){return c},U3:function(){return l},Wk:function(){return h},aE:function(){return a},l6:function(){return d},pK:function(){return u},st:function(){return s}});var n=i(46851),r=i(26248);const o=()=>n.Uh.post({url:"/user/vipdetails",customParams:{cache:!0}}).then((e=>e.data.data||{})),a=(e=!0)=>n.Uh.post({url:"/user/vipInfo",customParams:{cache:e}}).then((e=>e.data.data||{})),s=()=>n.Uh.post({url:"/user/vip",customParams:{cache:!0}}).then((e=>e.data.data)),l=(e=!1)=>n.Uh.post({url:"/user/info",customParams:{cache:!0},data:{get_first_pay:e}}).then((e=>e.data.data)),c=e=>n.Uh.post({url:"/user/giftRecv1",data:e,customParams:{noErrorMessage:!0,silentOnError:!0},headers:{deviceModel:(0,r.h)().deviceModel,devicetype:(0,r.h)().deviceType}}).then((e=>e.data.data)),u=e=>n.Uh.post({url:"/active/unreceiveAwardList",customParams:{silentOnError:!0},data:e}).then((e=>e.data.data)),h=(e,t)=>n.Uh.post({url:"/active/receivereward",data:e,headers:{deviceModel:(0,r.h)().deviceModel,devicetype:(0,r.h)().deviceType},customParams:t}).then((e=>e.data.data)),d=e=>n.Uh.post({url:"/active/receivereward",data:e,customParams:{silentOnError:!0}}).then((e=>e.data.data))},41570:function(e,t,i){"use strict";let n,r,o;i.d(t,{EA:function(){return o},VC:function(){return r},_1:function(){return n}}),function(e){e[e.CLOSE=0]="CLOSE",e[e.OPEN=1]="OPEN"}(n||(n={})),function(e){e[e.Activity=1]="Activity",e[e.Task=2]="Task",e[e.Rebate=3]="Rebate",e[e.Interest=4]="Interest",e[e.Vip=5]="Vip",e[e.RechargeFund=6]="RechargeFund"}(r||(r={})),function(e){e[e.Small=0]="Small",e[e.Large=1]="Large",e[e.Apply=2]="Apply",e[e.Manual=3]="Manual",e[e.NotMeet=4]="NotMeet"}(o||(o={}))},70552:function(e,t,i){"use strict";i.d(t,{A:function(){return o},V5:function(){return h},VP:function(){return c},cn:function(){return a},lN:function(){return l},m7:function(){return u},sk:function(){return s}});var n=i(46851),r=i(88399);const o=()=>n.Uh.post({url:"/yuebao/getSetting",customParams:{cache:(0,r.B)(!1)}}),a=e=>n.Uh.post({url:"/yuebao/index",customParams:{cache:e??18e5}}),s=(e,t=!1)=>n.Uh.post({url:"/yuebao/profitRecord",data:e,customParams:{cache:(0,r.B)(t)}}).then((e=>e.data.data)),l=e=>n.Uh.post({url:"/yuebao/takeoutGold",data:e,customParams:{silentOnError:!0}}).then((e=>e.data.data)),c=e=>n.Uh.post({url:"/yuebao/saveGold",data:e,customParams:{silentOnError:!0}}).then((e=>e.data.data)),u=(e,t=!1)=>n.Uh.post({url:"/yuebao/profitCount",data:e,customParams:{cache:(0,r.B)(t)}}).then((e=>e.data.data)),h=()=>n.Uh.post({url:"/yuebao/getInterest",customParams:{noErrorMessage:!0,silentOnError:!0}}).then((e=>e.data.data??{}))},84292:function(e,t,i){"use strict";i.d(t,{Z:function(){return q}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v,T,Z,C,S,I,E,P,_,O,R,L,A,x=i(53158),M=i(55433),D=i(12040),N=i(38821),k=i(39972),z=i(91475),U=i(46930),B=i(41095),H="DdGVWTxycItMEAYiShYm",G="s6ld3uKmPBmFVTaNrGho",W="Gyp2tu7KBps7OIiUzN0B";const F=19,V=38,$=({targetBaseFontSize:e=F}={})=>{const{currentTheme:t}=(0,z.h)();return`\n    html,body{\n      margin:0;\n      padding:0;\n    }\n\n    html{\n      -webkit-text-size-adjust:none;\n    }\n    body{\n      font-size: ${e}px;\n      color:${t["--theme-text-color"]};\n      font-family: "Microsoft Yahei";word-break: break-word;\n    }\n    p{margin-top: 0px;margin-bottom: 0px;text-align: left;}\n    body ol{ padding: 6%;}\n`};let q=(n=(0,N.wA)({name:"Adapter"}),r=(0,N.Rl)(),o=(0,N.fI)({default:!1}),a=(0,N.fI)(),s=(0,N.fI)((0,U.Z_)().def("iframeSrc")),l=(0,N.fI)(U.ZP.string.def("auto")),c=(0,N.fI)(U.ZP.string),u=(0,N.fI)(U.ZP.string),h=(0,N.fI)({default:!0}),d=(0,N.fI)((0,U.Ry)().def({open:!0,targetBaseFontSize:F,originalBaseFontSize:V})),p=(0,N.fI)(U.ZP.func.def((e=>e))),m=(0,N.fI)(U.ZP.number.def(1)),f=(0,N.fI)(U.ZP.object.def((()=>({})))),g=(0,N.fI)((0,U.Ry)().def({width:1080,height:1920})),b=(0,N.y1)("load"),n((w=class extends((0,N.Wr)(N.XY,B.Z)){constructor(...e){super(...e),(0,x.Z)(this,"iframeRef",v,this),(0,x.Z)(this,"useWindowOpen",T,this),(0,x.Z)(this,"isSetATargetTop",Z,this),(0,x.Z)(this,"mode",C,this),(0,x.Z)(this,"scrolling",S,this),(0,x.Z)(this,"html",I,this),(0,x.Z)(this,"iframeSrc",E,this),(0,x.Z)(this,"needAddRootFontSize",P,this),(0,x.Z)(this,"unitTransformConfig",_,this),(0,x.Z)(this,"iframeStyle",O,this),(0,x.Z)(this,"scale",R,this),(0,x.Z)(this,"scaleStyle",L,this),(0,x.Z)(this,"designSize",A,this),(0,M.Z)(this,"iframeHeight","0px")}transformUnit(e){if(!this.unitTransformConfig.open)return e;const t=document.createElement("div");t.innerHTML=e;const i=this.unitTransformConfig.originalBaseFontSize??V,n=this.unitTransformConfig.targetBaseFontSize??F,r=e=>{const t=e;if(t.getAttribute){const e=t.getAttribute("style");e&&t.setAttribute("style",e.replace(/(\d+)px/g,(e=>`${Number(parseFloat(e))/(i/n)/this.baseUnit}${this.unit}`)))}for(const i of e.childNodes)r(i)};return r(t),t.innerHTML}onLoad(){if(this.isSetATargetTop&&(this.iframeRef.contentDocument?.body&&(0,k.ci)(this.iframeRef.contentDocument?.body,this.useWindowOpen),/UCBrowser/.test(navigator.userAgent))){const e=this.iframeRef.contentDocument?.body.querySelector(".person_looksubcont");if(e){e.querySelectorAll("div,p").forEach((e=>{e.style.boxSizing="border-box",e.style.width="100%",e.style.float="right",e.style.clear="both"}));const t=document.createElement("div");t.style.clear="both",e.appendChild(t)}}this.iframeHeight=Math.ceil((this.iframeRef.contentDocument?.body.getBoundingClientRect().height||0)/this.baseUnit)+this.unit}get iframeMode(){return["iframeDoc","iframeSrc"].includes(this.mode)}get innerHtmlContent(){const e=this.iframeStyle($()),t="iframeDoc"===this.mode&&e?`<style>\n    ${this.iframeStyle($())}\n    }</style>`:"",i=this.transformUnit(this.html||"");return`${String(t+(i||""))}`}renderByIframe(){const e=this.$createElement;if(this.iframeMode)return e("iframe",{ref:"iframeRef",key:"iframeSrc"===this.mode?this.iframeSrc:void 0,style:{border:"none",width:"100%",height:this.iframeHeight},attrs:{src:"iframeSrc"===this.mode?this.iframeSrc:void 0,srcdoc:"iframeDoc"===this.mode?this.innerHtmlContent:void 0,frameborder:"0",scrolling:this.scrolling},on:{load:this.onLoad}})}render(){const e=arguments[0],t=this.unitTransformConfig.targetBaseFontSize??F;return e("div",{class:H,style:"scale"===this.mode?{width:`${this.designSize.width*this.scale/this.baseUnit}${this.unit}`,height:`${this.designSize.height*this.scale/this.baseUnit}${this.unit}`}:{}},[e("div",{class:G,style:{..."scale"===this.mode?{width:`${this.designSize.width/this.baseUnit}${this.unit}`,height:`${this.designSize.height/this.baseUnit}${this.unit}`,transform:`scale(${this.scale})`}:{},...this.scaleStyle}},[this.$slots.default||[this.iframeMode&&this.renderByIframe(),"innerHTML"===this.mode&&e("inner-html",{class:[W,"innerHTMLContainer"],style:this.needAddRootFontSize?{fontSize:`${t/this.baseUnit}${this.unit}`}:"",attrs:{type:"div",text:this.innerHtmlContent}})]])])}},v=(0,D.Z)(w.prototype,"iframeRef",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,D.Z)(w.prototype,"useWindowOpen",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,D.Z)(w.prototype,"isSetATargetTop",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,D.Z)(w.prototype,"mode",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,D.Z)(w.prototype,"scrolling",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,D.Z)(w.prototype,"html",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,D.Z)(w.prototype,"iframeSrc",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,D.Z)(w.prototype,"needAddRootFontSize",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,D.Z)(w.prototype,"unitTransformConfig",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,D.Z)(w.prototype,"iframeStyle",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,D.Z)(w.prototype,"scale",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,D.Z)(w.prototype,"scaleStyle",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,D.Z)(w.prototype,"designSize",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,D.Z)(w.prototype,"onLoad",[b],Object.getOwnPropertyDescriptor(w.prototype,"onLoad"),w.prototype),y=w))||y)},65094:function(e,t,i){"use strict";i.d(t,{B:function(){return A},Z:function(){return x}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w=i(36568),v=i.n(w),T=i(53158),Z=i(55433),C=i(12040),S=i(38821),I=i(71743),E=i(93250),P=i(44586),_=i(16251),O=i(46930),R=i(26747),L=i(41095);const A=new _.Z;let x=(n=(0,S.wA)({name:"ApngCanvas"}),r=(0,S.fI)(O.ZP.string.isRequired),o=(0,S.fI)(O.ZP.number),a=(0,S.fI)(O.ZP.number),s=(0,S.fI)(O.ZP.number),l=(0,S.fI)(O.ZP.looseBool.def(!0)),c=(0,S.fI)(O.ZP.number.def(0)),u=(0,S.y1)("end"),n((d=class extends((0,S.Wr)(S.XY,L.Z,R.Z)){constructor(...e){super(...e),(0,T.Z)(this,"src",p,this),(0,T.Z)(this,"scale",m,this),(0,T.Z)(this,"width",f,this),(0,T.Z)(this,"height",g,this),(0,T.Z)(this,"autoPlay",b,this),(0,T.Z)(this,"numPlays",y,this),(0,Z.Z)(this,"apngItem",null),(0,Z.Z)(this,"loading",!1)}get InnerSrc(){return(0,I.Cj)(this.src)}play(){if(this.apngItem){const{player:e}=this.apngItem;if(!e.paused)return e.stop(),requestAnimationFrame((()=>{e.play()}));e.play()}}stop(){this.apngItem&&this.apngItem.player.stop()}pause(){this.apngItem&&this.apngItem.player.pause()}destroy(){A.destroy(this.uuid)}onEnd(){}get ossTargetSrc(){return this.InnerSrc||""}async init(){this.uuid=(0,P.Z)(),this.loading=!0;const e=await(0,E.or)((e=>A.create(this.InnerSrc.replace(this.ossLobbyAssetPathOrigin||"",e),{autoPlay:this.autoPlay,width:this.width,height:this.height,scale:this.scale,numPlays:this.numPlays},this.uuid))).finally((()=>{this.loading=!1}));if(!e)throw new Error("init error");return this.apngItem=e,this.apngItem.player.on("end",this.onEnd),this.apngItem}mounted(){this.init().then((()=>{this.apngItem&&(this.apngItem.canvas.style.width="100%",this.apngItem.canvas.style.height="100%",this.$el.appendChild(this.apngItem.canvas))}))}beforeDestroy(){this.destroy()}render(){const e=arguments[0],{width:t,height:i}=this||{};return e("span",v()([{},{attrs:{"aria-hidden":"true",focusable:"false"},style:{display:"inline-block",...t?{width:`${t/this.baseUnit}${this.unit}`}:{},...i?{height:`${i/this.baseUnit}${this.unit}`}:{}}}]),[this.loading?this.$slots.loading:null])}},p=(0,C.Z)(d.prototype,"src",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,C.Z)(d.prototype,"scale",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,C.Z)(d.prototype,"width",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,C.Z)(d.prototype,"height",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,C.Z)(d.prototype,"autoPlay",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,C.Z)(d.prototype,"numPlays",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,C.Z)(d.prototype,"onEnd",[u],Object.getOwnPropertyDescriptor(d.prototype,"onEnd"),d.prototype),h=d))||h)},50008:function(e,t,i){"use strict";i.d(t,{Z:function(){return ie}});var n=i(53158),r=i(55433),o=i(12040),a=i(38821),s=i(91475);class l{constructor(){}static getInstance(){return this.instance||(this.instance=new l),this.instance}run(e){const{colorVarKey:t}=e,i=this.getOriginFontsize(e),n=this.getMinFontSizePx(e,i),r=this.getBoxLimitHeight(e,i),o=this.narrowFontSize(e,r,i,n);return t&&document.body.style.setProperty(t,`${o}px`),o}getOriginFontsize(e){const{colorVarKey:t,outBox:i}=e,n=window.getComputedStyle(i).fontSize.replace("px","");let r=Number(n);if(t){const e=Number(document.body.style.getPropertyValue(t)?.replace("px",""));e&&e<r&&(r=e)}return r}getBoxLimitHeight(e,t){const{limitHeight:i,rowCount:n}=e,r={my_MM:1.5,ta_LK:1.5,vi_VN:1.4}[(0,s.h)()?.language]||1.2;return i||t*n*r+1}getMinFontSizePx(e,t){const{minFontSize:i}=e;return i?i<=1?t*i:i:(0,s.h)().isWeb?12:8}narrowFontSize(e,t,i,n){const{contentBox:r,outBox:o}=e,a=o.clientWidth,s=()=>{if(r.scrollWidth<=a&&r.scrollHeight<=t)return i;const e=i>12?1:.5;return i-e<n?n:(i-=e,r.style.fontSize=i+"px",s())};r.style.fontSize=i+"px";const l=s();return r.style.fontSize="",l}}const c=l.getInstance(),u=c.run.bind(c);var h,d,p,m,f,g,b,y,w,v,T,Z,C="umskZObCyqgQ16w1sRjo",S="ioFH2SdYFy9KbEA35rqr";let I=(h=(0,a.wA)({name:"VeryLargeTextBox"}),d=(0,a.F1)("largeHeight"),p=(0,a.fI)(),m=(0,a.fI)(),f=(0,a.fI)(),g=(0,a.RL)("rootFontSize"),h((y=class extends a.XY{constructor(...e){super(...e),(0,n.Z)(this,"largeHeight",w,this),(0,n.Z)(this,"width",v,this),(0,n.Z)(this,"height",T,this),(0,n.Z)(this,"fontSize",Z,this),(0,r.Z)(this,"state",{width:void 0,height:void 0,fontSize:void 0})}get outStyle(){return{width:this.width,height:this.height,fontSize:this.fontSize}}get innerStyle(){const{width:e,height:t,fontSize:i}=this.state;if(!e||!t||!i)return{};const n=e=>100*(.5*e/2/(.5*e)+.5)+"%";return{width:2*e+"px",height:2*t+"px",fontSize:2*i+"px",transform:`scale(0.5) translate(-${n(2*e)},-${n(2*t)})`}}get rootFontSize(){return(0,s.h)().rootFontSize}getPxRealSize(){const e=this.$refs.largeBoxRef,t=window.getComputedStyle(e),{fontSize:i,width:n,height:r}=t;this.largeHeight=2*Number(r.replace(/px$/,"")),this.setState({width:Number(n.replace(/px$/,"")),height:Number(r.replace(/px$/,"")),fontSize:Number(i.replace(/px$/,""))})}mounted(){this.getPxRealSize()}render(){const e=arguments[0];return e("div",{class:C,style:this.outStyle,ref:"largeBoxRef"},[e("div",{class:S,style:this.innerStyle},[this.$slots.default])])}},w=(0,o.Z)(y.prototype,"largeHeight",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,o.Z)(y.prototype,"width",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,o.Z)(y.prototype,"height",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,o.Z)(y.prototype,"fontSize",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,o.Z)(y.prototype,"getPxRealSize",[g],Object.getOwnPropertyDescriptor(y.prototype,"getPxRealSize"),y.prototype),b=y))||b);var E,P,_,O,R,L,A,x,M,D,N,k,z,U,B,H,G,W,F,V,$,q,Y,j,K,X,Q,J="N4LsWhJBhqqyTkv6V0NE",ee="ke1kCzBARxq5HSxbDQ6h",te="TMZWYZcIv5YQXVdFMVrw";let ie=(E=(0,a.wA)({name:"AutoShrinkText"}),P=(0,a.r8)({from:"largeHeight",default:0}),_=(0,a.fI)(),O=(0,a.fI)(),R=(0,a.fI)({default:"100%"}),L=(0,a.fI)(),A=(0,a.fI)(),x=(0,a.fI)(),M=(0,a.fI)({default:2}),D=(0,a.Rl)(),N=(0,a.Rl)(),k=(0,a.RL)("mainStore.language"),z=(0,a.RL)("mainStore.rootFontSize"),U=(0,a.RL)("text"),E((Q=class extends a.XY{constructor(...e){super(...e),(0,n.Z)(this,"largeHeight",G,this),(0,r.Z)(this,"state",{oriFontSize:void 0,finalFontSize:void 0}),(0,n.Z)(this,"fontSize",W,this),(0,n.Z)(this,"minFontSize",F,this),(0,n.Z)(this,"width",V,this),(0,n.Z)(this,"text",$,this),(0,n.Z)(this,"limitHeight",q,this),(0,n.Z)(this,"groupKey",Y,this),(0,n.Z)(this,"rowCount",j,this),(0,n.Z)(this,"innerTextRef",K,this),(0,n.Z)(this,"autoShrinkTextRef",X,this)}mounted(){this.correctFontSize()}get mainStore(){return(0,s.h)()}clearGlobalFontSize(){this.groupKey&&(document.body.style.removeProperty(this.colorVarKey),this.timerId=setTimeout((()=>{this.correctFontSize()}),500))}watchText(){clearTimeout(this.timerId),setTimeout((()=>{this.correctFontSize()}),0)}get limitHeightNumber(){return this.largeHeight>0?this.largeHeight:this.limitHeight?this.unitPxRem2Number(this.limitHeight):0}get localMinFontSize(){if(this.minFontSize)return/^\d+(\.\d+)?%$/.test(this.minFontSize)?Number(this.minFontSize.replace("%",""))/100:this.unitPxRem2Number(this.minFontSize)}unitPxRem2Number(e){e=String(e);let t=0;return/^\d+(\.\d+)?px$/.test(e)?t=parseInt(e):/^\d+(\.\d+)?rem$/.test(e)?t=parseFloat(e)*(this.mainStore.rootFontSize||parseFloat(window.getComputedStyle(document.documentElement).getPropertyValue("font-size"))):/^\d+(\.\d+)?$/.test(e)&&(t=Number(e)),t}get colorVarKey(){if(this.groupKey)return`--auto-shrink-text-group-${this.groupKey}`}correctFontSize(){let e;this.state.finalFontSize=void 0;let t=2;const i=()=>{try{const t=this.innerTextRef.clientWidth,i=this.innerTextRef.clientHeight;if(0===t&&0===i)throw new Error("WG notes: dom's width and height size are 0. dom exist, but it may be render problem!");e=u({contentBox:this.innerTextRef,outBox:this.autoShrinkTextRef,minFontSize:this.localMinFontSize,rowCount:this.rowCount,limitHeight:this.limitHeightNumber,colorVarKey:this.colorVarKey}),this.state.finalFontSize=e}catch(n){t--,t>0&&setTimeout((()=>{i()}),0)}};i()}get showFontSize(){if(this.colorVarKey)return`var(${this.colorVarKey})`;const e=this.state.finalFontSize;return e?e+"px":this.fontSize}get bottomExhibiteSize(){const e=this.state.finalFontSize,t=(0,s.h)()?.language;return["my_MM","ta_LK","vi_VN"].includes(t)?"0px":e?e/8.5+"px":"3px"}render(){const e=arguments[0];return e("span",{class:[J,"auto-shrink-text"],style:{width:this.width,marginBottom:`-${this.bottomExhibiteSize}`,paddingBottom:this.bottomExhibiteSize,fontSize:this.fontSize},ref:"autoShrinkTextRef"},[e("span",{class:ee,style:{fontSize:this.showFontSize}},[e("span",{class:{[te]:!0,"inner-text":!0},ref:"innerTextRef",style:{"-webkit-line-clamp":this.rowCount}},[this.text])])])}},(0,r.Z)(Q,"VeryLargeTextBox",I),H=Q,G=(0,o.Z)(H.prototype,"largeHeight",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=(0,o.Z)(H.prototype,"fontSize",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,o.Z)(H.prototype,"minFontSize",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=(0,o.Z)(H.prototype,"width",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=(0,o.Z)(H.prototype,"text",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=(0,o.Z)(H.prototype,"limitHeight",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,o.Z)(H.prototype,"groupKey",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,o.Z)(H.prototype,"rowCount",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,o.Z)(H.prototype,"innerTextRef",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,o.Z)(H.prototype,"autoShrinkTextRef",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,o.Z)(H.prototype,"clearGlobalFontSize",[k],Object.getOwnPropertyDescriptor(H.prototype,"clearGlobalFontSize"),H.prototype),(0,o.Z)(H.prototype,"watchText",[z,U],Object.getOwnPropertyDescriptor(H.prototype,"watchText"),H.prototype),B=H))||B)},54864:function(e,t,i){"use strict";i.d(t,{Z:function(){return P}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v,T=i(53158),Z=i(55433),C=i(12040),S=i(38821),I=i(46930),E=i(41095);let P=(n=(0,S.wA)({name:"AutoText"}),r=(0,S.fI)((0,I.Z_)().def("normal")),o=(0,S.fI)(I.ZP.number),a=(0,S.fI)(I.ZP.number),s=(0,S.fI)(I.ZP.string),l=(0,S.fI)(I.ZP.number),c=(0,S.fI)(I.ZP.number),u=(0,S.fI)(I.ZP.cssClass),h=(0,S.RL)("text"),n((p=class extends((0,S.Wr)(S.XY,E.Z)){constructor(...e){super(...e),(0,T.Z)(this,"mode",m,this),(0,T.Z)(this,"width",f,this),(0,T.Z)(this,"height",g,this),(0,T.Z)(this,"text",b,this),(0,T.Z)(this,"minSize",y,this),(0,T.Z)(this,"maxSize",w,this),(0,T.Z)(this,"fontClass",v,this),(0,Z.Z)(this,"styles",{})}mounted(){this.computeFontsize()}update(){this.computeFontsize()}onTextChange(){this.computeFontsize()}get isInLine(){return"inline"===this.mode}createTempNode(e){const t=document.createElement("span");return t.innerText=e,"inline"===this.mode&&(t.style.whiteSpace="nowrap"),document.body.appendChild(t),t}getTempTextNodeWithFontSize(e,t){return t.style.fontSize=e/this.baseUnit+this.unit,t}computeFontsize(){this.$nextTick((()=>{const e=this.text||this.$el.innerText,t=e.length;if(0===t)return;const i=this.width||this.$el.parentElement?.clientWidth||0,n=this.height||this.$el.parentElement?.clientHeight||0;let r=Math.sqrt(i*n/t);const o=this.createTempNode(e);let a=this.getTempTextNodeWithFontSize(r,o);for(;(this.isInLine?a.offsetWidth>i||a.offsetHeight>n:Math.ceil(t/Math.floor(i/r))*r<=n-20)&&!(r-1<0);)r-=1,a=this.getTempTextNodeWithFontSize(r,o);document.body.removeChild(o),this.minSize&&(r=Math.max(this.minSize||8,r)),this.maxSize&&(r=Math.min(this.maxSize,r)),this.styles={fontSize:r/this.baseUnit+this.unit,"line-height":1.2,width:"100%"}}))}render(){const e=arguments[0];return e("div",{ref:"box"},[e("div",{style:this.styles,class:this.fontClass},[this.$slots.default||this.text])])}},m=(0,C.Z)(p.prototype,"mode",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,C.Z)(p.prototype,"width",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,C.Z)(p.prototype,"height",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,C.Z)(p.prototype,"text",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,C.Z)(p.prototype,"minSize",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,C.Z)(p.prototype,"maxSize",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,C.Z)(p.prototype,"fontClass",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,C.Z)(p.prototype,"onTextChange",[h],Object.getOwnPropertyDescriptor(p.prototype,"onTextChange"),p.prototype),d=p))||d)},22923:function(e,t,i){"use strict";i.d(t,{g:function(){return L},Z:function(){return R}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b=i(53158),y=i(55433),w=i(12040),v=i(38821),T=i(46851),Z=i(68809),C=i(4441),S=i(91475),I=i(46930),E="cAH8Yq84MnShrocPndq_";let P=(n=(0,v.wA)({name:"BaseBanner"}),r=(0,v.Rl)(),o=(0,v.fI)(),a=(0,v.fI)(),s=(0,v.fI)(I.ZP.looseBool.def(!1)),l=(0,v.fI)(I.ZP.looseBool.def(!1)),c=(0,v.RL)("dataList",{deep:!0}),n((h=class extends v.XY{constructor(...e){super(...e),(0,y.Z)(this,"mainStore",(0,S.h)()),(0,b.Z)(this,"mySwiperRef",d,this),(0,b.Z)(this,"dataList",p,this),(0,b.Z)(this,"options",m,this),(0,b.Z)(this,"isShowPagination",f,this),(0,b.Z)(this,"isShowToPrevOrNextBtn",g,this)}get defaultOption(){const e=(0,Z.TR)(),t=this.options?this.options:{},i=this.options?.on||{};return{...e.base,...t,on:{...i,init:()=>{this.$emit("init",this.mySwiperRef),setTimeout((()=>{this.$emit("swiperInit",this.mySwiperRef)}),0)},transitionEnd:(...e)=>{i?.transitionEnd?.bind(this.mySwiperRef.$swiper)(...e),this.$emit("swiperTransitionEnd",this.mySwiperRef)},reachEnd:()=>{this.$emit("reachEnd",this.mySwiperRef)}}}}onBannerResponseChange(e,t){e?.length===t?.length&&(e||t)||this.updateSwiperConfig()}beforeDestroy(){this.mySwiperRef?.$swiper.destroy()}updateSwiperConfig(){this.mySwiperRef?.destroySwiper(),this.mySwiperRef?.initSwiper()}bannerToNext(){this.mySwiperRef?.$swiper.slideNext()}bannerToPrev(){this.mySwiperRef?.$swiper.slidePrev()}render(){const e=arguments[0];return e("swiper",{class:[E,"banner-swiper"],ref:"mySwiperRef",attrs:{options:this.defaultOption},on:{...{...this.$listeners}}},[this.$slots?.default||this.$scopedSlots.default?.(),[this.isShowPagination?e("div",{class:[T.CM.CssClassName.Swiper.Pagination],slot:"pagination"}):null,e("div",{class:[T.CM.CssClassName.Swiper.Button.Prev],slot:"button-prev",on:{click:this.bannerToPrev},key:(0,C.M)()},[this.$scopedSlots?.buttonPrev?.()||this.isShowToPrevOrNextBtn&&e("section",{class:"banner-change-btn"},[e("section",{class:"banner-icon"})])]),e("div",{class:[T.CM.CssClassName.Swiper.Button.Next],slot:"button-next",on:{click:this.bannerToNext},key:(0,C.M)()},[this.$scopedSlots?.buttonNext?.()||this.isShowToPrevOrNextBtn&&e("section",{class:"banner-change-btn"},[e("section",{class:"banner-icon"})])])]])}},d=(0,w.Z)(h.prototype,"mySwiperRef",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,w.Z)(h.prototype,"dataList",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,w.Z)(h.prototype,"options",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,w.Z)(h.prototype,"isShowPagination",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,w.Z)(h.prototype,"isShowToPrevOrNextBtn",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,w.Z)(h.prototype,"onBannerResponseChange",[c],Object.getOwnPropertyDescriptor(h.prototype,"onBannerResponseChange"),h.prototype),u=h))||u);var _;let O=(0,v.wA)({name:"BaseBannerItem"})(_=class extends v.XY{render(){return(0,arguments[0])("swiper-slide",[this.$slots?.default])}})||_;var R=P;const L=O},50859:function(e,t,i){"use strict";i.d(t,{Z:function(){return p}});var n,r,o,a,s,l=i(53158),c=i(12040),u=i(38821),h="_VPAQ83_NVbbKcmA02CT",d="vr29ZB5A3ne61b7BLuI4";let p=(n=(0,u.wA)({name:"CommonBadge"}),r=(0,u.fI)(),n((a=class extends u.XY{constructor(...e){super(...e),(0,l.Z)(this,"value",s,this)}render(){const e=arguments[0];let t=this.value;return this.value&&!isNaN(Number(this.value))&&Number(this.value)>99&&(t="99+"),e("div",{class:[h,"common-badge-content"]},[this.$slots?.default,t?e("div",{class:[d,"common-badge"]},[t]):null])}},s=(0,c.Z)(a.prototype,"value",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=a))||o)},76191:function(e,t,i){"use strict";i.d(t,{Z:function(){return T}});var n,r,o,a,s,l,c,u,h,d=i(53158),p=i(12040),m=i(38821),f=i(46851),g=i(75990),b=i(71743),y=i(58217),w=i(75812),v="PmwtECGo9wfGBMP0uy71";let T=(n=(0,m.wA)({name:"CommonCopy"}),r=(0,m.fI)({required:!0}),o=(0,m.fI)({default:!0}),a=(0,m.fI)(),n((l=class extends m.XY{constructor(...e){super(...e),(0,d.Z)(this,"text",c,this),(0,d.Z)(this,"showToast",u,this),(0,d.Z)(this,"url",h,this)}handleCopy(){(0,g.zp)(this.text?.toString()??"");const{t:e}=(0,y.QT)();this.showToast&&f.sG.Modal.message({type:"success",content:e("lobby.common.tips.copy")}),this.url&&setTimeout((()=>{(0,w.MI)(this.url??"")}),500)}render(){const e=arguments[0];return e("span",{on:{click:e=>{e.stopPropagation(),this.handleCopy()}},class:[v,"copyIcon"]},[this.$slots.default||e("icon-sprite",{attrs:{useSkeleton:!0,sprite:(0,b.T9)("comm_icon_copy")}})])}},c=(0,p.Z)(l.prototype,"text",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,p.Z)(l.prototype,"showToast",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,p.Z)(l.prototype,"url",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=l))||s)},67537:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return rt}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v,T,Z,C,S,I,E,P,_,O,R,L,A,x,M,D,N,k,z,U,B,H,G,W,F,V,$,q,Y,j,K,X,Q,J,ee=i(36568),te=i.n(ee),ie=i(53158),ne=i(55433),re=i(12040),oe=i(38821),ae=i(70753),se=i(72698),le=i(5621),ce=i(46851),ue=i(7174),he=i(35829),de=i(15996),pe=i(71743),me=i(1938),fe=i(1850),ge=i(4441),be=i(96309),ye=i(70278),we=i(58217),ve=i(91475),Te=i(46930),Ze=i(75812),Ce=i(12832),Se=i(44159),Ie="vy918omw_N7rBkJ235XX",Ee="iyrfQ72Vih_uHUFOsiR4",Pe="LpgLT8H8XiTu9f8wSCN3",_e="iw9FDOIygJyoQtUHSJAg",Oe="PVyEsfr4c912z000EVrX",Re="SSAbrhtT3U690CrzLUd5",Le="SSYrjrFkdeGEfKeXOPu3",Ae="NKLcc8z9N8zQBqlEQHzQ",xe="oLBWDqPPBQysbUCQss5H",Me="HYRQOxc6CbaRUUX2AamL",De="_JCMBIxwrNaG2zWb4eUM",Ne="efRMkO187w2bpG_BMq7S",ke="C63EMWZDxX36JI4BoNzz",ze="nopSqWzXjWQAGpkOsCuJ",Ue="JLeGahiYJHbxb016s1BW",Be="xarizqg2xNG82L0nIOey",He="dyOUtoyhWLgpU_2_SBPJ",Ge="LTjOKHkqe9kY7fpoxEAm",We="gTiDpVAQCk7JEoCOM3W6",Fe="vI8RGQZnV9SKSsxk7xW7",Ve="PRXfLWwxhAJanBZPVoAf",$e="LEekGzMsJ96P1y5uwAAy",qe="DDpOyicuQfkhIvNCfPko",Ye="rsIZGCZpX7f8bgoLWjaZ",je="aM1LTVwqefRHSJopsYks",Ke="mQ5CAP0dzvUf1GHIXwq4",Xe="fJlcQX1V8avcAu9Pgr4K",Qe="tIl7kxYddLL1whFKcOze",Je="IMl873FTgqqNlSitFJrT",et="Ci0oKAAtemG6hrydf9BX",tt="okL9qv_7i_4u4rRbzG6g",it="ARkdmFtKpEzpNbhpGjjX",nt=i(41800);let rt=(n=(0,oe.wA)({name:"CurrencyInfos"}),r=(0,oe.Rl)(),o=(0,oe.Rl)(),a=(0,oe.fI)(Te.ZP.bool.def(!1)),s=(0,oe.fI)(Te.ZP.bool.def(!0)),l=(0,oe.fI)(Te.ZP.string.def("flex")),c=(0,oe.fI)(Te.ZP.string.def("center")),u=(0,oe.fI)(Te.ZP.string.def("center")),h=(0,oe.fI)(Te.ZP.string.def("18px")),d=(0,oe.fI)(Te.ZP.bool.def(!1)),p=(0,oe.fI)(Te.ZP.string.def("")),m=(0,oe.fI)({default:null}),f=(0,oe.fI)(Te.ZP.string.def("comm_icon_sx")),g=(0,oe.fI)({required:!1,default:24}),b=(0,oe.fI)(Te.ZP.array.def([54,-350])),y=(0,oe.fI)(Te.ZP.bool.def(!1)),w=(0,oe.fI)(Te.ZP.bool.def(!1)),v=(0,oe.fI)(Te.ZP.bool.def(!1)),T=(0,oe.fI)(Te.ZP.string.def("comm_icon_sort")),Z=(0,oe.fI)(Te.ZP.string.def("")),C=(0,oe.fI)(Te.ZP.bool.def(!1)),S=(0,oe.fI)({required:!1,default:30}),I=(0,oe.fI)(Te.ZP.bool.def(!1)),E=(0,ae.WY)(),P=(0,ae.K4)(),_=(0,ae.WY)(),O=(0,oe.RL)("contentVisible"),n((L=class extends oe.XY{constructor(...e){super(...e),(0,ie.Z)(this,"popoverContentRef",A,this),(0,ie.Z)(this,"countToRef",x,this),(0,ie.Z)(this,"hiddenSymbol",M,this),(0,ie.Z)(this,"gameLogout",D,this),(0,ie.Z)(this,"mode",N,this),(0,ie.Z)(this,"rowAlign",k,this),(0,ie.Z)(this,"columnAlign",z,this),(0,ie.Z)(this,"fontSize",U,this),(0,ie.Z)(this,"noUnderline",B,this),(0,ie.Z)(this,"freshPngName",H,this),(0,ie.Z)(this,"prefixArrow",G,this),(0,ie.Z)(this,"freshSvgName",W,this),(0,ie.Z)(this,"freshPngScale",F,this),(0,ie.Z)(this,"offset",V,this),(0,ie.Z)(this,"reverseArrowIcon",$,this),(0,ie.Z)(this,"hiddenPopover",q,this),(0,ie.Z)(this,"alignRight",Y,this),(0,ie.Z)(this,"popoverSvgIcon",j,this),(0,ie.Z)(this,"popoverPngIcon",K,this),(0,ie.Z)(this,"hiddenBorder",X,this),(0,ie.Z)(this,"switchIconScale",Q,this),(0,ie.Z)(this,"showAside",J,this),(0,ne.Z)(this,"showBalance",!0),(0,ne.Z)(this,"containerId","currency-popover-container-"+(0,ge.M)()),(0,ne.Z)(this,"contentVisible",!1),(0,ne.Z)(this,"distanceToLeft",0),(0,ne.Z)(this,"distanceToRight",0),(0,ne.Z)(this,"distanceToTop",0),(0,ne.Z)(this,"payMaxCharge",0)}async updateCurrency(){this.$emit("iconClick"),this.$route.name===he.x4.GAME&&this.gameLogout?(0,ve.h)().logoutAndUpdatePrize(!0):(0,ve.h)().updatePrize()}goCenterWallet(){this.$router.push({name:he.x4.CENTER_WALLET})}onPopoverChange(){this.contentVisible?(this.getDistanceToTopLeft(),this.initializeData()):this.$emit("getContentVisible",this.contentVisible)}async initializeData(){const[e,t]=await(0,nt.Z)((0,de.L0)());e||(this.payMaxCharge=t?.charge_rate||0)}encryptString(){return"******"}currencySwitchIcon(e){const t=this.$createElement;if(this.prefixArrow)return"function"==typeof this.prefixArrow?this.prefixArrow():this.prefixArrow;{const{isHK:i}=Ce.Z.currentTheme();return t("my-img",{class:[Pe,i?et:"currency-switch"],attrs:{src:i?(0,pe.Cj)("/lobby_asset/{layout}-{bg}-common/common/_sprite/img_hb_wallet.png"):"/lobby_asset/common/common/_sprite/img_hb_frame.png",options:{type:"div"},useSkeleton:!0}},[!i&&t("icon-sprite",{props:{...(0,pe.Mg)({path:e,width:this.switchIconScale??30,height:this.switchIconScale??30})},attrs:{useSkeleton:!0}})])}}goToAuditList(){this.$router.push({name:he.x4.WITHDRAW,query:{current:`${le.u.HEAVEN_RECORD}`}})}getDistanceToTopLeft(){const e=document.getElementsByClassName("iconSort")[0];if(e&&this.offset&&this.offset.length>=2){const t=e.getBoundingClientRect();this.alignRight?this.distanceToRight=0:this.distanceToLeft=e.offsetLeft+t.width/2,this.distanceToTop=this.offset?.[0]-11}}toggleContentVisibility(){if((0,ve.h)().curAuditModeIsModeOne||this.hiddenPopover)this.goCenterWallet();else{if(!this.showAside){const{h5AsideShow:e,setH5AsideShow:t}=(0,ye.o)();e&&t(!1)}this.contentVisible=!this.contentVisible,this.$emit("getContentVisible",this.contentVisible)}}popoverRender(){const e=this.$createElement,{t:t}=(0,we.QT)(),{userInfos:i,isFetchingPrize:n}=(0,ve.h)();let r={};return r=this.alignRight?{"--content-top":Ze.ZP.px2rem(Number(this.offset?.[0])),"--content-right":Ze.ZP.px2rem(Number(this.offset?.[1]))}:{"--content-top":Ze.ZP.px2rem(Number(this.offset?.[0])),"--content-left":Ze.ZP.px2rem(Number(this.offset?.[1]))},e("div",{attrs:{id:this.containerId},class:[De,"popoverContentBox"],style:r,ref:"popoverContentRef"},[e("div",{class:[ke,"currency-popbox"]},[e("section",{class:ze},[e("div",{class:Ge},[e("p",[t("lobby.balance.current"),e("span",{class:[He,this.showBalance?"":it]},[this.showBalance?(0,me.yi)(i?.game_gold??0,2):this.encryptString()]),e("icon-sprite",te()([{class:[We,Be,[{[ce.CM.CssClassName.Animate.Animated]:n},ce.CM.CssClassName.Animate.Spin,ce.CM.CssClassName.Animate.Repeat.infinite]],attrs:{useSkeleton:!0,sprite:(0,pe.T9)("comm_icon_sx")}},{nativeOn:{click:()=>{this.showBalance=!0,this.updateCurrency(),setTimeout((()=>{this.getDistanceToTopLeft()}),300)}}}]))]),e("icon-sprite",te()([{class:[Ve,Be,this.showBalance?"":$e],attrs:{useSkeleton:!0}},{nativeOn:{click:()=>{this.showBalance=!this.showBalance,setTimeout((()=>{this.getDistanceToTopLeft()}),300)}}},{attrs:{sprite:(0,pe.T9)(this.showBalance?"comm_icon_show":"comm_icon_hide")}}]))]),e("div",[t("lobby.balance.text1"),e("span",{class:[Be,Ye],on:{click:this.goCenterWallet}},[t("lobby.balance.find")])])]),e("section",{class:Ue},[e("div",[e("p",[t("lobby.balance.award"),e("span",{class:[He,this.showBalance?"":it]},[this.showBalance?(0,me.yi)(i?.bonus??0,2):this.encryptString()]),e("icon-sprite",te()([{class:[Fe,Be],attrs:{useSkeleton:!0,sprite:(0,pe.T9)("comm_icon_jl")}},{nativeOn:{click:()=>this.goToAuditList()}}]))])]),e("div",[t("lobby.balance.text2"),e("span",{class:qe},[(0,me.yi)(i?.bonusRequireBet??0,2)]),t("lobby.balance.text3"),e("span",{class:Be,on:{click:()=>this.goToAuditList()}},[t("lobby.balance.checkRule")])])]),e("section",{class:je},[e("div",{class:Ke,on:{click:()=>(0,fe.eH)()}},[t("lobby.header.withdraw")]),e("div",{class:Xe,on:{click:()=>{if((0,fe.vK)(),this.showAside){const{h5AsideShow:e,setH5AsideShow:t}=(0,ye.o)();e&&t(!1)}}}},[e(Se.default,{attrs:{charge:1,top:Ze.ZP.px2rem(-34),right:Ze.ZP.px2rem(0),hidden:!this.payMaxCharge,text:e("span",{class:Qe},[t("lobby.modal.pay.give2",{num:this.payMaxCharge})])}}),t("lobby.header.recharge")])])])])}render(){const e=arguments[0],{t:t}=(0,we.QT)(),{isGamePlaying:i,isGameScoring:n}=(0,be.g)(),{userInfos:r,isFetchingPrize:o,curAuditModeIsModeOne:a}=(0,ve.h)(),s=se.F.formattedListCodeMap(),{game_gold:l=0,bonus:c="0"}=r,u=s[r?.currency||"CNY"].icon,h=this.freshPngName?(0,pe.XY)(`sprite_main_${this.freshPngName}`):(0,pe.T9)("comm_icon_sx");let d;this.freshPngName&&(d=(this.freshPngScale??24)/h?.width);let p={};return p=this.alignRight?{"--arrow-top":Ze.ZP.px2rem(Number(this.distanceToTop)),"--arrow-right":`${this.distanceToRight}px`}:{"--arrow-top":Ze.ZP.px2rem(Number(this.distanceToTop)),"--arrow-left":`${this.distanceToLeft}px`},e("div",{class:[Ie,this.hiddenSymbol?Je:"",this.hiddenBorder?"":Ee,"currencyInfoBox","main"],style:{"--row-align":this.rowAlign,"--mode":this.mode,"--column-align":this.columnAlign}},[!this.hiddenSymbol&&this.currencySwitchIcon(u),e("section",{class:[_e,"currency-count",this.reverseArrowIcon?tt:""],style:{"font-size":Ze.ZP.px2rem(this.fontSize??"18px")}},[i?e("div",{class:[Oe,"gaming"]},[t("lobby.header.moneyInGame")]):e("div",{class:["countTextBox"]},[n||o&&0===l?e("span",{class:[Oe,"gaming"]},[t("lobby.game.loadinged")]):e("span",{class:[Re,this.noUnderline?Le:"","count-to",this.showBalance?"":it],ref:"countToRef",on:{click:()=>this.toggleContentVisibility()}},[this.showBalance?e("count-to",{attrs:{value:(Number(l)+Number(c)).toFixed(2),formatter:this.$route.name===he.x4.MINE?e=>(0,me.yi)(e,2):e=>(0,me.OH)(e,{precision:2,symbol:""}),noAnimation:!0}}):this.encryptString()]),a||this.hiddenPopover?e(ue.JO.Tsx,{on:{click:this.updateCurrency},class:[Ae,[{[ce.CM.CssClassName.Animate.Animated]:o},ce.CM.CssClassName.Animate.Spin,ce.CM.CssClassName.Animate.Repeat.infinite],"refresh-icon"],attrs:{component:{functional:!0,render:()=>e("icon-sprite",{attrs:{scale:d,sprite:this.freshPngName?(0,pe.XY)(`sprite_main_${this.freshPngName}`):(0,pe.T9)(this.freshSvgName)}})}}}):e(ue.JO.Tsx,te()([{on:{click:()=>this.toggleContentVisibility()},class:[xe,this.contentVisible?Me:"",this.contentVisible?"iconActive":"","iconSort"],attrs:{component:{functional:!0,render:()=>e("icon-sprite",{attrs:{sprite:this.popoverPngIcon?(0,pe.XY)(`sprite_main_${this.popoverPngIcon}`):(0,pe.T9)(this.popoverSvgIcon)}})}}},{directives:[{name:"click-outside",value:{capture:!0,handler:e=>{const t=(e,t)=>e instanceof Element&&t instanceof Element&&(e.contains(t)||e===t),i=e.target;t(this.popoverContentRef,i)||t(this.countToRef,i)||(this.contentVisible=!1)}}}]}]))])]),this.contentVisible&&e("fragment",[e("div",{class:[Ne,"currency-triangle"],style:p}),this.popoverRender()])])}},A=(0,re.Z)(L.prototype,"popoverContentRef",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,re.Z)(L.prototype,"countToRef",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,re.Z)(L.prototype,"hiddenSymbol",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,re.Z)(L.prototype,"gameLogout",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,re.Z)(L.prototype,"mode",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,re.Z)(L.prototype,"rowAlign",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,re.Z)(L.prototype,"columnAlign",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,re.Z)(L.prototype,"fontSize",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,re.Z)(L.prototype,"noUnderline",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,re.Z)(L.prototype,"freshPngName",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),G=(0,re.Z)(L.prototype,"prefixArrow",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=(0,re.Z)(L.prototype,"freshSvgName",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,re.Z)(L.prototype,"freshPngScale",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=(0,re.Z)(L.prototype,"offset",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=(0,re.Z)(L.prototype,"reverseArrowIcon",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=(0,re.Z)(L.prototype,"hiddenPopover",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,re.Z)(L.prototype,"alignRight",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,re.Z)(L.prototype,"popoverSvgIcon",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,re.Z)(L.prototype,"popoverPngIcon",[Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,re.Z)(L.prototype,"hiddenBorder",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=(0,re.Z)(L.prototype,"switchIconScale",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,re.Z)(L.prototype,"showAside",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,re.Z)(L.prototype,"updateCurrency",[E,P],Object.getOwnPropertyDescriptor(L.prototype,"updateCurrency"),L.prototype),(0,re.Z)(L.prototype,"goCenterWallet",[_],Object.getOwnPropertyDescriptor(L.prototype,"goCenterWallet"),L.prototype),(0,re.Z)(L.prototype,"onPopoverChange",[O],Object.getOwnPropertyDescriptor(L.prototype,"onPopoverChange"),L.prototype),R=L))||R)},52517:function(e,t,i){"use strict";i.d(t,{FR:function(){return j}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v,T,Z,C,S,I,E,P,_,O,R,L,A,x=i(53158),M=i(55433),D=i(12040),N=i(38821),k=i(29339),z=i(95692),U=i(21613),B=i(77674),H=i(58217),G=i(91475),W=i(58164),F="TBtGFT5INIot5sEUIm8w",V="FgEUt_kRHRTXSTPCORUT",$="JYOzKS13f3vBGpFqnxv5",q="e3oSBQlXcrImSqDg223i",Y="qAMkb3CXtgWr3kTUjRRS";let j=(n=(0,N.wA)({name:"DataList"}),r=(0,N.fI)({default:20}),o=(0,N.fI)({default:()=>({})}),a=(0,N.fI)(),s=(0,N.fI)({required:!1}),l=(0,N.fI)({required:!1}),c=(0,N.fI)({required:!0}),u=(0,N.fI)({required:!0}),h=(0,N.fI)({required:!1}),d=(0,N.fI)({default:!1}),p=(0,N.fI)({default:!0}),m=(0,N.fI)({default:0}),f=(0,N.fI)(),g=(0,N.RL)("condition",{deep:!0}),b=(0,N.RL)("state.pageSize"),y=(0,N.RL)("condition",{deep:!0}),n((v=class extends N.XY{constructor(...e){super(...e),(0,x.Z)(this,"defaultPageSize",T,this),(0,x.Z)(this,"condition",Z,this),(0,x.Z)(this,"emptyText",C,this),(0,x.Z)(this,"preQueryHook",S,this),(0,x.Z)(this,"postQueryHook",I,this),(0,x.Z)(this,"query",E,this),(0,x.Z)(this,"listRenderItem",P,this),(0,x.Z)(this,"footerRender",_,this),(0,x.Z)(this,"backgroundColorReverse",O,this),(0,x.Z)(this,"immediateCheck",R,this),(0,x.Z)(this,"dateType",L,this),(0,x.Z)(this,"seeMore",A,this),(0,M.Z)(this,"state",{loading:!1,finished:!1,source:[],infinitySource:[],pageNo:0,pageSize:20,total:0,isCacheSource:!1})}created(){this.setState({pageSize:this.defaultPageSize})}mounted(){this.immediateCheck||this.onLoad()}changeState(e){this.setState(e)}handleSeeMoreClick(){this.seeMore()}resetPage(){this.setState({pageNo:0,infinitySource:[]})}async onLoad(){if(!(0,G.h)().hasLogined)return;const{loading:e}=this.state;if(e)return;const{pageNo:t,errorMessage:i}=this.state,n=i?t:t+1;this.setState({finished:!1,loading:!0,pageNo:n||1});try{const{pageNo:e,pageSize:t}=this.state;await(this.preQueryHook?.call(this));const{data:i,total:n,errorMessage:r,isCache:o}=await this.query(e,t,this.condition??{});if(o&&this.setState({isCacheSource:!0,pageNo:0}),!o&&this.state.isCacheSource&&this.setState({isCacheSource:!1,infinitySource:[]}),this.setState({errorMessage:r}),r)return void this.setState({loading:!1});const a=this.state.infinitySource.concat(i??[]),s=n??0;this.setState({finished:a.length>=s,source:i,infinitySource:a,total:s}),await(this.postQueryHook?.call(this)),this.$nextTick((()=>{this.setState({loading:!1})}))}catch{this.setState({loading:!1,finished:!0})}}getText(e){const{t:t}=(0,H.QT)(),i={[U.DY.TODAY]:{text:t("lobby.center.components.dateRadio.today"),more:t("lobby.game.galaxyGold.seeMore")},[U.DY.YESTERDAY]:{text:t("lobby.center.components.dateRadio.yesterday"),more:t("lobby.game.galaxyGold.seeMore")},[U.DY.THIS_WEEK]:{text:t("lobby.center.components.dateRadio.thisWeek"),more:t("lobby.game.galaxyGold.seeMore")},[U.DY.LAST_WEEK]:{text:t("lobby.center.components.dateRadio.lastWeek"),more:t("lobby.game.galaxyGold.seeMore")},[U.DY.THIS_MONTH]:{text:t("lobby.center.components.dateRadio.thisMonth"),more:t("lobby.game.galaxyGold.seeMore")},[U.DY.LAST_MONTH]:{text:t("lobby.center.components.dateRadio.lastMonth"),more:t("lobby.game.galaxyGold.seeMore")}};return e&&i[e]?i[e]:""}render(){const e=arguments[0],{loading:t,finished:i,infinitySource:n,errorMessage:r}=this.state,{t:o}=(0,H.QT)(),a=this.getText(this.dateType);return e("div",{class:[F,"vantDataList"]},[!t&&!r&&0==n.length&&e(B.Li,[e(z.x,{slot:"image"}),e("div",{class:$},[a?.text?e("span",{class:q},[a?.text]):"",this.emptyText||o("lobby.event.luckyWheel.tabs.noData"),a?.more?e("span",["，",o("lobby.center.components.dateRadio.can"),e("a",{class:Y,attrs:{href:"#"},on:{click:()=>this.handleSeeMoreClick()}},[a?.more])]):""])]),(this.immediateCheck||!!n.length||!!r)&&e(B.uT,{class:{empty:0===n.length,reverse:this.backgroundColorReverse??!1},on:{load:this.onLoad},attrs:{finished:i,"loading-text":o("lobby.game.loadinged"),offset:20,error:!t&&!!r,"immediate-check":this.immediateCheck},model:{value:t,callback:e=>{t=e}}},[n.map((e=>this.listRenderItem(e))),e("div",{slot:"loading",class:V},[e(k.gE,{attrs:{spinning:!0}}),e("span",[o("lobby.game.loadinged"),"..."])]),e(W.Z,{slot:"error",on:{retry:this.onLoad},attrs:{displayType:0===n.length?W.F.ListData:W.F.vantList,axiosError:r,loading:t}})]),n.length>0&&this.footerRender&&this.footerRender()])}},T=(0,D.Z)(v.prototype,"defaultPageSize",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,D.Z)(v.prototype,"condition",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,D.Z)(v.prototype,"emptyText",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,D.Z)(v.prototype,"preQueryHook",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,D.Z)(v.prototype,"postQueryHook",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,D.Z)(v.prototype,"query",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,D.Z)(v.prototype,"listRenderItem",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,D.Z)(v.prototype,"footerRender",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,D.Z)(v.prototype,"backgroundColorReverse",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,D.Z)(v.prototype,"immediateCheck",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,D.Z)(v.prototype,"dateType",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,D.Z)(v.prototype,"seeMore",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,D.Z)(v.prototype,"resetPage",[g,b],Object.getOwnPropertyDescriptor(v.prototype,"resetPage"),v.prototype),(0,D.Z)(v.prototype,"onLoad",[y],Object.getOwnPropertyDescriptor(v.prototype,"onLoad"),v.prototype),w=v))||w)},21613:function(e,t,i){"use strict";i.d(t,{Rd:function(){return N},DY:function(){return k},UN:function(){return z},ZP:function(){return U}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v,T=i(53158),Z=i(55433),C=i(12040),S=i(38821),I=i(7174),E=i(58217),P=i(46930),_=i(1507),O=i(56343),R="rM039pSymXZ1j3TOKsM4",L="Qv6s8kdZfMcsNoljkOTK",A="BoRqmwDz1UNyF7cg8cB5",x="DEbb9br4ZSP3UMFwicwR",M="ZScynNvNJbJq6YHEY8pA",D="F5DuQ644tHoRMqnUO1O2";let N,k,z;!function(e){e[e.TODAY=0]="TODAY",e[e.YESTERDAY=1]="YESTERDAY",e[e.LAST_TOW_DAY=2]="LAST_TOW_DAY",e[e.LAST_SEVEN_DAY=7]="LAST_SEVEN_DAY",e[e.LAST_FIFTEEN_DAY=15]="LAST_FIFTEEN_DAY",e[e.LAST_THIRTY_DAY=30]="LAST_THIRTY_DAY",e[e.LAST_SIXTY_DAY=60]="LAST_SIXTY_DAY",e[e.THIS_MONTH=61]="THIS_MONTH",e[e.LAST_TOW_MONTH=62]="LAST_TOW_MONTH",e[e.LAST_THREE_MONTH=63]="LAST_THREE_MONTH",e[e.THIS_WEEK=-2]="THIS_WEEK",e[e.LAST_WEEK=-3]="LAST_WEEK",e[e.ALL=-1]="ALL",e[e.CUSTOMER=-4]="CUSTOMER",e[e.LAST_MONTH=-30]="LAST_MONTH"}(N||(N={})),function(e){e[e.TODAY=0]="TODAY",e[e.YESTERDAY=1]="YESTERDAY",e[e.THIS_WEEK=2]="THIS_WEEK",e[e.LAST_WEEK=3]="LAST_WEEK",e[e.THIS_MONTH=4]="THIS_MONTH",e[e.LAST_MONTH=5]="LAST_MONTH",e[e.ALL=-1]="ALL"}(k||(k={})),function(e){e[e.ALL=1e4]="ALL",e[e.UNDO=10001]="UNDO",e[e.PENDING=10002]="PENDING",e[e.DONE=10003]="DONE",e[e.ABANDONED=10004]="ABANDONED"}(z||(z={}));var U=(n=(0,S.wA)({name:"DateRadio"}),r=(0,S.yU)("dateType","change",{required:!0}),o=(0,S.fI)({required:!1}),a=(0,S.fI)({required:!1}),s=(0,S.fI)({default:!1}),l=(0,S.fI)({default:void 0}),c=(0,S.fI)(P.ZP.cssClass),u=(0,S.fI)(P.ZP.cssClass),h=(0,S.y1)("select"),n((p=class extends S.XY{constructor(...e){super(...e),(0,T.Z)(this,"dateTypeValue",m,this),(0,T.Z)(this,"radioList",f,this),(0,T.Z)(this,"optionList",g,this),(0,T.Z)(this,"selectMode",b,this),(0,T.Z)(this,"getPopupContainer",y,this),(0,T.Z)(this,"rootClass",w,this),(0,T.Z)(this,"dropdownClassName",v,this),(0,Z.Z)(this,"dateStart","")}get getRenderList(){if(this.optionList)return this.optionList;const{t:e}=(0,E.QT)(),t=[{label:e("lobby.center.components.dateRadio.today"),value:N.TODAY},{label:e("lobby.center.components.dateRadio.yesterday"),value:N.YESTERDAY},{label:e("lobby.center.components.dateRadio.lastTowDay"),value:N.LAST_TOW_DAY},{label:e("lobby.center.components.dateRadio.lastSevenDay"),value:N.LAST_SEVEN_DAY},{label:e("lobby.center.components.dateRadio.lastFifteenDay"),value:N.LAST_FIFTEEN_DAY},{label:e("lobby.center.components.dateRadio.lastThirtyDay"),value:N.LAST_THIRTY_DAY},{label:e("lobby.center.components.dateRadio.lastSixtyDay"),value:N.LAST_SIXTY_DAY},{label:e("lobby.center.components.dateRadio.lastMonth"),value:N.LAST_MONTH},{label:e("lobby.center.components.dateRadio.customize"),value:N.CUSTOMER},{label:e("lobby.center.components.dateRadio.thisMonth"),value:N.THIS_MONTH},{label:e("lobby.center.components.dateRadio.lastTwoMonth"),value:N.LAST_TOW_MONTH},{label:e("lobby.center.components.dateRadio.lastThreeMonth"),value:N.LAST_THREE_MONTH},{label:e("lobby.center.components.dateRadio.all"),value:N.ALL},{label:e("lobby.center.components.dateRadio.thisWeek"),value:N.THIS_WEEK},{label:e("lobby.center.components.dateRadio.lastWeek"),value:N.LAST_WEEK},{label:e("lobby.center.components.dateRadio.all"),value:z.ALL},{label:e("lobby.center.components.dateRadio.undo"),value:z.UNDO},{label:e("lobby.center.components.dateRadio.pending"),value:z.PENDING},{label:e("lobby.center.components.dateRadio.done"),value:z.DONE},{label:e("lobby.center.components.dateRadio.abandoned"),value:z.ABANDONED}];return this.radioList?.map((e=>{const i=t.find((t=>t.value===e));if(!i)throw new Error("radioList props must implement [StateConditionEnum] or [DateConditionEnum] ");return i}))}renderItem(e){const t=this.$createElement;return t("li",{class:[A,this.dateTypeValue===e.value?x:""],on:{click:()=>this.selectDate(e.value)}},[t("span",[e.label])])}selectDate(e){this.dateTypeValue=e;const t=O.Z.timestamp();switch(e){case N.TODAY:return{currentTime:t,targetTime:O.Z.getZeroTimestamp()};case N.YESTERDAY:return{currentTime:O.Z.getZeroTimestamp()-1,targetTime:O.Z.getZeroTimestamp(-1)};case N.LAST_TOW_DAY:return{currentTime:t,targetTime:O.Z.getZeroTimestamp(-2)};case N.LAST_SEVEN_DAY:return{currentTime:t,targetTime:O.Z.getZeroTimestamp(-7)};case N.LAST_FIFTEEN_DAY:return{currentTime:t,targetTime:O.Z.getZeroTimestamp(-15)};case N.LAST_THIRTY_DAY:return{currentTime:t,targetTime:O.Z.getZeroTimestamp(-30)};case N.THIS_MONTH:return{currentTime:t,targetTime:O.Z.getZeroTimestampInMonth()};case N.LAST_TOW_MONTH:return{currentTime:t,targetTime:O.Z.getZeroTimestampInMonth(-1)};case N.LAST_THREE_MONTH:return{currentTime:t,targetTime:O.Z.getZeroTimestampInMonth(-2)};case N.ALL:return{currentTime:t,targetTime:-1};default:return{currentTime:t,targetTime:t}}}renderRadio(){return(0,this.$createElement)("ul",{class:[R,this.rootClass??""],attrs:{"data-len":this.getRenderList.length}},[this.getRenderList.map((e=>this.renderItem(e)))])}renderSelect(){const e=this.$createElement,t=[D,L,_.ZP.CssClassName.Lobby.Antd.SelectSearch,this.dropdownClassName??"","dateRadioDropdown"].join(" ");return e(I.Ph.Tsx,{class:[M,this.rootClass??{}],attrs:{dropdownClassName:t,value:this.dateTypeValue,getPopupContainer:this.getPopupContainer},on:{select:e=>this.selectDate(e),dropdownVisibleChange:()=>{setTimeout((()=>{const e=document.querySelector(".dateRadioDropdown"),t=document.body.getBoundingClientRect().left;if(e){e.getBoundingClientRect().left<t&&(e.style.left=t+"px")}}),50)}}},[this.getRenderList.map((t=>e(I.Ph.Option.Tsx,{attrs:{value:t.value},key:String(t.value)},[t.label])))])}render(){return this.selectMode?this.renderSelect():this.renderRadio()}},m=(0,C.Z)(p.prototype,"dateTypeValue",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,C.Z)(p.prototype,"radioList",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,C.Z)(p.prototype,"optionList",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,C.Z)(p.prototype,"selectMode",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,C.Z)(p.prototype,"getPopupContainer",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,C.Z)(p.prototype,"rootClass",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,C.Z)(p.prototype,"dropdownClassName",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,C.Z)(p.prototype,"selectDate",[h],Object.getOwnPropertyDescriptor(p.prototype,"selectDate"),p.prototype),d=p))||d)},61835:function(e,t,i){"use strict";i.d(t,{Z:function(){return $}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v,T,Z=i(53158),C=i(55433),S=i(12040),I=i(38821),E=i(7174),P=i(77674),_=i(46851),O=i(58217),R=i(91475),L=i(75812),A=i(30381),x=i.n(A),M="dHVndEqlSzH6dxzVJAfg",D="_ba9Zt3JmFr3Awh14hea",N="_ScTsE6Lu_yRfh75UsiJ",k="C4HgC78kDj8JtwFFTbzU",z="dM5y3iUOFSTT_o2fPw1M",U="zRd6ojknTKJE6SLBKAAw",B="aH6Xr2ypMHyKQQj1H5X9",H="wFT0U9ao9FktEp8ucjMf",G="mUKBqGtLNrKhQnPmCAAd",W="UeGcUDomFlcc2mBQ0XIy",F="s2JSdFgwf1ZYcbOS284g",V="PHXUb7fPfE2exetcWFTQ";let $=(n=(0,I.wA)({name:"DateRangePickerH5"}),r=(0,I.fI)(),o=(0,I.fI)(),a=(0,I.fI)({required:!1,default:90}),s=(0,I.fI)({required:!1,default:5}),l=(0,I.fI)({required:!1,default:L.ZP.px2rem(64)}),c=(0,I.fI)({required:!1,default:30}),u=(0,I.fI)({required:!1,default:"ymd"}),h=(0,I.y1)("pickerConfirm"),d=(0,I.y1)("pickerCancel"),n((m=class extends I.XY{constructor(...e){super(...e),(0,Z.Z)(this,"startTime",f,this),(0,Z.Z)(this,"endTime",g,this),(0,Z.Z)(this,"limiDays",b,this),(0,Z.Z)(this,"visibleItemCount",y,this),(0,Z.Z)(this,"itemHeight",w,this),(0,Z.Z)(this,"limiSearchDays",v,this),(0,Z.Z)(this,"format",T,this),(0,C.Z)(this,"state",{startTime:"",endTime:"",isShowDateRange:!1,computedEndMaxDate:new Date})}onPickerConfirm(){const{siteInfos:e}=(0,R.h)(),t=x()(this.state.startTime,this.formatByLang).add(this.getTimeZoneDifference,"hour").utc().utcOffset(e?.timeZone??"").startOf("day"),i=x()(this.state.endTime,this.formatByLang).add(this.getTimeZoneDifference,"hour").utc().utcOffset(e?.timeZone??"").endOf("day");return this.setState({isShowDateRange:!1}),{startTime:t,endTime:i}}onPickerCancel(){this.setState({isShowDateRange:!1})}get getStartDate(){return this.state.startTime}get getStartMinDate(){return x()().subtract((this.limiDays??1)-1,"day").toDate()}get getTimeZoneDifference(){return x()().utcOffset()/60-this.siteutcOffset/60}get siteutcOffset(){return x()(this.startTime).utcOffset()}get getStartMaxDate(){const{siteInfos:e}=(0,R.h)();return x()().add(-this.getTimeZoneDifference,"hour").utc().utcOffset(e?.timeZone??"").toDate()}startOnChange(e){this.$nextTick((()=>{const t=e.getValues().join("-");this.state.startTime=x()(t).format(this.formatByLang);const i=x()(t).add(this.limiSearchDays-1,"days"),n=i.isBefore(this.getStartMaxDate)?i.toDate():this.getStartMaxDate;this.setState({computedEndMaxDate:n}),this.setEndTime(n)}))}setEndTime(e){const t=this.state.startTime,i=this.state.endTime,n=x()(i,this.formatByLang).isSameOrBefore(e),r=x()(i,this.formatByLang).isSameOrAfter(x()(t,this.formatByLang)),o=n&&r?i:t;this.$nextTick((()=>{this.state.endTime=o}))}get getEndDate(){return this.state.endTime}get getEndMinDate(){return x()(this.getStartDate,this.formatByLang).toDate()}get getEndMaxDate(){return this.state.computedEndMaxDate}endOnchange(e){this.$nextTick((()=>{this.state.endTime=x()(e.getValues().join("-")).format(this.formatByLang)}))}get formatByLang(){const{language:e}=(0,R.h)(),t=this.format;return _.CM.DateFormatMap[e][t]??_.CM.DateFormatMap.en_US[t]}created(){const e=x()(x()(new Date)).format(this.formatByLang);this.setState({startTime:this.startTime?x()(this.startTime).format(this.formatByLang):e,endTime:this.endTime?x()(this.endTime).format(this.formatByLang):e,computedEndMaxDate:this.getStartMaxDate})}deactivated(){this.setState({isShowDateRange:!1})}render(){const e=arguments[0],{t:t}=(0,O.QT)();return e("div",{class:N},[e("div",{class:W,on:{click:()=>this.setState({isShowDateRange:!0})}},[e("div",{class:F},[e("div",[e(E.II.Tsx,{attrs:{placeholder:t("lobby.promote.startTime"),readOnly:!0},model:{value:this.state.startTime,callback:e=>{this.$set(this.state,"startTime",e)}}})])]),e("div",{class:V},[e("div",[e(E.II.Tsx,{attrs:{placeholder:t("lobby.promote.endTime"),readOnly:!0},model:{value:this.state.endTime,callback:e=>{this.$set(this.state,"endTime",e)}}})])])]),this.state.isShowDateRange&&e("div",{class:M},[e("div",{class:k},[e("div",{class:z},[e("h5",{class:D},[t("lobby.promote.startTime")]),e(P.Mt,{attrs:{"item-height":this.itemHeight,"visible-item-count":this.visibleItemCount,minDate:this.getStartMinDate,maxDate:this.getStartMaxDate,type:"date",showToolbar:!1,"swipe-duration":100,value:x()(this.getStartDate,this.formatByLang).toDate()},on:{change:this.startOnChange}}),e(E.zx.Tsx,{attrs:{type:"link"},class:[B],on:{click:this.onPickerCancel}},[t("lobby.promote.cancel")])]),e("div",{class:G}),e("div",{class:U},[e("h5",{class:D},[t("lobby.promote.endTime")]),e(P.Mt,{attrs:{"item-height":this.itemHeight,"visible-item-count":this.visibleItemCount,minDate:this.getEndMinDate,maxDate:this.getEndMaxDate,type:"date",showToolbar:!1,"swipe-duration":100,value:x()(this.getEndDate,this.formatByLang).toDate()},on:{change:this.endOnchange}}),e(E.zx.Tsx,{attrs:{type:"link"},on:{click:this.onPickerConfirm},class:[H]},[t("lobby.promote.confirm")])])])])])}},f=(0,S.Z)(m.prototype,"startTime",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,S.Z)(m.prototype,"endTime",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,S.Z)(m.prototype,"limiDays",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,S.Z)(m.prototype,"visibleItemCount",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,S.Z)(m.prototype,"itemHeight",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,S.Z)(m.prototype,"limiSearchDays",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,S.Z)(m.prototype,"format",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,S.Z)(m.prototype,"onPickerConfirm",[h],Object.getOwnPropertyDescriptor(m.prototype,"onPickerConfirm"),m.prototype),(0,S.Z)(m.prototype,"onPickerCancel",[d],Object.getOwnPropertyDescriptor(m.prototype,"onPickerCancel"),m.prototype),p=m))||p)},95692:function(e,t,i){"use strict";i.d(t,{h:function(){return R},x:function(){return L}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v,T,Z,C,S,I=i(53158),E=i(12040),P=i(38821),_=i(88763),O=i(46930);let R=(n=(0,P.fI)(O.ZP.number.def(210)),r=(0,P.fI)(O.ZP.number.def(210)),o=(0,P.fI)(O.ZP.number.def(210)),a=(0,P.fI)(O.ZP.number.def(210)),s=(0,P.fI)(O.ZP.string.def("")),(0,P.wA)((c=class extends P.XY{constructor(...e){super(...e),(0,I.Z)(this,"width",u,this),(0,I.Z)(this,"height",h,this),(0,I.Z)(this,"mobileWidth",d,this),(0,I.Z)(this,"mobileHeight",p,this),(0,I.Z)(this,"src",m,this)}render(){const e=arguments[0],t=this.$pinia.state.value.app.screenSize!==_._G.S?this.width:this.mobileWidth,i=this.$pinia.state.value.app.skinId;return e("my-img",{class:"empty-image-game",attrs:{src:this.src?this.src:["1-1-5"].includes(i)?"/lobby_asset/{layout}-{bg}-{skin}/common/common/img_none_sj.png":"/lobby_asset/{layout}-{bg}-common/common/common/img_none_sj.png",width:t}})}},u=(0,E.Z)(c.prototype,"width",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,E.Z)(c.prototype,"height",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,E.Z)(c.prototype,"mobileWidth",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,E.Z)(c.prototype,"mobileHeight",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,E.Z)(c.prototype,"src",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=c))||l),L=(f=(0,P.fI)(O.ZP.number.def(210)),g=(0,P.fI)(O.ZP.number.def(210)),b=(0,P.fI)(O.ZP.number.def(210)),y=(0,P.fI)(O.ZP.number.def(210)),(0,P.wA)((v=class extends P.XY{constructor(...e){super(...e),(0,I.Z)(this,"width",T,this),(0,I.Z)(this,"height",Z,this),(0,I.Z)(this,"mobileWidth",C,this),(0,I.Z)(this,"mobileHeight",S,this)}render(){const e=arguments[0],t=this.$pinia.state.value.app.screenSize!==_._G.S,i=t?this.width:this.mobileWidth,n=t?this.height:this.mobileHeight,r=this.$pinia.state.value.app.skinId;return e("my-img",{class:"empty-image-report",attrs:{src:["1-1-5"].includes(r)?"/lobby_asset/{layout}-{bg}-{skin}/common/common/img_none_sj.png":"/lobby_asset/{layout}-{bg}-common/common/common/img_none_sj.png",width:i,height:n}})}},T=(0,E.Z)(v.prototype,"width",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,E.Z)(v.prototype,"height",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,E.Z)(v.prototype,"mobileWidth",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,E.Z)(v.prototype,"mobileHeight",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=v))||w)},56822:function(e,t,i){"use strict";i.d(t,{Z:function(){return c}});var n=i(36568),r=i.n(n),o=i(55433),a=i(29339),s=i(20670),l=i(56027);class c extends s.Z{}(0,o.Z)(c,"createAsyncComponent",(({name:e,component:t,loadingComponentConfig:i={},mode:n="standard"})=>{const o=()=>({component:t(),delay:0,loading:{render(){return(0,arguments[0])(a.gE,r()([{class:[l.Z.loadingComponentCom],attrs:{spinning:!1}},i]))}}});return"async-on-sync"===n?{name:`async-on-sync-${e}`,components:{"component-view":()=>o()},render(){return(0,arguments[0])("component-view")}}:()=>o()}))},25613:function(e,t,i){"use strict";i.d(t,{Z:function(){return D}});var n,r,o,a,s,l,c,u,h,d,p,m=i(36568),f=i.n(m),g=i(82492),b=i.n(g),y=i(53158),w=i(55433),v=i(12040),T=i(38821),Z=i(46851),C=i(7174),S=i(71743),I=i(58217),E=i(91475),P=i(30727),_="qA86Jqcjq1OufihXcr1t",O="XpFOfLMLgs4mR0oDuGJP",R="wBgpoOq46RrLK_aoDgwF",L="GrdJg_b_XZISqI_T4vov",A="JLuecDvUv1W7eCH0c_Zj",x="QiK1Nlecb2bkI4p9L_9z",M="GR4DKmm8lsXCgILdZNPo";let D=(n=(0,T.wA)({name:"PhoneSegment"}),r=(0,T.fI)(),o=(0,T.fI)(),a=(0,T.fI)(),s=(0,T.RL)("smsSegment",{immediate:!0}),l=(0,T.y1)("change"),n((u=class extends T.XY{constructor(...e){super(...e),(0,y.Z)(this,"hideArrowOnlyOne",h,this),(0,y.Z)(this,"inline",d,this),(0,y.Z)(this,"selectTsxData",p,this),(0,w.Z)(this,"loading",!1),(0,w.Z)(this,"fetchError",!1)}get smsCountrys(){return(0,E.h)().smsCountrys}get smsCountry(){return(0,E.h)().smsCountry}get smsSegment(){return(0,E.h)().smsSegment}get hideArrow(){if(1===this.smsCountrys.length&&this.hideArrowOnlyOne)return!0;const e=this.selectTsxData?.props?.showArrow;return void 0!==e&&!e}get selectValue(){if(this.smsCountry?.countryName&&this.smsSegment)return`${this.smsCountry.countryName}=${this.smsSegment}`}onChange(){return this.smsSegment}async initSmsCountry(){this.loading=!0;const e=await P.Z.initSmsCountry();this.loading=!1,this.fetchError=Boolean(e)}mounted(){this.initSmsCountry()}render(){const e=arguments[0],{t:t}=(0,I.QT)();return e("span",{class:[_,this.hideArrow?R:O],attrs:{"data-inline":this.inline}},[e("span",{directives:[{name:"show",value:this.fetchError}],class:L,on:{click:this.initSmsCountry}},[e("icon-sprite",{class:[A,[{[Z.CM.CssClassName.Animate.Animated]:this.loading},Z.CM.CssClassName.Animate.Spin,Z.CM.CssClassName.Animate.Repeat.infinite]],attrs:{sprite:(0,S.T9)("comm_icon_retry")}})]),e("div",{class:x},[this.smsCountry&&e("my-img",{attrs:{src:this.smsCountry.icon,width:36,height:27}})]),e(C.Ph.Tsx,f()([{attrs:{"show-search":!0,dropdownMatchSelectWidth:!1,dropdownClassName:M,notFoundContent:t("lobby.modal.noData"),optionLabelProp:"label",value:this.selectValue},class:Z.CM.CssClassName.Lobby.Antd.SelectSearch,on:{change:e=>{const t=e.split("=")[1];(0,E.h)().updateSmsSegment(t)}}},b()(this.selectTsxData),{attrs:{showArrow:this.selectTsxData?.showArrow??!this.hideArrow,disabled:this.selectTsxData?.disabled??this.hideArrow}}]),[this.smsCountrys.map((t=>e(C.Ph.Option.Tsx,{attrs:{value:`${t.countryName}=${t.phoneNumberSegment}`,label:t.phoneNumberSegment},key:`${t.countryName}=${t.phoneNumberSegment}`},[e("div",{class:"segment-dropdown-item"},[e(C.JO.Tsx,{class:"segment-dropdown-item-icon",attrs:{component:{functional:!0,render:()=>e("my-img",{attrs:{src:t.icon,width:36,height:27}})}}}),e("span",{class:"segment-dropdown-item-text"},[`${t.countryName}（${t.phoneNumberSegment}）`])])])))])])}},h=(0,v.Z)(u.prototype,"hideArrowOnlyOne",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,v.Z)(u.prototype,"inline",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,v.Z)(u.prototype,"selectTsxData",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,v.Z)(u.prototype,"onChange",[s,l],Object.getOwnPropertyDescriptor(u.prototype,"onChange"),u.prototype),c=u))||c)},44104:function(e,t,i){"use strict";i.d(t,{Z:function(){return C}});var n=i(36568),r=i.n(n),o=i(82492),a=i.n(o),s=i(36968),l=i.n(s),c=i(27361),u=i.n(c),h=i(72698),d=i(62933),p=i(7174),m=i(46851),f=i(71743),g=i(63141),b=i(58217),y=i(91475),w=i(20670),v=i(50008),T=i(25613),Z=i(56027);class C extends w.Z{static createOnInputChange(e,t,i=(e=>e)){return n=>{let r=u()(n,"target.value");i&&(r=i(r)),l()(e,t,r)}}static createFormModelItem(){const e=this.$createElement,{t:t}=(0,b.QT)(),i=t=>e(p.au.Item.Tsx,r()([{key:t.prop,class:[`base-form-item-${t.prop}`,Z.Z["base-form-item"],t.isexplainAuto?Z.Z["base-form-item-auto"]:""]},a()({props:{prop:t.prop,colon:!1},attrs:{htmlFor:"none","data-validate-field":t.prop,"data-show-prefix":!t.hiddenPrefix}},t.formModelItemTsxData)]),[t.render(t.model)]);return{custom:i,baseSelect:t=>{t=a()({hiddenPrefix:!0},t);const n=[Z.Z["base-select-dropdown"],...(t.selectTsxData?.props?.dropdownClassName||"")?.split(" ")];return i({...t,formModelItemTsxData:a()({class:Z.Z["base-select"]},t.formModelItemTsxData),render:()=>[t.render?t.render(t.model):null,e(p.Ph.Tsx,r()([{class:[Z.Z.select,t.showPrefix?Z.Z["has-select-prefix"]:""],attrs:{value:t.current},on:{change:t.onSelectChange}},a()(t.selectTsxData,{props:{dropdownClassName:n.join(" ")}}),{attrs:{placeholder:t.placeholder}}]),[t.listData.map((t=>e(p.Ph.Option.Tsx,{attrs:{value:t.value},key:String(t.label)},[t.label])))]),t.showPrefix?e("div",{class:[Z.Z["custom-select-icon"],Z.Z["custom-select-email-icon"]]},[e(p.JO.Tsx,{slot:"suffixIcon",attrs:{component:{functional:!0,render:()=>e("icon-sprite",{attrs:{sprite:t.showPrefix}})}}})]):null]})},username:n=>{const o=n.getRules||(e=>Object.values(e));return i({...n,formModelItemTsxData:a()({props:{rules:o({required:m.sG.Rules.username(void 0,{required:!0}),pattern:m.sG.Rules.username()})}},n.formModelItemTsxData),render:()=>[n.showLabel?e("template",{slot:"label"},[e("div",[e(p.JO.Tsx,{directives:[{name:"show",value:!n.hiddenIcon}],attrs:{component:{functional:!0,render:()=>e("icon-sprite",{attrs:{sprite:(0,f.T9)("input_icon_zh")}})}}}),e(v.Z,{attrs:{minFontSize:"0.14rem",text:n.label||t("lobby.modal.login.form.username.label")}})])]):null,e(p.II.Tsx,r()([{attrs:{value:u()(n.model,n.prop),disabled:n.disabled,allowClear:!0,placeholder:t("lobby.modal.login.form.username.label")},on:{change:C.createOnInputChange(n.model,n.prop,n.beforeChange)}},a()({attrs:{autocomplete:"off",maxLength:16}},n.inputTsxData)]),[n.editText&&e("span",{slot:"suffix",attrs:{"data-click-suffix":!0},class:Z.Z["input-edit-disabled"],on:{click:n.onEditText}},[t("lobby.modal.login.operate.modify")]),!n.hiddenPrefix&&(n?.prefix||e("div",{slot:"prefix"},[e(p.JO.Tsx,{attrs:{component:{functional:!0,render:()=>e("icon-sprite",{attrs:{sprite:(0,f.T9)("input_icon_zh")}})}}}),n.isRequired&&!n.showLabel&&e("span",{class:Z.Z.formRequired},["*"])])),n.suffix])]})},userRealName:n=>{const o=n.getRules||(e=>Object.values(e)),{systemInfos:s}=(0,y.h)(),{realNameMustUppercase:l}=s||{};return i({...n,formModelItemTsxData:a()({props:{rules:o({required:m.sG.Rules.required({},{message:l===d.Et.YES?()=>t("lobby.modal.login.form.realName.realNameTips3"):()=>t("lobby.modal.login.form.realName.realNameTips2")}),pattern:m.sG.Rules.required()})}},n.formModelItemTsxData),render:()=>[n.showLabel?e("template",{slot:"label"},[e("div",[e(p.JO.Tsx,{directives:[{name:"show",value:!n.hiddenIcon}],attrs:{component:{functional:!0,render:()=>e("icon-sprite",{attrs:{sprite:(0,f.T9)("input_icon_zsxm")}})}}}),e("span",[n.label||t("lobby.modal.login.form.realName.label")])])]):null,e(p.II.Tsx,r()([{attrs:{disabled:n.disabled,value:u()(n.model,n.prop),maxlength:100,allowClear:!0,placeholder:n.placeholder??t("lobby.modal.login.form.realName.label")},on:{change:n?.onChange||C.createOnInputChange(n.model,n.prop)}},a()({attrs:{autocomplete:"off",maxLength:75}},n.inputTsxData)]),[!n.hiddenPrefix&&e("div",{slot:"prefix"},[e(p.JO.Tsx,{directives:[{name:"show",value:!n.hiddenIcon}],attrs:{component:{functional:!0,render:()=>e("icon-sprite",{class:Z.Z.realNameIcon,attrs:{sprite:(0,f.T9)("input_icon_zsxm")}})}}}),n.isRequired&&!n.showLabel&&e("span",{class:Z.Z.formRequired},["*"])])])]})},usercpf:n=>{const o=n.getRules||(e=>Object.values(e));return i({...n,formModelItemTsxData:a()({props:{rules:o({required:m.sG.Rules.usercpf(void 0,{required:!0}),pattern:m.sG.Rules.usercpf()})}},n.formModelItemTsxData),render:()=>[n.showLabel?e("template",{slot:"label"},[e("div",[e(p.JO.Tsx,{directives:[{name:"show",value:!n.hiddenIcon}],attrs:{component:{functional:!0,render:()=>e("icon-sprite",{attrs:{sprite:(0,f.T9)("icon_wd_cpf")}})}}}),e("span",[n.label||t("lobby.center.security.cpf.label")])])]):null,e(p.II.Tsx,r()([{attrs:{value:u()(n.model,n.prop),allowClear:!0,placeholder:n.isRequired?t("lobby.common.formRules.usercpf"):"CPF"},on:{change:n?.onChange||C.createOnInputChange(n.model,n.prop,n.beforeChange)}},a()({attrs:{autocomplete:"off",maxLength:11}},n.inputTsxData)]),[!n.hiddenPrefix&&e("div",{slot:"prefix"},[e(p.JO.Tsx,{directives:[{name:"show",value:!n.hiddenIcon}],attrs:{component:{functional:!0,render:()=>e("icon-sprite",{attrs:{sprite:(0,f.T9)("icon_wd_cpf")}})}}}),n.isRequired&&!n.showLabel&&e("span",{class:Z.Z.formRequired},["*"])])])]})},userpass:n=>{const o=n.stint,s=n.getRules||(e=>Object.values(e)),l={required:n.isReadConfig?m.sG.Rules.dynamicUserpass({isReadConfig:n.isReadConfig??!1},{required:!0}):m.sG.Rules.userpass({required:!0,stint:o}),pattern:n.isReadConfig?m.sG.Rules.dynamicUserpass():m.sG.Rules.userpass({stint:o})};return i({...n,formModelItemTsxData:a()({props:{rules:s(l)}},n.formModelItemTsxData),render:()=>[n.showLabel?e("template",{slot:"label"},[e("div",[e(p.JO.Tsx,{directives:[{name:"show",value:!n.hiddenIcon}],attrs:{component:{functional:!0,render:()=>e("icon-sprite",{attrs:{sprite:(0,f.T9)("input_icon_mm")}})}}}),e(v.Z,{attrs:{minFontSize:"0.14rem",text:n.label||t("lobby.modal.login.form.userpass.label")}})])]):null,e(p.II.Password.Tsx,r()([{attrs:{placeholder:t("lobby.modal.login.form.userpass.label"),allowClear:!0,value:u()(n.model,n.prop)},on:{change:C.createOnInputChange(n.model,n.prop,n.beforeChange)}},a()({attrs:{autocomplete:"new-password",maxLength:16}},n.inputTsxData)]),[!n.hiddenPrefix&&e("div",{slot:"prefix"},[e("icon-sprite",{class:Z.Z.passIcon,attrs:{sprite:(0,f.T9)("input_icon_mm")}}),n.isRequired&&!n.showLabel&&e("span",{class:Z.Z.formRequired},["*"])])])]})},userpassCustomSuffix:n=>{n.visible=void 0!==n.visible&&n.visible;const o=n.stint,s=n.getRules||(e=>Object.values(e)),c={required:n.isReadConfig?m.sG.Rules.dynamicUserpass({isReadConfig:n.isReadConfig??!1},{required:!0}):m.sG.Rules.userpass({required:!0,stint:o}),pattern:n.isReadConfig?m.sG.Rules.dynamicUserpass():m.sG.Rules.userpass({stint:o})};return i({...n,formModelItemTsxData:a()({props:{rules:s(c)}},n.formModelItemTsxData),render:()=>[n.showLabel?e("template",{slot:"label"},[e("div",[e(p.JO.Tsx,{directives:[{name:"show",value:!n.hiddenIcon}],attrs:{component:{functional:!0,render:()=>e("icon-sprite",{attrs:{sprite:(0,f.T9)("input_icon_mm")}})}}}),e("span",[n.label||t("lobby.modal.login.form.userpass.label")])])]):null,e(p.II.Password.Tsx,r()([{class:"custom-suffix-input",attrs:{hack_customSuffix:!0,disabled:n.showEditBtn,hack_defaultVisible:n.visible,type:n.visible?"text":"password",suffix:()=>e("span",{class:"custom-suffix-span",slot:"suffix",attrs:{"data-show-edit":n.showEditBtn}},[e("span",{class:"anticon ant-input-password-icon "+(n.visible?"":"anticon-eye-invisible"),style:{cursor:"pointer"},on:{click:n.onOpenEye}},[e("icon-sprite",{attrs:{sprite:n.visible?(0,f.T9)("comm_icon_show"):(0,f.T9)("comm_icon_hide")}})]),n.showEditBtn&&e("span",{class:"custom-suffix-edit-btn",attrs:{"data-click-suffix":!0},on:{click:n.onEditText}},[t("lobby.modal.login.operate.modify")])]),placeholder:t("lobby.modal.login.form.userpass.label"),allowClear:!0,value:u()(n.model,n.prop)},on:{change:e=>{let t=u()(e,"target.value")??"";n.beforeChange&&(t=n.beforeChange(t)),t=t.replace(/[\u4E00-\u9FA5\s]/g,""),l()(n.model,n.prop,t)}}},a()({attrs:{autocomplete:"new-password",maxLength:16}},n.inputTsxData)]),[!n.hiddenPrefix&&e("div",{slot:"prefix"},[e("icon-sprite",{class:Z.Z.passIcon,attrs:{sprite:(0,f.T9)("input_icon_mm")}}),n.isRequired&&!n.showLabel&&e("span",{class:Z.Z.formRequired},["*"])])])]})},useremail:n=>{n.atuoLowerCase=n.atuoLowerCase??!0,n.showDropdown=n.showDropdown??!0;const o=n.getRules||(e=>Object.values(e)),s=u()(n.model,n.prop),c=[Z.Z["base-select-dropdown"],"base-form-item-email-select",...(n.selectTsxData?.props?.dropdownClassName||"")?.split(" ")],{emailSuffix:h}=(0,y.h)(),d=n.showDropdown&&s?h.map((e=>{const t=s.split("@")?.[0];return{label:t+e,value:t+e}})):[];return i({...n,formModelItemTsxData:a()({props:{rules:o({required:m.sG.Rules.useremail(void 0,{required:!0,message:()=>t(s?"lobby.common.components.auth.email.formatError":"lobby.modal.pay.personalEmailInfoRequired")}),pattern:m.sG.Rules.useremail()})},class:[Z.Z["email-select-input"]]},n.formModelItemTsxData),render:()=>[e(p.Ph.Tsx,r()([{class:n.hiddenIcon?"":Z.Z["email-has-select-prefix"],attrs:{value:s,showArrow:!1,showSearch:!0,notFoundContent:null,optionFilterProp:"children",mode:"combobox",placeholder:n?.selectTsxData?.placeholder??t("lobby.common.components.auth.email.inputTips")},on:{change:e=>{(e=e.replace(/\s/g,""))?.length<=50&&(n.atuoLowerCase&&(e=e.toLocaleLowerCase()),l()(n.model,n.prop,e),n?.onSelectChange?.(e))}}},a()(n.selectTsxData,{props:{dropdownClassName:c.join(" ")}})]),[d.map((t=>e(p.Ph.Option.Tsx,{key:t.value},[t.label])))]),n.showLabel?e("template",{slot:"label"},[e("div",[e(p.JO.Tsx,{directives:[{name:"show",value:!n.hiddenIcon}],attrs:{component:{functional:!0,render:()=>e("icon-sprite",{attrs:{sprite:(0,f.T9)(n.customIcon??"input_icon_yj2")}})}}}),e("span",[n.label||t("lobby.common.components.auth.email.label")])])]):e("div",{class:[Z.Z["custom-select-icon"],Z.Z["custom-select-email-icon"]]},[e(p.JO.Tsx,{attrs:{component:{functional:!0,render:()=>e("icon-sprite",{props:{...(0,f.Mg)({path:"/lobby_asset/common/common/login/login_icon_yx02.png",width:36,height:30})}})}}}),n.isRequired&&!n.showLabel&&e("span",{class:Z.Z.formRequired},["*"])]),n.showLabel&&!n.hiddenPrefix?e("div",{class:[Z.Z["custom-select-icon"],Z.Z["custom-select-email-icon"]]},[e(p.JO.Tsx,{attrs:{component:{functional:!0,render:()=>e("icon-sprite",{attrs:{sprite:(0,f.T9)(n.customIcon??"input_icon_yj2")}})}}}),!n.showLabel&&e("span",{class:Z.Z.formRequired},["*"])]):e("template")]})},userPhoneSelect:n=>{const{smsCountry:o}=(0,y.h)(),s=n.getRules||(e=>Object.values(e)),c=o?.phoneLengthScope?Math.max(...o.phoneLengthScope.split(",").map(Number)):null;return i({prop:n.prop,model:n.model,formModelItemTsxData:a()({props:{rules:s({required:m.sG.Rules.required({requiredItem:()=>t("lobby.modal.login.form.phone.label")}),pattern:m.sG.Rules.create({validator:(e,t,i)=>(l()(n.model,n.prop,(0,g.$A)(t,{maxLength:c||t.length})),i(),!0)})})},class:[Z.Z["phone-select-input"]]},n.formModelItemTsxData),render:()=>[n.showLabel?e("template",{slot:"label"},[e("div",[e(p.JO.Tsx,{directives:[{name:"show",value:!n.hiddenIcon}],attrs:{component:{functional:!0,render:()=>e("icon-sprite",{attrs:{sprite:(0,f.T9)("input_icon_sj")}})}}}),e(v.Z,{attrs:{minFontSize:"0.14rem",text:n.label||t("lobby.modal.login.form.phone.label")}})])]):null,e(p.II.Tsx,r()([{class:[Z.Z["input-select"],"func-input__select"],attrs:{value:u()(n.model,n.prop),allowClear:!0,placeholder:t("lobby.modal.login.form.phone.placeholder")},on:{change:e=>{n?.onInputChange?.(u()(e,"target.value")),"0"!==u()(e,"target.value")[0]?l()(n.model,n.prop,u()(e,"target.value")):m.sG.Modal.message({type:"warning",content:t("lobby.modal.login.form.phone.viError")})}}},a()({attrs:{autocomplete:"off"}},n.inputTsxData)]),[e("div",{slot:"prefix",class:Z.Z["select-width-icon"]},[e(T.Z,{attrs:{inline:!0,selectTsxData:n.selectTsxData},on:{change:n.onSelectChange}}),n.isRequired&&!n.showLabel&&e("span",{class:[Z.Z.formRequired,Z.Z.phoneFormRequired]},["*"])])])]})},userCurrencySelect:n=>{const o=n.getRules||(e=>Object.values(e)),s=[Z.Z["base-select-dropdown"],"base-form-item-currency-select",...(n.selectTsxData?.props?.dropdownClassName||"")?.split(" ")],l=h.F.registerList(n.currencyInfos);return i({...n,formModelItemTsxData:a()({props:{rules:o({required:m.sG.Rules.create({required:!0,message:()=>t("lobby.modal.register.selectCountry")}),pattern:m.sG.Rules.required()})}},n.formModelItemTsxData),render:()=>[n.showLabel?e("template",{slot:"label"},[e("div",{class:Z.Z.currencyText},[e(p.JO.Tsx,{directives:[{name:"show",value:!n.hiddenIcon&&!n.hiddenLabelIcon}],attrs:{component:{functional:!0,render:()=>e("icon-sprite",{attrs:{sprite:(0,f.T9)("input_icon_sj")}})}}}),e(v.Z,{attrs:{minFontSize:"0.14rem",text:n.label||t("lobby.modal.register.accountCoinType")}})])]):null,e(p.Ph.Tsx,r()([{class:[n.current?"currency-select":"currency-select-required"],attrs:{value:n?.current,notFoundContent:t("lobby.modal.noData")},on:{change:n.onSelectChange}},a()(n.selectTsxData,{props:{dropdownClassName:s.join(" ")}}),{attrs:{disabled:n.disabled,placeholder:t("lobby.modal.register.selectCountry")}}]),[l.map((t=>e(p.Ph.Option.Tsx,{attrs:{value:t?.currencyCode},key:t?.currencyCode},[e("div",{class:[Z.Z.selectOption]},[e("div",[e(p.JO.Tsx,{class:[Z.Z.optionIcon],attrs:{component:{functional:!0,render:()=>e("icon-sprite",{props:{...(0,f.Mg)({path:t.icon,width:36,height:36})}})}}}),t.currencyType===d.Tl.CRYPTO?e("span",[t.currencyDisplay]):e("span",[t.currencyDisplay,"(",t.currencyName,")"])])])])))])]})}}}}},50712:function(e,t,i){"use strict";i.d(t,{Z:function(){return p}});var n,r,o,a,s,l=i(53158),c=i(12040),u=i(38821),h=i(46930),d="BAzqMpXlvzQjUnGhWCYs";let p=(n=(0,u.wA)({name:"GuideClick"}),r=(0,u.fI)(h.ZP.style.def({})),n((a=class extends u.XY{constructor(...e){super(...e),(0,l.Z)(this,"customStyle",s,this)}render(){return(0,arguments[0])("my-img",{class:d,style:this.customStyle,attrs:{src:"/lobby_asset/common/common/home/img_xf_hand.png"}})}},s=(0,c.Z)(a.prototype,"customStyle",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=a))||o)},29339:function(e,t,i){"use strict";i.d(t,{F0:function(){return At},RK:function(){return kt.Z},dp:function(){return En.default},Ci:function(){return di.ZP},$_:function(){return Vi},gE:function(){return l.Z},KH:function(){return Oi},tK:function(){return U},Gy:function(){return Ut},Ql:function(){return un},dj:function(){return jn},L4:function(){return Rn},CO:function(){return A.Z},FN:function(){return c.Z},EH:function(){return R.Z},kx:function(){return L.Z}});var n,r,o,a,s,l=i(16573),c=i(30516),u=i(53158),h=i(12040),d=i(38821),p="sdRXNYUQUhH925OxQhB9",m="wyX9RJQa0WRtfEdUUvnN";n=(0,d.wA)({name:"CommonTitle"}),r=(0,d.fI)({required:!0}),n((a=class extends d.XY{constructor(...e){super(...e),(0,u.Z)(this,"titleContent",s,this)}render(){const e=arguments[0];return e("span",{class:p},[e("span",{class:m}),e("auto-text",{attrs:{maxSize:30,width:1170,height:44,text:this.titleContent}})])}},s=(0,h.Z)(a.prototype,"titleContent",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=a));var f,g,b,y,w,v,T,Z,C,S,I,E,P,_,O,R=i(11439),L=i(36476),A=i(65086),x=i(91475),M=i(46930),D=i(80081),N="cNvGQvy_BCwkfCd6pd6q",k="m0FblQU8qzDajDNxXyZN",z="p1v1Kofv8FGkIrX7dQth";let U=(f=(0,d.wA)({name:"PageLayout"}),g=(0,d.fI)(),b=(0,d.fI)(M.ZP.looseBool),y=(0,d.fI)(M.ZP.bool.def(!0)),w=(0,d.fI)(M.ZP.bool.def(!0)),v=(0,d.fI)(M.ZP.bool.def(!0)),T=(0,d.fI)(M.ZP.func.def(void 0)),f((C=class extends d.XY{constructor(...e){super(...e),(0,u.Z)(this,"titleContent",S,this),(0,u.Z)(this,"loading",I,this),(0,u.Z)(this,"showBack",E,this),(0,u.Z)(this,"needH5Height",P,this),(0,u.Z)(this,"isShadowContent",_,this),(0,u.Z)(this,"goBack",O,this)}renderHeader(){const e=this.$createElement;return this.titleContent?e("header",{class:k},[e("my-title",{attrs:{showBack:this.showBack,title:this.titleContent,needH5Height:this.needH5Height,goBack:this.goBack}})]):null}get isWeb(){return(0,x.h)().isWeb}render(){const e=arguments[0];return e("section",{class:N},[e(D.Z,[this.$scopedSlots.header?.()||this.renderHeader(),e(l.Z,{attrs:{spinning:this.loading},class:{[z]:this.isWeb&&this.isShadowContent,"page-loading__content":!0}},[this.$slots?.default]),this.$scopedSlots.footer?.()])])}},S=(0,h.Z)(C.prototype,"titleContent",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,h.Z)(C.prototype,"loading",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,h.Z)(C.prototype,"showBack",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,h.Z)(C.prototype,"needH5Height",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,h.Z)(C.prototype,"isShadowContent",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,h.Z)(C.prototype,"goBack",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=C))||Z);var B,H,G,W,F,V,$,q,Y,j,K,X,Q,J=i(36568),ee=i.n(J),te=i(82492),ie=i.n(te),ne=i(55433),re=i(70753),oe=i(62933),ae=i(7174),se=i(46851),le=i(5860),ce=i(71743),ue=i(63141),he=i(75990),de=i(58217),pe=i(1507),me=i(4074),fe="qqhDfh0Yw8XfaLbPnS1v";let ge=(B=(0,d.wA)({name:"CountdownBtn"}),H=(0,d.fI)(M.ZP.number.def(60)),G=(0,d.fI)(M.ZP.bool),W=(0,d.fI)(),F=(0,d.fI)(M.ZP.string.def("link")),V=(0,d.y1)("click"),$=(0,d.y1)("complete"),B((Y=class extends d.XY{constructor(...e){super(...e),(0,u.Z)(this,"duration",j,this),(0,u.Z)(this,"disabled",K,this),(0,u.Z)(this,"loading",X,this),(0,u.Z)(this,"type",Q,this),(0,ne.Z)(this,"countDownValue",-1)}get isCountingDown(){return this.countDownValue>-1}get isDisabled(){return this.disabled||this.isCountingDown}onClick(){}onComplete(){}reset(){this.countDownAnimation?.kill(),this.countDownValue=-1,this.countDownAnimation=null}doCountDown(){if(this.isDisabled)return;const e=this.duration;this.countDownValue=e,this.countDownAnimation?.kill(),this.countDownAnimation=new me.ZP({time:e}).to({time:0},1e3*e,"none").on(me.ZP.EventType.UPDATE,(e=>{this.countDownValue=parseInt(e.time)})).on(me.ZP.EventType.COMPLETE,(()=>{this.reset(),this.onComplete()}))}defaultRender(){const e=this.$createElement,{t:t}=(0,de.QT)();return this.isCountingDown?t("lobby.modal.login.form.smsCode.counting",{seconds:this.countDownValue}):e("span",{class:fe},[t("lobby.modal.login.form.smsCode.send")])}render(){return(0,arguments[0])(ae.zx.Tsx,{attrs:{type:this.type,loading:this.loading,disabled:this.isDisabled},on:{click:this.onClick}},[this.$scopedSlots?.default?.({isCountingDown:this.isCountingDown,countDownValue:this.countDownValue})||this.defaultRender()])}},j=(0,h.Z)(Y.prototype,"duration",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,h.Z)(Y.prototype,"disabled",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,h.Z)(Y.prototype,"loading",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=(0,h.Z)(Y.prototype,"type",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,h.Z)(Y.prototype,"onClick",[V],Object.getOwnPropertyDescriptor(Y.prototype,"onClick"),Y.prototype),(0,h.Z)(Y.prototype,"onComplete",[$],Object.getOwnPropertyDescriptor(Y.prototype,"onComplete"),Y.prototype),q=Y))||q);var be,ye,we,ve,Te,Ze,Ce,Se,Ie,Ee,Pe,_e,Oe,Re,Le,Ae,xe,Me,De,Ne,ke,ze,Ue,Be,He,Ge,We,Fe,Ve,$e,qe,Ye,je,Ke,Xe,Qe,Je,et,tt,it,nt,rt,ot,at,st,lt,ct,ut,ht,dt,pt,mt,ft,gt,bt,yt,wt=ge,vt=i(44104),Tt=i(53579),Zt=i(85585),Ct="yUCly6epdXnWW54zhUvY",St="YmZ41aCpqDBzcf3FjcbL",It="azPeMRijDwzVflkZzc5w",Et="gDjlVPiPc_pVvkYClVBg",Pt="IaY1kXZUNJx67yZpiIEo",_t="o1MCGla4PQCx3RBWowyL",Ot="gmJUAfy_zjSljm1S7epq",Rt="BeGY3YrO4O5xpz1Dg0G9",Lt=i(41800);let At=(be=(0,d.wA)({name:"VerificationCode"}),ye=(0,d.yU)("value","input",M.ZP.string),we=(0,d.fI)(M.ZP.array.def([])),ve=(0,d.fI)(),Te=(0,d.fI)(),Ze=(0,d.fI)(),Ce=(0,d.fI)(M.ZP.string.isRequired),Se=(0,d.fI)(M.ZP.bool.def(!0)),Ie=(0,d.fI)(M.ZP.string),Ee=(0,d.fI)(M.ZP.string),Pe=(0,d.fI)(M.ZP.string.def("sms")),_e=(0,d.fI)(M.ZP.string.isRequired),Oe=(0,d.fI)(M.ZP.looseBool.def(!1)),Re=(0,d.fI)(M.ZP.looseBool.def(!1)),Le=(0,d.fI)(M.ZP.looseBool.def(!1)),Ae=(0,d.fI)(M.ZP.looseBool.def(!1)),xe=(0,d.fI)(M.ZP.looseBool.def(!1)),Me=(0,d.fI)(),De=(0,d.fI)(),Ne=(0,d.fI)(M.ZP.object.def({})),ke=(0,d.fI)(M.ZP.object.def((()=>({})))),ze=(0,d.fI)(M.ZP.looseBool.def(!1)),Ue=(0,d.fI)(),Be=(0,d.Rl)(),He=(0,d.RL)("targetValue"),Ge=(0,d.RL)("systemInfos",{deep:!0}),We=(0,d.RL)("hasBeenGot",{immediate:!0}),Fe=(0,d.y1)("beenGot"),Ve=(0,re.WY)(),$e=(0,re.WY)(),qe=(0,re.K4)(),be((je=class extends d.XY{constructor(...e){super(...e),(0,u.Z)(this,"verificationCode",Ke,this),(0,u.Z)(this,"moreRules",Xe,this),(0,u.Z)(this,"placeholder",Qe,this),(0,u.Z)(this,"doVerificationBefore",Je,this),(0,u.Z)(this,"getCodeFunPromise",et,this),(0,u.Z)(this,"prop",tt,this),(0,u.Z)(this,"isRequired",it,this),(0,u.Z)(this,"label",nt,this),(0,u.Z)(this,"username",rt,this),(0,u.Z)(this,"mode",ot,this),(0,u.Z)(this,"targetValue",at,this),(0,u.Z)(this,"disabled",st,this),(0,u.Z)(this,"hiddenPrefix",lt,this),(0,u.Z)(this,"hiddenIcon",ct,this),(0,u.Z)(this,"showLabel",ut,this),(0,u.Z)(this,"useDialogValid",ht,this),(0,u.Z)(this,"maxInputLength",dt,this),(0,u.Z)(this,"customIcon",pt,this),(0,u.Z)(this,"inputTsxData",mt,this),(0,u.Z)(this,"model",ft,this),(0,u.Z)(this,"showRequiredLabel",gt,this),(0,u.Z)(this,"createMode",bt,this),(0,u.Z)(this,"countdownBtnRef",yt,this),(0,ne.Z)(this,"loading",!1),(0,ne.Z)(this,"hasBeenGot",!1),(0,ne.Z)(this,"quickVerify",!1),(0,ne.Z)(this,"funcRender",vt.Z.createFormModelItem.call(this))}get systemInfos(){return(0,x.h)().systemInfos}onTargetValue(){this.quickVerify=!1}onBeenGot(e){return e}get isDisabled(){return this.disabled||!this.targetValue||this.loading}async doGetVerificationCode(){const{t:e}=(0,de.QT)(),{hasLogined:t}=(0,x.h)();if(this.isDisabled||this.loading)return;if(this.loading=!0,this.hasBeenGot=!1,this.quickVerify=!1,this.doVerificationBefore&&"function"==typeof this.doVerificationBefore){const[e,t]=await(0,Lt.Z)(this.doVerificationBefore());if(e||Boolean(t))return void(this.loading=!1)}let i;if(this.getCodeFunPromise)i=this.getCodeFunPromise(this.targetValue);else{const e=this.createMode??oe.FW.Verify,n="phone",r=this.targetValue,o=this.targetValue;i="sms"===this.mode?(0,le.apiGetSmsCode)({create_mode:e,limit_type:n,phone_number:r}):"email"===this.mode?t?(0,le.apiGetEmailCodeAfterLogin)({create_mode:e,limit_type:n,email:o}):(0,le.apiGetEmailCodeBeforceLogin)({create_mode:e,limit_type:n,email:o}):Promise.resolve()}try{const t=await i,n=t?.data?.data?.isExist,r=t?.data?.data?.quickVerify;(0,x.h)().setEmailExist(n),this.hasBeenGot=!0;const o=this.createMode===oe.FW.RegisterIntegration;r&&o?(this.quickVerify=!0,this.verificationCode="",this.$emit("quickVerify")):(Tt.Z.message({type:"success",content:e("lobby.common.components.auth.phone.sendSuccess")}),setTimeout((()=>{this.$nextTick((()=>{this.countdownBtnRef?.doCountDown()}))}),1500))}catch(n){const{code:e}=(0,he.n8)(n);e!==pe.ZP.ServiceCode.EMAIL_SECURITY_CONFIG_EXPIRED&&e!==pe.ZP.ServiceCode.PHONE_SECURITY_CONFIG_EXPIRED||se.xN.dispatch({type:"CONFIG_CHANGE_ERR"}),console.error(n)}setTimeout((()=>{this.loading=!1}),1e3)}getVerificationCode(e=null){e?.stopPropagation(),this.doGetVerificationCode()}async valid(){const{t:e}=(0,de.QT)();if(this.useDialogValid){if(!this.verificationCode)return Tt.Z.message({content:()=>e("lobby.modal.login.form.smsCode.required")}),Promise.reject();if(!this.hasBeenGot)return Tt.Z.message({content:()=>this.requiredMessage}),Promise.reject()}if("sms"===this.mode)return(0,le.apiValidSmsCode)({captcha:this.verificationCode,phone_number:this.targetValue})}get requiredMessage(){const{t:e}=(0,de.QT)();return"sms"===this.mode?e("lobby.modal.login.form.smsCode.getCode"):"email"===this.mode?e("lobby.modal.login.form.smsCode.emailCode"):e("lobby.modal.register.imageVerificationCode")}get maxLength(){return this.maxInputLength?this.maxInputLength:"sms"===this.mode?4:5}get defaultPlaceholder(){const{t:e}=(0,de.QT)();return"sms"===this.mode?e("lobby.center.security.phone.smsPlaceholder"):"email"===this.mode?e("lobby.center.security.email.auth.codePlaceholder"):e("lobby.center.security.verifyCode")}render(){const e=arguments[0],{t:t}=(0,de.QT)();return this.funcRender.custom({prop:this.prop,model:this.model,formModelItemTsxData:{props:{rules:[...this.useDialogValid||!this.isRequired||this.quickVerify?[]:[Zt.Z.required({customPrompt:()=>t("lobby.modal.login.form.smsCode.required")}),Zt.Z.create({required:!0,validator:(e,t,i)=>(this.hasBeenGot||i(this.requiredMessage),!0)})],Zt.Z.create({validator:(e,t,i)=>(this.verificationCode=(0,ue.$A)(t||"",{maxLength:this.maxLength}),i(),!0)}),...this.moreRules||[]]}},render:()=>[this.showLabel?e("template",{slot:"label"},[e("div",[e(ae.JO.Tsx,{directives:[{name:"show",value:!this.hiddenIcon}],attrs:{component:{functional:!0,render:()=>e("icon-sprite",{attrs:{sprite:(0,ce.T9)(this.customIcon??"input_icon_yz")}})}}}),e("span",[this.label||t("lobby.modal.login.form.smsCode.label")])])]):null,e(ae.II.Tsx,ee()([{attrs:{allowClear:!0,placeholder:this.placeholder||this.defaultPlaceholder},class:[Ct,"verification__codeInput"]},ie()({attrs:{autocomplete:"off",type:"number"}},this.inputTsxData),{model:{value:this.verificationCode,callback:e=>{this.verificationCode=e}}}]),[!this.hiddenPrefix&&e("div",{slot:"prefix",class:St},[e(ae.JO.Tsx,{attrs:{component:{functional:!0,render:()=>e("icon-sprite",{attrs:{sprite:(0,ce.T9)(this.customIcon??"input_icon_yz")}})}}}),this.showRequiredLabel&&e("span",{class:It},["*"])]),e("template",{slot:"suffix"},[e(wt,{class:[Et,"verification__smsCode"],ref:"countdownBtnRef",attrs:{id:"sendVerificationCodeButton",loading:this.loading,disabled:this.isDisabled},on:{click:this.getVerificationCode}})])]),e("div",{directives:[{name:"show",value:this.quickVerify}],class:Pt},[e("span",{class:_t},[e(ae.JO.Tsx,{attrs:{component:{functional:!0,render:()=>e("icon-sprite",{attrs:{sprite:(0,ce.T9)(this.customIcon??"input_icon_yz")}})}}})]),e("span",{class:Ot},[e(ae.JO.Tsx,{attrs:{component:{functional:!0,render:()=>e("icon-sprite",{attrs:{sprite:(0,ce.T9)("comm_icon_gou")}})}}})]),e("span",{class:Rt},[t("lobby.modal.loginRegister.quickVerifySuccess")])])]})}},Ke=(0,h.Z)(je.prototype,"verificationCode",[ye],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Xe=(0,h.Z)(je.prototype,"moreRules",[we],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Qe=(0,h.Z)(je.prototype,"placeholder",[ve],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Je=(0,h.Z)(je.prototype,"doVerificationBefore",[Te],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),et=(0,h.Z)(je.prototype,"getCodeFunPromise",[Ze],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),tt=(0,h.Z)(je.prototype,"prop",[Ce],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),it=(0,h.Z)(je.prototype,"isRequired",[Se],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),nt=(0,h.Z)(je.prototype,"label",[Ie],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),rt=(0,h.Z)(je.prototype,"username",[Ee],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ot=(0,h.Z)(je.prototype,"mode",[Pe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),at=(0,h.Z)(je.prototype,"targetValue",[_e],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),st=(0,h.Z)(je.prototype,"disabled",[Oe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),lt=(0,h.Z)(je.prototype,"hiddenPrefix",[Re],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ct=(0,h.Z)(je.prototype,"hiddenIcon",[Le],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ut=(0,h.Z)(je.prototype,"showLabel",[Ae],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ht=(0,h.Z)(je.prototype,"useDialogValid",[xe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),dt=(0,h.Z)(je.prototype,"maxInputLength",[Me],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),pt=(0,h.Z)(je.prototype,"customIcon",[De],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),mt=(0,h.Z)(je.prototype,"inputTsxData",[Ne],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ft=(0,h.Z)(je.prototype,"model",[ke],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),gt=(0,h.Z)(je.prototype,"showRequiredLabel",[ze],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),bt=(0,h.Z)(je.prototype,"createMode",[Ue],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),yt=(0,h.Z)(je.prototype,"countdownBtnRef",[Be],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,h.Z)(je.prototype,"onTargetValue",[He,Ge],Object.getOwnPropertyDescriptor(je.prototype,"onTargetValue"),je.prototype),(0,h.Z)(je.prototype,"onBeenGot",[We,Fe],Object.getOwnPropertyDescriptor(je.prototype,"onBeenGot"),je.prototype),(0,h.Z)(je.prototype,"doGetVerificationCode",[Ve],Object.getOwnPropertyDescriptor(je.prototype,"doGetVerificationCode"),je.prototype),(0,h.Z)(je.prototype,"getVerificationCode",[$e,qe],Object.getOwnPropertyDescriptor(je.prototype,"getVerificationCode"),je.prototype),Ye=je))||Ye);var xt,Mt,Dt,Nt,kt=i(76191),zt="Z9FTE8VLKdrJJyfWuzJY";let Ut=(xt=(0,d.wA)({name:"CommonPaste"}),Mt=(0,d.y1)("complete"),xt((Nt=class extends d.XY{async handlePaste(){try{const e=await(0,he.Xi)();this.onComplete(e)}catch(e){console.error(e)}}onComplete(e){return e}render(){const e=arguments[0],{t:t}=(0,de.QT)();return e("span",{on:{click:this.handlePaste},class:[zt,"paste"]},[this.$slots.default||e("inner-html",{attrs:{text:t("lobby.common.tips.paste")}})])}},(0,h.Z)(Nt.prototype,"onComplete",[Mt],Object.getOwnPropertyDescriptor(Nt.prototype,"onComplete"),Nt.prototype),Dt=Nt))||Dt);var Bt,Ht,Gt,Wt,Ft,Vt,$t,qt,Yt,jt,Kt,Xt,Qt,Jt,ei,ti,ii,ni,ri,oi,ai,si,li,ci,ui,hi,di=i(21613),pi=i(7436),mi=i.n(pi),fi="PFr_a_F2Hp5B4yxj3xvh",gi="k54PxY4rjAorQBZf12Ab",bi="zNd0y3FNYltxAiKhPbAy",yi="qywCxukpVNuYyPfI4XVq",wi="mzfnT1F3zRDTZOXCiEGs",vi="WeJIDzHw_dbFN6u7T59A",Ti="Gj0Iih8M0bKElM2QGtHO",Zi="JWExyL7wP1w73iOHOxyc",Ci="X7dUlEkj1ycuuUbQ_2Vf",Si="Ou1aviPriFX421w97dGA",Ii="R1tVtJPfBJA944lSRyyP",Ei="MfYbH3dAPBLOkaKUtRe7",Pi="MOFLcj7nVRZHKLivuWpP",_i="M2AXg2u2tA9h8un7RCbH";let Oi=(Bt=(0,d.wA)({name:"NumberPasswordInput"}),Ht=(0,d.yU)("value","input",{required:!0}),Gt=(0,d.Rl)(),Wt=(0,d.fI)(M.ZP.looseBool.def(!1)),Ft=(0,d.fI)(M.ZP.looseBool.def(!1)),Vt=(0,d.fI)(M.ZP.string),$t=(0,d.fI)(M.ZP.looseBool),qt=(0,d.fI)(M.ZP.func.def((()=>({})))),Yt=(0,d.fI)(M.ZP.looseBool.def(!1)),jt=(0,d.fI)(M.ZP.looseBool.def(!1)),Kt=(0,d.fI)(M.ZP.looseBool.def(!0)),Xt=(0,d.RL)("inputValue"),Qt=(0,d.y1)("complete"),Jt=(0,d.y1)("blur"),Bt((ti=class extends d.XY{constructor(...e){super(...e),(0,u.Z)(this,"inputValue",ii,this),(0,u.Z)(this,"pwd",ni,this),(0,u.Z)(this,"inputValueVisible",ri,this),(0,u.Z)(this,"disabled",oi,this),(0,u.Z)(this,"labelTitle",ai,this),(0,u.Z)(this,"showLabel",si,this),(0,u.Z)(this,"enterEvent",li,this),(0,u.Z)(this,"isBorder",ci,this),(0,u.Z)(this,"showAsterisk",ui,this),(0,u.Z)(this,"autoCompleteSubmit",hi,this),(0,ne.Z)(this,"isFocus",!1),(0,ne.Z)(this,"showPwd",!1),(0,ne.Z)(this,"isComposing",!1),(0,ne.Z)(this,"inputListVal",Array.from({length:this.length})),(0,ne.Z)(this,"curIndex",0)}focus(){this.pwd.focus(),setTimeout((()=>{this.isFocus=!0}),10)}clear(){this.inputValue="",this.inputListVal=Array.from({length:this.length}),this.curIndex=0,this.showPwd=!1}get length(){return Number(this.$attrs.maxlength)||6}onInputValueInput(e){const t=e.replace(/[^\d]/g,"");this.inputListVal[this.curIndex]=t.charAt(t.length-1),this.curIndex=this.inputListVal.findIndex((e=>!e)),this.inputValue=this.inputListVal.join("")}onInputValueChange(){""===this.inputValue&&this.clear(),(this.inputValue||"").length>=this.length&&this.autoCompleteSubmit&&this.onComplete()}onComplete(){return this.inputValue}onBlur(){return this.inputValue}changeInputDelete(){const e=mi()(this.inputListVal,(e=>e));e>=0?(this.curIndex=e,this.inputListVal[e]="",this.inputValue=this.inputValue.substring(0,this.inputValue.length-1)):this.inputValue=""}changeInputKey(e){["Delete"].includes(e.key)||["Backspace"].includes(e.key)?this.changeInputDelete():["ArrowUp","ArrowRight","ArrowBottom","ArrowLeft"].includes(e.key)?e.preventDefault():this.enterEvent&&["Enter"].includes(e.key)&&this.enterEvent()}render(){const e=arguments[0],{t:t}=(0,de.QT)();return e("section",{class:[fi,this.isBorder&&this.isFocus?Zi:this.isBorder?Ti:"",this.isBorder&&this.disabled?Ci:""]},[this.showLabel&&e("div",{class:[Si,"number-password-input__label"]},[e("span",[this.labelTitle||t("lobby.center.security.withdrawalPwd.tab")]),e("span",{class:{[Ii]:!0,[Ei]:this.disabled},on:{click:()=>this.showPwd=!this.showPwd}},[this.showPwd?e("icon-sprite",{class:Pi,attrs:{sprite:(0,ce.T9)("comm_icon_show")}}):e("icon-sprite",{class:_i,attrs:{sprite:(0,ce.T9)("comm_icon_hide")}})])]),e("input",{class:[gi,this.isFocus?vi:""],ref:"pwd",attrs:{type:"number",maxlength:this.length,disabled:this.disabled},domProps:{value:this.inputValue},on:{keydown:e=>this.changeInputKey(e),input:e=>{!this.isComposing&&e.data&&this.onInputValueInput(e.data)},compositionstart:()=>{this.isComposing=!0},compositionend:e=>{this.isComposing=!1,e.data&&this.onInputValueInput(e.data)},blur:()=>{this.isFocus&&(this.isFocus=!1,this.onBlur())},focus:()=>{this.isFocus||(this.isFocus=!0)}}}),e("ul",ee()([{},{directives:[{name:"click-outside",value:()=>{this.isFocus&&(this.isFocus=!1,this.onBlur())}}]},{class:[bi,"pwd-wrap",this.disabled?"disabled":""],on:{click:d.Ie.LY.stop(this.focus)}}]),[this.inputListVal.map(((t,i)=>{const n=!!t&&!!this.inputValue,r=this.curIndex===i;return e("li",{key:i,class:{"pwd-input-item":!0,"pwd-input-item-active":r,"pwd-input-item-fill":n,[yi]:r,[wi]:n},on:{click:()=>{this.disabled||(this.curIndex=this.inputValue.length,this.curIndex===this.inputListVal.length&&(this.curIndex=this.inputListVal.length-1))}}},[this.inputValue&&this.showPwd||this.inputValueVisible?e("span",{class:"number-input__text"},[this.inputListVal[i]||(this.showAsterisk?this.curIndex===i&&this.isFocus?"":"*":"")]):e("i")])}))])])}},ii=(0,h.Z)(ti.prototype,"inputValue",[Ht],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ni=(0,h.Z)(ti.prototype,"pwd",[Gt],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ri=(0,h.Z)(ti.prototype,"inputValueVisible",[Wt],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),oi=(0,h.Z)(ti.prototype,"disabled",[Ft],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ai=(0,h.Z)(ti.prototype,"labelTitle",[Vt],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),si=(0,h.Z)(ti.prototype,"showLabel",[$t],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),li=(0,h.Z)(ti.prototype,"enterEvent",[qt],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ci=(0,h.Z)(ti.prototype,"isBorder",[Yt],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ui=(0,h.Z)(ti.prototype,"showAsterisk",[jt],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),hi=(0,h.Z)(ti.prototype,"autoCompleteSubmit",[Kt],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,h.Z)(ti.prototype,"onInputValueChange",[Xt],Object.getOwnPropertyDescriptor(ti.prototype,"onInputValueChange"),ti.prototype),(0,h.Z)(ti.prototype,"onComplete",[Qt],Object.getOwnPropertyDescriptor(ti.prototype,"onComplete"),ti.prototype),(0,h.Z)(ti.prototype,"onBlur",[Jt],Object.getOwnPropertyDescriptor(ti.prototype,"onBlur"),ti.prototype),ei=ti))||ei);var Ri,Li,Ai,xi,Mi,Di,Ni,ki,zi,Ui=i(75812),Bi="p7wkLfrEyEqq8aSd9D_F",Hi="M4zOZsY5GVWIEjh2t8EW",Gi="fkLbPRk1X4cx1Y8IvOgb",Wi="ZNHJgVsYgkxwwQyJW9ZO",Fi="w4KRSA0dCRF4nuXvJUWT";let Vi=(Ri=(0,d.wA)({name:"EmailCheckInput"}),Li=(0,d.fI)(M.ZP.string.isRequired),Ai=(0,d.fI)(M.ZP.looseBool),xi=(0,d.y1)("complete"),Mi=(0,d.RL)("inputValue"),Ri((Ni=class extends d.XY{constructor(...e){super(...e),(0,u.Z)(this,"emailCheckTemplate",ki,this),(0,u.Z)(this,"disabled",zi,this),(0,ne.Z)(this,"inputValue",""),(0,ne.Z)(this,"isFocus",!1)}get templateParse(){return Ui.ZP.emailCheckParse(this.emailCheckTemplate)}onComplete(){return`${this.templateParse.prefix}${this.inputValue}@${this.templateParse.emaildomain}`}onInput(){(this.inputValue||"").length>=this.templateParse.placeholder.length&&this.onComplete()}render(){const e=arguments[0];return e("section",{class:[Bi,this.isFocus?Fi:"","emailCheckinputmain"]},[e("div",{class:Wi},[e("icon-sprite",{props:{...(0,ce.Mg)({path:"/lobby_asset/common/common/login/login_icon_yx02.png",width:36,height:30})}}),this.templateParse.prefix]),e("div",{class:[Hi,this.disabled?Gi:""]},[e(ae.II.Tsx,ee()([{attrs:{maxlength:this.templateParse.placeholder.length,disabled:this.disabled}},ie()({attrs:{maxLength:this.templateParse.placeholder.length}}),{on:{blur:()=>{this.isFocus&&(this.isFocus=!1)},focus:()=>{this.isFocus||(this.isFocus=!0)}},model:{value:this.inputValue,callback:e=>{this.inputValue=e}}}]))]),e("div",{class:Wi},[this.templateParse.suffix,"@",this.templateParse.emaildomain])])}},ki=(0,h.Z)(Ni.prototype,"emailCheckTemplate",[Li],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),zi=(0,h.Z)(Ni.prototype,"disabled",[Ai],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,h.Z)(Ni.prototype,"onComplete",[xi],Object.getOwnPropertyDescriptor(Ni.prototype,"onComplete"),Ni.prototype),(0,h.Z)(Ni.prototype,"onInput",[Mi],Object.getOwnPropertyDescriptor(Ni.prototype,"onInput"),Ni.prototype),Di=Ni))||Di);var $i,qi,Yi,ji,Ki,Xi,Qi,Ji,en,tn,nn,rn,on,an="ObXUdqvr2O_T59WnYfIP",sn="JOQ3xKe3o2PATB3sIlSl",ln="AOy9_spDwFfaJ1KyoXaO",cn="rS7A0MEjX5QYCuc8DBRj";let un=($i=(0,d.wA)({name:"PhoneInput"}),qi=(0,d.yU)("value","input",M.ZP.string.isRequired.def("")),Yi=(0,d.fI)(M.ZP.string.isRequired),ji=(0,d.Rl)(),Ki=(0,d.fI)(M.ZP.looseBool),Xi=(0,d.y1)("complete"),Qi=(0,d.y1)("blur"),$i((en=class extends d.XY{constructor(...e){super(...e),(0,u.Z)(this,"phoneNumber",tn,this),(0,u.Z)(this,"phoneNumberTemplate",nn,this),(0,u.Z)(this,"numberPasswordRef",rn,this),(0,u.Z)(this,"disabled",on,this),(0,ne.Z)(this,"inputValue","")}onInput(e){this.inputValue=e,this.phoneNumber=this.phoneNumberTemplate.replace(this.templateParse.placeholder,e)}created(){this.inputValue=this.phoneNumber.replace(this.templateParse.areaCode,"").replace(new RegExp(`^${this.templateParse.prefix}`),"").replace(new RegExp(`${this.templateParse.suffix}$`),"")}get templateParse(){return Ui.ZP.phoneNumberParse(this.phoneNumberTemplate)}onComplete(){return this.phoneNumber}onBlur(){return this.phoneNumber}clear(){this.numberPasswordRef.clear()}focus(){this.numberPasswordRef.focus()}render(){const e=arguments[0];return e("section",{class:an,on:{click:this.focus}},[e("div",{class:ln},[e("span",{class:cn},[this.templateParse.areaCode.slice(0,-1)]),this.templateParse.prefix]),e("div",{class:sn},[e(Oi,{ref:"numberPasswordRef",attrs:{inputValueVisible:!0,value:this.inputValue,autoCompleteSubmit:!0,maxlength:this.templateParse.placeholder.length,disabled:this.disabled,isBorder:!0,showAsterisk:!0},on:{input:this.onInput,blur:this.onBlur,complete:()=>{this.onComplete()}}})]),e("div",{class:ln},[this.templateParse.suffix])])}},tn=(0,h.Z)(en.prototype,"phoneNumber",[qi],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),nn=(0,h.Z)(en.prototype,"phoneNumberTemplate",[Yi],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),rn=(0,h.Z)(en.prototype,"numberPasswordRef",[ji],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),on=(0,h.Z)(en.prototype,"disabled",[Ki],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,h.Z)(en.prototype,"onComplete",[Xi],Object.getOwnPropertyDescriptor(en.prototype,"onComplete"),en.prototype),(0,h.Z)(en.prototype,"onBlur",[Qi],Object.getOwnPropertyDescriptor(en.prototype,"onBlur"),en.prototype),Ji=en))||Ji);var hn,dn,pn,mn,fn,gn,bn,yn,wn,vn,Tn,Zn,Cn,Sn,In,En=i(67537),Pn=i(1938),_n=i(42689),On=i(44159);let Rn=(hn=(0,d.wA)({name:"RewardTips"}),dn=(0,d.fI)((0,_n.Rx)()),pn=(0,d.fI)(M.ZP.looseBool.def(!1)),mn=(0,d.fI)(),fn=(0,d.fI)(),gn=(0,d.fI)(),bn=(0,d.fI)(),hn((wn=class extends d.XY{constructor(...e){super(...e),(0,u.Z)(this,"rewardId",vn,this),(0,u.Z)(this,"selfKey",Tn,this),(0,u.Z)(this,"top",Zn,this),(0,u.Z)(this,"right",Cn,this),(0,u.Z)(this,"left",Sn,this),(0,u.Z)(this,"lang",In,this)}get currentRewardBindData(){const{rewardBindData:e}=(0,x.h)();if(this.rewardId===oe.sF.BindPhoneAndSMSValid){const t={},i=e?.find((e=>e.bindType===oe.sF.AddContact));let n=[];i&&i.content&&(n=JSON.parse(i.content)?.bindTypes),n.forEach((e=>{const n={...i};n.bindType=e,t[n.bindType]=n}));const r=t[oe.sF.BindPhone],o=e.find((e=>e.bindType===oe.sF.SMSValid));let a=0;return r?.isPop&&(a+=r.reward??0),o?.isPop&&(a+=o.reward??0),{isPop:1,bindType:oe.sF.BindPhoneAndSMSValid,reward:a,bindTypeText:""}}return e.find((e=>e.bindType===this.rewardId))}render(){const e=arguments[0],{t:t}=(0,de.QT)();let i;if(this.lang&&this.currentRewardBindData?.currency)try{const e=JSON.parse(this.currentRewardBindData.currency).find((e=>e.currency==this.lang));i=e?.amount||0}catch(n){i=this.currentRewardBindData?.reward||0}else i=this.currentRewardBindData?.reward||0;return this.currentRewardBindData&&this.currentRewardBindData.isPop?e(On.default,{attrs:{charge:i,top:this.top,right:this.right,left:this.left,text:e("span",{style:{color:"#ffff00"}},[(()=>t(this.selfKey?`lobby.modal.task.reward.${this.currentRewardBindData?.bindType}`:"lobby.modal.task.reward.default",{reward:(0,Pn._5)(i??0)}))()])}}):e("template")}},vn=(0,h.Z)(wn.prototype,"rewardId",[dn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Tn=(0,h.Z)(wn.prototype,"selfKey",[pn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Zn=(0,h.Z)(wn.prototype,"top",[mn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Cn=(0,h.Z)(wn.prototype,"right",[fn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Sn=(0,h.Z)(wn.prototype,"left",[gn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),In=(0,h.Z)(wn.prototype,"lang",[bn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),yn=wn))||yn);var Ln,An,xn,Mn,Dn,Nn,kn,zn,Un,Bn,Hn,Gn,Wn,Fn,Vn,$n,qn,Yn=i(77674);let jn=(Ln=(0,d.wA)({name:"PopupH5"}),An=(0,d.fI)({required:!0,default:!1}),xn=(0,d.fI)({required:!1,default:"left"}),Mn=(0,d.fI)({required:!1,default:.3}),Dn=(0,d.fI)({required:!1,default:()=>({})}),Nn=(0,d.fI)({required:!1,default:""}),kn=(0,d.fI)({required:!1,default:!0}),zn=(0,d.y1)("clickOverlay"),Un=(0,d.y1)("clickPopup"),Ln((Hn=class extends d.XY{constructor(...e){super(...e),(0,u.Z)(this,"value",Gn,this),(0,u.Z)(this,"position",Wn,this),(0,u.Z)(this,"duration",Fn,this),(0,u.Z)(this,"overlayStyle",Vn,this),(0,u.Z)(this,"overlayClass",$n,this),(0,u.Z)(this,"closeOnClickOverlay",qn,this)}clickOverlay(){}popupClick(){}render(){const e=arguments[0],{value:t,position:i,overlayStyle:n,closeOnClickOverlay:r,overlayClass:o,duration:a}=this;return e(Yn.GI,{attrs:{"overlay-class":o,value:t,"close-on-click-overlay":r,duration:a,overlay:!0,position:i,overlayStyle:n},on:{"click-overlay":this.clickOverlay,click:this.popupClick}},[this.$slots?.default])}},Gn=(0,h.Z)(Hn.prototype,"value",[An],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Wn=(0,h.Z)(Hn.prototype,"position",[xn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Fn=(0,h.Z)(Hn.prototype,"duration",[Mn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Vn=(0,h.Z)(Hn.prototype,"overlayStyle",[Dn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$n=(0,h.Z)(Hn.prototype,"overlayClass",[Nn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),qn=(0,h.Z)(Hn.prototype,"closeOnClickOverlay",[kn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,h.Z)(Hn.prototype,"clickOverlay",[zn],Object.getOwnPropertyDescriptor(Hn.prototype,"clickOverlay"),Hn.prototype),(0,h.Z)(Hn.prototype,"popupClick",[Un],Object.getOwnPropertyDescriptor(Hn.prototype,"popupClick"),Hn.prototype),Bn=Hn))||Bn)},16573:function(e,t,i){"use strict";i.d(t,{Z:function(){return D}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v,T,Z=i(53158),C=i(12040),S=i(38821),I=i(7174),E=i(56208),P=i(91475),_=i(46930),O=i(75812),R=i(58164),L="URYVffVETVSIkPGB9P5E",A="lTXdcXGZu_Yguh1MG5vS",x="wkokwJLUZ11M0pvkCY2s";let M=(n=(0,S.wA)({name:"CommonLoading",components:{L1:()=>i.e(99798).then(i.bind(i,99798)),L2:()=>i.e(15489).then(i.bind(i,15489)),L3:()=>i.e(10354).then(i.bind(i,10354)),L4:()=>i.e(58497).then(i.bind(i,58497)),L5:()=>i.e(13479).then(i.bind(i,13479)),L6:()=>i.e(68254).then(i.bind(i,68254)),L7:()=>i.e(77745).then(i.bind(i,77745)),L8:()=>i.e(11386).then(i.bind(i,11386)),L9:()=>i.e(23411).then(i.bind(i,23411)),L10:()=>i.e(78429).then(i.bind(i,78429)),L11:()=>i.e(55362).then(i.bind(i,55362)),L12:()=>i.e(54884).then(i.bind(i,54884)),L13:()=>i.e(32421).then(i.bind(i,32421)),L14:()=>i.e(5243).then(i.bind(i,5243)),L15:()=>i.e(84885).then(i.bind(i,84885)),L16:()=>i.e(2230).then(i.bind(i,2230)),L17:()=>i.e(39946).then(i.bind(i,39946)),L18:()=>i.e(91786).then(i.bind(i,91786)),L19:()=>i.e(31012).then(i.bind(i,31012)),L20:()=>i.e(97842).then(i.bind(i,97842)),L21:()=>i.e(7997).then(i.bind(i,7997)),L22:()=>i.e(83960).then(i.bind(i,83960)),L23:()=>i.e(69998).then(i.bind(i,69998)),L24:()=>i.e(73930).then(i.bind(i,73930)),L25:()=>i.e(39865).then(i.bind(i,39865)),L26:()=>i.e(22965).then(i.bind(i,22965)),L27:()=>i.e(88696).then(i.bind(i,88696))}}),r=(0,S.fI)(_.ZP.bool.def(!1)),o=(0,S.fI)(_.ZP.bool.def(!1)),a=(0,S.fI)({required:!1}),s=(0,S.fI)({required:!1,default:!1}),l=(0,S.fI)(_.ZP.bool.def(!1)),c=(0,S.fI)({default:O.ZP.px2rem("500px")}),u=(0,S.fI)(),h=(0,S.fI)(),n((p=class extends S.XY{constructor(...e){super(...e),(0,Z.Z)(this,"hiddenIcon",m,this),(0,Z.Z)(this,"hiddenBlur",f,this),(0,Z.Z)(this,"customIndicator",g,this),(0,Z.Z)(this,"needLoadingBackgroundMask",b,this),(0,Z.Z)(this,"error",y,this),(0,Z.Z)(this,"errorPageHeight",w,this),(0,Z.Z)(this,"axiosError",v,this),(0,Z.Z)(this,"errorType",T,this)}get defaultIndicator(){const e=this.$createElement,{homeLayoutInfos:t}=(0,P.h)();return e("my-img",{attrs:{src:t?.commonConfig?.loadingImage||"/lobby_asset/common/common/animated/loading_1_default.gif",width:100,height:100}})}get configIndicator(){const{homeLayoutInfos:e}=(0,P.h)();return"0"!==(e?.commonConfig?.loadingType??"0")?this.$createElement(`L${e?.commonConfig.loadingType}`):null}get loadingWrapClasses(){return`${this.hiddenIcon||this.error||this.axiosError||this.hiddenBlur?x:""}`}renderContent(){const e=this.$createElement;return this.error||this.axiosError?e(R.Z,{attrs:{displayType:R.F.ListData,loading:!!this.$attrs.spinning,isTimeoutError:this.error,height:this.errorPageHeight,axiosError:this.axiosError,errorType:this.errorType},on:{retry:()=>this.$emit("retry")}}):this.$slots?.default}render(){return(0,arguments[0])(I.yC.Tsx,{attrs:{indicator:this.customIndicator||this.configIndicator||this.defaultIndicator,spinning:!1},class:[L,this.loadingWrapClasses,this.needLoadingBackgroundMask?A:"","custom-loading__wrap"],props:{...{...this.$attrs}}},[this.renderContent()])}},m=(0,C.Z)(p.prototype,"hiddenIcon",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,C.Z)(p.prototype,"hiddenBlur",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,C.Z)(p.prototype,"customIndicator",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,C.Z)(p.prototype,"needLoadingBackgroundMask",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,C.Z)(p.prototype,"error",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,C.Z)(p.prototype,"errorPageHeight",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,C.Z)(p.prototype,"axiosError",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,C.Z)(p.prototype,"errorType",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=p))||d);var D=(0,E.l4)().convert(M)},58164:function(e,t,i){"use strict";i.d(t,{F:function(){return x},Z:function(){return M}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v=i(53158),T=i(12040),Z=i(38821),C=i(46851),S=i(71743),I=i(58217),E=i(75812),P="bI0LibuBtO8AYu5m9Cyj",_="a5WWWnxHYgvvDIWkbdww",O="NtNXA1uzv9qvId3XrUnQ",R="ZO461A5e1_VrZAWoUNGv",L="CmeSk0KNV083mcJBK6XI",A="Kvv3BndTwQ26Chjz3muT";let x;!function(e){e[e.InsufficientSpace=0]="InsufficientSpace",e[e.SufficientSpace=1]="SufficientSpace",e[e.ListData=2]="ListData",e[e.vantList=3]="vantList"}(x||(x={}));let M=(n=(0,Z.wA)({name:"NetRetry"}),r=(0,Z.fI)({default:x.InsufficientSpace}),o=(0,Z.fI)({default:!1}),a=(0,Z.fI)({default:!1}),s=(0,Z.fI)({default:E.ZP.px2rem("500px")}),l=(0,Z.fI)(),c=(0,Z.fI)(),u=(0,Z.fI)(),n((d=class extends Z.XY{constructor(...e){super(...e),(0,v.Z)(this,"displayType",p,this),(0,v.Z)(this,"isTimeoutError",m,this),(0,v.Z)(this,"loading",f,this),(0,v.Z)(this,"height",g,this),(0,v.Z)(this,"axiosError",b,this),(0,v.Z)(this,"errorType",y,this),(0,v.Z)(this,"retryClassName",w,this)}get isShowErrorRetry(){const e=this.axiosError,t=C.Uh.getErrorType(e),i=C.Uh.isNetworkError(e);return!!(this.isTimeoutError||e&&i&&!this.errorType)||!!this.axiosError&&!!this.errorType&&this.errorType.includes(t)}get imgSrc(){return"/lobby_asset/{layout}-{bg}-common/common/common/img_none_wlcs.png"}renderIconElement(){const e=this.$createElement,{t:t}=(0,I.QT)(),i=[C.CM.CssClassName.Animate.Spin,C.CM.CssClassName.Animate.Repeat.infinite];switch(this.displayType){case x.InsufficientSpace:return e("i",{class:[P,"retryIcon"],on:{click:()=>this.$emit("retry")}},[e("icon-sprite",{class:[_,{[C.CM.CssClassName.Animate.Animated]:!!this.loading},...i],attrs:{sprite:(0,S.T9)("comm_icon_retry")}})]);case x.SufficientSpace:return e("span",{class:{[O]:!0,timeoutError:!0,[this.retryClassName]:!0},on:{click:()=>this.$emit("retry")}},[e("span",[t("lobby.error.networkTimeout3")]),e("icon-sprite",{class:[_,{[C.CM.CssClassName.Animate.Animated]:!!this.loading},...i],attrs:{sprite:(0,S.T9)("comm_icon_retry")}})]);case x.ListData:return e("div",{class:{[A]:!0,"timeout-error-box":!0,[this.retryClassName]:!0},style:{height:this.height}},[e("my-img",{attrs:{src:(0,S.Cj)(this.imgSrc),width:210,height:210}}),e("p",{class:["netRetry-name"]},[t("lobby.error.networkTimeout2"),e("span",{class:L,on:{click:()=>this.$emit("retry")}},[t("lobby.modal.pay.retry"),e("icon-sprite",{class:[_,{[C.CM.CssClassName.Animate.Animated]:!!this.loading},...i],attrs:{sprite:(0,S.T9)("comm_icon_retry")}})])])]);case x.vantList:return e("p",{class:{[R]:!0,timeoutError:!0,[this.retryClassName]:!0},on:{click:()=>this.$emit("retry")}},[t("lobby.error.networkTimeout2"),e("span",{class:L,on:{click:()=>this.$emit("retry")}},[t("lobby.modal.pay.retry"),e("icon-sprite",{class:[_,{[C.CM.CssClassName.Animate.Animated]:!!this.loading},...i],attrs:{sprite:(0,S.T9)("comm_icon_retry")}})])]);default:return e("i",{class:[P,"retryIcon"],on:{click:()=>this.$emit("retry")}},[e("icon-sprite",{class:[_,{[C.CM.CssClassName.Animate.Animated]:!!this.loading},...i],attrs:{sprite:(0,S.T9)("comm_icon_retry")}})])}}render(){const e=arguments[0],t=this.renderIconElement();return this.isShowErrorRetry?t:e("div",[this.$slots?.default])}},p=(0,T.Z)(d.prototype,"displayType",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,T.Z)(d.prototype,"isTimeoutError",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,T.Z)(d.prototype,"loading",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,T.Z)(d.prototype,"height",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,T.Z)(d.prototype,"axiosError",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,T.Z)(d.prototype,"errorType",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,T.Z)(d.prototype,"retryClassName",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=d))||h)},39932:function(e,t,i){"use strict";i.d(t,{Z:function(){return y}});var n,r,o,a,s,l,c,u=i(53158),h=i(12040),d=i(38821),p=i(71751),m=i(71743),f=i(58217),g=i(91475),b={passStrengthCheck:"ptEr7ybENfgNXBPMnsRb",cryptographicStrength:"rBX8yUXrZ3DzhJ4ZvZUD",strengthCheck:"CVJyU7kSUmegdGtSmTUP",colorLump:"VYe1C86O9HyF7KaCqIUg",colorLump1:"QZ0QekXF9duW7ClyMSdQ",colorLump2:"i7RHg3ioXzOBB19tWHGD",colorLump3:"cTD_ssvnROtzVyQfdPAV",colorLump4:"GaV7MsO6XnDPxdXsTB7R",digit:"zkV1IrFpQNzi8kneIMnC",digitError:"C2ibCZavOP1Onznc27fY",icon:"uwOv0Z6JaN9wu6RMGMNP",satisfy:"OWIhxQKDlHD5X_ncVEG6",common_bganimation:"grrlAmnfl3PqpwfL0hPb"};let y=(n=(0,d.wA)({name:"PassStrengthCheck"}),r=(0,d.fI)(),o=(0,d.fI)(),n((s=class extends d.XY{constructor(...e){super(...e),(0,u.Z)(this,"password",l,this),(0,u.Z)(this,"account",c,this)}get isShowStrengthCheck(){const{loginPasswdStrengthDetectSwitch:e}=(0,g.h)()?.systemInfos;return!!e}get evaluatePasswordStrength(){const e=this.account?this.account:(0,g.h)().userInfos?.platfromid??"";let t=(0,p.V)(this.password,e);return t=t||(this.password?1:0),Array.from({length:4},((e,i)=>i<t?t:0))}get detectionCode(){const{t:e}=(0,f.QT)(),{strongPasswdRequireUppercase:t,strongPasswdRequireLowercase:i,strongPasswdRequireNum:n,strongPasswdRequireSpecial:r}=(0,g.h)()?.systemInfos;return[{lable:e("lobby.common.formRules.uppercase"),satisfy:/[A-Z]/.test(this.password),isShow:t},{lable:e("lobby.common.formRules.lowercase"),satisfy:/[a-z]/.test(this.password),isShow:i},{lable:e("lobby.common.formRules.num"),satisfy:/\d/.test(this.password),isShow:n},{lable:e("lobby.common.formRules.special"),satisfy:/[!@#$%^&*_=\+\\,\-.\/?\(\)]/.test(this.password),isShow:r}]}get digit(){const{strongPasswdLength:e,loginPasswdStrengthDetectSwitch:t}=(0,g.h)()?.systemInfos;return t?16===e?"16":`${e??6}-16`:"6-16"}get lengthValidator(){if(this.digit.indexOf("-")>=0){const[e,t]=this.digit.split("-").map(Number);return this.password.length>=e&&this.password.length<=t}return this.password.length===Number(this.digit)}render(){const e=arguments[0],{t:t}=(0,f.QT)();return e("div",{class:b.passStrengthCheck},[e("div",{class:b.cryptographicStrength},[e("span",[t("lobby.common.formRules.psswdstrength")]),this.evaluatePasswordStrength.map((t=>e("span",{class:[b.colorLump,t?b[`colorLump${t}`]:""]}))),this.isShowStrengthCheck&&e("span",{class:[b.digit,{[b.digitError]:!this.lengthValidator}]},[!this.lengthValidator&&e("icon-sprite",{class:b.icon,attrs:{sprite:(0,m.XY)("sprite_main_comm_icon_pay_2"),scale:.3}}),this.digit,t("lobby.common.formRules.digit")])]),this.isShowStrengthCheck&&e("div",{class:b.strengthCheck},[this.detectionCode.map((t=>t.isShow?e("div",{class:t.satisfy?b.satisfy:""},[e("icon-sprite",{class:b.icon,attrs:{sprite:(0,m.XY)(t.satisfy?"sprite_main_comm_icon_pay_1":"sprite_main_comm_icon_pay_2"),scale:.3}}),e("span",[t.lable])]):null))])])}},l=(0,h.Z)(s.prototype,"password",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,h.Z)(s.prototype,"account",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=s))||a)},30307:function(e,t,i){"use strict";i.d(t,{Z:function(){return h}});var n,r=i(83608),o=i.n(r),a=i(38821),s=i(58217),l=i(91475),c="zhiz6Iaily9O_JLJDgVD",u="YiWFlvUo1EhGZdM2R9re";let h=(0,a.wA)({name:"QRCode"})(n=class extends a.XY{render(){const e=arguments[0],{t:t}=(0,s.QT)(),{siteURLInfos:i}=(0,l.h)(),n=i?.download_domain?.length||0;return n?e("div",{class:c},[e("vue-qr",{class:u,attrs:{text:i?.download_domain[o()(1,n)-1],logoMargin:1,margin:10,size:200}}),e("div",[t("lobby.rightBar.scanQR")]),e("div",[t("lobby.rightBar.downloadDevice")])]):e("span")}})||n},65086:function(e,t,i){"use strict";i.d(t,{z:function(){return We},Z:function(){return Fe}});var n,r,o,a,s,l=i(36568),c=i.n(l),u=i(82492),h=i.n(u),d=i(53158),p=i(12040),m=i(38821),f=i(2046),g=i(1507),b=i(91475),y=i(46930),w=i(50008),v=i(75812),T=i(50859),Z=i(31028),C=i(70539),S=i(88763),I=i(35829),E=i(71743),P=i(65074),_=i(12832),O="Hd1G0bqklE_jZuzf4NqR",R="Ikg2rPSog8AFFtqfD9W7",L="W5Kxs038l2ysMgykCqa_",A="h97sR8iDQdcjWAJRovFb",x="jd0EDsI7XThFtt58gZMa",M="WqEfQ_t03Tpi2sd9USS1";let D=(n=(0,m.wA)({name:"SideTabHoliday"}),r=(0,m.fI)(),n((a=class extends m.XY{constructor(...e){super(...e),(0,d.Z)(this,"isVertical",s,this)}getImage(e,t,i,n="btn_zc1_jr"){return(0,this.$createElement)("my-img",{attrs:{width:e,height:t,options:{type:"div"},alt:"",src:(0,E.Cj)(`/lobby_asset/festival/{holiday}/common/common/${n}.png`)},class:i})}renderHoliday(){const{isWeb:e}=(0,b.h)(),t=I.x4.GAME===this.$route.name;switch(_.Z.holidayThemeType){case S.By.MidAutumn:return[t&&this.getImage(60,48,{[x]:!0,[M]:this.isVertical}),this.getImage(30,18,L,"btn_zc1_jr2")];case S.By.NationalDay:return this.getImage(24,29,L);case S.By.MotherOfGod:return this.getImage(24,31,A);case S.By.MotherOfGod2:return this.getImage(35,35,A);case S.By.Dussehra:return[this.getImage(this.isVertical?58:27,this.isVertical?72:34,R),this.getImage(this.isVertical?48:28,this.isVertical?36:21,A,"btn_zc1_jr2")];case S.By.HalloweenPurple:case S.By.HalloweenBlue:return this.getImage(47,31,A);default:return[this.getImage(e?40:50,e?40:50,A,"btn_zc1_jr2"),this.getImage(e?40:50,e?40:50,R)]}}render(){const e=arguments[0];return P.$v.isHomePage&&!_.Z.isNormalThemeType?e("template"):e("div",{class:O},[this.renderHoliday()])}},s=(0,p.Z)(a.prototype,"isVertical",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=a))||o);var N,k,z,U,B,H,G,W,F,V,$,q,Y,j,K,X,Q,J,ee,te,ie,ne,re,oe,ae,se,le,ce,ue,he,de,pe,me,fe,ge,be,ye,we,ve,Te,Ze,Ce,Se,Ie,Ee,Pe=i(67819),_e="Vlll4UyXTvDB3Ntca3mq",Oe="gQqOsAU90xupxk4GPxPl",Re="P8RuaFULZKF3ME9gfgKl",Le="uxYYjiDd7u0QtHMh5yW3",Ae="bNrPaNsp97Sa9hmzMKZl",xe="AlUEgyqvlog1PbE1FC96",Me="pomqyICLrCuQUttlh76S",De="vi_TBZvr4AMy0V63Nni7",Ne="FS1An2VNXciHFAijTFUB",ke="TAg1HOhNrjpbcFzq75mo",ze="JOWqBceNWiyZuqdBAXLg",Ue="sZKC80YroX_W1LCaI5C_",Be="uCwxPG6beyU9xacNcHuw",He="OYGFKea9dvDSZrAB5rQS",Ge="gwsgztExRNFG_lGwoiMk";let We;!function(e){e.default="default",e.game="game",e.event="event"}(We||(We={}));let Fe=(N=(0,m.wA)({name:"CommonSideTabs"}),k=(0,m.yU)("value","trigger",{required:!0}),z=(0,m.fI)(y.ZP.looseBool),U=(0,m.fI)(y.ZP.looseBool),B=(0,m.fI)(y.ZP.bool.def(!1)),H=(0,m.fI)(y.ZP.looseBool.def(!0)),G=(0,m.fI)(y.ZP.string.def("current")),W=(0,m.fI)(y.ZP.array.def([])),F=(0,m.fI)({required:!0}),V=(0,m.fI)({required:!1}),$=(0,m.fI)({default:130}),q=(0,m.fI)(),Y=(0,m.fI)(),j=(0,m.fI)({default:"100%"}),K=(0,m.fI)({default:!1}),X=(0,m.fI)({default:""}),Q=(0,m.fI)({default:We.default}),J=(0,m.fI)({default:!1}),ee=(0,m.fI)({default:!1}),te=(0,m.fI)({default:!0}),ie=(0,f.Debounce)(),ne=(0,m.RL)("current"),re=(0,m.RL)("$route",{immediate:!0}),oe=(0,f.Debounce)(200),N((se=class extends m.XY{constructor(...e){super(...e),(0,d.Z)(this,"current",le,this),(0,d.Z)(this,"tabsNavHiddenForOne",ce,this),(0,d.Z)(this,"tabsNavHidden",ue,this),(0,d.Z)(this,"scrollAutoCenter",he,this),(0,d.Z)(this,"showHoverTips",de,this),(0,d.Z)(this,"persistedActiveName",pe,this),(0,d.Z)(this,"needCacheComponentsList",me,this),(0,d.Z)(this,"renderList",fe,this),(0,d.Z)(this,"preTriggerHook",ge,this),(0,d.Z)(this,"tabsWidth",be,this),(0,d.Z)(this,"tabsHeight",ye,this),(0,d.Z)(this,"tabsScrollWidth",we,this),(0,d.Z)(this,"scrollHeight",ve,this),(0,d.Z)(this,"isScrollY",Te,this),(0,d.Z)(this,"badgeClass",Ze,this),(0,d.Z)(this,"tabsForm",Ce,this),(0,d.Z)(this,"tabsInModal",Se,this),(0,d.Z)(this,"customRender",Ie,this),(0,d.Z)(this,"textAutoShrink",Ee,this)}onCurrentChange(){this.isKeptAlive||(this.persistedActiveName&&this.$router.replace({query:h()({},this.$route.query,{[this.persistedActiveName]:this.current})}),this.scrollAutoCenter&&this.autoCenter())}applyPersistedActiveName(){if(this.persistedActiveName){const e=this.$route.query[this.persistedActiveName];Pe.Z.isEmpty(e)||(this.current="number"==typeof this.current?Number(e):e)}}get ulWidth(){return"string"==typeof this.tabsWidth?this.tabsWidth:v.ZP.px2rem(`${this.tabsWidth??130}px`)}get btnImg(){const e=this.tabsForm===We.event||this.tabsForm===We.game,{siteInfos:t}=(0,b.h)(),{isEuropeanAmerican:i,isStake:n,isHK:r,isTheme18:o,isTheme19:a,isTheme20:s,isTheme21:l,isTheme28:c,isTheme29:u,isTheme43:h}=_.Z.currentTheme(),d=(i||n||r||o||a||s||c||u||l||h)&&t?.backgroundColor===g.sZ.ThemeSkinBg.NO_BG?"common":"{skin}";return{active:{normal:e&&C.Z.hellTabsActive?C.Z.hellTabsActive:"/lobby_asset/{layout}-{bg}-{skin}/web/common/btn_zc1_1.png",vertical:e&&C.Z.hellBigTabsActive?C.Z.hellBigTabsActive:"/lobby_asset/{layout}-{bg}-{skin}/web/common/btn_zc2_1.png"},original:{normal:e&&C.Z.hellTabsBg?C.Z.hellTabsBg:`/lobby_asset/{layout}-{bg}-${d}/web/common/btn_zc1_2.png`,vertical:e&&C.Z.hellBigTabsBg?C.Z.hellBigTabsBg:`/lobby_asset/{layout}-{bg}-${d}/web/common/btn_zc2_2.png`}}}async handleClick(e,t){t.value!==this.current&&(this.preTriggerHook&&await this.preTriggerHook(t),t.isButton||(this.current=t.value,this.isScrollY&&this.autoCenter()))}autoCenter(){const e=document.querySelectorAll(".common-tabs-nav [data-key]");for(let t=0;t<e.length;t++){const i=e[t],n=i.getAttribute("data-key")?.replace("side-item","");if(n===this.current?.toString()){const e=e=>{setTimeout((()=>{i.scrollIntoView({inline:"center",block:"nearest"})}),e)};e(75),e(150),e(300)}}}renderItem(e,t=!0){const i=this.$createElement;if(e.hidden instanceof Function?e.hidden():e.hidden)return null;const n=(e.label instanceof Function?e.label(e):e.label)||this.$scopedSlots?.label?.(e);let r;"string"!=typeof this.tabsHeight||e.isButton?"number"!=typeof this.tabsHeight||e.isButton||(r=v.ZP.px2rem(`${this.tabsHeight}px`)):r=this.tabsHeight;const o=this.current===e.value,{isWeb:a,language:s}=(0,b.h)(),{isHolidayThemeVisible:l}=_.Z,u={class:{[ke]:o,active:o,[Ae]:!0,subItem:t,[Ne]:!!e.isButton,isButton:!!e.isButton,[ze]:!!e.icon,[Ue]:!!e.isVertical&&!e.isButton,isVertical:!!e.isVertical&&!e.isButton,...e.itemClass&&{[e.itemClass]:!0}},style:{width:this.ulWidth,...r?{height:r}:{}},directives:this.showHoverTips?[{name:"inner-text-to-title"}]:[]},h=e.liBg instanceof Function?e.liBg():e.liBg;let d;d="string"==typeof h?h:this.btnImg[o?"active":"original"][e.isVertical?"vertical":"normal"];const p="function"==typeof e.icon?e.icon(o):e.icon,m="string"==typeof n&&2===n.length&&"zh_CN"===s&&!this.textAutoShrink;return i("li",c()([{key:e?.key||e.value,attrs:{"data-key":`side-item${e.value}`}},u,{on:{click:t=>this.handleClick(t,e)}}]),[l&&o&&i(D,{attrs:{isVertical:!!e.isVertical}}),!e.isButton&&i("my-img",{class:Me,attrs:{src:d,alt:""}}),e.tag&&("function"==typeof e.tag?e.tag(o):e.tag),p&&i("div",{class:{[Be]:!0,icon:!0}},[p]),i("div",{class:{[De]:!0,[He]:"string"==typeof n&&!this.textAutoShrink,text:!0,[Ge]:m}},["string"==typeof n?this.textAutoShrink?i(w.Z,{attrs:{limitHeight:a?"0.5rem":"0.62rem",minFontSize:a?"0.12rem":"0.14rem",text:n}}):i("inner-html",{attrs:{text:n}}):n])])}sectionWrapper(e,t){const i=this.$createElement;return t.isScrollY?i("my-scroll",{attrs:{direction:"y",trigger:"none",height:this.scrollHeight,width:`calc(100% + ${v.ZP.px2rem("10px")})`}},[i(Z.Z,{attrs:{direction:"y"}},[e])]):e}renderTabItem(e){const t=this.$createElement;return e?.badgeCount&&e?.badgeCount>0?t(T.Z,{class:[this.badgeClass||"","subItem"],attrs:{value:e?.badgeCount}},[this.renderItem(e,!1)]):this.renderItem(e)}get tabs(){const e=(0,this.$createElement)("ul",{attrs:{"data-len":this.renderList.length},class:{"common-tabs-nav":!0,[Re]:!0,[Le]:!!this.tabsNavHiddenForOne,[xe]:!!this.tabsNavHidden},style:{width:this.tabsScrollWidth||this.ulWidth}},[this.renderList.filter((e=>!e.isFixedToBottom)).map(this.renderTabItem)]);return this.isScrollY?this.sectionWrapper(e,{isScrollY:!0}):this.sectionWrapper(e,{isScrollY:!1})}render(){const e=arguments[0];return e("section",{class:[_e,"common-tabs-sideTabsRoot"]},[e("div",{class:[Oe,"common-tabs-sideWrapper"]},[e("div",{class:"common-tabs-box"},[this.tabs]),this.renderList.filter((e=>e.isFixedToBottom)).map(this.renderTabItem)]),e("div",{class:["common-tabs-content"]},[e("keep-alive",{attrs:{include:this.needCacheComponentsList}},[this.renderList.map((e=>this.customRender||e.value===this.current?this.$slots[e.scope||e.label]||this.$scopedSlots?.default?.(e):null))])])])}},le=(0,p.Z)(se.prototype,"current",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ce=(0,p.Z)(se.prototype,"tabsNavHiddenForOne",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ue=(0,p.Z)(se.prototype,"tabsNavHidden",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),he=(0,p.Z)(se.prototype,"scrollAutoCenter",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),de=(0,p.Z)(se.prototype,"showHoverTips",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),pe=(0,p.Z)(se.prototype,"persistedActiveName",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),me=(0,p.Z)(se.prototype,"needCacheComponentsList",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),fe=(0,p.Z)(se.prototype,"renderList",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ge=(0,p.Z)(se.prototype,"preTriggerHook",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),be=(0,p.Z)(se.prototype,"tabsWidth",[$],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ye=(0,p.Z)(se.prototype,"tabsHeight",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),we=(0,p.Z)(se.prototype,"tabsScrollWidth",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ve=(0,p.Z)(se.prototype,"scrollHeight",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Te=(0,p.Z)(se.prototype,"isScrollY",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ze=(0,p.Z)(se.prototype,"badgeClass",[X],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ce=(0,p.Z)(se.prototype,"tabsForm",[Q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Se=(0,p.Z)(se.prototype,"tabsInModal",[J],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ie=(0,p.Z)(se.prototype,"customRender",[ee],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ee=(0,p.Z)(se.prototype,"textAutoShrink",[te],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,p.Z)(se.prototype,"onCurrentChange",[ie,ne],Object.getOwnPropertyDescriptor(se.prototype,"onCurrentChange"),se.prototype),(0,p.Z)(se.prototype,"applyPersistedActiveName",[re],Object.getOwnPropertyDescriptor(se.prototype,"applyPersistedActiveName"),se.prototype),(0,p.Z)(se.prototype,"autoCenter",[oe],Object.getOwnPropertyDescriptor(se.prototype,"autoCenter"),se.prototype),ae=se))||ae)},75189:function(e,t,i){"use strict";i.d(t,{Z:function(){return w}});var n,r,o,a,s,l,c,u=i(53158),h=i(12040),d=i(38821),p=i(71743),m=i(46930),f=i(75812),g="_ojhUxKWGyFdJIV2Lodx",b="ZmbOmk0ieSKOdeIimJCA",y="orcE9bnrEF9xDTLnxVZg";let w=(n=(0,d.wA)({name:"SubscriptComp"}),r=(0,d.fI)(m.ZP.string.def(f.ZP.px2rem("30px"))),o=(0,d.fI)(m.ZP.string.def(f.ZP.px2rem("30px"))),n((s=class extends d.XY{constructor(...e){super(...e),(0,u.Z)(this,"width",l,this),(0,u.Z)(this,"height",c,this)}render(){const e=arguments[0];return e("p",{class:[g,"subscript"]},[e("icon-sprite",{class:[y,"gou"],attrs:{sprite:(0,p.T9)("comm_icon_gou")}}),e("icon-sprite",{class:[b,"bg"],attrs:{sprite:(0,p.T9)("comm_img_corner")}})])}},l=(0,h.Z)(s.prototype,"width",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,h.Z)(s.prototype,"height",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=s))||a)},40074:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return G}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v,T,Z,C=i(36568),S=i.n(C),I=i(53158),E=i(55433),P=i(12040),_=i(38821),O=i(70753),R=i(5790),L=i(77674),A=i(72698),x=i(62933),M=i(46851),D=i(7174),N=i(71743),k=i(91475),z=i(46930),U=i(12832),B=i(72358),H=i(51205);let G=(n=(0,_.wA)({name:"SwitchCurrency"}),r=(0,_.fI)(z.ZP.number),o=(0,_.fI)(z.ZP.string),a=(0,_.fI)({required:!1}),s=(0,_.fI)(z.ZP.bool.def(!1)),l=(0,_.fI)({default:null}),c=(0,_.fI)({default:34}),u=(0,_.fI)({default:null}),h=(0,O.WY)(),d=(0,O.K4)(50),p=(0,O.WY)(),n((f=class extends _.XY{constructor(...e){super(...e),(0,I.Z)(this,"width",g,this),(0,I.Z)(this,"placement",b,this),(0,I.Z)(this,"getPopupContainer",y,this),(0,I.Z)(this,"disabled",w,this),(0,I.Z)(this,"suffixArrow",v,this),(0,I.Z)(this,"iconSize",T,this),(0,I.Z)(this,"customizeImg",Z,this),(0,E.Z)(this,"state",{loading:!1,visible:!1}),(0,E.Z)(this,"activeName",[])}switchPopover(){this.setState({visible:!this.state.visible})}get isWeb(){return(0,k.h)()?.isWeb}get tryCurrencyConfig(){const{hasLogined:e}=(0,k.h)();return{currencyInfos:e?A.F.formattedList():A.F.registerList()}}get singleCurrency(){return this.tryCurrencyConfig.currencyInfos?.length<=1}renderCurrencyList(e){return(0,this.$createElement)(B.Z,{class:this.state.visible?"currencyPopupOpen":"currencyPopupClose",attrs:{showIcon:e},on:{selected:()=>{this.setState({visible:!1})},loadState:(e=!1)=>{this.setState({loading:e})}}})}renderItem(e){const t=this.$createElement,{currency:i,showIcon:n,showName:r}=e,o=i?.icon;return t(D.X2.Tsx,{attrs:{title:"",type:"flex",align:"middle"},class:[H.Z.item,R.q]},[t("my-img",{class:[H.Z["icon-box-head"],"switch-lang__icon"],attrs:{src:"/lobby_asset/common/common/_sprite/img_hb_frame.png",options:{type:"div"}}},[t("icon-sprite",{attrs:{useSkeleton:!0},props:{...(0,N.Mg)({path:o,width:this.iconSize??34,height:this.iconSize??34})}})]),i.currencyType===x.Tl.CRYPTO?t("span",{class:{[M.CM.CssClassName.Lobby.Ellipsis]:!0,"switch-lang__text":!0}},[i.currencyDisplay]):t("span",{class:{[M.CM.CssClassName.Lobby.Ellipsis]:!0,"switch-lang__text":!0}},[r?`${i.currencyDisplay}(${i.currencyName})`:i.currencyCode]),n&&t("div",{class:{[H.Z.cicle]:!0,cicle:!0}},[t("icon-sprite",{attrs:{useSkeleton:!0,sprite:(0,N.T9)("comm_icon_gou")}})])])}handlerOpenCurrencyModal(){M.sG.Modal.open("switchCurrencyPopup")}get isHiddenDownArrow(){const{isEuropeanAmerican:e}=U.Z.currentTheme();return e&&1===this.tryCurrencyConfig.currencyInfos.length}renderCurrencyInfo(){const e=this.$createElement,{userInfos:t}=(0,k.h)(),i=this.tryCurrencyConfig.currencyInfos.find((e=>e?.currencyCode==t?.currency));if(i)return this.customizeImg?"function"==typeof this.customizeImg?this.customizeImg():this.customizeImg:e("div",{class:["bottom"!=this.placement?H.Z["current-container"]:H.Z["current-bottom"],"bottom"!=this.placement?"current-container":"",this.state.visible?"currencyCurrentPopupOpen":"currencyCurrentPopupClose"]},[this.renderItem({currency:i||[],showIcon:!1,showName:!1}),this.isHiddenDownArrow?null:e(D.JO.Tsx,{class:[H.Z["right-icon"],"switch-currency__arrow",H.Z["header-right-icon"]],attrs:{component:{functional:!0,render:()=>this.state.loading?e(D.JO.Tsx,{attrs:{type:"loading"}}):this.suffixArrow?"function"==typeof this.suffixArrow?this.suffixArrow():this.suffixArrow:e("icon-sprite",S()([{class:[H.Z.arrow,"arrow"],attrs:{sprite:(0,N.T9)("comm_icon_sort"),useSkeleton:!0}},{attrs:{"data-visible":this.state.visible}}]))}}})])}renderBottom(){const e=this.$createElement;return e(L.UO,{attrs:{border:!1},model:{value:this.activeName,callback:e=>{this.activeName=e}}},[e(L.TL,{attrs:{name:1,border:!1}},[e("template",{slot:"title"},[this.renderCurrencyInfo()]),e("template",{slot:"right-icon"},[e("span")]),e("div",S()([{class:H.Z.currencyScroll},{directives:[{name:"click-outside",value:()=>{this.state.visible&&this.switchPopover()}}]}]),[this.renderCurrencyList()])])])}closeDropdown(e){"CLOSE_DROPDOWN"===e.type&&this.state.visible&&this.setState({visible:!1})}created(){this.subscribeGlobalEvents(this.closeDropdown)}render(){const e=arguments[0],t=(0,k.h)().userInfos?.account_type||1;return this.singleCurrency&&1===t?e("div"):e("div",["bottom"==this.placement?this.renderBottom():e("div",{class:[H.Z["currency-switch-header"],"currency-switch-header"],on:{click:()=>{this.disabled||!this.isHiddenDownArrow&&this.handlerOpenCurrencyModal()}}},[this.renderCurrencyInfo()])])}},g=(0,P.Z)(f.prototype,"width",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,P.Z)(f.prototype,"placement",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,P.Z)(f.prototype,"getPopupContainer",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,P.Z)(f.prototype,"disabled",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,P.Z)(f.prototype,"suffixArrow",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,P.Z)(f.prototype,"iconSize",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,P.Z)(f.prototype,"customizeImg",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,P.Z)(f.prototype,"switchPopover",[h,d],Object.getOwnPropertyDescriptor(f.prototype,"switchPopover"),f.prototype),(0,P.Z)(f.prototype,"closeDropdown",[p],Object.getOwnPropertyDescriptor(f.prototype,"closeDropdown"),f.prototype),m=f))||m)},72358:function(e,t,i){"use strict";i.d(t,{Z:function(){return C}});var n,r,o,a,s,l,c,u=i(53158),h=i(12040),d=i(38821),p=i(46851),m=i(7174),f=i(71743),g=i(91475),b=i(51205),y=i(5790),w=i(72698),v=i(62933),T=i(29472),Z=i(12832);let C=(n=(0,d.wA)({name:"SwitchCurrencyOptions"}),r=(0,d.fI)({default:!1}),o=(0,d.y1)("selected"),a=(0,d.y1)("loadState"),n((l=class extends d.XY{constructor(...e){super(...e),(0,u.Z)(this,"showIcon",c,this)}selected(){}loadState(e=!1){return e}get selectedKeys(){const{userInfos:e}=(0,g.h)();return[e?.currency]}get tryCurrencyConfig(){const{hasLogined:e}=(0,g.h)();return{currencyInfos:e?w.F.formattedList():w.F.registerList()}}async handlerCurrencyChange(e){this.loadState(!0);const{updateCurrentTryCurrency:t}=(0,g.h)(),i=this.tryCurrencyConfig.currencyInfos.find((t=>t.currencyCode===e.key));if(i){await t(i);const e=(0,T.aE)();(0,T.OT)(this.$route.query,{...e,currency:i.currencyCode})}this.loadState(!1),this.selected(),window.location.reload()}renderItem(e){const t=this.$createElement,{currency:i,showIcon:n}=e,{hasLogined:r}=(0,g.h)(),{isStake:o}=Z.Z.currentTheme(),a=i?.icon,s=o?26:30;return t(m.X2.Tsx,{attrs:{title:"",type:"flex",align:"middle"},class:[b.Z.item,y.q]},[r?t("my-img",{class:[b.Z["icon-box-head"],"switch-lang__icon"],attrs:{src:"/lobby_asset/common/common/_sprite/img_hb_frame.png",options:{type:"div"}}},[t("icon-sprite",{attrs:{useSkeleton:!0},props:{...(0,f.Mg)({path:a,width:s,height:s})}})]):t("div",{class:[b.Z["icon-box-head"],"switch-lang__icon"]},[t("icon-sprite",{attrs:{useSkeleton:!0},props:{...(0,f.Mg)({path:a,width:s,height:s})}})]),i.currencyType===v.Tl.CRYPTO?t("span",{class:{[p.CM.CssClassName.Lobby.Ellipsis]:!0,"switch-lang__text":!0}},[i.currencyDisplay]):t("span",{class:{[p.CM.CssClassName.Lobby.Ellipsis]:!0,"switch-lang__text":!0}},[i.currencyDisplay,"(",i.currencyName,")"]),n&&t("div",{class:{[b.Z.cicle]:!0,cicle:!0}},[t("icon-sprite",{attrs:{sprite:(0,f.T9)("comm_icon_gou")}})])])}render(){const e=arguments[0];return e(m.v2.Tsx,{class:b.Z.menu,attrs:{selectable:!0,"selected-keys":this.selectedKeys},on:{click:this.handlerCurrencyChange}},[this.tryCurrencyConfig.currencyInfos.map((t=>e(m.v2.Item.Tsx,{key:t.currencyCode,class:b.Z.switchItem},[this.renderItem({currency:t,showIcon:this.showIcon,iconSize:this.showIcon?30:0})])))])}},c=(0,h.Z)(l.prototype,"showIcon",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,h.Z)(l.prototype,"selected",[o],Object.getOwnPropertyDescriptor(l.prototype,"selected"),l.prototype),(0,h.Z)(l.prototype,"loadState",[a],Object.getOwnPropertyDescriptor(l.prototype,"loadState"),l.prototype),s=l))||s)},16340:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return F}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v,T,Z=i(36568),C=i.n(Z),S=i(50361),I=i.n(S),E=i(53158),P=i(55433),_=i(12040),O=i(38821),R=i(70753),L=i(48618),A=i(5790),x=i(77674),M=i(46851),D=i(7174),N=i(71743),k=i(70278),z=i(91475),U=i(46930),B=i(75812),H=i(12832),G=i(16052),W=i(92304);let F=(n=(0,O.wA)({name:"SwitchLang"}),r=(0,O.fI)(U.ZP.string.def("bottomLeft")),o=(0,O.fI)({required:!1}),a=(0,O.fI)(U.ZP.bool.def(!1)),s=(0,O.fI)({default:!1}),l=(0,O.fI)({default:null}),c=(0,O.fI)({default:null}),u=(0,O.RL)("h5AsideShow"),h=(0,R.WY)(),d=(0,R.K4)(50),p=(0,R.WY)(),n((f=class extends O.XY{constructor(...e){super(...e),(0,E.Z)(this,"placement",g,this),(0,E.Z)(this,"getPopupContainer",b,this),(0,E.Z)(this,"disabled",y,this),(0,E.Z)(this,"border",w,this),(0,E.Z)(this,"suffixArrow",v,this),(0,E.Z)(this,"prefixArrow",T,this),(0,P.Z)(this,"state",{loading:!1,visible:!1}),(0,P.Z)(this,"activeName",[])}get h5AsideShow(){return(0,k.o)().h5AsideShow}handleH5AsideShowChange(){this.h5AsideShow||this.setState({visible:!1})}get langList(){const e=(0,z.h)();return I()(e?.siteInfos?.languageInfos||[]).sort((e=>e.defaultLanguageTag?-1:1)).filter((e=>L.xD.includes(e.languageCode)))||[]}get isSingle(){const{isTheme34:e}=H.Z.currentTheme();return e?0===this.langList.length:this.langList.length<=1}renderCurrentItem(){const e=this.$createElement,t=(0,z.h)().language,i=this.langList.find((e=>e.languageCode===M.CM.ServiceLanguageMap[t]))?.languageTranslateName||"";return e(D.X2.Tsx,{attrs:{title:i,type:"flex",align:"middle"},class:[W.Z.item,A.q,(0,k.o)().asideLangSelected?"langCurrentPopupOpen":"langCurrentPopupClose"]},[e("span",{class:[M.CM.CssClassName.Lobby.Ellipsis,"switch-lang__text"]},[i])])}renderLangList(){return(0,this.$createElement)(G.Z,{class:this.state.visible?"langPopupOpen":"langPopupClose",attrs:{placement:this.placement},on:{selected:()=>{this.setState({visible:!1})},loadState:(e=!1)=>{this.setState({loading:e})}}})}switchPopover(){this.setState({visible:!this.state.visible})}renderRightArrow(e=!0){const t=this.$createElement;return t(D.JO.Tsx,{directives:[{name:"show",value:e}],class:[W.Z["right-icon"],"switch-lang__arrow"],attrs:{component:{functional:!0,render:()=>this.state.loading?t(D.JO.Tsx,{attrs:{type:"loading"}}):this.suffixArrow?"function"==typeof this.suffixArrow?this.suffixArrow():this.suffixArrow:t("icon-sprite",C()([{class:[W.Z.arrow,"arrow"],attrs:{sprite:(0,N.T9)("comm_icon_sort"),useSkeleton:!0}},{attrs:{"data-visible":this.state.visible}}]))}}})}closeDropdown(e){"CLOSE_DROPDOWN"===e.type&&(this.setState({visible:!1}),this.$forceUpdate())}created(){this.subscribeGlobalEvents(this.closeDropdown)}openChange(e){const{setAsideLangSelected:t}=(0,k.o)();t(e)}render(){const e=arguments[0],{isStake:t}=H.Z.currentTheme(),{collapsed:i}=(0,k.o)();return this.isSingle?e("div"):this.disabled?e("div",{class:W.Z.disabled},[this.renderCurrentItem()]):"bottom"===this.placement?e(x.UO,{attrs:{border:!1},class:[W.Z.languagePopver,W.Z.languagePopverBottom],model:{value:this.activeName,callback:e=>{this.activeName=e}}},[e(x.TL,{attrs:{name:1,border:!1}},[e("template",{slot:"title"},[e("span",{class:[W.Z.languagePopver,W.Z.languagePopverBottom]},[e("span",{class:[W.Z.prefixWarp,"prefixWarp",this.activeName.indexOf(1)>-1?"wrapActived":""]},[this.prefixArrow&&("function"==typeof this.prefixArrow?this.prefixArrow():this.prefixArrow),e("span",{class:[W.Z["current-container"],"current-container","lang-switch",this.activeName.indexOf(1)>-1?"langCurrentTitlePopupOpen":"langCurrentTitlePopupClose"]},[!(t&&i)&&this.renderCurrentItem(),this.renderRightArrow(!(t&&i))])])])]),e("template",{slot:"right-icon"},[e("span")]),e("my-scroll",C()([{attrs:{height:this.langList.length>6?B.ZP.px2rem("360px"):"100%"}},{directives:[{name:"click-outside",value:()=>{this.state.visible&&this.switchPopover()}}]}]),[this.renderLangList()])])]):e(D.J2.Tsx,{class:[A.q],attrs:{trigger:["click"],open:this.state.visible,placement:this.placement,getPopupContainer:this.getPopupContainer,overlayClassName:`${W.Z.languagePopver} switch-languagePopver`},on:{visibleChange:this.openChange}},[e("div",{class:[W.Z["current-container"],"current-container","lang-switch"],style:{height:"auto"}},[!(t&&i)&&this.renderCurrentItem(),this.renderRightArrow(!(t&&i))]),this.langList.length>0&&e("template",{slot:"content"},[e("my-scroll",C()([{attrs:{height:this.langList.length>6?B.ZP.px2rem("360px"):"100%"}},{directives:[{name:"click-outside",value:()=>{this.state.visible&&this.switchPopover()}}]}]),[this.renderLangList()])])])}},g=(0,_.Z)(f.prototype,"placement",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,_.Z)(f.prototype,"getPopupContainer",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,_.Z)(f.prototype,"disabled",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,_.Z)(f.prototype,"border",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,_.Z)(f.prototype,"suffixArrow",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,_.Z)(f.prototype,"prefixArrow",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,_.Z)(f.prototype,"handleH5AsideShowChange",[u],Object.getOwnPropertyDescriptor(f.prototype,"handleH5AsideShowChange"),f.prototype),(0,_.Z)(f.prototype,"switchPopover",[h,d],Object.getOwnPropertyDescriptor(f.prototype,"switchPopover"),f.prototype),(0,_.Z)(f.prototype,"closeDropdown",[p],Object.getOwnPropertyDescriptor(f.prototype,"closeDropdown"),f.prototype),m=f))||m)},16052:function(e,t,i){"use strict";i.d(t,{Z:function(){return _}});var n,r,o,a,s,l,c,u,h,d=i(63137),p=i.n(d),m=i(50361),f=i.n(m),g=i(53158),b=i(55433),y=i(12040),w=i(38821),v=i(48618),T=i(46851),Z=i(7174),C=i(71743),S=i(91475),I=i(92304),E=i(5790),P=i(24965);let _=(n=(0,w.wA)({name:"SwitchLangOptions"}),r=(0,w.fI)({default:!1}),o=(0,w.fI)({default:!1}),a=(0,w.y1)("selected"),s=(0,w.y1)("loadState"),n((c=class extends w.XY{constructor(...e){super(...e),(0,b.Z)(this,"state",{langKey:""}),(0,g.Z)(this,"showIcon",u,this),(0,g.Z)(this,"placement",h,this),(0,b.Z)(this,"loading",!1),(0,b.Z)(this,"handlerSelect",(async e=>{this.setState({langKey:e.key});(0,S.h)().$patch({language:e.key});document.documentElement.setAttribute("lang",e.key);const t=["web.lobby.lastLayout","web.lobby.lastLanguage"];Object.keys(localStorage).filter((e=>!t.includes(e)&&/^web\.lobby\./.test(e))).forEach((e=>localStorage.removeItem(e))),this.selected(),P.Z.toRoot()}))}selected(){}loadState(e=!1){return this.loading=e,e}get selectedKey(){return(0,S.h)().language}get langList(){const e=(0,S.h)();return f()(e?.siteInfos?.languageInfos||[]).sort((e=>e.defaultLanguageTag?-1:1)).filter((e=>v.xD.includes(e.languageCode)))||[]}renderItem({name:e,selected:t}){const i=this.$createElement;return i(Z.X2.Tsx,{attrs:{title:e,type:"flex",align:"middle"},class:[I.Z.item,E.q]},[i("span",{class:[T.CM.CssClassName.Lobby.Ellipsis,"switch-lang__text"]},[e]),t?i("icon-sprite",{class:I.Z["switch-lang-animate"],attrs:{scale:30/41,sprite:(0,C.XY)("sprite_main_comm_icon_loading")}}):this.showIcon&&i("div",{class:[I.Z.cicle,"cicle"]},[i("icon-sprite",{attrs:{sprite:(0,C.T9)("comm_icon_gou")}})])])}render(){const e=arguments[0];return e(Z.v2.Tsx,{class:I.Z.menu,attrs:{selectable:!0,"selected-keys":[this.selectedKey]},on:{select:this.handlerSelect}},[this.langList.map((t=>{const{languageCode:i,languageTranslateName:n}=t,r=p()(T.CM.ServiceLanguageMap)[i];return e(Z.v2.Item.Tsx,{key:r},[this.renderItem({name:n,selected:"rightTop"!==this.placement&&this.loading&&r===this.state.langKey})])}))])}},u=(0,y.Z)(c.prototype,"showIcon",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,y.Z)(c.prototype,"placement",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,y.Z)(c.prototype,"selected",[a],Object.getOwnPropertyDescriptor(c.prototype,"selected"),c.prototype),(0,y.Z)(c.prototype,"loadState",[s],Object.getOwnPropertyDescriptor(c.prototype,"loadState"),c.prototype),l=c))||l)},50377:function(e,t,i){"use strict";i.d(t,{$z:function(){return o},L8:function(){return s},Oz:function(){return l},XE:function(){return a},lL:function(){return c}});var n=i(75812),r=i(1400);const o={rowKey:"id",bordered:!1,defaultExpandAllRows:!1,showHeader:!0,rowClassName:(e,t)=>t%2==0?r.Z.even:r.Z.odd},a={align:"center",ellipsis:!0,fixed:!1,width:n.ZP.px2rem(120)},s=10,l=15,c=0},30516:function(e,t,i){"use strict";i.d(t,{F:function(){return Re}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v,T,Z,C,S,I,E,P,_,O,R,L,A,x,M,D,N,k,z,U,B,H,G,W,F,V,$,q,Y,j,K,X,Q,J,ee,te,ie,ne,re,oe,ae,se,le,ce=i(36568),ue=i.n(ce),he=i(82492),de=i.n(he),pe=i(53158),me=i(55433),fe=i(12040),ge=i(38821),be=i(29339),ye=i(50377),we=i(70753),ve=i(46851),Te=i(7174),Ze=i(56208),Ce=i(58217),Se=i(91475),Ie=i(44586),Ee=i(46930),Pe=i(75812),_e=i(58164),Oe=i(1400);let Re=(n=(0,ge.wA)({name:"CommonTable"}),r=(0,ge.fI)({default:!1}),o=(0,ge.fI)({default:!1}),a=(0,ge.fI)({default:!1}),s=(0,ge.fI)({default:Pe.ZP.px2rem(1100)}),l=(0,ge.fI)({default:()=>({})}),c=(0,ge.fI)(Ee.ZP.array.def([])),u=(0,ge.fI)({required:!1,default:()=>(0,Se.h)().isWeb?ye.L8:ye.Oz}),h=(0,ge.fI)({required:!0}),d=(0,ge.fI)({required:!1}),p=(0,ge.fI)({default:null}),m=(0,ge.fI)({default:!0}),f=(0,ge.fI)({default:!0}),g=(0,ge.fI)({required:!1}),b=(0,ge.fI)({required:!1}),y=(0,ge.fI)({default:Pe.ZP.px2rem("500px")}),w=(0,ge.fI)({default:()=>({})}),v=(0,ge.fI)({default:!1}),T=(0,ge.fI)({default:!1}),Z=(0,ge.fI)({default:!0}),C=(0,ge.fI)({default:!0}),S=(0,ge.fI)({default:-100}),I=(0,ge.fI)({required:!1,default:!1}),E=(0,ge.fI)({required:!1,default:!1}),P=(0,ge.fI)({required:!1,default:!1}),_=(0,ge.RL)("condition",{deep:!0}),O=(0,ge.RL)("state.pageSize"),R=(0,ge.RL)("condition",{deep:!0}),L=(0,ge.RL)("state.pageSize"),A=(0,ge.RL)("state.pageNo"),x=(0,ge.RL)("defaultPageSize"),M=(0,we.K4)(),D=(0,ge.RL)("isWeb",{immediate:!0}),N=(0,ge.y1)("change"),n((z=class extends ge.XY{constructor(...e){super(...e),(0,me.Z)(this,"state",{source:[],infinitySource:[],pageNo:1,pageSize:0,isLoading:!1,total:ye.lL,virtualPageNo:1,isCacheSource:!1,axiosError:null}),(0,me.Z)(this,"scrollLock",!1),(0,pe.Z)(this,"isHiddenPagination",U,this),(0,pe.Z)(this,"listMode",B,this),(0,pe.Z)(this,"virtualLoading",H,this),(0,pe.Z)(this,"listScrollHeight",G,this),(0,pe.Z)(this,"listRenderItem",W,this),(0,pe.Z)(this,"columns",F,this),(0,pe.Z)(this,"defaultPageSize",V,this),(0,pe.Z)(this,"query",$,this),(0,pe.Z)(this,"customRetry",q,this),(0,pe.Z)(this,"customRenderEmpty",Y,this),(0,pe.Z)(this,"hiddenFooterForNullData",j,this),(0,pe.Z)(this,"isShowPagination",K,this),(0,pe.Z)(this,"preQueryHook",X,this),(0,pe.Z)(this,"postQueryHook",Q,this),(0,pe.Z)(this,"emptyHeight",J,this),(0,pe.Z)(this,"condition",ee,this),(0,pe.Z)(this,"reverseBgInListMode",te,this),(0,pe.Z)(this,"reverseBgInTableMode",ie,this),(0,pe.Z)(this,"scrollDownLoading",ne,this),(0,pe.Z)(this,"showGoto",re,this),(0,pe.Z)(this,"flipPositioningBottom",oe,this),(0,pe.Z)(this,"needLoadingBackgroundMask",ae,this),(0,pe.Z)(this,"isTimeoutError",se,this),(0,pe.Z)(this,"hiddenBlur",le,this),(0,me.Z)(this,"beforeScroll",0)}get maxPage(){const{total:e,pageSize:t}=this.state;return Math.ceil(e/t)}get virtualState(){const{pageSize:e}=this.state;return{source:this.state.source.slice((this.state.virtualPageNo-1)*e,this.state.virtualPageNo*e),infinitySource:this.state.source.slice(0,this.state.virtualPageNo*e),pageNo:this.state.virtualPageNo,pageSize:e,total:this.state.source.length}}get maxVirtualPage(){const{total:e,pageSize:t}=this.virtualState;return Math.ceil(e/t)}get isWeb(){return(0,Se.h)().isWeb}setDefaultPages(e){this.$nextTick((()=>{this.setState({pageNo:e})}))}resetPage(){this.setState({pageNo:1,infinitySource:[]})}async onConditionChange(){const{pageNo:e,pageSize:t,isLoading:i}=this.state;if(i)return;this.setState({isLoading:!0}),await(this.preQueryHook?.call(this));const{data:n,total:r,isCache:o,err:a}=await this.query(e,t,this.condition??{}).finally((()=>{this.setState({isLoading:!1})}));if(this.setState({axiosError:a}),await(this.postQueryHook?.call(this)),o&&this.setState({isCacheSource:!0}),!o&&this.state.isCacheSource&&this.setState({isCacheSource:!1,infinitySource:[]}),this.setState({isLoading:!1,source:n??[],infinitySource:this.state.infinitySource.concat(n)??[],total:r??ye.lL}),this.virtualLoading){(this.listMode?document.querySelector(`.list-${this.uuid}.ant-list`):document.querySelector(".ant-table-body"))?.scrollTo({top:0,behavior:"smooth"}),this.state.virtualPageNo=1}}initPageSize(){this.setState({pageSize:this.defaultPageSize??ye.L8})}changeState(e){this.setState(e)}renderColumn(){const e=this.$createElement;return this.columns&&0!==this.columns?.length?this.columns.map((t=>e(Te.iA.Column.Tsx,{props:{...de()({},ye.XE,t)},scopedSlots:{default:(e,i,n)=>t.customRender?t.customRender(e,i,n):e}}))):e("div")}get tableConfig(){return Object.assign({},ye.$z,{pagination:!1},this.$attrs)}changePage(e){if(this.virtualLoading){const{virtualPageNo:t}=this.state;if(t+e<1||t+e>this.maxVirtualPage)return;this.state.virtualPageNo+=e}else{const{pageNo:t}=this.state;if(t+e<1||t+e>this.maxPage)return;this.setState({pageNo:t+e})}}bindMobileEventHandler(){this.$nextTick((()=>{const e=this.listMode?document.querySelector(`.mylist-${this.uuid}.ant-list`):document.querySelector(".ant-table-body");this.scrollLock=!1;const t=e=>{if(this.isKeptAlive)return;const t=e.target,i=t.scrollHeight-t.clientHeight,n=t.scrollTop;!this.scrollLock&&this.beforeScroll<n&&n>=.95*i&&this.scrollDownLoading&&(this.changePage(1),this.scrollLock=!0,setTimeout((()=>{this.scrollLock=!1}),200)),this.beforeScroll=n};e?.removeEventListener("scroll",t),e?.addEventListener("scroll",t)}))}handleChange(e,t,i){return{pagination:e,filter:t,sorter:i}}get hiddenFooter(){return 0===this.state.source.length&&this.hiddenFooterForNullData||!this.$scopedSlots?.footer}get showPagination(){return this.isShowPagination&&!this.isHiddenPagination&&this.isWeb&&!this.listMode&&this.state.total>0}get dataSource(){return this.listMode?this.state.infinitySource:this.isWeb?this.state.source:this.state.infinitySource}get virtualDataSource(){return this.isWeb?this.virtualState.source:this.virtualState.infinitySource}renderList(e){const t=this.$createElement;if(this.customRenderEmpty&&!this.state.isLoading&&0===e?.length)return this.customRenderEmpty?.();return t(Te.aV,{class:{reverseBgInListMode:!0,[Oe.Z.reverseBgInListMode]:!!this.reverseBgInListMode,[`mylist-${this.uuid}`]:!0},attrs:{loading:{spinning:this.state.isLoading,indicator:t("template")},itemLayout:"horizontal",dataSource:e,renderItem:e=>this.listRenderItem&&this.listRenderItem(e)},style:{"--empty-height":this.emptyHeight,height:this.listScrollHeight,overflow:"scroll"}})}created(){this.uuid=(0,Ie.Z)(),this.initPageSize()}mounted(){this.bindMobileEventHandler()}render(){const e=arguments[0],t=this.dataSource,i=this.virtualDataSource,{pageNo:n,pageSize:r,total:o}=this.state,{t:a}=(0,Ce.QT)();return e(be.gE,{attrs:{spinning:this.state.isLoading,hiddenBlur:this.hiddenBlur,needLoadingBackgroundMask:this.needLoadingBackgroundMask}},[e("section",{class:[Oe.Z.comTable,this.reverseBgInTableMode?Oe.Z.reverse:""],style:{"min-height":this.emptyHeight,"--empty-height":this.emptyHeight}},[this.state.axiosError?e(_e.Z,{attrs:{displayType:_e.F.ListData,axiosError:this.state.axiosError,height:this.listScrollHeight,loading:this.state.isLoading},on:{retry:this.customRetry?this.customRetry:this.onConditionChange}}):this.listMode?this.renderList(this.virtualLoading?i:t):e(Te.iA.Tsx,ue()([{attrs:{dataSource:this.virtualLoading?i:t},on:{change:this.handleChange}},{props:this.tableConfig,on:this.$listeners,directives:[{name:"perfect-scrollbar",value:{el:e=>e.querySelector(".ant-table-body")}}]}]),[this.renderColumn()]),!this.hiddenFooter&&e("div",{class:[this.isWeb?Oe.Z.footer:Oe.Z.mobileFooter,ve.CM.CssClassName.Lobby.FixedNoDesktop,"mobileFooter"]},[this.$scopedSlots?.footer?.call(this)])]),this.showPagination&&e("div",{class:Oe.Z.pagination,style:{bottom:Pe.ZP.px2rem(`${this.flipPositioningBottom}px`)}},[e(Te.tl.Tsx,{class:Oe.Z.pluginsPagination,attrs:{current:n,pageSize:r,total:o},on:{change:e=>{this.setState({pageNo:e})}}}),e("span",[a("lobby.common.pagination.total",[o])]),e(Te.Ph.Tsx,{attrs:{value:r},style:{width:Pe.ZP.px2rem("160px")},key:"pageSize",on:{change:e=>this.setState({pageSize:e})}},[[10,20,30,40,50].map((t=>e(Te.Ph.Option.Tsx,{attrs:{value:t},key:String(t)},[a("lobby.common.pagination.select",[t])])))]),this.showGoto?e("span",[a("lobby.common.pagination.goto"),e(Te.II.Tsx,{attrs:{value:n},on:{keyup:e=>{if("Enter"==e.key){const t=e.target;let i=Number(t.value.replace(/\D/g,""));const n=Math.ceil(o/r);i=i<1?1:i,i=i>n?n:i,this.setState({pageNo:i})}}}}),a("lobby.common.pagination.page")]):""])])}},U=(0,fe.Z)(z.prototype,"isHiddenPagination",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,fe.Z)(z.prototype,"listMode",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,fe.Z)(z.prototype,"virtualLoading",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),G=(0,fe.Z)(z.prototype,"listScrollHeight",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=(0,fe.Z)(z.prototype,"listRenderItem",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,fe.Z)(z.prototype,"columns",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=(0,fe.Z)(z.prototype,"defaultPageSize",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=(0,fe.Z)(z.prototype,"query",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=(0,fe.Z)(z.prototype,"customRetry",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,fe.Z)(z.prototype,"customRenderEmpty",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,fe.Z)(z.prototype,"hiddenFooterForNullData",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,fe.Z)(z.prototype,"isShowPagination",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,fe.Z)(z.prototype,"preQueryHook",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=(0,fe.Z)(z.prototype,"postQueryHook",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,fe.Z)(z.prototype,"emptyHeight",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=(0,fe.Z)(z.prototype,"condition",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=(0,fe.Z)(z.prototype,"reverseBgInListMode",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ie=(0,fe.Z)(z.prototype,"reverseBgInTableMode",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ne=(0,fe.Z)(z.prototype,"scrollDownLoading",[Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),re=(0,fe.Z)(z.prototype,"showGoto",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),oe=(0,fe.Z)(z.prototype,"flipPositioningBottom",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ae=(0,fe.Z)(z.prototype,"needLoadingBackgroundMask",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),se=(0,fe.Z)(z.prototype,"isTimeoutError",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),le=(0,fe.Z)(z.prototype,"hiddenBlur",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,fe.Z)(z.prototype,"resetPage",[_,O],Object.getOwnPropertyDescriptor(z.prototype,"resetPage"),z.prototype),(0,fe.Z)(z.prototype,"onConditionChange",[R,L,A],Object.getOwnPropertyDescriptor(z.prototype,"onConditionChange"),z.prototype),(0,fe.Z)(z.prototype,"initPageSize",[x],Object.getOwnPropertyDescriptor(z.prototype,"initPageSize"),z.prototype),(0,fe.Z)(z.prototype,"changePage",[M],Object.getOwnPropertyDescriptor(z.prototype,"changePage"),z.prototype),(0,fe.Z)(z.prototype,"bindMobileEventHandler",[D],Object.getOwnPropertyDescriptor(z.prototype,"bindMobileEventHandler"),z.prototype),(0,fe.Z)(z.prototype,"handleChange",[N],Object.getOwnPropertyDescriptor(z.prototype,"handleChange"),z.prototype),k=z))||k);t.Z=(0,Ze.l4)().convert(Re)},36476:function(e,t,i){"use strict";i.d(t,{p:function(){return Ce},Z:function(){return Se}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v,T,Z,C,S,I,E,P,_,O,R,L,A,x,M,D,N,k,z,U,B,H,G,W,F,V,$,q,Y,j,K,X,Q,J,ee,te,ie,ne,re,oe,ae=i(36568),se=i.n(ae),le=i(82492),ce=i.n(le),ue=i(53158),he=i(55433),de=i(12040),pe=i(38821),me=i(2046),fe=i(77674),ge=i(71743),be=i(58217),ye=i(46930),we=i(75812),ve=i(75189),Te=i(67819),Ze={tabs:"ETlYzQW0ZLPLfrXjv6oO",backBtn:"JZSpgORc0FCw7pRZyhDT",icon:"VVps4zS1xSbu6HW5I0rX",footer:"BUdvF4OFJACs1uXeyS3s",hiddenNav:"l6qVBgUGAjapYIuAR_Vw",tabsWrapperTabsTransparent:"VKC7gMos6kDr8F5Ej6It",tabsCenter:"jNAMpmEIhxiMZURGl06G",hasWidth:"XorgNaPq9Iwv1NE5A2AU",showCallbackIcon:"UEwaOCPqOtBUuaMjXFTH",common_bganimation:"hAtw1VJveuaawAy_ii6Y"};let Ce;!function(e){e.ICON="icon",e.TEXT="text",e.LARGE_TEXT="largeText"}(Ce||(Ce={}));let Se=(n=(0,pe.wA)({name:"CommonTabsH5"}),r=(0,pe.yU)("value","trigger",{required:!0}),o=(0,pe.fI)(ye.ZP.looseBool),a=(0,pe.fI)(ye.ZP.looseBool),s=(0,pe.fI)(ye.ZP.looseBool.def(!1)),l=(0,pe.fI)(ye.ZP.looseBool.def(!1)),c=(0,pe.fI)(ye.ZP.looseBool.def(!1)),u=(0,pe.fI)(ye.ZP.looseBool.def(!0)),h=(0,pe.fI)(ye.ZP.string.def("current")),d=(0,pe.fI)(ye.ZP.array.def([])),p=(0,pe.fI)({required:!0}),m=(0,pe.fI)({required:!1}),f=(0,pe.fI)({default:"auto"}),g=(0,pe.fI)({default:"text"}),b=(0,pe.fI)(),y=(0,pe.fI)(),w=(0,pe.fI)({default:0}),v=(0,pe.fI)(ye.ZP.cssClass),T=(0,pe.fI)(ye.ZP.bool.def(!1)),Z=(0,pe.fI)({default:!0}),C=(0,pe.fI)({default:!0}),S=(0,pe.fI)({default:"tabs-h5"}),I=(0,pe.fI)({default:!1}),E=(0,pe.fI)(ye.ZP.func.def(void 0)),P=(0,pe.fI)({default:!1}),_=(0,pe.fI)(ye.ZP.func.def(void 0)),O=(0,me.Debounce)(),R=(0,pe.RL)("current",{immediate:!0}),L=(0,pe.RL)("$route",{immediate:!0}),A=(0,pe.y1)("scroll"),n((M=class extends pe.XY{constructor(...e){super(...e),(0,ue.Z)(this,"current",D,this),(0,ue.Z)(this,"tabsNavHiddenForOne",N,this),(0,ue.Z)(this,"tabsNavHidden",k,this),(0,ue.Z)(this,"tabsTransparent",z,this),(0,ue.Z)(this,"isButtonTab",U,this),(0,ue.Z)(this,"overflowEllipsis",B,this),(0,ue.Z)(this,"showHoverTips",H,this),(0,ue.Z)(this,"persistedActiveName",G,this),(0,ue.Z)(this,"needCacheComponentsList",W,this),(0,ue.Z)(this,"renderList",F,this),(0,ue.Z)(this,"preTriggerHook",V,this),(0,ue.Z)(this,"itemWidth",$,this),(0,ue.Z)(this,"tabType",q,this),(0,ue.Z)(this,"itemHeight",Y,this),(0,ue.Z)(this,"itemSpace",j,this),(0,ue.Z)(this,"tabsLeftMargin",K,this),(0,ue.Z)(this,"itemListWrapperClassName",X,this),(0,ue.Z)(this,"showCallbackIcon",Q,this),(0,ue.Z)(this,"needAutoCenter",J,this),(0,ue.Z)(this,"isSelectAnimat",ee,this),(0,ue.Z)(this,"soleId",te,this),(0,ue.Z)(this,"isLayoutCenter",ie,this),(0,ue.Z)(this,"goBack",ne,this),(0,ue.Z)(this,"listenScroll",re,this),(0,ue.Z)(this,"resizeLineBaseDom",oe,this),(0,he.Z)(this,"isDragging",!1),(0,he.Z)(this,"startX",0),(0,he.Z)(this,"scrollLeft",0),(0,he.Z)(this,"showMask",!1),(0,he.Z)(this,"waitMaskTimer",0),(0,he.Z)(this,"t",(0,be.QT)().t)}onCurrentChange(){this.isKeptAlive||(this.persistedActiveName&&this.$router.replace({query:ce()({},this.$route.query,{[this.persistedActiveName]:this.current})}),this.$nextTick((()=>{this.setActiveClientWith()})))}applyPersistedActiveName(){if(this.persistedActiveName){const e=this.$route.query[this.persistedActiveName];Te.Z.isEmpty(e)||(this.current="number"==typeof this.current?Number(e):e)}}get getTabsNavDiv(){return this.$el.querySelector(".van-tabs__nav")}mounted(){this.subscribeGlobalEvents((e=>{"LANGUAGE_CHANGE"===e.type&&setTimeout(this.setActiveClientWith)})),this.getTabsNavDiv&&(this.getTabsNavDiv.addEventListener("mousedown",this.handleMouseDown),this.getTabsNavDiv.addEventListener("mouseleave",this.handleMouseUpOrLeave),this.listenScroll&&this.getTabsNavDiv.addEventListener("scroll",this.handleScroll)),document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUpOrLeave)}beforeDestroy(){document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUpOrLeave)}handleMouseDown(e){this.isKeptAlive||(this.isDragging=!0,this.startX=e.pageX,this.scrollLeft=this.getTabsNavDiv?.scrollLeft)}handleMouseMove(e){if(this.isKeptAlive)return;if(!this.isDragging)return;const t=1*(e.pageX-this.startX);this.getTabsNavDiv.scrollLeft=this.scrollLeft-t,Math.abs(t)>20&&(this.showMask=!0)}handleMouseUpOrLeave(){this.isKeptAlive||(this.isDragging=!1,clearTimeout(this.waitMaskTimer),setTimeout((()=>{this.showMask=!1}),0))}get itemStyle(){const e=this.tabType===Ce.LARGE_TEXT?80:70,t=this.tabType===Ce.LARGE_TEXT?60:30,i=this.tabType===Ce.LARGE_TEXT?24:22;return n=>{const{itemWidth:r=180,itemHeight:o=e,itemSpace:a=t,tabsLeftMargin:s=20}=this;return{width:we.ZP.px2rem(`${r}px`),height:we.ZP.px2rem(`${o}px`),lineHeight:"auto"===r?we.ZP.px2rem(`${o}px`):"normal",marginRight:we.ZP.px2rem(`${a}px`),fontSize:we.ZP.px2rem(`${i}px`),marginLeft:0===n?we.ZP.px2rem(`${s}px`):""}}}get backBtnStyle(){const e=this.tabType===Ce.LARGE_TEXT?80:70,{itemHeight:t=e}=this;return{height:we.ZP.px2rem(+t-2+"px")}}setActiveClientWith(){this.$nextTick((()=>{try{const e=this.$el.querySelector(`.${this.soleId}${this.current}`);if(!e)return;const t=e.querySelector(".tabTitle");if(!t)return;const i=this.$el.querySelector(".van-tabs__line");if(!i)return;const n=this.resizeLineBaseDom?.(t);if(i.style.width=(n||t)?.offsetWidth+"px",!this.isLayoutCenter){let t=e.offsetLeft;n&&(t+=(e.offsetWidth-n.offsetWidth)/2),i.style.transform=`translateX(${t}px)`}}catch(e){console.error(e)}}))}autoCenter(e){this.needAutoCenter&&e?.scrollIntoView?.({inline:"center",block:"nearest",behavior:"smooth"})}onChange(){this.$nextTick((()=>{const e=this.$el.querySelector(".van-tab--active");this.autoCenter(e)}))}async beforeChange(e){if(this.showMask)return!1;const t=this.renderList.find((t=>t.value===e))??this.renderList[0];return this.preTriggerHook&&await this.preTriggerHook(t),!0}handleScroll(e){return e}render(){const e=arguments[0];return e("section",[e("div",{class:{[Ze.tabs]:!0,[Ze.tabsCenter]:!!this.isLayoutCenter,[this.itemListWrapperClassName]:!0,[Ze.hiddenNav]:this.tabsNavHiddenForOne&&1===this.renderList.length||!!this.tabsNavHidden,[Ze.tabsWrapperTabsTransparent]:!!this.tabsTransparent,[Ze.hasWidth]:"auto"!==this.itemWidth,[Ze.showCallbackIcon]:!!this.showCallbackIcon,[Ze.showFooterAndbackIcon]:!!this.$scopedSlots.footer}},[e(fe.mQ,{attrs:{id:this.soleId,animated:this.isSelectAnimat,beforeChange:this.beforeChange,"line-width":30},on:{change:this.onChange},model:{value:this.current,callback:e=>{this.current=e}}},[this.renderList.map(((t,i)=>{if(t.hidden instanceof Function?t.hidden():t.hidden)return null;const n=(t.label instanceof Function?t.label(t):t.label)||this.$scopedSlots?.label?.(t);return e(fe.OK,{attrs:{name:t.value,"title-class":[this.soleId+t.value],"title-style":this.itemStyle(i),"data-index":i}},[e("div",se()([{slot:"title",class:{tabTitle:!0,ellipsis:!!this.overflowEllipsis}},{directives:this.showHoverTips?[{name:"inner-text-to-title"}]:[]}]),[this.current===t.value&&this.isButtonTab&&e(ve.Z),"string"==typeof n?e("span",{domProps:{innerHTML:n}}):n]),e("template",{slot:"default"},[e("keep-alive",{attrs:{include:this.needCacheComponentsList}},[this.$slots[t.scope||t.label]||this.$scopedSlots?.default?.(t)])])])}))]),this.showCallbackIcon&&e("div",{class:Ze.backBtn,style:this.backBtnStyle,on:{click:()=>{this.goBack?this.goBack():this.$router.back()}}},[e("icon-sprite",{class:Ze.icon,attrs:{sprite:(0,ge.T9)("comm_icon_fh")}})]),!!this.$scopedSlots.footer&&e("div",{class:Ze.footer},[this.$scopedSlots.footer?.()])])])}},D=(0,de.Z)(M.prototype,"current",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,de.Z)(M.prototype,"tabsNavHiddenForOne",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,de.Z)(M.prototype,"tabsNavHidden",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,de.Z)(M.prototype,"tabsTransparent",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,de.Z)(M.prototype,"isButtonTab",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,de.Z)(M.prototype,"overflowEllipsis",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,de.Z)(M.prototype,"showHoverTips",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),G=(0,de.Z)(M.prototype,"persistedActiveName",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=(0,de.Z)(M.prototype,"needCacheComponentsList",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,de.Z)(M.prototype,"renderList",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=(0,de.Z)(M.prototype,"preTriggerHook",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=(0,de.Z)(M.prototype,"itemWidth",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=(0,de.Z)(M.prototype,"tabType",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,de.Z)(M.prototype,"itemHeight",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,de.Z)(M.prototype,"itemSpace",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,de.Z)(M.prototype,"tabsLeftMargin",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,de.Z)(M.prototype,"itemListWrapperClassName",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=(0,de.Z)(M.prototype,"showCallbackIcon",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,de.Z)(M.prototype,"needAutoCenter",[Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=(0,de.Z)(M.prototype,"isSelectAnimat",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=(0,de.Z)(M.prototype,"soleId",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ie=(0,de.Z)(M.prototype,"isLayoutCenter",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ne=(0,de.Z)(M.prototype,"goBack",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),re=(0,de.Z)(M.prototype,"listenScroll",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),oe=(0,de.Z)(M.prototype,"resizeLineBaseDom",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,de.Z)(M.prototype,"onCurrentChange",[O,R],Object.getOwnPropertyDescriptor(M.prototype,"onCurrentChange"),M.prototype),(0,de.Z)(M.prototype,"applyPersistedActiveName",[L],Object.getOwnPropertyDescriptor(M.prototype,"applyPersistedActiveName"),M.prototype),(0,de.Z)(M.prototype,"handleScroll",[A],Object.getOwnPropertyDescriptor(M.prototype,"handleScroll"),M.prototype),x=M))||x)},11439:function(e,t,i){"use strict";i.d(t,{Z:function(){return Re}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v,T,Z,C,S,I,E,P,_,O,R,L,A,x,M,D,N,k,z,U,B,H,G,W,F,V,$,q,Y,j,K,X,Q,J,ee,te=i(36568),ie=i.n(te),ne=i(82492),re=i.n(ne),oe=i(53158),ae=i(12040),se=i(38821),le=i(2046),ce=i(71743),ue=i(91475),he=i(46930),de=i(75812),pe=i(75189),me=i(67819),fe="noUD6_uyKc5IKGLrkGoc",ge="DdjaXiUDtWGedTXUpCI4",be="uXbMSZOr0Ns9MiQerTqf",ye="oI1REZeHrjT3mJsfCKtR",we="Xoao1azDlzGxhjfesuwG",ve="qXolBALZo3WF_OOhxAwr",Te="A_05GnS4hxQ1y9GHxJyb",Ze="QSmYUjhIbIn5kACuBsKR",Ce="G4qzHSehGtU5HcXe5Bnv",Se="tavNREqvslKfnyAQiSMs",Ie="DHBzhSXxHpGFcFXtimXQ",Ee="icVyW_GwIBX6OVKNKcUi",Pe="hRl3tr5NTmp46npyZXX8",_e="mHNTQstHkiQnQQdCvtBf",Oe="VZmcWRZC0JfUYwuXj_B7";let Re=(n=(0,se.wA)({name:"CommonTabs"}),r=(0,se.yU)("value","trigger",{required:!0}),o=(0,se.fI)(he.ZP.looseBool),a=(0,se.fI)(he.ZP.looseBool),s=(0,se.fI)(he.ZP.looseBool.def(!1)),l=(0,se.fI)(he.ZP.looseBool.def(!1)),c=(0,se.fI)(he.ZP.looseBool.def(!1)),u=(0,se.fI)(he.ZP.looseBool.def(!0)),h=(0,se.fI)(he.ZP.string.def("current")),d=(0,se.fI)(he.ZP.array.def([])),p=(0,se.fI)({required:!0}),m=(0,se.fI)({required:!1}),f=(0,se.fI)({default:"auto"}),g=(0,se.fI)({default:"54px"}),b=(0,se.fI)({default:"30px"}),y=(0,se.fI)({default:"100%"}),w=(0,se.fI)({default:!1}),v=(0,se.fI)({default:"100%"}),T=(0,se.fI)(he.ZP.cssClass),Z=(0,se.fI)(he.ZP.bool.def(!1)),C=(0,se.fI)({default:!0}),S=(0,se.fI)({default:!0}),I=(0,se.fI)(he.ZP.func.def(void 0)),E=(0,se.fI)({default:!1}),P=(0,le.Debounce)(),_=(0,se.RL)("current"),O=(0,se.RL)("$route",{immediate:!0}),n((L=class extends se.XY{constructor(...e){super(...e),(0,oe.Z)(this,"current",A,this),(0,oe.Z)(this,"tabsNavHiddenForOne",x,this),(0,oe.Z)(this,"tabsNavHidden",M,this),(0,oe.Z)(this,"tabsTransparent",D,this),(0,oe.Z)(this,"isButtonTab",N,this),(0,oe.Z)(this,"overflowEllipsis",k,this),(0,oe.Z)(this,"showHoverTips",z,this),(0,oe.Z)(this,"persistedActiveName",U,this),(0,oe.Z)(this,"needCacheComponentsList",B,this),(0,oe.Z)(this,"renderList",H,this),(0,oe.Z)(this,"preTriggerHook",G,this),(0,oe.Z)(this,"itemWidth",W,this),(0,oe.Z)(this,"itemHeight",F,this),(0,oe.Z)(this,"itemSpace",V,this),(0,oe.Z)(this,"scrollWidth",$,this),(0,oe.Z)(this,"isScrollX",q,this),(0,oe.Z)(this,"scrollHeight",Y,this),(0,oe.Z)(this,"itemListWrapperClassName",j,this),(0,oe.Z)(this,"showCallbackIcon",K,this),(0,oe.Z)(this,"showLine",X,this),(0,oe.Z)(this,"needAutoCenter",Q,this),(0,oe.Z)(this,"goBack",J,this),(0,oe.Z)(this,"customRender",ee,this)}get itemStyle(){return{width:de.ZP.px2rem(`${this.itemWidth??180}px`),height:de.ZP.px2rem(`${this.itemHeight??54}px`),marginRight:de.ZP.px2rem(`${this.itemSpace??30}px`)}}get isWeb(){return(0,ue.h)().isWeb}onCurrentChange(){this.isKeptAlive||(this.persistedActiveName&&this.$router.replace({query:re()({},this.$route.query,{[this.persistedActiveName]:this.current})}),this.$nextTick((()=>{const e=this.$el.querySelector(".common-tab-item-active");this.autoCenter(e)})))}applyPersistedActiveName(){if(this.persistedActiveName){const e=this.$route.query[this.persistedActiveName];me.Z.isEmpty(e)||(this.current="number"==typeof this.current?Number(e):e)}this.isScrollX&&this.needAutoCenter&&this.$nextTick((()=>{const e=document.querySelector(`.common-tab-item[data-id='${this.current}']`);this.autoCenter(e)}))}async handleClick(e,t){t.value!==this.current&&(this.preTriggerHook&&await this.preTriggerHook(t),this.current=t.value)}autoCenter(e){this.isScrollX&&this.needAutoCenter&&e?.scrollIntoView?.({inline:"center",block:"nearest"})}renderItem(e){const t=this.$createElement;if(e.hidden instanceof Function?e.hidden():e.hidden)return null;const i=(e.label instanceof Function?e.label(e):e.label)||this.$scopedSlots?.label?.(e);return t("li",ie()([{key:e.value,class:{[Se]:this.current?.toString()===e.value?.toString(),[Ze]:!0,[Ie]:this.overflowEllipsis,"common-tab-item":!0,"common-tab-item-active":this.current===e.value},attrs:{"data-id":e.value},style:this.itemStyle,on:{click:t=>this.handleClick(t,e)}},{directives:this.showHoverTips?[{name:"inner-text-to-title"}]:[]}]),[this.current===e.value&&this.isButtonTab&&t(pe.Z),"string"==typeof i?t("inner-html",{attrs:{text:i}}):i])}sectionWrapper(e,t){const i=this.$createElement;let n=[e];return t.isScrollX&&(n=[i("my-scroll",{attrs:{direction:"x",dragable:this.isWeb,trigger:"none",width:this.scrollWidth,height:this.scrollHeight}},[e])]),t.showBackIcon&&(n=[i("div",{class:ye},[i("div",{class:we,on:{click:()=>{this.goBack?this.goBack():this.$router.back()}}},[i("icon-sprite",{attrs:{sprite:(0,ce.T9)("comm_icon_fh")}})]),n])]),n}get tabs(){const e=(0,this.$createElement)("ul",{attrs:{id:"listUlId","data-len":this.renderList.length},class:{"common-tabs-nav":!0,[Ee]:!this.isButtonTab,[ve]:!!this.isButtonTab,[Te]:!!this.tabsNavHiddenForOne,[Ce]:!!this.tabsNavHidden,[be]:!this.isScrollX,[this.itemListWrapperClassName]:!0}},[this.renderList.map(this.renderItem)]);return this.isScrollX?this.sectionWrapper(e,{isScrollX:!0,showBackIcon:this.showCallbackIcon}):this.sectionWrapper(e,{isScrollX:!1,showBackIcon:this.showCallbackIcon})}render(){const e=arguments[0];return e("section",{class:fe},[e("div",{class:{globalTabsWrapper:!0,[ge]:!0,[Oe]:!!this.tabsTransparent}},[this.tabs,e("div",{class:Pe},[this.$scopedSlots.footer?.()])]),this.renderList.length>0&&!this.tabsNavHidden&&!this.isButtonTab&&this.showLine&&e("div",{class:{[_e]:!0,globalLine:!0}}),e("div",{class:"common-tabs-content"},[e("keep-alive",{attrs:{include:this.needCacheComponentsList}},[this.renderList.map((e=>this.customRender||e.value===this.current?this.$slots[e.scope||e.label]||this.$scopedSlots?.default?.(e):null))])])])}},A=(0,ae.Z)(L.prototype,"current",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,ae.Z)(L.prototype,"tabsNavHiddenForOne",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,ae.Z)(L.prototype,"tabsNavHidden",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,ae.Z)(L.prototype,"tabsTransparent",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,ae.Z)(L.prototype,"isButtonTab",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,ae.Z)(L.prototype,"overflowEllipsis",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,ae.Z)(L.prototype,"showHoverTips",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,ae.Z)(L.prototype,"persistedActiveName",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,ae.Z)(L.prototype,"needCacheComponentsList",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,ae.Z)(L.prototype,"renderList",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),G=(0,ae.Z)(L.prototype,"preTriggerHook",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=(0,ae.Z)(L.prototype,"itemWidth",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,ae.Z)(L.prototype,"itemHeight",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=(0,ae.Z)(L.prototype,"itemSpace",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=(0,ae.Z)(L.prototype,"scrollWidth",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=(0,ae.Z)(L.prototype,"isScrollX",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,ae.Z)(L.prototype,"scrollHeight",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,ae.Z)(L.prototype,"itemListWrapperClassName",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,ae.Z)(L.prototype,"showCallbackIcon",[Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,ae.Z)(L.prototype,"showLine",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=(0,ae.Z)(L.prototype,"needAutoCenter",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,ae.Z)(L.prototype,"goBack",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=(0,ae.Z)(L.prototype,"customRender",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,ae.Z)(L.prototype,"onCurrentChange",[P,_],Object.getOwnPropertyDescriptor(L.prototype,"onCurrentChange"),L.prototype),(0,ae.Z)(L.prototype,"applyPersistedActiveName",[O],Object.getOwnPropertyDescriptor(L.prototype,"applyPersistedActiveName"),L.prototype),R=L))||R)},55258:function(e,t,i){"use strict";i.d(t,{U:function(){return Q},Z:function(){return J}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v,T,Z,C,S,I,E,P=i(36568),_=i.n(P),O=i(53158),R=i(55433),L=i(12040),A=i(38821),x=i(29339),M=i(46851),D=i(60760),N=i(62933),k=i(23247),z=i(71743),U=i(24393),B=i(21615),H=i(58217),G=i(46930),W="axTmpoC29n0HrZcuFNPD",F="zg61O4KadS0RYTtxqZn7",V="ypwYn6fvxKUTdZj8szjk",$="epVM3U26qTYe44HzlQ5e",q="bO1mDe1bOkH0OVcEYBOj",Y="__hAI3RTqj0lNqlPtLAa",j="BQTHWsAnoKIl6a1EeyzB",K="gggcscz091FhwOx2rBxu",X="F8x6iq3gWK0vbyNrxR8e";let Q;!function(e){e[e.LOGIN_REGISTER=0]="LOGIN_REGISTER",e[e.BIND=1]="BIND"}(Q||(Q={}));let J=(n=(0,A.wA)({name:"ThreeWayBind"}),r=(0,A.fI)(),o=(0,A.Rl)(),a=(0,A.fI)(G.ZP.looseBool.def(!1)),s=(0,A.fI)(G.ZP.looseBool.def(!1)),l=(0,A.fI)(G.ZP.looseBool.def(!1)),c=(0,A.fI)(G.ZP.string.def("center")),u=(0,A.fI)({default:Q.LOGIN_REGISTER}),h=(0,A.fI)((0,G.IX)().def((()=>[k.I.FACEBOOK,k.I.GOOGLE]))),d=(0,A.fI)(G.ZP.string.def("login")),p=(0,A.fI)(G.ZP.looseBool.def(!1)),m=(0,A.y1)("complete"),n((g=class extends A.XY{constructor(...e){super(...e),(0,O.Z)(this,"title",b,this),(0,O.Z)(this,"refGoogle",y,this),(0,O.Z)(this,"previewMode",w,this),(0,O.Z)(this,"showLabel",v,this),(0,O.Z)(this,"hiddenShadow",T,this),(0,O.Z)(this,"align",Z,this),(0,O.Z)(this,"businessMode",C,this),(0,R.Z)(this,"loginLineResolve",null),(0,O.Z)(this,"threeWayConfig",S,this),(0,O.Z)(this,"type",I,this),(0,O.Z)(this,"hasBind",E,this),(0,R.Z)(this,"state",{loading:{[k.I.FACEBOOK]:!1,[k.I.GOOGLE]:!1,[k.I.WECHAT]:!1,[k.I.QQ]:!1,[k.I.LINE]:!1}})}generatePngAssetPath(e){return`/lobby_asset/common/web/login/${e}.png`}get threeWayMap(){return{[k.I.FACEBOOK]:{name:"Facebook",url:this.generatePngAssetPath("img_login_fb"),type:N.IH.FACEBOOK},[k.I.GOOGLE]:{name:"Google",url:this.generatePngAssetPath("img_login_google"),type:N.IH.GOOGLE},[k.I.LINE]:{name:"Line",url:this.generatePngAssetPath("img_login_line"),type:N.IH.LINE}}}async onLogin(e){D.Fb.handleClick(e,(()=>{this.state.loading[e]=!0}),(()=>{this.state.loading[e]=!1}))}async loginCallBack(e,t){this.state.loading[e]=!0,await D.Fb.handleThirdPartyUserInfo(e,t),this.state.loading[e]=!1}created(){D.sK.initSDK()}get hiddenThirdLogin(){return B.tT&&!B.cY.speedPackageConfig}render(){const e=arguments[0],{t:t}=(0,H.QT)();return this.hiddenThirdLogin?e("template"):e("div",{class:[W]},[this.$slots.title||(this.businessMode===Q.LOGIN_REGISTER?e("div",{class:[F,M.CM.CssClassName.Lobby.Color.TextLighten,"textLighten"]},[this.title??t("lobby.modal.login.otherWayLogin")]):null),e("div",{class:{[V]:!0,[Y]:this.previewMode,[K]:this.hiddenShadow},attrs:{"data-business-mode":this.businessMode,"data-align":this.align}},[this.threeWayConfig.map(((t,i)=>{const n=this.threeWayMap[t],r=this.businessMode===Q.LOGIN_REGISTER?70:80,o=B.cY.speedPackageConfig,a=t===k.I.GOOGLE&&!o;return a&&this.$nextTick((()=>{U.e.button(this.refGoogle).then((e=>{D.Fb.handleThirdPartyUserInfo(k.I.GOOGLE,e)}))})),e("div",{class:[$,`three-wan-bind__${t}`],key:i},[e(x.gE,{attrs:{spinning:this.state.loading[t]}},[a&&e("span",{ref:"refGoogle",class:q}),e("icon-sprite",_()([{},{nativeOn:{click:()=>{this.previewMode||a||this.onLogin(t)}}},{props:{...(0,z.Mg)({path:n.url,width:r,height:r})},class:j}])),this.hasBind&&e("icon-sprite",{class:X,attrs:{sprite:(0,z.T9)("comm_icon_gou")}})]),e("span",{directives:[{name:"show",value:this.showLabel}]},[n.name])])}))])])}},b=(0,L.Z)(g.prototype,"title",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,L.Z)(g.prototype,"refGoogle",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,L.Z)(g.prototype,"previewMode",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,L.Z)(g.prototype,"showLabel",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,L.Z)(g.prototype,"hiddenShadow",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,L.Z)(g.prototype,"align",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,L.Z)(g.prototype,"businessMode",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,L.Z)(g.prototype,"threeWayConfig",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,L.Z)(g.prototype,"type",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,L.Z)(g.prototype,"hasBind",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,L.Z)(g.prototype,"loginCallBack",[m],Object.getOwnPropertyDescriptor(g.prototype,"loginCallBack"),g.prototype),f=g))||f)},44159:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return z}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v,T,Z,C,S=i(82492),I=i.n(S),E=i(53158),P=i(55433),_=i(12040),O=i(38821),R=i(46930),L=i(75812),A="uh6csli2MHzFz87__Phx",x="YiNQnpSJUes7u5sqBZhp",M="T5xNMynUJQws22ZME9hV",D="sNgyWmhVEZVrbSGKDBra",N="CmN8CVsfet8ieqBIT7mi",k="nc_NIDTLmXeUSFFfADOl";let z=(n=(0,O.wA)({name:"TooltipsComp"}),r=(0,O.fI)({required:!0}),o=(0,O.fI)({required:!0}),a=(0,O.fI)(R.ZP.bool.def(!1)),s=(0,O.fI)(R.ZP.string.def(L.ZP.px2rem("-22px"))),l=(0,O.fI)(R.ZP.string.def(L.ZP.px2rem("0px"))),c=(0,O.fI)(R.ZP.string.def("unset")),u=(0,O.fI)(R.ZP.style.def({})),h=(0,O.fI)(R.ZP.bool.def(!1)),d=(0,O.Rl)(),n((m=class extends O.XY{constructor(...e){super(...e),(0,E.Z)(this,"charge",f,this),(0,E.Z)(this,"text",g,this),(0,E.Z)(this,"isGoldStyle",b,this),(0,E.Z)(this,"top",y,this),(0,E.Z)(this,"right",w,this),(0,E.Z)(this,"left",v,this),(0,E.Z)(this,"customStyle",T,this),(0,E.Z)(this,"autoRevert",Z,this),(0,E.Z)(this,"tooltipsRef",C,this),(0,P.Z)(this,"isRevert",!1)}mounted(){if(this.autoRevert){const e=this.tooltipsRef?.getBoundingClientRect();(e?.right??0)>=window.screen.width&&(this.isRevert=!0)}}render(){const e=arguments[0];return 0!==this.charge&&"0"!==this.charge&&this.charge?e("div",{class:[A,"tool-tips"],ref:"tooltipsRef",style:I()({"--cu-top":this.top,"--cu-right":this.isRevert?this.left:this.right,"--cu-left":this.isRevert?this.right:this.left},this.customStyle)},[e("p",{class:{"tool-tips-box":!0,[D]:!0,[k]:this.isRevert,[N]:this.isGoldStyle}},[this.text??this.charge]),e("p",{class:{"tool-tips-tail":!0,[x]:!0,[M]:this.isRevert}})]):e("template")}},f=(0,_.Z)(m.prototype,"charge",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,_.Z)(m.prototype,"text",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,_.Z)(m.prototype,"isGoldStyle",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,_.Z)(m.prototype,"top",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,_.Z)(m.prototype,"right",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,_.Z)(m.prototype,"left",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,_.Z)(m.prototype,"customStyle",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,_.Z)(m.prototype,"autoRevert",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,_.Z)(m.prototype,"tooltipsRef",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=m))||p)},67504:function(e,t,i){"use strict";i.d(t,{Z:function(){return I}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g=i(36568),b=i.n(g),y=i(53158),w=i(55433),v=i(12040),T=i(38821),Z=i(41095),C=i(11322),S="M1hv08Saat6oRJv0Gy45";let I=(n=(0,T.wA)({name:"CheckView"}),r=(0,T.fI)({default:"div"}),o=(0,T.fI)(),a=(0,T.fI)(),s=(0,T.fI)({default:!1}),l=(0,T.fI)({default:!1}),n((u=class extends((0,T.Wr)(T.XY,Z.Z)){constructor(...e){super(...e),(0,w.Z)(this,"renderChild",!1),(0,y.Z)(this,"tag",h,this),(0,y.Z)(this,"width",d,this),(0,y.Z)(this,"height",p,this),(0,y.Z)(this,"disabled",m,this),(0,y.Z)(this,"blurAnimation",f,this)}lazyRender(e){window.IntersectionObserver?C.Z.addLazyBox(this,{callback:e}):e()}beforeDestroy(){this.doDestroy()}doDestroy(){C.Z.removeComponent(this)}doRender(){this.renderChild=!0,this.$emit("show",this)}created(){(this.disabled||window.wgMock.noLazy)&&this.doRender()}mounted(){if(!this.disabled){if(window.wgMock.noLazy)return;this.lazyRender((()=>{this.doRender()}))}}render(){const e=arguments[0],t=this.width?this.width/this.baseUnit+this.unit:this.width,i=this.height?this.height/this.baseUnit+this.unit:this.height;return e(this.tag,b()([{class:[S]},{attrs:{...this.$attrs,"data-blur":this.blurAnimation?1:0,"data-show":this.renderChild?1:0},props:{...this.$attrs,...this.$props},style:{width:t,height:i},on:{...this.$listeners,click:e=>{this.$emit("click",e)}}}]),[this.renderChild&&(this.$slots?.default||this.$scopedSlots.default?.({renderChild:this.renderChild}))])}},h=(0,v.Z)(u.prototype,"tag",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,v.Z)(u.prototype,"width",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,v.Z)(u.prototype,"height",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,v.Z)(u.prototype,"disabled",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,v.Z)(u.prototype,"blurAnimation",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=u))||c)},43560:function(e,t,i){"use strict";i.d(t,{Z:function(){return _}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w=i(53158),v=i(55433),T=i(12040),Z=i(38821),C=i(1938),S=i(75990),I=i(4074),E=i(46930);const P=(0,S.bS)(18);let _=(n=(0,Z.wA)({name:"CountTo"}),r=(0,Z.fI)(),o=(0,Z.fI)(),a=(0,Z.fI)(),s=(0,Z.fI)(E.ZP.number.def(3e3)),l=(0,Z.fI)((0,E.Z_)().def("none")),c=(0,Z.fI)(E.ZP.func.def((e=>(0,C._5)(e)))),u=(0,Z.RL)("value",{immediate:!0}),n((d=class extends Z.XY{constructor(...e){super(...e),(0,v.Z)(this,"state",{value:0}),(0,w.Z)(this,"value",p,this),(0,w.Z)(this,"noAnimation",m,this),(0,w.Z)(this,"prefix",f,this),(0,w.Z)(this,"duration",g,this),(0,w.Z)(this,"ease",b,this),(0,w.Z)(this,"formatter",y,this)}onValueChange(){const e={value:this.state.value};this.animation&&this.animation.kill(),this.noAnimation?this.setState({value:Number(this.value)}):this.animation=new I.ZP(e,{raf:P}).to({value:Number(this.value)},this.duration,this.ease).on(I.ZP.EventType.UPDATE,(({value:e})=>{this.setState({value:e})})).on(I.ZP.EventType.COMPLETE,(()=>{this.setState({value:Number(this.value)})}))}render(){const e=arguments[0],t=String(this.formatter?.(this.state.value))||"";return e("span",{class:"notranslate"},[this.prefix&&this.$scopedSlots?.renderItem?.(this.prefix),t.split("").map((e=>this.$scopedSlots?.renderItem?.(e)||e))])}},p=(0,T.Z)(d.prototype,"value",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,T.Z)(d.prototype,"noAnimation",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,T.Z)(d.prototype,"prefix",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,T.Z)(d.prototype,"duration",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,T.Z)(d.prototype,"ease",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,T.Z)(d.prototype,"formatter",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,T.Z)(d.prototype,"onValueChange",[u],Object.getOwnPropertyDescriptor(d.prototype,"onValueChange"),d.prototype),h=d))||h)},31028:function(e,t,i){"use strict";i.d(t,{Z:function(){return y}});var n,r,o,a,s,l,c,u=i(53158),h=i(55433),d=i(12040),p=i(38821),m=i(42689),f="ojl53lOx6NCYgQqtWmHF",g="eb9a0d6eWbnSe6p7J_7h",b="VQrCZF0sjMOj_sm49oA7";let y=(n=(0,p.wA)({name:"DrageScrollArea"}),r=(0,p.Rl)(),o=(0,p.fI)((0,m.Z_)().def("x")),n((s=class extends p.XY{constructor(...e){super(...e),(0,u.Z)(this,"containerRef",l,this),(0,h.Z)(this,"isDragging",!1),(0,h.Z)(this,"startX",0),(0,h.Z)(this,"scrollLeft",0),(0,h.Z)(this,"startY",0),(0,h.Z)(this,"scrollTop",0),(0,h.Z)(this,"showMask",!1),(0,h.Z)(this,"waitMaskTimer",0),(0,u.Z)(this,"direction",c,this)}handleMouseDown(e){this.isDragging=!0,"x"===this.direction?(this.startX=e.pageX-this.containerRef.offsetLeft,this.scrollLeft=this.containerRef.scrollLeft):(this.startY=e.pageY-this.containerRef.offsetTop,this.scrollTop=this.containerRef.scrollTop)}handleMouseMove(e){if(this.isKeptAlive)return;if(!this.isDragging)return;let t;if("x"===this.direction){t=1*(e.pageX-this.containerRef.offsetLeft-this.startX),this.containerRef.scrollLeft=this.scrollLeft-t}else{t=1*(e.pageY-this.containerRef.offsetTop-this.startY),this.containerRef.scrollTop=this.scrollTop-t}Math.abs(t)>20&&(this.showMask=!0)}handleMouseUpOrLeave(){this.isKeptAlive||(this.isDragging=!1,clearTimeout(this.waitMaskTimer),this.showMask=!1)}mounted(){this.$nextTick((()=>{document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUpOrLeave)}))}beforeDestroy(){document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUpOrLeave)}render(){const e=arguments[0];return e("div",{ref:"containerRef",class:[f,"drag-scroll-area"],on:{mousedown:this.handleMouseDown,mouseleave:this.handleMouseUpOrLeave,scroll:e=>this.$emit("scroll",e)}},[e("div",{class:{[g]:!0,[b]:this.showMask}}),this.$slots.default])}},l=(0,d.Z)(s.prototype,"containerRef",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,d.Z)(s.prototype,"direction",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=s))||a)},53855:function(e,t,i){"use strict";i.d(t,{Z:function(){return g}});var n,r,o,a,s,l,c,u,h,d=i(53158),p=i(55433),m=i(12040),f=i(38821);let g=(n=(0,f.wA)({name:"Draggable"}),r=(0,f.fI)({default:!1}),o=(0,f.fI)({default:!1}),a=(0,f.Rl)(),n((l=class extends f.XY{constructor(...e){super(...e),(0,d.Z)(this,"yAxisOnly",c,this),(0,d.Z)(this,"disabled",u,this),(0,d.Z)(this,"draggableRef",h,this),(0,p.Z)(this,"offsetX",0),(0,p.Z)(this,"offsetY",0),(0,p.Z)(this,"dragging",!1)}onMouseDown(e){this.draggableRef&&!this.disabled&&(e.preventDefault(),e.stopPropagation(),this.dragging=!1,this.yAxisOnly||(this.offsetX=e.clientX-this.draggableRef.getBoundingClientRect().left),this.offsetY=e.clientY-this.draggableRef.getBoundingClientRect().top,document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp),this.$emit("dragging"))}onTouchStart(e){if(this.draggableRef&&!this.disabled){e.preventDefault(),e.stopPropagation();const t=e.touches[0];this.yAxisOnly||(this.offsetX=t.clientX-this.draggableRef.getBoundingClientRect().left),this.offsetY=t.clientY-this.draggableRef.getBoundingClientRect().top;const i=(new Date).getTime();document.addEventListener("touchmove",this.onTouchMove),document.addEventListener("touchend",(()=>{(new Date).getTime()-i<150?this.$emit("click"):this.onTouchEnd()})),this.$emit("dragging")}}onMouseMove(e){this.isKeptAlive||this.draggableRef&&!this.disabled&&(e.preventDefault(),e.stopPropagation(),this.dragging=!0,this.yAxisOnly||(this.draggableRef.style.left=e.clientX-this.offsetX+"px"),this.draggableRef.style.transform="none",this.draggableRef.style.top=e.clientY-this.offsetY+"px")}onTouchMove(e){if(!this.isKeptAlive&&this.draggableRef&&!this.disabled){e.preventDefault(),e.stopPropagation();const t=e.touches[0];this.yAxisOnly||(this.draggableRef.style.left=t.clientX-this.offsetX+"px"),this.draggableRef.style.transform="none",this.draggableRef.style.top=t.clientY-this.offsetY+"px"}}onMouseUp(){this.isKeptAlive||(document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("mouseup",this.onMouseUp),this.dragging?(this.adjustPosition(),this.$emit("dragEnd")):this.$emit("click"))}onTouchEnd(){document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd),this.adjustPosition(),this.$emit("dragEnd")}adjustPosition(){if(this.draggableRef&&!this.disabled){const e=document.documentElement.clientWidth-this.draggableRef.offsetWidth,t=document.documentElement.clientHeight-this.draggableRef.offsetHeight;let i=parseInt(this.draggableRef.style.left,10),n=parseInt(this.draggableRef.style.top,10);i=Math.min(Math.max(0,i),e),n=Math.min(Math.max(0,n),t),this.yAxisOnly||(this.draggableRef.style.left=i+"px"),n&&(this.draggableRef.style.bottom="auto"),(i||n)&&(this.draggableRef.style.transform="none"),this.draggableRef.style.top=n+"px"}}render(){return(0,arguments[0])("div",{on:{mousedown:this.onMouseDown,touchstart:this.onTouchStart},ref:"draggableRef"},[this.$slots.default])}},c=(0,m.Z)(l.prototype,"yAxisOnly",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,m.Z)(l.prototype,"disabled",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,m.Z)(l.prototype,"draggableRef",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=l))||s)},32555:function(e,t,i){"use strict";i.d(t,{Z:function(){return j}});var n,r,o,a,s,l,c,u,h,d,p,m,f,g,b,y,w,v,T,Z,C,S,I,E,P,_,O=i(36568),R=i.n(O),L=i(18446),A=i.n(L),x=i(53158),M=i(55433),D=i(12040),N=i(38821),k=i(71743),z=i(93250),U=i(75310),B=i(4441),H=i(46930),G=i(46241),W=i(26747),F=i(55148),V=i(41095),$=i(9669),q=i.n($),Y=i(24759);let j=(n=(0,N.wA)({name:"IconSprite"}),r=(0,N.fI)((0,H.Nt)([(0,H.Ry)(),(0,H.Ry)()])),o=(0,N.fI)(H.ZP.number.def(1)),a=(0,N.fI)({type:Boolean,default:!1}),s=(0,N.fI)({type:String}),l=(0,N.fI)({type:Function}),c=(0,N.fI)(H.ZP.looseBool.def(!1)),u=(0,N.fI)((0,H.Ry)().def({angle:180,colorStop:[]})),h=(0,N.Rl)("svg"),d=(0,N.RL)("sprite"),p=(0,N.RL)("scale"),m=(0,N.RL)("standalone"),f=(0,N.RL)("useCanvas"),g=(0,N.RL)("createPxData"),b=(0,N.RL)("linearGradientConfig.angle"),y=(0,N.RL)("colorStop",{deep:!0}),n((v=class extends((0,N.Wr)(N.XY,V.Z,W.Z)){constructor(...e){super(...e),(0,x.Z)(this,"sprite",T,this),(0,x.Z)(this,"scale",Z,this),(0,x.Z)(this,"useSkeleton",C,this),(0,x.Z)(this,"standalone",S,this),(0,x.Z)(this,"createPxData",I,this),(0,x.Z)(this,"useCanvas",E,this),(0,x.Z)(this,"linearGradientConfig",P,this),(0,x.Z)(this,"svgContainer",_,this),(0,M.Z)(this,"standaloneLoading",!1),(0,M.Z)(this,"renderSrc",""),(0,M.Z)(this,"uniqueId","id-"+(0,B.M)())}get isSvgMode(){return this.standalone?this.standalone.includes(".svg"):this.innerSprite?.viewBox}get isStandAloneMode(){return!!this.standalone||(()=>{if(!this.isSvgMode){const e=this.innerSprite;return e.width===e.total_width&&e.height===e.total_height}return!1})()}get innerSprite(){const e=this.sprite?.url,t=this.sprite?.image;return{...this.sprite,url:e?(0,k.Cj)(e):e,image:t?(0,k.Cj)(t):t}}drawImg(e){const t=e.getContext("2d"),i=this.innerSprite;if(t.drawImage(this.img,i.x,i.y,i.width,i.height,0,0,i.width,i.height),this.createPxData){const i=t.getImageData(0,0,e.width,e.height),n=i.data;G.Z.traversePixel(i,(({pxStartIndex:e,pxData:t})=>{const{r:i=t.r,g:r=t.g,b:o=t.b,a:a=t.a}=this.createPxData?.(t)||{};n[e+0]=i,n[e+1]=r,n[e+2]=o,n[e+3]=a})),t.putImageData(i,0,0)}}createLinearGradient(e){const t=e.getContext("2d");if(this.colorStop.length){const i=t.getImageData(0,0,e.width,e.height),[n,r,o,a]=G.Z.calcPixelBoundaries(i),s=(o||0)-(n||0),l=(a||0)-(r||0),{x0:c,y0:u,x1:h,y1:d}=G.Z.calculateGradientCoordinate(s,l,this.linearGradientConfig.angle??180),p=t.createLinearGradient(n+c,r+u,n+h,r+d);this.colorStop.forEach((({progress:e,color:t})=>{p.addColorStop(e,t)})),t.fillStyle=p,t.fillRect(n||0,r||0,s,l),t.globalCompositeOperation="destination-atop",this.drawImg(e),t.globalCompositeOperation="source-in"}}destroyCanvas(){this.canvas&&(this.$el.removeChild(this.canvas),this.$delete(this,"canvas"))}get colorStop(){return JSON.parse(JSON.stringify(this.linearGradientConfig.colorStop))}get svgGradientConfig(){return this.isSvgMode&&this.colorStop.length?this.linearGradientConfig:void 0}get ossTargetSrc(){return this.standalone?this.standalone:this.innerSprite.image||this.innerSprite.url||""}drawContent(e,t=!0){const i=e.getContext("2d");t&&i.clearRect(0,0,e.width,e.height),this.drawImg(e),this.createLinearGradient(e)}async init(e,t){if(void 0!==e&&A()(e,t))return;if(this.isSvgMode){if(this.standalone)return void this.handleSvgStandalone();if(this.innerSprite.id)return}const i=this.innerSprite.image||this.innerSprite.url||"";if(/^blob:/.test(i)&&!this.useCanvas)return void(this.renderSrc=i);if(this.isStandAloneMode&&(this.standaloneLoading=!0),this.img=await(0,z.or)((e=>{let t=this.ossLobbyAssetPathOrigin?i.replace(this.ossLobbyAssetPathOrigin||"",e):i;return(0,Y.G_)(t)&&(0,Y.hC)(t,"png|PNG|gif|jpg|jpeg")&&(t=(0,Y.Dy)(t,"png",""+(window.imgSupport.avif?"avif":window.imgSupport.webp?"webp":"png"))),(0,U.po)(t,!1,this.useCanvas?"anonymous":null).catch((()=>(0,Y.G_)(t)&&(0,Y.hC)(t,"avif|webp")?(0,U.po)((0,Y.Dy)(t,"avif|webp","png"),!1,this.useCanvas?"anonymous":null):Promise.reject()))})).finally((()=>{this.isStandAloneMode&&(this.standaloneLoading=!1)})),this.renderSrc=this.img.src,this.isSvgMode||!this.useCanvas)return this.destroyCanvas();const n=this.canvas||document.createElement("canvas"),r=this.innerSprite,o=this.scale;n.width=r.width,n.height=r.height,this.drawContent(n),n.style.width=`${o*r.width/this.baseUnit}${this.unit}`,n.style.height=`${o*r.height/this.baseUnit}${this.unit}`,n.style.position="absolute",n.style.left="50%",n.style.top="50%",n.style.marginLeft=-r.width*o/this.baseUnit/2+this.unit,n.style.marginTop=-r.height*o/this.baseUnit/2+this.unit,this.canvas||(this.$el.appendChild(n),this.canvas=n)}mounted(){this.init()}async handleSvgStandalone(){if(this.standalone&&this.isSvgMode){const e=(0,k.Cj)(this.standalone);this.standaloneLoading=!0;const t=await(0,z.or)((t=>q().get(this.ossLobbyAssetPathOrigin?e.replace(this.ossLobbyAssetPathOrigin||"",t):e))).finally((()=>{this.standaloneLoading=!1}));if(t?.data){const e=document.createElement("div");if(/^<svg/.test(t.data)){e.innerHTML=function(e,t){if("removeAttrs"===t.name){const i=t.params.attrs,n=new RegExp(`\\s+(${i})="[^"]*"`,"g");return e.replace(n,"")}return e}(t.data,{name:"removeAttrs",params:{attrs:"(fill|stroke)"}});const i=e.childNodes[0],n=this.svgContainer;n&&(n.innerHTML=`${i.innerHTML}\n${this.svgGradientConfig?`<defs>\n                <linearGradient id=${this.uniqueId} x1="0.5" x2="0.5" y2="1">\n                  ${this.svgGradientConfig?.colorStop.map((({progress:e,color:t},i)=>`<stop offset=${e} stop-color=${t} key=${i} />`)).join("\n")}\n                </linearGradient>\n              </defs>`:""}`,n.setAttribute("viewBox",i.getAttribute("viewBox")||""))}}}}render(){const e=arguments[0];if(this.isSvgMode){const t=this.innerSprite,i=this.$slots?.secondary;return e(F.Z,{attrs:{boxType:"i",status:this.isStandAloneMode?this.standaloneLoading?"loading":"none":this.useSkeleton?"svg":"none"},style:{display:"inline-flex",justifyContent:"center",alignItems:"center",...i?{position:"relative"}:{}}},[e("svg",R()([{},{ref:"svg",attrs:{width:"1em",height:"1em",fill:this.svgGradientConfig&&`url(#${this.uniqueId})`||"currentColor","aria-hidden":"true",focusable:"false",...this.$attrs}}]),[!this.standalone&&[e("use",{attrs:{"xlink:href":t.id||this.renderSrc}}),this.svgGradientConfig&&e("defs",[e("linearGradient",{attrs:{id:this.uniqueId,x1:"0.5",x2:"0.5",y2:"1"}},[this.svgGradientConfig?.colorStop.map((({progress:t,color:i},n)=>e("stop",{attrs:{offset:t,"stop-color":i},key:n})))])])]]),this.$slots?.default||this.$scopedSlots.default?.(),i&&e("div",{style:{position:"absolute",left:0,top:0}},[i])])}{const t=this.innerSprite,i=this.scale;return e(F.Z,R()([{attrs:{boxType:"i",status:this.isStandAloneMode?this.standaloneLoading?"loading":"none":this.useSkeleton?"img":"none"}},{attrs:{"data-id":t?.id,"aria-hidden":"true",focusable:"false"},style:{display:"inline-block",position:"relative",width:`${t.width*i/this.baseUnit}${this.unit}`,height:`${t.height*i/this.baseUnit}${this.unit}`,...this.useCanvas?{}:{backgroundImage:`url(${this.renderSrc})`,backgroundPosition:`${-t.x*i/this.baseUnit}${this.unit} ${-t.y*i/this.baseUnit}${this.unit}`,backgroundSize:`${t.total_width*i/this.baseUnit}${this.unit} ${t.total_height*i/this.baseUnit}${this.unit}`}}}]),[this.$slots?.default||this.$scopedSlots.default?.()])}}},T=(0,D.Z)(v.prototype,"sprite",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,D.Z)(v.prototype,"scale",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,D.Z)(v.prototype,"useSkeleton",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,D.Z)(v.prototype,"standalone",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,D.Z)(v.prototype,"createPxData",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,D.Z)(v.prototype,"useCanvas",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,D.Z)(v.prototype,"linearGradientConfig",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,D.Z)(v.prototype,"svgContainer",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,D.Z)(v.prototype,"init",[d,p,m,f,g,b,y],Object.getOwnPropertyDescriptor(v.prototype,"init"),v.prototype),w=v))||w)},23151:function(e,t,i){"use strict";e.exports=i.p+"assets/receive.ba0f988fd58b475be28f.mp3"},42480:function(){},24654:function(){}}]);