/* esm.sh - scheduler@0.23.2 */ var __setImmediate$ = (cb, ...args) => ( { $t: setTimeout(cb, 0, ...args), [Symbol.dispose](){ clearTimeout(this.t) } }); var V=Object.create;var B=Object.defineProperty;var U=Object.getOwnPropertyDescriptor;var X=Object.getOwnPropertyNames;var Z=Object.getPrototypeOf,$=Object.prototype.hasOwnProperty;var D=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports);var ee=(e,n,t,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of X(n))!$.call(e,i)&&i!==t&&B(e,i,{get:()=>n[i],enumerable:!(l=U(n,i))||l.enumerable});return e};var ne=(e,n,t)=>(t=e!=null?V(Z(e)):{},ee(n||!e||!e.__esModule?B(t,"default",{value:e,enumerable:!0}):t,e));var K=D(r=>{"use strict";function L(e,n){var t=e.length;e.push(n);e:for(;0>>1,i=e[l];if(0>>1;lg(I,t))bg(m,I)?(e[l]=m,e[b]=t,l=b):(e[l]=I,e[f]=t,l=f);else if(bg(m,t))e[l]=m,e[b]=t,l=b;else break e}}return n}function g(e,n){var t=e.sortIndex-n.sortIndex;return t!==0?t:e.id-n.id}typeof performance=="object"&&typeof performance.now=="function"?(q=performance,r.unstable_now=function(){return q.now()}):(C=Date,O=C.now(),r.unstable_now=function(){return C.now()-O});var q,C,O,s=[],c=[],te=1,a=null,u=3,P=!1,_=!1,v=!1,z=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,W=typeof __setImmediate$<"u"?__setImmediate$:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function N(e){for(var n=o(c);n!==null;){if(n.callback===null)k(c);else if(n.startTime<=e)k(c),n.sortIndex=n.expirationTime,L(s,n);else break;n=o(c)}}function j(e){if(v=!1,N(e),!_)if(o(s)!==null)_=!0,M(F);else{var n=o(c);n!==null&&R(j,n.startTime-e)}}function F(e,n){_=!1,v&&(v=!1,A(d),d=-1),P=!0;var t=u;try{for(N(n),a=o(s);a!==null&&(!(a.expirationTime>n)||e&&!J());){var l=a.callback;if(typeof l=="function"){a.callback=null,u=a.priorityLevel;var i=l(a.expirationTime<=n);n=r.unstable_now(),typeof i=="function"?a.callback=i:a===o(s)&&k(s),N(n)}else k(s);a=o(s)}if(a!==null)var y=!0;else{var f=o(c);f!==null&&R(j,f.startTime-n),y=!1}return y}finally{a=null,u=t,P=!1}}var w=!1,h=null,d=-1,G=5,H=-1;function J(){return!(r.unstable_now()-He||125l?(e.sortIndex=t,L(c,e),o(s)===null&&e===o(c)&&(v?(A(d),d=-1):v=!0,R(j,t-l))):(e.sortIndex=i,L(s,e),_||P||(_=!0,M(F))),e};r.unstable_shouldYield=J;r.unstable_wrapCallback=function(e){var n=u;return function(){var t=u;u=n;try{return e.apply(this,arguments)}finally{u=t}}}});var S=D((ie,Q)=>{"use strict";Q.exports=K()});var x=ne(S()),{unstable_now:ue,unstable_IdlePriority:ae,unstable_ImmediatePriority:oe,unstable_LowPriority:se,unstable_NormalPriority:ce,unstable_Profiling:fe,unstable_UserBlockingPriority:be,unstable_cancelCallback:_e,unstable_continueExecution:pe,unstable_forceFrameRate:ve,unstable_getCurrentPriorityLevel:de,unstable_getFirstCallbackNode:ye,unstable_next:me,unstable_pauseExecution:ge,unstable_requestPaint:he,unstable_runWithPriority:ke,unstable_scheduleCallback:Pe,unstable_shouldYield:we,unstable_wrapCallback:xe}=x,Ie=x.default??x;export{Ie as default,ae as unstable_IdlePriority,oe as unstable_ImmediatePriority,se as unstable_LowPriority,ce as unstable_NormalPriority,fe as unstable_Profiling,be as unstable_UserBlockingPriority,_e as unstable_cancelCallback,pe as unstable_continueExecution,ve as unstable_forceFrameRate,de as unstable_getCurrentPriorityLevel,ye as unstable_getFirstCallbackNode,me as unstable_next,ue as unstable_now,ge as unstable_pauseExecution,he as unstable_requestPaint,ke as unstable_runWithPriority,Pe as unstable_scheduleCallback,we as unstable_shouldYield,xe as unstable_wrapCallback}; /*! Bundled license information: scheduler/cjs/scheduler.production.min.js: (** * @license React * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) */ //# sourceMappingURL=scheduler.mjs.map