!function(){function e(n){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(n)}function n(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function t(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?n(Object(o),!0).forEach(function(n){r(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function r(n,t,r){return(t=function(n){var t=function(n,t){if("object"!=e(n)||!n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var o=r.call(n,t||"default");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"==e(t)?t:t+""}(t))in n?Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[t]=r,n}System.register(["./utils-lib-legacy.js?v=1761009159","./column-legacy.js?v=1761009159","./useStore-legacy10.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./useMethod-legacy10.js?v=1761009159"],function(e,n){"use strict";var r,o,i,u,c,a,l,s,f,d,m,p,b;return{setters:[function(e){r=e.n,o=e.Q,i=e.b},function(e){u=e.a,c=e.u},function(e){a=e.g},function(e){l=e.V,s=e.e,f=e.C,d=e.n,m=e.an},function(e){p=e.d,b=e.a}],execute:function(){var y=i(),v=a().refs.typeList,g=(e("u",function(e){var n=e.closeAlarm,r=e.delDomain;return l([u(),{label:"域名",prop:"domain",width:250},{label:"分组",width:180,isCustom:!0,render:function(e){var n=v.value.find(function(n){return n.id==e.type_id});return n?n.name:"未分组"}},{label:"解析数量",prop:"sbd_count",isCustom:!0},{label:"DNS接口",width:200,isCustom:!0,render:function(e){var n;return s("div",{class:"flex items-center"},[null!==(n=e.dns)&&void 0!==n&&n.dns_name?s("span",null,[e.dns.dns_name]):s("span",{class:"bt-link cursor-pointer",onClick:function(){return p(e)}},[f("未配置")]),s("div",{class:"el-divider el-divider--vertical"},null),s("span",{class:"bt-link cursor-pointer",onClick:function(){return p(e)}},[f("点击配置")])])}},{label:"到期时间",isCustom:!0,render:function(e){var n=(new Date).setHours(0,0,0,0),t=0!==e.endtime&&new Date(e.endtime).getTime()/1e3<n/1e3,r=0!==e.endtime&&new Date(Number(e.endtime)).getTime()-(new Date).getTime()<6048e5;return s("span",{class:"cursor-pointer "+(t?"bt-danger":r?"bt-warn":"bt-link"),onClick:function(){g(e)}},[t?"已过期":0===e.endtime?"未设置":e.endtime])}},{prop:"report_id",label:"到期告警",render:function(e){var r=(new Date).setHours(0,0,0,0),o=0!==e.endtime&&new Date(e.endtime).getTime()/1e3<r/1e3,i=""!=e.report_id;return s(m,{size:"small",modelValue:i,"onUpdate:modelValue":function(e){return i=e},disabled:(0===e.endtime||o)&&!i,onChange:function(r){r?(e.report_id="1",b(t(t({},e),{},{cancel:function(){d(function(){e.report_id=""})}}))):n(e)}},null)}},c([{onClick:function(e){e.dns_id?w(e):(y.error("请先配置DNS"),p(e))},title:"解析"},{onClick:function(e){var n;null!==(n=e.dns)&&void 0!==n&&n.dns_name?j(e):(y.error("请先配置DNS"),p(e))},title:"解析记录管理",width:120},{onClick:function(e){r(e)},title:"删除"}])])}),e("d",function(){return r({isAsync:!0,title:"DNS接口设置",area:70,component:function(){return o(function(){return n.import("./index-legacy394.js?v=1761009159")},void 0,n.meta.url)}})}),e("s",function(e,t){return r({title:"".concat(t&&t.length?"批量设置":"设置【".concat(e.domain,"】"),"到期时间"),area:46,component:function(){return o(function(){return n.import("./index-legacy395.js?v=1761009159")},void 0,n.meta.url)},compData:{row:e,rowList:t},showFooter:!0})})),w=e("a",function(e){return r({isAsync:!0,title:"【".concat(e.domain,"】快速解析"),area:60,component:function(){return o(function(){return n.import("./index-legacy396.js?v=1761009159")},void 0,n.meta.url)},compData:{row:e},showFooter:!0})}),j=e("b",function(e){return r({isAsync:!0,title:"【".concat(e.domain,"】解析记录管理"),area:110,component:function(){return o(function(){return n.import("./index-legacy397.js?v=1761009159")},void 0,n.meta.url)},compData:{row:e}})})}}})}();
