System.register(["./utils-lib-legacy.js?v=20260328163632","./index-legacy185.js?v=20260328163632","./index-legacy186.js?v=20260328163632","./naive-ui-legacy.js?v=20260328163632","./base-lib-legacy.js?v=20260328163632","./__commonjsHelpers__-legacy.js?v=20260328163632","./env-lib-legacy.js?v=20260328163632"],(function(t,e){"use strict";var n,i,l,r,s,u,c,o,a,f,p,x,y,m,g,b,d,v,h,_,w,j,k,z,C;return{setters:[function(t){n=t.u,i=t.bN,l=t.bS,r=t.l,s=t.bT,u=t.a1,c=t.a2},function(t){o=t.S},function(t){a=t.R},function(t){f=t.D,p=t.B},function(t){x=t.k,y=t.w,m=t.o,g=t.J,b=t.V,d=t.W,v=t.O,h=t.a3,_=t.Y,w=t.U,j=t.X,k=t.j,z=t.Z,C=t.l},null,null],execute:function(){var e={class:"w-full h-full pt-[12px]"},S={class:"flex items-center text-[#a94442] min-h-25px"},B={class:"flex items-center"},L={class:"text-14px text-[var(--text-color-2)]"};t("default",x({__name:"index",setup:function(t){var x=n().isRefreshSoftList,O=i().isLoading,R=l(),T=R.BtTable,D=R.BtPage,E=R.pageOptions,H=R.refreshList,J=R.importOtherEvent,N=R.$reset;return y((function(){return x.value}),(function(t){t&&(H(0),x.value=!1)})),m((function(){return H(0)})),g(N),function(t,n){var i=p,l=f,x=w("bt-loading");return b(),d("div",e,[v(o),v(a),v(l,{type:"error","show-icon":!1,closable:!1},{default:h((function(){return[j("div",S,[k(z(_(r)("安全提醒：第三方插件上架前，宝塔官方进行了安全审计，但可能还存在安全风险，在生产环境使用前请自行甄别"))+" ",1),j("div",B,[v(i,{type:"primary",title:_(r)("免费入驻"),size:"tiny",class:"!ml-[5px]",onClick:n[0]||(n[0]=function(t){return _(s)("https://www.bt.cn/developer/")})},{default:h((function(){return[k(z(_(r)("免费入驻")),1)]})),_:1},8,["title"]),v(i,{type:"primary",title:_(r)("获取第三方应用"),size:"tiny",class:"!ml-[5px]",onClick:n[1]||(n[1]=function(t){return _(s)("https://www.bt.cn/bbs/forum-40-1.html")})},{default:h((function(){return[k(z(_(r)("获取第三方应用")),1)]})),_:1},8,["title"]),v(i,{title:_(r)("导入插件"),size:"tiny",class:"!ml-[5px]",onClick:_(J),type:"primary"},{default:h((function(){return[k(z(_(r)("导入插件")),1)]})),_:1},8,["title","onClick"])])])]})),_:1}),v(_(c),null,{content:h((function(){return[C(v(_(T),{"scroll-x":1e3},null,512),[[x,_(O)],[x,_(r)("正在获取软件列表，请稍候..."),"title"]])]})),"footer-right":h((function(){return[v(_(D),{"show-size-picker":"","page-sizes":_(u)([6,10,12,16,20,50,200]),onRefresh:n[2]||(n[2]=function(){return _(H)()})},{suffix:h((function(){return[j("span",L,z(_(r)("共 {0} 条",[_(E).itemCount])),1)]})),_:1},8,["page-sizes"])]})),_:1})])}}}))}}}));
