← Back
Editing: index-legacy97.js
!function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?t(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function r(t,n,r){return(n=function(t){var n=function(t,n){if("object"!=e(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,n||"default");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==e(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return n};var t,n={},r=Object.prototype,a=r.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},u="function"==typeof Symbol?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",s=u.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof b?t:b,a=Object.create(o.prototype),u=new L(r||[]);return i(a,"_invoke",{value:I(e,n,u)}),a}function v(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=p;var d="suspendedStart",m="suspendedYield",h="executing",y="completed",g={};function b(){}function w(){}function x(){}var _={};f(_,l,(function(){return this}));var k=Object.getPrototypeOf,j=k&&k(k(M([])));j&&j!==r&&a.call(j,l)&&(_=j);var E=x.prototype=b.prototype=Object.create(_);function O(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function A(t,n){function r(o,i,u,l){var c=v(t[o],t,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==e(f)&&a.call(f,"__await")?n.resolve(f.__await).then((function(e){r("next",e,u,l)}),(function(e){r("throw",e,u,l)})):n.resolve(f).then((function(e){s.value=e,u(s)}),(function(e){return r("throw",e,u,l)}))}l(c.arg)}var o;i(this,"_invoke",{value:function(e,t){function a(){return new n((function(n,o){r(e,t,n,o)}))}return o=o?o.then(a,a):a()}})}function I(e,n,r){var o=d;return function(a,i){if(o===h)throw Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(r.method=a,r.arg=i;;){var u=r.delegate;if(u){var l=B(u,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=v(e,n,r);if("normal"===c.type){if(o=r.done?y:m,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function B(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,B(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var a=v(o,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var i=a.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function M(n){if(n||""===n){var r=n[l];if(r)return r.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var o=-1,i=function e(){for(;++o<n.length;)if(a.call(n,o))return e.value=n[o],e.done=!1,e;return e.value=t,e.done=!0,e};return i.next=i}}throw new TypeError(e(n)+" is not iterable")}return w.prototype=x,i(E,"constructor",{value:x,configurable:!0}),i(x,"constructor",{value:w,configurable:!0}),w.displayName=f(x,s,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,f(e,s,"GeneratorFunction")),e.prototype=Object.create(E),e},n.awrap=function(e){return{__await:e}},O(A.prototype),f(A.prototype,c,(function(){return this})),n.AsyncIterator=A,n.async=function(e,t,r,o,a){void 0===a&&(a=Promise);var i=new A(p(e,t,r,o),a);return n.isGeneratorFunction(t)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},O(E),f(E,s,"Generator"),f(E,l,(function(){return this})),f(E,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:M(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},n}function a(e,t,n,r,o,a,i){try{var u=e[a](i),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,o)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){a(i,r,o,u,l,"next",e)}function l(e){a(i,r,o,u,l,"throw",e)}u(void 0)}))}}System.register(["./base-lib-legacy.js?v=VERSION_NUMBER","./utils-lib-legacy.js?v=VERSION_NUMBER","./index-legacy100.js?v=VERSION_NUMBER","./validator-legacy.js?v=VERSION_NUMBER","./hooks-legacy.js?v=VERSION_NUMBER","./index-legacy101.js?v=VERSION_NUMBER","./index-legacy102.js?v=VERSION_NUMBER","./index-legacy103.js?v=VERSION_NUMBER","./index-legacy104.js?v=VERSION_NUMBER","./index-legacy105.js?v=VERSION_NUMBER","./__commonjsHelpers__-legacy.js?v=VERSION_NUMBER","./column-legacy.js?v=VERSION_NUMBER"],(function(e,t){"use strict";var r,a,u,l,c,s,f,p,v,d,m,h,y,g,b,w,x,_,k,j,E,O,A,I,B,S,C,L,M,P,T,N,z,D,F,R,G,Z,V,q,Q,U,J,X,K,Y,H,W,$,ee,te,ne,re,oe,ae,ie,ue,le,ce,se,fe,pe,ve,de,me,he,ye,ge,be,we,xe,_e,ke,je,Ee,Oe,Ae,Ie,Be,Se,Ce,Le,Me,Pe,Te,Ne,ze,De,Fe,Re,Ge,Ze,Ve,qe,Qe,Ue;return{setters:[function(e){r=e.c,a=e.r,u=e.w,l=e.aG,c=e.aD,s=e.p,f=e.H,p=e.I,v=e.x,d=e.q,m=e.v,h=e.e,y=e.m,g=e.aQ,b=e.i,w=e.A,x=e.y,_=e.B,k=e.aR,j=e.aS,E=e.g,O=e.b,A=e.t,I=e.aT,B=e.a0,S=e.aU,C=e.D,L=e.aV,M=e.aW,P=e.a7,T=e.a9,N=e.ap,z=e.ao,D=e.an,F=e.aX,R=e.ax,G=e.aw,Z=e.S,V=e.au,q=e.aj,Q=e.ai,U=e.k,J=e.z,X=e.C,K=e.aM,Y=e.aN,H=e.M,W=e.N,$=e.K,ee=e.aY,te=e.aZ,ne=e.J,re=e.F,oe=e.a_,ae=e.Q,ie=e.a4},function(e){ue=e.u,le=e.i,ce=e.b,se=e.g,fe=e._,pe=e.c,ve=e.d,de=e.e,me=e.f,he=e.s,ye=e.h,ge=e.j,be=e.k,we=e.l,xe=e.n,_e=e.o,ke=e.p,je=e.M,Ee=e.q,Oe=e.t,Ae=e.v,Ie=e.w,Be=e.x,Se=e.y,Ce=e.z,Le=e.A,Me=e.r,Pe=e.B},function(e){Te=e.B},function(e){Ne=e.n,ze=e.f,De=e.p,Fe=e.m,Re=e.a},function(e){Ge=e.u},function(e){Ze=e._},function(e){Ve=e._},function(e){qe=e._},function(e){Qe=e._},function(e){Ue=e._},null,null],execute:function(){var t=["src"],Je=r({__name:"index",setup:function(e){var n=ue().pluginInfo,r=ce(),h=a(),y=a(0),g=a();return u((function(){return n.value.visible}),(function(e){e?g.value=r.load("正在加载插件数据,请稍候..."):g.value.close()})),l((function(){n.value.visible&&n.value.init&&function(){var e=n.value,t=e.id,r=e.name,o=e.built;if(o)n.value.visible=!1;else{var a={pluginName:t,pluginTitle:r,pluginBuilt:o};h.value.contentWindow.postMessage("".concat(JSON.stringify(a)),"*"),"function"==typeof n.value.callback&&n.value.callback(h.value.contentWindow)}}()})),c((function(){y.value&&clearInterval(y.value)})),s((function(){window.addEventListener("message",function(){var e=i(o().mark((function e(t){var a,i,u,l,c,s;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:u=t.data,"string"==typeof t.data&&-1!==(null===(a=t.data)||void 0===a?void 0:a.indexOf("&"))&&(l=t.data.split("&"),u=l[0]),e.t0=u,e.next="closePlugin"===e.t0?5:"refreshMain"===e.t0?11:"pluginLoad"===e.t0?13:15;break;case 5:return n.value.visible=!1,document.getElementById("app-container").style.position="relative",n.value.visible=!1,-1!==(null===(i=t.data)||void 0===i?void 0:i.indexOf("&"))&&(c=t.data.split("&"),s=!1,"success"===String(c[2])&&(s=!0),r.request({status:s,msg:String(c[1])}),n.value.visible=!1),e.abrupt("break",15);case 11:return window.location.reload(),e.abrupt("break",15);case 13:return g.value.close(),e.abrupt("break",15);case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),h.value.onload=function(){n.value.init=!0}})),function(e,r){return f((d(),m("iframe",{ref_key:"iframeRef",ref:h,src:v(le)?"/software.html":"/software",class:"w-full h-full !fixed z-999999 min-h-[45rem] top-0"},null,8,t)),[[p,v(n).visible]])}}});var Xe=r({name:"BtTooltip",setup:function(e,t){var n=t.attrs,r=t.slots;return function(){return h(g,y(n,e),"function"==typeof(t=r)||"[object Object]"===Object.prototype.toString.call(t)&&!b(t)?r:{default:function(){return[r]}});var t}}}),Ke={class:"toolbar-right"},Ye={class:"customer-title"},He={class:"flex border-solid border-b-1 border-[#20a53a] text-[#20a53a] justify-center items-center"},We={class:"qrcode-wechat w-[128px] h-[128px] mt-[8px] mb-[4px]"},$e={id:"wechatCustomerQrcode"},et=r({__name:"index",setup:function(e){var t=ue().panel,n=a(!0),r=a(!1),u=a(!1),l=0,c=function(){if(u.value)return!1;clearTimeout(l),n.value=!1,r.value=!0},y=function(){return!u.value&&(0!==l?(n.value=!0,r.value=!1,void(l=0)):void(l=setTimeout((function(){n.value=!0,r.value=!1}),500)))},g=function(){n.value=!0,r.value=!0,u.value=!0},b=function(){n.value=!0,r.value=!1,setTimeout((function(){u.value=!1}),500)};return s(i(o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.value.panelNps){e.next=5;break}return e.next=3,se({version:"v2",productType:0,softwareName:"panel"});case 3:(n=e.sent).data.nps&&n.data.safe_day>=15&&Ne();case 5:case"end":return e.stop()}}),e)})))),function(e,t){var n=fe,o=pe,a=ve,i=Te,l=Xe;return d(),m("div",Ke,[h(i,{placement:"left",effect:"light","popper-class":"!p-0",visible:v(r),trigger:"hover",width:"160px"},{reference:w((function(){return[x("div",{class:"icon-menu",onMouseover:c,onMouseleave:y,onClick:g},[h(n,{icon:"customer-service",size:45,color:"#20a53a"})],32)]})),default:w((function(){return[x("div",{id:"wechat-customer",class:"wechat-customer",onMouseover:c,onMouseleave:y},[x("div",Ye,[h(o,{target:"_blank",href:"https://www.bt.cn/new/wechat_customer",class:"text-[16px] cursor-pointer flex flex-row items-center flex-nowrap"},{default:w((function(){return[x("div",He,[t[1]||(t[1]=_(" 点击咨询客服 ")),h(n,{icon:"arrow",size:16,color:"#20a53a",class:"ml-[5px]"})])]})),_:1})]),x("div",We,[x("div",$e,[h(a,{src:"/customer/customer-qrcode.png"})])]),t[3]||(t[3]=x("div",{class:"wechat-title flex"},[x("img",{class:"w-[14px] h-[14px]",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAAXNSR0IArs4c6QAAATlJREFUSEvtVrFOw0AMfed8AxJsZWGAgQHBXP4DCQa+Ioou7g18BRIg9T/KDGJggIGFbiDxDXGQowSBuGvrFISEmtF+7/nis312RVEMiWgIoMT375aIjpj5KeJrTMy8JSJjAPsRzEhErl1Zlhd1XZ8kRKZEdMjM0xlBBiIyATCIYZxzl857X6uTiHaY+TElZrUz87aIPCjvI0gIwVmF5uG7H1gFmZepxv85XTdqCCEcLMQ0gLz3jbbTOm/rPdkLBt0v0E77xysq2it9T2nhuTzPN4ho10KyYEXkXvvkBcC6hWjEvmqQMwCnANZa8p1RJAbfa41vAM7/0cUzczOiZ43zvunrtPVOntuO3+wrluJ12qspvFBm/+bR+u03nhPrkKZk2ZVINUZO964sy44Ta9FSK5GuQ1VVXb0DLf+sHQ9tLL0AAAAASUVORK5CYII="}),x("div",{class:"text-[14px] font-black"},"扫一扫")],-1)),t[4]||(t[4]=x("span",{class:"layui-layer-setwin wechat-close",style:{display:"block"}},[x("a",{href:"javascript:;",class:"layui-layer-ico layui-layer-close layui-layer-close2"})],-1)),f(x("div",{onClick:b,class:"absolute -top-1.5rem -right-1.5rem z-999 w-[3rem] h-3rem rounded-1/2 cursor-pointer"},t[2]||(t[2]=[x("div",{"data-v-48b1409d":"",class:"absolute w-[3rem] h-3rem top-0 left-0 origin-center close-popup-btn"},null,-1)]),512),[[p,v(u)]])],32)]})),_:1},8,["visible"]),h(l,{effect:"dark",content:"点击打开调查问卷",placement:"left",enterable:!1},{default:w((function(){return[x("div",{class:"icon-menu",onClick:t[0]||(t[0]=function(){return v(Ne)&&v(Ne).apply(void 0,arguments)})},[h(n,{icon:"evaluation-feedback",size:45,color:"#20a53a"})])]})),_:1})])}}}),tt=de(et,[["__scopeId","data-v-ee56a5ad"]]);var nt=r({name:"BtContainer",setup:function(e,t){var n=t.attrs,r=t.slots;return function(){return h(k,n,"function"==typeof(e=r)||"[object Object]"===Object.prototype.toString.call(e)&&!b(e)?r:{default:function(){return[r]}});var e}}});var rt=r({name:"BtAside",setup:function(e,t){var n=t.attrs,r=t.slots;return function(){return h(j,y(e,n),"function"==typeof(t=r)||"[object Object]"===Object.prototype.toString.call(t)&&!b(t)?r:{default:function(){return[r]}});var t}}}),ot=E((function(){var e;return(null===(e=O())||void 0===e?void 0:e.path)||""})),at=ue(),it=at.title,ut=at.panel,lt=at.robserver,ct=at.layoutBody,st=at.mainWidth,ft=at.mainHeight,pt=at.updateTaskCount,vt=at.mountMessage,dt=at.forceLtd,mt=at.payment,ht=at.aliyunEcsLtd,yt=at.globalTheme,gt=function(){lt.value&<.value.disconnect&&(lt.value.disconnect(),lt.value=null)},bt=function(){return Ge({vue:{defineComponent:r,version:S},components:{BtDialog:ge,BtInput:be,BtLink:pe,BtInputIcon:Ze,BtSvgIcon:Ve,BtTable:we,BtTableGroup:qe,ElButton:C,ElCard:L,ElAlert:M,ElForm:P,ElFormItem:T,ElDropdownItem:N,ElDropdownMenu:z,ElDropdown:D,ElTooltip:g,ElIcon:F,ElPopover:R,ElTable:G,ElInput:Z,ElTableColumn:V,BtDivider:Qe,BtImage:ve,ElSelect:q,ElOption:Q},hooks:{useMessage:ce,useDialog:xe,useAxios:_e,useConfirm:ke,Message:je,isUndefined:Ee,inputFocus:Oe,rsaEncrypt:Ae,isDev:le},utils:{getByteUnit:Ie,getRandomPwd:Be},dialog:{fileSelectionDialog:ze},vueMethods:{ref:a,unref:v,reactive:U,watch:u,computed:E,onMounted:s,onBeforeUnmount:c}})},wt=function(){var e=A(ut.value).msgBoxTaskCount;u(it,(function(e){return I(e)})),u(e,pt),u(yt,(function(e){var t=document.documentElement;if(e&&e.show_main_bg_images?(t.style.setProperty("--layout-body-bg-image","url(".concat(e.main_bg_images,")")),t.style.setProperty("--layout-body-bg-image-opacity","".concat(e.main_bg_images_opacity,"%")),t.style.setProperty("--el-fill-color-blank","rgba(255, 255, 255, var(".concat(e.main_content_opacity/100,")) !important"))):(t.style.removeProperty("--layout-body-bg-image"),t.style.removeProperty("--layout-body-bg-image-opacity"),t.style.removeProperty("--el-fill-color-blank")),t.style.setProperty("--bg-opacity","".concat(e.main_content_opacity/100)),t.style.setProperty("--menu-global-opacity","".concat(e.menu_bg_opacity/100)),t.style.setProperty("--home-state-font-size","".concat(e.home_state_font_size,"px")),e.main_shadow_color&&void 0!==e.main_shadow_opacity){var n=e.main_shadow_opacity/100;t.style.setProperty("--main-shadow","".concat(Se(e.main_shadow_color,n)))}}),{immediate:!0,deep:!0}),u(dt,(function(e){e&&"/bind"!==window.location.pathname&&"ltd"===mt.value.recommendAuth&&mt.value.authExpirationTime<0&&De({compulsionLtd:!0,showClose:!1,disableEsc:!0})}),{immediate:!0}),u(ht,(function(e){e&&"ltd"!==mt.value.authType&&De({compulsionLtd:!0,showClose:!1,disableEsc:!0})}),{immediate:!0}),I(it),setTimeout((function(){var e;ye({request:(e=i(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,"/waf"===ot.value){e.next=4;break}return e.next=4,Ce();case 4:e.next=11;break;case 6:return e.prev=6,e.t0=e.catch(0),e.next=10,ke({title:"登录验证已失效",content:"当前面板登录验证已失效,确认后重新登录",showClose:!1});case 10:window.location.href="/login";case 11:case"end":return e.stop()}}),e,null,[[0,6]])}))),function(){return e.apply(this,arguments)}),timeout:6e5})}),6e5),me(),he(window.vite_public_icon_info.theme_color||"#3c444d"),lt.value=B(ct,(function(e){var t=e[0].contentRect.height,n=document.getElementById("layout-footer"),r=null==n?void 0:n.getBoundingClientRect(),o=(null==r?void 0:r.height)||0,a=(null==r?void 0:r.width)||0,i=document.getElementById("layout-main"),u=null==i?void 0:i.getBoundingClientRect(),l=(null==u?void 0:u.width)||0;st.value=(a||l)-32,ft.value=parseInt("".concat(t-o-30),10)})),vt(),window.$extension=bt},xt={key:0,id:"layout-footer",class:"flex items-center items-end w-full h-[30px] mb-[14px] text-[#333] justify-center relative z-90 mt-[14px]"},_t={class:"mr-[8px] text-[#787A79]"},kt={class:"flex bt-link-info items-center"},jt={class:"w-full flex items-center justify-center"},Et={class:"flex bt-link-info items-center"},Ot={class:"w-full flex items-center justify-center"},At=de(r({__name:"footer",setup:function(e){var t=O(),n=E((function(){return!t.path.includes("waf")})),r=window,o=r.vite_public_brand,a=r.vite_public_product,i=r.vite_public_year;return function(e,t){var r=Qe,u=Ue,l=pe,c=ve,s=Te;return v(n)?(d(),m("footer",xt,[x("span",_t,J(v(o))+J(v(a))+"©2014-"+J(v(i))+" 广东堡塔安全技术有限公司 (bt.cn)",1),h(r),h(l,{class:"bt-link-info",href:"http://www.bt.cn/bbs"},{default:w((function(){return[h(u,{name:"tools-help",size:"14",class:"mr-[.2rem]",color:"#20a53a"}),t[0]||(t[0]=x("span",null,"论坛求助",-1))]})),_:1}),h(r),h(l,{class:"bt-link-info",href:"https://docs.bt.cn"},{default:w((function(){return[h(u,{name:"tools-manual",size:"14",class:"mr-[.2rem]"}),t[1]||(t[1]=x("span",null,"使用手册",-1))]})),_:1}),h(r),h(s,{placement:"top-start","popper-class":"white-tips-popover",width:"160",trigger:"hover"},{reference:w((function(){return[x("span",kt,[h(u,{name:"tools-wechat",size:"14",class:"mr-[.2rem]"}),t[2]||(t[2]=x("span",null,"微信公众号",-1))])]})),default:w((function(){return[x("div",jt,[h(c,{src:"/other/bt_wx.jpg"})])]})),_:1}),h(r),h(l,{class:"bt-link-info",href:"https://www.bt.cn/auth"},{default:w((function(){return[h(u,{name:"tools-check",size:"14",class:"mr-[.2rem]"}),t[3]||(t[3]=x("span",null,"正版查询",-1))]})),_:1}),h(r),h(s,{placement:"top-start","popper-class":"white-tips-popover",width:"160",trigger:"hover"},{reference:w((function(){return[x("span",Et,[h(u,{name:"tools-customer",size:"14",class:"mr-[.2rem]"}),t[4]||(t[4]=x("span",null,"联系人工客服",-1))])]})),default:w((function(){return[x("div",Ot,[h(c,{src:"/other/customer-qrcode.png",class:"w-[150px]"})])]})),_:1})])):X("",!0)}}}),[["__scopeId","data-v-d4eaaab6"]]),It=r({__name:"main",setup:function(e){var t=ue().mainHeight;return O(),function(e,n){var r=K("router-view");return d(),m("section",{id:"layout-main",class:"w-full",style:$({"min-height":v(t)+"px"})},[h(r,null,{default:w((function(e){var t=e.Component;return[h(Y,{class:"animate-animated",name:"fade",mode:"out-in"},{default:w((function(){return[(d(),H(W(t)))]})),_:2},1024)]})),_:1})],4)}}}),Bt=de(It,[["__scopeId","data-v-d1983ed3"]]);var St=r({name:"BtScrollbar",props:n({},ee),setup:function(e,t){var n=t.attrs,r=t.slots;return function(){return h(te,y(e,n),"function"==typeof(t=r)||"[object Object]"===Object.prototype.toString.call(t)&&!b(t)?r:{default:function(){return[r]}});var t}}}),Ct=ue(),Lt=Ct.disableSidebar,Mt=Ct.serverIp,Pt=Ct.menuControl,Tt=Ct.cutCollapseView,Nt=function(){Lt.value||Fe()},zt=function(){var e=i(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Le({value:Mt.value});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Dt=function(e){return Me.currentRoute.value.path.split("/")[1]===e.name},Ft=function(e){Pt.value.menuName=e},Rt=function(e){Pt.value.menuName=""},Gt=function(e){return Dt(e)?"is-active":""},Zt=function(){var e=i(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ke({icon:"warning-filled",title:"退出登录",content:"退出面板登录,是否继续?"});case 3:setTimeout((function(){window.location.href="/login?dologin=True"}),400),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(){return e.apply(this,arguments)}}(),Vt=function(){var e=i(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Lt.value){e.next=2;break}return e.abrupt("return");case 2:Re();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),qt=function(){var e=i(o().mark((function e(){var t,n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Tt(),Me.currentRoute.value.path.includes("/waf")){e.next=3;break}return e.abrupt("return");case 3:(n=document.getElementById("ifrramApp"))&&(null===(t=n.contentWindow)||void 0===t||t.check_shrink(Pt.value.collapse));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Qt={class:"sidebar"},Ut={class:"flex-shrink-0"},Jt=["src"],Xt={class:"flex-1 overflow-y-auto overflow-hidden"},Kt={class:"relative h-full"},Yt=["onMouseenter","onMouseleave"],Ht=["href","onClick"],Wt={class:"flex-shrink-0"},$t={class:"cursor-pointer"},en={class:"cursor-pointer"},tn=r({__name:"index",setup:function(e){var t=ue(),n=t.menuControl,r=t.panel,o=t.serverIp,a=t.messageNumberStyle,i=t.messageIpNumberLength,u=t.menuControlIcon,l=t.menuCollapseMouseleave,c=t.menuCollapseMouseenter,s=t.cutMenuRouter,f=t.menuLogo;return function(e,t){var p=nt,y=Ue,g=St,b=fe,_=Xe;return d(),m("section",Qt,[x("div",Ut,[h(p,{class:ne(["layout-message",v(n).collapse?"!justify-center":"!justify-start"])},{default:w((function(){return[x("img",{src:v(f),alt:"logo-white",class:ne("w-[2rem] "+(v(n).collapse?"":"mr-[.4rem]"))},null,10,Jt),v(n).collapse?X("",!0):(d(),m("div",{key:0,class:ne(["flex leading-normal truncate font-600 w-[15rem]",v(i)>=11?"text-[12px]":"text-[14px]"]),title:"双击可复制IP",onDblclick:t[0]||(t[0]=function(){return v(zt)&&v(zt).apply(void 0,arguments)})},J(v(r).sidebarTitle||v(o)),35)),x("div",{class:ne(v(a)),onClick:t[1]||(t[1]=function(){return v(Nt)&&v(Nt).apply(void 0,arguments)})},J(v(r).msgBoxTaskCount),3)]})),_:1},8,["class"])]),x("div",Xt,[x("div",Kt,[h(g,null,{default:w((function(){return[x("ul",{class:ne(["bt-menu",{"is-cut-menu":v(n).collapse,"hover-menu-bg":v(n).mouserover}])},[(d(!0),m(re,null,oe(v(Pe),(function(e){return d(),m(re,{key:e.path},["dologin"!=e.name&&e.show?(d(),m("li",{key:0,class:ne(["menu-item","menu-".concat(String(e.name))]),onMouseenter:function(t){return v(Ft)(e.name)},onMouseleave:function(t){return v(Rt)(e.name)}},[(d(),m("a",{key:e.path,href:e.path,class:ne(v(Gt)(e)),onClick:ae((function(t){return v(s)(e.path)}),["prevent"])},[h(y,{name:"menu-"+(v(Dt)(e)||v(n).menuName===e.name?e.name+"-active":e.name),color:"#fff",size:"21"},null,8,["name"]),x("span",null,J(e.title),1)],10,Ht))],42,Yt)):X("",!0)],64)})),128)),x("li",{class:"menu-item menu-exit",onClick:t[4]||(t[4]=function(){return v(Zt)&&v(Zt).apply(void 0,arguments)})},[x("a",{href:"javascript:;",onMouseenter:t[2]||(t[2]=function(e){return v(Ft)("dologin")}),onMouseleave:t[3]||(t[3]=function(e){return v(Rt)("dologin")})},[h(y,{name:"menu-exit"+("dologin"===v(n).menuName?"-active":""),size:"22"},null,8,["name"]),t[9]||(t[9]=x("span",null,"退出",-1))],32)])],2)]})),_:1})])]),x("div",Wt,[x("div",{class:ne(["menu-toolbar",{"justify-between":!v(n).collapse}])},[x("div",$t,[h(_,{class:"item",effect:"dark",content:"点击伸缩菜单栏",placement:"top",enterable:!1},{default:w((function(){return[x("div",{class:"setting-hover",onClick:t[5]||(t[5]=function(){return v(qt)&&v(qt).apply(void 0,arguments)}),onMouseleave:t[6]||(t[6]=function(){return v(l)&&v(l).apply(void 0,arguments)}),onMouseenter:t[7]||(t[7]=function(){return v(c)&&v(c).apply(void 0,arguments)})},[h(b,{icon:v(u)?"display-menu":"shrink-menu"},null,8,["icon"])],32)]})),_:1})]),x("div",en,[v(n).collapse?X("",!0):(d(),H(_,{key:0,class:"item",effect:"dark",content:"点击设置菜单显示隐藏",placement:"top",enterable:!1},{default:w((function(){return[x("div",{class:"setting-hover",onClick:t[8]||(t[8]=function(){return v(Vt)&&v(Vt).apply(void 0,arguments)})},[h(b,{icon:"menu-setting"})])]})),_:1}))])],2)])])}}}),nn=de(tn,[["__scopeId","data-v-5d8b732a"]]),rn={class:"h-full"},on=r({__name:"index",setup:function(e){var t=ue(),n=t.layoutSidebarStyle,r=t.layoutBodyStyle,o=t.panel,a=t.layoutBody,i=t.menuCollapseMouseenter,u=t.menuCollapseMouseleave,l=O(),c={BtFps:h("span",null,null)}.BtFps;return s(wt),ie(gt),function(e,t){var s=rt,y=nt,g=tt,b=Je;return d(),m("div",rn,[h(y,{id:"app-container",class:"h-full"},{default:w((function(){return[h(s,{width:"auto",class:ne(["h-full layout-left-menu",v(n)]),onMouseenter:v(i),onMouseleave:v(u)},{default:w((function(){return[h(nn)]})),_:1},8,["class","onMouseenter","onMouseleave"]),h(y,{id:"layout-body",ref_key:"layoutBody",ref:a,class:ne(v(r))},{default:w((function(){return[h(Bt),h(At)]})),_:1},8,["class"]),f(h(g,null,null,512),[[p,v(o).isShowCustomer]])]})),_:1}),v(l).path.includes("bind")?X("",!0):(d(),H(b,{key:0})),h(v(c))])}}});e("default",de(on,[["__scopeId","data-v-e3278f47"]]))}}}))}();
Save File
Cancel