"use strict";(self["webpackChunkgolden_software"]=self["webpackChunkgolden_software"]||[]).push([[967],{4967:function(e,t,u){u.r(t),u.d(t,{default:function(){return f}});var a=u(3396),l=u(2268),r=u(4870);const n={class:"text-lg leading-tight text-gray-500 dark:text-gray-400"};var i={__name:"GrowingNumber",props:{prefix:{type:String,default:null},suffix:{type:String,default:null},value:{type:Number,default:0},duration:{type:Number,default:500}},setup(e){const t=e,u=(0,r.iH)(0),i=(0,a.Fl)((()=>t.value)),s=e=>{const t=Math.ceil(u.value+e);if(t>i.value)return u.value=i.value,!1;u.value=t,setTimeout((()=>{s(e)}),25)},f=()=>{s(t.value/(t.duration/25))};return(0,a.YP)(i,(()=>{f()})),(0,a.bv)((()=>{f()})),(t,u)=>((0,a.wg)(),(0,a.iD)("div",null,[(0,a.Uk)((0,l.zw)(e.prefix)+" ",1),(0,a._)("span",n,(0,l.zw)(e.suffix),1)]))}};const s=i;var f=s}}]);
//# sourceMappingURL=967.91d85a39.js.map