@harbour-enterprises/superdoc 0.12.3 → 0.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/chunks/{index-kAA2CRkl.es.js → index-BTkgQgI7.es.js} +1 -1
  2. package/dist/chunks/{index-71EH9929.cjs → index-C6SLw2ph.cjs} +1 -1
  3. package/dist/chunks/{index-DJ2cGnRl.cjs → index-CbUTRvRk.cjs} +1 -1
  4. package/dist/chunks/{index-DRzufgTV.es.js → index-kWwSELc2.es.js} +2 -2
  5. package/dist/chunks/{super-editor.es-DXcOd-nD.es.js → super-editor.es-BCpf9QPV.es.js} +3572 -3548
  6. package/dist/chunks/{super-editor.es-Di7L9sdJ.cjs → super-editor.es-Cv7EXE-U.cjs} +57 -57
  7. package/dist/chunks/{url-BcsmChMq.es.js → url-C29KYeaj.es.js} +1 -1
  8. package/dist/chunks/{url-CHPOWQEe.cjs → url-DRGmEUtI.cjs} +1 -1
  9. package/dist/chunks/xml-js-CMQ3QRee.cjs +10 -0
  10. package/dist/chunks/{xml-js-CiXFCQBs.es.js → xml-js-CgHhGhcJ.es.js} +355 -366
  11. package/dist/style.css +28 -28
  12. package/dist/super-editor/ai-writer.es.js +2 -2
  13. package/dist/super-editor/chunks/{converter-BJtjyWXx.js → converter-D2eDK1gC.js} +2 -2
  14. package/dist/super-editor/chunks/{docx-zipper-BVv8YIej.js → docx-zipper-CUWlm0wz.js} +1 -1
  15. package/dist/super-editor/chunks/{editor-C4x0LU8R.js → editor-DWsjMOgq.js} +1633 -1609
  16. package/dist/super-editor/chunks/{toolbar-C3dMNXWg.js → toolbar-DH5bDQlH.js} +2 -2
  17. package/dist/super-editor/converter.es.js +1 -1
  18. package/dist/super-editor/core/Editor.d.ts +16 -0
  19. package/dist/super-editor/core/Editor.d.ts.map +1 -1
  20. package/dist/super-editor/docx-zipper.es.js +2 -2
  21. package/dist/super-editor/editor.es.js +3 -3
  22. package/dist/super-editor/extensions/collaboration/collaboration.d.ts +3 -0
  23. package/dist/super-editor/extensions/collaboration/collaboration.d.ts.map +1 -1
  24. package/dist/super-editor/file-zipper.es.js +1 -1
  25. package/dist/super-editor/super-editor.es.js +6 -6
  26. package/dist/super-editor/toolbar.es.js +2 -2
  27. package/dist/super-editor.cjs +1 -1
  28. package/dist/super-editor.es.js +1 -1
  29. package/dist/superdoc.cjs +18 -18
  30. package/dist/superdoc.es.js +295 -294
  31. package/dist/superdoc.umd.js +1937 -1912
  32. package/dist/superdoc.umd.js.map +1 -1
  33. package/package.json +1 -1
  34. package/dist/chunks/xml-js-jS9zLULc.cjs +0 -10
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@harbour-enterprises/superdoc",
3
3
  "type": "module",
4
- "version": "0.12.3",
4
+ "version": "0.12.4",
5
5
  "license": "AGPL-3.0",
6
6
  "readme": "../../README.md",
