const e=require("../_util/classNames.js"),t=require("../_util/props-util/index.js"),n=require("../config-provider/hooks/useConfigInject.js"),r=require("../_util/vue-types/index.js"),i=require("../_util/vnode.js"),a=require("./SingleNumber.js");let o=require("vue");var s={prefixCls:String,count:r.default.any,component:String,title:r.default.any,show:Boolean},c=(0,o.defineComponent)({compatConfig:{MODE:3},name:`ScrollNumber`,inheritAttrs:!1,props:s,setup(r,{attrs:s,slots:c}){let{prefixCls:l}=n.default(`scroll-number`,r);return()=>{let{prefixCls:n,count:u,title:d,show:f,component:p=`sup`,class:m,style:h,...g}={...r,...s},_={...g,style:h,"data-show":r.show,class:e.default(l.value,m),title:d},v=u;if(u&&Number(u)%1==0){let e=String(u).split(``);v=e.map((t,n)=>(0,o.createVNode)(a.default,{prefixCls:l.value,count:Number(u),value:t,key:e.length-n},null))}h&&h.borderColor&&(_.style={...h,boxShadow:`0 0 0 1px ${h.borderColor} inset`});let y=t.filterEmpty(c.default?.());return y&&y.length?i.cloneElement(y,{class:e.default(`${l.value}-custom-component`)},!1):(0,o.createVNode)(p,_,{default:()=>[v]})}}});exports.default=c;