"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue");function c(n,s=16.67){let u=n,l=!1,t=null;return a.customRef((o,f)=>{const r=e=>{if(e!==u){if(l){t=e;return}u=e,f(),l=!0,setTimeout(()=>{if(l=!1,t!==null){const i=t;t=null,r(i)}},s)}};return{get(){return o(),u},set(e){r(e)}}})}exports.useThrottleRef=c;
