import{a as r}from"./rolldown-runtime-C_ttsnZz.js";import{St as e,q as s}from"./index-BT8Vuu3B.js";e();var n=s();function a({sources:r=[]}){return 0===r.length?null:(0,n.jsxs)("div",{className:"\n  p-2 border-b border-gray-300\n  bg-white/95 text-xs\n",children:[(0,n.jsxs)("div",{className:"\n  font-bold mb-2\n",children:["Layers (",r.length,")"]}),r.map(r=>{let e=Array.isArray(r.layer)?r.layer:[r.layer];return(0,n.jsxs)("div",{className:"\n  p-1.5 mb-1 bg-gray-50 border border-gray-200 rounded\n",children:[(0,n.jsx)("div",{className:"\n  font-bold\n",children:r.key}),(0,n.jsx)("div",{className:"\n  flex gap-1.5 mt-1\n",children:e.map((r,e)=>(0,n.jsxs)("div",{className:"\n  flex items-center gap-1\n",children:[(0,n.jsx)("div",{className:"\n  w-4 h-4 border border-gray-400 rounded-sm\n",style:{backgroundColor:r.color}}),(0,n.jsx)("span",{className:"\n  text-xs\n",children:r.type})]},e))})]},r.key)})]})}export{a as default};
//# sourceMappingURL=Testing-DGUeGxdc-Ax7u47Nh.js.map