import { defineComponent, ref, mergeProps, unref, useSSRContext } from "vue";
import { ssrRenderAttrs, ssrInterpolate } from "vue/server-renderer";
const _sfc_main = /* @__PURE__ */ defineComponent({
  __name: "Count",
  __ssrInlineRender: true,
  props: {
    endValue: {
      type: Number,
      default: 0
    },
    duration: {
      type: Number,
      default: 2e3
    }
  },
  setup(__props) {
    const props = __props;
    const displayValue = ref(props.endValue);
    ref(false);
    const el = ref(null);
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<span${ssrRenderAttrs(mergeProps({
        ref_key: "el",
        ref: el,
        class: "text-accent text-[1.75rem]"
      }, _attrs))}>${ssrInterpolate(unref(displayValue).toLocaleString())}</span>`);
    };
  }
});
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/global/Count.vue");
  return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};
export {
  _sfc_main as default
};
//# sourceMappingURL=Count-BGEyTm0C.js.map
