!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 n,r,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",c=o.toStringTag||"@@toStringTag";function i(t,o,a,c){var i=o&&o.prototype instanceof l?o:l,s=Object.create(i.prototype);return e(s,"_invoke",function(t,e,o){var a,c,i,l=0,s=o||[],f=!1,p={p:0,n:0,v:n,a:v,f:v.bind(n,4),d:function(t,e){return a=t,c=0,i=n,p.n=e,u}};function v(t,e){for(c=t,i=e,r=0;!f&&l&&!o&&r<s.length;r++){var o,a=s[r],v=p.p,y=a[2];t>3?(o=y===e)&&(i=a[(c=a[4])?5:(c=3,3)],a[4]=a[5]=n):a[0]<=v&&((o=t<2&&v<a[1])?(c=0,p.v=e,p.n=a[1]):v<y&&(o=t<3||a[0]>e||e>y)&&(a[4]=t,a[5]=e,p.n=y,c=0))}if(o||t>1)return u;throw f=!0,e}return function(o,s,y){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&v(s,y),c=s,i=y;(r=c<2?n:i)||!f;){a||(c?c<3?(c>1&&(p.n=-1),v(c,i)):p.n=i:p.v=i);try{if(l=2,a){if(c||(o="next"),r=a[o]){if(!(r=r.call(a,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=a.return)&&r.call(a),c<2&&(i=TypeError("The iterator does not provide a '"+o+"' method"),c=1);a=n}else if((r=(f=p.n<0)?i:t.call(e,p))!==u)break}catch(r){a=n,c=1,i=r}finally{l=1}}return{value:r,done:f}}}(t,a,c),!0),s}var u={};function l(){}function s(){}function f(){}r=Object.getPrototypeOf;var p=[][a]?r(r([][a]())):(e(r={},a,function(){return this}),r),v=f.prototype=l.prototype=Object.create(p);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,e(t,c,"GeneratorFunction")),t.prototype=Object.create(v),t}return s.prototype=f,e(v,"constructor",f),e(f,"constructor",s),s.displayName="GeneratorFunction",e(f,c,"GeneratorFunction"),e(v),e(v,c,"Generator"),e(v,a,function(){return this}),e(v,"toString",function(){return"[object Generator]"}),(t=function(){return{w:i,m:y}})()}function e(t,n,r,o){var a=Object.defineProperty;try{a({},"",{})}catch(t){a=0}e=function(t,n,r,o){function c(n,r){e(t,n,function(t){return this._invoke(n,r,t)})}n?a?a(t,n,{value:r,enumerable:!o,configurable:!o,writable:!o}):t[n]=r:(c("next",0),c("throw",1),c("return",2))},e(t,n,r,o)}function n(t,e,n,r,o,a,c){try{var i=t[a](c),u=i.value}catch(t){return void n(t)}i.done?e(u):Promise.resolve(u).then(r,o)}System.register(["./base-lib-legacy.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./form-item-legacy.js?v=1761009159","./useStore-legacy6.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159"],function(e,r){"use strict";var o,a,c,i,u,l,s,f,p,v,y,m,b;return{setters:[function(t){o=t.c,a=t.s,c=t.g,i=t.v,u=t.x,l=t.N,s=t.D,f=t.e,p=t.y,v=t.aY},function(t){y=t.K},function(t){m=t.j},function(t){b=t.L},null,null],execute:function(){var r={class:"p-[20px] flex flex-col"};e("default",o({__name:"index",props:{compData:{}},setup:function(e,o){var d,h,g=o.expose,j=e,w=b(),x=a(w),_=x.clearOptions,O=x.clearDataForm,D=c(function(){return"crontab"==j.compData.type?_.value.slice(0,_.value.length-1):_.value}),S=y({data:O.value,options:function(t){return c(function(){return["website"===j.compData.type?m("类型","type",[{label:"运行日志",value:"access"},{label:"异常日志",value:"error"}],{attrs:{class:"!w-[22rem]"}}):[],m("清理范围","day",D.value,{attrs:{class:"!w-[22rem]"}})]})},submit:(d=t().m(function e(n){var r,o,a;return t().w(function(t){for(;;)switch(t.n){case 0:return r=n.value,o=r.day,a=r.type,t.n=1,j.compData.clearEvent(o,a);case 1:return t.a(2,t.v)}},e)}),h=function(){var t=this,e=arguments;return new Promise(function(r,o){var a=d.apply(t,e);function c(t){n(a,r,o,c,i,"next",t)}function i(t){n(a,r,o,c,i,"throw",t)}c(void 0)})},function(t){return h.apply(this,arguments)})}),G=S.BtForm;return g({onConfirm:S.submit}),function(t,e){var n=v;return i(),u("div",r,[t.compData.tips?(i(),l(n,{key:0,closable:!1,title:t.compData.tips,type:"warning","show-icon":""},null,8,["title"])):s("",!0),f(p(G),{class:"mt-[8px]"})])}}}))}}})}();
