diff --git a/index.html b/index.html index 1891a512..daf7e95c 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ -SwarmCloud Console
\ No newline at end of file + // location.href = 'https://oms.cdnbye.com/?loc=us'
\ No newline at end of file diff --git a/js/app.bf0b9edd.js b/js/app.bf0b9edd.js new file mode 100644 index 00000000..e951a1da --- /dev/null +++ b/js/app.bf0b9edd.js @@ -0,0 +1 @@ +(function(e){function t(t){for(var a,i,c=t[0],s=t[1],l=t[2],u=0,d=[];u'});r.a.add(c);t["default"]=c},"0884":function(e,t,n){"use strict";n("7170")},1131:function(e,t,n){"use strict";var a=function(){var e=this,t=e._self._c;return t("el-dropdown",{staticClass:"international",attrs:{trigger:"click"},on:{command:e.handleSetLanguage}},[t("div",[t("svg-icon",{attrs:{"class-name":"international-icon","icon-class":"language"}})],1),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{attrs:{disabled:"en"===e.language,command:"en"}},[e._v("English")]),t("el-dropdown-item",{attrs:{disabled:"zh"===e.language,command:"zh"}},[e._v("中文")])],1)],1)},i=[],o={computed:{language:function(){return this.$store.getters.language}},methods:{handleSetLanguage:function(e){this.$i18n.locale=e,this.$store.dispatch("setLanguage",e),this.$message({message:"Switch Language Success",type:"success"})}}},r=o,c=(n("e9be"),n("2877")),s=Object(c["a"])(r,a,i,!1,null,"2f99bb3b",null);t["a"]=s.exports},1430:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},1591:function(e,t,n){},1779:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"17df":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"18f0":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"1aaa":function(e,t,n){},2390:function(e,t,n){"use strict";n("fb7c")},2580:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 1088 1024",content:''});r.a.add(c);t["default"]=c},"267e":function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var a="loc",i="inviter",o={d1:"http://127.0.0.1:6066/v1/",p0:"https://cgi-cn.cdnbye.com/v1/",p1:"https://cgi.cdnbye.com/v1/",p2:"https://cgi.hdtvcloud.com/v1/",p3:"https://cgi.swarmcloud.net/v1/"}},"2a3d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"2b2e":function(e,t,n){},"2e1f":function(e,t,n){},"2f11":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},3046:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"30c3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"319f":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-invitation",use:"icon-invitation-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},3289:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},3786:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return c}));var a=n("b775");function i(e){return Object(a["a"])({url:"user/token",method:"post",data:e})}function o(e){return Object(a["a"])({url:"user",method:"post",data:e})}function r(e){return Object(a["a"])({url:"/vcode",method:"post",data:e})}function c(e){return Object(a["a"])({url:"/user/passwd_forget",method:"put",data:e})}},4360:function(e,t,n){"use strict";var a=n("2b0e"),i=n("2f62"),o=n("5d2d"),r=n("79fa"),c=n("a78e"),s=n.n(c),l=(n("9198"),{state:{sidebar:{opened:!+Object(o["a"])("sidebarStatus"),withoutAnimation:!1},device:"desktop",language:s.a.get("language")||Object(r["b"])(),switchDomainVisible:!1},mutations:{TOGGLE_SIDEBAR:function(e){e.sidebar.opened?Object(o["c"])("sidebarStatus",1):Object(o["c"])("sidebarStatus",0),e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1},CLOSE_SIDEBAR:function(e,t){Object(o["c"])("sidebarStatus",1),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t},SET_LANGUAGE:function(e,t){e.language=t,s.a.set("language",t,{expires:99999})},TOGGLE_SWITCH_DOMAIN:function(e,t){e.switchDomainVisible=t}},actions:{toggleSideBar:function(e){var t=e.commit;t("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){var n=e.commit,a=t.withoutAnimation;n("CLOSE_SIDEBAR",a)},toggleDevice:function(e,t){var n=e.commit;n("TOGGLE_DEVICE",t)},setLanguage:function(e,t){var n=e.commit;n("SET_LANGUAGE",t)},toggleSwitchDomain:function(e,t){var n=e.commit;n("TOGGLE_SWITCH_DOMAIN",t)}}}),u=l,d=n("3786"),f=n("c24f"),h=n("5f87"),p={state:{user:"",status:"",code:"",token:Object(h["b"])(),id:Object(h["a"])(),name:"",avatar:"",roles:[],setting:{articlePlatform:[]},userDomain:[],userValidDomain:Object(o["a"])("validDomain")||[],currentDomain:Object(o["a"])("userDomain")||{},profile:{}},mutations:{SET_CODE:function(e,t){e.code=t},SET_TOKEN:function(e,t){e.token=t},SET_PROFILE:function(e,t){Object(o["c"])("profile",t),e.profile=t},SET_ID:function(e,t){e.id=t},SET_SETTING:function(e,t){e.setting=t},SET_STATUS:function(e,t){e.status=t},SET_NAME:function(e,t){e.name=t},SET_AVATAR:function(e,t){e.avatar=t},SET_ROLES:function(e,t){e.roles=t},SET_USERDOMAIN:function(e,t){e.userDomain=t},SET_USERVALIDDOMAIN:function(e,t){e.userValidDomain=t,Object(o["c"])("validDomain",t)},SET_CURRENTDOMAIN:function(e,t){Object(o["c"])("userDomain",t),e.currentDomain=t}},actions:{LoginByUsername:function(e,t){var n=e.commit;return new Promise((function(e,a){Object(d["a"])(t).then((function(t){var a=t.data;n("SET_TOKEN",a.token),Object(h["f"])(t.data.token),n("SET_ID",a.id),Object(h["e"])(t.data.id),e()})).catch((function(e){a(e)}))}))},signup:function(e,t){var n=e.commit;return new Promise((function(e,a){Object(d["d"])(t).then((function(t){var a=t.data;n("SET_TOKEN",a.usertoken),Object(h["f"])(t.data.usertoken),n("SET_ID",a.id),Object(h["e"])(t.data.id),e()})).catch((function(e){a(e)}))}))},LogOut:function(e){var t=e.commit;e.state;return new Promise((function(e,n){t("SET_TOKEN",""),Object(h["d"])(),t("SET_ID",""),Object(h["c"])(),t("SET_USERDOMAIN",[]),t("SET_USERVALIDDOMAIN",[]),t("SET_CURRENTDOMAIN",{}),t("SET_USERVALIDDOMAIN",""),e()}))},setRole:function(e,t){var n=e.commit;return new Promise((function(e,a){var i={roles:[t]};n("SET_ROLES",i.roles),e(i)}))},setDomain:function(e,t){var n=e.commit;return new Promise((function(e,a){n("SET_USERDOMAIN",t),e(t)}))},setCurrentDomain:function(e,t){var n=e.commit;return new Promise((function(e,a){n("SET_CURRENTDOMAIN",t),e(t)}))},setValidDomain:function(e,t){var n=e.commit;return new Promise((function(e,a){n("SET_USERVALIDDOMAIN",t),e(t)}))},getProfile:function(e){var t=e.commit;return new Promise((function(e,n){Object(f["i"])().then((function(n){t("SET_PROFILE",n.data),e(n.data)})).catch((function(e){n(e)}))}))}}},m=p,b=n("a18c"),g=n("c29b");function w(e,t){return!t.meta||!t.meta.roles||e.some((function(e){return t.meta.roles.indexOf(e)>=0}))}function v(e,t){var n=e.filter((function(e){return!!w(t,e)&&(e.children&&e.children.length&&(e.children=v(e.children,t)),!0)}));return n}var y={state:{routers:b["b"],addRouters:[]},mutations:{SET_ROUTERS:function(e,t){e.addRouters=t,e.routers=b["b"].concat(t)}},actions:{GenerateRoutes:function(e,t){var n=e.commit;return new Promise((function(e){var a,i=t.roles;a=v(b["a"],i),i.indexOf("user")>=0&&(g["a"].configure("4eed08c4-730f-4676-9f60-89f098f236b2",{autoload:!1}),g["a"].setHideOnAway(!0),g["a"].load()),n("SET_ROUTERS",a),e()}))}}},k=y,O=(n("ac4d"),n("8a81"),n("5df3"),n("1c4c"),n("6b54"),n("75fc")),x=n("768b");n("ac6a"),n("7f7f"),n("6762"),n("2fdb");function C(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=T(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,r=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return r=e.done,e},e:function(e){c=!0,o=e},f:function(){try{r||null==n.return||n.return()}finally{if(c)throw o}}}}function T(e,t){if(e){if("string"===typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?P(e,t):void 0}}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n'});r.a.add(c);t["default"]=c},"47f1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"47ff":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"4df5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"51ff":function(e,t,n){var a={"./404.svg":"a14a","./app.svg":"43bc","./bug.svg":"1779","./chart.svg":"c829","./clipboard.svg":"bc35","./component.svg":"56d6","./dashboard.svg":"f782","./documentation.svg":"90fb","./drag.svg":"9bbf","./edit.svg":"aa46","./email.svg":"cbb7","./example.svg":"30c3","./excel.svg":"6599","./eye.svg":"4df5","./form.svg":"eb1b","./guide.svg":"6683","./icon.svg":"9d91","./international.svg":"17df","./invitation.svg":"319f","./invoice.svg":"0543","./language.svg":"2580","./link.svg":"18f0","./list.svg":"3289","./lock.svg":"ab00","./message.svg":"47ff","./money.svg":"3046","./nested.svg":"dcf8","./password.svg":"2a3d","./people.svg":"d056","./peoples.svg":"2f11","./qq.svg":"1430","./shoppingCard.svg":"c6c1","./size.svg":"8644","./star.svg":"708a6","./tab.svg":"8fb7","./table.svg":"47f1","./theme.svg":"e534","./user.svg":"b3b5","./wechat.svg":"80da","./www.svg":"a824","./zip.svg":"8aa6"};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=o,e.exports=i,i.id="51ff"},"56d6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"56d7":function(e,t,n){"use strict";n.r(t);n("6606"),n("9627");var a=n("dda8"),i=n.n(a),o=(n("9aab"),n("3e95")),r=n.n(o),c=(n("7ac1"),n("f488")),s=n.n(c),l=(n("eff5"),n("231a")),u=n.n(l),d=(n("b2b4"),n("2ac7")),f=n.n(d),h=(n("7615"),n("0a65")),p=n.n(h),m=(n("a99b"),n("5a58")),b=n.n(m),g=(n("5287"),n("dda1")),w=n.n(g),v=(n("071a"),n("bc43")),y=n.n(v),k=(n("aab8"),n("9e65")),O=n.n(k),x=(n("23a6"),n("f15d")),C=n.n(x),T=(n("886d"),n("2b4c3")),P=n.n(T),S=(n("33de"),n("3986")),D=n.n(S),j=(n("6877"),n("bdbc")),E=n.n(j),_=(n("a0b8"),n("96f0")),A=n.n(_),V=(n("b0ef"),n("e314")),M=n.n(V),z=(n("483f"),n("ab29")),I=n.n(z),L=(n("a43f"),n("0873")),B=n.n(L),N=(n("4b17"),n("1721")),R=n.n(N),q=(n("8774"),n("7484")),U=n.n(q),$=(n("478d"),n("8d52")),H=n.n($),G=(n("3f18"),n("5dc9")),Z=n.n(G),W=(n("cbde"),n("7481")),F=n.n(W),Y=(n("5327"),n("752e")),K=n.n(Y),J=(n("492d"),n("dea0")),Q=n.n(J),X=(n("1f8b"),n("612c")),ee=n.n(X),te=(n("7291"),n("857f")),ne=n.n(te),ae=(n("9822"),n("7afb")),ie=n.n(ae),oe=(n("884f"),n("01fe")),re=n.n(oe),ce=(n("ae58"),n("6a06")),se=n.n(ce),le=(n("946e"),n("caee")),ue=n.n(le),de=(n("7973"),n("d30b")),fe=n.n(de),he=(n("12da"),n("6b80")),pe=n.n(he),me=(n("40cf"),n("4992")),be=n.n(me),ge=(n("94ff"),n("831d")),we=n.n(ge),ve=(n("5da2"),n("68db")),ye=n.n(ve),ke=(n("6f69"),n("f30d")),Oe=n.n(ke),xe=(n("0459"),n("f3cb")),Ce=n.n(xe),Te=(n("9c82"),n("ff6c")),Pe=n.n(Te),Se=(n("cadf"),n("551c"),n("f751"),n("097d"),n("2b0e")),De=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},je=[],Ee=(n("9f58"),n("2877")),_e={},Ae=Object(Ee["a"])(_e,De,je,!1,null,null,null),Ve=Ae.exports,Me=n("a18c"),ze=n("4360"),Ie=n("7618"),Le=(n("c5f6"),n("10ea")),Be=n.n(Le);"object"===("undefined"===typeof window?"undefined":Object(Ie["a"])(window))&&(window.jsVectorMap=Be.a);var Ne={data:function(){return{id:null,instance:null}},render:function(e){return this.id="vuevectormap__".concat(this._uid),e("div",{attrs:{id:this.id,style:"width: ".concat(this.width,"; height: ").concat(this.height)}})},mounted:function(){var e={},t=this.$props;for(var n in this.$listeners)e["on".concat(n.charAt(0).toUpperCase()+n.slice(1))]=this.$listeners[n];for(var a in t)void 0!=t[a]&&(e[a]=t[a]);e.selector="#".concat(this.id),this.instance=new Be.a(e)},methods:{getMap:function(){return this.instance}},beforeDestroy:function(){this.instance.destroy()},props:{height:{type:String,default:function(){return"300px"}},width:{type:String,default:function(){return"600px"}},map:String,backgroundColor:String,draggable:null,zoomButtons:null,zoomOnScroll:null,zoomOnScrollSpeed:Number,zoomMax:Number,zoomMin:Number,zoomAnimate:null,showTooltip:null,zoomStep:Number,focusOn:Object,labels:Object,markers:Array,selectedMarkers:Array,markersSelectable:null,markersSelectableOne:null,markerStyle:{type:Object,default:function(){}},markerLabelStyle:Object,lines:Array,lineStyle:{type:Object,default:function(){}},selectedRegions:Array,regionsSelectable:null,regionsSelectableOne:null,regionStyle:{type:Object,default:function(){}},regionLabelStyle:Object,series:Object,visualizeData:Object}},Re=Ne.install=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Ne.props;for(var a in t)n.hasOwnProperty(a)&&function(){var e=t[a];Ne.props[a]={default:"object"!=Object(Ie["a"])(e)?e:function(){return e}}}();e.component("vuevectormap",Ne)},qe=(n("a2a5"),n("44ba"),n("b20f"),n("f5df"),n("9923")),Ue=(n("ac6a"),function(){var e=this,t=e._self._c;return t("svg",{class:e.svgClass,attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":e.iconName}})])}),$e=[],He={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},Ge=He,Ze=(n("9a85"),Object(Ee["a"])(Ge,Ue,$e,!1,null,"2f0f1ae2",null)),We=Ze.exports;Se["default"].component("svg-icon",We);var Fe=n("51ff"),Ye=function(e){return e.keys().map(e)};Ye(Fe);n("8e6e"),n("456d");var Ke=n("bd86"),Je=(n("28a5"),n("5f87")),Qe=n("27ae");function Xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function et(e){for(var t=1;t=0}))}var nt=["/login","/signup","/forget_password"];Me["c"].beforeEach((function(e,t,n){if(e.path){if(!Object(Je["b"])())return void(-1!==nt.indexOf(e.path)?n():n("/login"));if("/login"===e.path)n({path:"/"});else if(0===ze["a"].getters.roles.length){var a=1===JSON.parse(Qe["Base64"].decode(Object(Je["b"])().split(".")[1])).iat?"admin":"user";ze["a"].dispatch("setRole",a).then((function(t){var a=t.roles;ze["a"].dispatch("GenerateRoutes",{roles:a}).then((function(){ze["a"].getters.addRouters.forEach((function(e){Me["c"].addRoute(e)})),n(et(et({},e),{},{replace:!0}))}))})).catch((function(e){n({path:"/"})}))}else tt(ze["a"].getters.roles,e.meta.roles)?n():n({path:"/401",replace:!0,query:{noGoBack:!0}})}})),Me["c"].afterEach((function(e,t,n){})),Se["default"].config.productionTip=!1,Se["default"].use(Re,{backgroundColor:"#FFF"}),Se["default"].use(Pe.a),Se["default"].use(Ce.a),Se["default"].use(Oe.a),Se["default"].use(ye.a),Se["default"].use(we.a),Se["default"].use(be.a),Se["default"].use(pe.a),Se["default"].use(fe.a),Se["default"].use(ue.a),Se["default"].use(se.a),Se["default"].use(re.a),Se["default"].use(ie.a),Se["default"].use(ne.a),Se["default"].use(ee.a),Se["default"].use(Q.a),Se["default"].use(K.a),Se["default"].use(F.a),Se["default"].use(Z.a),Se["default"].use(H.a),Se["default"].use(U.a),Se["default"].use(R.a),Se["default"].use(B.a),Se["default"].use(I.a),Se["default"].use(M.a),Se["default"].use(A.a),Se["default"].use(E.a),Se["default"].use(D.a),Se["default"].use(P.a),Se["default"].use(C.a),Se["default"].use(O.a),Se["default"].use(y.a),Se["default"].use(w.a),Se["default"].use(b.a),Se["default"].use(p.a),Se["default"].use(f.a),Se["default"].use(u.a),Se["default"].use({i18n:function(e,t){return qe["a"].t(e,t)}}),Se["default"].prototype.$message=s.a,Se["default"].prototype.$messageBox=r.a,Se["default"].prototype.$notify=i.a,Se["default"].filter("positive",(function(e){return e?e<0?0:e:0})),new Se["default"]({router:Me["c"],store:ze["a"],i18n:qe["a"],render:function(e){return e(Ve)}}).$mount("#app")},5758:function(e,t,n){},5795:function(e,t,n){"use strict";n("e625")},"5d2d":function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"d",(function(){return c}));var a=n("7618"),i=function(e,t){"object"===Object(a["a"])(t)&&(t=JSON.stringify(t)),window.localStorage.setItem(e,t)},o=function(e){var t=window.localStorage.getItem(e);try{var n=JSON.parse(t);if(n.duration&&n.startTime){var a=(new Date).getTime();return a-n.startTime>n.duration?(window.localStorage.removeItem(e),null):n.value}return n}catch(i){return t}},r=function(e){window.localStorage.removeItem(e)},c=function(e,t,n){var a={value:t,duration:n,startTime:(new Date).getTime()};window.localStorage.setItem(e,JSON.stringify(a))}},"5f87":function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"e",(function(){return d})),n.d(t,"c",(function(){return f}));var a=n("a78e"),i=n.n(a),o="MyToken",r="id";function c(){return i.a.get(o)}function s(e){return i.a.set(o,e,{expires:7})}function l(){return i.a.remove(o)}function u(){return i.a.get(r)}function d(e){return i.a.set(r,e,{expires:7})}function f(){return i.a.remove(r)}},6167:function(e,t,n){"use strict";n("af8b")},"61f7":function(e,t,n){"use strict";function a(e){var t=/^((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}$/;if(t.test(e))return!1;var n=/^(?=^.{3,255}$)[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+$/;return n.test(e)}function i(e){var t=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return t.test(e)}function o(e){var t=/^\d+$/;return t.test(e)}n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}))},6599:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},6683:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 1117 1024",content:''});r.a.add(c);t["default"]=c},"66e6":function(e,t,n){"use strict";n.d(t,"f",(function(){return i})),n.d(t,"e",(function(){return o})),n.d(t,"d",(function(){return r})),n.d(t,"g",(function(){return c})),n.d(t,"k",(function(){return s})),n.d(t,"h",(function(){return l})),n.d(t,"j",(function(){return u})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return f})),n.d(t,"i",(function(){return h})),n.d(t,"c",(function(){return p}));var a=n("b775");function i(e){var t="goods/flow_packet";return e&&(t="".concat(t,"?uid=").concat(e)),Object(a["a"])({url:t,method:"get"})}function o(e){var t="goods/monthly_packet";return e&&(t="".concat(t,"?uid=").concat(e)),Object(a["a"])({url:t,method:"get"})}function r(e,t){return Object(a["a"])({url:"order/user_id/".concat(e),method:"post",data:t})}function c(e,t){return Object(a["a"])({url:"charge/methods?currency=".concat(e,"&total_price=").concat(t),method:"get"})}function s(e){return Object(a["a"])({url:"charge/crypto/trade",method:"post",data:e})}function l(e,t,n){var i=location.origin+location.pathname,o="mobile"===n?"&mobile=true":"";return Object(a["a"])({url:"charge/".concat(e,"/pay?origin=").concat(i,"&order_id=").concat(t).concat(o),method:"get"})}function u(e){return Object(a["a"])({url:"charge/crypto/nowpayments/available?price=".concat(e),method:"get"})}function d(e,t){return Object(a["a"])({url:"charge/".concat(e,"/query?order_id=").concat(t),method:"get"})}function f(e,t){return Object(a["a"])({url:"user/user_id/".concat(e,"/checkin"),method:"post",data:t})}function h(e){return Object(a["a"])({url:"user/user_id/".concat(e,"/invoice"),method:"get"})}function p(e,t){return Object(a["a"])({url:"user/user_id/".concat(e,"/invoice"),method:"post",data:t})}},"67c2":function(e,t,n){"use strict";n("1591")},"708a6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},7170:function(e,t,n){},7457:function(e,t,n){"use strict";n("e5bd")},"79fa":function(e,t,n){"use strict";function a(e){var t=this.$te("route."+e),n=this.$t("route."+e);return t?n:e}function i(){var e=navigator.language||navigator.userLanguage;return e=e.substr(0,2),"zh"===e?"zh":"en"}n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}))},"80da":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},8386:function(e,t,n){},8644:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"8aa6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"8fb7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"90fb":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},9923:function(e,t,n){"use strict";n("8e6e"),n("ac6a"),n("456d");var a=n("bd86"),i=n("2b0e"),o=n("a925"),r=n("5199"),c=n.n(r),s=n("2106"),l=n.n(s),u=n("6d91"),d=n.n(u),f={route:{liveData:"Realtime Data",liveDataPerApp:"Per Domain/App",liveDataGlobal:"Global",liveDataAdmin:"Realtime Data",overallData:"Overall Data",hotChannel:"Content Popularity",financial:"Finance Info",incomeTrend:"Income Trend",disChart:"Distribution",Operational:"Operational data",bandwidth:"Traffic",online:"Online",permission:"Permission",pagePermission:"Page Permission",userData:"Operation Management",domain:"Domain",list:"User Management",userDomain:"Domain list",p2pRate:"P2P rate",userDistribution:"GEO Distribution",worldDistribution:"Per Domain/App",worldDisGlobal:"Global",config:"Config management",trackerConfig:"Tracker",SignalConfig:"Signal",SeederConfig:"Seeder",AnnounceConfig:"Announce",BlockOriginsConfig:"BlockOrigins",BlockIpsConfig:"IP BlackList",AllowIpsConfig:"IP WhiteList",userConfig:"user",dataAnalysis:"Historical Data",p2pTraffic:"Traffic Trend",p2pTrafficGlobal:"Global Traffic Trend",onlineNum:"Online Trend",onlineNumGlobal:"Global Online Trend",rebufferTrend:"Rebuffer Trend",domainInfo:"Website Management",domainList:"Domain List",package:"Traffic Package",monthlyPackage:"Monthly Plan",expenditure:"Order & Costs",order:"Order History",expenses:"Expenditure Trend",invitation:"Affiliates",p2pConfig:"P2P Setting",edit:"edit",appInfo:"App Management",p2pSwitch:"Enable/Disable P2P",uploadRule:"Sharing Rules",activationRatio:"Activation Ratio",signalManage:"Signal Configuration",seederManage:"Server as Peer",stunManage:"Stun Configuration",invoices:"Invoices",shopping:"Shopping",geofly:"GEO Fly Line"},navbar:{logOut:"Log Out",dashboard:"Dashboard",dosAddress:"Documentation",screenfull:"Screenfull",theme:"Theme",size:"Global Size",myInfo:"Profile",currZone:"Zone: ",zoneTip:'If a non default zone (HK, USA) is selected, you need to manually configure the tracker address for the SDK. Details can be found here'},auth:{login:"Login",signup:"Signup",resetPasswd:"Forgot password?",email:"Please input the correct E-mail",usernameError:"Please input the correct E-mail",mailError:"Please enter the correct E-mail",sendTitle:"The verification code has been sent",phoneWarn:"Please enter your phone number",phoneError:"Please enter the correct phone number",passwdError:"The password must be between 6 and 64 digits",captchaError:"The code is not match",vcodeError:"The verification code can not be less than 4 digits",console:"Select Zone",consoleCN:"China",consoleHK:"HongKong",consoleEU:"Europe",consoleUSA:"USA"},login:{title:"Login",logIn:"Log in",logInSuccess:"login successfully",username:"Enter your verified email",password:"Enter your password",code:"Enter characters here",selectZoneWarn:"Please select a zone"},signup:{title:"Signup",signUp:"signup",signUpSuccess:"signup successfully",password:"password",confirm_password:"Please enter your password again",confirm_password_error:"The two passwords you entered were inconsistent",vcode:"Verification Code",email:"E-mail",send:"Send Verification Code",contract:"I have read and agreed to ",contractName:"Terms of Service",confirmContract:"Please agree to the Terms of Service",inviter:"Inviter Email (Optional)"},passwdReset:{title:"Password Reset",successTitle:"Reset password successfully",email:"Please enter your E-mail",vcode:"Verification Code",send:"send",password:"Please enter your password",submit:"Reset"},dashboard:{currentDomain:"Current Domain: ",goBind:"Register Domain",switchDomain:"Switch",tip:"Register domain name or create app now?",online:"Current Online Viewers",onlineSuper:"Online Super Peers",p2pTraffic:"P2P Traffic Today",httpTraffic:"Back-to-Origin Traffic Today",shareTraffic:"Shared Traffic Today",p2pEfficiency:"Current Efficiency",serveNum:"Playback Sessions Today",rebufferRatio:"Rebuffer Ratio",maxOnlineNum:"Peak Concurrent Viewers",remain:"Remaining Paid Traffic",monthlyRemain:"Remaining Plan Traffic Today",free:"Remaining Free Traffic",versionDis:"Version",tagDis:"Custom Label",terminalDis:"Terminal",liveDis:"Live/VOD",netDis:"Network Type",ispDis:"ISP",natDis:"NAT Type",domainDis:"Online",p2pTip:'Want to increase p2p traffic? See here',httpTip:"The traffic downloaded from original server or CDNs, the sum of Back-to-Origin traffic and P2P traffic is equal to the total traffic",freeTip:"5GB traffic will be given after the domain name is registered, and additional 20 GB after signing in every day. \nNote that both of these will be cleared the next day. The consumed P2P traffic is first deducted by free traffic while the excess is deducted by paid traffic. \nIf there is no available traffic, P2P service will be stopped.",remainTip:'Please buy traffic package or monthly plan in time to avoid service interruption.',efficiencyTip:"Percentage of P2P traffic increment to total traffic increment",rebufferTip:"Percentage of rebuffer count to total media request count",checkin:"Get Free Traffic",checkinSuccess:"Get free traffic successfully!",haveChecked:"You can only get it once a day",checkinFail:"Failed, please try again!",invite:"Invite friends get Commission",bonus:"Get 5$ Bonus",changeUTC:"TimeZone",changeUTCDesc:"By default, Console will read and use the time zone from your browser for data analysis. Once changed by user, Console will use manually configured time zone.",trafficUseOut:"You have run out of available traffic, please go to purchase the traffic package.",onlinesTip:"P2P only works on browsers that support WebRTC Data Channels. On browsers that don’t have such support, P2P will be automatically disabled and fallback to native playback. Those unsupported devices will not have any analytics collected from them, which can cause some discrepancy between the numbers that you see on your own analytics systems and here. This discrepancy is expected and will vary based on the % of unsupported devices your end-users use.",viewsTip:"Total view times today",goApp:"Create App",descGlobal:"This page shows the summarized real-time data of all domains/APPs.",descPerApp:'This page displays the real-time data of a single domain/APP. You can switch through the "Switch" button above.'},domainTable:{bindDomain:"Register Your Domain/Root Domain",bindDomainTip:"Enter your domain name,such as: (Do not input IP address)\nwww.example.com\nNotice: for iframed or embedded players, the domain name taken into account will be the source website.",playUrlTip:"Enter the link of your website homepage or the guide page link to the play page\nhttps://example.com/index.html",bindWarning:"",bindDomainTError:"PLease input the correct domain!",domain:"Domain",status:"State",unavailable:"Unauthorized",operation:"Operation",verifyDomain:"Verify domain",certification:"Verify",certificationTip:"You need to verify your domain name of the added website. You can choose any of the following methods.",doneTip:'Click the "Verify Now" button when you are done',verifyLater:"Verify Later",verifyNow:"Verify Now",none:"None",current:"Current: ",select:"please select",userVerifyDomain:{verifyWay:"Ways of verify",DNSVerify:"DNS",fileVerify:"file",verifyTipHead:"Set the TXT domain name resolution content of cdnbye_dns_auth.",verifyTipEnd:" to the following characters:",downloadFileHead:"Download the specific ",downloadFileEnd:"HTML verification file",uploadFile:"Upload the file to: ",fileName:"please note that the file name is auth.txt which should not be modified.",navVisitHead:"Access ",navVisitEnd:" to confirm that the upload was successful"},verifySuccess:"verify successfully",title:"Notice:",desc:"This page is used to register domain name, please note that mobile native App and Electron App do not require to register domain name. You can register up to 300 domains. Domain records that have not been used within 60 days will be automatically deleted. \nTips:You can use root domain to match all sub-domains, one domain per line, up to 50 domains in one submit. You can use as normal during under review.",illegal:"Not Approved",tokenOnly:"If enabled, domain registration is no longer required once you have config token in web SDK, it is applicable to the scene where a large number of domains are used or the website is accessed by ip"},documentation:{documentation:"Documentation",github:"Github Repository"},tagsView:{refresh:"Refresh",close:"Close",closeOthers:"Close Others",closeAll:"Close All"},myInfo:{name:"Username: ",mail:"E-mail: ",passwd:"Password: ",mobile:"Mobile Number",mobileBonus:"Bind your Mobile, Earn 5$!",changeMobile:{change:"Update Mobile Number",number:"your mobile number",cc:"country code",wrongCCError:"please enter your valid country code",wrongError:"please enter your valid mobile number",sameError:"please do not enter the same mobile number",someError:"please enter your valid mobile and country code"},vcodeEmailSuccess:"The verification code has been sent to your mailbox",vcodeMobileSuccess:"The verification code has been sent to your mobile",time:"Registration Date: ",timeZone:"Time Zone",change:"update",balanceUSD:"Balance(USD)",balanceCNY:"Balance(CNY)",visitorCode:"Visitor Code",visitorCodeTip:"After sharing the link, users who click on it can view data but can not modify it.",visitorCodeError:"Please click Regenerate first",resetVisitorCodeTip:"Regenerating will invalidate the current visitor link",autoRenew:"Automatic Renewal",recharge:"Add Funds",rechargeTip:'All deposits are non-refundable, the pricing can be found here. The recharge amount needs to be an integer multiple of 10.',changeMail:{change:"update E-mail",newMail:"new E-mail",code:"Verification code",noneError:"please enter your email",wrongError:"please enter your valid email",sameError:"please do not enter the same E-mail",codeNoneError:"please enter your verification code",codeWrongError:"please enter your valid verification code"},changePasswd:{change:"update password",new:"new password",old:"old password",noneError:"Please enter your password",blankError:"Passwords are not allowed to contain spaces",lengthError:"Please enter a 6 to 18 digit password"},changeName:{change:"update username",newName:"new username",noneError:"Please enter your username"}},common:{ok:"Confirm",cancel:"Cancel",delete:"Delete",update:"Update",deleteSuccess:"delete successfully",closeSuccess:"close successfully",yes:"YES",no:"NO",status:"status",available:"Active",userClosed:"Closed",reviewing:"Active",illegal:"Not Approved",success:"Success",error:"Error",warning:"Warning",message:"Message",sureDelete:"Do you confirm to delete?",sureUpdate:"Do you confirm to update?",default:"Default",setting:"Setting",on:"Enabled",off:"Disabled",reset:"Regenerate"},historyData:{hour:"1 Hour",day:"24 Hours",week:"7 Days",month:"30 Days",descGlobal:"This page shows the summarized historical data of all domains/APPs."},package:{payMethod:"Payment method",packageSubTitle:"Notice: ",packageSub:"Each user can consume a certain amount of P2P traffic. You can increase quota of traffic by buying the listed traffic packages below. Contact service@cdnbye.com if you have problems. Notice: Refunds are not supported.",monthlyPackageSub:"Each of our plans comes with a defined event quota. If you exceed that quota, don’t worry, you can buy traffic package as supplement. Since the additional events cost more than pre-paid events, we recommend picking a plan that pre-pays for a little more than you think you'll need to avoid paying on-demand rates. It's a classic volume discount: when you use more, you pay less. Contact service@cdnbye.com if you have problems. Notice: Refunds are not supported. If you upgrade your plan, the due time of new plan is same as old one.",packageInfo:"Item",unitPrice:"Unit price",quantity:"Quantity",expense:"Expense",total:"total:",confirmPurchase:"Pay Now",paySuccess:"Thank you! The payment for your order has been confirmed, and the order information has been sent to your mailbox.",paySuspended:"The payment process has been suspended. You can find the order in Order History page and continue the payment.",payFail:"Failed to pay!",payPending:"Your payment is under process, the order information will be sent to your mailbox once the payment is completed.",systemError:"Sorry, the system is maintaining",payLoadingTip:"Jumping to payment page...",checkResultLoadingTip:"Checking payment status...",confirmCreate:"Do you confirm to create an order?",buyFlow:"Traffic package",buyMonthly:"Monthly plan",monthly:"Until ",totalMonths:"Total Months: ",totalPrice:"Total Price: ",totalTraffic:"Total Traffic: ",resetAfter:"Reset After",createOrder:"Create Order",useBalance:"Use Account Funds",autoRenew:"Automatic renewal from account funds with 5% discount",rechargeTip:"Add funds first, then make your purchase to receive a 1% of your added funds as bonus!"},order:{createTime:"Date",type:"Type",payMethod:"Payment Method",flowPackage:"Traffic Package",monthlyPlan:"Monthly Plan",recharge:"Balance Recharge",price:"Price",currency:"Currency",status:"Status",action:"Operation",pay:"Pay",invoice:"Invoice",close:"Close",waitPay:"Pending",processing:"Processing",fail:"Closed",tip:"Do you confirm to close order?",alipay:"Alipay",packageName:"Item",amount:"Quantity",totalTraffic:"Traffic",upgraded:"Note: Upgraded Plan",balance:"Balance"},p2pConfig:{status:"Status",open:"Opened",close:"Closed",configSuccess:"Successfully configured",configFail:"Operation failed",name:"Domain/AppId",uploadRule:{status:"Only allow uploading on Wi-Fi and Ethernet",desc:"This page allows you to define your own uploading logic with regards to the network condition. By default, uploading on cellular is enabled."},activationRatio:{desc:"This page enables you to allocate an exact percentage of your audience to benefit from SwarmCloud peer-to-peer on a per-device basis. By starting with a small activation ratio, you will be able to test how our technology works on a small percentage of end-users. Then, you can increase it with time after checking the results. Disabled viewers still run our libraries but do not connect to our tracker. Peer connections for those viewers will not be initiated and their videos will be loaded from CDNs only.\n0% - No users are P2P enabled.\n100% - All users are P2P enabled(the default setting).",status:"Activation Ratio(%)"},signalManage:{desc:"This page is used for configuration of signaling address. Signaling is used to exchange information between nodes to establish P2P connection. If the address is configured on this page, the one on the SDK side will be overridden. If the secondary signaling address is set, the SDK will connect two signaling at the same time and automatically switch to the backup signaling when the primary signaling is unavailable. If 3 or more signaling addresses is configured, load balancing will be automatically enabled for VOD mode.",signalAddr:"Primary Signal Address",signalAddr2:"Secondary Signal Address",switch:"Disable/Enable",official:"Pick an official signaling address that is geographically close to your viewers"},stunManage:{addr:"Stun Address",desc:"This page is used to configure the stun address. Stun is used for peers behind NAT to discover their public IP and port. Enter one address per line, up to 3 addresses. Please note that it will override default stun address in SDK."}},app:{createToken:"Create Token",createTokenSuccess:"Create token successfully",createFormItem:"+ Create APP",createItemSuccess:"Create successfully",createTitle:"Input APP Information",createTip:"You can create up to 200 apps",appName:"The display name of APP",appID:'You can refer to here to obtain APP ID',platform:"Platform",sureCreateToken:"Do you confirm to create token?",deleteItemSuccess:"Delete successfully",updateItemSuccess:"Update successfully",createTime:"Create Time",name:"Name",copy:"Click to copy",watch:"Monitor",title:"Notice:",desc:"This page is used to configure mobile native App and Electron App. You can create up to 200 apps. App records that have not been used within 60 days will be automatically deleted. It takes more than a minute to take effect after the creation is successful. You can use as normal during under review.",appIdTip:"com.company.example",introTip:"Enter the download link of your APP or the link of introduction page",signatureTip:'Enter the SHA1 value of your APK signature, need Android SDK version >= 2.2.0, see here',copied:"Copied",illegal:"Not Approved",signature:"Signature(SHA1)",updateSign:"Update SHA1",websiteWarn:"Please add domain on the tab of Website Management"},seeder:{create:"+ Super Peer",createTitle:"Input Super Peer Information",seedTitle:"Input Seeding Information",addr:"Server Address",desc:"This page is used to configure idle servers as peers (Super Peer) to serve clients that with poor network to original source or cannot connect to other peers. See https://swarmcloud.net/guides/super-peer for more details",running:"Running",stopped:"Stopped",auto:"Auto Seeding",seed:"Seed",copy:"Copy Base64",inputChannelId:"Input m3u8/mpd url or customized video id",remarks:"Remarks",bandwidth:"Bandwidth(Mbps)",keepAliveTip:"Workers with too few connected peers will be automatically evicted by default. Set to true can keep them online all the time",seedPreferred:"SuperPeer Preferred",seedPreferredTip:"Allocate SuperPeer immediately when peer is connected to the server",urgentRatio:"Min Ratio to SuperPeer",urgentRatioTip:"Allocate SuperPeer based on P2P performance, the larger value, the more peers allocated"},hotChannels:{content:"Content",num:"Viewers",desc:"This page shows the popularity of contents ranked from height to low. Please note that content with too little viewers is not shown."},invitation:{date:"Date",copy:"Copy Link",from:"Client Email",price:"Order Amount",status:"Order Status",done:"Completed",commission:"Commission",tip:"You will be able to get 20% of the total amount from the client that comes via your custom signup link. The commission will be put into your account balance, which can be used for future purchase."}},h={route:{liveData:"實時數據",liveDataPerApp:"分域名/APP",liveDataGlobal:"匯總",liveDataAdmin:"实时数据",overallData:"汇总数据",hotChannel:"資源熱度",financial:"財務信息",incomeTrend:"收入趨勢",disChart:"分布圖",Operational:"整體運營數據",bandwidth:"流量趨勢圖",online:"在線人數趨勢圖",permission:"權限測試頁",pagePermission:"頁面權限",userData:"運營管理",domain:"域名",list:"用戶管理",userDomain:"域名列表",p2pRate:"P2P分享率",userDistribution:"用戶地理分布",worldDistribution:"分域名/APP",worldDisGlobal:"匯總",config:"配置管理",trackerConfig:"tracker配置",SignalConfig:"信令管理",SeederConfig:"超级节点管理",AnnounceConfig:"Announce白名單",BlockOriginsConfig:"Origin黑名單",BlockIpsConfig:"IP黑名單",AllowIpsConfig:"IP白名單",userConfig:"客戶管理",dataAnalysis:"歷史數據",p2pTraffic:"流量趨勢圖",p2pTrafficGlobal:"全局流量趨勢圖",onlineNum:"在線人數趨勢圖",onlineNumGlobal:"全局在線人數趨勢圖",rebufferTrend:"卡頓率趨勢圖",domainInfo:"網站管理",domainList:"域名列表",package:"流量包",monthlyPackage:"包月套餐",expenditure:"訂單與費用",order:"歷史訂單",expenses:"費用趋势",invitation:"推廣分佣",p2pConfig:"P2P配置",edit:"編輯信息",appInfo:"APP管理",p2pSwitch:"開啟/關閉P2P",uploadRule:"分享策略",activationRatio:"激活比率",signalManage:"信令配置",seederManage:"超级节点",stunManage:"Stun配置",invoices:"發票管理",shopping:"商城",geofly:"飞线图"},navbar:{logOut:"登出",dashboard:"首頁",dosAddress:"文檔地址",screenfull:"全屏",theme:"換膚",size:"布局大小",myInfo:"個人信息",currZone:"可用區: ",zoneTip:'如果選擇了歐洲以外的可用區,需要手動配置SDK連接的服務器地址,請參考這裏'},auth:{login:"登入",signup:"註冊",resetPasswd:"忘記密碼?",email:"請輸入正確的郵箱",usernameError:"請輸入正確的郵箱",mailError:"請輸入正確的郵箱",sendTitle:"驗證碼已發送",phoneWarn:"請輸入手機號碼",phoneError:"請輸入正確的手機號碼",passwdError:"密碼必須在6到64位之間",captchaError:"驗證碼位數不正確",vcodeError:"驗證碼不能小於4位",console:"選擇可用區",consoleCN:"广州",consoleHK:"香港",consoleEU:"欧洲",consoleUSA:"美国"},login:{title:"登入",logIn:"登入",logInSuccess:"登入成功",username:"輸入已驗證的郵箱",password:"輸入密碼",code:"輸入驗證碼",selectZoneWarn:"請選擇一個可用區"},signup:{title:"註冊",signUp:"註冊",signUpSuccess:"註冊成功",password:"請輸入密碼",confirm_password:"請再次輸入密碼",confirm_password_error:"兩次輸入的密碼不一致",vcode:"請輸入驗證碼",email:"請輸入郵箱",send:"發送驗證碼",contract:"我已經閱讀並同意",contractName:"SwarmCloud用戶服務協議",confirmContract:"請先同意用戶服務協議",inviter:"邀請人郵箱 (選填)"},passwdReset:{title:"重置密碼",successTitle:"重置密碼成功",email:"請輸入郵箱",vcode:"驗證碼",send:"發送驗證碼",password:"請輸入密碼",submit:"重置"},dashboard:{currentDomain:"當前域名:",goBind:"綁定域名",switchDomain:"切換",tip:"您還未綁定域名或創建APP,是否現在操作?",online:"當前在線人數",onlineSuper:"在線超級節點",p2pTraffic:"今日P2P流量",httpTraffic:"今日回源流量",shareTraffic:"今日分享流量",p2pEfficiency:"當前P2P效率",serveNum:"今日播放次數",rebufferRatio:"平均卡頓率",maxOnlineNum:"歷史最高在線人數",remain:"剩余流量包流量",monthlyRemain:"套餐今日剩余",free:"剩余免費流量",versionDis:"版本",tagDis:"自定義標簽",terminalDis:"終端類型",liveDis:"直播/點播",netDis:"網路類型",ispDis:"運營商",natDis:"NAT類型",domainDis:"在線人數",p2pTip:'如果節省的流量未達到期望,請參考文檔進行配置。',httpTip:"回源服務器或者CDN产生的流量,回源流量和P2P流量加和等於總流量。",freeTip:"每日贈送25GB流量,簽到後再額外贈送2GB流量,次日重置。
消耗的P2P流量先用免費流量抵扣,超出部分用付費流量抵扣。
如果可用流量為零,則停止P2P服務。",remainTip:'請及時購買流量包或者包月套餐,以避免服務中斷。',efficiencyTip:"P2P流量增量占总流量增量的百分比",rebufferTip:"卡顿次数占总的媒体文件请求数的百分比",checkin:"簽到免費領流量",checkinSuccess:"簽到成功!",haveChecked:"你今天已經簽到了哦~",checkinFail:"簽到失敗,請重試!",invite:"邀请朋友拿佣金",bonus:"绑定手机奖励38元",changeUTC:"调整时区",changeUTCDesc:"若您未设置时区,系统将按您的浏览器时区展示业务数据。设置时区后,系统将默认以您设置的时区为维度进行相关业务数据分析。",trafficUseOut:"您的可用流量已用完,請前往購買流量包",onlinesTip:"P2P依賴於WebRTC Data Channel的支持,在不支持的設備上將自動回退到原生播放並且不會上報統計信息,因此這裏統計的在線人數可能會比實際的偏低,差異的大小取決於有多少比例的設備不支持P2P。",viewsTip:"總的觀看量,每觀看一個視頻計數一次",goApp:"創建APP",descGlobal:"此界面用於展示匯總所有域名/APP的實時數據。",descPerApp:'此界面用於展示單個域名/APP的實時數據,請通過上方"切換"按鈕來切換域名或APP。'},domainTable:{bindDomain:"綁定(根)域名",bindDomainTip:"輸入你的網站域名(請勿輸入IP地址),例如:www.example.com\n註意:域名是指播放器所在的域名(如果嵌入iframe則是src的域名),不是流地址(m3u8)的域名。\n端口不需要填寫,支持根域名通配。每行輸入一個域名,最多50個。",playUrlTip:"輸入你的網站首頁鏈接或者可以進入播放頁面的引導頁鏈接。網站不得包含非法內容,也不得包含跳轉到非法內容的鏈接。\nhttps://example.com/index.html",bindWarning:"SwarmCloud不對色情、博彩等非法內容提供服務,請確保您的網站符合法律規範,服務於國內的域名必須已備案。",bindDomainTError:"請輸入正確的域名!",domain:"域名",status:"狀態",unavailable:"待驗證",operation:"操作",verifyDomain:"驗證域名",certification:"驗證",certificationTip:"您需要對添加的網站進行域名所有權驗證,可以選擇以下任意一種方式進行驗證。",doneTip:'完成操作後請點擊"立即驗證"按鈕',verifyLater:"稍後驗證",verifyNow:"立即驗證",delete:"刪除",tip:"確定刪除嗎?",none:"未綁定",current:"當前: ",select:"請選擇",userVerifyDomain:{verifyWay:"驗證方式",DNSVerify:"DNS 驗證",fileVerify:"文件驗證",verifyTipHead:"設置cdnbye_dns_auth.",verifyTipEnd:"的TXT域名解析內容為下列字符:(註意有些不需要填寫根域名)",downloadFileHead:"下載專有的",downloadFileEnd:"HTML驗證文件",uploadFile:"將該文件上傳至:",fileName:"註意文件名稱不要修改,文件名稱為auth.txt",navVisitHead:"用瀏覽器訪問",navVisitEnd:",確認是否上傳成功"},verifySuccess:"驗證成功",title:"說明:",desc:"本頁面用於綁定網站域名,移動端原生 App 和 Electron 應用無需綁定域名。每個賬號最多可以綁定300個域名,60天內未使用的域名記錄將被自動刪除。服務於國內的域名必須已備案。\nTips:支持根域名通配所有子域名,每行一個域名,支持同時輸入50個域名。審核期間可正常使用。",illegal:"未通過審核(請聯繫客服)",tokenOnly:"启动后只需在SDK配置token,无需再绑定域名,适用于有大量域名使用或用ip访问网站的情形,联系客服认证通过后才能启用"},documentation:{documentation:"使用文檔",github:"Github 地址"},tagsView:{refresh:"刷新",close:"關閉",closeOthers:"關閉其它",closeAll:"關閉所有"},myInfo:{name:"用戶名:",mail:"郵箱:",passwd:"密碼:",mobile:"手機號",mobileBonus:"綁定手機號,拿38元獎勵!",changeMobile:{change:"修改手機號",number:"請輸入手機號碼",cc:"地區碼",wrongCCError:"請輸入正確的地區碼",wrongError:"請輸入正確的手機號碼",sameError:"請不要輸入相同的手機號碼",someError:"請輸入正確的手機號碼和地區碼"},vcodeEmailSuccess:"驗證碼已成功發送至您的郵箱",vcodeMobileSuccess:"驗證碼已成功發送至您的手機",time:"註冊時間:",timeZone:"时区",change:"修改",balanceUSD:"余额(美元)",balanceCNY:"余额(人民币)",visitorCode:"访客令牌",visitorCodeTip:"将该链接分享后,点击链接的用户将进入访客模式,只能查看不能修改数据。",visitorCodeError:'请先点击"重新生成"来生成访客令牌',resetVisitorCodeTip:"重新生成将使当前的访客令牌失效",autoRenew:"自动续费",recharge:"余额充值",rechargeTip:'充值金額不小于100元,僅能用於购买流量包和包月套餐,不支持提現。可参考定价。',changeMail:{change:"修改郵箱",newMail:"新郵箱",code:"驗證碼",noneError:"請輸入郵箱",wrongError:"請輸入正確的郵箱",sameError:"請不要輸入相同的郵箱",codeNoneError:"請輸入驗證碼",codeWrongError:"請輸入正確的驗證碼"},changePasswd:{change:"修改密碼",new:"新密碼",old:"舊密碼",noneError:"請輸入密碼",blankError:"密碼不允許包含空格",lengthError:"請輸入6到18位的密碼"},changeName:{change:"輸入新的用戶名",newName:"新用戶名",noneError:"請輸入用戶名"}},common:{ok:"確定",cancel:"取消",delete:"刪除",update:"更新",deleteSuccess:"刪除成功",closeSuccess:"關閉成功",yes:"YES",no:"NO",status:"狀態",available:"可用",userClosed:"用户关闭",reviewing:"可用(審核中)",illegal:"未通過審核",success:"成功",error:"錯誤",warning:"警告",message:"消息",sureDelete:"確定要刪除嗎?",sureUpdate:"確定要更新嗎?",default:"默認",setting:"設置",on:"開啟",off:"關閉",reset:"重新生成"},historyData:{hour:"1小時內",day:"24小時內",week:"7天",month:"30天",descGlobal:"此界面用於展示匯總所有域名/APP的歷史數據。"},package:{payMethod:"付款方式",packageSubTitle:"購買說明:",packageSub:"流量包用於提高可消耗的P2P流量額度,屬於消耗品。購買後當日生效(可能會有幾分鐘延遲)。不支持退款。支付遇到問題請聯系 service@cdnbye.com。",monthlyPackageSub:"包月套餐可提供每天固定額度的流量,有效期30天,可疊加購買。不支持退款。支付遇到問題請聯系 service@cdnbye.com。\nTips:如果包月套餐每日額度不夠用,可以額外購買流量包作為補充,系統會優先扣除包月套餐流量,再扣除流量包流量。您也可以選擇升級套餐,升級前後有效期保持不變。",packageInfo:"商品名",unitPrice:"單價",quantity:"數量",expense:"費用",total:"總計:",confirmPurchase:"確認購買",paySuccess:"付款成功,訂單信息已發送至您的郵箱。",paySuspended:"支付過程已被中止,您可以在歷史訂單頁面繼續支付。",payFail:"支付失敗!",payPending:"系統正在等待支付結果,付款成功後會將訂單信息發送至您的郵箱。",systemError:"抱歉,系統正在維護中",payLoadingTip:"正在跳轉至支付頁面",checkResultLoadingTip:"正在查詢支付狀態...",confirmCreate:"確認創建訂單嗎?",buyFlow:"購買流量包",buyMonthly:"購買包月服務",monthly:"有效期至 ",totalMonths:"購買月數:",totalPrice:"總計費用:",totalTraffic:"購買流量:",resetAfter:"距離重置",createOrder:"創建訂單",useBalance:"使用餘額",autoRenew:"賬戶餘額充足時到期前自動95折續費",rechargeTip:"先充值后购买,您可以获得1%充值奖励!"},order:{createTime:"創建時間",type:"類型",flowPackage:"流量包",monthlyPlan:"包月套餐",recharge:"餘額充值",payMethod:"支付方式",price:"價格",currency:"幣種",status:"訂單狀態",action:"操作",pay:"付款",invoice:"收据",close:"關閉",waitPay:"待付款",fail:"關閉",tip:"確認關閉訂單嗎?",alipay:"支付寶",packageName:"商品名稱",amount:"數量",totalTraffic:"流量",upgraded:"備註:套餐升級",balance:"餘額支付"},p2pConfig:{status:"狀態",open:"已開啟",close:"已關閉",configSuccess:"配置成功",configFail:"操作失敗",name:"域名/AppId",uploadRule:{status:"只在wifi/有線網絡上傳數據",desc:"這裏可以配置在不同網絡環境下的P2P分享策略以及超級節點調度策略,默認情況下允許在蜂窩網絡上傳數據。"},activationRatio:{desc:"本頁面用於配置P2P的激活比率,即連接P2P網絡的設備占總設備的百分比。建議先設置一個較小的比例,然後觀察P2P效果以及用戶反饋,在確認正常的情況下逐步提高激活比率至100%。未激活的節點可以正常播放,但不會連接到P2P網絡,只能從CDN或源服務器下載數據。",status:"激活比率(%)"},signalManage:{desc:"本頁面用於雲端配置信令地址,信令用於節點之間交換信息以建立P2P連接。如果在此頁面配置了信令地址則會覆蓋SDK側配置的信令地址。如果設置了備用信令地址,那麽SDK會同時連接兩個信令,並在主信令不可用時自動切換到備用信令。對於點播,如果配置了3個或以上信令,則會自動啟用負載均衡。",signalAddr:"主信令地址",signalAddr2:"備用信令地址",switch:"關閉/開啟",official:"挑選地理上接近您的用戶的官方信令地址"},stunManage:{addr:"Stun地址",desc:"本頁面用於雲端配置stun地址,stun用於處於NAT後面的節點獲取公網ip和端口。每行輸入一個地址,最多輸入3個地址。一旦配置,將覆蓋SDK默認stun地址,請謹慎操作。"}},app:{createToken:"生成Token",createTokenSuccess:"生成token成功",createFormItem:"+ 創建APP",createItemSuccess:"創建成功",createTitle:"輸入APP信息",createTip:"每個用戶最多創建200個APP",appName:"APP顯示的名稱",appID:'APP ID的獲取方式可參考這裏',platform:"平臺",sureCreateToken:"確定要生成token嗎?",deleteItemSuccess:"刪除成功",updateItemSuccess:"更新成功",createTime:"創建時間",name:"APP名稱",copy:"點擊復製",watch:"監控",title:"說明:",desc:'本頁面用於配置移動端原生 App 和 Electron,視頻網站請移步"網站管理"頁面綁定域名。每個用戶最多創建100個APP,60天內未使用的App記錄將被自動刪除。創建成功後需要等待1分鐘以上才生效。審核期間可正常使用。',appIdTip:"com.company.example",introTip:"輸入你的APP下載鏈接或者APP介紹鏈接",signatureTip:'輸入你的APK簽名SHA1值,用於對當前應用進行二次身份校驗(選填, 不建議填寫),簽名獲取方法可以參考這裏',copied:"已復製",illegal:"未通過審核(請聯系客服)",signature:"應用簽名(SHA1)",updateSign:"更新SHA1",websiteWarn:"請在網站管理頁面綁定域名"},seeder:{create:"+ 超级节点",createTitle:"输入超级节点信息",seedTitle:"输入做种信息",addr:"服务器地址",desc:"本页面用于将闲置服务器注册为超级节点,为无法连上其他节点的客户端提供服务。 配置方法请参考https://www.cdnbye.com/cn/super-peer.html",running:"运行中",stopped:"已停止",auto:"自动做种",seed:"做种",copy:"复制Base64",inputChannelId:"输入m3u8/mpd地址或者自定义频道ID",remarks:"备注",bandwidth:"頻寬(Mbps)",keepAliveTip:"默认情况下会自动清除连接节点数太少的worker,设为true可以保持一直在线",seedPreferred:"优先连接超级节点",seedPreferredTip:"是否在刚加入频道时就分配超级节点",urgentRatio:"连接超级节点最小阈值",urgentRatioTip:"根据P2P效果来分配超级节点,值越大分配的比例越多"},hotChannels:{content:"資源",num:"熱度",desc:"本頁面用於展示參與P2P加速的資源的熱度,從大到小排序,不展示在線人數太少的資源。"},invitation:{date:"日期",copy:"复制链接",from:"客户邮箱",price:"订单金额",status:"订单状态",done:"已完成",commission:"佣金",tip:"邀请朋友注册成功后,将可以获得对方每次购买总金额20%的佣金提成,佣金将自动转到您的账户余额,消费时可以用于抵扣。只需要受邀请方打开一次链接,后续注册都会绑定您为邀请方。"}},p=n("79fa"),m=n("a78e"),b=n.n(m);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function w(e){for(var t=1;t'});r.a.add(c);t["default"]=c},"9d91":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"9f52":function(e,t,n){"use strict";var a=function(){var e=this,t=e._self._c;return t("el-tooltip",{attrs:{effect:"light",placement:"top-start"}},[t("div",{staticClass:"content",attrs:{slot:"content"},domProps:{innerHTML:e._s(e.content)},slot:"content"}),t("i",{staticClass:"el-icon-question",staticStyle:{color:"#337ab7"}})])},i=[],o={name:"PointTip",props:{content:{type:String,required:!0}}},r=o,c=(n("c2ab"),n("2877")),s=Object(c["a"])(r,a,i,!1,null,"699d195c",null);t["a"]=s.exports},"9f58":function(e,t,n){"use strict";n("ce0e")},a14a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},a18c:function(e,t,n){"use strict";n.d(t,"b",(function(){return ht})),n.d(t,"a",(function(){return pt}));var a=n("75fc"),i=n("2b0e"),o=n("8c4f"),r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"app-wrapper",class:e.classObj},["mobile"===e.device&&e.sidebar.opened?t("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),t("Sidebar",{staticClass:"sidebar-container"}),t("div",{staticClass:"main-container"},[t("Navbar"),t("TagsView",{directives:[{name:"show",rawName:"v-show",value:"mobile"!==e.device||!e.showDomain,expression:"device!=='mobile' || !showDomain"}]}),"mobile"===e.device&&e.showDomain?t("div",{staticClass:"switch-domain-container"},[t("switch-domain",{staticStyle:{margin:"auto"}})],1):e._e(),t("AppMain")],1)],1)},c=[],s=(n("8e6e"),n("ac6a"),n("456d"),n("6762"),n("2fdb"),n("bd86")),l=n("2f62"),u=function(){var e=this,t=e._self._c;return t("div",{staticClass:"navbar"},[t("hamburger",{staticClass:"hamburger-container",attrs:{"toggle-click":e.toggleSideBar,"is-active":e.sidebar.opened}}),t("el-tag",{staticClass:"current-zone",attrs:{type:"info",effect:"plain"}},[e._v("\n "+e._s(e.$t("navbar.currZone"))+e._s(e.currZone)+"\n "),t("PointTip",{staticStyle:{"font-size":"14px","margin-left":"5px"},attrs:{content:e.$t("navbar.zoneTip")}})],1),t("div",{staticClass:"right-menu"},[e.showDomain&&"mobile"!==e.device?t("switch-domain",{staticClass:"switchdomain"}):e._e(),t("lang-select",{staticClass:"international right-menu-item"}),t("el-dropdown",{staticClass:"avatar-container right-menu-item",attrs:{trigger:"click"}},[t("div",{staticClass:"avatar-wrapper"},[e.userName?t("div",{staticClass:"username-wrapper"},[e._v("\n "+e._s(e.userName)+"\n ")]):t("img",{staticClass:"user-avatar",attrs:{src:e.Avatar}}),t("i",{staticClass:"el-icon-caret-bottom"})]),t("el-dropdown-menu",{staticStyle:{"text-align":"center"},attrs:{slot:"dropdown"},slot:"dropdown"},[t("a",{attrs:{target:"_blank",href:e.docAddress}},[t("el-dropdown-item",[e._v("\n "+e._s(e.$t("navbar.dosAddress"))+"\n ")])],1),t("router-link",{attrs:{to:"/user/edit"}},[t("el-dropdown-item",[e._v("\n "+e._s(e.$t("navbar.myInfo"))+"\n ")])],1),t("el-dropdown-item",[t("span",{staticStyle:{display:"block"},on:{click:e.recharge}},[e._v(e._s(e.$t("myInfo.recharge")))])]),t("el-dropdown-item",[t("span",{staticStyle:{display:"block"},on:{click:e.showTimeZone}},[e._v(e._s(e.$t("dashboard.changeUTC")))])]),t("el-dropdown-item",{attrs:{divided:""}},[t("span",{staticStyle:{display:"block"},on:{click:e.logout}},[e._v(e._s(e.$t("navbar.logOut")))])])],1)],1)],1),t("time-zone",{attrs:{visible:e.timeZoneVisible},on:{hide:function(t){e.timeZoneVisible=!1}}})],1)},d=[],f=(n("7f7f"),function(){var e=this,t=e._self._c;return t("div",[t("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{t:"1492500959545",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1691","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"64",height:"64"},on:{click:e.toggleClick}},[t("path",{attrs:{d:"M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z","p-id":"1692"}}),t("path",{attrs:{d:"M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z","p-id":"1693"}}),t("path",{attrs:{d:"M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z","p-id":"1694"}})])])}),h=[],p={name:"Hamburger",props:{isActive:{type:Boolean,default:!1},toggleClick:{type:Function,default:null}}},m=p,b=(n("2390"),n("2877")),g=Object(b["a"])(m,f,h,!1,null,"2fe8a492",null),w=g.exports,v=n("1131"),y=n("cf05"),k=n.n(y),O=n("9f52"),x=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{display:"inline-block","text-align":"center",width:"100%"}},[t("el-tag",{directives:[{name:"show",rawName:"v-show",value:e.switchDomainVisible,expression:"switchDomainVisible"}],staticStyle:{"font-weight":"bold","font-size":"medium",margin:"0px"},attrs:{effect:"dark",type:e.currentDomain.domain?"success":"danger"}},[e._v("\n "+e._s(e.currentDomain.domain?e.currentDomain.domain:e.$t("domainTable.none"))+"\n "),t("el-button",{staticStyle:{"font-size":"medium","margin-right":"-10px"},attrs:{size:"mini",type:"primary",plain:""},on:{click:function(t){e.selectDomainVisible=!0}}},[e._v("\n "+e._s(e.$t("dashboard.switchDomain"))+"\n ")])],1),t("el-dialog",{attrs:{title:e.$t("dashboard.switchDomain"),visible:e.selectDomainVisible,width:"mobile"===e.device?"80%":"30%"},on:{"update:visible":function(t){e.selectDomainVisible=t}}},[t("el-select",{staticStyle:{width:"80%"},attrs:{placeholder:e.$t("domainTable.select")},model:{value:e.selectValue,callback:function(t){e.selectValue=t},expression:"selectValue"}},[e._l(e.userValidDomain,(function(n){return[1===n.isValid?t("el-option",{key:n.domain,attrs:{label:n.domain,value:n.domain}}):e._e()]}))],2),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.selectDomainVisible=!1}}},[e._v(e._s(e.$t("common.cancel")))]),t("el-button",{attrs:{type:"primary"},on:{click:e.handleSelect}},[e._v(e._s(e.$t("common.ok")))])],1)],1)],1)},C=[],T=n("4360"),P=n("ed08");function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function D(e){for(var t=1;t0?t("sidebar-item",{key:n.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:n,"base-path":e.resolvePath(n.path)}}):t("app-link",{key:n.name,attrs:{to:e.resolvePath(n.path)}},[t("el-menu-item",{attrs:{index:e.resolvePath(n.path)}},[n.meta?t("item",{attrs:{icon:n.meta.icon,title:e.generateTitle(n.meta.title)}}):e._e()],1)],1)]}))],2):[t("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[t("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[e.onlyOneChild.meta?t("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta.icon,title:e.generateTitle(e.onlyOneChild.meta.title)}}):e._e()],1)],1)]],2):e._e()},ne=[],ae=n("df7c"),ie=n.n(ae),oe=n("79fa"),re=n("61f7"),ce={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,a=n.icon,i=n.title,o=[];return a&&o.push(e("svg-icon",{attrs:{"icon-class":a}})),i&&o.push(e("span",{slot:"title"},[i])),o}},se=ce,le=Object(b["a"])(se,W,F,!1,null,null,null),ue=le.exports,de=function(){var e=this,t=e._self._c;return t("component",e._b({},"component",e.linkProps(e.to),!1),[e._t("default")],2)},fe=[],he={props:{to:{type:String,required:!0}},methods:{isExternalLink:function(e){return Object(re["c"])(e)},linkProps:function(e){return this.isExternalLink(e)?{is:"a",href:e,target:"_blank",rel:"noopener"}:{is:"router-link",to:e}}}},pe=he,me=Object(b["a"])(pe,de,fe,!1,null,null,null),be=me.exports,ge={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,t=this.$refs.submenu;if(t){var n=t.handleMouseleave;t.handleMouseleave=function(t){"mobile"!==e.device&&n(t)}}}}};function we(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ve(e){for(var t=1;tn?i-n+o+Me:i-Me}}},Ie=ze,Le=(n("ebc2"),Object(b["a"])(Ie,Ae,Ve,!1,null,"240da686",null)),Be=Le.exports;function Ne(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Re(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,r=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return r=e.done,e},e:function(e){c=!0,o=e},f:function(){try{r||null==n.return||n.return()}finally{if(c)throw o}}}}function Re(e,t){if(e){if("string"===typeof e)return qe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qe(e,t):void 0}}function qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n'});r.a.add(c);t["default"]=c},a877:function(e,t,n){"use strict";n.d(t,"k",(function(){return o})),n.d(t,"h",(function(){return r})),n.d(t,"i",(function(){return c})),n.d(t,"j",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"q",(function(){return d})),n.d(t,"n",(function(){return f})),n.d(t,"f",(function(){return h})),n.d(t,"m",(function(){return p})),n.d(t,"l",(function(){return m})),n.d(t,"a",(function(){return b})),n.d(t,"d",(function(){return g})),n.d(t,"g",(function(){return w})),n.d(t,"o",(function(){return v})),n.d(t,"p",(function(){return y})),n.d(t,"e",(function(){return k}));n("7f7f"),n("ac6a");var a=n("b775"),i=n("5f87");function o(){return Object(a["a"])({url:"host/num?ts=".concat(((new Date).getTime()/1e3).toFixed()-1800),method:"get"})}function r(e,t,n,i,o){var r="host?page=".concat(e,"&page_size=").concat(t,"&order=").concat(n);return o&&(r="".concat(r,"&platform=").concat(o)),i.forEach((function(e){e.value&&(r+="&".concat(e.name,"=").concat(e.value))})),Object(a["a"])({url:r,method:"get"})}function c(e,t,n){var i="host/domains?page=".concat(e,"&page_size=").concat(t);return n.forEach((function(e){e.value&&(i+="&".concat(e.name,"=").concat(e.value))})),Object(a["a"])({url:i,method:"get"})}function s(e,t){var n="host/review?page=".concat(e,"&page_size=").concat(t);return Object(a["a"])({url:n,method:"get"})}function l(e){var t="host/checkbeian?domain=".concat(e);return Object(a["a"])({url:t,method:"get"})}function u(e){return Object(a["a"])({url:"/host/block",method:"post",data:e})}function d(e){return Object(a["a"])({url:"/host/whitelist",method:"post",data:e})}function f(e){return Object(a["a"])({url:"/host/review",method:"post",data:e})}function h(e){return Object(a["a"])({url:"/host/debug",method:"post",data:e})}function p(e,t,n,i){var o="user?page=".concat(e,"&page_size=").concat(t,"&order=").concat(n);return i.forEach((function(e){e.value&&(o+="&".concat(e.name,"=").concat(e.value))})),Object(a["a"])({url:o,method:"get"})}function m(e,t,n){var o="user/user_id/".concat(Object(i["a"])(),"/domain?page=").concat(e,"&page_size=").concat(t);for(var r in n)n[r]&&(o="".concat(o,"&").concat(r,"=1"));return Object(a["a"])({url:o,method:"get"})}function b(e){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/domain"),method:"post",data:e})}function g(e){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/domain/domain_id/").concat(e),method:"post"})}function w(e){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/domain/domain_id/").concat(e),method:"delete"})}function v(e){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/shadow_domain"),method:"post",data:e})}function y(e){return Object(a["a"])({url:"user/update_plan",method:"post",data:e})}function k(e){return Object(a["a"])({url:"user/custom_plan",method:"post",data:e})}},aa46:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},ab00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},af8b:function(e,t,n){},b20f:function(e,t,n){},b3b5:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},b775:function(e,t,n){"use strict";n("7ac1"),n("9627");var a=n("f488"),i=n.n(a),o=n("bc3a"),r=n.n(o),c=n("4360"),s=n("5f87"),l=n("5d2d"),u=n("267e"),d={cn:"p0",eu:"p1",us:"p2",hk:"p3",local:"d1"},f=Object(l["a"])(u["c"]);f&&(d[f]?(f=d[f],Object(l["c"])(u["c"],f)):Object(l["c"])(u["c"],f));var h=r.a.create({baseURL:u["a"][f],timeout:12e3});h.interceptors.request.use((function(e){return c["a"].getters.token&&(e.headers["MyToken"]=Object(s["b"])()),e}),(function(e){console.log(e),Promise.reject(e)})),h.interceptors.response.use((function(e){var t=e.data;return 0!==t.ret?(t.data&&i()({message:t.data.msg,type:"error",duration:5e3}),t.data&&4001===t.data.code&&setTimeout((function(){c["a"].dispatch("LogOut").then((function(){location.reload()}))}),5e3),Promise.reject(t.data)):e.data}),(function(e){return console.log("err"+e),i()({message:e.message,type:"error",duration:5e3}),Promise.reject(e)})),t["a"]=h},bc35:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},c24f:function(e,t,n){"use strict";n.d(t,"i",(function(){return o})),n.d(t,"g",(function(){return r})),n.d(t,"e",(function(){return c})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"f",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"a",(function(){return f})),n.d(t,"p",(function(){return h})),n.d(t,"l",(function(){return p})),n.d(t,"h",(function(){return m})),n.d(t,"o",(function(){return b})),n.d(t,"m",(function(){return g})),n.d(t,"n",(function(){return w})),n.d(t,"k",(function(){return v})),n.d(t,"b",(function(){return y}));var a=n("b775"),i=n("5f87");function o(){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/profile"),method:"get"})}function r(e){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/profile/name"),method:"put",data:e})}function c(e){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/profile/passwd"),method:"put",data:e})}function s(e){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/profile/email"),method:"put",data:e})}function l(e){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/profile/mobile"),method:"put",data:e})}function u(e){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/timezone"),method:"put",data:e})}function d(e){return Object(a["a"])({url:"user/frozen",method:"post",data:e})}function f(e){return Object(a["a"])({url:"user/admin",method:"post",data:e})}function h(e){return Object(a["a"])({url:"user/whitelist",method:"post",data:e})}function p(e){return Object(a["a"])({url:"user/trusted",method:"post",data:e})}function m(e){return Object(a["a"])({url:"user/debug",method:"post",data:e})}function b(e){return Object(a["a"])({url:"user/remain_traffic",method:"post",data:e})}function g(e){return Object(a["a"])({url:"user/balance",method:"post",data:e})}function w(e){return Object(a["a"])({url:"user/commission",method:"post",data:e})}function v(){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/visitor_code"),method:"post"})}function y(){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/cancel_renew"),method:"post"})}},c2ab:function(e,t,n){"use strict";n("8386")},c6c1:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-shoppingCard",use:"icon-shoppingCard-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},c829:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},cbb7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},ce0e:function(e,t,n){},cf05:function(e,t,n){e.exports=n.p+"img/logo.e3344fc8.png"},d056:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},dcf8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 1167 1024",content:''});r.a.add(c);t["default"]=c},e534:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},e5bd:function(e,t,n){},e625:function(e,t,n){},e9be:function(e,t,n){"use strict";n("2b2e")},eb1b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 1069 1024",content:''});r.a.add(c);t["default"]=c},ebc2:function(e,t,n){"use strict";n("5758")},ed08:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return d})),n.d(t,"e",(function(){return f})),n.d(t,"d",(function(){return h})),n.d(t,"a",(function(){return p}));n("7ac1"),n("9627");var a=n("f488"),i=n.n(a),o=(n("28a5"),n("55dd"),n("a481"),n("4360")),r=n("a877"),c=n("5d2d"),s=n("267e"),l=n("9923");function u(e,t,n){var a,i,o,r,c,s=function s(){var l=+new Date-r;l0?a=setTimeout(s,t-l):(a=null,n||(c=e.apply(o,i),a||(o=i=null)))};return function(){for(var i=arguments.length,l=new Array(i),u=0;u'});r.a.add(c);t["default"]=c},f8c9:function(e,t,n){"use strict";n("1aaa")},fb7c:function(e,t,n){}}); \ No newline at end of file diff --git a/js/app.ca5eeb00.js b/js/app.ca5eeb00.js deleted file mode 100644 index d8f73034..00000000 --- a/js/app.ca5eeb00.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){function t(t){for(var a,i,c=t[0],s=t[1],l=t[2],u=0,d=[];u'});r.a.add(c);t["default"]=c},"0884":function(e,t,n){"use strict";n("7170")},1131:function(e,t,n){"use strict";var a=function(){var e=this,t=e._self._c;return t("el-dropdown",{staticClass:"international",attrs:{trigger:"click"},on:{command:e.handleSetLanguage}},[t("div",[t("svg-icon",{attrs:{"class-name":"international-icon","icon-class":"language"}})],1),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{attrs:{disabled:"en"===e.language,command:"en"}},[e._v("English")]),t("el-dropdown-item",{attrs:{disabled:"zh"===e.language,command:"zh"}},[e._v("中文")])],1)],1)},i=[],o={computed:{language:function(){return this.$store.getters.language}},methods:{handleSetLanguage:function(e){this.$i18n.locale=e,this.$store.dispatch("setLanguage",e),this.$message({message:"Switch Language Success",type:"success"})}}},r=o,c=(n("e9be"),n("2877")),s=Object(c["a"])(r,a,i,!1,null,"2f99bb3b",null);t["a"]=s.exports},1430:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},1591:function(e,t,n){},1779:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"17df":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"18f0":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"1aaa":function(e,t,n){},2390:function(e,t,n){"use strict";n("fb7c")},2580:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 1088 1024",content:''});r.a.add(c);t["default"]=c},"267e":function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var a="loc",i="inviter",o={d1:"http://127.0.0.1:6066/v1/",p0:"https://cgi-cn.cdnbye.com/v1/",p1:"https://cgi.cdnbye.com/v1/",p2:"https://cgi.hdtvcloud.com/v1/",p3:"https://cgi.swarmcloud.net/v1/"}},"2a3d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"2b2e":function(e,t,n){},"2e1f":function(e,t,n){},"2f11":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},3046:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"30c3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"319f":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-invitation",use:"icon-invitation-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},3289:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},3786:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return c}));var a=n("b775");function i(e){return Object(a["a"])({url:"user/token",method:"post",data:e})}function o(e){return Object(a["a"])({url:"user",method:"post",data:e})}function r(e){return Object(a["a"])({url:"/vcode",method:"post",data:e})}function c(e){return Object(a["a"])({url:"/user/passwd_forget",method:"put",data:e})}},4360:function(e,t,n){"use strict";var a=n("2b0e"),i=n("2f62"),o=n("5d2d"),r=n("79fa"),c=n("a78e"),s=n.n(c),l=(n("9198"),{state:{sidebar:{opened:!+Object(o["a"])("sidebarStatus"),withoutAnimation:!1},device:"desktop",language:s.a.get("language")||Object(r["b"])(),switchDomainVisible:!1},mutations:{TOGGLE_SIDEBAR:function(e){e.sidebar.opened?Object(o["c"])("sidebarStatus",1):Object(o["c"])("sidebarStatus",0),e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1},CLOSE_SIDEBAR:function(e,t){Object(o["c"])("sidebarStatus",1),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t},SET_LANGUAGE:function(e,t){e.language=t,s.a.set("language",t,{expires:99999})},TOGGLE_SWITCH_DOMAIN:function(e,t){e.switchDomainVisible=t}},actions:{toggleSideBar:function(e){var t=e.commit;t("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){var n=e.commit,a=t.withoutAnimation;n("CLOSE_SIDEBAR",a)},toggleDevice:function(e,t){var n=e.commit;n("TOGGLE_DEVICE",t)},setLanguage:function(e,t){var n=e.commit;n("SET_LANGUAGE",t)},toggleSwitchDomain:function(e,t){var n=e.commit;n("TOGGLE_SWITCH_DOMAIN",t)}}}),u=l,d=n("3786"),f=n("c24f"),h=n("5f87"),p={state:{user:"",status:"",code:"",token:Object(h["b"])(),id:Object(h["a"])(),name:"",avatar:"",roles:[],setting:{articlePlatform:[]},userDomain:[],userValidDomain:Object(o["a"])("validDomain")||[],currentDomain:Object(o["a"])("userDomain")||{},profile:{}},mutations:{SET_CODE:function(e,t){e.code=t},SET_TOKEN:function(e,t){e.token=t},SET_PROFILE:function(e,t){Object(o["c"])("profile",t),e.profile=t},SET_ID:function(e,t){e.id=t},SET_SETTING:function(e,t){e.setting=t},SET_STATUS:function(e,t){e.status=t},SET_NAME:function(e,t){e.name=t},SET_AVATAR:function(e,t){e.avatar=t},SET_ROLES:function(e,t){e.roles=t},SET_USERDOMAIN:function(e,t){e.userDomain=t},SET_USERVALIDDOMAIN:function(e,t){e.userValidDomain=t,Object(o["c"])("validDomain",t)},SET_CURRENTDOMAIN:function(e,t){Object(o["c"])("userDomain",t),e.currentDomain=t}},actions:{LoginByUsername:function(e,t){var n=e.commit;return new Promise((function(e,a){Object(d["a"])(t).then((function(t){var a=t.data;n("SET_TOKEN",a.token),Object(h["f"])(t.data.token),n("SET_ID",a.id),Object(h["e"])(t.data.id),e()})).catch((function(e){a(e)}))}))},signup:function(e,t){var n=e.commit;return new Promise((function(e,a){Object(d["d"])(t).then((function(t){var a=t.data;n("SET_TOKEN",a.usertoken),Object(h["f"])(t.data.usertoken),n("SET_ID",a.id),Object(h["e"])(t.data.id),e()})).catch((function(e){a(e)}))}))},LogOut:function(e){var t=e.commit;e.state;return new Promise((function(e,n){t("SET_TOKEN",""),Object(h["d"])(),t("SET_ID",""),Object(h["c"])(),t("SET_USERDOMAIN",[]),t("SET_USERVALIDDOMAIN",[]),t("SET_CURRENTDOMAIN",{}),t("SET_USERVALIDDOMAIN",""),e()}))},setRole:function(e,t){var n=e.commit;return new Promise((function(e,a){var i={roles:[t]};n("SET_ROLES",i.roles),e(i)}))},setDomain:function(e,t){var n=e.commit;return new Promise((function(e,a){n("SET_USERDOMAIN",t),e(t)}))},setCurrentDomain:function(e,t){var n=e.commit;return new Promise((function(e,a){n("SET_CURRENTDOMAIN",t),e(t)}))},setValidDomain:function(e,t){var n=e.commit;return new Promise((function(e,a){n("SET_USERVALIDDOMAIN",t),e(t)}))},getProfile:function(e){var t=e.commit;return new Promise((function(e,n){Object(f["i"])().then((function(n){t("SET_PROFILE",n.data),e(n.data)})).catch((function(e){n(e)}))}))}}},m=p,b=n("a18c"),g=n("c29b");function w(e,t){return!t.meta||!t.meta.roles||e.some((function(e){return t.meta.roles.indexOf(e)>=0}))}function v(e,t){var n=e.filter((function(e){return!!w(t,e)&&(e.children&&e.children.length&&(e.children=v(e.children,t)),!0)}));return n}var y={state:{routers:b["b"],addRouters:[]},mutations:{SET_ROUTERS:function(e,t){e.addRouters=t,e.routers=b["b"].concat(t)}},actions:{GenerateRoutes:function(e,t){var n=e.commit;return new Promise((function(e){var a,i=t.roles;a=v(b["a"],i),i.indexOf("user")>=0&&(g["a"].configure("4eed08c4-730f-4676-9f60-89f098f236b2",{autoload:!1}),g["a"].setHideOnAway(!0),g["a"].load()),n("SET_ROUTERS",a),e()}))}}},k=y,O=(n("ac4d"),n("8a81"),n("5df3"),n("1c4c"),n("6b54"),n("75fc")),x=n("768b");n("ac6a"),n("7f7f"),n("6762"),n("2fdb");function C(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=T(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,r=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return r=e.done,e},e:function(e){c=!0,o=e},f:function(){try{r||null==n.return||n.return()}finally{if(c)throw o}}}}function T(e,t){if(e){if("string"===typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?P(e,t):void 0}}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n'});r.a.add(c);t["default"]=c},"47f1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"47ff":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"4df5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"51ff":function(e,t,n){var a={"./404.svg":"a14a","./app.svg":"43bc","./bug.svg":"1779","./chart.svg":"c829","./clipboard.svg":"bc35","./component.svg":"56d6","./dashboard.svg":"f782","./documentation.svg":"90fb","./drag.svg":"9bbf","./edit.svg":"aa46","./email.svg":"cbb7","./example.svg":"30c3","./excel.svg":"6599","./eye.svg":"4df5","./form.svg":"eb1b","./guide.svg":"6683","./icon.svg":"9d91","./international.svg":"17df","./invitation.svg":"319f","./invoice.svg":"0543","./language.svg":"2580","./link.svg":"18f0","./list.svg":"3289","./lock.svg":"ab00","./message.svg":"47ff","./money.svg":"3046","./nested.svg":"dcf8","./password.svg":"2a3d","./people.svg":"d056","./peoples.svg":"2f11","./qq.svg":"1430","./shoppingCard.svg":"c6c1","./size.svg":"8644","./star.svg":"708a6","./tab.svg":"8fb7","./table.svg":"47f1","./theme.svg":"e534","./user.svg":"b3b5","./wechat.svg":"80da","./www.svg":"a824","./zip.svg":"8aa6"};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=o,e.exports=i,i.id="51ff"},"56d6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"56d7":function(e,t,n){"use strict";n.r(t);n("6606"),n("9627");var a=n("dda8"),i=n.n(a),o=(n("9aab"),n("3e95")),r=n.n(o),c=(n("7ac1"),n("f488")),s=n.n(c),l=(n("eff5"),n("231a")),u=n.n(l),d=(n("b2b4"),n("2ac7")),f=n.n(d),h=(n("7615"),n("0a65")),p=n.n(h),m=(n("a99b"),n("5a58")),b=n.n(m),g=(n("5287"),n("dda1")),w=n.n(g),v=(n("071a"),n("bc43")),y=n.n(v),k=(n("aab8"),n("9e65")),O=n.n(k),x=(n("23a6"),n("f15d")),C=n.n(x),T=(n("886d"),n("2b4c3")),P=n.n(T),S=(n("33de"),n("3986")),D=n.n(S),j=(n("6877"),n("bdbc")),E=n.n(j),_=(n("a0b8"),n("96f0")),A=n.n(_),V=(n("b0ef"),n("e314")),M=n.n(V),z=(n("483f"),n("ab29")),I=n.n(z),L=(n("a43f"),n("0873")),B=n.n(L),N=(n("4b17"),n("1721")),R=n.n(N),q=(n("8774"),n("7484")),U=n.n(q),$=(n("478d"),n("8d52")),H=n.n($),G=(n("3f18"),n("5dc9")),Z=n.n(G),W=(n("cbde"),n("7481")),F=n.n(W),Y=(n("5327"),n("752e")),K=n.n(Y),J=(n("492d"),n("dea0")),Q=n.n(J),X=(n("1f8b"),n("612c")),ee=n.n(X),te=(n("7291"),n("857f")),ne=n.n(te),ae=(n("9822"),n("7afb")),ie=n.n(ae),oe=(n("884f"),n("01fe")),re=n.n(oe),ce=(n("ae58"),n("6a06")),se=n.n(ce),le=(n("946e"),n("caee")),ue=n.n(le),de=(n("7973"),n("d30b")),fe=n.n(de),he=(n("12da"),n("6b80")),pe=n.n(he),me=(n("40cf"),n("4992")),be=n.n(me),ge=(n("94ff"),n("831d")),we=n.n(ge),ve=(n("5da2"),n("68db")),ye=n.n(ve),ke=(n("6f69"),n("f30d")),Oe=n.n(ke),xe=(n("0459"),n("f3cb")),Ce=n.n(xe),Te=(n("9c82"),n("ff6c")),Pe=n.n(Te),Se=(n("cadf"),n("551c"),n("f751"),n("097d"),n("2b0e")),De=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},je=[],Ee=(n("9f58"),n("2877")),_e={},Ae=Object(Ee["a"])(_e,De,je,!1,null,null,null),Ve=Ae.exports,Me=n("a18c"),ze=n("4360"),Ie=n("7618"),Le=(n("c5f6"),n("10ea")),Be=n.n(Le);"object"===("undefined"===typeof window?"undefined":Object(Ie["a"])(window))&&(window.jsVectorMap=Be.a);var Ne={data:function(){return{id:null,instance:null}},render:function(e){return this.id="vuevectormap__".concat(this._uid),e("div",{attrs:{id:this.id,style:"width: ".concat(this.width,"; height: ").concat(this.height)}})},mounted:function(){var e={},t=this.$props;for(var n in this.$listeners)e["on".concat(n.charAt(0).toUpperCase()+n.slice(1))]=this.$listeners[n];for(var a in t)void 0!=t[a]&&(e[a]=t[a]);e.selector="#".concat(this.id),this.instance=new Be.a(e)},methods:{getMap:function(){return this.instance}},beforeDestroy:function(){this.instance.destroy()},props:{height:{type:String,default:function(){return"300px"}},width:{type:String,default:function(){return"600px"}},map:String,backgroundColor:String,draggable:null,zoomButtons:null,zoomOnScroll:null,zoomOnScrollSpeed:Number,zoomMax:Number,zoomMin:Number,zoomAnimate:null,showTooltip:null,zoomStep:Number,focusOn:Object,labels:Object,markers:Array,selectedMarkers:Array,markersSelectable:null,markersSelectableOne:null,markerStyle:{type:Object,default:function(){}},markerLabelStyle:Object,lines:Array,lineStyle:{type:Object,default:function(){}},selectedRegions:Array,regionsSelectable:null,regionsSelectableOne:null,regionStyle:{type:Object,default:function(){}},regionLabelStyle:Object,series:Object,visualizeData:Object}},Re=Ne.install=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Ne.props;for(var a in t)n.hasOwnProperty(a)&&function(){var e=t[a];Ne.props[a]={default:"object"!=Object(Ie["a"])(e)?e:function(){return e}}}();e.component("vuevectormap",Ne)},qe=(n("a2a5"),n("44ba"),n("b20f"),n("f5df"),n("9923")),Ue=(n("ac6a"),function(){var e=this,t=e._self._c;return t("svg",{class:e.svgClass,attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":e.iconName}})])}),$e=[],He={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},Ge=He,Ze=(n("9a85"),Object(Ee["a"])(Ge,Ue,$e,!1,null,"2f0f1ae2",null)),We=Ze.exports;Se["default"].component("svg-icon",We);var Fe=n("51ff"),Ye=function(e){return e.keys().map(e)};Ye(Fe);n("8e6e"),n("456d");var Ke=n("bd86"),Je=(n("28a5"),n("5f87")),Qe=n("27ae");function Xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function et(e){for(var t=1;t=0}))}var nt=["/login","/signup","/forget_password"];Me["c"].beforeEach((function(e,t,n){if(e.path){if(!Object(Je["b"])())return void(-1!==nt.indexOf(e.path)?n():n("/login"));if("/login"===e.path)n({path:"/"});else if(0===ze["a"].getters.roles.length){var a=1===JSON.parse(Qe["Base64"].decode(Object(Je["b"])().split(".")[1])).iat?"admin":"user";ze["a"].dispatch("setRole",a).then((function(t){var a=t.roles;ze["a"].dispatch("GenerateRoutes",{roles:a}).then((function(){ze["a"].getters.addRouters.forEach((function(e){Me["c"].addRoute(e)})),n(et(et({},e),{},{replace:!0}))}))})).catch((function(e){n({path:"/"})}))}else tt(ze["a"].getters.roles,e.meta.roles)?n():n({path:"/401",replace:!0,query:{noGoBack:!0}})}})),Me["c"].afterEach((function(e,t,n){})),Se["default"].config.productionTip=!1,Se["default"].use(Re,{backgroundColor:"#FFF"}),Se["default"].use(Pe.a),Se["default"].use(Ce.a),Se["default"].use(Oe.a),Se["default"].use(ye.a),Se["default"].use(we.a),Se["default"].use(be.a),Se["default"].use(pe.a),Se["default"].use(fe.a),Se["default"].use(ue.a),Se["default"].use(se.a),Se["default"].use(re.a),Se["default"].use(ie.a),Se["default"].use(ne.a),Se["default"].use(ee.a),Se["default"].use(Q.a),Se["default"].use(K.a),Se["default"].use(F.a),Se["default"].use(Z.a),Se["default"].use(H.a),Se["default"].use(U.a),Se["default"].use(R.a),Se["default"].use(B.a),Se["default"].use(I.a),Se["default"].use(M.a),Se["default"].use(A.a),Se["default"].use(E.a),Se["default"].use(D.a),Se["default"].use(P.a),Se["default"].use(C.a),Se["default"].use(O.a),Se["default"].use(y.a),Se["default"].use(w.a),Se["default"].use(b.a),Se["default"].use(p.a),Se["default"].use(f.a),Se["default"].use(u.a),Se["default"].use({i18n:function(e,t){return qe["a"].t(e,t)}}),Se["default"].prototype.$message=s.a,Se["default"].prototype.$messageBox=r.a,Se["default"].prototype.$notify=i.a,Se["default"].filter("positive",(function(e){return e?e<0?0:e:0})),new Se["default"]({router:Me["c"],store:ze["a"],i18n:qe["a"],render:function(e){return e(Ve)}}).$mount("#app")},5758:function(e,t,n){},5795:function(e,t,n){"use strict";n("e625")},"5d2d":function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"d",(function(){return c}));var a=n("7618"),i=function(e,t){"object"===Object(a["a"])(t)&&(t=JSON.stringify(t)),window.localStorage.setItem(e,t)},o=function(e){var t=window.localStorage.getItem(e);try{var n=JSON.parse(t);if(n.duration&&n.startTime){var a=(new Date).getTime();return a-n.startTime>n.duration?(window.localStorage.removeItem(e),null):n.value}return n}catch(i){return t}},r=function(e){window.localStorage.removeItem(e)},c=function(e,t,n){var a={value:t,duration:n,startTime:(new Date).getTime()};window.localStorage.setItem(e,JSON.stringify(a))}},"5f87":function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"e",(function(){return d})),n.d(t,"c",(function(){return f}));var a=n("a78e"),i=n.n(a),o="MyToken",r="id";function c(){return i.a.get(o)}function s(e){return i.a.set(o,e,{expires:7})}function l(){return i.a.remove(o)}function u(){return i.a.get(r)}function d(e){return i.a.set(r,e,{expires:7})}function f(){return i.a.remove(r)}},6167:function(e,t,n){"use strict";n("af8b")},"61f7":function(e,t,n){"use strict";function a(e){var t=/^((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}$/;if(t.test(e))return!1;var n=/^(?=^.{3,255}$)[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+$/;return n.test(e)}function i(e){var t=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return t.test(e)}function o(e){var t=/^\d+$/;return t.test(e)}n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}))},6599:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},6683:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 1117 1024",content:''});r.a.add(c);t["default"]=c},"66e6":function(e,t,n){"use strict";n.d(t,"f",(function(){return i})),n.d(t,"e",(function(){return o})),n.d(t,"d",(function(){return r})),n.d(t,"g",(function(){return c})),n.d(t,"k",(function(){return s})),n.d(t,"h",(function(){return l})),n.d(t,"j",(function(){return u})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return f})),n.d(t,"i",(function(){return h})),n.d(t,"c",(function(){return p}));var a=n("b775");function i(e){var t="goods/flow_packet";return e&&(t="".concat(t,"?uid=").concat(e)),Object(a["a"])({url:t,method:"get"})}function o(e){var t="goods/monthly_packet";return e&&(t="".concat(t,"?uid=").concat(e)),Object(a["a"])({url:t,method:"get"})}function r(e,t){return Object(a["a"])({url:"order/user_id/".concat(e),method:"post",data:t})}function c(e,t){return Object(a["a"])({url:"charge/methods?currency=".concat(e,"&total_price=").concat(t),method:"get"})}function s(e){return Object(a["a"])({url:"charge/crypto/trade",method:"post",data:e})}function l(e,t,n){var i=location.origin+location.pathname,o="mobile"===n?"&mobile=true":"";return Object(a["a"])({url:"charge/".concat(e,"/pay?origin=").concat(i,"&order_id=").concat(t).concat(o),method:"get"})}function u(e){return Object(a["a"])({url:"charge/crypto/nowpayments/available?price=".concat(e),method:"get"})}function d(e,t){return Object(a["a"])({url:"charge/".concat(e,"/query?order_id=").concat(t),method:"get"})}function f(e,t){return Object(a["a"])({url:"user/user_id/".concat(e,"/checkin"),method:"post",data:t})}function h(e){return Object(a["a"])({url:"user/user_id/".concat(e,"/invoice"),method:"get"})}function p(e,t){return Object(a["a"])({url:"user/user_id/".concat(e,"/invoice"),method:"post",data:t})}},"67c2":function(e,t,n){"use strict";n("1591")},"708a6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},7170:function(e,t,n){},7457:function(e,t,n){"use strict";n("e5bd")},"79fa":function(e,t,n){"use strict";function a(e){var t=this.$te("route."+e),n=this.$t("route."+e);return t?n:e}function i(){var e=navigator.language||navigator.userLanguage;return e=e.substr(0,2),"zh"===e?"zh":"en"}n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}))},"80da":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},8386:function(e,t,n){},8644:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"8aa6":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"8fb7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"90fb":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},9923:function(e,t,n){"use strict";n("8e6e"),n("ac6a"),n("456d");var a=n("bd86"),i=n("2b0e"),o=n("a925"),r=n("5199"),c=n.n(r),s=n("2106"),l=n.n(s),u=n("6d91"),d=n.n(u),f={route:{liveData:"Realtime Data",liveDataPerApp:"Per Domain/App",liveDataGlobal:"Global",liveDataAdmin:"Realtime Data",overallData:"Overall Data",hotChannel:"Content Popularity",financial:"Finance Info",incomeTrend:"Income Trend",disChart:"Distribution",Operational:"Operational data",bandwidth:"Traffic",online:"Online",permission:"Permission",pagePermission:"Page Permission",userData:"Operation Management",domain:"Domain",list:"User Management",userDomain:"Domain list",p2pRate:"P2P rate",userDistribution:"GEO Distribution",worldDistribution:"Per Domain/App",worldDisGlobal:"Global",config:"Config management",trackerConfig:"Tracker",SignalConfig:"Signal",SeederConfig:"Seeder",AnnounceConfig:"Announce",BlockOriginsConfig:"BlockOrigins",BlockIpsConfig:"IP BlackList",AllowIpsConfig:"IP WhiteList",userConfig:"user",dataAnalysis:"Historical Data",p2pTraffic:"Traffic Trend",p2pTrafficGlobal:"Global Traffic Trend",onlineNum:"Online Trend",onlineNumGlobal:"Global Online Trend",rebufferTrend:"Rebuffer Trend",domainInfo:"Website Management",domainList:"Domain List",package:"Traffic Package",monthlyPackage:"Monthly Plan",expenditure:"Order & Costs",order:"Order History",expenses:"Expenditure Trend",invitation:"Affiliates",p2pConfig:"P2P Setting",edit:"edit",appInfo:"App Management",p2pSwitch:"Enable/Disable P2P",uploadRule:"Sharing Rules",activationRatio:"Activation Ratio",signalManage:"Signal Configuration",seederManage:"Server as Peer",stunManage:"Stun Configuration",invoices:"Invoices",shopping:"Shopping",geofly:"GEO Fly Line"},navbar:{logOut:"Log Out",dashboard:"Dashboard",dosAddress:"Documentation",screenfull:"Screenfull",theme:"Theme",size:"Global Size",myInfo:"Profile",currZone:"Zone: ",zoneTip:'If a non default zone (HK, USA) is selected, you need to manually configure the tracker address for the SDK. Details can be found here'},auth:{login:"Login",signup:"Signup",resetPasswd:"Forgot password?",email:"Please input the correct E-mail",usernameError:"Please input the correct E-mail",mailError:"Please enter the correct E-mail",sendTitle:"The verification code has been sent",phoneWarn:"Please enter your phone number",phoneError:"Please enter the correct phone number",passwdError:"The password must be between 6 and 64 digits",captchaError:"The code is not match",vcodeError:"The verification code can not be less than 4 digits",console:"Select Zone",consoleHK:"HongKong",consoleEU:"Europe",consoleUSA:"USA"},login:{title:"Login",logIn:"Log in",logInSuccess:"login successfully",username:"Enter your verified email",password:"Enter your password",code:"Enter characters here",selectZoneWarn:"Please select a zone"},signup:{title:"Signup",signUp:"signup",signUpSuccess:"signup successfully",password:"password",confirm_password:"Please enter your password again",confirm_password_error:"The two passwords you entered were inconsistent",vcode:"Verification Code",email:"E-mail",send:"Send Verification Code",contract:"I have read and agreed to ",contractName:"Terms of Service",confirmContract:"Please agree to the Terms of Service",inviter:"Inviter Email (Optional)"},passwdReset:{title:"Password Reset",successTitle:"Reset password successfully",email:"Please enter your E-mail",vcode:"Verification Code",send:"send",password:"Please enter your password",submit:"Reset"},dashboard:{currentDomain:"Current Domain: ",goBind:"Register Domain",switchDomain:"Switch",tip:"Register domain name or create app now?",online:"Current Online Viewers",onlineSuper:"Online Super Peers",p2pTraffic:"P2P Traffic Today",httpTraffic:"Back-to-Origin Traffic Today",shareTraffic:"Shared Traffic Today",p2pEfficiency:"Current Efficiency",serveNum:"Playback Sessions Today",rebufferRatio:"Rebuffer Ratio",maxOnlineNum:"Peak Concurrent Viewers",remain:"Remaining Paid Traffic",monthlyRemain:"Remaining Plan Traffic Today",free:"Remaining Free Traffic",versionDis:"Version",tagDis:"Custom Label",terminalDis:"Terminal",liveDis:"Live/VOD",netDis:"Network Type",ispDis:"ISP",natDis:"NAT Type",domainDis:"Online",p2pTip:'Want to increase p2p traffic? See here',httpTip:"The traffic downloaded from original server or CDNs, the sum of Back-to-Origin traffic and P2P traffic is equal to the total traffic",freeTip:"5GB traffic will be given after the domain name is registered, and additional 20 GB after signing in every day. \nNote that both of these will be cleared the next day. The consumed P2P traffic is first deducted by free traffic while the excess is deducted by paid traffic. \nIf there is no available traffic, P2P service will be stopped.",remainTip:'Please buy traffic package or monthly plan in time to avoid service interruption.',efficiencyTip:"Percentage of P2P traffic increment to total traffic increment",rebufferTip:"Percentage of rebuffer count to total media request count",checkin:"Get Free Traffic",checkinSuccess:"Get free traffic successfully!",haveChecked:"You can only get it once a day",checkinFail:"Failed, please try again!",invite:"Invite friends get Commission",bonus:"Get 5$ Bonus",changeUTC:"TimeZone",changeUTCDesc:"By default, Console will read and use the time zone from your browser for data analysis. Once changed by user, Console will use manually configured time zone.",trafficUseOut:"You have run out of available traffic, please go to purchase the traffic package.",onlinesTip:"P2P only works on browsers that support WebRTC Data Channels. On browsers that don’t have such support, P2P will be automatically disabled and fallback to native playback. Those unsupported devices will not have any analytics collected from them, which can cause some discrepancy between the numbers that you see on your own analytics systems and here. This discrepancy is expected and will vary based on the % of unsupported devices your end-users use.",viewsTip:"Total view times today",goApp:"Create App",descGlobal:"This page shows the summarized real-time data of all domains/APPs.",descPerApp:'This page displays the real-time data of a single domain/APP. You can switch through the "Switch" button above.'},domainTable:{bindDomain:"Register Your Domain/Root Domain",bindDomainTip:"Enter your domain name,such as: (Do not input IP address)\nwww.example.com\nNotice: for iframed or embedded players, the domain name taken into account will be the source website.",playUrlTip:"Enter the link of your website homepage or the guide page link to the play page\nhttps://example.com/index.html",bindWarning:"",bindDomainTError:"PLease input the correct domain!",domain:"Domain",status:"State",unavailable:"Unauthorized",operation:"Operation",verifyDomain:"Verify domain",certification:"Verify",certificationTip:"You need to verify your domain name of the added website. You can choose any of the following methods.",doneTip:'Click the "Verify Now" button when you are done',verifyLater:"Verify Later",verifyNow:"Verify Now",none:"None",current:"Current: ",select:"please select",userVerifyDomain:{verifyWay:"Ways of verify",DNSVerify:"DNS",fileVerify:"file",verifyTipHead:"Set the TXT domain name resolution content of cdnbye_dns_auth.",verifyTipEnd:" to the following characters:",downloadFileHead:"Download the specific ",downloadFileEnd:"HTML verification file",uploadFile:"Upload the file to: ",fileName:"please note that the file name is auth.txt which should not be modified.",navVisitHead:"Access ",navVisitEnd:" to confirm that the upload was successful"},verifySuccess:"verify successfully",title:"Notice:",desc:"This page is used to register domain name, please note that mobile native App and Electron App do not require to register domain name. You can register up to 300 domains. Domain records that have not been used within 60 days will be automatically deleted. \nTips:You can use root domain to match all sub-domains, one domain per line, up to 50 domains in one submit. You can use as normal during under review.",illegal:"Not Approved",tokenOnly:"If enabled, domain registration is no longer required once you have config token in web SDK, it is applicable to the scene where a large number of domains are used or the website is accessed by ip"},documentation:{documentation:"Documentation",github:"Github Repository"},tagsView:{refresh:"Refresh",close:"Close",closeOthers:"Close Others",closeAll:"Close All"},myInfo:{name:"Username: ",mail:"E-mail: ",passwd:"Password: ",mobile:"Mobile Number",mobileBonus:"Bind your Mobile, Earn 5$!",changeMobile:{change:"Update Mobile Number",number:"your mobile number",cc:"country code",wrongCCError:"please enter your valid country code",wrongError:"please enter your valid mobile number",sameError:"please do not enter the same mobile number",someError:"please enter your valid mobile and country code"},vcodeEmailSuccess:"The verification code has been sent to your mailbox",vcodeMobileSuccess:"The verification code has been sent to your mobile",time:"Registration Date: ",timeZone:"Time Zone",change:"update",balanceUSD:"Balance(USD)",balanceCNY:"Balance(CNY)",visitorCode:"Visitor Code",visitorCodeTip:"After sharing the link, users who click on it can view data but can not modify it.",visitorCodeError:"Please click Regenerate first",resetVisitorCodeTip:"Regenerating will invalidate the current visitor link",autoRenew:"Automatic Renewal",recharge:"Add Funds",rechargeTip:'All deposits are non-refundable, the pricing can be found here. The recharge amount needs to be an integer multiple of 10.',changeMail:{change:"update E-mail",newMail:"new E-mail",code:"Verification code",noneError:"please enter your email",wrongError:"please enter your valid email",sameError:"please do not enter the same E-mail",codeNoneError:"please enter your verification code",codeWrongError:"please enter your valid verification code"},changePasswd:{change:"update password",new:"new password",old:"old password",noneError:"Please enter your password",blankError:"Passwords are not allowed to contain spaces",lengthError:"Please enter a 6 to 18 digit password"},changeName:{change:"update username",newName:"new username",noneError:"Please enter your username"}},common:{ok:"Confirm",cancel:"Cancel",delete:"Delete",update:"Update",deleteSuccess:"delete successfully",closeSuccess:"close successfully",yes:"YES",no:"NO",status:"status",available:"Active",userClosed:"Closed",reviewing:"Active",illegal:"Not Approved",success:"Success",error:"Error",warning:"Warning",message:"Message",sureDelete:"Do you confirm to delete?",sureUpdate:"Do you confirm to update?",default:"Default",setting:"Setting",on:"Enabled",off:"Disabled",reset:"Regenerate"},historyData:{hour:"1 Hour",day:"24 Hours",week:"7 Days",month:"30 Days",descGlobal:"This page shows the summarized historical data of all domains/APPs."},package:{payMethod:"Payment method",packageSubTitle:"Notice: ",packageSub:"Each user can consume a certain amount of P2P traffic. You can increase quota of traffic by buying the listed traffic packages below. Contact service@cdnbye.com if you have problems. Notice: Refunds are not supported.",monthlyPackageSub:"Each of our plans comes with a defined event quota. If you exceed that quota, don’t worry, you can buy traffic package as supplement. Since the additional events cost more than pre-paid events, we recommend picking a plan that pre-pays for a little more than you think you'll need to avoid paying on-demand rates. It's a classic volume discount: when you use more, you pay less. Contact service@cdnbye.com if you have problems. Notice: Refunds are not supported. If you upgrade your plan, the due time of new plan is same as old one.",packageInfo:"Item",unitPrice:"Unit price",quantity:"Quantity",expense:"Expense",total:"total:",confirmPurchase:"Pay Now",paySuccess:"Thank you! The payment for your order has been confirmed, and the order information has been sent to your mailbox.",paySuspended:"The payment process has been suspended. You can find the order in Order History page and continue the payment.",payFail:"Failed to pay!",payPending:"Your payment is under process, the order information will be sent to your mailbox once the payment is completed.",systemError:"Sorry, the system is maintaining",payLoadingTip:"Jumping to payment page...",checkResultLoadingTip:"Checking payment status...",confirmCreate:"Do you confirm to create an order?",buyFlow:"Traffic package",buyMonthly:"Monthly plan",monthly:"Until ",totalMonths:"Total Months: ",totalPrice:"Total Price: ",totalTraffic:"Total Traffic: ",resetAfter:"Reset After",createOrder:"Create Order",useBalance:"Use Account Funds",autoRenew:"Automatic renewal from account funds with 5% discount",rechargeTip:"Add funds first, then make your purchase to receive a 1% of your added funds as bonus!"},order:{createTime:"Date",type:"Type",payMethod:"Payment Method",flowPackage:"Traffic Package",monthlyPlan:"Monthly Plan",recharge:"Balance Recharge",price:"Price",currency:"Currency",status:"Status",action:"Operation",pay:"Pay",invoice:"Invoice",close:"Close",waitPay:"Pending",processing:"Processing",fail:"Closed",tip:"Do you confirm to close order?",alipay:"Alipay",packageName:"Item",amount:"Quantity",totalTraffic:"Traffic",upgraded:"Note: Upgraded Plan",balance:"Balance"},p2pConfig:{status:"Status",open:"Opened",close:"Closed",configSuccess:"Successfully configured",configFail:"Operation failed",name:"Domain/AppId",uploadRule:{status:"Only allow uploading on Wi-Fi and Ethernet",desc:"This page allows you to define your own uploading logic with regards to the network condition. By default, uploading on cellular is enabled."},activationRatio:{desc:"This page enables you to allocate an exact percentage of your audience to benefit from SwarmCloud peer-to-peer on a per-device basis. By starting with a small activation ratio, you will be able to test how our technology works on a small percentage of end-users. Then, you can increase it with time after checking the results. Disabled viewers still run our libraries but do not connect to our tracker. Peer connections for those viewers will not be initiated and their videos will be loaded from CDNs only.\n0% - No users are P2P enabled.\n100% - All users are P2P enabled(the default setting).",status:"Activation Ratio(%)"},signalManage:{desc:"This page is used for configuration of signaling address. Signaling is used to exchange information between nodes to establish P2P connection. If the address is configured on this page, the one on the SDK side will be overridden. If the secondary signaling address is set, the SDK will connect two signaling at the same time and automatically switch to the backup signaling when the primary signaling is unavailable. If 3 or more signaling addresses is configured, load balancing will be automatically enabled for VOD mode.",signalAddr:"Primary Signal Address",signalAddr2:"Secondary Signal Address",switch:"Disable/Enable",official:"Pick an official signaling address that is geographically close to your viewers"},stunManage:{addr:"Stun Address",desc:"This page is used to configure the stun address. Stun is used for peers behind NAT to discover their public IP and port. Enter one address per line, up to 3 addresses. Please note that it will override default stun address in SDK."}},app:{createToken:"Create Token",createTokenSuccess:"Create token successfully",createFormItem:"+ Create APP",createItemSuccess:"Create successfully",createTitle:"Input APP Information",createTip:"You can create up to 200 apps",appName:"The display name of APP",appID:'You can refer to here to obtain APP ID',platform:"Platform",sureCreateToken:"Do you confirm to create token?",deleteItemSuccess:"Delete successfully",updateItemSuccess:"Update successfully",createTime:"Create Time",name:"Name",copy:"Click to copy",watch:"Monitor",title:"Notice:",desc:"This page is used to configure mobile native App and Electron App. You can create up to 200 apps. App records that have not been used within 60 days will be automatically deleted. It takes more than a minute to take effect after the creation is successful. You can use as normal during under review.",appIdTip:"com.company.example",introTip:"Enter the download link of your APP or the link of introduction page",signatureTip:'Enter the SHA1 value of your APK signature, need Android SDK version >= 2.2.0, see here',copied:"Copied",illegal:"Not Approved",signature:"Signature(SHA1)",updateSign:"Update SHA1",websiteWarn:"Please add domain on the tab of Website Management"},seeder:{create:"+ Super Peer",createTitle:"Input Super Peer Information",seedTitle:"Input Seeding Information",addr:"Server Address",desc:"This page is used to configure idle servers as peers (Super Peer) to serve clients that with poor network to original source or cannot connect to other peers. See https://swarmcloud.net/guides/super-peer for more details",running:"Running",stopped:"Stopped",auto:"Auto Seeding",seed:"Seed",copy:"Copy Base64",inputChannelId:"Input m3u8/mpd url or customized video id",remarks:"Remarks",bandwidth:"Bandwidth(Mbps)",keepAliveTip:"Workers with too few connected peers will be automatically evicted by default. Set to true can keep them online all the time",seedPreferred:"SuperPeer Preferred",seedPreferredTip:"Allocate SuperPeer immediately when peer is connected to the server",urgentRatio:"Min Ratio to SuperPeer",urgentRatioTip:"Allocate SuperPeer based on P2P performance, the larger value, the more peers allocated"},hotChannels:{content:"Content",num:"Viewers",desc:"This page shows the popularity of contents ranked from height to low. Please note that content with too little viewers is not shown."},invitation:{date:"Date",copy:"Copy Link",from:"Client Email",price:"Order Amount",status:"Order Status",done:"Completed",commission:"Commission",tip:"You will be able to get 20% of the total amount from the client that comes via your custom signup link. The commission will be put into your account balance, which can be used for future purchase."}},h={route:{liveData:"實時數據",liveDataPerApp:"分域名/APP",liveDataGlobal:"匯總",liveDataAdmin:"实时数据",overallData:"汇总数据",hotChannel:"資源熱度",financial:"財務信息",incomeTrend:"收入趨勢",disChart:"分布圖",Operational:"整體運營數據",bandwidth:"流量趨勢圖",online:"在線人數趨勢圖",permission:"權限測試頁",pagePermission:"頁面權限",userData:"運營管理",domain:"域名",list:"用戶管理",userDomain:"域名列表",p2pRate:"P2P分享率",userDistribution:"用戶地理分布",worldDistribution:"分域名/APP",worldDisGlobal:"匯總",config:"配置管理",trackerConfig:"tracker配置",SignalConfig:"信令管理",SeederConfig:"超级节点管理",AnnounceConfig:"Announce白名單",BlockOriginsConfig:"Origin黑名單",BlockIpsConfig:"IP黑名單",AllowIpsConfig:"IP白名單",userConfig:"客戶管理",dataAnalysis:"歷史數據",p2pTraffic:"流量趨勢圖",p2pTrafficGlobal:"全局流量趨勢圖",onlineNum:"在線人數趨勢圖",onlineNumGlobal:"全局在線人數趨勢圖",rebufferTrend:"卡頓率趨勢圖",domainInfo:"網站管理",domainList:"域名列表",package:"流量包",monthlyPackage:"包月套餐",expenditure:"訂單與費用",order:"歷史訂單",expenses:"費用趋势",invitation:"推廣分佣",p2pConfig:"P2P配置",edit:"編輯信息",appInfo:"APP管理",p2pSwitch:"開啟/關閉P2P",uploadRule:"分享策略",activationRatio:"激活比率",signalManage:"信令配置",seederManage:"超级节点",stunManage:"Stun配置",invoices:"發票管理",shopping:"商城",geofly:"飞线图"},navbar:{logOut:"登出",dashboard:"首頁",dosAddress:"文檔地址",screenfull:"全屏",theme:"換膚",size:"布局大小",myInfo:"個人信息",currZone:"可用區: ",zoneTip:'如果選擇了歐洲以外的可用區,需要手動配置SDK連接的服務器地址,請參考這裏'},auth:{login:"登入",signup:"註冊",resetPasswd:"忘記密碼?",email:"請輸入正確的郵箱",usernameError:"請輸入正確的郵箱",mailError:"請輸入正確的郵箱",sendTitle:"驗證碼已發送",phoneWarn:"請輸入手機號碼",phoneError:"請輸入正確的手機號碼",passwdError:"密碼必須在6到64位之間",captchaError:"驗證碼位數不正確",vcodeError:"驗證碼不能小於4位",console:"選擇可用區",consoleCN:"广州",consoleHK:"香港",consoleEU:"欧洲",consoleUSA:"美国"},login:{title:"登入",logIn:"登入",logInSuccess:"登入成功",username:"輸入已驗證的郵箱",password:"輸入密碼",code:"輸入驗證碼",selectZoneWarn:"請選擇一個可用區"},signup:{title:"註冊",signUp:"註冊",signUpSuccess:"註冊成功",password:"請輸入密碼",confirm_password:"請再次輸入密碼",confirm_password_error:"兩次輸入的密碼不一致",vcode:"請輸入驗證碼",email:"請輸入郵箱",send:"發送驗證碼",contract:"我已經閱讀並同意",contractName:"SwarmCloud用戶服務協議",confirmContract:"請先同意用戶服務協議",inviter:"邀請人郵箱 (選填)"},passwdReset:{title:"重置密碼",successTitle:"重置密碼成功",email:"請輸入郵箱",vcode:"驗證碼",send:"發送驗證碼",password:"請輸入密碼",submit:"重置"},dashboard:{currentDomain:"當前域名:",goBind:"綁定域名",switchDomain:"切換",tip:"您還未綁定域名或創建APP,是否現在操作?",online:"當前在線人數",onlineSuper:"在線超級節點",p2pTraffic:"今日P2P流量",httpTraffic:"今日回源流量",shareTraffic:"今日分享流量",p2pEfficiency:"當前P2P效率",serveNum:"今日播放次數",rebufferRatio:"平均卡頓率",maxOnlineNum:"歷史最高在線人數",remain:"剩余流量包流量",monthlyRemain:"套餐今日剩余",free:"剩余免費流量",versionDis:"版本",tagDis:"自定義標簽",terminalDis:"終端類型",liveDis:"直播/點播",netDis:"網路類型",ispDis:"運營商",natDis:"NAT類型",domainDis:"在線人數",p2pTip:'如果節省的流量未達到期望,請參考文檔進行配置。',httpTip:"回源服務器或者CDN产生的流量,回源流量和P2P流量加和等於總流量。",freeTip:"每日贈送25GB流量,簽到後再額外贈送2GB流量,次日重置。
消耗的P2P流量先用免費流量抵扣,超出部分用付費流量抵扣。
如果可用流量為零,則停止P2P服務。",remainTip:'請及時購買流量包或者包月套餐,以避免服務中斷。',efficiencyTip:"P2P流量增量占总流量增量的百分比",rebufferTip:"卡顿次数占总的媒体文件请求数的百分比",checkin:"簽到免費領流量",checkinSuccess:"簽到成功!",haveChecked:"你今天已經簽到了哦~",checkinFail:"簽到失敗,請重試!",invite:"邀请朋友拿佣金",bonus:"绑定手机奖励38元",changeUTC:"调整时区",changeUTCDesc:"若您未设置时区,系统将按您的浏览器时区展示业务数据。设置时区后,系统将默认以您设置的时区为维度进行相关业务数据分析。",trafficUseOut:"您的可用流量已用完,請前往購買流量包",onlinesTip:"P2P依賴於WebRTC Data Channel的支持,在不支持的設備上將自動回退到原生播放並且不會上報統計信息,因此這裏統計的在線人數可能會比實際的偏低,差異的大小取決於有多少比例的設備不支持P2P。",viewsTip:"總的觀看量,每觀看一個視頻計數一次",goApp:"創建APP",descGlobal:"此界面用於展示匯總所有域名/APP的實時數據。",descPerApp:'此界面用於展示單個域名/APP的實時數據,請通過上方"切換"按鈕來切換域名或APP。'},domainTable:{bindDomain:"綁定(根)域名",bindDomainTip:"輸入你的網站域名(請勿輸入IP地址),例如:www.example.com\n註意:域名是指播放器所在的域名(如果嵌入iframe則是src的域名),不是流地址(m3u8)的域名。\n端口不需要填寫,支持根域名通配。每行輸入一個域名,最多50個。",playUrlTip:"輸入你的網站首頁鏈接或者可以進入播放頁面的引導頁鏈接。網站不得包含非法內容,也不得包含跳轉到非法內容的鏈接。\nhttps://example.com/index.html",bindWarning:"SwarmCloud不對色情、博彩等非法內容提供服務,請確保您的網站符合法律規範,服務於國內的域名必須已備案。",bindDomainTError:"請輸入正確的域名!",domain:"域名",status:"狀態",unavailable:"待驗證",operation:"操作",verifyDomain:"驗證域名",certification:"驗證",certificationTip:"您需要對添加的網站進行域名所有權驗證,可以選擇以下任意一種方式進行驗證。",doneTip:'完成操作後請點擊"立即驗證"按鈕',verifyLater:"稍後驗證",verifyNow:"立即驗證",delete:"刪除",tip:"確定刪除嗎?",none:"未綁定",current:"當前: ",select:"請選擇",userVerifyDomain:{verifyWay:"驗證方式",DNSVerify:"DNS 驗證",fileVerify:"文件驗證",verifyTipHead:"設置cdnbye_dns_auth.",verifyTipEnd:"的TXT域名解析內容為下列字符:(註意有些不需要填寫根域名)",downloadFileHead:"下載專有的",downloadFileEnd:"HTML驗證文件",uploadFile:"將該文件上傳至:",fileName:"註意文件名稱不要修改,文件名稱為auth.txt",navVisitHead:"用瀏覽器訪問",navVisitEnd:",確認是否上傳成功"},verifySuccess:"驗證成功",title:"說明:",desc:"本頁面用於綁定網站域名,移動端原生 App 和 Electron 應用無需綁定域名。每個賬號最多可以綁定300個域名,60天內未使用的域名記錄將被自動刪除。服務於國內的域名必須已備案。\nTips:支持根域名通配所有子域名,每行一個域名,支持同時輸入50個域名。審核期間可正常使用。",illegal:"未通過審核(請聯繫客服)",tokenOnly:"启动后只需在SDK配置token,无需再绑定域名,适用于有大量域名使用或用ip访问网站的情形,联系客服认证通过后才能启用"},documentation:{documentation:"使用文檔",github:"Github 地址"},tagsView:{refresh:"刷新",close:"關閉",closeOthers:"關閉其它",closeAll:"關閉所有"},myInfo:{name:"用戶名:",mail:"郵箱:",passwd:"密碼:",mobile:"手機號",mobileBonus:"綁定手機號,拿38元獎勵!",changeMobile:{change:"修改手機號",number:"請輸入手機號碼",cc:"地區碼",wrongCCError:"請輸入正確的地區碼",wrongError:"請輸入正確的手機號碼",sameError:"請不要輸入相同的手機號碼",someError:"請輸入正確的手機號碼和地區碼"},vcodeEmailSuccess:"驗證碼已成功發送至您的郵箱",vcodeMobileSuccess:"驗證碼已成功發送至您的手機",time:"註冊時間:",timeZone:"时区",change:"修改",balanceUSD:"余额(美元)",balanceCNY:"余额(人民币)",visitorCode:"访客令牌",visitorCodeTip:"将该链接分享后,点击链接的用户将进入访客模式,只能查看不能修改数据。",visitorCodeError:'请先点击"重新生成"来生成访客令牌',resetVisitorCodeTip:"重新生成将使当前的访客令牌失效",autoRenew:"自动续费",recharge:"余额充值",rechargeTip:'充值金額不小于100元,僅能用於购买流量包和包月套餐,不支持提現。可参考定价。',changeMail:{change:"修改郵箱",newMail:"新郵箱",code:"驗證碼",noneError:"請輸入郵箱",wrongError:"請輸入正確的郵箱",sameError:"請不要輸入相同的郵箱",codeNoneError:"請輸入驗證碼",codeWrongError:"請輸入正確的驗證碼"},changePasswd:{change:"修改密碼",new:"新密碼",old:"舊密碼",noneError:"請輸入密碼",blankError:"密碼不允許包含空格",lengthError:"請輸入6到18位的密碼"},changeName:{change:"輸入新的用戶名",newName:"新用戶名",noneError:"請輸入用戶名"}},common:{ok:"確定",cancel:"取消",delete:"刪除",update:"更新",deleteSuccess:"刪除成功",closeSuccess:"關閉成功",yes:"YES",no:"NO",status:"狀態",available:"可用",userClosed:"用户关闭",reviewing:"可用(審核中)",illegal:"未通過審核",success:"成功",error:"錯誤",warning:"警告",message:"消息",sureDelete:"確定要刪除嗎?",sureUpdate:"確定要更新嗎?",default:"默認",setting:"設置",on:"開啟",off:"關閉",reset:"重新生成"},historyData:{hour:"1小時內",day:"24小時內",week:"7天",month:"30天",descGlobal:"此界面用於展示匯總所有域名/APP的歷史數據。"},package:{payMethod:"付款方式",packageSubTitle:"購買說明:",packageSub:"流量包用於提高可消耗的P2P流量額度,屬於消耗品。購買後當日生效(可能會有幾分鐘延遲)。不支持退款。支付遇到問題請聯系 service@cdnbye.com。",monthlyPackageSub:"包月套餐可提供每天固定額度的流量,有效期30天,可疊加購買。不支持退款。支付遇到問題請聯系 service@cdnbye.com。\nTips:如果包月套餐每日額度不夠用,可以額外購買流量包作為補充,系統會優先扣除包月套餐流量,再扣除流量包流量。您也可以選擇升級套餐,升級前後有效期保持不變。",packageInfo:"商品名",unitPrice:"單價",quantity:"數量",expense:"費用",total:"總計:",confirmPurchase:"確認購買",paySuccess:"付款成功,訂單信息已發送至您的郵箱。",paySuspended:"支付過程已被中止,您可以在歷史訂單頁面繼續支付。",payFail:"支付失敗!",payPending:"系統正在等待支付結果,付款成功後會將訂單信息發送至您的郵箱。",systemError:"抱歉,系統正在維護中",payLoadingTip:"正在跳轉至支付頁面",checkResultLoadingTip:"正在查詢支付狀態...",confirmCreate:"確認創建訂單嗎?",buyFlow:"購買流量包",buyMonthly:"購買包月服務",monthly:"有效期至 ",totalMonths:"購買月數:",totalPrice:"總計費用:",totalTraffic:"購買流量:",resetAfter:"距離重置",createOrder:"創建訂單",useBalance:"使用餘額",autoRenew:"賬戶餘額充足時到期前自動95折續費",rechargeTip:"先充值后购买,您可以获得1%充值奖励!"},order:{createTime:"創建時間",type:"類型",flowPackage:"流量包",monthlyPlan:"包月套餐",recharge:"餘額充值",payMethod:"支付方式",price:"價格",currency:"幣種",status:"訂單狀態",action:"操作",pay:"付款",invoice:"收据",close:"關閉",waitPay:"待付款",fail:"關閉",tip:"確認關閉訂單嗎?",alipay:"支付寶",packageName:"商品名稱",amount:"數量",totalTraffic:"流量",upgraded:"備註:套餐升級",balance:"餘額支付"},p2pConfig:{status:"狀態",open:"已開啟",close:"已關閉",configSuccess:"配置成功",configFail:"操作失敗",name:"域名/AppId",uploadRule:{status:"只在wifi/有線網絡上傳數據",desc:"這裏可以配置在不同網絡環境下的P2P分享策略以及超級節點調度策略,默認情況下允許在蜂窩網絡上傳數據。"},activationRatio:{desc:"本頁面用於配置P2P的激活比率,即連接P2P網絡的設備占總設備的百分比。建議先設置一個較小的比例,然後觀察P2P效果以及用戶反饋,在確認正常的情況下逐步提高激活比率至100%。未激活的節點可以正常播放,但不會連接到P2P網絡,只能從CDN或源服務器下載數據。",status:"激活比率(%)"},signalManage:{desc:"本頁面用於雲端配置信令地址,信令用於節點之間交換信息以建立P2P連接。如果在此頁面配置了信令地址則會覆蓋SDK側配置的信令地址。如果設置了備用信令地址,那麽SDK會同時連接兩個信令,並在主信令不可用時自動切換到備用信令。對於點播,如果配置了3個或以上信令,則會自動啟用負載均衡。",signalAddr:"主信令地址",signalAddr2:"備用信令地址",switch:"關閉/開啟",official:"挑選地理上接近您的用戶的官方信令地址"},stunManage:{addr:"Stun地址",desc:"本頁面用於雲端配置stun地址,stun用於處於NAT後面的節點獲取公網ip和端口。每行輸入一個地址,最多輸入3個地址。一旦配置,將覆蓋SDK默認stun地址,請謹慎操作。"}},app:{createToken:"生成Token",createTokenSuccess:"生成token成功",createFormItem:"+ 創建APP",createItemSuccess:"創建成功",createTitle:"輸入APP信息",createTip:"每個用戶最多創建200個APP",appName:"APP顯示的名稱",appID:'APP ID的獲取方式可參考這裏',platform:"平臺",sureCreateToken:"確定要生成token嗎?",deleteItemSuccess:"刪除成功",updateItemSuccess:"更新成功",createTime:"創建時間",name:"APP名稱",copy:"點擊復製",watch:"監控",title:"說明:",desc:'本頁面用於配置移動端原生 App 和 Electron,視頻網站請移步"網站管理"頁面綁定域名。每個用戶最多創建100個APP,60天內未使用的App記錄將被自動刪除。創建成功後需要等待1分鐘以上才生效。審核期間可正常使用。',appIdTip:"com.company.example",introTip:"輸入你的APP下載鏈接或者APP介紹鏈接",signatureTip:'輸入你的APK簽名SHA1值,用於對當前應用進行二次身份校驗(選填, 不建議填寫),簽名獲取方法可以參考這裏',copied:"已復製",illegal:"未通過審核(請聯系客服)",signature:"應用簽名(SHA1)",updateSign:"更新SHA1",websiteWarn:"請在網站管理頁面綁定域名"},seeder:{create:"+ 超级节点",createTitle:"输入超级节点信息",seedTitle:"输入做种信息",addr:"服务器地址",desc:"本页面用于将闲置服务器注册为超级节点,为无法连上其他节点的客户端提供服务。 配置方法请参考https://www.cdnbye.com/cn/super-peer.html",running:"运行中",stopped:"已停止",auto:"自动做种",seed:"做种",copy:"复制Base64",inputChannelId:"输入m3u8/mpd地址或者自定义频道ID",remarks:"备注",bandwidth:"頻寬(Mbps)",keepAliveTip:"默认情况下会自动清除连接节点数太少的worker,设为true可以保持一直在线",seedPreferred:"优先连接超级节点",seedPreferredTip:"是否在刚加入频道时就分配超级节点",urgentRatio:"连接超级节点最小阈值",urgentRatioTip:"根据P2P效果来分配超级节点,值越大分配的比例越多"},hotChannels:{content:"資源",num:"熱度",desc:"本頁面用於展示參與P2P加速的資源的熱度,從大到小排序,不展示在線人數太少的資源。"},invitation:{date:"日期",copy:"复制链接",from:"客户邮箱",price:"订单金额",status:"订单状态",done:"已完成",commission:"佣金",tip:"邀请朋友注册成功后,将可以获得对方每次购买总金额20%的佣金提成,佣金将自动转到您的账户余额,消费时可以用于抵扣。只需要受邀请方打开一次链接,后续注册都会绑定您为邀请方。"}},p=n("79fa"),m=n("a78e"),b=n.n(m);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function w(e){for(var t=1;t'});r.a.add(c);t["default"]=c},"9d91":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},"9f52":function(e,t,n){"use strict";var a=function(){var e=this,t=e._self._c;return t("el-tooltip",{attrs:{effect:"light",placement:"top-start"}},[t("div",{staticClass:"content",attrs:{slot:"content"},domProps:{innerHTML:e._s(e.content)},slot:"content"}),t("i",{staticClass:"el-icon-question",staticStyle:{color:"#337ab7"}})])},i=[],o={name:"PointTip",props:{content:{type:String,required:!0}}},r=o,c=(n("c2ab"),n("2877")),s=Object(c["a"])(r,a,i,!1,null,"699d195c",null);t["a"]=s.exports},"9f58":function(e,t,n){"use strict";n("ce0e")},a14a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},a18c:function(e,t,n){"use strict";n.d(t,"b",(function(){return ht})),n.d(t,"a",(function(){return pt}));var a=n("75fc"),i=n("2b0e"),o=n("8c4f"),r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"app-wrapper",class:e.classObj},["mobile"===e.device&&e.sidebar.opened?t("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),t("Sidebar",{staticClass:"sidebar-container"}),t("div",{staticClass:"main-container"},[t("Navbar"),t("TagsView",{directives:[{name:"show",rawName:"v-show",value:"mobile"!==e.device||!e.showDomain,expression:"device!=='mobile' || !showDomain"}]}),"mobile"===e.device&&e.showDomain?t("div",{staticClass:"switch-domain-container"},[t("switch-domain",{staticStyle:{margin:"auto"}})],1):e._e(),t("AppMain")],1)],1)},c=[],s=(n("8e6e"),n("ac6a"),n("456d"),n("6762"),n("2fdb"),n("bd86")),l=n("2f62"),u=function(){var e=this,t=e._self._c;return t("div",{staticClass:"navbar"},[t("hamburger",{staticClass:"hamburger-container",attrs:{"toggle-click":e.toggleSideBar,"is-active":e.sidebar.opened}}),t("el-tag",{staticClass:"current-zone",attrs:{type:"info",effect:"plain"}},[e._v("\n "+e._s(e.$t("navbar.currZone"))+e._s(e.currZone)+"\n "),t("PointTip",{staticStyle:{"font-size":"14px","margin-left":"5px"},attrs:{content:e.$t("navbar.zoneTip")}})],1),t("div",{staticClass:"right-menu"},[e.showDomain&&"mobile"!==e.device?t("switch-domain",{staticClass:"switchdomain"}):e._e(),t("lang-select",{staticClass:"international right-menu-item"}),t("el-dropdown",{staticClass:"avatar-container right-menu-item",attrs:{trigger:"click"}},[t("div",{staticClass:"avatar-wrapper"},[e.userName?t("div",{staticClass:"username-wrapper"},[e._v("\n "+e._s(e.userName)+"\n ")]):t("img",{staticClass:"user-avatar",attrs:{src:e.Avatar}}),t("i",{staticClass:"el-icon-caret-bottom"})]),t("el-dropdown-menu",{staticStyle:{"text-align":"center"},attrs:{slot:"dropdown"},slot:"dropdown"},[t("a",{attrs:{target:"_blank",href:e.docAddress}},[t("el-dropdown-item",[e._v("\n "+e._s(e.$t("navbar.dosAddress"))+"\n ")])],1),t("router-link",{attrs:{to:"/user/edit"}},[t("el-dropdown-item",[e._v("\n "+e._s(e.$t("navbar.myInfo"))+"\n ")])],1),t("el-dropdown-item",[t("span",{staticStyle:{display:"block"},on:{click:e.recharge}},[e._v(e._s(e.$t("myInfo.recharge")))])]),t("el-dropdown-item",[t("span",{staticStyle:{display:"block"},on:{click:e.showTimeZone}},[e._v(e._s(e.$t("dashboard.changeUTC")))])]),t("el-dropdown-item",{attrs:{divided:""}},[t("span",{staticStyle:{display:"block"},on:{click:e.logout}},[e._v(e._s(e.$t("navbar.logOut")))])])],1)],1)],1),t("time-zone",{attrs:{visible:e.timeZoneVisible},on:{hide:function(t){e.timeZoneVisible=!1}}})],1)},d=[],f=(n("7f7f"),function(){var e=this,t=e._self._c;return t("div",[t("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{t:"1492500959545",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1691","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"64",height:"64"},on:{click:e.toggleClick}},[t("path",{attrs:{d:"M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z","p-id":"1692"}}),t("path",{attrs:{d:"M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z","p-id":"1693"}}),t("path",{attrs:{d:"M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z","p-id":"1694"}})])])}),h=[],p={name:"Hamburger",props:{isActive:{type:Boolean,default:!1},toggleClick:{type:Function,default:null}}},m=p,b=(n("2390"),n("2877")),g=Object(b["a"])(m,f,h,!1,null,"2fe8a492",null),w=g.exports,v=n("1131"),y=n("cf05"),k=n.n(y),O=n("9f52"),x=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{display:"inline-block","text-align":"center",width:"100%"}},[t("el-tag",{directives:[{name:"show",rawName:"v-show",value:e.switchDomainVisible,expression:"switchDomainVisible"}],staticStyle:{"font-weight":"bold","font-size":"medium",margin:"0px"},attrs:{effect:"dark",type:e.currentDomain.domain?"success":"danger"}},[e._v("\n "+e._s(e.currentDomain.domain?e.currentDomain.domain:e.$t("domainTable.none"))+"\n "),t("el-button",{staticStyle:{"font-size":"medium","margin-right":"-10px"},attrs:{size:"mini",type:"primary",plain:""},on:{click:function(t){e.selectDomainVisible=!0}}},[e._v("\n "+e._s(e.$t("dashboard.switchDomain"))+"\n ")])],1),t("el-dialog",{attrs:{title:e.$t("dashboard.switchDomain"),visible:e.selectDomainVisible,width:"mobile"===e.device?"80%":"30%"},on:{"update:visible":function(t){e.selectDomainVisible=t}}},[t("el-select",{staticStyle:{width:"80%"},attrs:{placeholder:e.$t("domainTable.select")},model:{value:e.selectValue,callback:function(t){e.selectValue=t},expression:"selectValue"}},[e._l(e.userValidDomain,(function(n){return[1===n.isValid?t("el-option",{key:n.domain,attrs:{label:n.domain,value:n.domain}}):e._e()]}))],2),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.selectDomainVisible=!1}}},[e._v(e._s(e.$t("common.cancel")))]),t("el-button",{attrs:{type:"primary"},on:{click:e.handleSelect}},[e._v(e._s(e.$t("common.ok")))])],1)],1)],1)},C=[],T=n("4360"),P=n("ed08");function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function D(e){for(var t=1;t0?t("sidebar-item",{key:n.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:n,"base-path":e.resolvePath(n.path)}}):t("app-link",{key:n.name,attrs:{to:e.resolvePath(n.path)}},[t("el-menu-item",{attrs:{index:e.resolvePath(n.path)}},[n.meta?t("item",{attrs:{icon:n.meta.icon,title:e.generateTitle(n.meta.title)}}):e._e()],1)],1)]}))],2):[t("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[t("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[e.onlyOneChild.meta?t("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta.icon,title:e.generateTitle(e.onlyOneChild.meta.title)}}):e._e()],1)],1)]],2):e._e()},ne=[],ae=n("df7c"),ie=n.n(ae),oe=n("79fa"),re=n("61f7"),ce={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,a=n.icon,i=n.title,o=[];return a&&o.push(e("svg-icon",{attrs:{"icon-class":a}})),i&&o.push(e("span",{slot:"title"},[i])),o}},se=ce,le=Object(b["a"])(se,W,F,!1,null,null,null),ue=le.exports,de=function(){var e=this,t=e._self._c;return t("component",e._b({},"component",e.linkProps(e.to),!1),[e._t("default")],2)},fe=[],he={props:{to:{type:String,required:!0}},methods:{isExternalLink:function(e){return Object(re["c"])(e)},linkProps:function(e){return this.isExternalLink(e)?{is:"a",href:e,target:"_blank",rel:"noopener"}:{is:"router-link",to:e}}}},pe=he,me=Object(b["a"])(pe,de,fe,!1,null,null,null),be=me.exports,ge={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,t=this.$refs.submenu;if(t){var n=t.handleMouseleave;t.handleMouseleave=function(t){"mobile"!==e.device&&n(t)}}}}};function we(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ve(e){for(var t=1;tn?i-n+o+Me:i-Me}}},Ie=ze,Le=(n("ebc2"),Object(b["a"])(Ie,Ae,Ve,!1,null,"240da686",null)),Be=Le.exports;function Ne(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Re(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,r=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return r=e.done,e},e:function(e){c=!0,o=e},f:function(){try{r||null==n.return||n.return()}finally{if(c)throw o}}}}function Re(e,t){if(e){if("string"===typeof e)return qe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qe(e,t):void 0}}function qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n'});r.a.add(c);t["default"]=c},a877:function(e,t,n){"use strict";n.d(t,"k",(function(){return o})),n.d(t,"h",(function(){return r})),n.d(t,"i",(function(){return c})),n.d(t,"j",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"q",(function(){return d})),n.d(t,"n",(function(){return f})),n.d(t,"f",(function(){return h})),n.d(t,"m",(function(){return p})),n.d(t,"l",(function(){return m})),n.d(t,"a",(function(){return b})),n.d(t,"d",(function(){return g})),n.d(t,"g",(function(){return w})),n.d(t,"o",(function(){return v})),n.d(t,"p",(function(){return y})),n.d(t,"e",(function(){return k}));n("7f7f"),n("ac6a");var a=n("b775"),i=n("5f87");function o(){return Object(a["a"])({url:"host/num?ts=".concat(((new Date).getTime()/1e3).toFixed()-1800),method:"get"})}function r(e,t,n,i,o){var r="host?page=".concat(e,"&page_size=").concat(t,"&order=").concat(n);return o&&(r="".concat(r,"&platform=").concat(o)),i.forEach((function(e){e.value&&(r+="&".concat(e.name,"=").concat(e.value))})),Object(a["a"])({url:r,method:"get"})}function c(e,t,n){var i="host/domains?page=".concat(e,"&page_size=").concat(t);return n.forEach((function(e){e.value&&(i+="&".concat(e.name,"=").concat(e.value))})),Object(a["a"])({url:i,method:"get"})}function s(e,t){var n="host/review?page=".concat(e,"&page_size=").concat(t);return Object(a["a"])({url:n,method:"get"})}function l(e){var t="host/checkbeian?domain=".concat(e);return Object(a["a"])({url:t,method:"get"})}function u(e){return Object(a["a"])({url:"/host/block",method:"post",data:e})}function d(e){return Object(a["a"])({url:"/host/whitelist",method:"post",data:e})}function f(e){return Object(a["a"])({url:"/host/review",method:"post",data:e})}function h(e){return Object(a["a"])({url:"/host/debug",method:"post",data:e})}function p(e,t,n,i){var o="user?page=".concat(e,"&page_size=").concat(t,"&order=").concat(n);return i.forEach((function(e){e.value&&(o+="&".concat(e.name,"=").concat(e.value))})),Object(a["a"])({url:o,method:"get"})}function m(e,t,n){var o="user/user_id/".concat(Object(i["a"])(),"/domain?page=").concat(e,"&page_size=").concat(t);for(var r in n)n[r]&&(o="".concat(o,"&").concat(r,"=1"));return Object(a["a"])({url:o,method:"get"})}function b(e){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/domain"),method:"post",data:e})}function g(e){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/domain/domain_id/").concat(e),method:"post"})}function w(e){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/domain/domain_id/").concat(e),method:"delete"})}function v(e){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/shadow_domain"),method:"post",data:e})}function y(e){return Object(a["a"])({url:"user/update_plan",method:"post",data:e})}function k(e){return Object(a["a"])({url:"user/custom_plan",method:"post",data:e})}},aa46:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},ab00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},af8b:function(e,t,n){},b20f:function(e,t,n){},b3b5:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},b775:function(e,t,n){"use strict";n("7ac1"),n("9627");var a=n("f488"),i=n.n(a),o=n("bc3a"),r=n.n(o),c=n("4360"),s=n("5f87"),l=n("5d2d"),u=n("267e"),d={cn:"p0",eu:"p1",us:"p2",hk:"p3",local:"d1"},f=Object(l["a"])(u["c"]);f&&(d[f]?(f=d[f],Object(l["c"])(u["c"],f)):Object(l["c"])(u["c"],f));var h=r.a.create({baseURL:u["a"][f],timeout:12e3});h.interceptors.request.use((function(e){return c["a"].getters.token&&(e.headers["MyToken"]=Object(s["b"])()),e}),(function(e){console.log(e),Promise.reject(e)})),h.interceptors.response.use((function(e){var t=e.data;return 0!==t.ret?(t.data&&i()({message:t.data.msg,type:"error",duration:5e3}),t.data&&4001===t.data.code&&setTimeout((function(){c["a"].dispatch("LogOut").then((function(){location.reload()}))}),5e3),Promise.reject(t.data)):e.data}),(function(e){return console.log("err"+e),i()({message:e.message,type:"error",duration:5e3}),Promise.reject(e)})),t["a"]=h},bc35:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},c24f:function(e,t,n){"use strict";n.d(t,"i",(function(){return o})),n.d(t,"g",(function(){return r})),n.d(t,"e",(function(){return c})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"f",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"a",(function(){return f})),n.d(t,"p",(function(){return h})),n.d(t,"l",(function(){return p})),n.d(t,"h",(function(){return m})),n.d(t,"o",(function(){return b})),n.d(t,"m",(function(){return g})),n.d(t,"n",(function(){return w})),n.d(t,"k",(function(){return v})),n.d(t,"b",(function(){return y}));var a=n("b775"),i=n("5f87");function o(){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/profile"),method:"get"})}function r(e){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/profile/name"),method:"put",data:e})}function c(e){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/profile/passwd"),method:"put",data:e})}function s(e){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/profile/email"),method:"put",data:e})}function l(e){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/profile/mobile"),method:"put",data:e})}function u(e){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/timezone"),method:"put",data:e})}function d(e){return Object(a["a"])({url:"user/frozen",method:"post",data:e})}function f(e){return Object(a["a"])({url:"user/admin",method:"post",data:e})}function h(e){return Object(a["a"])({url:"user/whitelist",method:"post",data:e})}function p(e){return Object(a["a"])({url:"user/trusted",method:"post",data:e})}function m(e){return Object(a["a"])({url:"user/debug",method:"post",data:e})}function b(e){return Object(a["a"])({url:"user/remain_traffic",method:"post",data:e})}function g(e){return Object(a["a"])({url:"user/balance",method:"post",data:e})}function w(e){return Object(a["a"])({url:"user/commission",method:"post",data:e})}function v(){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/visitor_code"),method:"post"})}function y(){return Object(a["a"])({url:"user/user_id/".concat(Object(i["a"])(),"/cancel_renew"),method:"post"})}},c2ab:function(e,t,n){"use strict";n("8386")},c6c1:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-shoppingCard",use:"icon-shoppingCard-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},c829:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},cbb7:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},ce0e:function(e,t,n){},cf05:function(e,t,n){e.exports=n.p+"img/logo.e3344fc8.png"},d056:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},dcf8:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 1167 1024",content:''});r.a.add(c);t["default"]=c},e534:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 1024 1024",content:''});r.a.add(c);t["default"]=c},e5bd:function(e,t,n){},e625:function(e,t,n){},e9be:function(e,t,n){"use strict";n("2b2e")},eb1b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),o=n("21a1"),r=n.n(o),c=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 1069 1024",content:''});r.a.add(c);t["default"]=c},ebc2:function(e,t,n){"use strict";n("5758")},ed08:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return d})),n.d(t,"e",(function(){return f})),n.d(t,"d",(function(){return h})),n.d(t,"a",(function(){return p}));n("7ac1"),n("9627");var a=n("f488"),i=n.n(a),o=(n("28a5"),n("55dd"),n("a481"),n("4360")),r=n("a877"),c=n("5d2d"),s=n("267e"),l=n("9923");function u(e,t,n){var a,i,o,r,c,s=function s(){var l=+new Date-r;l0?a=setTimeout(s,t-l):(a=null,n||(c=e.apply(o,i),a||(o=i=null)))};return function(){for(var i=arguments.length,l=new Array(i),u=0;u'});r.a.add(c);t["default"]=c},f8c9:function(e,t,n){"use strict";n("1aaa")},fb7c:function(e,t,n){}}); \ No newline at end of file