1import{En as e,Ht as t,L as n,_n as r,an as i,bn as a,ct as o,nn as s,pn as c,tt as l,un as u,vn as d,wn as f}from"./CoKk4mC0.js";function p(e,t){return i()?(c(e,t),!0):!1}var m=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var h=e=>e!=null,g=Object.prototype.toString,_=e=>g.call(e)===`[object Object]`,v=()=>+Date.now(),y=()=>{},b=x();function x(){var e,t;return m&&!!(!((e=window)==null||(e=e.navigator)==null)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function S(...e){if(e.length!==1)return f(...e);let t=e[0];return typeof t==`function`?r(s(()=>({get:t,set:y}))):d(t)}function C(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var w=e=>e();function T(t,n={}){let r,i,a=y,o=e=>{clearTimeout(e),a(),a=y},s;return c=>{let l=e(t),u=e(n.maxWait);return r&&o(r),l<=0||u!==void 0&&u<=0?(i&&=(o(i),void 0),Promise.resolve(c())):new Promise((e,t)=>{a=n.rejectOnCancel?t:e,s=c,u&&!i&&(i=setTimeout(()=>{r&&o(r),i=void 0,e(s())},u)),r=setTimeout(()=>{i&&o(i),i=void 0,e(c())},l)})}}function E(...t){let n=0,r,i=!0,a=y,o,s,c,l,d;!u(t[0])&&typeof t[0]==`object`?{delay:s,trailing:c=!0,leading:l=!0,rejectOnCancel:d=!1}=t[0]:[s,c=!0,l=!0,d=!1]=t;let f=()=>{r&&(clearTimeout(r),r=void 0,a(),a=y)};return t=>{let u=e(s),p=Date.now()-n,m=()=>o=t();return f(),u<=0?(n=Date.now(),m()):(p>u?(n=Date.now(),(l||!i)&&m()):c&&(o=new Promise((e,t)=>{a=d?t:e,r=setTimeout(()=>{n=Date.now(),i=!0,e(m()),f()},Math.max(0,u-p))})),!l&&!r&&(r=setTimeout(()=>i=!0,u)),i=!1,o)}}function D(e=w,t={}){let{initialState:n=`active`}=t,r=S(n===`active`);function i(){r.value=!1}function o(){r.value=!0}return{isActive:a(r),pause:i,resume:o,eventFilter:(...t)=>{r.value&&e(...t)}}}function O(e){return Array.isArray(e)?e:[e]}function k(e){return e||n()}function A(e,t=200,n=!1,r=!0,i=!1){return C(E(t,n,r,i),e)}function j(e,n,r={}){let{eventFilter:i=w,...a}=r;return t(e,C(i,n),a)}function M(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=D(r,{initialState:i});return{stop:j(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function N(e,t=!0,n){k(n)?o(e,n):t?e():l(e)}function P(e,t,n={}){let{debounce:r=0,maxWait:i=void 0,...a}=n;return j(e,t,{...a,eventFilter:T(r,{maxWait:i})})}function F(e,n,r){return t(e,n,{...r,immediate:!0})}export{y as a,v as c,p as d,A as f,M as h,_ as i,O as l,F as m,m as n,h as o,P as p,b as r,E as s,C as t,N as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.