File: /www/server/panel/BTPanel/static/js/index-legacy264.js
!function(){function e(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var n,r,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag";function i(e,o,u,a){var i=o&&o.prototype instanceof l?o:l,f=Object.create(i.prototype);return t(f,"_invoke",function(e,t,o){var u,a,i,l=0,f=o||[],s=!1,p={p:0,n:0,v:n,a:v,f:v.bind(n,4),d:function(e,t){return u=e,a=0,i=n,p.n=t,c}};function v(e,t){for(a=e,i=t,r=0;!s&&l&&!o&&r<f.length;r++){var o,u=f[r],v=p.p,d=u[2];e>3?(o=d===t)&&(i=u[(a=u[4])?5:(a=3,3)],u[4]=u[5]=n):u[0]<=v&&((o=e<2&&v<u[1])?(a=0,p.v=t,p.n=u[1]):v<d&&(o=e<3||u[0]>t||t>d)&&(u[4]=e,u[5]=t,p.n=d,a=0))}if(o||e>1)return c;throw s=!0,t}return function(o,f,d){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&v(f,d),a=f,i=d;(r=a<2?n:i)||!s;){u||(a?a<3?(a>1&&(p.n=-1),v(a,i)):p.n=i:p.v=i);try{if(l=2,u){if(a||(o="next"),r=u[o]){if(!(r=r.call(u,i)))throw TypeError("iterator result is not an object");if(!r.done)return r;i=r.value,a<2&&(a=0)}else 1===a&&(r=u.return)&&r.call(u),a<2&&(i=TypeError("The iterator does not provide a '"+o+"' method"),a=1);u=n}else if((r=(s=p.n<0)?i:e.call(t,p))!==c)break}catch(r){u=n,a=1,i=r}finally{l=1}}return{value:r,done:s}}}(e,u,a),!0),f}var c={};function l(){}function f(){}function s(){}r=Object.getPrototypeOf;var p=[][u]?r(r([][u]())):(t(r={},u,function(){return this}),r),v=s.prototype=l.prototype=Object.create(p);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,t(e,a,"GeneratorFunction")),e.prototype=Object.create(v),e}return f.prototype=s,t(v,"constructor",s),t(s,"constructor",f),f.displayName="GeneratorFunction",t(s,a,"GeneratorFunction"),t(v),t(v,a,"Generator"),t(v,u,function(){return this}),t(v,"toString",function(){return"[object Generator]"}),(e=function(){return{w:i,m:d}})()}function t(e,n,r,o){var u=Object.defineProperty;try{u({},"",{})}catch(e){u=0}t=function(e,n,r,o){function a(n,r){t(e,n,function(e){return this._invoke(n,r,e)})}n?u?u(e,n,{value:r,enumerable:!o,configurable:!o,writable:!o}):e[n]=r:(a("next",0),a("throw",1),a("return",2))},t(e,n,r,o)}function n(e,t,n,r,o,u,a){try{var i=e[u](a),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(r,o)}System.register(["./base-lib-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528"],function(t,r){"use strict";var o,u,a,i,c,l,f,s,p,v,d,m,y,b,h;return{setters:[function(e){o=e.c,u=e.H,a=e.r,i=e.j,c=e.k,l=e.q,f=e.e,s=e.v,p=e.p,v=e.al,d=e.aj,m=e.ad,y=e.ab},function(e){b=e.k,h=e.dk},null],execute:function(){var r={class:"p-[2rem]"};t("default",o({__name:"index",setup:function(t,o){var _=o.expose,g=u({timeValue:"5分钟"}),j=a(!1),w=a(),O=function(){var t,r=(t=e().m(function t(n){var r,o,u;return e().w(function(e){for(;;)switch(e.n){case 0:return r=g.timeValue.replaceAll("分钟",""),o=Math.floor(Date.now()/1e3),u=o+60*parseInt(r,10),e.n=1,b({loading:j,request:h({time:u}),message:!0});case 1:n();case 2:return e.a(2)}},t)}),function(){var e=this,r=arguments;return new Promise(function(o,u){var a=t.apply(e,r);function i(e){n(a,o,u,i,c,"next",e)}function c(e){n(a,o,u,i,c,"throw",e)}i(void 0)})});return function(e){return r.apply(this,arguments)}}();return _({onConfirm:O}),function(e,t){var n=v,o=d,u=m,a=y;return i(),c("div",r,[t[1]||(t[1]=l("span",null,"检测到当前已启用【系统加固】,如需要继续操作,请选择临时关闭时间",-1)),f(a,{ref_key:"sysFixedForm",ref:w,model:p(g),disabled:p(j),class:"mt-[2rem]"},{default:s(function(){return[f(u,{label:"临时放行:"},{default:s(function(){return[f(o,{modelValue:p(g).timeValue,"onUpdate:modelValue":t[0]||(t[0]=function(e){return p(g).timeValue=e}),size:"small"},{default:s(function(){return[f(n,{label:"5分钟",value:"5分钟"}),f(n,{label:"10分钟",value:"10分钟"}),f(n,{label:"30分钟",value:"30分钟"}),f(n,{label:"60分钟",value:"60分钟"})]}),_:1},8,["modelValue"])]}),_:1})]}),_:1},8,["model","disabled"])])}}}))}}})}();