!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",i=o.toStringTag||"@@toStringTag";function a(e,o,u,i){var a=o&&o.prototype instanceof l?o:l,s=Object.create(a.prototype);return t(s,"_invoke",function(e,t,o){var u,i,a,l=0,s=o||[],f=!1,p={p:0,n:0,v:n,a:y,f:y.bind(n,4),d:function(e,t){return u=e,i=0,a=n,p.n=t,c}};function y(e,t){for(i=e,a=t,r=0;!f&&l&&!o&&r<s.length;r++){var o,u=s[r],y=p.p,g=u[2];e>3?(o=g===t)&&(a=u[(i=u[4])?5:(i=3,3)],u[4]=u[5]=n):u[0]<=y&&((o=e<2&&y<u[1])?(i=0,p.v=t,p.n=u[1]):y<g&&(o=e<3||u[0]>t||t>g)&&(u[4]=e,u[5]=t,p.n=g,i=0))}if(o||e>1)return c;throw f=!0,t}return function(o,s,g){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&y(s,g),i=s,a=g;(r=i<2?n:a)||!f;){u||(i?i<3?(i>1&&(p.n=-1),y(i,a)):p.n=a:p.v=a);try{if(l=2,u){if(i||(o="next"),r=u[o]){if(!(r=r.call(u,a)))throw TypeError("iterator result is not an object");if(!r.done)return r;a=r.value,i<2&&(i=0)}else 1===i&&(r=u.return)&&r.call(u),i<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),i=1);u=n}else if((r=(f=p.n<0)?a:e.call(t,p))!==c)break}catch(r){u=n,i=1,a=r}finally{l=1}}return{value:r,done:f}}}(e,u,i),!0),s}var c={};function l(){}function s(){}function f(){}r=Object.getPrototypeOf;var p=[][u]?r(r([][u]())):(t(r={},u,function(){return this}),r),y=f.prototype=l.prototype=Object.create(p);function g(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,t(e,i,"GeneratorFunction")),e.prototype=Object.create(y),e}return s.prototype=f,t(y,"constructor",f),t(f,"constructor",s),s.displayName="GeneratorFunction",t(f,i,"GeneratorFunction"),t(y),t(y,i,"Generator"),t(y,u,function(){return this}),t(y,"toString",function(){return"[object Generator]"}),(e=function(){return{w:a,m:g}})()}function t(e,n,r,o){var u=Object.defineProperty;try{u({},"",{})}catch(e){u=0}t=function(e,n,r,o){function i(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:(i("next",0),i("throw",1),i("return",2))},t(e,n,r,o)}function n(e,t,n,r,o,u,i){try{var a=e[u](i),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}System.register(["./utils-lib-legacy.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./index-legacy86.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./index.vue_vue_type_style_index_0_lang-legacy.js?v=1761009159","./add-host.vue_vue_type_script_setup_true_lang-legacy.js?v=1761009159","./form-item-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./useController-legacy2.js?v=1761009159","./default-legacy.js?v=1761009159","./column-legacy.js?v=1761009159","./index-legacy105.js?v=1761009159"],function(t,r){"use strict";var o,u,i,a,c,l,s,f;return{setters:[function(e){o=e.K},function(e){u=e.c,i=e.g,a=e.v,c=e.N,l=e.y},function(e){s=e.i,f=e.h},null,null,null,null,null,null,null,null,null],execute:function(){t("default",u({__name:"add-command",setup:function(t,r){var u,p,y=r.expose,g=i(function(){return[{label:"命令名称",key:"title",type:"input",attrs:{placeholder:"请输入命令名称",class:"mr-4 !w-[280px]"},rules:[{required:!0,message:"请输入命令名称",trigger:["blur","change"]}]},{label:"命令内容",type:"input",key:"shell",attrs:{placeholder:"请输入命令内容",class:"mr-4 !w-[280px]",type:"textarea",autosize:{minRows:8,maxRows:8}},rules:[{required:!0,message:"请输入命令内容",trigger:["blur","change"]}]}]}),d=o({data:s,options:function(){return g},submit:(u=e().m(function t(n,r){return e().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,r();case 1:return e.n=2,f(n);case 2:return e.a(2,e.v)}},t)}),p=function(){var e=this,t=arguments;return new Promise(function(r,o){var i=u.apply(e,t);function a(e){n(i,r,o,a,c,"next",e)}function c(e){n(i,r,o,a,c,"throw",e)}a(void 0)})},function(e,t){return p.apply(this,arguments)})}),v=d.BtForm;return y({onConfirm:d.submit}),function(e,t){return a(),c(l(v),{class:"p-[2rem]","label-width":"4rem"})}}}))}}})}();
