1import{$ as D,a0 as g,n as x,D as O,a1 as S,B as C,V as y,X as F}from"./5YXSnQcP.js";function M(e){return D()?(g(e),!0):!1}const R=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const P=Object.prototype.toString,V=e=>P.call(e)==="[object Object]",d=()=>{};function h(e,r){function t(...n){return new Promise((i,o)=>{Promise.resolve(e(()=>r.apply(this,n),{fn:r,thisArg:this,args:n})).then(i).catch(o)})}return t}function A(e,r={}){let t,n,i=d;const o=a=>{clearTimeout(a),i(),i=d};let u;return a=>{const l=y(e),s=y(r.maxWait);return t&&o(t),l<=0||s!==void 0&&s<=0?(n&&(o(n),n=null),Promise.resolve(a())):new Promise((f,p)=>{i=r.rejectOnCancel?p:f,u=a,s&&!n&&(n=setTimeout(()=>{t&&o(t),n=null,f(u())},s)),t=setTimeout(()=>{n&&o(n),n=null,f(a())},l)})}}function W(...e){let r=0,t,n=!0,i=d,o,u,c,a,l;!S(e[0])&&typeof e[0]=="object"?{delay:u,trailing:c=!0,leading:a=!0,rejectOnCancel:l=!1}=e[0]:[u,c=!0,a=!0,l=!1]=e;const s=()=>{t&&(clearTimeout(t),t=void 0,i(),i=d)};return p=>{const m=y(u),T=Date.now()-r,w=()=>o=p();return s(),m<=0?(r=Date.now(),w()):(T>m&&(a||!n)?(r=Date.now(),w()):c&&(o=new Promise((b,j)=>{i=l?j:b,t=setTimeout(()=>{r=Date.now(),n=!0,b(w()),s()},Math.max(0,m-T))})),!a&&!t&&(t=setTimeout(()=>n=!0,m)),n=!1,o)}}function k(e){return F()}function G(e){return Array.isArray(e)?e:[e]}function L(e,r=200,t={}){return h(A(r,t),e)}function B(e,r=200,t=!1,n=!0,i=!1){return h(W(r,t,n,i),e)}function E(e,r=!0,t){k()?x(e,t):r?e():O(e)}function X(e,r,t){return C(e,r,{...t,immediate:!0})}export{E as a,B as b,G as c,V as d,R as i,d as n,M as t,L as u,X as w};
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.