import{g as r}from"./p-2d180048.js";function e(){throw new Error("setTimeout has not been defined")}function t(){throw new Error("clearTimeout has not been defined")}var n=e;var i=t;if(typeof r.setTimeout==="function"){n=setTimeout}if(typeof r.clearTimeout==="function"){i=clearTimeout}function o(r){if(n===setTimeout){return setTimeout(r,0)}if((n===e||!n)&&setTimeout){n=setTimeout;return setTimeout(r,0)}try{return n(r,0)}catch(e){try{return n.call(null,r,0)}catch(e){return n.call(this,r,0)}}}function a(r){if(i===clearTimeout){return clearTimeout(r)}if((i===t||!i)&&clearTimeout){i=clearTimeout;return clearTimeout(r)}try{return i(r)}catch(e){try{return i.call(null,r)}catch(e){return i.call(this,r)}}}var u=[];var f=false;var c;var s=-1;function v(){if(!f||!c){return}f=false;if(c.length){u=c.concat(u)}else{s=-1}if(u.length){l()}}function l(){if(f){return}var r=o(v);f=true;var e=u.length;while(e){c=u;u=[];while(++s<e){if(c){c[s].run()}}s=-1;e=u.length}c=null;f=false;a(r)}function h(r){var e=new Array(arguments.length-1);if(arguments.length>1){for(var t=1;t<arguments.length;t++){e[t-1]=arguments[t]}}u.push(new m(r,e));if(u.length===1&&!f){o(l)}}function m(r,e){this.fun=r;this.array=e}m.prototype.run=function(){this.fun.apply(null,this.array)};var w="browser";var T="browser";var d=true;var p={};var b=[];var y="";var g={};var E={};var D={};function L(){}var k=L;var x=L;var A=L;var M=L;var j=L;var q=L;var z=L;function B(r){throw new Error("process.binding is not supported")}function C(){return"/"}function F(r){throw new Error("process.chdir is not supported")}function G(){return 0}var H=r.performance||{};var I=H.now||H.mozNow||H.msNow||H.oNow||H.webkitNow||function(){return(new Date).getTime()};function J(r){var e=I.call(H)*.001;var t=Math.floor(e);var n=Math.floor(e%1*1e9);if(r){t=t-r[0];n=n-r[1];if(n<0){t--;n+=1e9}}return[t,n]}var K=new Date;function N(){var r=new Date;var e=r-K;return e/1e3}var O={nextTick:h,title:w,browser:d,env:p,argv:b,version:y,versions:g,on:k,addListener:x,once:A,off:M,removeListener:j,removeAllListeners:q,emit:z,binding:B,cwd:C,chdir:F,umask:G,hrtime:J,platform:T,release:E,config:D,uptime:N};export{O as b};
//# sourceMappingURL=p-e369b114.js.map