import e,{forwardRef as f,useEffect as m}from"react";import d from"classnames";import{injectDigitIconCss as h}from"./utils.mjs";const p=f(({className:r,size:t="1em",strokeWidth:i=0,strokeLinecap:o="butt",strokeLinejoin:l="miter",spin:a=!1,fill:g="currentColor",...n},c)=>{const s=d("digit-icon",r,{"digit-icon-spin":a});return m(()=>{h()},[]),e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",className:s,ref:c,width:t,height:t,strokeWidth:i,strokeLinecap:o,strokeLinejoin:l,...n},e.createElement("defs",null,e.createElement("linearGradient",{id:"svg_3c7d9eedb9__a",x1:"50%",x2:"50%",y1:"0%",y2:"100%"},e.createElement("stop",{offset:"0%",stopColor:"#A9ECDA"}),e.createElement("stop",{offset:"100%",stopColor:"#6BBEA8"})),e.createElement("linearGradient",{id:"svg_3c7d9eedb9__b",x1:"50%",x2:"50%",y1:"0%",y2:"100%"},e.createElement("stop",{offset:"0%",stopColor:"#7FE9CC"}),e.createElement("stop",{offset:"100%",stopColor:"#3BB796"}))),e.createElement("g",{fill:"none",fillRule:"evenodd",transform:"translate(3.5 4)"},e.createElement("rect",{width:"12",height:"14",y:"4",fill:"url(#svg_3c7d9eedb9__a)",fillOpacity:".9",rx:"2"}),e.createElement("rect",{width:"20",height:"22",x:"3",fill:"url(#svg_3c7d9eedb9__b)",fillOpacity:".9",rx:"3"}),e.createElement("rect",{width:"7",height:"2",x:"5",y:"7",fill:"#FFF",opacity:".8",rx:"1"}),e.createElement("g",{fill:"#FFF",opacity:".8",transform:"translate(15.3 4.818)"},e.createElement("rect",{width:"3",height:"2",x:".268",y:"2.182",rx:"1",transform:"rotate(45 1.768 3.182)"}),e.createElement("rect",{width:"5",height:"2",x:".975",y:"1.475",rx:"1",transform:"rotate(135 3.475 2.475)"})),e.createElement("rect",{width:"2",height:"2",x:"17",y:"12",fill:"#FFF",opacity:".8",rx:"1"}),e.createElement("rect",{width:"10",height:"2",x:"5",y:"12",fill:"#FFF",opacity:".8",rx:"1"})))});export{p as default};
