1import{defineComponent as r,useCssVars as l,ref as s,computed as u,openBlock as m,createElementBlock as p,normalizeClass as d,createElementVNode as h}from"vue";import{cy as v,Z as _}from"./logger-BOxpBNGt.js";const f=["xlink:href"],$=r({__name:"icon-sprite",props:{name:{}},setup(n){l(i=>({a5c5e3b8:c.value.height,bb474894:c.value.aspectRatio}));const t=n,e=s(),a=s(),o=s(),c=u(()=>({height:`${o.value}px`,aspectRatio:`${a.value} / ${o.value}`}));return v(()=>t.name,()=>{e.value=document.getElementById(`sprite:icon:${t.name}`),e.value||console.error(`Icon sprite ${t.name} not found`),a.value=e.value?.dataset.width,o.value=e.value?.dataset.height}),(i,I)=>(m(),p("svg",{class:d(i.$style.root)},[h("use",{"xlink:href":`#sprite:icon:${n.name}`},null,8,f)],2))}}),g="icon-sprite_root-9n3oj",x={root:g},y={$style:x},B=_($,[["__cssModules",y]]);export{B as I}; 2(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".icon-sprite_root-9n3oj{height:var(--a5c5e3b8);aspect-ratio:var(--bb474894)}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.