File: /www/server/panel/BTPanel/static/js/http-auth-legacy.js
!function(){function t(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return n(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function e(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,n,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.toStringTag||"@@toStringTag";function c(e,o,i,u){var c=o&&o.prototype instanceof l?o:l,f=Object.create(c.prototype);return r(f,"_invoke",function(e,r,o){var i,u,c,l=0,f=o||[],s=!1,y={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(n,e){return i=n,u=0,c=t,y.n=e,a}};function p(e,r){for(u=e,c=r,n=0;!s&&l&&!o&&n<f.length;n++){var o,i=f[n],p=y.p,v=i[2];e>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=p&&((o=e<2&&p<i[1])?(u=0,y.v=r,y.n=i[1]):p<v&&(o=e<3||i[0]>r||r>v)&&(i[4]=e,i[5]=r,y.n=v,u=0))}if(o||e>1)return a;throw s=!0,r}return function(o,f,v){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&p(f,v),u=f,c=v;(n=u<2?t:c)||!s;){i||(u?u<3?(u>1&&(y.n=-1),p(u,c)):y.n=c:y.v=c);try{if(l=2,i){if(u||(o="next"),n=i[o]){if(!(n=n.call(i,c)))throw TypeError("iterator result is not an object");if(!n.done)return n;c=n.value,u<2&&(u=0)}else 1===u&&(n=i.return)&&n.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=t}else if((n=(s=y.n<0)?c:e.call(r,y))!==a)break}catch(n){i=t,u=1,c=n}finally{l=1}}return{value:n,done:s}}}(e,i,u),!0),f}var a={};function l(){}function f(){}function s(){}n=Object.getPrototypeOf;var y=[][i]?n(n([][i]())):(r(n={},i,function(){return this}),n),p=s.prototype=l.prototype=Object.create(y);function v(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,r(t,u,"GeneratorFunction")),t.prototype=Object.create(p),t}return f.prototype=s,r(p,"constructor",s),r(s,"constructor",f),f.displayName="GeneratorFunction",r(s,u,"GeneratorFunction"),r(p),r(p,u,"Generator"),r(p,i,function(){return this}),r(p,"toString",function(){return"[object Generator]"}),(e=function(){return{w:c,m:v}})()}function r(t,n,e,o){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}r=function(t,n,e,o){function u(n,e){r(t,n,function(t){return this._invoke(n,e,t)})}n?i?i(t,n,{value:e,enumerable:!o,configurable:!o,writable:!o}):t[n]=e:(u("next",0),u("throw",1),u("return",2))},r(t,n,e,o)}function o(t,n,e,r,o,i,u){try{var c=t[i](u),a=c.value}catch(t){return void e(t)}c.done?n(a):Promise.resolve(a).then(r,o)}function i(t){return function(){var n=this,e=arguments;return new Promise(function(r,i){var u=t.apply(n,e);function c(t){o(u,r,i,c,a,"next",t)}function a(t){o(u,r,i,c,a,"throw",t)}c(void 0)})}}System.register(["./index-legacy118.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./index-legacy388.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./site-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528","./useStore-legacy2.js?v=1777008528"],function(n,r){"use strict";var o,u,c,a,l,f,s,y,p,v,d,b,h,m,g,j,_,w,x;return{setters:[function(t){o=t._},function(t){u=t.dc,c=t.d3},function(t){a=t.c,l=t.w,f=t.o,s=t.I,y=t.j,p=t.C,v=t.v,d=t.e,b=t.p,h=t.J,m=t.q},function(t){g=t.p,j=t.q,_=t.g,w=t.r,x=t.u},null,null,null,null,null,null],execute:function(){n("default",a({__name:"http-auth",setup:function(n){l(function(){return _.value.basic_auth},function(t){j(t)});var r=u({options:[{label:"添加",type:"button",active:!0,onClick:function(){g()}}]}).BtOperation;return f(i(e().m(function t(){return e().w(function(t){for(;;)switch(t.n){case 0:j(_.value.basic_auth);case 1:return t.a(2)}},t)}))),function(n,e){var i=c,u=o,a=s("bt-loading");return y(),p(u,null,{"header-left":v(function(){return[d(b(r))]}),content:v(function(){return[h((y(),p(i,{ref:"siteProxyTable","max-height":500,data:b(w),column:b(x)},{empty:v(function(){return t(e[0]||(e[0]=[m("div",{class:"flex items-center justify-center"},"当前列表为空",-1)]))}),_:1},8,["data","column"])),[[a,"正在加载中,请稍后...","title"]])]}),_:1})}}}))}}})}();