!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",i=o.toStringTag||"@@toStringTag";function u(t,o,a,i){var u=o&&o.prototype instanceof l?o:l,f=Object.create(u.prototype);return e(f,"_invoke",function(t,e,o){var a,i,u,l=0,f=o||[],s=!1,p={p:0,n:0,v:n,a:m,f:m.bind(n,4),d:function(t,e){return a=t,i=0,u=n,p.n=e,c}};function m(t,e){for(i=t,u=e,r=0;!s&&l&&!o&&r<f.length;r++){var o,a=f[r],m=p.p,v=a[2];t>3?(o=v===e)&&(u=a[(i=a[4])?5:(i=3,3)],a[4]=a[5]=n):a[0]<=m&&((o=t<2&&m<a[1])?(i=0,p.v=e,p.n=a[1]):m<v&&(o=t<3||a[0]>e||e>v)&&(a[4]=t,a[5]=e,p.n=v,i=0))}if(o||t>1)return c;throw s=!0,e}return function(o,f,v){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&m(f,v),i=f,u=v;(r=i<2?n:u)||!s;){a||(i?i<3?(i>1&&(p.n=-1),m(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=n}else if((r=(s=p.n<0)?u:t.call(e,p))!==c)break}catch(r){a=n,i=1,u=r}finally{l=1}}return{value:r,done:s}}}(t,a,i),!0),f}var c={};function l(){}function f(){}function s(){}r=Object.getPrototypeOf;var p=[][a]?r(r([][a]())):(e(r={},a,function(){return this}),r),m=s.prototype=l.prototype=Object.create(p);function v(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,e(t,i,"GeneratorFunction")),t.prototype=Object.create(m),t}return f.prototype=s,e(m,"constructor",s),e(s,"constructor",f),f.displayName="GeneratorFunction",e(s,i,"GeneratorFunction"),e(m),e(m,i,"Generator"),e(m,a,function(){return this}),e(m,"toString",function(){return"[object Generator]"}),(t=function(){return{w:u,m:v}})()}function e(t,n,r,o){var a=Object.defineProperty;try{a({},"",{})}catch(t){a=0}e=function(t,n,r,o){function i(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:(i("next",0),i("throw",1),i("return",2))},e(t,n,r,o)}function n(t,e,n,r,o,a,i){try{var u=t[a](i),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}System.register(["./utils-lib-legacy.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./ssl-legacy.js?v=1761009159","./useStore-legacy10.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159"],function(e,r){"use strict";var o,a,i,u,c,l,f,s,p,m,v,d,y,b,h,g;return{setters:[function(t){o=t.n,a=t.Q,i=t.b,u=t._},function(t){c=t.c,l=t.r,f=t.q,s=t.v,p=t.x,m=t.C,v=t.e,d=t.y,y=t.Q,b=t.b9},function(t){h=t.R},function(t){g=t.g},null],execute:function(){var w={class:"p-[2rem] flex items-center w-full"},j=c({__name:"index",props:{compData:{default:function(){}}},setup:function(e,u){var c=u.expose,j=i(),D=g().refs.isRefreshDomainList,_=e,O=l(_.compData.row.endtime||""),x=function(t){return t.getTime()<Date.now()},S=function(){var e,i=(e=t().m(function e(n){var i,u,c,l,f;return t().w(function(t){for(;;)switch(t.p=t.n){case 0:if(O.value){t.n=1;break}return j.error("请选择到期时间"),t.a(2,!1);case 1:return t.p=1,i=j.load("正在设置到期时间,请稍后..."),l=[_.compData.row.id],null!==(c=_.compData)&&void 0!==c&&c.rowList&&_.compData.rowList.length&&(l=_.compData.rowList.map(function(t){return t.id})),t.n=2,h({ids:JSON.stringify(l),endtime:O.value});case 2:f=t.v,j.request(f),f.status&&(D.value=!0,O.value="",n&&n()),u=_.compData.rowList.map(function(t){return{name:t.domain,status:!0}}),o({isAsync:!0,title:"批量设置结果",area:42,component:function(){return a(function(){return r.import("./index-legacy121.js?v=1761009159")},void 0,r.meta.url)},compData:{resultData:u,resultTitle:"设置结果"}}),t.n=4;break;case 3:t.p=3,t.v;case 4:return t.p=4,i&&i.close(),t.f(4);case 5:return t.a(2)}},e,null,[[1,3,4,5]])}),function(){var t=this,r=arguments;return new Promise(function(o,a){var i=e.apply(t,r);function u(t){n(i,o,a,u,c,"next",t)}function c(t){n(i,o,a,u,c,"throw",t)}u(void 0)})});return function(t){return i.apply(this,arguments)}}();return c({onConfirm:S}),f(function(){0===_.compData.row.endtime&&(O.value="")}),function(t,e){var n=b;return s(),p("div",w,[e[1]||(e[1]=m("到期时间：",-1)),v(n,{modelValue:d(O),"onUpdate:modelValue":e[0]||(e[0]=function(t){return y(O)?O.value=t:null}),class:"!w-[33rem]","disabled-date":x,type:"date",format:"YYYY/MM/DD","value-format":"YYYY-MM-DD",placeholder:"选择日期"},null,8,["modelValue"])])}}});e("default",u(j,[["__scopeId","data-v-cfca60de"]]))}}})}();
