import{r as q}from"./ms.564e106c.js";var g={exports:{}},v,k;function R(){if(k)return v;k=1;function c(s){e.debug=e,e.default=e,e.coerce=l,e.disable=b,e.enable=h,e.enabled=w,e.humanize=q(),e.destroy=a,Object.keys(s).forEach(t=>{e[t]=s[t]}),e.names=[],e.skips=[],e.formatters={};function p(t){let n=0;for(let o=0;o{if(y==="%%")return"%";F++;const E=e.formatters[j];if(typeof E=="function"){const O=i[F];y=E.call(u,O),i.splice(F,1),F--}return y}),e.formatArgs.call(u,i),(u.log||e.log).apply(u,i)}return C.namespace=t,C.useColors=e.useColors(),C.color=e.selectColor(t),C.extend=m,C.destroy=e.destroy,Object.defineProperty(C,"enabled",{enumerable:!0,configurable:!1,get:()=>o!==null?o:(f!==e.namespaces&&(f=e.namespaces,A=e.enabled(t)),A),set:i=>{o=i}}),typeof e.init=="function"&&e.init(C),C}function m(t,n){const o=e(this.namespace+(typeof n>"u"?":":n)+t);return o.log=this.log,o}function h(t){e.save(t),e.namespaces=t,e.names=[],e.skips=[];let n;const o=(typeof t=="string"?t:"").split(/[\s,]+/),f=o.length;for(n=0;n"-"+n)].join(",");return e.enable(""),t}function w(t){if(t[t.length-1]==="*")return!0;let n,o;for(n=0,o=e.skips.length;n{let r=!1;return()=>{r||(r=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),s.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function p(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function e(r){if(r[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+r[0]+(this.useColors?"%c ":" ")+"+"+c.exports.humanize(this.diff),!this.useColors)return;const l="color: "+this.color;r.splice(1,0,l,"color: inherit");let a=0,t=0;r[0].replace(/%[a-zA-Z%]/g,n=>{n!=="%%"&&(a++,n==="%c"&&(t=a))}),r.splice(t,0,l)}s.log=console.debug||console.log||(()=>{});function m(r){try{r?s.storage.setItem("debug",r):s.storage.removeItem("debug")}catch{}}function h(){let r;try{r=s.storage.getItem("debug")}catch{}return!r&&typeof process<"u"&&"env"in process&&(r={}.DEBUG),r}function b(){try{return localStorage}catch{}}c.exports=R()(s);const{formatters:w}=c.exports;w.j=function(r){try{return JSON.stringify(r)}catch(l){return"[UnexpectedJSONParseError]: "+l.message}}}(g,g.exports)),g.exports}export{D as r};