!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:{},a=o.iterator||"@@iterator",i=o.toStringTag||"@@toStringTag";function u(t,o,a,i){var u=o&&o.prototype instanceof l?o:l,s=Object.create(u.prototype);return n(s,"_invoke",function(t,n,o){var a,i,u,l=0,s=o||[],f=!1,p={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return a=t,i=0,u=e,p.n=n,c}};function d(t,n){for(i=t,u=n,r=0;!f&&l&&!o&&r<s.length;r++){var o,a=s[r],d=p.p,v=a[2];t>3?(o=v===n)&&(u=a[(i=a[4])?5:(i=3,3)],a[4]=a[5]=e):a[0]<=d&&((o=t<2&&d<a[1])?(i=0,p.v=n,p.n=a[1]):d<v&&(o=t<3||a[0]>n||n>v)&&(a[4]=t,a[5]=n,p.n=v,i=0))}if(o||t>1)return c;throw f=!0,n}return function(o,s,v){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&d(s,v),i=s,u=v;(r=i<2?e:u)||!f;){a||(i?i<3?(i>1&&(p.n=-1),d(i,u)):p.n=u:p.v=u);try{if(l=2,a){if(i||(o="next"),r=a[o]){if(!(r=r.call(a,u)))throw TypeError("iterator result is not an object");if(!r.done)return r;u=r.value,i<2&&(i=0)}else 1===i&&(r=a.return)&&r.call(a),i<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),i=1);a=e}else if((r=(f=p.n<0)?u:t.call(n,p))!==c)break}catch(r){a=e,i=1,u=r}finally{l=1}}return{value:r,done:f}}}(t,a,i),!0),s}var c={};function l(){}function s(){}function f(){}r=Object.getPrototypeOf;var p=[][a]?r(r([][a]())):(n(r={},a,function(){return this}),r),d=f.prototype=l.prototype=Object.create(p);function v(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,n(t,i,"GeneratorFunction")),t.prototype=Object.create(d),t}return s.prototype=f,n(d,"constructor",f),n(f,"constructor",s),s.displayName="GeneratorFunction",n(f,i,"GeneratorFunction"),n(d),n(d,i,"Generator"),n(d,a,function(){return this}),n(d,"toString",function(){return"[object Generator]"}),(t=function(){return{w:u,m:v}})()}function n(t,e,r,o){var a=Object.defineProperty;try{a({},"",{})}catch(t){a=0}n=function(t,e,r,o){function i(e,r){n(t,e,function(t){return this._invoke(e,r,t)})}e?a?a(t,e,{value:r,enumerable:!o,configurable:!o,writable:!o}):t[e]=r:(i("next",0),i("throw",1),i("return",2))},n(t,e,r,o)}function e(t,n,e,r,o,a,i){try{var u=t[a](i),c=u.value}catch(t){return void e(t)}u.done?n(c):Promise.resolve(c).then(r,o)}function r(t){return function(){var n=this,r=arguments;return new Promise(function(o,a){var i=t.apply(n,r);function u(t){e(i,o,a,u,c,"next",t)}function c(t){e(i,o,a,u,c,"throw",t)}u(void 0)})}}System.register(["./index-legacy115.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./useMethod-legacy7.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./ace-legacy.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./validator-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./column-legacy.js?v=1761009159"],function(n,e){"use strict";var o,a,i,u,c,l,s,f,p,d,v,y,h,m,g,b,j;return{setters:[function(t){o=t.B},function(t){a=t.jc,i=t.ak,u=t.E,c=t.jd,l=t.b},function(t){s=t.u},function(t){f=t.c,p=t.r,d=t.H,v=t.v,y=t.x,h=t.z,m=t.I,g=t.y,b=t.e,j=t.Q},null,null,null,null,null],execute:function(){var e={class:"p-16px"};n("default",f({__name:"config",props:{compData:{}},setup:function(n,f){var w=f.expose,x=l(),O=n.compData.row,_=p(""),S=p("utf-8"),P=s(),T=P.loading,k=P.setLoading,C=function(){var n=r(t().m(function n(){var e,r;return t().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,k(!0),t.n=1,a({service:O.key});case 1:e=t.v,r=e.data,i(r)&&(_.value=r.data.data,S.value=r.data.encoding);case 2:return t.p=2,k(!1),t.f(2);case 3:return t.a(2)}},n,null,[[0,,2,3]])}));return function(){return n.apply(this,arguments)}}(),G=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{readonly:!1,theme:"chrome"};return{mode:"ace/mode/nginx",theme:u.value?"ace/theme/clouds_midnight":"ace/theme/".concat(t.theme),wrap:!0,showInvisibles:!1,showFoldWidgets:!1,useSoftTabs:!0,tabSize:2,showPrintMargin:!1,readOnly:t.readonly,fontSize:"12px"}},F=function(){var n=r(t().m(function n(e){var r,o;return t().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,c({service:O.key,data:_.value});case 1:r=t.v,o=r.data,x.request(o),o.status&&e();case 2:return t.a(2)}},n)}));return function(t){return n.apply(this,arguments)}}();return C(),w({onConfirm:F}),function(t,n){var r=d("bt-loading");return v(),y("div",e,[n[1]||(n[1]=h("span",{class:"my-[4px] text-secondary"},"提示：Ctrl+F 搜索关键字，Ctrl+S 保存，Ctrl+H 查找替换",-1)),m(b(g(o),{class:"!h-[550px] my-[12px] rounded-base",modelValue:g(_),"onUpdate:modelValue":n[0]||(n[0]=function(t){return j(_)?_.value=t:null}),id:"mailConfigContent",editorOption:G()},null,8,["modelValue","editorOption"]),[[r,g(T)]])])}}}))}}})}();
