!function(){function e(t){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(t)}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var l=null!=arguments[n]?arguments[n]:{};n%2?t(Object(l),!0).forEach(function(t){r(e,t,l[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):t(Object(l)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))})}return e}function r(t,n,r){return(n=function(t){var n=function(t,n){if("object"!=e(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var l=r.call(t,n||"default");if("object"!=e(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==e(n)?n:n+""}(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}System.register(["./base-lib-legacy.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./useController-legacy13.js?v=1761009159","./useStore-legacy12.js?v=1761009159","./useController-legacy4.js?v=1761009159","./useStore-legacy4.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./site-legacy.js?v=1761009159","./index-legacy105.js?v=1761009159","./index-legacy106.js?v=1761009159","./column-legacy.js?v=1761009159","./useController-legacy6.js?v=1761009159","./validator-legacy.js?v=1761009159","./useController-legacy5.js?v=1761009159","./useMethod-legacy5.js?v=1761009159","./useStore-legacy10.js?v=1761009159"],function(e,t){"use strict";var r,l,o,i,u,s,c,a,f,y,p,b,m,j,v,g,d,S,O,x,_,w;return{setters:[function(e){r=e.c,l=e.q,o=e.v,i=e.x,u=e.y,s=e.e,c=e.B,a=e.z,f=e.F,y=e.C,p=e.D,b=e.A,m=e.G,j=e.aY},function(e){v=e.aj},function(e){g=e.t,d=e.aH,S=e.c,O=e.r},function(e){x=e.u},function(e){_=e.n},function(e){w=e.u},null,null,null,null,null,null,null,null,null,null],execute:function(){var t={class:"relative h-full"},P={key:0,class:"mb-[16px]"},k={class:"flex items-center justify-between w-full"},C={class:"mr-[32px] text-small flex items-center"},h=["title"];e("default",r({__name:"index",setup:function(e){var r=x(),D=r.sslTabActive,A=r.sslAlertState,T=r.sslInfo,z=w(),E=z.siteInfo,I=z.siteType,B=_().siteInfo,H=v({type:"card",options:g.filter(function(e){return"trustAsiaList"!==e.name}),value:D}).BtTabs;return l(function(){E.value=n(n({},B.value),{},{project_type:"docker"}),I.value="docker",d()}),function(e,n){var r=m,l=j;return o(),i("div",t,[u(A)?(o(),i("div",P,[s(l,{type:"error",class:"mb-[16px]",closable:!1},{title:c(function(){var e,t,l;return[a("div",k,[null!==(e=u(T))&&void 0!==e&&e.isStart?p("",!0):(o(),i(f,{key:0},[n[2]||(n[2]=a("div",{class:"mr-[32px] text-small"},"温馨提示：当前站点未开启SSL证书访问，站点访问可能存在风险。",-1)),s(r,{type:"primary",size:"small",onClick:u(S)},{default:c(function(){return n[1]||(n[1]=[y(" 申请证书 ",-1)])}),_:1,__:[1]},8,["onClick"])],64)),null!==(t=u(T))&&void 0!==t&&t.isSupportRenewal&&null!==(l=u(T))&&void 0!==l&&l.isStart?(o(),i(f,{key:1},[a("div",C,[n[3]||(n[3]=y(" 温馨提示：当前[ ",-1)),a("span",{class:"flex max-w-[20rem] truncate leading-[18px] inline-block",title:u(T).dns.join("、")},b(u(T).dns.join("、")),9,h),y(" ]证书"+b(Number(u(T).endtime)<0?"已过期":"即将过期"),1)]),s(r,{type:"primary",size:"small",onClick:n[0]||(n[0]=function(e){return u(O)()})},{default:c(function(){return n[4]||(n[4]=[y(" 续签证书 ",-1)])}),_:1,__:[4]})],64)):p("",!0)])]}),_:1})])):p("",!0),s(u(H))])}}}))}}})}();
