@harbour-enterprises/superdoc 0.9.34 → 0.9.35
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.
- package/dist/chunks/{index-Da1nm1Nx.cjs → index-DHS2ANjv.cjs} +1 -1
- package/dist/chunks/{index-CFw3GWZb.es.js → index-Dd_ce0Er.es.js} +1 -1
- package/dist/chunks/index-XHRxRUhd.es.js +1676 -0
- package/dist/chunks/index-YqE5-6V1.cjs +1 -0
- package/dist/chunks/{super-editor.es-CPySz799.es.js → super-editor.es-BAc4W6Tu.es.js} +455 -466
- package/dist/chunks/{super-editor.es-BBj7vFp-.cjs → super-editor.es-BBgPdIMs.cjs} +36 -36
- package/dist/chunks/{url-BBWjYHis.es.js → url-BWFemt_V.es.js} +1 -1
- package/dist/chunks/{url-CsA0aP-j.cjs → url-Cqg7fbSS.cjs} +1 -1
- package/dist/chunks/xml-js-Bzw8Bo_u.es.js +1739 -0
- package/dist/chunks/xml-js-Zwb1wsIy.cjs +10 -0
- package/dist/super-editor/chunks/{converter-A8jhEHAV.js → converter-UkRnMuKc.js} +6 -7
- package/dist/super-editor/chunks/{docx-zipper-ChOmGxQY.js → docx-zipper-BiMOTpMh.js} +1 -1
- package/dist/super-editor/chunks/{editor-CPeWTjoI.js → editor-BLRcEmYR.js} +302 -312
- package/dist/super-editor/chunks/{toolbar-DS4sA_rD.js → toolbar-DWm-EjAe.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor.es.js +6 -6
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +3 -3
- package/dist/superdoc.es.js +6 -6
- package/dist/superdoc.umd.js +880 -891
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/index-BR0d39LK.es.js +0 -473
- package/dist/chunks/index-zi2PhUgG.cjs +0 -1
- package/dist/chunks/xml-js-BK8neRFY.es.js +0 -2961
- package/dist/chunks/xml-js-Dl3GDIvM.cjs +0 -10
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";const U=require("./vue-Ckf0DkDN.cjs"),oe=require("./jszip-ChlzEvf9.cjs");var Et={exports:{}};typeof Object.create=="function"?Et.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Et.exports=function(t,r){if(r){t.super_=r;var o=function(){};o.prototype=r.prototype,t.prototype=new o,t.prototype.constructor=t}};var se=Et.exports,$t={exports:{}},be=typeof Reflect=="object"?Reflect:null,Gt=be&&typeof be.apply=="function"?be.apply:function(t,r,o){return Function.prototype.apply.call(t,r,o)},Ie;be&&typeof be.ownKeys=="function"?Ie=be.ownKeys:Object.getOwnPropertySymbols?Ie=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Ie=function(t){return Object.getOwnPropertyNames(t)};function bn(e){console&&console.warn&&console.warn(e)}var jr=Number.isNaN||function(t){return t!==t};function G(){G.init.call(this)}$t.exports=G;$t.exports.once=Sn;G.EventEmitter=G;G.prototype._events=void 0;G.prototype._eventsCount=0;G.prototype._maxListeners=void 0;var Ht=10;function He(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(G,"defaultMaxListeners",{enumerable:!0,get:function(){return Ht},set:function(e){if(typeof e!="number"||e<0||jr(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");Ht=e}});G.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};G.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||jr(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function Mr(e){return e._maxListeners===void 0?G.defaultMaxListeners:e._maxListeners}G.prototype.getMaxListeners=function(){return Mr(this)};G.prototype.emit=function(t){for(var r=[],o=1;o<arguments.length;o++)r.push(arguments[o]);var a=t==="error",d=this._events;if(d!==void 0)a=a&&d.error===void 0;else if(!a)return!1;if(a){var c;if(r.length>0&&(c=r[0]),c instanceof Error)throw c;var w=new Error("Unhandled error."+(c?" ("+c.message+")":""));throw w.context=c,w}var y=d[t];if(y===void 0)return!1;if(typeof y=="function")Gt(y,this,r);else for(var E=y.length,L=Br(y,E),o=0;o<E;++o)Gt(L[o],this,r);return!0};function Lr(e,t,r,o){var a,d,c;if(He(r),d=e._events,d===void 0?(d=e._events=Object.create(null),e._eventsCount=0):(d.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),d=e._events),c=d[t]),c===void 0)c=d[t]=r,++e._eventsCount;else if(typeof c=="function"?c=d[t]=o?[r,c]:[c,r]:o?c.unshift(r):c.push(r),a=Mr(e),a>0&&c.length>a&&!c.warned){c.warned=!0;var w=new Error("Possible EventEmitter memory leak detected. "+c.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");w.name="MaxListenersExceededWarning",w.emitter=e,w.type=t,w.count=c.length,bn(w)}return e}G.prototype.addListener=function(t,r){return Lr(this,t,r,!1)};G.prototype.on=G.prototype.addListener;G.prototype.prependListener=function(t,r){return Lr(this,t,r,!0)};function mn(){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 $r(e,t,r){var o={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},a=mn.bind(o);return a.listener=r,o.wrapFn=a,a}G.prototype.once=function(t,r){return He(r),this.on(t,$r(this,t,r)),this};G.prototype.prependOnceListener=function(t,r){return He(r),this.prependListener(t,$r(this,t,r)),this};G.prototype.removeListener=function(t,r){var o,a,d,c,w;if(He(r),a=this._events,a===void 0)return this;if(o=a[t],o===void 0)return this;if(o===r||o.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete a[t],a.removeListener&&this.emit("removeListener",t,o.listener||r));else if(typeof o!="function"){for(d=-1,c=o.length-1;c>=0;c--)if(o[c]===r||o[c].listener===r){w=o[c].listener,d=c;break}if(d<0)return this;d===0?o.shift():wn(o,d),o.length===1&&(a[t]=o[0]),a.removeListener!==void 0&&this.emit("removeListener",t,w||r)}return this};G.prototype.off=G.prototype.removeListener;G.prototype.removeAllListeners=function(t){var r,o,a;if(o=this._events,o===void 0)return this;if(o.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):o[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete o[t]),this;if(arguments.length===0){var d=Object.keys(o),c;for(a=0;a<d.length;++a)c=d[a],c!=="removeListener"&&this.removeAllListeners(c);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=o[t],typeof r=="function")this.removeListener(t,r);else if(r!==void 0)for(a=r.length-1;a>=0;a--)this.removeListener(t,r[a]);return this};function Nr(e,t,r){var o=e._events;if(o===void 0)return[];var a=o[t];return a===void 0?[]:typeof a=="function"?r?[a.listener||a]:[a]:r?_n(a):Br(a,a.length)}G.prototype.listeners=function(t){return Nr(this,t,!0)};G.prototype.rawListeners=function(t){return Nr(this,t,!1)};G.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):Ir.call(e,t)};G.prototype.listenerCount=Ir;function Ir(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}G.prototype.eventNames=function(){return this._eventsCount>0?Ie(this._events):[]};function Br(e,t){for(var r=new Array(t),o=0;o<t;++o)r[o]=e[o];return r}function wn(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function _n(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function Sn(e,t){return new Promise(function(r,o){function a(c){e.removeListener(t,d),o(c)}function d(){typeof e.removeListener=="function"&&e.removeListener("error",a),r([].slice.call(arguments))}Dr(e,t,d,{once:!0}),t!=="error"&&En(e,a,{once:!0})})}function En(e,t,r){typeof e.on=="function"&&Dr(e,"error",t,r)}function Dr(e,t,r,o){if(typeof e.on=="function")o.once?e.once(t,r):e.on(t,r);else if(typeof e.addEventListener=="function")e.addEventListener(t,function a(d){o.once&&e.removeEventListener(t,a),r(d)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var Cr=$t.exports,Fr=Cr.EventEmitter;const Ve=oe.getAugmentedNamespace(oe.dist);var Nt={},Ur={},kr=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),o=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var a=42;t[r]=a;for(var d in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var c=Object.getOwnPropertySymbols(t);if(c.length!==1||c[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var w=Object.getOwnPropertyDescriptor(t,r);if(w.value!==a||w.enumerable!==!0)return!1}return!0},An=kr,ze=function(){return An()&&!!Symbol.toStringTag},Wr=Object,Rn=Error,On=EvalError,Pn=RangeError,Tn=ReferenceError,xr=SyntaxError,Se=TypeError,jn=URIError,Mn=Math.abs,Ln=Math.floor,$n=Math.max,Nn=Math.min,In=Math.pow,Bn=Math.round,Dn=Number.isNaN||function(t){return t!==t},Cn=Dn,Fn=function(t){return Cn(t)||t===0?t:t<0?-1:1},Un=Object.getOwnPropertyDescriptor,Be=Un;if(Be)try{Be([],"length")}catch{Be=null}var Ee=Be,De=Object.defineProperty||!1;if(De)try{De({},"a",{value:1})}catch{De=!1}var Ke=De,tt,Vt;function kn(){if(Vt)return tt;Vt=1;var e=typeof Symbol<"u"&&Symbol,t=kr;return tt=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},tt}var qr=typeof Reflect<"u"&&Reflect.getPrototypeOf||null,Wn=Wr,Gr=Wn.getPrototypeOf||null,rt,zt;function xn(){if(zt)return rt;zt=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,o="[object Function]",a=function(y,E){for(var L=[],$=0;$<y.length;$+=1)L[$]=y[$];for(var I=0;I<E.length;I+=1)L[I+y.length]=E[I];return L},d=function(y,E){for(var L=[],$=E,I=0;$<y.length;$+=1,I+=1)L[I]=y[$];return L},c=function(w,y){for(var E="",L=0;L<w.length;L+=1)E+=w[L],L+1<w.length&&(E+=y);return E};return rt=function(y){var E=this;if(typeof E!="function"||t.apply(E)!==o)throw new TypeError(e+E);for(var L=d(arguments,1),$,I=function(){if(this instanceof $){var u=E.apply(this,a(L,arguments));return Object(u)===u?u:this}return E.apply(y,a(L,arguments))},x=r(0,E.length-L.length),P=[],M=0;M<x;M++)P[M]="$"+M;if($=Function("binder","return function ("+c(P,",")+"){ return binder.apply(this,arguments); }")(I),E.prototype){var R=function(){};R.prototype=E.prototype,$.prototype=new R,R.prototype=null}return $},rt}var nt,Kt;function Te(){if(Kt)return nt;Kt=1;var e=xn();return nt=Function.prototype.bind||e,nt}var It=Function.prototype.call,it,Jt;function Bt(){return Jt||(Jt=1,it=Function.prototype.apply),it}var qn=typeof Reflect<"u"&&Reflect&&Reflect.apply,Gn=Te(),Hn=Bt(),Vn=It,zn=qn,Hr=zn||Gn.call(Vn,Hn),Kn=Te(),Jn=Se,Yn=It,Zn=Hr,Dt=function(t){if(t.length<1||typeof t[0]!="function")throw new Jn("a function is required");return Zn(Kn,Yn,t)},Xn=Dt,Yt=Ee,Vr;try{Vr=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var ot=!!Vr&&Yt&&Yt(Object.prototype,"__proto__"),zr=Object,Zt=zr.getPrototypeOf,Qn=ot&&typeof ot.get=="function"?Xn([ot.get]):typeof Zt=="function"?function(t){return Zt(t==null?t:zr(t))}:!1,Xt=qr,Qt=Gr,er=Qn,Ct=Xt?function(t){return Xt(t)}:Qt?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return Qt(t)}:er?function(t){return er(t)}:null,at,tr;function Kr(){if(tr)return at;tr=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=Te();return at=r.call(e,t),at}var k,ei=Wr,ti=Rn,ri=On,ni=Pn,ii=Tn,we=xr,me=Se,oi=jn,ai=Mn,fi=Ln,ui=$n,li=Nn,si=In,ci=Bn,di=Fn,Jr=Function,ft=function(e){try{return Jr('"use strict"; return ('+e+").constructor;")()}catch{}},Oe=Ee,pi=Ke,ut=function(){throw new me},yi=Oe?function(){try{return arguments.callee,ut}catch{try{return Oe(arguments,"callee").get}catch{return ut}}}():ut,ye=kn()(),V=Ct,hi=Gr,gi=qr,Yr=Bt(),je=It,ge={},vi=typeof Uint8Array>"u"||!V?k:V(Uint8Array),le={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?k:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?k:ArrayBuffer,"%ArrayIteratorPrototype%":ye&&V?V([][Symbol.iterator]()):k,"%AsyncFromSyncIteratorPrototype%":k,"%AsyncFunction%":ge,"%AsyncGenerator%":ge,"%AsyncGeneratorFunction%":ge,"%AsyncIteratorPrototype%":ge,"%Atomics%":typeof Atomics>"u"?k:Atomics,"%BigInt%":typeof BigInt>"u"?k:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?k:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?k:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?k:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":ti,"%eval%":eval,"%EvalError%":ri,"%Float16Array%":typeof Float16Array>"u"?k:Float16Array,"%Float32Array%":typeof Float32Array>"u"?k:Float32Array,"%Float64Array%":typeof Float64Array>"u"?k:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?k:FinalizationRegistry,"%Function%":Jr,"%GeneratorFunction%":ge,"%Int8Array%":typeof Int8Array>"u"?k:Int8Array,"%Int16Array%":typeof Int16Array>"u"?k:Int16Array,"%Int32Array%":typeof Int32Array>"u"?k:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ye&&V?V(V([][Symbol.iterator]())):k,"%JSON%":typeof JSON=="object"?JSON:k,"%Map%":typeof Map>"u"?k:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ye||!V?k:V(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":ei,"%Object.getOwnPropertyDescriptor%":Oe,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?k:Promise,"%Proxy%":typeof Proxy>"u"?k:Proxy,"%RangeError%":ni,"%ReferenceError%":ii,"%Reflect%":typeof Reflect>"u"?k:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?k:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ye||!V?k:V(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?k:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ye&&V?V(""[Symbol.iterator]()):k,"%Symbol%":ye?Symbol:k,"%SyntaxError%":we,"%ThrowTypeError%":yi,"%TypedArray%":vi,"%TypeError%":me,"%Uint8Array%":typeof Uint8Array>"u"?k:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?k:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?k:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?k:Uint32Array,"%URIError%":oi,"%WeakMap%":typeof WeakMap>"u"?k:WeakMap,"%WeakRef%":typeof WeakRef>"u"?k:WeakRef,"%WeakSet%":typeof WeakSet>"u"?k:WeakSet,"%Function.prototype.call%":je,"%Function.prototype.apply%":Yr,"%Object.defineProperty%":pi,"%Object.getPrototypeOf%":hi,"%Math.abs%":ai,"%Math.floor%":fi,"%Math.max%":ui,"%Math.min%":li,"%Math.pow%":si,"%Math.round%":ci,"%Math.sign%":di,"%Reflect.getPrototypeOf%":gi};if(V)try{null.error}catch(e){var bi=V(V(e));le["%Error.prototype%"]=bi}var mi=function e(t){var r;if(t==="%AsyncFunction%")r=ft("async function () {}");else if(t==="%GeneratorFunction%")r=ft("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=ft("async function* () {}");else if(t==="%AsyncGenerator%"){var o=e("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if(t==="%AsyncIteratorPrototype%"){var a=e("%AsyncGenerator%");a&&V&&(r=V(a.prototype))}return le[t]=r,r},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"]},Me=Te(),We=Kr(),wi=Me.call(je,Array.prototype.concat),_i=Me.call(Yr,Array.prototype.splice),nr=Me.call(je,String.prototype.replace),xe=Me.call(je,String.prototype.slice),Si=Me.call(je,RegExp.prototype.exec),Ei=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ai=/\\(\\)?/g,Ri=function(t){var r=xe(t,0,1),o=xe(t,-1);if(r==="%"&&o!=="%")throw new we("invalid intrinsic syntax, expected closing `%`");if(o==="%"&&r!=="%")throw new we("invalid intrinsic syntax, expected opening `%`");var a=[];return nr(t,Ei,function(d,c,w,y){a[a.length]=w?nr(y,Ai,"$1"):c||d}),a},Oi=function(t,r){var o=t,a;if(We(rr,o)&&(a=rr[o],o="%"+a[0]+"%"),We(le,o)){var d=le[o];if(d===ge&&(d=mi(o)),typeof d>"u"&&!r)throw new me("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:a,name:o,value:d}}throw new we("intrinsic "+t+" does not exist!")},Ft=function(t,r){if(typeof t!="string"||t.length===0)throw new me("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new me('"allowMissing" argument must be a boolean');if(Si(/^%?[^%]*%?$/,t)===null)throw new we("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=Ri(t),a=o.length>0?o[0]:"",d=Oi("%"+a+"%",r),c=d.name,w=d.value,y=!1,E=d.alias;E&&(a=E[0],_i(o,wi([0,1],E)));for(var L=1,$=!0;L<o.length;L+=1){var I=o[L],x=xe(I,0,1),P=xe(I,-1);if((x==='"'||x==="'"||x==="`"||P==='"'||P==="'"||P==="`")&&x!==P)throw new we("property names with quotes must have matching quotes");if((I==="constructor"||!$)&&(y=!0),a+="."+I,c="%"+a+"%",We(le,c))w=le[c];else if(w!=null){if(!(I in w)){if(!r)throw new me("base intrinsic for "+t+" exists, but the property is not available.");return}if(Oe&&L+1>=o.length){var M=Oe(w,I);$=!!M,$&&"get"in M&&!("originalValue"in M.get)?w=M.get:w=w[I]}else $=We(w,I),w=w[I];$&&!y&&(le[c]=w)}}return w},Zr=Ft,Xr=Dt,Pi=Xr([Zr("%String.prototype.indexOf%")]),Ae=function(t,r){var o=Zr(t,!!r);return typeof o=="function"&&Pi(t,".prototype.")>-1?Xr([o]):o},Ti=ze(),ji=Ae,At=ji("Object.prototype.toString"),Je=function(t){return Ti&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:At(t)==="[object Arguments]"},Qr=function(t){return Je(t)?!0:t!==null&&typeof t=="object"&&"length"in t&&typeof t.length=="number"&&t.length>=0&&At(t)!=="[object Array]"&&"callee"in t&&At(t.callee)==="[object Function]"},Mi=function(){return Je(arguments)}();Je.isLegacyArguments=Qr;var Li=Mi?Je:Qr,ir=Ae,$i=ze(),Ni=Kr(),Ii=Ee,Rt;if($i){var Bi=ir("RegExp.prototype.exec"),or={},lt=function(){throw or},ar={toString:lt,valueOf:lt};typeof Symbol.toPrimitive=="symbol"&&(ar[Symbol.toPrimitive]=lt),Rt=function(t){if(!t||typeof t!="object")return!1;var r=Ii(t,"lastIndex"),o=r&&Ni(r,"value");if(!o)return!1;try{Bi(t,ar)}catch(a){return a===or}}}else{var Di=ir("Object.prototype.toString"),Ci="[object RegExp]";Rt=function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:Di(t)===Ci}}var Fi=Rt,Ui=Ae,ki=Fi,Wi=Ui("RegExp.prototype.exec"),xi=Se,qi=function(t){if(!ki(t))throw new xi("`regex` must be a RegExp");return function(o){return Wi(t,o)!==null}},en=Ae,Gi=qi,Hi=Gi(/^\s*(?:function)?\*/),tn=ze(),st=Ct,Vi=en("Object.prototype.toString"),zi=en("Function.prototype.toString"),Ki=function(){if(!tn)return!1;try{return Function("return function*() {}")()}catch{}},ct,Ji=function(t){if(typeof t!="function")return!1;if(Hi(zi(t)))return!0;if(!tn){var r=Vi(t);return r==="[object GeneratorFunction]"}if(!st)return!1;if(typeof ct>"u"){var o=Ki();ct=o?st(o):!1}return st(t)===ct},rn=Function.prototype.toString,ve=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Ot,Ce;if(typeof ve=="function"&&typeof Object.defineProperty=="function")try{Ot=Object.defineProperty({},"length",{get:function(){throw Ce}}),Ce={},ve(function(){throw 42},null,Ot)}catch(e){e!==Ce&&(ve=null)}else ve=null;var Yi=/^\s*class\b/,Pt=function(t){try{var r=rn.call(t);return Yi.test(r)}catch{return!1}},dt=function(t){try{return Pt(t)?!1:(rn.call(t),!0)}catch{return!1}},Fe=Object.prototype.toString,Zi="[object Object]",Xi="[object Function]",Qi="[object GeneratorFunction]",eo="[object HTMLAllCollection]",to="[object HTML document.all class]",ro="[object HTMLCollection]",no=typeof Symbol=="function"&&!!Symbol.toStringTag,io=!(0 in[,]),Tt=function(){return!1};if(typeof document=="object"){var oo=document.all;Fe.call(oo)===Fe.call(document.all)&&(Tt=function(t){if((io||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=Fe.call(t);return(r===eo||r===to||r===ro||r===Zi)&&t("")==null}catch{}return!1})}var ao=ve?function(t){if(Tt(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{ve(t,null,Ot)}catch(r){if(r!==Ce)return!1}return!Pt(t)&&dt(t)}:function(t){if(Tt(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(no)return dt(t);if(Pt(t))return!1;var r=Fe.call(t);return r!==Xi&&r!==Qi&&!/^\[object HTML/.test(r)?!1:dt(t)},fo=ao,uo=Object.prototype.toString,nn=Object.prototype.hasOwnProperty,lo=function(t,r,o){for(var a=0,d=t.length;a<d;a++)nn.call(t,a)&&(o==null?r(t[a],a,t):r.call(o,t[a],a,t))},so=function(t,r,o){for(var a=0,d=t.length;a<d;a++)o==null?r(t.charAt(a),a,t):r.call(o,t.charAt(a),a,t)},co=function(t,r,o){for(var a in t)nn.call(t,a)&&(o==null?r(t[a],a,t):r.call(o,t[a],a,t))};function po(e){return uo.call(e)==="[object Array]"}var yo=function(t,r,o){if(!fo(r))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=o),po(t)?lo(t,r,a):typeof t=="string"?so(t,r,a):co(t,r,a)},ho=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],pt=ho,go=typeof globalThis>"u"?oe.commonjsGlobal:globalThis,vo=function(){for(var t=[],r=0;r<pt.length;r++)typeof go[pt[r]]=="function"&&(t[t.length]=pt[r]);return t},on={exports:{}},fr=Ke,bo=xr,he=Se,ur=Ee,mo=function(t,r,o){if(!t||typeof t!="object"&&typeof t!="function")throw new he("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new he("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new he("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new he("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new he("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new he("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,d=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,w=arguments.length>6?arguments[6]:!1,y=!!ur&&ur(t,r);if(fr)fr(t,r,{configurable:c===null&&y?y.configurable:!c,enumerable:a===null&&y?y.enumerable:!a,value:o,writable:d===null&&y?y.writable:!d});else if(w||!a&&!d&&!c)t[r]=o;else throw new bo("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},jt=Ke,an=function(){return!!jt};an.hasArrayLengthDefineBug=function(){if(!jt)return null;try{return jt([],"length",{value:1}).length!==1}catch{return!0}};var wo=an,_o=Ft,lr=mo,So=wo(),sr=Ee,cr=Se,Eo=_o("%Math.floor%"),Ao=function(t,r){if(typeof t!="function")throw new cr("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||Eo(r)!==r)throw new cr("`length` must be a positive 32-bit integer");var o=arguments.length>2&&!!arguments[2],a=!0,d=!0;if("length"in t&&sr){var c=sr(t,"length");c&&!c.configurable&&(a=!1),c&&!c.writable&&(d=!1)}return(a||d||!o)&&(So?lr(t,"length",r,!0,!0):lr(t,"length",r)),t},Ro=Te(),Oo=Bt(),Po=Hr,To=function(){return Po(Ro,Oo,arguments)};(function(e){var t=Ao,r=Ke,o=Dt,a=To;e.exports=function(c){var w=o(arguments),y=c.length-(arguments.length-1);return t(w,1+(y>0?y:0),!0)},r?r(e.exports,"apply",{value:a}):e.exports.apply=a})(on);var jo=on.exports,qe=yo,Mo=vo,dr=jo,Ut=Ae,Ue=Ee,$e=Ct,Lo=Ut("Object.prototype.toString"),fn=ze(),pr=typeof globalThis>"u"?oe.commonjsGlobal:globalThis,Mt=Mo(),kt=Ut("String.prototype.slice"),$o=Ut("Array.prototype.indexOf",!0)||function(t,r){for(var o=0;o<t.length;o+=1)if(t[o]===r)return o;return-1},Ge={__proto__:null};fn&&Ue&&$e?qe(Mt,function(e){var t=new pr[e];if(Symbol.toStringTag in t&&$e){var r=$e(t),o=Ue(r,Symbol.toStringTag);if(!o&&r){var a=$e(r);o=Ue(a,Symbol.toStringTag)}Ge["$"+e]=dr(o.get)}}):qe(Mt,function(e){var t=new pr[e],r=t.slice||t.set;r&&(Ge["$"+e]=dr(r))});var No=function(t){var r=!1;return qe(Ge,function(o,a){if(!r)try{"$"+o(t)===a&&(r=kt(a,1))}catch{}}),r},Io=function(t){var r=!1;return qe(Ge,function(o,a){if(!r)try{o(t),r=kt(a,1)}catch{}}),r},un=function(t){if(!t||typeof t!="object")return!1;if(!fn){var r=kt(Lo(t),8,-1);return $o(Mt,r)>-1?r:r!=="Object"?!1:Io(t)}return Ue?No(t):null},Bo=un,Do=function(t){return!!Bo(t)};(function(e){var t=Li,r=Ji,o=un,a=Do;function d(g){return g.call.bind(g)}var c=typeof BigInt<"u",w=typeof Symbol<"u",y=d(Object.prototype.toString),E=d(Number.prototype.valueOf),L=d(String.prototype.valueOf),$=d(Boolean.prototype.valueOf);if(c)var I=d(BigInt.prototype.valueOf);if(w)var x=d(Symbol.prototype.valueOf);function P(g,Le){if(typeof g!="object")return!1;try{return Le(g),!0}catch{return!1}}e.isArgumentsObject=t,e.isGeneratorFunction=r,e.isTypedArray=a;function M(g){return typeof Promise<"u"&&g instanceof Promise||g!==null&&typeof g=="object"&&typeof g.then=="function"&&typeof g.catch=="function"}e.isPromise=M;function R(g){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(g):a(g)||h(g)}e.isArrayBufferView=R;function u(g){return o(g)==="Uint8Array"}e.isUint8Array=u;function b(g){return o(g)==="Uint8ClampedArray"}e.isUint8ClampedArray=b;function S(g){return o(g)==="Uint16Array"}e.isUint16Array=S;function A(g){return o(g)==="Uint32Array"}e.isUint32Array=A;function T(g){return o(g)==="Int8Array"}e.isInt8Array=T;function D(g){return o(g)==="Int16Array"}e.isInt16Array=D;function W(g){return o(g)==="Int32Array"}e.isInt32Array=W;function C(g){return o(g)==="Float32Array"}e.isFloat32Array=C;function N(g){return o(g)==="Float64Array"}e.isFloat64Array=N;function z(g){return o(g)==="BigInt64Array"}e.isBigInt64Array=z;function J(g){return o(g)==="BigUint64Array"}e.isBigUint64Array=J;function Y(g){return y(g)==="[object Map]"}Y.working=typeof Map<"u"&&Y(new Map);function re(g){return typeof Map>"u"?!1:Y.working?Y(g):g instanceof Map}e.isMap=re;function Z(g){return y(g)==="[object Set]"}Z.working=typeof Set<"u"&&Z(new Set);function ne(g){return typeof Set>"u"?!1:Z.working?Z(g):g instanceof Set}e.isSet=ne;function ie(g){return y(g)==="[object WeakMap]"}ie.working=typeof WeakMap<"u"&&ie(new WeakMap);function Q(g){return typeof WeakMap>"u"?!1:ie.working?ie(g):g instanceof WeakMap}e.isWeakMap=Q;function ee(g){return y(g)==="[object WeakSet]"}ee.working=typeof WeakSet<"u"&&ee(new WeakSet);function K(g){return ee(g)}e.isWeakSet=K;function te(g){return y(g)==="[object ArrayBuffer]"}te.working=typeof ArrayBuffer<"u"&&te(new ArrayBuffer);function fe(g){return typeof ArrayBuffer>"u"?!1:te.working?te(g):g instanceof ArrayBuffer}e.isArrayBuffer=fe;function s(g){return y(g)==="[object DataView]"}s.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&s(new DataView(new ArrayBuffer(1),0,1));function h(g){return typeof DataView>"u"?!1:s.working?s(g):g instanceof DataView}e.isDataView=h;var m=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function B(g){return y(g)==="[object SharedArrayBuffer]"}function l(g){return typeof m>"u"?!1:(typeof B.working>"u"&&(B.working=B(new m)),B.working?B(g):g instanceof m)}e.isSharedArrayBuffer=l;function f(g){return y(g)==="[object AsyncFunction]"}e.isAsyncFunction=f;function p(g){return y(g)==="[object Map Iterator]"}e.isMapIterator=p;function _(g){return y(g)==="[object Set Iterator]"}e.isSetIterator=_;function j(g){return y(g)==="[object Generator]"}e.isGeneratorObject=j;function n(g){return y(g)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=n;function i(g){return P(g,E)}e.isNumberObject=i;function v(g){return P(g,L)}e.isStringObject=v;function O(g){return P(g,$)}e.isBooleanObject=O;function H(g){return c&&P(g,I)}e.isBigIntObject=H;function F(g){return w&&P(g,x)}e.isSymbolObject=F;function q(g){return i(g)||v(g)||O(g)||H(g)||F(g)}e.isBoxedPrimitive=q;function ue(g){return typeof Uint8Array<"u"&&(fe(g)||l(g))}e.isAnyArrayBuffer=ue,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(g){Object.defineProperty(e,g,{enumerable:!1,value:function(){throw new Error(g+" is not supported in userland")}})})})(Ur);var Co=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"};(function(e){var t=Object.getOwnPropertyDescriptors||function(h){for(var m=Object.keys(h),B={},l=0;l<m.length;l++)B[m[l]]=Object.getOwnPropertyDescriptor(h,m[l]);return B},r=/%[sdj%]/g;e.format=function(s){if(!T(s)){for(var h=[],m=0;m<arguments.length;m++)h.push(c(arguments[m]));return h.join(" ")}for(var m=1,B=arguments,l=B.length,f=String(s).replace(r,function(_){if(_==="%%")return"%";if(m>=l)return _;switch(_){case"%s":return String(B[m++]);case"%d":return Number(B[m++]);case"%j":try{return JSON.stringify(B[m++])}catch{return"[Circular]"}default:return _}}),p=B[m];m<l;p=B[++m])b(p)||!N(p)?f+=" "+p:f+=" "+c(p);return f},e.deprecate=function(s,h){if(typeof U.process$1<"u"&&U.process$1.noDeprecation===!0)return s;if(typeof U.process$1>"u")return function(){return e.deprecate(s,h).apply(this,arguments)};var m=!1;function B(){if(!m){if(U.process$1.throwDeprecation)throw new Error(h);U.process$1.traceDeprecation?console.trace(h):console.error(h),m=!0}return s.apply(this,arguments)}return B};var o={},a=/^$/;if(U.process$1.env.NODE_DEBUG){var d=U.process$1.env.NODE_DEBUG;d=d.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),a=new RegExp("^"+d+"$","i")}e.debuglog=function(s){if(s=s.toUpperCase(),!o[s])if(a.test(s)){var h=U.process$1.pid;o[s]=function(){var m=e.format.apply(e,arguments);console.error("%s %d: %s",s,h,m)}}else o[s]=function(){};return o[s]};function c(s,h){var m={seen:[],stylize:y};return arguments.length>=3&&(m.depth=arguments[2]),arguments.length>=4&&(m.colors=arguments[3]),u(h)?m.showHidden=h:h&&e._extend(m,h),W(m.showHidden)&&(m.showHidden=!1),W(m.depth)&&(m.depth=2),W(m.colors)&&(m.colors=!1),W(m.customInspect)&&(m.customInspect=!0),m.colors&&(m.stylize=w),L(m,s,m.depth)}e.inspect=c,c.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]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function w(s,h){var m=c.styles[h];return m?"\x1B["+c.colors[m][0]+"m"+s+"\x1B["+c.colors[m][1]+"m":s}function y(s,h){return s}function E(s){var h={};return s.forEach(function(m,B){h[m]=!0}),h}function L(s,h,m){if(s.customInspect&&h&&Y(h.inspect)&&h.inspect!==e.inspect&&!(h.constructor&&h.constructor.prototype===h)){var B=h.inspect(m,s);return T(B)||(B=L(s,B,m)),B}var l=$(s,h);if(l)return l;var f=Object.keys(h),p=E(f);if(s.showHidden&&(f=Object.getOwnPropertyNames(h)),J(h)&&(f.indexOf("message")>=0||f.indexOf("description")>=0))return I(h);if(f.length===0){if(Y(h)){var _=h.name?": "+h.name:"";return s.stylize("[Function"+_+"]","special")}if(C(h))return s.stylize(RegExp.prototype.toString.call(h),"regexp");if(z(h))return s.stylize(Date.prototype.toString.call(h),"date");if(J(h))return I(h)}var j="",n=!1,i=["{","}"];if(R(h)&&(n=!0,i=["[","]"]),Y(h)){var v=h.name?": "+h.name:"";j=" [Function"+v+"]"}if(C(h)&&(j=" "+RegExp.prototype.toString.call(h)),z(h)&&(j=" "+Date.prototype.toUTCString.call(h)),J(h)&&(j=" "+I(h)),f.length===0&&(!n||h.length==0))return i[0]+j+i[1];if(m<0)return C(h)?s.stylize(RegExp.prototype.toString.call(h),"regexp"):s.stylize("[Object]","special");s.seen.push(h);var O;return n?O=x(s,h,m,p,f):O=f.map(function(H){return P(s,h,m,p,H,n)}),s.seen.pop(),M(O,j,i)}function $(s,h){if(W(h))return s.stylize("undefined","undefined");if(T(h)){var m="'"+JSON.stringify(h).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return s.stylize(m,"string")}if(A(h))return s.stylize(""+h,"number");if(u(h))return s.stylize(""+h,"boolean");if(b(h))return s.stylize("null","null")}function I(s){return"["+Error.prototype.toString.call(s)+"]"}function x(s,h,m,B,l){for(var f=[],p=0,_=h.length;p<_;++p)ee(h,String(p))?f.push(P(s,h,m,B,String(p),!0)):f.push("");return l.forEach(function(j){j.match(/^\d+$/)||f.push(P(s,h,m,B,j,!0))}),f}function P(s,h,m,B,l,f){var p,_,j;if(j=Object.getOwnPropertyDescriptor(h,l)||{value:h[l]},j.get?j.set?_=s.stylize("[Getter/Setter]","special"):_=s.stylize("[Getter]","special"):j.set&&(_=s.stylize("[Setter]","special")),ee(B,l)||(p="["+l+"]"),_||(s.seen.indexOf(j.value)<0?(b(m)?_=L(s,j.value,null):_=L(s,j.value,m-1),_.indexOf(`
|
|
2
|
-
`)>-1&&(f?_=_.split(`
|
|
3
|
-
`).map(function(n){return" "+n}).join(`
|
|
4
|
-
`).slice(2):_=`
|
|
5
|
-
`+_.split(`
|
|
6
|
-
`).map(function(n){return" "+n}).join(`
|
|
7
|
-
`))):_=s.stylize("[Circular]","special")),W(p)){if(f&&l.match(/^\d+$/))return _;p=JSON.stringify(""+l),p.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(p=p.slice(1,-1),p=s.stylize(p,"name")):(p=p.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),p=s.stylize(p,"string"))}return p+": "+_}function M(s,h,m){var B=s.reduce(function(l,f){return f.indexOf(`
|
|
8
|
-
`)>=0,l+f.replace(/\u001b\[\d\d?m/g,"").length+1},0);return B>60?m[0]+(h===""?"":h+`
|
|
9
|
-
`)+" "+s.join(`,
|
|
10
|
-
`)+" "+m[1]:m[0]+h+" "+s.join(", ")+" "+m[1]}e.types=Ur;function R(s){return Array.isArray(s)}e.isArray=R;function u(s){return typeof s=="boolean"}e.isBoolean=u;function b(s){return s===null}e.isNull=b;function S(s){return s==null}e.isNullOrUndefined=S;function A(s){return typeof s=="number"}e.isNumber=A;function T(s){return typeof s=="string"}e.isString=T;function D(s){return typeof s=="symbol"}e.isSymbol=D;function W(s){return s===void 0}e.isUndefined=W;function C(s){return N(s)&&Z(s)==="[object RegExp]"}e.isRegExp=C,e.types.isRegExp=C;function N(s){return typeof s=="object"&&s!==null}e.isObject=N;function z(s){return N(s)&&Z(s)==="[object Date]"}e.isDate=z,e.types.isDate=z;function J(s){return N(s)&&(Z(s)==="[object Error]"||s instanceof Error)}e.isError=J,e.types.isNativeError=J;function Y(s){return typeof s=="function"}e.isFunction=Y;function re(s){return s===null||typeof s=="boolean"||typeof s=="number"||typeof s=="string"||typeof s=="symbol"||typeof s>"u"}e.isPrimitive=re,e.isBuffer=Co;function Z(s){return Object.prototype.toString.call(s)}function ne(s){return s<10?"0"+s.toString(10):s.toString(10)}var ie=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Q(){var s=new Date,h=[ne(s.getHours()),ne(s.getMinutes()),ne(s.getSeconds())].join(":");return[s.getDate(),ie[s.getMonth()],h].join(" ")}e.log=function(){console.log("%s - %s",Q(),e.format.apply(e,arguments))},e.inherits=se,e._extend=function(s,h){if(!h||!N(h))return s;for(var m=Object.keys(h),B=m.length;B--;)s[m[B]]=h[m[B]];return s};function ee(s,h){return Object.prototype.hasOwnProperty.call(s,h)}var K=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(h){if(typeof h!="function")throw new TypeError('The "original" argument must be of type Function');if(K&&h[K]){var m=h[K];if(typeof m!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(m,K,{value:m,enumerable:!1,writable:!1,configurable:!0}),m}function m(){for(var B,l,f=new Promise(function(j,n){B=j,l=n}),p=[],_=0;_<arguments.length;_++)p.push(arguments[_]);p.push(function(j,n){j?l(j):B(n)});try{h.apply(this,p)}catch(j){l(j)}return f}return Object.setPrototypeOf(m,Object.getPrototypeOf(h)),K&&Object.defineProperty(m,K,{value:m,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(m,t(h))},e.promisify.custom=K;function te(s,h){if(!s){var m=new Error("Promise was rejected with a falsy value");m.reason=s,s=m}return h(s)}function fe(s){if(typeof s!="function")throw new TypeError('The "original" argument must be of type Function');function h(){for(var m=[],B=0;B<arguments.length;B++)m.push(arguments[B]);var l=m.pop();if(typeof l!="function")throw new TypeError("The last argument must be of type Function");var f=this,p=function(){return l.apply(f,arguments)};s.apply(this,m).then(function(_){U.process$1.nextTick(p.bind(null,null,_))},function(_){U.process$1.nextTick(te.bind(null,_,p))})}return Object.setPrototypeOf(h,Object.getPrototypeOf(s)),Object.defineProperties(h,t(s)),h}e.callbackify=fe})(Nt);var yt,yr;function Fo(){if(yr)return yt;yr=1;function e(P,M){var R=Object.keys(P);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(P);M&&(u=u.filter(function(b){return Object.getOwnPropertyDescriptor(P,b).enumerable})),R.push.apply(R,u)}return R}function t(P){for(var M=1;M<arguments.length;M++){var R=arguments[M]!=null?arguments[M]:{};M%2?e(Object(R),!0).forEach(function(u){r(P,u,R[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(R)):e(Object(R)).forEach(function(u){Object.defineProperty(P,u,Object.getOwnPropertyDescriptor(R,u))})}return P}function r(P,M,R){return M=c(M),M in P?Object.defineProperty(P,M,{value:R,enumerable:!0,configurable:!0,writable:!0}):P[M]=R,P}function o(P,M){if(!(P instanceof M))throw new TypeError("Cannot call a class as a function")}function a(P,M){for(var R=0;R<M.length;R++){var u=M[R];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(P,c(u.key),u)}}function d(P,M,R){return M&&a(P.prototype,M),Object.defineProperty(P,"prototype",{writable:!1}),P}function c(P){var M=w(P,"string");return typeof M=="symbol"?M:String(M)}function w(P,M){if(typeof P!="object"||P===null)return P;var R=P[Symbol.toPrimitive];if(R!==void 0){var u=R.call(P,M);if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(P)}var y=Ve,E=y.Buffer,L=Nt,$=L.inspect,I=$&&$.custom||"inspect";function x(P,M,R){E.prototype.copy.call(P,M,R)}return yt=function(){function P(){o(this,P),this.head=null,this.tail=null,this.length=0}return d(P,[{key:"push",value:function(R){var u={data:R,next:null};this.length>0?this.tail.next=u:this.head=u,this.tail=u,++this.length}},{key:"unshift",value:function(R){var u={data:R,next:this.head};this.length===0&&(this.tail=u),this.head=u,++this.length}},{key:"shift",value:function(){if(this.length!==0){var R=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,R}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(R){if(this.length===0)return"";for(var u=this.head,b=""+u.data;u=u.next;)b+=R+u.data;return b}},{key:"concat",value:function(R){if(this.length===0)return E.alloc(0);for(var u=E.allocUnsafe(R>>>0),b=this.head,S=0;b;)x(b.data,u,S),S+=b.data.length,b=b.next;return u}},{key:"consume",value:function(R,u){var b;return R<this.head.data.length?(b=this.head.data.slice(0,R),this.head.data=this.head.data.slice(R)):R===this.head.data.length?b=this.shift():b=u?this._getString(R):this._getBuffer(R),b}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(R){var u=this.head,b=1,S=u.data;for(R-=S.length;u=u.next;){var A=u.data,T=R>A.length?A.length:R;if(T===A.length?S+=A:S+=A.slice(0,R),R-=T,R===0){T===A.length?(++b,u.next?this.head=u.next:this.head=this.tail=null):(this.head=u,u.data=A.slice(T));break}++b}return this.length-=b,S}},{key:"_getBuffer",value:function(R){var u=E.allocUnsafe(R),b=this.head,S=1;for(b.data.copy(u),R-=b.data.length;b=b.next;){var A=b.data,T=R>A.length?A.length:R;if(A.copy(u,u.length-R,0,T),R-=T,R===0){T===A.length?(++S,b.next?this.head=b.next:this.head=this.tail=null):(this.head=b,b.data=A.slice(T));break}++S}return this.length-=S,u}},{key:I,value:function(R,u){return $(this,t(t({},u),{},{depth:0,customInspect:!1}))}}]),P}(),yt}function Uo(e,t){var r=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,U.process$1.nextTick(Lt,this,e)):U.process$1.nextTick(Lt,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(d){!t&&d?r._writableState?r._writableState.errorEmitted?U.process$1.nextTick(ke,r):(r._writableState.errorEmitted=!0,U.process$1.nextTick(hr,r,d)):U.process$1.nextTick(hr,r,d):t?(U.process$1.nextTick(ke,r),t(d)):U.process$1.nextTick(ke,r)}),this)}function hr(e,t){Lt(e,t),ke(e)}function ke(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function ko(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function Lt(e,t){e.emit("error",t)}function Wo(e,t){var r=e._readableState,o=e._writableState;r&&r.autoDestroy||o&&o.autoDestroy?e.destroy(t):e.emit("error",t)}var ln={destroy:Uo,undestroy:ko,errorOrDestroy:Wo},ce={};function xo(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var sn={};function X(e,t,r){r||(r=Error);function o(d,c,w){return typeof t=="string"?t:t(d,c,w)}var a=function(d){xo(c,d);function c(w,y,E){return d.call(this,o(w,y,E))||this}return c}(r);a.prototype.name=r.name,a.prototype.code=e,sn[e]=a}function gr(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(o){return String(o)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:r===2?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}else return"of ".concat(t," ").concat(String(e))}function qo(e,t,r){return e.substr(0,t.length)===t}function Go(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function Ho(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}X("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);X("ERR_INVALID_ARG_TYPE",function(e,t,r){var o;typeof t=="string"&&qo(t,"not ")?(o="must not be",t=t.replace(/^not /,"")):o="must be";var a;if(Go(e," argument"))a="The ".concat(e," ").concat(o," ").concat(gr(t,"type"));else{var d=Ho(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(d," ").concat(o," ").concat(gr(t,"type"))}return a+=". Received type ".concat(typeof r),a},TypeError);X("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");X("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});X("ERR_STREAM_PREMATURE_CLOSE","Premature close");X("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});X("ERR_MULTIPLE_CALLBACK","Callback called multiple times");X("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");X("ERR_STREAM_WRITE_AFTER_END","write after end");X("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);X("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);X("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");ce.codes=sn;var Vo=ce.codes.ERR_INVALID_OPT_VALUE;function zo(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function Ko(e,t,r,o){var a=zo(t,o,r);if(a!=null){if(!(isFinite(a)&&Math.floor(a)===a)||a<0){var d=o?r:"highWaterMark";throw new Vo(d,a)}return Math.floor(a)}return e.objectMode?16:16*1024}var cn={getHighWaterMark:Ko},Jo=Yo;function Yo(e,t){if(ht("noDeprecation"))return e;var r=!1;function o(){if(!r){if(ht("throwDeprecation"))throw new Error(t);ht("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return o}function ht(e){try{if(!oe.commonjsGlobal.localStorage)return!1}catch{return!1}var t=oe.commonjsGlobal.localStorage[e];return t==null?!1:String(t).toLowerCase()==="true"}var gt,vr;function dn(){if(vr)return gt;vr=1,gt=C;function e(l){var f=this;this.next=null,this.entry=null,this.finish=function(){B(f,l)}}var t;C.WritableState=D;var r={deprecate:Jo},o=Fr,a=Ve.Buffer,d=(typeof oe.commonjsGlobal<"u"?oe.commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function c(l){return a.from(l)}function w(l){return a.isBuffer(l)||l instanceof d}var y=ln,E=cn,L=E.getHighWaterMark,$=ce.codes,I=$.ERR_INVALID_ARG_TYPE,x=$.ERR_METHOD_NOT_IMPLEMENTED,P=$.ERR_MULTIPLE_CALLBACK,M=$.ERR_STREAM_CANNOT_PIPE,R=$.ERR_STREAM_DESTROYED,u=$.ERR_STREAM_NULL_VALUES,b=$.ERR_STREAM_WRITE_AFTER_END,S=$.ERR_UNKNOWN_ENCODING,A=y.errorOrDestroy;se(C,o);function T(){}function D(l,f,p){t=t||_e(),l=l||{},typeof p!="boolean"&&(p=f instanceof t),this.objectMode=!!l.objectMode,p&&(this.objectMode=this.objectMode||!!l.writableObjectMode),this.highWaterMark=L(this,l,"writableHighWaterMark",p),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var _=l.decodeStrings===!1;this.decodeStrings=!_,this.defaultEncoding=l.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(j){ie(f,j)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=l.emitClose!==!1,this.autoDestroy=!!l.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}D.prototype.getBuffer=function(){for(var f=this.bufferedRequest,p=[];f;)p.push(f),f=f.next;return p},function(){try{Object.defineProperty(D.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var W;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(W=Function.prototype[Symbol.hasInstance],Object.defineProperty(C,Symbol.hasInstance,{value:function(f){return W.call(this,f)?!0:this!==C?!1:f&&f._writableState instanceof D}})):W=function(f){return f instanceof this};function C(l){t=t||_e();var f=this instanceof t;if(!f&&!W.call(C,this))return new C(l);this._writableState=new D(l,this,f),this.writable=!0,l&&(typeof l.write=="function"&&(this._write=l.write),typeof l.writev=="function"&&(this._writev=l.writev),typeof l.destroy=="function"&&(this._destroy=l.destroy),typeof l.final=="function"&&(this._final=l.final)),o.call(this)}C.prototype.pipe=function(){A(this,new M)};function N(l,f){var p=new b;A(l,p),U.process$1.nextTick(f,p)}function z(l,f,p,_){var j;return p===null?j=new u:typeof p!="string"&&!f.objectMode&&(j=new I("chunk",["string","Buffer"],p)),j?(A(l,j),U.process$1.nextTick(_,j),!1):!0}C.prototype.write=function(l,f,p){var _=this._writableState,j=!1,n=!_.objectMode&&w(l);return n&&!a.isBuffer(l)&&(l=c(l)),typeof f=="function"&&(p=f,f=null),n?f="buffer":f||(f=_.defaultEncoding),typeof p!="function"&&(p=T),_.ending?N(this,p):(n||z(this,_,l,p))&&(_.pendingcb++,j=Y(this,_,n,l,f,p)),j},C.prototype.cork=function(){this._writableState.corked++},C.prototype.uncork=function(){var l=this._writableState;l.corked&&(l.corked--,!l.writing&&!l.corked&&!l.bufferProcessing&&l.bufferedRequest&&K(this,l))},C.prototype.setDefaultEncoding=function(f){if(typeof f=="string"&&(f=f.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((f+"").toLowerCase())>-1))throw new S(f);return this._writableState.defaultEncoding=f,this},Object.defineProperty(C.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function J(l,f,p){return!l.objectMode&&l.decodeStrings!==!1&&typeof f=="string"&&(f=a.from(f,p)),f}Object.defineProperty(C.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Y(l,f,p,_,j,n){if(!p){var i=J(f,_,j);_!==i&&(p=!0,j="buffer",_=i)}var v=f.objectMode?1:_.length;f.length+=v;var O=f.length<f.highWaterMark;if(O||(f.needDrain=!0),f.writing||f.corked){var H=f.lastBufferedRequest;f.lastBufferedRequest={chunk:_,encoding:j,isBuf:p,callback:n,next:null},H?H.next=f.lastBufferedRequest:f.bufferedRequest=f.lastBufferedRequest,f.bufferedRequestCount+=1}else re(l,f,!1,v,_,j,n);return O}function re(l,f,p,_,j,n,i){f.writelen=_,f.writecb=i,f.writing=!0,f.sync=!0,f.destroyed?f.onwrite(new R("write")):p?l._writev(j,f.onwrite):l._write(j,n,f.onwrite),f.sync=!1}function Z(l,f,p,_,j){--f.pendingcb,p?(U.process$1.nextTick(j,_),U.process$1.nextTick(h,l,f),l._writableState.errorEmitted=!0,A(l,_)):(j(_),l._writableState.errorEmitted=!0,A(l,_),h(l,f))}function ne(l){l.writing=!1,l.writecb=null,l.length-=l.writelen,l.writelen=0}function ie(l,f){var p=l._writableState,_=p.sync,j=p.writecb;if(typeof j!="function")throw new P;if(ne(p),f)Z(l,p,_,f,j);else{var n=te(p)||l.destroyed;!n&&!p.corked&&!p.bufferProcessing&&p.bufferedRequest&&K(l,p),_?U.process$1.nextTick(Q,l,p,n,j):Q(l,p,n,j)}}function Q(l,f,p,_){p||ee(l,f),f.pendingcb--,_(),h(l,f)}function ee(l,f){f.length===0&&f.needDrain&&(f.needDrain=!1,l.emit("drain"))}function K(l,f){f.bufferProcessing=!0;var p=f.bufferedRequest;if(l._writev&&p&&p.next){var _=f.bufferedRequestCount,j=new Array(_),n=f.corkedRequestsFree;n.entry=p;for(var i=0,v=!0;p;)j[i]=p,p.isBuf||(v=!1),p=p.next,i+=1;j.allBuffers=v,re(l,f,!0,f.length,j,"",n.finish),f.pendingcb++,f.lastBufferedRequest=null,n.next?(f.corkedRequestsFree=n.next,n.next=null):f.corkedRequestsFree=new e(f),f.bufferedRequestCount=0}else{for(;p;){var O=p.chunk,H=p.encoding,F=p.callback,q=f.objectMode?1:O.length;if(re(l,f,!1,q,O,H,F),p=p.next,f.bufferedRequestCount--,f.writing)break}p===null&&(f.lastBufferedRequest=null)}f.bufferedRequest=p,f.bufferProcessing=!1}C.prototype._write=function(l,f,p){p(new x("_write()"))},C.prototype._writev=null,C.prototype.end=function(l,f,p){var _=this._writableState;return typeof l=="function"?(p=l,l=null,f=null):typeof f=="function"&&(p=f,f=null),l!=null&&this.write(l,f),_.corked&&(_.corked=1,this.uncork()),_.ending||m(this,_,p),this},Object.defineProperty(C.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function te(l){return l.ending&&l.length===0&&l.bufferedRequest===null&&!l.finished&&!l.writing}function fe(l,f){l._final(function(p){f.pendingcb--,p&&A(l,p),f.prefinished=!0,l.emit("prefinish"),h(l,f)})}function s(l,f){!f.prefinished&&!f.finalCalled&&(typeof l._final=="function"&&!f.destroyed?(f.pendingcb++,f.finalCalled=!0,U.process$1.nextTick(fe,l,f)):(f.prefinished=!0,l.emit("prefinish")))}function h(l,f){var p=te(f);if(p&&(s(l,f),f.pendingcb===0&&(f.finished=!0,l.emit("finish"),f.autoDestroy))){var _=l._readableState;(!_||_.autoDestroy&&_.endEmitted)&&l.destroy()}return p}function m(l,f,p){f.ending=!0,h(l,f),p&&(f.finished?U.process$1.nextTick(p):l.once("finish",p)),f.ended=!0,l.writable=!1}function B(l,f,p){var _=l.entry;for(l.entry=null;_;){var j=_.callback;f.pendingcb--,j(p),_=_.next}f.corkedRequestsFree.next=l}return Object.defineProperty(C.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(f){this._writableState&&(this._writableState.destroyed=f)}}),C.prototype.destroy=y.destroy,C.prototype._undestroy=y.undestroy,C.prototype._destroy=function(l,f){f(l)},gt}var vt,br;function _e(){if(br)return vt;br=1;var e=Object.keys||function(E){var L=[];for(var $ in E)L.push($);return L};vt=c;var t=yn(),r=dn();se(c,t);for(var o=e(r.prototype),a=0;a<o.length;a++){var d=o[a];c.prototype[d]||(c.prototype[d]=r.prototype[d])}function c(E){if(!(this instanceof c))return new c(E);t.call(this,E),r.call(this,E),this.allowHalfOpen=!0,E&&(E.readable===!1&&(this.readable=!1),E.writable===!1&&(this.writable=!1),E.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",w)))}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function w(){this._writableState.ended||U.process$1.nextTick(y,this)}function y(E){E.end()}return Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(L){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=L,this._writableState.destroyed=L)}}),vt}var bt={},Ne={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var mr;function Zo(){return mr||(mr=1,function(e,t){var r=Ve,o=r.Buffer;function a(c,w){for(var y in c)w[y]=c[y]}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(a(r,t),t.Buffer=d);function d(c,w,y){return o(c,w,y)}d.prototype=Object.create(o.prototype),a(o,d),d.from=function(c,w,y){if(typeof c=="number")throw new TypeError("Argument must not be a number");return o(c,w,y)},d.alloc=function(c,w,y){if(typeof c!="number")throw new TypeError("Argument must be a number");var E=o(c);return w!==void 0?typeof y=="string"?E.fill(w,y):E.fill(w):E.fill(0),E},d.allocUnsafe=function(c){if(typeof c!="number")throw new TypeError("Argument must be a number");return o(c)},d.allocUnsafeSlow=function(c){if(typeof c!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(c)}}(Ne,Ne.exports)),Ne.exports}var wr;function _r(){if(wr)return bt;wr=1;var e=Zo().Buffer,t=e.isEncoding||function(u){switch(u=""+u,u&&u.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 r(u){if(!u)return"utf8";for(var b;;)switch(u){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 u;default:if(b)return;u=(""+u).toLowerCase(),b=!0}}function o(u){var b=r(u);if(typeof b!="string"&&(e.isEncoding===t||!t(u)))throw new Error("Unknown encoding: "+u);return b||u}bt.StringDecoder=a;function a(u){this.encoding=o(u);var b;switch(this.encoding){case"utf16le":this.text=$,this.end=I,b=4;break;case"utf8":this.fillLast=y,b=4;break;case"base64":this.text=x,this.end=P,b=3;break;default:this.write=M,this.end=R;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(b)}a.prototype.write=function(u){if(u.length===0)return"";var b,S;if(this.lastNeed){if(b=this.fillLast(u),b===void 0)return"";S=this.lastNeed,this.lastNeed=0}else S=0;return S<u.length?b?b+this.text(u,S):this.text(u,S):b||""},a.prototype.end=L,a.prototype.text=E,a.prototype.fillLast=function(u){if(this.lastNeed<=u.length)return u.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);u.copy(this.lastChar,this.lastTotal-this.lastNeed,0,u.length),this.lastNeed-=u.length};function d(u){return u<=127?0:u>>5===6?2:u>>4===14?3:u>>3===30?4:u>>6===2?-1:-2}function c(u,b,S){var A=b.length-1;if(A<S)return 0;var T=d(b[A]);return T>=0?(T>0&&(u.lastNeed=T-1),T):--A<S||T===-2?0:(T=d(b[A]),T>=0?(T>0&&(u.lastNeed=T-2),T):--A<S||T===-2?0:(T=d(b[A]),T>=0?(T>0&&(T===2?T=0:u.lastNeed=T-3),T):0))}function w(u,b,S){if((b[0]&192)!==128)return u.lastNeed=0,"�";if(u.lastNeed>1&&b.length>1){if((b[1]&192)!==128)return u.lastNeed=1,"�";if(u.lastNeed>2&&b.length>2&&(b[2]&192)!==128)return u.lastNeed=2,"�"}}function y(u){var b=this.lastTotal-this.lastNeed,S=w(this,u);if(S!==void 0)return S;if(this.lastNeed<=u.length)return u.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);u.copy(this.lastChar,b,0,u.length),this.lastNeed-=u.length}function E(u,b){var S=c(this,u,b);if(!this.lastNeed)return u.toString("utf8",b);this.lastTotal=S;var A=u.length-(S-this.lastNeed);return u.copy(this.lastChar,0,A),u.toString("utf8",b,A)}function L(u){var b=u&&u.length?this.write(u):"";return this.lastNeed?b+"�":b}function $(u,b){if((u.length-b)%2===0){var S=u.toString("utf16le",b);if(S){var A=S.charCodeAt(S.length-1);if(A>=55296&&A<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=u[u.length-2],this.lastChar[1]=u[u.length-1],S.slice(0,-1)}return S}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=u[u.length-1],u.toString("utf16le",b,u.length-1)}function I(u){var b=u&&u.length?this.write(u):"";if(this.lastNeed){var S=this.lastTotal-this.lastNeed;return b+this.lastChar.toString("utf16le",0,S)}return b}function x(u,b){var S=(u.length-b)%3;return S===0?u.toString("base64",b):(this.lastNeed=3-S,this.lastTotal=3,S===1?this.lastChar[0]=u[u.length-1]:(this.lastChar[0]=u[u.length-2],this.lastChar[1]=u[u.length-1]),u.toString("base64",b,u.length-S))}function P(u){var b=u&&u.length?this.write(u):"";return this.lastNeed?b+this.lastChar.toString("base64",0,3-this.lastNeed):b}function M(u){return u.toString(this.encoding)}function R(u){return u&&u.length?this.write(u):""}return bt}var Sr=ce.codes.ERR_STREAM_PREMATURE_CLOSE;function Xo(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];e.apply(this,o)}}}function Qo(){}function ea(e){return e.setHeader&&typeof e.abort=="function"}function pn(e,t,r){if(typeof t=="function")return pn(e,null,t);t||(t={}),r=Xo(r||Qo);var o=t.readable||t.readable!==!1&&e.readable,a=t.writable||t.writable!==!1&&e.writable,d=function(){e.writable||w()},c=e._writableState&&e._writableState.finished,w=function(){a=!1,c=!0,o||r.call(e)},y=e._readableState&&e._readableState.endEmitted,E=function(){o=!1,y=!0,a||r.call(e)},L=function(P){r.call(e,P)},$=function(){var P;if(o&&!y)return(!e._readableState||!e._readableState.ended)&&(P=new Sr),r.call(e,P);if(a&&!c)return(!e._writableState||!e._writableState.ended)&&(P=new Sr),r.call(e,P)},I=function(){e.req.on("finish",w)};return ea(e)?(e.on("complete",w),e.on("abort",$),e.req?I():e.on("request",I)):a&&!e._writableState&&(e.on("end",d),e.on("close",d)),e.on("end",E),e.on("finish",w),t.error!==!1&&e.on("error",L),e.on("close",$),function(){e.removeListener("complete",w),e.removeListener("abort",$),e.removeListener("request",I),e.req&&e.req.removeListener("finish",w),e.removeListener("end",d),e.removeListener("close",d),e.removeListener("finish",w),e.removeListener("end",E),e.removeListener("error",L),e.removeListener("close",$)}}var Wt=pn,mt,Er;function ta(){if(Er)return mt;Er=1;var e;function t(S,A,T){return A=r(A),A in S?Object.defineProperty(S,A,{value:T,enumerable:!0,configurable:!0,writable:!0}):S[A]=T,S}function r(S){var A=o(S,"string");return typeof A=="symbol"?A:String(A)}function o(S,A){if(typeof S!="object"||S===null)return S;var T=S[Symbol.toPrimitive];if(T!==void 0){var D=T.call(S,A);if(typeof D!="object")return D;throw new TypeError("@@toPrimitive must return a primitive value.")}return(A==="string"?String:Number)(S)}var a=Wt,d=Symbol("lastResolve"),c=Symbol("lastReject"),w=Symbol("error"),y=Symbol("ended"),E=Symbol("lastPromise"),L=Symbol("handlePromise"),$=Symbol("stream");function I(S,A){return{value:S,done:A}}function x(S){var A=S[d];if(A!==null){var T=S[$].read();T!==null&&(S[E]=null,S[d]=null,S[c]=null,A(I(T,!1)))}}function P(S){U.process$1.nextTick(x,S)}function M(S,A){return function(T,D){S.then(function(){if(A[y]){T(I(void 0,!0));return}A[L](T,D)},D)}}var R=Object.getPrototypeOf(function(){}),u=Object.setPrototypeOf((e={get stream(){return this[$]},next:function(){var A=this,T=this[w];if(T!==null)return Promise.reject(T);if(this[y])return Promise.resolve(I(void 0,!0));if(this[$].destroyed)return new Promise(function(N,z){U.process$1.nextTick(function(){A[w]?z(A[w]):N(I(void 0,!0))})});var D=this[E],W;if(D)W=new Promise(M(D,this));else{var C=this[$].read();if(C!==null)return Promise.resolve(I(C,!1));W=new Promise(this[L])}return this[E]=W,W}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var A=this;return new Promise(function(T,D){A[$].destroy(null,function(W){if(W){D(W);return}T(I(void 0,!0))})})}),e),R),b=function(A){var T,D=Object.create(u,(T={},t(T,$,{value:A,writable:!0}),t(T,d,{value:null,writable:!0}),t(T,c,{value:null,writable:!0}),t(T,w,{value:null,writable:!0}),t(T,y,{value:A._readableState.endEmitted,writable:!0}),t(T,L,{value:function(C,N){var z=D[$].read();z?(D[E]=null,D[d]=null,D[c]=null,C(I(z,!1))):(D[d]=C,D[c]=N)},writable:!0}),T));return D[E]=null,a(A,function(W){if(W&&W.code!=="ERR_STREAM_PREMATURE_CLOSE"){var C=D[c];C!==null&&(D[E]=null,D[d]=null,D[c]=null,C(W)),D[w]=W;return}var N=D[d];N!==null&&(D[E]=null,D[d]=null,D[c]=null,N(I(void 0,!0))),D[y]=!0}),A.on("readable",P.bind(null,D)),D};return mt=b,mt}var wt,Ar;function ra(){return Ar||(Ar=1,wt=function(){throw new Error("Readable.from is not available in the browser")}),wt}var _t,Rr;function yn(){if(Rr)return _t;Rr=1,_t=N;var e;N.ReadableState=C,Cr.EventEmitter;var t=function(i,v){return i.listeners(v).length},r=Fr,o=Ve.Buffer,a=(typeof oe.commonjsGlobal<"u"?oe.commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function d(n){return o.from(n)}function c(n){return o.isBuffer(n)||n instanceof a}var w=Nt,y;w&&w.debuglog?y=w.debuglog("stream"):y=function(){};var E=Fo(),L=ln,$=cn,I=$.getHighWaterMark,x=ce.codes,P=x.ERR_INVALID_ARG_TYPE,M=x.ERR_STREAM_PUSH_AFTER_EOF,R=x.ERR_METHOD_NOT_IMPLEMENTED,u=x.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,b,S,A;se(N,r);var T=L.errorOrDestroy,D=["error","close","destroy","pause","resume"];function W(n,i,v){if(typeof n.prependListener=="function")return n.prependListener(i,v);!n._events||!n._events[i]?n.on(i,v):Array.isArray(n._events[i])?n._events[i].unshift(v):n._events[i]=[v,n._events[i]]}function C(n,i,v){e=e||_e(),n=n||{},typeof v!="boolean"&&(v=i instanceof e),this.objectMode=!!n.objectMode,v&&(this.objectMode=this.objectMode||!!n.readableObjectMode),this.highWaterMark=I(this,n,"readableHighWaterMark",v),this.buffer=new E,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=n.emitClose!==!1,this.autoDestroy=!!n.autoDestroy,this.destroyed=!1,this.defaultEncoding=n.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,n.encoding&&(b||(b=_r().StringDecoder),this.decoder=new b(n.encoding),this.encoding=n.encoding)}function N(n){if(e=e||_e(),!(this instanceof N))return new N(n);var i=this instanceof e;this._readableState=new C(n,this,i),this.readable=!0,n&&(typeof n.read=="function"&&(this._read=n.read),typeof n.destroy=="function"&&(this._destroy=n.destroy)),r.call(this)}Object.defineProperty(N.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(i){this._readableState&&(this._readableState.destroyed=i)}}),N.prototype.destroy=L.destroy,N.prototype._undestroy=L.undestroy,N.prototype._destroy=function(n,i){i(n)},N.prototype.push=function(n,i){var v=this._readableState,O;return v.objectMode?O=!0:typeof n=="string"&&(i=i||v.defaultEncoding,i!==v.encoding&&(n=o.from(n,i),i=""),O=!0),z(this,n,i,!1,O)},N.prototype.unshift=function(n){return z(this,n,null,!0,!1)};function z(n,i,v,O,H){y("readableAddChunk",i);var F=n._readableState;if(i===null)F.reading=!1,ie(n,F);else{var q;if(H||(q=Y(F,i)),q)T(n,q);else if(F.objectMode||i&&i.length>0)if(typeof i!="string"&&!F.objectMode&&Object.getPrototypeOf(i)!==o.prototype&&(i=d(i)),O)F.endEmitted?T(n,new u):J(n,F,i,!0);else if(F.ended)T(n,new M);else{if(F.destroyed)return!1;F.reading=!1,F.decoder&&!v?(i=F.decoder.write(i),F.objectMode||i.length!==0?J(n,F,i,!1):K(n,F)):J(n,F,i,!1)}else O||(F.reading=!1,K(n,F))}return!F.ended&&(F.length<F.highWaterMark||F.length===0)}function J(n,i,v,O){i.flowing&&i.length===0&&!i.sync?(i.awaitDrain=0,n.emit("data",v)):(i.length+=i.objectMode?1:v.length,O?i.buffer.unshift(v):i.buffer.push(v),i.needReadable&&Q(n)),K(n,i)}function Y(n,i){var v;return!c(i)&&typeof i!="string"&&i!==void 0&&!n.objectMode&&(v=new P("chunk",["string","Buffer","Uint8Array"],i)),v}N.prototype.isPaused=function(){return this._readableState.flowing===!1},N.prototype.setEncoding=function(n){b||(b=_r().StringDecoder);var i=new b(n);this._readableState.decoder=i,this._readableState.encoding=this._readableState.decoder.encoding;for(var v=this._readableState.buffer.head,O="";v!==null;)O+=i.write(v.data),v=v.next;return this._readableState.buffer.clear(),O!==""&&this._readableState.buffer.push(O),this._readableState.length=O.length,this};var re=1073741824;function Z(n){return n>=re?n=re:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n}function ne(n,i){return n<=0||i.length===0&&i.ended?0:i.objectMode?1:n!==n?i.flowing&&i.length?i.buffer.head.data.length:i.length:(n>i.highWaterMark&&(i.highWaterMark=Z(n)),n<=i.length?n:i.ended?i.length:(i.needReadable=!0,0))}N.prototype.read=function(n){y("read",n),n=parseInt(n,10);var i=this._readableState,v=n;if(n!==0&&(i.emittedReadable=!1),n===0&&i.needReadable&&((i.highWaterMark!==0?i.length>=i.highWaterMark:i.length>0)||i.ended))return y("read: emitReadable",i.length,i.ended),i.length===0&&i.ended?p(this):Q(this),null;if(n=ne(n,i),n===0&&i.ended)return i.length===0&&p(this),null;var O=i.needReadable;y("need readable",O),(i.length===0||i.length-n<i.highWaterMark)&&(O=!0,y("length less than watermark",O)),i.ended||i.reading?(O=!1,y("reading or ended",O)):O&&(y("do read"),i.reading=!0,i.sync=!0,i.length===0&&(i.needReadable=!0),this._read(i.highWaterMark),i.sync=!1,i.reading||(n=ne(v,i)));var H;return n>0?H=f(n,i):H=null,H===null?(i.needReadable=i.length<=i.highWaterMark,n=0):(i.length-=n,i.awaitDrain=0),i.length===0&&(i.ended||(i.needReadable=!0),v!==n&&i.ended&&p(this)),H!==null&&this.emit("data",H),H};function ie(n,i){if(y("onEofChunk"),!i.ended){if(i.decoder){var v=i.decoder.end();v&&v.length&&(i.buffer.push(v),i.length+=i.objectMode?1:v.length)}i.ended=!0,i.sync?Q(n):(i.needReadable=!1,i.emittedReadable||(i.emittedReadable=!0,ee(n)))}}function Q(n){var i=n._readableState;y("emitReadable",i.needReadable,i.emittedReadable),i.needReadable=!1,i.emittedReadable||(y("emitReadable",i.flowing),i.emittedReadable=!0,U.process$1.nextTick(ee,n))}function ee(n){var i=n._readableState;y("emitReadable_",i.destroyed,i.length,i.ended),!i.destroyed&&(i.length||i.ended)&&(n.emit("readable"),i.emittedReadable=!1),i.needReadable=!i.flowing&&!i.ended&&i.length<=i.highWaterMark,l(n)}function K(n,i){i.readingMore||(i.readingMore=!0,U.process$1.nextTick(te,n,i))}function te(n,i){for(;!i.reading&&!i.ended&&(i.length<i.highWaterMark||i.flowing&&i.length===0);){var v=i.length;if(y("maybeReadMore read 0"),n.read(0),v===i.length)break}i.readingMore=!1}N.prototype._read=function(n){T(this,new R("_read()"))},N.prototype.pipe=function(n,i){var v=this,O=this._readableState;switch(O.pipesCount){case 0:O.pipes=n;break;case 1:O.pipes=[O.pipes,n];break;default:O.pipes.push(n);break}O.pipesCount+=1,y("pipe count=%d opts=%j",O.pipesCount,i);var H=(!i||i.end!==!1)&&n!==U.process$1.stdout&&n!==U.process$1.stderr,F=H?ue:Re;O.endEmitted?U.process$1.nextTick(F):v.once("end",F),n.on("unpipe",q);function q(de,pe){y("onunpipe"),de===v&&pe&&pe.hasUnpiped===!1&&(pe.hasUnpiped=!0,xt())}function ue(){y("onend"),n.end()}var g=fe(v);n.on("drain",g);var Le=!1;function xt(){y("cleanup"),n.removeListener("close",Qe),n.removeListener("finish",et),n.removeListener("drain",g),n.removeListener("error",Xe),n.removeListener("unpipe",q),v.removeListener("end",ue),v.removeListener("end",Re),v.removeListener("data",qt),Le=!0,O.awaitDrain&&(!n._writableState||n._writableState.needDrain)&&g()}v.on("data",qt);function qt(de){y("ondata");var pe=n.write(de);y("dest.write",pe),pe===!1&&((O.pipesCount===1&&O.pipes===n||O.pipesCount>1&&j(O.pipes,n)!==-1)&&!Le&&(y("false write response, pause",O.awaitDrain),O.awaitDrain++),v.pause())}function Xe(de){y("onerror",de),Re(),n.removeListener("error",Xe),t(n,"error")===0&&T(n,de)}W(n,"error",Xe);function Qe(){n.removeListener("finish",et),Re()}n.once("close",Qe);function et(){y("onfinish"),n.removeListener("close",Qe),Re()}n.once("finish",et);function Re(){y("unpipe"),v.unpipe(n)}return n.emit("pipe",v),O.flowing||(y("pipe resume"),v.resume()),n};function fe(n){return function(){var v=n._readableState;y("pipeOnDrain",v.awaitDrain),v.awaitDrain&&v.awaitDrain--,v.awaitDrain===0&&t(n,"data")&&(v.flowing=!0,l(n))}}N.prototype.unpipe=function(n){var i=this._readableState,v={hasUnpiped:!1};if(i.pipesCount===0)return this;if(i.pipesCount===1)return n&&n!==i.pipes?this:(n||(n=i.pipes),i.pipes=null,i.pipesCount=0,i.flowing=!1,n&&n.emit("unpipe",this,v),this);if(!n){var O=i.pipes,H=i.pipesCount;i.pipes=null,i.pipesCount=0,i.flowing=!1;for(var F=0;F<H;F++)O[F].emit("unpipe",this,{hasUnpiped:!1});return this}var q=j(i.pipes,n);return q===-1?this:(i.pipes.splice(q,1),i.pipesCount-=1,i.pipesCount===1&&(i.pipes=i.pipes[0]),n.emit("unpipe",this,v),this)},N.prototype.on=function(n,i){var v=r.prototype.on.call(this,n,i),O=this._readableState;return n==="data"?(O.readableListening=this.listenerCount("readable")>0,O.flowing!==!1&&this.resume()):n==="readable"&&!O.endEmitted&&!O.readableListening&&(O.readableListening=O.needReadable=!0,O.flowing=!1,O.emittedReadable=!1,y("on readable",O.length,O.reading),O.length?Q(this):O.reading||U.process$1.nextTick(h,this)),v},N.prototype.addListener=N.prototype.on,N.prototype.removeListener=function(n,i){var v=r.prototype.removeListener.call(this,n,i);return n==="readable"&&U.process$1.nextTick(s,this),v},N.prototype.removeAllListeners=function(n){var i=r.prototype.removeAllListeners.apply(this,arguments);return(n==="readable"||n===void 0)&&U.process$1.nextTick(s,this),i};function s(n){var i=n._readableState;i.readableListening=n.listenerCount("readable")>0,i.resumeScheduled&&!i.paused?i.flowing=!0:n.listenerCount("data")>0&&n.resume()}function h(n){y("readable nexttick read 0"),n.read(0)}N.prototype.resume=function(){var n=this._readableState;return n.flowing||(y("resume"),n.flowing=!n.readableListening,m(this,n)),n.paused=!1,this};function m(n,i){i.resumeScheduled||(i.resumeScheduled=!0,U.process$1.nextTick(B,n,i))}function B(n,i){y("resume",i.reading),i.reading||n.read(0),i.resumeScheduled=!1,n.emit("resume"),l(n),i.flowing&&!i.reading&&n.read(0)}N.prototype.pause=function(){return y("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(y("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function l(n){var i=n._readableState;for(y("flow",i.flowing);i.flowing&&n.read()!==null;);}N.prototype.wrap=function(n){var i=this,v=this._readableState,O=!1;n.on("end",function(){if(y("wrapped end"),v.decoder&&!v.ended){var q=v.decoder.end();q&&q.length&&i.push(q)}i.push(null)}),n.on("data",function(q){if(y("wrapped data"),v.decoder&&(q=v.decoder.write(q)),!(v.objectMode&&q==null)&&!(!v.objectMode&&(!q||!q.length))){var ue=i.push(q);ue||(O=!0,n.pause())}});for(var H in n)this[H]===void 0&&typeof n[H]=="function"&&(this[H]=function(ue){return function(){return n[ue].apply(n,arguments)}}(H));for(var F=0;F<D.length;F++)n.on(D[F],this.emit.bind(this,D[F]));return this._read=function(q){y("wrapped _read",q),O&&(O=!1,n.resume())},this},typeof Symbol=="function"&&(N.prototype[Symbol.asyncIterator]=function(){return S===void 0&&(S=ta()),S(this)}),Object.defineProperty(N.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(N.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(N.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(i){this._readableState&&(this._readableState.flowing=i)}}),N._fromList=f,Object.defineProperty(N.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function f(n,i){if(i.length===0)return null;var v;return i.objectMode?v=i.buffer.shift():!n||n>=i.length?(i.decoder?v=i.buffer.join(""):i.buffer.length===1?v=i.buffer.first():v=i.buffer.concat(i.length),i.buffer.clear()):v=i.buffer.consume(n,i.decoder),v}function p(n){var i=n._readableState;y("endReadable",i.endEmitted),i.endEmitted||(i.ended=!0,U.process$1.nextTick(_,i,n))}function _(n,i){if(y("endReadableNT",n.endEmitted,n.length),!n.endEmitted&&n.length===0&&(n.endEmitted=!0,i.readable=!1,i.emit("end"),n.autoDestroy)){var v=i._writableState;(!v||v.autoDestroy&&v.finished)&&i.destroy()}}typeof Symbol=="function"&&(N.from=function(n,i){return A===void 0&&(A=ra()),A(N,n,i)});function j(n,i){for(var v=0,O=n.length;v<O;v++)if(n[v]===i)return v;return-1}return _t}var hn=ae,Ye=ce.codes,na=Ye.ERR_METHOD_NOT_IMPLEMENTED,ia=Ye.ERR_MULTIPLE_CALLBACK,oa=Ye.ERR_TRANSFORM_ALREADY_TRANSFORMING,aa=Ye.ERR_TRANSFORM_WITH_LENGTH_0,Ze=_e();se(ae,Ze);function fa(e,t){var r=this._transformState;r.transforming=!1;var o=r.writecb;if(o===null)return this.emit("error",new ia);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),o(e);var a=this._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}function ae(e){if(!(this instanceof ae))return new ae(e);Ze.call(this,e),this._transformState={afterTransform:fa.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",ua)}function ua(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){Or(e,t,r)}):Or(this,null,null)}ae.prototype.push=function(e,t){return this._transformState.needTransform=!1,Ze.prototype.push.call(this,e,t)};ae.prototype._transform=function(e,t,r){r(new na("_transform()"))};ae.prototype._write=function(e,t,r){var o=this._transformState;if(o.writecb=r,o.writechunk=e,o.writeencoding=t,!o.transforming){var a=this._readableState;(o.needTransform||a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}};ae.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};ae.prototype._destroy=function(e,t){Ze.prototype._destroy.call(this,e,function(r){t(r)})};function Or(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new aa;if(e._transformState.transforming)throw new oa;return e.push(null)}var la=Pe,gn=hn;se(Pe,gn);function Pe(e){if(!(this instanceof Pe))return new Pe(e);gn.call(this,e)}Pe.prototype._transform=function(e,t,r){r(null,e)};var St;function sa(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var vn=ce.codes,ca=vn.ERR_MISSING_ARGS,da=vn.ERR_STREAM_DESTROYED;function Pr(e){if(e)throw e}function pa(e){return e.setHeader&&typeof e.abort=="function"}function ya(e,t,r,o){o=sa(o);var a=!1;e.on("close",function(){a=!0}),St===void 0&&(St=Wt),St(e,{readable:t,writable:r},function(c){if(c)return o(c);a=!0,o()});var d=!1;return function(c){if(!a&&!d){if(d=!0,pa(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();o(c||new da("pipe"))}}}function Tr(e){e()}function ha(e,t){return e.pipe(t)}function ga(e){return!e.length||typeof e[e.length-1]!="function"?Pr:e.pop()}function va(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o=ga(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new ca("streams");var a,d=t.map(function(c,w){var y=w<t.length-1,E=w>0;return ya(c,y,E,function(L){a||(a=L),L&&d.forEach(Tr),!y&&(d.forEach(Tr),o(a))})});return t.reduce(ha)}var ba=va;exports._stream_passthrough=la;exports._stream_transform=hn;exports.callBound=Ae;exports.endOfStream=Wt;exports.getIntrinsic=Ft;exports.inherits_browserExports=se;exports.pipeline_1=ba;exports.require_stream_duplex=_e;exports.require_stream_readable=yn;exports.require_stream_writable=dn;exports.type=Se;
|