import{c as t,d as s,a as e}from"./public.js?v=1753954525509";import{w as i,n as a}from"./index86.js?v=1753954525509";import{u as p,c as r,p as _}from"./page_layout.js?v=1753954525509";import{k as o,P as n,$ as u,r as m,e as l,U as d,V as x,Q as j,a2 as c,W as v,a3 as y,X as g,a1 as f,al as P,j as h}from"./vue.js?v=1753954525509";import{bT as W,c6 as $,ay as b,bY as k}from"./naive.js?v=1753954525509";import"./common.js?v=1753954525509";import"./__commonjsHelpers__.js?v=1753954525509";import"./index127.js?v=1753954525509";import"./index.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang4.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang7.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang5.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang11.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang6.js?v=1753954525509";import"./site4.js?v=1753954525509";import"./soft.js?v=1753954525509";import"./site.js?v=1753954525509";import"./index237.js?v=1753954525509";import"./index100.js?v=1753954525509";import"./index102.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang9.js?v=1753954525509";import"./index96.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang14.js?v=1753954525509";import"./theme-chrome.js?v=1753954525509";import"./file2.js?v=1753954525509";import"./refersh.js?v=1753954525509";import"./php.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang17.js?v=1753954525509";import"./index101.js?v=1753954525509";import"./ssl.js?v=1753954525509";import"./cert.js?v=1753954525509";import"./utils3.js?v=1753954525509";import"./index209.js?v=1753954525509";import"./paypal-js.js?v=1753954525509";import"./ssl-lets-progress.js?v=1753954525509";import"./Ssl.vue_vue_type_script_setup_true_lang.js?v=1753954525509";const w={class:"p-20px"},C={class:"text-14px leading-22px"},H={class:"text-14px leading-22px"},L=["innerHTML"],T=o({__name:"index",props:{data:{}},setup(o){const{t:T}=n(),M=o,Q=p(),{isPro:S}=u(Q),{site:U}=M.data,{loading:V,setLoading:X}=t(!1),Y=m(!1),q=l({status:!0,text:""}),z=()=>{s({title:T("WP.index_35"),content:T("WP.index_36"),onConfirm:async({hide:t})=>{if(!S.value)return void e({source:214});q.text="",Y.value=!0,t();const{message:s}=await i({s_id:U.id});r(s)&&(q.text=s.result,q.status=!0,Y.value=!1)}})},A=async()=>{q.text="",X(!0);try{const t=await a({s_id:U.id});q.status=!0,r(t.message)&&(q.text=t.message.result)}catch(t){q.status=!1,q.text=W(t,"message.result","")}finally{X(!1)}};return(t,s)=>{const e=$,i=_,a=b,p=k;return d(),x("div",w,[j(e,{type:"default",class:"mb-16px","show-icon":!1},{default:c((()=>[v("div",C,y(t.$t("WP.index_33")),1),v("div",H,y(t.$t("WP.index_37")),1)])),_:1}),g(q).text?(d(),f(e,{key:0,type:g(q).status?"success":"error"},{default:c((()=>[v("span",{innerHTML:g(q).text},null,8,L)])),_:1},8,["type"])):P("",!0),j(i,{class:"my-16px!"}),j(p,{class:"justify-evenly!"},{default:c((()=>[j(a,{type:"primary",onClick:A,loading:g(V)},{default:c((()=>[h(y(t.$t("WP.index_34")),1)])),_:1},8,["loading"]),j(a,{type:"info",onClick:z,loading:g(Y)},{default:c((()=>[h(y(t.$t("WP.index_35")),1)])),_:1},8,["loading"])])),_:1})])}}});export{T as default};
