PageSourceSearch

https://www.truewin.ai/js/userSetting.8af5c56e.1781093384.js

js truewin.ai collected 2026-10-05 14:45:47 UTC 37,287 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunktw"]=self["webpackChunktw"]||[]).push([[2458],{49108:function(t,e,s){s.r(e),s.d(e,{default:function(){return D}});var i=function(){var t,e=this,i=e._self._c;return i("div",{staticClass:"user-setting",class:"".concat("user-setting--"+e.$flexbox.breakpointname)},[i("div",{staticClass:"user-setting-title"},[e._v(e._s(e.$t("login.userSetting.profile")))]),i("div",{staticClass:"user-setting-cellbox"},[i("div",{staticClass:"cellbox-cell"},[i("div",{staticClass:"cellbox-cell-left"},[i("i",{staticClass:"iconfont-pf icon-pf-yonghu"}),e._v(" "+e._s(e.$t("login.userSetting.nickname"))+" ")]),i("div",{staticClass:"cellbox-cell-right",on:{click:function(t){return e.modifyInfo("nickName")}}},[i("div",{staticClass:"val"},[e._v(e._s(e.userInfoBase.nickName||e.userInfoBase.userName))]),i("i",{staticClass:"iconfont-pf icon-pf-you right-arrow"})])]),i("div",{staticClass:"cellbox-cell"},[i("div",{staticClass:"cellbox-cell-left"},[i("i",{staticClass:"iconfont-pf icon-pf-phone"}),e._v(" "+e._s(e.$t("login.userSetting.phoneNumber"))+" ")]),i("div",{staticClass:"cellbox-cell-right"},[e.userInfo.phone?i("div",{staticClass:"val",on:{click:function(t){return e.modifyInfo("changePhone",{isChangeAccount:!0,realPhone:e.userInfo.realPhone,canModify:e.canModifyPhone,updateTime:e.userInfo.updateTime})}}},[e._v(e._s(e.userInfo.phone)),i("i",{staticClass:"iconfont-pf icon-pf-you right-arrow"})]):[i("div",{staticClass:"val",on:{click:function(t){return e.modifyInfo("phone")}}},[e._v(e._s(e.$t("login.userSetting.unverified")))]),i("i",{staticClass:"iconfont-pf icon-pf-you right-arrow"})]],2)]),i("div",{staticClass:"cellbox-cell"},[i("div",{staticClass:"cellbox-cell-left"},[i("i",{staticClass:"iconfont-pf icon-pf-Mensagem"}),e._v(" "+e._s(e.$t("login.userSetting.email"))+" ")]),i("div",{staticClass:"cellbox-cell-right"},[e.userInfo.email?i("div",{staticClass:"val",on:{click:function(t){return e.modifyInfo("changeEmail",{isChangeAccount:!0,realEmail:e.userInfo.mail,canModify:e.canModifyEmail,updateTime:e.userInfo.updateTime})}}},[e._v(e._s(e.userInfo.email)),i("i",{staticClass:"iconfont-pf icon-pf-you right-arrow"})]):[i("div",{staticClass:"val",on:{click:function(t){return e.modifyInfo("email")}}},[e._v(e._s(e.$t("login.userSetting.unverified")))]),i("i",{staticClass:"iconfont-pf icon-pf-you right-arrow"})]],2)]),i("div",{staticClass:"cellbox-cell"},[i("div",{staticClass:"cellbox-cell-left"},[i("i",{staticClass:"iconfont-pf icon-pf-KYCmian"}),e._v(" "+e._s(e.$t("kyc.kycVerifyTitle"))+" ")]),i("div",{staticClass:"cellbox-cell-right"},[i("div",{staticClass:"val",on:{click:e.jumpKycVerified}},[e.verifiedObj.verifiedStatus&&3===e.verifiedObj.eKycStatus?[e._v(" "+e._s(e.$t("login.userSetting.verified"))+" ")]:e._e(),e.verifiedObj.verifiedStatus&&3!==e.verifiedObj.eKycStatus?[i("span",{staticClass:"kyc-point"}),e._v(" "+e._s(e.$t("login.userSetting.verifyEKYC"))+" ")]:e._e()],2),i("i",{staticClass:"iconfont-pf icon-pf-you right-arrow"})])]),i("div",{staticClass:"cellbox-cell"},[i("div",{staticClass:"cellbox-cell-left"},[i("i",{staticClass:"iconfont-pf icon-pf-dingwei"}),e._v(" "+e._s(e.$t("kyc.hand.addrTitle"))+" ")]),i("div",{staticClass:"cellbox-cell-right",on:{click:function(t){return e.goRouterName("userAddress")}}},[i("div",{staticClass:"val red"},[e._v(" "+e._s(null!==(t=e.addressInfo)&&void 0!==t&&t.id?"":e.$t("kyc.unfilled"))+" ")]),i("i",{staticClass:"iconfont-pf icon-pf-you right-arrow"})])]),e.isOnlyPayby?i("div",{staticClass:"cellbox-cell"},[i("div",{staticClass:"cellbox-cell-left"},[i("span",[e._v(" Transfer bonus to Botim Money account ")]),i("div",{staticClass:"user-setting__prompt van-row--flex van-row--align-center",on:{click:function(t){t.stopPropagation(),e.showprompt=!0}}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.showprompt,expression:"showprompt"}],staticClass:"plante-withdraw__prompt-mask",staticStyle:{width:"150px",top:"28px"}},[e._v(" Specification:"),i("br"),e._v(" Select this service and transfer bonus greater than (or equal to) AED 100 and less than (or equal to) AED 10000 from DreamIsland to Botim Money account automatically. ")])])]),i("div",{staticClass:"cellbox-cell-right"},[i("van-switch",{attrs:{size:"24px"},on:{change:e.changeAutoWithdraw},model:{value:e.autoWithdraw,callback:function(t){e.autoWithdraw=t},expression:"autoWithdraw"}}
1)],1)]):e._e()]),i("div",{staticClass:"user-setting-title"},[e._v(e._s(e.$t("login.userSetting.settings")))]),i("div",{staticClass:"user-setting-cellbox"},[i("div",{staticClass:"cellbox-cell"},[i("div",{staticClass:"cellbox-cell-left"},[i("i",{staticClass:"iconfont-pf icon-pf-suoguan"}),e._v(" "+e._s(e.existPassWord?e.$t("login.userSetting.changePassword"):e.$t("login.userSetting.setPassword"))+" ")]),i("div",{staticClass:"cellbox-cell-right",on:{click:function(t){return e.modifyInfo(e.existPassWord?"oldPass":"setPassword")}}},[i("div",{staticClass:"val"},[e._v(e._s(e.$t("login.userSetting.edit")))]),i("i",{staticClass:"iconfont-pf icon-pf-you right-arrow"})])]),"trueWinGLI"===e.siteData.ekyc.siteKey?i("div",{staticClass:"cellbox-cell"},[i("div",{staticClass:"cellbox-cell-left"},[i("img",{staticStyle:{width:"16px","margin-right":"8px"},attrs:{src:s(51823),alt:""}}),e._v(" "+e._s(e.$t("freezeAccount.accountDeletion"))+" ")]),i("div",{staticClass:"cellbox-cell-right",on:{click:e.freezeAccount}},[i("div",{staticClass:"val"},[i("div",{staticClass:"val"},[e._v(e._s(e.$t("login.userSetting.edit")))])]),i("i",{staticClass:"iconfont-pf icon-pf-you right-arrow"})])]):e._e()]),i("popup-modifyInfo",{ref:"modifyInfo",attrs:{columns:"phone"==e.step?e.registerColumns:e.columns,langs:e.langs,existPassWord:e.existPassWord},on:{confirmHandler:e.confirmHandler}}),i("updateSuccessDialog",{ref:"updateSuccess"})],1)},a=[],o=(s(44114),s(94490),s(18111),s(22489),s(20116),s(61701),s(69112),s(33110),s(25440),s(62236)),n=s(74638),r=s(41938),l=s(74564),c=s(59335),h=s(22694),d=function(){var t,e,i=this,a=i._self._c;return a("div",{staticClass:"popup-modifyinfo"},[a("el-dialog",{attrs:{visible:i.showPopup,"close-on-click-modal":!1,"close-on-press-escape":!1,closeable:"","show-close":!1,position:"bottom"},on:{"update:visible":function(t){i.showPopup=t}}},[a("i",{staticClass:"iconfont-pf icon-pf-guanbimianxing close-btn",on:{click:i.closeDialog}}),a("div",{staticClass:"modifyinfo-box"},[i.codeShow?[a("div",{staticClass:"title"},[i._v(i._s(i.$t("login.userSetting.otpTitle")))])]:[a("div",{staticClass:"title"},[i._v(i._s(i.stepTitle[i.step]))]),a("div",{staticClass:"suntitle"},[i._v(i._s(i.stepSubTitle[i.step]))])],a("div",{class:"modifyinfo-content modifyinfo-content-status_".concat(i.inputStatus)},["nickName"===i.step?a("div",{staticClass:"planet-login__group"},[a("div",{staticClass:"planet-login__body"},[a("input",{directives:[{name:"model",rawName:"v-model",value:i.nickName,expression:"nickName"}],staticClass:"planet-login__control",attrs:{type:"text",placeholder:i.$t("login.userSetting.nickNameTitle"),maxlength:"12","show-word-limit":""},domProps:{value:i.nickName},on:{focus:i.inputFocus,blur:function(t){return i.onCheckNikeNameReg("blur")},input:[function(t){t.target.composing||(i.nickName=t.target.value)},i.onCheckNikeNameReg]}}),i.nickName?a("i",{staticClass:"iconfont-pf icon-pf-guanbimianxing close",on:{click:function(t){return i.deleteContent("nickName")}}}):i._e()])]):i._e(),"nickName"===i.step?a("div",{staticClass:"planet-login__tip"},[i._v(i._s(i.$t("login.userSetting.nikeNameTip")))]):i._e(),i.isChangePhoneOrEmail&&!i.codeShow?a("div",{staticClass:"changeAccount"},[1===i.changeStep?[a("img",{staticClass:"tishi",attrs:{src:s(66523),alt:""}}),a("div",{staticClass:"title"},[i._v(i._s("changeEmail"===i.step?i.$t("login.userSetting.changeEmail"):i.$t("login.userSetting.changePhone")))]),a("div",{staticClass:"planet-login__tip"},[i._v(i._s("changeEmail"===i.step?"".concat(i.$t("login.userSetting.currentEmail")," ").concat(null===(t=i.currentData)||void 0===t?void 0:t.realEmail):"".concat(i.$t("login.userSetting.currentPhone")," ").concat(null===(e=i.currentData)||void 0===e?void 0:e.realPhone))+". "),a("br"),i._v(" "+i._s(i.$t("login.userSetting.changeTimeTip")))])]:i._e(),2===i.changeStep?[a("img",{staticClass:"tishi",attrs:{src:s(66523),alt:""}}),a("div",{staticClass:"title"},[i._v(i._s(i.$t("login.userSetting.updateUnableTitle")))]),a("div",{staticClass:"planet-login__tip",domProps:{innerHTML:i._s(i.changeTip)}})]:i._e()],2):i._e(),"phone"!==i.step||i.codeShow?i._e():a("div",{staticClass:"planet-login__group"},[a("div",{staticClass:"planet-login__option",on:{click:i.onShowCountryRegionSheet}},[a("span",[i._v("+"+i._s(i.activeCountryRegionInfo.code))]),a("i",{staticClass:"iconfont-pf icon-pf-shouqishang xiala",class:[i.countryRegionVisible?"down":"up"]})]),a("div",{staticClass:"planet-login__body"},[a("input",{directives:[{name:"model",rawName:"v-model",value:i.phoneNumber,expression:"phoneNumber"}],staticClass:"planet-login__control",attrs:{type:"tel",placeholder:i.$t("login.mobileNumberPlaceholder"),maxlength:"14"},domProps:{value:i.phoneNumber},on:{focus:i.inputFocus,blur:function(t){return i.onCheckPhoneReg("blur")}
1,input:[function(t){t.target.composing||(i.phoneNumber=t.target.value)},i.onCheckPhoneReg]}}),i.phoneNumber?a("i",{staticClass:"iconfont-pf icon-pf-guanbimianxing close",on:{click:function(t){return i.deleteContent("phoneNumber")}}}):i._e()])]),i.countryRegionVisible?a("div",{staticClass:"planet-region-search"},[a("div",{staticClass:"planet-region-search__body"},[a("planet-search-bar",{attrs:{columns:i.columns},on:{onClick:i.onSearchClick}})],1)]):i._e(),"email"!==i.step||i.codeShow?i._e():a("div",{staticClass:"planet-login__group"},[a("div",{staticClass:"planet-login__body"},[a("input",{directives:[{name:"model",rawName:"v-model",value:i.email,expression:"email"}],staticClass:"planet-login__control",attrs:{placeholder:i.$t("login.emailPlaceholder")},domProps:{value:i.email},on:{focus:i.inputFocus,blur:function(t){return i.onCheckEmailReg("blur")},input:[function(t){t.target.composing||(i.email=t.target.value)},i.onCheckEmailReg]}}),i.email?a("i",{staticClass:"iconfont-pf icon-pf-guanbimianxing close",on:{click:function(t){return i.deleteContent("email")}}}):i._e()])]),i.codeShow?[a("div",{staticClass:"planet-login__tip",staticStyle:{"margin-top":"0"}},[i._v(i._s(i.$t("login.sentCodeTipStart"))+i._s(i.stepAccount[i.step])+i._s(i.$t("login.sentCodeTipEnd"))+i._s("email"===i.step||"changeEmail"===i.step?i.$t("login.emailPlaceholder"):i.$t("login.mobileNumberLowercase"))+".")]),a("oom-code",{attrs:{codeErr:i.showErrorCode},on:{input:i.codeInputHandler}}),a("div",{staticClass:"planet-login__sendcode"},[i.smsct&&i.smsct>0?[a("span",{staticClass:"disabled"},[i._v(i._s(i.$t("login.sendCodeAgain")))]),a("span",{staticClass:"seconds"},[i._v(i._s(i.smsct)+"s")])]:[a("span",{staticClass:"send-btn",on:{click:function(t){return i.sendCode("")}}},[i._v(i._s(i.$t("login.sendCodeAgain")))])]],2),i.showErrorCode?a("div",{staticClass:"planet-login__tip err"},[i._v(" "+i._s(i.showErrorCode)+" ")]):i._e(),a("div",{staticStyle:{"margin-bottom":"10px"},attrs:{"data-captcha":"12"}})]:i._e(),"oldPass"==i.step?a("div",{staticClass:"planet-login__group"},[a("div",{staticClass:"planet-login__body"},["checkbox"===i.inputType?a("input",{directives:[{name:"model",rawName:"v-model",value:i.password,expression:"password"}],staticClass:"planet-login__control",attrs:{placeholder:i.$t("login.userSetting.oldPasswordPlaceholder"),maxlength:"16",type:"checkbox"},domProps:{checked:Array.isArray(i.password)?i._i(i.password,null)>-1:i.password},on:{focus:i.inputFocus,blur:function(t){return i.onCheckPassReg(t,"password","blur")},input:function(t){return i.onCheckPassReg(t,"password")},change:function(t){var e=i.password,s=t.target,a=!!s.checked;if(Array.isArray(e)){var o=null,n=i._i(e,o);s.checked?n<0&&(i.password=e.concat([o])):n>-1&&(i.password=e.slice(0,n).concat(e.slice(n+1)))}else i.password=a}}}):"radio"===i.inputType?a("input",{directives:[{name:"model",rawName:"v-model",value:i.password,expression:"password"}],staticClass:"planet-login__control",attrs:{placeholder:i.$t("login.userSetting.oldPasswordPlaceholder"),maxlength:"16",type:"radio"},domProps:{checked:i._q(i.password,null)},on:{focus:i.inputFocus,blur:function(t){return i.onCheckPassReg(t,"password","blur")},input:function(t){return i.onCheckPassReg(t,"password")},change:function(t){i.password=null}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:i.password,expression:"password"}],staticClass:"planet-login__control",attrs:{placeholder:i.$t("login.userSetting.oldPasswordPlaceholder"),maxlength:"16",type:i.inputType},domProps:{value:i.password},on:{focus:i.inputFocus,blur:function(t){return i.onCheckPassReg(t,"password","blur")},input:[function(t){t.target.composing||(i.password=t.target.value)},function(t){return i.onCheckPassReg(t,"password")}]}}),a("i",{staticClass:"iconfont-pf eye",class:i.passShow?"icon-pf-yincang":"icon-pf-chakan",on:{click:function(t){return i.handleTogglePassStatus("passShow")}}})])]):i._e(),"oldPass"!=i.step||i.oldPassErr?i._e():a("div",{staticClass:"planet-login__tip"},[i._v(i._s(i.$t("login.userSetting.oldPasswordTitle")))]),"oldPass"==i.step&&i.oldPassErr?a("div",{staticClass:"planet-login__tip err"},[i._v(i._s(i.$t("login.userSetting.wrongOldPasswordTip")))]):i._e(),"setPass"==i.step?a("div",{staticClass:"planet-login__group"},[a("div",{staticClass:"planet-login__body"},["checkbox"===i.inputType?a("input",{directives:[{name:"model",rawName:"v-model",value:i.newPassword,expression:"newPassword"}],staticClass:"planet-login__control",attrs:{placeholder:i.$t("login.userSetting.newPasswordPlaceholder"),maxlength:"16",type:"checkbox"},domProps:{checked:Array.isArray(i.newPassword)?i._i(i.newPassword,null)>-1:i.newPassword},on:{focus:i.inputFocus,blur:function(t){return i.onCheckPassReg(t,"newPassword","blur")}
1,input:function(t){return i.onCheckPassReg(t,"newPassword")},change:function(t){var e=i.newPassword,s=t.target,a=!!s.checked;if(Array.isArray(e)){var o=null,n=i._i(e,o);s.checked?n<0&&(i.newPassword=e.concat([o])):n>-1&&(i.newPassword=e.slice(0,n).concat(e.slice(n+1)))}else i.newPassword=a}}}):"radio"===i.inputType?a("input",{directives:[{name:"model",rawName:"v-model",value:i.newPassword,expression:"newPassword"}],staticClass:"planet-login__control",attrs:{placeholder:i.$t("login.userSetting.newPasswordPlaceholder"),maxlength:"16",type:"radio"},domProps:{checked:i._q(i.newPassword,null)},on:{focus:i.inputFocus,blur:function(t){return i.onCheckPassReg(t,"newPassword","blur")},input:function(t){return i.onCheckPassReg(t,"newPassword")},change:function(t){i.newPassword=null}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:i.newPassword,expression:"newPassword"}],staticClass:"planet-login__control",attrs:{placeholder:i.$t("login.userSetting.newPasswordPlaceholder"),maxlength:"16",type:i.inputType},domProps:{value:i.newPassword},on:{focus:i.inputFocus,blur:function(t){return i.onCheckPassReg(t,"newPassword","blur")},input:[function(t){t.target.composing||(i.newPassword=t.target.value)},function(t){return i.onCheckPassReg(t,"newPassword")}]}}),a("i",{staticClass:"iconfont-pf eye",class:i.passShow?"icon-pf-yincang":"icon-pf-chakan",on:{click:function(t){return i.handleTogglePassStatus("passShow")}}})])]):i._e(),"setPass"==i.step?a("div",{staticClass:"planet-login__group",staticStyle:{"margin-top":"14px"}},[a("div",{staticClass:"planet-login__body"},["checkbox"===i.inputType2?a("input",{directives:[{name:"model",rawName:"v-model",value:i.toPassword,expression:"toPassword"}],staticClass:"planet-login__control",attrs:{placeholder:i.$t("login.userSetting.ComfirmPasswordPlaceholder"),maxlength:"16",type:"checkbox"},domProps:{checked:Array.isArray(i.toPassword)?i._i(i.toPassword,null)>-1:i.toPassword},on:{focus:i.inputFocus,blur:function(t){return i.onCheckPassReg(t,"toPassword","blur")},input:function(t){return i.onCheckPassReg(t,"toPassword")},change:function(t){var e=i.toPassword,s=t.target,a=!!s.checked;if(Array.isArray(e)){var o=null,n=i._i(e,o);s.checked?n<0&&(i.toPassword=e.concat([o])):n>-1&&(i.toPassword=e.slice(0,n).concat(e.slice(n+1)))}else i.toPassword=a}}}):"radio"===i.inputType2?a("input",{directives:[{name:"model",rawName:"v-model",value:i.toPassword,expression:"toPassword"}],staticClass:"planet-login__control",attrs:{placeholder:i.$t("login.userSetting.ComfirmPasswordPlaceholder"),maxlength:"16",type:"radio"},domProps:{checked:i._q(i.toPassword,null)},on:{focus:i.inputFocus,blur:function(t){return i.onCheckPassReg(t,"toPassword","blur")},input:function(t){return i.onCheckPassReg(t,"toPassword")},change:function(t){i.toPassword=null}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:i.toPassword,expression:"toPassword"}],staticClass:"planet-login__control",attrs:{placeholder:i.$t("login.userSetting.ComfirmPasswordPlaceholder"),maxlength:"16",type:i.inputType2},domProps:{value:i.toPassword},on:{focus:i.inputFocus,blur:function(t){return i.onCheckPassReg(t,"toPassword","blur")},input:[function(t){t.target.composing||(i.toPassword=t.target.value)},function(t){return i.onCheckPassReg(t,"toPassword")}]}}),a("i",{staticClass:"iconfont-pf eye",class:i.passShow2?"icon-pf-yincang":"icon-pf-chakan",on:{click:function(t){return i.handleTogglePassStatus("passShow2")}}})])]):i._e(),"setPass"==i.step&&i.passwordNoMatch?a("div",{staticClass:"planet-login__tip err"},[i._v(i._s(i.$t("login.userSetting.passwordNoMatch")))]):i._e(),"setPass"==i.step?a("div",{staticClass:"planet-login__tip"},[i._v(i._s(i.$t("login.setPassTip")))]):i._e()],2),i.codeShow?i._e():a("div",{staticClass:"confirm-footer"},[a("div",{attrs:{"data-captcha":"11"}}),a("planet-button",{staticClass:"footer_button confirm",attrs:{disabled:i.nextDisabled,type:"twDefault"},on:{onClick:i.confirmHandle}},[i._v(" "+i._s(i.footerText)+" ")])],1)],2)])],1)},u=[],p=s(14938),g=s(54574),m=s(56982),f=s(69358),w={name:"popup-modifyinfo",props:{cancelText:{default:"Cancel",type:String},confirmText:{default:"Confirm",type:String},hideCancel:{default:!1,type:Boolean},columns:{default:()=>{},type:Array},existPassWord:{default:!1,type:Boolean}},components:{"planet-search-bar":p.A,"planet-button":g.A,"oom-code":m.A},data(){return{showPopup:!1,step:"",nickName:"",activeCountryRegionInfo:{code:"971"},phoneNumber:"",verifyCode:"",showKeyboard:!1,password:"",newPassword:"",toPassword:"",createEmailSuffix:"",createEmails:[],email:"",sendSMS:!1,countryRegionVisible:!1,showErrorCode:"",passWordReg:/^\S{6,16}$/,passShow:!1,passShow2:!1,inputType:"password",inputType2:"password",codeShow:!1,smsct:0,smsctTimer:0,passwordNoMatch:"",oldPassErr:!1,showSelectContent:!1,activeLang:"",activeLangAlias:"",inputStatus:"",changeStep:1,currentData:{},mountID:"parentNodeId",callbackName:"success",emailListVisible:!1,stepType:{phone:16,email:17,changePhone:23,changeEmail:24},captcha11Rendered:!1}},watch:{verifyCode(t,e){t.length>=6&&this.confirmHandle()},showPopup(){this.inputStatus=""}},computed:{userInfo(){return this.$store.state.user.userInfo},isChangePhoneOrEmail(){return"changePhone"===this.step||"changeEmail"===this.step},footerText(){return"oldPass"==this.step?this.$t("login.userSetting.next"):"phone"==this.step||"email"==this.step?this.co
1deShow?this.$t("login.userSetting.verify"):this.$t("login.userSetting.next"):"setPass"==this.step?this.existPassWord?this.$t("login.resetPassTitle"):this.$t("login.userSetting.setPassword"):"language"==this.step?this.$t("login.userSetting.setUp"):this.existPassWord?this.isChangePhoneOrEmail&&1===this.changeStep?this.$t("login.userSetting.next"):this.isChangePhoneOrEmail&&2===this.changeStep?this.$t("vipclub.ok"):this.$t("login.userSetting.confirm"):this.$t("login.userSetting.next")},nextDisabled(){return this.codeShow,"nickName"===this.step?!this.nickName:"phone"===this.step?this.codeShow?!(this.verifyCode.length>=6):f.A.open&&!this.captcha11Rendered||!this.phoneNumber:"email"==this.step?this.codeShow?!(this.verifyCode.length>=6):f.A.open&&!this.captcha11Rendered||!(0,r.checkInputEmail)(this.lastEmail):["changePhone","changeEmail"].includes(this.step)?1===this.changeStep&&f.A.open&&!this.captcha11Rendered:"oldPass"===this.step?!this.password:"setPass"===this.step?!(0,r.checkFormatSetPassword)(this.newPassword)||!(0,r.checkFormatSetPassword)(this.toPassword):"language"===this.step?!this.activeLang:!(this.existPassWord||!this.codeShow)&&!(this.verifyCode.length>=6)},lastEmail(){return this.createEmailSuffix?this.email+"@"+this.createEmailSuffix:this.email},isPhoneVerify(){return"phone"===this.step||"setPassword"===this.step||"changePhone"===this.step},stepAccount(){return"phone"!==this.step||this.existPassWord?{email:this.lastEmail||"",changeEmail:this.userInfo.mail||"",phone:this.phoneNumber||"",changePhone:this.userInfo.realPhone||""}:{phone:this.userInfo.realPhone}},changeTip(){var t,e;return"changeEmail"===this.step?"".concat(this.$t("login.userSetting.emailTip",{account:'<span class="highlight">'.concat(null===(t=this.currentData)||void 0===t?void 0:t.realEmail,"</span>"),time:'<span class="highlight">'.concat(this.currentData.updateTime,"</span>")}),"</span>"):"".concat(this.$t("login.userSetting.phoneTip",{account:'<span class="highlight">'.concat(null===(e=this.currentData)||void 0===e?void 0:e.realPhone,"</span>"),time:'<span class="highlight">'.concat(this.currentData.updateTime,"</span>")}),"</span>")},stepTitle(){return{nickName:this.$t("login.userSetting.nickNameTitle"),phone:this.currentData.isChangeAccount?this.$t("login.userSetting.newPhoneTitle"):this.$t("login.userSetting.phoneTitle"),email:this.currentData.isChangeAccount?this.$t("login.userSetting.newEmailTitle"):this.$t("login.userSetting.emailTitle"),oldPass:this.$t("login.userSetting.changePassword"),setPass:this.$t("login.userSetting.changePassword"),language:this.$t("login.userSetting.languageTitle")}},stepSubTitle(){return{phone:this.currentData.isChangeAccount?this.$t("login.userSetting.newPhoneSubTitle"):"",email:this.currentData.isChangeAccount?this.$t("login.userSetting.newEmailSubTitle"):""}}},methods:{changeShow(t,e){this.codeShow=!1,this.captcha11Rendered=!1,"setPassword"==this.step&&(this.codeShow=!0),this.initData(),t&&(this.isChangePhoneOrEmail&&(this.currentData=e),["phone","email","changePhone","changeEmail"].includes(this.step)&&setTimeout(()=>{this.initCaptcha("11")})),this.showPopup=t},closeDialog(){this.showPopup=!1,this.smsctTimer&&clearInterval(this.smsctTimer)},initData(){this.passwordNoMatch=!1,this.oldPassErr=!1,this.phoneNumber="",this.email="",this.password="",this.newPassword="",this.toPassword="",this.inputType="password",this.inputType2="password",this.passShow=!1,this.passShow2=!1,this.changeStep=1,this.inputStatus="",this.$store.commit("SET_CAPTCHADATA_TOKEN",""),this.countryRegionVisible=!1},deleteContent(t){this[t]=""},inputFocus(){""===this.inputStatus&&(this.inputStatus="focus")},onCheckNikeNameReg(t){"blur"===t?"focus"===this.inputStatus&&(this.inputStatus=""):this.inputStatus="focus",this.nickName=(0,r.checkInputName)(this.nickName)},onCheckPhoneReg(t){"blur"===t?"focus"===this.inputStatus&&(this.inputStatus=""):this.inputStatus="focus",this.phoneNumber=(0,r.checkInputPhone)(this.phoneNumber)},onCheckEmailReg(t){"blur"===t?"focus"===this.inputStatus&&(this.inputStatus=""):this.inputStatus="focus",this.email=this.email.replace(/\s+/g,""),this.email=this.email.toLowerCase()},onCheckPassReg(t,e,s){"blur"===s?"focus"===this.inputStatus&&(this.inputStatus=""):this.inputStatus="focus",this[e]=this[e].replace(/[^A-Za-z0-9!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]/g,"")},handleTogglePassStatus(t){this[t]=!this[t],this.passShow?this.inputType="text":this.inputType="password",this.passShow2?this.inputType2="text":this.inputType2="password"},onSearchClick(t){this.activeCountryRegionInfo=t,this.countryRegionVisible=!1},codeInputHandler(t){this.verifyCode=t},handleGetVerifyCode(t){let e=f.A.getVerifiedToken("11");if(["changePhone","changeEmail","phone","email"].includes(this.step)&&f.A.open&&(this.codeShow&&(e=f.A.getVerifiedToken("12")),!e))return void this.$n
1otify({message:"Please verify the CAPTCHA",customClass:"tw"});"setPassword"==this.step&&(t=3);var s=JSON.parse((0,r.getItem)("user_info"));let i={data:{type:t||this.stepType[this.step],sendType:"1",code:e}},a="001012";this.isPhoneVerify?(this.existPassWord&&"changePhone"!==this.step?i.data.phone=this.activeCountryRegionInfo.code+this.phoneNumber.replace(/\s+/g,""):i.data.phone=s.realPhone,a="001001"):(a="001012",i.data.mail="changeEmail"===this.step?s.mail:this.lastEmail.replace(/\s+/g,"")),this.sendDisabled=!0,i.clientInfo={platform:(0,r.getPlanformEnum)(),product:(0,r.getProductEnum)()},this.$command.post("hapi",a,{message:h.A.encode(JSON.stringify(i))}).then(t=>{this.sendDisabled=!1,0===t.code&&t.data&&t.data.checkCode?200===t.data.checkCode?(this.codeShow=!0,this.changeStep="",this.$store.commit("SET_CAPTCHADATA_TOKEN",""),this.$notify({message:this.$t("login.codeSentToast"),customClass:"tw"}),this.sendSMS?this.onSmsctCountDown():(this.inputStatus="error",this.$notify({message:t.message,customClass:"tw"}))):(this.inputStatus="error",this.$notify({message:"Captcha error",customClass:"tw"})):(this.inputStatus="error",this.$notify({message:t.message||"Validation failed!",customClass:"tw"}))}).catch(t=>{this.inputStatus="error"})},onSmsctCountDown(){this.smsct=60,this.smsctTimer=setInterval(()=>{this.smsct--,0===this.smsct&&(this.initCaptcha("12"),clearInterval(this.smsctTimer))},1e3)},onShowCountryRegionSheet(t){this.countryRegionVisible=!this.countryRegionVisible},verifiedCode(t){var e=JSON.parse((0,r.getItem)("user_info"));let s={account:"changePhone"===this.step?e.realPhone:e.mail,type:t,verifyCode:this.verifyCode.substring(0,6)};this.$store.dispatch("checkCode",s).then(e=>{0===e.code?(this.codeShow=!1,clearInterval(this.smsctTimer),this.smsct=0,this.inputStatus="",23==t?this.step="phone":24==t?this.step="email":3==t&&(this.step="setPass"),[23,24].includes(t)&&this.initCaptcha("11")):(this.inputStatus="error",this.$notify({message:e.message,customClass:"tw"}))}).catch(t=>{this.inputStatus="error",this.$notify({message:t.message,customClass:"tw"})})},confirmHandle(){if(this.showErrorCode="",!this.nextDisabled)if(this.existPassWord||!this.verifyCode||"setPass"===this.step){if(("phone"==this.step||"email"==this.step)&&!this.codeShow){if("phone"==this.step){let t=["971"];if(t.includes(this.activeCountryRegionInfo.code)&&/^0/.test(this.phoneNumber))return this.inputStatus="error",this.$notify({message:"Please remove the starting zero from the numbers",customClass:"tw"}),!1}return this.countryRegionVisible=!1,void this.sendCode()}if("oldPass"!=this.step)if("setPass"!=this.step||this.newPassword==this.toPassword){if("language"==this.step)return this.$eventBus.$emit("changeLang",this.activeLang),void location.reload();if(this.isChangePhoneOrEmail){if(1===this.changeStep){const t=f.A.getVerifiedToken("11");return f.A.open&&!t?void this.$notify({message:"Please verify the CAPTCHA",customClass:"tw"}):this.currentData.canModify?void this.sendCode():void(this.changeStep=2)}if(2===this.changeStep&&this.changeShow(!1),this.codeShow)return void this.verifiedCode("changePhone"===this.step?23:24)}this.$emit("confirmHandler",{step:this.step,isChangeAccount:this.currentData.isChangeAccount})}else this.passwordNoMatch=!0;else this.$store.dispatch("checkOldPassword",{password:this.password}).then(t=>{if(0===t.code){if(this.passShow=!1,0==t.data.validStatus)return void(this.oldPassErr=!0);this.step="setPass"}else this.inputStatus="error",this.$notify({message:t.message,customClass:"tw"})})}else this.verifiedCode(3)},async getCreateEmails(){if(("email"===this.step||"changeEmail"===this.step)&&!this.createEmails.length){var t;const e=await this.$command.post("hapi","001008",{message:h.A.encode(JSON.stringify({}))});this.createEmails=(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.mailAllowInfoList)||[],this.createEmailSuffix=this.createEmailSuffix||this.createEmails[0].mail}},sendCode(t){this.sendSMS=!0,this.handleGetVerifyCode(t),this.verifyCode="",clearInterval(this.smsctTimer),this.smsct=0},handlerShowSelectContent(){this.showSelectContent=!this.showSelectContent},changeLang(t){this.activeLang=t.value,this.activeLangAlias=t.alias,this.showSelectContent=!this.showSelectContent},onEmailClick(t){this.emailListVisible=!this.emailListVisible},initCaptcha(t){f.A.remove(t),"11"===t&&(this.captcha11Rendered=!1),f.A.init(t,{"rendered-callback":()=>{"11"===t&&(this.captcha11Rendered=!0)}}),f.A.renderUI(t)}}},v=w,C=s(81656),P=(0,C.A)(v,d,u,!1,null,"1c5dc567",null),y=P.exports,S=function(){var t,e,i=this,a=i._self._c;return a("div",{staticClass:"popup-modifyinfo"},[a("el-dialog",{attrs:{visible:i.showPopup,"close-on-click-modal":!1,"close-on-press-escape":!1,closeable:"","show-close":!1,position:"bottom"},on:{"update:visible":function(t){i.showPopup=t}}},[a("i",{staticClass:"iconfont-pf icon-pf-guanbimianxing",on:{click:i.closeDialog}}),a("div",{staticClass:"changeAccount"},[a("img",{staticClass:"tishi",attrs:{src:s(66523),alt:""}}),a("div",{staticClass:"title"}
1,[i._v(i._s(null===(t=i.content)||void 0===t?void 0:t.title))]),a("div",{staticClass:"desc",domProps:{innerHTML:i._s(null===(e=i.content)||void 0===e?void 0:e.desc)}})]),a("div",{staticClass:"confirm-footer"},[a("planet-button",{staticClass:"footer_button confirm",attrs:{type:"twDefault"},on:{onClick:i.closeDialog}},[i._v(i._s(i.$t("vipclub.ok")))])],1)])],1)},_=[],b={name:"updateSuccessDialog",components:{"planet-button":g.A},data(){return{showPopup:!1,content:{}}},methods:{changeShow(t,e){this.content=e,this.showPopup=t},closeDialog(){this.showPopup=!1}}},$=b,k=(0,C.A)($,S,_,!1,null,"65f1ceb8",null),x=k.exports,T=s(96426),I={name:"userSetting",props:{},data(){return{siteData:o.A,showprompt:!1,autoWithdraw:!1,addHomeGuidShow:!1,operatingEnvironment:"",isOnlyPayby:!1,existPassWord:!1,showBirthDate:!1,modelbirthDate:new Date,minDate:new Date(1800,0,1),maxDate:new Date,inputBirth:"",userInfo:{},columns:[],registerColumns:[],verifiedObj:{},activeLang:"",activeLangAlias:"",step:"",addressInfo:{},canModifyPhone:!1,canModifyEmail:!1}},components:{"popup-modifyInfo":y,updateSuccessDialog:x},computed:{...(0,c.mapState)({userInfoBase:t=>t.user.userInfo,realUserInfo:t=>t.user.realUserInfo}),isIOS(){let t=navigator.userAgent,e=!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return e},langs(){return this.$store.state.i18n.langs}},created(){T.A.setRefresh("refreshDisableStatus",!0);let t=(new Date).getFullYear();this.minDate=new Date(t-110,0,1),this.getUserInfo(),this.checkIsPassWord(),this.getInfo(),this.operatingEnvironment=(0,n.He)(),this.getCountryRegionList(),this.getCheckVerified(),this.getAddress()},beforeDestroy(){T.A.setRefresh("refreshDisableStatus",!1)},mounted(){l.EventBus.$on("initialize-header-config");var t=document.querySelector("body");t.addEventListener("click",()=>{this.showprompt=!1})},methods:{freezeAccount(){this.$store.dispatch("userLogoutCheck").then(t=>{l.EventBus.$emit("freezeAccountDialogHandle",t.data)})},async getCheckVerified(){let t=await this.$command.get("hapi","100112",{message:h.A.encode(JSON.stringify({}))});this.verifiedObj=t.data},jumpKycVerified(){let t="KYCVerified";this.$router.push({name:t})},goRouterName(t,e){this.$router.push({name:t,query:e})},getInfo(){this.$store.dispatch("getUserInfo",{}).then(t=>{if(0===t.code){t.data.birthDate=t.data.birthDate&&t.data.birthDate.split("-").reverse().join("/"),t.data.email=t.data.mail,this.userInfo=t.data,this.$refs.modifyInfo.changeShow(!1);var e=JSON.parse((0,r.getItem)("user_info"));e.phone=t.data.phone,e.realPhone=t.data.realPhone,e.birthDate=t.data.birthDate,e.mail=t.data.mail,e.nickName=t.data.nickname,(0,r.setItem)("user_info",JSON.stringify(e)),this.$store.commit("SET_USER_INFO",{...e,loginType:"successful"}),t.data.phone&&t.data.phoneUpdateTimestamp?(this.canModifyPhone=this.getTimeResult(t.data.phoneUpdateTimestamp,t.timestamp),this.userInfo.updateTime=(0,r.formatLocalDateTime)({datetime:t.data.phoneUpdateTimestamp,format:"DD/MM/YYYY"})):this.canModifyPhone=!0,t.data.mail&&t.data.mailUpdateTimestamp?(this.canModifyEmail=this.getTimeResult(t.data.mailUpdateTimestamp,t.timestamp),this.userInfo.updateTime=(0,r.formatLocalDateTime)({datetime:t.data.mailUpdateTimestamp,format:"DD/MM/YYYY"})):this.canModifyEmail=!0}else this.$notify({message:t.message,customClass:"tw"})})},getTimeResult(t,e){let s=15552e6;return s+=t,s<e},getUserInfo(){this.$command.get("hapi","100110",{message:h.A.encode(JSON.stringify({}))}).then(t=>{0==t.code?this.autoWithdraw=t.data.autoWithdraw:this.$notify({message:t.message,customClass:"tw"})})},changeAutoWithdraw(t){this.$loading({customClass:"tw"}),this.$command.get("hapi","100128",{message:h.A.encode(JSON.stringify({data:{type:t?1:2}}))}).then(t=>{this.$loading({customClass:"tw"}).close(),0==t.code||(this.getUserInfo(),this.$notify({message:t.message,customClass:"tw"}))})},addToHome(){this.addHomeGuidShow=!0},onCloseAddHomeDialog(){this.addHomeGuidShow=!1},checkIsPassWord(){this.$store.dispatch("checkIsPassWord").then(t=>{0===t.code?this.existPassWord=!!t.data.existStatus:this.$notify({message:t.message,customClass:"tw"})})},confirmHandler(t){if(null!==t&&void 0!==t&&t.step&&(this.step=t.step),"nickName"==this.step)this.modifyNameOrDate();else if("phone"==this.step||"email"==this.step){const e=this.$refs.modifyInfo,s=e.activeCountryRegionInfo.code+e.phoneNumber.replace(/\s+/g,""),i=e.lastEmail;let a={account:"phone"==this.step?s:i,verifyCodeType:"phone"==this.step?16:17,verifyCode:e.verifyCode.substring(0,6)};const o=null!==t&&void 0!==t&&t.isChangeAccount?"bindNewMobileOrEmail":"bindMobileOrEmail";this.$store.dispatch(o,a).then(e=>{if(0===e.code)if(this.getInfo(),null!==t&&void 0!==t&&t.isChangeAccount){const t={title:this.$t("login.userSetting.updateSuccess"),desc:this.$t("login.userSetting.updateDesc",{account:'<span class="highlight">
1'.concat("phone"==this.step?s:i,"</span>")})};this.$refs.updateSuccess.changeShow(!0,t)}else this.$notify({message:"Set successfully",customClass:"tw"});else this.$refs.modifyInfo.showErrorCode=e.message}).catch(t=>{this.$refs.modifyInfo.showErrorCode=t.message})}else"setPass"==this.$refs.modifyInfo.step?this.modifyPassword():"language"==this.step&&this.$refs.modifyInfo.changeShow(!1)},modifyNameOrDate(t){let e={};t?e.birthDate=this.modelbirthDate:e.nickname=this.$refs.modifyInfo.nickName.replace(/(^\s*)|(\s*$)/g,""),this.$store.dispatch("changeNickname",e).then(e=>{0===e.code?(this.getInfo(),this.showBirthDate=!1,this.$refs.modifyInfo.changeShow(!1),this.$notify({message:t?this.$t("login.userSetting.setBirthdayToast"):this.$t("login.userSetting.setNicenameToast"),customClass:"tw"})):this.$notify({message:e.message,customClass:"tw"})}).catch(t=>{this.$notify({message:t.message,customClass:"tw"})})},modifyPassword(){let t={toPassword:this.$refs.modifyInfo.toPassword};this.existPassWord?t.password=this.$refs.modifyInfo.password:(t.verifyCode=this.$refs.modifyInfo.verifyCode.substring(0,6),t.phone=this.userInfo.realPhone),this.$store.dispatch(this.existPassWord?"updatePassWord":"resetPassWord",t).then(t=>{0===t.code?(this.$notify({message:"Your password has been changed successfully",customClass:"tw"}),this.$refs.modifyInfo.changeShow(!1),setTimeout(()=>{l.EventBus.$emit("remove-user-info"),this.$router.push("/"),this.$store.commit("SET_LOGIN_CONFIG",{show:!0,step:""})},1500)):this.$notify({message:t.message,customClass:"tw"})}).catch(t=>{this.$notify({message:t.message,customClass:"tw"})})},modifyInfo(t,e){if("date"==t)return this.showBirthDate=!0,void(this.modelbirthDate=this.userInfo.birthDate?new Date(this.userInfo.birthDate.split("/").reverse().join("-")):new Date);this.step=t,this.$refs.modifyInfo.step=t,"setPassword"==t&&this.$refs.modifyInfo.sendCode(3),this.$refs.modifyInfo.nickName=this.userInfo.nickname||this.userInfoBase.userName,this.$refs.modifyInfo.changeShow(!0,e)},formatter(t,e){const s=["January","February","March","April","May","June","July","August","September","October","November","December"];return"month"===t?s[parseInt(e)-1]:e},confirmBirth(t){var e=new Date(t),s=e.getFullYear(),i=this.zero(e.getMonth()+1),a=this.zero(e.getDate()),o=new Date,n=o.getFullYear();if(this.inputBirth=a+"-"+i+"-"+s,n-s<18)return this.$notify({message:"Your age does not meet our requirements.",customClass:"tw"}),void(this.modelbirthDate="");this.modelbirthDate=s+"-"+i+"-"+a,this.modifyNameOrDate(!0)},zero(t){return t<10&&(t="0"+t),t},getCountryRegionList(){this.$command.post("hapi","001006",{message:h.A.encode(JSON.stringify({}))}).then(t=>{0===t.code&&(this.activeCountryRegionInfo=t.data.countryRegionList.find(t=>{if("971"===t.code)return t}),this.columns=t.data.countryRegionList.map(t=>({country:t.country,code:t.code,flagUrl:t.flagUrl})),this.registerColumns=this.columns.filter(t=>"86"!=t.code))})},getAddress(){this.$command.post("hapi","100205",{message:h.A.encode(JSON.stringify({data:{}}))}).then(t=>{0==t.code&&t.data&&(this.addressInfo=t.data)})}}},N=I,A=(0,C.A)(N,i,a,!1,null,"170ef04c",null),D=A.exports},66523:function(t,e,s){t.exports=s.p+"img/tishi.81245002.svg"},51823:function(t,e,s){t.exports=s.p+"img/accountDeletion.7f02e8e0.svg"}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.