1import{q as p,N as g,p as D,m as N,X as W,Z as B}from"./D1bxrZK0.js";function R(e){return N()?(W(e),!0):!1}const U=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const F=Object.prototype.toString,q=e=>F.call(e)==="[object Object]",O=()=>{};function k(e,i){function n(...r){return new Promise((u,c)=>{Promise.resolve(e(()=>i.apply(this,r),{fn:i,thisArg:this,args:r})).then(u).catch(c)})}return n}function G(e,i={}){let n,r,u=O;const c=m=>{clearTimeout(m),u(),u=O};let w;return m=>{const y=p(e),a=p(i.maxWait);return n&&c(n),y<=0||a!==void 0&&a<=0?(r&&(c(r),r=void 0),Promise.resolve(m())):new Promise((t,o)=>{u=i.rejectOnCancel?o:t,w=m,a&&!r&&(r=setTimeout(()=>{n&&c(n),r=void 0,t(w())},a)),n=setTimeout(()=>{r&&c(r),r=void 0,t(m())},y)})}}function x(e,i=!1,n="Timeout"){return new Promise((r,u)=>{setTimeout(i?()=>u(n):r,e)})}function v(e){return Array.isArray(e)?e:[e]}function M(e,i=200,n={}){return k(G(i,n),e)}function A(e,i=!1){function n(t,{flush:o="sync",deep:l=!1,timeout:d,throwOnTimeout:T}={}){let s=null;const P=[new Promise(b=>{s=g(e,h=>{t(h)!==i&&(s?s():B(()=>s?.()),b(h))},{flush:o,deep:l,immediate:!0})})];return d!=null&&P.push(x(d,T).then(()=>p(e)).finally(()=>s?.())),Promise.race(P)}function r(t,o){if(!D(t))return n(h=>h===t,o);const{flush:l="sync",deep:d=!1,timeout:T,throwOnTimeout:s}=o??{};let f=null;const b=[new Promise(h=>{f=g([e,t],([j,C])=>{i!==(j===C)&&(f?f():B(()=>f?.()),h(j))},{flush:l,deep:d,immediate:!0})})];return T!=null&&b.push(x(T,s).then(()=>p(e)).finally(()=>(f?.(),p(e)))),Promise.race(b)}function u(t){return n(o=>!!o,t)}function c(t){return r(null,t)}function w(t){return r(void 0,t)}function S(t){return n(Number.isNaN,t)}function m(t,o){return n(l=>{const d=Array.from(l);return d.includes(t)||d.includes(p(t))},o)}function y(t){return a(1,t)}function a(t=1,o){let l=-1;return n(()=>(l+=1,l>=t),o)}return Array.isArray(p(e))?{toMatch:n,toContains:m,changed:y,changedTimes:a,get not(){return A(e,!i)}}:{toMatch:n,toBe:r,toBeTruthy:u,toBeNull:c,toBeNaN:S,toBeUndefined:w,changed:y,changedTimes:a,get not(){return A(e,!i)}}}function V(e){return A(e)}function X(e,i,n){return g(e,i,{...n,immediate:!0})}export{M as a,q as b,R as c,U as i,O as n,v as t,V as u,X as w}; 2//# sourceMappingURL=gKS4IHxm.js.map
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.