import e,{forwardRef as h,useEffect as f}from"react";import d from"classnames";import{injectDigitIconCss as g}from"./utils.mjs";const p=h(({className:i,size:t="1em",strokeWidth:r=0,strokeLinecap:a="butt",strokeLinejoin:o="miter",spin:n=!1,fill:s="currentColor",...m},c)=>{const l=d("digit-icon",i,{"digit-icon-spin":n});return f(()=>{g()},[]),e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",className:l,ref:c,width:t,height:t,strokeWidth:r,strokeLinecap:a,strokeLinejoin:o,...m},e.createElement("g",{fill:s,fillRule:"evenodd",transform:"translate(2 3)"},e.createElement("rect",{width:"36",height:"7",y:"-.583",rx:"2"}),e.createElement("path",{d:"M34 8.417a2 2 0 0 1 2 2v22a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-22a2 2 0 0 1 2-2zm-11.5 17h-17a1.5 1.5 0 0 0 0 3h17a1.5 1.5 0 0 0 0-3m-7-7h-10a1.5 1.5 0 0 0 0 3h10a1.5 1.5 0 0 0 0-3m8.5-7a2 2 0 1 0 0 4 2 2 0 0 0 0-4m6 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4"})))});export{p as default};
