System.register(["./index-legacy100.js?v=1753954525509","./page_layout-legacy.js?v=1753954525509","./public-legacy.js?v=1753954525509","./index-legacy58.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./common-legacy.js?v=1753954525509","./__commonjsHelpers__-legacy.js?v=1753954525509","./index-legacy102.js?v=1753954525509","./index-legacy.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy2.js?v=1753954525509","./index-legacy96.js?v=1753954525509","./config-legacy3.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy4.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy7.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy5.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy6.js?v=1753954525509"],(function(e,l){"use strict";var a,t,u,s,n,c,i,_,y,r,g,p,o,d,v,j,x,m,w,S,f;return{setters:[e=>{a=e._},e=>{t=e.cH,u=e.m,s=e.c},e=>{n=e.c,c=e.i},e=>{i=e.o,_=e.g},e=>{y=e.ay,r=e.bY},e=>{g=e.k,p=e.P,o=e.r,d=e.U,v=e.V,j=e.Q,x=e.X,m=e.ah,w=e.a2,S=e.j,f=e.a3},null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"p-20px"};e("default",g({__name:"view",setup(e){const{t:g}=p(),H=o(""),k=()=>{c(H.value)},b=()=>{window.open(`${t()}/ssh_security?action=download_key`)},B=async()=>{await i({ssh:"yes",type:"ed25519"},!1),await h(),u.success(g("Security.SSH.Basic.SSHKey.view_2"))},{loading:C,setLoading:$}=n(),h=async()=>{try{$(!0);const{message:e}=await _();s(e)&&(H.value=e.result)}finally{$(!1)}};return h(),(e,t)=>{const u=a,s=y,n=r;return d(),v("div",l,[j(u,{value:x(H),"onUpdate:value":t[0]||(t[0]=e=>m(H)?H.value=e:null),loading:x(C),rows:10},null,8,["value","loading"]),j(n,{class:"mt-16px",size:12},{default:w((()=>[j(s,{type:"primary",onClick:k},{default:w((()=>[S(f(e.$t("Public.Btn.Copy")),1)])),_:1}),j(s,{type:"primary",onClick:b},{default:w((()=>[S(f(e.$t("Public.Btn.Download")),1)])),_:1}),j(s,{onClick:B},{default:w((()=>[S(f(e.$t("Security.SSH.Basic.SSHKey.view_1")),1)])),_:1})])),_:1})])}}}))}}}));