7
7
  "files": [
@@ -1,10 +0,0 @@
1
- "use strict";const ne=require("./jszip-D9YbjC4E.cjs"),L=require("./vue-BQCc2YbW.cjs");var Xe={exports:{}};typeof Object.create=="function"?Xe.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:Xe.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}};var zr=Xe.exports,fr={exports:{}},re=typeof Reflect=="object"?Reflect:null,gr=re&&typeof re.apply=="function"?re.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)},me;re&&typeof re.ownKeys=="function"?me=re.ownKeys:Object.getOwnPropertySymbols?me=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:me=function(e){return Object.getOwnPropertyNames(e)};function Bt(r){console&&console.warn&&console.warn(r)}var Vr=Number.isNaN||function(e){return e!==e};function P(){P.init.call(this)}fr.exports=P;fr.exports.once=It;P.EventEmitter=P;P.prototype._events=void 0;P.prototype._eventsCount=0;P.prototype._maxListeners=void 0;var vr=10;function Be(r){if(typeof r!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r)}Object.defineProperty(P,"defaultMaxListeners",{enumerable:!0,get:function(){return vr},set:function(r){if(typeof r!="number"||r<0||Vr(r))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+r+".");vr=r}});P.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};P.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||Vr(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function Hr(r){return r._maxListeners===void 0?P.defaultMaxListeners:r._maxListeners}P.prototype.getMaxListeners=function(){return Hr(this)};P.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i=e==="error",l=this._events;if(l!==void 0)i=i&&l.error===void 0;else if(!i)return!1;if(i){var u;if(t.length>0&&(u=t[0]),u instanceof Error)throw u;var d=new Error("Unhandled error."+(u?" ("+u.message+")":""));throw d.context=u,d}var y=l[e];if(y===void 0)return!1;if(typeof y=="function")gr(y,this,t);else for(var m=y.length,w=Qr(y,m),n=0;n<m;++n)gr(w[n],this,t);return!0};function Jr(r,e,t,n){var i,l,u;if(Be(t),l=r._events,l===void 0?(l=r._events=Object.create(null),r._eventsCount=0):(l.newListener!==void 0&&(r.emit("newListener",e,t.listener?t.listener:t),l=r._events),u=l[e]),u===void 0)u=l[e]=t,++r._eventsCount;else if(typeof u=="function"?u=l[e]=n?[t,u]:[u,t]:n?u.unshift(t):u.push(t),i=Hr(r),i>0&&u.length>i&&!u.warned){u.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+u.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=r,d.type=e,d.count=u.length,Bt(d)}return r}P.prototype.addListener=function(e,t){return Jr(this,e,t,!1)};P.prototype.on=P.prototype.addListener;P.prototype.prependListener=function(e,t){return Jr(this,e,t,!0)};function Tt(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Kr(r,e,t){var n={fired:!1,wrapFn:void 0,target:r,type:e,listener:t},i=Tt.bind(n);return i.listener=t,n.wrapFn=i,i}P.prototype.once=function(e,t){return Be(t),this.on(e,Kr(this,e,t)),this};P.prototype.prependOnceListener=function(e,t){return Be(t),this.prependListener(e,Kr(this,e,t)),this};P.prototype.removeListener=function(e,t){var n,i,l,u,d;if(Be(t),i=this._events,i===void 0)return this;if(n=i[e],n===void 0)return this;if(n===t||n.listener===t)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,n.listener||t));else if(typeof n!="function"){for(l=-1,u=n.length-1;u>=0;u--)if(n[u]===t||n[u].listener===t){d=n[u].listener,l=u;break}if(l<0)return this;l===0?n.shift():Ft(n,l),n.length===1&&(i[e]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",e,d||t)}return this};P.prototype.off=P.prototype.removeListener;P.prototype.removeAllListeners=function(e){var t,n,i;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[e]),this;if(arguments.length===0){var l=Object.keys(n),u;for(i=0;i<l.length;++i)u=l[i],u!=="removeListener"&&this.removeAllListeners(u);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(t=n[e],typeof t=="function")this.removeListener(e,t);else if(t!==void 0)for(i=t.length-1;i>=0;i--)this.removeListener(e,t[i]);return this};function Zr(r,e,t){var n=r._events;if(n===void 0)return[];var i=n[e];return i===void 0?[]:typeof i=="function"?t?[i.listener||i]:[i]:t?Rt(i):Qr(i,i.length)}P.prototype.listeners=function(e){return Zr(this,e,!0)};P.prototype.rawListeners=function(e){return Zr(this,e,!1)};P.listenerCount=function(r,e){return typeof r.listenerCount=="function"?r.listenerCount(e):Yr.call(r,e)};P.prototype.listenerCount=Yr;function Yr(r){var e=this._events;if(e!==void 0){var t=e[r];if(typeof t=="function")return 1;if(t!==void 0)return t.length}return 0}P.prototype.eventNames=function(){return this._eventsCount>0?me(this._events):[]};function Qr(r,e){for(var t=new Array(e),n=0;n<e;++n)t[n]=r[n];return t}function Ft(r,e){for(;e+1<r.length;e++)r[e]=r[e+1];r.pop()}function Rt(r){for(var e=new Array(r.length),t=0;t<e.length;++t)e[t]=r[t].listener||r[t];return e}function It(r,e){return new Promise(function(t,n){function i(u){r.removeListener(e,l),n(u)}function l(){typeof r.removeListener=="function"&&r.removeListener("error",i),t([].slice.call(arguments))}Xr(r,e,l,{once:!0}),e!=="error"&&Nt(r,i,{once:!0})})}function Nt(r,e,t){typeof r.on=="function"&&Xr(r,"error",e,t)}function Xr(r,e,t,n){if(typeof r.on=="function")n.once?r.once(e,t):r.on(e,t);else if(typeof r.addEventListener=="function")r.addEventListener(e,function i(l){n.once&&r.removeEventListener(e,i),t(l)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof r)}var _t=fr.exports;const et=ne.getAugmentedNamespace(ne.dist);var rt={},tt={},nt=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[t]=i;for(var l in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var u=Object.getOwnPropertySymbols(e);if(u.length!==1||u[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var d=Object.getOwnPropertyDescriptor(e,t);if(d.value!==i||d.enumerable!==!0)return!1}return!0},Ct=nt,Te=function(){return Ct()&&!!Symbol.toStringTag},ot=Object,Lt=Error,Ut=EvalError,Dt=RangeError,Mt=ReferenceError,it=SyntaxError,ie=TypeError,kt=URIError,Gt=Math.abs,xt=Math.floor,Wt=Math.max,qt=Math.min,zt=Math.pow,Vt=Math.round,Ht=Number.isNaN||function(e){return e!==e},Jt=Ht,Kt=function(e){return Jt(e)||e===0?e:e<0?-1:1},Zt=Object.getOwnPropertyDescriptor,be=Zt;if(be)try{be([],"length")}catch{be=null}var ae=be,Ae=Object.defineProperty||!1;if(Ae)try{Ae({},"a",{value:1})}catch{Ae=!1}var Fe=Ae,Ce,mr;function Yt(){if(mr)return Ce;mr=1;var r=typeof Symbol<"u"&&Symbol,e=nt;return Ce=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Ce}var Le,br;function at(){return br||(br=1,Le=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Le}var Ue,Ar;function ft(){if(Ar)return Ue;Ar=1;var r=ot;return Ue=r.getPrototypeOf||null,Ue}var De,wr;function Qt(){if(wr)return De;wr=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,n="[object Function]",i=function(y,m){for(var w=[],$=0;$<y.length;$+=1)w[$]=y[$];for(var E=0;E<m.length;E+=1)w[E+y.length]=m[E];return w},l=function(y,m){for(var w=[],$=m,E=0;$<y.length;$+=1,E+=1)w[E]=y[$];return w},u=function(d,y){for(var m="",w=0;w<d.length;w+=1)m+=d[w],w+1<d.length&&(m+=y);return m};return De=function(y){var m=this;if(typeof m!="function"||e.apply(m)!==n)throw new TypeError(r+m);for(var w=l(arguments,1),$,E=function(){if(this instanceof $){var a=m.apply(this,i(w,arguments));return Object(a)===a?a:this}return m.apply(y,i(w,arguments))},_=t(0,m.length-w.length),T=[],I=0;I<_;I++)T[I]="$"+I;if($=Function("binder","return function ("+u(T,",")+"){ return binder.apply(this,arguments); }")(E),m.prototype){var C=function(){};C.prototype=m.prototype,$.prototype=new C,C.prototype=null}return $},De}var Me,Sr;function ce(){if(Sr)return Me;Sr=1;var r=Qt();return Me=Function.prototype.bind||r,Me}var ke,Or;function sr(){return Or||(Or=1,ke=Function.prototype.call),ke}var Ge,Pr;function ur(){return Pr||(Pr=1,Ge=Function.prototype.apply),Ge}var Xt=typeof Reflect<"u"&&Reflect&&Reflect.apply,en=ce(),rn=ur(),tn=sr(),nn=Xt,st=nn||en.call(tn,rn),on=ce(),an=ie,fn=sr(),sn=st,cr=function(e){if(e.length<1||typeof e[0]!="function")throw new an("a function is required");return sn(on,fn,e)},un=cr,Er=ae,ut;try{ut=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var xe=!!ut&&Er&&Er(Object.prototype,"__proto__"),ct=Object,jr=ct.getPrototypeOf,cn=xe&&typeof xe.get=="function"?un([xe.get]):typeof jr=="function"?function(e){return jr(e==null?e:ct(e))}:!1,$r=at(),Br=ft(),Tr=cn,lr=$r?function(e){return $r(e)}:Br?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return Br(e)}:Tr?function(e){return Tr(e)}:null,We,Fr;function lt(){if(Fr)return We;Fr=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=ce();return We=t.call(r,e),We}var v,ln=ot,yn=Lt,pn=Ut,dn=Dt,hn=Mt,oe=it,te=ie,gn=kt,vn=Gt,mn=xt,bn=Wt,An=qt,wn=zt,Sn=Vt,On=Kt,yt=Function,qe=function(r){try{return yt('"use strict"; return ('+r+").constructor;")()}catch{}},ue=ae,Pn=Fe,ze=function(){throw new te},En=ue?function(){try{return arguments.callee,ze}catch{try{return ue(arguments,"callee").get}catch{return ze}}}():ze,Y=Yt()(),F=lr,jn=ft(),$n=at(),pt=ur(),le=sr(),X={},Bn=typeof Uint8Array>"u"||!F?v:F(Uint8Array),z={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?v:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?v:ArrayBuffer,"%ArrayIteratorPrototype%":Y&&F?F([][Symbol.iterator]()):v,"%AsyncFromSyncIteratorPrototype%":v,"%AsyncFunction%":X,"%AsyncGenerator%":X,"%AsyncGeneratorFunction%":X,"%AsyncIteratorPrototype%":X,"%Atomics%":typeof Atomics>"u"?v:Atomics,"%BigInt%":typeof BigInt>"u"?v:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?v:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?v:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?v:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":yn,"%eval%":eval,"%EvalError%":pn,"%Float16Array%":typeof Float16Array>"u"?v:Float16Array,"%Float32Array%":typeof Float32Array>"u"?v:Float32Array,"%Float64Array%":typeof Float64Array>"u"?v:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?v:FinalizationRegistry,"%Function%":yt,"%GeneratorFunction%":X,"%Int8Array%":typeof Int8Array>"u"?v:Int8Array,"%Int16Array%":typeof Int16Array>"u"?v:Int16Array,"%Int32Array%":typeof Int32Array>"u"?v:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Y&&F?F(F([][Symbol.iterator]())):v,"%JSON%":typeof JSON=="object"?JSON:v,"%Map%":typeof Map>"u"?v:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Y||!F?v:F(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":ln,"%Object.getOwnPropertyDescriptor%":ue,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?v:Promise,"%Proxy%":typeof Proxy>"u"?v:Proxy,"%RangeError%":dn,"%ReferenceError%":hn,"%Reflect%":typeof Reflect>"u"?v:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?v:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Y||!F?v:F(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?v:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Y&&F?F(""[Symbol.iterator]()):v,"%Symbol%":Y?Symbol:v,"%SyntaxError%":oe,"%ThrowTypeError%":En,"%TypedArray%":Bn,"%TypeError%":te,"%Uint8Array%":typeof Uint8Array>"u"?v:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?v:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?v:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?v:Uint32Array,"%URIError%":gn,"%WeakMap%":typeof WeakMap>"u"?v:WeakMap,"%WeakRef%":typeof WeakRef>"u"?v:WeakRef,"%WeakSet%":typeof WeakSet>"u"?v:WeakSet,"%Function.prototype.call%":le,"%Function.prototype.apply%":pt,"%Object.defineProperty%":Pn,"%Object.getPrototypeOf%":jn,"%Math.abs%":vn,"%Math.floor%":mn,"%Math.max%":bn,"%Math.min%":An,"%Math.pow%":wn,"%Math.round%":Sn,"%Math.sign%":On,"%Reflect.getPrototypeOf%":$n};if(F)try{null.error}catch(r){var Tn=F(F(r));z["%Error.prototype%"]=Tn}var Fn=function r(e){var t;if(e==="%AsyncFunction%")t=qe("async function () {}");else if(e==="%GeneratorFunction%")t=qe("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=qe("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=r("%AsyncGenerator%");i&&F&&(t=F(i.prototype))}return z[e]=t,t},Rr={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ye=ce(),Pe=lt(),Rn=ye.call(le,Array.prototype.concat),In=ye.call(pt,Array.prototype.splice),Ir=ye.call(le,String.prototype.replace),Ee=ye.call(le,String.prototype.slice),Nn=ye.call(le,RegExp.prototype.exec),_n=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Cn=/\\(\\)?/g,Ln=function(e){var t=Ee(e,0,1),n=Ee(e,-1);if(t==="%"&&n!=="%")throw new oe("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new oe("invalid intrinsic syntax, expected opening `%`");var i=[];return Ir(e,_n,function(l,u,d,y){i[i.length]=d?Ir(y,Cn,"$1"):u||l}),i},Un=function(e,t){var n=e,i;if(Pe(Rr,n)&&(i=Rr[n],n="%"+i[0]+"%"),Pe(z,n)){var l=z[n];if(l===X&&(l=Fn(n)),typeof l>"u"&&!t)throw new te("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:l}}throw new oe("intrinsic "+e+" does not exist!")},yr=function(e,t){if(typeof e!="string"||e.length===0)throw new te("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new te('"allowMissing" argument must be a boolean');if(Nn(/^%?[^%]*%?$/,e)===null)throw new oe("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Ln(e),i=n.length>0?n[0]:"",l=Un("%"+i+"%",t),u=l.name,d=l.value,y=!1,m=l.alias;m&&(i=m[0],In(n,Rn([0,1],m)));for(var w=1,$=!0;w<n.length;w+=1){var E=n[w],_=Ee(E,0,1),T=Ee(E,-1);if((_==='"'||_==="'"||_==="`"||T==='"'||T==="'"||T==="`")&&_!==T)throw new oe("property names with quotes must have matching quotes");if((E==="constructor"||!$)&&(y=!0),i+="."+E,u="%"+i+"%",Pe(z,u))d=z[u];else if(d!=null){if(!(E in d)){if(!t)throw new te("base intrinsic for "+e+" exists, but the property is not available.");return}if(ue&&w+1>=n.length){var I=ue(d,E);$=!!I,$&&"get"in I&&!("originalValue"in I.get)?d=I.get:d=d[E]}else $=Pe(d,E),d=d[E];$&&!y&&(z[u]=d)}}return d},dt=yr,ht=cr,Dn=ht([dt("%String.prototype.indexOf%")]),fe=function(e,t){var n=dt(e,!!t);return typeof n=="function"&&Dn(e,".prototype.")>-1?ht([n]):n},Mn=Te(),kn=fe,er=kn("Object.prototype.toString"),Re=function(e){return Mn&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:er(e)==="[object Arguments]"},gt=function(e){return Re(e)?!0:e!==null&&typeof e=="object"&&"length"in e&&typeof e.length=="number"&&e.length>=0&&er(e)!=="[object Array]"&&"callee"in e&&er(e.callee)==="[object Function]"},Gn=function(){return Re(arguments)}();Re.isLegacyArguments=gt;var xn=Gn?Re:gt,Nr=fe,Wn=Te(),qn=lt(),zn=ae,rr;if(Wn){var Vn=Nr("RegExp.prototype.exec"),_r={},Ve=function(){throw _r},Cr={toString:Ve,valueOf:Ve};typeof Symbol.toPrimitive=="symbol"&&(Cr[Symbol.toPrimitive]=Ve),rr=function(e){if(!e||typeof e!="object")return!1;var t=zn(e,"lastIndex"),n=t&&qn(t,"value");if(!n)return!1;try{Vn(e,Cr)}catch(i){return i===_r}}}else{var Hn=Nr("Object.prototype.toString"),Jn="[object RegExp]";rr=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:Hn(e)===Jn}}var Kn=rr,Zn=fe,Yn=Kn,Qn=Zn("RegExp.prototype.exec"),Xn=ie,eo=function(e){if(!Yn(e))throw new Xn("`regex` must be a RegExp");return function(n){return Qn(e,n)!==null}},vt=fe,ro=eo,to=ro(/^\s*(?:function)?\*/),mt=Te(),He=lr,no=vt("Object.prototype.toString"),oo=vt("Function.prototype.toString"),io=function(){if(!mt)return!1;try{return Function("return function*() {}")()}catch{}},Je,ao=function(e){if(typeof e!="function")return!1;if(to(oo(e)))return!0;if(!mt){var t=no(e);return t==="[object GeneratorFunction]"}if(!He)return!1;if(typeof Je>"u"){var n=io();Je=n?He(n):!1}return He(e)===Je},bt=Function.prototype.toString,ee=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,tr,we;if(typeof ee=="function"&&typeof Object.defineProperty=="function")try{tr=Object.defineProperty({},"length",{get:function(){throw we}}),we={},ee(function(){throw 42},null,tr)}catch(r){r!==we&&(ee=null)}else ee=null;var fo=/^\s*class\b/,nr=function(e){try{var t=bt.call(e);return fo.test(t)}catch{return!1}},Ke=function(e){try{return nr(e)?!1:(bt.call(e),!0)}catch{return!1}},Se=Object.prototype.toString,so="[object Object]",uo="[object Function]",co="[object GeneratorFunction]",lo="[object HTMLAllCollection]",yo="[object HTML document.all class]",po="[object HTMLCollection]",ho=typeof Symbol=="function"&&!!Symbol.toStringTag,go=!(0 in[,]),or=function(){return!1};if(typeof document=="object"){var vo=document.all;Se.call(vo)===Se.call(document.all)&&(or=function(e){if((go||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=Se.call(e);return(t===lo||t===yo||t===po||t===so)&&e("")==null}catch{}return!1})}var mo=ee?function(e){if(or(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{ee(e,null,tr)}catch(t){if(t!==we)return!1}return!nr(e)&&Ke(e)}:function(e){if(or(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(ho)return Ke(e);if(nr(e))return!1;var t=Se.call(e);return t!==uo&&t!==co&&!/^\[object HTML/.test(t)?!1:Ke(e)},bo=mo,Ao=Object.prototype.toString,At=Object.prototype.hasOwnProperty,wo=function(e,t,n){for(var i=0,l=e.length;i<l;i++)At.call(e,i)&&(n==null?t(e[i],i,e):t.call(n,e[i],i,e))},So=function(e,t,n){for(var i=0,l=e.length;i<l;i++)n==null?t(e.charAt(i),i,e):t.call(n,e.charAt(i),i,e)},Oo=function(e,t,n){for(var i in e)At.call(e,i)&&(n==null?t(e[i],i,e):t.call(n,e[i],i,e))};function Po(r){return Ao.call(r)==="[object Array]"}var Eo=function(e,t,n){if(!bo(t))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),Po(e)?wo(e,t,i):typeof e=="string"?So(e,t,i):Oo(e,t,i)},jo=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],Ze=jo,$o=typeof globalThis>"u"?ne.commonjsGlobal:globalThis,Bo=function(){for(var e=[],t=0;t<Ze.length;t++)typeof $o[Ze[t]]=="function"&&(e[e.length]=Ze[t]);return e},wt={exports:{}},Lr=Fe,To=it,Q=ie,Ur=ae,Fo=function(e,t,n){if(!e||typeof e!="object"&&typeof e!="function")throw new Q("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new Q("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Q("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Q("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Q("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Q("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,d=arguments.length>6?arguments[6]:!1,y=!!Ur&&Ur(e,t);if(Lr)Lr(e,t,{configurable:u===null&&y?y.configurable:!u,enumerable:i===null&&y?y.enumerable:!i,value:n,writable:l===null&&y?y.writable:!l});else if(d||!i&&!l&&!u)e[t]=n;else throw new To("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},ir=Fe,St=function(){return!!ir};St.hasArrayLengthDefineBug=function(){if(!ir)return null;try{return ir([],"length",{value:1}).length!==1}catch{return!0}};var Ro=St,Io=yr,Dr=Fo,No=Ro(),Mr=ae,kr=ie,_o=Io("%Math.floor%"),Co=function(e,t){if(typeof e!="function")throw new kr("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||_o(t)!==t)throw new kr("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,l=!0;if("length"in e&&Mr){var u=Mr(e,"length");u&&!u.configurable&&(i=!1),u&&!u.writable&&(l=!1)}return(i||l||!n)&&(No?Dr(e,"length",t,!0,!0):Dr(e,"length",t)),e},Lo=ce(),Uo=ur(),Do=st,Mo=function(){return Do(Lo,Uo,arguments)};(function(r){var e=Co,t=Fe,n=cr,i=Mo;r.exports=function(u){var d=n(arguments),y=u.length-(arguments.length-1);return e(d,1+(y>0?y:0),!0)},t?t(r.exports,"apply",{value:i}):r.exports.apply=i})(wt);var ko=wt.exports,je=Eo,Go=Bo,Gr=ko,pr=fe,Oe=ae,ge=lr,xo=pr("Object.prototype.toString"),Ot=Te(),xr=typeof globalThis>"u"?ne.commonjsGlobal:globalThis,ar=Go(),dr=pr("String.prototype.slice"),Wo=pr("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},$e={__proto__:null};Ot&&Oe&&ge?je(ar,function(r){var e=new xr[r];if(Symbol.toStringTag in e&&ge){var t=ge(e),n=Oe(t,Symbol.toStringTag);if(!n&&t){var i=ge(t);n=Oe(i,Symbol.toStringTag)}$e["$"+r]=Gr(n.get)}}):je(ar,function(r){var e=new xr[r],t=e.slice||e.set;t&&($e["$"+r]=Gr(t))});var qo=function(e){var t=!1;return je($e,function(n,i){if(!t)try{"$"+n(e)===i&&(t=dr(i,1))}catch{}}),t},zo=function(e){var t=!1;return je($e,function(n,i){if(!t)try{n(e),t=dr(i,1)}catch{}}),t},Pt=function(e){if(!e||typeof e!="object")return!1;if(!Ot){var t=dr(xo(e),8,-1);return Wo(ar,t)>-1?t:t!=="Object"?!1:zo(e)}return Oe?qo(e):null},Vo=Pt,Ho=function(e){return!!Vo(e)};(function(r){var e=xn,t=ao,n=Pt,i=Ho;function l(s){return s.call.bind(s)}var u=typeof BigInt<"u",d=typeof Symbol<"u",y=l(Object.prototype.toString),m=l(Number.prototype.valueOf),w=l(String.prototype.valueOf),$=l(Boolean.prototype.valueOf);if(u)var E=l(BigInt.prototype.valueOf);if(d)var _=l(Symbol.prototype.valueOf);function T(s,$t){if(typeof s!="object")return!1;try{return $t(s),!0}catch{return!1}}r.isArgumentsObject=e,r.isGeneratorFunction=t,r.isTypedArray=i;function I(s){return typeof Promise<"u"&&s instanceof Promise||s!==null&&typeof s=="object"&&typeof s.then=="function"&&typeof s.catch=="function"}r.isPromise=I;function C(s){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(s):i(s)||f(s)}r.isArrayBufferView=C;function a(s){return n(s)==="Uint8Array"}r.isUint8Array=a;function p(s){return n(s)==="Uint8ClampedArray"}r.isUint8ClampedArray=p;function b(s){return n(s)==="Uint16Array"}r.isUint16Array=b;function R(s){return n(s)==="Uint32Array"}r.isUint32Array=R;function B(s){return n(s)==="Int8Array"}r.isInt8Array=B;function Ie(s){return n(s)==="Int16Array"}r.isInt16Array=Ie;function U(s){return n(s)==="Int32Array"}r.isInt32Array=U;function x(s){return n(s)==="Float32Array"}r.isFloat32Array=x;function k(s){return n(s)==="Float64Array"}r.isFloat64Array=k;function V(s){return n(s)==="BigInt64Array"}r.isBigInt64Array=V;function W(s){return n(s)==="BigUint64Array"}r.isBigUint64Array=W;function D(s){return y(s)==="[object Map]"}D.working=typeof Map<"u"&&D(new Map);function Ne(s){return typeof Map>"u"?!1:D.working?D(s):s instanceof Map}r.isMap=Ne;function G(s){return y(s)==="[object Set]"}G.working=typeof Set<"u"&&G(new Set);function se(s){return typeof Set>"u"?!1:G.working?G(s):s instanceof Set}r.isSet=se;function H(s){return y(s)==="[object WeakMap]"}H.working=typeof WeakMap<"u"&&H(new WeakMap);function _e(s){return typeof WeakMap>"u"?!1:H.working?H(s):s instanceof WeakMap}r.isWeakMap=_e;function J(s){return y(s)==="[object WeakSet]"}J.working=typeof WeakSet<"u"&&J(new WeakSet);function M(s){return J(s)}r.isWeakSet=M;function K(s){return y(s)==="[object ArrayBuffer]"}K.working=typeof ArrayBuffer<"u"&&K(new ArrayBuffer);function pe(s){return typeof ArrayBuffer>"u"?!1:K.working?K(s):s instanceof ArrayBuffer}r.isArrayBuffer=pe;function o(s){return y(s)==="[object DataView]"}o.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&o(new DataView(new ArrayBuffer(1),0,1));function f(s){return typeof DataView>"u"?!1:o.working?o(s):s instanceof DataView}r.isDataView=f;var c=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function h(s){return y(s)==="[object SharedArrayBuffer]"}function S(s){return typeof c>"u"?!1:(typeof h.working>"u"&&(h.working=h(new c)),h.working?h(s):s instanceof c)}r.isSharedArrayBuffer=S;function O(s){return y(s)==="[object AsyncFunction]"}r.isAsyncFunction=O;function g(s){return y(s)==="[object Map Iterator]"}r.isMapIterator=g;function A(s){return y(s)==="[object Set Iterator]"}r.isSetIterator=A;function j(s){return y(s)==="[object Generator]"}r.isGeneratorObject=j;function N(s){return y(s)==="[object WebAssembly.Module]"}r.isWebAssemblyCompiledModule=N;function q(s){return T(s,m)}r.isNumberObject=q;function de(s){return T(s,w)}r.isStringObject=de;function Z(s){return T(s,$)}r.isBooleanObject=Z;function he(s){return u&&T(s,E)}r.isBigIntObject=he;function hr(s){return d&&T(s,_)}r.isSymbolObject=hr;function Et(s){return q(s)||de(s)||Z(s)||he(s)||hr(s)}r.isBoxedPrimitive=Et;function jt(s){return typeof Uint8Array<"u"&&(pe(s)||S(s))}r.isAnyArrayBuffer=jt,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(s){Object.defineProperty(r,s,{enumerable:!1,value:function(){throw new Error(s+" is not supported in userland")}})})})(tt);var Jo=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"};(function(r){var e=Object.getOwnPropertyDescriptors||function(f){for(var c=Object.keys(f),h={},S=0;S<c.length;S++)h[c[S]]=Object.getOwnPropertyDescriptor(f,c[S]);return h},t=/%[sdj%]/g;r.format=function(o){if(!B(o)){for(var f=[],c=0;c<arguments.length;c++)f.push(u(arguments[c]));return f.join(" ")}for(var c=1,h=arguments,S=h.length,O=String(o).replace(t,function(A){if(A==="%%")return"%";if(c>=S)return A;switch(A){case"%s":return String(h[c++]);case"%d":return Number(h[c++]);case"%j":try{return JSON.stringify(h[c++])}catch{return"[Circular]"}default:return A}}),g=h[c];c<S;g=h[++c])p(g)||!k(g)?O+=" "+g:O+=" "+u(g);return O},r.deprecate=function(o,f){if(typeof L.process$1<"u"&&L.process$1.noDeprecation===!0)return o;if(typeof L.process$1>"u")return function(){return r.deprecate(o,f).apply(this,arguments)};var c=!1;function h(){if(!c){if(L.process$1.throwDeprecation)throw new Error(f);L.process$1.traceDeprecation?console.trace(f):console.error(f),c=!0}return o.apply(this,arguments)}return h};var n={},i=/^$/;if(L.process$1.env.NODE_DEBUG){var l=L.process$1.env.NODE_DEBUG;l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),i=new RegExp("^"+l+"$","i")}r.debuglog=function(o){if(o=o.toUpperCase(),!n[o])if(i.test(o)){var f=L.process$1.pid;n[o]=function(){var c=r.format.apply(r,arguments);console.error("%s %d: %s",o,f,c)}}else n[o]=function(){};return n[o]};function u(o,f){var c={seen:[],stylize:y};return arguments.length>=3&&(c.depth=arguments[2]),arguments.length>=4&&(c.colors=arguments[3]),a(f)?c.showHidden=f:f&&r._extend(c,f),U(c.showHidden)&&(c.showHidden=!1),U(c.depth)&&(c.depth=2),U(c.colors)&&(c.colors=!1),U(c.customInspect)&&(c.customInspect=!0),c.colors&&(c.stylize=d),w(c,o,c.depth)}r.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function d(o,f){var c=u.styles[f];return c?"\x1B["+u.colors[c][0]+"m"+o+"\x1B["+u.colors[c][1]+"m":o}function y(o,f){return o}function m(o){var f={};return o.forEach(function(c,h){f[c]=!0}),f}function w(o,f,c){if(o.customInspect&&f&&D(f.inspect)&&f.inspect!==r.inspect&&!(f.constructor&&f.constructor.prototype===f)){var h=f.inspect(c,o);return B(h)||(h=w(o,h,c)),h}var S=$(o,f);if(S)return S;var O=Object.keys(f),g=m(O);if(o.showHidden&&(O=Object.getOwnPropertyNames(f)),W(f)&&(O.indexOf("message")>=0||O.indexOf("description")>=0))return E(f);if(O.length===0){if(D(f)){var A=f.name?": "+f.name:"";return o.stylize("[Function"+A+"]","special")}if(x(f))return o.stylize(RegExp.prototype.toString.call(f),"regexp");if(V(f))return o.stylize(Date.prototype.toString.call(f),"date");if(W(f))return E(f)}var j="",N=!1,q=["{","}"];if(C(f)&&(N=!0,q=["[","]"]),D(f)){var de=f.name?": "+f.name:"";j=" [Function"+de+"]"}if(x(f)&&(j=" "+RegExp.prototype.toString.call(f)),V(f)&&(j=" "+Date.prototype.toUTCString.call(f)),W(f)&&(j=" "+E(f)),O.length===0&&(!N||f.length==0))return q[0]+j+q[1];if(c<0)return x(f)?o.stylize(RegExp.prototype.toString.call(f),"regexp"):o.stylize("[Object]","special");o.seen.push(f);var Z;return N?Z=_(o,f,c,g,O):Z=O.map(function(he){return T(o,f,c,g,he,N)}),o.seen.pop(),I(Z,j,q)}function $(o,f){if(U(f))return o.stylize("undefined","undefined");if(B(f)){var c="'"+JSON.stringify(f).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return o.stylize(c,"string")}if(R(f))return o.stylize(""+f,"number");if(a(f))return o.stylize(""+f,"boolean");if(p(f))return o.stylize("null","null")}function E(o){return"["+Error.prototype.toString.call(o)+"]"}function _(o,f,c,h,S){for(var O=[],g=0,A=f.length;g<A;++g)J(f,String(g))?O.push(T(o,f,c,h,String(g),!0)):O.push("");return S.forEach(function(j){j.match(/^\d+$/)||O.push(T(o,f,c,h,j,!0))}),O}function T(o,f,c,h,S,O){var g,A,j;if(j=Object.getOwnPropertyDescriptor(f,S)||{value:f[S]},j.get?j.set?A=o.stylize("[Getter/Setter]","special"):A=o.stylize("[Getter]","special"):j.set&&(A=o.stylize("[Setter]","special")),J(h,S)||(g="["+S+"]"),A||(o.seen.indexOf(j.value)<0?(p(c)?A=w(o,j.value,null):A=w(o,j.value,c-1),A.indexOf(`
2
- `)>-1&&(O?A=A.split(`
3
- `).map(function(N){return" "+N}).join(`
4
- `).slice(2):A=`
5
- `+A.split(`
6
- `).map(function(N){return" "+N}).join(`
7
- `))):A=o.stylize("[Circular]","special")),U(g)){if(O&&S.match(/^\d+$/))return A;g=JSON.stringify(""+S),g.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(g=g.slice(1,-1),g=o.stylize(g,"name")):(g=g.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),g=o.stylize(g,"string"))}return g+": "+A}function I(o,f,c){var h=o.reduce(function(S,O){return O.indexOf(`
8
- `)>=0,S+O.replace(/\u001b\[\d\d?m/g,"").length+1},0);return h>60?c[0]+(f===""?"":f+`
9
- `)+" "+o.join(`,
10
- `)+" "+c[1]:c[0]+f+" "+o.join(", ")+" "+c[1]}r.types=tt;function C(o){return Array.isArray(o)}r.isArray=C;function a(o){return typeof o=="boolean"}r.isBoolean=a;function p(o){return o===null}r.isNull=p;function b(o){return o==null}r.isNullOrUndefined=b;function R(o){return typeof o=="number"}r.isNumber=R;function B(o){return typeof o=="string"}r.isString=B;function Ie(o){return typeof o=="symbol"}r.isSymbol=Ie;function U(o){return o===void 0}r.isUndefined=U;function x(o){return k(o)&&G(o)==="[object RegExp]"}r.isRegExp=x,r.types.isRegExp=x;function k(o){return typeof o=="object"&&o!==null}r.isObject=k;function V(o){return k(o)&&G(o)==="[object Date]"}r.isDate=V,r.types.isDate=V;function W(o){return k(o)&&(G(o)==="[object Error]"||o instanceof Error)}r.isError=W,r.types.isNativeError=W;function D(o){return typeof o=="function"}r.isFunction=D;function Ne(o){return o===null||typeof o=="boolean"||typeof o=="number"||typeof o=="string"||typeof o=="symbol"||typeof o>"u"}r.isPrimitive=Ne,r.isBuffer=Jo;function G(o){return Object.prototype.toString.call(o)}function se(o){return o<10?"0"+o.toString(10):o.toString(10)}var H=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function _e(){var o=new Date,f=[se(o.getHours()),se(o.getMinutes()),se(o.getSeconds())].join(":");return[o.getDate(),H[o.getMonth()],f].join(" ")}r.log=function(){console.log("%s - %s",_e(),r.format.apply(r,arguments))},r.inherits=zr,r._extend=function(o,f){if(!f||!k(f))return o;for(var c=Object.keys(f),h=c.length;h--;)o[c[h]]=f[c[h]];return o};function J(o,f){return Object.prototype.hasOwnProperty.call(o,f)}var M=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;r.promisify=function(f){if(typeof f!="function")throw new TypeError('The "original" argument must be of type Function');if(M&&f[M]){var c=f[M];if(typeof c!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(c,M,{value:c,enumerable:!1,writable:!1,configurable:!0}),c}function c(){for(var h,S,O=new Promise(function(j,N){h=j,S=N}),g=[],A=0;A<arguments.length;A++)g.push(arguments[A]);g.push(function(j,N){j?S(j):h(N)});try{f.apply(this,g)}catch(j){S(j)}return O}return Object.setPrototypeOf(c,Object.getPrototypeOf(f)),M&&Object.defineProperty(c,M,{value:c,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(c,e(f))},r.promisify.custom=M;function K(o,f){if(!o){var c=new Error("Promise was rejected with a falsy value");c.reason=o,o=c}return f(o)}function pe(o){if(typeof o!="function")throw new TypeError('The "original" argument must be of type Function');function f(){for(var c=[],h=0;h<arguments.length;h++)c.push(arguments[h]);var S=c.pop();if(typeof S!="function")throw new TypeError("The last argument must be of type Function");var O=this,g=function(){return S.apply(O,arguments)};o.apply(this,c).then(function(A){L.process$1.nextTick(g.bind(null,null,A))},function(A){L.process$1.nextTick(K.bind(null,A,g))})}return Object.setPrototypeOf(f,Object.getPrototypeOf(o)),Object.defineProperties(f,e(o)),f}r.callbackify=pe})(rt);var Ko=Zo;function Zo(r,e){if(Ye("noDeprecation"))return r;var t=!1;function n(){if(!t){if(Ye("throwDeprecation"))throw new Error(e);Ye("traceDeprecation")?console.trace(e):console.warn(e),t=!0}return r.apply(this,arguments)}return n}function Ye(r){try{if(!ne.commonjsGlobal.localStorage)return!1}catch{return!1}var e=ne.commonjsGlobal.localStorage[r];return e==null?!1:String(e).toLowerCase()==="true"}var Qe={},ve={exports:{}},Wr;function Yo(){return Wr||(Wr=1,function(r,e){var t=et,n=t.Buffer;function i(u,d){for(var y in u)d[y]=u[y]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?r.exports=t:(i(t,e),e.Buffer=l);function l(u,d,y){return n(u,d,y)}i(n,l),l.from=function(u,d,y){if(typeof u=="number")throw new TypeError("Argument must not be a number");return n(u,d,y)},l.alloc=function(u,d,y){if(typeof u!="number")throw new TypeError("Argument must be a number");var m=n(u);return d!==void 0?typeof y=="string"?m.fill(d,y):m.fill(d):m.fill(0),m},l.allocUnsafe=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return n(u)},l.allocUnsafeSlow=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return t.SlowBuffer(u)}}(ve,ve.exports)),ve.exports}var qr;function Qo(){if(qr)return Qe;qr=1;var r=Yo().Buffer,e=r.isEncoding||function(a){switch(a=""+a,a&&a.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function t(a){if(!a)return"utf8";for(var p;;)switch(a){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return a;default:if(p)return;a=(""+a).toLowerCase(),p=!0}}function n(a){var p=t(a);if(typeof p!="string"&&(r.isEncoding===e||!e(a)))throw new Error("Unknown encoding: "+a);return p||a}Qe.StringDecoder=i;function i(a){this.encoding=n(a);var p;switch(this.encoding){case"utf16le":this.text=$,this.end=E,p=4;break;case"utf8":this.fillLast=y,p=4;break;case"base64":this.text=_,this.end=T,p=3;break;default:this.write=I,this.end=C;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(p)}i.prototype.write=function(a){if(a.length===0)return"";var p,b;if(this.lastNeed){if(p=this.fillLast(a),p===void 0)return"";b=this.lastNeed,this.lastNeed=0}else b=0;return b<a.length?p?p+this.text(a,b):this.text(a,b):p||""},i.prototype.end=w,i.prototype.text=m,i.prototype.fillLast=function(a){if(this.lastNeed<=a.length)return a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,a.length),this.lastNeed-=a.length};function l(a){return a<=127?0:a>>5===6?2:a>>4===14?3:a>>3===30?4:a>>6===2?-1:-2}function u(a,p,b){var R=p.length-1;if(R<b)return 0;var B=l(p[R]);return B>=0?(B>0&&(a.lastNeed=B-1),B):--R<b||B===-2?0:(B=l(p[R]),B>=0?(B>0&&(a.lastNeed=B-2),B):--R<b||B===-2?0:(B=l(p[R]),B>=0?(B>0&&(B===2?B=0:a.lastNeed=B-3),B):0))}function d(a,p,b){if((p[0]&192)!==128)return a.lastNeed=0,"�";if(a.lastNeed>1&&p.length>1){if((p[1]&192)!==128)return a.lastNeed=1,"�";if(a.lastNeed>2&&p.length>2&&(p[2]&192)!==128)return a.lastNeed=2,"�"}}function y(a){var p=this.lastTotal-this.lastNeed,b=d(this,a);if(b!==void 0)return b;if(this.lastNeed<=a.length)return a.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);a.copy(this.lastChar,p,0,a.length),this.lastNeed-=a.length}function m(a,p){var b=u(this,a,p);if(!this.lastNeed)return a.toString("utf8",p);this.lastTotal=b;var R=a.length-(b-this.lastNeed);return a.copy(this.lastChar,0,R),a.toString("utf8",p,R)}function w(a){var p=a&&a.length?this.write(a):"";return this.lastNeed?p+"�":p}function $(a,p){if((a.length-p)%2===0){var b=a.toString("utf16le",p);if(b){var R=b.charCodeAt(b.length-1);if(R>=55296&&R<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1],b.slice(0,-1)}return b}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=a[a.length-1],a.toString("utf16le",p,a.length-1)}function E(a){var p=a&&a.length?this.write(a):"";if(this.lastNeed){var b=this.lastTotal-this.lastNeed;return p+this.lastChar.toString("utf16le",0,b)}return p}function _(a,p){var b=(a.length-p)%3;return b===0?a.toString("base64",p):(this.lastNeed=3-b,this.lastTotal=3,b===1?this.lastChar[0]=a[a.length-1]:(this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1]),a.toString("base64",p,a.length-b))}function T(a){var p=a&&a.length?this.write(a):"";return this.lastNeed?p+this.lastChar.toString("base64",0,3-this.lastNeed):p}function I(a){return a.toString(this.encoding)}function C(a){return a&&a.length?this.write(a):""}return Qe}exports.browser=Ko;exports.callBound=fe;exports.eventsExports=_t;exports.getIntrinsic=yr;exports.inherits_browserExports=zr;exports.require$$2=et;exports.requireString_decoder=Qo;exports.type=ie;exports.util=rt;