import{E as S,D as lr}from"./app-PFKfXWEI.js";var p,H;function mr(){if(H)return p;H=1;var e=typeof S=="object"&&S&&S.Object===Object&&S;return p=e,p}var I,z;function ur(){if(z)return I;z=1;var e=mr(),r=typeof self=="object"&&self&&self.Object===Object&&self,n=e||r||Function("return this")();return I=n,I}var x,J;function fr(){if(J)return x;J=1;var e=ur(),r=e.Symbol;return x=r,x}var E,K;function gr(){if(K)return E;K=1;var e=fr(),r=Object.prototype,n=r.hasOwnProperty,i=r.toString,o=e?e.toStringTag:void 0;function b(u){var f=n.call(u,o),c=u[o];try{u[o]=void 0;var t=!0}catch{}var s=i.call(u);return t&&(f?u[o]=c:delete u[o]),s}return E=b,E}var N,Q;function vr(){if(Q)return N;Q=1;var e=Object.prototype,r=e.toString;function n(i){return r.call(i)}return N=n,N}var k,V;function Tr(){if(V)return k;V=1;var e=fr(),r=gr(),n=vr(),i="[object Null]",o="[object Undefined]",b=e?e.toStringTag:void 0;function u(f){return f==null?f===void 0?o:i:b&&b in Object(f)?r(f):n(f)}return k=u,k}var w,Y;function M(){if(Y)return w;Y=1;function e(r){var n=typeof r;return r!=null&&(n=="object"||n=="function")}return w=e,w}var G,Z;function yr(){if(Z)return G;Z=1;function e(r){return r!=null&&typeof r=="object"}return G=e,G}var L,rr;function hr(){if(rr)return L;rr=1;var e=Tr(),r=yr(),n="[object Symbol]";function i(o){return typeof o=="symbol"||r(o)&&e(o)==n}return L=i,L}var W,er;function jr(){if(er)return W;er=1;var e=ur(),r=function(){return e.Date.now()};return W=r,W}var C,tr;function _r(){if(tr)return C;tr=1;var e=/\s/;function r(n){for(var i=n.length;i--&&e.test(n.charAt(i)););return i}return C=r,C}var D,nr;function Sr(){if(nr)return D;nr=1;var e=_r(),r=/^\s+/;function n(i){return i&&i.slice(0,e(i)+1).replace(r,"")}return D=n,D}var F,ir;function qr(){if(ir)return F;ir=1;var e=Sr(),r=M(),n=hr(),i=NaN,o=/^[-+]0x[0-9a-f]+$/i,b=/^0b[01]+$/i,u=/^0o[0-7]+$/i,f=parseInt;function c(t){if(typeof t=="number")return t;if(n(t))return i;if(r(t)){var s=typeof t.valueOf=="function"?t.valueOf():t;t=r(s)?s+"":s}if(typeof t!="string")return t===0?t:+t;t=e(t);var l=b.test(t);return l||u.test(t)?f(t.slice(2),l?2:8):o.test(t)?i:+t}return F=c,F}var P,ar;function Or(){if(ar)return P;ar=1;var e=M(),r=jr(),n=qr(),i="Expected a function",o=Math.max,b=Math.min;function u(f,c,t){var s,l,j,v,d,g,T=0,B=!1,y=!1,q=!0;if(typeof f!="function")throw new TypeError(i);c=n(c)||0,e(t)&&(B=!!t.leading,y="maxWait"in t,j=y?o(n(t.maxWait)||0,c):j,q="trailing"in t?!!t.trailing:q);function O(a){var m=s,h=l;return s=l=void 0,T=a,v=f.apply(h,m),v}function cr(a){return T=a,d=setTimeout(_,c),B?O(a):v}function sr(a){var m=a-g,h=a-T,X=c-m;return y?b(X,j-h):X}function U(a){var m=a-g,h=a-T;return g===void 0||m>=c||m<0||y&&h>=j}function _(){var a=r();if(U(a))return $(a);d=setTimeout(_,sr(a))}function $(a){return d=void 0,q&&s?O(a):(s=l=void 0,v)}function dr(){d!==void 0&&clearTimeout(d),T=0,s=g=l=d=void 0}function br(){return d===void 0?v:$(r())}function R(){var a=r(),m=U(a);if(s=arguments,l=this,g=a,m){if(d===void 0)return cr(g);if(y)return clearTimeout(d),d=setTimeout(_,c),O(g)}return d===void 0&&(d=setTimeout(_,c)),v}return R.cancel=dr,R.flush=br,R}return P=u,P}var A,or;function Rr(){if(or)return A;or=1;var e=Or(),r=M(),n="Expected a function";function i(o,b,u){var f=!0,c=!0;if(typeof o!="function")throw new TypeError(n);return r(u)&&(f="leading"in u?!!u.leading:f,c="trailing"in u?!!u.trailing:c),e(o,b,{leading:f,maxWait:b,trailing:c})}return A=i,A}var pr=Rr();const xr=lr(pr);export{hr as a,fr as b,Tr as c,ur as d,yr as e,mr as f,M as r,xr as t};
