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",...c},l)=>{const m=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:m,ref:l,width:t,height:t,strokeWidth:r,strokeLinecap:a,strokeLinejoin:o,...c},e.createElement("g",{fill:s,fillRule:"evenodd",transform:"translate(2 3)"},e.createElement("rect",{width:"36",height:"7",rx:"2"}),e.createElement("path",{d:"M2 9h9a2 2 0 0 1 2 2v21a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V11a2 2 0 0 1 2-2M18 9h16a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H18a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2M18 18h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-5.945L26 34l-1.98-2H18a2 2 0 0 1-2-2V20a2 2 0 0 1 2-2"})))});export{p as default};
