import e,{forwardRef as f,useEffect as h}from"react";import d from"classnames";import{injectDigitIconCss as p}from"./utils.mjs";const g=f(({className:r,size:t="1em",strokeWidth:i=0,strokeLinecap:o="butt",strokeLinejoin:a="miter",spin:n=!1,fill:s="currentColor",...l},c)=>{const m=d("digit-icon",r,{"digit-icon-spin":n});return h(()=>{p()},[]),e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",className:m,ref:c,width:t,height:t,strokeWidth:i,strokeLinecap:o,strokeLinejoin:a,...l},e.createElement("g",{fill:s,"fill-rule":"evenodd",transform:"translate(1 1)"},e.createElement("rect",{width:"16",height:"16",opacity:".1",rx:"4"}),e.createElement("path",{"fill-rule":"nonzero",d:"M12 0a4 4 0 0 1 4 4v8a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4zm0 1.08H4A2.92 2.92 0 0 0 1.08 4v8A2.92 2.92 0 0 0 4 14.92h8A2.92 2.92 0 0 0 14.92 12V4A2.92 2.92 0 0 0 12 1.08"}),e.createElement("path",{d:"M7.963 3.556c.368 0 .666.298.666.666v3.14h3.149a.667.667 0 0 1 0 1.334l-3.15-.001.001 3.083a.667.667 0 0 1-1.333 0V8.695H4.222a.667.667 0 0 1 0-1.333h3.074v-3.14c0-.368.299-.666.667-.666"})))});export{g as default};
