diff --git a/mining-pool/src/App.vue b/mining-pool/src/App.vue index 8df1832..dd45e95 100644 --- a/mining-pool/src/App.vue +++ b/mining-pool/src/App.vue @@ -1,7 +1,8 @@
\ No newline at end of file +M2pool - Stable leading high-yield mining pool
\ No newline at end of file diff --git a/mining-pool/test/js/app-113c6c50.ede228a3.js b/mining-pool/test/js/app-113c6c50.ede228a3.js new file mode 100644 index 0000000..5470b77 --- /dev/null +++ b/mining-pool/test/js/app-113c6c50.ede228a3.js @@ -0,0 +1 @@ +(function(){"use strict";var t={198:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var s=i(a(80238));e.A={mixins:[s.default]}},398:function(t,e,a){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,a(44114),a(18111),a(20116);var i=a(1652);e["default"]={data(){return{searchKeyword:"",searchResults:[],currentPage:1,pageSize:10,totalCount:0,previewVisible:!1,previewData:null,pageNum:1,documentTypes:{},searchLoading:!1}},mounted(){try{this.documentTypes=JSON.parse(localStorage.getItem("TypeList"))||{}}catch(t){console.log(t,"error")}if(this.searchKeyword=this.$route.query.keyword||"",this.$route.query.results)try{const t=JSON.parse(decodeURIComponent(this.$route.query.results));this.searchResults=t.rows||[],this.totalCount=t.total||0}catch(t){console.error("解析搜索结果数据失败:",t)}else this.searchKeyword&&this.fetchSearchResults()},methods:{async fetchSearchResults(){this.setLoading("searchLoading",!0);try{const t=await(0,i.getListDataByPage)({keyword:this.searchKeyword,pageNum:this.pageNum,pageSize:this.pageSize,lang:this.$i18n.locale});t&&200===t.code&&(this.searchResults=t.rows||[],this.totalCount=t.total||0)}catch(t){console.error("获取搜索结果失败:",t),this.$message.error("获取搜索结果失败")}this.setLoading("searchLoading",!1)},highlightKeyword(t){if(!this.searchKeyword||!t)return t;const e=new RegExp(`(${this.searchKeyword})`,"gi");return t.replace(e,"$1")},getContentPreview(t){if(!t)return"";const e=t.replace(/<[^>]*>/g,"");return e.length>100?e.substring(0,100)+"...":e},formatDate(t){if(!t)return"";const e=new Date(t);return e.toLocaleDateString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})},getDocumentTypeName(t){console.log(t,"typ俯瞰风景分开发饭饭登记费记得发e",this.documentTypes);try{let e=this.documentTypes.find((e=>e.value==t))?.label;return this.$t(e)}catch(e){return console.log(e,"error"),"未知类型"}},handlePageChange(t){this.currentPage=t,this.fetchSearchResults()},handleItemClick(t){let e;t.articleUrl&&(e=`/${this.$i18n.locale}/${t.articleUrl}`),this.$router.push({path:e,query:{id:t.id}})},handlePreview(t){this.previewData=t,this.previewVisible=!0},handlePreviewClose(){this.previewVisible=!1,this.previewData=null},handleCurrentChange(t){this.pageNum=t,this.fetchSearchResults()},handleSizeChange(t){this.pageSize=t,this.currentPage=1,this.pageNum=1,this.fetchSearchResults()}}}},1754:function(t,e,a){var i=a(91774)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,a(44114),a(18111),a(7588);var s=a(4946),n=i(a(3574)),r=a(82908);e["default"]={name:"UserDetails",data(){return{userDetailsID:null,userData:{},userDetailsLoading:!1,formInline:{user:"",region:""},userDetailsParams:{coin:"",minerUser:"",startDate:"",endDate:""},labelPosition:"top",noDataTip:!1,lineChartParams:{minerUser:"",endDate:"",startDate:"",coin:""},onlineStatusParams:{minerUser:"",coin:"",endDate:"",startDate:""},onlineStatusData:[{date:"2024-11-28T11:00:00",offlineNum:148,onlineNum:15},{date:"2025-06-27 17:00:00",offlineNum:110,onlineNum:156},{date:"2025-06-27 17:30:00",offlineNum:90,onlineNum:152},{date:"2025-06-27 18:00:00",offlineNum:70,onlineNum:152},{date:"2025-06-27 18:00:00",offlineNum:70,onlineNum:152},{date:"2025-06-27 18:00:00",offlineNum:70,onlineNum:152},{date:"2025-06-27 18:00:00",offlineNum:70,onlineNum:152}],lineChatTimes:[],option:{tooltip:{trigger:"axis",confine:!0},legend:{right:"8%"},grid:{left:"8%",right:"8%",top:"10%",bottom:"15%"},xAxis:{boundaryGap:!0,axisLabel:{interval:"auto",rotate:45,formatter:function(t){if(t.includes(" ")){const[e,a]=t.split(" "),[i,s,n]=e.split("-"),[r,o]=a.split(":");return`${s}-${n} ${r}:${o}`}return t}},data:[]},yAxis:[{type:"value",name:"GH/s",nameTextStyle:{padding:[0,0,0,-40]},axisLabel:{formatter:function(t){return t}}},{position:"right",show:!0,splitLine:{show:!1},nameTextStyle:{padding:[0,0,0,40]}}],dataZoom:[{type:"inside",start:50,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:50,end:100,height:20,bottom:0,showDetail:!1}],series:[{name:"Number of users online",type:"bar",data:[],yAxisIndex:1,itemStyle:{color:"#239342"},barWidth:"40%",barGap:"10%",barCategoryGap:"20%"},{name:"Number of offline users",type:"bar",itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)"},barWidth:"40%",barGap:"10%",barCategoryGap:"20%",data:[],yAxisIndex:1},{name:"User computing power",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},zlevel:1,z:1,data:[],yAxisIndex:0}]},lineChartLoading:!1,lineChartData:[{minerUser:"miner",pv:"8.00080",date:"2024-11-28T11:00:00",unit:"GH/s"},{minerUser:"miner",pv:"6.00060",date:"2024-11-28T11:30:00",unit:"GH/s"},{minerUser:"miner",pv:"0.05000",date:"2024-11-28T12:00:00",unit:"GH/s"},{minerUser:"miner",pv:"2.0000",date:"2024-11-28T12:30:00",unit:"GH/s"},{minerUser:"miner",pv:"0.3000",date:"2024-11-28T13:00:00",unit:"GH/s"},{minerUser:"miner",pv:"0.9000",date:"2024-11-28T13:30:00",unit:"GH/s"},{minerUser:"miner",pv:"15.0000",date:"2024-11-28T14:00:00",unit:"GH/s"}],chartShow:!0,tableData:[],historyBalance:[],mergeConfig:{}}},watch:{tableData:{handler(){this.calculateMergeConfig()},deep:!0}},mounted(){let t;try{t=JSON.parse(localStorage.getItem("token"))}catch(a){console.log(a)}t||this.$router.push({path:`/${lang}/login`});const e=this.$route.query||JSON.parse(localStorage.getItem("userDetailsParams"));this.lineChartParams.minerUser=e.minerUser,this.lineChartParams.coin=e.coin,this.onlineStatusParams.minerUser=e.minerUser,this.onlineStatusParams.coin=e.coin,this.userDetailsParams.coin=e.coin,this.userDetailsParams.minerUser=e.minerUser,this.userDetailsParams.coin&&this.userDetailsParams.minerUser&&(localStorage.setItem("userDetailsParams",JSON.stringify(e)),this.fetchUserDetails(this.userDetailsParams),this.fetchChartData())},methods:{extractDate(t){return t?t.split("T")[0]:""},inCharts(){null==this.myChart&&(this.myChart=n.init(document.getElementById("lineChart"))),this.option.series[0].name=this.$t("backendSystem.onlineUserNum"),this.option.series[1].name=this.$t("backendSystem.offlineUserNum"),this.option.series[2].name=this.$t("backendSystem.userPower"),this.myChart.setOption(this.option),this.myChart.on("finished",(()=>{console.log("图表渲染完成")})),window.addEventListener("resize",(0,r.throttle)((()=>{this.myChart&&this.myChart.resize()}),200))},async fetchUserDetails(t){this.setLoading("userDetailsLoading",!0);const e=await(0,s.getUserDetails)(t);console.log(e),e&&200==e.code&&(e.data?(this.userData=e.data,this.historyBalance=e.data.historyBalance,this.tableData=e.data.walletInInfo.sort(((t,e)=>new Date(e.createDate)-new Date(t.createDate))),this.noDataTip=!1):this.noDataTip=!0,this.$nextTick((()=>{this.calculateMergeConfig()}))),this.setLoading("userDetailsLoading",!1)},async fetchUserLineChart(t){const e=await(0,s.getUserLineChart)(t);console.log(e);let a=[],i=[];if(e&&200==e.code){if(!Array.isArray(e.data)||0===e.data.length||!e.data[0].unit)return void(this.chartShow=!1);this.chartShow=!0,this.lineChartData=e.data,this.lineChartData.forEach((t=>{t.date=t.date.split("T")[0]+" "+t.date.split("T")[1].split(".")[0],a.push(t.date),i.push(Number(t.pv).toFixed(6))})),this.option.xAxis.data=a,this.option.series[2].data=i,this.option.yAxis[0].name=this.lineChartData[0].unit}},async fetchUserOnlineStatus(t){const e=await(0,s.getUserOnlineStatus)(t);console.log(e);let a=[],i=[];if(e&&200==e.code){if(!Array.isArray(e.data)||0===e.data.length)return void(this.chartShow=!1);this.chartShow=!0,this.onlineStatusData=e.data,this.onlineStatusData.forEach((t=>{a.push(t.offlineNum),i.push(t.onlineNum)})),this.option.series[0].data=i,this.option.series[1].data=a}},async fetchChartData(){try{this.setLoading("lineChartLoading",!0),await Promise.all([this.fetchUserLineChart(this.lineChartParams),this.fetchUserOnlineStatus(this.onlineStatusParams)]),this.chartShow&&this.inCharts()}catch(t){console.error("获取图表数据失败:",t)}finally{this.setLoading("lineChartLoading",!1)}},goBack(){const t=this.$i18n.locale;this.$router.push({path:`/${t}/userManagement`})},handleLineChatTimesChange(t){console.log(t,"val"),t?(this.lineChartParams.startDate=t[0],this.lineChartParams.endDate=t[1],this.onlineStatusParams.startDate=t[0],this.onlineStatusParams.endDate=t[1],this.userDetailsParams.startDate=t[0],this.userDetailsParams.endDate=t[1]):(this.lineChartParams.startDate="",this.lineChartParams.endDate="",this.onlineStatusParams.startDate="",this.onlineStatusParams.endDate="",this.userDetailsParams.startDate="",this.userDetailsParams.endDate=""),this.fetchUserDetails(this.userDetailsParams),this.fetchChartData()},calculateMergeConfig(){const t={},e={};this.tableData.forEach(((e,a)=>{const i=this.extractDate(e.shouldOutDate);t[i]||(t[i]=[]),t[i].push(a)})),Object.values(t).forEach((t=>{if(t.length>1){e[t[0]]={shouldOutDate:t.length};for(let a=1;a{if(!e)return void a();const i=e.split(/[,,]/).map((t=>t.trim())).filter((t=>t)),s=/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$/;for(let r of i)if(!s.test(r))return void a(new Error(this.$t("backendSystem.pleaseInputCorrectEmail2")));const n=new Set;for(let r of i){const t=r.toLowerCase();if(n.has(t))return void a(new Error(this.$t("backendSystem.existDuplicateEmail")));n.add(t)}a()},trigger:["blur","change"]}]},dialogVisible:!1,senParams:{subject:"",text:"",to:""},sendEmailLoading:!1,total:0,pageSizes:[50,100,300],currentPage:1}},mounted(){let t;try{t=JSON.parse(localStorage.getItem("token"))}catch(e){console.log(e)}t||this.$router.push({path:`/${lang}/login`}),this.fetchUserList(this.userListParams),this.currencyList=JSON.parse(localStorage.getItem("currencyList")),window.addEventListener("setItem",(()=>{this.currencyList=JSON.parse(localStorage.getItem("currencyList"))})),this.changeScreen(this.screenCurrency)},methods:{async fetchUserList(t){this.setLoading("userManagementLoading",!0);const e=await(0,i.getUserList)(t);console.log(e,"data"),e&&200==e.code&&(this.tableData=e.rows,this.total=e.total),this.setLoading("userManagementLoading",!1)},async fetchSendEmail(t){this.setLoading("sendEmailLoading",!0);const e=await(0,i.sendMail)(t);if(e&&200==e.code){this.$message.success(this.$t("backendSystem.sendSuccess")),this.dialogVisible=!1;for(const t in this.senParams)this.senParams[t]=""}this.setLoading("sendEmailLoading",!1)},changeScreen(t){let e=t;for(let a in this.currencyList){let t=this.currencyList[a],i=t.value;e===i&&this.$refs.screen.$el.children[0].children[0].setAttribute("style","background:url("+t.imgUrl+") no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 33PX;")}localStorage.setItem("userManagement_selectedCurrency",t),this.userListParams.coin=t,this.fetchUserList(this.userListParams)},handelImg(t){return this.currencyList&&this.currencyList.length>0&&t&&this.currencyList.find((e=>e.value===t))?.imgUrl||""},handelQuery(){this.$refs.formRef.validate((t=>{if(t){for(let t in this.userListParams)"string"===typeof this.userListParams[t]&&(this.userListParams[t]=this.userListParams[t].trim());if(!this.userListParams.minerUser&&!this.userListParams.user)return void this.$message.error(this.$t("backendSystem.pleaseInputQueryConditions"));this.fetchUserList(this.userListParams)}}))},sendEmail(t){this.dialogVisible=!0,this.senParams.to=t.user},handleInputClear(){this.fetchUserList(this.userListParams)},handleClose(){this.dialogVisible=!1},handleInput(t,e){},sureSendEmail(){console.log(this.senParams,"this.senParams"),this.$refs.formRef.validate((t=>{t&&this.fetchSendEmail(this.senParams)}))},handleDetails(t){console.log(t,"row");const e=this.$i18n.locale;this.$router.push({path:`/${e}/userDetails`,query:{coin:t.coin,minerUser:t.minerUser,user:t.user}}).catch((t=>{"NavigationDuplicated"!==t.name&&console.error("路由跳转失败:",t)}));let a={coin:t.coin,minerUser:t.minerUser,user:t.user};localStorage.setItem("userDetailsParams",JSON.stringify(a))},handleSizeChange(t){console.log(`每页 ${t} 条`),this.userListParams.pageSize=t,this.userListParams.pageNum=1,this.currentPage=1,this.fetchUserList(this.userListParams)},handleCurrentChange(t){console.log(`当前页: ${t}`),this.userListParams.pageNum=t,this.fetchUserList(this.userListParams)}}}},2835:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.userDetailsLoading,expression:"userDetailsLoading"}]},[e("div",{staticClass:"main-title"},[t._v(" "+t._s(t.$t("backendSystem.userDetails"))+" "),e("span",{staticStyle:{color:"#409eff",cursor:"pointer","font-size":"16px","margin-left":"10px"},on:{click:t.goBack}},[t._v(t._s(t.$t("backendSystem.return")))])]),e("section",{staticClass:"user-details-box"},[e("div",{staticClass:"time-box"},[e("el-date-picker",{staticStyle:{"margin-bottom":"18px"},attrs:{type:"daterange","range-separator":t.$t("backendSystem.to"),"start-placeholder":t.$t("backendSystem.startDate"),"end-placeholder":t.$t("backendSystem.endDate"),"value-format":"yyyy-MM-dd HH:mm:ss",size:"small"},on:{change:t.handleLineChatTimesChange},model:{value:t.lineChatTimes,callback:function(e){t.lineChatTimes=e},expression:"lineChatTimes"}}),e("div",[t._v(t._s(t.$t("backendSystem.walletBalance"))+":"+t._s(t.userData.accountBalance||0))])],1),e("el-table",{attrs:{data:t.tableData,border:"","span-method":t.handleSpanMethod,"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},height:"42vh"}},[e("el-table-column",{attrs:{prop:"shouldOutDate",label:t.$t("backendSystem.shouldOutDate"),width:"180",resizable:!1,"show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(t.handelTime(a.row.shouldOutDate)))])]}}])}),e("el-table-column",{attrs:{prop:"allocationAmount",label:t.$t("backendSystem.allocationAmount"),resizable:!1,width:"200","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"transferAmount",label:t.$t("backendSystem.transferAmount"),resizable:!1,width:"200","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"address",label:t.$t("backendSystem.address"),resizable:!1,"show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"maxHeight",label:t.$t("backendSystem.maxHeight"),resizable:!1,width:"180","show-overflow-tooltip":""}})],1),e("section",{staticClass:"chartBox"},[e("div",{staticClass:"lineChartBox"},[e("div",{staticClass:"lineChartBox-header"},[e("div",{staticClass:"lineChartBox-title"},[t._v(t._s(t.$t("backendSystem.chartTitle")))])]),e("div",{staticClass:"lineChartBox-content",staticStyle:{width:"100%",height:"500px","margin-top":"35px"}},[t.chartShow?e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.lineChartLoading,expression:"lineChartLoading"}],staticStyle:{width:"100%",height:"100%"},attrs:{id:"lineChart"}}):e("div",{staticStyle:{"text-align":"center","margin-top":"200px",color:"#ccc"}},[t._v(t._s(t.$t("backendSystem.noData")))])])])]),e("el-row",[e("el-col",{attrs:{span:24}},[e("div",{staticStyle:{width:"100%","max-height":"300px","overflow-y":"auto"}},[e("h3",{staticStyle:{"margin-bottom":"20px"}},[t._v(t._s(t.$t("backendSystem.historyAddress")))]),t._l(t.historyBalance,(function(a){return e("p",{key:a.balance,staticClass:"history-balance-item"},[t._v(" "+t._s(a.balance)+" ")])}))],2)])],1)],1)])},e.Yp=[]},2981:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var s=i(a(66044));e.A={name:"SplitEditorDemo",components:{SplitScreenEditor:s.default},data(){return{documentForm:{title:"分屏编辑器演示文档",type:"2",content:this.getDefaultContent(),status:"draft"},saveLoading:!1,showGuide:!0,editorOptions:{height:500,menubar:!1,plugins:["advlist","autolink","lists","link","image","charmap","preview","anchor","searchreplace","visualblocks","code","fullscreen","insertdatetime","media","table","help","wordcount"],toolbar:["undo redo | formatselect | bold italic underline strikethrough","forecolor backcolor | alignleft aligncenter alignright alignjustify","bullist numlist outdent indent | link image table","code preview fullscreen | removeformat help"].join(" | "),content_style:"\n body { \n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; \n font-size: 14px; \n line-height: 1.6;\n color: #2c3e50;\n margin: 16px;\n }\n p { margin: 10px 0; }\n ul, ol { margin: 10px 0; padding-left: 24px; }\n li { margin: 6px 0; line-height: 1.6; }\n h1, h2, h3 { color: #2c3e50; margin: 16px 0 8px 0; }\n table { border-collapse: collapse; width: 100%; margin: 12px 0; }\n table th, table td { border: 1px solid #ddd; padding: 8px; text-align: left; }\n table th { background-color: #f2f2f2; font-weight: 600; }\n code { background: #f4f4f4; padding: 2px 4px; border-radius: 3px; }\n pre { background: #f8f8f8; padding: 12px; border-radius: 4px; overflow-x: auto; }\n ",placeholder:"请在此输入您的内容,支持富文本格式...",language:"zh_CN",branding:!1,resize:!1,statusbar:!0}}},methods:{getDefaultContent(){return'

ALEO挖矿说明

\n\n

根据ALEO ARC-46协议,ALEO挖矿机制将在2025年08月01日00:00 UTC进行如下升级,升级完成后您的ALEO挖矿可能会受到影响,请您知悉:

\n\n
    \n
  1. ALEO挖矿将转变为"PoS+PoW"混合机制。
  2. \n
\n\n\n\n

重要提醒

\n\n

请及时了解新的挖矿机制要求,做好相应准备。如有疑问,请联系客服获取帮助。

\n\n

技术规格表

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
参数当前值升级后说明
共识机制PoWPoS+PoW混合共识
质押要求必需需要质押ALEO代币
算力证明直接提交需要质押先质押后挖矿
\n\n

注:以上信息仅供参考,具体实施以官方公告为准。

'},handleContentChange(t){console.log("编辑器内容已更改:",t.length,"字符"),this.autoSave()},autoSave(){clearTimeout(this.autoSaveTimer),this.autoSaveTimer=setTimeout((()=>{this.saveToDraft()}),2e3)},saveToDraft(){const t={...this.documentForm,lastSaved:(new Date).toISOString()};localStorage.setItem("split_editor_draft",JSON.stringify(t)),console.log("内容已自动保存到本地")},loadDraft(){const t=localStorage.getItem("split_editor_draft");if(t)try{const e=JSON.parse(t),a=(new Date).getTime()-new Date(e.lastSaved).getTime();a<864e5&&(this.documentForm={...this.documentForm,...e},this.$message({message:`已恢复草稿 (${new Date(e.lastSaved).toLocaleString()})`,type:"success",duration:3e3}))}catch(e){console.error("加载草稿失败:",e)}},async handleSave(){if(this.documentForm.title.trim())if(this.documentForm.content.trim()){this.saveLoading=!0;try{await new Promise((t=>setTimeout(t,1e3))),this.$message.success("文档保存成功"),this.documentForm.status="published",localStorage.removeItem("split_editor_draft")}catch(t){console.error("保存失败:",t),this.$message.error("保存失败: "+(t.message||"未知错误"))}finally{this.saveLoading=!1}}else this.$message.warning("请输入文档内容");else this.$message.warning("请输入文档标题")},handleClear(){this.$confirm("确定要清空所有内容吗?此操作不可恢复。","确认清空",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{this.documentForm.content="",this.documentForm.title="",this.$refs.splitEditor.clear(),localStorage.removeItem("split_editor_draft"),this.$message.success("内容已清空")})).catch((()=>{}))},handlePublish(t){console.log("编辑器发布数据:",t),t.success?(console.log("文档发布成功:",{documentId:t.documentId,title:t.title,wordCount:t.wordCount}),this.documentForm.title=t.title,this.documentForm.content=t.content,this.documentForm.status="published",this.clearDraft(),this.$notify({title:"✅ 发布成功",message:`文档 "${t.title}" 已成功发布到文档管理系统\n文档ID: ${t.documentId}\n字数: ${t.wordCount} 字`,type:"success",duration:5e3})):(console.error("文档发布失败:",t.error),this.$notify({title:"❌ 发布失败",message:`发布失败:${t.error}`,type:"error",duration:4e3}))}},mounted(){this.loadDraft()},beforeDestroy(){this.autoSaveTimer&&clearTimeout(this.autoSaveTimer)}}},6548:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(47277),s=a(75410),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"039b6c20",null),l=o.exports},8579:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var s=i(a(65681)),n=i(a(45438));e.A={components:{Tooltip:n.default},mixins:[s.default]}},11685:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.orderDetailsLoading,expression:"orderDetailsLoading"}],staticClass:"main"},[t.$isMobile?e("section",{staticClass:"MobileMain"},[e("h4",[t._v(t._s(t.$t("work.WKDetails")))]),e("div",{staticClass:"contentMobile"},[e("el-row",[e("el-col",{attrs:{xs:24,sm:10,md:10,lg:12,xl:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.WorkID"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.id))])])]),e("el-col",{attrs:{xs:24,sm:10,md:10,lg:10,xl:10}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(t._s(t.$t("work.mailbox"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.email))])])])],1),e("el-row",[e("el-col",{attrs:{xs:24,sm:10,md:10,lg:10,xl:10}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.status"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.$t(t.handelStatus2(t.ticketDetails.status))))])])])],1),e("el-row",{staticStyle:{"margin-top":"30px !important"}},[e("el-col",[e("h5",[t._v(t._s(t.$t("work.describe"))+":")]),e("div",{staticStyle:{border:"1px solid rgba(0, 0, 0, 0.1)",padding:"20px 10px","word-wrap":"break-word","overflow-wrap":"break-word","max-height":"200px","margin-top":"18px","overflow-y":"auto","border-radius":"5px"}},[t._v(" "+t._s(t.ticketDetails.desc)+" ")])])],1),e("h5",{staticStyle:{"margin-top":"30px"}},[t._v(t._s(t.$t("work.record"))+":")]),e("div",{staticClass:"submitContent"},[e("el-row",{staticStyle:{margin:"0"}},t._l(t.recordList,(function(a){return e("div",{key:a.time,staticStyle:{"margin-top":"20px"}},[e("div",{staticClass:"submitTitle"},[e("div",{staticClass:"userName"},[t._v(t._s(a.name))]),e("div",{staticClass:"time"},[t._v(" "+t._s(t.handelTime(a.time)))])]),e("div",{attrs:{id:"contentBox"}},[t._v(" "+t._s(a.content)+" ")]),e("span",{directives:[{name:"show",rawName:"v-show",value:a.files,expression:"item.files"}],staticClass:"downloadBox",on:{click:function(e){return t.handelDownload(a.files)}}},[t._v(t._s(t.$t("work.downloadFile")))])])})),0)],1),"10"!==t.ticketDetails.status?e("section",{staticStyle:{"margin-top":"30px"}},[e("div",[e("el-row",[e("el-col",[e("h5",{staticStyle:{"margin-bottom":"18px"}},[t._v(t._s(t.$t("work.continue"))+":")]),e("el-input",{attrs:{type:"textarea",placeholder:t.$t("work.input"),resize:"none",autosize:{minRows:2,maxRows:6},maxlength:"250","show-word-limit":""},model:{value:t.replyParams.desc,callback:function(e){t.$set(t.replyParams,"desc",e)},expression:"replyParams.desc"}})],1)],1),e("el-form",[e("el-form-item",{staticStyle:{width:"100%"}},[e("div",{staticStyle:{width:"100%"}},[t._v(t._s(t.$t("work.enclosure")))]),e("div",{staticClass:"prompt"},[t._v(" "+t._s(t.$t("work.fileType"))+":jpg, jpeg, png, mp3, aif, aiff, wav, wma, mp4, avi, rmvb ")]),e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{drag:"",action:"",multiple:"",limit:t.fileLimit,"on-exceed":t.handleExceed,"on-remove":t.handleRemove,"file-list":t.fileList,"on-change":t.handelChange,"show-file-list":"","auto-upload":!1}},[e("i",{staticClass:"el-icon-upload"}),e("div",{staticClass:"el-upload__text"},[t._v(" "+t._s(t.$t("work.fileCharacters"))),e("em",[t._v(" "+t._s(t.$t("work.fileCharacters2")))])])])],1),e("el-button",{staticClass:"elBtn",staticStyle:{"border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelResubmit}},[t._v(" "+t._s(t.$t("work.submit2")))]),e("el-button",{staticClass:"elBtn",staticStyle:{"border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelEnd}},[t._v(" "+t._s(t.$t("work.endWork")))])],1)],1)]):t._e(),e("el-dialog",{attrs:{title:t.$t("work.Tips"),visible:t.closeDialogVisible,width:"70%"},on:{"update:visible":function(e){t.closeDialogVisible=e}}},[e("span",[t._v(t._s(t.$t("work.confirmClose")))]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{staticStyle:{"border-radius":"20px"},on:{click:function(e){t.closeDialogVisible=!1}}},[t._v(t._s(t.$t("work.cancel")))]),e("el-button",{staticClass:"elBtn",staticStyle:{border:"none","border-radius":"20px"},attrs:{type:"primary",loading:t.orderDetailsLoading},on:{click:t.confirmCols}},[t._v(t._s(t.$t("work.confirm")))])],1)])],1)]):e("div",{staticClass:"content"},[e("el-row",{attrs:{type:"flex",justify:"end"}},[e("el-col",{staticClass:"orderDetails"},[e("h3",[t._v(t._s(t.$t("work.WKDetails")))]),e("el-row",[e("el-col",{attrs:{span:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.WorkID"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.id))])])]),e("el-col",{attrs:{span:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(t._s(t.$t("work.mailbox"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.email))])])])],1),e("el-row",[e("el-col",{attrs:{span:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.status"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.$t(t.handelStatus2(t.ticketDetails.status))))])])])],1)],1)],1),e("el-row",[e("el-col",[e("h4",[t._v(" "+t._s(t.$t("work.describe"))+":")]),e("p",{staticStyle:{border:"1px solid rgba(0, 0, 0, 0.1)",padding:"20px 10px","max-height":"200px","min-height":"100px","margin-top":"18px","word-wrap":"break-word","overflow-wrap":"break-word","overflow-y":"auto","border-radius":"5px"}},[t._v(" "+t._s(t.ticketDetails.desc)+" ")])])],1),e("h4",[t._v(t._s(t.$t("work.record"))+":")]),e("div",{staticClass:"submitContent"},[e("el-row",{staticStyle:{margin:"0"}},t._l(t.recordList,(function(a){return e("div",{key:a.time,staticStyle:{"margin-top":"20px"}},[e("div",{staticClass:"submitTitle"},[e("span",[t._v(t._s(t.$t("work.user1"))+":"+t._s(a.name))]),e("span",[t._v(" "+t._s(t.$t("work.time4"))+":"+t._s(t.handelTime(a.time)))])]),e("div",{staticClass:"contentBox"},[e("span",{staticStyle:{display:"inline-block",width:"100%","word-wrap":"break-word","overflow-wrap":"break-word","max-height":"200px","overflow-y":"auto"}},[t._v(t._s(a.content))])]),e("span",{directives:[{name:"show",rawName:"v-show",value:a.files,expression:"item.files"}],staticClass:"downloadBox",on:{click:function(e){return t.handelDownload(a.files)}}},[t._v(t._s(t.$t("work.downloadFile")))])])})),0)],1),"10"!==t.ticketDetails.status?e("section",[e("div",[e("el-row",[e("el-col",[e("h4",{staticStyle:{"margin-bottom":"18px"}},[t._v(t._s(t.$t("work.continue"))+":")]),e("el-input",{attrs:{type:"textarea",placeholder:t.$t("work.input"),resize:"none",autosize:{minRows:2,maxRows:6},maxlength:"250","show-word-limit":""},model:{value:t.replyParams.desc,callback:function(e){t.$set(t.replyParams,"desc",e)},expression:"replyParams.desc"}})],1)],1),e("el-form",[e("el-form-item",{staticStyle:{width:"50%"}},[e("div",{staticStyle:{width:"100%"}},[t._v(t._s(t.$t("work.enclosure")))]),e("p",{staticClass:"prompt"},[t._v(" "+t._s(t.$t("work.fileType"))+":jpg, jpeg, png, mp3, aif, aiff, wav, wma, mp4, avi, rmvb ")]),e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{drag:"",action:"",multiple:"",limit:t.fileLimit,"on-exceed":t.handleExceed,"on-remove":t.handleRemove,"file-list":t.fileList,"on-change":t.handelChange,"show-file-list":"","auto-upload":!1}},[e("i",{staticClass:"el-icon-upload"}),e("div",{staticClass:"el-upload__text"},[t._v(" "+t._s(t.$t("work.fileCharacters"))),e("em",[t._v(" "+t._s(t.$t("work.fileCharacters2")))])])])],1),e("el-button",{staticClass:"elBtn",staticStyle:{width:"200px","border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelResubmit}},[t._v(" "+t._s(t.$t("work.submit2")))]),e("el-button",{staticClass:"elBtn",staticStyle:{width:"200px","border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelEnd}},[t._v(" "+t._s(t.$t("work.endWork")))])],1)],1)]):t._e(),e("el-dialog",{attrs:{title:t.$t("work.Tips"),visible:t.closeDialogVisible,width:"30%"},on:{"update:visible":function(e){t.closeDialogVisible=e}}},[e("span",[t._v(t._s(t.$t("work.confirmClose")))]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{staticStyle:{"border-radius":"20px"},on:{click:function(e){t.closeDialogVisible=!1}}},[t._v(t._s(t.$t("work.cancel")))]),e("el-button",{staticClass:"elBtn",staticStyle:{border:"none","border-radius":"20px"},attrs:{type:"primary",loading:t.orderDetailsLoading},on:{click:t.confirmCols}},[t._v(t._s(t.$t("work.confirm")))])],1)])],1)])},e.Yp=[]},13537:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(2835),s=a(40110),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"21797be4",null),l=o.exports},17609:function(t,e,a){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var i=a(1652);e["default"]={data(){return{rateList:[{value:"nexa",label:"nexa",img:`${this.$baseApi}img/nexa.png`,rate:"1%",address:"",mode:"PPLNS+PROPDIF",quota:"10000"},{value:"grs",label:"grs",img:`${this.$baseApi}img/grs.svg`,rate:"1%",address:"",mode:"PPLNS+PROPDIF",quota:"1"},{value:"mona",label:"mona",img:`${this.$baseApi}img/mona.svg`,rate:"1%",address:"",mode:"PPLNS+PROPDIF",quota:"1"},{value:"dgbs",label:"dgb(skein)",img:`${this.$baseApi}img/dgb.svg`,rate:"1%",address:"",mode:"PPLNS+PROPDIF",quota:"1"},{value:"dgbq",label:"dgb(qubit)",img:`${this.$baseApi}img/dgb.svg`,rate:"1%",address:"",mode:"PPLNS+PROPDIF",quota:"1"},{value:"dgbo",label:"dgb(odocrypt)",img:`${this.$baseApi}img/dgb.svg`,rate:"1%",address:"",mode:"PPLNS+PROPDIF",quota:"1"},{value:"rxd",label:"radiant",img:`${this.$baseApi}img/rxd.png`,rate:"1%",address:"",mode:"PPLNS+PROPDIF",quota:"100"},{value:"alph",label:"alephium(alph)",img:`${this.$baseApi}img/alph.svg`,rate:"1%",address:"",mode:"PPLNS+PROPDIF",quota:"1"}],DetailsParams:{lang:this.$i18n.locale,childType:2,id:""},info:"",rateLoading:!1,listParams:{lang:this.$i18n.locale,pageNum:1,pageSize:50,childType:2},navList:[],contentShow:!1}},mounted(){this.fetchAllList(this.listParams)},methods:{async fetchAllList(t){this.setLoading("rateLoading",!0);const e=await(0,i.documentsList)(t);console.log(e,"res"),e&&200===e.code&&(this.navList=e.rows,this.$route.query.id?this.DetailsParams.id=this.$route.query.id:this.DetailsParams.id=e.rows[0].id,this.DetailsParams.id&&this.fetchProblemDetails(this.DetailsParams))},async fetchProblemDetails(t){this.setLoading("rateLoading",!0);const e=await(0,i.findDataInfo)(t);e&&200===e.code&&(this.info=e.data.content||"",this.contentShow=!0),this.setLoading("rateLoading",!1)},backMenu(){this.contentShow=!1},clickJump(t){this.DetailsParams.id=t.id,this.fetchProblemDetails(this.DetailsParams)}}}},17835:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(28141),s=a(42251),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"3888a882",null),l=o.exports},18311:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(83443),s=a(83240),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"10849caa",null),l=o.exports},18492:function(t,e,a){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"loginPage"},[t.$isMobile?e("section",{staticClass:"mobileMain"},[e("header",{staticClass:"headerBox"},[e("img",{attrs:{src:a(87596),alt:"logo"},on:{click:function(e){return t.handelJump("/")}}}),e("span",{staticClass:"title"},[t._v(t._s(t.$t("user.resetPassword")))]),e("span")]),t._m(0),e("section",{staticClass:"formInput"},[e("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.loginForm,"status-icon":"",rules:t.loginRules}},[e("el-form-item",{attrs:{prop:"email"}},[e("el-input",{attrs:{"prefix-icon":"el-icon-user",autocomplete:"off",placeholder:t.$t("user.Account")},model:{value:t.loginForm.email,callback:function(e){t.$set(t.loginForm,"email",e)},expression:"loginForm.email"}})],1),e("el-form-item",{attrs:{prop:"resetPwdCode"}},[e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"text","prefix-icon":"el-icon-chat-line-square",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.loginForm.resetPwdCode,callback:function(e){t.$set(t.loginForm,"resetPwdCode",e)},expression:"loginForm.resetPwdCode"}}),e("el-button",{staticClass:"codeBtn",attrs:{loading:t.securityLoading,disabled:t.btnDisabled},on:{click:t.handelCode}},[t.countDownTime<60&&t.countDownTime>0?e("span",[t._v(t._s(t.countDownTime))]):t._e(),t._v(t._s(t.$t(t.bthText)))])],1)]),e("el-form-item",{attrs:{prop:"password"}},[e("el-input",{attrs:{type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",showPassword:"",placeholder:t.$t("user.password")},model:{value:t.loginForm.password,callback:function(e){t.$set(t.loginForm,"password",e)},expression:"loginForm.password"}}),e("p",{staticClass:"remind",attrs:{title:t.$t("user.passwordPrompt")}},[t._v(" "+t._s(t.$t("user.passwordPrompt"))+" ")])],1),e("el-form-item",{attrs:{prop:"newPassword"}},[e("el-input",{attrs:{type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",showPassword:"",placeholder:t.$t("user.newPassword")},model:{value:t.loginForm.newPassword,callback:function(e){t.$set(t.loginForm,"newPassword",e)},expression:"loginForm.newPassword"}})],1),e("div",{staticClass:"registerBox"},[e("span",{staticStyle:{color:"#661fff"},on:{click:function(e){return t.handelJump("login")}}},[t._v(t._s(t.$t("user.returnToLogin")))])]),e("el-form-item",[e("el-button",{staticStyle:{width:"100%",background:"#661fff",color:"aliceblue","margin-top":"6%"},attrs:{loading:t.loginLoading},on:{click:function(e){return t.submitForm("ruleForm")}}},[t._v(t._s(t.$t("user.changePassword")))]),e("div",{staticStyle:{"text-align":"left"}},[e("el-radio",{attrs:{label:"zh"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("简体中文")]),e("el-radio",{attrs:{label:"en"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("English")])],1)],1)],1)],1)]):e("section",{staticClass:"loginModular"},[e("div",{staticClass:"leftBox"},[e("img",{staticClass:"logo",attrs:{src:a(79613),alt:"logo"},on:{click:t.handleClick}}),e("img",{attrs:{src:a(58455),alt:"reset password"}})]),e("div",{staticClass:"loginBox"},[e("div",{staticClass:"closeBox",on:{click:t.handleClick}},[e("i",{staticClass:"iconfont icon-guanbi1 close"})]),e("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.loginForm,"status-icon":"",rules:t.loginRules}},[e("el-form-item",[e("p",{staticClass:"loginTitle"},[t._v(t._s(t.$t("user.resetPassword")))])]),e("el-form-item",{attrs:{prop:"email"}},[e("el-input",{attrs:{"prefix-icon":"el-icon-user",autocomplete:"off",placeholder:t.$t("user.Account")},model:{value:t.loginForm.email,callback:function(e){t.$set(t.loginForm,"email",e)},expression:"loginForm.email"}})],1),e("el-form-item",{attrs:{prop:"resetPwdCode"}},[e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"text","prefix-icon":"el-icon-chat-line-square",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.loginForm.resetPwdCode,callback:function(e){t.$set(t.loginForm,"resetPwdCode",e)},expression:"loginForm.resetPwdCode"}}),e("el-button",{staticClass:"codeBtn",attrs:{loading:t.securityLoading,disabled:t.btnDisabled},on:{click:t.handelCode}},[t.countDownTime<60&&t.countDownTime>0?e("span",[t._v(t._s(t.countDownTime))]):t._e(),t._v(t._s(t.$t(t.bthText)))])],1)]),e("el-form-item",{attrs:{prop:"password"}},[e("el-input",{attrs:{type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",showPassword:"",placeholder:t.$t("user.password")},model:{value:t.loginForm.password,callback:function(e){t.$set(t.loginForm,"password",e)},expression:"loginForm.password"}}),e("p",{staticClass:"remind",attrs:{title:t.$t("user.passwordPrompt")}},[t._v(" "+t._s(t.$t("user.passwordPrompt"))+" ")])],1),e("el-form-item",{attrs:{prop:"newPassword"}},[e("el-input",{attrs:{type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",showPassword:"",placeholder:t.$t("user.newPassword")},model:{value:t.loginForm.newPassword,callback:function(e){t.$set(t.loginForm,"newPassword",e)},expression:"loginForm.newPassword"}})],1),e("div",{staticClass:"registerBox"},[e("span",{on:{click:function(e){return t.handelJump("login")}}},[t._v(t._s(t.$t("user.returnToLogin")))])]),e("el-form-item",[e("el-button",{staticStyle:{width:"100%",background:"#661fff",color:"aliceblue","margin-top":"6%"},attrs:{loading:t.loginLoading},on:{click:function(e){return t.submitForm("ruleForm")}}},[t._v(t._s(t.$t("user.changePassword")))]),e("div",{staticStyle:{"text-align":"left"}},[e("el-radio",{attrs:{label:"zh"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("简体中文")]),e("el-radio",{attrs:{label:"en"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("English")])],1)],1)],1)],1)])])},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"imgTop"},[e("img",{attrs:{src:a(6006),alt:"reset password",loading:"lazy"}})])}]},20155:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;i(a(86425));var s=i(a(69437));e.A={mixins:[s.default],mounted(){},methods:{}}},21440:function(t,e,a){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,a(44114),a(18111),a(20116);var i=a(11503);e["default"]={data(){return{from2:[],from0:[],from1:[],params:{status:1},PrivateConsume:!1,activeName:"pending",WKRecordsLoading:!1,value1:"",labelPosition:"top",currentPage:1,msg:"",dialogVisible:!1,rowId:"",faultList:[],typeList:[],statusList:[{value:1,label:"work.pendingProcessing"},{value:2,label:"work.processed"},{value:10,label:"work.completeWK"}]}},mounted(){switch(localStorage.setItem("stateList",JSON.stringify(this.statusList)),this.activeName=sessionStorage.getItem("ActiveName"),this.activeName||(this.activeName="pending"),this.activeName){case"pending":this.params.status=1,this.fetchPrivateConsume1(this.params),this.registerRecoveryMethod("fetchPrivateConsume1",this.params);break;case"success":this.params.status=2,this.fetchPrivateConsume2(this.params),this.registerRecoveryMethod("fetchPrivateConsume2",this.params);break;case"reply":this.params.status=0,this.fetchPrivateConsume0(this.params),this.registerRecoveryMethod("fetchPrivateConsume0",this.params);break;default:break}},methods:{async fetchPrivateConsume1(t){this.WKRecordsLoading=!0;const e=await(0,i.getPrivateTicket)(t);e&&200==e.code&&(this.from1=e.data),this.WKRecordsLoading=!1},async fetchPrivateConsume0(t){this.WKRecordsLoading=!0;const e=await(0,i.getPrivateTicket)(t);e&&200==e.code&&(this.from0=e.data),this.WKRecordsLoading=!1},async fetchPrivateConsume2(t){this.WKRecordsLoading=!0;const e=await(0,i.getPrivateTicket)(t);e&&200==e.code&&(this.from2=e.data),this.WKRecordsLoading=!1},async fetchTicketPayment(t){const{data:e}=await getTicketPayment(t);e.url&&(window.location.href=e.url)},handelType2(t){if(this.typeList&&t){const e=this.typeList.find((e=>e.name==t));if(e)return e.label}return""},handelStatus2(t){if(this.statusList&&t){const e=this.statusList.find((e=>e.value==t));if(e)return this.$t(e.label)}return""},handelPhenomenon(t){if(t)return this.faultList.find((e=>e.id==t)).label},handelDetails(t){const e=this.$i18n.locale;this.$router.push({path:`/${e}/UserWorkDetails`,query:{workID:t.id}}).catch((t=>{"NavigationDuplicated"!==t.name&&console.error("路由跳转失败:",t)})),localStorage.setItem("workOrderId",t.id)},async fetchendTicket(t){this.WKRecordsLoading=!0;let e=await getEndTicket(t);e&&200==e.code&&(this.$message({message:this.$t("user.closeWK"),type:"success"}),this.dialogVisible=!1,this.params.status=0,this.fetchPrivateConsume0(this.params),this.params.status=1,this.fetchPrivateConsume1(this.params),this.params.status=2,this.fetchPrivateConsume2(this.params)),this.WKRecordsLoading=!1},handelTime(t){if(t)return`${t.split("T")[0]} ${t.split("T")[1].split(".")[0]}`},handleClick(){switch(this.activeName){case"pending":this.params.status=1,this.fetchPrivateConsume1(this.params);break;case"success":this.params.status=2,this.fetchPrivateConsume2(this.params);break;case"reply":this.params.status=0,this.fetchPrivateConsume0(this.params);break;default:break}sessionStorage.setItem("ActiveName",this.activeName)},determineInformation(){this.fetchendTicket({id:this.rowId})}}}},23537:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(54646),s=a(36838),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"eda2be10",null),l=o.exports},25225:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(84419),s=a(198),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"19141cf8",null),l=o.exports},25422:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(18492),s=a(89413),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"5cb463fb",null),l=o.exports},28141:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"rate"},[t.$isMobile?e("section",{staticClass:"rateMobile"},[t.contentShow?e("section",{staticClass:"rightText"},[e("p",{staticClass:"backMenu",on:{click:t.backMenu}},[t._v(t._s(t.$t("apiFile.backMenu")||"返回目录")+" ")]),e("section",{staticClass:"rightContent"},[t.rateLoading?e("div",{staticClass:"loading-container"},[e("span",{staticClass:"loading-text"},[t._v(t._s(t.$t("home.loadingContent")||"正在加载内容..."))])]):t.info&&t.info.trim()?e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.info)}}):e("div",{staticClass:"no-content"},[e("p",[t._v(t._s(t.$t("home.noContent")||"暂无内容"))])])])]):e("section",{directives:[{name:"loading",rawName:"v-loading",value:t.rateLoading,expression:"rateLoading"}],staticClass:"leftMenu"},[e("ul",t._l(t.navList,(function(a){return e("li",{key:a.id,class:{navActive:String(a.id)===String(t.DetailsParams.id)},on:{click:function(e){return t.clickJump(a)}}},[t._v(" "+t._s(a.title)+" ")])})),0)])]):e("section",{staticClass:"rateBox"},[e("section",{staticClass:"leftMenu"},[e("ul",t._l(t.navList,(function(a){return e("li",{key:a.id,class:{navActive:String(a.id)===String(t.DetailsParams.id)},on:{click:function(e){return t.clickJump(a)}}},[t._v(" "+t._s(a.title)+" ")])})),0)]),e("section",{staticClass:"rightText"},[e("section",{staticClass:"rightContent"},[t.rateLoading?e("div",{staticClass:"loading-container"},[e("span",{staticClass:"loading-text"},[t._v(t._s(t.$t("home.loadingContent")||"正在加载内容..."))])]):t.info&&t.info.trim()?e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.info)}}):e("div",{staticClass:"no-content"},[e("p",[t._v(t._s(t.$t("home.noContent")||"暂无内容"))])])])])])])},e.Yp=[]},29028:function(t,e,a){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"jurisdictionPage"},[t.$isMobile?e("section",{directives:[{name:"loading",rawName:"v-loading",value:t.jurisdictionLoading,expression:"jurisdictionLoading"}],attrs:{"element-loading-text":t.loadingText}},[e("div",{staticClass:"accountInformation"},[e("img",{attrs:{src:t.jurisdiction.img,alt:"coin",loading:"lazy"}}),e("span",{staticClass:"coin"},[t._v(t._s(t.jurisdiction.coin)+" ")]),e("i",{staticClass:"iconfont icon-youjiantou"}),e("span",{staticClass:"ma"},[t._v(" "+t._s(t.jurisdiction.account))])]),e("div",{staticClass:"profitTop"},[e("div",{staticClass:"box"},[e("span",[t._v(t._s(t.$t("mining.totalRevenue"))+" "),e("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.totalRevenueTips")}},[e("img",{attrs:{src:a(3832),alt:"profit",loading:"lazy"}})])]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.totalProfit))])]),e("div",{staticClass:"box"},[e("span",[t._v(t._s(t.$t("mining.totalExpenditure"))+" "),e("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.totalExpenditureTips")}},[e("img",{attrs:{src:a(3832),alt:"profit",loading:"lazy"}})])]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.expend))])]),e("div",{staticClass:"box"},[e("span",[t._v(t._s(t.$t("mining.yesterdaySEarnings"))+" "),e("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.yesterdaySEarningsTips")}},[e("img",{attrs:{src:a(3832),alt:"profit",loading:"lazy"}})])]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.preProfit))])]),e("div",{staticClass:"box"},[e("span",[t._v(t._s(t.$t("mining.diggedToday"))+" "),e("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.diggedTodayTips")}},[e("img",{attrs:{src:a(3832),alt:"profit",loading:"lazy"}})])]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.todayPorfit))])]),e("div",{staticClass:"accountBalance"},[e("div",{staticClass:"box2"},[e("span",{staticClass:"paymentSettings"},[t._v(t._s(t.$t("mining.accountBalance"))+" "),e("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.balanceReminder")}},[e("img",{attrs:{src:a(3832),alt:"profit",loading:"lazy"}})])]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.balance))])])])]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.powerChartLoading,expression:"powerChartLoading"}],staticClass:"profitBtm2"},[e("div",{staticClass:"right"},[e("div",{staticClass:"intervalBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("mining.algorithmicDiagram")))]),e("div",{staticClass:"times"},t._l(t.intervalList,(function(a){return e("span",{key:a.value,class:{timeActive:t.timeActive==a.value},on:{click:function(e){return t.handleInterval(a.value)}}},[t._v(t._s(t.$t(a.label)))])})),0)]),e("div",{staticStyle:{width:"100%",height:"100%",padding:"0"},attrs:{id:"powerChart"}})])]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.barChartLoading,expression:"barChartLoading"}],staticClass:"barBox"},[e("div",{staticClass:"lineBOX"},[e("div",{staticClass:"intervalBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("mining.computingPower")))]),e("div",{staticClass:"timesBox"},[e("div",{staticClass:"times2"},t._l(t.AccountPowerDistributionintervalList,(function(a){return e("span",{key:a.value,class:{timeActive:t.barActive==a.value},on:{click:function(e){return t.distributionInterval(a.value)}}},[t._v(t._s(t.$t(a.label)))])})),0)])]),e("div",{staticStyle:{width:"100%",height:"90%",padding:"0"},attrs:{id:"barChart"}})])]),e("div",{staticClass:"searchBox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"inout",attrs:{type:"text",placeholder:t.$t("personal.pleaseEnter2")},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value)}}}),e("i",{staticClass:"el-icon-search",on:{click:t.handelSearch}})]),e("div",{staticClass:"top3Box"},[e("section",{staticClass:"tabPageBox"},[e("div",{staticClass:"tabPageTitle"},[e("div",{staticClass:"TitleS minerTitle",on:{click:function(e){return t.handleClick2("power")}}},[e("span",{staticClass:"trapezoid",class:{activeHeadlines:"power"==t.activeName2}},[e("span",[t._v(t._s(t.$t("mining.miner")))])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.profitShow,expression:"profitShow"}],staticClass:"TitleS profitTitle",on:{click:function(e){return t.handleClick2("miningMachine")}}},[e("span",{staticClass:"trapezoid",class:{activeHeadlines:"miningMachine"==t.activeName2}},[e("span",[t._v(t._s(t.$t("mining.profit")))])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.paymentShow,expression:"paymentShow"}],staticClass:"TitleS paymentTitle",on:{click:function(e){return t.handleClick2("payment")}}},[e("span",{staticClass:"trapezoid",class:{activeHeadlines:"payment"==t.activeName2}},[e("span",[t._v(t._s(t.$t("mining.payment")))])])])]),"power"==t.activeName2?e("section",{directives:[{name:"loading",rawName:"v-loading",value:t.MinerListLoading,expression:"MinerListLoading"}],staticClass:"page"},[e("div",{staticClass:"minerTitleBox"},[e("div",{staticClass:"TitleOnLine"},[e("span",{on:{click:function(e){return t.onlineStatus("all")}}},[e("span",{staticClass:"circularDots3",class:{activeCircular:"all"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.all"))+" "+t._s(t.MinerListData.all))]),e("span",{on:{click:function(e){return t.onlineStatus("onLine")}}},[e("div",{staticClass:"circularDots2",class:{activeCircular:"onLine"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.onLine"))+" "+t._s(t.MinerListData.online))]),e("span",{on:{click:function(e){return t.onlineStatus("off-line")}}},[e("div",{staticClass:"circularDots2",class:{activeCircular:"off-line"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.offLine"))+" "+t._s(t.MinerListData.offline))])])]),"all"==t.sunTabActiveName?e("div",{staticClass:"publicBox all"},[e("div",{staticClass:"TitleAll",staticStyle:{"font-weight":"600"}},[e("span",[t._v(" "+t._s(t.$t("mining.miner")))]),e("span",[t._v(" "+t._s(t.$t("mining.Minutes"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("30m")}}})]),e("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("24h")}}})])]),e("div",{staticClass:"totalTitleAll"},[e("span",[e("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total")))]),e("span",[t._v(t._s(this.formatNumber(t.MinerListData.rate))+" ")]),e("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")])]),e("el-collapse",{staticStyle:{"max-height":"800px",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(e){t.Accordion=e},expression:"Accordion"}},t._l(t.MinerListTableData,(function(a,i){return e("div",{key:a.miner,class:"item-"+(i%2===0?"even":"odd")},[e("el-collapse-item",{attrs:{name:a.id},nativeOn:{click:function(e){return t.handelMiniOffLine(a.id,a.miner)}}},[e("template",{slot:"title"},[e("div",{staticClass:"accordionTitleAll"},[e("span",{class:{activeState:"2"==a.status}},["1"==a.status?e("div",{staticClass:"circularDotsOnLine"}):t._e(),"2"==a.status?e("div",{staticClass:"circularDotsOffLine"}):t._e(),t._v(" "+t._s(a.miner))]),e("span",[t._v(t._s(a.rate))]),e("span",[t._v(t._s(a.dailyRate))])])]),e("div",{staticClass:"table-item"},[e("div",[e("p",[t._v(t._s(t.$t("mining.submitTime")))]),e("p",[e("span",{staticClass:"offlineTime",class:{activeState:"2"==a.status},attrs:{title:a.submit}},[e("span",[t._v(t._s(a.submit)+" ")]),"2"==a.status?e("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(a.offline)}},[t._v(t._s(t.handelTimeInterval(a.offline)))]):t._e()])])]),e("div",[e("p",[t._v(t._s(t.$t("mining.state")))]),e("p",[e("span",{class:{activeState:"2"==a.status},attrs:{title:t.$t(t.handelStateList(a.status))}},[t._v(t._s(t.$t(t.handelStateList(a.status)))+" ")])])])]),e("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(a.miner)+"  "+t._s(t.$t("mining.power24H"))+" ")]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300px"},attrs:{id:"SmallOff"+a.id}})],2)],1)})),0)],1):"onLine"==t.sunTabActiveName?e("div",{staticClass:"publicBox onLine"},[e("div",{staticClass:"TitleAll",staticStyle:{"font-weight":"600"}},[e("span",[t._v(" "+t._s(t.$t("mining.miner")))]),e("span",[t._v(t._s(t.$t("mining.Minutes"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("30m")}}})]),e("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("24h")}}})])]),e("div",{staticClass:"totalTitleAll"},[e("span",[e("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total"))+" ")]),e("span",[t._v(t._s(t.MinerListData.rate)+" ")]),e("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")])]),e("el-collapse",{staticStyle:{"max-height":"800px",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(e){t.Accordion=e},expression:"Accordion"}},t._l(t.MinerListTableData,(function(a,i){return e("div",{key:t.sunTabActiveName+a.miner,class:"item-"+(i%2==0?"even":"odd")},[e("el-collapse-item",{attrs:{name:a.id},nativeOn:{click:function(e){return t.handelOnLineMiniChart(a.id,a.miner)}}},[e("template",{slot:"title"},[e("div",{staticClass:"accordionTitleAll"},[e("span",[e("div",{staticClass:"circularDotsOnLine"}),t._v(" "+t._s(a.miner))]),e("span",[t._v(t._s(a.rate))]),e("span",[t._v(t._s(a.dailyRate))])])]),e("div",{staticClass:"table-itemOn"},[e("div",[e("p",[t._v(t._s(t.$t("mining.submitTime")))]),e("p",[e("span",{staticClass:"offlineTime",class:{activeState:"2"==a.status},attrs:{title:a.submit}},[e("span",[t._v(t._s(a.submit)+" ")]),"2"==a.status?e("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(a.offline)}},[t._v(t._s(t.handelTimeInterval(a.offline)))]):t._e()])])])]),e("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(a.miner)+" "+t._s(t.$t("mining.power24H"))+" ")]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300px"},attrs:{id:"Small"+a.id}})],2)],1)})),0)],1):"off-line"==t.sunTabActiveName?e("div",{staticClass:"publicBox off-line"},[e("div",{staticClass:"TitleAll",staticStyle:{"font-weight":"600"}},[e("span",[t._v(" "+t._s(t.$t("mining.miner")))]),e("span",[t._v(t._s(t.$t("mining.Minutes"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("30m")}}})]),e("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("24h")}}})])]),e("div",{staticClass:"totalTitleAll"},[e("span",[e("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total"))+" ")]),e("span",[t._v(t._s(t.MinerListData.rate)+" ")]),e("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")])]),e("el-collapse",{staticStyle:{"max-height":"800px",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(e){t.Accordion=e},expression:"Accordion"}},t._l(t.MinerListTableData,(function(a,i){return e("div",{key:a.miner,class:"item-"+(i%2===0?"even":"odd")},[e("el-collapse-item",{attrs:{name:a.id},nativeOn:{click:function(e){return t.handelMiniOffLine(a.id,a.miner)}}},[e("template",{slot:"title"},[e("div",{staticClass:"accordionTitleAll"},[e("span",{class:{activeState:"2"==a.status}},[e("div",{staticClass:"circularDotsOffLine"}),t._v(" "+t._s(a.miner))]),e("span",[t._v(t._s(a.rate))]),e("span",[t._v(t._s(a.dailyRate))])])]),e("div",{staticClass:"table-itemOn"},[e("div",[e("p",[t._v(t._s(t.$t("mining.submitTime")))]),e("p",[e("span",{staticClass:"offlineTime",class:{activeState:"2"==a.status},attrs:{title:a.submit}},[e("span",[t._v(t._s(a.submit)+" ")]),"2"==a.status?e("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(a.offline)}},[t._v(t._s(t.handelTimeInterval(a.offline)))]):t._e()])])])]),e("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(a.miner)+" "+t._s(t.$t("mining.power24H"))+" ")]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300px"},attrs:{id:"SmallOff"+a.id}})],2)],1)})),0)],1):t._e(),e("el-pagination",{staticStyle:{"margin-top":"10px","margin-bottom":"10px"},attrs:{"current-page":t.currentPageMiner,"page-sizes":[50,100,200,400],"page-size":t.MinerListParams.limit,layout:"sizes, prev, pager, next",total:t.minerTotal},on:{"size-change":t.handleSizeMiner,"current-change":t.handleCurrentMiner,"update:currentPage":function(e){t.currentPageMiner=e},"update:current-page":function(e){t.currentPageMiner=e}}})],1):t._e(),"miningMachine"==t.activeName2?e("section",{staticClass:"miningMachine"},[e("div",{staticClass:"belowTable"},[e("ul",[e("li",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("mining.settlementDate")}},[t._v(t._s(t.$t("mining.settlementDate")))]),e("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s")]),e("span",{attrs:{title:t.$t("mining.profit")}},[t._v(t._s(t.$t("mining.profit")))])]),t._l(t.HistoryIncomeData,(function(a,i){return e("li",{key:i,staticClass:"currency-list"},[e("span",{attrs:{title:a.date}},[t._v(t._s(a.date))]),e("span",{attrs:{title:a.mhs}},[t._v(t._s(a.mhs)+" ")]),e("span",{attrs:{title:a.amount}},[t._v(t._s(a.amount)+" "),e("span",{staticStyle:{color:"rgba(0, 0, 0, 0.5)","text-transform":"capitalize"}},[t._v(t._s(t.accountItem.coin))])])])}))],2),e("el-pagination",{staticClass:"pageBox",attrs:{"current-page":t.currentPageIncome,"page-sizes":[10,50,100,400],"page-size":t.IncomeParams.limit,layout:"sizes, prev, pager, next",total:t.HistoryIncomeTotal},on:{"size-change":t.handleSizeChangeIncome,"current-change":t.handleCurrentChangeIncome,"update:currentPage":function(e){t.currentPageIncome=e},"update:current-page":function(e){t.currentPageIncome=e}}})],1)]):t._e(),"payment"==t.activeName2?e("section",{staticClass:"payment"},[e("div",{staticClass:"belowTable"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("mining.withdrawalTime")}},[t._v(t._s(t.$t("mining.withdrawalTime")))]),e("span",{attrs:{title:t.$t("mining.withdrawalAmount")}},[t._v(t._s(t.$t("mining.withdrawalAmount")))]),e("span",{attrs:{title:t.$t("mining.paymentStatus")}},[t._v(t._s(t.$t("mining.paymentStatus")))])]),e("el-collapse",t._l(t.HistoryOutcomeData,(function(a,i){return e("el-collapse-item",{key:a.txid,staticClass:"collapseItem",attrs:{name:i}},[e("template",{slot:"title"},[e("div",{staticClass:"paymentCollapseTitle"},[e("span",[t._v(t._s(a.date))]),e("span",[t._v(t._s(a.amount))]),e("span",[t._v(t._s(t.$t(t.handelPayment(a.status))))])])]),e("div",{staticClass:"dropDownContent"},[a.address?e("div",[e("p",[t._v(t._s(t.$t("mining.withdrawalAddress")))]),e("p",[t._v(t._s(a.address)+" "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(a.address)}}},[t._v(t._s(t.$t("personal.copy")))])])]):t._e(),a.txid?e("div",[e("p",[t._v("Txid")]),e("p",[e("span",{staticStyle:{cursor:"pointer","text-decoration":"underline",color:"#433278"},on:{click:function(e){return t.handelTxid(a.txid)}}},[t._v(" "+t._s(a.txid)+" ")]),t._v(" "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(a.txid)}}},[t._v(t._s(t.$t("personal.copy")))])])]):t._e()])],2)})),1),e("el-pagination",{staticStyle:{"margin-top":"10px","margin-bottom":"10px"},attrs:{"current-page":t.currentPage,"page-sizes":[10,50,100,400],"page-size":t.OutcomeParams.limit,layout:"sizes, prev, pager, next",total:t.HistoryOutcomeTotal},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)]):t._e()])])]):e("section",{directives:[{name:"loading",rawName:"v-loading",value:t.jurisdictionLoading,expression:"jurisdictionLoading"}],staticClass:"miningAccount",attrs:{"element-loading-text":t.loadingText}},[e("div",{staticClass:"accountInformation"},[e("img",{attrs:{src:t.jurisdiction.img,alt:"coin",loading:"lazy"}}),e("span",{staticClass:"coin"},[t._v(t._s(t.jurisdiction.coin)+" ")]),e("i",{staticClass:"iconfont icon-youjiantou"}),e("span",{staticClass:"ma"},[t._v(" "+t._s(t.jurisdiction.account))])]),e("div",{staticClass:"profitBox"},[e("div",{staticClass:"profitTop"},[e("div",{staticClass:"box"},[e("span",[t._v(t._s(t.$t("mining.totalRevenue"))+" ")]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.totalProfit))])]),e("div",{staticClass:"box"},[e("span",[t._v(t._s(t.$t("mining.totalExpenditure"))+" ")]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.expend))])]),e("div",{staticClass:"box"},[e("span",[t._v(t._s(t.$t("mining.yesterdaySEarnings"))+" ")]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.preProfit))])]),e("div",{staticClass:"box"},[e("span",[t._v(t._s(t.$t("mining.diggedToday"))+" "),e("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.diggedTodayTips")}},[e("img",{attrs:{src:a(3832),alt:"profit",loading:"lazy"}})])]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.todayPorfit))])]),e("div",{staticClass:"box"},[e("span",{staticClass:"paymentSettings"},[t._v(t._s(t.$t("mining.accountBalance"))+" "),e("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.balanceReminder")}},[e("img",{attrs:{src:a(3832),alt:"profit",loading:"lazy"}})])]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.balance)+" ")])])]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.powerChartLoading,expression:"powerChartLoading"}],staticClass:"profitBtm"},[e("div",{staticClass:"right"},[e("div",{staticClass:"intervalBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("mining.algorithmicDiagram")))]),e("div",{staticClass:"times"},t._l(t.intervalList,(function(a){return e("span",{key:a.value,class:{timeActive:t.timeActive==a.value},on:{click:function(e){return t.handleInterval(a.value)}}},[t._v(t._s(t.$t(a.label)))])})),0)]),e("div",{staticStyle:{width:"100%",height:"100%",padding:"0"},attrs:{id:"powerChart"}})])])]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.barChartLoading,expression:"barChartLoading"}],staticClass:"top2Box"},[e("div",{staticClass:"lineBOX"},[e("div",{staticClass:"intervalBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("mining.computingPower")))]),e("div",{staticClass:"times"},t._l(t.AccountPowerDistributionintervalList,(function(a){return e("span",{key:a.value,class:{timeActive:t.barActive==a.value},on:{click:function(e){return t.distributionInterval(a.value)}}},[t._v(t._s(t.$t(a.label)))])})),0)]),e("div",{staticStyle:{width:"100%",height:"90%",padding:"0"},attrs:{id:"barChart"}})])]),e("div",{staticClass:"top3Box"},[e("section",{staticClass:"tabPageBox"},[e("div",{staticClass:"tabPageTitle"},[e("div",{staticClass:"TitleS minerTitle",on:{click:function(e){return t.handleClick2("power")}}},[e("span",{staticClass:"trapezoid",class:{activeHeadlines:"power"==t.activeName2}},[e("span",[t._v(t._s(t.$t("mining.miner")))])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.profitShow,expression:"profitShow"}],staticClass:"TitleS profitTitle",on:{click:function(e){return t.handleClick2("miningMachine")}}},[e("span",{staticClass:"trapezoid",class:{activeHeadlines:"miningMachine"==t.activeName2}},[e("span",[t._v(t._s(t.$t("mining.profit")))])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.paymentShow,expression:"paymentShow"}],staticClass:"TitleS paymentTitle",on:{click:function(e){return t.handleClick2("payment")}}},[e("span",{staticClass:"trapezoid",class:{activeHeadlines:"payment"==t.activeName2}},[e("span",[t._v(t._s(t.$t("mining.payment")))])])])]),"power"==t.activeName2?e("section",{directives:[{name:"loading",rawName:"v-loading",value:t.MinerListLoading,expression:"MinerListLoading"}],staticClass:"page"},[e("div",{staticClass:"minerTitleBox"},[e("div",{staticClass:"TitleOnLine"},[e("span",{on:{click:function(e){return t.onlineStatus("all")}}},[e("span",{staticClass:"circularDots3",class:{activeCircular:"all"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.all"))+" "+t._s(t.MinerListData.all))]),e("span",{on:{click:function(e){return t.onlineStatus("onLine")}}},[e("div",{staticClass:"circularDots2",class:{activeCircular:"onLine"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.onLine"))+" "+t._s(t.MinerListData.online))]),e("span",{on:{click:function(e){return t.onlineStatus("off-line")}}},[e("div",{staticClass:"circularDots2",class:{activeCircular:"off-line"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.offLine"))+" "+t._s(t.MinerListData.offline))])]),e("div",{staticClass:"searchBox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"inout",attrs:{type:"text",placeholder:t.$t("personal.pleaseEnter2")},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value)}}}),e("i",{staticClass:"el-icon-search",on:{click:t.handelSearch}})])]),"all"==t.sunTabActiveName?e("div",{staticClass:"publicBox all"},[e("div",{staticClass:"TitleAll",staticStyle:{"font-weight":"600"}},[e("span",[t._v(" "+t._s(t.$t("mining.miner")))]),e("span",[t._v(t._s(t.$t("mining.Minutes"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("30m")}}})]),e("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("24h")}}})]),e("span",[t._v(t._s(t.$t("mining.submitTime")))]),e("span",[t._v(t._s(t.$t("mining.state")))])]),e("div",{staticClass:"totalTitleAll"},[e("span",[e("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total")))]),e("span",[t._v(t._s(t.MinerListData.rate)+" ")]),e("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")]),e("span",[t._v(t._s(t.MinerListData.submit)+" ")]),e("span")]),e("el-collapse",{staticStyle:{"max-height":"800PX",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(e){t.Accordion=e},expression:"Accordion"}},t._l(t.sortedMinerListTableData,(function(a,i){return e("div",{key:a.miner,class:"item-"+(i%2===0?"even":"odd")},[e("el-collapse-item",{attrs:{name:a.id},nativeOn:{click:function(e){return t.handelMiniOffLine(a.id,a.miner)}}},[e("template",{slot:"title"},[e("div",{staticClass:"accordionTitleAll"},[e("span",{class:{activeState:"2"==a.status}},["1"==a.status?e("div",{staticClass:"circularDotsOnLine"}):t._e(),t._v(" "),"2"==a.status?e("div",{staticClass:"circularDotsOffLine"}):t._e(),t._v(" "+t._s(a.miner))]),e("span",[t._v(t._s(a.rate))]),e("span",[t._v(t._s(a.dailyRate))]),e("span",{staticClass:"offlineTime",class:{activeState:"2"==a.status},attrs:{title:a.submit}},[e("span",[t._v(t._s(a.submit)+" ")]),t._v(" "),"2"==a.status?e("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(a.offline)}},[t._v(t._s(t.handelTimeInterval(a.offline)))]):t._e()]),e("span",{class:{activeState:"2"==a.status}},[t._v(t._s(t.$t(t.handelStateList(a.status)))+" ")])])]),e("p",{staticClass:"chartTitle"},[t._v(t._s(t.$t("mining.miner"))+t._s(a.miner)+"  "+t._s(t.$t("mining.power24H")))]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300PX"},attrs:{id:"SmallOff"+a.id}})],2)],1)})),0)],1):"onLine"==t.sunTabActiveName?e("div",{staticClass:"publicBox onLine"},[e("div",{staticClass:"Title",staticStyle:{"font-weight":"600"}},[e("span",[t._v(" "+t._s(t.$t("mining.miner")))]),e("span",[t._v(t._s(t.$t("mining.Minutes"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("30m")}}})]),e("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("24h")}}})]),e("span",[t._v(t._s(t.$t("mining.submitTime")))])]),e("div",{staticClass:"totalTitle"},[e("span",[e("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total"))+" ")]),e("span",[t._v(t._s(t.MinerListData.rate)+" ")]),e("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")]),e("span",[t._v(t._s(t.MinerListData.submit)+" ")])]),e("el-collapse",{staticStyle:{"max-height":"800PX",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(e){t.Accordion=e},expression:"Accordion"}},t._l(t.MinerListTableData,(function(a,i){return e("div",{key:t.sunTabActiveName+a.miner,class:"item-"+(i%2==0?"even":"odd")},[e("el-collapse-item",{attrs:{name:a.id},nativeOn:{click:function(e){return t.handelOnLineMiniChart(a.id,a.miner)}}},[e("template",{slot:"title"},[e("div",{staticClass:"accordionTitle"},[e("span",[e("div",{staticClass:"circularDotsOnLine"}),t._v(" "+t._s(a.miner))]),e("span",[t._v(t._s(a.rate))]),e("span",[t._v(t._s(a.dailyRate))]),e("span",[t._v(t._s(a.submit))])])]),e("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(a.miner)+" "+t._s(t.$t("mining.power24H")))]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300PX"},attrs:{id:"Small"+a.id}})],2)],1)})),0)],1):"off-line"==t.sunTabActiveName?e("div",{staticClass:"publicBox off-line"},[e("div",{staticClass:"Title",staticStyle:{"font-weight":"600"}},[e("span",[t._v(" "+t._s(t.$t("mining.miner")))]),e("span",[t._v(t._s(t.$t("mining.Minutes"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("30m")}}})]),e("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("24h")}}})]),e("span",[t._v(t._s(t.$t("mining.submitTime")))])]),e("div",{staticClass:"totalTitle"},[e("span",[e("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total"))+" ")]),e("span",[t._v(t._s(t.MinerListData.rate)+" ")]),e("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")]),e("span",[t._v(t._s(t.MinerListData.submit)+" ")])]),e("el-collapse",{staticStyle:{"max-height":"800PX",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(e){t.Accordion=e},expression:"Accordion"}},t._l(t.MinerListTableData,(function(a,i){return e("div",{key:a.miner,class:"item-"+(i%2===0?"even":"odd")},[e("el-collapse-item",{attrs:{name:a.id},nativeOn:{click:function(e){return t.handelMiniOffLine(a.id,a.miner)}}},[e("template",{slot:"title"},[e("div",{staticClass:"accordionTitle"},[e("span",{class:{activeState:"2"==a.status}},[e("div",{staticClass:"circularDotsOffLine"}),t._v(" "+t._s(a.miner))]),e("span",[t._v(t._s(a.rate))]),e("span",[t._v(t._s(a.dailyRate))]),e("span",{staticClass:"offlineTime",class:{activeState:"2"==a.status},attrs:{title:a.submit}},[e("span",[t._v(t._s(a.submit)+" ")]),t._v(" "),"2"==a.status?e("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(a.offline)}},[t._v(t._s(t.handelTimeInterval(a.offline)))]):t._e()])])]),e("p",{staticClass:"chartTitle"},[t._v(t._s(t.$t("mining.miner"))+t._s(a.miner)+" "+t._s(t.$t("mining.power24H")))]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300PX"},attrs:{id:"SmallOff"+a.id}})],2)],1)})),0)],1):t._e(),e("el-pagination",{staticClass:"minerPagination",attrs:{"current-page":t.currentPageMiner,"page-sizes":[50,100,200,400],"page-size":t.MinerListParams.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.minerTotal},on:{"size-change":t.handleSizeMiner,"current-change":t.handleCurrentMiner,"update:currentPage":function(e){t.currentPageMiner=e},"update:current-page":function(e){t.currentPageMiner=e}}})],1):t._e(),"miningMachine"==t.activeName2?e("section",{staticClass:"miningMachine"},[e("div",{staticClass:"belowTable"},[e("ul",[e("li",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("mining.settlementDate")}},[t._v(t._s(t.$t("mining.settlementDate")))]),e("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s")]),e("span",{attrs:{title:t.$t("mining.profit")}},[t._v(t._s(t.$t("mining.profit")))])]),t._l(t.HistoryIncomeData,(function(a,i){return e("li",{key:i,staticClass:"currency-list"},[e("span",{attrs:{title:a.date}},[t._v(t._s(a.date))]),e("span",{attrs:{title:a.mhs}},[t._v(t._s(a.mhs)+" ")]),e("span",{attrs:{title:a.amount}},[t._v(t._s(a.amount)+" "),e("span",{staticStyle:{color:"rgba(0,0,0,0.5)","text-transform":"capitalize"}},[t._v(t._s(t.jurisdiction.coin.includes("dgb")?"dgb":t.jurisdiction.coin))])])])}))],2),e("el-pagination",{attrs:{"current-page":t.currentPageIncome,"page-sizes":[10,50,100,400],"page-size":t.IncomeParams.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.HistoryIncomeTotal},on:{"size-change":t.handleSizeChangeIncome,"current-change":t.handleCurrentChangeIncome,"update:currentPage":function(e){t.currentPageIncome=e},"update:current-page":function(e){t.currentPageIncome=e}}})],1)]):t._e(),"payment"==t.activeName2?e("section",{staticClass:"payment"},[e("div",{staticClass:"belowTable"},[e("ul",[e("li",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("mining.withdrawalTime")}},[t._v(t._s(t.$t("mining.withdrawalTime")))]),e("span",{attrs:{title:t.$t("mining.withdrawalAddress")}},[t._v(t._s(t.$t("mining.withdrawalAddress")))]),e("span",{attrs:{title:t.$t("mining.withdrawalAmount")}},[t._v(t._s(t.$t("mining.withdrawalAmount")))]),e("span",{attrs:{title:t.$t("mining.paymentStatus")}},[t._v(t._s(t.$t("mining.paymentStatus")))])]),t._l(t.HistoryOutcomeData,(function(a){return e("li",{key:a.txid,staticClass:"currency-list"},[e("span",{attrs:{title:a.date}},[t._v(t._s(a.date))]),e("span",{staticStyle:{"text-align":"left"},attrs:{title:a.address}},[t._v(t._s(a.address))]),e("span",{attrs:{title:a.amount}},[t._v(t._s(a.amount)+" "),e("span",{staticStyle:{color:"rgba(0,0,0,0.5)","text-transform":"capitalize"}},[t._v(t._s(t.jurisdiction.coin.includes("dgb")?"dgb":t.jurisdiction.coin))])]),e("span",{staticClass:"txidBox"},[e("span",{staticStyle:{"font-size":"0.8rem"}},[t._v(t._s(t.$t(t.handelPayment(a.status)))+" ")]),0!==a.status?e("span",{staticClass:"txid"},[e("el-popover",{attrs:{placement:"top",width:"300",trigger:"hover"}},[e("span",{ref:"txidRef",refInFor:!0,attrs:{id:`id${a.txid}`}},[t._v(t._s(a.txid))]),e("div",{staticStyle:{"text-align":"right",margin:"0"}},[e("el-button",{staticStyle:{"border-radius":"5PX"},attrs:{size:"mini"},on:{click:function(e){return t.copyTxid(a.txid)}}},[t._v(t._s(t.$t("personal.copy")))])],1),e("div",{attrs:{slot:"reference"},on:{click:function(e){return t.handelTxid(a.txid)}},slot:"reference"},[t._v("Txid")])])],1):t._e()])])}))],2),e("el-pagination",{attrs:{"current-page":t.currentPage,"page-sizes":[10,50,100,400],"page-size":t.OutcomeParams.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.HistoryOutcomeTotal},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)]):t._e()])])])])},e.Yp=[]},36838:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0,a(44114);var s=i(a(398));e.A={mixins:[s.default],methods:{goBack(){this.$router.push(`/${this.$i18n.locale}/helpCenter`)}}}},40110:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var s=i(a(1754));e.A={mixins:[s.default]}},42251:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var s=i(a(17609));e.A={metaInfo:{meta:[{name:"keywords",content:"费率页面,挖矿费率,收益计算,全网最低费率,Rate Page,Mining Rates,Revenue Calculation,Lowest Rates on the Net"},{name:"description",content:window.vm.$t("seo.rate")}]},mixins:[s.default]}},46763:function(t,e,a){a.r(e);var i,s,n=a(81656),r={},o=(0,n.A)(r,i,s,!1,null,null,null);e["default"]=o.exports},47277:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"Block"},[t.$isMobile?e("section",{directives:[{name:"loading",rawName:"v-loading",value:t.reportBlockLoading,expression:"reportBlockLoading"}]},[e("div",{staticClass:"currencySelect"},[e("el-menu",{staticClass:"el-menu-demo",attrs:{mode:"horizontal"}},[e("el-submenu",{staticStyle:{background:"transparent"},attrs:{index:"2"}},[e("template",{slot:"title"},[e("span",{ref:"coinSelect",staticClass:"coinSelect"},[e("img",{attrs:{src:t.currencyPath,alt:"coin"}}),e("span",[t._v(t._s(t.handelCurrencyLabel(t.params.coin)))])])]),e("ul",{staticClass:"moveCurrencyBox"},t._l(t.currencyList,(function(a){return e("li",{key:a.value,on:{click:function(e){return t.clickCurrency(a)}}},[e("img",{attrs:{src:a.img,alt:"coin",loading:"lazy"}}),e("p",[t._v(t._s(a.label))])])})),0)],2)],1)],1),e("div",{directives:[{name:"show",rawName:"v-show",value:"enx"!=this.activeItemCoin.value&&"alph"!=this.activeItemCoin.value,expression:"this.activeItemCoin.value != 'enx' && this.activeItemCoin.value != 'alph'"}],staticClass:"luckyBox"},[e("div",{staticClass:"luckyItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("home.lucky3")))]),e("span",{staticClass:"text"},[t._v(t._s(t.luckData.luck3d)+"%")])]),e("div",{staticClass:"luckyItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("home.lucky7")))]),e("span",{staticClass:"text"},[t._v(t._s(t.luckData.luck7d)+"%")])]),t.luckData.luck30d?e("div",{staticClass:"luckyItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("home.lucky30")))]),e("span",{staticClass:"text"},[t._v(t._s(t.luckData.luck30d)+"%")])]):t._e(),t.luckData.luck90d?e("div",{staticClass:"luckyItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("home.lucky90")))]),e("span",{staticClass:"text"},[t._v(t._s(t.luckData.luck90d)+"%")])]):t._e()]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("home.blockHeight")}},[t._v(t._s(t.$t("home.blockHeight")))]),e("span",{attrs:{title:t.$t("home.blockingTime")}},[t._v(t._s(t.$t("home.blockingTime")))])]),e("el-collapse",{attrs:{accordion:""}},t._l(t.BlockInfoData,(function(a){return e("el-collapse-item",{key:a.hash,attrs:{name:a.hash}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[t._v(t._s(a.height))]),e("span",[t._v(t._s(a.date))])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("home.blockRewards"))+" ("+t._s(t.handelLabel(t.BlockInfoParams.coin))+")")]),e("p",[t._v(t._s(a.reward))])])]),e("div",{attrs:{id:"hash"},on:{click:function(e){return t.clickItem(a)}}},[e("p",[t._v(t._s(t.$t("home.blockHash")))]),e("p",{staticClass:"text"},[t._v(t._s(a.hash)+" ")])])],2)})),1),e("div",{staticClass:"paginationBox"},[e("el-pagination",{staticStyle:{"margin-top":"10px","margin-bottom":"10px"},attrs:{"current-page":t.currentPage,"page-sizes":[10,20,50,200],"page-size":10,layout:"sizes, prev, pager, next",total:t.totalSize},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)],1)]):e("div",[e("section",{staticClass:"BlockTop"},[e("el-row",[e("el-col",{attrs:{xs:24,sm:24,md:24,lg:12,xl:12}},[e("div",{staticClass:"currencyBox"},t._l(t.currencyList,(function(a){return e("div",{key:a.value,staticClass:"sunCurrency",on:{click:function(e){return t.clickCurrency(a)}}},[e("img",{staticClass:"currency-logo lazy lazy-coin-logo",attrs:{src:a.img}}),e("span",{class:{active:t.ItemActive==a.value}},[t._v(t._s(a.label))])])})),0)]),e("el-col",{attrs:{xs:24,sm:24,md:24,lg:12,xl:12}},[e("div",{directives:[{name:"show",rawName:"v-show",value:"enx"!=this.activeItemCoin.value&&"alph"!=this.activeItemCoin.value&&"monero"!=this.activeItemCoin.value,expression:"this.activeItemCoin.value != 'enx' && this.activeItemCoin.value != 'alph' && this.activeItemCoin.value != 'monero'"}],staticClass:"luckyBox"},[e("div",{staticClass:"luckyItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("home.lucky3")))]),e("span",{staticClass:"text"},[t._v(t._s(t.luckData.luck3d)+"%")])]),e("div",{staticClass:"luckyItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("home.lucky7")))]),e("span",{staticClass:"text"},[t._v(t._s(t.luckData.luck7d)+"%")])]),t.luckData.luck30d?e("div",{staticClass:"luckyItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("home.lucky30")))]),e("span",{staticClass:"text"},[t._v(t._s(t.luckData.luck30d)+"%")])]):t._e(),t.luckData.luck90d?e("div",{staticClass:"luckyItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("home.lucky90")))]),e("span",{staticClass:"text"},[t._v(t._s(t.luckData.luck90d)+"%")])]):t._e()])])],1)],1),e("el-row",[e("el-col",{attrs:{xs:24,sm:24,md:24,lg:24,xl:24}},[e("div",{staticClass:"reportBlock"},[e("div",{staticClass:"reportBlockBox"},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.reportBlockLoading,expression:"reportBlockLoading"}],staticClass:"belowTable"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("home.blockHeight")}},[t._v(t._s(t.$t("home.blockHeight")))]),e("span",{attrs:{title:t.$t("home.blockingTime")}},[t._v(t._s(t.$t("home.blockingTime")))]),e("span",{staticClass:"hash",attrs:{title:t.$t("home.blockHash")}},[t._v(t._s(t.$t("home.blockHash")))]),e("div",{staticClass:"blockRewards"},[t._v(t._s(t.$t("home.blockRewards"))+" ("+t._s(t.handelLabel(t.BlockInfoParams.coin))+") ")])]),e("ul",t._l(t.BlockInfoData,(function(a){return e("li",{key:a.hash,staticClass:"currency-list",on:{click:function(e){return t.clickItem(a)}}},[e("span",[t._v(t._s(a.height))]),e("span",[t._v(t._s(a.date))]),e("span",{staticClass:"hash",attrs:{title:a.hash}},[t._v(t._s(a.hash))]),e("span",{staticClass:"reward",attrs:{title:a.reward}},[t._v(t._s(a.reward))])])})),0),e("el-pagination",{staticClass:"pageBox",attrs:{"current-page":t.currentPage,"page-sizes":[10,20,50,200],"page-size":10,layout:"total, sizes, prev, pager, next, jumper",total:t.totalSize},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)])])])],1)],1)])},e.Yp=[]},51086:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.userManagementLoading,expression:"userManagementLoading"}]},[e("div",{staticClass:"main-title"},[t._v(t._s(t.$t("backendSystem.userManagementTitle")))]),e("el-form",{ref:"formRef",staticClass:"demo-form-inline",attrs:{inline:!0,model:t.userListParams,rules:t.rules}},[e("el-form-item",{attrs:{label:t.$t("backendSystem.coin"),prop:"coin"}},[e("el-select",{ref:"screen",staticClass:"input",attrs:{size:"middle",placeholder:t.$t("personal.screen")},on:{change:function(e){return t.changeScreen(t.screenCurrency)}},model:{value:t.screenCurrency,callback:function(e){t.screenCurrency=e},expression:"screenCurrency"}},t._l(t.currencyList,(function(a){return e("el-option",{key:a.value,attrs:{label:a.label,value:a.value}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("img",{staticStyle:{float:"left",width:"20px"},attrs:{src:a.imgUrl}}),e("span",{staticStyle:{float:"left","margin-left":"5px"}},[t._v(" "+t._s(a.label))])])])})),1)],1),e("el-form-item",{staticStyle:{"margin-left":"5vw"},attrs:{label:t.$t("backendSystem.user"),prop:"minerUser"}},[e("el-input",{attrs:{placeholder:t.$t("backendSystem.pleaseInput"),clearable:""},on:{clear:t.handleInputClear},model:{value:t.userListParams.minerUser,callback:function(e){t.$set(t.userListParams,"minerUser",e)},expression:"userListParams.minerUser"}})],1),e("el-form-item",{staticStyle:{"margin-left":"5vw"},attrs:{label:t.$t("backendSystem.email"),prop:"user"}},[e("el-input",{attrs:{type:"email",placeholder:t.$t("backendSystem.pleaseInput"),clearable:""},on:{clear:t.handleInputClear},model:{value:t.userListParams.user,callback:function(e){t.$set(t.userListParams,"user",e)},expression:"userListParams.user"}})],1),e("el-form-item",{staticStyle:{"margin-left":"1vw"}},[e("el-button",{attrs:{type:"primary"},on:{click:t.handelQuery}},[t._v(t._s(t.$t("backendSystem.query")))])],1)],1),e("el-table",{staticStyle:{width:"100%","margin-bottom":"18px"},attrs:{data:t.tableData,border:"","header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},height:"60vh"}},[e("el-table-column",{attrs:{prop:"id",label:"ID",width:"60"}}),e("el-table-column",{attrs:{prop:"coin",label:t.$t("backendSystem.coin2"),width:"100","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(a){return[e("div",{staticStyle:{display:"flex","align-items":"center","justify-content":"center"}},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.handelImg(a.row.coin)}}),e("span",{staticStyle:{"margin-left":"5px"}},[t._v(t._s(a.row.coin))])])]}}])}),e("el-table-column",{attrs:{prop:"user",label:t.$t("backendSystem.email2"),width:"200","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"amount",label:t.$t("backendSystem.amount2"),width:"150","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"status",label:t.$t("backendSystem.status2"),width:"100"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-tag",{attrs:{type:"1"===a.row.status?"success":"danger"}},[t._v(t._s("0"==a.row.status?t.$t("backendSystem.normal"):t.$t("backendSystem.delete")))])]}}])}),e("el-table-column",{attrs:{prop:"minerUser",label:t.$t("backendSystem.minerUser2"),width:"180","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"balance",label:t.$t("backendSystem.balance2"),"show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"active",label:t.$t("backendSystem.active2"),width:"100","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-tag",{attrs:{type:"1"===a.row.active?"success":"danger"}},[t._v(t._s("0"==a.row.active?t.$t("backendSystem.yes"):t.$t("backendSystem.no")))])]}}])}),e("el-table-column",{attrs:{label:t.$t("backendSystem.operation"),width:"200"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-button",{attrs:{size:"mini",type:"primary",plain:""},on:{click:function(e){return t.handleDetails(a.row)}}},[t._v(t._s(t.$t("backendSystem.Details")))]),e("el-button",{staticStyle:{color:"#651fff",border:"1px solid #651fff"},attrs:{size:"mini"},on:{click:function(e){return t.sendEmail(a.row)}}},[t._v(t._s(t.$t("backendSystem.sendEmail")))])]}}])})],1),e("el-row",[e("el-col",{staticStyle:{display:"flex","justify-content":"center"},attrs:{span:24}},[e("el-pagination",{staticStyle:{margin:"0 auto","margin-top":"10px"},attrs:{"current-page":t.currentPage,"page-sizes":t.pageSizes,"page-size":t.userListParams.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)],1),e("el-dialog",{attrs:{title:t.$t("backendSystem.emailContent"),visible:t.dialogVisible,width:"50%","before-close":t.handleClose,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("el-form",{ref:"formRef",attrs:{model:t.senParams,rules:t.emailRules}},[e("el-form-item",{attrs:{label:t.$t("backendSystem.recipient"),prop:"to"}},[e("el-input",{attrs:{maxlength:"500",resize:"none",type:"textarea",rows:2},model:{value:t.senParams.to,callback:function(e){t.$set(t.senParams,"to",e)},expression:"senParams.to"}}),e("div",{staticStyle:{color:"#999","font-size":"12px","margin-top":"4px"}},[t._v(t._s(t.$t("backendSystem.emailRemind")))])],1),e("el-form-item",{attrs:{label:t.$t("backendSystem.subject"),prop:"subject"}},[e("el-input",{attrs:{resize:"none",maxlength:"300","show-word-limit":"",type:"textarea",rows:3},model:{value:t.senParams.subject,callback:function(e){t.$set(t.senParams,"subject",e)},expression:"senParams.subject"}})],1),e("el-form-item",{attrs:{label:t.$t("backendSystem.text"),prop:"text"}},[e("el-input",{attrs:{resize:"none",maxlength:"600","show-word-limit":"",type:"textarea",rows:8},model:{value:t.senParams.text,callback:function(e){t.$set(t.senParams,"text",e)},expression:"senParams.text"}})],1)],1),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:t.handleClose}},[t._v(t._s(t.$t("backendSystem.cancel")))]),e("el-button",{attrs:{type:"primary",loading:t.sendEmailLoading},on:{click:t.sureSendEmail}},[t._v(t._s(t.$t("backendSystem.send")))])],1)],1)],1)},e.Yp=[]},51993:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(51086),s=a(78221),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"ecb06f72",null),l=o.exports},54646:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.searchLoading,expression:"searchLoading"}],staticClass:"search-result-page"},[e("div",{staticClass:"result-header"},[e("div",{staticClass:"header-container"},[e("div",{staticClass:"header-left"},[e("h1",{staticClass:"page-title"},[t._v(t._s(t.$t("backendSystem.searchResult")||"搜索结果")+" ")]),t.searchResults.length>0?e("p",{staticClass:"search-info"},[t._v(" "+t._s(t.$t("backendSystem.keyword")||"关键词")+' "'),e("strong",[t._v(t._s(t.searchKeyword))]),t._v('" '+t._s(t.$t("backendSystem.find")||"找到")+" "),e("strong",[t._v(t._s(t.totalCount))]),t._v(" "+t._s(t.$t("backendSystem.relatedResults")||"条相关结果")+" ")]):t._e()]),e("div",{staticClass:"header-right"},[e("el-button",{attrs:{type:"primary"},on:{click:t.goBack}},[e("i",{staticClass:"el-icon-arrow-left"}),t._v(" "+t._s(t.$t("backendSystem.returnSearch")||"返回搜索")+" ")])],1)])]),e("div",{staticClass:"search-content"},[e("div",{staticClass:"result-container"},[t.searchResults.length>0?e("div",{staticClass:"result-list"},t._l(t.searchResults,(function(a){return e("div",{key:a.id,staticClass:"result-item",on:{click:function(e){return t.handleItemClick(a)}}},[e("div",{staticClass:"item-icon"},[a.titleUrl?e("img",{staticClass:"doc-icon",attrs:{src:a.titleUrl,alt:"fail"}}):e("i",{staticClass:"el-icon-document doc-icon-placeholder"})]),e("div",{staticClass:"item-content"},[e("h3",{staticClass:"item-title",domProps:{innerHTML:t._s(t.highlightKeyword(a.title))}}),a.subTitle?e("p",{staticClass:"item-subtitle"},[t._v(" "+t._s(a.subTitle)+" ")]):t._e(),e("div",{staticClass:"item-meta"},[e("span",{staticClass:"meta-item"},[e("i",{staticClass:"el-icon-time"}),t._v(" "+t._s(t.formatDate(a.createTime))+" ")]),e("span",{staticClass:"meta-item"},[e("i",{staticClass:"el-icon-user"}),t._v(" "+t._s(a.createUser)+" ")]),e("span",{staticClass:"meta-item"},[e("i",{staticClass:"el-icon-collection-tag"}),t._v(" "+t._s(t.getDocumentTypeName(a.type))+" ")])]),a.content?e("div",{staticClass:"item-preview"},[e("span",{domProps:{innerHTML:t._s(t.getContentPreview(a.content))}})]):t._e()]),e("div",{staticClass:"item-actions"},[e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return e.stopPropagation(),t.handlePreview(a)}}},[e("i",{staticClass:"el-icon-view"}),t._v(" "+t._s(t.$t("backendSystem.preview")||"预览")+" ")])],1)])})),0):e("div",{staticClass:"no-result"},[t._m(0),e("h3",[t._v(t._s(t.$t("backendSystem.noResult")||"未找到相关结果"))]),e("p",[t._v(t._s(t.$t("backendSystem.keyword")||"关键词")+' "'),e("strong",[t._v(t._s(t.searchKeyword))]),t._v('" '+t._s(t.$t("backendSystem.noMatch")||"没有找到匹配的文档"))]),e("el-button",{attrs:{type:"primary"},on:{click:t.goBack}},[t._v(t._s(t.$t("backendSystem.resetSearch")||"重新搜索"))])],1),t.searchResults.length>0?e("div",{staticClass:"pagination-container"},[e("el-pagination",{staticClass:"pagination",attrs:{"current-page":t.currentPage,"page-sizes":[10,50,100,400],total:t.totalCount,layout:"total, sizes, prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange,"size-change":t.handleSizeChange}})],1):t._e()])]),e("el-dialog",{staticClass:"preview-dialog",attrs:{title:t.$t("backendSystem.documentPreview")||"文档预览",visible:t.previewVisible,width:"80%","before-close":t.handlePreviewClose},on:{"update:visible":function(e){t.previewVisible=e}}},[t.previewData?e("div",{staticClass:"preview-content"},[e("h2",[t._v(t._s(t.previewData.title))]),e("div",{staticClass:"preview-meta"},[e("span",[t._v(t._s(t.$t("backendSystem.type")||"类型")+":"+t._s(t.getDocumentTypeName(t.previewData.type)))]),e("span",[t._v(t._s(t.$t("backendSystem.createTime")||"创建时间")+":"+t._s(t.formatDate(t.previewData.createTime)))]),e("span",[t._v(t._s(t.$t("backendSystem.createUser")||"创建者")+":"+t._s(t.previewData.createUser))])]),e("div",{staticClass:"preview-body",domProps:{innerHTML:t._s(t.previewData.content)}})]):t._e()])],1)},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"no-result-icon"},[e("i",{staticClass:"el-icon-search"})])}]},56958:function(t,e,a){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,a(18111),a(20116),a(7588);var i=a(27409),s=a(82908);e["default"]={data(){return{luckData:{luck3d:"0",luck7d:"0",luck30d:0,luck90d:0},BlockInfoData:[],currentPage:1,currencyList:[],BlockInfoParams:{coin:"nexa",limit:10,page:1},params:{coin:"nexa"},customColor:"#C1A1FE",weekColor:"#F6C12B",monthColor:"#7DD491",MarchColor:"#F94280",ItemActive:"nexa",reportBlockLoading:!1,totalSize:0,LuckDataLoading:!1,currencyPath:`${this.$baseApi}img/nexa.png`,transactionFeeList:[{label:"mona",coin:"mona",feeShow:!1},{label:"dgb(skein)",coin:"dgbs",feeShow:!1},{coin:"dgbq",label:"dgb(qubit)",feeShow:!1},{coin:"dgbo",label:"dgb(odocrypt)",feeShow:!1}],FeeShow:!0,activeItemCoin:{value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`},isInternalChange:!1}},watch:{activeItemCoin:{handler(t){this.isInternalChange||this.handleActiveItemChange(t)},deep:!0}},mounted(){this.$route.query.coin&&(this.ItemActive=this.$route.query.coin,this.currencyPath=this.$route.query.imgUrl,this.params.coin=this.$route.query.coin,this.BlockInfoParams.coin=this.$route.query.coin,this.ItemActive=this.$route.query.coin,this.handelCoinLabel(this.$route.query.coin)),this.getLuckData(this.params),this.getBlockInfoData(this.BlockInfoParams),this.registerRecoveryMethod("getLuckData",this.params),this.registerRecoveryMethod("getBlockInfoData",this.BlockInfoParams);let t=localStorage.getItem("activeItemCoin");this.activeItemCoin=JSON.parse(t),this.currencyList=JSON.parse(localStorage.getItem("currencyList")),window.addEventListener("setItem",(()=>{this.currencyList=JSON.parse(localStorage.getItem("currencyList"));let t=localStorage.getItem("activeItemCoin");this.activeItemCoin=JSON.parse(t)}))},methods:{getLuckData:(0,s.Debounce)((async function(t){this.setLoading("LuckDataLoading",!0);const e=await(0,i.getLuck)(t);e&&200==e.code&&(this.luckData=e.data),this.setLoading("LuckDataLoading",!1)}),200),getBlockInfoData:(0,s.Debounce)((async function(t){this.setLoading("reportBlockLoading",!0);const e=await(0,i.getBlockInfo)(t);e||this.setLoading("reportBlockLoading",!1),this.totalSize=e.total,this.BlockInfoData=e.rows,this.BlockInfoData.forEach(((t,e)=>{t.date=`${t.date.split("T")[0]} ${t.date.split("T")[1].split(".")[0]}`})),this.setLoading("reportBlockLoading",!1)}),200),handleActiveItemChange(t){this.currencyPath=t.imgUrl,this.params.coin=t.value,this.BlockInfoParams.coin=t.value,this.ItemActive=t.value,this.getBlockInfoData(this.BlockInfoParams),this.getLuckData(this.params),this.handelCoinLabel(t.value)},clickCurrency(t){t&&(this.luckData={},this.isInternalChange=!0,this.activeItemCoin=t,this.$addStorageEvent(1,"activeItemCoin",JSON.stringify(t)),this.$nextTick((()=>{this.isInternalChange=!1})),this.handleActiveItemChange(t))},clickItem(t){switch(this.ItemActive){case"nexa":window.open(`https://explorer.nexa.org/block-height/${t.height}`);break;case"grs":window.open(`https://chainz.cryptoid.info/grs/block.dws?${t.height}.htm`);break;case"mona":window.open(`https://mona.insight.monaco-ex.org/insight/block/${t.hash}`);break;case"rxd":window.open(`https://explorer.radiantblockchain.org/block-height/${t.height}`);break;case"enx":break;case"alph":window.open(`https://explorer.alephium.org/blocks/${t.hash}`);break;case"xmr":window.open(`https://localmonero.co/blocks/block/${t.height}`);break;case"sha3x":window.open(`https://explore.tari.com/blocks/${t.height}`);break;default:break}this.ItemActive.includes("dgb")&&window.open(`https://chainz.cryptoid.info/dgb/block.dws?${t.height}.htm`)},handleSizeChange(t){console.log(`每页 ${t} 条`),this.BlockInfoParams.limit=t,this.BlockInfoParams.page=1,this.currentPage=1,this.getBlockInfoData(this.BlockInfoParams)},handleCurrentChange(t){console.log(`当前页: ${t}`),this.BlockInfoParams.page=t,this.getBlockInfoData(this.BlockInfoParams)},handelCoinLabel(t){let e={coin:""};t&&(e=this.transactionFeeList.find((e=>e.coin==t)),this.FeeShow=!1),e||(this.FeeShow=!0)},handelLabel(t){return t.includes("dgb")?"dgb":t},handelCurrencyLabel(t){let e=this.currencyList.find((e=>e.value==t));return e?e.label:""}}}},61969:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(29028),s=a(8579),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"a57ca41e",null),l=o.exports},65681:function(t,e,a){var i=a(91774)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,a(44114),a(18111),a(22489),a(20116),a(7588),a(14603),a(47566),a(98721);var s=i(a(3574)),n=a(46508),r=a(82908);e["default"]={data(){return{activeName:"power",option:{legend:{right:100,show:!0,formatter:function(t){return t}},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,formatter:function(t){var e;e=t[0].axisValueLabel;for(let a=0;a<=t.length-1;a++)"Rejection rate"==t[a].seriesName||"拒绝率"==t[a].seriesName?e+=`
${t[a].marker} ${t[a].seriesName}      ${t[a].value}%`:e+=`
${t[a].marker} ${t[a].seriesName}      ${t[a].value}`;return e},axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:[]},yAxis:[{position:"left",type:"value",name:"GH/s",nameTextStyle:{padding:[0,0,0,-40]}},{position:"right",splitNumber:"5",show:!0,min:0,max:100,splitLine:{show:!1}}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2},{type:"inside",start:0,end:100}],series:[{name:"总算力",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[]},{name:"Refusal rate",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[],yAxisIndex:1}]},barOption:{tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{name:"MH/s",type:"category",data:[],axisTick:{alignWithLabel:!0}}],yAxis:[{type:"value",show:!0,name:"Pcs",nameTextStyle:{padding:[0,0,0,-25]}}],dataZoom:[{type:"inside",start:0,end:80,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"count",type:"bar",barWidth:"60%",data:[],itemStyle:{borderRadius:[100,100,0,0],color:"#7645EE"}}]},miniOption:{legend:{right:100,show:!1,formatter:function(t){return t}},grid:{left:"5%",containLabel:!0},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,formatter:function(t){var e;e=t[0].axisValueLabel;for(let a=0;a<=t.length-1;a++)"Rejection rate"==t[a].seriesName||"拒绝率"==t[a].seriesName?e+=`
${t[a].marker} ${t[a].seriesName}      ${t[a].value}%`:e+=`
${t[a].marker} ${t[a].seriesName}      ${t[a].value}`;return e},axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:["07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1"]},yAxis:[{position:"left",type:"value",name:"MH/s",nameTextStyle:{padding:[0,0,0,-40]}},{position:"right",splitNumber:"5",show:!0,splitLine:{show:!1}},{position:"right",splitNumber:"5",show:!1},{position:"right",splitNumber:"5",show:!1}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"Computational power",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63]},{name:"Refusal rate",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63],yAxisIndex:1}]},onLineOption:{legend:{right:100,show:!1,formatter:function(t){return t}},grid:{left:"5%",containLabel:!0},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,formatter:function(t){var e;return e=t[0].axisValueLabel,e+=`
${t[0].marker} ${t[0].seriesName}     ${t[0].value}\n
${t[1].marker} ${t[1].seriesName}     ${t[1].value}% \n `,e},axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:["07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1"]},yAxis:[{position:"left",type:"value",name:"MH/s",nameTextStyle:{padding:[0,0,0,-40]}},{position:"right",splitNumber:"5",show:!0},{position:"right",splitNumber:"5",show:!1},{position:"right",splitNumber:"5",show:!1}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"Computational power",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63]},{name:"Refusal rate",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63],yAxisIndex:1}]},OffLineOption:{legend:{right:100,show:!1,formatter:function(t){return t}},grid:{left:"5%",containLabel:!0},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,formatter:function(t){var e;return e=t[0].axisValueLabel,e+=`
${t[0].marker} ${t[0].seriesName}     ${t[0].value}\n
${t[1].marker} ${t[1].seriesName}     ${t[1].value}% \n `,e},axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:["07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1"]},yAxis:[{position:"left",type:"value",name:"MH/s",nameTextStyle:{padding:[0,0,0,-40]}},{position:"right",splitNumber:"5",show:!0,splitLine:{show:!1}}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"Computational power",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63]},{name:"Refusal rate",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63],yAxisIndex:1}]},sunTabActiveName:"all",Accordion:"",currentPage:1,params:{key:""},PowerParams:{interval:"rt",key:""},PowerDistribution:{interval:"rt",key:""},MinerListParams:{type:"0",filter:"",limit:50,page:1,key:"",sort:"30m",collation:"asc"},activeName2:"power",IncomeParams:{limit:10,page:1,key:""},OutcomeParams:{limit:10,page:1,key:""},MinerAccountData:{},MinerListData:{},intervalList:[{value:"rt",label:"home.realTime"},{value:"1d",label:"home.day"}],HistoryIncomeData:[],HistoryOutcomeData:[],currentPageIncome:1,MinerListTableData:[],AccountPowerDistributionintervalList:[{value:"rt",label:"home.realTime"},{value:"1d",label:"home.day"}],miniLoading:!1,search:"",input2:"",timeActive:"rt",barActive:"rt",powerChartLoading:!1,barChartLoading:!1,miniChartParams:{miner:"",coin:"grs",key:""},ids:"smallChart107fx61",activeMiner:"",miniId:"",MinerListLoading:!1,miner:"miner",accountId:"",currentPageMiner:1,minerTotal:0,accountItem:{},HistoryIncomeTotal:0,HistoryOutcomeTotal:0,jurisdiction:[],minerShow:!1,profitShow:!1,paymentShow:!1,jurisdictionLoading:!1,stateList:[{value:"1",label:"mining.onLine"},{value:"2",label:"mining.offLine"}],loadingText:"personal.loadingText",directives:{throttle:{bind(t,e){let a;t.addEventListener("click",(t=>{(!a||Date.now()-a>=e.value)&&(a=Date.now(),e.value.apply(t.target,[t]))}))}}},paymentStatusList:[{value:0,label:"mining.paymentInProgress"},{value:1,label:"mining.paymentCompleted"}]}},watch:{$route(t,e){this.loadingText=this.$t("personal.loadingText"),this.fetchPageInfo({key:this.params.key}),this.getMinerListData(this.MinerListParams),this.getMinerAccountPowerData(this.PowerParams),this.getAccountPowerDistributionData(this.PowerDistribution)},"$i18n.locale":t=>{location.reload()}},computed:{sortedMinerListTableData(){return this.MinerListTableData?[...this.MinerListTableData].sort(((t,e)=>{const a=String(t.status),i=String(e.status);return"2"===a&&"2"!==i?-1:"2"!==a&&"2"===i?1:0})):[]}},mounted(){this.loadingText=this.$t("personal.loadingText");const t=new URLSearchParams(window.location.search);this.params.key=t.get("key"),this.PowerParams.key=t.get("key"),this.PowerDistribution.key=t.get("key"),this.MinerListParams.key=t.get("key"),this.IncomeParams.key=t.get("key"),this.OutcomeParams.key=t.get("key"),this.fetchPageInfo({key:this.params.key}),this.getMinerListData(this.MinerListParams),this.getMinerAccountPowerData(this.PowerParams),this.getAccountPowerDistributionData(this.PowerDistribution),this.registerRecoveryMethod("getMinerListData",this.MinerListParams),this.registerRecoveryMethod("getMinerAccountPowerData",this.PowerParams),this.registerRecoveryMethod("getAccountPowerDistributionData",this.PowerDistribution),this.registerRecoveryMethod("fetchPageInfo",{key:this.params.key})},methods:{inCharts(){this.myChart=s.init(document.getElementById("powerChart")),this.option.series[0].name=this.$t("home.finallyPower"),this.option.series[1].name=this.$t("home.rejectionRate"),this.myChart.setOption(this.option),window.addEventListener("resize",(0,r.throttle)((()=>{this.myChart&&this.myChart.resize()}),200))},smallInCharts(t){t.series[0].name=this.$t("home.minerSComputingPower"),t.series[1].name=this.$t("home.rejectionRate"),this.miniChart.setOption(t,!0),window.addEventListener("resize",(0,r.throttle)((()=>{this.miniChart&&this.miniChart.resize()}),200))},barInCharts(){null==this.barChart&&(this.barChart=s.init(document.getElementById("barChart"))),this.barOption.series[0].name=this.$t("home.numberOfMiningMachines"),this.barChart.setOption(this.barOption),window.addEventListener("resize",(0,r.throttle)((()=>{this.barChart&&this.barChart.resize()}),200))},async fetchPageInfo(t){this.setLoading("jurisdictionLoading",!0);const e=await(0,n.getPageInfo)(t);console.log(e),e&&200==e.code&&(this.jurisdiction=e.data,this.jurisdiction.config.includes("3")&&(this.paymentShow=!0),this.jurisdiction.config.includes("2")&&(this.profitShow=!0),this.jurisdiction.config.includes("1")&&(this.minerShow=!0),this.profitShow&&(this.getHistoryIncomeData(this.IncomeParams),this.getMinerAccountInfoData(this.params)),this.paymentShow&&this.getHistoryOutcomeData(this.OutcomeParams)),this.setLoading("jurisdictionLoading",!1)},async getMinerAccountInfoData(t){const e=await(0,n.getProfitInfo)(t);this.MinerAccountData=e.data},async getMinerAccountPowerData(t){this.setLoading("powerChartLoading",!0);const e=await(0,n.getMinerAccountPower)(t);if(!e)return this.setLoading("powerChartLoading",!1),void(this.myChart&&this.myChart.dispose());let a=e.data,i=[],s=[],r=[];a.forEach((e=>{e.date.includes("T")&&"rt"==t.interval?e.date=`${e.date.split("T")[0]} ${e.date.split("T")[1].split(".")[0]}`:e.date.includes("T")&&"1d"==t.interval&&(e.date=e.date.split("T")[0]),i.push(e.date),s.push(e.pv.toFixed(2)),r.push((100*e.rejectRate).toFixed(4))}));let o=Math.max(...r);o=Math.round(3*o),o>0&&(this.option.yAxis[1].max=o),this.option.xAxis.data=i,this.option.series[0].data=s,this.option.series[1].data=r,this.inCharts(),this.setLoading("powerChartLoading",!1)},async getAccountPowerDistributionData(t){this.setLoading("barChartLoading",!0);const e=await(0,n.getAccountPowerDistribution)(t);let a=e.data,i=[],s=[];a.forEach((t=>{i.push(`${t.low}-${t.high}`),s.push(t.count)})),this.barOption.xAxis[0].data=i,this.barOption.series[0].data=s,this.barInCharts(),this.setLoading("barChartLoading",!1)},formatNumber(t){const e=Math.floor(t),a=Math.floor(100*(t-e));return`${e}.${String(a).padStart(2,"0")}`},async getMinerListData(t){this.setLoading("MinerListLoading",!0);const e=await(0,n.getMinerList)(t);e&&200==e.code&&(this.MinerListData=e.data,this.MinerListData.submit&&this.MinerListData.submit.includes("T")&&(this.MinerListData.submit=`${this.MinerListData.submit.split("T")[0]} ${this.MinerListData.submit.split("T")[1].split(".")[0]}`),this.MinerListData.rate=this.formatNumber(this.MinerListData.rate),this.MinerListData.dailyRate=this.formatNumber(this.MinerListData.dailyRate),this.MinerListTableData=e.data.rows,this.MinerListTableData.forEach((t=>{t.submit.includes("T")&&(t.submit=`${t.submit.split("T")[0]} ${t.submit.split("T")[1].split(".")[0]}`),t.rate=this.formatNumber(t.rate),t.dailyRate=this.formatNumber(t.dailyRate)})),this.minerTotal=e.data.total),this.setLoading("MinerListLoading",!1)},async getMinerPowerData(t){this.setLoading("miniLoading",!0);const e=await(0,n.getMinerPower)(t);if(!e)return void this.setLoading("miniLoading",!1);let a=e.data,i=[],r=[],o=[];a.forEach((e=>{e.date.includes("T")&&"rt"==t.interval?e.date=`${e.date.split("T")[0]} ${e.date.split("T")[1].split(".")[0]}`:e.date.includes("T")&&"1d"==t.interval&&(e.date=e.date.split("T")[0]),e.date=`${e.date.split("T")[0]} ${e.date.split("T")[1].split(".")[0]}`,i.push(e.date),r.push(e.pv.toFixed(2)),o.push((100*e.rejectRate).toFixed(4))})),this.miniOption.xAxis.data=i,this.miniOption.series[0].data=r,this.miniOption.series[1].data=o,this.miniOption.series[0].name=this.$t("home.finallyPower"),this.miniOption.series[1].name=this.$t("home.rejectionRate"),this.ids=`SmallChart${this.miniId}`,this.miniChart=s.init(document.getElementById(this.ids));let l=Math.max(...o);l=Math.round(3*l),l>0&&(this.miniOption.yAxis[1].max=l),this.$nextTick((()=>{this.smallInCharts(this.miniOption)})),this.setLoading("miniLoading",!1)},async getMinerPowerOnLine(t){this.setLoading("miniLoading",!0);const e=await(0,n.getMinerPower)(t);if(!e)return void this.setLoading("miniLoading",!1);let a=e.data,i=[],o=[],l=[];a.forEach((t=>{t.date.includes("T")?i.push(`${t.date.split("T")[0]} ${t.date.split("T")[1].split(".")[0]}`):i.push(t.date),o.push(t.pv.toFixed(2)),l.push((100*t.rejectRate).toFixed(4))})),this.onLineOption.xAxis.data=i,this.onLineOption.series[0].data=o,this.onLineOption.series[1].data=l,this.onLineOption.series[0].name=this.$t("home.finallyPower"),this.onLineOption.series[1].name=this.$t("home.rejectionRate"),this.ids=`Small${this.miniId}`,this.miniChartOnLine=s.init(document.getElementById(this.ids)),this.$nextTick((()=>{this.miniChartOnLine.setOption(this.onLineOption,!0),window.addEventListener("resize",(0,r.throttle)((()=>{this.miniChartOnLine&&this.miniChartOnLine.resize()}),200))})),this.setLoading("miniLoading",!1)},async getMinerPowerOffLine(t){this.setLoading("miniLoading",!0);const e=await(0,n.getMinerPower)(t);if(!e)return void this.setLoading("miniLoading",!1);let a=e.data,i=[],o=[],l=[];a.forEach((t=>{t.date.includes("T")?i.push(`${t.date.split("T")[0]} ${t.date.split("T")[1].split(".")[0]}`):i.push(t.date),o.push(t.pv.toFixed(2)),l.push((100*t.rejectRate).toFixed(4))})),this.OffLineOption.xAxis.data=i,this.OffLineOption.series[0].data=o,this.OffLineOption.series[1].data=l,this.OffLineOption.series[0].name=this.$t("home.finallyPower"),this.OffLineOption.series[1].name=this.$t("home.rejectionRate"),this.ids=`SmallOff${this.miniId}`,this.miniChartOff=s.init(document.getElementById(this.ids)),this.$nextTick((()=>{this.miniChartOff.setOption(this.OffLineOption,!0),window.addEventListener("resize",(0,r.throttle)((()=>{this.miniChartOff&&this.miniChartOff.resize()}),200))})),this.setLoading("miniLoading",!1)},async getHistoryIncomeData(t){const e=await(0,n.getHistoryIncome)(t);e&&200==e.code&&(this.HistoryIncomeData=e.rows,this.HistoryIncomeTotal=e.total,this.HistoryIncomeData.forEach((t=>{t.date.includes("T")&&(t.date=t.date.split("T")[0])})))},async getHistoryOutcomeData(t){const e=await(0,n.getHistoryOutcome)(t);e&&200==e.code&&(this.HistoryOutcomeData=e.rows,this.HistoryOutcomeTotal=e.total,this.HistoryOutcomeData.forEach((t=>{t.date.includes("T")&&(t.date=`${t.date.split("T")[0]} `)})))},handelMiniChart:(0,r.throttle)((function(t,e){this.Accordion&&(this.miniId=t,this.miner=e,this.$nextTick((()=>{this.getMinerPowerData({key:this.params.key,account:e})})))}),1e3),handelOnLineMiniChart:(0,r.throttle)((function(t,e){this.Accordion&&(this.miniId=t,this.$nextTick((()=>{this.getMinerPowerOnLine({key:this.params.key,account:e})})))}),1e3),handelMiniOffLine:(0,r.throttle)((function(t,e){this.Accordion&&(this.miniId=t,this.$nextTick((()=>{this.getMinerPowerOffLine({key:this.params.key,account:e})})))}),1e3),handleClick(){switch(this.activeName){case"power":this.inCharts();break;case"miningMachineDistribution":this.distributionInCharts();break;default:break}},handleClick2(t){switch(this.search="",this.MinerListParams.filter="",this.Accordion="",this.IncomeParams.limit=10,this.MinerListParams.limit=50,this.OutcomeParams.limit=10,t){case"power":this.activeName2=t,this.getMinerListData(this.MinerListParams);break;case"miningMachine":if(!this.profitShow)return;this.activeName2=t,this.getHistoryIncomeData(this.IncomeParams);break;case"payment":if(!this.paymentShow)return;this.activeName2=t,this.getHistoryOutcomeData(this.OutcomeParams);break;default:break}},onlineStatus(t){switch(this.Accordion="",this.search="",this.MinerListParams.filter="",this.sunTabActiveName=t,this.sunTabActiveName){case"all":this.MinerListParams.type=0;break;case"onLine":this.MinerListParams.type=1;break;case"off-line":this.MinerListParams.type=2;break;default:break}this.getMinerListData(this.MinerListParams)},handleInterval(t){this.PowerParams.interval=t,this.timeActive=t,this.getMinerAccountPowerData(this.PowerParams)},distributionInterval(t){this.PowerDistribution.interval=t,this.barActive=t,this.getAccountPowerDistributionData(this.PowerDistribution)},handelSearch(){this.MinerListParams.filter=this.search,this.getMinerListData(this.MinerListParams)},handleSizeChange(t){console.log(`每页 ${t} 条`),this.OutcomeParams.limit=t,this.OutcomeParams.page=1,this.getHistoryOutcomeData(this.OutcomeParams),this.currentPage=1},handleCurrentChange(t){console.log(`当前页: ${t}`),this.OutcomeParams.page=t,this.getHistoryOutcomeData(this.OutcomeParams)},handleSizeChangeIncome(t){console.log(`每页 ${t} 条`),this.IncomeParams.limit=t,this.IncomeParams.page=1,this.getHistoryIncomeData(this.IncomeParams),this.currentPageIncome=1},handleCurrentChangeIncome(t){console.log(`当前页: ${t}`),this.IncomeParams.page=t,this.getHistoryIncomeData(this.IncomeParams)},handleSizeMiner(t){console.log(`每页 ${t} 条`),this.MinerListParams.limit=t,this.MinerListParams.page=1,this.getMinerListData(this.MinerListParams),this.currentPageMiner=1},handleCurrentMiner(t){console.log(`当前页: ${t}`),this.MinerListParams.page=t,this.getMinerListData(this.MinerListParams)},handelStateList(t){return this.stateList.find((e=>e.value==t)).label||""},handleSort(t){this.MinerListParams.sort=t,"asc"==this.MinerListParams.collation?this.MinerListParams.collation="desc":this.MinerListParams.collation="asc",this.getMinerListData(this.MinerListParams)},handleSort30(){"asc"==this.MinerListParams.collation[0]?this.MinerListParams.collation[0]="desc":this.MinerListParams.collation[0]="asc",this.getMinerListData(this.MinerListParams)},handleSort1h(){"asc"==this.MinerListParams.collation[1]?this.MinerListParams.collation[1]="desc":this.MinerListParams.collation[1]="asc",this.getMinerListData(this.MinerListParams)},handelTimeInterval(t){if(t){var e=60*t,a=Math.floor(e/86400),i=Math.floor(e%86400/3600),s=Math.floor(e%3600/60);if(a)return`(${a}${this.$t("personal.day")} ${i}${this.$t("personal.hour")} ${s}${this.$t("personal.minute")} ${this.$t("personal.front")})`;if(i)return`(${i}${this.$t("personal.hour")} ${s}${this.$t("personal.minute")} ${this.$t("personal.front")})`;if(s)return`( ${s}${this.$t("personal.minute")} ${this.$t("personal.front")})`}},async copyTxid(t){let e=`id${t}`,a=document.getElementById(e);try{await navigator.clipboard.writeText(a.textContent),this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})}catch(i){console.log(i),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}},handelPayment(t){if(t||0==t){let e=this.paymentStatusList.find((e=>e.value==t));return e.label}return""},handelTxid(t){if(this.jurisdiction.coin.includes("dgb"))window.open(`https://chainz.cryptoid.info/dgb/tx.dws?${t}.htm`);else switch(this.jurisdiction.coin){case"nexa":window.open(`https://explorer.nexa.org/tx/${t}`);break;case"mona":window.open(`https://mona.insight.monaco-ex.org/insight/tx/${t}`);break;case"grs":window.open(`https://chainz.cryptoid.info/grs/tx.dws?${t}.htm`);break;case"rxd":window.open(`https://explorer.radiantblockchain.org/tx/${t}`);break;case"enx":window.open(`https://explorer.entropyx.org/txs/${t}`);break;case"alph":window.open(`https://explorer.alephium.org/transactions/${t}`);break;case"xmr":window.open(`https://localmonero.co/blocks/tx/${t}`);break;case"sha3x":window.open(`https://explore.tari.com/txs/${t}`);break;default:break}}}}},69437:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,a(44114),a(18111),a(22489),a(20116),a(7588),a(13579);var s=i(a(35720)),n=a(11503);e["default"]={data(){return{imgSrc:"https://studio.glassnode.com/images/crypto-icons/btc.png",navLabel:"Bitcoin (BTC)",userName:"LX",from:{title:"",kinds:"",description:"",radio:""},kindsList:[{value:"购买咨询",label:"购买咨询"},{value:"财务咨询",label:"财务咨询"},{value:"网页问题",label:"网页问题"},{value:"账户问题",label:"账户问题"},{value:"移动端问题",label:"移动端问题"},{value:"消息订阅",label:"消息订阅"},{value:"指标数据问题",label:"指标数据问题"},{value:"其他",label:"其他"}],params:[],input:1,tableData:[{num:1,time:"2022-09-01 16:00",problem:"账户问题",questionTitle:"账户不能登录",state:"已解决"}],textarea:"我是提交内容",textarea1:"我是回复内容",textarea2:"",replyInput:!0,ticketDetails:{id:"",type:"",title:"",userName:"",desc:"",responName:"",respon:"",submitTime:"",status:"",fileIds:"",files:"",responTime:""},fileList:[],fileType:["jpg","jpeg","png","mp3","aif","aiff","wav","wma","mp4","avi","rmvb"],fileSize:20,fileLimit:3,headers:{"Content-Type":"multipart/form-data"},FormDatas:null,filesId:[],paramsDownload:{id:""},paramsResponTicket:{id:"",files:"",respon:""},paramsAuditTicket:{id:"",msg:""},paramsSubmitAuditTicket:{id:""},identity:{},detailsID:"",downloadUrl:"",workOrderId:"",recordList:[],replyParams:{id:"",desc:"",files:""},orderDetailsLoading:!1,faultList:[],statusList:[{value:1,label:"work.pendingProcessing"},{value:2,label:"work.processed"},{value:10,label:"work.completeWK"}],machineCoding:[],closeDialogVisible:!1,lang:this.$i18n.locale}},mounted(){this.workOrderId=localStorage.getItem("workOrderId"),this.workOrderId&&(this.fetchTicketDetails({id:this.workOrderId}),this.registerRecoveryMethod("fetchTicketDetails",{id:this.workOrderId}))},methods:{handelStatus2(t){try{if(t){let e=this.statusList.find((e=>e.value==t)).label;return this.$t(e)}}catch{return""}},handelPhenomenon(t){if(t)return this.faultList.find((e=>e.id==t)).label},async fetchTicketDetails(t){this.orderDetailsLoading=!0;const e=await(0,n.getTicketDetails)(t);e&&200==e.code&&(this.recordList=e.data.list,this.ticketDetails=e.data),this.orderDetailsLoading=!1},async fetchContinueSubmit(t){this.orderDetailsLoading=!0;let e=await(0,n.getResubmitTicket)(t);e&&200==e.code&&(this.$message({message:this.$t("work.submitted"),type:"success"}),this.replyParams.desc="",this.fetchTicketDetails({id:this.workOrderId}),this.fileList=[]),this.orderDetailsLoading=!1},async fetchEndTicket(t){this.orderDetailsLoading=!0;let e=await(0,n.getEndTicket)(t);e&&200==e.code&&(this.$message({message:this.$t("work.WKend"),type:"success"}),this.$router.push(`/${this.lang}/workOrderRecords`)),this.orderDetailsLoading=!1,this.closeDialogVisible=!1},handelEnd(){this.closeDialogVisible=!0},confirmCols(){this.fetchEndTicket({id:this.ticketDetails.id})},handelResubmit(){this.replyParams.id=this.ticketDetails.id,this.replyParams.desc?(this.orderDetailsLoading=!0,this.fileList[0]?(this.FormDatas=new FormData,this.fileList.forEach((t=>{this.FormDatas.append("file",t)})),this.$axios({method:"post",url:`${s.default.defaults.baseURL}pool/ticket/uploadFile`,headers:this.headers,timeout:3e4,data:this.FormDatas}).then((t=>{this.replyParams.files=t.data.data.id,this.replyParams.files&&this.fetchContinueSubmit(this.replyParams)}))):this.fetchContinueSubmit(this.replyParams),this.orderDetailsLoading=!1):this.$message({message:this.$t("work.confirmInput"),type:"error"})},handelKinds(){},handelEdit(){this.replyInput=!1},handelDownload(t){if(t){this.downloadUrl=` ${s.default.defaults.baseURL}pool/ticket/downloadFile?ids=${t}`;let e=document.createElement("a");e.href=this.downloadUrl,e.click()}},handelChange(t,e){const a=t.name.slice(t.name.lastIndexOf(".")+1).toLowerCase(),i=this.fileType.includes(a),s=t.size/1024/1024<=this.fileSize;if(!i)return this.$message.error(`${this.$t("work.notSupported")} ${a}`),this.fileList=this.fileList.filter((e=>e.name!=t.name)),!1;if(!s)return this.fileList=this.fileList.filter((e=>e.name!=t.name)),this.$message.error(`${this.$t("work.notSupported2")} ${this.fileSize} MB.`),!1;let n=this.fileList.some((e=>e.name==t.name));if(n)return this.$message.warning(this.$t("work.notSupported3")),this.$refs.upload.handleRemove(t),!1;this.fileList.push(t.raw)},handleRemove(t,e){let a=this.fileName.indexOf(t.name);-1!==a&&this.fileName.splice(a,1);let i=this.fileList.indexOf(t);-1!==i&&this.fileList.splice(i,1)},handleExceed(){this.$message({type:"warning",message:this.$t("work.notSupported4")})},handleSuccess(){},handelTime(t){if(t)return`${t.split("T")[0]} ${t.split("T")[1].split(".")[0]}`}},beforeDestroy(){localStorage.setItem("workOrderId","")}}},71995:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(11685),s=a(20155),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"3554fa88",null),l=o.exports},72938:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,a(44114),a(18111),a(22489),a(7588),a(13579);var s=a(11503),n=i(a(35720));e["default"]={data(){return{ruleForm:{desc:"",files:""},rules:{desc:[{required:!0,message:this.$t("work.problemDescription"),trigger:"blur"}]},labelPosition:"top",fileList:[],fileType:["jpg","jpeg","png","mp3","aif","aiff","wav","wma","mp4","avi","rmvb"],fileSize:20,fileLimit:3,headers:{"Content-Type":"multipart/form-data"},FormDatas:null,fileName:[],filesId:[],submitWorkOrderLoading:!1}},watch:{"$i18n.locale":function(){this.translate()}},mounted(){},methods:{translate(){this.rules={desc:[{required:!0,message:this.$t("work.problemDescription"),trigger:"blur"}]}},async fetchSubmitWork(t){this.submitWorkOrderLoading=!0;const e=await(0,s.getSubmitTicket)(t);if(200==e.code){this.$message({message:e.msg,type:"success",showClose:!0});for(const t in this.ruleForm)this.ruleForm[t]="";this.fileList=[]}this.submitWorkOrderLoading=!1},submitForm(){this.$refs.ruleForm.validate((t=>{t&&(console.log("进来?"),this.submitWorkOrderLoading=!0,this.fileList[0]?(this.FormDatas=new FormData,this.fileList.forEach((t=>{this.FormDatas.append("file",t)})),this.$axios({method:"post",url:`${n.default.defaults.baseURL}pool/ticket/uploadFile`,headers:this.headers,timeout:3e4,data:this.FormDatas}).then((t=>{console.log(t,"文件返回"),200!=t.status||200==t.data.code?(this.ruleForm.files=t.data.data.id,this.ruleForm.files&&this.fetchSubmitWork(this.ruleForm)):this.$message.error(t.data.msg)}))):this.fetchSubmitWork(this.ruleForm))})),this.submitWorkOrderLoading=!1},handleExceed(){this.$message({type:"warning",message:this.$t("work.notSupported4")})},uploadFile(t){this.fileItem=t,this.fileList.push(t.file),this.fileName.push(t.file.name)},handleSuccess(){},handelDownload(t){if(t){this.downloadUrl=` ${n.default.defaults.baseURL}ticket/downloadFile?ids=${t}`;let e=document.createElement("a");e.href=this.downloadUrl,e.click()}},handleRemove(t,e){let a=this.fileName.indexOf(t.name);-1!==a&&this.fileName.splice(a,1);let i=this.fileList.indexOf(t);-1!==i&&this.fileList.splice(i,1)},beforeUpload(t){const e=t.name.slice(t.name.lastIndexOf(".")+1).toLowerCase(),a=this.fileType.includes(e),i=t.size/1024/1024<=this.fileSize;return a?i?void 0:(this.$message.error(`${this.$t("work.notSupported2")}${this.fileSize} MB.`),!1):(this.$message.error(`${this.$t("work.notSupported")}:${e}`),!1)},handelChange(t,e){const a=t.name.slice(t.name.lastIndexOf(".")+1).toLowerCase(),i=this.fileType.includes(a),s=t.size/1024/1024<=this.fileSize;if(!i)return this.$message.error(`${this.$t("work.notSupported")} ${a}`),this.fileList=this.fileList.filter((e=>e.name!=t.name)),!1;if(!s)return this.fileList=this.fileList.filter((e=>e.name!=t.name)),this.$message.error(`${this.$t("work.notSupported2")} ${this.fileSize} MB.`),!1;let n=this.fileList.some((e=>e.name==t.name));if(n)return this.$message.warning(this.$t("work.notSupported3")),this.$refs.upload.handleRemove(t),!1;this.fileName.push(t.name),this.fileList.push(t.raw)}}}},73836:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(83625),s=a(2981),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"7b3906e4",null),l=o.exports},75410:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var s=i(a(56958));e.A={mixins:[s.default]}},75904:function(t,e,a){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"loginPage"},[t.$isMobile?e("section",{staticClass:"mobileMain"},[e("header",{staticClass:"headerBox2"},[e("img",{attrs:{src:a(87596),alt:"logo"},on:{click:function(e){return t.handelJump("/")}}}),e("span",{staticClass:"title"},[t._v(t._s(t.$t("home.MRegister")))]),e("span")]),t._m(0),e("section",{staticClass:"formInput"},[e("el-form",{ref:"registerForm",staticClass:"demo-ruleForm",attrs:{model:t.registerForm,"status-icon":"",rules:t.registerRules}},[e("el-form-item",{attrs:{prop:"email"}},[e("el-input",{attrs:{type:"email","prefix-icon":"el-icon-message",autocomplete:"off",placeholder:t.$t("user.Account")},model:{value:t.registerForm.email,callback:function(e){t.$set(t.registerForm,"email",e)},expression:"registerForm.email"}})],1),e("el-form-item",{attrs:{prop:"emailCode"}},[e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"text","prefix-icon":"el-icon-chat-line-square",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.registerForm.emailCode,callback:function(e){t.$set(t.registerForm,"emailCode",e)},expression:"registerForm.emailCode"}}),e("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabled},on:{click:t.handelCode}},[t.countDownTime<60&&t.countDownTime>0?e("span",[t._v(t._s(t.countDownTime))]):t._e(),t._v(t._s(t.$t(t.bthText)))])],1)]),e("el-form-item",{attrs:{prop:"password"}},[e("el-input",{attrs:{title:t.$t("user.passwordPrompt"),type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",placeholder:t.$t("user.password"),"show-password":""},model:{value:t.registerForm.password,callback:function(e){t.$set(t.registerForm,"password",e)},expression:"registerForm.password"}}),e("p",{staticClass:"remind",attrs:{title:t.$t("user.passwordPrompt")}},[t._v(" "+t._s(t.$t("user.passwordPrompt"))+" ")])],1),e("el-form-item",{attrs:{prop:"confirmPassword"}},[e("el-input",{attrs:{type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",placeholder:t.$t("user.confirmPassword"),"show-password":""},model:{value:t.registerForm.confirmPassword,callback:function(e){t.$set(t.registerForm,"confirmPassword",e)},expression:"registerForm.confirmPassword"}})],1),e("div",{staticClass:"register"},[e("span",[t._v(t._s(t.$t("user.havingAnAccount"))+" "),e("span",{staticClass:"goLogin",on:{click:t.goLogin}},[t._v(t._s(t.$t("user.login")))])])]),e("el-form-item",[e("el-button",{staticStyle:{width:"100%",background:"#661fff",color:"aliceblue","margin-top":"6%"},attrs:{loading:t.registerLoading},on:{click:t.handleRegister}},[t._v(t._s(t.$t("user.register")))]),e("div",{staticStyle:{"text-align":"left"}},[e("el-radio",{attrs:{label:"zh"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("简体中文")]),e("el-radio",{attrs:{label:"en"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("English")])],1)],1)],1)],1)]):e("section",{staticClass:"loginModular"},[e("div",{staticClass:"leftBox"},[e("img",{staticClass:"logo",attrs:{src:a(79613),alt:"logo"},on:{click:t.handleClick}}),e("img",{attrs:{src:a(29500),alt:"Register Mining Pool"}})]),e("div",{staticClass:"loginBox"},[e("div",{staticClass:"closeBox",on:{click:t.handleClick}},[e("i",{staticClass:"iconfont icon-guanbi1 close"})]),e("el-form",{ref:"registerForm",staticClass:"demo-ruleForm",attrs:{model:t.registerForm,"status-icon":"",rules:t.registerRules}},[e("el-form-item",[e("p",{staticClass:"loginTitle"},[t._v(t._s(t.$t("user.newUser")))])]),e("el-form-item",{attrs:{prop:"email"}},[e("el-input",{attrs:{type:"email","prefix-icon":"el-icon-message",autocomplete:"off",placeholder:t.$t("user.Account")},model:{value:t.registerForm.email,callback:function(e){t.$set(t.registerForm,"email",e)},expression:"registerForm.email"}})],1),e("el-form-item",{attrs:{prop:"emailCode"}},[e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"text","prefix-icon":"el-icon-chat-line-square",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.registerForm.emailCode,callback:function(e){t.$set(t.registerForm,"emailCode",e)},expression:"registerForm.emailCode"}}),e("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabled},on:{click:t.handelCode}},[t.countDownTime<60&&t.countDownTime>0?e("span",[t._v(t._s(t.countDownTime))]):t._e(),t._v(t._s(t.$t(t.bthText)))])],1)]),e("el-form-item",{attrs:{prop:"password"}},[e("el-input",{attrs:{title:t.$t("user.passwordPrompt"),type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",placeholder:t.$t("user.password"),"show-password":""},model:{value:t.registerForm.password,callback:function(e){t.$set(t.registerForm,"password",e)},expression:"registerForm.password"}}),e("p",{staticClass:"remind",attrs:{title:t.$t("user.passwordPrompt")}},[t._v(" "+t._s(t.$t("user.passwordPrompt"))+" ")])],1),e("el-form-item",{attrs:{prop:"confirmPassword"}},[e("el-input",{attrs:{type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",placeholder:t.$t("user.confirmPassword"),"show-password":""},model:{value:t.registerForm.confirmPassword,callback:function(e){t.$set(t.registerForm,"confirmPassword",e)},expression:"registerForm.confirmPassword"}})],1),e("div",{staticClass:"register"},[e("span",[t._v(t._s(t.$t("user.havingAnAccount"))+" "),e("span",{staticClass:"goLogin",on:{click:t.goLogin}},[t._v(t._s(t.$t("user.login")))])])]),e("el-form-item",[e("el-button",{staticStyle:{width:"100%",background:"#661fff",color:"aliceblue","margin-top":"6%"},attrs:{loading:t.registerLoading},on:{click:t.handleRegister}},[t._v(t._s(t.$t("user.register")))]),e("div",{staticStyle:{"text-align":"left"}},[e("el-radio",{attrs:{label:"zh"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("简体中文")]),e("el-radio",{attrs:{label:"en"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("English")])],1)],1)],1)],1)])])},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"imgTop"},[e("img",{attrs:{src:a(11427),alt:"register",loading:"lazy"}})])}]},78221:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var s=i(a(2095));e.A={mixins:[s.default]}},79320:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.submitWorkOrderLoading,expression:"submitWorkOrderLoading"}],staticClass:"submitWorkOrder"},[t.$isMobile?e("section",{staticClass:"WorkOrder"},[e("h3",[t._v(t._s(t.$t("work.SubmitWK")))]),e("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"100px","label-position":t.labelPosition}},[e("el-form-item",{attrs:{label:t.$t("work.problem"),prop:"desc"}},[e("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",resize:"none",autosize:{minRows:5,maxRows:10},placeholder:t.$t("work.PleaseEnter"),maxlength:"250","show-word-limit":""},model:{value:t.ruleForm.desc,callback:function(e){t.$set(t.ruleForm,"desc",e)},expression:"ruleForm.desc"}})],1),e("el-form-item",{staticStyle:{width:"100%"}},[e("div",{staticStyle:{width:"100%","font-weight":"600",color:"rgba(0,0,0,0.7)"}},[t._v(t._s(t.$t("work.enclosure")))]),e("p",{staticClass:"prompt"},[t._v(" "+t._s(t.$t("work.fileType"))+":jpg, jpeg, png, mp3, aif, aiff, wav, wma, mp4, avi, rmvb ")]),e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{drag:"",action:"",multiple:"",limit:t.fileLimit,"on-exceed":t.handleExceed,"on-remove":t.handleRemove,"before-upload":t.beforeUpload,"file-list":t.fileList,"on-change":t.handelChange,"show-file-list":"","auto-upload":!1}},[e("i",{staticClass:"el-icon-upload"}),e("div",{staticClass:"el-upload__text"},[t._v(" "+t._s(t.$t("work.fileCharacters"))),e("em",[t._v(" "+t._s(t.$t("work.fileCharacters2")))])])])],1),e("el-form-item",[e("el-button",{staticClass:"elBtn",staticStyle:{width:"200px"},attrs:{type:"plain"},on:{click:t.submitForm}},[t._v(" "+t._s(t.$t("work.submit")))])],1)],1)],1):e("section",{staticClass:"WorkOrder"},[e("h3",[t._v(t._s(t.$t("work.SubmitWK")))]),e("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"100px","label-position":t.labelPosition}},[e("el-form-item",{attrs:{label:t.$t("work.problem"),prop:"desc"}},[e("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",resize:"none",autosize:{minRows:5,maxRows:10},placeholder:t.$t("work.PleaseEnter"),maxlength:"250","show-word-limit":""},model:{value:t.ruleForm.desc,callback:function(e){t.$set(t.ruleForm,"desc",e)},expression:"ruleForm.desc"}})],1),e("el-form-item",{staticStyle:{width:"50%"}},[e("div",{staticStyle:{width:"100%","font-weight":"600",color:"rgba(0,0,0,0.7)"}},[t._v(t._s(t.$t("work.enclosure")))]),e("p",{staticClass:"prompt"},[t._v(" "+t._s(t.$t("work.fileType"))+":jpg, jpeg, png, mp3, aif, aiff, wav, wma, mp4, avi, rmvb ")]),e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{drag:"",action:"",multiple:"",limit:t.fileLimit,"on-exceed":t.handleExceed,"on-remove":t.handleRemove,"before-upload":t.beforeUpload,"file-list":t.fileList,"on-change":t.handelChange,"show-file-list":"","auto-upload":!1}},[e("i",{staticClass:"el-icon-upload"}),e("div",{staticClass:"el-upload__text"},[t._v(" "+t._s(t.$t("work.fileCharacters"))),e("em",[t._v(" "+t._s(t.$t("work.fileCharacters2")))])])])],1),e("el-form-item",[e("el-button",{staticClass:"elBtn",staticStyle:{width:"200px"},attrs:{type:"plain"},on:{click:t.submitForm}},[t._v(" "+t._s(t.$t("work.submit")))])],1)],1)],1)])},e.Yp=[]},80238:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,a(44114),a(18111),a(20116);i(a(76466));var s=a(11503);e["default"]={data(){return{from0:[],from1:[],from2:[],from10:[],params:{page:1,limit:10,status:1},rechargeRecord:!1,activeName:"pendingProcessing",workBKLoading:!1,options:[{value:1,label:"待处理"},{value:3,label:"等待收货中"},{value:5,label:"已报价,等待付款"},{value:6,label:"已付款"},{value:7,label:"正在维修"},{value:8,label:"维修完成,等待发回"},{value:9,label:"已发回"},{value:10,label:"已完结"},{value:20,label:"确认收款中"},{value:21,label:"待寄件"}],value1:"",labelPosition:"top",formLabelAlign:{name:"",region:"",type:""},iconShow:!1,totalLimit0:0,totalLimit1:0,totalLimit2:0,totalLimit10:0,currentPage0:1,currentPage1:1,currentPage2:1,currentPage10:1,pageSizes:[10,50,100,300],faultList:[{id:1,name:"整机无算力",label:"user.fault"},{id:2,name:"某一块板无算力",label:"user.fault2"},{id:3,name:"整机算力过低",label:"user.fault3"},{id:4,name:"某一块板算力过低",label:"user.fault4"},{id:5,name:"其他故障",label:"user.fault5"}],typeList:[],statusList:[{value:1,label:"work.pendingProcessing"},{value:2,label:"work.processed"},{value:10,label:"work.completeWK"}],lang:this.$i18n.locale}},watch:{params:{handler(t){t.low||t.high?this.iconShow=!0:this.iconShow=!1},deep:!0}},mounted(){switch(this.activeName=sessionStorage.getItem("helpActiveName"),this.activeName||(this.activeName="pendingProcessing"),this.activeName){case"all":this.params.status=0,this.fetchRechargeRecord0(this.params),this.registerRecoveryMethod("fetchRechargeRecord0",this.params);break;case"pending":this.params.status=2,this.fetchRechargeRecord2(this.params),this.registerRecoveryMethod("fetchRechargeRecord2",this.params);break;case"Finished":this.params.status=10,this.fetchRechargeRecord10(this.params),this.registerRecoveryMethod("fetchRechargeRecord10",this.params);break;case"pendingProcessing":this.params.status=1,this.fetchRechargeRecord1(this.params),this.registerRecoveryMethod("fetchRechargeRecord1",this.params);break;default:break}},methods:{async fetchBKendTicket(t){this.workBKLoading=!0;const e=await(0,s.getBKendTicket)(t);if(e&&200==e.code)switch(this.$message({message:this.$t("work.WKend"),type:"success"}),this.activeName){case"all":this.params.status=0,this.fetchRechargeRecord0(this.params);break;case"pending":this.params.status=2,this.fetchRechargeRecord2(this.params);break;case"Finished":this.params.status=10,this.fetchRechargeRecord10(this.params);break;case"pendingProcessing":this.params.status=1,this.fetchRechargeRecord1(this.params);break;default:break}this.workBKLoading=!1},handelType2(t){if(t)return this.typeList.find((e=>e.name==t)).label},handelStatus2(t){if(this.statusList&&t){const e=this.statusList.find((e=>e.value==t));if(e)return e.label}return""},async fetchRechargeRecord0(t){this.workBKLoading=!0;const e=await(0,s.getTicketList)(t);this.totalLimit0=e.total,this.from0=e.rows,this.workBKLoading=!1},async fetchRechargeRecord1(t){this.workBKLoading=!0;const e=await(0,s.getTicketList)(t);console.log(e,"哦客服"),this.from1=e.rows,this.totalLimit1=e.total,this.workBKLoading=!1},async fetchRechargeRecord2(t){this.workBKLoading=!0;const e=await(0,s.getTicketList)(t);this.from2=e.rows,this.totalLimit2=e.total,this.workBKLoading=!1},async fetchRechargeRecord10(t){this.workBKLoading=!0;const e=await(0,s.getTicketList)(t);this.from10=e.rows,this.totalLimit10=e.total,this.workBKLoading=!1},handelDetails(t){this.$router.push({path:`/${this.lang}/BKWorkDetails`,query:{totalID:t.id}}).catch((t=>{"NavigationDuplicated"!==t.name&&console.error("路由跳转失败:",t)})),localStorage.setItem("totalID",t.id)},handelPhenomenon(t){if(t)return this.faultList.find((e=>e.id==t)).label},handelTime(t){if(t)return`${t.split("T")[0]} ${t.split("T")[1].split(".")[0]}`},handleChange(){if(this.value1)this.params.start=this.value1[0],this.params.end=this.value1[1];else switch(this.params.start="",this.params.end="",this.activeName){case"all":this.params.type=2,this.fetchRechargeRecord2(this.params);break;case"support":this.params.type=0,this.fetchRechargeRecord0(this.params);break;case"service":this.params.type=1,this.fetchRechargeRecord1(this.params);break;default:break}},handleSizeChange(t){switch(console.log(`每页 ${t} 条`),this.params.limit=t,this.params.page=1,this.activeName){case"all":this.params.status=0,this.fetchRechargeRecord0(this.params);break;case"pending":this.params.status=2,this.fetchRechargeRecord2(this.params);break;case"Finished":this.params.status=10,this.fetchRechargeRecord10(this.params);break;case"pendingProcessing":this.params.status=1,this.fetchRechargeRecord1(this.params);break;default:break}this.currentPage10=1,this.currentPage1=1,this.currentPage2=1,this.currentPage0=1},handleCurrentChange(t){switch(console.log(`当前页: ${t}`),this.params.page=t,this.activeName){case"all":this.params.status=0,this.fetchRechargeRecord0(this.params);break;case"pending":this.params.status=2,this.fetchRechargeRecord2(this.params);break;case"Finished":this.params.status=10,this.fetchRechargeRecord10(this.params);break;case"pendingProcessing":this.params.status=1,this.fetchRechargeRecord1(this.params);break;default:break}},handleElTabs(t,e){switch(sessionStorage.setItem("helpActiveName",t.name),this.params.page=1,this.params.limit=10,this.activeName){case"all":this.params.status=0,this.fetchRechargeRecord0(this.params);break;case"pending":this.params.status=2,this.fetchRechargeRecord2(this.params);break;case"Finished":this.params.status=10,this.fetchRechargeRecord10(this.params);break;case"pendingProcessing":this.params.status=1,this.fetchRechargeRecord1(this.params);break;default:break}},handleClick(){this.params.address=""},handelCloseWork(t){this.fetchBKendTicket({id:t.id})}}}},83240:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var s=i(a(21440));e.A={mixins:[s.default]}},83443:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.WKRecordsLoading,expression:"WKRecordsLoading"}],staticClass:"workOrderRecords"},[t.$isMobile?e("section",{staticClass:"workMain"},[e("h3",[t._v(t._s(t.$t("personal.workOrderRecord")))]),e("el-tabs",{staticStyle:{width:"100%"},on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-tab-pane",{staticClass:"pendingMain",attrs:{label:t.$t("work.pending"),name:"pending"}},[e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("work.WorkID")}},[t._v("ID")]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.status")))]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.operation")))])]),e("div",{staticClass:"rollContentBox"},[e("el-collapse",{attrs:{accordion:""}},t._l(t.from1,(function(a){return e("el-collapse-item",{key:a.id,attrs:{name:a.id}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[t._v(t._s(a.id))]),e("span",[t._v(t._s(t.$t(t.handelStatus2(a.status))))]),e("span",{on:{click:function(e){return t.handelDetails(a)}}},[t._v(" "+t._s(t.$t("work.details")))])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("work.submissionTime"))+":")]),e("p",[t._v(t._s(t.handelTime(a.date)))])])]),e("div",{attrs:{id:"hash"}},[e("p",[t._v(t._s(t.$t("work.mailbox"))+": ")]),e("p",[t._v(t._s(a.email))])])],2)})),1)],1)])]),e("el-tab-pane",{attrs:{label:t.$t("work.completeWK"),name:"success"}},[e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("work.WorkID")}},[t._v("ID")]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.status")))]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.operation")))])]),e("div",{staticClass:"rollContentBox"},[e("el-collapse",{attrs:{accordion:""}},t._l(t.from2,(function(a){return e("el-collapse-item",{key:a.id,attrs:{name:a.id}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[t._v(t._s(a.id))]),e("span",[t._v(t._s(t.$t(t.handelStatus2(a.status))))]),e("span",{on:{click:function(e){return t.handelDetails(a)}}},[t._v(" "+t._s(t.$t("work.details")))])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("work.submissionTime"))+":")]),e("p",[t._v(t._s(t.handelTime(a.date)))])])]),e("div",{attrs:{id:"hash"}},[e("p",[t._v(t._s(t.$t("work.mailbox"))+": ")]),e("p",[t._v(t._s(a.email))])])],2)})),1)],1)])]),e("el-tab-pane",{attrs:{label:t.$t("work.allWK"),name:"reply"}},[e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("work.WorkID")}},[t._v("ID")]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.status")))]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.operation")))])]),e("div",{staticClass:"rollContentBox"},[e("el-collapse",{attrs:{accordion:""}},t._l(t.from0,(function(a){return e("el-collapse-item",{key:a.id,attrs:{name:a.id}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[t._v(t._s(a.id))]),e("span",[t._v(t._s(t.$t(t.handelStatus2(a.status))))]),e("span",{on:{click:function(e){return t.handelDetails(a)}}},[t._v(" "+t._s(t.$t("work.details")))])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("work.submissionTime"))+":")]),e("p",[t._v(t._s(t.handelTime(a.date)))])])]),e("div",{attrs:{id:"hash"}},[e("p",[t._v(t._s(t.$t("work.mailbox"))+": ")]),e("p",[t._v(t._s(a.email))])])],2)})),1)],1)])])],1)],1):e("section",{staticClass:"workBK"},[e("el-row",[e("el-col",{staticStyle:{display:"flex","align-items":"center"},attrs:{span:24}},[e("h2",[t._v(t._s(t.$t("personal.workOrderRecord")))]),e("i",{staticClass:"i ishuaxin1 Refresh"})])],1),e("el-tabs",{on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-tab-pane",{staticClass:"pendingMain",attrs:{label:t.$t("work.pending"),name:"pending"}},[e("el-table",{staticClass:"table",staticStyle:{width:"100%","text-transform":"none"},attrs:{"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},data:t.from1,"max-height":"600",stripe:""}},[e("el-table-column",{attrs:{prop:"id",label:t.$t("work.WorkID")}}),e("el-table-column",{attrs:{prop:"date",label:t.$t("work.submissionTime")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(t.handelTime(a.row.date)))])]}}])}),e("el-table-column",{attrs:{prop:"email",label:t.$t("work.mailbox"),"show-overflow-tooltip":!0}}),e("el-table-column",{attrs:{prop:"status",label:t.$t("work.status")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(t.$t(t.handelStatus2(a?.row?.status)))+" ")])]}}])}),e("el-table-column",{attrs:{fixed:"right",label:t.$t("work.operation")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.handelDetails(a.row)}}},[t._v(" "+t._s(t.$t("work.details"))+" ")])]}}])})],1)],1),e("el-tab-pane",{attrs:{label:t.$t("work.completeWK"),name:"success"}},[e("el-table",{staticClass:"table",staticStyle:{width:"100%","text-transform":"none"},attrs:{"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},data:t.from2,"max-height":"600",stripe:""}},[e("el-table-column",{attrs:{prop:"id",label:t.$t("work.WorkID")}}),e("el-table-column",{attrs:{prop:"date",label:t.$t("work.submissionTime")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(t.handelTime(a.row.date)))])]}}])}),e("el-table-column",{attrs:{prop:"email",label:t.$t("work.mailbox"),"show-overflow-tooltip":!0}}),e("el-table-column",{attrs:{prop:"status",label:t.$t("work.status")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(t.$t(t.handelStatus2(a?.row?.status)))+" ")])]}}])}),e("el-table-column",{attrs:{fixed:"right",label:t.$t("work.operation")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.handelDetails(a.row)}}},[t._v(" "+t._s(t.$t("work.details"))+" ")])]}}])})],1)],1),e("el-tab-pane",{attrs:{label:t.$t("work.allWK"),name:"reply"}},[e("el-table",{staticClass:"table",staticStyle:{width:"100%","text-transform":"none"},attrs:{"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},data:t.from0,stripe:"","max-height":"600"}},[e("el-table-column",{attrs:{prop:"id",label:t.$t("work.WorkID")}}),e("el-table-column",{attrs:{prop:"date",label:t.$t("work.submissionTime")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(t.handelTime(a.row.date)))])]}}])}),e("el-table-column",{attrs:{prop:"email",label:t.$t("work.mailbox"),"show-overflow-tooltip":!0}}),e("el-table-column",{attrs:{prop:"status",label:t.$t("work.status")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(t.$t(t.handelStatus2(a?.row?.status)))+" ")])]}}])}),e("el-table-column",{attrs:{fixed:"right",label:t.$t("work.operation")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.handelDetails(a.row)}}},[t._v(" "+t._s(t.$t("work.details"))+" ")])]}}])})],1)],1)],1),e("el-dialog",{attrs:{title:t.$t("user.prompt3"),visible:t.dialogVisible,width:"30%"},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("span",[t._v(t._s(t.$t(t.msg)))]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v(t._s(t.$t("user.cancel")))]),e("el-button",{attrs:{type:"primary"},on:{click:t.determineInformation}},[t._v(" "+t._s(t.$t("user.Confirm")))])],1)])],1)])},e.Yp=[]},83625:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"split-editor-demo"},[e("div",{staticClass:"page-header"},[t._m(0),e("div",{staticClass:"header-actions"},[e("el-button",{attrs:{loading:t.saveLoading,icon:"el-icon-document",type:"success"},on:{click:t.handleSave}},[t._v(" 保存内容 ")]),e("el-button",{attrs:{icon:"el-icon-delete",type:"danger"},on:{click:t.handleClear}},[t._v(" 清空内容 ")])],1)]),e("el-card",{staticClass:"document-config",attrs:{shadow:"never"}},[e("div",{attrs:{slot:"header"},slot:"header"},[e("span",[e("i",{staticClass:"el-icon-setting"}),t._v(" 文档配置")])]),e("el-form",{staticClass:"config-form",attrs:{model:t.documentForm,"label-width":"100px"}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"文档标题"}},[e("el-input",{attrs:{placeholder:"请输入文档标题"},model:{value:t.documentForm.title,callback:function(e){t.$set(t.documentForm,"title",e)},expression:"documentForm.title"}})],1)],1),e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"文档类型"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择文档类型"},model:{value:t.documentForm.type,callback:function(e){t.$set(t.documentForm,"type",e)},expression:"documentForm.type"}},[e("el-option",{attrs:{label:"服务条款",value:"1"}}),e("el-option",{attrs:{label:"API文档",value:"2"}}),e("el-option",{attrs:{label:"挖矿教程",value:"3"}}),e("el-option",{attrs:{label:"其他",value:"0"}})],1)],1)],1),e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"文档状态"}},[e("el-tag",{attrs:{type:"published"===t.documentForm.status?"success":"info"}},[t._v(" "+t._s("published"===t.documentForm.status?"已发布":"草稿")+" ")])],1)],1)],1)],1)],1),e("el-card",{staticClass:"editor-card",attrs:{shadow:"never"}},[e("div",{attrs:{slot:"header"},slot:"header"},[e("span",[e("i",{staticClass:"el-icon-edit-outline"}),t._v(" 分屏编辑器")]),e("div",{staticClass:"header-tips"},[e("el-tag",{attrs:{size:"mini",type:"info"}},[t._v("支持实时预览")]),e("el-tag",{attrs:{size:"mini",type:"success"}},[t._v("自动保存")])],1)]),e("SplitScreenEditor",{ref:"splitEditor",attrs:{height:500,options:t.editorOptions},on:{change:t.handleContentChange,publish:t.handlePublish},model:{value:t.documentForm.content,callback:function(e){t.$set(t.documentForm,"content",e)},expression:"documentForm.content"}})],1),e("el-card",{staticClass:"usage-guide",attrs:{shadow:"never"}},[e("div",{attrs:{slot:"header"},slot:"header"},[e("span",[e("i",{staticClass:"el-icon-info"}),t._v(" 使用说明")]),e("el-button",{staticStyle:{float:"right",padding:"3px 0"},attrs:{type:"text"},on:{click:function(e){t.showGuide=!t.showGuide}}},[t._v(" "+t._s(t.showGuide?"收起":"展开")+" ")])],1),e("transition",{attrs:{name:"slide-fade"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.showGuide,expression:"showGuide"}],staticClass:"guide-content"},[e("div",{staticClass:"guide-section"},[e("h4",[t._v("🖥️ 三种显示模式")]),e("ul",[e("li",[e("strong",[t._v("编辑模式")]),t._v(":只显示编辑器,专注于内容编写")]),e("li",[e("strong",[t._v("预览模式")]),t._v(":只显示预览效果,方便查看最终结果")]),e("li",[e("strong",[t._v("分屏模式")]),t._v(":左边编辑,右边实时预览,所见即所得")])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("⚡ 快捷功能")]),e("ul",[e("li",[e("strong",[t._v("插入圆点")]),t._v(':点击工具栏中的"插入圆点"按钮,在当前位置插入 • 符号')]),e("li",[e("strong",[t._v("全屏编辑")]),t._v(":点击全屏按钮或按 F11 进入全屏模式")]),e("li",[e("strong",[t._v("复制HTML")]),t._v(":在预览区域可以复制生成的HTML代码")]),e("li",[e("strong",[t._v("字数统计")]),t._v(":实时显示当前内容的字符数量")])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("🎯 圆点列表示例")]),e("p",[t._v("在编辑器中输入以下内容来创建带圆点的列表:")]),e("div",{staticClass:"example-box"},[e("p",[e("code",[t._v("• ALEO矿工必须质押一定数量的ALEO代币")])]),e("p",[e("code",[t._v("• 否则将无法提交PoW工作量证明")])]),e("p",[e("code",[t._v("• 质押金额直接影响挖矿收益")])])])])])])],1)],1)},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"header-content"},[e("h1",{staticClass:"page-title"},[e("i",{staticClass:"el-icon-s-unfold"}),t._v(" 分屏编辑器演示 ")]),e("p",{staticClass:"page-subtitle"},[t._v("支持编辑、预览、分屏三种模式的富文本编辑器")])])}]},84419:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.workBKLoading,expression:"workBKLoading"}],staticClass:"workBK"},[t.$isMobile?e("section",{staticClass:"workMain"},[e("h3",[t._v(t._s(t.$t("work.WorkOrderManagement")))]),e("el-tabs",{staticStyle:{width:"100%"},on:{"tab-click":t.handleElTabs},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-tab-pane",{staticClass:"pendingMain",attrs:{label:t.$t("work.pendingProcessing"),name:"pendingProcessing"}},[e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("work.WorkID")}},[t._v("ID")]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.status")))]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.operation")))])]),e("div",{staticClass:"rollContentBox"},[e("el-collapse",{attrs:{accordion:""}},t._l(t.from1,(function(a){return e("el-collapse-item",{key:a.id,attrs:{name:a.id}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[t._v(t._s(a.id))]),e("span",[t._v(t._s(t.$t(t.handelStatus2(a.status))))]),e("span",{on:{click:function(e){return t.handelDetails(a)}}},[t._v(" "+t._s(t.$t("work.details")))])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("work.submissionTime"))+":")]),e("p",[t._v(t._s(t.handelTime(a.date)))])])]),e("div",{attrs:{id:"hash"}},[e("p",[t._v(t._s(t.$t("work.mailbox"))+": ")]),e("p",[t._v(t._s(a.email))])])],2)})),1)],1),e("div",{staticClass:"paginationBox"},[e("el-pagination",{attrs:{"current-page":t.currentPage1,"page-sizes":t.pageSizes,layout:"sizes, prev, pager, next",total:t.totalLimit1},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage1=e},"update:current-page":function(e){t.currentPage1=e}}})],1)])]),e("el-tab-pane",{attrs:{label:t.$t("work.pending"),name:"pending"}},[e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("work.WorkID")}},[t._v("ID")]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.status")))]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.operation")))])]),e("div",{staticClass:"rollContentBox"},[e("el-collapse",{attrs:{accordion:""}},t._l(t.from2,(function(a){return e("el-collapse-item",{key:a.id,attrs:{name:a.id}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[t._v(t._s(a.id))]),e("span",[t._v(t._s(t.$t(t.handelStatus2(a.status))))]),e("span",{on:{click:function(e){return t.handelDetails(a)}}},[t._v(" "+t._s(t.$t("work.details")))])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("work.submissionTime"))+":")]),e("p",[t._v(t._s(t.handelTime(a.date)))])])]),e("div",{attrs:{id:"hash"}},[e("p",[t._v(t._s(t.$t("work.mailbox"))+": ")]),e("p",[t._v(t._s(a.email))])])],2)})),1)],1),e("div",{staticClass:"paginationBox"},[e("el-pagination",{attrs:{"current-page":t.currentPage2,"page-sizes":t.pageSizes,layout:" sizes, prev, pager, next",total:t.totalLimit2},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage2=e},"update:current-page":function(e){t.currentPage2=e}}})],1)])]),e("el-tab-pane",{attrs:{label:t.$t("work.completeWK"),name:"Finished"}},[e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("work.WorkID")}},[t._v("ID")]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.status")))]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.operation")))])]),e("div",{staticClass:"rollContentBox"},[e("el-collapse",{attrs:{accordion:""}},t._l(t.from10,(function(a){return e("el-collapse-item",{key:a.id,attrs:{name:a.id}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[t._v(t._s(a.id))]),e("span",[t._v(t._s(t.$t(t.handelStatus2(a.status))))]),e("span",{on:{click:function(e){return t.handelDetails(a)}}},[t._v(" "+t._s(t.$t("work.details")))])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("work.submissionTime"))+":")]),e("p",[t._v(t._s(t.handelTime(a.date)))])])]),e("div",{attrs:{id:"hash"}},[e("p",[t._v(t._s(t.$t("work.mailbox"))+": ")]),e("p",[t._v(t._s(a.email))])])],2)})),1)],1),e("div",{staticClass:"paginationBox"},[e("el-pagination",{attrs:{"current-page":t.currentPage10,"page-sizes":t.pageSizes,layout:" sizes, prev, pager, next",total:t.totalLimit10},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage10=e},"update:current-page":function(e){t.currentPage10=e}}})],1)])]),e("el-tab-pane",{attrs:{label:t.$t("work.allWK"),name:"all"}},[e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("work.WorkID")}},[t._v("ID")]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.status")))]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.operation")))])]),e("div",{staticClass:"rollContentBox"},[e("el-collapse",{attrs:{accordion:""}},t._l(t.from0,(function(a){return e("el-collapse-item",{key:a.id,attrs:{name:a.id}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[t._v(t._s(a.id))]),e("span",[t._v(t._s(t.$t(t.handelStatus2(a.status))))]),e("span",{on:{click:function(e){return t.handelDetails(a)}}},[t._v(" "+t._s(t.$t("work.details")))])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("work.submissionTime"))+":")]),e("p",[t._v(t._s(t.handelTime(a.date)))])])]),e("div",{attrs:{id:"hash"}},[e("p",[t._v(t._s(t.$t("work.mailbox"))+": ")]),e("p",[t._v(t._s(a.email))])])],2)})),1)],1),e("div",{staticClass:"paginationBox"},[e("el-pagination",{attrs:{"current-page":t.currentPage0,"page-sizes":t.pageSizes,layout:"sizes, prev, pager, next",total:t.totalLimit0},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage0=e},"update:current-page":function(e){t.currentPage0=e}}})],1)])])],1)],1):e("section",{staticClass:"workBKContent"},[e("el-row",{staticStyle:{"margin-bottom":"18px"}},[e("el-col",{staticStyle:{display:"flex","align-items":"center"},attrs:{span:24}},[e("h2",[t._v(t._s(t.$t("work.WorkOrderManagement")))]),e("i",{staticClass:"i ishuaxin1 Refresh"})])],1),e("el-tabs",{on:{"tab-click":t.handleElTabs},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-tab-pane",{attrs:{label:t.$t("work.pendingProcessing"),name:"pendingProcessing"}},[e("el-table",{staticClass:"table",staticStyle:{width:"100%","text-transform":"none"},attrs:{"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},data:t.from1,"max-height":"550",stripe:""}},[e("el-table-column",{attrs:{prop:"id",label:t.$t("work.WorkID")}}),e("el-table-column",{attrs:{prop:"email",label:t.$t("work.mailbox"),"show-overflow-tooltip":!0,width:"230"}}),e("el-table-column",{attrs:{prop:"date",label:t.$t("work.submissionTime")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(t.handelTime(a.row.date)))])]}}])}),e("el-table-column",{attrs:{prop:"status",label:t.$t("work.status")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(t.$t(t.handelStatus2(a.row.status)))+" ")])]}}])}),e("el-table-column",{attrs:{fixed:"right",label:t.$t("work.operation"),"min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.handelDetails(a.row)}}},[t._v(" "+t._s(t.$t("work.details"))+" ")]),e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("work.confirm"),"cancel-button-text":t.$t("work.cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("work.confirmClose")},on:{confirm:function(e){return t.handelCloseWork(a.row)}}},[e("el-button",{staticClass:"elBtn",attrs:{slot:"reference",size:"small"},slot:"reference"},[t._v(t._s(t.$t("work.close")))])],1)]}}])})],1),e("el-row",{staticStyle:{"margin-top":"20px","margin-bottom":"10px"},attrs:{type:"flex",justify:"center"}},[e("el-col",{attrs:{span:10}},[e("el-pagination",{attrs:{"current-page":t.currentPage1,"page-sizes":t.pageSizes,layout:"total, sizes, prev, pager, next, jumper",total:t.totalLimit1},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage1=e},"update:current-page":function(e){t.currentPage1=e}}})],1)],1)],1),e("el-tab-pane",{attrs:{label:t.$t("work.pending"),name:"pending"}},[e("el-table",{staticClass:"table",staticStyle:{width:"100%","text-transform":"none"},attrs:{"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},data:t.from2,"max-height":"600",stripe:""}},[e("el-table-column",{attrs:{prop:"id",label:t.$t("work.WorkID"),width:"150"}}),e("el-table-column",{attrs:{prop:"email",label:t.$t("work.mailbox"),"show-overflow-tooltip":!0,width:"230"}}),e("el-table-column",{attrs:{prop:"date",label:t.$t("work.submissionTime"),width:"150"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(t.handelTime(a.row.date)))])]}}])}),e("el-table-column",{attrs:{prop:"status",label:t.$t("work.status"),width:"150"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(t.$t(t.handelStatus2(a.row.status)))+" ")])]}}])}),e("el-table-column",{attrs:{fixed:"right",label:t.$t("work.operation"),"min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.handelDetails(a.row)}}},[t._v(" "+t._s(t.$t("work.details"))+" ")]),e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("work.confirm"),"cancel-button-text":t.$t("work.cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("work.confirmClose")},on:{confirm:function(e){return t.handelCloseWork(a.row)}}},[e("el-button",{staticClass:"elBtn",attrs:{slot:"reference",size:"small"},slot:"reference"},[t._v(t._s(t.$t("work.close")))])],1)]}}])})],1),e("el-row",{staticStyle:{"margin-top":"15px"},attrs:{type:"flex",justify:"center"}},[e("el-col",{attrs:{span:10}},[e("el-pagination",{attrs:{"current-page":t.currentPage2,"page-sizes":t.pageSizes,layout:"total, sizes, prev, pager, next, jumper",total:t.totalLimit2},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage2=e},"update:current-page":function(e){t.currentPage2=e}}})],1)],1)],1),e("el-tab-pane",{attrs:{label:t.$t("work.completeWK"),name:"Finished"}},[e("el-table",{staticClass:"table",staticStyle:{width:"100%","text-transform":"none"},attrs:{"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},data:t.from10,"max-height":"600",stripe:""}},[e("el-table-column",{attrs:{prop:"id",label:t.$t("work.WorkID")}}),e("el-table-column",{attrs:{prop:"email",label:t.$t("work.mailbox"),"show-overflow-tooltip":!0}}),e("el-table-column",{attrs:{prop:"date",label:t.$t("work.submissionTime")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(t.handelTime(a.row.date)))])]}}])}),e("el-table-column",{attrs:{prop:"status",label:t.$t("work.status")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(t.$t(t.handelStatus2(a.row.status)))+" ")])]}}])}),e("el-table-column",{attrs:{fixed:"right",label:t.$t("work.operation"),"min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.handelDetails(a.row)}}},[t._v(" "+t._s(t.$t("work.details"))+" ")])]}}])})],1),e("el-row",{staticStyle:{"margin-top":"15px"},attrs:{type:"flex",justify:"center"}},[e("el-col",{attrs:{span:10}},[e("el-pagination",{attrs:{"current-page":t.currentPage10,"page-sizes":t.pageSizes,layout:"total, sizes, prev, pager, next, jumper",total:t.totalLimit10},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage10=e},"update:current-page":function(e){t.currentPage10=e}}})],1)],1)],1),e("el-tab-pane",{attrs:{label:t.$t("work.allWK"),name:"all"}},[e("el-table",{staticClass:"table",staticStyle:{width:"100%","text-transform":"none"},attrs:{"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},data:t.from0,"max-height":"600",stripe:""}},[e("el-table-column",{attrs:{prop:"id",label:t.$t("work.WorkID")}}),e("el-table-column",{attrs:{prop:"email",label:t.$t("work.mailbox"),"show-overflow-tooltip":!0,width:"230"}}),e("el-table-column",{attrs:{prop:"date",label:t.$t("work.submissionTime")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(t.handelTime(a.row.date)))])]}}])}),e("el-table-column",{attrs:{prop:"status",label:t.$t("work.status")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(t.$t(t.handelStatus2(a.row.status)))+" ")])]}}])}),e("el-table-column",{staticStyle:{"text-align":"left !important"},attrs:{fixed:"right",label:t.$t("work.operation"),"min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.handelDetails(a.row)}}},[t._v(" "+t._s(t.$t("work.details"))+" ")]),"10"!==a.row.status?e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("work.confirm"),"cancel-button-text":t.$t("work.cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("work.confirmClose")},on:{confirm:function(e){return t.handelCloseWork(a.row)}}},[e("el-button",{staticClass:"elBtn",attrs:{slot:"reference",size:"small"},slot:"reference"},[t._v(t._s(t.$t("work.close")))])],1):e("el-popconfirm",{attrs:{"confirm-button-text":"确认","cancel-button-text":"取消",icon:"el-icon-info","icon-color":"red",title:"确定关闭此工单吗?"},on:{confirm:function(e){return t.handelCloseWork(a.row)}}},[e("el-button",{staticStyle:{"margin-left":"18px",border:"none",background:"transparent",width:"50px"},attrs:{slot:"reference",size:"small"},slot:"reference"})],1)]}}])})],1),e("el-row",{staticStyle:{"margin-top":"15px"},attrs:{type:"flex",justify:"center"}},[e("el-col",{attrs:{span:10}},[e("el-pagination",{attrs:{"current-page":t.currentPage0,"page-sizes":t.pageSizes,layout:"total, sizes, prev, pager, next, jumper",total:t.totalLimit0},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage0=e},"update:current-page":function(e){t.currentPage0=e}}})],1)],1)],1)],1)],1)])},e.Yp=[]},89413:function(t,e,a){Object.defineProperty(e,"B",{value:!0}),e.A=void 0,a(44114);var i=a(47149),s=a(49704),n=a(6803),r=a(82908);e.A={data(){return{loginForm:{email:"",password:"",resetPwdCode:"",newPassword:""},loginRules:{email:[{required:!0,trigger:"blur",message:this.$t("user.inputEmail"),type:"email"}],password:[{required:!0,trigger:"blur",message:this.$t("user.inputPassword")}],newPassword:[{required:!0,trigger:"blur",message:this.$t("user.confirmPassword2")}],resetPwdCode:[{required:!0,trigger:"change",message:this.$t("user.inputCode")}],gCode:[{required:!0,trigger:"change",message:this.$t("personal.gCode")}]},radio:"zh",btnDisabled:!1,bthText:"user.obtainVerificationCode",time:"",loginLoading:!1,accountList:[],newPassword:"",securityLoading:!1,isItBound:!1,countDownTime:60,timer:null,lang:"zh"}},computed:{countDown(){Math.floor(this.countDownTime/60);const t=this.countDownTime%60,e=t<10?"0"+t:t;return`${e}`}},created(){window.sessionStorage.getItem("Reset_time")&&(this.countDownTime=Number(window.sessionStorage.getItem("Reset_time")),this.startCountDown(),this.btnDisabled=!0,this.bthText="user.again")},watch:{"$i18n.locale":function(){this.translate()}},mounted(){this.lang=this.$i18n.locale,this.radio=localStorage.getItem("lang")?localStorage.getItem("lang"):"en"},methods:{translate(){this.loginRules={email:[{required:!0,type:"email",trigger:"blur",message:this.$t("user.inputEmail")}],password:[{required:!0,trigger:"blur",message:this.$t("user.inputPassword")}],newPassword:[{required:!0,trigger:"blur",message:this.$t("user.confirmPassword2")}],resetPwdCode:[{required:!0,trigger:"change",message:this.$t("user.inputCode")}],gCode:[{required:!0,trigger:"change",message:this.$t("personal.gCode")}]}},async fetchIfBind(t){this.securityLoading=!0;const e=await(0,n.getEmailIfBind)(t);if(e&&200===e.code){e.data?this.isItBound=!0:e.data||(this.isItBound=!1),this.fetchResetPwdCode({email:this.loginForm.email}),this.time=60;let t=setInterval((()=>{this.time?(this.time--,this.btnDisabled=!0,this.bthText="user.again"):(this.btnDisabled=!1,this.bthText="user.obtainVerificationCode",this.time="",clearTimeout(t))}),1e3)}this.securityLoading=!1},async fetchResetPwd(t){const e=await(0,i.getResetPwd)(t);if(e&&200==e.code){this.$message({message:this.$t("user.modifiedSuccessfully"),type:"success",showClose:!0});for(const t in this.loginForm)this.loginForm[t]="";this.$router.push(`/${this.lang}/login`)}},async fetchResetPwdCode(t){const e=await(0,i.getResetPwdCode)(t);e&&200==e.code&&this.$message({message:this.$t("user.codeSuccess"),type:"success",showClose:!0})},handelCode(){const t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/;let e=t.test(this.loginForm.email);this.loginForm.email&&e?(this.fetchResetPwdCode({email:this.loginForm.email}),null==window.sessionStorage.getItem("Reset_time")||(this.countDownTime=Number(window.sessionStorage.getItem("Reset_time"))),this.startCountDown()):this.$message({message:this.$t("user.emailVerification"),type:"error",customClass:"messageClass",showClose:!0})},startCountDown(){this.timer=setInterval((()=>{this.countDownTime<=1?(clearInterval(this.timer),sessionStorage.removeItem("Reset_time"),this.countDownTime=60,this.btnDisabled=!1,this.bthText="user.obtainVerificationCode"):this.countDownTime>0&&(this.countDownTime--,this.btnDisabled=!0,this.bthText="user.again",window.sessionStorage.setItem("Reset_time",this.countDownTime))}),1e3)},handelJump(t){const e=t.startsWith("/")?t.slice(1):t;this.$router.push(`/${this.lang}/${e}`)},handelRadio(t){const e=this.lang;this.lang=t,this.$i18n.locale=t,localStorage.setItem("lang",t);const a=this.$route.path,i=a.replace(`/${e}`,`/${t}`);this.$router.push({path:i,query:this.$route.query}).catch((t=>{"NavigationDuplicated"!==t.name&&console.error("Navigation failed:",t)}))},submitForm:(0,r.Debounce)((function(){this.$refs.ruleForm.validate((t=>{if(t){if(this.loginForm.userName=this.loginForm.email.trim(),this.loginForm.password=this.loginForm.password.trim(),this.loginForm.newPassword=this.loginForm.newPassword.trim(),this.loginForm.password!==this.loginForm.newPassword)return void this.$message({message:this.$t("user.confirmPassword2"),type:"error",customClass:"messageClass",showClose:!0});const t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/;let e=t.test(this.loginForm.email);if(!e)return void this.$message({message:this.$t("user.emailVerification"),type:"error",customClass:"messageClass",showClose:!0});const a=/^(?!.*[\u4e00-\u9fa5])(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_]+$)(?![a-z0-9]+$)(?![a-z\W_]+$)(?![0-9\W_]+$)[a-zA-Z0-9\W_]{8,32}$/,i=a.test(this.loginForm.password);if(!i)return void this.$message({message:this.$t("user.PasswordReminder"),type:"error",showClose:!0});let n={email:this.loginForm.email,password:this.loginForm.password,resetPwdCode:this.loginForm.resetPwdCode};const r={...n};r.password=(0,s.encryption)(n.password),this.fetchResetPwd(r)}}))}),200),handleClick(){this.$router.push(`/${this.lang}`)}}}},92279:function(t,e,a){Object.defineProperty(e,"B",{value:!0}),e.A=void 0,a(44114);var i=a(47149),s=a(49704);e.A={data(){return{registerForm:{password:"",email:"",emailCode:"",confirmPassword:""},registerRules:{userName:[{required:!0,trigger:"blur",message:"请输入您的账号"},{min:3,max:16,message:"用户账号长度必须介于 3 和 16 之间",trigger:"blur"}],email:[{required:!0,trigger:"blur",message:this.$t("user.emailVerification"),type:"email"}],password:[{required:!0,trigger:"blur",message:this.$t("user.inputPassword")},{min:8,max:32,message:this.$t("user.passwordVerification"),trigger:"blur"}],confirmPassword:[{required:!0,trigger:"blur",message:this.$t("user.secondaryPassword")}],emailCode:[{required:!0,trigger:"blur",message:this.$t("user.inputCode")}]},radio:"zh",loading:!1,codeParams:{email:""},btnDisabled:!1,bthText:"user.obtainVerificationCode",time:"",registerLoading:!1,countDownTime:60,timer:null,lang:"zh"}},computed:{countDown(){Math.floor(this.countDownTime/60);const t=this.countDownTime%60,e=t<10?"0"+t:t;return`${e}`}},created(){window.sessionStorage.getItem("register_time")&&(this.countDownTime=Number(window.sessionStorage.getItem("register_time")),this.startCountDown(),this.btnDisabled=!0,this.bthText="user.again")},watch:{$route(t){const e=t.path.match(/^\/(zh|en)(\/|$)/);e&&(this.radio=e[1],this.lang=e[1],this.$i18n.locale=e[1],localStorage.setItem("lang",e[1]))},"$i18n.locale":function(){this.translate()}},mounted(){const t=this.$route.path,e=t.match(/^\/(zh|en)(\/|$)/);e?(this.radio=e[1],this.lang=e[1],this.$i18n.locale=e[1],localStorage.setItem("lang",e[1])):(this.radio=localStorage.getItem("lang")||"en",this.lang=this.radio,this.$i18n.locale=this.radio);for(const a in this.registerForm)this.registerForm[a]=""},methods:{handelJump(t){const e=t.startsWith("/")?t.slice(1):t;this.$router.push(`/${this.lang}/${e}`)},translate(){this.registerRules={userName:[{required:!0,trigger:"blur",message:this.$t("user.inputAccount")},{min:3,max:16,message:"用户账号长度必须介于 3 和 16 之间",trigger:"blur"}],email:[{required:!0,trigger:"blur",message:this.$t("user.emailVerification"),type:"email"}],password:[{required:!0,trigger:"blur",message:this.$t("user.inputPassword")},{min:8,max:32,message:this.$t("user.passwordVerification"),trigger:"blur"}],confirmPassword:[{required:!0,trigger:"blur",message:this.$t("user.secondaryPassword")}],emailCode:[{required:!0,trigger:"blur",message:this.$t("user.inputCode")}]}},async fetchRegisterCode(t){const e=await(0,i.getRegisterCode)(t);e&&200===e.code&&this.$message({message:this.$t("user.verificationCodeSuccessful"),type:"success",showClose:!0})},handelCode(){this.codeParams.email=this.registerForm.email;const t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/;let e=t.test(this.codeParams.email);this.codeParams.email&&e?(this.fetchRegisterCode(this.codeParams),null==window.sessionStorage.getItem("register_time")||(this.countDownTime=Number(window.sessionStorage.getItem("register_time"))),this.startCountDown()):this.$message({message:this.$t("user.emailVerification"),type:"error",showClose:!0})},startCountDown(){this.timer=setInterval((()=>{this.countDownTime<=1?(clearInterval(this.timer),sessionStorage.removeItem("register_time"),this.countDownTime=60,this.btnDisabled=!1,this.bthText="user.obtainVerificationCode"):this.countDownTime>0&&(this.countDownTime--,this.btnDisabled=!0,this.bthText="user.again",window.sessionStorage.setItem("register_time",this.countDownTime))}),1e3)},goLogin(){this.$router.push(`/${this.lang}/login`)},handelRadio(t){const e=this.lang;this.lang=t,this.$i18n.locale=t,localStorage.setItem("lang",t);const a=this.$route.path,i=a.replace(`/${e}`,`/${t}`);this.$router.push({path:i,query:this.$route.query}).catch((t=>{"NavigationDuplicated"!==t.name&&console.error("Navigation failed:",t)}))},handleRegister(){this.$refs.registerForm.validate((t=>{if(t){this.loading=!0;const t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/;let e=t.test(this.registerForm.email);if(!this.registerForm.email||!e)return void this.$message({message:this.$t("user.emailVerification"),type:"error",showClose:!0});const a=/^(?!.*[\u4e00-\u9fa5])(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_]+$)(?![a-z0-9]+$)(?![a-z\W_]+$)(?![0-9\W_]+$)[a-zA-Z0-9\W_]{8,32}$/,n=a.test(this.registerForm.password);if(!n)return void this.$message({message:this.$t("user.passwordFormat"),type:"error"});this.registerLoading=!0;const r={...this.registerForm};r.password=(0,s.encryption)(this.registerForm.password),r.confirmPassword=(0,s.encryption)(this.registerForm.confirmPassword),(0,i.getRegister)(r).then((t=>{this.registerForm.userName;200==t.code&&this.$alert(`${this.$t("user.congratulations")}`,`${this.$t("user.system")}`,{dangerouslyUseHTMLString:!0}).then((()=>{this.$router.push(`/${this.lang}/login`)})).catch((()=>{}))})).catch((()=>{this.loading=!1,this.captchaOnOff})),this.registerLoading=!1}}))},handleClick(){this.$router.push(`/${this.lang}`)}}}},92879:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(79320),s=a(99398),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"2552dbca",null),l=o.exports},99398:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var s=i(a(72938));e.A={mixins:[s.default]}},99675:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(75904),s=a(92279),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"45513616",null),l=o.exports}},e={};function a(i){var s=e[i];if(void 0!==s)return s.exports;var n=e[i]={id:i,loaded:!1,exports:{}};return t[i].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=t,function(){a.amdO={}}(),function(){var t=[];a.O=function(e,i,s,n){if(!i){var r=1/0;for(d=0;d=n)&&Object.keys(a.O).every((function(t){return a.O[t](i[l])}))?i.splice(l--,1):(o=!1,n0&&t[d-1][2]>n;d--)t[d]=t[d-1];t[d]=[i,s,n]}}(),function(){a.d=function(t,e){for(var i in e)a.o(e,i)&&!a.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}}(),function(){a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){a.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){a.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t}}(),function(){a.p="/"}(),function(){var t={531:0,562:0};a.O.j=function(e){return 0===t[e]};var e=function(e,i){var s,n,r=i[0],o=i[1],l=i[2],c=0;if(r.some((function(e){return 0!==t[e]}))){for(s in o)a.o(o,s)&&(a.m[s]=o[s]);if(l)var d=l(a)}for(e&&e(i);c{let e=localStorage.getItem("token");this.token=JSON.parse(e);let t=localStorage.getItem("accountList");this.accountList=JSON.parse(t);let i=localStorage.getItem("miningAccountList");this.miningAccountList=JSON.parse(i);let n=localStorage.getItem("jurisdiction");this.jurisdiction=JSON.parse(n);let o=localStorage.getItem("currencyList");this.currencyList=JSON.parse(o);let s=localStorage.getItem("activeItemCoin");this.activeItem=JSON.parse(s);let a=localStorage.getItem("userEmail");this.userEmail=JSON.parse(a),this.jurisdiction&&"admin"==this.jurisdiction.roleKey?this.ManagementShow=!0:this.ManagementShow=!1})),this.jurisdiction&&"admin"==this.jurisdiction.roleKey?this.ManagementShow=!0:this.ManagementShow=!1,document.addEventListener("click",(function(){const e=document.querySelector(".dropdown"),t=document.querySelector(".arrow");try{e.classList.contains("show")&&(e.classList.remove("show"),t.classList.remove("up"))}catch(i){console.log(i)}}))},methods:{toggleDropdown(e){if(!e)return;const t=e.currentTarget,i=t.querySelector(".dropdown"),n=t.querySelector(".arrow");i&&(i.classList.toggle("show"),n?.classList.toggle("up"))},changeMenuName(e,t){if(!e)return;e.stopPropagation();const i=document.getElementById("menu1");if(!i)return;this.activeItem=t;const n=i.querySelector(".dropdown"),o=i.querySelector(".arrow");n?.classList.remove("show"),o?.classList.remove("up"),this.$addStorageEvent(1,"activeItemCoin",JSON.stringify(t))},handelDarkMode(){},async fetchAccountGradeList(){const e=await(0,n.getAccountGradeList)();this.miningAccountList=e.data,this.$addStorageEvent(1,"miningAccountList",JSON.stringify(this.miningAccountList))},async fetchAccountList(e){const t=await(0,o.getAccountList)(e);t&&200==t.code&&(this.accountList=t.data,this.$addStorageEvent(1,"accountList",JSON.stringify(this.accountList)))},async fetchUserid(e){try{const t=await getUserid(e);t&&200==t.code&&(this.customerIsOnline=t.data.customerIsOnline,localStorage.setItem("customerIsOnline",JSON.stringify(this.customerIsOnline)))}catch(t){throw console.error("获取用户ID失败:",t),t}},async fetchSignOut(){const e=await(0,n.getLogout)();if(e&&200==e.code){await this.$store.dispatch("logout");const e=this.$i18n.locale;this.fetchUserid({email:this.userEmail}),this.$router.push(`/${e}`)}},handleDropdownClick(){this.isDropdownVisible=!0},handleCommand(e){},handleSelect(){},handelLogin(){this.isLogin=!0;const e=this.$i18n.locale;this.$router.push(`/${e}/login`)},handelRegister(){const e=this.$i18n.locale;this.$router.push(`/${e}/register`)},handelLogin222(){this.isLogin=!this.isLogin},handelJump(e){try{const t=this.$i18n.locale;if("personalCenter"===e)return void this.$router.push(`/${t}/personalCenter/personalMining`).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("Navigation failed:",e)}));const i=`/${t}${"/"===e?"":"/"+e}`;this.$router.push(i).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("Navigation failed:",e)}))}catch(t){console.error("Navigation error:",t),this.$message.error(this.$t("common.navigationError"))}},handelJumpAccount(e,t,i){const n=this.$i18n.locale;let o={ma:t.account,coin:i,id:t.id,img:e.img};this.$addStorageEvent(1,"accountItem",JSON.stringify(o)),this.$router.push({path:`/${n}/miningAccount`,query:{ma:t.account+i}}),this.isDropdownVisible=!1},handelLang(e){try{const t=this.$route.path,i=this.$i18n.locale,n=this.$route.query;if(!["zh","en"].includes(e))throw new Error("Unsupported language");this.$i18n.locale=e,localStorage.setItem("lang",e||"en");const o=t.replace(`/${i}`,`/${e}`);this.$router.push({path:o,query:n}).catch((e=>{"NavigationDuplicated"!==e.name&&(console.error("路由更新失败:",e),this.$message.error(this.$t("common.langChangeFailed")))})),document.documentElement.lang=e}catch(t){console.error("语言切换失败:",t),this.$message.error(this.$t("common.langChangeFailed"))}},handelSignOut(){localStorage.setItem("cs_disconnect_all",Date.now().toString()),this.fetchSignOut(),localStorage.removeItem("token"),localStorage.removeItem("username"),localStorage.removeItem("userName"),localStorage.removeItem("userEmail"),localStorage.removeItem("jurisdiction"),this.$addStorageEvent(1,"miningAccountList",JSON.stringify("")),this.isLogin=!1,this.isDropdownVisible=!1},encryptData(e,t){try{let i="";for(let n=0;nPromise.resolve().then((()=>(0,o.default)(i(52801))))},data(){return{filters:{emailOrOrderNo:"",status:"",minAmount:null,maxAmount:null,dateRange:[]},activeTab:"all",tableData:[{index:1,email:"user@example.com",orderNo:"20230601001",type:"技术支持",machineCode:"K9-001",createTime:"2023-06-01",fault:"无法启动",status:"处理中",amount:844.01}],totalAmount:844.01,userEmail:null}},mounted(){let e=localStorage.getItem("userEmail");try{e=e?JSON.parse(e):""}catch(t){e=""}this.userEmail=e,window.addEventListener("setItem",(()=>{let e=localStorage.getItem("userEmail");try{e=e?JSON.parse(e):""}catch(t){e=""}this.userEmail=e})),window.addEventListener("online",this.handleNetworkChange)},methods:{async fetchSignOut(){const e=await(0,s.getLogout)();e&&200==e.code&&await this.$store.dispatch("logout")},handelSignOut(){const e=this.$i18n.locale;this.$router.push(`/${e}/login`),localStorage.removeItem("token"),localStorage.removeItem("username"),localStorage.removeItem("jurisdiction"),this.$addStorageEvent(1,"miningAccountList",JSON.stringify("")),this.fetchSignOut()},handelLang(e){try{const t=this.$route.path,i=this.$i18n.locale,n=this.$route.query;if(!["zh","en"].includes(e))throw new Error("Unsupported language");this.$i18n.locale=e,localStorage.setItem("lang",e||"en");const o=t.replace(`/${i}`,`/${e}`);this.$router.push({path:o,query:n}).catch((e=>{"NavigationDuplicated"!==e.name&&(console.error("路由更新失败:",e),this.$message.error(this.$t("common.langChangeFailed")))})),document.documentElement.lang=e}catch(t){console.error("语言切换失败:",t),this.$message.error(this.$t("common.langChangeFailed"))}},handleNetworkChange(){navigator.onLine&&location.reload()}},beforeDestroy(){window.removeEventListener("online",this.handleNetworkChange)}}},8643:function(e,t,i){var n=i(91774)["default"],o=i(3999)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114),i(18111),i(20116);var s=o(i(91774)),a=i(84403),r=n(i(3574)),c=i(82908);t.A={name:"AppMain",components:{comHeard:()=>Promise.resolve().then((()=>(0,s.default)(i(68841))))},computed:{key(){return this.$route.path}},data(){return{activeName:"second",option:{...a.line},option2:{...a.line},powerDialogVisible:!1,minerDialogVisible:!1,currentPage:1,currency:"mona",currencyPath:"https://s2.coinmarketcap.com/static/img/coins/64x64/213.png",currencyList:[{value:"grs",label:"grs",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/258.png"},{value:"mona",label:"mona",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/213.png"},{value:"dgb_skein",label:"dgb-skein-pool1",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_qubit",label:"dgb-qubit-pool1",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_odo",label:"dgb-odocrypt-pool1",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb2_odo",label:"dgb-odocrypt-pool2",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_qubit_a10",label:"dgb-qubit-pool2",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_skein_a10",label:"dgb-skein-pool2",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_odo_b20",label:"dgb-odoscrypt-pool3",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"}],scrollTop:0,isLogin:!0,bthText:"English",miningAccountList:[{title:"grs",coin:"grs",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/258.png",children:[{account:"miner",id:"1"},{account:"test",id:"2"}]},{title:"mona",coin:"mona",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/213.png",children:[{account:"miner",id:"1"},{account:"test",id:"2"}]},{title:"dgb-skein-pool1",coin:"dgb_skein",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png",children:[{account:"miner",id:"1"},{account:"test",id:"2"}]}],activeItemCoin:{coin:"nexa",imgUrl:(0,c.getImageUrl)("/img/nexa.png")},lang:"zh"}},created(){},mounted(){this.lang=this.$i18n.locale,window.scrollTo(0,0);let e=localStorage.getItem("activeItemCoin");this.activeItemCoin=JSON.parse(e);let t=localStorage.getItem("currencyList");this.currencyList=JSON.parse(t),window.addEventListener("setItem",(()=>{let e=localStorage.getItem("activeItemCoin");this.activeItemCoin=JSON.parse(e);let t=localStorage.getItem("currencyList");this.currencyList=JSON.parse(t)}))},methods:{jumpPage(){const e=this.$i18n.locale;this.$router.push(`/${e}/ServiceTerms`)},jumpPage1(){const e=this.$i18n.locale;this.$router.push(`/${e}/apiFile`)},jumpPage2(){const e=this.$i18n.locale;this.$router.push(`/${e}/rate`)},jumpPage3(e){console.log(e,1366565);const t=this.$i18n.locale;if("/AccessMiningPool"===e){const e=this.currencyList.find((e=>e.value===this.activeItemCoin.value));if(!e)return;let t=e.path.charAt(0).toUpperCase()+e.path.slice(1);console.log(t,1366565,e);this.$router.push({name:"AccessMiningPool",params:{coin:this.activeItemCoin.value,imgUrl:this.activeItemCoin.imgUrl},replace:!1})}else{let e=`/${t}/AccessMiningPool`;this.$router.push(e)}},jumpPage4(){const e=this.$i18n.locale;this.$router.push(`/${e}/submitWorkOrder`)},handleCommand(e){},handleScroll(e){"/"==this.$route.path&&(this.scrollTop=e.target.scrollTop,this.scrollTop>=300?(this.$refs.head.style.backgroundColor="#FFF",this.$refs.head.style.position="fixed",this.$refs.head.style.top="0"):(this.$refs.head.style.backgroundColor="initial",this.$refs.head.style.position="tatic"))},clickCurrency(e){this.currency=e.label,this.currencyPath=e.imgUrl},handleClick(e,t){console.log(e,t)},handelPower(){this.powerDialogVisible=!0,this.$nextTick((()=>{this.inCharts()}))},handelMiner(){this.minerDialogVisible=!0,this.$nextTick((()=>{this.myChart2=r.init(document.getElementById("minerChart")),this.myChart2.setOption(this.option2)}))},handleSizeChange(e){console.log(`每页 ${e} 条`)},handleCurrentChange(e){console.log(`当前页: ${e}`)},inCharts(){this.myChart=r.init(document.getElementById("chart")),this.myChart.setOption(this.option)},handelLogin(){this.isLogin=!0,this.$router.push("/login")},handelRegister(){this.$router.push({path:"/register"})},handelLogin222(){this.isLogin=!this.isLogin},handelJump(e){this.$router.push({path:e})},handelLang(){const e=this.$route.path,t=this.$i18n.locale,i="zh"===t?"en":"zh";this.$i18n.locale=i,this.lang=i,this.bthText="zh"===i?"English":"简体中文";const n=e.replace(`/${t}/`,`/${i}/`);this.$router.push(n).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("路由跳转失败:",e)})),localStorage.setItem("lang",i)}}}},10673:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getApiInfo=l,t.getApiKey=s,t.getApiList=a,t.getDelApi=c,t.getUpdateAPI=r;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/user/getApiKey",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/user/getApiList",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/user/updateAPI",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/user/delApi",method:"delete",data:e})}function l(e){return(0,o.default)({url:"pool/user/getApiInfo",method:"post",data:e})}},11427:function(e,t,i){e.exports=i.p+"img/registertop.d405fe96.svg"},11503:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getBKendTicket=g,t.getDetails=h,t.getDownloadFile=u,t.getEndTicket=d,t.getPrivateTicket=c,t.getReadTicket=r,t.getReply=m,t.getResubmitTicket=a,t.getSubmitTicket=s,t.getTicketDetails=l,t.getTicketList=p;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/ticket/submitTicket",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/ticket/resubmitTicket",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/ticket/readTicket",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/ticket/getPrivateTicket",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/ticket/getTicketDetails",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/ticket/endTicket",method:"post",data:e})}function u(){return(0,o.default)({url:"pool/ticket/downloadFile",method:"get"})}function h(e){return(0,o.default)({url:"pool/ticket/bk/details",method:"post",data:e})}function m(e){return(0,o.default)({url:"pool/ticket/bk/respon",method:"post",data:e})}function p(e){return(0,o.default)({url:"pool/ticket/bk/list",method:"post",data:e})}function g(e){return(0,o.default)({url:"pool/ticket/bk/endTicket",method:"post",data:e})}},12173:function(e,t){Object.defineProperty(t,"B",{value:!0}),t.A=void 0;t.A={name:"Tooltip",props:{maxWidth:{type:Number,default:120}},data(){return{showTooltip:!1,hideTimer:null,top:0,left:0}},methods:{show(e){clearTimeout(this.hideTimer);const t=e.getBoundingClientRect(),i=t.top+window.pageYOffset,n=t.left+window.pageXOffset,o=t.width;this.showTooltip=!0,this.$nextTick((()=>{const e=this.$refs.tooltip.offsetWidth,t=this.$refs.tooltip.offsetHeight;this.top=i-t,this.left=n-(e-o)/2}))},onShow(){clearTimeout(this.hideTimer),this.showTooltip=!0},onHide(){this.hideTimer=setTimeout((()=>{this.showTooltip=!1}),100)}}}},16712:function(e,t,i){e.exports=i.p+"img/钱包.fbd8a674.svg"},17069:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(38450),o=i(8292),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"5b61c3ca",null),c=r.exports},19637:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIgAAACHCAYAAADN7BGHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAzcSURBVHhe7Z1tbFPXGcf/5147JHFMDISFqU0dXlrKSrowbdqqtTSMfpialICmbpWKgKhIoVUhlH5YS7vSRFOrTZNKwrQOLRJQhVFUVcUhsE1aRbpqU6FV542tLbSFpCzFW1HivJgEx/bZh9jBOb5Oru37cu695/ft/o+jyPZPzznnudf3AgKBQJAvhA2cRiJ6/b7Izho5dexafS+KnzwcJISEZ77SmdhWEEqpb2zHiloUl9YiEfPRWOx+ACBEqqWJSR/7+myQkvmgk+NBxBNhzPMESfzGMKLR3hhifQsO9vexr7cbthEk1NVW43n/jfVwF63DeORuGo9Ws6/RGiK5w5QmgsTlegfRaG/Zbz+zXeWxrCCUUt/Yy431CH3+AGKxjblUBV0hci8pKg7EJkZO2KHCWEqQaSkGB35Mx4Y2sOO8QeSiPkjkSCx6/bBVZbGEIKGuthrPueN7uKoUuULkXlK1qtO7t/soO8QzXAsy+tKGR+mVj7eDxuvYMatCJHcYstQek67vX9Dez/16hUtBhpuXb5Fc7lYjFppmQSR3WFq25s3RJd9oX7L5hfPsOC9wJcjoSxsexcDFn9tZDBbeKwoXgowf2Fo3+dHf9tlpKskVIrnDcBe1etvP72fHzMRUQYZa/D4XLXuFRse3sWOOxeUOuld+76mSnUd62SEzME2Q0ebldZBdb1l2V6I3xfP3x+lQq9nTjuGCDLX4fS53xREr9DHMhshFfa47v9tkZjUxVJDxA1vrYp+cPeSkRagWEPe8Vu+Bj19kcyMwTJDRlprd9EbkFTYXqITIvfGi6CajpxzdBaGU+sZaVouFqAYQyR0mmFhX9pv+IDumF7oKMtTi98nx4jOITdayY4L8IJI7jFtXPmlUy143Qcae8NfShUv/QK99sYQdExQOpWRr+cHPX2NzrZHYQAvGnvDXUhSfEXLoByH0SORXj3SyudZoXkGm5RD9DUMgRSWHvR3/bmJzrdBUECGHOegpiWZTjJDDPGh0fJte040mgoS62mqEHOYS/+zcY8PNy7eweaEUPMWIrSxfkNtWb9ZyC1xwBRFycMZ/Lvx67Am/Zt9HQYKM7rrrkJCDL2hi0kdRfGaoxa/JdJ+3IMPNy7eI9jmf0MSkT44WvcXm+ZCXIKGuthpJdrWzuYAjaLxudOeqgs8A5yVI6XtHXxM7Fv6hkzf2jR/YWtBlnDnvYkZ2176CiZHdbC7gEyIX9cVc42vyvUwgpwoyfmBrnZDDWtB4tFomC/axuVpyqiAjT678u9i1WBNCyTrvwc9zvnRRdQUZ3bnqxXzkkG5dxUaCAsj783S5D7GRGlQJEupqq0E80cLmaih++Gdw3/MjNhbkgXTrKpTu+T0bq4LGo9X57GpUCeI5d3xPIbuW4i2/FJIUSEoOUjKfHVJPPNGSawNtTkGGmv3VWjTEhCT5o4kcyQaaK1Ga0yZjTkFc3grNGmJCktzRSo5pXPP2hbraatg4G7MKEupqq9H6B05CEvVoLgcAOj4Cb+gj1evJWQXxnDu+h820QEgyN3rIkSIx8MljatciWQXRau2RDSFJdvSUA8kqonYtklUQuWSB6jKUL0KSTPSWYxqVbQtFQSilPqJj9UhHSHITw+RI7mjUXKKoKMjIjhUbCul75IqQxFg5UhBJmvNKeEVB1Pyh1jhZEjPkAKauGRlq9s96p4UMQYaa/dVm3QrKiZKYJkeSotvveZ7N0skQxFU8fyObGYmTJDFbDgBIXA6uZ7N0MgSh8ehWNjMaJ0jCgxxInsSbrbM6Q5BQV1tNPqf09cDOkvAiRwrP+29krSIzBCl598ia9GOzsaMkvMmBOWaNGYJIXh9334adJOFRDgBAbLKWUqrY1pi5Brk+tnbGMSfYQRJu5Ugy9nJjPZshXZChZn+1kc2xXLGyJLzLAQD0f198m82QLojL/83vzxziDytKYgU5AAA3Ioqbk2lBshnEG1aSxDJyACDFHsXm6M01SBaDeMQKklhJDiQvAVDqh0wLks0gXuFZEqvJkcLzxQd3s5mE5Ol9Oj7CjnEPj5JYVQ4AwNVPb2cjCQDGdqywzPTCwpMklpYDAIjkZ6OpKcZ/1y3sgJXgQRLLywGATmY+ZGFKEIXSYjXMlMQOcgAAWXTLnWyWcTbXypghiV3kAAClO2NPCTKvlKuTdIVgpCR2kiMbU7uYyIit3qERkjhBDthtiklHT0nsLEciev2+9GPbCgKdJLGzHAAQ2Vkjpx9zK8jly5fZKC+0lERLObR6f3rDrSCdnZ14++232TgvtJBEazn27t3LxlzCrSAA0N7ezoUkesgRiUTYIS7hWhBwIImT5YAVBIGJkjhRDs+B8/H0Y0sIAhMkcaIcACAVlb474xgAiLuoLz3kFaMkcaocSkxVEJroZwd4RW9JnCyH0nu2zBSTjl6SOFkOAKATkYw7MU8JEo1mDPCO1pLMe/h5R8uRDQkAXKvvZXNLoKUkRT9oEnLM8wTZSAKAkp1HLFdBUmgpSaFYWg4AJH5jmM2m1yBEtsZORgkeJLG6HIDyUmNaEJqIW1YQmCyJLeQAECuOKU8xAEBcrndmDlkPMySxixxEcoeVnkp1c5v79ds/nTFiUYyUxC5yAABKy/7CRkgXJPbff5yaOWRdjJDEVnIAwGT0DBshXZAF7f1huNwZc5BV0VMS28kBwLXiW4rf/cxOqqskYxVrZfSQxI5yEMkdztbqmCEI+dptH6Qf2wEtJbGjHED29QdYQbx7u49q0U3kDS0ksa0cABKj4TfZLEXmyTpZ7mYjO1CIJHaWAwASxbGs33nGc3MppdsA5PUITS157rnncP78eTYumJaWFqxfn/W2oBnoKUd3d9bvxTAopUclSdrM5ikyKwhwglIaYkO7kEsl0VMOXiCE/JnN0skQhBASBqDuE7QoaiRxghxJTrBBOhmCAABiEwfZyG7MJolT5KCUHk0WhKwoCiIVlb5r52kmhZIkTpEDUFcIFAXB1FTzLJvZkXRJnCQHpTTIXsGuRFZB7L5YTae9vR3Hjh1zjByYKgCqHpidVRBCSJgQMmcJsgvHjh1zjByU0hAh5DCbK5FVkCT7nVJFnEQuy4dZBXFaFXECuVQPzCVIElFFbEQu1QNqBEnuk3/B5gLrQSkN5lI9oEYQAJAkSVQROxCb2MVGc5Fxsi4boa62mo6PJv7J5npx6dIl2+8qamoyHq6gG4sWLTrx9NNPb2LzuVAtCAA0NTUdu3bt2iNsLuAbSmlYluWlgUBg1ra6EqqmmBSDg4OPU0pz/icCc1m2bNnj+ciBXAUJBALhZcuWPc7mAq450dHR8TobqiUnQQCgo6Pj9YqKirz/ocA4ysvLw5IkNbF5LuQsCJJTDQDFy+QF/DA0NLQp36klRV6CBAKBcDwebxLrEX6prKx85tSpU4o/ZciFvAQBgNOnTwfFeoRPKioqXu/s7NSkuTnjvty5cvbs2X+tXbt2IhKJPMCOCUwjODEx8fCFCxcm2IF8KEgQAPjwww//escdd1QTQiz73Du7kOx3rAsEApp1vfOeYtLp6elpqqqqKni+E+QPpTScSCTWBQIBTe/zookgADAwMLBJ7GzMISXH6dOnNf/8c2q1z0VjY6MvkUicASCmG4PQUw5oLQiEJIaitxzQcopJEQgEwpIkrRNrEn0xQg7oUUHSaWhoOEQI2cbmgsIoLy8PDw4O6i4HtNjmzsbFixcDok+iOcHJyck1PT09mu5WsqFrBUmxa9euRy5duvQqIcTHjgnUQyk9fPLkyafm+rmklhgiCAA8+OCDtbIsHxKL19zxeDwoKyt7Rqv2eS4YJgiSO5yFCxe+Kq5KU4/X6+0Lh8ObjFhvKGGoICkaGho2AjgkppzZoZTuP3nyZKuRUwqL5ttcNfT09JyQZXmpuPBIGa/X25dIJNb19PQYut5QwpQKkk59fX1deXn5odHR0Wp2zGl4PB5EIpHW7u7u/WaLkcJ0QVJs3779p6FQ6BmnTjuU0sOyLLdqfbKtULgRBDfb9LsppS0OEqX3dz/5zq4lm1/Q/o59GsCVICmcIEpVVVVvf39/qxaXBeoJl4KkaGxs9C1evLg5FArtIIRYfo1CKQ0vXrz4j4ODg8/yNpVkg2tB0qmvr68jhGwtKyvbZsGfZAYBtEuSdKLQq8yNxjKCpKCU+jZs2LARQKPH49nIsSzBqqqq3oGBgXarVAslLCdIOpRS30MPPVQH4P758+dvNHOrTCkNE0J6Kysr3/vqq6+OW1mKdCwtCEtjY6PP7/f/8PLly3cCuL+8vLx2eHhYr0Vub0VFRUiW5eCXX375J7Na4XpjK0GUoJT6GhoaapcvX74kKQ4qKipWXrt2bQn7WiWqqqqCV65cGa6srBy/evXqWZfL1WeX6iAQFMz/AdCkAF9IGvcxAAAAAElFTkSuQmCC"},20074:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=n(i(91774));t.A={components:{comHeard:()=>Promise.resolve().then((()=>(0,o.default)(i(68841)))),appMain:()=>Promise.resolve().then((()=>(0,o.default)(i(97223)))),MoveHead:()=>Promise.resolve().then((()=>(0,o.default)(i(34038)))),BackAdminLayout:()=>Promise.resolve().then((()=>(0,o.default)(i(17069))))},data(){return{jurisdiction:{roleKey:""}}},mounted(){let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e,window.addEventListener("setItem",(()=>{let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e}))}}},21525:function(e,t,i){e.exports=i.p+"img/安全.225650c3.svg"},22016:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"chat-widget"},["offline"===e.networkStatus?t("div",{staticClass:"network-status"},[t("i",{staticClass:"el-icon-warning"}),t("span",[e._v(e._s(e.$t("chat.networkError")||"网络连接已断开"))])]):e._e(),t("div",{staticClass:"chat-icon",class:{active:e.isChatOpen},attrs:{"aria-label":e.$t("chat.openCustomerService")||"打开客服聊天",tabindex:"0"},on:{click:e.toggleChat,keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toggleChat.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.toggleChat.apply(null,arguments)}]}},[t("i",{staticClass:"el-icon-chat-dot-round"}),e.unreadMessages>0?t("span",{staticClass:"unread-badge"},[e._v(e._s(e.unreadMessages))]):e._e()]),t("transition",{attrs:{name:"chat-slide"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isChatOpen,expression:"isChatOpen"}],staticClass:"chat-dialog"},[t("div",{staticClass:"chat-header"},[t("div",{staticClass:"chat-title"},[e._v(e._s(e.$t("chat.title")||"在线客服"))]),t("div",{staticClass:"chat-actions"},[t("i",{staticClass:"el-icon-minus",on:{click:e.minimizeChat}}),t("i",{staticClass:"el-icon-close",on:{click:e.closeChat}})])]),t("div",{ref:"chatBody",staticClass:"chat-body"},[0===e.userType?t("div",{staticClass:"guest-notice"},[t("span",{staticClass:"guest-notice-content"},[t("i",{staticClass:"el-icon-info"}),t("span",[e._v(e._s(e.$t("chat.guestNotice")||"游客模式下聊天记录不会保存,")+" "),t("a",{staticClass:"login-link",on:{click:e.handleLoginClick}},[e._v(e._s(e.$t("chat.loginToSave")||"登录"))]),e._v(" "+e._s(e.$t("chat.guestNotice2")||"后即可保存")+" ")])])]):e._e(),"connecting"===e.connectionStatus?t("div",{staticClass:"chat-status connecting"},[t("i",{staticClass:"el-icon-loading"}),t("p",[e._v(" "+e._s(e.$t("chat.connectToCustomerService")||"正在连接客服系统...")+" ")])]):"error"===e.connectionStatus?t("div",{staticClass:"chat-status error"},[t("i",{staticClass:"el-icon-warning"}),t("p",[e._v(" "+e._s(e.connectionError||e.$t("chat.connectionFailed")||"连接失败,请稍后重试")+" ")]),t("div",{staticClass:"error-actions"},[t("button",{staticClass:"retry-button",on:{click:e.handleRetryConnect}},[e._v(" "+e._s(e.$t("chat.tryConnectingAgain")||"重试连接")+" ")]),e.showRefreshButton?t("button",{staticClass:"refresh-button",on:{click:e.refreshPage}},[e._v(" "+e._s(e.$t("chat.refreshPage")||"刷新页面")+" ")]):e._e()])]):[e.hasMoreHistory&&e.messages.length>0?t("div",{staticClass:"history-indicator",class:{"no-more":!e.hasMoreHistory},on:{click:function(t){return t.stopPropagation(),e.loadMoreHistory.apply(null,arguments)}}},[t("i",{staticClass:"el-icon-arrow-up"}),t("span",[e._v(e._s(e.isLoadingHistory?e.$t("chat.loading")||"加载中...":e.hasMoreHistory?e.$t("chat.loadMore")||"加载更多历史消息":e.$t("chat.noMoreHistory")||"没有更多历史消息了"))])]):e._e(),0===e.messages.length&&0!==e.userType?t("div",{staticClass:"chat-empty"},[e._v(" "+e._s(e.$t("chat.welcome")||"欢迎使用在线客服,请问有什么可以帮您?")+" ")]):e._e(),e._l(e.displayMessages,(function(i,n){return t("div",{key:i.id?`msg-${i.id}`:i.isTimeDivider?`divider-${n}-${i.time}`:`sys-${n}-${Date.now()}`},[i.isTimeDivider?t("div",{staticClass:"chat-time-divider"},[e._v(" "+e._s(e.formatTimeDivider(i.time))+" ")]):i.isLoading||i.isSystemHint?t("div",{staticClass:"system-hint"},[i.isLoading?t("i",{staticClass:"el-icon-loading"}):e._e(),t("span",[e._v(e._s(i.text))])]):t("div",{staticClass:"chat-message",class:{"chat-message-user":"user"===i.type,"chat-message-system":"system"===i.type,"chat-message-loading":i.isLoading,"chat-message-hint":i.isSystemHint,"chat-message-history":i.isHistory}},[t("div",{staticClass:"message-avatar"},["system"===i.type?t("i",{staticClass:"el-icon-service"}):t("i",{staticClass:"el-icon-user"})]),t("div",{staticClass:"message-content"},[i.isImage?t("div",{staticClass:"message-image"},[t("img",{attrs:{src:i.imageUrl,alt:e.$t("chat.picture")||"聊天图片"},on:{click:function(t){return e.previewImage(i.imageUrl)},load:function(t){return e.handleImageLoad(i)}}})]):t("div",{staticClass:"message-text",domProps:{innerHTML:e._s(e.formatMessageText(i.text))}})])])])}))]],2),t("div",{staticClass:"chat-footer"},[t("div",{staticClass:"chat-toolbar"},[t("label",{staticClass:"image-upload-label",class:{disabled:"connected"!==e.connectionStatus},attrs:{for:"imageUpload"}},[t("i",{staticClass:"el-icon-picture-outline"})]),t("input",{ref:"imageUpload",staticStyle:{display:"none"},attrs:{type:"file",id:"imageUpload",accept:"image/*",disabled:"connected"!==e.connectionStatus},on:{change:e.handleImageUpload}})]),t("div",{staticClass:"chat-input-wrapper",staticStyle:{display:"flex","align-items":"center"}},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.inputMessage,expression:"inputMessage"}],staticClass:"chat-input",attrs:{type:"text",maxlength:e.maxMessageLength,placeholder:e.$t("chat.inputPlaceholder")||"请输入您的问题..."},domProps:{value:e.inputMessage},on:{input:[function(t){t.target.composing||(e.inputMessage=t.target.value)},e.handleInputMessage],keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleEnterKey.apply(null,arguments)}}})]),t("button",{staticClass:"chat-send",on:{click:e.sendMessage}},[e._v(" "+e._s(e.$t("chat.send")||"发送")+" ")])]),e.showImagePreview?t("div",{staticClass:"image-preview-overlay",on:{click:e.closeImagePreview}},[t("div",{staticClass:"image-preview-container"},[t("img",{staticClass:"preview-image",attrs:{src:e.previewImageUrl}}),t("i",{staticClass:"el-icon-close preview-close",on:{click:e.closeImagePreview}})])]):e._e()])])],1)},t.Yp=[]},22327:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getAccountPowerDistribution=u,t.getHistoryIncome=l,t.getHistoryOutcome=d,t.getMinerAccountInfo=a,t.getMinerAccountPower=s,t.getMinerList=r,t.getMinerPower=c;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/getMinerAccountPower",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/getMinerAccountInfo",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/getMinerList",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/getMinerPower",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/getHistoryIncome",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/getHistoryOutcome",method:"post",data:e})}function u(e){return(0,o.default)({url:"pool/getAccountPowerDistribution",method:"post",data:e})}},22345:function(e,t,i){e.exports=i.p+"img/home.2a3cb050.png"},22704:function(e,t,i){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"MoveMain"},[t("header",{staticClass:"headerMove"},[t("img",{attrs:{src:i(87596),alt:"logo"},on:{click:function(t){return e.handelJump("/")}}}),t("span",{staticStyle:{"font-size":"0.9rem"}},[e._v(e._s(e.$t(e.key)))]),t("el-dropdown",{attrs:{trigger:"click","hide-on-click":!1}},[t("span",{staticClass:"el-dropdown-link",staticStyle:{"font-size":"0.9rem",color:"rgba(0, 0, 0, 1)"}},[t("img",{attrs:{src:i(4940),alt:"menu"}})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"}},[t("div",{staticClass:"menuItem",on:{click:function(t){return e.handelJump("/")}}},[t("img",{attrs:{src:i(47761),alt:"home"}}),t("span",[e._v(" "+e._s(e.$t("home.home")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelJump("/reportBlock")}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(36506),alt:"reportBlock"}}),t("span",[e._v(" "+e._s(e.$t("home.reportBlock")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"}},[t("el-collapse",{model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},[t("el-collapse-item",{attrs:{name:"1"}},[t("template",{slot:"title"},[t("div",{staticClass:"menuItem2"},[t("img",{attrs:{src:i(67069),alt:"account"}}),t("span",[e._v(e._s(e.$t("home.accountCenter")))])])]),e._l(e.newMiningAccountList,(function(i){return t("div",{key:i.id,staticClass:"accountBox",on:{click:function(t){return e.handelJumpAccount(i)}}},[t("div",{staticClass:"coinBox"},[t("img",{attrs:{src:i.img,alt:"coin"}}),t("span",{staticClass:"coin"},[e._v(e._s(i.coin))])]),t("span",{staticClass:"account"},[e._v(e._s(i.account))])])}))],2)],1)],1),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelJump("/personalCenter")}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(91621),alt:"personalCenter"}}),t("span",[e._v(" "+e._s(e.$t("home.personalCenter")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelJump("/workOrderRecords")}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(46165),alt:"workRecord"}}),t("span",[e._v(" "+e._s(e.$t("personal.workOrderRecord")))])])]),t("el-dropdown-item",{directives:[{name:"show",rawName:"v-show",value:e.ManagementShow,expression:"ManagementShow"}],staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelJump("/workOrderBackend")}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(60508),alt:"Work Order Management"}}),t("span",[e._v(" "+e._s(e.$t("work.WorkOrderManagement")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelSignOut.apply(null,arguments)}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(76994),alt:"sign out"}}),t("span",[e._v(" "+e._s(e.$t("user.signOut")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"}},[t("div",{staticClass:"langBox"},[t("el-radio",{attrs:{fill:"red",label:"zh"},on:{input:e.handelRadio},model:{value:e.radio,callback:function(t){e.radio=t},expression:"radio"}},[e._v("简体中文")]),t("el-radio",{attrs:{fill:"#fff",label:"en"},on:{input:e.handelRadio},model:{value:e.radio,callback:function(t){e.radio=t},expression:"radio"}},[e._v("English")])],1)]),t("el-dropdown-item",{directives:[{name:"show",rawName:"v-show",value:!e.isLogin,expression:"!isLogin"}],staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"}},[t("div",{staticClass:"menuLogin"},[t("el-button",{staticClass:"lgBTH",on:{click:function(t){return e.handelJump("/login")}}},[e._v(e._s(e.$t("home.MLogin")))]),t("el-button",{staticClass:"reBTH",on:{click:function(t){return e.handelJump("/register")}}},[e._v(e._s(e.$t("home.MRegister")))])],1)])],1)],1)],1)])},t.Yp=[]},22792:function(e,t,i){e.exports=i.p+"img/404.458c248a.png"},27034:function(e,t,i){e.exports=i.p+"img/home.4c2d8f62.png"},27409:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getBlockInfo=l,t.getCoinInfo=s,t.getLuck=c,t.getMinerCount=r,t.getNetPower=d,t.getParam=u,t.getPoolPower=a;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/getCoinInfo",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/getPoolPower",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/getMinerCount",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/getLuck",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/getBlockInfo",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/getNetPower",method:"post",data:e})}function u(e){return(0,o.default)({url:"pool/getParam",method:"post",data:e})}},27579:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114),i(18111),i(20116),i(7588),i(61701),i(18237);var n=i(47149);t.A={data(){return{radio:"en",data:[{label:"一级 1",children:[{label:"二级 1-1",children:[{label:"三级 1-1-1"}]}]},{label:"一级 2",children:[{label:"二级 2-1",children:[{label:"三级 2-1-1"}]},{label:"二级 2-2",children:[{label:"三级 2-2-1"}]}]},{label:"一级 3",children:[{label:"二级 3-1",children:[{label:"三级 3-1-1"}]},{label:"二级 3-2",children:[{label:"三级 3-2-1"}]}]}],defaultProps:{children:"children",label:"label"},currencyList:[],miningAccountList:[],newMiningAccountList:[],activeNames:"",titleList:[{path:"/",label:"home.home"},{path:"/reportBlock",label:"home.reportBlock"},{path:"/miningAccount",label:"home.accountCenter"},{path:"/readOnlyDisplay",label:"personal.readOnlyPage"},{path:"/personalCenter",label:"home.personalCenter"},{path:"/personalCenter/personalMining",label:"home.accountSettings"},{path:"/personalCenter/readOnly",label:"personal.readOnlyPage"},{path:"/personalCenter/securitySetting",label:"personal.securitySetting"},{path:"/personalCenter/personalAPI",label:"home.API"}],token:"",isLogin:!1,jurisdiction:{roleKey:""},ManagementShow:!1}},computed:{key(){let e=this.titleList.find((e=>e.path==this.$route.path));return e?e.label:""}},watch:{token:{handler(e){this.isLogin=!!e},immediate:!0,deep:!0}},mounted(){this.radio=localStorage.getItem("lang")?localStorage.getItem("lang"):"en",this.currencyList=JSON.parse(localStorage.getItem("currencyList"));let e=localStorage.getItem("miningAccountList");this.miningAccountList=JSON.parse(e);let t=localStorage.getItem("token");this.token=JSON.parse(t);let i=localStorage.getItem("jurisdiction");this.jurisdiction=JSON.parse(i),window.addEventListener("setItem",(()=>{this.currencyList=JSON.parse(localStorage.getItem("currencyList"));let e=localStorage.getItem("miningAccountList");this.miningAccountList=JSON.parse(e);let t=localStorage.getItem("token");this.token=JSON.parse(t),this.miningAccountList[0]&&(this.newMiningAccountList=this.flattenArray(this.miningAccountList));let i=localStorage.getItem("jurisdiction");this.jurisdiction=JSON.parse(i),this.jurisdiction&&"admin"==this.jurisdiction.roleKey?(console.log(565656),this.ManagementShow=!0):this.ManagementShow=!1})),this.miningAccountList[0]&&(this.newMiningAccountList=this.flattenArray(this.miningAccountList)),this.jurisdiction&&"admin"==this.jurisdiction.roleKey?this.ManagementShow=!0:this.ManagementShow=!1},methods:{handelJump(e){console.log(e,"及附件");try{const t=this.$i18n.locale,i=e.startsWith("/")?e.slice(1):e,n=""===i?`/${t}`:`/${t}/${i}`;this.$router.push(n).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("Navigation failed:",e)}))}catch(t){console.error("Navigation error:",t)}},toggleDropdown(){this.showDropdown=!this.showDropdown},handelRadio(e){const t=this.$i18n.locale;this.$i18n.locale=e,localStorage.setItem("lang",e);const i=this.$route.path,n=i.replace(`/${t}`,`/${e}`),o=this.$route.query;this.$router.push({path:n,query:o}).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("Navigation failed:",e)}))},selectItem(e){this.selectedItem=e,this.showDropdown=!1,this.menuItems.forEach((t=>{t.isHighlighted=t.text===e}))},handelJumpAccount(e){const t=this.$i18n.locale;let i={ma:e.account,coin:e.coin,id:e.id,img:e.img};this.$addStorageEvent(1,"accountItem",JSON.stringify(i)),this.$router.push({path:`/${t}/miningAccount`,query:{ma:e.account+e.coin}})},async fetchSignOut(){const e=this.$i18n.locale,t=await(0,n.getLogout)();t&&200==t.code&&this.$router.push(`/${e}/login`)},handelSignOut(){this.fetchSignOut(),localStorage.removeItem("token"),localStorage.removeItem("username"),this.$addStorageEvent(1,"miningAccountList",JSON.stringify("")),this.isLogin=!1,this.isDropdownVisible=!1},flattenArray(e){if(console.log(e,"进来的数组"),e[0])return e.reduce(((e,t)=>e.concat(t.children.map((e=>({...e,coin:t.coin,img:t.img,title:t.title}))))),[])}}}},27596:function(e,t,i){e.exports=i.p+"img/算力.cbdd6975.svg"},29500:function(e,t,i){e.exports=i.p+"img/reincon.5da4795a.png"},31114:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return e.shouldShowBroadcast?t("div",{staticClass:"horizontal-broadcast-container"},[e.showTitle?t("div",{staticClass:"broadcast-header"},[e.showIcon?t("i",{staticClass:"iconfont icon-tishishuoming"}):e._e(),t("span",{staticClass:"broadcast-title"},[e._v(e._s(e.$t("home.describeTitle")))])]):e._e(),t("div",{staticClass:"horizontal-scroll-wrapper",class:{"is-hovering":e.isHovering,"full-width":!e.showTitle},attrs:{title:e.isHovering?e.$t("backendSystem.broadcastPause")||"广播已暂停,移开鼠标继续滚动":e.$t("backendSystem.broadcastResume")||"鼠标悬停可暂停滚动"},on:{mouseenter:e.stopHorizontalScroll,mouseleave:e.resumeHorizontalScroll,touchstart:e.stopHorizontalScroll,touchend:e.startHorizontalScrollDelayed}},[t("div",{ref:"horizontalScrollContent",staticClass:"horizontal-scroll-content",style:e.horizontalScrollStyle},e._l(e.broadcastListForHorizontal,(function(i,n){return t("div",{key:i.id+"-horizontal-"+n,staticClass:"horizontal-broadcast-item",on:{click:function(t){return e.handleItemClick(i)}}},[t("span",{staticClass:"horizontal-item-content"},[e._v(e._s(i.content))]),i.buttonContent&&i.buttonContent.length>0?t("div",{staticClass:"button-group"},e._l(i.buttonContent,(function(n,o){return t("span",{key:`button-${i.id}-${o}`,staticClass:"view",on:{click:function(t){return t.stopPropagation(),e.handelJump(i.buttonPath[o])}}},[e._v(" "+e._s(n||e.$t("home.view"))+" ")])})),0):e._e(),n{let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e}))},mounted(){let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e,window.addEventListener("setItem",(()=>{let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e}))},beforeDestroy(){window.removeEventListener("resize",this.updateWindowWidth)},methods:{updateWindowWidth(){console.log(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth);const e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,t=e<1280;a.default.prototype.$isMobile=t,location.reload()}}}},46165:function(e,t,i){e.exports=i.p+"img/workRecord.5123ed47.svg"},46373:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.alerts_zh=t.alerts_en=void 0;t.alerts_zh={alerts:{Alarm:"离线警报设置",beCareful:"矿机离线时,会通过以下对应邮箱通知您。",beCareful1:" 每个账号最多添加三个邮箱。",add:"添加邮箱",addAlarmEmail:"添加告警邮箱",modifyRemarks:"修改备注",deleteRemind:"确认删除吗?",addedSuccessfully:"添加成功",modifiedSuccessfully:"修改成功",deleteSuccessfully:"删除成功",modificationReminder:"修改备注内容不能为空",acquisitionFailed:"信息获取失败,请重新进入该页面",more:"更多",alarmNotification:"离线警报",alarmMove:"警报",turnOffReminder:"暂未开放该功能,请耐心等待.."}},t.alerts_en={alerts:{Alarm:"Offline alarm settings",beCareful:"When the mining machine is offline, you will be notified through the corresponding email address below.",beCareful1:"Each account can add up to three email addresses.",add:"Add Email",addAlarmEmail:"Add alarm email",modifyRemarks:"Modify remarks",deleteRemind:"Are you sure to delete?",addedSuccessfully:"Added successfully",modifiedSuccessfully:"Modified successfully",deleteSuccessfully:"Delete successfully",modificationReminder:"The modified remarks cannot be empty",acquisitionFailed:"Information retrieval failed, please re-enter the page",more:"More",alarmNotification:"Offline Alert",alarmMove:"Alarm",turnOffReminder:"This feature has not been opened yet, please be patient and wait.."}}},46508:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getAccountPowerDistribution=d,t.getChangeUrlInfo=f,t.getDelPage=y,t.getHistoryIncome=h,t.getHistoryOutcome=m,t.getHtmlUrl=s,t.getMinerAccountPower=l,t.getMinerList=u,t.getMinerPower=p,t.getPageInfo=r,t.getProfitInfo=c,t.getUrlInfo=g,t.getUrlList=a;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/read/getHtmlUrl",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/read/getUrlList",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/read/getPageInfo",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/read/getProfitInfo",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/read/getMinerAccountPower",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/read/getAccountPowerDistribution",method:"post",data:e})}function u(e){return(0,o.default)({url:"pool/read/getMinerList",method:"post",data:e})}function h(e){return(0,o.default)({url:"pool/read/getHistoryIncome",method:"post",data:e})}function m(e){return(0,o.default)({url:"pool/read/getHistoryOutcome",method:"post",data:e})}function p(e){return(0,o.default)({url:"pool/read/getMinerPower",method:"post",data:e})}function g(e){return(0,o.default)({url:"pool/read/getUrlInfo",method:"post",data:e})}function f(e){return(0,o.default)({url:"pool/read/changeUrlInfo",method:"post",data:e})}function y(e){return(0,o.default)({url:"pool/read/delPage",method:"delete",data:e})}},47149:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.closeAccount=g,t.getAccountGradeList=d,t.getLogin=s,t.getLoginCode=c,t.getLogout=l,t.getRegister=a,t.getRegisterCode=r,t.getResetPwd=u,t.getResetPwdCode=h,t.getUserProfile=m,t.sendCloseAccount=p;var o=n(i(35720));function s(e){return(0,o.default)({url:"auth/login",method:"post",data:e})}function a(e){return(0,o.default)({url:"auth/register",method:"post",data:e})}function r(e){return(0,o.default)({url:"auth/registerCode",method:"post",data:e})}function c(e){return(0,o.default)({url:"auth/loginCode",method:"post",data:e})}function l(e){return(0,o.default)({url:"auth/logout",method:"Delete",data:e})}function d(e){return(0,o.default)({url:"pool/user/getAccountGradeList",method:"post",data:e})}function u(e){return(0,o.default)({url:"auth/resetPwd",method:"post",data:e})}function h(e){return(0,o.default)({url:"auth/resetPwdCode",method:"post",data:e})}function m(){return(0,o.default)({url:"system/user/profile",method:"get"})}function p(e){return(0,o.default)({url:"auth/sendCloseAccount",method:"post",data:e})}function g(e){return(0,o.default)({url:"auth/closeAccount",method:"post",data:e})}},47761:function(e,t,i){e.exports=i.p+"img/homeMenu.877d301d.svg"},48370:function(e,t,i){e.exports=i.p+"img/power1.e301c95e.svg"},49967:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(18111),i(7588);var n=i(1652);t.A={name:"SplitScreenEditor",props:{value:{type:String,default:""},options:{type:Object,default:()=>({})},height:{type:[String,Number],default:500}},data(){return{localContent:"",editorMode:"split",isFullscreen:!1,wordCount:0,editorInstance:null,editorId:`editor_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,showUsageGuide:!1,demoEditorInstance:null,demoEditorId:`demo_editor_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,publishLoading:!1,documentInfo:{title:"",subTitle:"",type:0,lang:"zh"},defaultOptions:{height:this.height,menubar:!1,plugins:["advlist","autolink","lists","link","image","charmap","preview","anchor","searchreplace","visualblocks","code","fullscreen","insertdatetime","media","table","help","wordcount"],toolbar:["undo redo | formatselect | bold italic underline strikethrough","forecolor backcolor | alignleft aligncenter alignright alignjustify","bullist numlist outdent indent | removeformat | help"].join(" | "),content_style:"\n body { \n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; \n font-size: 14px; \n line-height: 1.6;\n color: #2c3e50;\n }\n p { margin: 10px 0; }\n ul, ol { margin: 10px 0; padding-left: 20px; }\n li { margin: 4px 0; }\n ",language:"zh_CN",branding:!1,resize:!1,statusbar:!1,placeholder:"开始编写您的内容...",setup:e=>{this.editorInstance=e,e.on("input",(()=>{this.handleEditorChange()})),e.on("change",(()=>{this.handleEditorChange()})),e.ui.registry.addButton("bulletpoint",{text:"• 圆点",tooltip:"插入黑色圆点",onAction:()=>{this.insertBulletPoint()}})}}}},computed:{mergedOptions(){return{...this.defaultOptions,...this.options,height:this.height,toolbar:this.defaultOptions.toolbar+" | bulletpoint"}},previewContent(){if(!this.localContent)return'

预览内容将在这里显示...

';let e=this.localContent;return e=e.replace(/
    /g,'
      '),e=e.replace(/
        /g,'
          '),e=e.replace(/
        1. /g,'
        2. '),e}},watch:{value:{handler(e){e!==this.localContent&&(this.localContent=e,this.editorInstance&&this.editorInstance.setContent(e))},immediate:!0},localContent(){this.updateWordCount()}},mounted(){this.initEditor(),this.updateWordCount(),document.addEventListener("keydown",this.handleKeydown),this.showUsageGuide&&this.$nextTick((()=>{setTimeout((()=>{console.log("页面加载完成,初始化演示编辑器"),this.initDemoEditor()}),1e3)}))},beforeDestroy(){this.destroyEditor(),this.destroyDemoEditor(),document.removeEventListener("keydown",this.handleKeydown)},methods:{async initEditor(){if("undefined"!==typeof window.tinymce)try{await window.tinymce.init({selector:`#${this.editorId}`,...this.mergedOptions}),console.log("编辑器初始化成功")}catch(e){console.error("编辑器初始化失败:",e)}else console.error("TinyMCE未加载,请确保已正确引入TinyMCE")},destroyEditor(){this.editorInstance&&(this.editorInstance.destroy(),this.editorInstance=null)},handleEditorChange(){if(this.editorInstance){const e=this.editorInstance.getContent();this.localContent=e,this.$emit("input",e),this.$emit("change",e)}},handleContentChange(e){const t=e.target.value;this.localContent=t,this.$emit("input",t),this.$emit("change",t)},insertBulletPoint(){if(this.editorInstance){const e=this.editorInstance.selection,t=e.getContent({format:"text"});if(t){const e=`• ${t}`;this.editorInstance.execCommand("mceReplaceContent",!1,e)}else this.editorInstance.execCommand("mceInsertContent",!1,"• ");this.editorInstance.focus()}else{const e=document.getElementById(this.editorId);if(e){const t=e.selectionStart,i=e.selectionEnd,n=e.value,o=n.substring(0,t)+"• "+n.substring(i);this.localContent=o,this.$emit("input",o),this.$nextTick((()=>{e.focus(),e.setSelectionRange(t+2,t+2)}))}}},toggleFullscreen(){this.isFullscreen=!this.isFullscreen,this.isFullscreen?document.body.style.overflow="hidden":document.body.style.overflow=""},handleKeydown(e){"Escape"===e.key&&this.isFullscreen&&this.toggleFullscreen()},updateWordCount(){const e=this.localContent.replace(/<[^>]*>/g,"");this.wordCount=e.length},copyHtml(){if(navigator.clipboard)navigator.clipboard.writeText(this.localContent).then((()=>{this.$message.success("HTML内容已复制到剪贴板")})).catch((e=>{console.error("复制失败:",e),this.$message.error("复制失败")}));else{const t=document.createElement("textarea");t.value=this.localContent,document.body.appendChild(t),t.select();try{document.execCommand("copy"),this.$message.success("HTML内容已复制到剪贴板")}catch(e){console.error("复制失败:",e),this.$message.error("复制失败")}document.body.removeChild(t)}},getContent(){return this.localContent},setContent(e){this.localContent=e,this.editorInstance&&this.editorInstance.setContent(e)},clear(){this.setContent("")},toggleUsageGuide(){this.showUsageGuide=!this.showUsageGuide,this.showUsageGuide?(console.log("使用指南已打开,准备初始化演示编辑器"),this.$nextTick((()=>{setTimeout((()=>{this.initDemoEditor()}),500)}))):(console.log("使用指南已关闭,销毁演示编辑器"),this.destroyDemoEditor())},handlePublish(){this.localContent.trim()?this.showPublishDialog():this.$message.warning("请先输入内容再发布")},showPublishDialog(){this.$prompt("请输入文档标题:","发布文档",{confirmButtonText:"发布",cancelButtonText:"取消",inputPlaceholder:"请输入文档标题",inputValue:this.documentInfo.title||`编辑器文档_${(new Date).toLocaleDateString()}`,inputValidator:e=>e&&e.trim()?!(e.trim().length>100)||"文档标题不能超过100个字符":"文档标题不能为空"}).then((({value:e})=>{this.documentInfo.title=e.trim(),this.showDocumentTypeDialog()})).catch((()=>{console.log("用户取消发布")}))},showDocumentTypeDialog(){const e=[{label:"其他",value:0},{label:"服务条款",value:1},{label:"API文档",value:2},{label:"挖矿教程",value:3}],t=e.map((e=>``)).join("");this.$msgbox({title:"选择文档类型",message:`\n
          \n \n \n
          \n
          \n 文档信息:
          \n 标题:${this.documentInfo.title}
          \n 字数:${this.wordCount} 字\n
          \n `,dangerouslyUseHTMLString:!0,confirmButtonText:"确认发布",cancelButtonText:"取消",beforeClose:(e,t,i)=>{if("confirm"===e){const e=document.getElementById("documentTypeSelect");e&&(this.documentInfo.type=parseInt(e.value))}i()}}).then((()=>{this.confirmPublish()})).catch((()=>{console.log("用户取消选择文档类型")}))},async confirmPublish(){this.publishLoading=!0;try{let e=this.localContent;this.editorInstance?(e=this.editorInstance.getContent(),console.log("发布前 - 从编辑器获取的最新内容:",e),console.log("发布前 - 内容长度:",e.length),console.log("发布前 - localContent:",this.localContent),this.localContent=e):console.warn("编辑器实例不存在,使用本地内容:",e);const t=e.replace(/<[^>]*>/g,"").trim();if(!t)return this.$message.warning("编辑器内容为空,请先输入内容"),void(this.publishLoading=!1);const i={id:null,title:this.documentInfo.title,subTitle:this.documentInfo.subTitle||"",content:e,lang:this.$i18n?.locale||this.documentInfo.lang,type:this.documentInfo.type};console.log("=== 发布文档数据调试信息 ==="),console.log("完整参数:",i),console.log("当前语言:",this.$i18n?.locale),console.log("内容预览 (前200字符):",e.substring(0,200)),console.log("内容是否包含h2标签:",e.includes("

          ")),console.log("内容是否包含h3标签:",e.includes("

          ")),console.log("===========================");const o=await(0,n.addDocument)(i);if(!o||200!==o.code)throw new Error(o?.message||"发布失败");this.$message.success("文档发布成功!"),this.$emit("publish",{success:!0,documentId:o.data?.id,title:this.documentInfo.title,content:e,wordCount:t.length,timestamp:(new Date).toISOString(),response:o.data}),this.$notify({title:"发布成功",message:`文档 "${this.documentInfo.title}" 已成功发布`,type:"success",duration:4e3}),this.clearAutoSave()}catch(e){console.error("文档发布失败:",e),this.$message.error(`发布失败:${e.message||"网络错误"}`),this.$emit("publish",{success:!1,error:e.message||"发布失败",title:this.documentInfo.title,content:currentContent||this.localContent})}finally{this.publishLoading=!1}},async initDemoEditor(){if("undefined"===typeof window.tinymce)return void console.error("TinyMCE未加载,无法初始化演示编辑器");let e=0;const t=10,i=()=>{const n=document.getElementById(this.demoEditorId);n&&this.showUsageGuide?this.doInitDemoEditor():e{this.demoEditorInstance=e,console.log("演示编辑器实例已创建"),setTimeout((()=>{e.setContent('\n

          🎯 演示编辑器

          \n

          在这里直接尝试各种功能:

          \n
            \n
          • 选中文字后点击 粗体斜体下划线
          • \n
          • 使用颜色按钮改变文字颜色
          • \n
          • 点击"• 圆点"按钮插入项目符号
          • \n
          • 创建有序或无序列表
          • \n
          \n

          • ALEO矿工必须质押一定数量的ALEO代币

          \n

          💡 你可以直接编辑这些内容来测试功能!

          \n ')}),200)},setup:e=>{e.ui.registry.addButton("bulletpoint",{text:"• 圆点",tooltip:"插入黑色圆点",onAction:()=>{e.insertContent("• "),e.focus()}})}};await window.tinymce.init({selector:`#${this.demoEditorId}`,...e}),console.log("演示编辑器初始化成功")}catch(t){console.error("演示编辑器初始化失败:",t)}},destroyDemoEditor(){if(this.demoEditorInstance)try{this.demoEditorInstance.destroy(),this.demoEditorInstance=null,console.log("演示编辑器已销毁")}catch(e){console.error("销毁演示编辑器时出错:",e)}},clearAutoSave(){try{const e=Object.keys(localStorage);e.forEach((e=>{e.startsWith("splitscreen_editor_draft_")&&localStorage.removeItem(e)})),console.log("已清空自动保存的草稿")}catch(e){console.warn("清空自动保存草稿时出错:",e)}},checkDemoEditorStatus(){console.log("=== 演示编辑器状态检查 ==="),console.log("使用指南显示状态:",this.showUsageGuide),console.log("演示编辑器ID:",this.demoEditorId),console.log("DOM元素存在:",!!document.getElementById(this.demoEditorId)),console.log("演示编辑器实例:",this.demoEditorInstance),console.log("TinyMCE可用:","undefined"!==typeof window.tinymce);const e=document.getElementById(this.demoEditorId);e&&console.log("DOM元素详情:",{id:e.id,className:e.className,offsetHeight:e.offsetHeight,offsetWidth:e.offsetWidth})}}}},51406:function(e,t,i){var n=i(3999)["default"],o=n(i(66848)),s=n(i(89965)),a=n(i(39325)),r=n(i(55129)),c=n(i(89143));i(91475),i(79412);var l=n(i(58044)),d=n(i(86425));i(40665);var u=i(82908),h=n(i(18614)),m=n(i(54211)),p=n(i(98986));i(9526);var g=n(i(37465));o.default.prototype.$bus=new o.default,o.default.use(h.default),o.default.prototype.$addStorageEvent=u.$addStorageEvent,o.default.config.productionTip=!1,o.default.use(c.default,{i18n:(e,t)=>l.default.t(e,t)}),o.default.prototype.$axios=d.default,console.log=()=>{},o.default.mixin(m.default),o.default.mixin(p.default),o.default.prototype.$baseApi="https://test.m2pool.com/";const f=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,y=f<1280;o.default.prototype.$isMobile=y,window.addEventListener("unhandledrejection",(e=>{const t=e&&e.reason,i="string"===typeof t?t:t&&t.message;i&&("Network Error"===i||i.includes("timeout"))&&(e.preventDefault(),console.warn("[unhandledrejection] blocked network error:",i))})),a.default.beforeEach(((e,t,i)=>{const n=e.params.lang||localStorage.getItem("lang")||"en";document.documentElement.lang=n,l.default.locale!==n&&(l.default.locale=n);const o=localStorage.getItem("token");o&&"null"!==o||localStorage.setItem("cs_disconnect_all",Date.now().toString()),i()})),setInterval((()=>{g.default.cleanup()}),6e4),window.vm=new o.default({router:a.default,store:r.default,i18n:l.default,render:e=>e(s.default),created(){this.$watch((()=>this.$i18n.locale),(e=>{this.updateMetaAndTitle()})),this.updateMetaAndTitle()},mounted(){document.dispatchEvent(new Event("render-event"))},methods:{updateMetaAndTitle(){document.title=this.$i18n.t("home.appTitle");const e=document.querySelector('meta[name="description"]');e&&(e.content=this.$i18n.t("home.metaDescription"))}}}).$mount("#app"),document.addEventListener("DOMContentLoaded",(()=>{window.vm.updateMetaAndTitle()}))},51775:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getFileUpdate=u,t.getHistory=s,t.getHistory7=a,t.getReadMessage=r,t.getRoomList=c,t.getUpdateRoom=l,t.getUserid=d;var o=n(i(35720));function s(e){return(0,o.default)({url:"chat/message/find/history/message",method:"post",data:e})}function a(e){return(0,o.default)({url:"chat/message/find/recently/message",method:"post",data:e})}function r(e){return(0,o.default)({url:"chat/message/read/message",method:"post",data:e})}function c(e){return(0,o.default)({url:"/chat/rooms/find/room/list",method:"post",data:e})}function l(e){return(0,o.default)({url:"/chat/rooms/update/room",method:"post",data:e})}function d(e){return(0,o.default)({url:"chat/rooms/find/room/by/userid",method:"post",data:e})}function u(e){return(0,o.default)({url:"pool/ticket/uploadFile",method:"post",data:e})}},52217:function(e,t,i){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"contentMain"},[t("div",{staticClass:"contentPage"},[t("router-view",{key:e.key})],1),e.$isMobile?t("section",{staticClass:"moveFooterBox"},[t("div",{staticClass:"footerBox"},[e._m(0),t("div",{staticClass:"missionBox"},[t("p",{staticClass:"mission"},[e._v(e._s(e.$t("home.mission")))]),t("p",{staticClass:"missionText"},[e._v(e._s(e.$t("home.missionText")))])]),t("div",{staticClass:"missionBox"},[t("p",{staticClass:"mission"},[e._v(e._s(e.$t("home.service")))]),t("div",{staticClass:"FMenu"},[t("p",[t("span",{on:{click:function(t){return e.jumpPage1("/apiFile")}}},[e._v(e._s(e.$t("home.APIfile")))])]),t("p",[t("span",{on:{click:function(t){return e.jumpPage2("/rate")}}},[e._v(e._s(e.$t("home.rateFooter")))])])])]),t("div",{staticClass:"missionBox"},[t("p",{staticClass:"mission"},[e._v(e._s(e.$t("home.userAssistance")))]),t("div",{staticClass:"FMenu"},[t("p",[t("span",{on:{click:function(t){return e.jumpPage3("/AccessMiningPool")}}},[e._v(e._s(e.$t("home.miningTutorial")))])]),t("p",[t("span",{on:{click:function(t){return e.jumpPage3("/submitWorkOrder")}}},[e._v(e._s(e.$t("home.submitWorkOrder")))])])])]),t("div",{staticClass:"missionBox"},[t("p",{staticClass:"mission"},[e._v(e._s(e.$t("home.aboutUs")))]),t("div",{staticClass:"FMenu"},[t("p",[t("a",{attrs:{href:"mailto:support@m2pool.com"}},[e._v(e._s(e.$t("home.joinUs")))])]),t("p",[t("a",{attrs:{href:"mailto:support@m2pool.com"}},[e._v(e._s(e.$t("home.contactCustomerService")))])]),t("p",[t("span",{on:{click:function(t){return e.jumpPage("/ServiceTerms")}}},[e._v(e._s(e.$t("home.serviceTerms")))])]),t("p",[t("a",{attrs:{href:"mailto:support@m2pool.com"}},[e._v(e._s(e.$t("home.businessCooperation")))])])])])])]):t("div",{staticClass:"footerBox"},[t("el-row",{staticStyle:{width:"100%"}},[t("el-col",{attrs:{xs:24,sm:24,md:5,lg:5,xl:5}},[t("div",{staticClass:"footerSon logo2"},[t("div",{staticClass:"logoBox"},[t("img",{staticClass:"logoImg",attrs:{src:i(65549),alt:"logo图片"}}),t("span",{staticClass:"copyright"},[e._v("Copyright © 2024 M2pool")])])])]),t("el-col",{attrs:{xs:24,sm:24,md:6,lg:6,xl:6}},[t("div",{staticClass:"footerSon text"},[t("h4",[e._v(e._s(e.$t("home.mission")))]),t("div",[e._v(e._s(e.$t("home.missionText")))])])]),t("el-col",{attrs:{xs:24,sm:24,md:4,lg:4,xl:4}},[t("div",{staticClass:"footerSon product"},[t("ul",[t("li",{staticClass:"productTitle"},[t("h4",[e._v(e._s(e.$t("home.service")))])]),t("li",[t("span",{on:{click:function(t){return e.jumpPage1("/apiFile")}}},[e._v(e._s(e.$t("home.APIfile")))])]),t("li",[t("span",{on:{click:function(t){return e.jumpPage2("/rate")}}},[e._v(e._s(e.$t("home.rateFooter")))])])])])]),t("el-col",{attrs:{xs:24,sm:24,md:4,lg:4,xl:4}},[t("div",{staticClass:"footerSon product"},[t("ul",[t("li",{staticClass:"productTitle"},[t("h4",[e._v(e._s(e.$t("home.userAssistance")))])]),t("li",[t("span",{on:{click:function(t){return e.jumpPage3("/AccessMiningPool")}}},[e._v(" "+e._s(e.$t("home.miningTutorial")))])]),t("li",[t("span",{on:{click:function(t){return e.jumpPage4("/submitWorkOrder")}}},[e._v(e._s(e.$t("home.submitWorkOrder")))])])])])]),t("el-col",{attrs:{xs:24,sm:24,md:4,lg:4,xl:4}},[t("div",{staticClass:"footerSon product"},[t("ul",[t("li",{staticClass:"productTitle"},[t("h4",[e._v(e._s(e.$t("home.aboutUs")))])]),t("li",[t("a",{attrs:{href:"mailto:support@m2pool.com"}},[e._v(e._s(e.$t("home.joinUs")))])]),t("li",[t("span",{on:{click:function(t){return e.jumpPage("/ServiceTerms")}}},[e._v(" "+e._s(e.$t("home.serviceTerms")))])]),t("li",[t("a",{attrs:{href:"mailto:support@m2pool.com"}},[e._v(e._s(e.$t("home.businessCooperation")))])]),t("li",[t("a",{attrs:{href:"mailto:support@m2pool.com"}},[e._v(e._s(e.$t("home.contactCustomerService")))])])])])])],1)],1)])},t.Yp=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"logoBox"},[t("img",{staticClass:"logoImg",attrs:{src:i(65549),alt:"logo图片"}}),t("span",{staticClass:"copyright"},[e._v("Copyright © 2024 M2pool")])])}]},52801:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(94809),o=i(99047),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"e25d79d6",null),c=r.exports},53263:function(e,t,i){e.exports=i.p+"img/notOpen.759679bf.png"},53724:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.announcements_zh=t.announcements_en=void 0;t.announcements_zh={title:"公告中心",latestTitle:"最新公告",searchPlaceholder:"搜索",homeCenter:"首页中心",viewAll:"查看所有",articles:"篇文章",noData:"暂无公告",loadError:"加载公告失败",importantNotice:"重要通知",systemAnnouncement:"系统公告",marketDynamic:"市场动态",serviceNotice:"服务通知",faultDescription:"故障说明",offlineNotice:"下线通知",today:"今天",yesterday:"昨天",daysAgo:"天前",back:"返回",refresh:"刷新",search:"搜索",reset:"重置",total:"共",page:"页",items:"条",goToPage:"跳至",networkError:"网络连接失败,请检查网络设置",serverError:"服务器异常,请稍后重试",dataError:"数据加载失败",searchTip:"请输入关键词进行搜索",noSearchResult:"未找到相关公告",loadingTip:"正在加载...",published:"已发布",draft:"草稿",archived:"已归档",detail:"详情",content:"内容",publishTime:"发布时间",updateTime:"更新时间",author:"作者",category:"分类",tags:"标签",readCount:"阅读量",viewDetail:"查看详情",share:"分享",favorite:"收藏",print:"打印",download:"下载",filter:"筛选",sort:"排序",sortByTime:"按时间排序",sortByPopularity:"按热度排序",filterByType:"按类型筛选",filterByDate:"按日期筛选",allTypes:"全部类型",allDates:"全部日期",advancedSearch:"高级搜索",searchByTitle:"按标题搜索",searchByContent:"按内容搜索",searchByAuthor:"按作者搜索",dateRange:"日期范围",startDate:"开始日期",endDate:"结束日期"},t.announcements_en={title:"Announcement Center",latestTitle:"Latest Announcements",searchPlaceholder:"Search",homeCenter:"Home Center",viewAll:"View All",articles:"Articles",noData:"No announcements",loadError:"Failed to load announcements",importantNotice:"Important Notice",systemAnnouncement:"System Announcement",marketDynamic:"Market Dynamic",serviceNotice:"Service Notice",faultDescription:"Fault Description",offlineNotice:"Offline Notice",today:"Today",yesterday:"Yesterday",daysAgo:"days ago",back:"Back",refresh:"Refresh",search:"Search",reset:"Reset",total:"Total",page:"Page",items:"Items",goToPage:"Go to",networkError:"Network connection failed, please check network settings",serverError:"Server error, please try again later",dataError:"Data loading failed",searchTip:"Please enter keywords to search",noSearchResult:"No related announcements found",loadingTip:"Loading...",published:"Published",draft:"Draft",archived:"Archived",detail:"Detail",content:"Content",publishTime:"Publish Time",updateTime:"Update Time",author:"Author",category:"Category",tags:"Tags",readCount:"Read Count",viewDetail:"View Detail",share:"Share",favorite:"Favorite",print:"Print",download:"Download",filter:"Filter",sort:"Sort",sortByTime:"Sort by Time",sortByPopularity:"Sort by Popularity",filterByType:"Filter by Type",filterByDate:"Filter by Date",allTypes:"All Types",allDates:"All Dates",advancedSearch:"Advanced Search",searchByTitle:"Search by Title",searchByContent:"Search by Content",searchByAuthor:"Search by Author",dateRange:"Date Range",startDate:"Start Date",endDate:"End Date"}},54752:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114),i(18111),i(22489),i(20116),i(7588),i(61701),i(13579),i(17642),i(58004),i(33853),i(45876),i(32475),i(15024),i(31698);var n=i(92500),o=i(51775);t.A={name:"ChatWidget",data(){return{isChatOpen:!1,inputMessage:"",messages:[],unreadMessages:0,showImagePreview:!1,previewImageUrl:"",stompClient:null,receivingEmail:"",connectionStatus:"disconnected",userType:0,userEmail:"",autoResponses:{hello:"您好,有什么可以帮助您的?","你好":"您好,有什么可以帮助您的?",hi:"您好,有什么可以帮助您的?","挖矿":"您可以查看我们的挖矿教程,或者直接创建矿工账户开始挖矿。","算力":"您可以在首页查看当前的矿池算力和您的个人算力。","收益":"收益根据您的算力贡献按比例分配,详情可以查看收益计算器。","帮助":"您可以查看我们的帮助文档,或者提交工单咨询具体问题。"},isLoadingHistory:!1,hasMoreHistory:!0,roomId:"",isWebSocketConnected:!1,heartbeatInterval:null,lastHeartbeatTime:null,heartbeatTimeout:12e4,cachedMessages:{},isMinimized:!1,reconnectAttempts:0,maxReconnectAttempts:3,reconnectInterval:3e3,isReconnecting:!1,lastActivityTime:Date.now(),activityCheckInterval:null,networkStatus:"online",reconnectTimer:null,connectionError:null,showRefreshButton:!1,heartbeatCheckInterval:3e4,maxMessageLength:300,connectionVerifyTimer:null,isConnectionVerified:!1,isHandlingError:!1,lastErrorTime:0,lastConnectedEmail:null,userViewHistory:!1,customerIsOnline:!1,jurisdiction:{roleKey:""},token:""}},computed:{displayMessages(){const e=[],t=3e5;let i=null;return this.messages.forEach(((n,o)=>{if(!n.isSystemHint&&!n.isLoading){const s=new Date(n.time);(!i||s-i>t)&&(e.push({isTimeDivider:!0,time:n.time,id:`divider-${s.getTime()}-${o}`}),i=s)}e.push(n)})),e}},watch:{connectionStatus(e,t){e!==t&&(console.log(`🔄 连接状态变化: ${t} -> ${e}`),console.log(`🔍 当前时间: ${(new Date).toLocaleTimeString()}`),console.log(`🔍 WebSocket状态: ${this.isWebSocketConnected}`),console.log(`🔍 STOMP状态: ${this.stompClient?.connected}`),console.log(`🔍 重连状态: ${this.isReconnecting}`),console.log(`🔍 验证状态: ${this.isConnectionVerified}`),"connecting"===e&&"connected"===t&&(console.warn("⚠️ 连接状态从connected变为connecting,可能有问题"),console.trace("调用栈:")),"connected"===e&&(console.log("✅ 状态已变为connected,强制触发重新渲染"),this.$forceUpdate()))},isChatOpen(e){e&&this.$nextTick((()=>this.scrollToBottomOnInit()))},token(e){console.log("token变化打印",e),e||(localStorage.setItem("cs_disconnect_all",Date.now().toString()),this.forceDisconnectAll(),this.$nextTick((()=>{this.determineUserType()})))}},async created(){let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e,window.addEventListener("setItem",(()=>{let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e})),this.initUnreadMessages(),this.determineUserType()},mounted(){let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(n){e={roleKey:""}}this.jurisdiction=e;let t=localStorage.getItem("customerIsOnline");this.customerIsOnline=JSON.parse(t);let i=localStorage.getItem("token");this.token=JSON.parse(i),window.addEventListener("setItem",(()=>{let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(n){e={roleKey:""}}this.jurisdiction=e;let t=localStorage.getItem("customerIsOnline");this.customerIsOnline=JSON.parse(t);let i=localStorage.getItem("token");this.token=JSON.parse(i)})),window.addEventListener("beforeunload",this.handleBeforeUnload),window.addEventListener("storage",this.handleStorageChange),document.addEventListener("click",this.handleClickOutside),document.addEventListener("visibilitychange",this.handleVisibilityChange),window.addEventListener("online",this.handleNetworkChange),window.addEventListener("offline",this.handleNetworkChange),this.startActivityCheck(),document.addEventListener("mousemove",this.updateLastActivityTime),document.addEventListener("keydown",this.updateLastActivityTime),document.addEventListener("click",this.updateLastActivityTime),this.$bus.$on("user-logged-out",this.handleLogout),this.$bus.$on("user-logged-in",this.handleLoginSuccess),this.setupDebugMode(),this.$nextTick((()=>{this.$refs.chatBody&&this.$refs.chatBody.addEventListener("scroll",this.handleChatBodyScroll)})),this.scrollToBottomOnInit()},methods:{initUnreadMessages(){try{const e=this.getUnreadStorageKey(),t=localStorage.getItem(e);this.unreadMessages=t&&parseInt(t,10)||0}catch(e){console.warn("读取未读消息数失败:",e),this.unreadMessages=0}},getUnreadStorageKey(){return`chat_unread_${this.userEmail||"guest"}`},updateUnreadMessages(e){try{const t=this.getUnreadStorageKey();this.unreadMessages=e,localStorage.setItem(t,String(e))}catch(t){console.warn("保存未读消息数失败:",t)}},handleStorageChange(e){if(e.key&&e.key.startsWith("chat_unread_")){const t=this.getUnreadStorageKey();if(e.key===t){const t=parseInt(e.newValue,10)||0;this.unreadMessages=t}}},async initChatSystem(){if(this.userEmail)if(this.isWebSocketConnected&&"connected"===this.connectionStatus&&this.userEmail===this.lastConnectedEmail)console.log("✅ 聊天系统已初始化且连接正常,跳过重复初始化");else try{if(console.log("jurisdict口服空手道咖啡豆防控ion",this.jurisdiction),"customer_service"==this.jurisdiction.roleKey||"admin"==this.jurisdiction.roleKey||"back_admin"==this.jurisdiction.roleKey)return;const e=await this.fetchUserid({email:this.userEmail});e&&(this.roomId=e.id,this.receivingEmail=e.userEmail,this.customerIsOnline=e.customerIsOnline,this.updateUnreadMessages(e.clientReadNum||0),this.isWebSocketConnected&&this.userEmail===this.lastConnectedEmail||(this.isWebSocketConnected&&this.userEmail!==this.lastConnectedEmail&&await this.forceDisconnectAll(),this.initWebSocket(e.selfEmail),this.lastConnectedEmail=this.userEmail))}catch(e){console.error("初始化聊天系统失败:",e)}else console.log("❌ userEmail为空,跳过初始化")},initWebSocket(e){this.connectWebSocket(e)},async determineUserType(){console.log("token",this.token);try{const i=localStorage.getItem("token");if(!i){const e=sessionStorage.getItem("chatGuestEmail");return e&&e.startsWith("guest_")?(this.userType=0,this.userEmail=e):(this.userType=0,this.userEmail=`guest_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,sessionStorage.setItem("chatGuestEmail",this.userEmail)),void this.initChatSystem()}try{const t=JSON.parse(localStorage.getItem("jurisdiction")||"{}"),i=localStorage.getItem("userEmail")||"{}";let n="";try{const e=JSON.parse(i);n=e.email||e.value||e.userEmail||e,"string"!==typeof n&&(n="")}catch(e){n=i}this.userEmail=n,"customer_service"===t.roleKey||"admin"===t.roleKey?(this.userType=2,this.userEmail=""):(this.userType=1,this.userEmail=n),this.initUnreadMessages(),await this.initChatSystem()}catch(t){console.error("解析用户信息失败:",t),this.setupGuestIdentity()}}catch(i){console.error("获取用户信息失败:",i),this.setupGuestIdentity()}},setupGuestIdentity(){const e=sessionStorage.getItem("chatGuestEmail");e&&e.startsWith("guest_")?(this.userType=0,this.userEmail=e):(this.userType=0,this.userEmail=`guest_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,sessionStorage.setItem("chatGuestEmail",this.userEmail)),this.initChatSystem()},subscribeToPersonalMessages(e){if(!this.stompClient||!this.isWebSocketConnected)return console.error("❌ STOMP客户端未连接,无法订阅消息"),this.connectionStatus="error",this.connectionError=this.$t("chat.unableToSubscribe"),this.isWebSocketConnected=!1,this.showRefreshButton=!1,void this.$forceUpdate();if(!this.stompClient.connected)return console.error("❌ STOMP客户端已断开,无法订阅消息"),this.connectionStatus="error",this.connectionError="chat.unableToSubscribe",this.isWebSocketConnected=!1,this.showRefreshButton=!1,void this.$forceUpdate();try{this.stompClient.subscribe(`/sub/queue/user/${e}`,(e=>{this.lastHeartbeatTime=Date.now(),"connected"!==this.connectionStatus&&(this.connectionStatus="connected",this.isWebSocketConnected=!0,this.isReconnecting=!1,this.connectionError=null),this.markConnectionVerified(),this.onMessageReceived(e)}));this.connectionStatus="connected",this.isWebSocketConnected=!0,this.isReconnecting=!1,this.connectionError=null,this.reconnectAttempts=0,this.markConnectionVerified(),this.$forceUpdate(),this.startActivityCheck()}catch(t){console.error("❌ 订阅消息异常:",t),this.connectionStatus="error",this.connectionError=this.$t("chat.conflict"),this.isWebSocketConnected=!1,this.isReconnecting=!1,this.showRefreshButton=!1,this.$forceUpdate()}},async connectWebSocket(e){let t=e||this.userEmail;if(!t)try{const e=localStorage.getItem("userEmail");if(e){const i=JSON.parse(e);t=i.email||i.value||i.userEmail||i,"string"!==typeof t&&(t="")}}catch(o){console.warn("[DEBUG] 解析localStorage userEmail失败:",o)}if(!t){const e=sessionStorage.getItem("chatGuestEmail");e&&e.startsWith("guest_")&&(t=e)}if(t||(t=`guest_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,sessionStorage.setItem("chatGuestEmail",t),console.warn("[DEBUG] 自动生成游客邮箱:",t)),this.userEmail=t,e=t,!e)return Promise.reject(new Error("缺少用户邮箱参数"));if(this.isWebSocketConnected&&this.lastConnectedEmail===e)return Promise.resolve("already_connected");if(this.isReconnecting)return Promise.resolve("reconnecting");this.connectionStatus="connecting",this.isReconnecting=!0,this.connectionError=null;const i=setTimeout((()=>{"connecting"!==this.connectionStatus||this.isConnectionVerified||this.handleConnectionTimeout()}),3e4);try{const t="https://test.m2pool.com/api/";let s="";t.startsWith("https://")&&(s=t.replace("https://","wss://")),t.startsWith("http://")&&(s=t.replace("http://","ws://"));const a=`${s}chat/ws`;if(this.stompClient){try{this.stompClient.disconnect()}catch(o){console.warn("[DEBUG] stompClient.disconnect异常",o)}this.stompClient=null}this.stompClient=n.Stomp.client(a),this.stompClient.webSocketFactory=()=>{const e=new WebSocket(a);return e.binaryType="arraybuffer",e.onerror=e=>{console.error("WebSocket连接错误:",e),clearTimeout(i),this.handleWebSocketError(e)},e.onopen=()=>{},e.onclose=e=>{clearTimeout(i),this.isReconnecting||this.handleWebSocketClose(e)},e};const r={email:e,type:this.userType};return this.stompClient.onStompError=e=>{const t=e.headers?.message||"";console.error("🔴 STOMP 错误:",t),t.includes("1020")?this.handleConnectionLimitError():(this.connectionError=t||this.$t("chat.abnormal"),this.connectionStatus="error",this.isWebSocketConnected=!1,this.isReconnecting=!1,this.showRefreshButton=!0,this.$forceUpdate())},new Promise(((t,n)=>{this.stompClient.connect(r,(n=>{clearTimeout(i),this.isWebSocketConnected=!0,this.connectionStatus="connecting",this.reconnectAttempts=0,this.isReconnecting=!1,this.connectionError=null,this.subscribeToPersonalMessages(e),this.startHeartbeat(),setTimeout((()=>{"connecting"!==this.connectionStatus||this.isConnectionVerified||(console.warn("⚠️ 连接成功但5秒内未完成订阅验证,可能是多窗口冲突或订阅失败"),this.connectionStatus="error",this.connectionError=this.$t("chat.conflict"),this.isWebSocketConnected=!1,this.isReconnecting=!1,this.showRefreshButton=!0,this.$forceUpdate())}),5e3),t(n)}),(e=>(console.error("WebSocket Error:",e),clearTimeout(i),this.isHandshakeError(e)?(this.handleHandshakeError(e),void n(e)):this.isConnectionLimitError(e.headers.message)?(this.connectionError=e.headers.message,this.connectionStatus="error",this.isReconnecting=!1,this.handleConnectionLimitError(),void n(e)):(e.headers.message.includes("503")?this.connectionError=this.$t("chat.server500"):e.headers.message.includes("handshake")?this.connectionError=this.$t("chat.networkAnomaly"):this.connectionError=this.$t("chat.abnormal"),this.isReconnecting=!1,this.handleDisconnect(),void n(e))))),this.stompClient.heartbeat.outgoing=3e4,this.stompClient.heartbeat.incoming=3e4}))}catch(s){return console.error("初始化 WebSocket 失败:",s),clearTimeout(i),this.connectionError=this.$t("chat.initializationFailed"),this.isReconnecting=!1,this.handleDisconnect(),Promise.reject(s)}},handleDisconnect(){this.isReconnecting||(this.isWebSocketConnected=!1,this.connectionStatus="error",this.isReconnecting=!0,this.clearConnectionVerification(),this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.isConnectionLimitError(this.connectionError)?this.handleConnectionLimitError():this.handleConnectionError(this.connectionError)||(this.reconnectAttempts{if(this.isReconnecting=!1,!this.isWebSocketConnected){const e=this.connectWebSocket(this.userEmail);e&&"function"===typeof e.catch&&e.catch((e=>{console.error("[DEBUG] 自动重连失败:",e)}))}}),this.reconnectInterval)):(this.isReconnecting=!1,this.showRefreshButton=!0)))},handleNetworkChange(){this.networkStatus=navigator.onLine?"online":"offline",navigator.onLine&&(location.reload(),this.isChatOpen=!1,this.isMinimized=!1,this.isLoadingHistory=!1,this.isLoading=!1,this.isWebSocketConnected=!1,this.isReconnecting=!1)},startActivityCheck(){this.activityCheckInterval=setInterval((()=>{const e=Date.now(),t=e-this.lastActivityTime;t>3e5&&!this.isWebSocketConnected&&this.handleDisconnect()}),6e4)},updateLastActivityTime(){this.lastActivityTime=Date.now()},handleBeforeUnload(){this.disconnectWebSocket()},handleInputMessage(){this.inputMessage.length>this.maxMessageLength&&(this.inputMessage=this.inputMessage.slice(0,this.maxMessageLength))},handleEnterKey(e){"Enter"!==e.key||e.shiftKey||(e.preventDefault(),this.inputMessage.trim()&&"connected"===this.connectionStatus&&this.sendMessage())},sendMessage(){if("online"!==this.networkStatus)return void this.$message({message:this.$t("chat.networkError")||"网络连接已断开,无法发送消息",type:"error",showClose:!0});if(console.log("客服状态",this.customerIsOnline,"用户身份",this.userType,"用户邮箱",this.userEmail),0===this.userType&&!1===this.customerIsOnline)return void this.$message({message:this.$t("chat.customerServiceOffline")||"客服离线,请登录账号发送留言消息",type:"warning",showClose:!0});if(!this.inputMessage.trim())return void this.$message({message:this.$t("chat.sendMessageEmpty")||"发送消息不能为空",type:"warning",showClose:!0});if(this.inputMessage.length>this.maxMessageLength)return void this.$message.warning(this.$t("chat.contentMax")||"超出发送内容大小限制,请删除部分内容(300字以内)");if(!this.stompClient||!this.stompClient.connected)return void this.handleDisconnect();const e=this.inputMessage.trim(),t=Date.now(),i=Math.random().toString(36).substr(2,9),n=`local_${t}_${i}`,o={id:n,content:e,type:1,sendEmail:this.userEmail,sendTime:(new Date).toISOString(),roomId:this.roomId,isLocalMessage:!0};this.addMessageToChat(o,!0);try{const t={content:e,type:1,email:this.receivingEmail,receiveUserType:2,roomId:this.roomId};this.stompClient.send("/point/send/message/to/customer",{},JSON.stringify(t)),this.inputMessage=""}catch(s){console.error("发送消息失败:",s),this.$message.error(this.$t("chat.failInSend")||"发送失败,请重试")}},disconnectWebSocket(){if(this.stopHeartbeat(),this.clearConnectionVerification(),this.stompClient)try{this.stompClient.subscriptions&&Object.keys(this.stompClient.subscriptions).forEach((e=>{this.stompClient.unsubscribe(e)})),this.stompClient.deactivate(),this.isWebSocketConnected=!1,this.connectionStatus="disconnected",this.reconnectAttempts=0,this.isReconnecting=!1}catch(e){console.error("断开 WebSocket 连接失败:",e)}},handleVisibilityChange(){document.hidden||(this.isWebSocketConnected||this.handleDisconnect(),this.updateLastActivityTime())},async markMessagesAsRead(){if(this.roomId&&this.userEmail)try{const t={roomId:this.roomId,userType:this.userType,email:this.userEmail};let i=0;const n=3;let s=!1;while(i{"user"===e.type&&(e.isRead=!0)})),s=!0):(console.warn(`标记消息已读失败 (尝试 ${i+1}/${n}):`,e),i++,isetTimeout(e,1e3*i))))}catch(e){i++,isetTimeout(e,1e3*i)))}s||(console.warn("标记消息已读失败,已达到最大重试次数"),this.updateUnreadMessages(0),this.messages.forEach((e=>{"user"===e.type&&(e.isRead=!0)})))}catch(e){console.error("标记消息已读出错:",e),this.updateUnreadMessages(0),this.messages.forEach((e=>{"user"===e.type&&(e.isRead=!0)}))}else console.log("缺少必要参数,跳过标记已读")},async loadHistoryMessages(){if(!this.isLoadingHistory&&this.roomId){this.isLoadingHistory=!0;try{const e=await(0,o.getHistory7)({roomId:this.roomId,userType:this.userType,email:this.userEmail});if(200===e?.code&&Array.isArray(e.data)){const t=this.formatHistoryMessages(e.data);t.length>0?(this.messages=t.sort(((e,t)=>new Date(e.time)-new Date(t.time))),await this.$nextTick(),setTimeout((()=>{this.scrollToBottom(!0)}),100)):this.messages=[{type:"system",text:this.$t("chat.noHistory")||"暂无历史消息",isSystemHint:!0,time:(new Date).toISOString()}]}else this.messages=[{type:"system",text:this.$t("chat.noHistory")||"暂无历史消息",isSystemHint:!0,time:(new Date).toISOString()}]}catch(e){console.error("加载历史消息失败:",e),this.$message.error(this.$t("chat.loadHistoryFailed")||"加载历史消息失败"),this.messages=[{type:"system",text:"加载历史消息失败,请重试",isSystemHint:!0,time:(new Date).toISOString(),isError:!0}]}finally{this.isLoadingHistory=!1}}},async loadMoreHistory(){if(!this.isLoadingHistory&&this.roomId){this.isLoadingHistory=!0;try{let e=null,t=0;const i=this.$refs.chatBody;if(i&&i.children&&i.children.length>0)for(let o=0;o!e.isSystemHint&&!e.isLoading)),s=await(0,o.getHistory7)({roomId:this.roomId,userType:this.userType,email:this.userEmail,id:n?.id});if(s&&200===s.code&&s.data&&Array.isArray(s.data)&&s.data.length>0){const n=this.formatHistoryMessages(s.data);if(n.length>0){const o=new Set(this.messages.map((e=>e.id)).filter((e=>e))),s=n.filter((e=>!o.has(e.id)));s.length>0?(this.messages=[...s,...this.messages],this.$nextTick((()=>{if(i&&e){let n=this.messages.findIndex((t=>t.id===e));if(-1!==n&&i.children[n]){const e=i.children[n].offsetTop;i.scrollTop=e-t}}}))):(this.hasMoreHistory=!1,this.messages.unshift({type:"system",text:this.$t("chat.noMoreHistory")||"没有更多历史消息了",isSystemHint:!0,time:(new Date).toISOString()}))}else this.hasMoreHistory=!1,this.messages.unshift({type:"system",text:this.$t("chat.noMoreHistory")||"没有更多历史消息了",isSystemHint:!0,time:(new Date).toISOString()})}else this.hasMoreHistory=!1,this.messages.unshift({type:"system",text:this.$t("chat.noMoreHistory")||"没有更多历史消息了",isSystemHint:!0,time:(new Date).toISOString()})}catch(e){this.$message.error(this.$t("chat.loadHistoryFailed")||"加载历史消息失败,请重试")}finally{this.isLoadingHistory=!1}}},formatHistoryMessages(e){if(!e||!Array.isArray(e)||0===e.length)return[];const t=e.filter((e=>e&&e.id&&(e.content||2===e.type))).map((e=>({type:1===e.isSelf?"user":"system",text:e.content||"",isImage:2===e.type,imageUrl:2===e.type?e.content:null,time:"string"===typeof e.createTime?e.createTime:e.createTime?new Date(e.createTime).toISOString():(new Date).toISOString(),id:e.id,roomId:e.roomId,sender:e.sendEmail,isHistory:!0,isRead:!0}))).sort(((e,t)=>{if(e.id&&t.id){const i=parseInt(e.id)-parseInt(t.id);if(0!==i)return i}const i=new Date(e.time).getTime(),n=new Date(t.time).getTime();return i-n}));return console.log("✅ 格式化历史消息完成,数量:",t.length),t},async fetchUserid(e){try{const t=await(0,o.getUserid)(e);return t&&200==t.code?(this.receivingEmail=t.data.userEmail,this.roomId=t.data.id,this.customerIsOnline=t.data.customerIsOnline,localStorage.setItem("customerIsOnline",JSON.stringify(this.customerIsOnline)),t.data):(console.warn("获取用户ID未返回有效数据"),null)}catch(t){throw console.error("获取用户ID失败:",t),t}},updateMessageReadStatus(e){Array.isArray(e)&&0!==e.length?this.messages.forEach((t=>{t.id&&e.includes(t.id)&&(t.isRead=!0)})):this.messages.forEach((e=>{"user"===e.type&&(e.isRead=!0)}))},onMessageReceived(e){try{const t=JSON.parse(e.body);if(this.markConnectionVerified(),99===t.type||t.content&&(t.content.includes("__SYSTEM_PING__")||t.content.includes("connection_test_ping")||t.content.includes("SYSTEM_PING")))return;this.handleIncomingMessage(t)}catch(t){console.error("处理消息失败:",t)}},handleIncomingMessage(e){const t=e.sendEmail===this.userEmail,i={id:e.id,sender:e.sendEmail,content:e.content,createTime:e.createTime,sendTime:e.sendTime,type:e.type,roomId:e.roomId,sendEmail:e.sendEmail,isImage:2===e.type,clientReadNum:e.clientReadNum,isLocalMessage:e.isLocalMessage||!1};if(t){const e=this.messages.findIndex((e=>{if(!e.isLocalMessage)return!1;const t=e.text===i.content,n=new Date(e.time),o=i.createTime||i.sendTime;if(!o)return t;const s=new Date(o),a=Math.abs(s-n),r=a<3e4;return t&&r}));if(-1!==e){const t=this.createMessageObject(i);return void this.$set(this.messages,e,{...this.messages[e],id:i.id,time:t.time,isLocalMessage:!1})}}if(!this.checkDuplicateMessage(i)&&(this.addMessageToChat(i,t),!t))if(this.isChatOpen&&this.isAtBottom())this.updateUnreadMessages(0);else{void 0!==e.clientReadNum?this.updateUnreadMessages(e.clientReadNum):this.updateUnreadMessages(this.unreadMessages+1);const t=this.createMessageObject(e);this.showNotification(t)}},checkDuplicateMessage(e){const t=e.time||e.createTime||e.sendTime;if(!t)return!1;const i=e.content,n=e.sendEmail,o=e.id;if(o&&this.messages.some((e=>e.id===o)))return!0;const s=n===this.userEmail;if(!s)return!1;const a=Date.now()-3e4,r=new Date(t).getTime();return this.messages.some((e=>{if(e.isLocalMessage)return!1;if("user"!==e.type||e.text!==i)return!1;const t=new Date(e.time).getTime(),n=Math.abs(t-r),o=t>a,s=n<3e4;return!(!o||!s)}))},createMessageObject(e){let t;return t=e.sendTime?"string"===typeof e.sendTime?e.sendTime:new Date(e.sendTime).toISOString():e.createTime?"string"===typeof e.createTime?e.createTime:new Date(e.createTime).toISOString():(new Date).toISOString(),{type:e.sendEmail===this.userEmail?"user":"system",text:e.content,isImage:2===e.type,imageUrl:2===e.type?e.content:null,time:t,id:e.id,roomId:e.roomId,sender:e.sendEmail,isRead:!1,isLocalMessage:e.isLocalMessage||!1}},addMessageToChat(e,t=!1){const i=this.createMessageObject(e);this.messages.push(i),this.$nextTick((()=>{t||e.isNewMessage?(this.scrollToBottom(!0,"new"),setTimeout((()=>this.scrollToBottom(!0,"new")),100),this.userViewHistory=!1):this.userViewHistory||(this.scrollToBottom(!1,"new"),setTimeout((()=>this.scrollToBottom(!1,"new")),100))}))},showNotification(e){"Notification"in window&&("granted"===Notification.permission?this.createNotification(e):"denied"!==Notification.permission&&Notification.requestPermission().then((t=>{"granted"===t&&this.createNotification(e)})))},createNotification(e){const t=new Notification(this.$t("chat.newMessage")||"新消息",{body:e.isImage?`[ ${this.$t("chat.pictureMessage")}]`||"[图片消息]":e.text,icon:"/path/to/notification-icon.png"});t.onclick=()=>{window.focus(),this.openChat(e.roomId)}},async openChat(e){this.isChatOpen=!0,this.isMinimized=!1,e&&(this.currentContactId=e,this.messages=this.cachedMessages[e]||[],this.markMessagesAsRead(e),await this.$nextTick(),this.scrollToBottom(!0,"new"))},async toggleChat(){this.fetchUserid({email:this.userEmail}),console.log("请求客服状态",this.userEmail);const e=this.isChatOpen;this.isChatOpen=!this.isChatOpen;const t=JSON.parse(localStorage.getItem("jurisdiction")||"{}");if("customer_service"!==t.roleKey&&"admin"!==t.roleKey)if(!e&&this.isChatOpen&&this.$nextTick((()=>{this.isAtBottom()&&this.markMessagesAsRead()})),this.isChatOpen)try{this.userEmail||await this.determineUserType(),this.isWebSocketConnected&&"disconnected"!==this.connectionStatus&&"error"!==this.connectionStatus?"connected"===this.connectionStatus&&this.isWebSocketConnected&&this.stompClient?.connected?this.markConnectionVerified():this.startConnectionVerification():await this.connectWebSocket(this.userEmail),0===this.messages.length?await this.loadHistoryMessages():(await this.$nextTick(),setTimeout((()=>{this.scrollToBottom(!0,"new")}),100)),setTimeout((()=>{this.isChatOpen&&this.$refs.chatBody&&this.scrollToBottom(!0,"new")}),300)}catch(i){console.error("初始化聊天失败:",i)}else this.clearConnectionVerification();else{this.userType=2;const e=this.$i18n.locale;this.$router.push(`/${e}/customerService`)}},minimizeChat(){this.isChatOpen=!1,this.isMinimized=!0},closeChat(){this.isChatOpen=!1,this.isMinimized=!0},addSystemMessage(e){this.messages.push({type:"system",text:e,isImage:!1,time:(new Date).toISOString()})},handleAutoResponse(e){setTimeout((()=>{let t=this.$t("chat.beSorry")||"抱歉,我暂时无法回答这个问题。请排队等待人工客服或提交工单。";for(const[i,n]of Object.entries(this.autoResponses))if(e.toLowerCase().includes(i.toLowerCase())){t=n;break}this.messages.push({type:"system",text:t,isImage:!1,time:(new Date).toISOString()}),this.isChatOpen||this.unreadMessages++}),1e3)},handleImageLoad(e){e&&e.isHistory||this.scrollToBottom(!0,"new")},scrollToBottom(e=!1,t="new"){if(!this.$refs.chatBody)return void console.warn("[DEBUG] scrollToBottom: chatBody不存在");const i=this.$refs.chatBody,n=(i.scrollTop,i.scrollHeight,i.clientHeight,()=>{i.scrollTop=i.scrollHeight});this.$nextTick((()=>{this.$nextTick((()=>{n(),e&&setTimeout((()=>{this.$refs.chatBody&&n()}),50)}))}))},formatTime(e){if(!e)return"";try{let t="";if("string"===typeof e)t=e;else{if(!(e instanceof Date))return String(e);t=e.toISOString()}if(t.includes("T")){const[e,i]=t.split("T");if(e&&i){const t=i.split(":").slice(0,2).join(":"),n=new Date,o=n.toISOString().split("T")[0],s=e;if(o===s)return`UTC ${this.$t("chat.today")} ${t}`;const a=new Date(Date.now()-864e5).toISOString().split("T")[0];return a===s?`UTC ${this.$t("chat.yesterday")} ${t}`:`UTC ${e} ${t} `}}const i=new Date(t);if(isNaN(i.getTime()))return t;const n=i.getUTCFullYear(),o=String(i.getUTCMonth()+1).padStart(2,"0"),s=String(i.getUTCDate()).padStart(2,"0"),a=String(i.getUTCHours()).padStart(2,"0"),r=String(i.getUTCMinutes()).padStart(2,"0");return`UTC ${n}-${o}-${s} ${a}:${r} `}catch(t){return console.error("格式化时间失败:",t),String(e)}},formatTimeDivider(e){if(!e)return"";try{let t="";if("string"===typeof e)t=e;else{if(!(e instanceof Date))return String(e);t=e.toISOString()}if(t.includes("T")){const[e,i]=t.split("T");if(e&&i){const t=i.split(":").slice(0,2).join(":"),n=new Date,o=n.toISOString().split("T")[0],s=e;if(o===s)return`UTC ${this.$t("chat.today")} ${t}`;const a=new Date(Date.now()-864e5).toISOString().split("T")[0];return a===s?`UTC ${this.$t("chat.yesterday")} ${t}`:`UTC ${e} ${t} `}}const i=new Date(t);if(isNaN(i.getTime()))return t;const n=i.getUTCFullYear(),o=String(i.getUTCMonth()+1).padStart(2,"0"),s=String(i.getUTCDate()).padStart(2,"0"),a=String(i.getUTCHours()).padStart(2,"0"),r=String(i.getUTCMinutes()).padStart(2,"0");return`UTC ${n}-${o}-${s} ${a}:${r} `}catch(t){return console.error("格式化分割条时间失败:",t),String(e)}},handleClickOutside(e){if(this.isChatOpen){const t=this.$el.querySelector(".chat-dialog"),i=this.$el.querySelector(".chat-icon"),n=this.$el.querySelector(".history-indicator");if(n&&n.contains(e.target))return;!t||t.contains(e.target)||i.contains(e.target)||(this.isChatOpen=!1)}},async handleImageUpload(e){if("connected"!==this.connectionStatus)return;const t=e.target.files[0];if(!t)return;if(!t.type.startsWith("image/"))return void this.$message({message:this.$t("chat.onlyImages")||"只能上传图片文件!",type:"warning"});const i=5242880;if(t.size>i)this.$message({message:this.$t("chat.imageTooLarge")||"图片大小不能超过5MB!",type:"warning"});else try{const e=new FormData;e.append("file",t);const i=await this.$axios({method:"post",url:"https://test.m2pool.com/api/pool/ticket/uploadFile",data:e,headers:{"Content-Type":"multipart/form-data"}});if(200!==i.data.code)throw new Error(i.data.msg||this.$t("chat.pictureFailed")||"发送图片失败,请重试");{const e=i.data.data.url;this.sendImageMessage(e)}}catch(n){console.error("图片处理失败:",n),this.$message.error("图片处理失败,请重试")}finally{this.$refs.imageUpload.value=""}},sendImageMessage(e){if(!this.stompClient||!this.stompClient.connected)return void this.handleDisconnect();const t=Date.now(),i=Math.random().toString(36).substr(2,9),n=`local_img_${t}_${i}`,o={id:n,content:e,type:2,sendEmail:this.userEmail,sendTime:(new Date).toISOString(),roomId:this.roomId,isLocalMessage:!0};this.addMessageToChat(o,!0);try{const t={type:2,email:this.receivingEmail,receiveUserType:2,roomId:this.roomId,content:e};this.stompClient.send("/point/send/message/to/customer",{},JSON.stringify(t))}catch(s){console.error("发送图片消息失败:",s)}},previewImage(e){this.previewImageUrl=e,this.showImagePreview=!0},closeImagePreview(){this.showImagePreview=!1,this.previewImageUrl=""},async handleRetryConnect(){try{this.connectionStatus="connecting",this.connectionError=null,this.showRefreshButton=!1,this.isReconnecting=!1,this.isConnectionVerified=!1,this.isHandlingError=!1,this.lastErrorTime=0,this.reconnectAttempts=0,this.clearConnectionVerification(),await this.forceDisconnectAll(),await new Promise((e=>setTimeout(e,500))),this.userEmail||await this.determineUserType(),await this.connectWebSocket(this.userEmail),"connected"===this.connectionStatus&&(0===this.messages.length&&await this.loadHistoryMessages(),this.$nextTick((()=>{this.scrollToBottom(!0)})))}catch(e){console.error("❌ 重试连接失败:",e),this.connectionStatus="error",this.isReconnecting=!1,e.message&&(e.message.includes("handshake")||e.message.includes("503")||e.message.includes("网络"))?(this.connectionError=this.$t("chat.networkAnomaly")||"网络连接异常,请稍后重试",this.showRefreshButton=!1):(this.connectionError=this.$t("chat.abnormal")||"连接异常,请重试",this.showRefreshButton=e.message&&e.message.includes("1020"))}},refreshPage(){window.location.reload()},startHeartbeat(){this.stopHeartbeat(),this.lastHeartbeatTime=Date.now(),this.heartbeatInterval=setInterval((()=>{const e=Date.now();if(e-this.lastHeartbeatTime>this.heartbeatTimeout&&"connected"===this.connectionStatus&&this.stompClient&&this.stompClient.connected){if(this.stompClient.ws.readyState===WebSocket.OPEN)return void(this.lastHeartbeatTime=e);this.handleDisconnect()}}),this.heartbeatCheckInterval)},stopHeartbeat(){this.heartbeatInterval&&(clearInterval(this.heartbeatInterval),this.heartbeatInterval=null)},handleLoginClick(){this.isChatOpen=!1;const e=this.$i18n.locale;this.$router.push(`/${e}/login`)},parseSocketError(e){let t="";if("string"===typeof e?t=e:e&&e.message?t=e.message:e&&e.body&&(t=e.body),t.includes("ERROR message:")){const e=t.split("ERROR message:")[1];if(e&&e.match(/^\d+/)){const i=e.match(/^(\d+)(.*)$/);if(i){const e=i[1],n=i[2]||"";return{code:e,message:n.trim(),original:t}}}}if(t.includes(",")){const e=t.split(",");if(e.length>=2){const i=e[0].trim(),n=e.slice(1).join(",").trim();return{code:i,message:n,original:t}}}const i=t.match(/^(\d+)(.*)$/);if(i){const e=i[1],n=i[2].trim();return{code:e,message:n,original:t}}return{code:null,message:t,original:t}},isConnectionLimitError(e){if(!e)return!1;const t=String(e),{code:i,message:n}=this.parseSocketError(t);if("1020"===i)return!0;const o=n.toLowerCase(),s=o.includes("连接数已达上限")||o.includes("本机连接数已达上限")||o.includes("本机连接已达上限")||o.includes("无法连接到已上线")||o.includes("请先关闭已有链接")||o.includes("maximum connections")||o.includes("connection limit")||o.includes("too many connections")||o.includes("1020");if(!s){if(t.includes("1020"))return!0;if(t.includes("ERROR message:1020"))return!0;if(t.includes("连接数上限")||t.includes("连接数已达上限"))return!0}return s},async handleConnectionLimitError(){this.connectionStatus="error",this.connectionError=this.$t("chat.connectionLimitError")||"连接数已达上限(超过10个窗口),请关闭一些窗口后重试",this.isWebSocketConnected=!1,this.isReconnecting=!1,this.showRefreshButton=!1,this.$forceUpdate()},async forceDisconnectAll(){if(this.stopHeartbeat(),this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.activityCheckInterval&&(clearInterval(this.activityCheckInterval),this.activityCheckInterval=null),this.clearConnectionVerification(),this.stompClient){try{this.stompClient.subscriptions&&Object.keys(this.stompClient.subscriptions).forEach((e=>{try{this.stompClient.unsubscribe(e)}catch(t){}})),this.stompClient.connected&&this.stompClient.disconnect(),this.stompClient.ws&&this.stompClient.ws.readyState===WebSocket.OPEN&&this.stompClient.ws.close()}catch(e){}this.stompClient=null}this.isWebSocketConnected=!1,this.reconnectAttempts=0,this.connectionError=null},handleConnectionError(e){if(!e)return!1;let t;t="string"===typeof e?this.parseSocketError(e):e.message?this.parseSocketError(e.message):this.parseSocketError(e);const i=t.code;t.message||t.original;switch(i){case"1020":return!1;case"1021":return this.connectionError=this.$t("chat.serverBusy")||"服务器繁忙,请稍后刷新重试",this.connectionStatus="error",this.isReconnecting=!1,this.showRefreshButton=!0,this.$message.error(this.connectionError),!0;case"1022":return this.connectionError=this.$t("chat.identityError")||"身份验证失败,请刷新页面重试",this.connectionStatus="error",this.isReconnecting=!1,this.showRefreshButton=!0,this.$message.error(this.connectionError),!0;case"1023":return this.connectionError=this.$t("chat.emailError")||"用户信息获取失败,请刷新页面重试",this.connectionStatus="error",this.isReconnecting=!1,this.showRefreshButton=!0,this.$message.error(this.connectionError),!0;default:return!1}},startConnectionVerification(){this.isConnectionVerified=!1,this.clearConnectionVerification(),"connected"===this.connectionStatus&&this.isWebSocketConnected&&this.stompClient?.connected?this.markConnectionVerified():this.connectionVerifyTimer=setTimeout((()=>{this.isConnectionVerified||("connecting"===this.connectionStatus||"connected"===this.connectionStatus?this.handleConnectionTimeout():this.handleConnectionVerificationFailure())}),6e4)},markConnectionVerified(){this.isConnectionVerified||(this.isConnectionVerified=!0,this.clearConnectionVerification(),this.isHandlingError=!1,this.isReconnecting=!1,this.reconnectAttempts=0,this.connectionError=null,this.connectionStatus="connected",this.isWebSocketConnected=!0,this.$forceUpdate())},setupDebugMode(){document.addEventListener("keydown",(e=>{e.ctrlKey&&e.shiftKey&&"D"===e.key&&this.debugConnectionStatus()}))},debugConnectionStatus(){"connecting"===this.connectionStatus&&this.isConnectionVerified&&(console.warn("⚠️ 状态不一致:连接中但已验证"),this.connectionStatus="connected",this.$forceUpdate()),"connected"!==this.connectionStatus||this.isWebSocketConnected||(console.warn("⚠️ 状态不一致:已连接但WebSocket未连接"),this.connectionStatus="connecting",this.$forceUpdate())},clearConnectionVerification(){this.connectionVerifyTimer&&(clearTimeout(this.connectionVerifyTimer),this.connectionVerifyTimer=null)},handleConnectionVerificationFailure(){const e=Date.now();this.isHandlingError&&e-this.lastErrorTime<5e3||(this.isHandlingError=!0,this.lastErrorTime=e,this.clearConnectionVerification(),this.isWebSocketConnected=!1,this.connectionStatus="connecting",this.connectionError=this.$t("chat.reconnecting")||"正在重新连接...",setTimeout((()=>{if(this.isHandlingError=!1,this.stompClient)try{this.stompClient.disconnect()}catch(e){}this.connectWebSocket(this.userEmail).catch((e=>{this.isHandlingError=!1,this.connectionStatus="error",this.showRefreshButton=!0}))}),2e3))},handleConnectionTimeout(){const e=Date.now();if(!(this.isHandlingError&&e-this.lastErrorTime<5e3)){if(this.isHandlingError=!0,this.lastErrorTime=e,this.reconnectAttempts++,this.reconnectAttempts>=this.maxReconnectAttempts)return console.log("❌ 连接超时且已达最大重连次数,停止重连"),this.isHandlingError=!1,this.connectionStatus="error",this.connectionError="连接超时,请刷新页面重试",void(this.showRefreshButton=!0);this.clearConnectionVerification(),this.forceDisconnectAll().then((()=>{this.connectionStatus="connecting",this.connectionError=this.$t("chat.connectionTimedOut")||"连接超时,稍后重试...",setTimeout((()=>{this.isHandlingError=!1,this.connectWebSocket(this.userEmail).catch((e=>{console.error("❌ 超时重连失败:",e),this.isHandlingError=!1,this.connectionStatus="error",this.connectionError=this.$t("chat.reconnectFailed")||"重连失败,请稍后重试",this.reconnectAttempts>=this.maxReconnectAttempts&&(this.showRefreshButton=!0,this.connectionError=this.$t("chat.connectionFailed")||"连接失败,请刷新页面重试")}))}),2e3)})).catch((e=>{console.error("❌ 强制断开连接失败:",e),this.isHandlingError=!1,this.connectionStatus="error",this.connectionError=this.$t("chat.connectionFailed")||"连接处理失败,请稍后重试",this.reconnectAttempts>=this.maxReconnectAttempts&&(this.showRefreshButton=!0,this.connectionError=this.$t("chat.connectionFailed")||"连接失败,请刷新页面重试")}))}},isHandshakeError(e){if(!e||!e.message)return!1;const t=e.message.toLowerCase();return t.includes("handshake")||t.includes("websocket")||t.includes("unexpected response code: 200")||t.includes("unexpected response code: 404")||t.includes("unexpected response code: 500")||t.includes("unexpected response code: 502")||t.includes("unexpected response code: 503")||t.includes("connection refused")||t.includes("connection denied")||t.includes("connection reset")||t.includes("network error")||t.includes("connection failed")||t.includes("upgrade required")||t.includes("bad handshake")},handleHandshakeError(e){const t=Date.now();if(!(this.isHandlingError&&t-this.lastErrorTime<5e3)){if(this.isHandlingError=!0,this.lastErrorTime=t,this.isWebSocketConnected=!1,this.connectionStatus="error",this.isReconnecting=!1,e.message.includes("unexpected response code: 200")?this.connectionError=this.$t("chat.serviceConfigurationError")||"服务配置异常,请稍后重试":e.message.includes("unexpected response code: 404")?this.connectionError=this.$t("chat.serviceAddressUnavailable")||"服务地址不可用,请稍后重试":e.message.includes("unexpected response code: 500")?this.connectionError=this.$t("chat.server500")||"服务器暂时不可用,请稍后重试":e.message.includes("connection refused")?this.connectionError=this.$t("chat.connectionFailedService")||"无法连接到服务器,请稍后重试":this.connectionError=this.$t("chat.connectionFailed")||"连接失败,请稍后重试",this.reconnectAttempts++,this.reconnectAttempts>=this.maxReconnectAttempts)return this.isHandlingError=!1,this.showRefreshButton=!0,void(this.connectionError=this.$t("chat.connectionFailed")||"连接失败,请刷新页面重试");setTimeout((()=>{this.isHandlingError=!1,this.connectionStatus="connecting",this.connectWebSocket(this.userEmail).catch((e=>{this.isHandlingError=!1,this.connectionStatus="error",this.connectionError=this.$t("chat.reconnectFailed")||"重连失败,请稍后重试"}))}),3e3)}},handleWebSocketError(e){const t=Date.now();this.isHandlingError&&t-this.lastErrorTime<3e3||(this.isHandlingError=!0,this.lastErrorTime=t,this.isWebSocketConnected=!1,this.connectionStatus="error",this.connectionError=this.$t("chat.connectionFailedCustomer")||"连接客服系统失败,请检查网络或稍后重试",this.showRefreshButton=!1,setTimeout((()=>{this.isHandlingError=!1,this.handleDisconnect()}),1e3))},handleWebSocketClose(e){1e3!==e.code&&(this.isWebSocketConnected=!1,this.connectionStatus="error",this.connectionError=this.$t("chat.connectionFailedCustomer")||"连接客服系统失败,请检查网络或稍后重试",this.showRefreshButton=!1,setTimeout((()=>{this.isWebSocketConnected||this.handleDisconnect()}),1e3))},handleLogout(){this.disconnectWebSocket(),this.isChatOpen=!1,this.isMinimized=!0,this.messages=[],this.updateUnreadMessages(0),this.connectionStatus="disconnected",this.isWebSocketConnected=!1,this.userType=0,this.userEmail="",this.roomId="",sessionStorage.removeItem("chatGuestEmail"),this.lastConnectedEmail=null},async handleLoginSuccess(){this.disconnectWebSocket(),sessionStorage.removeItem("chatGuestEmail"),this.lastConnectedEmail=null,await new Promise((e=>setTimeout(e,100)));let e=0;const t=3;while(esetTimeout(t,500*e)))}},shouldAutoScrollOnNewMessage(){if(!this.isChatOpen)return!1;const e=this.$refs.chatBody;if(!e)return!1;const{scrollTop:t,scrollHeight:i,clientHeight:n}=e,o=Math.abs(i-(t+n)),s=o<100;return s},isAtBottom(){const e=this.$refs.chatBody;return!e||e.scrollHeight-e.scrollTop-e.clientHeight<2},handleChatBodyScroll(){this.$refs.chatBody&&(this.isAtBottom()?(this.userViewHistory=!1,this.markMessagesAsRead()):this.userViewHistory=!0)},scrollToBottomOnInit(){let e=0;const t=5,i=100,n=()=>{this.scrollToBottom(!0,"init"),e++,ee.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");return t(e).replace(/\n/g,"
          ")}},beforeDestroy(){this.$bus.$off("user-logged-out",this.handleLogout),this.handleLogout(),document.removeEventListener("visibilitychange",this.handleVisibilityChange),this.stompClient&&(this.stompClient.disconnect(),this.stompClient=null),this.disconnectWebSocket(),this.activityCheckInterval&&clearInterval(this.activityCheckInterval),this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.clearConnectionVerification(),window.removeEventListener("online",this.handleNetworkChange),window.removeEventListener("offline",this.handleNetworkChange),document.removeEventListener("mousemove",this.updateLastActivityTime),document.removeEventListener("keydown",this.updateLastActivityTime),document.removeEventListener("click",this.updateLastActivityTime),window.removeEventListener("storage",this.handleStorageChange),this.stopHeartbeat(),this.$bus.$off("user-logged-in",this.handleLoginSuccess),this.$refs.chatBody&&this.$refs.chatBody.removeEventListener("scroll",this.handleChatBodyScroll)}}},57637:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.seo_zh=t.seo_en=void 0;n(i(94368));t.seo_zh={seo:{Home:"M2Pool 矿池,2024 全新升级!为您带来更稳定的网络服务,高效提升单位收益。透明的分配机制,可靠的技术服务,让您挖矿无忧。支持 nexa、grs、mona、dgb、rxd 等众多热门币种挖矿,开启财富增长新通道。",miningAccount:"M2Pool 矿池的挖矿账户页面,为用户提供详尽的账户信息展示。在这里,您可以直观地查看该账户的收益情况,通过算力走势图清晰了解算力变化趋势,掌握矿工情况,同时还能深入查看收益及支付的详细信息,助力您更好地管理挖矿业务。",readOnlyDisplay:"M2Pool 矿池只读页面展示页,通过分享的链接地址及特定权限,清晰呈现矿池的收益状况、支付详情以及矿工信息等关键数据,让您随时了解矿池动态,把握挖矿收益走向。",reportBlock:"M2Pool 矿池报块页面,精准展示各个币种的幸运值、区块高度、出块时间、区块哈希值以及区块奖励等重要信息,为您提供全面的矿池运行数据,助力您做出更明智的挖矿决策。",rate:"M2Pool 矿池费率页面,清晰呈现各个币种的挖矿费率、收益计算模式以及起付额等关键信息,帮助您准确评估挖矿成本与收益,做出更合理的挖矿策略选择。",apiFile:"M2Pool 矿池 API 文档页面,为用户详细介绍如何通过 M2Pool 提供的 API 接口获取矿池及帐户算力。内容涵盖 API 的认证 token 生成、接口调用方法以及返回数据结构说明,助力开发者高效利用矿池数据资源。",AccessMiningPool:"M2Pool 矿池接入矿池页面,详细阐述每个币种接入矿池的具体步骤,为用户提供便捷的接入指南,轻松开启挖矿之旅。",ServiceTerms:"M2Pool 矿池服务条款页面,明确阐述关于使用 M2Pool 矿池网站的相关服务条款,确保用户在使用过程中清楚了解权利与义务,保障用户权益。",submitWorkOrder:"M2Pool 矿池提交工单页面,当您在使用矿池网站过程中遇到任何问题时,可在此提交工单。我们将尽快处理并回复,为您提供高效的技术支持服务。",workOrderRecords:"M2Pool 矿池工单记录页面,方便用户查看在 M2Pool 矿池网站提交的所有工单记录以及工单目前的处理状态,随时掌握问题解决进度。",userWorkDetails:"M2Pool 矿池用户工单详情页面,用户可在此查看提交工单的详细情况,包括提交时间、详细问题描述以及处理过程。同时,也可以通过该页面继续对该工单进行补充提交。",alerts:"M2Pool 矿池矿机离线告警,根据不同账户用户自定义设置告警邮箱及备注信息,方便用户及时掌握矿机情况,提升用户体验。",personalCenter:"M2Pool 矿池个人中心,为用户提供全面的个性化管理功能。在这里,您可以便捷地设置挖矿账户、管理钱包地址、调整只读页面权限、强化安全设置,还能订阅挖矿报告,以及生成个人 API 密钥,满足您对矿池管理的多样化需求。",personalMining:"M2Pool 矿池个人中心挖矿账户设置页面,用户可在此设置各个币种的挖矿账户,方便地进行账户的添加、删除操作,以及绑定和修改钱包地址。",readOnly:"在 M2Pool 矿池的只读页面设置中,轻松添加只读权限,根据自选权限分享矿池信息。无论是管理员还是注册用户,都能便捷查看,随时掌握矿池动态。",securitySetting:"M2Pool 矿池个人中心安全设置页面,用户可在此修改密码并开启双重验证,为账户安全增添多一层保障。",personalAPI:"M2Pool 矿池个人中心 API 页面,用户可以选择默认本地 IP 或输入特定 IP 地址,自主选择权限并生成对应的 API KEY,方便进行个性化的数据管理。",miningReport:"M2Pool 矿池个人中心挖矿报告页面,用户可开启周报、月报订阅服务,固定时间将上周或上月的挖矿数据发送至用户注册邮箱,随时掌握挖矿成果。",personal:"显示用户信息、登录历史相关信息:时间、位置、ip、设备等",nexaAccess:"M2Pool 矿池 nexa 接入页面,详细介绍如何接入 M2Pool 矿池进行 nexa 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",grsAccess:"M2Pool 矿池 grs 接入页面,详细介绍如何接入 M2Pool 矿池进行 grs 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",monaAccess:"M2Pool 矿池 mona 接入页面,详细介绍如何接入 M2Pool 矿池进行 mona 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",dgbAccess:"M2Pool 矿池 dgb 接入页面,详细介绍如何接入 M2Pool 矿池进行 dgb 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",rxdAccess:"M2Pool 矿池 rxd 接入页面,详细介绍如何接入 M2Pool 矿池进行 radiant 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",allocationExplanation:"M2Pool 矿池分配及转账说明页面,详细介绍各币种的成熟条件、出块间隔及预估时间,何时将挖矿收益分配及转账至用户账户,提供用户清晰的了解分配及转账指南。",enxAccess:"Entropyx(enx) 接入页面,详细介绍如何接入 M2Pool 矿池进行 enx 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",alphAccess:"Alephium(alph) 接入页面,详细介绍如何接入 M2Pool 矿池进行 Alephium(alph) 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",broadcast:"M2Pool 矿池广播页面,管理员可在此查看已发布的广播信息,包括广播内容、发布时间、发布者等。",userManagement:"M2Pool 矿池用户管理页面,管理员可在此查看所有用户信息,包括用户名、邮箱、注册时间、登录时间等。",helpCenter:"M2Pool 矿池帮助中心页面,提供用户全面的帮助中心信息,包括新手入门、矿业数据、常见问题、公告中心、其他等。",announcements:"M2Pool 矿池公告中心页面,提供最新的矿池公告、系统通知、服务更新和重要信息,让用户及时了解矿池动态和政策变更。",documentManagement:"M2Pool 矿池文档管理页面,提供最新的文档信息,让用户及时了解文档信息。",pendingPaymentSummary:"M2Pool 矿池待支付汇总页面,提供最新的待支付汇总信息,及时了解用户待支付汇总信息。"}},t.seo_en={seo:{Home:"M2Pool mining pool, upgraded in 2024! Bringing you more stable network services and efficiently increasing unit revenue. Transparent allocation mechanism and reliable technical services ensure worry free mining for you. Support mining of many popular currencies such as nexa, grs, mona, dgb, rxd, etc., opening up new channels for wealth growth.",miningAccount:"The mining account page of M2Pool provides users with detailed account information display. Here, you can intuitively view the income situation of the account, clearly understand the trend of computing power changes through the computing power trend chart, grasp the situation of miners, and also deeply view detailed information on income and payments, helping you better manage mining business",readOnlyDisplay:"The M2Pool read-only page display page presents key data such as the mining pool's revenue status, payment details, and miner information clearly through shared link addresses and specific permissions, allowing you to stay informed of the mining pool's dynamics and grasp the direction of mining revenue at any time.",reportBlock:"The M2Pool mining pool block report page accurately displays important information such as lucky value, block height, block time, block hash value, and block rewards for each currency, providing you with comprehensive mining pool operation data to help you make more informed mining decisions.",rate:"The M2Pool mining rate page clearly presents key information such as mining rates, profit calculation models, and deductibles for various currencies, helping you accurately evaluate mining costs and profits and make more reasonable mining strategy choices.",apiFile:"The M2Pool API documentation page provides users with detailed instructions on how to obtain mining pools and account computing power through the API interface provided by M2Pool. The content covers API authentication token generation, interface calling methods, and return data structure explanations, helping developers efficiently utilize mining pool data resources.",AccessMiningPool:"The M2Pool mining pool access page provides a detailed explanation of the specific steps for each currency to access the mining pool, offering users a convenient access guide to easily start their mining journey.",ServiceTerms:"The M2Pool mining pool service terms page clearly explains the relevant service terms regarding the use of the M2Pool mining pool website, ensuring that users have a clear understanding of their rights and obligations during use and protecting their rights and interests.",submitWorkOrder:"M2Pool submission ticket page, where you can submit a ticket if you encounter any problems while using the mining pool website. We will handle and reply as soon as possible to provide you with efficient technical support services.",workOrderRecords:"The M2Pool mining pool work order record page facilitates users to view all work order records submitted on the M2Pool mining pool website, as well as the current processing status of work orders, and to keep track of the progress of problem resolution at any time.",userWorkDetails:"M2Pool user work order details page, where users can view the detailed information of submitted work orders, including submission time, detailed problem description, and processing procedures. At the same time, you can also continue to supplement and submit the work order through this page.",alerts:"M2Pool mining machine offline alarm, customized alarm email and note information according to different account users, convenient for users to timely grasp the mining machine situation and improve user experience.",personalCenter:"M2Pool personal center provides users with comprehensive personalized management functions. Here, you can easily set up mining accounts, manage wallet addresses, adjust read-only page permissions, strengthen security settings, subscribe to mining reports, and generate personal API keys to meet your diverse needs for mining pool management.",personalMining:"The M2Pool personal center mining account settings page allows users to set up mining accounts for various currencies, conveniently adding and deleting accounts, as well as binding and modifying wallet addresses.",readOnly:"In the read-only page settings of M2Pool mining pool, easily add read-only permissions and share mining pool information according to the selected permissions. Both administrators and registered users can easily view and keep track of the mining pool dynamics at any time.",securitySetting:"The M2Pool personal center security settings page allows users to change their password and enable two factor authentication, adding an extra layer of security to their account.",personalAPI:"The M2Pool personal center API page allows users to choose the default local IP or enter a specific IP address, autonomously select permissions, and generate corresponding API keys for personalized data management.",miningReport:"The M2Pool personal center mining report page allows users to subscribe to weekly and monthly reports, and send mining data from the previous week or month to the user's registered email at fixed times to keep track of mining results at any time.",personal:"Display user information, login history related information: time, location, ip, device, etc.",nexaAccess:"The M2Pool nexa access page provides detailed instructions on how to access the M2Pool mining pool for nexa currency mining, offering users a convenient access guide to easily start their mining journey.",grsAccess:"The M2Pool GRS access page provides detailed instructions on how to access the M2Pool mining pool for GRS currency mining, offering users a convenient access guide to easily start their mining journey.",monaAccess:"The M2Pool mona access page provides detailed instructions on how to access the M2Pool for mona currency mining, offering users a convenient access guide to easily start their mining journey.",dgbAccess:"The M2Pool dgb access page provides detailed instructions on how to access the M2Pool for dgb currency mining, offering users a convenient access guide to easily start their mining journey.",rxdAccess:"The M2Pool rxd access page provides detailed instructions on how to access the M2Pool for radial currency mining, offering users a convenient access guide to easily start their mining journey.",allocationExplanation:"The M2Pool mining pool allocation and transfer instructions page provides detailed information on the maturity conditions, block interval, and estimated time of each currency, as well as when to allocate and transfer mining profits to user accounts, providing users with a clear understanding of allocation and transfer guidelines.",enxAccess:"Entropyx (enx) access page provides detailed instructions on how to access the M2Pool mining pool for enx currency mining, offering users a convenient access guide to easily start their mining journey.",alphAccess:"The M2Pool Alephium(alph) access page provides detailed instructions on how to access the M2Pool mining pool for Alephium(alph) currency mining, offering users a convenient access guide to easily start their mining journey.",broadcast:"M2Pool mining pool broadcast page, where administrators can view published broadcast information, including broadcast content, release time, publisher, etc.",userManagement:"M2Pool mining pool user management page, where administrators can view all user information, including user name, email, registration time, login time, etc.",helpCenter:"M2Pool mining pool help center page, providing users with comprehensive help center information, including beginner's guide, mining data, frequently asked questions, announcement center, and other information.",announcements:"M2Pool mining pool announcement center page, providing the latest mining pool announcements, system notifications, service updates and important information, allowing users to stay informed of mining pool dynamics and policy changes.",documentManagement:"M2Pool mining pool document management page, providing the latest document information, allowing users to stay informed of document information.",pendingPaymentSummary:"M2Pool mining pool pending payment summary page, providing the latest pending payment summary information, allowing users to stay informed of pending payment summary information."}}},58044:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=n(i(66848)),s=n(i(69522)),a=n(i(62806)),r=n(i(76466));o.default.use(s.default);const c=new s.default({locale:localStorage.getItem("lang")||"en",fallbackLocale:"en",messages:r.default,silentTranslationWarn:!0});a.default.i18n(((e,t)=>c.t(e,t)));t["default"]=c},58379:function(e,t,i){e.exports=i.p+"img/xtm.21b3f9d9.svg"},58455:function(e,t,i){e.exports=i.p+"img/logicon.e79b64d3.png"},58538:function(e,t,i){i.r(t),i.d(t,{miningAccount_en:function(){return o},miningAccount_zh:function(){return n}});const n={mining:{totalRevenue:"总收入",totalExpenditure:"总支出",yesterdaySEarnings:"昨日收益",diggedToday:"今日已挖(预估)",accountBalance:"账户余额",paymentSettings:"付款设置",algorithmicDiagram:"算力图",computingPower:"矿机算力分布",miner:"矿工",profit:"收益",payment:"支付",all:"全部",onLine:"在线",offLine:"离线",hoursPower:"1小时算力",dayPower:"24小时算力",refusalRate:"拒绝率",settlementTime:"结算时间",remarks:"备注",withdrawalAddress:"提现地址",withdrawalTime:"提现时间",currency:"币种",withdrawalAmount:"提现金额",transactionId:"交易ID",pleaseEnter:"请输入...",power24H:"24小时算力图",logInFirst:"请先登录后查看该页面",totalRevenueTips:"本挖矿账户全部收益累计",totalExpenditureTips:"本挖矿账户已提现收益累计",yesterdaySEarningsTips:"昨日(utc)24小时收益,由于该收益需要5000个区块高度确认(大约为7天),因此该笔收益需要等待大约7天才可提现转账。",diggedTodayTips:"今日(utc)截止到目前的挖矿收益,该收益根据过去24小时算力预估,仅供参考,最终收益以PPLNS结算为准。",blockRewards:"仅指报块的固定奖励",transactionFeeExplanation:"仅指该区块支付给矿工打包交易的费用,和区块奖励一起组成最终的报块奖励",Withdrawable:"可提现余额",balanceReminder:"该数据不包含今日预估收益。可提现余额会在每天12点(utc)之前自动转入到您的挖矿钱包中。",mature:"成熟:已经被区块链确认的收益。未成熟:还未被区块链确认的收益。所有成熟和未成熟的收益都将暂时添加到您的账户余额中,但只有成熟的区块收益才能被提现。",submitTime:"最后提交时间",total:"合计",Minutes:"30分钟",state:"状态",date:"日期",settlementDate:"结算日期",paymentStatus:"支付状态",paymentInProgress:"支付中",paymentCompleted:"已支付",jurisdiction:"无访问权限!"}},o={mining:{totalRevenue:"Total revenue",totalExpenditure:"Total expenditure",yesterdaySEarnings:"Yesterday's earnings",diggedToday:"Excavated today (estimated)",accountBalance:"Account balance",paymentSettings:"Payment settings",algorithmicDiagram:"Algorithmic diagram",computingPower:"Distribution of mining machine computing power",miner:"miner",profit:"profit",payment:"payment",all:"whole",onLine:"on-line",offLine:"off-line",hoursPower:"1 hour of computing power",dayPower:"24-hour computing power",refusalRate:"Refusal rate",settlementTime:"Settlement time",remarks:"Remarks",withdrawalAddress:"Withdrawal address",currency:"Currency",withdrawalAmount:"Withdrawal amount",transactionId:"Transaction Id",pleaseEnter:"Please enter...",power24H:"24-hour calculation chart",logInFirst:"Please log in first and then view this page",totalRevenueTips:"Accumulate all profits of this mining account",totalExpenditureTips:"Accumulated withdrawal income of this mining account",yesterdaySEarningsTips:"Yesterday (UTC), there was a 24-hour return. As this return requires 5000 blocks to be highly confirmed (approximately 7 days), it will take about 7 days for the return to be withdrawn and transferred.",diggedTodayTips:"The mining income as of today (UTC) is estimated based on the computing power of the past 24 hours and is for reference only. The final income will be settled by PPLNS.",blockRewards:"Only refers to fixed rewards for block submissions",transactionFeeExplanation:"Only refers to the fee paid by the block to miners for packaging transactions, which, together with the block reward, constitutes the final block reward",Withdrawable:"Withdrawable balance",balanceReminder:"This data does not include today's estimated earnings. The withdrawable balance will be automatically transferred to your mining wallet before 12:00 UTC every day.",mature:"Mature: Earnings that have been confirmed by the blockchain. Unripe: Earnings that have not yet been confirmed by the blockchain. All mature and immature earnings will be temporarily added to your account balance, but only earnings from mature blocks can be withdrawn.",submitTime:"Final submission time",total:"Total",Minutes:"30 Minutes",state:"State",date:"date",withdrawalTime:"Withdrawal time",settlementDate:"Settlement date",paymentStatus:"Payment status",paymentInProgress:"default",paymentCompleted:"paid",jurisdiction:"No access permission!"}}},60508:function(e,t,i){e.exports=i.p+"img/workAdministration.d8f96ac7.svg"},62277:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(99945),o=i(20074),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"7e1a768d",null),c=r.exports},62901:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.home_zh=t.home_en=void 0;t.home_zh={home:{file:"文档",rate:"费率",home:"首页",accountCenter:"挖矿账户",personalCenter:"个人中心",power:"矿池算力",networkPower:"全网算力",networkDifficulty:"全网难度",miner:"在线矿工",algorithm:"算法",height:"当前高度",coinValue:"币价",blockHeight:"区块高度",blockingTime:"出块时间",blockHash:"区块哈希值",blockRewards:"区块奖励",transactionFee:"交易费",CurrencyPower:"矿池算力",hour:"1小时",day:"1天",realTime:"实时",lucky3:"3日幸运值",lucky7:"7日幸运值",lucky30:"30日幸运值",lucky90:"90日幸运值",luckyValue:"幸运值",reportBlock:"最新报块",computingPower:"矿池算力",rejectionRate:"拒绝率",onlineMiners:"在线矿工",miningMachineComputingPower:"矿机算力分布",profitCalculation:"收益计算器",ConnectMiningPool:"接入矿池",Power:"算力",time:"时间",profit:"收益",everyDay:"每天",weekly:"每周",monthly:"每月",annually:"每年",currencyPrice:"币价",finallyPower:"总算力",minerSComputingPower:"矿工算力",acquisitionFailed:"数据获取失败,请稍后重试",calculatorTips:"该值根据当前全网算力的估算,可能与您的实际收益有差别,仅供参考",caution:"注意:",numberOfMiningMachines:"矿机台数",requestTimeout:"系统接口请求超时,请刷新重试",NetworkError:"网络连接异常,请刷新重试",mission:"我们的使命",missionText:"本矿池旨在为客户提供更稳定的网络服务,更高效的单位收益,更透明的分配机制,更可靠的技术服务。",service:"提供服务",APIfile:"API文档",rateFooter:"费率",userAssistance:"用户帮助",miningTutorial:"挖矿教程",aboutUs:"关于我们",businessCooperation:"商务合作",contactCustomerService:"联系客服",serviceTerms:"服务条款",submitWorkOrder:"提交工单",historicalAnnouncement:"历史公告",commonProblem:"常见问题",joinUs:"加入我们",MLogin:"登录",MRegister:"注册",MResetPassword:"重置密码",API:"API",accountSettings:"挖矿账户设置",poolTitle:"稳定领先高收益矿池",metaDescription:"M2Pool 矿池,全新升级!为您带来更稳定的网络服务,高效提升单位收益。透明的分配机制,可靠的技术服务,让您挖矿无忧。支持 nexa、grs、mona、dgb、rxd 等众多热门币种挖矿,开启财富增长新通道。",metaKeywords:"M2Pool,矿池,挖矿,nexa,grs,mona,dgb,rxd,Mining Pool",appTitle:"M2pool - 稳定领先的高收益矿池",mode:"模式/费率",describeTitle:"提示:",view:"详情",describe:"奖励分配:1天/次,每日0时(utc+0), 转账:1天/次,每日4时(utc+0)起,具体取决于区块成熟条件",networkReconnected:"网络已重新连接,正在恢复数据...",networkOffline:"网络连接已断开,系统将在恢复连接后自动重试",helpCenter:"帮助中心",announcements:"公告中心",latestTitle:"最新公告",noData:"暂无公告",viewAll:"查看所有",articles:"篇文章",allocationExplanation:"矿池分配及转账规则",loadingContent:"正在加载内容...",noContent:"暂无内容",unknownType:"未知类型",other:"其他",machineLease:"矿机租赁"}},t.home_en={home:{file:"File",rate:"Rate",accountCenter:"Mining account",personalCenter:"Personal Center",power:"Mining Pool computing power",networkPower:"Full network computing power",networkDifficulty:"Network wide difficulty",miner:"Online miners",algorithm:"algorithm",height:"Current height",coinValue:"Coin value",blockHeight:"block height ",blockingTime:"Blocking time",blockHash:"Block hash value",blockRewards:"Block rewards",transactionFee:"Transaction fee",CurrencyPower:"Mining pool computing power",hour:"Hour",day:"Day",realTime:"Real time",lucky3:"3-day lucky value",lucky7:"7-day lucky value",lucky30:"30 day lucky value",lucky90:"90 day lucky value",luckyValue:"Lucky value",home:"Home",reportBlock:"Latest report block",computingPower:"Mining pool computing power",rejectionRate:"Rejection rate",onlineMiners:"Online miners",miningMachineComputingPower:"Distribution of mining machine computing power",profitCalculation:"Profit Calculator",ConnectMiningPool:"Connect Mining Pool",Power:"Computing power",time:"Time",profit:"Profit",everyDay:"Per day",weekly:"Weekly",monthly:"Monthly",annually:"Annually",currencyPrice:"Currency Price",finallyPower:"total computational power",minerSComputingPower:"miner's arithmetic",acquisitionFailed:"Data acquisition failed, please try again later",calculatorTips:"This value is estimated based on the current computing power of the entire network and may differ from your actual income. It is for reference only",caution:"Caution:",numberOfMiningMachines:"Number of mining machines",requestTimeout:"System interface request timed out, please refresh and retry",NetworkError:"Network connection is abnormal, please refresh and try again.",mission:"Our Mission",missionText:"This mining pool aims to provide customers with more stable network services, more efficient unit revenue, more transparent allocation mechanism, and more reliable technical services.",service:"Provide Services",APIfile:"API Documentation",rateFooter:"Rate",userAssistance:"User Help",miningTutorial:"Mining Tutorial",aboutUs:"About Us",businessCooperation:"Business Cooperation",contactCustomerService:"Contact Customer Service",serviceTerms:"Service Terms",submitWorkOrder:"Submit WorkOrder",historicalAnnouncement:"Historical Announcement",commonProblem:"Common Problem",joinUs:"Join Us",MLogin:"Login",MRegister:"Sign Up",MResetPassword:"Reset password",API:"API",accountSettings:"Mining account",poolTitle:"Stable leading high-yield mining pool",metaDescription:"M2Pool mining pool, newly upgraded! Bringing you more stable network services and efficiently increasing unit revenue. Transparent allocation mechanism and reliable technical services ensure worry free mining for you. Support mining of many popular currencies such as nexa, grs, mona, dgb, rxd, etc., opening up new channels for wealth growth.",metaKeywords:"M2Pool,mining pool,mining,nexa,grs,mona,dgb,rxd,Mining Pool",appTitle:"M2pool - Stable leading high-yield mining pool",mode:"Mode/Rate",describeTitle:"Prompts:",view:"Details",describe:"Reward distribution: 1 day/times, daily at 0:00 (utc+0), transfer: 1 day/times, daily from 4:00 (utc+0), depending on block maturity conditions ",networkReconnected:"Network has been reconnected, recovering data...",networkOffline:"Network connection has been disconnected, the system will automatically retry after recovery",helpCenter:"Help Center",announcements:"Announcements",latestTitle:"Latest Announcements",noData:"No data",viewAll:"View all",articles:" articles",allocationExplanation:"Pool allocation and transfer rules",loadingContent:"Loading content...",noContent:"No content",unknownType:"Unknown Type",other:"Other",machineLease:"Machine Lease"}}},65549:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAApwAAACdCAYAAAAZiKgpAAAACXBIWXMAAAsSAAALEgHS3X78AAAXM0lEQVR4nO3d31UbSRbH8Zo5fscbAT0RgCNAHQFyBOCH1avlBGToBEa86mVEBIYIJCIwRLBNBlYE3lNdVyMhJNCf7qpb1d/POZyd3R1bQg3Sr2/duvXH79+/DQAAAMLqZSYzpvryrRyVpmzyMT8c+hf0MvPRGHMqXx+X/q9SvoHpoY+BBuTFrj/Uv8xk8MilAACgMZfGmO8BXt5rY8xVkw+wV+CUkNk1xvSNMSfv/LvWgzHmzhgzHpXm157PFbvKi/mNgL0KHfnTZ3u/jnkx/6fn+Q2FfE2r/5wMGr07AgAAcdp5Sb2XVSHTpuCjPb/jW/vnmy7dtk5efJRQ2ZGQuX+wPIy9uXiUrykhFACA7fSyKl8FqXCOSiUVTukrGNcQZC7sVy+rgmefiucB3LJ4V0rwb1aaPTp78TOSF89SAZ0SQAEAaKetAmcvqypm0wOqmuvY4NntZeZyVFbL7djGImTaSvNxBK/Z8fwmo/pvefEkP0tjekIBAGiHdwNnQ2Fzzv6dP6h2biEvLqWSGWqpvC4n8vVVqp9DCZ9cewAAEvVm4JTNQU2FzWW2+nXay0yX3s4lri+zL0Ezhmrmruz39Hf1lRe3EjyZagAAQGL+fOfb8RE252zV61Eqqu1mg2ZeXMkO8O+Jhs1V9qZjYvJiavKis9sfBQAAmm0MnLJTyvdGFBtup60Nna+Dpq+wr8kZwRMAgLSsDZyyI70f6DttZ+h0PZptDpqrloMnVW8AACK2qcJ5yJzNOsxDZ4jjnfyyYcqGKmP+IWiuZYPnT5MXY+lpBQAAkXkVOCXkXSj4Nmz4upONS+lZLJ//TGDnuQ8XVQU4L0JV3gEAwJ7WVTgbnTS/oxMZm5MWt0Q8DXSaQMyOZEf7VOaRAgCACLwInEtnpGtyIcdppmFR1dRyMlCMzqqjM13fKwAAUG61wtlV2kd4FX0/p1tCp6pZn6Oq75XeTgAA1FsXODU6knPc4+SW0B/p1WzERdWewE52AADU+jdwynL6ueLnehbl0rpb9p22ZHh7KCcSOrXeMAEA0GrLFc4YhmxfRbVr3e2oZtyRH9W5/PR1AgCgT2yB80jZLvrNbG+hOyccftm+zvQmGwAAELHYAqf1Vf0GIhc2Ncwybauvcg0AAIACy4EzpjE9equchE0tLgidAADoUAXOXhZNdXPuQmWVk7CpDaETAAAFPshTiHHG5VDVGKf4wuZzdVTk4sus/LNlN2idrvzzx8iq4TZ0lmYyiKP3FwCABMUcOM9tZXZUViOHwtIfNmcymmlazQOdDHZ5ze7W/q9u7uWp9P52lI99+i6hk2onAAABzANnrEOzh8Gfuxt9pDFsPktYHJvJ4LH2v939nY//DuR3Z5vbivOl0gqo3b3+2MhrAQAA3jQPnLEeDXjSy8zlqAx0CpEbNK5t9NFtFcR9B6vJoJQbgKGEz76ET00zSKfVc5sMfil4LgAAtMZ8l3rM55QPgwyDd0vKWpZo7ZL5tTHmP2YyuAxexbPhczLom8nAXpcvUm3V4GhjiwAAAGjMPHDGfOyi/2HwefFRgkvo6t08aGbVphiNlTvbNzkZZIqC55nJCzYQAQDg0Z+JvNi+h8GPFYT0W9VBc9UieF5LUA7pu1SoAQCAB6kETuNtedttEjr38ljr2SphLkvn8fUiuvFENuw9BH4m7FgHAMCTP3tZtDvUV501PsDebYYJuRx7U4W13cYa6eN6PO21+haw2nkiNw8AAKBhHyLeob7OuOENUMNAfZuzatd3anMkJwO7o30q/bAhWhSuqhmqCe5al410tA3U53FUmuh+TqSgkNJ7vE+/RqWJcoyatJjFvBk4KBXzvRP0IbFv6biXmf6orIJhE4Yy5Nxn6JxVj5nq/Ej7fbl+ymmA+Z3zDWdJVDqlwn8ZwSD+KPWyqp3F/pyOtX4gyc9AV34GYjoRTKWei2wPclN8NypfnMSmhgTMrnydtf26HUqu+/z33V53ppvU4I//Hv+2b0yT6L+TBRvQssaqEW5Z/c7Tm/mThM12zI0Md2LTXzJHNEpSxRryQeOV/TDqa/ggkmr2pdw4caPRLBs+r7TccEjQvIrsWOUYzeZzppte6ehl1fX8HuA1uh6VzbYMprRpaO5IfjCa4YJJR3aJN6ldYdNUr+2lh9d1nWjHJMmb00/Cpnc22P3oZWYaZA6w6GVVRetRDqAgbDbP/p5Nepm5C3ndzeJ3/3+ETS+OJASW8rpjDylWOOc+Nd5/kxeX1ZGJ9Wtf2FwWptIZVZVTPuyGfNioULW9+Oz3k+s/Djwxo+28X3ezuPYhWpCwYD+jL5u49lQ449RclXPObeL5VPNO61m1PNbm4xddpfPJ86Neen68Q4VqP8Brtvox9TXxYylwEDbDml93b+8d8jNWEjaDO5Fr3+xknMSkHDjPZLmpWW4zT1bjXMl0NwjtpuP5ZKJoNg71supmirChi5fQSXVLHXvd//Fxs7FU1Q59wh2cI2mvaD5nJCLlwGm8VDlNFTp/yVzJmwP/pm+ETeEqvD5/kY+kRUI1uaP+qv15tlR1Vn/DvX2ETZ189PL62qyK3YwTmmfeqNQD57HXBt/JoC9nhu+zxP5QzaXE8uv5KMPhfYnhTpWGdd2Om7pGUtkmcOh01OTpZbJsz8ZAnY4kdDLv9h2pB06r7/UHwfV1dnbsQZxF2EPohwvhvo7BPDd5ofZNQ6qbfOjo91XG1dSGynYUzpvo6VvaIAi9TlKZ59wk34HTZ0/eXLNjktZxlTn7xnO/5Z8YxjwH0gOfv8iaq5zclMSj7p9ZKttxaOK9qkvfZhT8Frci5DtwhroDuPC+m8z1ddo3iut3/s1nMxnwYfIWF+B9zefUHDhpTo9HbddKqqVUtuNw3kDooHIWhyOKAm/zGjjlVA5fy6OrwoQ6Fybf6uskbG6nX/P4qU1U7v6WpnSqHPE4rnEjAR9icanzZuMjfbtR4Xf1DSF6OEPdrZ35nJf2wqKvczUwPcv/h/dfw1+yS7N5eaFxthpLNfGpq4+TWX9xqXPHMruf48LNwRu8B06ZzH/o+KB9XQXrsXDLwqcrm4mobu7G1+ul8QOeD5741HXNuPZxqfN6cbMRGYbBbxZql/qVp+XRVcdB+2EW57A/yRgkqpu7cK/fthuxDqHxA54KZ3vRSgEgekEC56g0vwJW9/p1jyzZiVsa7tDrsTcfy+rcoQIAUKNgczhHZTWqyPd52SbImKRVbgc7Y5D24yNwHmmexwkAQGxCD34PtbzdyIBeeOAqxG1dVgcAIEofQj7pUVmdP3sfaBTNMIZQ0cuqit6malspX++Zbvlw5ajc6u8LberhZyZc2wUAAIkJGjhFP1DgPLFjkkZlc+ff1sTubv++4a/adhj0pj//Sm+3mGVbIn7JP9uw6qsv9dHDYxA4AQCoSfCz1KWi9t5pPE0ZRnAU1TDQkaDbOJHQa7/8BffJYNuK7SEInAAA1CR44BShQtWR9mPDAu/o39a9bY/w/JhN/7wQOAEAqImKwBk4VH0POiZpC7Lsr7XKOQsU2tnlDwBAJLRUOOehKtQ56zEMYNdaiR1GstEIAAAEomHT0DJb5ZwEeFx7znonwLLw1kaluetlVSDfdqOQD8+jMlhletrwa9HWJfWZp01ZoWj6/dFoeSNgajI5bQ7rpfy7z++9AqoCp4xJujXGXAR4+HEEISNUIN8k5dOS2vrB9Dgq051R28vMbwVPQ7O+5hvvQ/Sy6v1z64kdLZTs7z6/9zqoWVJf0g91znov07uBSAbVa1r6D7FRCAAAREhd4JQNRKGOnrzSNibJbmjqZVWwmyiqus0UVDfZRQ4AQCQ0VjiN9AWGGpOkYgSRDb69rAre/1PYf3IlNwYhETgBAIiEysApQlXQvvaysEdeytK+3fn9NeTz2OBpVAarQPsUamICAADJURs4pT8w1Id+kEBl+zR7WbVL8G+ptmqkpc+VXYcAAERCc4XTBKxy2jFJXV8PJn2ad9KneeLrcfdwq2KjUF6wnA4AQERUB04ZKH4T6OEbr3JKn+aV9GmeN/14Bwp1otA6QVseAADAbrRXOI1s4gk1JqmxDUS9rKrelhHNhdOwUWjOR+Bk5BMAADVRHzgl5ISqrPXrHpMkfZo2zPyjuE9zlbaNQt7aHQAAwOFiqHDOz1l/CvDQR3UtrUuf5lj6NGPb8KJnIH5efPTU55ry8Y4AAHgVReAUoULPxSFjkpb6NB8DHdl5qBtlJwr52kiW6nnSAAB4F03glNBzH+jh96pyyk73R+nTjGX5fNlMyyD8JX5uPCYDejgBAKhJTBVOE/Cc9TPZ5LMVWxGVPs0fio6j3Edf0UYhu5x+6en1ZOg7AAA1iipwypgkteesy/K57dP8mcBg8gfpndXEV7WV6iYAADWKrcJpJHCGOGf9+K3lXOnTLCPt01xHz0YhU1U3+x6rxXeeHgcAgFaILnAqGJP04pQbGXNURtynuY7dKKRnl7bbme6ruvlsJgN2qAMAUKMYK5w2dN4F6rM7mgcfGXM0lTFHMfdprtK4UWjsMcxrmjcKAEASPkT8TfSlV9K3C+nl1H4U5b4ulW0U6np+rbX1rQIAEL0oK5zGVTntsudtoIdPNWw+SPVYB7eU7jMA3prJgPmbAADULNrAKUKNSUqVr6Hq2/K5lG5YTgcAoBlRB05Z+tXWbxiraxk7pYObuemzkvzAZiEAAJoRe4XThs5QY5JS8qyqupcXpwGeDzcuAAA0JPrAKbQtBcdGz4lCi75Nn0vpzxxlCQBAc5IInHLOOscRvmR7W78YY/5659+7V7NRyIVNey1PPD8y1U0AABqUSoXTUOV84cYYk9mjKaUvc9Nu/pmaE4XChU1b3WQUEgAADUomcEqwulbwVEKyVd6/RuWrJfJNu/mHKjYKhQubhuomAADNS6nCaWSjSRvHJNlNP59HpemsC5ASPlc34TyPSgVhK2zYfKC6CQBA85IKnIHPWQ9hJuOMsi36MFfDePgWhLBh07TsZwUAgGBSq3Da0DluyQaiW+nT3KpKuRLG72WjVTjhw+Y35m4CAOBHcoFTpNyXZ8N0Pip3P/NcwvhT8Opm+LBpl9I5VQgAAE8+pPhC2+pdL6sqgBcKnk5dZjIv86Cew1FpToN+F26o+9TznM1l9nXsBnpsAABaKdUKp5EqZyobiK7nY44UPJf96QibHTMZ6BhyDwBASyQbOGW3duzLpvMxR1dqTgLaV150AodNU/Ww0rcJAIB3KVc4jWyoifGc9Wfp01w75ig6eWF7RieBw+Y1I5AAAAgj6cApYhp9Y5d8v8mYozTO9s4LG/r/Cfwsbs1kwIB3AAACST5wynzKGMYkzcccpbN7Oi9sRfF74GdhwybHngIAEFCSu9TXsFXOn+qelfMgu8/T6S0MP/Zo7omwCQBAeG1YUjcS5m4UPJVltk/zi/RpphQ2T9WETbsjHQAABNeKwCk0jUmyY45Oox9ztGqxE11H2GT8EQAAKrQmcMpYodAbR+6TGXO0Ki/6CnaiG8ImAAD6tKnCaWRDzlOAh56POeomMeZoldsc9LeCZ0LYBABAobZsGlo2r8T5YJfwr5Laeb5Mz+YgQ9jUp5dVEyLO2/46RGbSy9r+ErTWWS8zv9v+IrTY91528FSZ/7y1etuqCqeRc9ZlabtpN8mNOVrmNgeVSsKmHX10StjUo5eZj4RNAGiV7lvfbOsCp+g3uIHIjjn6NCqrUUdpBiB3clDoYyrnmLOp05tvPACAdr3vtzJwSh9l3RuIbJ/m5+TGHK3Ki6GcHETYxFsInADQLueyurVWWyuc8w1EdSytz5bGHN3V8PfpZPs188JWNb8qeX7fCJs6sZwOAK21sdjQxk1Dyy4P3PRyK5uC0tt5vsz1a46V9GtaX8xkkNYM07RQ3QSAdupKXniltRVOs5jN2dmj0vkgY44uWxA2u4p2ottq8mfCpnoETgBop43L6q0OnEZCp52PWVXNXB/mW+4laHZkt3va3DD3H0r6NWcy9ijdtoUEsJwOAK23tujQ9iX1f8kxk+NeVlU8V8/gtpuApsnuOl/l5mvaHtcLJc/oqfoBngzSriangeomALTb2mV1AucKqVymX73cJC/s2Oc7Rf2aDxI2mbEZBwInALRbtay+WqQjcGLBbQ7SMl/TMPYoLiynA8DBUimuvKpytr6HE8INc/+pKGwy9ig+VDeb0dQhFQDqd2hgTGWO96vPAwInbNgcyzB3DeY70dM8EjRtBM6X6vrgSPcgiTTV2ZLV3vauSNVw8EsqexVe7VYncLbZYpi7ls1Bz+xEjxPL6WvV9cHB70Nc6rxB4GYjLgcfJiOjFt+bmBOLF0UIAmdbuX5N+2Z2puQVsJuDTs1kwBtsnKhuvjSr8YhbAmc8ZnWeOCebLuo4EQ9+1HXtU5k1TeBsPdevaSubx0peihszGXTYiR41AudLdYaOUk41g35N3BxwwxGHZxmvWIdhIr3bL5bVCZxtkxdX0q+pZXOQPaayr+B5YE8sp69Vd4Xiqua/D82o/TpJiElliTVltV17qWynso/h32IEgbMtXL+mvVP+ruQ7tndvnzimMglUN196qPskMqlyfqvz70Ttbho86piJHbo91FjdrIzKKsA+JfDaEDhbxQ1znyqqQtl+zYx+zWQQOF9qpGI/KquKB0vrOj01WYWWG5ibyF+jVD03+B54mcDS+r/L6gTO1OVFRzYHaTk5iH7NhLCc/sqXGjcLrdNPpOqREhsILps++nhUcu0Vste+29S1l/eSTgKhswrkBM6U5YV9g5oo6dec0a+ZJKqbC7d1L6utkg+2DpVONez7Wqfhm4xlHUKnGk8+rn0ioZPAmTQ3zP1vJd/ik8zXpF8zPQROx1Y2vfTZ2dApj3Xt4/GwkX1fO/UYNrnh0OPe542GPE4m7WgxqpbVCZypcZuDHhUNc7+XsEm/ZmJYTq/Y/q286crmOrKp4FPEH0Ixux6VVdj0firM0g3HZ4499c7+vn8elc0to28i171TrRTGed27BM6UuGHupaJ+TXseepd+zWS1ubr5LFXNrO4d6buwlQ/5EMoZEN64mVQW/5KwH5QMmM+k0s3YpGY9Lf2+B52LKje3mQTPmK5794OCJ4E6uGHuWs5Dd7v2qGqmrm2B80GmPdz5XEbdhoTeqVSdu7Lseqro5jNWD3ITfxc6aKwjVTYbfq96WXW9L+W6nyqatRyjZ9lsO/99V3W+uVx3GzzHct3nv/OZogNdVp3/8d/j3x3ZWNK4UWn+UPOtpyQv7LiUr0q+owcJm1Q1a9TLqg8VHzNUH6RiBgBAbahwxsz2a7pjz7Sch35tJgNORAEAAC8QOGPl+jXHSpbMnqulnMkgWC8bAADQi01DMcqLrvSWaAib91W/EGETAABsQIUzNm6Yu5b5mnYX+lDB8wAAAIoROGPh+jWHSuZrsgsdAABsjSX1GORFJkvoGsLmrSyhEzYBAMBWqHBq5zYHTRXMVJvJxiB1s+gAAIBuBE7NdA1zt4H3h8kLBU/Fi5yNUAAA1IPAqVVejBWdhw4AALA3Aqc2bnOQlpFHAAAAB2PTkCauX/ORsAkAAFJC4NTC9WtOFR+8DwAAsBcCpwZ5cSWbg0LvRAcAAKgdPZwhuX5NuznovL0vAgAASB0VzlAW8zUJmwAAIGlUOEPIi44x5o4ldAAA0AZUOH3Li74xZkLYBAAAbUGF0yeGuQMAgBYicPrAMHcAANBiLKk3zW0OKgmbAACgrQicTXLD3H/SrwkAANqMwNmUvBjKMHcAAIBWo4ezbq5f0448OkvrGwMAANgPFc46LYa5EzYBAAAEgbMuedFlJzoAAMBrBM465MWVMeYHm4MAAABeo4fzEK5fc8gwdwAAgM0InPvKi0w2B7GEDgAA8AYC5z4Wm4NYQgcAAHgHPZy7Ypg7AADATgicu2CYOwAAwG6MMf8HTxugm9hytvMAAAAASUVORK5CYII="},65745:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114),i(18111),i(22489),i(61701);var n=i(73723),o=i(66848);const s={name:"HorizontalBroadcast",props:{broadcastData:{type:Array,default:()=>[]},showTitle:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},title:{type:String,default:""},scrollSpeed:{type:Number,default:1},scrollInterval:{type:Number,default:50},autoFetch:{type:Boolean,default:!0},lang:{type:String,default:"zh"},minItems:{type:Number,default:1},height:{type:String,default:"40px"},clickable:{type:Boolean,default:!1}},data(){return{internalBroadcastList:[],horizontalScrollTimer:null,horizontalDelayTimer:null,horizontalScrollOffset:0,isHorizontalScrolling:!0,isHovering:!1,wasScrollingBeforeHover:!0,isLoading:!1,hasError:!1}},computed:{finalBroadcastList(){let e=this.broadcastData.length>0?this.broadcastData:this.internalBroadcastList;const t=e.map((e=>{const t={...e};if("string"===typeof t.buttonContent&&t.buttonContent.trim()?t.buttonContent=t.buttonContent.split(/[,,]\s*/).map((e=>e.trim())).filter((e=>e)):Array.isArray(t.buttonContent)||(t.buttonContent=[]),"string"===typeof t.buttonPath&&t.buttonPath.trim()?t.buttonPath=t.buttonPath.split(/[,,]\s*/).map((e=>e.trim())).filter((e=>e)):Array.isArray(t.buttonPath)||(t.buttonPath=[]),t.buttonContent.length>0&&t.buttonPath.length>0){const e=Math.min(t.buttonContent.length,t.buttonPath.length);t.buttonContent=t.buttonContent.slice(0,e),t.buttonPath=t.buttonPath.slice(0,e)}return t}));return t},shouldShowBroadcast(){return this.finalBroadcastList.length>=this.minItems&&!this.hasError},broadcastListForHorizontal(){const e=this.finalBroadcastList;if(0===e.length)return[];let t;return t=1===e.length?Array(3).fill().map(((t,i)=>({...e[0],id:e[0].id+"-copy-"+i}))):[...e,e[0]],t},horizontalScrollStyle(){return{transform:`translateX(-${this.horizontalScrollOffset}px)`,transition:this.isHorizontalScrolling?"none":"transform 0.3s ease"}}},watch:{broadcastData:{handler(e){e&&e.length>0&&this.resetScroll()},deep:!0,immediate:!0},scrollSpeed(e){this.horizontalScrollSpeed=e},scrollInterval(e){this.horizontalScrollInterval=e,this.isHorizontalScrolling&&this.restartScroll()}},mounted(){this.autoFetch&&0===this.broadcastData.length&&this.fetchBroadcastData(),this.$nextTick((()=>{this.startHorizontalScroll()}))},methods:{async fetchBroadcastData(){if(!this.isLoading)try{this.isLoading=!0,this.hasError=!1;const e=await(0,n.getBroadcast)({lang:this.lang||(this.$i18n?this.$i18n.locale:"zh")});e&&200===e.code&&Array.isArray(e.data)?(this.internalBroadcastList=e.data,this.resetScroll(),this.$emit("data-loaded",e.data)):(this.hasError=!0,this.$emit("error","获取广播数据失败"))}catch(e){console.error("获取广播数据失败:",e),this.hasError=!0,this.$emit("error",e)}finally{this.isLoading=!1}},startHorizontalScroll(){this.isHovering||this.finalBroadcastList.length<=1||(this.horizontalScrollTimer&&clearInterval(this.horizontalScrollTimer),this.isHorizontalScrolling=!0,this.horizontalScrollTimer=setInterval((()=>{this.horizontalScrollStep()}),this.scrollInterval))},stopHorizontalScroll(){this.wasScrollingBeforeHover=this.isHorizontalScrolling,this.isHovering=!0,this.horizontalScrollTimer&&(clearInterval(this.horizontalScrollTimer),this.horizontalScrollTimer=null),this.isHorizontalScrolling=!1},resumeHorizontalScroll(){this.isHovering=!1,this.wasScrollingBeforeHover&&this.finalBroadcastList.length>1&&setTimeout((()=>{this.isHovering||this.startHorizontalScroll()}),100)},handelJump(e){const t=this.$i18n.locale,i=e=>{if(!e||"string"!==typeof e)return void console.warn("无效的路径:",e);const i=e.trim();if(!i)return void console.warn("路径为空");let n;if("/"===i||""===i)n=`/${t}/`;else{const e=i.startsWith("/")?i.substring(1):i;n=`/${t}/${e}`}console.log("跳转路径:",n);try{this.$router.push(n)}catch(o){console.error("路由跳转失败:",o),window.location.href=n}};e?i(e):console.warn("未提供跳转路径")},startHorizontalScrollDelayed(){this.horizontalDelayTimer&&clearTimeout(this.horizontalDelayTimer),this.horizontalDelayTimer=setTimeout((()=>{this.resumeHorizontalScroll()}),1e3)},horizontalScrollStep(){if(!this.$refs.horizontalScrollContent)return;const e=this.$refs.horizontalScrollContent,t=e.scrollWidth,i=t/this.broadcastListForHorizontal.length*this.finalBroadcastList.length;this.horizontalScrollOffset+=this.scrollSpeed,this.horizontalScrollOffset>=i&&(this.horizontalScrollOffset=0)},resetScroll(){this.horizontalScrollOffset=0,this.$nextTick((()=>{this.finalBroadcastList.length>1&&this.startHorizontalScroll()}))},restartScroll(){this.stopHorizontalScroll(),this.$nextTick((()=>{this.startHorizontalScroll()}))},handleItemClick(e){this.clickable&&this.$emit("item-click",e)},refresh(){this.autoFetch?this.fetchBroadcastData():this.resetScroll()},togglePause(){this.isHorizontalScrolling?this.stopHorizontalScroll():this.resumeHorizontalScroll()},getStatus(){return{isScrolling:this.isHorizontalScrolling,isHovering:this.isHovering,currentOffset:this.horizontalScrollOffset,dataCount:this.finalBroadcastList.length,isLoading:this.isLoading,hasError:this.hasError}}},beforeDestroy(){this.horizontalScrollTimer&&clearInterval(this.horizontalScrollTimer),this.horizontalDelayTimer&&clearTimeout(this.horizontalDelayTimer),this.isHovering=!1,this.isHorizontalScrolling=!1}},a=()=>{(0,o.useCssVars)(((e,t)=>({fd811a88:e.height})))},r=s.setup;s.setup=r?(e,t)=>(a(),r(e,t)):a;t.A=s},66044:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(87579),o=i(49967),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"58290ecb",null),c=r.exports},66560:function(e,t,i){e.exports=i.p+"img/算法资源 24.983ac6e7.svg"},67069:function(e,t,i){e.exports=i.p+"img/mining.63661eb9.svg"},67698:function(e,t,i){e.exports=i.p+"img/计算器.bf2f4fbd.svg"},68841:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(93167),o=i(857),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"311dda24",null),c=r.exports},69218:function(e,t,i){e.exports=i.p+"img/难度.374a30f2.svg"},72498:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAhCAYAAABX5MJvAAAACXBIWXMAAAsSAAALEgHS3X78AAACeUlEQVRYhcWX33HiQAzGv6QB6IDt4Ogg7uDoAL+cX0MqiNMB9+qXIx2QCs50YDpYOjgqIKOdb31Cif+QLIlmGMCrtX7SajXSzel0wqVSOGSVR633FQ5TAGsgfK8qDz/2vRdBiHEa+gHgACAXmMJhBaAEMFHqT6JbefxLAlE4OBpZ8tFRGdS/XwA0AB75X0A3QzC9EIXDAggfbbysPNaFQ86oRIA9QWseiRi/U68TwK2s26M6g6DHGQ3/VHpHvrTUHjEPVvzoo3ghjDdORNkTaFt5NAGCZ5rzrGFeFpV7z5aRWdAJDbQnUK3WZ2p9d/NrdpLNf/jgQGUxuu0zOgC0UBGNBh/kGLk+51rIHYEQ5b8AnisfvEkqhQuG7zWEgpVcON6qZy41AGXK78YARHvNrSo6U7s7kURjNqfa5zoSNimTQsgt6IBoIsQO/69capnxir8LZyMhMk8JoM+9B6KNxLXyoisf8GWR0N52rUmufGck2lz5lkjYXAkQV6wVgzUC70Qida0YrBEW4hq1YrBGWIgoSfJibI2wEKnzYlSNsBBRUt2QUTXCQtRaIYFEZ876STY0M3ZcsBCRePnZ5OT+2CDVZjk2Nm3n1kKwh3zm380nAxG78J3urAvXduBHBfOm254yfBM2ufmY4cXsX7O7FkNzgeBN0QCZrh1niUmDGRWl5fdsWscAZDzSpTLk2ck3BDhYgDeRMB5t1OzRGRXqlmxmwaIX80EPQL/t3NILoQws+KIJvcv1KEDvN6qtf6o8SjObtjNrl53BWbQjKnHqujfqB+bUoPcXQSgYHZUoYTblddOhH/T+QxAE0VEJZ2+uoORC0Bl9qwC8AjHhFndDIIoyAAAAAElFTkSuQmCC"},73723:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.DeleteBroadcast=r,t.dataInfo=d,t.getAddBroadcast=a,t.getBroadcast=s,t.listBroadcast=c,t.updateBroadcast=l;var o=n(i(35720));function s(e){return(0,o.default)({url:"manage/broadcast/find/data/by/id",method:"post",data:e})}function a(e){return(0,o.default)({url:"manage/broadcast/add",method:"post",data:e})}function r(e){return(0,o.default)({url:"manage/broadcast/delete",method:"post",data:e})}function c(e){return(0,o.default)({url:"manage/broadcast/get/list/by/page",method:"post",data:e})}function l(e){return(0,o.default)({url:"manage/broadcast/update",method:"post",data:e})}function d(e){return(0,o.default)({url:"manage/broadcast/find/data/info",method:"post",data:e})}},74431:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.personalCenter_zh=t.personalCenter_en=void 0;t.personalCenter_zh={personal:{miningAccount:"挖矿账户",readOnlyPage:"只读页面",securitySetting:"安全设置",personalCenter:"个人中心",miningReport:"挖矿报告",API:"API",add:"添加",delete:"删除",miningPool:"矿池",currency:"币种",remarks:"备注",operation:"操作",bindingWallet:"绑定付款钱包",addMiningPool:"添加挖矿账户",accountName:"账户名称",poolSelection:"币种选择",select:"请选择",remarks2:"备注(选填)",determine:"确 定",bindAddress:"付款设置",walletAddress:"钱包地址",Binding:"绑 定",establish:"创建",jurisdiction:"权限",account:"账户",readOnlyLink:"只读页面链接",setUp:"设置",miner:"矿工",profit:"收益",payment:"支付",loginPassword:"登录密码",accountSecurity:"用于保护账户安全。",setUp2:"已设置",modify:"修改",dualVerification:"双重验证",verificationInstructions:"用于添加、删除挖矿帐户和修改付款设置。",notEnabled:"未开启",Open:"开启",maintainPassword:"维护人员密码",maintenanceInstructions:"用于矿场维护人员登录帐户,使用此密码登录帐户时将隐藏“收益”和“帐户设置”页面。",deleteAccount:"删除账户",deleteDescription:"永久删除此主帐户及其子帐户。",Tips:"提示",enableVerificationDescription:"如需进行此操作,请先开启双重验证。",enableVerification:"开启双重验证",firstStep:"第一步",googleIdentity:"请使用您手机上的谷歌身份验证器(Google Authenticator)或其它兼容应用程序扫描下方二维码,也可手动输入以下16位密钥。",saveKey:"注意:请妥善保存密钥,避免被盗或丢失。",resetKeyDescription:"如遇手机丢失等情况,可通过该密钥恢复您的谷歌验证。如密钥丢失,需要提交工单通过人工客服重置,处理时间需7天。",nextStep:"下一步",step2:"第二步",verificationCode:"邮箱验证码",oneTimePassword:"双重验证动态口令",previousStep:"上一步",goOpenIt:"去开启",reasonForDeletion:"为了帮助我们优化服务,恳请您选择删除帐户的理由:",Cancel:"取 消",userName:"用户名",mailbox:"邮箱",phoneNumber:"手机号",mobilePhoneInstructions:" 用于添加或修改付款地址、修改登录密码,以及开启或修改维护人员密码。",loginHistory:"登录历史",time:"时间",loginResults:"登录结果",position:"位置",equipment:"设备",weekly:"周报",weeklyReportExplanation:"每个币种只能添加一份周报。开启后,每周二发送上周挖矿数据到您的注册邮箱。",weeklyReportTemplate:"查看周报模版",monthlyReport:"月报",monthlyReportExplanation:"每个币种只能添加一份月报。开启后,每月第二日发送上月挖矿数据到您的注册邮箱。",monthlyReportTemplate:"查看月报模版",addWeeklyReport:"添加周报",weeklyReportLanguage:"周报语言",weeklyReportCurrency:"周报币种",weeklyReportAccount:"周报账户",Submit:"提交",addMonthlyReport:"添加月报",monthlyReportLanguage:"月报语言",monthlyReportCurrency:"月报币种",monthlyReportAccount:"月报账户",nameDescription:"账号",pleaseEnter:"请输入..",pleaseEnter2:"输入搜索矿工",inputWalletAddress:"请输入钱包地址",remarksDescription:"请填写备注名,例如此只读页面链接分享给哪个合作伙伴",minimumPaymentAmount:"设置起付额",confirmSubmit:"确认提交",automaticWithdrawal:"是否自动提现",duplicateAccount:"账户名已存在,请重新填写",deleteConfirmation:"确认删除以下挖矿账户?",walletTips:"请确认填写钱包地址",PaymentAmountTips:"该币种起付金额不能小于",accountNumber:"请填写账号",selectCurrency:"请选择币种",invalidAddress:"钱包地址无效",yes:"是",no:"否",pleaseEnter3:"输入搜索账户",copySuccessful:"复制成功",copyFailed:"复制失败",confirm:"确 定",confirmSelection:"请确认勾选注意事项",pwd:"请输入登录密码",eCode:"请输入邮箱验证码",gCode:"请输入动态口令",copy:"复制",or:"或",accountSelection:"请选择账户",selectPermissions:"请选择只读权限",modify2:"修 改",accountFormat:"账户只能输入字母、数字、下划线,且不能以数字开头,长度不小于4位,不大于24位",close:"关闭",turnOffVerification:"关闭双重验证",Closed:"已成功关闭双重验证",day:"天",hour:"时",minute:"分",second:"秒",front:"前",loadingText:"拼命加载中...",deletePrompt:"确定删除勾选内容吗?",scanning:"(扫描`上一步`中的二维码获取最新口令)",apiKey:"API Key",ipAddress:"默认IP地址或者输入其他IP地址",defaultIp:"使用本机默认IP地址",ipAddressReminder:"请输入IP地址或勾选使用本机默认IP地址",permissionReminder:"请选择相关权限",minerAPI:"矿工",accountApi:"挖矿账户",miningPoolApi:"矿池",ipFormat:"请检查IP地址格式是否正确",screen:"筛选币种",workOrderRecord:"工单记录",deleteAccountWarning:"删除后关于此账户的相关信息将不能恢复,请慎重操作!",deleteAccountSuccess:"账户删除成功"}},t.personalCenter_en={personal:{miningAccount:"Mining account",readOnlyPage:"ReadOnly Page",securitySetting:"Security setting",personalCenter:"Personal Center",miningReport:"Mining report",API:"API",add:"Add",delete:"Delete",miningPool:"Mining pool",currency:"Currency",remarks:"Remarks",operation:"Operation",bindingWallet:"Bind payment wallet",addMiningPool:"Add mining account",accountName:"title of account",poolSelection:"Currency selection",select:"Please select",remarks2:"Remarks (optional)",determine:"determine",bindAddress:"Payment Settings",walletAddress:"Wallet address",Binding:"Binding",establish:"establish",jurisdiction:"Jurisdiction",account:"Account",readOnlyLink:"Read only page link",setUp:"Set up",miner:"miner",profit:"profit",payment:"payment",loginPassword:"Login password",accountSecurity:"Used to protect account security.",setUp2:"Set up",modify:"modify",dualVerification:"Dual verification",verificationInstructions:"Used for adding, deleting mining accounts, and modifying payment settings.",notEnabled:"Not enabled",Open:"open",maintainPassword:"Maintenance personnel password",maintenanceInstructions:'Used for mine maintenance personnel to log in to their account. When using this password to log in, the "Benefits" and "Account Settings" pages will be hidden.',deleteAccount:"Delete account",deleteDescription:"Permanently delete this main account and its sub accounts.",Tips:"Tips",enableVerificationDescription:"To perform this operation, please enable double verification first.",enableVerification:"Enable dual verification",firstStep:"The first step",googleIdentity:"Please use Google Authenticator or other compatible applications on your phone to scan the QR code below, or manually enter the following 16 digit key.",saveKey:"Be careful: Please keep the key properly to avoid theft or loss.",resetKeyDescription:"In case of phone loss or other situations, you can use this key to restore your Google verification. If the key is lost, a work order needs to be submitted for manual customer service reset, and the processing time takes 7 days.",nextStep:"next step",step2:"Step 2",verificationCode:"Email verification code",oneTimePassword:"Dual authentication dynamic password",previousStep:"Previous step",goOpenIt:"Go open it",reasonForDeletion:"To help us optimize our services, we kindly request that you choose the reason for deleting your account:",Cancel:"Cancel",userName:"User name",mailbox:"Mailbox",phoneNumber:"Cell-phone number",mobilePhoneInstructions:"Used to add or modify payment addresses, modify login passwords, and enable or modify maintenance personnel passwords.",loginHistory:"Login History",time:"Time",loginResults:"Login Results",position:"Position",equipment:"Equipment",weekly:"weekly",weeklyReportExplanation:"Only one weekly report can be added per currency. After activation, send last week's mining data to your registered email every Tuesday.",weeklyReportTemplate:"View weekly report template",monthlyReport:"Monthly report",monthlyReportExplanation:"Only one monthly report can be added per currency. After activation, send the mining data from the previous month to your registered email on the second day of each month.",monthlyReportTemplate:"View monthly report template",addWeeklyReport:"Add weekly report",weeklyReportLanguage:"Weekly Report Language",weeklyReportCurrency:"Weekly report currency",weeklyReportAccount:"Weekly report account",Submit:"Submit",addMonthlyReport:"Add monthly report",monthlyReportLanguage:"Monthly report language",monthlyReportCurrency:"Monthly report currency",monthlyReportAccount:"Monthly report account",nameDescription:"Account",pleaseEnter:"Please enter..",pleaseEnter2:"Enter search miner",inputWalletAddress:"Please enter the wallet address",remarksDescription:"Please fill in the note name, for example, which partner to share the read-only page link with",minimumPaymentAmount:"Minimum payment amount",confirmSubmit:"confirm Submit",automaticWithdrawal:"Whether to automatically withdraw funds",duplicateAccount:"The account name already exists, please fill it out again",deleteConfirmation:"Are you sure to delete the following mining accounts?",walletTips:"Please confirm to fill in the wallet address",PaymentAmountTips:"The fluctuation amount of this currency cannot be less than",accountNumber:"Please fill in the account number",selectCurrency:"Please select currency",invalidAddress:"Invalid wallet address",yes:"Yes",no:"No",pleaseEnter3:"Enter search account",copySuccessful:"Copy successful",copyFailed:"copy failed",confirm:"Confirm",confirmSelection:"Please confirm the selection of precautions",pwd:"Please enter your login password",eCode:"Please enter the email verification code",gCode:"Please enter the dynamic password",copy:"Copy",or:"Or",accountSelection:"Please select an account",selectPermissions:"Please select read-only permission",modify2:"Modify",accountFormat:"The account can only input letters, numbers, and underscores, and cannot start with a number. The length should not be less than 4 digits and not more than 24 digits",close:"close",turnOffVerification:"Turn off dual authentication",Closed:"Successfully disabled two factor authentication",day:"day",hour:"hours",minute:"minute",second:"second",front:"front",loadingText:"Desperately loading...",deletePrompt:"Are you sure to delete the selected content?",scanning:"(Scan the QR code from the `previous step` to obtain the latest password)",apiKey:"API Key",ipAddress:"Default IP address or enter another IP address",defaultIp:"Use the default IP address of this device",ipAddressReminder:"Please enter an IP address or check the option to use the default IP address on this device",permissionReminder:"Please select the relevant permissions",minerAPI:"miner",accountApi:"account",miningPoolApi:"pool",ipFormat:"Please check if the IP address format is correct",screen:"Filter currencies",workOrderRecord:"Work order record",deleteAccountWarning:"After deletion, the relevant information about this account cannot be restored. Please proceed with caution!",deleteAccountSuccess:"Account deleted successfully"}}},74910:function(e,t,i){e.exports=i.p+"img/费率.0ce18fa9.svg"},76466:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=n(i(41040)),s=n(i(12467)),a=i(87349),r=i(62901),c=i(58538),l=i(74431),d=i(43110),u=i(83536),h=i(79438),m=i(33859),p=i(46373),g=i(57637),f=i(42450),y=i(90444),v=i(42133),b=i(53724);t["default"]={zh:{...s.default,...a.userLang_zh,...r.home_zh,...c.miningAccount_zh,...l.personalCenter_zh,...d.AccessMiningPool_zh,...u.serviceTerms_zh,...h.api_zh,...m.workOrder_zh,...p.alerts_zh,...g.seo_zh,...f.chooseUs_zh,...y.ChatWidget_zh,...v.backendSystem_zh,...b.announcements_zh},en:{...o.default,...a.userLang_en,...r.home_en,...c.miningAccount_en,...l.personalCenter_en,...d.AccessMiningPool_en,...u.serviceTerms_en,...h.api_en,...m.workOrder_en,...p.alerts_en,...g.seo_en,...f.chooseUs_en,...y.ChatWidget_en,...v.backendSystem_en,...b.announcements_en}}},76994:function(e,t,i){e.exports=i.p+"img/lgout.189a539a.svg"},77738:function(e,t,i){e.exports=i.p+"img/lang.cef122f4.svg"},78628:function(e,t,i){e.exports=i.p+"img/grs.27ff84e3.svg"},79412:function(e,t,i){i.r(t)},79438:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.api_zh=t.api_en=void 0;t.api_zh={apiFile:{file:"M2pool API 文档",leftMenu:"API 文档 V1",survey:"概况",survey1:"用户可以通过 m2pool 提供的 API 接口,获取矿池、帐户的算力。",survey2:"本文档主要用于说明如何使用 m2pool 的 API接口,内容主要包括API的认证token生成以及API接口调用和返回数据结构。如果在调用 API 的返回值中,出现本文档中没有描述的字段,则说明这些字段为保留字段或是被弃用,请直接忽略。",apiAuthentication:"API 认证",apiAuthentication1:"查询 API 时需要提供由账号生产的具有对应权限的 token ,才能正常得到结果。用户可通过 m2pool 个人中心的",apiAuthentication5:"API页面",apiAuthentication6:"获取(请求 token 时可以根据需求自行勾选权限,可选权限分别为公共矿池数据查询接口调用权限、挖矿账户数据查询接口调用权限、矿机数据查询接口调用权限)。",apiAuthentication2:"在请求 API 时,将前面获取到的 token 放在 HTTP 请求Header 的API-KEY属性中即可完成认证。",apiAuthentication3:"请求API的IP要和获取API时的IP一致,且不能是本网站申明的禁止访问国家/地区的IP。",apiAuthentication4:"例如:",url:"示例url",explain:"说明",explain1:"获取某币种的矿池详情,包括矿池在线矿工数、最近7天的矿池算力、矿池当前算力、矿池最新高度、矿池费用、矿池提现起付额等",explain2:"获取某币种历史算力信息。start和end最多相差3个月",explain3:"当发生错误的时候,会返回给统一格式的数据",explain4:"错误描述",explain5:"当成功时返回同意格式的数据,数据具体字段见具体接口说明",explain6:"API 中 coin 字段可目前仅取值支持:nexa",miningPoolInformation:"矿池信息",miningPoolInformation1:"公共结构",miningPoolInformation2:"算力数据",name:"名称",type:"类型",remarks:"备注",Explain:"解释",powerStatistics:"算力统计时间",power:"算力",minersNum:"矿工数量数据",totalMiners:"总矿工数",onLineMiners:"在线矿工数",offLineMiners:"离线矿工数",overviewOfMiningPool:"矿池总览",jurisdiction:"所需权限",parameter:"请求参数",currency:"币种",response:"响应参数",serviceCharge:"矿池手续费",minimumPaymentAmount:"起付额",latelyPower24h:"最近七天算力(24h平均)",Power24h:"矿池最新算力(24h平均)",height:"矿池当前高度",currentMiners:"矿池当前矿工数",eachState:"各状态矿工数量",realTimePower:"矿池实时算力",averagePower30m:"当前30m平均算力",averagePower24h:"当前24h平均算力",Company:"单位",historyPower:"矿池总览历史算力",start:"开始时间",start2:"格式yyyy-MM-dd 与end相差最多三个月",end:"结束时间",end2:"格式yyyy-MM-dd 与star相差最多三个月",historyPower30m:"30m平均算力历史记录",historyPower24h:"24h平均算力历史记录",miningAccount:"挖矿账号信息",minerData:"矿工数量数据",stateData:"矿工状态数据",minerId:"矿工号",minerStatus:"矿工状态",minerStatus0:"0 代表在线",minerStatus1:"1 代表离线",minerStatus2:"2 代表异常状态",overviewOfMiners:"挖矿账号下矿工总览",accountApiKey:"该API-KEY绑定账号下的挖矿账号名",allMiners:"挖矿账号下所有矿工",realTimeAccount:"挖矿账号实时算力",account24h:"挖矿账号历史24h平均算力",account24h30m:"挖矿账号最近24h算力(30m平均算力)",average24h30m:"最近24h的30m平均算力",miningMachineInformation:"矿机信息",realTimeMiningMachine:"指定矿机实时算力",aCertainMiner:"挖矿账户下对应的某矿工号",miningMachineHistory24h:"指定矿机历史24h平均算力",realTimeMiningMachine24h30m:"指定矿机最近24h算力(30m平均算力)",backMenu:"返回目录",catalogue:"目录:"}},t.api_en={apiFile:{file:"M2pool API documentation",leftMenu:"API documentation V1",survey:"survey",survey1:"Users can obtain the computing power of mining pools and accounts through the API interface provided by m2pool.",survey2:"This document is mainly used to explain how to use the API interface of m2pool, including the generation of authentication tokens for the API, API interface calls, and the return of data structures. If fields not described in this document appear in the return value of API calls, it indicates that these fields are reserved or abandoned, please ignore them directly.",apiAuthentication:"API certification",apiAuthentication1:"When querying the API, it is necessary to provide a token produced by the account with corresponding permissions in order to obtain normal results. Users can access the m2pool personal center through",apiAuthentication2:"When requesting an API, place the token obtained earlier in the API-KEY attribute of the HTTP request header to complete authentication.",apiAuthentication3:"The IP address requested for the API must be consistent with the IP address used to obtain the API, and cannot be the IP address of the prohibited country/region declared by this website.",apiAuthentication4:"For example:",url:"Example URL",explain:"explain",explain1:"Get the details of a mining pool for a certain currency, including the number of online miners in the pool, the computing power of the mining pool in the past 7 days, the current computing power of the mining pool, the latest height of the mining pool, mining pool fees, and the minimum withdrawal amount of the mining pool",explain2:"Obtain historical computing power information for a certain currency. The maximum difference between start and end is 3 months",explain3:"When an error occurs, data in a unified format will be returned",explain4:"Error description",explain5:"When successful, return data in the agreed format. Please refer to the specific interface instructions for the specific fields of the data",explain6:"The coin field in the API currently only supports values such as nexa",miningPoolInformation:"Mining Pool Information",miningPoolInformation1:"Public Structure",miningPoolInformation2:"Computing power data",name:"name",type:"type",remarks:"remarks",powerStatistics:"Computing power statistics time",power:"Computing power",minersNum:"Number of miners data",totalMiners:"Total number of miners",onLineMiners:"Number of online miners",offLineMiners:"Number of offline miners",Explain:"explain",overviewOfMiningPool:"Overview of Mining Pool",jurisdiction:"Required permissions",parameter:"Request parameters",currency:"currency",response:"Response parameters",serviceCharge:"Mining pool handling fee",minimumPaymentAmount:"Minimum payment amount",latelyPower24h:"Last seven days' computing power (24-hour average)",Power24h:"Latest computing power of mining pool (24-hour average)",height:"The current height of the mining pool",currentMiners:"The current number of miners in the mining pool",eachState:"Number of miners in each state",realTimePower:"Real time computing power of mining pool",averagePower30m:"Current average computing power of 30m",averagePower24h:"Current 24-hour average computing power",Company:"Company",historyPower:"Overview of Mining Pool Historical Computing Power",start:"start time",start2:"Format yyyy MM dd differs from end by up to three months",end:"End time",end2:"Format yyyy MM dd differs from star by up to three months",historyPower30m:"30m average computing power historical record",historyPower24h:"24-hour average computing power history record",miningAccount:"Mining account information",minerData:"Number of miners data",stateData:"Miner status data",minerId:"Miner ID",minerStatus:"Miner status",minerStatus0:"0 represents online",minerStatus1:"1 represents offline",minerStatus2:"2 represents abnormal state",overviewOfMiners:"Overview of miners under mining accounts",accountApiKey:"The mining account name under the API-KEY bound account",allMiners:"All miners under the mining account",realTimeAccount:"Real time computing power of mining accounts",account24h:"24-hour average computing power of mining account history",account24h30m:"Mining account's computing power in the past 24 hours (average computing power of 30m)",average24h30m:"The average computing power of 30m in the past 24 hours",miningMachineInformation:"Mining machine information",realTimeMiningMachine:"Specify the real-time computing power of the mining machine",aCertainMiner:"The corresponding miner account under the mining account",miningMachineHistory24h:"Specify the average computing power of the mining machine in the past 24 hours",realTimeMiningMachine24h30m:"Designated mining machine's computing power in the past 24 hours (average computing power of 30m)",apiAuthentication5:"API page",apiAuthentication6:"Obtain (When requesting tokens, you can check the permissions according to your needs, and the optional permissions are public mining pool data query interface call permission, mining account data query interface call permission, and mining machine data query interface call permission).",backMenu:"Return to Table of Contents",catalogue:"Catalogue:"}}},79613:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIoAAAAhCAMAAAAxgsN7AAAAM1BMVEVMaXH////////////////////////////////////////////////////////////////x7/yuAAAAEHRSTlMAYKAwECDwQIDA0HDgsFCQfHx6EQAAAAlwSFlzAAALEgAACxIB0t1+/AAAAihJREFUWIXFl9m2wyAIRR1wytD6/197VxQHFPtym5SnGozs6hGIEMKocL7EYGZ/hxBO/4LR81VzMRkuaew1OElIucVqQT6GcubR2fy6A7ks6GdQoATci1vGyW7bGILyKmEtLEnuYyEovobzhERdSoaXwuGk61tRoqkijsGUySgc22Rt3GTFOXvE0gOfUM46Vh04bN2eLQ7QJmHrY+UxG+ORH1Bi+g/Oxo1sIqQIR9kTTkpp08CynuulwL5kWJQ8N4czmyMouA+anO5o7pNH8B7Pouj8qFxo45O9XIqf77t8CEXkm1LFWU49s4XYxHI/Ch70G48EUVA0M0p3hJ6i+OZpU9OPMHoWKGLPD69LrKvKMGJ8FgXPJAgoWa3uEYn+BAo+Ve1KFuXkpADPoZQS3Uz2M9S0/o0oJHlZr/BV2UT0GEqfeBUIyDntnR/s8/p3otTMHVok1LBi1r8TBc/iaM0JlsK+PNb1MSP7QFGCr6YoyjF6Gor33lGUlMt8awdKqe0LdUXZe2n9M9vmPSMosO+1URFC2kEnBIXW/X+jRENRiKFgLW0mC8rQLGghNB/wUj/bPlx/UfejFQpgmjmGdr+g0PNJklSRsdaPjbYBeSesUMoHyDl+khWUvhs6VJ7lp2Ztwwslp+ZpQ002zwLFcTKhWvm+sShl94/QTP8CBdhDX1XmO1GAac9/g6L5m/cDFPY79RkUl4pCHUIrFINhGs6lp8vJ3zEhxB/YQnlvC83hegAAAABJRU5ErkJggg=="},83536:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.serviceTerms_zh=t.serviceTerms_en=void 0;t.serviceTerms_zh={ServiceTerms:{title:"服务条款内容",title1:"一、总则",clauseTotal1:"1.欢迎访问 M2pool 矿池网站(以下简称“本网站”)。使用本网站的服务(以下简称“服务”),即表示您同意遵守以下服务条款(以下简称“条款”)。",clauseTotal2:"2.请仔细阅读以下条款,如果您点击 “注册 ”按钮或查看、使用这些服务,即视为您已阅读并同意本服务条款及其所有附加条款。如果你不接受服务条款的限制,请不要查看或使用服务。",clauseTotal3:"3.我们保留随时修改这些条款的权利,修改后的条款将在网站上公布。您继续使用服务即表示您接受修改后的条款。",clauseTotal4:"4.我们希望您能定期查看本条款,以确保您已确认适用于您查看和使用的条款和条件。本条款及附加条款可供您查看,并可用于使用我们提供的任何服务,包括但不限于以下网站:https://www.m2pool.com/(以下简称 “本网站”)。",title2:"二、服务说明",clauseService1:"1.我们的服务旨在为用户提供数字货币挖矿相关的资源和支持,但不保证挖矿的收益或成功。",clauseService2:"2.服务可能会因维护、升级或其他原因而暂时中断,我们将尽力提前通知用户,但不对此类中断造成的损失负责。",clauseService3:"3.M2Pool 不向以下司法管辖区的个人或实体提供服务:阿富汗、白俄罗斯、中非共和国、刚果民主共和国、几内亚比绍、古巴、伊朗、伊拉克、朝鲜、利比亚、黎巴嫩、马里、叙利亚、委内瑞拉和津巴布韦。受限制的司法管辖区还包括M2pool选择不运营的任何国家/地区,包括但不限于阿尔及利亚、安哥拉、孟加拉国、中国、埃及、海地、科索沃、科威特、摩洛哥、俄罗斯、尼泊尔、索马里、南苏丹、苏丹、也门和新加坡。",clauseService4:" 通过访问和使用 M2Pool 服务,您声明并保证您不位于、不在上述任何国家/地区设立或不是上述任何国家的居民。M2Pool 保留自行决定限制或拒绝某些国家/地区提供服务的权利。如果 M2Pool 确定(自行决定)用户是指定国家/地区的居民,M2Pool 可能会冻结或终止这些帐户。",title3:"三、用户资格",clauseUser1:"1.您必须达到法定年龄并具备完全民事行为能力才能使用本服务。",clauseUser2:"2.您保证所提供的注册信息真实、准确、完整,并及时更新,您可以使用电子邮件地址我们允许的其他方式登录 M2Pool。如果您提供的注册信息不正确,我们将不承担任何责任。您将遭受任何直接或间接的损失和不利后果。",clauseUser3:"3.您应是具有完全行为能力和民事权利能力的法人、公司或其他组织。否则,您或您的监护人应承担一切后果。我们有权注销或永久中止您的账户,并要求您赔偿。",title4:"四、用户责任",clauseResponsibility1:"1.您应遵守所有适用的国家法律、法规等规范性文件及本规则的规定和要求,包括但不限于与数字货币挖矿相关的法律。不违反社会公共利益或公共道德,不损害他人合法权益,不偷逃应纳税款,不违反本规定及相关规则。如果您违反上述承诺并产生任何法律后果,您应自行承担所有法律责任,并确保我们免受任何损失。",clauseResponsibility2:"2.您不得利用本服务从事任何非法、欺诈、有害或侵犯他人权利的活动。",clauseResponsibility3:"3.您对自己的挖矿设备和网络连接负责,确保其符合相关要求并正常运行。",clauseResponsibility4:"4.您必须对您的M2Pool用户名和密码以及在您的用户名、M2Pool密码下发生的所有活动(包括但不限于信息披露和发布、在线点击同意或提交各种规则和协议、在线协议续签或购买服务、账户设置等)的保密性负责。",clauseResponsibility5:"5.如果任何人未经认证使用您的M2pool邮箱、账号等登录本网站,我们不对您因违反本条款而造成的任何损失负责。",title5:"五、费用与支付",clausePayment1:"1.我们可能会根据服务内容收取一定的费用,具体费用标准将在网站上公布。",clausePayment2:"2.您同意按照规定的支付方式和时间支付费用,逾期未支付可能导致服务暂停或终止。",clausePayment3:"3.您在使用本服务时所产生的应纳税额以及所有硬件、软件、服务或其他方面的费用均由您自行承担。",title6:"六、收益与分配",clauseProfit1:"1.挖矿收益将根据我们的分配机制进行分配,但不保证收益的稳定性和固定性。",clauseProfit2:"2.我们有权根据实际情况调整分配机制,但会提前通知用户。",title7:"七、数据与隐私",clausePrivacy1:"1.我们会收集和使用您在使用服务过程中产生的相关数据,但会严格遵守隐私政策保护您的隐私。",clausePrivacy2:"2.您同意我们对数据的收集、使用和处理,以提供和改进服务。",title8:"八、知识产权",clausePropertyRight1:"1.本网站的所有内容,包括但不限于商标、版权、专利等,均归本公司或相关权利人所有。",clausePropertyRight2:"2.未经授权,您不得复制、修改、传播或使用本网站的任何知识产权。",title9:"九、免责声明",clauseDisclaimer1:"1.对于因不可抗力、系统故障、网络问题等导致的服务中断或数据丢失,我们不承担责任。",clauseDisclaimer2:"2.对于您因使用本服务而产生的任何直接、间接、偶然、特殊或后果性的损失,包括但不限于挖矿收益损失、设备损坏等,我们不承担赔偿责任。",title10:"十、终止服务",clauseTermination1:"1.我们有权在以下情况下终止您的服务:违反本条款、法律法规、损害本公司或其他用户的利益。",clauseTermination2:"2.服务终止后,您的相关数据可能会被删除或保留,具体处理方式将根据法律法规和公司政策执行。",title11:"十一、法律适用与争议解决",clauseLaw1:"1.本条款受新加坡法律的管辖。",clauseLaw2:"2.如发生争议,双方应通过友好协商解决;协商不成的,可向有管辖权的法院提起诉讼。",loadingText:"正在加载文档内容...",noContent:"暂无自定义文档内容"}},t.serviceTerms_en={ServiceTerms:{title:"Content of Service Terms",title1:"1、 General Provisions",clauseTotal1:'Welcome to the M2pool mining pool website (hereinafter referred to as "this website"). By using the services of this website (hereinafter referred to as the "Services"), you agree to comply with the following terms of service (hereinafter referred to as the "Terms").',clauseTotal2:'2. Please carefully read the following terms. If you click the "Register" button or view or use these services, it is deemed that you have read and agreed to these terms of service and all its additional terms. If you do not accept the limitations of the terms of service, please do not view or use the service.',clauseTotal3:"3. We reserve the right to modify these terms at any time, and the modified terms will be published on the website. By continuing to use the service, you accept the revised terms.",clauseTotal4:'4. We hope that you can regularly review these terms to ensure that you have confirmed the terms and conditions applicable to your viewing and use. These terms and additional terms are available for your review and can be used to use any services we provide, including but not limited to the following websites: https://www.m2pool.com/ (hereinafter referred to as "this website").',title2:"2、 Service Description",clauseService1:"Our service aims to provide users with resources and support related to cryptocurrency mining, but we do not guarantee the profits or success of mining.",clauseService2:"2. The service may be temporarily interrupted due to maintenance, upgrades, or other reasons. We will do our best to notify users in advance, but we are not responsible for any losses caused by such interruptions.",clauseService3:"3.M2Pool does not provide services to individuals or entities in the following jurisdictions: Afghanistan, Belarus, Central African Republic, Democratic Republic of the Congo, Guinea Bissau, Cuba, Iran, Iraq, North Korea, Libya, Lebanon, Mali, Syria, Venezuela and Zimbabwe. Restricted jurisdictions also include any country/territory in which M2pool chooses not to operate, including but not limited to Algeria, Angola, Bangladesh, China, Egypt, Haiti, Kosovo, Kuwait, Morocco, Russia, Nepal, Somalia, South Sudan, Sudan, Yemen and Singapore.",title3:"3、 User Qualification",clauseUser1:"1. You must be of legal age and have full capacity for civil conduct to use this service.",clauseUser2:"2. You guarantee that the registration information provided is true, accurate, complete, and updated in a timely manner. You can log in to M2Pool using other methods allowed by our email address. If the registration information you provide is incorrect, we will not be held responsible. You will suffer any direct or indirect losses and adverse consequences.",clauseUser3:"3. You should be a legal person, company, or other organization with full capacity for conduct and civil rights. Otherwise, you or your guardian shall bear all consequences. We have the right to cancel or permanently suspend your account and demand compensation from you.",title4:"4、 User Responsibility",clauseResponsibility1:"1. You shall comply with all applicable national laws, regulations and normative documents, as well as the provisions and requirements of these rules, including but not limited to laws related to digital currency mining. Not violating the public interest or public morality, not harming the legitimate rights and interests of others, not evading taxes, and not violating these regulations and related rules. If you violate the above commitments and incur any legal consequences, you shall bear all legal responsibilities on your own and ensure that we are free from any losses.",clauseResponsibility2:"2. You are not allowed to engage in any illegal, fraudulent, harmful, or infringing activities using this service.",clauseResponsibility3:"3. You are responsible for your mining equipment and network connection, ensuring that it meets relevant requirements and operates normally.",clauseResponsibility4:"4. You are responsible for the confidentiality of your M2Pool username and password, as well as all activities that occur under your username and M2Pool password (including but not limited to information disclosure and publication, online click to agree or submit various rules and agreements, online agreement renewal or purchase of services, account settings, etc.).",clauseResponsibility5:"5. If anyone uses your M2pool email, account, etc. to log in to this website without authentication, we will not be responsible for any losses caused by your violation of these terms.",title5:"5、 Fees and Payment",clausePayment1:"We may charge a certain fee based on the service content, and the specific fee standard will be announced on the website.",clausePayment2:"2. You agree to pay the fees according to the prescribed payment method and time. Failure to pay on time may result in the suspension or termination of the service.",clausePayment3:"3. The taxable amount and all hardware, software, service or other expenses incurred by you when using this service shall be borne by you.",title6:"6、 Income and distribution",clauseProfit1:"1. Mining profits will be distributed according to our distribution mechanism, but we do not guarantee the stability and stability of the profits.",clauseProfit2:"2. We have the right to adjust the allocation mechanism according to the actual situation, but we will notify users in advance.",title7:"7、 Data and Privacy",clausePrivacy1:"1. We will collect and use relevant data generated during your use of the service, but we will strictly comply with the privacy policy to protect your privacy.",clausePrivacy2:"2. You agree to our collection, use, and processing of data to provide and improve services.",title8:"8、 Intellectual Property",clausePropertyRight1:"All content on this website, including but not limited to trademarks, copyrights, patents, etc., belongs to our company or relevant rights holders.",clausePropertyRight2:"2. Without authorization, you are not allowed to copy, modify, disseminate or use any intellectual property of this website.",title9:"9、 Disclaimer",clauseDisclaimer1:"We are not responsible for service interruptions or data loss caused by force majeure, system failures, network issues, etc.",clauseDisclaimer2:"2. We are not liable for any direct, indirect, incidental, special or consequential losses incurred by you as a result of using this service, including but not limited to mining revenue loss, equipment damage, etc.",title10:"10、 Termination of Service",clauseTermination1:"We have the right to terminate your service in the following circumstances: violation of these terms, laws and regulations, or damage to the interests of our company or other users.",clauseTermination2:"After the termination of the service, your relevant data may be deleted or retained, and the specific processing method will be implemented in accordance with laws, regulations, and company policies.",title11:"11、 Application of Law and Dispute Resolution",clauseLaw1:"1. This clause is governed by the laws of Singapore.",clauseLaw2:"2. In the event of a dispute, both parties shall resolve it through friendly consultation; If the negotiation fails, a lawsuit may be filed with a court with jurisdiction.",loadingText:"Loading document content...",noContent:"No custom document content"}}},84013:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(22016),o=i(54752),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"1a3f78b4",null),c=r.exports},84441:function(e,t,i){e.exports=i.p+"img/客服.b3d473b9.svg"},85857:function(e,t,i){e.exports=i.p+"img/mona.643bf599.svg"},87349:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.userLang_zh=t.userLang_en=void 0;t.userLang_zh={user:{login:"登 录",register:"去注册",Account:"邮箱",password:"密码",forgotPassword:"忘记密码",inputAccount:"请输入账号",inputPassword:"请输入密码",inputEmail:"请输入邮箱",accountReminder:"请确认账号输入格式是否正确(以字母开头,允许使用字母、数字、下划线,长度不小于3,不大于16位)",PasswordReminder:"请确认密码格式输入正确(应包含大小写字母、数字和特殊字符,长度不小于8,不大于32位)",loginSuccess:"登录成功",inputCode:"请输入验证码",noPage:" 对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。",canTFind:"找不到网页!",verificationCode:"验证码",obtainVerificationCode:"获取验证码",again:"s后重新获取",newUser:"新用户注册",confirmPassword:"确认密码",havingAnAccount:"已有账号?",loginExpired:"登录状态已过期",overduePrompt:"系统提示",Home:"首 页",signOut:"退出登录",codeSuccess:"已发送验证码",emailVerification:"请检查邮箱是否输入正确",passwordVerification:"用户密码长度必须介于 8 和 32 之间",secondaryPassword:"请再次输入您的密码",passwordFormat:"请确认密码格式输入正确",system:"系统提示",congratulations:"恭喜您的账号 注册成功!",passwordPrompt:"密码应包含大小写字母、数字和特殊字符,长度不小于8,不大于32位",verificationCodeSuccessful:"验证码发送成功",noAccount:"没有账号?",resetPassword:"重置密码",newPassword:"确认密码",changePassword:"修改密码",returnToLogin:"返回登录",confirmPassword2:"确认两次密码输入一致",modifiedSuccessfully:"密码修改成功,请登录",verificationEnabled:"已开启验证",newPassword2:"新密码"}},t.userLang_en={user:{login:"Login",register:"Sign Up",Account:"Email",password:"Password",forgotPassword:"Forgot password",inputAccount:"Please enter an account",inputPassword:"Please enter the password",inputEmail:"Please enter your email address",accountReminder:"Please confirm if the account input format is correct (starting with a letter, allowing letters, numbers, and underscores, with a length of no less than 3 and no more than 16 digits)",PasswordReminder:"Please confirm that the password format is entered correctly (it should include uppercase and lowercase letters, numbers, and special characters, with a length of no less than 8 and no more than 32 bits)",loginSuccess:"Login successful",inputCode:"Please enter the verification code",noPage:" Sorry, the page you are looking for does not exist. Try checking for errors in the URL, then press the refresh button on the browser or try to find other content in our application.",canTFind:"Unable to find webpage!",verificationCode:"Code",obtainVerificationCode:"Obtain Code",again:"s again",newUser:"New user registration",confirmPassword:"Confirm password",havingAnAccount:"Existing account?",loginExpired:"Login status has expired",overduePrompt:"System prompt",Home:"Home",signOut:"Sign out",codeSuccess:"Verification code has been sent",emailVerification:"Please check if the email is entered correctly",passwordVerification:"Password length must be between 8 and 32",secondaryPassword:"Please enter your password again",passwordFormat:"Please confirm that the password format is entered correctly",system:"System prompt",congratulations:"Congratulations on the successful registration of your account!",passwordPrompt:"password Contains uppercase and lowercase letters, numbers, and special characters,Length not less than 8 and not more than 32",verificationCodeSuccessful:"Verification code sent successfully",noAccount:"Don't have an account?",resetPassword:"Reset Password",newPassword:"Confirm password",changePassword:"Change Password",returnToLogin:"Return to login",confirmPassword2:"Confirm that the two password inputs are consistent",modifiedSuccessfully:"Password changed successfully, please log in",verificationEnabled:"Verification enabled",newPassword2:"New Password"}}},87579:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"split-screen-editor"},[t("div",{staticClass:"editor-tools"},[t("div",{staticClass:"mode-switch"},[t("button",{staticClass:"mode-btn",class:{active:"edit"===e.editorMode},on:{click:function(t){e.editorMode="edit"}}},[t("i",{staticClass:"el-icon-edit"}),e._v(" 编辑 ")]),t("button",{staticClass:"mode-btn",class:{active:"preview"===e.editorMode},on:{click:function(t){e.editorMode="preview"}}},[t("i",{staticClass:"el-icon-view"}),e._v(" 预览 ")]),t("button",{staticClass:"mode-btn",class:{active:"split"===e.editorMode},on:{click:function(t){e.editorMode="split"}}},[t("i",{staticClass:"el-icon-s-unfold"}),e._v(" 分屏 ")])]),t("div",{staticClass:"tool-actions"},[t("span",{staticClass:"word-count"},[e._v(e._s(e.wordCount)+" 字")]),t("el-button",{attrs:{size:"mini",icon:"el-icon-question"},on:{click:e.toggleUsageGuide}},[e._v(" "+e._s(e.showUsageGuide?"隐藏指南":"使用指南")+" ")]),t("el-button",{attrs:{size:"mini",icon:"el-icon-full-screen"},on:{click:e.toggleFullscreen}},[e._v(" "+e._s(e.isFullscreen?"退出全屏":"全屏")+" ")]),t("el-button",{attrs:{size:"mini",icon:"el-icon-upload",type:"warning",loading:e.publishLoading,disabled:!e.localContent.trim()},on:{click:e.handlePublish}},[e._v(" "+e._s(e.publishLoading?"发布中...":"发布")+" ")])],1)]),t("div",{staticClass:"editor-container",class:{fullscreen:e.isFullscreen}},[t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:"preview"===e.editorMode?0:"split"===e.editorMode?12:24}},[t("div",{directives:[{name:"show",rawName:"v-show",value:"preview"!==e.editorMode,expression:"editorMode !== 'preview'"}],staticClass:"editor-panel"},[t("div",{staticClass:"panel-header"},[t("span",[t("i",{staticClass:"el-icon-edit"}),e._v(" 富文本编辑")]),t("div",{staticClass:"panel-actions"},[t("el-button",{attrs:{size:"mini",icon:"el-icon-arrow-right"},on:{click:e.insertBulletPoint}},[e._v(" 插入圆点 ")])],1)]),t("div",{staticClass:"editor-content"},[t("div",{ref:"editorContainer",staticClass:"tinymce-container"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.localContent,expression:"localContent"}],attrs:{id:e.editorId},domProps:{value:e.localContent},on:{input:[function(t){t.target.composing||(e.localContent=t.target.value)},e.handleContentChange]}})])])])]),t("el-col",{attrs:{span:"edit"===e.editorMode?0:"split"===e.editorMode?12:24}},[t("div",{directives:[{name:"show",rawName:"v-show",value:"edit"!==e.editorMode,expression:"editorMode !== 'edit'"}],staticClass:"editor-panel"},[t("div",{staticClass:"panel-header"},[t("span",[t("i",{staticClass:"el-icon-view"}),e._v(" 实时预览")]),t("div",{staticClass:"panel-actions"},[t("el-button",{attrs:{size:"mini",icon:"el-icon-document-copy"},on:{click:e.copyHtml}},[e._v(" 复制HTML ")])],1)]),t("div",{staticClass:"preview-content content-display",domProps:{innerHTML:e._s(e.previewContent)}})])])],1)],1),t("transition",{attrs:{name:"slide-fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.showUsageGuide,expression:"showUsageGuide"}],staticClass:"usage-guide-panel"},[t("el-card",{attrs:{shadow:"never"}},[t("div",{attrs:{slot:"header"},slot:"header"},[t("span",[t("i",{staticClass:"el-icon-guide"}),e._v(" TinyMCE 富文本编辑器使用指南")]),t("el-button",{staticStyle:{float:"right",padding:"3px 0","margin-left":"10px"},attrs:{type:"text",icon:"el-icon-close"},on:{click:e.toggleUsageGuide}},[e._v(" 关闭指南 ")]),t("el-button",{staticStyle:{float:"right",padding:"3px 0"},attrs:{type:"text",icon:"el-icon-info"},on:{click:e.checkDemoEditorStatus}},[e._v(" 检查状态 ")])],1),t("div",{staticClass:"guide-content"},[t("div",{staticClass:"guide-section"},[t("h4",[e._v("💡 功能演示区域")]),t("p",{staticClass:"demo-description"},[e._v("在下方编辑器中直接尝试各种功能:")]),t("div",{staticClass:"demo-editor-container"},[t("div",{staticClass:"demo-editor",attrs:{id:e.demoEditorId}})]),t("div",{staticClass:"demo-tips"},[t("span",{staticClass:"tip-item"},[e._v("💡 提示:可以在此编辑器中直接尝试下方介绍的所有功能")])])]),t("div",{staticClass:"guide-section"},[t("h4",[e._v("📝 基础文本编辑")]),t("div",{staticClass:"function-grid"},[t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-refresh-left"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("撤销/重做")]),t("p",[t("kbd",[e._v("Ctrl + Z")]),e._v(" 撤销 | "),t("kbd",[e._v("Ctrl + Y")]),e._v(" 重做")]),t("span",{staticClass:"tips"},[e._v("快速回退或恢复编辑操作")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("strong",[e._v("B")])]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("字体样式")]),t("p",[t("kbd",[e._v("Ctrl + B")]),e._v(" 粗体 | "),t("kbd",[e._v("Ctrl + I")]),e._v(" 斜体 | "),t("kbd",[e._v("Ctrl + U")]),e._v(" 下划线")]),t("span",{staticClass:"tips"},[e._v("选中文字后使用快捷键或点击工具栏按钮")])])])])]),t("div",{staticClass:"guide-section"},[t("h4",[e._v("🎨 格式与样式")]),t("div",{staticClass:"function-grid"},[t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-s-grid"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("段落格式")]),t("p",[e._v("标题1-6、段落、预格式化文本")]),t("span",{staticClass:"tips"},[e._v('点击"格式"下拉菜单选择段落样式')])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("div",{staticClass:"color-icon"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("颜色设置")]),t("p",[e._v("字体颜色 "),t("span",{staticClass:"color-demo",staticStyle:{color:"#ff0000"}},[e._v("A")]),e._v(" | 背景颜色 "),t("span",{staticClass:"bg-demo"},[e._v("A")])]),t("span",{staticClass:"tips"},[e._v("选中文字后点击颜色按钮选择颜色")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-sort"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("文本对齐")]),t("p",[e._v("左对齐 | 居中 | 右对齐 | 两端对齐")]),t("span",{staticClass:"tips"},[e._v("将光标放在段落中,点击对应对齐按钮")])])])])]),t("div",{staticClass:"guide-section"},[t("h4",[e._v("📋 列表与缩进")]),t("div",{staticClass:"function-grid"},[t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("span",{staticStyle:{"font-size":"18px"}},[e._v("•")])]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("无序列表(圆点)")]),t("p",[e._v("创建带圆点的项目列表")]),t("span",{staticClass:"tips"},[e._v('点击圆点按钮或使用"• 圆点"专用按钮')])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("span",{staticStyle:{"font-size":"16px"}},[e._v("1.")])]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("有序列表(数字)")]),t("p",[e._v("创建带数字编号的项目列表")]),t("span",{staticClass:"tips"},[e._v("点击数字列表按钮,自动生成编号")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-right"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("缩进控制")]),t("p",[t("kbd",[e._v("Tab")]),e._v(" 增加缩进 | "),t("kbd",[e._v("Shift + Tab")]),e._v(" 减少缩进")]),t("span",{staticClass:"tips"},[e._v("用于创建多层级列表结构")])])])])]),t("div",{staticClass:"guide-section"},[t("h4",[e._v("🔗 插入与媒体")]),t("div",{staticClass:"function-grid"},[t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-link"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("链接插入")]),t("p",[t("kbd",[e._v("Ctrl + K")]),e._v(" 插入链接")]),t("span",{staticClass:"tips"},[e._v("选中文字后按快捷键或点击链接按钮")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-picture"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("图片插入")]),t("p",[e._v("支持上传图片或插入图片链接")]),t("span",{staticClass:"tips"},[e._v("点击图片按钮,选择本地文件或输入URL")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-s-grid"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("表格插入")]),t("p",[e._v("创建和编辑表格数据")]),t("span",{staticClass:"tips"},[e._v("点击表格按钮选择行列数,右键编辑表格")])])])])]),t("div",{staticClass:"guide-section"},[t("h4",[e._v("🛠️ 高级功能")]),t("div",{staticClass:"function-grid"},[t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-search"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("搜索替换")]),t("p",[t("kbd",[e._v("Ctrl + F")]),e._v(" 查找 | "),t("kbd",[e._v("Ctrl + H")]),e._v(" 替换")]),t("span",{staticClass:"tips"},[e._v("快速查找和批量替换文本内容")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-view"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("源码编辑")]),t("p",[e._v("查看和编辑HTML源代码")]),t("span",{staticClass:"tips"},[e._v("点击代码按钮切换到HTML视图")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-full-screen"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("全屏编辑")]),t("p",[t("kbd",[e._v("F11")]),e._v(" 或点击全屏按钮")]),t("span",{staticClass:"tips"},[e._v("沉浸式编辑体验,"),t("kbd",[e._v("ESC")]),e._v("退出")])])])])]),t("div",{staticClass:"guide-section"},[t("h4",[e._v("⌨️ 快捷键汇总")]),t("div",{staticClass:"shortcuts-grid"},[t("div",{staticClass:"shortcut-category"},[t("h5",[e._v("基础编辑")]),t("div",{staticClass:"shortcut-list"},[t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + Z")]),t("span",[e._v("撤销")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + Y")]),t("span",[e._v("重做")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + A")]),t("span",[e._v("全选")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + C")]),t("span",[e._v("复制")])])])]),t("div",{staticClass:"shortcut-category"},[t("h5",[e._v("格式化")]),t("div",{staticClass:"shortcut-list"},[t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + B")]),t("span",[e._v("粗体")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + I")]),t("span",[e._v("斜体")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + U")]),t("span",[e._v("下划线")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + K")]),t("span",[e._v("插入链接")])])])]),t("div",{staticClass:"shortcut-category"},[t("h5",[e._v("视图控制")]),t("div",{staticClass:"shortcut-list"},[t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("F11")]),t("span",[e._v("全屏")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("ESC")]),t("span",[e._v("退出全屏")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + F")]),t("span",[e._v("查找")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + H")]),t("span",[e._v("替换")])])])])])]),t("div",{staticClass:"guide-section special-features"},[t("h4",[e._v("⭐ 专用功能说明")]),t("div",{staticClass:"special-function"},[t("div",{staticClass:"special-icon"},[t("span",[e._v("•")])]),t("div",{staticClass:"special-content"},[t("h5",[e._v("圆点插入专用按钮")]),t("p",[e._v('我们为您特别添加了"• 圆点"按钮,专门用于插入黑色圆点符号。')]),t("div",{staticClass:"usage-steps"},[t("span",{staticClass:"step"},[e._v("1")]),e._v(" 将光标定位到需要插入圆点的位置 "),t("span",{staticClass:"step"},[e._v("2")]),e._v(' 点击工具栏中的"• 圆点"按钮 '),t("span",{staticClass:"step"},[e._v("3")]),e._v(" 圆点自动插入,在分屏模式下立即可见 ")])])]),t("div",{staticClass:"special-function"},[t("div",{staticClass:"special-icon"},[t("i",{staticClass:"el-icon-s-unfold"})]),t("div",{staticClass:"special-content"},[t("h5",[e._v("分屏实时预览")]),t("p",[e._v("左边编辑,右边实时预览,完美解决圆点在预览时才显示的问题。")]),t("div",{staticClass:"usage-steps"},[t("span",{staticClass:"step"},[e._v("1")]),e._v(' 点击工具栏中的"分屏"按钮 '),t("span",{staticClass:"step"},[e._v("2")]),e._v(" 左侧编辑器,右侧实时预览 "),t("span",{staticClass:"step"},[e._v("3")]),e._v(" 圆点和格式化效果立即可见 ")])])])])])])],1)])],1)},t.Yp=[]},87596:function(e,t,i){e.exports=i.p+"img/LOGO.8ae69378.svg"},89965:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(4622),o=i(45732),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,null,null),c=r.exports},90444:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ChatWidget_zh=t.ChatWidget_en=void 0;t.ChatWidget_zh={chat:{title:"在线客服",welcome:"欢迎使用在线客服,请问有什么可以帮您?",placeholder:"请输入您的消息...",send:"发送",close:"关闭",inputPlaceholder:"请输入您的问题...",onlyImages:"只能上传图片文件!",imageTooLarge:"图片大小不能超过5MB!",imageReceived:"已收到您的图片,我们会尽快处理您的问题。",networkError:"网络连接已断开,请刷新页面重试",openCustomerService:"打开客服聊天",connectToCustomerService:"正在连接客服系统...",connectionFailed:"连接失败,请刷新页面重试",tryConnectingAgain:"重试连接",loading:"加载中...",loadMore:"加载更多历史消息",welcomeToUse:"欢迎使用在线客服,请问有什么可以帮您?",picture:"聊天图片",read:"已读",unread:"未读",subscriptionFailed:"消息订阅失败,可能无法接收新消息",break:"连接断开",retry:"秒后重试",disconnectWaiting:"断线重连中...",sendFailed:"发送消息失败,请重试",noHistory:"暂无历史消息",historicalFailure:"加载历史消息失败,请重试",loadingHistory:"正在加载更多历史消息...",noMoreHistory:"没有更多历史消息了",Loaded:"已加载历史消息",newMessage:"新消息",pictureMessage:"图片消息",initializationFailed:"初始化失败,请刷新页面重试",beSorry:"抱歉,我暂时无法回答这个问题。请排队等待人工客服或提交工单。",today:"今天",yesterday:"昨天",canOnlyUploadImages:"只能上传图片文件!",imageSizeExceeded:"图片大小不能超过5MB!",uploading:"正在上传图片...",pictureFailed:"发送图片失败,请重试",readImage:"读取图片失败,请重试",processingFailed:"图片处理失败,请重试",Disconnected:"连接已断开",reconnecting:"正在连接...",contactList:"联系列表",search:"搜索最近联系人",tourist:"游客",important:"重要",markAsImportant:"标记为重要",cancelImportant:"已取消重要标记",markingFailed:"标记操作失败,请重试",Marked:"已标记为重要",select:"请选择联系人",notSelected:"您尚未选择联系人",None:"暂无消息记录",sendPicture:"发送图片",inputMessage:"请输入消息,按Enter键发送,按Ctrl+Enter键换行",bottom:"回到底部",Preview:"预览图片",chatRoom:"聊天室",CLOSED:"已关闭",picture2:"图片",Unnamed:"未命名聊天室",noNewsAtTheMoment:"暂无未读消息",contactFailed:"加载更多联系人失败",listException:"获取聊天室列表异常",my:"我",unknownSender:"未知发送者",recordFailed:"加载聊天记录失败",messageException:"加载消息异常",chooseFirst:"请先选择联系人",chatDisconnected:"聊天连接已断开,请刷新页面重试",pictureSuccessful:"图片已发送",history:"历史记录",loadFailed:"加载失败",guestNotice:"您当前以游客身份聊天,聊天记录将不会保存。",guestNotice2:"后即可保存聊天记录",loginToSave:"登录",server500:"服务器暂时不可用,请稍后重试",CheckNetwork:"连接失败,请检查网络后重试",attemptToReconnect:"连接已断开,正在尝试重连...",retryFailed:"重试连接失败,请刷新页面",maxConnectionsError:"连接数已达上限,请刷新页面重试",ipLimitError:"本机连接数已达上限,请刷新页面重试",serverLimitError:"服务器连接数已达上限,请稍后刷新重试",identityError:"用户身份设置失败,请刷新页面重试",emailError:"用户信息获取失败,请刷新页面重试",refreshPage:"刷新页面",reconnectSuccess:"重新连接成功",sendMessageEmpty:"发送消息不能为空",unableToSubscribe:"连接状态异常,刷新页面重试",conflict:"连接异常,可能是多窗口冲突,请关闭其他窗口重试",abnormal:"连接异常",networkAnomaly:"网络连接异常",customerServiceOffline:"客服离线,请登录账号发送留言消息",contentMax:"超出发送内容大小限制,请删除部分内容(300字以内)",failInSend:"发送失败,请重试",connectionLimitError:"连接数已达上限,请关闭一些窗口后刷新重试",serverBusy:"服务器繁忙,请稍后刷新重试",connectionTimedOut:"连接超时,稍后重试...",reconnectFailed:"重连失败,请稍后重试",serviceConfigurationError:"服务配置异常,请稍后重试",serviceAddressUnavailable:"服务地址不可用,请稍后重试",connectionFailedService:"无法连接到服务器,请稍后重试",connectionFailedCustomer:"连接客服系统失败,请检查网络或稍后重试",logoutSyncNotice:"检测到您已在其他窗口退出登录,当前窗口将自动跳转"}},t.ChatWidget_en={chat:{title:"Online Customer Service",welcome:"Welcome to the online customer service, what can I help you with?",placeholder:"Please enter your message...",send:"Send",close:"Close",inputPlaceholder:"Please enter your question...",onlyImages:"Only image files can be uploaded!",imageTooLarge:"The image size cannot exceed 5MB!",imageReceived:"We have received your image, and we will handle your question as soon as possible.",networkError:"Network disconnected, please refresh page",openCustomerService:"Open customer service chat",connectToCustomerService:"Connecting to customer service...",connectionFailed:"Connection failed, please refresh page",tryConnectingAgain:"Retry connection",loading:"Loading...",loadMore:"Load more history",welcomeToUse:"Welcome to online service, how can I help you?",picture:"Chat image",read:"Read",unread:"Unread",subscriptionFailed:"Message subscription failed",break:"Connection lost",retry:"Retry in seconds",disconnectWaiting:"connecting...",sendFailed:"Send failed, please retry",noHistory:"No history",historicalFailure:"Failed to load history",loadingHistory:"Loading more history...",noMoreHistory:"No more history",Loaded:"History loaded",newMessage:"New message",pictureMessage:"Image message",initializationFailed:"Initialization failed, please refresh",beSorry:"Sorry, I cannot answer this. Please wait for agent or submit ticket",today:"Today",yesterday:"Yesterday",canOnlyUploadImages:"Only image files allowed",imageSizeExceeded:"Image size exceeds 5MB",uploading:"Uploading image...",pictureFailed:"Failed to send image",readImage:"Failed to read image",processingFailed:"Image processing failed",Disconnected:"Disconnected",reconnecting:"Reconnecting...",contactList:"Contact list",search:"Search contacts",tourist:"Guest",important:"Important",markAsImportant:"Mark as important",cancelImportant:"Unmarked as important",markingFailed:"Marking failed",select:"Select contact",notSelected:"No contact selected",None:"No messages",sendPicture:"Send image",inputMessage:"Type message, Enter to send, Ctrl+Enter for new line",bottom:"to bottom",Preview:"Preview image",chatRoom:"Chat room",CLOSED:"Closed",picture2:"Image",Unnamed:"Unnamed chat",noNewsAtTheMoment:"No unread messages",contactFailed:"Failed to load contacts",listException:"Failed to get chat list",my:"Me",unknownSender:"Unknown sender",recordFailed:"Failed to load chat records",messageException:"Failed to load messages",chooseFirst:"Please select contact first",chatDisconnected:"Chat disconnected, please refresh",pictureSuccessful:"Image sent",history:"History",loadFailed:"Load Fail",Marked:"Marked as important",guestNotice:"You are currently chatting as a guest, and your chat history will not be saved.",guestNotice2:" to save chat history",loginToSave:"Login",server500:"The server is temporarily unavailable, please try again later",CheckNetwork:"Connection failed, please check the network and try again",attemptToReconnect:"Connection lost, attempting to reconnect...",retryFailed:"Retry connection failed, please refresh page",maxConnectionsError:"Connection limit reached, please refresh page",ipLimitError:"Connection limit reached, please refresh page",serverLimitError:"Connection limit reached, please try again later",identityError:"Failed to set user identity, please refresh page",emailError:"Failed to get user information, please refresh page",refreshPage:"Refresh page",reconnectSuccess:"Reconnect successfully",sendMessageEmpty:"Message cannot be empty",unableToSubscribe:"Connection status abnormal, please refresh the page",conflict:"Connection exception, possibly due to multiple window conflicts, please close other windows and try again",abnormal:"Connection exception",networkAnomaly:"Network connection exception",customerServiceOffline:"Customer service offline, please login to send message",contentMax:"Content exceeds the size limit, please delete some content(300 characters or less)",failInSend:"Failed to send, please try again",connectionLimitError:"Connection limit reached, please close some windows and refresh to try again",serverBusy:"Server busy, please refresh later",connectionTimedOut:"Connection timed out, please try again later",reconnectFailed:"Reconnect failed, please try again later",serviceConfigurationError:"Service configuration exception, please try again later",serviceAddressUnavailable:"Service address unavailable, please try again later",connectionFailedService:"Failed to connect to the server, please try again later",connectionFailedCustomer:"Failed to connect to the customer service system, please check the network or try again later"}}},90929:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.deleteEmail=l,t.getAddNoticeEmail=s,t.getCode=a,t.getList=r,t.getUpdateInfo=c;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/notice/addNoticeEmail",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/notice/getCode",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/notice/getList",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/notice/updateInfo",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/notice/deleteEmail",method:"delete",data:e})}},91621:function(e,t,i){e.exports=i.p+"img/personal.dccd7ff6.svg"},93167:function(e,t,i){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"headerBox",class:{whiteBg:"/"!==e.key}},[t("div",{staticClass:"header"},[t("div",{staticClass:"logo",on:{click:function(t){return e.handelJump("/")}}},[t("img",{attrs:{src:i(65549),alt:"logo图片"}})]),t("div",{staticClass:"topMenu"},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isLogin&&(e.$route.path.includes("reportBlock")||"Home"==e.$route.name),expression:"isLogin &&( $route.path.includes(`reportBlock`) || $route.name == `Home` ) "}],staticClass:"nav"},[t("div",{staticClass:"nav-item",attrs:{id:"menu1"},on:{click:function(t){return t.stopPropagation(),e.toggleDropdown.apply(null,arguments)}}},[t("img",{staticClass:"itemImg",attrs:{src:e.activeItem.imgUrl,alt:e.activeItem.label}}),t("span",{staticStyle:{"text-transform":"capitalize"}},[e._v(" "+e._s(e.activeItem.label))]),t("i",{staticClass:"arrow"}),t("div",{staticClass:"dropdown"},e._l(e.currencyList,(function(i){return t("div",{key:i.value,staticClass:"option",class:{optionActive:i.value===e.activeItem.value},on:{click:function(t){return t.stopPropagation(),e.changeMenuName(t,i)}}},[t("img",{staticClass:"dropdownCoin",attrs:{src:i.imgUrl,alt:i.label}}),t("div",{staticClass:"dropdownText"},[e._v(e._s(i.label))])])})),0)])]),t("ul",{directives:[{name:"show",rawName:"v-show",value:e.isLogin,expression:"isLogin"}],staticClass:"menuBox afterLoggingIn"},[t("li",{staticClass:"home",class:{active:e.$route.path===`/${e.$i18n.locale}`||e.$route.path===`/${e.$i18n.locale}/`},on:{click:function(t){return e.handelJump("/")}}},[e._v(" "+e._s(e.$t("home.home"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path===`/${e.$i18n.locale}`||e.$route.path===`/${e.$i18n.locale}/`}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{directives:[{name:"show",rawName:"v-show",value:e.isLogin,expression:"isLogin"}],staticClass:"miningAccount"},[t("el-menu",{staticClass:"el-menu-demo",attrs:{"active-text-color":"#6E3EDB",mode:"horizontal"}},[t("el-submenu",{attrs:{index:"888888"}},[t("span",{staticClass:"miningAccountTitle",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/miningAccount`)},staticStyle:{color:"#000"},attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.$t("home.accountCenter")))]),e._l(e.miningAccountList,(function(i){return t("el-submenu",{key:i.coin,attrs:{index:i.coin}},[t("template",{slot:"title"},[t("img",{staticStyle:{width:"20px"},attrs:{src:i.img,alt:i.coin}}),e._v(" "+e._s(i.title))]),e._l(i.children,(function(n){return t("el-menu-item",{key:n.id,attrs:{index:n.id.toString()},nativeOn:{click:function(t){return e.handelJumpAccount(i,n,i.coin)}}},[e._v(" "+e._s(n.account))])}))],2)})),t("el-menu-item",{staticClass:"signOut",staticStyle:{"font-size":"0.9rem"},attrs:{index:"999999"},nativeOn:{click:function(t){return e.handelSignOut.apply(null,arguments)}}},[e._v("    "+e._s(e.$t("user.signOut")))])],2)],1),t("div",{staticClass:"horizontalLine",class:{hidden:"/miningAccount"==e.$route.path}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])],1),t("li",{staticClass:"reportBlock",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/reportBlock`)},on:{click:function(t){return e.handelJump("reportBlock")}}},[e._v(" "+e._s(e.$t("home.reportBlock"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes(`/${e.$i18n.locale}/reportBlock`)}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"personalCenter",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/personalCenter`)},on:{click:function(t){return e.handelJump("personalCenter")}}},[e._v(" "+e._s(e.$t("home.personalCenter"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes(`/${e.$i18n.locale}/personalCenter`)||e.$route.path.includes(`/${e.$i18n.locale}/personalCenter/personalMining`)}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"personalCenter",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/workOrderRecords`)},on:{click:function(t){return e.handelJump("workOrderRecords")}}},[e._v(" "+e._s(e.$t("personal.workOrderRecord"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes("workOrderRecords")}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"personalCenter",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/helpCenter`)},on:{click:function(t){return e.handelJump("helpCenter")}}},[e._v(" "+e._s(e.$t("home.helpCenter"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes("helpCenter")}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"langBox"},[t("div",{staticClass:"LangLine"}),t("el-dropdown",[t("span",{staticClass:"el-dropdown-link",staticStyle:{"font-size":"0.9rem",color:"rgba(0, 0, 0, 1)"}},[t("img",{staticStyle:{width:"20px"},attrs:{src:i(77738),alt:"lang"}}),t("i",{staticClass:"el-icon-caret-bottom el-icon--right"})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelLang("zh")}}},[e._v("简体中文")]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelLang("en")}}},[e._v("English")])],1)],1)],1)]),t("ul",{directives:[{name:"show",rawName:"v-show",value:!e.isLogin,expression:"!isLogin"}],staticClass:"menuBox notLoggedIn"},[t("li",{staticClass:"login",on:{click:e.handelLogin}},[e._v(e._s(e.$t("user.login")))]),t("li",{staticClass:"register",on:{click:e.handelRegister}},[e._v(" "+e._s(e.$t("user.register"))+" ")]),t("li",{staticClass:"personalCenter",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/helpCenter`)},staticStyle:{"margin-left":"20px"},on:{click:function(t){return e.handelJump("helpCenter")}}},[e._v(" "+e._s(e.$t("home.helpCenter"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes("helpCenter")}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"langBox"},[t("div",{staticClass:"LangLine"}),t("el-dropdown",[t("span",{staticClass:"el-dropdown-link",staticStyle:{"font-size":"0.9rem",color:"rgba(0, 0, 0, 1)"}},[t("img",{staticStyle:{width:"20px"},attrs:{src:i(77738),alt:"lang"}}),t("i",{staticClass:"el-icon-caret-bottom el-icon--right"})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelLang("zh")}}},[e._v("简体中文")]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelLang("en")}}},[e._v("English")])],1)],1)],1)])])])])},t.Yp=[]},94045:function(e,t,i){e.exports=i.p+"img/DGB.12066a7e.svg"},94158:function(e,t,i){e.exports=i.p+"img/rxd.e5ec03d4.png"},94809:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("el-aside",{staticClass:"admin-sidebar",staticStyle:{height:"100vh",background:"#202940",width:"280px",padding:"0"}},[t("el-menu",{staticClass:"el-menu-vertical-demo",staticStyle:{border:"none",width:"280px"},attrs:{"default-active":e.activeIndex,"background-color":"#202940","text-color":"#fff","active-text-color":"#ffd04b"}},e._l(e.menuList,(function(i){return t("div",{key:i.id},[t("el-menu-item",{directives:[{name:"show",rawName:"v-show",value:!i.children,expression:"!item.children"}],staticStyle:{"padding-left":"20px !important"},attrs:{index:i.id},on:{click:function(t){return e.handleClick(i)}}},[t("i",{class:i.icon}),t("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.$t(i.label)))])]),i.children?t("el-submenu",{attrs:{id:"el-submenu-bg",index:i.id}},[t("template",{slot:"title"},[t("i",{class:i.icon}),t("span",[e._v(e._s(e.$t(i.label)))])]),e._l(i.children,(function(i){return t("el-menu-item",{key:i.id,staticStyle:{"padding-left":"40px !important"},attrs:{index:i.id},on:{click:function(t){return e.handleClick(i)}}},[t("i",{class:i.icon}),t("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.$t(i.label)))])])}))],2):e._e()],1)})),0)],1)},t.Yp=[]},95194:function(e,t,i){e.exports=i.p+"img/currency-nexa.8d3a28b9.png"},97223:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(52217),o=i(8643),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"43751b68",null),c=r.exports},97390:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("transition",{attrs:{name:"fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.showTooltip,expression:"showTooltip"}],ref:"tooltip",staticClass:"m-tooltip",style:`max-width: ${e.maxWidth}PX; top: ${e.top}PX; left: ${e.left}PX;`,on:{mouseenter:e.onShow,mouseleave:e.onHide}},[t("div",{staticClass:"u-tooltip-content"},[e._t("default",(function(){return[e._v("暂无内容")]}))],2),t("div",{staticClass:"u-tooltip-arrow"})])])},t.Yp=[]},99047:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114),i(18111),i(20116);t.A={data(){return{menuList:[{label:"backendSystem.userRelated",icon:"el-icon-user",id:"2",children:[{path:"userManagement",label:"backendSystem.userManagement",icon:"el-icon-user",id:"2-1"},{path:"pendingPaymentSummary",label:"backendSystem.pendingPaymentSummary",icon:"el-icon-wallet",id:"2-2"}]},{path:"workOrderBackend",label:"backendSystem.workOrder",icon:"el-icon-document-copy",id:"3"},{path:"documentManagement",label:"backendSystem.documentManagement",icon:"el-icon-folder-opened",id:"4",children:[{path:"broadcast",label:"backendSystem.broadcast",icon:"el-icon-bell",id:"4-1"},{path:"documentManagement",label:"backendSystem.publishArticle",icon:"el-icon-edit-outline",id:"4-2"}]}],activeIndex:"0"}},mounted(){const e=this.$i18n.locale,t=this.$route.path.replace(`/${e}/`,""),i=this.menuList.find((e=>e.path===t));if(console.log(i,"matchedMenu"),i)this.activeIndex=i.id,this.$addStorageEvent(1,"activeIndex",i.id);else{const e=localStorage.getItem("activeIndex");e?this.activeIndex=e:this.$addStorageEvent(1,"activeIndex",this.activeIndex)}"0"==this.activeIndex&&(this.activeIndex="2-1")},methods:{handleClick(e){console.log(e,"item");const t=this.$i18n.locale;this.$router.push(`/${t}/${e.path}`),this.activeIndex=e.id,this.$addStorageEvent(1,"activeIndex",e.id)}},beforeDestroy(){localStorage.removeItem("activeIndex")}}},99945:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return e.jurisdiction&&"back_admin"===e.jurisdiction.roleKey?t("BackAdminLayout"):t("el-container",{staticClass:"containerApp",staticStyle:{width:"100vw",height:"100vh"}},[t("el-header",{staticClass:"el-header"},[e.$isMobile?t("MoveHead"):t("comHeard")],1),t("el-main",{staticClass:"el-main"},[t("appMain")],1)],1)},t.Yp=[]}}]); \ No newline at end of file diff --git a/mining-pool/test/js/app-5a0d40dd.b726f201.js b/mining-pool/test/js/app-5a0d40dd.b726f201.js new file mode 100644 index 0000000..bc3a386 --- /dev/null +++ b/mining-pool/test/js/app-5a0d40dd.b726f201.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[851],{4572:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return i.B},default:function(){return c}});var a=s(51490),i=s(52425),n=i.A,o=s(81656),l=(0,o.A)(n,a.XX,a.Yp,!1,null,"8c33fe2a",null),c=l.exports},5623:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var i=a(s(22617));e.A={mixins:[i.default]}},7887:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"miningReport"},[e("div",{staticClass:"titleBox"},[e("i",{staticClass:"iconfont icon-baogao ic"}),e("h2",[t._v(t._s(t.$t("personal.miningReport")))])]),e("section",{staticClass:"contentBox"},[e("div",{staticClass:"block"},[e("div",{staticClass:"left"},[e("i",{staticClass:"iconfont icon-baogao ic"}),e("div",{staticClass:"text"},[e("span",{staticStyle:{"font-size":"1.2em"}},[t._v(t._s(t.$t("personal.weekly")))]),e("span",{staticClass:"describe"},[t._v(t._s(t.$t("personal.weeklyReportExplanation"))),e("span",{staticClass:"see"},[t._v(t._s(t.$t("personal.weeklyReportTemplate")))])])])]),e("el-button",{staticClass:"bth",on:{click:t.handelWeek}},[t._v(t._s(t.$t("personal.add")))])],1),e("div",{staticClass:"block"},[e("div",{staticClass:"left"},[e("i",{staticClass:"iconfont icon-baogao ic"}),e("div",{staticClass:"text"},[e("span",{staticStyle:{"font-size":"1.2em"}},[t._v(t._s(t.$t("personal.monthlyReport")))]),e("span",{staticClass:"describe"},[t._v(t._s(t.$t("personal.monthlyReportExplanation"))),e("span",{staticClass:"see"},[t._v(t._s(t.$t("personal.monthlyReportTemplate")))])])])]),e("el-button",{staticClass:"bth",on:{click:t.handelMonth}},[t._v(t._s(t.$t("personal.add")))])],1)]),e("el-dialog",{attrs:{visible:t.dialogVisible,width:"45%"},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.addWeeklyReport")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.weeklyReportLanguage")))]),e("el-select",{attrs:{placeholder:t.$t("personal.select")},model:{value:t.currency,callback:function(e){t.currency=e},expression:"currency"}},t._l(t.currencyList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.weeklyReportCurrency")))]),e("el-select",{attrs:{placeholder:t.$t("personal.select")},model:{value:t.currency,callback:function(e){t.currency=e},expression:"currency"}},t._l(t.currencyList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.weeklyReportAccount")))]),e("el-select",{attrs:{placeholder:t.$t("personal.select")},model:{value:t.currency,callback:function(e){t.currency=e},expression:"currency"}},t._l(t.currencyList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)]),e("el-button",{staticStyle:{width:"30%","font-size":"1.1em","margin-top":"30PX"},attrs:{type:"primary"},on:{click:function(e){t.dialogVisible=!1}}},[t._v(t._s(t.$t("personal.Submit")))])],1)]),e("el-dialog",{attrs:{visible:t.monthlyReport,width:"45%"},on:{"update:visible":function(e){t.monthlyReport=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.addMonthlyReport")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.monthlyReportLanguage")))]),e("el-select",{attrs:{placeholder:t.$t("personal.select")},model:{value:t.currency,callback:function(e){t.currency=e},expression:"currency"}},t._l(t.currencyList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.monthlyReportCurrency")))]),e("el-select",{attrs:{placeholder:t.$t("personal.select")},model:{value:t.currency,callback:function(e){t.currency=e},expression:"currency"}},t._l(t.currencyList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.monthlyReportAccount")))]),e("el-select",{attrs:{placeholder:t.$t("personal.select")},model:{value:t.currency,callback:function(e){t.currency=e},expression:"currency"}},t._l(t.currencyList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)]),e("el-button",{staticStyle:{width:"30%","font-size":"1.1em","margin-top":"30PX"},attrs:{type:"primary"},on:{click:function(e){t.monthlyReport=!1}}},[t._v(t._s(t.$t("personal.Submit")))])],1)])],1)},e.Yp=[]},10895:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var i=a(s(59553));e.A={mixins:[i.default]}},22617:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(20116),s(61701);a(s(58883));var i=s(46508);e["default"]={data(){return{activeName:"mining",dialogVisible:!1,labelPosition:"top",formLabelAlign:{},currencyList:[],Search:"",value:"https://www.f2pool.com/mining-user/10f74b7beb73e27e8d442e7958801fda?user_name=lx497681109",currency:"mona",readOnlyList:[],checkAll:!1,checkedItems:[],isIndeterminate:!0,selectedIndices:[],params:{account:"",coin:"",config:"",remark:"",lang:"zh"},listParams:{page:1,limit:10},checked:"",checkList:["1"],miningAccountList:[],newMiningAccountList:[],currentPage:1,TotalSize:0,establishLoading:!1,dialogData:{account:["nexa","a21miner"],remark:"566",config:["1","2"]},modifyDialogVisible:!1,dialogCheckList:[],modifyParams:{key:"",remark:"",config:""},modifyLoading:!1,jurisdictionList:[{value:"1",label:"mining.miner"},{value:"2",label:"mining.profit"},{value:"3",label:"mining.payment"}],UrlListLoading:!1,UrlListParams:{page:1,limit:10},dialogTitle:""}},watch:{miningAccountList:{handler(t){this.newMiningAccountList=this.miningAccountList.map((t=>({value:t.coin,img:t.img,label:t.title,children:t.children.map((t=>({value:t.account,label:t.account,id:t.id})))})))},deep:!0,immediate:!0}},mounted(){let t=localStorage.getItem("miningAccountList");this.miningAccountList=JSON.parse(t),this.currencyList=JSON.parse(localStorage.getItem("currencyList")),window.addEventListener("setItem",(()=>{this.currencyList=JSON.parse(localStorage.getItem("currencyList"));let t=localStorage.getItem("miningAccountList");this.miningAccountList=JSON.parse(t)})),this.newMiningAccountList=this.miningAccountList.map((t=>({value:t.coin,img:t.img,label:t.title,children:t.children.map((e=>({value:e.account,label:e.account,id:e.id,img:t.img})))}))),this.fetchUrlList(this.UrlListParams),this.registerRecoveryMethod("fetchUrlList",this.UrlListParams)},methods:{async fetchHtmlUrl(t){this.setLoading("establishLoading",!0);const e=await(0,i.getHtmlUrl)(t);e&&200==e.code&&(this.fetchUrlList(this.UrlListParams),this.dialogVisible=!1),this.setLoading("establishLoading",!1)},async fetchUrlList(t){this.setLoading("UrlListLoading",!0);const e=await(0,i.getUrlList)(t);console.log(e,666),this.readOnlyList=e.rows,this.TotalSize=e.total,this.setLoading("UrlListLoading",!1)},async fetchUrlInfo(t){const e=await(0,i.getUrlInfo)(t);console.log(e),e&&200==e.code&&(this.dialogData=e.data,this.modifyDialogVisible=!0,this.dialogTitle=`${this.dialogData.label}/${this.dialogData.account}`)},async fetchChangeUrlInfo(t){this.setLoading("modifyLoading",!0);const e=await(0,i.getChangeUrlInfo)(t);console.log(e),e&&200==e.code&&(this.fetchUrlList(this.UrlListParams),this.modifyDialogVisible=!1,console.log("修改成功")),this.setLoading("modifyLoading",!1)},async fetchDelete(t){const e=await(0,i.getDelPage)(t);console.log(e),e&&200==e.code&&(this.checkedItems=[],this.fetchUrlList(this.UrlListParams))},addTo(){this.dialogVisible=!0},handleChange(t){this.params.account=t[1],this.params.coin=t[0]},confirmAddition(){this.params.account&&this.params.coin?(console.log(this.checkList.length,6666),this.checkList.length<1?this.$message({showClose:!0,message:this.$t("personal.selectPermissions"),type:"error"}):(this.params.config=this.checkList.join(","),this.params.lang=this.$i18n.locale,this.fetchHtmlUrl(this.params))):this.$message({showClose:!0,message:this.$t("personal.accountSelection"),type:"error"})},modifyInfo(){this.dialogData.config.length<1?this.$message({showClose:!0,message:this.$t("personal.selectPermissions"),type:"error"}):(this.modifyParams.remark=this.dialogData.remark,this.modifyParams.config=this.dialogData.config.join(","),this.fetchChangeUrlInfo(this.modifyParams))},handleClose(){for(const t in this.params)this.params[t]="";this.checkList=["1"]},handleCheckAllChange(t){console.log(this.checkAll,t,6565),this.checkedItems=t?this.readOnlyList.map((t=>t.key)):[],this.isIndeterminate=!1},handleSingleCheckChange(t){console.log(t,"value");let e=t.length;this.checkAll=e===this.readOnlyList.length,this.isIndeterminate=e>0&&et==e.value));try{return e.value?e.label:""}catch{console.log(111)}},clickCopy(t){var e=document.createElement("input");e.value=t.url,document.body.appendChild(e);try{e.select();const t=document.execCommand("copy");t?this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"}):this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}catch(s){this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}finally{document.body.contains(e)?document.body.removeChild(e):console.log("临时输入框不是 body 的子节点,无法移除。")}}}}},36155:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return i.B},default:function(){return c}});var a=s(63222),i=s(95525),n=i.A,o=s(81656),l=(0,o.A)(n,a.XX,a.Yp,!1,null,"164396ae",null),c=l.exports},38286:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return i.B},default:function(){return c}});var a=s(63964),i=s(80060),n=i.A,o=s(81656),l=(0,o.A)(n,a.XX,a.Yp,!1,null,"34772766",null),c=l.exports},40692:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(81148),s(22489),s(20116),s(61701);var a=s(6803),i=s(47149),n=s(82908);e["default"]={data(){return{activeName:"mining",dialogVisible:!1,labelPosition:"top",formLabelAlign:{},currencyList:[],walletDialogVisible:!1,accountList:[],params:{account:"",miningPool:"",currency:"",remarks:""},checked:"",checkAll:!1,checkedItems:[],isIndeterminate:!0,selectedIndices:[],WalletAddressParams:{ma:"",balance:"",coin:"",active:"0",amount:"0",remarks:"",gCode:""},AccountParams:{coin:"",ma:"",remarks:"",balance:"",code:""},options:[{value:"1",label:"personal.no"},{value:"0",label:"personal.yes"}],MiningLoading:!1,paymentSettingsData:{ma:"",balance:"",active:"",amount:""},deleteAccountDialog:!1,deleteAccount:"",confirmBindingLoading:!1,amountDisabled:!1,isItBound:!1,securityLoading:!1,deleteGCode:"",dialogVerification:!1,addMinerLoading:!1,screenCurrency:"",newAccountList:[],quotaList:[{value:"nexa",amount:1e4},{value:"grs",amount:1},{value:"mona",amount:1},{value:"dgbs",amount:1},{value:"dgbq",amount:1},{value:"dgbo",amount:1},{value:"rxd",amount:100},{value:"alph",amount:1},{value:"monero",amount:.1},{value:"sha3x",amount:1e4}],amount:1,lang:this.$i18n.locale}},mounted(){this.fetchIfBind(),this.fetchAccountList(),this.registerRecoveryMethod("fetchIfBind",""),this.registerRecoveryMethod("fetchAccountList",""),this.currencyList=JSON.parse(localStorage.getItem("currencyList")),window.addEventListener("setItem",(()=>{this.currencyList=JSON.parse(localStorage.getItem("currencyList"))})),this.dialogVisible&&this.$refs.select.$el.children[0].children[0].setAttribute("style","background:#ffff;background-size: 20PX 20PX;color:#333;padding-left: 30PX;")},methods:{async fetchIfBind(t){this.setLoading("securityLoading",!0);const e=await(0,a.getIfBind)(t);e&&200===e.code&&(e.data?this.isItBound=!0:e.data||(this.isItBound=!1),this.$route.query.id&&this.$route.query.coin&&this.isItBound?(this.fetchMinerAccountBalance({id:this.$route.query.id}),this.WalletAddressParams.coin=this.$route.query.coin,this.WalletAddressParams.ma=this.$route.query.ma):this.$route.query.id&&this.$route.query.coin&&!this.isItBound&&(this.dialogVerification=!0)),this.setLoading("securityLoading",!1)},async fetchCheck(t){this.setLoading("addMinerLoading",!0);const e=await(0,a.getCheck)(t);e||this.setLoading("addMinerLoading",!1),e&&200===e.code?this.fetchAddMinerAccount(this.AccountParams):801===e.code?(this.$message({message:this.$t("personal.duplicateAccount"),type:"error",showClose:!0}),this.setLoading("addMinerLoading",!1)):802===e.code&&(this.$message({message:this.$t("personal.invalidAddress"),type:"error",showClose:!0}),this.setLoading("addMinerLoading",!1))},async fetchCheckBalance(t){this.setLoading("confirmBindingLoading",!0);const e=await(0,a.getCheckBalance)(t);e&&e.data?this.fetchWalletAddress(this.WalletAddressParams):this.$message({message:this.$t("personal.invalidAddress"),showClose:!0,type:"error"}),this.setLoading("confirmBindingLoading",!1)},async fetchAccountGradeList(){const t=await(0,i.getAccountGradeList)();this.$addStorageEvent(1,"miningAccountList",JSON.stringify(t.data))},async fetchCheckAccount(t){const e=await(0,a.getCheckAccount)(t);e&&200==e.code&&(e.data?this.fetchAddMinerAccount(this.AccountParams):this.$message({message:this.$t("personal.duplicateAccount"),type:"error",showClose:!0}))},async fetchMinerAccountBalance(t){this.setLoading("MiningLoading",!0);const e=await(0,a.getMinerAccountBalance)(t);e&&200==e.code&&(this.walletDialogVisible=!0,this.paymentSettingsData=e.data),"1"==this.paymentSettingsData.active||"否"==this.paymentSettingsData.active||"No"==this.paymentSettingsData.active?this.amountDisabled=!0:this.amountDisabled=!1,this.paymentSettingsData.active="1"==this.paymentSettingsData.active?this.$t("personal.no"):this.$t("personal.yes"),this.paymentSettingsData.amount=this.paymentSettingsData.amount?this.paymentSettingsData.amount:"0",this.setLoading("MiningLoading",!1)},async fetchDelMinerAccount(t){this.setLoading("MiningLoading",!0);const e=await(0,a.getDelMinerAccount)(t);e&&200==e.code&&(this.fetchAccountGradeList(),this.fetchAccountList(),this.checkedItems=[],this.deleteAccountDialog=!1),this.setLoading("MiningLoading",!1)},async fetchAccountList(t){this.setLoading("MiningLoading",!0);const e=await(0,a.getAccountList)(t);this.accountList=e.data,console.log("请求成功,",e),this.newAccountList=this.accountList,this.$addStorageEvent(1,"accountList",JSON.stringify(this.accountList)),this.setLoading("MiningLoading",!1)},async fetchWalletAddress(t){const e=await(0,a.getAddBalace)(t);if(e&&200==e.code){this.$message({message:e.msg,type:"success",showClose:!0}),this.walletDialogVisible=!1;for(const t in this.WalletAddressParams)this.WalletAddressParams[t]=""}this.fetchAccountList()},async fetchAddMinerAccount(t){this.setLoading("addMinerLoading",!0);const e=await(0,a.getAddMinerAccount)(t);e&&200==e.code&&(this.$message({message:e.msg,type:"success",showClose:!0}),this.dialogVisible=!1,this.AccountParams.ma="",this.AccountParams.coin="",this.AccountParams.remarks="",this.AccountParams.balance=""),this.fetchAccountList(),this.fetchAccountGradeList(),this.setLoading("addMinerLoading",!1)},handleCheckAllChange(t){this.checkedItems=t?this.accountList.map((t=>t.id)):[],this.isIndeterminate=!1},handleSingleCheckChange(t){this.checkedItems.every((t=>t))&&this.checkedItems.length==this.accountList.length?this.checkAll=!0:this.checkAll=!1,this.checkedItems[t]?this.selectedIndices.push(t):this.selectedIndices=this.selectedIndices.filter((e=>e!==t))},handelActive(){0==this.paymentSettingsData.active?this.amountDisabled=!1:1==this.paymentSettingsData.active&&(this.amountDisabled=!0)},closeDialog(){this.walletDialogVisible=!1,this.WalletAddressParams.gCode=""},addTo(){this.isItBound?this.dialogVisible=!0:this.dialogVerification=!0},confirmAdd:(0,n.Debounce)((function(){if(!this.AccountParams.ma)return void this.$message({message:this.$t("personal.accountNumber"),type:"error",showClose:!0});if(!this.AccountParams.balance)return void this.$message({message:this.$t("personal.inputWalletAddress"),type:"error",showClose:!0});if(!this.AccountParams.coin)return void this.$message({message:this.$t("personal.selectCurrency"),type:"error",showClose:!0});if(!this.AccountParams.code&&this.isItBound)return void this.$message({showClose:!0,message:this.$t("personal.gCode"),type:"error"});const t=/^[a-zA-Z_][a-zA-Z0-9_]{3,23}$/,e=t.test(this.AccountParams.ma);e?this.fetchCheck({coin:this.AccountParams.coin,ma:this.AccountParams.ma,balance:this.AccountParams.balance}):this.$message({message:this.$t("personal.accountFormat"),type:"error",showClose:!0})}),200),handelAddClose(){for(let t in this.AccountParams)this.AccountParams[t]="";this.$refs.select.$el.children[0].children[0].setAttribute("style","background:#ffff;background-size: 20PX 20PX;color:#333;padding-left: 30PX;")},deleteSelected(){this.checkedItems.join(",");this.deleteAccount=this.accountList.filter((t=>this.checkedItems.includes(t.id))).map((t=>t.ma)),this.deleteAccount=this.deleteAccount.join("、"),this.isItBound?this.deleteAccountDialog=!0:this.dialogVerification=!0},confirmDelete(){this.deleteGCode||!this.isItBound?this.fetchDelMinerAccount({id:this.checkedItems.join(","),gCode:this.deleteGCode}):this.$message({showClose:!0,message:this.$t("personal.gCode"),type:"error"})},handleCheckedCitiesChange(t){let e=t.length;this.checkAll=e===this.accountList.length,this.isIndeterminate=e>0&&et.value===this.WalletAddressParams.coin));t&&Number(this.paymentSettingsData.amount){"NavigationDuplicated"!==t.name&&console.error("路由跳转失败:",t)}))},closeDeleteDialog(){this.deleteGCode=""},changeSelection(t){let e=t;for(let s in this.currencyList){let t=this.currencyList[s],a=t.value;e===a&&this.$refs.select.$el.children[0].children[0].setAttribute("style","background:url("+t.imgUrl+") no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 33PX;")}},changeScreen(t){let e=t;for(let s in this.currencyList){let t=this.currencyList[s],a=t.value;e===a&&this.$refs.screen.$el.children[0].children[0].setAttribute("style","background:url("+t.imgUrl+") no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 33PX;")}t?this.newAccountList=this.accountList.filter((e=>e.coin==t)):(this.newAccountList=this.accountList,this.$refs.screen.$el.children[0].children[0].setAttribute("style","background:url(``) no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 8PX;"))},clickCopy(t){var e=document.createElement("input");e.value=t.addr,document.body.appendChild(e);try{e.select();const t=document.execCommand("copy");t?this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"}):this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}catch(s){this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}finally{document.body.contains(e)?document.body.removeChild(e):console.log("临时输入框不是 body 的子节点,无法移除。")}},jumpAlerts(t){this.$message({showClose:!0,message:this.$t("alerts.turnOffReminder"),type:"error"})},handelQuotaList(t){try{let e=this.quotaList.find((e=>e.value==t));if(!e)return 0;this.amount=e.amount}catch(e){console.log(e)}}}}},51490:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.securityLoading,expression:"securityLoading"}],staticClass:"personalMiningBox"},[t.$isMobile?e("section",{staticClass:"Mining"},[e("div",{staticClass:"Delete"},[e("el-button",{staticClass:"delBth",attrs:{disabled:!this.checkedItems[0]},on:{click:t.deleteSelected}},[t._v(t._s(t.$t("personal.delete")))]),e("el-button",{staticClass:"bth",on:{click:t.addTo}},[t._v(t._s(t.$t("personal.add"))+" "),e("i",{staticClass:"iconfont icon-youjiantou1 arrow"})])],1),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"tabTitle"},[e("div",{staticClass:"checkbox"},[e("el-checkbox",{on:{change:t.handleCheckAllChange},model:{value:t.checkAll,callback:function(e){t.checkAll=e},expression:"checkAll"}})],1),e("span",{staticClass:"miningAccount",attrs:{title:t.$t("personal.miningAccount")}},[t._v(t._s(t.$t("personal.miningAccount")))]),e("span",{staticClass:"currency",attrs:{title:t.$t("personal.currency")}},[t._v(t._s(t.$t("personal.currency")))]),e("span",{staticClass:"operation",attrs:{title:t.$t("personal.operation")}},[t._v(t._s(t.$t("personal.operation")))])]),e("el-collapse",{attrs:{accordion:""}},t._l(t.newAccountList,(function(s){return e("el-collapse-item",{key:s.account,attrs:{name:s.hash}},[e("template",{slot:"title"},[e("el-checkbox-group",{staticClass:"checkbox",on:{change:t.handleCheckedCitiesChange},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("el-checkbox",{staticClass:"addressBox",attrs:{label:s.id},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("br")])],1),e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"account"},[t._v(" "+t._s(s.ma))]),e("span",{staticClass:"currency2",attrs:{title:s.pool}},[e("img",{staticStyle:{width:"20PX"},attrs:{src:s.img,alt:"coin",loading:"lazy"}}),t._v(" "+t._s(s.pool)+" ")]),e("span",{staticClass:"operation",on:{click:function(e){return t.bindWallet(s)}}},[t._v(" "+t._s(t.$t("personal.modify"))+" ")]),e("span",{staticClass:"police",on:{click:function(e){return t.jumpAlerts(s)}}},[t._v(" "+t._s(t.$t("alerts.alarmMove")))])])],1),e("section",{staticClass:"content"},[e("div",[e("p",[t._v(t._s(t.$t("personal.miningAccount"))+" :")]),e("p",[t._v(t._s(s.ma))])]),e("div",{staticClass:"remarks"},[e("p",[t._v(t._s(t.$t("personal.currency"))+" :")]),e("p",[t._v(t._s(s.pool)+" ")])]),e("div",{staticClass:"remarks"},[e("p",[t._v(t._s(t.$t("personal.walletAddress"))+" :")]),e("p",[t._v(t._s(s.addr)+" "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(s)}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",{staticClass:"remarks"},[e("p",[t._v(t._s(t.$t("personal.remarks"))+" :")]),e("p",[t._v(t._s(s.remark))])])])],2)})),1)],1)]):e("section",{staticStyle:{padding:"18PX"}},[e("el-row",[e("div",{staticClass:"headTitle"},[e("el-col",{attrs:{xs:24,sm:24,md:16,lg:18,xl:18}},[e("div",{staticClass:"titleBox"},[e("i",{staticClass:"iconfont icon-kuanggong1"}),e("h2",[t._v(t._s(t.$t("personal.miningAccount")))]),e("div",{staticClass:"inputItem"},[e("el-select",{ref:"screen",staticClass:"input",attrs:{clearable:"",size:"mini",placeholder:t.$t("personal.screen")},on:{change:function(e){return t.changeScreen(t.screenCurrency)}},model:{value:t.screenCurrency,callback:function(e){t.screenCurrency=e},expression:"screenCurrency"}},t._l(t.currencyList,(function(s){return e("el-option",{key:s.value,attrs:{label:s.label,value:s.value}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("img",{staticStyle:{float:"left",width:"20PX"},attrs:{src:s.imgUrl}}),e("span",{staticStyle:{float:"left","margin-left":"5PX"}},[t._v(" "+t._s(s.label))])])])})),1)],1)])]),e("el-col",{attrs:{xs:24,sm:24,md:8,lg:6,xl:6}},[e("div",{staticClass:"Delete"},[e("el-button",{staticClass:"delBth",attrs:{disabled:!this.checkedItems[0]},on:{click:t.deleteSelected}},[t._v(t._s(t.$t("personal.delete")))]),e("el-button",{staticClass:"bth",on:{click:t.addTo}},[t._v(t._s(t.$t("personal.add"))+" "),e("i",{staticClass:"iconfont icon-youjiantou1 arrow"})])],1)])],1)]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"tabTitle"},[e("div",{staticClass:"checkbox"},[e("el-checkbox",{on:{change:t.handleCheckAllChange},model:{value:t.checkAll,callback:function(e){t.checkAll=e},expression:"checkAll"}})],1),e("span",{staticClass:"miningAccount",attrs:{title:t.$t("personal.miningAccount")}},[t._v(t._s(t.$t("personal.miningAccount")))]),e("span",{staticClass:"currency",attrs:{title:t.$t("personal.currency")}},[t._v(t._s(t.$t("personal.currency")))]),e("span",{staticClass:"addr",attrs:{title:t.$t("personal.walletAddress")}},[t._v(t._s(t.$t("personal.walletAddress")))]),e("span",{staticClass:"remarks",attrs:{title:t.$t("personal.remarks")}},[t._v(t._s(t.$t("personal.remarks")))]),e("span",{staticClass:"operation",attrs:{title:t.$t("personal.operation")}},[t._v(t._s(t.$t("personal.operation")))])]),e("ul",{staticClass:"tabelList"},t._l(t.newAccountList,(function(s){return e("li",{key:s.account},[e("el-checkbox-group",{staticClass:"checkbox",on:{change:t.handleCheckedCitiesChange},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("el-checkbox",{staticClass:"addressBox",attrs:{label:s.id},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("br")])],1),e("span",{staticClass:"miningAccount",attrs:{title:s.ma}},[t._v(" "+t._s(s.ma))]),e("span",{staticClass:"currency",attrs:{title:s.pool}},[e("img",{staticStyle:{width:"20PX"},attrs:{src:s.img,alt:"coin",loading:"lazy"}}),t._v(" "+t._s(s.pool)+" ")]),e("span",{staticClass:"addr",attrs:{title:s.addr}},[t._v(t._s(s.addr)+" ")]),e("span",{staticClass:"remarks",attrs:{title:s.remark}},[t._v(t._s(s.remark))]),e("div",{staticClass:"operationBox"},[e("span",{staticClass:"operation",on:{click:function(e){return t.bindWallet(s)}}},[t._v(" "+t._s(t.$t("personal.modify"))+" ")]),e("span",{staticClass:"alerts"})])],1)})),0)])],1),e("el-dialog",{attrs:{visible:t.dialogVerification,width:"30%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVerification=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title",staticStyle:{"font-size":"1.3em"}},[t._v(t._s(t.$t("personal.Tips")))]),e("div",{staticClass:"verificationPrompt"},[t._v(t._s(t.$t("personal.enableVerificationDescription")))]),e("el-button",{staticClass:"dialogBth",staticStyle:{padding:"10PX 10%"},attrs:{type:"primary"},on:{click:t.jumpVerification}},[t._v(t._s(t.$t("personal.goOpenIt")))])],1)]),e("el-dialog",{attrs:{visible:t.dialogVisible,width:"45%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e},close:t.handelAddClose}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title",staticStyle:{"font-size":"1.3em"}},[t._v(t._s(t.$t("personal.addMiningPool")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.accountName")))]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.account")},model:{value:t.AccountParams.ma,callback:function(e){t.$set(t.AccountParams,"ma",e)},expression:"AccountParams.ma"}}),e("p",{staticClass:"accountFormat"},[t._v(t._s(t.$t("personal.accountFormat")))])],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.walletAddress")))]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.pleaseEnter")},model:{value:t.AccountParams.balance,callback:function(e){t.$set(t.AccountParams,"balance",e)},expression:"AccountParams.balance"}})],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(" "+t._s(t.$t("personal.poolSelection")))]),e("el-select",{ref:"select",staticClass:"input",attrs:{placeholder:t.$t("personal.select")},on:{change:function(e){return t.changeSelection(t.AccountParams.coin)}},model:{value:t.AccountParams.coin,callback:function(e){t.$set(t.AccountParams,"coin",e)},expression:"AccountParams.coin"}},t._l(t.currencyList,(function(s){return e("el-option",{key:s.value,attrs:{label:s.label,value:s.value}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("img",{staticStyle:{float:"left",width:"20PX"},attrs:{src:s.imgUrl}}),e("span",{staticStyle:{float:"left","margin-left":"5PX"}},[t._v(" "+t._s(s.label))])])])})),1)],1),t.isItBound?e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.oneTimePassword")))]),e("el-input",{staticClass:"input",attrs:{type:"number",placeholder:"000000"},model:{value:t.AccountParams.code,callback:function(e){t.$set(t.AccountParams,"code",e)},expression:"AccountParams.code"}})],1):t._e(),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.remarks2")))]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.pleaseEnter")},model:{value:t.AccountParams.remarks,callback:function(e){t.$set(t.AccountParams,"remarks",e)},expression:"AccountParams.remarks"}})],1)]),e("el-button",{staticStyle:{width:"30%","font-size":"1.1em"},attrs:{loading:t.addMinerLoading,type:"primary"},on:{click:t.confirmAdd}},[t._v(t._s(t.$t("personal.determine")))])],1)]),e("el-dialog",{attrs:{visible:t.walletDialogVisible,width:"45%","close-on-click-modal":!1},on:{"update:visible":function(e){t.walletDialogVisible=e},close:t.closeDialog}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title",staticStyle:{"font-size":"1.3em"}},[t._v(t._s(t.$t("personal.bindAddress")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.walletAddress")))]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.inputWalletAddress")},model:{value:t.paymentSettingsData.balance,callback:function(e){t.$set(t.paymentSettingsData,"balance",e)},expression:"paymentSettingsData.balance"}})],1)]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.minimumPaymentAmount")))]),e("el-input",{staticClass:"input",attrs:{disabled:t.amountDisabled,placeholder:t.$t("personal.pleaseEnter")},model:{value:t.paymentSettingsData.amount,callback:function(e){t.$set(t.paymentSettingsData,"amount",e)},expression:"paymentSettingsData.amount"}}),e("p",[t._v(t._s(t.$t("course.amount"))+": "+t._s(t.amount))])],1)]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.automaticWithdrawal")))]),e("el-select",{staticClass:"input",attrs:{placeholder:t.$t("personal.select")},on:{change:t.handelActive},model:{value:t.paymentSettingsData.active,callback:function(e){t.$set(t.paymentSettingsData,"active",e)},expression:"paymentSettingsData.active"}},t._l(t.options,(function(s){return e("el-option",{key:s.value,attrs:{label:t.$t(s.label),value:s.value}})})),1)],1)]),e("div",{staticClass:"inputBox"},[t.isItBound?e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.oneTimePassword")))]),e("el-input",{staticClass:"input",attrs:{type:"number",placeholder:"000000"},model:{value:t.WalletAddressParams.gCode,callback:function(e){t.$set(t.WalletAddressParams,"gCode",e)},expression:"WalletAddressParams.gCode"}})],1):t._e()]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.remarks")))]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.pleaseEnter")},model:{value:t.paymentSettingsData.remark,callback:function(e){t.$set(t.paymentSettingsData,"remark",e)},expression:"paymentSettingsData.remark"}})],1)]),e("el-button",{staticStyle:{width:"50%","font-size":"1.1em"},attrs:{loading:t.confirmBindingLoading},on:{click:t.confirmBinding}},[t._v(t._s(t.$t("personal.confirmSubmit")))])],1)]),e("el-dialog",{attrs:{visible:t.deleteAccountDialog,width:"35%","close-on-click-modal":!1},on:{"update:visible":function(e){t.deleteAccountDialog=e},close:t.closeDeleteDialog}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title",staticStyle:{"font-size":"1.3em"}},[t._v(t._s(t.$t("personal.Tips")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("h4",[t._v(t._s(t.$t("personal.deleteConfirmation")))]),e("p",[t._v(t._s(t.$t("personal.miningAccount"))+": "+t._s(t.deleteAccount))])])]),e("div",{staticClass:"inputBox",staticStyle:{"margin-top":"10PX"}},[t.isItBound?e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.oneTimePassword")))]),e("el-input",{staticClass:"input",attrs:{type:"number",placeholder:"000000"},model:{value:t.deleteGCode,callback:function(e){t.deleteGCode=e},expression:"deleteGCode"}})],1):t._e()]),e("el-button",{staticStyle:{width:"50%","font-size":"1.1em"},attrs:{loading:t.MiningLoading,type:"primary"},on:{click:t.confirmDelete}},[t._v(t._s(t.$t("personal.determine")))])],1)])],1)},e.Yp=[]},52425:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var i=a(s(40692));e.A={mixins:[i.default]}},53695:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114);var a=s(6803),i=s(49704),n=s(47149);e["default"]={data(){return{dialogVisible:!1,verificationDialogVisible:!1,checked:"",confirmationVerification:!1,maintainDialogVisible:!1,deleteAccountDialog:!1,params:{gCode:"",eCode:"",pwd:"",secret:""},btnDisabled:!1,btnDisabledClose:!1,btnDisabledPassword:!1,bthText:"user.obtainVerificationCode",bthTextClose:"user.obtainVerificationCode",bthTextPassword:"user.obtainVerificationCode",time:"",clauseList:[{title:"进行帐户删除操作将发生什么?",children:[{value:"1",label:"此帐户及其所属子帐户将无法继续使用。"},{value:"2",label:"此帐户及其子帐户的数据将按照我们的数据保留政策被删除。一些情况将不受此限。"},{value:"3",label:"帐户被永久删除后,您将无法找回帐户。"}]},{title:"在申请删除此帐户之前,请您:",children:[{value:"1",label:"在电脑端访问收益页面,导出您需要的收益记录进行备份。"},{value:"2",label:"仔细检查每个帐户、子帐户的余额。"},{value:"3",label:"在矿机及软件的挖矿配置中,确定已删除此帐户名及其子帐户名。"},{value:"4",label:"确定已经在所有设备登出此帐户。"}]}],reasonList:[],value:"",isItBound:!1,bindInfo:{},BindInfoLoading:!1,changePasswordDialogVisible:!1,securityLoading:!1,changePasswordParams:{password:"",updatePwdCode:""},newPassword:"",ResetPwdLoading:!1,closeDialogVisible:!1,closeLoading:!1,closeParams:{gCode:"",eCode:""},countDownTime:60,timer:null,countDownTimeClose:60,timerclose:null,countDownTimePassword:60,timerPassword:null,lang:"zh",deleteAccountParams:{eCode:"",gCode:""},btnDisabledDeleteAccount:!1,bthTextDeleteAccount:"user.obtainVerificationCode",countDownTimeDeleteAccount:60,timerDeleteAccount:null,deleteAccountLoading:!1,deleteAccountCodeLoading:!1,userEmail:""}},computed:{countDown(){Math.floor(this.countDownTime/60);const t=this.countDownTime%60,e=t<10?"0"+t:t;return`${e}`},countDownClose(){Math.floor(this.countDownTimeClose/60);const t=this.countDownTimeClose%60,e=t<10?"0"+t:t;return`${e}`},countDownPassword(){Math.floor(this.countDownTimePassword/60);const t=this.countDownTimePassword%60,e=t<10?"0"+t:t;return`${e}`}},created(){window.sessionStorage.getItem("security_time")&&(this.countDownTime=Number(window.sessionStorage.getItem("security_time")),this.startCountDown(),this.btnDisabled=!0,this.bthText="user.again"),window.sessionStorage.getItem("close_time")&&(this.countDownTimeClose=Number(window.sessionStorage.getItem("close_time")),this.startCountDownClose(),this.btnDisabledClose=!0,this.bthTextClose="user.again"),window.sessionStorage.getItem("Password_time")&&(this.countDownTimePassword=Number(window.sessionStorage.getItem("Password_time")),this.startCountDownPassword(),this.btnDisabledPassword=!0,this.bthTextPassword="user.again"),window.sessionStorage.getItem("deleteAccount_time")&&(this.countDownTimeDeleteAccount=Number(window.sessionStorage.getItem("deleteAccount_time")),this.startCountDownDeleteAccount(),this.btnDisabledDeleteAccount=!0,this.bthTextDeleteAccount="user.again")},mounted(){this.lang=this.$i18n.locale,this.fetchIfBind(),this.registerRecoveryMethod("fetchIfBind",""),this.$route.params.active&&this.handelVerification(),this.getUserEmail()},methods:{async fetchIfBind(t){this.setLoading("securityLoading",!0);const e=await(0,a.getIfBind)(t);e&&200===e.code&&(e.data?this.isItBound=!0:e.data||(this.isItBound=!1)),this.setLoading("securityLoading",!1)},async fetchBindInfo(t){this.setLoading("BindInfoLoading",!0);const e=await(0,a.getBindInfo)(t);console.log(e,"绑定信息"),e&&200===e.code&&(this.bindInfo=e.data,this.verificationDialogVisible=!0,this.dialogVisible=!1),this.setLoading("BindInfoLoading",!1)},async fetchBindGoogle(t){this.setLoading("BindInfoLoading",!0);const e=await(0,a.getBindGoogle)(t);if(console.log(e,"绑定"),e&&200===e.code){this.isItBound=!0,this.$message({message:this.$t("user.verificationEnabled"),type:"success",showClose:!0}),this.verificationDialogVisible=!1,this.confirmationVerification=!1;for(const t in this.params)this.params[t]=""}this.setLoading("BindInfoLoading",!1)},async fetchBindCode(t){const e=await(0,a.getBindCode)(t);e&&200===e.code&&this.$message({message:this.$t("user.verificationCodeSuccessful"),type:"success",showClose:!0})},async fetchResetPwd(t){this.setLoading("ResetPwdLoading",!0);const e=await(0,a.getUpdatePwd)(t);e&&200===e.code&&(this.$message({message:this.$t("user.modifiedSuccessfully"),type:"success",showClose:!0}),this.changePasswordDialogVisible=!1,this.dialogVisible=!1,this.verificationDialogVisible=!1,localStorage.removeItem("token"),this.$router.push(`/${lang}/login`)),this.setLoading("ResetPwdLoading",!1)},async fetchResetPwdCode(t){const e=await(0,a.getUpdatePwdCode)(t);e&&200===e.code&&this.$message({message:this.$t("user.codeSuccess"),type:"success",showClose:!0})},async fetchCloseStepTwo(t){this.setLoading("closeLoading",!0);const e=await(0,a.getCloseStepTwo)(t);if(e&&200===e.code){this.$message({message:this.$t("personal.Closed"),type:"success",showClose:!0}),this.verificationDialogVisible=!1,this.confirmationVerification=!1,this.closeDialogVisible=!1,this.fetchIfBind();for(const t in this.closeParams)this.closeParams[t]=""}this.setLoading("closeLoading",!1)},async fetchCloseCode(t){const e=await(0,a.getCloseCode)(t);e&&200===e.code&&this.$message({message:this.$t("user.codeSuccess"),type:"success",showClose:!0})},changePassword(){this.changePasswordDialogVisible=!0},jumpVerification(){this.fetchBindInfo()},nextStep(){this.checked?(this.verificationDialogVisible=!1,this.maintainDialogVisible=!1,this.confirmationVerification=!0):this.$message({showClose:!0,message:this.$t("personal.confirmSelection"),type:"error"})},previousStep(){this.confirmationVerification=!1,this.verificationDialogVisible=!0},maintainPassword(){this.maintainDialogVisible=!0},getUserEmail(){try{const t=localStorage.getItem("userEmail");if(t){const e=JSON.parse(t);this.userEmail=e.email||e.value||e.userEmail||e,"string"!==typeof this.userEmail&&(this.userEmail="")}}catch(t){console.error("获取用户邮箱失败:",t),this.userEmail=""}},deleteAccount(){this.getUserEmail(),this.deleteAccountDialog=!0},async handelDeleteAccountCode(){if(this.userEmail){this.deleteAccountCodeLoading=!0;try{const t=await(0,n.sendCloseAccount)({account:this.userEmail});t&&200===t.code&&(this.$message({message:this.$t("user.codeSuccess"),type:"success",showClose:!0}),null==window.sessionStorage.getItem("deleteAccount_time")||(this.countDownTimeDeleteAccount=Number(window.sessionStorage.getItem("deleteAccount_time"))),this.startCountDownDeleteAccount())}catch(t){console.error("获取删除账户验证码失败:",t),this.$message({message:this.$t("user.codeFailed")||"获取验证码失败",type:"error",showClose:!0})}finally{this.deleteAccountCodeLoading=!1}}else this.$message({showClose:!0,message:this.$t("personal.mailbox")+this.$t("personal.pleaseEnter"),type:"error"})},startCountDownDeleteAccount(){this.timerDeleteAccount=setInterval((()=>{this.countDownTimeDeleteAccount<=1?(clearInterval(this.timerDeleteAccount),sessionStorage.removeItem("deleteAccount_time"),this.countDownTimeDeleteAccount=60,this.btnDisabledDeleteAccount=!1,this.bthTextDeleteAccount="user.obtainVerificationCode"):this.countDownTimeDeleteAccount>0&&(this.countDownTimeDeleteAccount--,this.btnDisabledDeleteAccount=!0,this.bthTextDeleteAccount="user.again",window.sessionStorage.setItem("deleteAccount_time",this.countDownTimeDeleteAccount))}),1e3)},confirmDeleteAccount(){this.deleteAccountParams.eCode?this.deleteAccountParams.gCode?this.$confirm(this.$t("personal.deleteAccountWarning")||"删除后关于此账户的相关信息将不能恢复,请慎重操作!",this.$t("personal.Tips")||"提示",{confirmButtonText:this.$t("personal.determine")||"确定",cancelButtonText:this.$t("personal.Cancel")||"取消",type:"warning"}).then((()=>{this.submitDeleteAccount()})).catch((()=>{})):this.$message({showClose:!0,message:this.$t("personal.gCode"),type:"error"}):this.$message({showClose:!0,message:this.$t("personal.eCode"),type:"error"})},async submitDeleteAccount(){this.setLoading("deleteAccountLoading",!0);try{const t=await(0,n.closeAccount)({userEmail:this.userEmail,eCode:this.deleteAccountParams.eCode,gCode:this.deleteAccountParams.gCode});if(t&&200===t.code){this.$message({message:this.$t("personal.deleteAccountSuccess")||"账户删除成功",type:"success",showClose:!0}),this.deleteAccountDialog=!1,localStorage.removeItem("token"),localStorage.removeItem("userEmail");const t=this.$i18n.locale;this.$router.push(`/${t}/login`)}}catch(t){console.error("删除账户失败:",t)}this.setLoading("deleteAccountLoading",!1)},closeDeleteAccountDialog(){this.deleteAccountParams.eCode="",this.deleteAccountParams.gCode=""},handelVerification(){this.fetchBindInfo()},modifyVerification(){this.fetchBindInfo()},closeVerification(){this.closeDialogVisible=!0},copySecret(){navigator.clipboard.writeText(this.bindInfo.secret).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))},handelCode(){this.fetchResetPwdCode(),null==window.sessionStorage.getItem("Password_time")||(this.countDownTimePassword=Number(window.sessionStorage.getItem("Password_time"))),this.startCountDownPassword()},confirmchangePassword(){if(!this.changePasswordParams.password)return void this.$message({showClose:!0,message:this.$t("personal.pwd"),type:"error"});if(!this.changePasswordParams.updatePwdCode)return void this.$message({showClose:!0,message:this.$t("personal.eCode"),type:"error"});if(this.changePasswordParams.password!==this.newPassword)return void this.$message({showClose:!0,message:this.$t("user.confirmPassword2"),type:"error"});const t=/^(?!.*[\u4e00-\u9fa5])(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_]+$)(?![a-z0-9]+$)(?![a-z\W_]+$)(?![0-9\W_]+$)[a-zA-Z0-9\W_]{8,32}$/,e=t.test(this.changePasswordParams.password);if(!e)return void this.$message({message:this.$t("user.PasswordReminder"),type:"error",showClose:!0});const s={...this.changePasswordParams};s.password=(0,i.encryption)(this.changePasswordParams.password),this.fetchResetPwd(s)},confirmActivation(){if(!this.params.pwd)return void this.$message({showClose:!0,message:this.$t("personal.pwd"),type:"error"});if(!this.params.eCode)return void this.$message({showClose:!0,message:this.$t("personal.eCode"),type:"error"});if(!this.params.gCode)return void this.$message({showClose:!0,message:this.$t("personal.gCode"),type:"error"});this.params.secret=this.bindInfo.secret;const t={...this.params};t.pwd=(0,i.encryption)(this.params.pwd),this.fetchBindGoogle(t)},handelECode(){this.fetchBindCode(),null==window.sessionStorage.getItem("security_time")||(this.countDownTime=Number(window.sessionStorage.getItem("security_time"))),this.startCountDown()},startCountDown(){this.timer=setInterval((()=>{this.countDownTime<=1?(clearInterval(this.timer),sessionStorage.removeItem("security_time"),this.countDownTime=60,this.btnDisabled=!1,this.bthText="user.obtainVerificationCode"):this.countDownTime>0&&(this.countDownTime--,this.btnDisabled=!0,this.bthText="user.again",window.sessionStorage.setItem("security_time",this.countDownTime))}),1e3)},startCountDownClose(){this.timerclose=setInterval((()=>{this.countDownTimeClose<=1?(clearInterval(this.timerclose),sessionStorage.removeItem("close_time"),this.countDownTimeClose=60,this.btnDisabledClose=!1,this.bthTextClose="user.obtainVerificationCode"):this.countDownTimeClose>0&&(this.countDownTimeClose--,this.btnDisabledClose=!0,this.bthTextClose="user.again",window.sessionStorage.setItem("close_time",this.countDownTimeClose))}),1e3)},startCountDownPassword(){this.timerPassword=setInterval((()=>{this.countDownTimePassword<=1?(clearInterval(this.timerPassword),sessionStorage.removeItem("Password_time"),this.countDownTimePassword=60,this.btnDisabledPassword=!1,this.bthTextPassword="user.obtainVerificationCode"):this.countDownTimePassword>0&&(this.countDownTimePassword--,this.btnDisabledPassword=!0,this.bthTextPassword="user.again",window.sessionStorage.setItem("Password_time",this.countDownTimePassword))}),1e3)},handelCloseCode(){this.fetchCloseCode(),null==window.sessionStorage.getItem("close_time")||(this.countDownTimeClose=Number(window.sessionStorage.getItem("close_time"))),this.startCountDownClose()},confirmClose(){this.closeParams.eCode?this.closeParams.gCode?this.fetchCloseStepTwo(this.closeParams):this.$message({showClose:!0,message:this.$t("personal.gCode"),type:"error"}):this.$message({showClose:!0,message:this.$t("personal.eCode"),type:"error"})},closeDialog(){}}}},57176:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(20116);var a=s(1652);e["default"]={data(){return{pendingPaymentData:[],allPendingData:[],currencyList:[],loading:!1,pendingPaymentParams:{pageNum:1,pageSize:10},total:0,pageSizes:[10,50,200],currentPage:1}},mounted(){this.currencyList=JSON.parse(localStorage.getItem("currencyList")),window.addEventListener("setItem",(()=>{this.currencyList=JSON.parse(localStorage.getItem("currencyList"))})),this.fetchPendingPaymentData(this.pendingPaymentParams)},methods:{async fetchPendingPaymentData(t){this.setLoading("loading",!0);const e=await(0,a.summaryOfPendingPayments)(t);let s=[];if(e&&200==e.code){const i=Array.isArray(e.rows)?e.rows:[],n=Number(e.total||0);if(n>t.pageSize){const e=await(0,a.summaryOfPendingPayments)({...t,pageNum:1,pageSize:n});s=Array.isArray(e&&e.rows)?e.rows:i}else s=i;const o=this.sortRows(s);this.allPendingData=o,this.total=o.length,this.applySlice()}this.setLoading("loading",!1)},sortRows(t){const e=Array.isArray(t)?t:[];return e.slice().sort(((t,e)=>{const s=Number(t&&null!=t.needPayAmount?t.needPayAmount:0),a=Number(t&&null!=t.startPayAmount?t.startPayAmount:0),i=Number(e&&null!=e.needPayAmount?e.needPayAmount:0),n=Number(e&&null!=e.startPayAmount?e.startPayAmount:0),o=s>=a?1:0,l=i>=n?1:0;return l!==o?l-o:i!==s?i-s:0}))},applySlice(){const t=Number(this.pendingPaymentParams.pageSize||10),e=Number(this.pendingPaymentParams.pageNum||1),s=(e-1)*t,a=s+t;this.pendingPaymentData=(this.allPendingData||[]).slice(s,a)},handelImg(t){if(console.log(t,"coin"),"enx"==t){const t=`${this.$baseApi}img/enx.svg`;return t}return this.currencyList&&this.currencyList.length>0&&t&&this.currencyList.find((e=>e.value===t))?.imgUrl||""},handelCoinLabel(t){return"enx"==t?"Entropyx(enx)":this.currencyList&&this.currencyList.length>0&&t?this.currencyList.find((e=>e.value===t))?.label||"":t},handelTime(t){try{return`${t.split("T")[0]} ${t.split("T")[1].split(".")[0]}`}catch(e){return""}},handleSizeChange(t){console.log(`每页 ${t} 条`),this.pendingPaymentParams.pageSize=t,this.pendingPaymentParams.pageNum=1,this.currentPage=1,this.allPendingData&&this.allPendingData.length>0?this.applySlice():this.fetchPendingPaymentData(this.pendingPaymentParams)},handleCurrentChange(t){console.log(`当前页: ${t}`),this.pendingPaymentParams.pageNum=t,this.allPendingData&&this.allPendingData.length>0?this.applySlice():this.fetchPendingPaymentData(this.pendingPaymentParams)}}}},59553:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(20116),s(61701);s(66848);var a=s(10673);e["default"]={data(){return{dialogVisible:!1,modifyDialogVisible:!1,params:{ip:"",perms:""},listParams:{page:1,limit:10},ApiKeyLoading:!1,checkList:[],checkIp:!0,checkAll:!1,checkedItems:[],apiList:[{remark:"测试备注",jurisdiction:["矿工","收益","支付"],account:"afhaifhauhf",coin:"BTC",url:"https://www.m2pool.com/mining-user/10f74b7beb73e27e8d442e7958801fda?user_name=lx497681109"},{remark:"测试备注",jurisdiction:["矿工","收益"],account:"afhaifddddhauhf",coin:"BTC",url:"https://www.m2pool.com/mining-user/10f74b7beb73e27e8d442e7958801fda?user_name=lx497681109"}],jurisdictionList:[{value:"miner",label:"personal.minerAPI"},{value:"account",label:"personal.accountApi"},{value:"pool",label:"personal.miningPoolApi"}],apiPageLoading:!1,apiInfo:{ip:"",perms:[]},infoCheckIp:!0,modifyParams:{id:"",ip:"",perms:""}}},watch:{infoCheckIp(t){t&&(this.apiInfo.ip="")},checkIp(t){t&&(this.params.ip="")},params:{handler(t){t.ip&&(this.checkIp=!1)},deep:!0}},mounted(){this.fetchApiList(this.listParams),this.registerRecoveryMethod("fetchApiList",this.listParams)},methods:{async fetchApiKey(t){this.ApiKeyLoading=!0,this.setLoading("ApiKeyLoading",!0);const e=await(0,a.getApiKey)(t);e&&200==e.code&&(this.fetchApiList(this.listParams),this.dialogVisible=!1),this.setLoading("ApiKeyLoading",!1)},async fetchApiList(t){this.apiPageLoading=!0;const e=await(0,a.getApiList)(t);e&&200==e.code&&(this.apiList=e.rows),this.setLoading("apiPageLoading",!1)},async fetchApiInfo(t){this.apiPageLoading=!0;const e=await(0,a.getApiInfo)(t);e&&200==e.code&&(this.apiInfo=e.data,this.apiInfo.ip&&(this.infoCheckIp=!1)),this.setLoading("apiPageLoading",!1)},async fetchUpdateAPI(t){this.apiPageLoading=!0;const e=await(0,a.getUpdateAPI)(t);e&&200==e.code&&(this.fetchApiList(this.listParams),this.modifyDialogVisible=!1),this.setLoading("apiPageLoading",!1)},async fetchDelApi(t){this.apiPageLoading=!0;const e=await(0,a.getDelApi)(t);console.log(e,666),e&&200==e.code&&(this.checkedItems=[],this.fetchApiList(this.listParams)),this.setLoading("apiPageLoading",!1)},RequestApiKey(){this.dialogVisible=!0},handelJurisdiction(t){let e=this.jurisdictionList.find((e=>t==e.value));try{return e.value?e.label:""}catch{console.log(111)}},handelClose(){this.params.ip="",this.checkList=[]},confirmAddition(){if(!this.checkIp&&!this.params.ip)return void this.$message({showClose:!0,message:this.$t("personal.ipAddressReminder"),type:"error"});const t=/^[0-9.]*$/;t.test(this.params.ip)?0!=this.checkList.length?(this.checkList.length>0&&(this.params.perms=this.checkList.join(",")),this.fetchApiKey(this.params)):this.$message({showClose:!0,message:this.$t("personal.permissionReminder"),type:"error"}):this.$message({showClose:!0,message:this.$t("personal.ipFormat"),type:"error"})},handleCheckAllChange(t){console.log(this.checkAll,t,6565),this.checkedItems=t?this.apiList.map((t=>t.id)):[]},handleSingleCheckChange(t){console.log(t,"value");let e=t.length;this.checkAll=e===this.apiList.length,this.isIndeterminate=e>0&&e0&&(this.modifyParams.perms=this.apiInfo.perms.join(",")),this.apiInfo.ip?this.modifyParams.ip=this.apiInfo.ip:this.infoCheckIp&&(this.modifyParams.ip=""),this.fetchUpdateAPI(this.modifyParams)):this.$message({showClose:!0,message:this.$t("personal.permissionReminder"),type:"error"}):this.$message({showClose:!0,message:this.$t("personal.ipAddressReminder"),type:"error"})},clickCopy(t){var e=document.createElement("input");e.value=t.key,document.body.appendChild(e);try{e.select();const t=document.execCommand("copy");t?this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"}):this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}catch(s){this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}finally{document.body.contains(e)?document.body.removeChild(e):console.log("临时输入框不是 body 的子节点,无法移除。")}}}}},62486:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.apiPageLoading,expression:"apiPageLoading"}],staticClass:"miningReport"},[t.$isMobile?e("section",{staticClass:"miningMobile"},[e("section",{staticClass:"contentBox"},[e("div",{staticClass:"block"},[e("div",{staticClass:"left"},[e("i",{staticClass:"iconfont icon-baogao ic"}),e("div",{staticClass:"text"},[e("span",[t._v("API Tokens "),e("router-link",{staticClass:"jumpAPI",attrs:{to:`/${t.$i18n.locale}/apiFile`}},[t._v(t._s(t.$t("home.APIfile")))])],1),e("span",{staticClass:"describe"},[t._v("Create an API token to access your M2pool data. ")])])])]),e("div",{staticClass:"bthBox"},[e("el-button",{staticClass:"bth",on:{click:t.RequestApiKey}},[t._v("Request a New Token")]),e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("personal.determine"),"cancel-button-text":t.$t("personal.Cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("personal.deletePrompt")},on:{confirm:t.deleteSelected}},[e("el-button",{staticClass:"delBth",attrs:{slot:"reference",disabled:0==t.checkedItems.length},slot:"reference"},[t._v(t._s(t.$t("personal.delete")))])],1)],1)]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"tabTitle2"},[e("div",{staticClass:"checkbox"},[e("el-checkbox",{on:{change:t.handleCheckAllChange},model:{value:t.checkAll,callback:function(e){t.checkAll=e},expression:"checkAll"}})],1),e("span",{staticClass:"miningAccount",attrs:{title:t.$t("user.Account")}},[t._v(t._s(t.$t("user.Account")))]),e("span",{staticClass:"IP"},[t._v("IP")]),e("span",{staticClass:"operation",attrs:{title:t.$t("personal.operation")}},[t._v(t._s(t.$t("personal.operation")))])]),e("el-collapse",{staticClass:"collapseBox",attrs:{accordion:""}},t._l(t.apiList,(function(s){return e("el-collapse-item",{key:s.id,attrs:{name:s.id}},[e("template",{slot:"title"},[e("el-checkbox-group",{staticClass:"checkbox",on:{change:t.handleSingleCheckChange},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("el-checkbox",{staticClass:"addressBox",attrs:{label:s.id},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("br")])],1),e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"user"},[t._v(" "+t._s(s.user))]),e("span",{staticClass:"IP",attrs:{title:s.ip}},[t._v(" "+t._s(s.ip)+" ")]),e("span",{staticClass:"operation",on:{click:function(e){return t.handelSetUp(s)}}},[t._v(" "+t._s(t.$t("personal.setUp"))+" ")])])],1),e("section",{staticClass:"content"},[e("div",[e("p",[t._v(t._s(t.$t("user.Account"))+" :")]),e("p",[t._v(" "+t._s(s.user)+" ")])]),e("div",[e("p",[t._v("IP :")]),e("p",[t._v(" "+t._s(s.ip)+" ")])]),e("div",[e("p",[t._v(t._s(t.$t("personal.jurisdiction"))+" :")]),e("p",[e("span",{staticClass:"permissionBlock"},t._l(s.perms,(function(s,a){return e("span",{key:a,staticClass:"miner"},[t._v(t._s(t.$t(t.handelJurisdiction(s)))+" ")])})),0)])]),e("div",{staticClass:"link"},[e("p",[t._v("API KEY :")]),e("p",[e("span",{attrs:{id:s.id}},[t._v(" "+t._s(s.key))]),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(s)}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)})),1)],1)]):e("section",[e("div",{staticClass:"titleBox"},[e("i",{staticClass:"iconfont icon-a-fenzhi1 ic"}),e("h2",[t._v("API ")]),e("router-link",{staticClass:"jumpAPI",attrs:{to:`/${t.$i18n.locale}/apiFile`}},[t._v(t._s(t.$t("home.APIfile")))])],1),e("section",{staticClass:"contentBox"},[e("div",{staticClass:"block"},[t._m(0),e("div",{staticClass:"bthBox"},[e("el-button",{staticClass:"bth",on:{click:t.RequestApiKey}},[t._v("Request a New Token")]),e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("personal.determine"),"cancel-button-text":t.$t("personal.Cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("personal.deletePrompt")},on:{confirm:t.deleteSelected}},[e("el-button",{staticClass:"delBth",attrs:{slot:"reference",disabled:0==t.checkedItems.length},slot:"reference"},[t._v(t._s(t.$t("personal.delete")))])],1)],1)])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"tabTitle"},[e("div",{staticClass:"checkbox"},[e("el-checkbox",{on:{change:t.handleCheckAllChange},model:{value:t.checkAll,callback:function(e){t.checkAll=e},expression:"checkAll"}})],1),e("span",{staticClass:"Account"},[t._v(t._s(t.$t("user.Account")))]),e("span",{staticClass:"permissionBlock"},[t._v(t._s(t.$t("personal.jurisdiction")))]),e("span",{staticClass:"IP"},[t._v("IP")]),e("span",{staticClass:"apiKey"},[t._v("API KEY")]),e("span",{staticClass:"binding"},[t._v(t._s(t.$t("personal.operation")))])]),e("ul",t._l(t.apiList,(function(s){return e("li",{key:s.id},[e("div",{staticClass:"checkbox"},[e("el-checkbox-group",{on:{change:t.handleSingleCheckChange},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("el-checkbox",{staticClass:"addressBox",attrs:{label:s.id},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("br")])],1)],1),e("span",{staticClass:"Account"},[t._v(" "+t._s(s.user))]),e("span",{staticClass:"permissionBlock"},t._l(s.perms,(function(s,a){return e("span",{key:a,staticClass:"miner"},[t._v(t._s(t.$t(t.handelJurisdiction(s)))+" ")])})),0),e("span",{staticClass:"IP"},[t._v(" "+t._s(s.ip))]),e("span",{staticClass:"apiKey",attrs:{title:t.$t("personal.copy")},on:{click:function(e){return t.clickCopy(s)}}},[t._v(" "+t._s(s.key)+" ")]),e("span",{staticClass:"binding",on:{click:function(e){return t.handelSetUp(s)}}},[t._v(t._s(t.$t("personal.setUp"))+" ")])])})),0)])]),e("el-dialog",{attrs:{visible:t.dialogVisible,width:"40%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e},close:t.handelClose}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.apiKey")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v("IP")]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.ipAddress")},model:{value:t.params.ip,callback:function(e){t.$set(t.params,"ip",e)},expression:"params.ip"}})],1),e("el-checkbox",{staticStyle:{"margin-top":"5px"},attrs:{label:"ip"},model:{value:t.checkIp,callback:function(e){t.checkIp=e},expression:"checkIp"}},[t._v(t._s(t.$t("personal.defaultIp")))])],1),e("div",{staticClass:"jurisdictionBox"},[e("div",[t._v(t._s(t.$t("personal.jurisdiction")))]),e("div",[e("el-checkbox-group",{staticClass:"checkboxS",model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}},[e("el-checkbox",{attrs:{label:"miner"}},[t._v(" "+t._s(t.$t("personal.miner")))]),e("el-checkbox",{attrs:{label:"account"}},[t._v(t._s(t.$t("personal.miningAccount")))]),e("el-checkbox",{attrs:{label:"pool"}},[t._v(t._s(t.$t("personal.miningPool")))])],1)],1)]),e("el-button",{staticStyle:{width:"50%","font-size":"1.1em","margin-top":"30px"},attrs:{loading:t.ApiKeyLoading,type:"primary"},on:{click:t.confirmAddition}},[t._v(t._s(t.$t("personal.confirm")))])],1)]),e("el-dialog",{attrs:{visible:t.modifyDialogVisible,width:"40%","close-on-click-modal":!1},on:{"update:visible":function(e){t.modifyDialogVisible=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.apiKey")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v("IP")]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.ipAddress")},model:{value:t.apiInfo.ip,callback:function(e){t.$set(t.apiInfo,"ip",e)},expression:"apiInfo.ip"}})],1),e("el-checkbox",{staticStyle:{"margin-top":"5px"},attrs:{label:"ip"},model:{value:t.infoCheckIp,callback:function(e){t.infoCheckIp=e},expression:"infoCheckIp"}},[t._v(t._s(t.$t("personal.defaultIp")))])],1),e("div",{staticClass:"jurisdictionBox"},[e("div",[t._v(t._s(t.$t("personal.jurisdiction")))]),e("div",[e("el-checkbox-group",{staticClass:"checkboxS",model:{value:t.apiInfo.perms,callback:function(e){t.$set(t.apiInfo,"perms",e)},expression:"apiInfo.perms"}},[e("el-checkbox",{attrs:{label:"miner"}},[t._v(" "+t._s(t.$t("personal.miner")))]),e("el-checkbox",{attrs:{label:"account"}},[t._v(t._s(t.$t("personal.miningAccount")))]),e("el-checkbox",{attrs:{label:"pool"}},[t._v(t._s(t.$t("personal.miningPool")))])],1)],1)]),e("el-button",{staticStyle:{width:"50%","font-size":"1.1em","margin-top":"30px"},attrs:{loading:t.ApiKeyLoading,type:"primary"},on:{click:t.modifyInformation}},[t._v(t._s(t.$t("personal.confirm")))])],1)])],1)},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"left"},[e("i",{staticClass:"iconfont icon-baogao ic"}),e("div",{staticClass:"text"},[e("span",{staticStyle:{"font-size":"1.2em"}},[t._v("API Tokens")]),e("span",{staticClass:"describe"},[t._v("Create an API token to access your M2pool data. ")])])])}]},62660:function(t,e,s){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.securityLoading,expression:"securityLoading"}],staticClass:"security"},[t.$isMobile?e("section",{staticClass:"securityMain"},[e("div",{staticClass:"itemBox"},[e("div",{staticClass:"left"},[t._m(0),e("div",{staticClass:"text"},[e("p",[t._v(t._s(t.$t("personal.loginPassword")))]),e("p",[t._v(t._s(t.$t("personal.accountSecurity")))])])]),e("div",{staticClass:"right"},[e("el-button",{staticClass:"notEnabled"},[t._v(t._s(t.$t("personal.setUp2")))]),e("span",{staticClass:"modify",on:{click:t.changePassword}},[t._v(t._s(t.$t("personal.modify")))])],1)]),e("div",{staticClass:"itemBox"},[e("div",{staticClass:"left"},[t._m(1),e("div",{staticClass:"text"},[e("p",[t._v(t._s(t.$t("personal.dualVerification")))]),e("p",[t._v(t._s(t.$t("personal.verificationInstructions")))])])]),t.isItBound?e("div",{staticClass:"right"},[e("el-button",{staticClass:"notEnabled"},[t._v(t._s(t.$t("personal.setUp2")))]),e("span",{staticClass:"modify",on:{click:t.closeVerification}},[t._v(t._s(t.$t("personal.close")))])],1):t._e(),t.isItBound?t._e():e("div",{staticClass:"right2"},[e("el-button",{staticClass:"notEnabled"},[t._v(t._s(t.$t("personal.notEnabled")))]),e("el-button",{staticClass:"modify",attrs:{loading:t.BindInfoLoading},on:{click:t.handelVerification}},[t._v(t._s(t.$t("personal.Open")))])],1)]),e("div",{staticClass:"itemBox"},[e("div",{staticClass:"left"},[t._m(2),e("div",{staticClass:"text"},[e("p",[t._v(t._s(t.$t("personal.deleteAccount")))]),e("p",[t._v(t._s(t.$t("personal.deleteDescription")))])])]),e("div",{staticClass:"right"},[e("span",{staticClass:"modify",on:{click:t.deleteAccount}},[t._v(t._s(t.$t("personal.delete")))])])])]):e("section",[e("div",{staticClass:"titleBox"},[e("i",{staticClass:"iconfont icon-anquan ic"}),e("h2",[t._v(t._s(t.$t("personal.securitySetting")))])]),e("section",{staticClass:"table"},[e("ul",[e("li",{staticClass:"topOne"},[e("div",{staticClass:"topOneLeft"},[e("img",{attrs:{src:s(37851),alt:"password",loading:"lazy"}}),e("div",{staticClass:"text"},[e("span",{staticStyle:{"font-size":"1.1em"}},[t._v(t._s(t.$t("personal.loginPassword")))]),e("span",{staticStyle:{color:"rgba(0, 0, 0, 0.5)"}},[t._v(t._s(t.$t("personal.accountSecurity")))])])]),e("div",{staticClass:"topOneRight"},[e("el-button",{staticClass:"notEnabled"},[t._v(t._s(t.$t("personal.setUp2")))]),e("span",{staticClass:"line"}),e("span",{staticClass:"modify",on:{click:t.changePassword}},[t._v(t._s(t.$t("personal.modify")))])],1)]),e("li",[e("div",{staticClass:"topOneLeft"},[e("img",{attrs:{src:s(72498),alt:"security",loading:"lazy"}}),e("div",{staticClass:"text"},[e("span",{staticStyle:{"font-size":"1.1em"}},[t._v(t._s(t.$t("personal.dualVerification")))]),e("span",{staticStyle:{color:"rgba(0, 0, 0, 0.5)"}},[t._v(t._s(t.$t("personal.verificationInstructions")))])])]),t.isItBound?e("div",{staticClass:"topOneRight"},[e("el-button",{staticClass:"notEnabled"},[t._v(t._s(t.$t("personal.setUp2")))]),e("span",{staticClass:"line"}),e("span",{staticClass:"modify",on:{click:t.closeVerification}},[t._v(t._s(t.$t("personal.close")))])],1):t._e(),t.isItBound?t._e():e("div",{staticClass:"topOneRight2"},[e("el-button",{staticClass:"notEnabled"},[t._v(t._s(t.$t("personal.notEnabled")))]),e("span",{staticClass:"line"}),e("el-button",{staticClass:"modify",attrs:{loading:t.BindInfoLoading},on:{click:t.handelVerification}},[t._v(t._s(t.$t("personal.Open")))])],1)]),e("li",[e("div",{staticClass:"topOneLeft"},[e("img",{attrs:{src:s(41764),alt:"deleteUser",loading:"lazy"}}),e("div",{staticClass:"text"},[e("span",{staticStyle:{"font-size":"1.1em"}},[t._v(t._s(t.$t("personal.deleteAccount")))]),e("span",{staticStyle:{color:"rgba(0,0,0,0.5)"}},[t._v(t._s(t.$t("personal.deleteDescription")))])])]),e("div",{staticClass:"topOneRight delete-btn"},[e("span",{staticClass:"modify",attrs:{id:"deleteBtn"},on:{click:t.deleteAccount}},[t._v(t._s(t.$t("personal.delete")))])])])])])]),e("el-dialog",{attrs:{visible:t.dialogVisible,width:"35%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.Tips")))]),e("div",{staticClass:"verificationPrompt"},[t._v(" "+t._s(t.$t("personal.enableVerificationDescription"))+" ")]),e("el-button",{staticClass:"dialogBth",attrs:{loading:t.BindInfoLoading,type:"primary"},on:{click:t.jumpVerification}},[t._v(t._s(t.$t("personal.goOpenIt")))])],1)]),e("el-dialog",{attrs:{visible:t.changePasswordDialogVisible,width:"40%","close-on-click-modal":!1},on:{"update:visible":function(e){t.changePasswordDialogVisible=e},close:t.closeDialog}},[e("section",{staticClass:"verificationBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("user.resetPassword")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.verificationCode")))]),e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"email",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.changePasswordParams.updatePwdCode,callback:function(e){t.$set(t.changePasswordParams,"updatePwdCode",e)},expression:"changePasswordParams.updatePwdCode"}}),e("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabledPassword},on:{click:t.handelCode}},[t.countDownTimePassword<60&&t.countDownTimePassword>0?e("span",[t._v(t._s(t.countDownTimePassword))]):t._e(),t._v(t._s(t.$t(t.bthTextPassword)))])],1)]),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("user.newPassword2")))]),e("el-input",{staticClass:"input",attrs:{type:"password",showPassword:"",placeholder:t.$t("personal.pleaseEnter")},model:{value:t.changePasswordParams.password,callback:function(e){t.$set(t.changePasswordParams,"password",e)},expression:"changePasswordParams.password"}}),e("p",{staticClass:"remind",attrs:{title:t.$t("user.passwordPrompt")}},[t._v(" "+t._s(t.$t("user.passwordPrompt"))+" ")])],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("user.confirmPassword")))]),e("el-input",{staticClass:"input",attrs:{type:"password",showPassword:"",placeholder:t.$t("personal.pleaseEnter")},model:{value:t.newPassword,callback:function(e){t.newPassword=e},expression:"newPassword"}})],1)]),e("el-button",{staticClass:"changePasswordBth",attrs:{loading:t.ResetPwdLoading},on:{click:t.confirmchangePassword}},[t._v(t._s(t.$t("user.changePassword")))])],1)]),e("el-dialog",{attrs:{visible:t.closeDialogVisible,width:"45%","close-on-click-modal":!1},on:{"update:visible":function(e){t.closeDialogVisible=e},close:t.closeDialog}},[e("section",{staticClass:"verificationBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.turnOffVerification")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.verificationCode")))]),e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"text",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.closeParams.eCode,callback:function(e){t.$set(t.closeParams,"eCode",e)},expression:"closeParams.eCode"}}),e("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabledClose},on:{click:t.handelCloseCode}},[t.countDownTimeClose<60&&t.countDownTimeClose>0?e("span",[t._v(t._s(t.countDownTimeClose))]):t._e(),t._v(t._s(t.$t(t.bthTextClose)))])],1)]),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.oneTimePassword")))]),e("el-input",{staticClass:"input",attrs:{type:"number",placeholder:"000000"},model:{value:t.closeParams.gCode,callback:function(e){t.$set(t.closeParams,"gCode",e)},expression:"closeParams.gCode"}})],1)]),e("div",{staticClass:"verificationBthBox"},[e("el-button",{staticClass:"confirmBtn",staticStyle:{margin:"0 auto"},attrs:{loading:t.closeLoading},on:{click:t.confirmClose}},[t._v(t._s(t.$t("personal.turnOffVerification")))])],1)])]),e("el-dialog",{attrs:{visible:t.verificationDialogVisible,width:"45%","close-on-click-modal":!1},on:{"update:visible":function(e){t.verificationDialogVisible=e}}},[e("section",{staticClass:"verificationBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.enableVerification")))]),e("p",{staticClass:"text1"},[t._v(t._s(t.$t("personal.googleIdentity")))]),e("div",{staticClass:"secretKeyBox"},[e("div",{staticClass:"code"},[e("img",{attrs:{id:"myImage",src:"data:image/jpeg;base64,"+t.bindInfo.img,alt:"Data return exception, please refresh or re enter the page"}})]),e("div",{staticClass:"centerLine"},[e("span",{staticClass:"topLine"}),e("span",{staticClass:"or"},[t._v(t._s(t.$t("personal.or")))]),e("span",{staticClass:"btLine"})]),e("div",{staticClass:"secretKey"},[e("span",{staticClass:"InfoSecret"},[t._v(" "+t._s(t.bindInfo.secret)+" "),e("span",{on:{click:t.copySecret}},[t._v(t._s(t.$t("personal.copy")))])])])]),e("div",{staticClass:"clause"},[e("div",{staticClass:"checkbox"},[e("el-checkbox",{model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}})],1),e("p",[e("span",[t._v(t._s(t.$t("personal.saveKey")))]),t._v(" "+t._s(t.$t("personal.resetKeyDescription"))+" ")])]),e("div",{staticClass:"nextStep",on:{click:t.nextStep}},[t._v(" "+t._s(t.$t("personal.nextStep"))+" ")])])]),e("el-dialog",{attrs:{visible:t.confirmationVerification,width:"45%","close-on-click-modal":!1},on:{"update:visible":function(e){t.confirmationVerification=e},close:t.closeDialog}},[e("section",{staticClass:"verificationBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.enableVerification")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.loginPassword")))]),e("el-input",{staticClass:"input",attrs:{showPassword:"",type:"password",placeholder:t.$t("personal.pleaseEnter")},model:{value:t.params.pwd,callback:function(e){t.$set(t.params,"pwd",e)},expression:"params.pwd"}})],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.verificationCode")))]),e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"email",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.params.eCode,callback:function(e){t.$set(t.params,"eCode",e)},expression:"params.eCode"}}),e("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabled},on:{click:t.handelECode}},[t.countDownTime<60&&t.countDownTime>0?e("span",[t._v(t._s(t.countDownTime))]):t._e(),t._v(t._s(t.$t(t.bthText)))])],1)]),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.oneTimePassword"))+" "+t._s(t.$t("personal.scanning")))]),e("el-input",{staticClass:"input",attrs:{type:"number",placeholder:"000000"},model:{value:t.params.gCode,callback:function(e){t.$set(t.params,"gCode",e)},expression:"params.gCode"}})],1)]),e("div",{staticClass:"verificationBthBox"},[e("el-button",{staticClass:"previousStep",on:{click:t.previousStep}},[t._v(t._s(t.$t("personal.previousStep")))]),e("el-button",{staticClass:"confirmBtn",attrs:{loading:t.BindInfoLoading},on:{click:t.confirmActivation}},[t._v(t._s(t.$t("personal.enableVerification")))])],1)])]),e("el-dialog",{attrs:{visible:t.maintainDialogVisible,width:"35%"},on:{"update:visible":function(e){t.maintainDialogVisible=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.Tips")))]),e("div",{staticClass:"verificationPrompt"},[t._v(" "+t._s(t.$t("personal.enableVerificationDescription"))+" ")]),e("el-button",{staticClass:"dialogBth",staticStyle:{width:"30%","font-size":"1.1em","margin-top":"30px"},attrs:{loading:t.BindInfoLoading,type:"primary"},on:{click:t.jumpVerification}},[t._v(t._s(t.$t("personal.goOpenIt")))])],1)]),e("el-dialog",{attrs:{visible:t.deleteAccountDialog,width:"40%","close-on-click-modal":!1},on:{"update:visible":function(e){t.deleteAccountDialog=e},close:t.closeDeleteAccountDialog}},[e("section",{staticClass:"verificationBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.deleteAccount")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.mailbox")))]),e("el-input",{staticClass:"input",attrs:{value:t.userEmail,disabled:""}})],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.verificationCode")))]),e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"text",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.deleteAccountParams.eCode,callback:function(e){t.$set(t.deleteAccountParams,"eCode",e)},expression:"deleteAccountParams.eCode"}}),e("el-button",{staticClass:"codeBtn deleteAccountCodeBtn",attrs:{disabled:t.btnDisabledDeleteAccount,loading:t.deleteAccountCodeLoading},on:{click:t.handelDeleteAccountCode}},[t.countDownTimeDeleteAccount<60&&t.countDownTimeDeleteAccount>0?e("span",[t._v(t._s(t.countDownTimeDeleteAccount))]):t._e(),t._v(t._s(t.$t(t.bthTextDeleteAccount)))])],1)]),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.oneTimePassword")))]),e("el-input",{staticClass:"input",attrs:{type:"number",placeholder:"000000"},model:{value:t.deleteAccountParams.gCode,callback:function(e){t.$set(t.deleteAccountParams,"gCode",e)},expression:"deleteAccountParams.gCode"}})],1)]),e("div",{staticClass:"verificationBthBox deleteAccountBtnBox"},[e("el-button",{staticClass:"confirmBtn",staticStyle:{margin:"0 auto"},attrs:{loading:t.deleteAccountLoading},on:{click:t.confirmDeleteAccount}},[t._v(t._s(t.$t("personal.delete")))])],1)])])],1)},e.Yp=[function(){var t=this,e=t._self._c;return e("div",[e("img",{attrs:{src:s(37851),alt:"password",loading:"lazy"}})])},function(){var t=this,e=t._self._c;return e("div",[e("img",{attrs:{src:s(72498),alt:"security",loading:"lazy"}})])},function(){var t=this,e=t._self._c;return e("div",[e("img",{attrs:{src:s(41764),alt:"deleteUser",loading:"lazy"}})])}]},63222:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"personal"},[e("div",{staticClass:"titleBox"},[e("i",{staticClass:"iconfont icon-gerenzhongxin ic"}),e("h2",[t._v(t._s(t.$t("personal.personalCenter")))])]),e("section",{staticClass:"loginInformation"},[e("ul",[e("li",{staticClass:"one"},[e("div",{staticClass:"title"},[e("i",{staticClass:"iconfont icon-yonghu ic"}),e("span",[t._v(t._s(t.$t("personal.userName")))])]),e("span",{staticClass:"text"},[t._v("lx497681109")])]),e("li",[e("div",{staticClass:"title"},[e("i",{staticClass:"iconfont icon-youxiang ic"}),e("span",[t._v(t._s(t.$t("personal.mailbox")))])]),e("span",{staticClass:"text"},[t._v("497681109@qq.com")])]),e("li",[e("div",{staticClass:"title"},[e("i",{staticClass:"iconfont icon-shouji1 ic"}),e("span",[t._v(t._s(t.$t("personal.phoneNumber")))])]),e("span",{staticClass:"text"},[t._v(" "+t._s(t.$t("personal.mobilePhoneInstructions"))+" ")]),e("span",{staticClass:"addPhone",on:{click:t.handelAddPhone}},[t._v(" "+t._s(t.$t("personal.add")))])])])]),e("section",{staticClass:"loginTable"},[e("h2",[t._v(" "+t._s(t.$t("personal.loginHistory")))]),e("ul",[e("li",{staticClass:"title"},[e("span",[t._v(t._s(t.$t("personal.time")))]),e("span",[t._v(t._s(t.$t("personal.loginResults")))]),e("span",[t._v("IP")]),e("span",[t._v(t._s(t.$t("personal.position")))]),e("span",[t._v(t._s(t.$t("personal.equipment")))])]),t._m(0),t._m(1),t._m(2),t._m(3),t._m(4),t._m(5)])]),e("el-dialog",{attrs:{title:"添加手机号码",visible:t.dialogVisible,width:"30%","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("span",[t._v("手机号码用于修改登录密码,开启维护人员密码,添加/修改付款地址,开启双重验证。请为您的帐户添加一个手机号码,以提高帐户的安全性。")]),e("el-form",{staticClass:"demo-ruleForm",attrs:{model:t.params,"status-icon":""}},[e("el-form-item",[e("p",{staticClass:"loginTitle"})]),e("el-form-item",{attrs:{prop:"phone"}},[e("el-input",{attrs:{"prefix-icon":"el-icon-mobile-phone",autocomplete:"off",placeholder:"手机号码"},model:{value:t.params.phone,callback:function(e){t.$set(t.params,"phone",e)},expression:"params.phone"}})],1),e("el-form-item",{attrs:{prop:"code"}},[e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"text","prefix-icon":"el-icon-chat-line-square",autocomplete:"off",placeholder:"短信验证码"},model:{value:t.params.code,callback:function(e){t.$set(t.params,"code",e)},expression:"params.code"}}),e("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabled},on:{click:t.handelCode}},[t._v(t._s(t.bthText))])],1)])],1),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{attrs:{type:"primary"},on:{click:function(e){t.dialogVisible=!1}}},[t._v(t._s(t.$t("personal.nextStep")))])],1)],1)],1)},e.Yp=[function(){var t=this,e=t._self._c;return e("li",[e("span",[t._v("2024-06-06 14:52")]),e("span",[t._v("Success")]),e("span",[t._v("43.228.226.14,43.228.226.14")]),e("span",[t._v("Hong Kong Hong Kong")]),e("span",[t._v("Mozilla/5.0 (Windows NT 10.0; Win64; x64)")])])},function(){var t=this,e=t._self._c;return e("li",[e("span",[t._v("2024-06-06 14:52")]),e("span",[t._v("Success")]),e("span",[t._v("43.228.226.14,43.228.226.14")]),e("span",[t._v("Hong Kong Hong Kong")]),e("span",[t._v("Mozilla/5.0 (Windows NT 10.0; Win64; x64)")])])},function(){var t=this,e=t._self._c;return e("li",[e("span",[t._v("2024-06-06 14:52")]),e("span",[t._v("Success")]),e("span",[t._v("43.228.226.14,43.228.226.14")]),e("span",[t._v("Hong Kong Hong Kong")]),e("span",[t._v("Mozilla/5.0 (Windows NT 10.0; Win64; x64)")])])},function(){var t=this,e=t._self._c;return e("li",[e("span",[t._v("2024-06-06 14:52")]),e("span",[t._v("Success")]),e("span",[t._v("43.228.226.14,43.228.226.14")]),e("span",[t._v("Hong Kong Hong Kong")]),e("span",[t._v("Mozilla/5.0 (Windows NT 10.0; Win64; x64)")])])},function(){var t=this,e=t._self._c;return e("li",[e("span",[t._v("2024-06-06 14:52")]),e("span",[t._v("Success")]),e("span",[t._v("43.228.226.14,43.228.226.14")]),e("span",[t._v("Hong Kong Hong Kong")]),e("span",[t._v("Mozilla/5.0 (Windows NT 10.0; Win64; x64)")])])},function(){var t=this,e=t._self._c;return e("li",[e("span",[t._v("2024-06-06 14:52")]),e("span",[t._v("Success")]),e("span",[t._v("43.228.226.14,43.228.226.14")]),e("span",[t._v("Hong Kong Hong Kong")]),e("span",[t._v("Mozilla/5.0 (Windows NT 10.0; Win64; x64)")])])}]},63964:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}]},[e("div",{staticClass:"main-title"},[t._v(t._s(t.$t("backendSystem.pendingPaymentSummary")))]),e("el-table",{staticStyle:{width:"100%","margin-bottom":"18px"},attrs:{data:t.pendingPaymentData,border:"","header-cell-style":{"text-align":"left"},"cell-style":{"text-align":"left"},height:"60vh"}},[e("el-table-column",{attrs:{prop:"coin",label:t.$t("backendSystem.coin2"),"show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(s){return[e("div",{staticStyle:{display:"flex","align-items":"center","justify-content":"left"}},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.handelImg(s.row.coin)}}),e("span",{staticStyle:{"margin-left":"5px"}},[t._v(t._s(t.handelCoinLabel(s.row.coin)))])])]}}])}),e("el-table-column",{attrs:{prop:"user",label:t.$t("backendSystem.minerUser2"),"show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"shouldOutDate",label:t.$t("backendSystem.AllocateTime"),"show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(s){return[e("span",[t._v(t._s(t.handelTime(s.row.shouldOutDate)))])]}}])}),e("el-table-column",{attrs:{prop:"maxHeight",label:t.$t("backendSystem.allocateHeight"),"show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"startPayAmount",label:t.$t("backendSystem.startPayAmount"),"show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"needPayAmount",label:t.$t("backendSystem.needPayAmount"),"show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(s){return[e("span",{class:{"amount-highlight":Number(s.row.needPayAmount)>=Number(s.row.startPayAmount)}},[t._v(" "+t._s(s.row.needPayAmount)+" ")])]}}])})],1),e("el-row",[e("el-col",{staticStyle:{display:"flex","justify-content":"center"},attrs:{span:24}},[e("el-pagination",{staticStyle:{margin:"0 auto","margin-top":"10px"},attrs:{"current-page":t.currentPage,"page-sizes":t.pageSizes,"page-size":t.pendingPaymentParams.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)],1)],1)},e.Yp=[]},65784:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return i.B},default:function(){return c}});var a=s(7887),i=s(97903),n=i.A,o=s(81656),l=(0,o.A)(n,a.XX,a.Yp,!1,null,"22d9d454",null),c=l.exports},66683:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return i.B},default:function(){return c}});var a=s(66908),i=s(75882),n=i.A,o=s(81656),l=(0,o.A)(n,a.XX,a.Yp,!1,null,"2e3719ed",null),c=l.exports},66908:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"personalCenter"},[t.$isMobile?e("section",{staticClass:"personalBox2"},[t._l(t.menuList,(function(s){return e("div",{directives:[{name:"show",rawName:"v-show",value:t.$route.path===`/${t.$i18n.locale}/personalCenter`,expression:"$route.path === `/${$i18n.locale}/personalCenter`"}],key:s.label,staticClass:"menuItem",on:{click:function(e){return t.handelMenuItem(s.path)}}},[e("i",{staticClass:"ic",class:s.icon}),e("span",{staticClass:"titleText",attrs:{slot:"title"},slot:"title"},[t._v(t._s(t.$t(s.label)))])])})),e("router-view",{directives:[{name:"show",rawName:"v-show",value:t.$route.path!==`/${t.$i18n.locale}/personalCenter`,expression:"$route.path !== `/${$i18n.locale}/personalCenter`"}]})],2):e("div",{staticClass:"personalBox"},[e("div",{staticClass:"personalLeft"},[e("div",{staticClass:"LeftHead"},[t._m(0),e("p",{staticClass:"emailBox"},[t._v(t._s(t.userEmail))])]),e("div",{staticClass:"LeftMenu"},[e("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{"default-active":t.activePath}},t._l(t.menuList,(function(s){return e("el-menu-item",{key:s.path,staticStyle:{"padding-left":"18px"},attrs:{index:s.path},on:{click:function(e){return t.handelMenuItem(s.path)}}},[e("i",{staticClass:"ic",class:s.icon}),e("span",{staticClass:"titleText",attrs:{slot:"title"},slot:"title"},[t._v(t._s(t.$t(s.label)))])])})),1)],1)]),e("div",{staticClass:"personalRight"},[e("router-view")],1)])])},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"Avatar"},[e("i",{staticClass:"iconfont icon-morentouxiang headIcon"})])}]},70770:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return i.B},default:function(){return c}});var a=s(82962),i=s(5623),n=i.A,o=s(81656),l=(0,o.A)(n,a.XX,a.Yp,!1,null,"6589ec92",null),c=l.exports},71359:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return i.B},default:function(){return c}});var a=s(62660),i=s(80545),n=i.A,o=s(81656),l=(0,o.A)(n,a.XX,a.Yp,!1,null,"36fa35fa",null),c=l.exports},72767:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;e["default"]={data(){return{dialogVisible:!1,params:{phone:"",code:""},btnDisabled:!1,bthText:"获取验证码"}},mounted(){},methods:{handelAddPhone(){this.dialogVisible=!0}}}},73122:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(13579);s(89143),e["default"]={computed:{key(){return this.$route.path},activePath(){const t=this.$route.path,e=t.split("/").pop();return console.log("Current Path:",e),console.log("Full Path:",t),this.menuList.some((t=>t.path===e))?e:"personalMining"}},data(){return{menuList:[{path:"personalMining",label:"personal.miningAccount",icon:"iconfont icon-kuanggong1"},{path:"readOnly",label:"personal.readOnlyPage",icon:"iconfont icon-yanjing"},{path:"securitySetting",label:"personal.securitySetting",icon:"iconfont icon-anquan"},{path:"personalAPI",label:"personal.API",icon:"iconfont icon-a-fenzhi1"}],userEmail:""}},mounted(){"PersonalCenter"!=this.$route.name||this.$isMobile||this.$router.go(-1);let t=localStorage.getItem("userEmail");this.userEmail=JSON.parse(t),window.addEventListener("setItem",(()=>{let t=localStorage.getItem("userEmail");this.userEmail=JSON.parse(t)}))},methods:{handelMenuItem(t){const e=this.$i18n.locale;this.$router.push(`/${e}/personalCenter/${t}`).catch((t=>{"NavigationDuplicated"!==t.name&&console.error("Navigation failed:",t)})),this.$nextTick((()=>{this.$forceUpdate()}))}}}},75882:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var i=a(s(73122));e.A={mixins:[i.default]}},76829:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;e["default"]={data(){return{dialogVisible:!1,monthlyReport:!1}},mounted(){},methods:{handelWeek(){this.dialogVisible=!0},handelMonth(){this.monthlyReport=!0}}}},80060:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var i=a(s(57176));e.A={mixins:[i.default]}},80545:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var i=a(s(53695));e.A={mixins:[i.default]}},82962:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.UrlListLoading,expression:"UrlListLoading"}],staticClass:"personalMiningBox"},[t.$isMobile?e("section",[e("div",{staticClass:"bthBox"},[e("el-button",{staticClass:"addBth",on:{click:t.addTo}},[t._v("+ "+t._s(t.$t("personal.establish")))]),e("span",{attrs:{disabled:0==t.checkedItems.length}},[e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("personal.determine"),"cancel-button-text":t.$t("personal.Cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("personal.deletePrompt")},on:{confirm:t.deleteSelected}},[e("el-button",{staticClass:"delBth",attrs:{slot:"reference",disabled:0==t.checkedItems.length},slot:"reference"},[t._v(t._s(t.$t("personal.delete")))])],1)],1)],1),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"tabTitle"},[e("div",{staticClass:"checkbox"},[e("el-checkbox",{on:{change:t.handleCheckAllChange},model:{value:t.checkAll,callback:function(e){t.checkAll=e},expression:"checkAll"}})],1),e("span",{staticClass:"miningAccount",attrs:{title:t.$t("personal.miningAccount")}},[t._v(t._s(t.$t("personal.miningAccount")))]),e("span",{staticClass:"currency",attrs:{title:t.$t("personal.currency")}},[t._v(t._s(t.$t("personal.currency")))]),e("span",{staticClass:"operation",attrs:{title:t.$t("personal.operation")}},[t._v(t._s(t.$t("personal.operation")))])]),e("el-collapse",{staticClass:"collapseBox",attrs:{accordion:""}},t._l(t.readOnlyList,(function(s){return e("el-collapse-item",{key:s.key,attrs:{name:s.key}},[e("template",{slot:"title"},[e("el-checkbox-group",{staticClass:"checkbox",staticStyle:{width:"5%"},on:{change:t.handleSingleCheckChange},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("el-checkbox",{staticClass:"addressBox",attrs:{label:s.key},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("br")])],1),e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"miningAccount"},[t._v(" "+t._s(s.account))]),e("span",{staticClass:"currency2",attrs:{title:s.label}},[e("img",{staticStyle:{width:"20px"},attrs:{src:s.img,alt:"coin",loading:"lazy"}}),t._v(" "+t._s(s.label)+" ")]),e("span",{staticClass:"operation",on:{click:function(e){return t.handelSetUp(s)}}},[t._v(" "+t._s(t.$t("personal.setUp"))+" ")])])],1),e("section",{staticClass:"content"},[e("div",[e("p",[t._v(t._s(t.$t("personal.jurisdiction"))+" :")]),e("p",[e("span",{staticClass:"permissionBlock"},t._l(s.config,(function(s,a){return e("span",{key:a,staticClass:"miner"},[t._v(t._s(t.$t(t.handelJurisdiction(s)))+" ")])})),0)])]),e("div",{staticClass:"link"},[e("p",[t._v(t._s(t.$t("personal.readOnlyLink"))+" :")]),e("p",[e("a",{attrs:{href:s.url}},[t._v(t._s(s.url))]),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(s)}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",{staticClass:"remarks"},[e("p",[t._v(t._s(t.$t("personal.remarks"))+" :")]),e("p",[t._v(t._s(s.remark))])])])],2)})),1)],1),e("div",{staticClass:"paginationBox"},[e("el-pagination",{attrs:{"current-page":t.currentPage,"page-sizes":[10,50,100,400],"page-size":10,layout:"sizes, prev, pager, next",total:t.TotalSize},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)]):e("section",[e("div",{staticClass:"headTitle"},[e("i",{staticClass:"iconfont icon-yanjing ic"}),e("h2",[t._v(t._s(t.$t("personal.readOnlyPage")))])]),e("div",{staticClass:"operation"},[e("div",{staticClass:"bthBox"},[e("el-button",{staticClass:"addBth",on:{click:t.addTo}},[t._v("+ "+t._s(t.$t("personal.establish")))]),e("span",{attrs:{disabled:0==t.checkedItems.length}},[e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("personal.determine"),"cancel-button-text":t.$t("personal.Cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("personal.deletePrompt")},on:{confirm:t.deleteSelected}},[e("el-button",{staticClass:"delBth",attrs:{slot:"reference",disabled:0==t.checkedItems.length},slot:"reference"},[t._v(t._s(t.$t("personal.delete")))])],1)],1)],1)]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"tabTitle"},[e("div",{staticClass:"checkbox"},[e("el-checkbox",{on:{change:t.handleCheckAllChange},model:{value:t.checkAll,callback:function(e){t.checkAll=e},expression:"checkAll"}})],1),e("span",[t._v(t._s(t.$t("personal.account")))]),e("span",[t._v(t._s(t.$t("personal.jurisdiction")))]),e("span",{staticStyle:{"text-align":"left"}},[t._v(t._s(t.$t("personal.currency")))]),e("span",[t._v(t._s(t.$t("personal.readOnlyLink")))]),e("span",[t._v(t._s(t.$t("personal.remarks")))]),e("span",[t._v(t._s(t.$t("personal.operation")))])]),e("ul",t._l(t.readOnlyList,(function(s){return e("li",{key:s.key},[e("div",{staticClass:"checkbox"},[e("el-checkbox-group",{on:{change:t.handleSingleCheckChange},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("el-checkbox",{staticClass:"addressBox",attrs:{label:s.key},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("br")])],1)],1),e("span",[t._v(" "+t._s(s.account))]),e("span",{staticClass:"permissionBlock"},t._l(s.config,(function(s,a){return e("span",{key:a,staticClass:"miner"},[t._v(t._s(t.$t(t.handelJurisdiction(s)))+" ")])})),0),e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px","margin-right":"5px"},attrs:{src:s.img,alt:"coin"}}),t._v(" "+t._s(s.label))]),e("span",[e("el-input",{ref:"inputRef",refInFor:!0,attrs:{id:s.key},nativeOn:{click:function(e){return t.handelCopy(s.key)}},model:{value:s.url,callback:function(e){t.$set(s,"url",e)},expression:"item.url"}})],1),e("span",{staticStyle:{"padding-left":"8px"},attrs:{title:s.remark}},[t._v(" "+t._s(s.remark))]),e("span",{staticClass:"binding",on:{click:function(e){return t.handelSetUp(s)}}},[t._v(t._s(t.$t("personal.setUp"))+" ")])])})),0)]),e("div",{staticClass:"paging"},[e("el-pagination",{attrs:{"current-page":t.currentPage,"page-sizes":[10,50,100,400],"page-size":10,layout:"total, sizes, prev, pager, next, jumper",total:t.TotalSize},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)]),e("el-dialog",{attrs:{visible:t.dialogVisible,width:"40%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e},close:t.handleClose}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.readOnlyPage")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.account")))]),e("el-cascader",{ref:"cascader",staticStyle:{"text-transform":"uppercase"},attrs:{options:t.newMiningAccountList},on:{change:t.handleChange},scopedSlots:t._u([{key:"default",fn:function({node:s,data:a}){return[e("div",{staticClass:"cascaderBox"},[e("img",{staticStyle:{width:"25px"},attrs:{src:a.img}}),e("span",[t._v(t._s(a.label))]),s.isLeaf?t._e():e("span",[t._v(" ("+t._s(a.children.length)+") ")])])]}}]),model:{value:t.params.account,callback:function(e){t.$set(t.params,"account",e)},expression:"params.account"}})],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.remarks")))]),e("el-input",{staticClass:"input",attrs:{title:t.$t("personal.remarksDescription"),placeholder:t.$t("personal.remarksDescription")},model:{value:t.params.remark,callback:function(e){t.$set(t.params,"remark",e)},expression:"params.remark"}})],1)]),e("div",{staticClass:"jurisdictionBox"},[e("div",[t._v(t._s(t.$t("personal.jurisdiction")))]),e("div",[e("el-checkbox-group",{staticClass:"checkboxS",model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}},[e("el-checkbox",{attrs:{label:"1",disabled:""}},[t._v(" "+t._s(t.$t("personal.miner")))]),e("el-checkbox",{attrs:{label:"2"}},[t._v(t._s(t.$t("personal.profit")))]),e("el-checkbox",{attrs:{label:"3"}},[t._v(t._s(t.$t("personal.payment")))])],1)],1)]),e("el-button",{staticStyle:{width:"50%","font-size":"1.1em","margin-top":"30px"},attrs:{loading:t.establishLoading,type:"primary"},on:{click:t.confirmAddition}},[t._v(t._s(t.$t("personal.confirm")))])],1)]),e("el-dialog",{attrs:{visible:t.modifyDialogVisible,width:"40%","close-on-click-modal":!1},on:{"update:visible":function(e){t.modifyDialogVisible=e},close:t.handleClose}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.readOnlyPage")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.account")))]),e("el-input",{staticClass:"input",attrs:{title:t.$t("personal.account"),disabled:""},model:{value:t.dialogTitle,callback:function(e){t.dialogTitle=e},expression:"dialogTitle"}})],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.remarks")))]),e("el-input",{staticClass:"input",attrs:{title:t.$t("personal.remarksDescription"),placeholder:t.$t("personal.remarksDescription")},model:{value:t.dialogData.remark,callback:function(e){t.$set(t.dialogData,"remark",e)},expression:"dialogData.remark"}})],1)]),e("div",{staticClass:"jurisdictionBox"},[e("div",[t._v(t._s(t.$t("personal.jurisdiction")))]),e("div",[e("el-checkbox-group",{staticClass:"checkboxS",model:{value:t.dialogData.config,callback:function(e){t.$set(t.dialogData,"config",e)},expression:"dialogData.config"}},[e("el-checkbox",{attrs:{label:"1",disabled:""}},[t._v(" "+t._s(t.$t("personal.miner")))]),e("el-checkbox",{attrs:{label:"2"}},[t._v(t._s(t.$t("personal.profit")))]),e("el-checkbox",{attrs:{label:"3"}},[t._v(t._s(t.$t("personal.payment")))])],1)],1)]),e("el-button",{staticStyle:{width:"50%","font-size":"1.1em","margin-top":"30px"},attrs:{loading:t.modifyLoading,type:"primary"},on:{click:t.modifyInfo}},[t._v(t._s(t.$t("personal.modify2")))])],1)])],1)},e.Yp=[]},89175:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return i.B},default:function(){return c}});var a=s(62486),i=s(10895),n=i.A,o=s(81656),l=(0,o.A)(n,a.XX,a.Yp,!1,null,"18e9c054",null),c=l.exports},95525:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var i=a(s(72767));e.A={mixins:[i.default]}},97903:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var i=a(s(76829));e.A={mixins:[i.default]}}}]); \ No newline at end of file diff --git a/mining-pool/test/js/app-5c551db8.3726e21e.js b/mining-pool/test/js/app-5c551db8.3726e21e.js new file mode 100644 index 0000000..e0dad5d --- /dev/null +++ b/mining-pool/test/js/app-5c551db8.3726e21e.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[774],{2487:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.NEXAcourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/nexa.png"),alt:"coin",loading:"lazy"}}),t._v("Nexa")]),e("span",[t._v("10000")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://nexa.m2pool.com:33333"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://nexa.m2pool.com:33333")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://nexa.m2pool.com:33335 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://nexa.m2pool.com:33335")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.GPU")))]),e("p",[t._v("bzminer、lolminer、Rigel、WildRig")])]),e("div",[e("p",[t._v(t._s(t.$t("course.ASIC")))]),e("p",[t._v(t._s(t.$t("course.dragonBall")))])])])],2)],1)],1),e("p",{attrs:{id:"careful"}},[t._v(" "+t._s(t.$t("course.careful"))),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" (support@m2pool.com) "+t._s(t.$t("course.careful2"))+" ")]),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://nexa.org/"}},[t._v("https://nexa.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.mxc.com/"}},[t._v("MEXC")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.miningIncome1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{directives:[{name:"show",rawName:"v-show",value:"nexa"==t.activeCoin,expression:"activeCoin == 'nexa'"}],staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/nexa.png"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.NEXAcourse")))])]),e("div",{staticClass:"theServer",attrs:{id:"selectServer"}},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/nexa.png"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Nexa")])]),e("span",{staticClass:"coin quota"},[t._v("10000")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://nexa.m2pool.com:33333  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://nexa.m2pool.com:33333")}}})]),e("span",{staticClass:"port"},[t._v("stratum+ssl://nexa.m2pool.com:33335   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://nexa.m2pool.com:33335")}}})])])]),e("div",{staticClass:"title"},[t._v(t._s(t.$t("course.Adaptation")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"}),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.GPU")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.ASIC")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/nexa.png"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Nexa")])]),e("span",{staticClass:"coin quota"}),e("span",{staticClass:"port"},[t._v(" bzminer、lolminer、Rigel、WildRig  ")]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.dragonBall"))+"   ")])])])]),e("p",{staticClass:"careful"},[t._v(" "+t._s(t.$t("course.careful"))),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail"))+":support@m2pool.com ")]),t._v(t._s(t.$t("course.careful2"))+" ")]),e("section",{staticClass:"step",attrs:{id:"step2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://nexa.org/"}},[t._v("https://nexa.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.mxc.com/"}},[t._v("MEXC")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#selectServer"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#step2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.miningIncome1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},4460:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(87716));e.A={mixins:[o.default]}},5136:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.RXDcourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/rxd.png"),alt:"coin",loading:"lazy"}}),t._v("radiant")]),e("span",[t._v("100")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://rxd.m2pool.com:33370 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(" stratum+tcp://rxd.m2pool.com:33370")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://rxd.m2pool.com:33375 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://rxd.m2pool.com:33375")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.GPU")))]),e("p",[t._v("lolminer")])]),e("div",[e("p",[t._v(t._s(t.$t("course.ASIC")))]),e("p",[t._v(t._s(t.$t("course.dragonBall"))+"、"+t._s(t.$t("course.RX0")))])])])],2)],1)],1),e("p",{attrs:{id:"careful"}},[t._v(" "+t._s(t.$t("course.careful"))),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" (support@m2pool.com) "+t._s(t.$t("course.careful2"))+" ")]),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://radiantblockchain.org/"}},[t._v("https://radiantblockchain.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.mxc.com/"}},[t._v("MEXC")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.rxdIncome1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/rxd.png"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.RXDcourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/rxd.png"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Rxd")])]),e("span",{staticClass:"coin quota"},[t._v("100")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://rxd.m2pool.com:33370  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://rxd.m2pool.com:33370")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://rxd.m2pool.com:33375   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://rxd.m2pool.com:33375")}}})])])]),e("div",{staticClass:"title"},[t._v(t._s(t.$t("course.Adaptation")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"}),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.GPU")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.ASIC")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/rxd.png"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Rxd")])]),e("span",{staticClass:"coin quota"}),e("span",{staticClass:"port"},[t._v(" lolminer  ")]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.dragonBallA11"))+"  、 "+t._s(t.$t("course.RX0")))])])])]),e("p",{staticClass:"careful"},[t._v(" "+t._s(t.$t("course.careful"))),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail"))+":support@m2pool.com")]),t._v(t._s(t.$t("course.careful2"))+" ")]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://radiantblockchain.org/"}},[t._v("https://radiantblockchain.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.mxc.com/"}},[t._v("MEXC")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.rxdIncome1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},8705:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(68311));e.A={mixins:[o.default]}},9526:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e.loadingRecoveryDirective=void 0;var o=a(s(66848));const i=e.loadingRecoveryDirective={inserted(t,e,s){const a=s.context,{loading:o,recovery:i}=e.value||{};if(!o||!i||!Array.isArray(i))return;const r=()=>{a[o]&&(a[o]=!1)};t._loadingRecovery=r,window.addEventListener("network-retry-complete",r),console.log(`[LoadingRecovery] 添加加载状态恢复: ${o}`)},unbind(t){t._loadingRecovery&&(window.removeEventListener("network-retry-complete",t._loadingRecovery),delete t._loadingRecovery)}};o.default.directive("loading-recovery",i)},9733:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(19559));e.A={mixins:[o.default],watch:{$route(t,e){this.handleRouteChange(t,e)}},methods:{handleRouteChange(t,e){t.name!==e.name&&this.$nextTick((()=>{this.$forceUpdate()}))}}}},11874:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(5136),o=s(86964),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"91fdfe0e",null),n=l.exports},16307:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.dgboCourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),t._v("dgb(odocrypt)")]),e("span",[t._v("1")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://dgbo.m2pool.com:33340"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(" stratum+tcp://dgbo.m2pool.com:33340")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://dgbo.m2pool.com:33345 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://dgbo.m2pool.com:33345")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.digibyte.org/"}},[t._v("https://www.digibyte.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.binance.com/"}},[t._v("Binance")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.okx.com/"}},[t._v("okx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.dgboCourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("dgb(odocrypt)")])]),e("span",{staticClass:"coin quota"},[t._v("1")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://dgbo.m2pool.com:33340  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://dgbo.m2pool.com:33340")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://dgbo.m2pool.com:33345   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://dgbo.m2pool.com:33345")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://www.digibyte.org/"}},[t._v("https://www.digibyte.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.binance.com/"}},[t._v("Binance")]),t._v("、"),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.okx.com/"}},[t._v("okx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},17279:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},19526:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;e["default"]={401:"认证失败,无法访问系统资源,请重新登录",403:"当前操作没有权限",404:"访问资源不存在",default:"系统未知错误,请反馈给管理员"}},19559:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(20116);var a=s(1652);e["default"]={data(){return{menuList:[{path:"/AccessMiningPool",name:"course.NEXAcourse",value:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!1},{path:"",name:"course.RXDcourse",value:"rxd",show:!0}],activeCoin:"nexa",params:{coin:"nexa"},activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",img:s(95194),imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},pageTitle:"course.NEXAcourse",currencyList:[{path:"nexaAccess",value:"nexa",label:"nexa",img:s(95194),imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},{path:"grsAccess",value:"grs",label:"grs",imgUrl:`${this.$baseApi}img/grs.svg`,show:!0,name:"course.GRScourse",amount:1,tcp:"",ssl:""},{path:"monaAccess",value:"mona",label:"mona",imgUrl:`${this.$baseApi}img/mona.svg`,name:"course.MONAcourse",amount:1,tcp:"",show:!0,ssl:""},{path:"dgbsAccess",value:"dgbs",label:"dgb(skein)",img:s(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,show:!1,name:"course.dgbsCourse",amount:1,tcp:"",ssl:""},{path:"dgbqAccess",value:"dgbq",label:"dgb(qubit)",imgUrl:`${this.$baseApi}img/dgb.svg`,show:!1,name:"course.dgbqCourse",amount:1,tcp:"",ssl:""},{path:"dgboAccess",value:"dgbo",label:"dgb(odocrypt)",imgUrl:`${this.$baseApi}img/dgb.svg`,show:!1,name:"course.dgboCourse",amount:1,tcp:"",ssl:""},{path:"rxdAccess",value:"rxd",label:"radiant",img:s(94158),imgUrl:`${this.$baseApi}img/rxd.png`,show:!0,name:"course.RXDcourse",amount:100,tcp:"stratum+tcp://rxd.m2pool.com:33370",ssl:"stratum+ssl://rxd.m2pool.com:33375",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://radiantblockchain.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.rxdIncome1",miningIncome2:"course.miningIncome2",GPU:"lolminer",ASIC:"course.dragonBallA11Move",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},{path:"alphminingPool",value:"alph",label:"Alephium(alph)",imgUrl:`${this.$baseApi}img/alph.svg`,show:!0,name:"course.alphCourse",amount:1,tcp:"",ssl:""}],currencyPath:`${this.$baseApi}img/nexa.png`,openAPI:!0,imgUrl:`${this.$baseApi}img/nexa.png`,activeName:"1",currentRoutePath:"",listParams:{type:"1",lang:this.$i18n.locale,pageNum:1,pageSize:50},tutorialLoading:!1,navList:[],DetailsParams:{id:"",lang:this.$i18n.locale},info:"",activeId:"",contentShow:!1}},watch:{$route:{immediate:!0,handler(t){this.currentRoutePath=t.path.split("/")[3]}}},mounted(){let t=this.$route.params&&this.$route.params.coin,e=localStorage.getItem("activeCoin")?JSON.parse(localStorage.getItem("activeCoin")):null,s=t||e||this.currencyList[0]&&this.currencyList[0].value;this.activeCoin=s,this.activeItem=this.currencyList.find((t=>t.value===s))||this.currencyList[0],this.params.coin=s,t&&localStorage.setItem("activeCoin",JSON.stringify(t)),this.fetchAllList(this.listParams)},methods:{async fetchAllList(t){this.setLoading("tutorialLoading",!0);const e=await(0,a.documentsList)(t);if(console.log(e,"res"),e&&200===e.code){const t=(e.rows||[]).slice().sort(((t,e)=>Number(t.id)-Number(e.id)));this.navList=t;const s=this.navList.find((t=>t.coin==this.params.coin));s&&s.coin?(this.DetailsParams.id=s.id,this.DetailsParams.coin=s.coin,this.clickJump(s)):this.$route.query.id?this.DetailsParams.id=this.$route.query.id:this.DetailsParams.id=this.navList[0]&&this.navList[0].id,this.DetailsParams.id&&this.fetchProblemDetails(this.DetailsParams)}},async fetchProblemDetails(t){this.setLoading("tutorialLoading",!0);const e=await(0,a.findDataInfo)(t);e&&200===e.code&&(this.info=e.data.content||"",this.activeId=e.data.id,this.contentShow=!0),this.setLoading("tutorialLoading",!1)},backMenu(){this.contentShow=!1},toggleDropdown(t){if(!t)return;const e=t.currentTarget,s=e.querySelector(".dropdown"),a=e.querySelector(".arrow");s&&(s.classList.toggle("show"),a?.classList.toggle("up"))},changeMenuName(t,e){if(console.log("走移动端了?"),!t)return;if(!e.path)return;t.stopPropagation(),this.currentRoutePath=e.path,this.activeItem=e,this.activeCoin=e.value,this.$addStorageEvent(1,"activeItem",JSON.stringify(e));const s=document.getElementById("menu1");if(!s)return;const a=s.querySelector(".dropdown"),o=s.querySelector(".arrow");a?.classList.remove("show"),o?.classList.remove("up"),this.$addStorageEvent(1,"activeItemCoin",JSON.stringify(e)),this.$addStorageEvent(1,"activeCoin",JSON.stringify(e.value)),e.path&&this.$router.push(`/${this.$i18n.locale}/AccessMiningPool/${e.path}`)},clickJump(t){this.DetailsParams.id=t.id,this.DetailsParams.coin=t.coin,this.activeCoin=t.coin,localStorage.setItem("activeCoin",JSON.stringify(this.activeCoin)),this.fetchProblemDetails(this.DetailsParams)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))},clickCurrency(t){this.currencyPath=t.imgUrl,this.params.coin=t.value,this.activeItem=t},handelCurrencyLabel(t){let e=this.currencyList.find((e=>e.value==t));return e?e.label:""}}}},24727:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},27048:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(2487),o=s(66496),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"089a61bb",null),n=l.exports},29808:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(79894),o=s(88125),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"415158a6",null),n=l.exports},30140:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.GRScourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/grs.svg"),alt:"coin",loading:"lazy"}}),t._v("Grs")]),e("span",[t._v("1")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://grs.m2pool.com:33310"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://grs.m2pool.com:33310")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://grs.m2pool.com:33315 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://grs.m2pool.com:33315")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.groestlcoin.org/"}},[t._v("https://www.groestlcoin.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/grs.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.GRScourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/grs.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Grs")])]),e("span",{staticClass:"coin quota"},[t._v("1")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://grs.m2pool.com:33310  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://grs.m2pool.com:33310")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://grs.m2pool.com:33315   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://grs.m2pool.com:33315")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://www.groestlcoin.org/"}},[t._v("https://www.groestlcoin.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},30926:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.totalDetailsLoading,expression:"totalDetailsLoading"}],staticClass:"main"},[t.$isMobile?e("section",{staticClass:"MobileMain"},[e("h4",[t._v(t._s(t.$t("work.WKDetails")))]),e("div",{staticClass:"contentMobile"},[e("el-row",[e("el-col",{attrs:{xs:24,sm:10,md:10,lg:12,xl:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.WorkID"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.id))])])]),e("el-col",{attrs:{xs:24,sm:10,md:10,lg:10,xl:10}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(t._s(t.$t("work.mailbox"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.email))])])])],1),e("el-row",[e("el-col",{attrs:{xs:24,sm:10,md:10,lg:10,xl:10}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.status"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.$t(t.handelStatus2(t.ticketDetails.status))))])])])],1),e("el-row",{staticStyle:{"margin-top":"30px !important"}},[e("el-col",[e("h5",[t._v(t._s(t.$t("work.describe"))+":")]),e("div",{staticStyle:{border:"1px solid rgba(0, 0, 0, 0.1)",padding:"20px 10px","word-wrap":"break-word","overflow-wrap":"break-word","max-height":"200px","margin-top":"18px","overflow-y":"auto","border-radius":"5px"}},[t._v(" "+t._s(t.ticketDetails.desc)+" ")])])],1),e("h5",{staticStyle:{"margin-top":"30px"}},[t._v(t._s(t.$t("work.record"))+":")]),e("div",{staticClass:"submitContent"},[e("el-row",{staticStyle:{margin:"0"}},t._l(t.recordList,(function(s){return e("div",{key:s.time,staticStyle:{"margin-top":"20px"}},[e("div",{staticClass:"submitTitle"},[e("div",{staticClass:"userName"},[t._v(t._s(s.name))]),e("div",{staticClass:"time"},[t._v(" "+t._s(t.handelTime(s.time)))])]),e("div",{attrs:{id:"contentBox"}},[t._v(" "+t._s(s.content)+" ")]),e("span",{directives:[{name:"show",rawName:"v-show",value:s.files,expression:"item.files"}],staticClass:"downloadBox",on:{click:function(e){return t.handelDownload(s.files)}}},[t._v(t._s(t.$t("work.downloadFile")))])])})),0)],1),"10"!==t.ticketDetails.status?e("section",{staticStyle:{"margin-top":"30px"}},[e("div",[e("el-row",[e("el-col",[e("h5",{staticStyle:{"margin-bottom":"18px"}},[t._v(t._s(t.$t("work.ReplyContent"))+":")]),e("el-input",{attrs:{type:"textarea",placeholder:t.$t("work.input"),resize:"none",maxlength:"250","show-word-limit":"",autosize:{minRows:2,maxRows:6}},model:{value:t.replyParams.respon,callback:function(e){t.$set(t.replyParams,"respon",e)},expression:"replyParams.respon"}})],1)],1),e("el-form",[e("el-form-item",{staticStyle:{width:"100%"}},[e("div",{staticStyle:{width:"100%"}},[t._v(t._s(t.$t("work.enclosure")))]),e("div",{staticClass:"prompt"},[t._v(" "+t._s(t.$t("work.fileType"))+":jpg, jpeg, png, mp3, aif, aiff, wav, wma, mp4, avi, rmvb ")]),e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{drag:"",action:"",multiple:"",limit:t.fileLimit,"on-exceed":t.handleExceed,"on-remove":t.handleRemove,"file-list":t.fileList,"on-change":t.handelChange,"show-file-list":"","auto-upload":!1}},[e("i",{staticClass:"el-icon-upload"}),e("div",{staticClass:"el-upload__text"},[t._v(" "+t._s(t.$t("work.fileCharacters"))),e("em",[t._v(" "+t._s(t.$t("work.fileCharacters2")))])])])],1),e("el-button",{staticClass:"elBtn",staticStyle:{"border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelResubmit}},[t._v(" "+t._s(t.$t("work.ReplyWork")))]),e("el-button",{staticClass:"elBtn",staticStyle:{"border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelEnd}},[t._v(" "+t._s(t.$t("work.endWork")))])],1)],1)]):t._e(),e("el-dialog",{attrs:{title:t.$t("work.Tips"),visible:t.closeDialogVisible,width:"70%","before-close":t.handleClose},on:{"update:visible":function(e){t.closeDialogVisible=e}}},[e("span",[t._v(t._s(t.$t("work.confirmClose")))]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{staticStyle:{"border-radius":"20px"},on:{click:function(e){t.closeDialogVisible=!1}}},[t._v(t._s(t.$t("work.cancel")))]),e("el-button",{staticClass:"elBtn",staticStyle:{border:"none","border-radius":"20px"},attrs:{type:"primary",loading:t.totalDetailsLoading},on:{click:t.confirmCols}},[t._v(t._s(t.$t("work.confirm")))])],1)])],1)]):e("div",{staticClass:"content"},[e("el-row",{attrs:{type:"flex",justify:"end"}},[e("el-col",{staticClass:"orderDetails"},[e("h3",[t._v(t._s(t.$t("work.WKDetails")))]),e("el-row",[e("el-col",{attrs:{span:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.WorkID"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.id))])])]),e("el-col",{attrs:{span:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(t._s(t.$t("work.mailbox"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.email))])])])],1),e("el-row",[e("el-col",{attrs:{span:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.status"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.$t(t.handelStatus2(t.ticketDetails.status))))])])])],1)],1)],1),e("el-row",{staticStyle:{"margin-top":"30px"}},[e("el-col",[e("h4",[t._v(t._s(t.$t("work.describe"))+":")]),e("p",{staticStyle:{border:"1px solid rgba(0, 0, 0, 0.1)",padding:"20px 10px","word-wrap":"break-word","overflow-wrap":"break-word","max-height":"200px","margin-top":"18px","overflow-y":"auto","border-radius":"5px"}},[t._v(" "+t._s(t.ticketDetails.desc)+" ")])])],1),e("h4",[t._v(t._s(t.$t("work.record"))+":")]),e("div",{staticClass:"submitContent"},[e("el-row",{staticStyle:{margin:"0"}},t._l(t.recordList,(function(s){return e("div",{key:s.time,staticStyle:{"margin-top":"20px"}},[e("div",{staticClass:"submitTitle"},[e("span",[t._v(t._s(t.$t("work.user1"))+":"+t._s(s.name))]),e("span",[t._v(" "+t._s(t.$t("work.time4"))+":"+t._s(t.handelTime(s.time)))])]),e("div",{staticClass:"contentBox"},[e("span",{staticStyle:{display:"inline-block",width:"100%","word-wrap":"break-word","overflow-wrap":"break-word","max-height":"200px","overflow-y":"auto"}},[t._v(t._s(s.content))])]),e("span",{directives:[{name:"show",rawName:"v-show",value:s.files,expression:"item.files"}],staticClass:"downloadBox",on:{click:function(e){return t.handelDownload(s.files)}}},[t._v(t._s(t.$t("work.downloadFile")))])])})),0)],1),"10"!==t.ticketDetails.status?e("section",[e("div",[e("el-row",[e("el-col",[e("h4",{staticStyle:{"margin-bottom":"18px"}},[t._v(t._s(t.$t("work.ReplyContent"))+":")]),e("el-input",{attrs:{type:"textarea",placeholder:t.$t("work.input"),resize:"none",maxlength:"250","show-word-limit":"",autosize:{minRows:2,maxRows:6}},model:{value:t.replyParams.respon,callback:function(e){t.$set(t.replyParams,"respon",e)},expression:"replyParams.respon"}})],1)],1),e("el-form",[e("el-form-item",{staticStyle:{width:"50%"}},[e("div",{staticStyle:{width:"100%"}},[t._v(t._s(t.$t("work.enclosure")))]),e("p",{staticClass:"prompt"},[t._v(" "+t._s(t.$t("work.fileType"))+":jpg, jpeg, png, mp3, aif, aiff, wav, wma, mp4, avi, rmvb ")]),e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{drag:"",action:"",multiple:"",limit:t.fileLimit,"on-exceed":t.handleExceed,"on-remove":t.handleRemove,"file-list":t.fileList,"on-change":t.handelChange,"show-file-list":"","auto-upload":!1}},[e("i",{staticClass:"el-icon-upload"}),e("div",{staticClass:"el-upload__text"},[t._v(" "+t._s(t.$t("work.fileCharacters"))),e("em",[t._v(" "+t._s(t.$t("work.fileCharacters2")))])])])],1),e("el-button",{staticClass:"elBtn",staticStyle:{width:"200px","border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelResubmit}},[t._v(" "+t._s(t.$t("work.ReplyWork")))]),e("el-button",{staticClass:"elBtn",staticStyle:{width:"200px","border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelEnd}},[t._v(" "+t._s(t.$t("work.endWork")))])],1)],1)]):t._e(),e("el-dialog",{attrs:{title:t.$t("work.Tips"),visible:t.closeDialogVisible,width:"30%","before-close":t.handleClose},on:{"update:visible":function(e){t.closeDialogVisible=e}}},[e("span",[t._v(t._s(t.$t("work.confirmClose")))]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{staticStyle:{"border-radius":"20px"},on:{click:function(e){t.closeDialogVisible=!1}}},[t._v(t._s(t.$t("work.cancel")))]),e("el-button",{staticClass:"elBtn",staticStyle:{border:"none","border-radius":"20px"},attrs:{type:"primary",loading:t.totalDetailsLoading},on:{click:t.confirmCols}},[t._v(t._s(t.$t("work.confirm")))])],1)])],1)])},e.Yp=[]},31863:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(16307),o=s(43232),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"340a7930",null),n=l.exports},34815:function(t,e,s){function a(){const t=["/","/home","/miningAccount","/readOnlyDisplay","/reportBlock","/broadcast","/userManagement","/userDetails","/rate","/allocationExplanation","/apiFile","/customerService","/ServiceTerms","/submitWorkOrder","/workOrderRecords","/userWorkDetails","/workOrderBackend","/BKWorkDetails","/dataDisplay","/alerts","/helpCenter","/commonProblem","/announcementDetails","/searchResult","/announcements","/announcementDetails","/personalCenter","/personalCenter/personalMining","/personalCenter/readOnly","/personalCenter/securitySetting","/personalCenter/personal","/personalCenter/miningReport","/personalCenter/personalAPI","/AccessMiningPool","/AccessMiningPool/nexaAccess","/AccessMiningPool/rxdAccess","/AccessMiningPool/monaAccess","/AccessMiningPool/grsAccess","/AccessMiningPool/dgbqAccess","/AccessMiningPool/dgboAccess","/AccessMiningPool/dgbsAccess","/AccessMiningPool/alphminingPool","/login","/register","/simulation","/resetPassword","/404"];return t}function o(t){if(!t||"string"!==typeof t)return!1;const e=t.trim();if("/"===e||""===e)return!0;const s=e.startsWith("/")?e.substring(1):e,o=a(),i=o.map((t=>t.replace(/^\//,""))).filter((t=>""!==t));return i.includes(s)}function i(t){if(!t)return a().slice(0,10);const e=a(),s=t.toLowerCase().trim();return e.filter((t=>t.toLowerCase().includes(s))).slice(0,5)}Object.defineProperty(e,"__esModule",{value:!0}),e.getAllValidPaths=a,e.getPathSuggestions=i,e.isValidPath=o,s(18111),s(22489),s(61701)},35221:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(22489),s(20116),s(13579);a(s(86425));var o=a(s(35720)),i=s(11503);e["default"]={data(){return{imgSrc:"https://studio.glassnode.com/images/crypto-icons/btc.png",navLabel:"Bitcoin (BTC)",userName:"LX",from:{title:"",kinds:"",description:"",radio:""},kindsList:[{value:"购买咨询",label:"购买咨询"},{value:"财务咨询",label:"财务咨询"},{value:"网页问题",label:"网页问题"},{value:"账户问题",label:"账户问题"},{value:"移动端问题",label:"移动端问题"},{value:"消息订阅",label:"消息订阅"},{value:"指标数据问题",label:"指标数据问题"},{value:"其他",label:"其他"}],params:[],input:1,tableData:[{num:1,time:"2022-09-01 16:00",problem:"账户问题",questionTitle:"账户不能登录",state:"已解决"}],textarea:"我是提交内容",textarea1:"我是回复内容",textarea2:"",replyInput:!0,ticketDetails:{id:"",type:"",title:"",userName:"",desc:"",responName:"",respon:"",submitTime:"",status:"",fileIds:"",files:"",responTime:""},fileList:[],fileType:["jpg","jpeg","png","mp3","aif","aiff","wav","wma","mp4","avi","rmvb"],fileSize:20,fileLimit:3,headers:{"Content-Type":"multipart/form-data"},FormDatas:null,filesId:[],paramsDownload:{id:""},paramsResponTicket:{id:"",files:"",respon:""},paramsAuditTicket:{id:"",msg:""},paramsSubmitAuditTicket:{id:""},identity:{},detailsID:"",downloadUrl:"",workOrderId:"",recordList:[],replyParams:{id:"",respon:"",files:""},totalDetailsLoading:!1,faultList:[],statusList:[{value:1,label:"work.pendingProcessing"},{value:2,label:"work.processed"},{value:10,label:"work.completeWK"}],typeList:[],machineCoding:"",warrantyList:[],closeDialogVisible:!1,lang:"zh"}},mounted(){this.lang=this.$i18n.locale,this.workOrderId=localStorage.getItem("totalID"),this.fetchTicketDetails({id:this.workOrderId}),this.registerRecoveryMethod("fetchTicketDetails",{id:this.workOrderId})},methods:{async fetchBKendTicket(t){this.setLoading("totalDetailsLoading",!0);const e=await(0,i.getBKendTicket)(t);e&&200==e.code&&(this.$message({message:this.$t("work.WKend"),type:"success"}),this.$router.push(`/${this.lang}/workOrderBackend`)),this.setLoading("totalDetailsLoading",!1)},async fetchReply(t){this.setLoading("totalDetailsLoading",!0);const e=await(0,i.getReply)(t);if(e&&200==e.code){this.$message({message:this.$t("work.submitted"),type:"success"});for(const t in this.replyParams)this.replyParams[t]="";this.fileList=[],this.fetchTicketDetails({id:this.workOrderId})}this.setLoading("totalDetailsLoading",!1)},handelType2(t){if(t)return this.typeList.find((e=>e.name==t)).label},handelStatus2(t){try{if(t){let e=this.statusList.find((e=>e.value==t)).label;return this.$t(e)}}catch{return""}},handelPhenomenon(t){if(t)return this.faultList.find((e=>e.id==t)).label},async fetchTicketDetails(t){this.setLoading("totalDetailsLoading",!0);const{data:e}=await(0,i.getDetails)(t);this.recordList=e.list,this.ticketDetails=e,this.setLoading("totalDetailsLoading",!1)},downloadExcel(t){this.downloadUrl=` ${o.default.defaults.baseURL}pool/ticket/downloadFile?ids=${t}`;let e=document.createElement("a");e.href=this.downloadUrl,e.click()},handelChange(t,e){const s=t.name.slice(t.name.lastIndexOf(".")+1).toLowerCase(),a=this.fileType.includes(s),o=t.size/1024/1024<=this.fileSize;if(!a)return this.$message.error(`${this.$t("work.notSupported")}${s}`),this.fileList=this.fileList.filter((e=>e.name!=t.name)),!1;if(!o)return this.fileList=this.fileList.filter((e=>e.name!=t.name)),this.$message.error(`${this.$t("work.notSupported2")} ${this.fileSize} MB.`),!1;let i=this.fileList.some((e=>e.name==t.name));if(i)return this.$message.warning(this.$t("work.notSupported3")),this.$refs.upload.handleRemove(t),!1;this.fileList.push(t.raw)},handleRemove(t,e){let s=this.fileList.indexOf(t);-1!==s&&this.fileList.splice(s,1)},handleExceed(){this.$message({type:"warning",message:this.$t("work.notSupported4")})},handelDownload(t){if(t){this.downloadUrl=` ${o.default.defaults.baseURL}pool/ticket/downloadFile?ids=${t}`;let e=document.createElement("a");e.href=this.downloadUrl,e.click()}},handleSuccess(){},handelTime(t){if(t&&t.includes("T"))return`${t.split("T")[0]} ${t.split("T")[1].split(".")[0]}`},handelResubmit(){if(!this.replyParams.respon)return console.log(),void this.$message({message:this.$t("work.replyContent2"),type:"error",customClass:"messageClass"});this.replyParams.id=this.ticketDetails.id,this.fetchReply(this.replyParams)},handelEnd(){this.closeDialogVisible=!0},handleClose(){this.closeDialogVisible=!1},confirmCols(){this.fetchBKendTicket({id:this.ticketDetails.id})}}}},35720:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(7588);var o=a(s(86425)),i=a(s(19526)),r=s(89143),l=a(s(84994)),n=a(s(37465));const c=new Map;function p(t){const{url:e,method:s,params:a,data:o}=t;return[e,s,JSON.stringify(a),JSON.stringify(o)].join("&")}const u=o.default.create({baseURL:"https://test.m2pool.com/api/",timeout:1e4}),m=6e4;let d=new Map,v={online:0,offline:0},_=!1;window.addEventListener("online",(()=>{const t=Date.now();if(_)return void console.log("[网络] 网络恢复处理已在进行中,忽略重复事件");if(_=!0,t-v.online>3e4){v.online=t;try{window.vm&&window.vm.$message&&(window.vm.$message({message:window.vm.$i18n.t("home.networkReconnected")||"网络已重新连接,正在恢复数据...",type:"success",duration:5e3,showClose:!0}),console.log("[网络] 显示网络恢复提示, 时间:",(new Date).toLocaleTimeString()))}catch(s){console.error("[网络] 显示网络恢复提示失败:",s)}}else console.log("[网络] 抑制重复的网络恢复提示, 间隔过短:",t-v.online+"ms");const e=[];d.forEach((async(s,a)=>{if(t-s.timestamp<=m)try{const t=await u(s.config);e.push(t),s.callback&&"function"===typeof s.callback&&s.callback(t),window.vm&&(s.config.url.includes("getPoolPower")&&t&&t.data?window.dispatchEvent(new CustomEvent("chart-data-updated",{detail:{type:"poolPower",data:t.data}})):s.config.url.includes("getNetPower")&&t&&t.data?window.dispatchEvent(new CustomEvent("chart-data-updated",{detail:{type:"netPower",data:t.data}})):s.config.url.includes("getBlockInfo")&&t&&t.rows&&window.dispatchEvent(new CustomEvent("chart-data-updated",{detail:{type:"blockInfo",data:t.rows}}))),d.delete(a)}catch(o){console.error("重试请求失败:",o),d.delete(a)}else d.delete(a)})),Promise.allSettled(e).then((()=>{if(l.default&&l.default.resetAllLoadingStates(),window.vm){const t=["minerChartLoading","reportBlockLoading","apiPageLoading","MiningLoading","miniLoading","bthLoading","editLoading"];t.forEach((t=>{"undefined"!==typeof window.vm[t]&&(window.vm[t]=!1)})),Object.keys(window.vm).forEach((t=>{t.endsWith("Loading")&&(window.vm[t]=!1)}))}window.dispatchEvent(new CustomEvent("network-retry-complete")),setTimeout((()=>{_=!1}),5e3)}))})),window.addEventListener("offline",(()=>{window.vm&&window.vm.$message&&n.default.canShowError("networkOffline")&&window.vm.$message({message:window.vm.$i18n.t("home.networkOffline")||"网络连接已断开,系统将在恢复连接后自动重试",type:"error",duration:5e3,showClose:!0})})),u.defaults.retry=2,u.defaults.retryDelay=2e3,u.defaults.shouldRetry=t=>"Network Error"===t.message||t.message.includes("timeout"),localStorage.setItem("superReportError","");let h=localStorage.getItem("superReportError");window.addEventListener("setItem",(()=>{h=localStorage.getItem("superReportError")})),u.interceptors.request.use((t=>{let e;h="",localStorage.setItem("superReportError","");try{e=JSON.parse(localStorage.getItem("token"))}catch(i){console.log(i)}if(e&&(t.headers["Authorization"]=e),"get"==t.method&&t.data&&(t.params=t.data),"get"===t.method&&t.params){let e=t.url+"?";for(const a of Object.keys(t.params)){const o=t.params[a];var s=encodeURIComponent(a)+"=";if(null!==o&&"undefined"!==typeof o)if("object"===typeof o){for(const t of Object.keys(o))if(null!==o[t]&&"undefined"!==typeof o[t]){let s=a+"["+t+"]",i=encodeURIComponent(s)+"=";e+=i+encodeURIComponent(o[t])+"&"}}else e+=s+encodeURIComponent(o)+"&"}e=e.slice(0,-1),t.params={},t.url=e}const a=p(t);if(c.has(a)){const t=c.get(a);t(),c.delete(a)}return t.cancelToken=new o.default.CancelToken((t=>{c.set(a,t)})),t}),(t=>{Promise.reject(t)})),u.interceptors.response.use((t=>{const e=p(t.config);c.delete(e);const s=t.data.code||200,a=i.default[s]||t.data.msg||i.default["default"];return 421===s?(localStorage.setItem("cs_disconnect_all",Date.now().toString()),localStorage.removeItem("token"),h=localStorage.getItem("superReportError"),h||(h=421,localStorage.setItem("superReportError",h),r.MessageBox.confirm(window.vm.$i18n.t("user.loginExpired"),window.vm.$i18n.t("user.overduePrompt"),{distinguishCancelAndClose:!0,confirmButtonText:window.vm.$i18n.t("user.login"),cancelButtonText:window.vm.$i18n.t("user.Home"),closeOnClickModal:!1,showClose:!1,type:"warning"}).then((()=>{window.vm.$router.push(`/${window.vm.$i18n.locale}/login`),localStorage.removeItem("token")})).catch((()=>{window.vm.$router.push(`/${window.vm.$i18n.locale}/`),localStorage.removeItem("token")}))),Promise.reject("登录状态已过期")):s>=500&&!h?(h=500,localStorage.setItem("superReportError",h),void(0,r.Message)({dangerouslyUseHTMLString:!0,message:a,type:"error",showClose:!0})):200!==s?(r.Notification.error({title:a}),Promise.reject("error")):t.data}),(t=>{if("ERR_CANCELED"===t.code||t.message&&t.message.includes("canceled")||t.message?.includes("Request aborted"))return new Promise((()=>{}));if(t.config){const e=p(t.config);c.delete(e)}let{message:e}=t;if("Network Error"==e||e.includes("timeout"))if(navigator.onLine){if(t.config.__retryCount=t.config.__retryCount||0,t.config.__retryCount{setTimeout((()=>{e(u(t.config))}),u.defaults.retryDelay)}));console.log(`[请求失败] ${t.config.url} - 已达到最大重试次数`)}else{const e=JSON.stringify({url:t.config.url,method:t.config.method,params:t.config.params,data:t.config.data});let s=null;t.config.url.includes("getPoolPower")?s=t=>{window.vm&&(window.vm.minerChartLoading=!1)}:t.config.url.includes("getBlockInfo")&&(s=t=>{window.vm&&(window.vm.reportBlockLoading=!1)}),d.has(e)||(d.set(e,{config:t.config,timestamp:Date.now(),retryCount:0,callback:s}),console.log("请求已加入断网重连队列:",t.config.url))}return h||(h="error",localStorage.setItem("superReportError",h),n.default.canShowError(e)?"Network Error"==e?(0,r.Message)({message:window.vm.$i18n.t("home.NetworkError"),type:"error",duration:4e3,showClose:!0}):e.includes("timeout")?(0,r.Message)({message:window.vm.$i18n.t("home.requestTimeout"),type:"error",duration:5e3,showClose:!0}):e.includes("Request failed with status code")?(0,r.Message)({message:"系统接口"+e.substr(e.length-3)+"异常",type:"error",duration:5e3,showClose:!0}):(0,r.Message)({message:e,type:"error",duration:5e3,showClose:!0}):console.log("[错误提示] 已抑制重复错误:",e)),Promise.reject(t)}));e["default"]=u},37465:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(7588);class a{constructor(){this.recentErrors=new Map,this.throttleTime=3e3,this.errorTypes={"Network Error":"network",timeout:"timeout","Request failed with status code":"statusCode",networkReconnected:"networkStatus",NetworkError:"network"}}getErrorType(t){for(const[e,s]of Object.entries(this.errorTypes))if(t.includes(e))return s;return"unknown"}canShowError(t){const e=this.getErrorType(t),s=Date.now();if(this.recentErrors.has(e)){const t=this.recentErrors.get(e);if(s-t{t-e>this.throttleTime&&this.recentErrors.delete(s)}))}}const o=new a;e["default"]=o},39219:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.dgbqCourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),t._v("Dgb(qubit)")]),e("span",[t._v("1")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://dgbq.m2pool.com:33360"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://dgbq.m2pool.com:33360")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://dgbq.m2pool.com:33365 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(" stratum+ssl://dgbq.m2pool.com:33365 ")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.digibyte.org/"}},[t._v("https://www.digibyte.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.binance.com/"}},[t._v("Binance")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.okx.com/"}},[t._v("okx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.dgbqCourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Dgb(qubit)")])]),e("span",{staticClass:"coin quota"},[t._v("1")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://dgbq.m2pool.com:33360  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://dgbq.m2pool.com:33360")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://dgbq.m2pool.com:33365   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://dgbq.m2pool.com:33365")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://www.digibyte.org/"}},[t._v("https://www.digibyte.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.binance.com/"}},[t._v("Binance")]),t._v("、"),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.okx.com/"}},[t._v("okx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},39325:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=a(s(91774)),i=a(s(66848)),r=a(s(22484)),l=a(s(62277)),n=s(89143),c=a(s(58044));i.default.use(r.default);const p=[{path:"",name:"Home",component:()=>Promise.resolve().then((()=>(0,o.default)(s(74412)))),meta:{title:"首页",description:c.default.t("seo.Home"),allAuthority:["all"],keywords:{en:"M2Pool, cryptocurrency mining pool, bitcoin mining, DGB mining, mining pool service, 加密货币矿池, 比特币挖矿, DGB挖矿, 矿池服务",zh:"M2Pool, 加密货币矿池, 比特币挖矿, DGB挖矿, 矿池服务"}}},{path:"miningAccount",name:"MiningAccount",component:()=>Promise.resolve().then((()=>(0,o.default)(s(30751)))),meta:{title:"挖矿账户页面",description:c.default.t("seo.miningAccount"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"M2Pool mining account, crypto mining stats, mining rewards, hashrate monitor, 矿池账户, 挖矿收益, 算力监控",zh:"M2Pool 挖矿账户, 加密挖矿统计, 挖矿奖励, 算力监控, 矿池账户, 挖矿收益, 算力监控"}}},{path:"readOnlyDisplay",name:"ReadOnlyDisplay",component:()=>Promise.resolve().then((()=>(0,o.default)(s(61969)))),meta:{title:"只读页面展示页",description:c.default.t("seo.readOnlyDisplay"),allAuthority:["all"],keywords:{en:"Read only page,Revenue situation,Mining Pool,Miner information",zh:"M2Pool 矿池,只读页面,收益状况,矿工信息"}}},{path:"reportBlock",name:"ReportBlock",component:()=>Promise.resolve().then((()=>(0,o.default)(s(6548)))),meta:{title:"报块页面",description:c.default.t("seo.reportBlock"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Block page,Lucky Value,block height,Mining Pool",zh:"M2Pool 矿池,报块页面,幸运值,区块高度"}}},{path:"helpCenter",name:"HelpCenter",component:()=>Promise.resolve().then((()=>(0,o.default)(s(14076)))),meta:{title:"帮助中心",description:c.default.t("seo.helpCenter"),allAuthority:["all"],keywords:{en:"Help Center,Beginner Guide,Mining Data,Frequently Asked Questions,Announcement Center,Other",zh:"帮助中心,新手入门,常见问题,公告中心"}}},{path:"editorDocument",name:"EditorDocument",component:()=>Promise.resolve().then((()=>(0,o.default)(s(42287)))),meta:{title:"编辑器测试",description:c.default.t("seo.helpCenter"),allAuthority:["all"],keywords:{en:"Help Center,Beginner Guide,Mining Data,Frequently Asked Questions,Announcement Center,Other",zh:"帮助中心,新手入门,常见问题,公告中心"}}},{path:"broadcast",name:"Broadcast",component:()=>Promise.resolve().then((()=>(0,o.default)(s(41300)))),meta:{title:"广播页面",description:c.default.t("seo.broadcast"),allAuthority:["back_admin"],keywords:{en:"broadcast",zh:"广播"}}},{path:"userManagement",name:"UserManagement",component:()=>Promise.resolve().then((()=>(0,o.default)(s(51993)))),meta:{title:"用户管理",description:c.default.t("seo.userManagement"),allAuthority:["back_admin"],keywords:{en:"userManagement",zh:"用户管理"}}},{path:"userDetails",name:"UserDetails",component:()=>Promise.resolve().then((()=>(0,o.default)(s(13537)))),meta:{title:"用户详情",description:c.default.t("seo.userManagement"),allAuthority:["back_admin"],keywords:{en:"userDetails",zh:"用户详情"}}},{path:"pendingPaymentSummary",name:"PendingPaymentSummary",component:()=>Promise.resolve().then((()=>(0,o.default)(s(38286)))),meta:{title:"待支付汇总",description:c.default.t("seo.pendingPaymentSummary"),allAuthority:["back_admin"],keywords:{en:"pendingPaymentSummary",zh:"待支付汇总"}}},{path:"documentManagement",name:"DocumentManagement",component:()=>Promise.resolve().then((()=>(0,o.default)(s(64909)))),meta:{title:"文档管理",description:c.default.t("seo.documentManagement"),allAuthority:["back_admin"],keywords:{en:"documentManagement",zh:"文档管理"}}},{path:"addDocument",name:"AddDocument",component:()=>Promise.resolve().then((()=>(0,o.default)(s(46212)))),meta:{title:"新增文档",description:c.default.t("seo.documentManagement"),allAuthority:["back_admin"],keywords:{en:"documentManagement",zh:"文档管理"}}},{path:"modifyDocument",name:"ModifyDocument",component:()=>Promise.resolve().then((()=>(0,o.default)(s(10647)))),meta:{title:"修改文档",description:c.default.t("seo.documentManagement"),allAuthority:["back_admin"],keywords:{en:"documentManagement",zh:"文档管理"}}},{path:"rate",name:"Rate",component:()=>Promise.resolve().then((()=>(0,o.default)(s(17835)))),meta:{title:"费率页面",description:c.default.t("seo.rate"),allAuthority:["all"],keywords:{en:"Mining Pool,Rate,Mining fee rate,Profit calculation",zh:"M2Pool 矿池,费率页面,挖矿费率,收益计算"}}},{path:"allocationExplanation",name:"AllocationExplanation",component:()=>Promise.resolve().then((()=>(0,o.default)(s(23389)))),meta:{title:"分配说明页面",description:c.default.t("seo.rate"),allAuthority:["all"],keywords:{en:"Allocation,Transfer,Mining Pool,Pool allocation,Transfer instructions",zh:"分配、转账说明,矿池分配,转账说明"}}},{path:"apiFile",name:"ApiFile",component:()=>Promise.resolve().then((()=>(0,o.default)(s(27511)))),meta:{title:"API文档页面",description:c.default.t("seo.apiFile"),allAuthority:["all"],keywords:{en:"API file,authentication token,Interface call",zh:"M2Pool 矿池,API 文档,认证 token,接口调用"}}},{path:"customerService",name:"CustomerService",component:()=>Promise.resolve().then((()=>(0,o.default)(s(72841)))),meta:{title:"在线客服",description:c.default.t("seo.apiFile"),allAuthority:["customer_service","admin"],keywords:{en:"API file,authentication token,Interface call",zh:"M2Pool 矿池,API 文档,认证 token,接口调用"}}},{path:"/:lang/AccessMiningPool",name:"AccessMiningPool",component:()=>Promise.resolve().then((()=>(0,o.default)(s(87676)))),meta:{title:"接入矿池页面",description:c.default.t("seo.allocationExplanation"),allAuthority:["all"],keywords:{en:"Access to Mining Pools,Coin Access,Mining Guide",zh:"M2Pool 矿池,接入矿池,币种接入,挖矿指南"}},children:[{path:"nexaAccess",name:"NexaAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(27048)))),meta:{title:"nexa 挖矿页面",description:c.default.t("seo.nexaAccess"),allAuthority:["all"],keepAlive:!0,requiresAuth:!1,keywords:{en:"Nexa Access,Mining Tutorial",zh:"nexa,挖矿教程,Nexa接入,Nexa Access,Mining Tutorial"}}},{path:"rxdAccess",name:"RxdAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(11874)))),meta:{title:"rxd 挖矿页面",description:c.default.t("seo.rxdAccess"),allAuthority:["all"],keywords:{en:"rxd Access,Radiant Access,Mining Tutorial,radiant",zh:"rxd,矿池挖矿教程,Radiant接入,"}}},{path:"monaAccess",name:"MonaAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(76177)))),meta:{title:"mona 挖矿页面",description:c.default.t("seo.monaAccess"),allAuthority:["all"],keywords:{en:"Mona Access,MONA Access,Mining Tutorial",zh:"mona,挖矿教程,mona接入,"}}},{path:"grsAccess",name:"GrsAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(61034)))),meta:{title:"grs 挖矿页面",description:c.default.t("seo.grsAccess"),allAuthority:["all"],keywords:{en:"GRS Access,grs Access,Mining Tutorial",zh:"GRS,Grs接入,GRS挖矿教程"}}},{path:"dgbqAccess",name:"DgbqAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(85278)))),meta:{title:"Dgbq 挖矿页面",description:c.default.t("seo.dgbAccess"),allAuthority:["all"],keywords:{en:"Dgb(qubit) Access,DGB(qubit) Access,Mining Tutorial,DGB",zh:"Dgbq,dgb(qubit)接入,dgb(qubit)挖矿教程"}}},{path:"dgboAccess",name:"DgboAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(31863)))),meta:{title:"Dgbo 挖矿页面",description:c.default.t("seo.dgbAccess"),allAuthority:["all"],keywords:{en:"Dgb(odocrypt) Access,DGB(odocrypt) Access,Mining Tutorial,DGB",zh:"dgbo,dgb(odocrypt)接入,dgb(odocrypt)挖矿教程"}}},{path:"dgbsAccess",name:"DgbsAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(89350)))),meta:{title:"Dgbs 挖矿页面",description:c.default.t("seo.dgbAccess"),allAuthority:["all"],keywords:{en:"Dgb(skein) Access,DGB(skein) Access,Mining Tutorial,DGB",zh:"dgbs,dgb(skein)接入,dgb(skein)挖矿教程"}}},{path:"enxAccess",name:"EnxAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(29808)))),meta:{title:" Entropyx(enx) 挖矿页面",description:c.default.t("seo.enxAccess"),allAuthority:["all"],keywords:{en:"Entropyx(Enx), enx,ENX,Mining Tutorial",zh:"Entropyx(enx)接入,Entropyx挖矿教程"}}},{path:"alphminingPool",name:"AlphminingPool",component:()=>Promise.resolve().then((()=>(0,o.default)(s(65035)))),meta:{title:" alephium 挖矿页面",description:c.default.t("seo.alphAccess"),allAuthority:["all"],keywords:{en:"alephium(alph), Alephium,Mining Tutorial",zh:"alephium(alph)接入,alephium挖矿教程"}}}]},{path:"ServiceTerms",name:"ServiceTerms",component:()=>Promise.resolve().then((()=>(0,o.default)(s(35555)))),meta:{title:"服务条款页面",description:c.default.t("seo.ServiceTerms"),allAuthority:["all"],keywords:{en:"Terms of Service, User Rights, Rights and Obligations",zh:"M2Pool 矿池,服务条款,用户权益,权利义务"}}},{path:"submitWorkOrder",name:"SubmitWorkOrder",component:()=>Promise.resolve().then((()=>(0,o.default)(s(92879)))),meta:{title:"提交工单页面",description:c.default.t("seo.submitWorkOrder"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Mining Pool,Work Order Submission, Technical Support, Troubleshooting",zh:"M2Pool 矿池,提交工单,技术支持,问题处理"}}},{path:"workOrderRecords",name:"WorkOrderRecords",component:()=>Promise.resolve().then((()=>(0,o.default)(s(18311)))),meta:{title:"工单记录页面(用户)",description:c.default.t("seo.workOrderRecords"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"User Work Order Records, Processing Status, Issue Progress",zh:"M2Pool 矿池,用户工单记录,处理状态,问题进度"}}},{path:"userWorkDetails",name:"UserWorkDetails",component:()=>Promise.resolve().then((()=>(0,o.default)(s(71995)))),meta:{title:"工单详情页面(用户)",description:c.default.t("seo.userWorkDetails"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"User Work Order Details, Problem Description, Additional Submissions",zh:"M2Pool 矿池,用户工单详情,问题描述,补充提交"}}},{path:"workOrderBackend",name:"WorkOrderBackend",component:()=>Promise.resolve().then((()=>(0,o.default)(s(25225)))),meta:{title:"工单管理页面(后台)",description:"M2Pool 矿池后台工单管理页面,供 M2Pool 管理员查看和管理用户提交的工单记录,确保问题及时处理,提升用户体验。",allAuthority:["back_admin"],keywords:{en:"Back-office work order management, user work orders, timely processing",zh:"M2Pool 矿池,后台工单管理,用户工单,及时处理"}}},{path:"BKWorkDetails",name:"BKWorkDetails",component:()=>Promise.resolve().then((()=>(0,o.default)(s(86272)))),meta:{title:"工单详情页面(后台)",description:"M2Pool 矿池后台工单详情页面,管理员可在此查看提交工单的详细情况,包括提交时间、详细问题描述以及处理过程,并通过本页面对该工单进行回复处理。",allAuthority:["back_admin"],keywords:{en:"Backend Work Order Details, Problem Handling, Responding to Work Orders",zh:"M2Pool 矿池,后台工单详情,问题处理,回复工单"}}},{path:"dataDisplay",name:"DataDisplay",component:()=>Promise.resolve().then((()=>(0,o.default)(s(81475)))),meta:{title:"数据展示页面",description:"M2Pool 矿池数据展示页面",allAuthority:["all"],keywords:{en:"Mining Pool,Data Display",zh:"M2Pool 矿池,数据展示"}}},{path:"announcements",name:"Announcements",component:()=>Promise.resolve().then((()=>(0,o.default)(s(98327)))),meta:{title:"公告中心",description:c.default.t("seo.announcements")||"M2Pool 矿池公告中心,提供最新的公告、通知和重要信息,让用户及时了解矿池的最新动态和服务变更。",allAuthority:["all"],keywords:{en:"Announcement Center,Latest Announcements,Mining Pool News,Service Updates,Important Notices",zh:"M2Pool 矿池,公告中心,最新公告,矿池动态,服务更新,重要通知"}}},{path:"announcementDetails",name:"AnnouncementDetails",component:()=>Promise.resolve().then((()=>(0,o.default)(s(45116)))),meta:{title:"公告详情",allAuthority:["all"]}},{path:"commonProblem",name:"CommonProblem",component:()=>Promise.resolve().then((()=>(0,o.default)(s(86267)))),meta:{title:"常见问题",allAuthority:["all"]}},{path:"searchResult",name:"SearchResult",component:()=>Promise.resolve().then((()=>(0,o.default)(s(23537)))),meta:{title:"搜索结果",allAuthority:["all"]}},{path:"alerts",name:"Alerts",component:()=>Promise.resolve().then((()=>(0,o.default)(s(63683)))),meta:{title:"警报通知",description:c.default.t("seo.alerts"),allAuthority:["admin","registered","back_admin"],keywords:{en:"Mining Pool,Offline Alarm Setting,Mining Machine Offline",zh:"M2Pool 矿池,离线告警设置,矿机离线"}}},{path:"personalCenter",name:"PersonalCenter",component:()=>Promise.resolve().then((()=>(0,o.default)(s(66683)))),meta:{title:"个人中心页面",description:c.default.t("seo.personalCenter"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Personal Center,Mining Account,Read-Only Page Setup,Security Settings,API Key Generation",zh:"M2Pool 矿池,个人中心,挖矿账户,只读页面设置,安全设置,API密钥生成"}},children:[{path:"personalMining",name:"PersonalMining",component:()=>Promise.resolve().then((()=>(0,o.default)(s(4572)))),meta:{title:"挖矿账户设置页面",description:c.default.t("seo.personalMining"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Personal Center,Mining Account Settings,Coin Accounts",zh:"M2Pool 矿池,个人中心,挖矿账户设置,币种账户"}}},{path:"readOnly",name:"ReadOnly",component:()=>Promise.resolve().then((()=>(0,o.default)(s(70770)))),meta:{title:"只读页面设置",description:c.default.t("seo.readOnly"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Personal Center,Read-Only Page Setting,Mining Pool Sharing",zh:"M2Pool 矿池,个人中心,只读页面设置,矿池分享"}}},{path:"securitySetting",name:"SecuritySetting",component:()=>Promise.resolve().then((()=>(0,o.default)(s(71359)))),meta:{title:"安全设置页面",description:c.default.t("seo.securitySetting"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Security settings, password change",zh:"M2Pool 矿池,安全设置,密码修改"}}},{path:"personal",name:"personal",component:()=>Promise.resolve().then((()=>(0,o.default)(s(36155)))),meta:{title:"个人信息页面",description:c.default.t("seo.personal"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Personal Information, Login History",zh:"M2Pool 矿池,个人信息,登录历史"}}},{path:"miningReport",name:"MiningReport",component:()=>Promise.resolve().then((()=>(0,o.default)(s(65784)))),meta:{title:"挖矿报告页面",description:c.default.t("seo.miningReport"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Mining Report, Subscription Service",zh:"M2Pool 矿池,个人中心,挖矿报告,订阅服务"}}},{path:"personalAPI",name:"PersonalAPI",component:()=>Promise.resolve().then((()=>(0,o.default)(s(89175)))),meta:{title:"API页面",description:c.default.t("seo.personalAPI"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"API Page,API Key Generation",zh:"M2Pool 矿池,个人中心,API 页面,API密钥生成"}}}]}],u=[{path:"/:lang/login",name:"Login",component:()=>Promise.resolve().then((()=>(0,o.default)(s(58883)))),meta:{title:"登录页面",description:"M2Pool 矿池登录页面",allAuthority:["all"],keywords:{en:"M2Pool Mining Pool,login page,account password",zh:"M2Pool 矿池,登录页面,账号密码,安全登录"}}},{path:"/:lang/register",name:"Register",component:()=>Promise.resolve().then((()=>(0,o.default)(s(99675)))),meta:{title:"注册页面",description:"M2Pool 矿池注册页面,新用户可在此便捷注册账号,加入 M2Pool 矿池大家庭。",allAuthority:["all"],keywords:{en:"M2Pool Mining Pool,register page,new user registration,account creation",zh:"M2Pool 矿池,注册页面,新用户注册,账号创建"}}},{path:"/:lang/simulation",name:"simulation",component:()=>Promise.resolve().then((()=>(0,o.default)(s(46763)))),meta:{title:"测试页面",description:"M2Pool 矿池测试页面,用于进行系统功能的模拟和测试,确保矿池稳定运行",allAuthority:["all"],keywords:{en:"M2Pool Mining Pool,test page,system test,stable operation",zh:"M2Pool 矿池,测试页面,系统测试,稳定运行"}}},{path:"/:lang/splitEditorDemo",name:"splitEditorDemo",component:()=>Promise.resolve().then((()=>(0,o.default)(s(73836)))),meta:{title:"分屏编辑器演示",description:"M2Pool 分屏编辑器演示页面,支持编辑、预览、分屏三种模式的富文本编辑器",allAuthority:["all"],keywords:{en:"split screen editor,rich text editor,real-time preview,WYSIWYG editor",zh:"分屏编辑器,富文本编辑器,实时预览,所见即所得编辑器"}}},{path:"/:lang/resetPassword",name:"ResetPassword",component:()=>Promise.resolve().then((()=>(0,o.default)(s(25422)))),meta:{title:"重置密码页面",description:"M2Pool 矿池重置密码页面,用户可在此修改矿池网站账号密码,保障账户安全。",allAuthority:["all"],keywords:{en:"M2Pool Mining Pool,reset password,modify password,account security",zh:"M2Pool 矿池,重置密码,修改密码,账户安全"}}},{path:"/:lang/404",component:()=>Promise.resolve().then((()=>(0,o.default)(s(91064)))),meta:{title:"404页面",description:"M2Pool 矿池 404 页面,当 URL 错误时将跳转至此页面,提示用户页面不存在。",allAuthority:["all"],keywords:{en:"M2Pool Mining Pool,404 page,page not found,error redirect",zh:"M2Pool 矿池,404 页面,页面不存在,错误跳转"}}}],m=[{path:"/:lang",component:l.default,beforeEnter:(t,e,s)=>{const a=t.params.lang,o=["zh","en"];return o.includes(a)?(c.default.locale!==a&&(c.default.locale=a,localStorage.setItem("lang",a)),s()):s(`/en${t.path}`)},children:p},{path:"/",redirect:()=>{const t=localStorage.getItem("lang")||"en";return`/${t}`}},...u,{path:"*",redirect:t=>{const e=localStorage.getItem("lang")||"en";return`/${e}/404`}}],d=new r.default({mode:"history",base:"/",routes:m,strict:!0,scrollBehavior(t,e,s){return s||{x:0,y:0,behavior:"smooth"}}});d.afterEach((()=>{i.default.nextTick((()=>{const t=document.querySelector(".el-main");t&&t.scrollTo({top:0,left:0,behavior:"smooth"}),window.scrollTo({top:0,left:0,behavior:"smooth"})}))})),d.beforeEach(((t,e,s)=>{const a=t.params.lang||localStorage.getItem("lang")||"en";let o=null;try{o=JSON.parse(localStorage.getItem("token"))}catch(r){o=null}let i=null;try{i=JSON.parse(localStorage.getItem("jurisdiction"))}catch(r){i=null}return o?i&&"back_admin"==i.roleKey?"Login"==t.name||"Register"==t.name||i&&i.roleKey&&t.meta.allAuthority.includes(i.roleKey)?s():t.path==`/${a}`?s({path:`/${a}/userManagement`}):((0,n.Message)({showClose:!0,message:"当前身份只能访问后台管理系统",type:"error"}),localStorage.setItem("activeIndex","1"),s({path:`/${a}/broadcast`})):"Login"===t.name||"Register"===t.name?s({path:`/${a}`}):t.meta.allAuthority&&("all"===t.meta.allAuthority[0]||i&&i.roleKey&&t.meta.allAuthority.includes(i.roleKey))?s():((0,n.Message)({showClose:!0,message:c.default.t("mining.jurisdiction"),type:"error"}),s({path:`/${a}/login`})):(console.log("未登录"),t.meta.allAuthority&&("all"===t.meta.allAuthority[0]||i&&i.roleKey&&t.meta.allAuthority.includes(i.roleKey))?s():((0,n.Message)({showClose:!0,message:c.default.t("mining.jurisdiction"),type:"error"}),s({path:`/${a}/login`})))}));const v=r.default.prototype.push;r.default.prototype.push=function(t){return v.call(this,t).catch((t=>t))};e["default"]=d},41645:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(17279));e.A={mixins:[o.default]}},42440:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},43232:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(42440));e.A={mixins:[o.default]}},49704:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e.encryption=void 0;var o=a(s(47522));const i="MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwHkUfT2GAupZAL5DMnwETSywuPLIKUAR3hjhKvOls2u0YtIHlcfjhqGBfg0NEPi6Ig2GmK5KnjcdIppfNfBpSiJBEtMwM2E7WJbXBsYU0B4wB86XGW9fFQi0e8pGYvVbKvwP9MQeLnUC4xf2L+6Nw3xQZ9GAsE6GUJ4tUOSKK/QIDAQAB",r=t=>{const e=new o.default;e.setPublicKey(i);let s=e.encrypt(t);return s};e.encryption=r},50736:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(20116);var a=s(82908);e["default"]={data(){return{activeName:"1",activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"}}},mounted(){this.$route.query.coin&&(this.activeCoin=this.$route.query.coin,this.imgUrl=this.$route.query.imgUrl,this.currencyPath=this.$route.query.imgUrl,this.params.coin=this.$route.query.coin,this.$addStorageEvent(1,"activeCoin",JSON.stringify(this.activeCoin)),this.activeItem=this.currencyList.find((t=>t.value==this.params.coin)));let t=localStorage.getItem("activeCoin");if(this.activeCoin=JSON.parse(t),window.addEventListener("setItem",(()=>{let t=localStorage.getItem("activeCoin");this.activeCoin=JSON.parse(t)})),this.activeCoin)if("nexa"==this.activeCoin||"rxd"==this.activeCoin){this.openAPI=!0;try{this.pageTitle=this.currencyList.find((t=>t.value==this.activeCoin)).name,this.imgUrl=this.currencyList.find((t=>t.value==this.activeCoin)).imgUrl}catch(e){console.log(e)}}else this.openAPI=!1;else this.activeCoin="nexa",this.imgUrl=`${this.$baseApi}/img/nexa.png`,this.currencyPath=`${this.$baseApi}/img/nexa.png`,this.params.coin="nexa",this.$addStorageEvent(1,"activeCoin",JSON.stringify(this.activeCoin)),this.openAPI=!0},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))},clickCurrency(t){this.currencyPath=t.imgUrl,this.params.coin=t.value,this.activeItem=t},handelCurrencyLabel(t){let e=this.currencyList.find((e=>e.value==t));return e?e.label:""}}}},54211:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(7588);var o=a(s(84994));e["default"]={data(){return{componentId:this.$options.name||"unnamed-component"}},methods:{setLoading(t,e){this[t]=e,o.default.setLoading(this.componentId,t,e)},getLoading(t){return o.default.getLoading(this.componentId,t)}},mounted(){this._resetHandler=t=>{const{componentsToUpdate:e}=t.detail;e.forEach((t=>{t.componentId===this.componentId&&(this[t.stateKey]=!1)}))},window.addEventListener("reset-loading-states",this._resetHandler)},beforeDestroy(){window.removeEventListener("reset-loading-states",this._resetHandler);const t=o.default.resetComponentLoadingStates(this.componentId);t.forEach((t=>{this[t.stateKey]=!1}))}}},55129:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=a(s(66848)),i=a(s(93518));o.default.use(i.default);e["default"]=new i.default.Store({state:{isLoggedIn:!1,userInfo:null},getters:{isLoggedIn:t=>t.isLoggedIn,userInfo:t=>t.userInfo},mutations:{SET_LOGIN_STATE(t,e){t.isLoggedIn=e},SET_USER_INFO(t,e){t.userInfo=e},CLEAR_USER_DATA(t){t.isLoggedIn=!1,t.userInfo=null}},actions:{async logout({commit:t}){try{return localStorage.removeItem("token"),localStorage.removeItem("userEmail"),localStorage.removeItem("jurisdiction"),t("CLEAR_USER_DATA"),o.default.prototype.$bus&&o.default.prototype.$bus.$emit("user-logged-out"),!0}catch(e){return console.error("退出登录失败:",e),!1}}},modules:{}})},55603:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;a(s(86425));var o=a(s(35221));e.A={mixins:[o.default],mounted(){},methods:{}}},57196:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.dgbsCourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),t._v("Dgb(skein)")]),e("span",[t._v("1")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://dgbs.m2pool.com:33350"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://dgbs.m2pool.com:33350")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://dgbs.m2pool.com:33355 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://dgbs.m2pool.com:33355")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.digibyte.org/"}},[t._v("https://www.digibyte.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.binance.com/"}},[t._v("Binance")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.okx.com/"}},[t._v("okx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.dgbsCourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Dgb(skein)")])]),e("span",{staticClass:"coin quota"},[t._v("1")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://dgbs.m2pool.com:33350  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://dgbs.m2pool.com:33350")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://dgbs.m2pool.com:33355   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://dgbs.m2pool.com:33355")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://www.digibyte.org/"}},[t._v("https://www.digibyte.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.binance.com/"}},[t._v("Binance")]),t._v("、"),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.okx.com/"}},[t._v("okx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},58204:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(61256));e.A={mixins:[o.default]}},61034:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(30140),o=s(58204),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"708f8544",null),n=l.exports},61256:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},65035:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(98394),o=s(8705),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"0779e610",null),n=l.exports},65484:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.MONAcourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/mona.svg"),alt:"coin",loading:"lazy"}}),t._v("Mona")]),e("span",[t._v("1")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://mona.m2pool.com:33320"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://mona.m2pool.com:33320")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://mona.m2pool.com:33325 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://mona.m2pool.com:33325")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://monacoin.org/"}},[t._v("https://monacoin.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/mona.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.MONAcourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/mona.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Mona")])]),e("span",{staticClass:"coin quota"},[t._v("1")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://mona.m2pool.com:33320  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://mona.m2pool.com:33320")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://mona.m2pool.com:33325   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://mona.m2pool.com:33325")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://monacoin.org/"}},[t._v("https://monacoin.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},66496:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(94368));e.A={mixins:[o.default]}},66850:function(t,e,s){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.tutorialLoading,expression:"tutorialLoading"}],staticClass:"AccessMiningPoolMain"},[t.openAPI?e("section",{staticClass:"openAPI"},[t.$isMobile?e("section",[t.contentShow?e("section",{staticClass:"tutorialContent"},[e("p",{staticClass:"backMenu",on:{click:t.backMenu}},[t._v(t._s(t.$t("course.backMenu")||"返回挖矿教程目录")+" ")]),e("section",{staticClass:"rightContent"},[t.tutorialLoading?e("div",{staticClass:"loading-container"},[e("span",{staticClass:"loading-text"},[t._v(t._s(t.$t("home.loadingContent")||"正在加载内容..."))])]):t.info&&t.info.trim()?e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.info)}}):e("div",{staticClass:"no-content"},[e("p",[t._v(t._s(t.$t("home.noContent")||"暂无内容"))])])])]):e("section",{staticClass:"menu2"},[e("ul",t._l(t.navList,(function(s){return e("li",{key:s.id,class:{active:t.activeCoin==s.coin},on:{click:function(e){return t.clickJump(s)}}},[e("img",{staticClass:"img2",attrs:{src:s.titleUrl,alt:"coin"}}),e("span",[t._v(" "+t._s(s.title)+" ")])])})),0)])]):e("section",{staticClass:"AccessMiningPool"},[e("section",{staticClass:"menu"},[e("ul",t._l(t.navList,(function(s){return e("li",{key:s.id,class:{active:t.activeCoin==s.coin},on:{click:function(e){return t.clickJump(s)}}},[e("img",{attrs:{src:s.titleUrl,alt:"coin"}}),e("span",[t._v(" "+t._s(s.title)+" ")])])})),0)]),e("section",{staticClass:"tutorialContent"},[e("section",{staticClass:"rightContent"},[t.tutorialLoading?e("div",{staticClass:"loading-container"},[e("span",{staticClass:"loading-text"},[t._v(t._s(t.$t("home.loadingContent")||"正在加载内容..."))])]):t.info&&t.info.trim()?e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.info)}}):e("div",{staticClass:"no-content"},[e("p",[t._v(t._s(t.$t("home.noContent")||"暂无内容"))])])])])])]):e("section",[e("div",{staticClass:"notOpen"},[e("p",[t._v(t._s(t.$t("course.notOpenCurrency")))]),t._m(0)])])])},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"imgBox"},[e("img",{attrs:{src:s(53263),alt:"Not open",loading:"lazy"}})])}]},68311:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},70874:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},76177:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(65484),o=s(41645),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"ea469a34",null),n=l.exports},79894:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.ENXcourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/enx.svg"),alt:"coin",loading:"lazy"}}),t._v("Entropyx(enx)")]),e("span",[t._v("5000")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://enx.m2pool.com:33380"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://enx.m2pool.com:33380")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://enx.m2pool.com:33385 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://enx.m2pool.com:33385")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://entropyx.org/"}},[t._v("https://entropyx.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/enx.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.ENXcourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/enx.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Entropyx(enx)")])]),e("span",{staticClass:"coin quota"},[t._v("5000 ")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://enx.m2pool.com:33380  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://enx.m2pool.com:33380")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://enx.m2pool.com:33385   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://enx.m2pool.com:33385")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://entropyx.org/"}},[t._v("https://entropyx.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},82066:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(70874));e.A={mixins:[o.default]}},82908:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.$addStorageEvent=void 0,e.Debounce=a,e.getImageUrl=void 0,e.throttle=o;const s=function(t,e,s){if(1===t){var a=document.createEvent("StorageEvent");const t={setItem:function(t,e){localStorage.setItem(t,e),a.initStorageEvent("setItem",!1,!1,t,null,e,null,null),window.dispatchEvent(a)}};return t.setItem(e,s)}{a=document.createEvent("StorageEvent");const t={setItem:function(t,e){sessionStorage.setItem(t,e),a.initStorageEvent("setItem",!1,!1,t,null,e,null,null),window.dispatchEvent(a)}};return t.setItem(e,s)}};function a(t,e){let s=null;return function(){let a=this,o=arguments;clearTimeout(s),s=setTimeout((function(){t.apply(a,o)}),e)}}function o(t,e){let s,a,o;return function(){const i=this,r=arguments;s?(clearTimeout(a),a=setTimeout((function(){Date.now()-o>=e&&(t.apply(i,r),o=Date.now())}),Math.max(e-(Date.now()-o),0))):(t.apply(i,r),o=Date.now(),s=!0)}}e.$addStorageEvent=s;const i=t=>{const e="https://test.m2pool.com/";return t?t.startsWith("http")?t.replace("http://test.m2pool.com",e):`${e}${t.startsWith("/")?"":"/"}${t}`:""};e.getImageUrl=i},84403:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e.line=e.bar=void 0;s(3574);e.line={legend:{right:100,formatter:function(t){return t}},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:[{position:"left",type:"value"},{position:"right",splitNumber:"5",show:!0},{position:"right",splitNumber:"5",show:!1},{position:"right",splitNumber:"5",show:!1}],dataZoom:[{type:"inside",start:10,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:10,end:100}],series:[{name:"line",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},data:[150,230,224,218,135,147,260]}]},e.bar={tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],axisTick:{alignWithLabel:!0}}],yAxis:[{type:"value",show:!0}],series:[{name:"Direct",type:"bar",barWidth:"60%",data:[10,52,200,334,390,330,220],itemStyle:{borderRadius:[100,100,0,0],color:"#7645EE"}}]}},84994:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(7588);class a{constructor(){this.loadingStates=new Map,this.setupListeners()}setupListeners(){window.addEventListener("network-retry-complete",(()=>{this.resetAllLoadingStates()}))}setLoading(t,e,s){const a=`${t}:${e}`;this.loadingStates.set(a,{value:s,timestamp:Date.now()})}getLoading(t,e){const s=`${t}:${e}`,a=this.loadingStates.get(s);return!!a&&a.value}resetAllLoadingStates(){const t=[];this.loadingStates.forEach(((e,s)=>{if(!0===e.value){const[e,a]=s.split(":");t.push({componentId:e,stateKey:a}),this.loadingStates.set(s,{value:!1,timestamp:Date.now()})}})),window.dispatchEvent(new CustomEvent("reset-loading-states",{detail:{componentsToUpdate:t}}))}resetComponentLoadingStates(t){const e=[];return this.loadingStates.forEach(((s,a)=>{if(a.startsWith(`${t}:`)&&!0===s.value){const s=a.split(":")[1];e.push({componentId:t,stateKey:s}),this.loadingStates.set(a,{value:!1,timestamp:Date.now()})}})),e}}const o=new a;e["default"]=o},85278:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(39219),o=s(82066),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"76355f4e",null),n=l.exports},86272:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(30926),o=s(55603),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"10e0c45a",null),n=l.exports},86964:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(50736));e.A={mixins:[o.default]}},87676:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(66850),o=s(9733),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"a035ce64",null),n=l.exports},87716:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},88125:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(24727));e.A={mixins:[o.default]}},89350:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(57196),o=s(4460),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"5b6cc974",null),n=l.exports},94368:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(20116);var a=s(82908);e["default"]={data(){return{activeCoin:"nexa",activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))},clickCurrency(t){this.currencyPath=t.imgUrl,this.params.coin=t.value,this.activeItem=t},handelCurrencyLabel(t){let e=this.currencyList.find((e=>e.value==t));return e?e.label:""}}}},98394:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.alphCourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/alph.svg"),alt:"coin",loading:"lazy"}}),t._v("Alephium(alph)")]),e("span",[t._v("1")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://alph.m2pool.com:33390"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://alph.m2pool.com:33390")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://alph.m2pool.com:33395 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://alph.m2pool.com:33395")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://docs.alephium.org/"}},[t._v("https://docs.alephium.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/alph.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.alphCourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/alph.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Alephium(alph)")])]),e("span",{staticClass:"coin quota"},[t._v("1 ")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://alph.m2pool.com:33390  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://alph.m2pool.com:33390")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://alph.m2pool.com:33395   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://alph.m2pool.com:33395")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://docs.alephium.org/"}},[t._v("https://docs.alephium.org/ ")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},98986:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(7588);e["default"]={data(){return{recoveryMethods:[],methodParams:{}}},methods:{registerRecoveryMethod(t,e){"function"!==typeof this[t]||this.recoveryMethods.includes(t)||(this.recoveryMethods.push(t),this.methodParams[t]=e,console.log(`[NetworkRecovery] 注册方法: ${t}`))},updateMethodParams(t,e){this.recoveryMethods.includes(t)&&(this.methodParams[t]=e)},handleNetworkRecovery(){console.log("[NetworkRecovery] 网络已恢复,正在刷新数据..."),this.recoveryMethods.forEach((t=>{if("function"===typeof this[t]){const e=this.methodParams[t];console.log(`[NetworkRecovery] 重新调用方法: ${t}`),this[t](e)}}))}},mounted(){window.addEventListener("network-retry-complete",this.handleNetworkRecovery)},beforeDestroy(){window.removeEventListener("network-retry-complete",this.handleNetworkRecovery)}}}}]); \ No newline at end of file diff --git a/mining-pool/test/js/app-72600b29.ead62671.js b/mining-pool/test/js/app-72600b29.ead62671.js new file mode 100644 index 0000000..a866cab --- /dev/null +++ b/mining-pool/test/js/app-72600b29.ead62671.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[545],{7330:function(t,i,e){var a=e(91774)["default"];Object.defineProperty(i,"__esModule",{value:!0}),i["default"]=void 0,e(44114),e(18111),e(22489),e(20116),e(7588);var s=a(e(3574)),n=e(22327),o=e(82908);i["default"]={data(){return{activeName:"power",option:{legend:{right:100,show:!0,formatter:function(t){return t}},grid:{},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,formatter:function(t){var i;i=t[0].axisValueLabel;for(let e=0;e<=t.length-1;e++)"Rejection rate"==t[e].seriesName||"拒绝率"==t[e].seriesName?i+=`
          ${t[e].marker} ${t[e].seriesName}      ${t[e].value}%`:i+=`
          ${t[e].marker} ${t[e].seriesName}      ${t[e].value}`;return i},axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:[]},yAxis:[{position:"left",type:"value",name:"GH/s",nameTextStyle:{padding:[0,0,0,-40]}},{position:"right",splitNumber:"5",show:!0,min:0,max:100,splitLine:{show:!1}}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2},{type:"inside",start:0,end:100}],series:[{name:"总算力",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[]},{name:"Refusal rate",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[],yAxisIndex:1}]},barOption:{tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"8%",bottom:"3%",containLabel:!0},xAxis:[{name:"MH/s",type:"category",data:[],axisTick:{alignWithLabel:!0}}],yAxis:[{type:"value",show:!0,name:"Pcs",nameTextStyle:{padding:[0,0,0,-25]}}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"count",type:"bar",barWidth:"60%",data:[],itemStyle:{borderRadius:[100,100,0,0],color:"#7645EE"}}]},miniOption:{legend:{right:100,show:!1,formatter:function(t){return t}},grid:{left:"5%",containLabel:!0},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,formatter:function(t){var i;i=t[0].axisValueLabel;for(let e=0;e<=t.length-1;e++)"Rejection rate"==t[e].seriesName||"拒绝率"==t[e].seriesName?i+=`
          ${t[e].marker} ${t[e].seriesName}      ${t[e].value}%`:i+=`
          ${t[e].marker} ${t[e].seriesName}      ${t[e].value}`;return i},axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},axisLabel:{},data:["07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1"]},yAxis:[{position:"left",type:"value",name:"MH/s",nameTextStyle:{padding:[0,0,0,-40]}},{position:"right",splitNumber:"5",show:!0,splitLine:{show:!1}},{position:"right",splitNumber:"5",show:!1},{position:"right",splitNumber:"5",show:!1}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"Computational power",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63]},{name:"Refusal rate",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63],yAxisIndex:1}]},onLineOption:{legend:{right:100,show:!1,formatter:function(t){return t}},grid:{left:"5%",containLabel:!0},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,formatter:function(t){var i;return i=t[0].axisValueLabel,i+=`
          ${t[0].marker} ${t[0].seriesName}     ${t[0].value}\n
          ${t[1].marker} ${t[1].seriesName}     ${t[1].value}% \n `,i},axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:["07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1"]},yAxis:[{position:"left",type:"value",name:"MH/s",nameTextStyle:{padding:[0,0,0,-40]}},{position:"right",splitNumber:"5",show:!0},{position:"right",splitNumber:"5",show:!1},{position:"right",splitNumber:"5",show:!1}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"Computational power",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63]},{name:"Refusal rate",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63],yAxisIndex:1}]},OffLineOption:{legend:{right:100,show:!1,formatter:function(t){return t}},grid:{left:"5%",containLabel:!0},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,formatter:function(t){var i;return i=t[0].axisValueLabel,i+=`
          ${t[0].marker} ${t[0].seriesName}     ${t[0].value}\n
          ${t[1].marker} ${t[1].seriesName}     ${t[1].value}% \n `,i},axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:["07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1"]},yAxis:[{position:"left",type:"value",name:"MH/s",nameTextStyle:{padding:[0,0,0,-40]}},{position:"right",splitNumber:"5",show:!0,splitLine:{show:!1}}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"Computational power",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63]},{name:"Refusal rate",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63],yAxisIndex:1}]},sunTabActiveName:"all",Accordion:"",currentPage:1,params:{account:"lx888",coin:"grs"},PowerParams:{account:"lx888",coin:"grs",interval:"rt"},PowerDistribution:{account:"lx888",coin:"grs",interval:"rt"},MinerListParams:{account:"lx888",coin:"grs",type:"0",filter:"",limit:50,page:1,sort:"30m",collation:"asc"},activeName2:"power",IncomeParams:{account:"lx888",coin:"grs",limit:10,page:1},OutcomeParams:{account:"lx888",coin:"grs",limit:10,page:1},MinerAccountData:{},MinerListData:{},intervalList:[{value:"rt",label:"home.realTime"},{value:"1d",label:"home.day"}],HistoryIncomeData:[],HistoryOutcomeData:[],currentPageIncome:1,MinerListTableData:[],AccountPowerDistributionintervalList:[{value:"rt",label:"home.realTime"},{value:"1d",label:"home.day"}],miniLoading:!1,search:"",input2:"",timeActive:"rt",barActive:"rt",powerChartLoading:!1,barChartLoading:!1,miniChartParams:{miner:"",coin:"grs"},ids:"smallChart107fx61",activeMiner:"",miniId:"",MinerListLoading:!1,miner:"miner",accountId:"",currentPageMiner:1,minerTotal:0,accountItem:{},HistoryIncomeTotal:0,HistoryOutcomeTotal:0,stateList:[{value:"1",label:"mining.onLine"},{value:"2",label:"mining.offLine"}],Sort30:"asc",Sort1h:"asc",paymentStatusList:[{value:0,label:"mining.paymentInProgress"},{value:1,label:"mining.paymentCompleted"}],lang:"zh"}},computed:{sortedMinerListTableData(){return this.MinerListTableData?[...this.MinerListTableData].sort(((t,i)=>{const e=String(t.status),a=String(i.status);return"2"===e&&"2"!==a?-1:"2"!==e&&"2"===a?1:0})):[]}},watch:{$route(t,i){this.accountItem=JSON.parse(localStorage.getItem("accountItem")),this.accountId=this.accountItem.id,this.params.account=this.accountItem.ma,this.params.coin=this.accountItem.coin,this.PowerParams.account=this.accountItem.ma,this.PowerParams.coin=this.accountItem.coin,this.PowerDistribution.account=this.accountItem.ma,this.PowerDistribution.coin=this.accountItem.coin,this.MinerListParams.account=this.accountItem.ma,this.MinerListParams.coin=this.accountItem.coin,this.OutcomeParams.account=this.accountItem.ma,this.OutcomeParams.coin=this.accountItem.coin,this.IncomeParams.account=this.accountItem.ma,this.IncomeParams.coin=this.accountItem.coin,this.getMinerAccountInfoData(this.params),this.getMinerAccountPowerData(this.PowerParams),this.getAccountPowerDistributionData(this.PowerDistribution),this.getMinerListData(this.MinerListParams),this.getHistoryIncomeData(this.IncomeParams),this.getHistoryOutcomeData(this.OutcomeParams)},"$i18n.locale":{handler(t){location.reload()}}},mounted(){this.lang=this.$i18n.locale,this.accountItem=JSON.parse(localStorage.getItem("accountItem")),this.accountId=this.accountItem.id,this.params.account=this.accountItem.ma,this.params.coin=this.accountItem.coin,this.PowerParams.account=this.accountItem.ma,this.PowerParams.coin=this.accountItem.coin,this.PowerDistribution.account=this.accountItem.ma,this.PowerDistribution.coin=this.accountItem.coin,this.MinerListParams.account=this.accountItem.ma,this.MinerListParams.coin=this.accountItem.coin,this.OutcomeParams.account=this.accountItem.ma,this.OutcomeParams.coin=this.accountItem.coin,this.IncomeParams.account=this.accountItem.ma,this.IncomeParams.coin=this.accountItem.coin,this.$isMobile&&(this.option.yAxis[1].show=!1,this.option.grid.left="16%",this.option.grid.right="5%",this.option.grid.top="10%",this.option.grid.bottom="45%",this.option.legend.bottom=18,this.option.legend.right="30%",this.option.xAxis.axisLabel={interval:8,rotate:70},this.barOption.grid.right="16%",this.miniOption.yAxis[1].show=!1),this.getMinerAccountInfoData(this.params),this.getMinerAccountPowerData(this.PowerParams),this.getAccountPowerDistributionData(this.PowerDistribution),this.getMinerListData(this.MinerListParams),this.getHistoryIncomeData(this.IncomeParams),this.getHistoryOutcomeData(this.OutcomeParams),this.registerRecoveryMethod("getMinerAccountInfoData",this.params),this.registerRecoveryMethod("getMinerAccountPowerData",this.PowerParams),this.registerRecoveryMethod("getAccountPowerDistributionData",this.PowerDistribution),this.registerRecoveryMethod("getMinerListData",this.MinerListParams),this.registerRecoveryMethod("getHistoryIncomeData",this.IncomeParams),this.registerRecoveryMethod("getHistoryOutcomeData",this.OutcomeParams)},methods:{inCharts(){this.myChart=s.init(document.getElementById("powerChart")),this.option.series[0].name=this.$t("home.finallyPower"),this.option.series[1].name=this.$t("home.rejectionRate"),this.myChart.setOption(this.option),window.addEventListener("resize",(0,o.throttle)((()=>{this.myChart&&this.myChart.resize()}),200))},smallInCharts(t){this.$isMobile&&(this.miniOption.yAxis[1].show=!1),t.series[0].name=this.$t("home.minerSComputingPower"),t.series[1].name=this.$t("home.rejectionRate"),this.miniChart.setOption(t,!0),window.addEventListener("resize",(0,o.throttle)((()=>{this.miniChart&&this.miniChart.resize()}),200))},barInCharts(){null==this.barChart&&(this.barChart=s.init(document.getElementById("barChart"))),this.barOption.series[0].name=this.$t("home.numberOfMiningMachines"),this.barChart.setOption(this.barOption),window.addEventListener("resize",(0,o.throttle)((()=>{this.barChart&&this.barChart.resize()}),200))},async getMinerAccountInfoData(t){const i=await(0,n.getMinerAccountInfo)(t);this.MinerAccountData=i.data},async getMinerAccountPowerData(t){this.setLoading("powerChartLoading",!0);const i=await(0,n.getMinerAccountPower)(t);if(!i)return this.setLoading("powerChartLoading",!1),void(this.myChart&&this.myChart.dispose());let e=i.data,a=[],s=[],o=[];e.forEach((i=>{i.date.includes("T")&&"rt"==t.interval?i.date=`${i.date.split("T")[0]} ${i.date.split("T")[1].split(".")[0]}`:i.date.includes("T")&&"1d"==t.interval&&(i.date=i.date.split("T")[0]),a.push(i.date),s.push(i.pv.toFixed(2)),o.push((100*i.rejectRate).toFixed(4))}));let r=Math.max(...o);r=Math.round(3*r),r>0&&(this.option.yAxis[1].max=r),this.option.xAxis.data=a,this.option.series[0].data=s,this.option.series[1].data=o,this.inCharts(),this.setLoading("powerChartLoading",!1)},async getAccountPowerDistributionData(t){this.setLoading("barChartLoading",!0);const i=await(0,n.getAccountPowerDistribution)(t);let e=i.data,a=[],s=[];e.forEach((t=>{a.push(`${t.low}-${t.high}`),s.push(t.count)})),this.barOption.xAxis[0].data=a,this.barOption.series[0].data=s,this.barInCharts(),this.setLoading("barChartLoading",!1)},formatNumber(t){const i=Math.floor(t),e=Math.floor(100*(t-i));return`${i}.${String(e).padStart(2,"0")}`},async getMinerListData(t){this.setLoading("MinerListLoading",!0);const i=await(0,n.getMinerList)(t);i&&200==i.code&&(this.MinerListData=i.data,this.MinerListData.submit&&this.MinerListData.submit.includes("T")&&(this.MinerListData.submit=`${this.MinerListData.submit.split("T")[0]} ${this.MinerListData.submit.split("T")[1].split(".")[0]}`),this.MinerListTableData=i.data.rows,this.MinerListData.rate=this.formatNumber(this.MinerListData.rate),this.MinerListData.dailyRate=this.formatNumber(this.MinerListData.dailyRate),this.MinerListTableData.forEach((t=>{t.submit.includes("T")&&(t.submit=`${t.submit.split("T")[0]} ${t.submit.split("T")[1].split(".")[0]}`),t.rate=this.formatNumber(t.rate),t.dailyRate=this.formatNumber(t.dailyRate)})),this.minerTotal=i.data.total),this.setLoading("MinerListLoading",!1)},getMinerPowerData:(0,o.Debounce)((async function(t){this.setLoading("miniLoading",!0);const i=await(0,n.getMinerPower)(t);if(!i)return void this.setLoading("miniLoading",!1);let e=i.data,a=[],o=[],r=[];e.forEach((i=>{i.date.includes("T")&&"1h"==t.interval?i.date=`${i.date.split("T")[0]} ${i.date.split("T")[1].split(".")[0]}`:i.date.includes("T")&&"1d"==t.interval&&(i.date=i.date.split("T")[0]),i.date=`${i.date.split("T")[0]} ${i.date.split("T")[1].split(".")[0]}`,a.push(i.date),o.push(i.pv.toFixed(2)),r.push((100*i.rejectRate).toFixed(4))})),this.miniOption.xAxis.data=a,this.miniOption.series[0].data=o,this.miniOption.series[1].data=r,this.miniOption.series[0].name=this.$t("home.finallyPower"),this.miniOption.series[1].name=this.$t("home.rejectionRate"),this.ids=`SmallChart${this.miniId}`,this.miniChart=s.init(document.getElementById(this.ids));let l=Math.max(...r);l=Math.round(3*l),l>0&&(this.miniOption.yAxis[1].max=l),this.$nextTick((()=>{this.smallInCharts(this.miniOption)})),console.log(this.miniOption,5656565),this.setLoading("miniLoading",!1)}),200),getMinerPowerOnLine:(0,o.Debounce)((async function(t){this.setLoading("miniLoading",!0);const i=await(0,n.getMinerPower)(t);if(!i)return void this.setLoading("miniLoading",!1);let e=i.data,a=[],r=[],l=[];e.forEach((t=>{t.date.includes("T")?a.push(`${t.date.split("T")[0]} ${t.date.split("T")[1].split(".")[0]}`):a.push(t.date),r.push(t.pv.toFixed(2)),l.push((100*t.rejectRate).toFixed(4))})),this.onLineOption.xAxis.data=a,this.onLineOption.series[0].data=r,this.onLineOption.series[1].data=l,this.onLineOption.series[0].name=this.$t("home.finallyPower"),this.onLineOption.series[1].name=this.$t("home.rejectionRate"),this.ids=`Small${this.miniId}`,this.miniChartOnLine=s.init(document.getElementById(this.ids)),this.$nextTick((()=>{this.miniChartOnLine.setOption(this.onLineOption,!0),window.addEventListener("resize",(0,o.throttle)((()=>{this.miniChartOnLine&&this.miniChartOnLine.resize()}),200))})),this.setLoading("miniLoading",!1)}),200),getMinerPowerOffLine:(0,o.Debounce)((async function(t){this.setLoading("miniLoading",!0);const i=await(0,n.getMinerPower)(t);if(!i)return void this.setLoading("miniLoading",!1);let e=i.data,a=[],r=[],l=[];e.forEach((t=>{t.date.includes("T")?a.push(`${t.date.split("T")[0]} ${t.date.split("T")[1].split(".")[0]}`):a.push(t.date),r.push(t.pv.toFixed(2)),l.push((100*t.rejectRate).toFixed(4))})),this.OffLineOption.xAxis.data=a,this.OffLineOption.series[0].data=r,this.OffLineOption.series[1].data=l,this.OffLineOption.series[0].name=this.$t("home.finallyPower"),this.OffLineOption.series[1].name=this.$t("home.rejectionRate"),this.ids=`SmallOff${this.miniId}`,this.miniChartOff=s.init(document.getElementById(this.ids)),this.$nextTick((()=>{this.miniChartOff.setOption(this.OffLineOption,!0),window.addEventListener("resize",(0,o.throttle)((()=>{this.miniChartOff&&this.miniChartOff.resize()}),200))})),this.setLoading("miniLoading",!1)}),200),async getHistoryIncomeData(t){const i=await(0,n.getHistoryIncome)(t);i&&200==i.code&&(this.HistoryIncomeData=i.rows,this.HistoryIncomeTotal=i.total,this.HistoryIncomeData.forEach((t=>{t.date.includes("T")&&(t.date=t.date.split("T")[0])})))},async getHistoryOutcomeData(t){const i=await(0,n.getHistoryOutcome)(t);i&&200==i.code&&(this.HistoryOutcomeData=i.rows,this.HistoryOutcomeTotal=i.total,this.HistoryOutcomeData.forEach((t=>{t.date.includes("T")&&(t.date=`${t.date.split("T")[0]} `)})))},handelMiniChart:(0,o.throttle)((function(t,i){this.Accordion&&(this.miniId=t,this.miner=i,this.$nextTick((()=>{this.getMinerPowerData({miner:i,coin:this.params.coin,account:this.params.account})})))}),1e3),handelOnLineMiniChart:(0,o.throttle)((function(t,i){this.Accordion&&(this.miniId=t,this.$nextTick((()=>{this.getMinerPowerOnLine({miner:i,coin:this.params.coin,account:this.params.account})})))}),1e3),handelMiniOffLine:(0,o.throttle)((function(t,i){this.Accordion&&(this.miniId=t,this.$nextTick((()=>{this.getMinerPowerOffLine({miner:i,coin:this.params.coin,account:this.params.account})})))}),1e3),handleClick(){switch(this.activeName){case"power":this.inCharts();break;case"miningMachineDistribution":this.distributionInCharts();break;default:break}},handleClick2(t){switch(this.activeName2=t,this.search="",this.MinerListParams.filter="",this.Accordion="",this.IncomeParams.limit=10,this.MinerListParams.limit=50,this.OutcomeParams.limit=10,this.activeName2){case"power":this.getMinerListData(this.MinerListParams);break;case"miningMachine":this.getHistoryIncomeData(this.IncomeParams);break;case"payment":this.getHistoryOutcomeData(this.OutcomeParams);break;default:break}},onlineStatus(t){switch(this.Accordion="",this.search="",this.MinerListParams.filter="",this.sunTabActiveName=t,this.sunTabActiveName){case"all":this.MinerListParams.type=0;break;case"onLine":this.MinerListParams.type=1;break;case"off-line":this.MinerListParams.type=2;break;default:break}this.getMinerListData(this.MinerListParams)},handleInterval(t){this.PowerParams.interval=t,this.timeActive=t,this.getMinerAccountPowerData(this.PowerParams)},distributionInterval(t){this.PowerDistribution.interval=t,this.barActive=t,this.getAccountPowerDistributionData(this.PowerDistribution)},handelSearch(){this.MinerListParams.filter=this.search,this.getMinerListData(this.MinerListParams)},handleSizeChange(t){console.log(`每页 ${t} 条`),this.OutcomeParams.limit=t,this.OutcomeParams.page=1,this.getHistoryOutcomeData(this.OutcomeParams),this.currentPage=1},handleCurrentChange(t){console.log(`当前页: ${t}`),this.OutcomeParams.page=t,this.getHistoryOutcomeData(this.OutcomeParams)},handleSizeChangeIncome(t){console.log(`每页 ${t} 条`),this.IncomeParams.limit=t,this.IncomeParams.page=1,this.getHistoryIncomeData(this.IncomeParams),this.currentPageIncome=1},handleCurrentChangeIncome(t){console.log(`当前页: ${t}`),this.IncomeParams.page=t,this.getHistoryIncomeData(this.IncomeParams)},handleSizeMiner(t){console.log(`每页 ${t} 条`),this.MinerListParams.limit=t,this.MinerListParams.page=1,this.getMinerListData(this.MinerListParams),this.currentPageMiner=1},handleCurrentMiner(t){console.log(`当前页: ${t}`),this.MinerListParams.page=t,this.getMinerListData(this.MinerListParams)},handelStateList(t){return this.stateList.find((i=>i.value==t)).label||""},handleSort(t){this.MinerListParams.sort=t,"asc"==this.MinerListParams.collation?this.MinerListParams.collation="desc":this.MinerListParams.collation="asc",this.getMinerListData(this.MinerListParams)},handleSort30(){"asc"==this.MinerListParams.collation[0]?this.MinerListParams.collation[0]="desc":this.MinerListParams.collation[0]="asc",this.getMinerListData(this.MinerListParams)},handleSort1h(){"asc"==this.MinerListParams.collation[1]?this.MinerListParams.collation[1]="desc":this.MinerListParams.collation[1]="asc",this.getMinerListData(this.MinerListParams)},handelTimeInterval(t){if(t){var i=60*t,e=Math.floor(i/86400),a=Math.floor(i%86400/3600),s=Math.floor(i%3600/60);if(e)return`(${e}${this.$t("personal.day")} ${a}${this.$t("personal.hour")} ${s}${this.$t("personal.minute")} ${this.$t("personal.front")})`;if(a)return`(${a}${this.$t("personal.hour")} ${s}${this.$t("personal.minute")} ${this.$t("personal.front")})`;if(s)return`( ${s}${this.$t("personal.minute")} ${this.$t("personal.front")})`}},jumpPage(){this.$router.push({path:`/${this.lang}/personalCenter/personalMining`,query:{id:this.accountId,coin:this.params.coin,ma:this.params.account}})},async copyTxid(t){let i=`id${t}`,e=document.getElementById(i);try{await navigator.clipboard.writeText(e.textContent),this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})}catch(a){console.log(a),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}},handelPayment(t){if(t||0==t){let i=this.paymentStatusList.find((i=>i.value==t));return i.label}return""},clickCopyAddress(t){var i=document.createElement("input");i.value=t.address,document.body.appendChild(i);try{i.select();const t=document.execCommand("copy");t?this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"}):this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}catch(error){this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}finally{document.body.contains(i)?document.body.removeChild(i):console.log("临时输入框不是 body 的子节点,无法移除。")}},clickCopyTxid(t){var i=document.createElement("input");i.value=t.txid,document.body.appendChild(i);try{i.select();const t=document.execCommand("copy");t?this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"}):this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}catch(error){this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}finally{document.body.contains(i)?document.body.removeChild(i):console.log("临时输入框不是 body 的子节点,无法移除。")}},handelTxid(t){if(this.accountItem.coin.includes("dgb"))window.open(`https://chainz.cryptoid.info/dgb/tx.dws?${t}.htm`);else switch(this.accountItem.coin){case"nexa":window.open(`https://explorer.nexa.org/tx/${t}`);break;case"mona":window.open(`https://mona.insight.monaco-ex.org/insight/tx/${t}`);break;case"grs":window.open(`https://chainz.cryptoid.info/grs/tx.dws?${t}.htm`);break;case"rxd":window.open(`https://explorer.radiantblockchain.org/tx/${t}`);break;case"enx":window.open(`https://explorer.entropyx.org/txs/${t}`);break;case"alph":window.open(`https://explorer.alephium.org/transactions/${t}`);break;case"xmr":window.open(`https://localmonero.co/blocks/tx/${t}`);break;case"sha3x":window.open(`https://explore.tari.com/txs/${t}`);break;default:break}}}}},11374:function(t,i,e){i.Yp=i.XX=void 0;i.XX=function(){var t=this,i=t._self._c;return i("div",{staticClass:"loginPage"},[t.$isMobile?i("section",{staticClass:"mobileMain"},[i("header",{staticClass:"headerBox"},[i("img",{attrs:{src:e(87596),alt:"logo",loading:"lazy"},on:{click:function(i){return t.handelJump("/")}}}),i("span",{staticClass:"title"},[t._v(t._s(t.$t("home.MLogin")))]),i("span")]),t._m(0),i("section",{staticClass:"formInput"},[i("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.loginForm,"status-icon":"",rules:t.loginRules}},[i("el-form-item",{attrs:{prop:"userName"}},[i("el-input",{attrs:{"prefix-icon":"el-icon-user",autocomplete:"off",placeholder:t.$t("user.Account")},model:{value:t.loginForm.userName,callback:function(i){t.$set(t.loginForm,"userName",i)},expression:"loginForm.userName"}})],1),i("el-form-item",{attrs:{prop:"password"}},[i("el-input",{attrs:{type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",showPassword:"",placeholder:t.$t("user.password")},model:{value:t.loginForm.password,callback:function(i){t.$set(t.loginForm,"password",i)},expression:"loginForm.password"}})],1),i("el-form-item",{attrs:{prop:"code"}},[i("div",{staticClass:"verificationCode"},[i("el-input",{attrs:{type:"text","prefix-icon":"el-icon-chat-line-square",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.loginForm.code,callback:function(i){t.$set(t.loginForm,"code",i)},expression:"loginForm.code"}}),i("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabled},on:{click:t.handelCode}},[t.countDownTime<60&&t.countDownTime>0?i("span",[t._v(t._s(t.countDownTime))]):t._e(),t._v(" "+t._s(t.$t(t.bthText)))])],1)]),i("div",{staticClass:"registerBox"},[i("span",{staticClass:"noAccount"},[t._v(t._s(t.$t("user.noAccount")))]),i("span",{staticStyle:{color:"#661fff"},on:{click:function(i){return t.handelJump("register")}}},[t._v(t._s(t.$t("user.register")))]),i("span",{staticClass:"forget",staticStyle:{color:"#661fff"},on:{click:function(i){return t.handelJump("resetPassword")}}},[t._v(t._s(t.$t("user.forgotPassword")))])]),i("el-form-item",[i("el-button",{staticStyle:{width:"100%",background:"#661fff",color:"aliceblue","margin-top":"6%"},attrs:{loading:t.loginLoading},on:{click:function(i){return t.submitForm("ruleForm")}}},[t._v(t._s(t.$t("user.login")))]),i("div",{staticStyle:{"text-align":"left"}},[i("el-radio",{attrs:{label:"zh"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(i){t.radio=i},expression:"radio"}},[t._v("简体中文")]),i("el-radio",{attrs:{label:"en"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(i){t.radio=i},expression:"radio"}},[t._v("English")])],1)],1)],1)],1)]):i("section",{staticClass:"loginModular"},[i("div",{staticClass:"leftBox"},[i("img",{staticClass:"logo",attrs:{src:e(79613),alt:"logo"},on:{click:t.handleClick}}),i("img",{attrs:{src:e(58455),alt:"Login for mining"}})]),i("div",{staticClass:"loginBox"},[i("div",{staticClass:"closeBox",on:{click:t.handleClick}},[i("i",{staticClass:"iconfont icon-guanbi1 close"})]),i("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.loginForm,"status-icon":"",rules:t.loginRules}},[i("el-form-item",[i("p",{staticClass:"loginTitle"},[t._v(t._s(t.$t("user.login")))])]),i("el-form-item",{attrs:{prop:"userName"}},[i("el-input",{attrs:{"prefix-icon":"el-icon-user",autocomplete:"off",placeholder:t.$t("user.Account"),type:"email"},model:{value:t.loginForm.userName,callback:function(i){t.$set(t.loginForm,"userName",i)},expression:"loginForm.userName"}})],1),i("el-form-item",{attrs:{prop:"password"}},[i("el-input",{attrs:{type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",showPassword:"",placeholder:t.$t("user.password")},model:{value:t.loginForm.password,callback:function(i){t.$set(t.loginForm,"password",i)},expression:"loginForm.password"}})],1),i("el-form-item",{attrs:{prop:"code"}},[i("div",{staticClass:"verificationCode"},[i("el-input",{attrs:{type:"text","prefix-icon":"el-icon-chat-line-square",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.loginForm.code,callback:function(i){t.$set(t.loginForm,"code",i)},expression:"loginForm.code"}}),i("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabled},on:{click:t.handelCode}},[t.countDownTime<60&&t.countDownTime>0?i("span",[t._v(t._s(t.countDownTime))]):t._e(),t._v(" "+t._s(t.$t(t.bthText)))])],1)]),i("div",{staticClass:"registerBox"},[i("span",{staticClass:"noAccount"},[t._v(t._s(t.$t("user.noAccount")))]),i("span",{staticStyle:{cursor:"pointer"},on:{click:function(i){return t.handelJump("/register")}}},[t._v(t._s(t.$t("user.register")))]),i("span",{staticClass:"forget",on:{click:function(i){return t.handelJump("/resetPassword")}}},[t._v(t._s(t.$t("user.forgotPassword")))])]),i("el-form-item",[i("el-button",{staticStyle:{width:"100%",background:"#661fff",color:"aliceblue","margin-top":"6%"},attrs:{loading:t.loginLoading},on:{click:function(i){return t.submitForm("ruleForm")}}},[t._v(t._s(t.$t("user.login")))]),i("div",{staticStyle:{"text-align":"left"}},[i("el-radio",{attrs:{label:"zh"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(i){t.radio=i},expression:"radio"}},[t._v("简体中文")]),i("el-radio",{attrs:{label:"en"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(i){t.radio=i},expression:"radio"}},[t._v("English")])],1)],1)],1)],1)])])},i.Yp=[function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgTop"},[i("img",{attrs:{src:e(6006),alt:"Login for mining",loading:"lazy"}})])}]},18163:function(t,i,e){Object.defineProperty(i,"B",{value:!0}),i.A=void 0,e(44114);var a=e(47149),s=e(49704),n=e(6803);i.A={data(){return{loginForm:{userName:"",password:"",code:""},loginRules:{userName:[{required:!0,trigger:"blur",message:this.$t("user.inputEmail")}],password:[{required:!0,trigger:"blur",message:this.$t("user.inputPassword")}],code:[{required:!0,trigger:"change",message:this.$t("user.inputCode")}]},radio:"en",btnDisabled:!1,bthText:"user.obtainVerificationCode",time:"",loginLoading:!1,accountList:[],loginCodeTime:"",countDownTime:60,timer:null,lang:"en",currencyList:[{path:"nexaAccess",value:"nexa",label:"nexa",img:e(95194),imgUrl:`${this.$baseApi}img/nexa.png`,name:"course.NEXAcourse",show:!0,amount:1e4},{path:"grsAccess",value:"grs",label:"grs",img:e(78628),imgUrl:`${this.$baseApi}img/grs.svg`,name:"course.GRScourse",show:!0,amount:1},{path:"monaAccess",value:"mona",label:"mona",img:e(85857),imgUrl:`${this.$baseApi}img/mona.svg`,name:"course.MONAcourse",show:!0,amount:1},{path:"dgbsAccess",value:"dgbs",label:"dgb(skein)",img:e(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,name:"course.dgbsCourse",show:!0,amount:1},{path:"dgbqAccess",value:"dgbq",label:"dgb(qubit)",img:e(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,name:"course.dgbqCourse",show:!0,amount:1},{path:"dgboAccess",value:"dgbo",label:"dgb(odocrypt)",img:e(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,name:"course.dgboCourse",show:!0,amount:1},{path:"rxdAccess",value:"rxd",label:"radiant(rxd)",img:e(94158),imgUrl:`${this.$baseApi}img/rxd.png`,name:"course.RXDcourse",show:!0,amount:100},{path:"alphminingPool",value:"alph",label:"alephium",img:e(31413),imgUrl:`${this.$baseApi}img/alph.svg`,name:"course.alphCourse",show:!0,amount:1},{path:"xmr",value:"monero",label:"xmr",img:e(19637),imgUrl:`${this.$baseApi}img/xmr.png`,name:"course.xmrCourse",show:!0,amount:1},{path:"xtm",value:"sha3x",label:"xtm(sha3x)",img:e(58379),imgUrl:`${this.$baseApi}img/xtm.svg`,name:"course.xmrCourse",show:!0,amount:1e4}]}},computed:{countDown(){Math.floor(this.countDownTime/60);const t=this.countDownTime%60,i=t<10?"0"+t:t;return`${i}`}},watch:{$route(t){const i=t.path.match(/^\/(zh|en)(\/|$)/);i&&(this.radio=i[1],this.lang=i[1],this.$i18n.locale=i[1],localStorage.setItem("lang",i[1]))},"$i18n.locale":function(){this.translate()}},created(){window.sessionStorage.getItem("exam_time")&&(this.countDownTime=Number(window.sessionStorage.getItem("exam_time")),this.startCountDown(),this.btnDisabled=!0,this.bthText="user.again")},mounted(){this.$addStorageEvent(1,"currencyList",JSON.stringify(this.currencyList));const t=this.$route.path,i=t.match(/^\/(zh|en)(\/|$)/);i?(this.radio=i[1],this.lang=i[1],this.$i18n.locale=i[1],localStorage.setItem("lang",i[1])):(this.radio=localStorage.getItem("lang")||"en",this.lang=this.radio,this.$i18n.locale=this.radio)},methods:{translate(){this.loginRules={userName:[{required:!0,trigger:"blur",message:this.$t("user.inputEmail")}],password:[{required:!0,trigger:"blur",message:this.$t("user.inputPassword")}],code:[{required:!0,trigger:"change",message:this.$t("user.inputCode")}]}},async fetchJurisdiction(){const t=await(0,a.getUserProfile)();this.$addStorageEvent(1,"jurisdiction",JSON.stringify(t.data.role)),this.$addStorageEvent(1,"userEmail",JSON.stringify(t.data.email)),t&&200==t.code&&(this.$message({message:this.$t("user.loginSuccess"),type:"success",showClose:!0}),this.$router.push(`/${this.lang}`))},async fetchAccountGradeList(){const t=await(0,a.getAccountGradeList)();t&&200==t.code&&this.$addStorageEvent(1,"miningAccountList",JSON.stringify(t.data))},async fetchAccountList(t){const i=await(0,n.getAccountList)(t);i&&200==i.code&&(this.accountList=i.data,this.$addStorageEvent(1,"accountList",JSON.stringify(this.accountList)))},async fetchLogin(t){this.loginLoading=!0;const i=await(0,a.getLogin)(t);i&&200===i.code&&(this.$addStorageEvent(1,"userName",i.data.userName),this.$addStorageEvent(1,"token",JSON.stringify(i.data.access_token)),await new Promise((t=>setTimeout(t,50))),this.$bus.$emit("user-logged-in"),this.fetchAccountList(),this.fetchAccountGradeList(),this.fetchJurisdiction()),this.loginLoading=!1},async fetchCOde(t){const i=await(0,a.getLoginCode)(t);i&&200==i.code&&this.$message({message:this.$t("user.codeSuccess"),type:"success",showClose:!0})},handelCode(){if(!this.loginForm.userName)return void this.$message({message:this.$t("user.inputAccount"),type:"error",customClass:"messageClass",showClose:!0});const t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/;let i=t.test(this.loginForm.userName);this.loginForm.userName&&i?(this.fetchCOde({account:this.loginForm.userName}),null==window.sessionStorage.getItem("exam_time")||(this.countDownTime=Number(window.sessionStorage.getItem("exam_time"))),this.startCountDown()):this.$message({message:this.$t("user.emailVerification"),type:"error",showClose:!0})},startCountDown(){this.timer=setInterval((()=>{this.countDownTime<=1?(clearInterval(this.timer),sessionStorage.removeItem("exam_time"),this.countDownTime=60,this.btnDisabled=!1,this.bthText="user.obtainVerificationCode"):this.countDownTime>0&&(this.countDownTime--,this.btnDisabled=!0,this.bthText="user.again",window.sessionStorage.setItem("exam_time",this.countDownTime))}),1e3)},handelJump(t){const i=t.startsWith("/")?t.slice(1):t;this.$router.push(`/${this.lang}/${i}`)},handelRadio(t){const i=this.lang;this.lang=t,this.$i18n.locale=t,localStorage.setItem("lang",t);const e=this.$route.path,a=e.replace(`/${i}`,`/${t}`);this.$router.push({path:a,query:this.$route.query}).catch((t=>{"NavigationDuplicated"!==t.name&&console.error("Navigation failed:",t)}))},submitForm(){this.$refs.ruleForm.validate((t=>{if(t){this.loginForm.userName=this.loginForm.userName.trim(),this.loginForm.password=this.loginForm.password.trim();const t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/;let i=t.test(this.loginForm.userName);if(!i)return void this.$message({message:this.$t("user.emailVerification"),type:"error",customClass:"messageClass",showClose:!0});const e=/^(?!.*[\u4e00-\u9fa5])(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_]+$)(?![a-z0-9]+$)(?![a-z\W_]+$)(?![0-9\W_]+$)[a-zA-Z0-9\W_]{8,32}$/,a=e.test(this.loginForm.password);if(!a)return void this.$message({message:this.$t("user.PasswordReminder"),type:"error",showClose:!0});const n={...this.loginForm};n.password=(0,s.encryption)(this.loginForm.password),this.fetchLogin(n)}}))},handleClick(){this.$router.push(`/${this.lang}`)}}}},28702:function(t,i,e){var a=e(3999)["default"];Object.defineProperty(i,"B",{value:!0}),i.A=void 0;var s=a(e(7330)),n=a(e(45438));i.A={components:{Tooltip:n.default},mixins:[s.default]}},30751:function(t,i,e){e.r(i),e.d(i,{__esModule:function(){return s.B},default:function(){return l}});var a=e(47105),s=e(28702),n=s.A,o=e(81656),r=(0,o.A)(n,a.XX,a.Yp,!1,null,"0a0e912e",null),l=r.exports},37320:function(t,i,e){var a=e(91774)["default"];Object.defineProperty(i,"__esModule",{value:!0}),i["default"]=void 0,e(44114),e(18111),e(22489),e(20116),e(7588),e(61701);e(66848);var s=e(27409),n=e(73723),o=e(84403),r=a(e(3574)),l=e(82908);i["default"]={data(){return{activeName:"second",option:{tooltip:{trigger:"axis",confine:!0,formatter:function(t){var i;i=t[0].axisValueLabel;for(let e=0;e<=t.length-1;e++)"Currency Price"==t[e].seriesName||"币价"==t[e].seriesName?i+=`
          ${t[e].marker} ${t[e].seriesName}      ${t[e].value} USD`:i+=`
          ${t[e].marker} ${t[e].seriesName}      ${t[e].value}`;return i}},legend:{right:"30"},grid:{left:"10%",right:"15%",top:"20%",bottom:"12%"},xAxis:{boundaryGap:!1,data:[]},yAxis:[{type:"value",name:"GH/s",nameTextStyle:{padding:[0,0,0,-40]},axisLabel:{formatter:function(t){return t}}},{position:"right",show:!0,splitLine:{show:!1},name:"USD",nameTextStyle:{padding:[0,0,0,40]}}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"Computational power",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{color:new r.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},zlevel:1,z:1,data:[]},{name:"Refusal rate",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new r.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[],yAxisIndex:1,zlevel:2,z:2}]},minerOption:{legend:{right:"50",formatter:function(t){return t}},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,confine:!0,formatter:function(t){var i=t[0].axisValueLabel;for(let e=0;e<=t.length-1;e++)"Currency Price"==t[e].seriesName||"币价"==t[e].seriesName?i+=`
          ${t[e].marker} ${t[e].seriesName}      ${t[e].value} USD`:i+=`
          ${t[e].marker} ${t[e].seriesName}      ${t[e].value}`;return i}},grid:{left:"10%",right:"15%",top:"20%",bottom:"12%"},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:[]},yAxis:[{position:"left",type:"value",name:"GH/s",nameTextStyle:{padding:[0,0,0,-40]},axisLabel:{formatter:function(t){return t}}},{position:"right",show:!0,splitLine:{show:!1},name:"USD",nameTextStyle:{padding:[0,0,0,40]}}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"全网算力",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{origin:"start",color:new r.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[]},{name:"币价",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new r.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[],yAxisIndex:1,zlevel:2,z:2}]},CountOption:{...o.line},powerDialogVisible:!1,minerDialogVisible:!1,currentPage:1,currency:"nexa",currencyPath:`${this.$baseApi}img/nexa.png`,currencyList:[{path:"nexaAccess",value:"nexa",label:"nexa",img:e(95194),imgUrl:`${this.$baseApi}img/nexa.png`,name:"course.NEXAcourse",show:!0,amount:1e4},{path:"grsAccess",value:"grs",label:"grs",img:e(78628),imgUrl:`${this.$baseApi}img/grs.svg`,name:"course.GRScourse",show:!0,amount:1},{path:"monaAccess",value:"mona",label:"mona",img:e(85857),imgUrl:`${this.$baseApi}img/mona.svg`,name:"course.MONAcourse",show:!0,amount:1},{path:"dgbsAccess",value:"dgbs",label:"dgb(skein)",img:e(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,name:"course.dgbsCourse",show:!0,amount:1},{path:"dgbqAccess",value:"dgbq",label:"dgb(qubit)",img:e(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,name:"course.dgbqCourse",show:!0,amount:1},{path:"dgboAccess",value:"dgbo",label:"dgb(odocrypt)",img:e(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,name:"course.dgboCourse",show:!0,amount:1},{path:"rxdAccess",value:"rxd",label:"radiant(rxd)",img:e(94158),imgUrl:`${this.$baseApi}img/rxd.png`,name:"course.RXDcourse",show:!0,amount:100},{path:"alphminingPool",value:"alph",label:"alephium",img:e(31413),imgUrl:`${this.$baseApi}img/alph.svg`,name:"course.alphCourse",show:!0,amount:1},{path:"xmr",value:"monero",label:"xmr",img:e(19637),imgUrl:`${this.$baseApi}img/xmr.png`,name:"course.xmrCourse",show:!0,amount:.1},{path:"xtm",value:"sha3x",label:"xtm(sha3x)",img:e(58379),imgUrl:`${this.$baseApi}img/xtm.svg`,name:"course.xmrCourse",show:!0,amount:1e4}],params:{coin:"nexa",interval:"rt"},PowerParams:{coin:"nexa",interval:"rt"},BlockInfoParams:{coin:"nexa",limit:10,page:1},CoinData:{algorithm:"",height:"",totalDifficulty:"",totalPower:"",price:"",poolPower:"",poolMc:""},luckData:{luck3d:"96.26 %",luck7d:"96.26 %",luck30d:"96.26 %",luck90d:"96.26 %"},BlockInfoData:[],intervalList:[{value:"rt",label:"home.realTime"},{value:"1d",label:"home.day"}],offset:0,itemWidth:30,listWidth:1e3,itemActive:"nexa",timeActive:"rt",powerActive:!0,minerChartLoading:!1,newBlockInfoData:[],reportBlockLoading:!1,BlockShow:!0,showCalculator:!1,value:"nexa",input3:"",select:"GH/s",selectTime:[{value:"day",label:"home.everyDay"},{value:"week",label:"home.weekly"},{value:"month",label:"home.monthly"},{value:"year",label:"home.annually"}],time:"day",input:"",inputPower:1,profit:"",factor:"",CalculatorData:{hpb:"10",reward:"20",price:"30",costTime:"600",poolFee:"0.15"},transactionFeeList:[{label:"grs",coin:"grs",feeShow:!1},{label:"mona",coin:"mona",feeShow:!1},{label:"radiant",coin:"rxd",feeShow:!1}],FeeShow:!0,lang:"en",activeItemCoin:{value:"nexa",label:"nexa",img:e(95194),imgUrl:`${this.$baseApi}img/nexa.png`},isInternalChange:!1,broadcastList:[{id:"b1",content:this.$t("home.describe"),buttonContent:[this.$t("home.view")],buttonPath:["/allocationExplanation"]}],currentBroadcastIndex:0,scrollTimer:null,delayScrollTimer:null,isTransition:!0}},computed:{broadcastListForLoop(){return 0===this.broadcastList.length?[]:1===this.broadcastList.length?this.broadcastList:[...this.broadcastList,this.broadcastList[0]]},scrollStyle(){return{transform:`translateY(-${30*this.currentBroadcastIndex}px)`,transition:this.isTransition?"transform 0.5s cubic-bezier(.4,0,.2,1)":"none"}},mobileScrollStyle(){return{transform:`translateY(-${40*this.currentBroadcastIndex}px)`,transition:this.isTransition?"transform 0.5s cubic-bezier(.4,0,.2,1)":"none"}}},watch:{"$i18n.locale":t=>{location.reload()},activeItemCoin:{handler(t){this.isInternalChange||this.handleActiveItemChange(t)},deep:!0}},mounted(){if(this.lang=this.$i18n.locale,this.$addStorageEvent(1,"activeItemCoin",JSON.stringify(this.currencyList[0])),this.minerChartLoading=!0,this.$isMobile)this.option.yAxis[1].show=!1,this.option.grid.left="16%",this.option.grid.right="5%",this.option.grid.top="10%",this.option.grid.bottom="45%",this.option.legend.bottom=5,this.option.legend.right="30%",this.option.xAxis.axisLabel={interval:8,rotate:70},this.minerOption.yAxis[1].show=!1,this.minerOption.grid.left="16%",this.minerOption.grid.right="5%",this.minerOption.grid.top="10%",this.minerOption.grid.bottom="45%",this.minerOption.legend.bottom=5,this.minerOption.legend.right="30%",this.minerOption.xAxis.axisLabel={interval:8,rotate:70};else{const t=this.option.yAxis[0],i=Math.max(...this.option.series[0].data),e=t.axisLabel.formatter,a=e(i),s=document.createElement("div");s.style.position="absolute",s.style.visibility="hidden",s.style.fontSize="12px",s.innerText=a,document.body.appendChild(s);const n=s.offsetWidth;document.body.removeChild(s);const o=20;this.option.grid.left=n+o+"px";const r=this.minerOption.yAxis[0],l=Math.max(...this.minerOption.series[0].data),c=r.axisLabel.formatter,m=c(l),h=document.createElement("div");h.style.position="absolute",h.style.visibility="hidden",h.style.fontSize="12px",h.innerText=m,document.body.appendChild(h);const d=h.offsetWidth;document.body.removeChild(h);const u=20;this.minerOption.grid.left=d+u+"px"}this.getBlockInfoData(this.BlockInfoParams),this.getCoinInfoData(this.params),this.getPoolPowerData(this.PowerParams),this.registerRecoveryMethod("getCoinInfoData",this.params),this.registerRecoveryMethod("getPoolPowerData",this.PowerParams),this.registerRecoveryMethod("getBlockInfoData",this.BlockInfoParams),this.$addStorageEvent(1,"currencyList",JSON.stringify(this.currencyList)),this.$refs.select&&this.$refs.select.$el.children[0].children[0].setAttribute("style",`background:url(${this.$baseApi}/img/nexa.png) no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 30PX;`),this.fetchParam({coin:this.params.coin}),this.minerChartLoading=!1,window.addEventListener("setItem",(()=>{let t=localStorage.getItem("activeItemCoin");this.activeItemCoin=JSON.parse(t)})),this.getBroadcastList({lang:this.$i18n.locale}),this.startScroll(),this.$nextTick((()=>{this.startScroll()})),window.addEventListener("resize",this.setItemHeight)},methods:{handleCustomClick(t){console.log("广播项被点击:",t),this.$message.info(`广播: ${t.content}`)},handleBroadcastError(t){console.error("广播组件错误:",t)},async getBroadcastList(t){const i=await(0,n.getBroadcast)(t);if(i&&200==i.code){let t=i.data;t=t.map((t=>{if(t.buttonContent?"string"===typeof t.buttonContent?t.buttonContent=t.buttonContent.split(/[,,]/).map((t=>t.trim())).filter((t=>t)):Array.isArray(t.buttonContent)||(t.buttonContent=[]):t.buttonContent=[],t.buttonPath?"string"===typeof t.buttonPath?t.buttonPath=t.buttonPath.split(/[,,]/).map((t=>t.trim())).filter((t=>t)):Array.isArray(t.buttonPath)||(t.buttonPath=[]):t.buttonPath=[],t.buttonContent.length!==t.buttonPath.length){const i=Math.min(t.buttonContent.length,t.buttonPath.length);t.buttonContent=t.buttonContent.slice(0,i),t.buttonPath=t.buttonPath.slice(0,i)}return t})),this.broadcastList=[...this.broadcastList,...t],console.log(this.broadcastList,"this.broadcastList"),this.currentBroadcastIndex=0,this.broadcastList.length>1&&this.$nextTick((()=>{this.startScroll()}))}},handelOptionYAxis(t){const i=t.yAxis[0],e=Math.max(...t.series[0].data),a=i.axisLabel.formatter,s=a(e),n=document.createElement("div");n.style.position="absolute",n.style.visibility="hidden",n.style.fontSize="12px",n.innerText=s,document.body.appendChild(n);const o=n.offsetWidth;document.body.removeChild(n);const r=20;return t.grid.left=o+r+"px",t},slideLeft(){const t=120*this.currencyList.length,i=document.getElementById("list-box").clientWidth;if(t{this.minerChartLoading=!1})),window.addEventListener("resize",(0,l.throttle)((()=>{this.myChart&&this.myChart.resize()}),200))},inChartsMiner(){null==this.MinerChart&&(this.MinerChart=r.init(document.getElementById("minerChart"))),this.minerOption=this.handelOptionYAxis(this.minerOption),this.minerOption.series[0].name=this.$t("home.networkPower"),this.minerOption.series[1].name=this.$t("home.currencyPrice"),this.MinerChart.setOption(this.minerOption),this.MinerChart.on("finished",(()=>{this.minerChartLoading=!1})),window.addEventListener("resize",(0,l.throttle)((()=>{this.MinerChart&&this.MinerChart.resize()}),200))},countInCharts(){this.countChart=r.init(document.getElementById("minerChart")),this.countChart.setOption(this.CountOption)},async fetchParam(t){try{const i=await(0,s.getParam)(t);if(i&&200==i.code)this.CalculatorData=i.data;else for(const t in this.CalculatorData)this.CalculatorData[t]=0;this.calculateIncome(this.CalculatorData)}catch(error){console.log(error,"error")}},getCoinInfoData:(0,l.Debounce)((async function(t){const i=await(0,s.getCoinInfo)(t);i&&200==i.code?this.CoinData=i.data:this.CoinData={}}),200),getPoolPowerData:(0,l.Debounce)((async function(t){this.setLoading("minerChartLoading",!0);try{const i=await(0,s.getPoolPower)(t);if(!i)return this.setLoading("minerChartLoading",!1),void(this.myChart&&this.myChart.dispose());let e=i.data,a=[],n=[],o=[];e.forEach((i=>{i.date.includes("T")&&"rt"==t.interval?i.date=`${i.date.split("T")[0]} ${i.date.split("T")[1].split(".")[0]}`:i.date.includes("T")&&"1d"==t.interval&&(i.date=i.date.split("T")[0]),a.push(i.date),n.push(Number(i.pv).toFixed(2)),0==i.price?o.push(i.price):i.price<1?o.push(Number(i.price).toFixed(8)):o.push(Number(i.price).toFixed(2))})),this.option.xAxis.data=a,this.option.yAxis[0].name=e[0].unit,this.option.series[0].data=n,this.option.series[1].data=o,this.$nextTick((()=>{this.inCharts()}))}catch{console.error("获取数据失败:",error)}finally{this.setLoading("minerChartLoading",!1)}}),200),async fetchNetPower(t){this.setLoading("minerChartLoading",!0);const i=await(0,s.getNetPower)(t);if(!i)return this.minerChartLoading=!1,void(this.MinerChart&&this.MinerChart.dispose());let e=i.data,a=[],n=[],o=[];e.forEach((i=>{i.date.includes("T")&&"rt"==t.interval?i.date=`${i.date.split("T")[0]} ${i.date.split("T")[1].split(".")[0]}`:i.date.includes("T")&&"1d"==t.interval&&(i.date=i.date.split("T")[0]),a.push(i.date),n.push(Number(i.pv).toFixed(2)),0==i.price?o.push(i.price):i.price<1?o.push(Number(i.price).toFixed(8)):o.push(Number(i.price).toFixed(2))})),this.minerOption.xAxis.data=a,e[0]&&e[0].unit&&(this.minerOption.yAxis[0].name=e[0].unit),this.minerOption.series[0].data=n,this.minerOption.series[1].data=o,this.$nextTick((()=>{this.inChartsMiner()})),this.setLoading("minerChartLoading",!1)},getMinerCountData:(0,l.Debounce)((async function(t){this.setLoading("minerChartLoading",!0);const i=await(0,s.getMinerCount)(t);if(!i)return this.minerChartLoading=!1,void(this.MinerChart&&this.MinerChart.dispose());let e=i.data,a=[],n=[];e.forEach((t=>{t.date.includes("T")?a.push(`${t.date.split("T")[0]} ${t.date.split("T")[1].split(".")[0]}`):a.push(t.date),n.push(t.value)})),this.minerOption.xAxis.data=a,this.minerOption.series[0].data=n,this.$nextTick((()=>{this.inChartsMiner()})),this.setLoading("minerChartLoading",!1)}),200),getBlockInfoData:(0,l.Debounce)((async function(t){try{this.setLoading("reportBlockLoading",!0);const i=await(0,s.getBlockInfo)(t);if(i&&200==i.code){if(this.BlockShow=!0,this.newBlockInfoData=[],this.BlockInfoData=i.rows,!this.BlockInfoData[0])return void this.setLoading("reportBlockLoading",!1);this.BlockInfoData.forEach(((t,i)=>{t.date=`${t.date.split("T")[0]} ${t.date.split("T")[1].split(".")[0]}`,i<8&&this.newBlockInfoData.push(t)}))}else this.BlockShow=!1;this.setLoading("reportBlockLoading",!1)}catch(error){console.error("获取区块信息失败:",error),this.BlockShow=!1}finally{this.setLoading("reportBlockLoading",!1)}}),200),calculateIncome(t){for(const l in this.CalculatorData)if(!this.CalculatorData[l])return void(this.profit=0);let i;switch(this.select){case"GH/s":i=this.inputPower*Math.pow(10,9);break;case"MH/s":i=this.inputPower*Math.pow(10,6);break;case"TH/s":i=this.inputPower*Math.pow(10,12);break;default:break}const e=this.CalculatorData.netHashrate,a=this.CalculatorData.reward,s=i/e,n=a*(1-this.CalculatorData.poolFee)*this.CalculatorData.count,o=s*n;switch(this.time){case"day":this.profit=o.toFixed(8);break;case"week":this.profit=(7*o).toFixed(8);break;case"month":this.profit=(30*o).toFixed(8);break;case"year":this.profit=(365*o).toFixed(8);break;default:break}const r=new Intl.NumberFormat("en-US",{minimumFractionDigits:2,maximumFractionDigits:2,useGrouping:!0});if("nexa"==this.value)this.profit=r.format(this.profit);else{const t=new Intl.NumberFormat("en-US",{minimumFractionDigits:8,useGrouping:!0});this.profit=t.format(this.profit)}},toFixedNoRound(t,i=10){const e=10**i;return(t<0?Math.ceil(t*e):Math.floor(t*e))/e},ProfitCalculator(t,i){const e=5646.62,a=1e7,s=t/e,n=a*(1-i)*720,o=s*n;return o},disableElement(t){t.setAttribute("data-disabled",!0),t.style.pointerEvents="none",t.style.opacity="0.5"},handelProfitCalculation(){for(const t in this.CalculatorData)if(0!==this.CalculatorData[t]&&!this.CalculatorData[t])return this.$message({message:this.$t("home.acquisitionFailed"),type:"error"}),this.profit=0,void this.fetchParam({coin:this.params.coin});this.showCalculator=!0},handelClose(){this.showCalculator=!1},changeSelection(t){let i=t;for(let e in this.currencyList){let t=this.currencyList[e],a=t.value;i===a&&this.$refs.select.$el.children[0].children[0].setAttribute("style","background:url("+t.imgUrl+") no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 35PX;")}this.fetchParam({coin:this.value})},handelJump(t){if("/AccessMiningPool"===t){const t=this.currencyList.find((t=>t.value===this.params.coin));if(!t)return;this.lang;this.$router.push({name:"AccessMiningPool",params:{coin:this.params.coin,imgUrl:this.currencyPath},replace:!1})}else{let t=`/${this.lang}/AccessMiningPool`;this.$router.push(t)}},handelJumpBroadcast(t){if("/AccessMiningPool"===t){const t=this.currencyList.find((t=>t.value===this.params.coin));if(!t)return;this.lang;this.$router.push({name:"AccessMiningPool",params:{coin:this.params.coin,imgUrl:this.currencyPath},replace:!1})}else this.$router.push(`/${this.lang}${t}`)},handelCalculation(){this.calculateIncome()},getItemFullWidth(){const t=this.$refs.currencyList;if(!t)return 120;const i=t.querySelector(".list-item");if(!i)return 120;const e=window.getComputedStyle(i),a=i.offsetWidth,s=parseInt(e.marginLeft)||0,n=parseInt(e.marginRight)||0;return a+s+n},scrollLeft(){const t=120*this.currencyList.length,i=document.getElementById("list-box").clientWidth;if(tt?"-"+(t-i)+"PX":"-"+(a+360)+"PX"},handleActiveItemChange(t){t&&(this.currency=t.label,this.currencyPath=t.imgUrl,this.params.coin=t.value,console.log(this.params.coin,"item"),this.BlockInfoParams.coin=t.value,this.itemActive=t.value,this.PowerParams.coin=t.value,this.getCoinInfoData(this.params),this.getBlockInfoData(this.BlockInfoParams),this.powerActive?this.handelPower():this.handelMiner(),this.handelCoinLabel(t.value))},clickCurrency(t){t&&(this.isInternalChange=!0,this.activeItemCoin=t,this.$addStorageEvent(1,"activeItemCoin",JSON.stringify(t)),this.$nextTick((()=>{this.isInternalChange=!1})),this.handleActiveItemChange(t))},clickReportBlock(){this.$router.push({path:`/${this.lang}/reportBlock`,query:{coin:this.params.coin,imgUrl:this.currencyPath}})},handleClick(t,i){},handelPower(){this.MinerChart&&(this.MinerChart.dispose(),this.MinerChart=null),this.option.xAxis.data=[],this.option.series[0].data=[],this.option.series[1].data=[],this.powerActive=!0,this.PowerParams.coin=this.params.coin,this.getPoolPowerData(this.PowerParams)},intervalChange(t){this.PowerParams.interval=t,this.params.interval=t,this.timeActive=t,this.powerActive?this.getPoolPowerData(this.PowerParams):this.powerActive||this.fetchNetPower(this.params)},handelMiner(){this.myChart&&(this.myChart.dispose(),this.myChart=null),this.minerOption.xAxis.data=[],this.minerOption.series[0].data=[],this.powerActive=!1,this.fetchNetPower(this.params)},handelLabel(t){let i=this.currencyList.find((i=>i.value==t));return i?i.label:""},handelLabel2(t){return t.includes("dgb")?"dgb":t},handelCoinLabel(t){let i={coin:""};t&&(i=this.transactionFeeList.find((i=>i.coin==t)),this.FeeShow=!1),i||(this.FeeShow=!0)},startScroll(){this.scrollTimer&&clearInterval(this.scrollTimer),this.broadcastList.length<=1||(this.scrollTimer=setInterval(this.nextScroll,3e3))},stopScroll(){this.scrollTimer&&clearInterval(this.scrollTimer),this.scrollTimer=null},startScrollDelayed(){this.delayScrollTimer&&clearTimeout(this.delayScrollTimer),this.delayScrollTimer=setTimeout((()=>{this.startScroll()}),1e3)},nextScroll(){this.broadcastList.length<=1||(this.isTransition=!0,this.currentBroadcastIndex+=1,this.currentBroadcastIndex===this.broadcastList.length&&setTimeout((()=>{this.isTransition=!1,this.currentBroadcastIndex=0}),500))}},beforeDestroy(){this.scrollTimer&&clearInterval(this.scrollTimer),this.delayScrollTimer&&clearTimeout(this.delayScrollTimer)}}},47105:function(t,i,e){i.Yp=i.XX=void 0;i.XX=function(){var t=this,i=t._self._c;return i("div",{staticClass:"miningAccountMain"},[t.$isMobile?i("section",[i("div",{staticClass:"accountInformation"},[i("img",{attrs:{src:t.accountItem.img,alt:"coin"}}),i("span",{staticClass:"coin"},[t._v(t._s(t.accountItem.coin)+" ")]),i("i",{staticClass:"iconfont icon-youjiantou"}),i("span",{staticClass:"ma"},[t._v(" "+t._s(t.accountItem.ma))])]),i("div",{staticClass:"profitTop"},[i("div",{staticClass:"box"},[i("span",[t._v(t._s(t.$t("mining.totalRevenue"))+" "),i("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.totalRevenueTips")}},[i("img",{attrs:{src:e(3832),alt:"profit",loading:"lazy"}})])]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.totalProfit))])]),i("div",{staticClass:"box"},[i("span",[t._v(t._s(t.$t("mining.totalExpenditure"))+" "),i("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.totalExpenditureTips")}},[i("img",{attrs:{src:e(3832),alt:"profit",loading:"lazy"}})])]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.expend))])]),i("div",{staticClass:"box"},[i("span",[t._v(t._s(t.$t("mining.yesterdaySEarnings"))+" "),i("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.yesterdaySEarningsTips")}},[i("img",{attrs:{src:e(3832),alt:"profit",loading:"lazy"}})])]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.preProfit))])]),i("div",{staticClass:"box"},[i("span",[t._v(t._s(t.$t("mining.diggedToday"))+" "),i("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.diggedTodayTips")}},[i("img",{attrs:{src:e(3832),alt:"profit",loading:"lazy"}})])]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.todayPorfit))])]),i("div",{staticClass:"accountBalance"},[i("div",{staticClass:"box2"},[i("span",{staticClass:"paymentSettings"},[t._v(t._s(t.$t("mining.accountBalance"))+" "),i("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.balanceReminder")}},[i("img",{attrs:{src:e(3832),alt:"profit",loading:"lazy"}})])]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.balance))])]),i("el-button",{on:{click:t.jumpPage}},[t._v(t._s(t.$t("mining.paymentSettings")))])],1)]),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.powerChartLoading,expression:"powerChartLoading"}],staticClass:"profitBtm2"},[i("div",{staticClass:"right"},[i("div",{staticClass:"intervalBox"},[i("div",{staticClass:"title"},[t._v(t._s(t.$t("mining.algorithmicDiagram")))]),i("div",{staticClass:"times"},t._l(t.intervalList,(function(e){return i("span",{key:e.value,class:{timeActive:t.timeActive==e.value},on:{click:function(i){return t.handleInterval(e.value)}}},[t._v(t._s(t.$t(e.label)))])})),0)]),i("div",{staticStyle:{width:"100%",height:"100%",padding:"0"},attrs:{id:"powerChart"}})])]),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.barChartLoading,expression:"barChartLoading"}],staticClass:"barBox"},[i("div",{staticClass:"lineBOX"},[i("div",{staticClass:"intervalBox"},[i("div",{staticClass:"title"},[t._v(t._s(t.$t("mining.computingPower")))]),i("div",{staticClass:"timesBox"},[i("div",{staticClass:"times2"},t._l(t.AccountPowerDistributionintervalList,(function(e){return i("span",{key:e.value,class:{timeActive:t.barActive==e.value},on:{click:function(i){return t.distributionInterval(e.value)}}},[t._v(t._s(t.$t(e.label)))])})),0)])]),i("div",{staticStyle:{width:"100%",height:"90%",padding:"0"},attrs:{id:"barChart"}})])]),i("div",{staticClass:"searchBox"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"inout",attrs:{type:"text",placeholder:t.$t("personal.pleaseEnter2")},domProps:{value:t.search},on:{input:function(i){i.target.composing||(t.search=i.target.value)}}}),i("i",{staticClass:"el-icon-search",on:{click:t.handelSearch}})]),i("div",{staticClass:"top3Box"},[i("section",{staticClass:"tabPageBox"},[i("div",{staticClass:"tabPageTitle"},[i("div",{staticClass:"TitleS minerTitle",on:{click:function(i){return t.handleClick2("power")}}},[i("span",{staticClass:"trapezoid",class:{activeHeadlines:"power"==t.activeName2}},[i("span",[t._v(t._s(t.$t("mining.miner")))])])]),i("div",{staticClass:"TitleS profitTitle",on:{click:function(i){return t.handleClick2("miningMachine")}}},[i("span",{staticClass:"trapezoid",class:{activeHeadlines:"miningMachine"==t.activeName2}},[i("span",[t._v(t._s(t.$t("mining.profit")))])])]),i("div",{staticClass:"TitleS paymentTitle",on:{click:function(i){return t.handleClick2("payment")}}},[i("span",{staticClass:"trapezoid",class:{activeHeadlines:"payment"==t.activeName2}},[i("span",[t._v(t._s(t.$t("mining.payment")))])])])]),"power"==t.activeName2?i("section",{directives:[{name:"loading",rawName:"v-loading",value:t.MinerListLoading,expression:"MinerListLoading"}],staticClass:"page"},[i("div",{staticClass:"minerTitleBox"},[i("div",{staticClass:"TitleOnLine"},[i("span",{on:{click:function(i){return t.onlineStatus("all")}}},[i("span",{staticClass:"circularDots3",class:{activeCircular:"all"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.all"))+" "+t._s(t.MinerListData.all))]),i("span",{on:{click:function(i){return t.onlineStatus("onLine")}}},[i("div",{staticClass:"circularDots2",class:{activeCircular:"onLine"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.onLine"))+" "+t._s(t.MinerListData.online))]),i("span",{on:{click:function(i){return t.onlineStatus("off-line")}}},[i("div",{staticClass:"circularDots2",class:{activeCircular:"off-line"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.offLine"))+" "+t._s(t.MinerListData.offline))])])]),"all"==t.sunTabActiveName?i("div",{staticClass:"publicBox all"},[i("div",{staticClass:"TitleAll",staticStyle:{"font-weight":"600"}},[i("span",[t._v(" "+t._s(t.$t("mining.miner")))]),i("span",[t._v(" "+t._s(t.$t("mining.Minutes"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("30m")}}})]),i("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("24h")}}})])]),i("div",{staticClass:"totalTitleAll"},[i("span",[i("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total")))]),i("span",[t._v(t._s(t.MinerListData.rate)+" ")]),i("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")])]),i("el-collapse",{staticStyle:{"max-height":"800px",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(i){t.Accordion=i},expression:"Accordion"}},t._l(t.sortedMinerListTableData,(function(e,a){return i("div",{key:e.miner,class:"item-"+(a%2===0?"even":"odd")},[i("el-collapse-item",{attrs:{name:e.id},nativeOn:{click:function(i){return t.handelMiniOffLine(e.id,e.miner)}}},[i("template",{slot:"title"},[i("div",{staticClass:"accordionTitleAll"},[i("span",{class:{activeState:"2"==e.status}},["1"==e.status?i("div",{staticClass:"circularDotsOnLine"}):t._e(),"2"==e.status?i("div",{staticClass:"circularDotsOffLine"}):t._e(),t._v(" "+t._s(e.miner))]),i("span",[t._v(t._s(e.rate))]),i("span",[t._v(t._s(e.dailyRate))])])]),i("div",{staticClass:"table-item"},[i("div",[i("p",[t._v(t._s(t.$t("mining.submitTime")))]),i("p",[i("span",{staticClass:"offlineTime",class:{activeState:"2"==e.status},attrs:{title:e.submit}},[i("span",[t._v(t._s(e.submit)+" ")]),"2"==e.status?i("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(e.offline)}},[t._v(t._s(t.handelTimeInterval(e.offline)))]):t._e()])])]),i("div",[i("p",[t._v(t._s(t.$t("mining.state")))]),i("p",[i("span",{class:{activeState:"2"==e.status},attrs:{title:t.$t(t.handelStateList(e.status))}},[t._v(t._s(t.$t(t.handelStateList(e.status)))+" ")])])])]),i("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(e.miner)+"  "+t._s(t.$t("mining.power24H"))+" ")]),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300px"},attrs:{id:"SmallOff"+e.id}})],2)],1)})),0)],1):"onLine"==t.sunTabActiveName?i("div",{staticClass:"publicBox onLine"},[i("div",{staticClass:"TitleAll",staticStyle:{"font-weight":"600"}},[i("span",[t._v(" "+t._s(t.$t("mining.miner")))]),i("span",[t._v(t._s(t.$t("mining.Minutes"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("30m")}}})]),i("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("24h")}}})])]),i("div",{staticClass:"totalTitleAll"},[i("span",[i("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total"))+" ")]),i("span",[t._v(t._s(t.MinerListData.rate)+" ")]),i("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")])]),i("el-collapse",{staticStyle:{"max-height":"800px",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(i){t.Accordion=i},expression:"Accordion"}},t._l(t.MinerListTableData,(function(e,a){return i("div",{key:t.sunTabActiveName+e.miner,class:"item-"+(a%2==0?"even":"odd")},[i("el-collapse-item",{attrs:{name:e.id},nativeOn:{click:function(i){return t.handelOnLineMiniChart(e.id,e.miner)}}},[i("template",{slot:"title"},[i("div",{staticClass:"accordionTitleAll"},[i("span",[i("div",{staticClass:"circularDotsOnLine"}),t._v(" "+t._s(e.miner))]),i("span",[t._v(t._s(e.rate))]),i("span",[t._v(t._s(e.dailyRate))])])]),i("div",{staticClass:"table-itemOn"},[i("div",[i("p",[t._v(t._s(t.$t("mining.submitTime")))]),i("p",[i("span",{staticClass:"offlineTime",class:{activeState:"2"==e.status},attrs:{title:e.submit}},[i("span",[t._v(t._s(e.submit)+" ")]),"2"==e.status?i("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(e.offline)}},[t._v(t._s(t.handelTimeInterval(e.offline)))]):t._e()])])])]),i("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(e.miner)+" "+t._s(t.$t("mining.power24H"))+" ")]),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300px"},attrs:{id:"Small"+e.id}})],2)],1)})),0)],1):"off-line"==t.sunTabActiveName?i("div",{staticClass:"publicBox off-line"},[i("div",{staticClass:"TitleAll",staticStyle:{"font-weight":"600"}},[i("span",[t._v(" "+t._s(t.$t("mining.miner")))]),i("span",[t._v(t._s(t.$t("mining.Minutes"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("30m")}}})]),i("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("24h")}}})])]),i("div",{staticClass:"totalTitleAll"},[i("span",[i("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total"))+" ")]),i("span",[t._v(t._s(t.MinerListData.rate)+" ")]),i("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")])]),i("el-collapse",{staticStyle:{"max-height":"800px",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(i){t.Accordion=i},expression:"Accordion"}},t._l(t.MinerListTableData,(function(e,a){return i("div",{key:e.miner,class:"item-"+(a%2===0?"even":"odd")},[i("el-collapse-item",{attrs:{name:e.id},nativeOn:{click:function(i){return t.handelMiniOffLine(e.id,e.miner)}}},[i("template",{slot:"title"},[i("div",{staticClass:"accordionTitleAll"},[i("span",{class:{activeState:"2"==e.status}},[i("div",{staticClass:"circularDotsOffLine"}),t._v(" "+t._s(e.miner))]),i("span",[t._v(t._s(e.rate))]),i("span",[t._v(t._s(e.dailyRate))])])]),i("div",{staticClass:"table-itemOn"},[i("div",[i("p",[t._v(t._s(t.$t("mining.submitTime")))]),i("p",[i("span",{staticClass:"offlineTime",class:{activeState:"2"==e.status},attrs:{title:e.submit}},[i("span",[t._v(t._s(e.submit)+" ")]),"2"==e.status?i("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(e.offline)}},[t._v(t._s(t.handelTimeInterval(e.offline)))]):t._e()])])])]),i("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(e.miner)+" "+t._s(t.$t("mining.power24H"))+" ")]),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300px"},attrs:{id:"SmallOff"+e.id}})],2)],1)})),0)],1):t._e(),i("el-pagination",{staticStyle:{margin:"0 auto","margin-top":"10px","margin-bottom":"10px"},attrs:{"current-page":t.currentPageMiner,"page-sizes":[50,100,200,400],"page-size":t.MinerListParams.limit,layout:"sizes, prev, pager, next",total:t.minerTotal},on:{"size-change":t.handleSizeMiner,"current-change":t.handleCurrentMiner,"update:currentPage":function(i){t.currentPageMiner=i},"update:current-page":function(i){t.currentPageMiner=i}}})],1):t._e(),"miningMachine"==t.activeName2?i("section",{staticClass:"miningMachine"},[i("div",{staticClass:"belowTable"},[i("ul",[i("li",{staticClass:"table-title"},[i("span",{attrs:{title:t.$t("mining.settlementDate")}},[t._v(t._s(t.$t("mining.settlementDate")))]),i("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s")]),i("span",{attrs:{title:t.$t("mining.profit")}},[t._v(t._s(t.$t("mining.profit")))])]),t._l(t.HistoryIncomeData,(function(e,a){return i("li",{key:a,staticClass:"currency-list"},[i("span",{attrs:{title:e.date}},[t._v(t._s(e.date))]),i("span",{attrs:{title:e.mhs}},[t._v(t._s(e.mhs)+" ")]),i("span",{attrs:{title:e.amount}},[t._v(t._s(e.amount)+" "),i("span",{staticStyle:{color:"rgba(0, 0, 0, 0.5)","text-transform":"capitalize"}},[t._v(t._s(t.accountItem.coin.includes("dgb")?"dgb":t.accountItem.coin))])])])}))],2),i("el-pagination",{staticClass:"pageBox",attrs:{"current-page":t.currentPageIncome,"page-sizes":[10,50,100,400],"page-size":t.IncomeParams.limit,layout:"sizes, prev, pager, next",total:t.HistoryIncomeTotal},on:{"size-change":t.handleSizeChangeIncome,"current-change":t.handleCurrentChangeIncome,"update:currentPage":function(i){t.currentPageIncome=i},"update:current-page":function(i){t.currentPageIncome=i}}})],1)]):t._e(),"payment"==t.activeName2?i("section",{staticClass:"payment"},[i("div",{staticClass:"belowTable"},[i("div",{staticClass:"table-title"},[i("span",{attrs:{title:t.$t("mining.withdrawalTime")}},[t._v(t._s(t.$t("mining.withdrawalTime")))]),i("span",{attrs:{title:t.$t("mining.withdrawalAmount")}},[t._v(t._s(t.$t("mining.withdrawalAmount")))]),i("span",{attrs:{title:t.$t("mining.paymentStatus")}},[t._v(t._s(t.$t("mining.paymentStatus")))])]),i("el-collapse",{attrs:{accordion:""}},t._l(t.HistoryOutcomeData,(function(e,a){return i("el-collapse-item",{key:e.txid,staticClass:"collapseItem",attrs:{name:a}},[i("template",{slot:"title"},[i("div",{staticClass:"paymentCollapseTitle"},[i("span",[t._v(t._s(e.date))]),i("span",[t._v(t._s(e.amount))]),i("span",[t._v(t._s(t.$t(t.handelPayment(e.status))))])])]),i("div",{staticClass:"dropDownContent"},[e.address?i("div",[i("p",[t._v(t._s(t.$t("mining.withdrawalAddress")))]),i("p",[t._v(t._s(e.address)+" "),i("span",{staticClass:"copy",on:{click:function(i){return t.clickCopyAddress(e)}}},[t._v(t._s(t.$t("personal.copy")))])])]):t._e(),e.txid?i("div",[i("p",[t._v("Txid")]),i("p",[i("span",{staticStyle:{cursor:"pointer","text-decoration":"underline",color:"#433278"},on:{click:function(i){return t.handelTxid(e.txid)}}},[t._v(" "+t._s(e.txid)+" ")]),t._v(" "),i("span",{staticClass:"copy",on:{click:function(i){return t.clickCopyTxid(e)}}},[t._v(t._s(t.$t("personal.copy")))])])]):t._e()])],2)})),1),i("el-pagination",{staticStyle:{"margin-top":"10px","margin-bottom":"10px"},attrs:{"current-page":t.currentPage,"page-sizes":[10,50,100,400],"page-size":t.OutcomeParams.limit,layout:"sizes, prev, pager, next",total:t.HistoryOutcomeTotal},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(i){t.currentPage=i},"update:current-page":function(i){t.currentPage=i}}})],1)]):t._e()])])]):i("section",{staticClass:"miningAccount"},[i("div",{staticClass:"accountInformation"},[i("img",{attrs:{src:t.accountItem.img,alt:"coin"}}),i("span",{staticClass:"coin"},[t._v(t._s(t.accountItem.coin)+" ")]),i("i",{staticClass:"iconfont icon-youjiantou"}),i("span",{staticClass:"ma"},[t._v(" "+t._s(t.accountItem.ma))])]),i("div",{staticClass:"profitBox"},[i("div",{staticClass:"profitTop"},[i("div",{staticClass:"box"},[i("span",[t._v(t._s(t.$t("mining.totalRevenue"))+" ")]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.totalProfit))])]),i("div",{staticClass:"box"},[i("span",[t._v(t._s(t.$t("mining.totalExpenditure"))+" ")]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.expend))])]),i("div",{staticClass:"box"},[i("span",[t._v(t._s(t.$t("mining.yesterdaySEarnings"))+" ")]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.preProfit))])]),i("div",{staticClass:"box"},[i("span",[t._v(t._s(t.$t("mining.diggedToday"))+" "),i("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.diggedTodayTips")}},[i("img",{attrs:{src:e(3832),alt:"profit",loading:"lazy"}})])]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.todayPorfit))])]),i("div",{staticClass:"box"},[i("span",{staticClass:"paymentSettings"},[t._v(t._s(t.$t("mining.accountBalance"))+" "),i("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.balanceReminder")}},[i("img",{attrs:{src:e(3832),alt:"profit",loading:"lazy"}})])]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.balance))])])]),i("div",{staticClass:"paymentSettingBth"},[i("el-button",{on:{click:t.jumpPage}},[t._v(t._s(t.$t("mining.paymentSettings")))])],1),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.powerChartLoading,expression:"powerChartLoading"}],staticClass:"profitBtm"},[i("div",{staticClass:"right"},[i("div",{staticClass:"intervalBox"},[i("div",{staticClass:"title"},[t._v(t._s(t.$t("mining.algorithmicDiagram")))]),i("div",{staticClass:"times"},t._l(t.intervalList,(function(e){return i("span",{key:e.value,class:{timeActive:t.timeActive==e.value},on:{click:function(i){return t.handleInterval(e.value)}}},[t._v(t._s(t.$t(e.label)))])})),0)]),i("div",{staticStyle:{width:"100%",height:"100%",padding:"0"},attrs:{id:"powerChart"}})])])]),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.barChartLoading,expression:"barChartLoading"}],staticClass:"top2Box"},[i("div",{staticClass:"lineBOX"},[i("div",{staticClass:"intervalBox"},[i("div",{staticClass:"title"},[t._v(t._s(t.$t("mining.computingPower")))]),i("div",{staticClass:"times"},t._l(t.AccountPowerDistributionintervalList,(function(e){return i("span",{key:e.value,class:{timeActive:t.barActive==e.value},on:{click:function(i){return t.distributionInterval(e.value)}}},[t._v(t._s(t.$t(e.label)))])})),0)]),i("div",{staticStyle:{width:"100%",height:"90%",padding:"0"},attrs:{id:"barChart"}})])]),i("div",{staticClass:"top3Box"},[i("section",{staticClass:"tabPageBox"},[i("div",{staticClass:"tabPageTitle"},[i("div",{staticClass:"TitleS minerTitle",on:{click:function(i){return t.handleClick2("power")}}},[i("span",{staticClass:"trapezoid",class:{activeHeadlines:"power"==t.activeName2}},[i("span",[t._v(t._s(t.$t("mining.miner")))])])]),i("div",{staticClass:"TitleS profitTitle",on:{click:function(i){return t.handleClick2("miningMachine")}}},[i("span",{staticClass:"trapezoid",class:{activeHeadlines:"miningMachine"==t.activeName2}},[i("span",[t._v(t._s(t.$t("mining.profit")))])])]),i("div",{staticClass:"TitleS paymentTitle",on:{click:function(i){return t.handleClick2("payment")}}},[i("span",{staticClass:"trapezoid",class:{activeHeadlines:"payment"==t.activeName2}},[i("span",[t._v(t._s(t.$t("mining.payment")))])])])]),"power"==t.activeName2?i("section",{directives:[{name:"loading",rawName:"v-loading",value:t.MinerListLoading,expression:"MinerListLoading"}],staticClass:"page"},[i("div",{staticClass:"minerTitleBox"},[i("div",{staticClass:"TitleOnLine"},[i("span",{on:{click:function(i){return t.onlineStatus("all")}}},[i("span",{staticClass:"circularDots3",class:{activeCircular:"all"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.all"))+" "+t._s(t.MinerListData.all))]),i("span",{on:{click:function(i){return t.onlineStatus("onLine")}}},[i("div",{staticClass:"circularDots2",class:{activeCircular:"onLine"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.onLine"))+" "+t._s(t.MinerListData.online))]),i("span",{on:{click:function(i){return t.onlineStatus("off-line")}}},[i("div",{staticClass:"circularDots2",class:{activeCircular:"off-line"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.offLine"))+" "+t._s(t.MinerListData.offline))])]),i("div",{staticClass:"searchBox"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"inout",attrs:{type:"text",placeholder:t.$t("personal.pleaseEnter2")},domProps:{value:t.search},on:{input:function(i){i.target.composing||(t.search=i.target.value)}}}),i("i",{staticClass:"el-icon-search",on:{click:t.handelSearch}})])]),"all"==t.sunTabActiveName?i("div",{staticClass:"publicBox all"},[i("div",{staticClass:"TitleAll",staticStyle:{"font-weight":"600"}},[i("span",[t._v(" "+t._s(t.$t("mining.miner")))]),i("span",[t._v(" "+t._s(t.$t("mining.Minutes"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("30m")}}})]),i("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("24h")}}})]),i("span",[t._v(t._s(t.$t("mining.submitTime")))]),i("span",[t._v(t._s(t.$t("mining.state")))])]),i("div",{staticClass:"totalTitleAll"},[i("span",[i("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total")))]),i("span",[t._v(t._s(t.MinerListData.rate)+" ")]),i("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")]),i("span",[t._v("   --- ")]),i("span")]),i("el-collapse",{staticStyle:{"max-height":"800px",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(i){t.Accordion=i},expression:"Accordion"}},t._l(t.sortedMinerListTableData,(function(e,a){return i("div",{key:e.miner,class:"item-"+(a%2===0?"even":"odd")},[i("el-collapse-item",{attrs:{name:e.id},nativeOn:{click:function(i){return t.handelMiniOffLine(e.id,e.miner)}}},[i("template",{slot:"title"},[i("div",{staticClass:"accordionTitleAll"},[i("span",{class:{activeState:"2"==e.status}},["1"==e.status?i("div",{staticClass:"circularDotsOnLine"}):t._e(),"2"==e.status?i("div",{staticClass:"circularDotsOffLine"}):t._e(),t._v(" "+t._s(e.miner))]),i("span",[t._v(t._s(e.rate)+" ")]),i("span",[t._v(t._s(e.dailyRate))]),i("span",{staticClass:"offlineTime",class:{activeState:"2"==e.status},attrs:{title:e.submit}},[i("span",[t._v(t._s(e.submit)+" ")]),"2"==e.status?i("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(e.offline)}},[t._v(t._s(t.handelTimeInterval(e.offline)))]):t._e()]),i("span",{class:{activeState:"2"==e.status},attrs:{title:t.$t(t.handelStateList(e.status))}},[t._v(t._s(t.$t(t.handelStateList(e.status)))+" ")])])]),i("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(e.miner)+"  "+t._s(t.$t("mining.power24H"))+" ")]),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300px"},attrs:{id:"SmallOff"+e.id}})],2)],1)})),0)],1):"onLine"==t.sunTabActiveName?i("div",{staticClass:"publicBox onLine"},[i("div",{staticClass:"Title",staticStyle:{"font-weight":"600"}},[i("span",[t._v(" "+t._s(t.$t("mining.miner")))]),i("span",[t._v(t._s(t.$t("mining.Minutes"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("30m")}}})]),i("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("24h")}}})]),i("span",[t._v(t._s(t.$t("mining.submitTime")))])]),i("div",{staticClass:"totalTitle"},[i("span",[i("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total"))+" ")]),i("span",[t._v(t._s(t.MinerListData.rate)+" ")]),i("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")]),i("span",[t._v("   --- ")])]),i("el-collapse",{staticStyle:{"max-height":"800px",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(i){t.Accordion=i},expression:"Accordion"}},t._l(t.MinerListTableData,(function(e,a){return i("div",{key:t.sunTabActiveName+e.miner,class:"item-"+(a%2==0?"even":"odd")},[i("el-collapse-item",{attrs:{name:e.id},nativeOn:{click:function(i){return t.handelOnLineMiniChart(e.id,e.miner)}}},[i("template",{slot:"title"},[i("div",{staticClass:"accordionTitle"},[i("span",[i("div",{staticClass:"circularDotsOnLine"}),t._v(" "+t._s(e.miner))]),i("span",[t._v(t._s(e.rate))]),i("span",[t._v(t._s(e.dailyRate))]),i("span",[t._v(t._s(e.submit))])])]),i("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(e.miner)+" "+t._s(t.$t("mining.power24H"))+" ")]),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300px"},attrs:{id:"Small"+e.id}})],2)],1)})),0)],1):"off-line"==t.sunTabActiveName?i("div",{staticClass:"publicBox off-line"},[i("div",{staticClass:"Title",staticStyle:{"font-weight":"600"}},[i("span",[t._v(" "+t._s(t.$t("mining.miner")))]),i("span",[t._v(t._s(t.$t("mining.Minutes"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("30m")}}})]),i("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("24h")}}})]),i("span",[t._v(t._s(t.$t("mining.submitTime")))])]),i("div",{staticClass:"totalTitle"},[i("span",[i("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total"))+" ")]),i("span",[t._v(t._s(t.MinerListData.rate)+" ")]),i("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")]),i("span",[t._v("   --- ")])]),i("el-collapse",{staticStyle:{"max-height":"800px",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(i){t.Accordion=i},expression:"Accordion"}},t._l(t.MinerListTableData,(function(e,a){return i("div",{key:e.miner,class:"item-"+(a%2===0?"even":"odd")},[i("el-collapse-item",{attrs:{name:e.id},nativeOn:{click:function(i){return t.handelMiniOffLine(e.id,e.miner)}}},[i("template",{slot:"title"},[i("div",{staticClass:"accordionTitle"},[i("span",{class:{activeState:"2"==e.status}},[i("div",{staticClass:"circularDotsOffLine"}),t._v(" "+t._s(e.miner))]),i("span",[t._v(t._s(e.rate))]),i("span",[t._v(t._s(e.dailyRate))]),i("span",{staticClass:"offlineTime",class:{activeState:"2"==e.status},attrs:{title:e.submit}},[i("span",[t._v(t._s(e.submit)+" ")]),"2"==e.status?i("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(e.offline)}},[t._v(t._s(t.handelTimeInterval(e.offline)))]):t._e()])])]),i("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(e.miner)+" "+t._s(t.$t("mining.power24H"))+" ")]),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300px"},attrs:{id:"SmallOff"+e.id}})],2)],1)})),0)],1):t._e(),i("el-pagination",{staticClass:"minerPagination",attrs:{"current-page":t.currentPageMiner,"page-sizes":[50,100,200,400],"page-size":t.MinerListParams.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.minerTotal},on:{"size-change":t.handleSizeMiner,"current-change":t.handleCurrentMiner,"update:currentPage":function(i){t.currentPageMiner=i},"update:current-page":function(i){t.currentPageMiner=i}}})],1):t._e(),"miningMachine"==t.activeName2?i("section",{staticClass:"miningMachine"},[i("div",{staticClass:"belowTable"},[i("ul",[i("li",{staticClass:"table-title"},[i("span",{attrs:{title:t.$t("mining.settlementDate")}},[t._v(t._s(t.$t("mining.settlementDate")))]),i("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s")]),i("span",{attrs:{title:t.$t("mining.profit")}},[t._v(t._s(t.$t("mining.profit")))])]),t._l(t.HistoryIncomeData,(function(e,a){return i("li",{key:a,staticClass:"currency-list"},[i("span",{attrs:{title:e.date}},[t._v(t._s(e.date))]),i("span",{attrs:{title:e.mhs}},[t._v(t._s(e.mhs)+" ")]),i("span",{attrs:{title:e.amount}},[t._v(t._s(e.amount)+" "),i("span",{staticStyle:{color:"rgba(0, 0, 0, 0.5)","text-transform":"capitalize"}},[t._v(t._s(t.accountItem.coin.includes("dgb")?"dgb":t.accountItem.coin))])])])}))],2),i("el-pagination",{attrs:{"current-page":t.currentPageIncome,"page-sizes":[10,50,100,400],"page-size":t.IncomeParams.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.HistoryIncomeTotal},on:{"size-change":t.handleSizeChangeIncome,"current-change":t.handleCurrentChangeIncome,"update:currentPage":function(i){t.currentPageIncome=i},"update:current-page":function(i){t.currentPageIncome=i}}})],1)]):t._e(),"payment"==t.activeName2?i("section",{staticClass:"payment"},[i("div",{staticClass:"belowTable"},[i("ul",[i("li",{staticClass:"table-title"},[i("span",{attrs:{title:t.$t("mining.withdrawalTime")}},[t._v(t._s(t.$t("mining.withdrawalTime")))]),i("span",{attrs:{title:t.$t("mining.withdrawalAddress")}},[t._v(t._s(t.$t("mining.withdrawalAddress")))]),i("span",{attrs:{title:t.$t("mining.withdrawalAmount")}},[t._v(t._s(t.$t("mining.withdrawalAmount")))]),i("span",{attrs:{title:t.$t("mining.paymentStatus")}},[t._v(t._s(t.$t("mining.paymentStatus")))])]),t._l(t.HistoryOutcomeData,(function(e){return i("li",{key:e.txid,staticClass:"currency-list"},[i("span",{attrs:{title:e.date}},[t._v(t._s(e.date))]),i("span",{staticStyle:{"text-align":"left"},attrs:{title:e.address}},[t._v(t._s(e.address))]),i("span",{attrs:{title:e.amount}},[t._v(t._s(e.amount)+" "),i("span",{staticStyle:{color:"rgba(0, 0, 0, 0.5)","text-transform":"capitalize"}},[t._v(t._s(t.accountItem.coin.includes("dgb")?"dgb":t.accountItem.coin))])]),i("span",{staticClass:"txidBox"},[i("span",{staticStyle:{"font-size":"0.8rem"}},[t._v(t._s(t.$t(t.handelPayment(e.status)))+" ")]),0!==e.status?i("span",{staticClass:"txid"},[i("el-popover",{attrs:{placement:"top",width:"300",trigger:"hover"}},[i("span",{ref:"txidRef",refInFor:!0,attrs:{id:`id${e.txid}`}},[t._v(t._s(e.txid)+" ")]),i("div",{staticStyle:{"text-align":"right",margin:"0"}},[i("el-button",{staticStyle:{"border-radius":"5px"},attrs:{size:"mini"},on:{click:function(i){return t.copyTxid(e.txid)}}},[t._v(t._s(t.$t("personal.copy"))+" ")])],1),i("div",{attrs:{slot:"reference"},on:{click:function(i){return t.handelTxid(e.txid)}},slot:"reference"},[t._v("Txid ")])])],1):t._e()])])}))],2),i("el-pagination",{attrs:{"current-page":t.currentPage,"page-sizes":[10,50,100,400],"page-size":t.OutcomeParams.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.HistoryOutcomeTotal},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(i){t.currentPage=i},"update:current-page":function(i){t.currentPage=i}}})],1)]):t._e()])])])])},i.Yp=[]},58883:function(t,i,e){e.r(i),e.d(i,{__esModule:function(){return s.B},default:function(){return l}});var a=e(11374),s=e(18163),n=s.A,o=e(81656),r=(0,o.A)(n,a.XX,a.Yp,!1,null,"4db3a113",null),l=r.exports},59095:function(t,i,e){i.Yp=i.XX=void 0;i.XX=function(){var t=this,i=t._self._c;return i("div",[t.$isMobile?i("section",[i("section",{staticClass:"describeBox"},[i("div",{staticClass:"describe-row"},[i("div",{staticClass:"broadcast-scroll-wrap"},[i("div",{staticClass:"broadcast-scroll-list",style:t.scrollStyle,on:{mouseenter:t.stopScroll,mouseleave:t.startScroll}},t._l(t.broadcastList,(function(e){return i("div",{key:e.id,staticClass:"broadcast-scroll-item"},[i("i",{staticClass:"iconfont icon-tishishuoming"}),i("span",{staticClass:"describeTitle"},[t._v(t._s(t.$t("home.describeTitle")))]),i("span",{staticClass:"describeContent",attrs:{title:e.content}},[t._v(" "+t._s(e.content))]),e.buttonContent&&Array.isArray(e.buttonContent)&&e.buttonContent.length>0?i("div",{staticClass:"button-group"},t._l(e.buttonContent,(function(a,s){return i("span",{key:`button-${e.id}-${s}`,staticClass:"view",attrs:{title:a},on:{click:function(i){return i.stopPropagation(),t.handelJumpBroadcast(e.buttonPath[s])}}},[t._v(" "+t._s(a||t.$t("home.view"))+" ")])})),0):t._e()])})),0)])])]),t._m(0),i("div",{staticClass:"currencySelect"},[i("el-menu",{staticClass:"el-menu-demo",attrs:{mode:"horizontal"}},[i("el-submenu",{staticStyle:{background:"transparent"},attrs:{index:"1"}},[i("template",{slot:"title"},[i("span",{ref:"coinSelect",staticClass:"coinSelect"},[i("img",{staticStyle:{width:"20px"},attrs:{src:t.currencyPath,alt:"coin"}}),i("span",[t._v(t._s(t.handelLabel(t.params.coin)))])])]),i("ul",{staticClass:"moveCurrencyBox"},t._l(t.currencyList,(function(e){return i("li",{key:e.value,on:{click:function(i){return t.clickCurrency(e)}}},[i("img",{attrs:{src:e.img,alt:"coin",loading:"lazy"}}),i("p",[t._v(t._s(e.label))])])})),0)],2)],1)],1),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.minerChartLoading,expression:"minerChartLoading"}],staticClass:"miningPoolLeft"},[i("div",{staticClass:"interval"},[i("div",{staticClass:"chartBth"},[i("div",{staticClass:"slideBox"},[i("span",{class:{slideActive:t.powerActive},on:{click:t.handelPower}},[t._v(t._s(t.$t("home.CurrencyPower")))]),i("span",{class:{slideActive:!t.powerActive},on:{click:t.handelMiner}},[t._v(t._s(t.$t("home.networkPower")))])])]),i("div",{staticClass:"timeBox"},t._l(t.intervalList,(function(e){return i("span",{key:e.value,staticClass:"times",class:{timeActive:t.timeActive==e.value},on:{click:function(i){return t.intervalChange(e.value)}}},[t._v(t._s(t.$t(e.label)))])})),0)]),t.powerActive?i("div",{staticStyle:{width:"100%",height:"100%","min-width":"200px"},attrs:{id:"chart"}}):t._e(),t.powerActive?t._e():i("div",{staticStyle:{width:"100%",height:"100%","min-width":"200px","min-height":"380px"},attrs:{id:"minerChart"}})]),i("div",{staticClass:"miningPoolRight"},[i("ul",{staticClass:"dataBlockBox"},[i("li",{staticClass:"dataBlock"},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.power")}},[t._v(t._s(t.$t("home.power")))]),i("p",{staticClass:"content",attrs:{title:t.CoinData.poolPower}},[t._v(" "+t._s(t.CoinData.poolPower)+" ")])]),t._m(1)]),"enx"!==this.params.coin?i("li",{staticClass:"dataBlock"},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.networkPower")}},[t._v(" "+t._s(t.$t("home.networkPower"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.totalPower}},[t._v(" "+t._s(t.CoinData.totalPower)+" ")])]),t._m(2)]):t._e(),"enx"!==this.params.coin?i("li",{staticClass:"dataBlock"},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.networkDifficulty")}},[t._v(" "+t._s(t.$t("home.networkDifficulty"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.totalDifficulty}},[t._v(" "+t._s(t.CoinData.totalDifficulty)+" ")])]),t._m(3)]):t._e(),i("li",[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.algorithm")}},[t._v(" "+t._s(t.$t("home.algorithm"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.algorithm}},[t._v(" "+t._s(t.CoinData.algorithm)+" ")])]),t._m(4)]),"enx"!==this.params.coin?i("li",[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.height")}},[t._v(t._s(t.$t("home.height")))]),i("p",{staticClass:"content",attrs:{title:t.CoinData.height}},[t._v(" "+t._s(t.CoinData.height)+" ")])]),t._m(5)]):t._e(),"enx"!==this.params.coin?i("li",[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.coinValue")}},[t._v(" "+t._s(t.$t("home.coinValue"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.price}},[t._v(" "+t._s(t.CoinData.price)+" ")])]),t._m(6)]):t._e(),i("li",[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.mode")}},[t._v(" "+t._s(t.$t("home.mode"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.model}},[t._v(" "+t._s(t.CoinData.model)+" / "+t._s(t.CoinData.fee)+"% ")])]),t._m(7)]),i("li",{staticClass:"profitCalculation",attrs:{id:"myDiv"},on:{click:t.handelProfitCalculation}},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.profitCalculation")}},[t._v(" "+t._s(t.$t("home.profitCalculation"))+" ")])]),t._m(8)]),i("li",{staticClass:"ConnectMiningPool",on:{click:function(i){return t.handelJump("/AccessMiningPool")}}},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.ConnectMiningPool")}},[t._v(" "+t._s(t.$t("home.ConnectMiningPool"))+" ")]),i("p",{staticClass:"content"})]),t._m(9)])])]),i("div",{staticClass:"reportBlock"},[i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.reportBlockLoading,expression:"reportBlockLoading"}],staticClass:"reportBlockBox"},[i("div",{staticClass:"belowTable"},[i("ul",[i("li",{staticClass:"table-title2"},[i("span",{staticClass:"block-Height",attrs:{title:t.$t("home.blockHeight")}},[t._v(t._s(t.$t("home.blockHeight")))]),i("span",{staticClass:"block-Time",attrs:{title:t.$t("home.blockingTime")}},[t._v(t._s(t.$t("home.blockingTime")))])]),t._l(t.newBlockInfoData,(function(e){return i("li",{key:e.hash,staticClass:"currency-list2",on:{click:t.clickReportBlock}},[i("span",{staticClass:"block-height"},[t._v(t._s(e.height))]),i("span",{staticClass:"block-time"},[t._v(t._s(e.date))])])}))],2)])])]),i("section",{directives:[{name:"show",rawName:"v-show",value:t.showCalculator,expression:"showCalculator"}],staticClass:"Calculator"},[i("div",{staticClass:"prop"},[i("div",{staticClass:"titleBox"},[i("span",[t._v(t._s(t.$t("home.profitCalculation")))]),i("i",{staticClass:"iconfont icon-guanbi close",on:{click:t.handelClose}})]),i("div",{staticClass:"cautionBox"},[i("span",[t._v(t._s(t.$t("home.caution")))]),t._v(" "+t._s(t.$t("home.calculatorTips"))+" ")]),i("div",{staticClass:"selectCurrency"},[i("div",{staticClass:"Currency2"},[i("el-select",{ref:"select",on:{change:function(i){return t.changeSelection(t.value)}},model:{value:t.value,callback:function(i){t.value=i},expression:"value"}},t._l(t.currencyList,(function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}},[i("div",{staticStyle:{display:"flex","align-items":"center"}},[i("img",{staticStyle:{float:"left",width:"20px"},attrs:{src:e.imgUrl}}),i("span",{staticStyle:{float:"left","margin-left":"5px"}},[t._v(" "+t._s(e.label))])])])})),1)],1)]),i("div",{staticClass:"content2"},[i("div",{staticClass:"item"},[i("p",{staticClass:"power"},[t._v(t._s(t.$t("home.Power"))+":")]),i("el-input",{staticClass:"input-with-select",staticStyle:{width:"90%",height:"30px"},on:{change:t.handelCalculation},model:{value:t.inputPower,callback:function(i){t.inputPower=i},expression:"inputPower"}},[i("el-select",{staticStyle:{width:"100px"},attrs:{slot:"append"},on:{change:t.handelCalculation},slot:"append",model:{value:t.select,callback:function(i){t.select=i},expression:"select"}},[i("el-option",{attrs:{label:"MH/s",value:"MH/s"}}),i("el-option",{attrs:{label:"GH/s",value:"GH/s"}}),i("el-option",{attrs:{label:"TH/s",value:"TH/s"}})],1)],1)],1),i("div",{staticClass:"item"},[i("p",{staticClass:"time"},[t._v(t._s(t.$t("home.time"))+":")]),i("el-select",{staticStyle:{width:"90%"},on:{change:t.handelCalculation},model:{value:t.time,callback:function(i){t.time=i},expression:"time"}},t._l(t.selectTime,(function(e){return i("el-option",{key:e.value,attrs:{label:t.$t(e.label),value:e.value}})})),1)],1),i("div",{staticClass:"item"},[i("p",{staticClass:"profit"},[t._v(t._s(t.$t("home.profit"))+":")]),i("el-input",{staticStyle:{width:"90%",height:"20px"},attrs:{disabled:"",placeholder:t.$t("mining.profit")},model:{value:t.profit,callback:function(i){t.profit=i},expression:"profit"}})],1)])])])]):i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.minerChartLoading,expression:"minerChartLoading"}],staticClass:"content"},[t._m(10),i("el-row",[i("el-col",{attrs:{xs:24,sm:24,md:24,lg:24,xl:24}},[i("el-card",[i("div",{staticClass:"monitor-list"},[i("div",{staticClass:"btn left",on:{click:t.scrollLeft}},[i("i",{staticClass:"iconfont icon-icon-prev"})]),i("div",{staticClass:"list-box",attrs:{id:"list-box"}},[i("div",{staticClass:"list",attrs:{id:"list"}},t._l(t.currencyList,(function(e){return i("div",{key:e.value,staticClass:"list-item",on:{click:function(i){return t.clickCurrency(e)}}},[i("img",{staticStyle:{width:"35px"},attrs:{src:e.img,alt:"coin"}}),i("span",{class:{active:t.itemActive===e.value}},[t._v(" "+t._s(e.label))])])})),0)]),i("div",{staticClass:"btn right",on:{click:t.scrollRight}},[i("i",{staticClass:"iconfont icon-zuoyoujiantou1"})])])])],1)],1),i("section",{staticClass:"describeBox"},[i("div",{staticClass:"describe-row"},[i("div",{staticClass:"broadcast-scroll-wrap"},[i("div",{staticClass:"broadcast-scroll-list",style:t.scrollStyle,on:{mouseenter:t.stopScroll,mouseleave:t.startScroll}},t._l(t.broadcastList,(function(e){return i("div",{key:e.id,staticClass:"broadcast-scroll-item"},[i("i",{staticClass:"iconfont icon-tishishuoming"}),i("span",{staticClass:"describeTitle"},[t._v(t._s(t.$t("home.describeTitle")))]),i("span",{staticClass:"describeContent",attrs:{title:e.content}},[t._v(" "+t._s(e.content))]),e.buttonContent&&Array.isArray(e.buttonContent)&&e.buttonContent.length>0?i("div",{staticClass:"button-group"},t._l(e.buttonContent,(function(a,s){return i("span",{key:`button-${e.id}-${s}`,staticClass:"view",attrs:{title:a},on:{click:function(i){return i.stopPropagation(),t.handelJumpBroadcast(e.buttonPath[s])}}},[t._v(" "+t._s(a||t.$t("home.view"))+" ")])})),0):t._e()])})),0)])])]),i("div",{staticClass:"contentBox"},[i("el-row",[i("div",{staticClass:"currencyDescription2"},[i("section",{staticClass:"miningPoolBox"},[i("el-col",{attrs:{xs:24,sm:24,md:24,lg:12,xl:12}},[i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.minerChartLoading,expression:"minerChartLoading"},{name:"loading-recovery",rawName:"v-loading-recovery",value:{loading:"minerChartLoading",recovery:["getPoolPowerData","fetchNetPower"]},expression:"{\n loading: 'minerChartLoading',\n recovery: ['getPoolPowerData', 'fetchNetPower'],\n }"}],staticClass:"miningPoolLeft"},[i("div",{staticClass:"interval"},[i("div",{staticClass:"chartBth"},[i("div",{staticClass:"slideBox"},[i("span",{class:{slideActive:t.powerActive},on:{click:t.handelPower}},[t._v(t._s(t.$t("home.CurrencyPower")))]),i("span",{class:{slideActive:!t.powerActive},on:{click:t.handelMiner}},[t._v(t._s(t.$t("home.networkPower")))])])])]),i("div",{staticClass:"timeBox",staticStyle:{"text-align":"right","padding-right":"35px","margin-bottom":"8px"}},t._l(t.intervalList,(function(e){return i("span",{key:e.value,staticClass:"times",class:{timeActive:t.timeActive==e.value},on:{click:function(i){return t.intervalChange(e.value)}}},[t._v(t._s(t.$t(e.label)))])})),0),t.powerActive?i("div",{staticStyle:{width:"100%",height:"100%","min-width":"200px"},attrs:{id:"chart"}}):t._e(),t.powerActive?t._e():i("div",{staticStyle:{width:"100%",height:"100%"},attrs:{id:"minerChart"}})])]),i("el-col",{attrs:{xs:24,sm:24,md:24,lg:12,xl:12}},[i("div",{staticClass:"miningPoolRight"},[i("ul",{staticClass:"dataBlockBox"},[i("li",{class:{dataBlock:"enx"!==this.params.coin}},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.power")}},[t._v(t._s(t.$t("home.power")))]),i("p",{staticClass:"content",attrs:{title:t.CoinData.poolPower}},[t._v(" "+t._s(t.CoinData.poolPower)+" ")])]),i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(48370),alt:"power"}})])]),"enx"!==this.params.coin?i("li",{staticClass:"dataBlock"},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.networkPower")}},[t._v(" "+t._s(t.$t("home.networkPower"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.totalPower}},[t._v(" "+t._s(t.CoinData.totalPower)+" ")])]),i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(27596),alt:"Computing power"}})])]):t._e(),"enx"!==this.params.coin?i("li",{staticClass:"dataBlock"},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.networkDifficulty")}},[t._v(" "+t._s(t.$t("home.networkDifficulty"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.totalDifficulty}},[t._v(" "+t._s(t.CoinData.totalDifficulty)+" ")])]),i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(69218),alt:"difficulty"}})])]):t._e(),i("li",[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.algorithm")}},[t._v(" "+t._s(t.$t("home.algorithm"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.algorithm}},[t._v(" "+t._s(t.CoinData.algorithm)+" ")])]),i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(66560),alt:"algorithm"}})])]),"enx"!==this.params.coin?i("li",[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.height")}},[t._v(" "+t._s(t.$t("home.height"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.height}},[t._v(" "+t._s(t.CoinData.height)+" ")])]),i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(1708),alt:"height"}})])]):t._e(),"enx"!==this.params.coin?i("li",[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.coinValue")}},[t._v(" "+t._s(t.$t("home.coinValue"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.price}},[t._v(" "+t._s(t.CoinData.price)+" ")])]),i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(37720),alt:"Currency price"}})])]):t._e(),i("li",[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.mode")}},[t._v(" "+t._s(t.$t("home.mode"))+" ")]),i("p",{staticClass:"content",staticStyle:{"font-size":"0.8rem","margin-right":"5px"},attrs:{title:t.CoinData.price}},[t._v(" "+t._s(t.CoinData.model)+" / "+t._s(t.CoinData.fee)+"% ")])]),i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(74910),alt:"Profit Calculator"}})])]),i("li",{staticClass:"profitCalculation",attrs:{id:"myDiv"},on:{click:t.handelProfitCalculation}},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.profitCalculation")}},[t._v(" "+t._s(t.$t("home.profitCalculation"))+" ")])]),i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(67698),alt:"Profit Calculator"}})])]),i("li",{staticClass:"ConnectMiningPool",on:{click:function(i){return t.handelJump("/AccessMiningPool")}}},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.ConnectMiningPool")}},[t._v(" "+t._s(t.$t("home.ConnectMiningPool"))+" ")]),i("p",{staticClass:"content"})]),i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(1717),alt:"Connect to the mining pool"}})])])])])])],1)])])],1),i("el-row",[i("el-col",{attrs:{xs:24,sm:24,md:24,lg:24,xl:24}},[i("div",{staticClass:"reportBlock"},[i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.reportBlockLoading,expression:"reportBlockLoading"},{name:"loading-recovery",rawName:"v-loading-recovery",value:{loading:"reportBlockLoading",recovery:["getBlockInfoData"]},expression:"{\n loading: 'reportBlockLoading',\n recovery: ['getBlockInfoData'],\n }"}],staticClass:"reportBlockBox"},[i("div",{staticClass:"belowTable"},[i("ul",[i("li",{staticClass:"table-title"},[i("span",{attrs:{title:t.$t("home.blockHeight")}},[t._v(t._s(t.$t("home.blockHeight")))]),i("span",{attrs:{title:t.$t("home.blockingTime")}},[t._v(t._s(t.$t("home.blockingTime")))]),i("span",{staticClass:"hash",attrs:{title:t.$t("home.blockHash")}},[t._v(t._s(t.$t("home.blockHash")))]),i("div",{staticClass:"blockRewards",attrs:{title:t.$t("home.blockRewards")}},[t._v(" "+t._s(t.$t("home.blockRewards"))+" ("+t._s(t.handelLabel2(t.params.coin))+") ")])]),t._l(t.newBlockInfoData,(function(e){return i("li",{key:e.hash,staticClass:"currency-list",on:{click:t.clickReportBlock}},[i("span",[t._v(t._s(e.height))]),i("span",[t._v(t._s(e.date))]),i("span",{staticClass:"hash",attrs:{title:e.hash}},[t._v(t._s(e.hash))]),i("span",{staticClass:"reward",attrs:{title:e.reward}},[t._v(t._s(e.reward))])])}))],2)])])])])],1),i("section",{directives:[{name:"show",rawName:"v-show",value:t.showCalculator,expression:"showCalculator"}],staticClass:"Calculator"},[i("div",{staticClass:"prop"},[i("div",{staticClass:"titleBox"},[i("span",[t._v(t._s(t.$t("home.profitCalculation")))]),i("i",{staticClass:"iconfont icon-guanbi close",on:{click:t.handelClose}})]),i("div",{staticClass:"cautionBox"},[i("span",[t._v(t._s(t.$t("home.caution")))]),t._v(" "+t._s(t.$t("home.calculatorTips"))+" ")]),i("div",{staticClass:"selectCurrency"},[i("div",{staticClass:"Currency2"},[i("el-select",{ref:"select",on:{change:function(i){return t.changeSelection(t.value)}},model:{value:t.value,callback:function(i){t.value=i},expression:"value"}},t._l(t.currencyList,(function(e){return i("el-option",{directives:[{name:"show",rawName:"v-show",value:"enx"!==e.value,expression:"item.value !== 'enx'"}],key:e.value,attrs:{label:e.label,value:e.value}},[i("div",{staticStyle:{display:"flex","align-items":"center"}},[i("img",{staticStyle:{float:"left",width:"20px"},attrs:{src:e.imgUrl}}),i("span",{staticStyle:{float:"left","margin-left":"5px"}},[t._v(" "+t._s(e.label))])])])})),1)],1)]),i("div",{staticClass:"content2"},[i("div",{staticClass:"titleS"},[i("span",{staticClass:"power"},[t._v(t._s(t.$t("home.Power")))]),i("span",{staticClass:"time"},[t._v(t._s(t.$t("home.time")))]),i("span",{staticClass:"profit"},[t._v(t._s(t.$t("home.profit")))])]),i("div",{staticClass:"computingPower"},[i("el-input",{staticClass:"input-with-select",staticStyle:{width:"40%",height:"50px"},on:{change:t.handelCalculation},model:{value:t.inputPower,callback:function(i){t.inputPower=i},expression:"inputPower"}},[i("el-select",{staticStyle:{width:"100px"},attrs:{slot:"append"},on:{change:t.handelCalculation},slot:"append",model:{value:t.select,callback:function(i){t.select=i},expression:"select"}},[i("el-option",{attrs:{label:"MH/s",value:"MH/s"}}),i("el-option",{attrs:{label:"GH/s",value:"GH/s"}}),i("el-option",{attrs:{label:"TH/s",value:"TH/s"}})],1)],1),i("el-select",{staticStyle:{width:"15%"},on:{change:t.handelCalculation},model:{value:t.time,callback:function(i){t.time=i},expression:"time"}},t._l(t.selectTime,(function(e){return i("el-option",{key:e.value,attrs:{label:t.$t(e.label),value:e.value}})})),1),i("el-input",{staticStyle:{width:"40%",height:"50px"},attrs:{disabled:"",placeholder:t.$t("mining.profit")},model:{value:t.profit,callback:function(i){t.profit=i},expression:"profit"}})],1)])])])],1)])},i.Yp=[function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgTop"},[i("img",{attrs:{src:e(27034),alt:"mining",loading:"lazy"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(48370),alt:"power",loading:"lazy"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(27596),alt:"Computing power",loading:"lazy"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(69218),alt:"difficulty",loading:"lazy"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(66560),alt:"algorithm"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(1708),alt:"height",loading:"lazy"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(37720),alt:"Currency price",loading:"lazy"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(74910),alt:"Currency price",loading:"lazy"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(67698),alt:"Profit Calculator",loading:"lazy"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(1717),alt:"Connect to the mining pool",loading:"lazy"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"bgBox"},[i("img",{staticClass:"bgImg",attrs:{src:e(22345),alt:"mining",loading:"lazy"}})])}]},71133:function(t,i,e){i.Yp=i.XX=void 0;i.XX=function(){var t=this,i=t._self._c;return i("div",{staticClass:"wscn-http404-container"},[i("div",{staticClass:"wscn-http404"},[t._m(0),i("div",{staticClass:"bullshit"},[i("div",{staticClass:"bullshit__oops"},[t._v(" 404 ")]),i("div",{staticClass:"bullshit__headline"},[t._v(" "+t._s(t.$t(t.message))+" ")]),i("div",{staticClass:"bullshit__info"},[t._v(" "+t._s(t.$t("user.noPage"))+" ")])])])])},i.Yp=[function(){var t=this,i=t._self._c;return i("div",{staticClass:"pic-404"},[i("img",{staticClass:"pic-404__parent",attrs:{src:e(22792),alt:"404"}}),i("img",{staticClass:"pic-404__child left",attrs:{src:e(950),alt:"404"}}),i("img",{staticClass:"pic-404__child mid",attrs:{src:e(950),alt:"404"}}),i("img",{staticClass:"pic-404__child right",attrs:{src:e(950),alt:"404"}})])}]},74412:function(t,i,e){e.r(i),e.d(i,{__esModule:function(){return s.B},default:function(){return l}});var a=e(59095),s=e(93852),n=s.A,o=e(81656),r=(0,o.A)(n,a.XX,a.Yp,!1,null,"953c47ae",null),l=r.exports},91064:function(t,i,e){e.r(i),e.d(i,{__esModule:function(){return s.B},default:function(){return l}});var a=e(71133),s=e(94729),n=s.A,o=e(81656),r=(0,o.A)(n,a.XX,a.Yp,!1,null,"a5129446",null),l=r.exports},93852:function(t,i,e){var a=e(3999)["default"];Object.defineProperty(i,"B",{value:!0}),i.A=void 0;var s=a(e(37320)),n=a(e(45018));i.A={components:{HorizontalBroadcast:n.default},metaInfo:{meta:[{name:"keywords",content:"M2Pool 矿池,首页,热门币种挖矿,稳定收益,Home,Popular Coins Mining,Stable Income Permission Levels,Account Privileges,Member Level Rates"},{name:"description",content:window.vm.$t("seo.Home")}]},mixins:[s.default]}},94729:function(t,i){Object.defineProperty(i,"B",{value:!0}),i.A=void 0;i.A={name:"Page404",computed:{message(){return"user.canTFind"}}}}}]); \ No newline at end of file