!function(){function n(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var r,l,a,u,i=[],o=!0,c=!1;try{if(a=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;o=!1}else for(;!(o=(r=a.call(e)).done)&&(i.push(r.value),i.length!==t);o=!0);}catch(n){c=!0,l=n}finally{try{if(!o&&null!=e.return&&(u=e.return(),Object(u)!==u))return}finally{if(c)throw l}}return i}}(n,e)||function(n,e){if(n){if("string"==typeof n)return t(n,e);var r={}.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(n,e):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}System.register(["./utils-lib-legacy.js?v=20260328163632","./wsl-legacy.js?v=20260328163632","./index-legacy50.js?v=20260328163632","./base-lib-legacy.js?v=20260328163632","./naive-ui-legacy.js?v=20260328163632","./__commonjsHelpers__-legacy.js?v=20260328163632","./env-lib-legacy.js?v=20260328163632","./index-legacy97.js?v=20260328163632"],(function(t,e){"use strict";var r,l,a,u,i,o,c,s,f,y,d,m,p,b,v,g,x,j,k,h,_,A,w,C,O,S,L;return{setters:[function(n){r=n.l,l=n.$,a=n.x,u=n.aU},function(n){i=n.K},function(n){o=n.u},function(n){c=n.k,s=n.r,f=n.O,y=n.w,d=n.o,m=n.l,p=n.Y,b=n.V,v=n.W,g=n.X,x=n.Z,j=n._,k=n.a3,h=n.U,_=n.F,A=n.L,w=n.j,C=n.a1},function(n){O=n.aL,S=n.aw,L=n.aK},null,null,null],execute:function(){var e={class:"min-h-300px"},I={class:"mb-10px text-14px text-medium font-bold"};t("default",c({__name:"index",setup:function(t,c){var U=c.expose,D=o(),H=D.sid,K=D.isRefreshList,M=s(!1),T=s({}),V=s({columns:[{title:r("名称"),key:"Name"},{title:r("版本"),key:"Version"},{title:r("详细信息"),key:"Details",render:function(t){var e=Object.entries(t.Details).map((function(t){var e=n(t,2),r=e[0],l=e[1];return"".concat(r,": ").concat(l)})).join("<br>");return f("span",{innerHTML:e},null)}}],data:[]}),$=n(l(V),2),q=$[0],E=($[1],function(){a({loading:M,request:i({sid:H.value}),success:function(n){n.status&&(T.value=n.data,V.value.data=Array.isArray(n.data.Components)?n.data.Components:[])}})});return y((function(){return K.value}),(function(n){n&&(E(),K.value=!1)})),d(E),U({init:E}),function(n,t){var l=L,a=O,i=S,o=h("bt-loading");return m((b(),v("div",e,[g("div",I,x(p(r)("基础信息")),1),Object.keys(p(T)).length?(b(),j(a,{key:0,"label-placement":"left",bordered:"",column:3,"label-class":"w-100px"},{default:k((function(){return[(b(!0),v(_,null,A(p(T),(function(n,t){return b(),v(_,{key:t},["Components"!==t?(b(),j(l,{key:0},{label:k((function(){return[w(x(t),1)]})),default:k((function(){return[p(u)(n)?(b(!0),v(_,{key:0},A(n,(function(n,t){return b(),v("div",{key:t},[g("span",null,x(t)+": ",1),g("span",null,x(n),1)])})),128)):(b(),v(_,{key:1},[w(x(n),1)],64))]})),_:2},1024)):C("",!0)],64)})),128))]})),_:1})):(b(),j(i,{key:1},{default:k((function(){return[w(x(p(r)("暂无数据")),1)]})),_:1})),t[0]||(t[0]=g("div",{class:"mt-20px mb-10px text-14px text-medium font-bold"},"Components",-1)),p(T).Components?(b(),j(p(q),{key:2})):(b(),j(i,{key:3},{default:k((function(){return[w(x(p(r)("暂无数据")),1)]})),_:1}))])),[[o,p(M)],[o,p(r)("正在加载中，请稍后..."),"title"]])}}}))}}}))}();
