const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/ssl-log.js?v=1753954525509","js/index101.js?v=1753954525509","js/vue.js?v=1753954525509","js/__commonjsHelpers__.js?v=1753954525509","js/page_layout.js?v=1753954525509","js/naive.js?v=1753954525509","js/common.js?v=1753954525509","js/public.js?v=1753954525509","css/public.css?v=1753954525509","css/page_layout.css?v=1753954525509","css/index18.css?v=1753954525509"])))=>i.map(i=>d[i]);
import{a,c as e,a_ as s}from"./page_layout.js?v=1753954525509";import{_ as t}from"./index.js?v=1753954525509";import{_ as l}from"./index100.js?v=1753954525509";import{e as n,aC as o,a6 as i}from"./public.js?v=1753954525509";import{c6 as p,ay as r}from"./naive.js?v=1753954525509";import{k as d,P as c,ad as m,e as u,U as x,V as _,Q as f,a2 as v,W as h,j as y,a3 as w,X as j,_ as g}from"./vue.js?v=1753954525509";import"./common.js?v=1753954525509";import"./__commonjsHelpers__.js?v=1753954525509";const S={class:"p-20px"},C={class:"flex flex-wrap py-2px text-primary text-12px"},b={class:"pr-24px"},$={class:"pr-24px"},L={class:"flex gap-20px mt-16px"},P={class:"flex-1"},U={class:"mb-8px"},k={class:"flex-1"},K={class:"mb-8px"},R={class:"my-10px"},E=d({__name:"index",props:{data:{}},setup(d){const E=g((()=>a((()=>import("./ssl-log.js?v=1753954525509")),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])))),{t:I}=c(),V=d,{row:A}=m(V.data),D=n(I("SSL.index_43")),F=u({privateKey:A.value.cert.key,certPem:A.value.cert.csr}),H=async()=>{const{message:a}=await o({hash:A.value.hash});e(a)&&s(encodeURIComponent(a.result))},O=async()=>{const{message:a}=await i({hash:A.value.hash});e(a)&&(D.data.path=a.result,D.show=!0,V.data.onRefresh())};return(a,e)=>{const s=p,n=l,o=r,i=t;return x(),_("div",S,[f(s,{type:"success","show-icon":!1},{default:v((()=>[h("div",C,[h("div",null,[h("span",b,[y(w(a.$t("SSL.index_41")),1),h("b",null,w(j(A).provider),1)]),h("span",null,[y(w(a.$t("Config.Safe.index_38")),1),h("b",null,w(j(A).issuer),1)])]),h("div",null,[h("span",$,[y(w(a.$t("Config.Safe.index_37")),1),h("b",null,w(j(A).verify_domains.join(",")),1)]),h("span",null,[y(w(a.$t("Config.Safe.index_39")),1),h("b",null,w(j(A).end_date),1)])])])])),_:1}),h("div",L,[h("div",P,[h("div",U,w(a.$t("Config.Safe.index_27")),1),f(n,{value:j(F).privateKey,"onUpdate:value":e[0]||(e[0]=a=>j(F).privateKey=a),readonly:"",rows:14,placeholder:""},null,8,["value"])]),h("div",k,[h("div",K,w(a.$t("Config.Safe.index_28")),1),f(n,{value:j(F).certPem,"onUpdate:value":e[1]||(e[1]=a=>j(F).certPem=a),readonly:"",rows:14,placeholder:""},null,8,["value"])])]),h("div",R,[f(o,{type:"primary",onClick:H,class:"mr-12px"},{default:v((()=>[y(w(a.$t("Ftp.Label.index_11")),1)])),_:1}),f(o,{onClick:O},{default:v((()=>[y(w(a.$t("SSL.index_42")),1)])),_:1})]),f(i,{show:j(D).show,"onUpdate:show":e[2]||(e[2]=a=>j(D).show=a),title:j(D).title,data:j(D).data,width:650,"min-height":450,component:j(E)},null,8,["show","title","data","component"])])}}});export{E as default};
