System.register(["./index-legacy99.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172","./index-legacy59.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./common-legacy.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172","./index-legacy107.js?v=1763625242172","./index-legacy.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy2.js?v=1763625242172","./index-legacy98.js?v=1763625242172","./config-legacy3.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy5.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy6.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy7.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy8.js?v=1763625242172"],(function(e,l){"use strict";var a,t,u,s,n,c,i,_,y,r,g,p,o,d,v,j,x,S,m,w,f;return{setters:[e=>{a=e._},e=>{t=e.M,u=e.m,s=e.c},e=>{n=e.d,c=e.i},e=>{i=e.o,_=e.g},e=>{y=e.aC,r=e.d9},e=>{g=e.k,p=e.P,o=e.r,d=e.R,v=e.S,j=e.X,x=e.V,S=e.aj,m=e.a3,w=e.j,f=e.a4},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(),k=o(""),C=()=>{c(k.value)},H=()=>{window.open(`${t()}/ssh_security?action=download_key`)},B=async()=>{await i({ssh:"yes",type:"ed25519"},!1),await P(),u.success(g("Security.SSH.Basic.SSHKey.view_2"))},{loading:$,setLoading:b}=n(),P=async()=>{try{b(!0);const{message:e}=await _();s(e)&&(k.value=e.result)}finally{b(!1)}};return P(),(e,t)=>{const u=a,s=y,n=r;return d(),v("div",l,[j(u,{value:x(k),"onUpdate:value":t[0]||(t[0]=e=>S(k)?k.value=e:null),loading:x($),rows:10},null,8,["value","loading"]),j(n,{class:"mt-16px",size:12},{default:m((()=>[j(s,{type:"primary",onClick:C},{default:m((()=>[w(f(e.$t("Public.Btn.Copy")),1)])),_:1}),j(s,{type:"primary",onClick:H},{default:m((()=>[w(f(e.$t("Public.Btn.Download")),1)])),_:1}),j(s,{onClick:B},{default:m((()=>[w(f(e.$t("Security.SSH.Basic.SSHKey.view_1")),1)])),_:1})])),_:1})])}}}))}}}));
