System.register(["./index-legacy-b5b2d9a0.js","./image-viewer-legacy-705fdba3.js"],(function(e,t){"use strict";var i,n,s,c;return{setters:[function(e){i=e.o,n=e.g,s=e.l},function(e){c=e.E}],execute:function(){e("_",{__name:"AutoIcon",props:{icon:{type:Object,required:!0},clickPreview:{type:Boolean,default:!0}},setup:function(e){function t(e){return-1!==e.indexOf("<svg")?"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(e))):e.startsWith("http")||e.startsWith("https")||e.startsWith("data:image")?e:"data:image/jpeg;base64,"+e}return function(r,a){var o=c;return e.icon?(i(),n(o,{key:0,src:t(e.icon),"preview-src-list":e.clickPreview?[t(e.icon)]:[],inline:"",class:"h-8 w-8 inline-block"},null,8,["src","preview-src-list"])):s("",!0)}}})}}}));
