import{_ as e}from"./public.js?v=1763625242172";import{_ as t}from"./index.vue_vue_type_script_setup_true_lang.js?v=1763625242172";import{hH as a}from"./page_layout.js?v=1763625242172";import{k as l,P as s,e as i,R as n,S as o,X as r,a3 as u,V as _,U as c}from"./vue.js?v=1763625242172";import{dV as d,dP as p}from"./naive.js?v=1763625242172";import"./common.js?v=1763625242172";import"./__commonjsHelpers__.js?v=1763625242172";const h={class:"p-20px"},m=l({__name:"change-verification",props:{uc_id:{},onRefresh:{type:Function}},setup(l,{expose:m}){const{t:S}=s(),v=l,f=[{label:S("SSL.SiteSSL.index_17")+"(http)",value:"HTTP_CSR_HASH"},{label:S("SSL.SiteSSL.index_17")+"(https)",value:"HTTPS_CSR_HASH"},{label:S("SSL.index_12"),value:"CNAME_CSR_HASH"}],H=i({dcvMethod:"HTTP_CSR_HASH"});return m({onConfirm:async()=>{const e={uc_id:v.uc_id,dcv_method:H.dcvMethod};await a(e),v.onRefresh()}}),(a,l)=>{const s=d,i=p,m=t,S=e;return n(),o("div",h,[r(m,null,{default:u((()=>[r(i,{label:a.$t("Term.index_12")},{default:u((()=>[r(s,{value:_(H).dcvMethod,"onUpdate:value":l[0]||(l[0]=e=>_(H).dcvMethod=e),options:f},null,8,["value"])])),_:1},8,["label"])])),_:1}),r(S,null,{default:u((()=>l[1]||(l[1]=[c("li",null,"File verification (HTTP): Ensure that the website can be accessed normally via http",-1),c("li",null,"File verification (HTTPS): Make sure that the website has https enabled and can be accessed normally through https",-1),c("li",null,"DNS verification: DNS record value needs to be manually resolved",-1),c("li",{class:"text-error"},"Note: Only one change is allowed within 20 minutes. Frequent changes will extend the application time.",-1)]))),_:1,__:[1]})])}}});export{m as default};
