File: /www/server/panel/BTPanel/static/js/index-legacy503.js
!function(){function t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,r,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",c=o.toStringTag||"@@toStringTag";function i(t,o,u,c){var i=o&&o.prototype instanceof f?o:f,s=Object.create(i.prototype);return n(s,"_invoke",function(t,n,o){var u,c,i,f=0,s=o||[],l=!1,p={p:0,n:0,v:e,a:y,f:y.bind(e,4),d:function(t,n){return u=t,c=0,i=e,p.n=n,a}};function y(t,n){for(c=t,i=n,r=0;!l&&f&&!o&&r<s.length;r++){var o,u=s[r],y=p.p,h=u[2];t>3?(o=h===n)&&(i=u[(c=u[4])?5:(c=3,3)],u[4]=u[5]=e):u[0]<=y&&((o=t<2&&y<u[1])?(c=0,p.v=n,p.n=u[1]):y<h&&(o=t<3||u[0]>n||n>h)&&(u[4]=t,u[5]=n,p.n=h,c=0))}if(o||t>1)return a;throw l=!0,n}return function(o,s,h){if(f>1)throw TypeError("Generator is already running");for(l&&1===s&&y(s,h),c=s,i=h;(r=c<2?e:i)||!l;){u||(c?c<3?(c>1&&(p.n=-1),y(c,i)):p.n=i:p.v=i);try{if(f=2,u){if(c||(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,c<2&&(c=0)}else 1===c&&(r=u.return)&&r.call(u),c<2&&(i=TypeError("The iterator does not provide a '"+o+"' method"),c=1);u=e}else if((r=(l=p.n<0)?i:t.call(n,p))!==a)break}catch(r){u=e,c=1,i=r}finally{f=1}}return{value:r,done:l}}}(t,u,c),!0),s}var a={};function f(){}function s(){}function l(){}r=Object.getPrototypeOf;var p=[][u]?r(r([][u]())):(n(r={},u,function(){return this}),r),y=l.prototype=f.prototype=Object.create(p);function h(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,n(t,c,"GeneratorFunction")),t.prototype=Object.create(y),t}return s.prototype=l,n(y,"constructor",l),n(l,"constructor",s),s.displayName="GeneratorFunction",n(l,c,"GeneratorFunction"),n(y),n(y,c,"Generator"),n(y,u,function(){return this}),n(y,"toString",function(){return"[object Generator]"}),(t=function(){return{w:i,m:h}})()}function n(t,e,r,o){var u=Object.defineProperty;try{u({},"",{})}catch(t){u=0}n=function(t,e,r,o){function c(e,r){n(t,e,function(t){return this._invoke(e,r,t)})}e?u?u(t,e,{value:r,enumerable:!o,configurable:!o,writable:!o}):t[e]=r:(c("next",0),c("throw",1),c("return",2))},n(t,e,r,o)}function e(t,n,e,r,o,u,c){try{var i=t[u](c),a=i.value}catch(t){return void e(t)}i.done?n(a):Promise.resolve(a).then(r,o)}function r(t){return function(){var n=this,r=arguments;return new Promise(function(o,u){var c=t.apply(n,r);function i(t){e(c,o,u,i,a,"next",t)}function a(t){e(c,o,u,i,a,"throw",t)}i(void 0)})}}System.register(["./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./form-item-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528"],function(n,e){"use strict";var o,u,c,i,a,f,s,l,p,y,h,v,g;return{setters:[function(t){o=t.L,u=t.k,c=t.gK,i=t.X,a=t.cZ},function(t){f=t.c,s=t.aC,l=t.g,p=t.j,y=t.C,h=t.p},function(t){v=t.e},function(t){g=t.w},null,null,null],execute:function(){var e=o().getSet,m=function(){var n=r(t().m(function n(r,o){return t().w(function(t){for(;;)switch(t.n){case 0:try{u({request:c({data:JSON.stringify({docker_compose_path:r.value.path})}),loading:"正在设置,请稍候...",message:!0,success:function(t){t.status&&(e(),o())}})}catch(n){}case 1:return t.a(2)}},n)}));return function(t,e){return n.apply(this,arguments)}}(),d=f({__name:"index",setup:function(n,e){var u,c=e.expose,a=s("popupClose",function(){}),f=o().refs.settingData,d=i({data:function(){return{path:JSON.parse(JSON.stringify(f.value.docker_compose_path))}},options:function(){return l(function(){return[v("路径","path",{attrs:{class:"!w-[24rem]",placeholder:"请选择compose文件路径"},rules:[{required:!0,message:"请选择compose文件路径",trigger:["blur","change"]}]},function(){return function(t){g({type:"file",path:t.value.path,change:function(n){return t.value.path=n}})}(_)})]})},submit:(u=r(t().m(function n(e,r,o){return t().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,r();case 1:m(e,a);case 2:return t.a(2)}},n)})),function(t,n,e){return u.apply(this,arguments)})}),b=d.BtForm,j=d.submit,_=d.param;return c({onConfirm:j}),function(t,n){return p(),y(h(b),{class:"p-[1.6rem]"})}}});n("default",a(d,[["__scopeId","data-v-f0eb99a7"]]))}}})}();