System.register(["./index-legacy-DQdImDha.js?v=1773287522785"],(function(e,s){"use strict";var t,a,n,i,o,l,r,c,m,u,g,y;return{setters:[e=>{t=e.t,a=e.Q,n=e.m,i=e.B,o=e.i,l=e.af,r=e.h,c=e.aG,m=e.z,u=e.y,g=e.A,y=e.a3}],execute:function(){e("i",(async e=>{const{close:s}=n.loading("Processing, please wait...");try{const{message:s}=await i({sName:e});if(o(s)){const e=s.versions[0].full_version;r({title:"Install plugin",content:`Are you sure to install [${s.title} v${e}] plugin?`,onConfirm:async()=>{s.status?await c({sName:s.name,version:e,upgrade:e}):await c({sName:s.name,version:e}),m()}})}}finally{s()}})),e("u",(async(e,s)=>{const{close:t}=n.loading("Processing, please wait...");try{const{message:t}=await i({sName:e});if(o(t)){const e=t.versions[0].full_version;r({title:"Install plugin",content:`Are you sure to install [${t.title} v${e}] plugin?`,onConfirm:async()=>{const{message:a}=await u({sName:t.name,version:e,upgrade:e,type:1});if(o(a)){if(a.result)return void m();await g({name:a.name,tmp_path:a.tmp_path,title:y.global.t("Soft.index_21")},(()=>{s?.()}))}}})}}finally{t()}})),e("c",(async(e,s,r=!1)=>t().isFree?(a({source:s}),Promise.reject()):await(async(e,s=!0)=>{let t;s&&(t=n.loading("Processing, please wait..."));try{const{message:s}=await i({sName:e});return o(s)&&s.setup?s:(l(e),Promise.reject())}finally{s&&t?.close()}})(e,r))),e("g",(e=>`/static/img/soft_ico/ico-${e.replace(/-+[{0-9},.,]+$/,"")}.png`))}}}));
