const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('activity', '', 'js/ActivityTab-BMQubd_h.chunk.mjs'),window.OC.filePath('activity', '', 'js/_plugin-vue_export-helper-BUWJmgct.chunk.mjs'),window.OC.filePath('activity', '', 'js/index-NjYp13Ld.chunk.mjs'),window.OC.filePath('activity', '', 'js/index-9ivYYh8l.chunk.mjs'),window.OC.filePath('activity', '', 'js/ActivityComponent.vue_vue_type_script_setup_true_lang-6X3bFNJD.chunk.mjs'),window.OC.filePath('activity', '', 'js/preload-helper-DxYC2qmj.chunk.mjs'),window.OC.filePath('activity', '', 'js/logger-1JHA8kGV.chunk.mjs'),window.OC.filePath('activity', '', 'js/api-mFrM-9qG.chunk.mjs')])))=>i.map(i=>d[i]); import{_ as Eo}from"./preload-helper-DxYC2qmj.chunk.mjs";import{a as So,c as Tt,p as tt,b as _o}from"./index-NjYp13Ld.chunk.mjs";import{Y as Ht,Z as To,L as Ao,_ as Oo}from"./index-9ivYYh8l.chunk.mjs";const Io='';window._nc_files_scope??={},window._nc_files_scope.v4_0??={};const zt=window._nc_files_scope.v4_0,Je=So().setApp("@nextcloud/files").detectUser().build();var Ze={},Ft={exports:{}},Ke;function Ge(){if(Ke)return Ft.exports;Ke=1;var a=typeof Reflect=="object"?Reflect:null,m=a&&typeof a.apply=="function"?a.apply:function(c,E,R){return Function.prototype.apply.call(c,E,R)},A;a&&typeof a.ownKeys=="function"?A=a.ownKeys:Object.getOwnPropertySymbols?A=function(c){return Object.getOwnPropertyNames(c).concat(Object.getOwnPropertySymbols(c))}:A=function(c){return Object.getOwnPropertyNames(c)};function S(c){console&&console.warn&&console.warn(c)}var D=Number.isNaN||function(c){return c!==c};function y(){y.init.call(this)}Ft.exports=y,Ft.exports.once=b,y.EventEmitter=y,y.prototype._events=void 0,y.prototype._eventsCount=0,y.prototype._maxListeners=void 0;var T=10;function l(c){if(typeof c!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof c)}Object.defineProperty(y,"defaultMaxListeners",{enumerable:!0,get:function(){return T},set:function(c){if(typeof c!="number"||c<0||D(c))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+c+".");T=c}}),y.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},y.prototype.setMaxListeners=function(c){if(typeof c!="number"||c<0||D(c))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+c+".");return this._maxListeners=c,this};function g(c){return c._maxListeners===void 0?y.defaultMaxListeners:c._maxListeners}y.prototype.getMaxListeners=function(){return g(this)},y.prototype.emit=function(c){for(var E=[],R=1;R0&&(s=E[0]),s instanceof Error)throw s;var q=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw q.context=s,q}var J=M[c];if(J===void 0)return!1;if(typeof J=="function")m(J,this,E);else for(var w=J.length,Q=W(J,w),R=0;R0&&q.length>M&&!q.warned){q.warned=!0;var J=new Error("Possible EventEmitter memory leak detected. "+q.length+" "+String(E)+" listeners added. Use emitter.setMaxListeners() to increase limit");J.name="MaxListenersExceededWarning",J.emitter=c,J.type=E,J.count=q.length,S(J)}return c}y.prototype.addListener=function(c,E){return N(this,c,E,!1)},y.prototype.on=y.prototype.addListener,y.prototype.prependListener=function(c,E){return N(this,c,E,!0)};function P(){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 C(c,E,R){var B={fired:!1,wrapFn:void 0,target:c,type:E,listener:R},M=P.bind(B);return M.listener=R,B.wrapFn=M,M}y.prototype.once=function(c,E){return l(E),this.on(c,C(this,c,E)),this},y.prototype.prependOnceListener=function(c,E){return l(E),this.prependListener(c,C(this,c,E)),this},y.prototype.removeListener=function(c,E){var R,B,M,s,q;if(l(E),B=this._events,B===void 0)return this;if(R=B[c],R===void 0)return this;if(R===E||R.listener===E)--this._eventsCount===0?this._events=Object.create(null):(delete B[c],B.removeListener&&this.emit("removeListener",c,R.listener||E));else if(typeof R!="function"){for(M=-1,s=R.length-1;s>=0;s--)if(R[s]===E||R[s].listener===E){q=R[s].listener,M=s;break}if(M<0)return this;M===0?R.shift():F(R,M),R.length===1&&(B[c]=R[0]),B.removeListener!==void 0&&this.emit("removeListener",c,q||E)}return this},y.prototype.off=y.prototype.removeListener,y.prototype.removeAllListeners=function(c){var E,R,B;if(R=this._events,R===void 0)return this;if(R.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):R[c]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete R[c]),this;if(arguments.length===0){var M=Object.keys(R),s;for(B=0;B=0;B--)this.removeListener(c,E[B]);return this};function G(c,E,R){var B=c._events;if(B===void 0)return[];var M=B[E];return M===void 0?[]:typeof M=="function"?R?[M.listener||M]:[M]:R?x(M):W(M,M.length)}y.prototype.listeners=function(c){return G(this,c,!0)},y.prototype.rawListeners=function(c){return G(this,c,!1)},y.listenerCount=function(c,E){return typeof c.listenerCount=="function"?c.listenerCount(E):z.call(c,E)},y.prototype.listenerCount=z;function z(c){var E=this._events;if(E!==void 0){var R=E[c];if(typeof R=="function")return 1;if(R!==void 0)return R.length}return 0}y.prototype.eventNames=function(){return this._eventsCount>0?A(this._events):[]};function W(c,E){for(var R=new Array(E),B=0;B0)throw new Error("Invalid string. Length must be a multiple of 4");var c=v.indexOf("=");c===-1&&(c=_);var E=c===_?0:4-c%4;return[c,E]}function P(v){var _=N(v),c=_[0],E=_[1];return(c+E)*3/4-E}function C(v,_,c){return(_+c)*3/4-c}function G(v){var _,c=N(v),E=c[0],R=c[1],B=new y(C(v,E,R)),M=0,s=R>0?E-4:E,q;for(q=0;q>16&255,B[M++]=_>>8&255,B[M++]=_&255;return R===2&&(_=D[v.charCodeAt(q)]<<2|D[v.charCodeAt(q+1)]>>4,B[M++]=_&255),R===1&&(_=D[v.charCodeAt(q)]<<10|D[v.charCodeAt(q+1)]<<4|D[v.charCodeAt(q+2)]>>2,B[M++]=_>>8&255,B[M++]=_&255),B}function z(v){return S[v>>18&63]+S[v>>12&63]+S[v>>6&63]+S[v&63]}function W(v,_,c){for(var E,R=[],B=_;Bs?s:M+B));return E===1?(_=v[c-1],R.push(S[_>>2]+S[_<<4&63]+"==")):E===2&&(_=(v[c-2]<<8)+v[c-1],R.push(S[_>>10]+S[_>>4&63]+S[_<<2&63]+"=")),R.join("")}var x={};x.read=function(v,_,c,E,R){var B,M,s=R*8-E-1,q=(1<>1,w=-7,Q=c?R-1:0,et=c?-1:1,rt=v[_+Q];for(Q+=et,B=rt&(1<<-w)-1,rt>>=-w,w+=s;w>0;B=B*256+v[_+Q],Q+=et,w-=8);for(M=B&(1<<-w)-1,B>>=-w,w+=E;w>0;M=M*256+v[_+Q],Q+=et,w-=8);if(B===0)B=1-J;else{if(B===q)return M?NaN:(rt?-1:1)*(1/0);M=M+Math.pow(2,E),B=B-J}return(rt?-1:1)*M*Math.pow(2,B-E)},x.write=function(v,_,c,E,R,B){var M,s,q,J=B*8-R-1,w=(1<>1,et=R===23?Math.pow(2,-24)-Math.pow(2,-77):0,rt=E?0:B-1,at=E?1:-1,K=_<0||_===0&&1/_<0?1:0;for(_=Math.abs(_),isNaN(_)||_===1/0?(s=isNaN(_)?1:0,M=w):(M=Math.floor(Math.log(_)/Math.LN2),_*(q=Math.pow(2,-M))<1&&(M--,q*=2),M+Q>=1?_+=et/q:_+=et*Math.pow(2,1-Q),_*q>=2&&(M++,q/=2),M+Q>=w?(s=0,M=w):M+Q>=1?(s=(_*q-1)*Math.pow(2,R),M=M+Q):(s=_*Math.pow(2,Q-1)*Math.pow(2,R),M=0));R>=8;v[c+rt]=s&255,rt+=at,s/=256,R-=8);for(M=M<0;v[c+rt]=M&255,rt+=at,M/=256,J-=8);v[c+rt-at]|=K*128},(function(v){const _=A,c=x,E=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;v.Buffer=w,v.SlowBuffer=I,v.INSPECT_MAX_BYTES=50;const R=2147483647;v.kMaxLength=R;const{Uint8Array:B,ArrayBuffer:M,SharedArrayBuffer:s}=globalThis;w.TYPED_ARRAY_SUPPORT=q(),!w.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function q(){try{const t=new B(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,B.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch{return!1}}Object.defineProperty(w.prototype,"parent",{enumerable:!0,get:function(){if(w.isBuffer(this))return this.buffer}}),Object.defineProperty(w.prototype,"offset",{enumerable:!0,get:function(){if(w.isBuffer(this))return this.byteOffset}});function J(t){if(t>R)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new B(t);return Object.setPrototypeOf(e,w.prototype),e}function w(t,e,o){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return at(t)}return Q(t,e,o)}w.poolSize=8192;function Q(t,e,o){if(typeof t=="string")return K(t,e);if(M.isView(t))return pt(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(vt(t,M)||t&&vt(t.buffer,M)||typeof s<"u"&&(vt(t,s)||t&&vt(t.buffer,s)))return ot(t,e,o);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const h=t.valueOf&&t.valueOf();if(h!=null&&h!==t)return w.from(h,e,o);const O=yt(t);if(O)return O;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return w.from(t[Symbol.toPrimitive]("string"),e,o);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}w.from=function(t,e,o){return Q(t,e,o)},Object.setPrototypeOf(w.prototype,B.prototype),Object.setPrototypeOf(w,B);function et(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function rt(t,e,o){return et(t),t<=0?J(t):e!==void 0?typeof o=="string"?J(t).fill(e,o):J(t).fill(e):J(t)}w.alloc=function(t,e,o){return rt(t,e,o)};function at(t){return et(t),J(t<0?0:ht(t)|0)}w.allocUnsafe=function(t){return at(t)},w.allocUnsafeSlow=function(t){return at(t)};function K(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!w.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const o=k(t,e)|0;let h=J(o);const O=h.write(t,e);return O!==o&&(h=h.slice(0,O)),h}function lt(t){const e=t.length<0?0:ht(t.length)|0,o=J(e);for(let h=0;h=R)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+R.toString(16)+" bytes");return t|0}function I(t){return+t!=t&&(t=0),w.alloc(+t)}w.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==w.prototype},w.compare=function(t,e){if(vt(t,B)&&(t=w.from(t,t.offset,t.byteLength)),vt(e,B)&&(e=w.from(e,e.offset,e.byteLength)),!w.isBuffer(t)||!w.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let o=t.length,h=e.length;for(let O=0,U=Math.min(o,h);Oh.length?(w.isBuffer(U)||(U=w.from(U)),U.copy(h,O)):B.prototype.set.call(h,U,O);else if(w.isBuffer(U))U.copy(h,O);else throw new TypeError('"list" argument must be an Array of Buffers');O+=U.length}return h};function k(t,e){if(w.isBuffer(t))return t.length;if(M.isView(t)||vt(t,M))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const o=t.length,h=arguments.length>2&&arguments[2]===!0;if(!h&&o===0)return 0;let O=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return o;case"utf8":case"utf-8":return Vt(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return o*2;case"hex":return o>>>1;case"base64":return Xe(t).length;default:if(O)return h?-1:Vt(t).length;e=(""+e).toLowerCase(),O=!0}}w.byteLength=k;function Y(t,e,o){let h=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((o===void 0||o>this.length)&&(o=this.length),o<=0)||(o>>>=0,e>>>=0,o<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return gt(this,e,o);case"utf8":case"utf-8":return $(this,e,o);case"ascii":return ft(this,e,o);case"latin1":case"binary":return j(this,e,o);case"base64":return V(this,e,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mt(this,e,o);default:if(h)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),h=!0}}w.prototype._isBuffer=!0;function d(t,e,o){const h=t[e];t[e]=t[o],t[o]=h}w.prototype.swap16=function(){const t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;ee&&(t+=" ... "),""},E&&(w.prototype[E]=w.prototype.inspect),w.prototype.compare=function(t,e,o,h,O){if(vt(t,B)&&(t=w.from(t,t.offset,t.byteLength)),!w.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(e===void 0&&(e=0),o===void 0&&(o=t?t.length:0),h===void 0&&(h=0),O===void 0&&(O=this.length),e<0||o>t.length||h<0||O>this.length)throw new RangeError("out of range index");if(h>=O&&e>=o)return 0;if(h>=O)return-1;if(e>=o)return 1;if(e>>>=0,o>>>=0,h>>>=0,O>>>=0,this===t)return 0;let U=O-h,H=o-e;const ut=Math.min(U,H),bt=this.slice(h,O),st=t.slice(e,o);for(let it=0;it2147483647?o=2147483647:o<-2147483648&&(o=-2147483648),o=+o,Yt(o)&&(o=O?0:t.length-1),o<0&&(o=t.length+o),o>=t.length){if(O)return-1;o=t.length-1}else if(o<0)if(O)o=0;else return-1;if(typeof e=="string"&&(e=w.from(e,h)),w.isBuffer(e))return e.length===0?-1:r(t,e,o,h,O);if(typeof e=="number")return e=e&255,typeof B.prototype.indexOf=="function"?O?B.prototype.indexOf.call(t,e,o):B.prototype.lastIndexOf.call(t,e,o):r(t,[e],o,h,O);throw new TypeError("val must be string, number or Buffer")}function r(t,e,o,h,O){let U=1,H=t.length,ut=e.length;if(h!==void 0&&(h=String(h).toLowerCase(),h==="ucs2"||h==="ucs-2"||h==="utf16le"||h==="utf-16le")){if(t.length<2||e.length<2)return-1;U=2,H/=2,ut/=2,o/=2}function bt(it,dt){return U===1?it[dt]:it.readUInt16BE(dt*U)}let st;if(O){let it=-1;for(st=o;stH&&(o=H-ut),st=o;st>=0;st--){let it=!0;for(let dt=0;dtO&&(h=O)):h=O;const U=e.length;h>U/2&&(h=U/2);let H;for(H=0;H>>0,isFinite(o)?(o=o>>>0,h===void 0&&(h="utf8")):(h=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const O=this.length-e;if((o===void 0||o>O)&&(o=O),t.length>0&&(o<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");h||(h="utf8");let U=!1;for(;;)switch(h){case"hex":return p(this,t,e,o);case"utf8":case"utf-8":return f(this,t,e,o);case"ascii":case"latin1":case"binary":return i(this,t,e,o);case"base64":return u(this,t,e,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,e,o);default:if(U)throw new TypeError("Unknown encoding: "+h);h=(""+h).toLowerCase(),U=!0}},w.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function V(t,e,o){return e===0&&o===t.length?_.fromByteArray(t):_.fromByteArray(t.slice(e,o))}function $(t,e,o){o=Math.min(t.length,o);const h=[];let O=e;for(;O239?4:U>223?3:U>191?2:1;if(O+ut<=o){let bt,st,it,dt;switch(ut){case 1:U<128&&(H=U);break;case 2:bt=t[O+1],(bt&192)===128&&(dt=(U&31)<<6|bt&63,dt>127&&(H=dt));break;case 3:bt=t[O+1],st=t[O+2],(bt&192)===128&&(st&192)===128&&(dt=(U&15)<<12|(bt&63)<<6|st&63,dt>2047&&(dt<55296||dt>57343)&&(H=dt));break;case 4:bt=t[O+1],st=t[O+2],it=t[O+3],(bt&192)===128&&(st&192)===128&&(it&192)===128&&(dt=(U&15)<<18|(bt&63)<<12|(st&63)<<6|it&63,dt>65535&&dt<1114112&&(H=dt))}}H===null?(H=65533,ut=1):H>65535&&(H-=65536,h.push(H>>>10&1023|55296),H=56320|H&1023),h.push(H),O+=ut}return Z(h)}const X=4096;function Z(t){const e=t.length;if(e<=X)return String.fromCharCode.apply(String,t);let o="",h=0;for(;hh)&&(o=h);let O="";for(let U=e;Uo&&(t=o),e<0?(e+=o,e<0&&(e=0)):e>o&&(e=o),eo)throw new RangeError("Trying to access beyond buffer length")}w.prototype.readUintLE=w.prototype.readUIntLE=function(t,e,o){t=t>>>0,e=e>>>0,o||nt(t,e,this.length);let h=this[t],O=1,U=0;for(;++U>>0,e=e>>>0,o||nt(t,e,this.length);let h=this[t+--e],O=1;for(;e>0&&(O*=256);)h+=this[t+--e]*O;return h},w.prototype.readUint8=w.prototype.readUInt8=function(t,e){return t=t>>>0,e||nt(t,1,this.length),this[t]},w.prototype.readUint16LE=w.prototype.readUInt16LE=function(t,e){return t=t>>>0,e||nt(t,2,this.length),this[t]|this[t+1]<<8},w.prototype.readUint16BE=w.prototype.readUInt16BE=function(t,e){return t=t>>>0,e||nt(t,2,this.length),this[t]<<8|this[t+1]},w.prototype.readUint32LE=w.prototype.readUInt32LE=function(t,e){return t=t>>>0,e||nt(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216},w.prototype.readUint32BE=w.prototype.readUInt32BE=function(t,e){return t=t>>>0,e||nt(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])},w.prototype.readBigUInt64LE=_t(function(t){t=t>>>0,Pt(t,"offset");const e=this[t],o=this[t+7];(e===void 0||o===void 0)&&Ct(t,this.length-8);const h=e+this[++t]*2**8+this[++t]*2**16+this[++t]*2**24,O=this[++t]+this[++t]*2**8+this[++t]*2**16+o*2**24;return BigInt(h)+(BigInt(O)<>>0,Pt(t,"offset");const e=this[t],o=this[t+7];(e===void 0||o===void 0)&&Ct(t,this.length-8);const h=e*2**24+this[++t]*2**16+this[++t]*2**8+this[++t],O=this[++t]*2**24+this[++t]*2**16+this[++t]*2**8+o;return(BigInt(h)<>>0,e=e>>>0,o||nt(t,e,this.length);let h=this[t],O=1,U=0;for(;++U=O&&(h-=Math.pow(2,8*e)),h},w.prototype.readIntBE=function(t,e,o){t=t>>>0,e=e>>>0,o||nt(t,e,this.length);let h=e,O=1,U=this[t+--h];for(;h>0&&(O*=256);)U+=this[t+--h]*O;return O*=128,U>=O&&(U-=Math.pow(2,8*e)),U},w.prototype.readInt8=function(t,e){return t=t>>>0,e||nt(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]},w.prototype.readInt16LE=function(t,e){t=t>>>0,e||nt(t,2,this.length);const o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o},w.prototype.readInt16BE=function(t,e){t=t>>>0,e||nt(t,2,this.length);const o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o},w.prototype.readInt32LE=function(t,e){return t=t>>>0,e||nt(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},w.prototype.readInt32BE=function(t,e){return t=t>>>0,e||nt(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},w.prototype.readBigInt64LE=_t(function(t){t=t>>>0,Pt(t,"offset");const e=this[t],o=this[t+7];(e===void 0||o===void 0)&&Ct(t,this.length-8);const h=this[t+4]+this[t+5]*2**8+this[t+6]*2**16+(o<<24);return(BigInt(h)<>>0,Pt(t,"offset");const e=this[t],o=this[t+7];(e===void 0||o===void 0)&&Ct(t,this.length-8);const h=(e<<24)+this[++t]*2**16+this[++t]*2**8+this[++t];return(BigInt(h)<>>0,e||nt(t,4,this.length),c.read(this,t,!0,23,4)},w.prototype.readFloatBE=function(t,e){return t=t>>>0,e||nt(t,4,this.length),c.read(this,t,!1,23,4)},w.prototype.readDoubleLE=function(t,e){return t=t>>>0,e||nt(t,8,this.length),c.read(this,t,!0,52,8)},w.prototype.readDoubleBE=function(t,e){return t=t>>>0,e||nt(t,8,this.length),c.read(this,t,!1,52,8)};function ct(t,e,o,h,O,U){if(!w.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>O||et.length)throw new RangeError("Index out of range")}w.prototype.writeUintLE=w.prototype.writeUIntLE=function(t,e,o,h){if(t=+t,e=e>>>0,o=o>>>0,!h){const H=Math.pow(2,8*o)-1;ct(this,t,e,o,H,0)}let O=1,U=0;for(this[e]=t&255;++U>>0,o=o>>>0,!h){const H=Math.pow(2,8*o)-1;ct(this,t,e,o,H,0)}let O=o-1,U=1;for(this[e+O]=t&255;--O>=0&&(U*=256);)this[e+O]=t/U&255;return e+o},w.prototype.writeUint8=w.prototype.writeUInt8=function(t,e,o){return t=+t,e=e>>>0,o||ct(this,t,e,1,255,0),this[e]=t&255,e+1},w.prototype.writeUint16LE=w.prototype.writeUInt16LE=function(t,e,o){return t=+t,e=e>>>0,o||ct(this,t,e,2,65535,0),this[e]=t&255,this[e+1]=t>>>8,e+2},w.prototype.writeUint16BE=w.prototype.writeUInt16BE=function(t,e,o){return t=+t,e=e>>>0,o||ct(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=t&255,e+2},w.prototype.writeUint32LE=w.prototype.writeUInt32LE=function(t,e,o){return t=+t,e=e>>>0,o||ct(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=t&255,e+4},w.prototype.writeUint32BE=w.prototype.writeUInt32BE=function(t,e,o){return t=+t,e=e>>>0,o||ct(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=t&255,e+4};function Ot(t,e,o,h,O){$e(e,h,O,t,o,7);let U=Number(e&BigInt(4294967295));t[o++]=U,U=U>>8,t[o++]=U,U=U>>8,t[o++]=U,U=U>>8,t[o++]=U;let H=Number(e>>BigInt(32)&BigInt(4294967295));return t[o++]=H,H=H>>8,t[o++]=H,H=H>>8,t[o++]=H,H=H>>8,t[o++]=H,o}function It(t,e,o,h,O){$e(e,h,O,t,o,7);let U=Number(e&BigInt(4294967295));t[o+7]=U,U=U>>8,t[o+6]=U,U=U>>8,t[o+5]=U,U=U>>8,t[o+4]=U;let H=Number(e>>BigInt(32)&BigInt(4294967295));return t[o+3]=H,H=H>>8,t[o+2]=H,H=H>>8,t[o+1]=H,H=H>>8,t[o]=H,o+8}w.prototype.writeBigUInt64LE=_t(function(t,e=0){return Ot(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),w.prototype.writeBigUInt64BE=_t(function(t,e=0){return It(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),w.prototype.writeIntLE=function(t,e,o,h){if(t=+t,e=e>>>0,!h){const ut=Math.pow(2,8*o-1);ct(this,t,e,o,ut-1,-ut)}let O=0,U=1,H=0;for(this[e]=t&255;++O>0)-H&255;return e+o},w.prototype.writeIntBE=function(t,e,o,h){if(t=+t,e=e>>>0,!h){const ut=Math.pow(2,8*o-1);ct(this,t,e,o,ut-1,-ut)}let O=o-1,U=1,H=0;for(this[e+O]=t&255;--O>=0&&(U*=256);)t<0&&H===0&&this[e+O+1]!==0&&(H=1),this[e+O]=(t/U>>0)-H&255;return e+o},w.prototype.writeInt8=function(t,e,o){return t=+t,e=e>>>0,o||ct(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=t&255,e+1},w.prototype.writeInt16LE=function(t,e,o){return t=+t,e=e>>>0,o||ct(this,t,e,2,32767,-32768),this[e]=t&255,this[e+1]=t>>>8,e+2},w.prototype.writeInt16BE=function(t,e,o){return t=+t,e=e>>>0,o||ct(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=t&255,e+2},w.prototype.writeInt32LE=function(t,e,o){return t=+t,e=e>>>0,o||ct(this,t,e,4,2147483647,-2147483648),this[e]=t&255,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},w.prototype.writeInt32BE=function(t,e,o){return t=+t,e=e>>>0,o||ct(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=t&255,e+4},w.prototype.writeBigInt64LE=_t(function(t,e=0){return Ot(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),w.prototype.writeBigInt64BE=_t(function(t,e=0){return It(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function St(t,e,o,h,O,U){if(o+h>t.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("Index out of range")}function wt(t,e,o,h,O){return e=+e,o=o>>>0,O||St(t,e,o,4),c.write(t,e,o,h,23,4),o+4}w.prototype.writeFloatLE=function(t,e,o){return wt(this,t,e,!0,o)},w.prototype.writeFloatBE=function(t,e,o){return wt(this,t,e,!1,o)};function Et(t,e,o,h,O){return e=+e,o=o>>>0,O||St(t,e,o,8),c.write(t,e,o,h,52,8),o+8}w.prototype.writeDoubleLE=function(t,e,o){return Et(this,t,e,!0,o)},w.prototype.writeDoubleBE=function(t,e,o){return Et(this,t,e,!1,o)},w.prototype.copy=function(t,e,o,h){if(!w.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!h&&h!==0&&(h=this.length),e>=t.length&&(e=t.length),e||(e=0),h>0&&h=this.length)throw new RangeError("Index out of range");if(h<0)throw new RangeError("sourceEnd out of bounds");h>this.length&&(h=this.length),t.length-e>>0,o=o===void 0?this.length:o>>>0,t||(t=0);let O;if(typeof t=="number")for(O=e;O2**32?O=qe(String(o)):typeof o=="bigint"&&(O=String(o),(o>BigInt(2)**BigInt(32)||o<-(BigInt(2)**BigInt(32)))&&(O=qe(O)),O+="n"),h+=` It must be ${e}. Received ${O}`,h},RangeError);function qe(t){let e="",o=t.length;const h=t[0]==="-"?1:0;for(;o>=h+4;o-=3)e=`_${t.slice(o-3,o)}${e}`;return`${t.slice(0,o)}${e}`}function ho(t,e,o){Pt(e,"offset"),(t[e]===void 0||t[e+o]===void 0)&&Ct(e,t.length-(o+1))}function $e(t,e,o,h,O,U){if(t>o||t= 0${H} and < 2${H} ** ${(U+1)*8}${H}`:ut=`>= -(2${H} ** ${(U+1)*8-1}${H}) and < 2 ** ${(U+1)*8-1}${H}`,new Rt.ERR_OUT_OF_RANGE("value",ut,t)}ho(h,O,U)}function Pt(t,e){if(typeof t!="number")throw new Rt.ERR_INVALID_ARG_TYPE(e,"number",t)}function Ct(t,e,o){throw Math.floor(t)!==t?(Pt(t,o),new Rt.ERR_OUT_OF_RANGE("offset","an integer",t)):e<0?new Rt.ERR_BUFFER_OUT_OF_BOUNDS:new Rt.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${e}`,t)}const yo=/[^+/0-9A-Za-z-_]/g;function go(t){if(t=t.split("=")[0],t=t.trim().replace(yo,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Vt(t,e){e=e||1/0;let o;const h=t.length;let O=null;const U=[];for(let H=0;H55295&&o<57344){if(!O){if(o>56319){(e-=3)>-1&&U.push(239,191,189);continue}else if(H+1===h){(e-=3)>-1&&U.push(239,191,189);continue}O=o;continue}if(o<56320){(e-=3)>-1&&U.push(239,191,189),O=o;continue}o=(O-55296<<10|o-56320)+65536}else O&&(e-=3)>-1&&U.push(239,191,189);if(O=null,o<128){if((e-=1)<0)break;U.push(o)}else if(o<2048){if((e-=2)<0)break;U.push(o>>6|192,o&63|128)}else if(o<65536){if((e-=3)<0)break;U.push(o>>12|224,o>>6&63|128,o&63|128)}else if(o<1114112){if((e-=4)<0)break;U.push(o>>18|240,o>>12&63|128,o>>6&63|128,o&63|128)}else throw new Error("Invalid code point")}return U}function bo(t){const e=[];for(let o=0;o>8,O=o%256,U.push(O),U.push(h);return U}function Xe(t){return _.toByteArray(go(t))}function kt(t,e,o,h){let O;for(O=0;O=e.length||O>=t.length);++O)e[O+o]=t[O];return O}function vt(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Yt(t){return t!==t}const vo=(function(){const t="0123456789abcdef",e=new Array(256);for(let o=0;o<16;++o){const h=o*16;for(let O=0;O<16;++O)e[h+O]=t[o]+t[O]}return e})();function _t(t){return typeof BigInt>"u"?wo:t}function wo(){throw new Error("BigInt not supported")}})(m);const b=m.Buffer;a.Blob=m.Blob,a.BlobOptions=m.BlobOptions,a.Buffer=m.Buffer,a.File=m.File,a.FileOptions=m.FileOptions,a.INSPECT_MAX_BYTES=m.INSPECT_MAX_BYTES,a.SlowBuffer=m.SlowBuffer,a.TranscodeEncoding=m.TranscodeEncoding,a.atob=m.atob,a.btoa=m.btoa,a.constants=m.constants,a.default=b,a.isAscii=m.isAscii,a.isUtf8=m.isUtf8,a.kMaxLength=m.kMaxLength,a.kStringMaxLength=m.kStringMaxLength,a.resolveObjectURL=m.resolveObjectURL,a.transcode=m.transcode})(rr)),rr}var or={},ir={},ar,ur;function Kn(){return ur||(ur=1,ar=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var a={},m=Symbol("test"),A=Object(m);if(typeof m=="string"||Object.prototype.toString.call(m)!=="[object Symbol]"||Object.prototype.toString.call(A)!=="[object Symbol]")return!1;var S=42;a[m]=S;for(var D in a)return!1;if(typeof Object.keys=="function"&&Object.keys(a).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(a).length!==0)return!1;var y=Object.getOwnPropertySymbols(a);if(y.length!==1||y[0]!==m||!Object.prototype.propertyIsEnumerable.call(a,m))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var T=Object.getOwnPropertyDescriptor(a,m);if(T.value!==S||T.enumerable!==!0)return!1}return!0}),ar}var $t,sr;function jt(){if(sr)return $t;sr=1;var a=Kn();return $t=function(){return a()&&!!Symbol.toStringTag},$t}var fr,cr;function Qn(){return cr||(cr=1,fr=Object),fr}var lr,pr;function Ro(){return pr||(pr=1,lr=Error),lr}var hr,yr;function Po(){return yr||(yr=1,hr=EvalError),hr}var dr,gr;function No(){return gr||(gr=1,dr=RangeError),dr}var br,mr;function Bo(){return mr||(mr=1,br=ReferenceError),br}var vr,wr;function to(){return wr||(wr=1,vr=SyntaxError),vr}var Er,Sr;function Mt(){return Sr||(Sr=1,Er=TypeError),Er}var _r,Tr;function Lo(){return Tr||(Tr=1,_r=URIError),_r}var Ar,Or;function Co(){return Or||(Or=1,Ar=Math.abs),Ar}var Ir,Rr;function Mo(){return Rr||(Rr=1,Ir=Math.floor),Ir}var Pr,Nr;function xo(){return Nr||(Nr=1,Pr=Math.max),Pr}var Br,Lr;function Do(){return Lr||(Lr=1,Br=Math.min),Br}var Cr,Mr;function ko(){return Mr||(Mr=1,Cr=Math.pow),Cr}var xr,Dr;function Fo(){return Dr||(Dr=1,xr=Math.round),xr}var kr,Fr;function Uo(){return Fr||(Fr=1,kr=Number.isNaN||function(a){return a!==a}),kr}var Xt,Ur;function jo(){if(Ur)return Xt;Ur=1;var a=Uo();return Xt=function(m){return a(m)||m===0?m:m<0?-1:1},Xt}var jr,Gr;function Go(){return Gr||(Gr=1,jr=Object.getOwnPropertyDescriptor),jr}var Jt,Wr;function Bt(){if(Wr)return Jt;Wr=1;var a=Go();if(a)try{a([],"length")}catch{a=null}return Jt=a,Jt}var Zt,Vr;function Gt(){if(Vr)return Zt;Vr=1;var a=Object.defineProperty||!1;if(a)try{a({},"a",{value:1})}catch{a=!1}return Zt=a,Zt}var Kt,Yr;function Wo(){if(Yr)return Kt;Yr=1;var a=typeof Symbol<"u"&&Symbol,m=Kn();return Kt=function(){return typeof a!="function"||typeof Symbol!="function"||typeof a("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:m()},Kt}var Hr,zr;function eo(){return zr||(zr=1,Hr=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Hr}var Qt,qr;function ro(){if(qr)return Qt;qr=1;var a=Qn();return Qt=a.getPrototypeOf||null,Qt}var te,$r;function Vo(){if($r)return te;$r=1;var a="Function.prototype.bind called on incompatible ",m=Object.prototype.toString,A=Math.max,S="[object Function]",D=function(l,g){for(var N=[],P=0;P"u"||!B?a:B(Uint8Array),et={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?a:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?a:ArrayBuffer,"%ArrayIteratorPrototype%":R&&B?B([][Symbol.iterator]()):a,"%AsyncFromSyncIteratorPrototype%":a,"%AsyncFunction%":w,"%AsyncGenerator%":w,"%AsyncGeneratorFunction%":w,"%AsyncIteratorPrototype%":w,"%Atomics%":typeof Atomics>"u"?a:Atomics,"%BigInt%":typeof BigInt>"u"?a:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?a:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?a:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?a:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":A,"%eval%":eval,"%EvalError%":S,"%Float16Array%":typeof Float16Array>"u"?a:Float16Array,"%Float32Array%":typeof Float32Array>"u"?a:Float32Array,"%Float64Array%":typeof Float64Array>"u"?a:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?a:FinalizationRegistry,"%Function%":x,"%GeneratorFunction%":w,"%Int8Array%":typeof Int8Array>"u"?a:Int8Array,"%Int16Array%":typeof Int16Array>"u"?a:Int16Array,"%Int32Array%":typeof Int32Array>"u"?a:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":R&&B?B(B([][Symbol.iterator]())):a,"%JSON%":typeof JSON=="object"?JSON:a,"%Map%":typeof Map>"u"?a:Map,"%MapIteratorPrototype%":typeof Map>"u"||!R||!B?a:B(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":m,"%Object.getOwnPropertyDescriptor%":v,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?a:Promise,"%Proxy%":typeof Proxy>"u"?a:Proxy,"%RangeError%":D,"%ReferenceError%":y,"%Reflect%":typeof Reflect>"u"?a:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?a:Set,"%SetIteratorPrototype%":typeof Set>"u"||!R||!B?a:B(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?a:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":R&&B?B(""[Symbol.iterator]()):a,"%Symbol%":R?Symbol:a,"%SyntaxError%":T,"%ThrowTypeError%":E,"%TypedArray%":Q,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?a:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?a:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?a:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?a:Uint32Array,"%URIError%":g,"%WeakMap%":typeof WeakMap>"u"?a:WeakMap,"%WeakRef%":typeof WeakRef>"u"?a:WeakRef,"%WeakSet%":typeof WeakSet>"u"?a:WeakSet,"%Function.prototype.call%":J,"%Function.prototype.apply%":q,"%Object.defineProperty%":_,"%Object.getPrototypeOf%":M,"%Math.abs%":N,"%Math.floor%":P,"%Math.max%":C,"%Math.min%":G,"%Math.pow%":z,"%Math.round%":W,"%Math.sign%":F,"%Reflect.getPrototypeOf%":s};if(B)try{null.error}catch(p){var rt=B(B(p));et["%Error.prototype%"]=rt}var at=function p(f){var i;if(f==="%AsyncFunction%")i=b("async function () {}");else if(f==="%GeneratorFunction%")i=b("function* () {}");else if(f==="%AsyncGeneratorFunction%")i=b("async function* () {}");else if(f==="%AsyncGenerator%"){var u=p("%AsyncGeneratorFunction%");u&&(i=u.prototype)}else if(f==="%AsyncIteratorPrototype%"){var L=p("%AsyncGenerator%");L&&B&&(i=B(L.prototype))}return et[f]=i,i},K={__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"]},lt=xt(),pt=oo(),ot=lt.call(J,Array.prototype.concat),yt=lt.call(q,Array.prototype.splice),ht=lt.call(J,String.prototype.replace),I=lt.call(J,String.prototype.slice),k=lt.call(J,RegExp.prototype.exec),Y=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,d=/\\(\\)?/g,n=function(p){var f=I(p,0,1),i=I(p,-1);if(f==="%"&&i!=="%")throw new T("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&f!=="%")throw new T("invalid intrinsic syntax, expected opening `%`");var u=[];return ht(p,Y,function(L,V,$,X){u[u.length]=$?ht(X,d,"$1"):V||L}),u},r=function(p,f){var i=p,u;if(pt(K,i)&&(u=K[i],i="%"+u[0]+"%"),pt(et,i)){var L=et[i];if(L===w&&(L=at(i)),typeof L>"u"&&!f)throw new l("intrinsic "+p+" exists, but is not available. Please file an issue!");return{alias:u,name:i,value:L}}throw new T("intrinsic "+p+" does not exist!")};return ue=function(p,f){if(typeof p!="string"||p.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof f!="boolean")throw new l('"allowMissing" argument must be a boolean');if(k(/^%?[^%]*%?$/,p)===null)throw new T("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=n(p),u=i.length>0?i[0]:"",L=r("%"+u+"%",f),V=L.name,$=L.value,X=!1,Z=L.alias;Z&&(u=Z[0],yt(i,ot([0,1],Z)));for(var ft=1,j=!0;ft=i.length){var ct=v($,gt);j=!!ct,j&&"get"in ct&&!("originalValue"in ct.get)?$=ct.get:$=$[gt]}else j=pt($,gt),$=$[gt];j&&!X&&(et[V]=$)}}return $},ue}var se,fn;function Dt(){if(fn)return se;fn=1;var a=io(),m=Ye(),A=m([a("%String.prototype.indexOf%")]);return se=function(S,D){var y=a(S,!!D);return typeof y=="function"&&A(S,".prototype.")>-1?m([y]):y},se}var fe,cn;function zo(){if(cn)return fe;cn=1;var a=jt()(),m=Dt(),A=m("Object.prototype.toString"),S=function(T){return a&&T&&typeof T=="object"&&Symbol.toStringTag in T?!1:A(T)==="[object Arguments]"},D=function(T){return S(T)?!0:T!==null&&typeof T=="object"&&"length"in T&&typeof T.length=="number"&&T.length>=0&&A(T)!=="[object Array]"&&"callee"in T&&A(T.callee)==="[object Function]"},y=(function(){return S(arguments)})();return S.isLegacyArguments=D,fe=y?S:D,fe}var ce,ln;function qo(){if(ln)return ce;ln=1;var a=Dt(),m=jt()(),A=oo(),S=Bt(),D;if(m){var y=a("RegExp.prototype.exec"),T={},l=function(){throw T},g={toString:l,valueOf:l};typeof Symbol.toPrimitive=="symbol"&&(g[Symbol.toPrimitive]=l),D=function(C){if(!C||typeof C!="object")return!1;var G=S(C,"lastIndex"),z=G&&A(G,"value");if(!z)return!1;try{y(C,g)}catch(W){return W===T}}}else{var N=a("Object.prototype.toString"),P="[object RegExp]";D=function(C){return!C||typeof C!="object"&&typeof C!="function"?!1:N(C)===P}}return ce=D,ce}var le,pn;function $o(){if(pn)return le;pn=1;var a=Dt(),m=qo(),A=a("RegExp.prototype.exec"),S=Mt();return le=function(D){if(!m(D))throw new S("`regex` must be a RegExp");return function(y){return A(D,y)!==null}},le}var pe,hn;function Xo(){if(hn)return pe;hn=1;const a=function*(){}.constructor;return pe=()=>a,pe}var he,yn;function Jo(){if(yn)return he;yn=1;var a=Dt(),m=$o(),A=m(/^\s*(?:function)?\*/),S=jt()(),D=He(),y=a("Object.prototype.toString"),T=a("Function.prototype.toString"),l=Xo();return he=function(g){if(typeof g!="function")return!1;if(A(T(g)))return!0;if(!S){var N=y(g);return N==="[object GeneratorFunction]"}if(!D)return!1;var P=l();return P&&D(g)===P.prototype},he}var ye,dn;function Zo(){if(dn)return ye;dn=1;var a=Function.prototype.toString,m=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,A,S;if(typeof m=="function"&&typeof Object.defineProperty=="function")try{A=Object.defineProperty({},"length",{get:function(){throw S}}),S={},m(function(){throw 42},null,A)}catch(v){v!==S&&(m=null)}else m=null;var D=/^\s*class\b/,y=function(v){try{var _=a.call(v);return D.test(_)}catch{return!1}},T=function(v){try{return y(v)?!1:(a.call(v),!0)}catch{return!1}},l=Object.prototype.toString,g="[object Object]",N="[object Function]",P="[object GeneratorFunction]",C="[object HTMLAllCollection]",G="[object HTML document.all class]",z="[object HTMLCollection]",W=typeof Symbol=="function"&&!!Symbol.toStringTag,F=!(0 in[,]),x=function(){return!1};if(typeof document=="object"){var b=document.all;l.call(b)===l.call(document.all)&&(x=function(v){if((F||!v)&&(typeof v>"u"||typeof v=="object"))try{var _=l.call(v);return(_===C||_===G||_===z||_===g)&&v("")==null}catch{}return!1})}return ye=m?function(v){if(x(v))return!0;if(!v||typeof v!="function"&&typeof v!="object")return!1;try{m(v,null,A)}catch(_){if(_!==S)return!1}return!y(v)&&T(v)}:function(v){if(x(v))return!0;if(!v||typeof v!="function"&&typeof v!="object")return!1;if(W)return T(v);if(y(v))return!1;var _=l.call(v);return _!==N&&_!==P&&!/^\[object HTML/.test(_)?!1:T(v)},ye}var de,gn;function Ko(){if(gn)return de;gn=1;var a=Zo(),m=Object.prototype.toString,A=Object.prototype.hasOwnProperty,S=function(l,g,N){for(var P=0,C=l.length;P=3&&(P=N),T(l)?S(l,g,P):typeof l=="string"?D(l,g,P):y(l,g,P)},de}var bn,mn;function Qo(){return mn||(mn=1,bn=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),bn}var ge,vn;function ti(){if(vn)return ge;vn=1;var a=Qo(),m=typeof globalThis>"u"?Tt:globalThis;return ge=function(){for(var A=[],S=0;S3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new A("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new A("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new A("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new A("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,g=arguments.length>4?arguments[4]:null,N=arguments.length>5?arguments[5]:null,P=arguments.length>6?arguments[6]:!1,C=!!S&&S(D,y);if(a)a(D,y,{configurable:N===null&&C?C.configurable:!N,enumerable:l===null&&C?C.enumerable:!l,value:T,writable:g===null&&C?C.writable:!g});else if(P||!l&&!g&&!N)D[y]=T;else throw new m("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},be}var me,Sn;function ri(){if(Sn)return me;Sn=1;var a=Gt(),m=function(){return!!a};return m.hasArrayLengthDefineBug=function(){if(!a)return null;try{return a([],"length",{value:1}).length!==1}catch{return!0}},me=m,me}var ve,_n;function ni(){if(_n)return ve;_n=1;var a=io(),m=ei(),A=ri()(),S=Bt(),D=Mt(),y=a("%Math.floor%");return ve=function(T,l){if(typeof T!="function")throw new D("`fn` is not a function");if(typeof l!="number"||l<0||l>4294967295||y(l)!==l)throw new D("`length` must be a positive 32-bit integer");var g=arguments.length>2&&!!arguments[2],N=!0,P=!0;if("length"in T&&S){var C=S(T,"length");C&&!C.configurable&&(N=!1),C&&!C.writable&&(P=!1)}return(N||P||!g)&&(A?m(T,"length",l,!0,!0):m(T,"length",l)),T},ve}var we,Tn;function oi(){if(Tn)return we;Tn=1;var a=xt(),m=Ve(),A=no();return we=function(){return A(a,m,arguments)},we}var An;function ii(){return An||(An=1,(function(a){var m=ni(),A=Gt(),S=Ye(),D=oi();a.exports=function(y){var T=S(arguments),l=y.length-(arguments.length-1);return m(T,1+(l>0?l:0),!0)},A?A(a.exports,"apply",{value:D}):a.exports.apply=D})(wn)),wn.exports}var Ee,On;function ao(){if(On)return Ee;On=1;var a=Ko(),m=ti(),A=ii(),S=Dt(),D=Bt(),y=He(),T=S("Object.prototype.toString"),l=jt()(),g=typeof globalThis>"u"?Tt:globalThis,N=m(),P=S("String.prototype.slice"),C=S("Array.prototype.indexOf",!0)||function(F,x){for(var b=0;b-1?x:x!=="Object"?!1:W(F)}return D?z(F):null},Ee}var Se,In;function ai(){if(In)return Se;In=1;var a=ao();return Se=function(m){return!!a(m)},Se}var Rn;function ui(){return Rn||(Rn=1,(function(a){var m=zo(),A=Jo(),S=ao(),D=ai();function y(j){return j.call.bind(j)}var T=typeof BigInt<"u",l=typeof Symbol<"u",g=y(Object.prototype.toString),N=y(Number.prototype.valueOf),P=y(String.prototype.valueOf),C=y(Boolean.prototype.valueOf);if(T)var G=y(BigInt.prototype.valueOf);if(l)var z=y(Symbol.prototype.valueOf);function W(j,gt){if(typeof j!="object")return!1;try{return gt(j),!0}catch{return!1}}a.isArgumentsObject=m,a.isGeneratorFunction=A,a.isTypedArray=D;function F(j){return typeof Promise<"u"&&j instanceof Promise||j!==null&&typeof j=="object"&&typeof j.then=="function"&&typeof j.catch=="function"}a.isPromise=F;function x(j){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(j):D(j)||I(j)}a.isArrayBufferView=x;function b(j){return S(j)==="Uint8Array"}a.isUint8Array=b;function v(j){return S(j)==="Uint8ClampedArray"}a.isUint8ClampedArray=v;function _(j){return S(j)==="Uint16Array"}a.isUint16Array=_;function c(j){return S(j)==="Uint32Array"}a.isUint32Array=c;function E(j){return S(j)==="Int8Array"}a.isInt8Array=E;function R(j){return S(j)==="Int16Array"}a.isInt16Array=R;function B(j){return S(j)==="Int32Array"}a.isInt32Array=B;function M(j){return S(j)==="Float32Array"}a.isFloat32Array=M;function s(j){return S(j)==="Float64Array"}a.isFloat64Array=s;function q(j){return S(j)==="BigInt64Array"}a.isBigInt64Array=q;function J(j){return S(j)==="BigUint64Array"}a.isBigUint64Array=J;function w(j){return g(j)==="[object Map]"}w.working=typeof Map<"u"&&w(new Map);function Q(j){return typeof Map>"u"?!1:w.working?w(j):j instanceof Map}a.isMap=Q;function et(j){return g(j)==="[object Set]"}et.working=typeof Set<"u"&&et(new Set);function rt(j){return typeof Set>"u"?!1:et.working?et(j):j instanceof Set}a.isSet=rt;function at(j){return g(j)==="[object WeakMap]"}at.working=typeof WeakMap<"u"&&at(new WeakMap);function K(j){return typeof WeakMap>"u"?!1:at.working?at(j):j instanceof WeakMap}a.isWeakMap=K;function lt(j){return g(j)==="[object WeakSet]"}lt.working=typeof WeakSet<"u"&<(new WeakSet);function pt(j){return lt(j)}a.isWeakSet=pt;function ot(j){return g(j)==="[object ArrayBuffer]"}ot.working=typeof ArrayBuffer<"u"&&ot(new ArrayBuffer);function yt(j){return typeof ArrayBuffer>"u"?!1:ot.working?ot(j):j instanceof ArrayBuffer}a.isArrayBuffer=yt;function ht(j){return g(j)==="[object DataView]"}ht.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&ht(new DataView(new ArrayBuffer(1),0,1));function I(j){return typeof DataView>"u"?!1:ht.working?ht(j):j instanceof DataView}a.isDataView=I;var k=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Y(j){return g(j)==="[object SharedArrayBuffer]"}function d(j){return typeof k>"u"?!1:(typeof Y.working>"u"&&(Y.working=Y(new k)),Y.working?Y(j):j instanceof k)}a.isSharedArrayBuffer=d;function n(j){return g(j)==="[object AsyncFunction]"}a.isAsyncFunction=n;function r(j){return g(j)==="[object Map Iterator]"}a.isMapIterator=r;function p(j){return g(j)==="[object Set Iterator]"}a.isSetIterator=p;function f(j){return g(j)==="[object Generator]"}a.isGeneratorObject=f;function i(j){return g(j)==="[object WebAssembly.Module]"}a.isWebAssemblyCompiledModule=i;function u(j){return W(j,N)}a.isNumberObject=u;function L(j){return W(j,P)}a.isStringObject=L;function V(j){return W(j,C)}a.isBooleanObject=V;function $(j){return T&&W(j,G)}a.isBigIntObject=$;function X(j){return l&&W(j,z)}a.isSymbolObject=X;function Z(j){return u(j)||L(j)||V(j)||$(j)||X(j)}a.isBoxedPrimitive=Z;function ft(j){return typeof Uint8Array<"u"&&(yt(j)||d(j))}a.isAnyArrayBuffer=ft,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(j){Object.defineProperty(a,j,{enumerable:!1,value:function(){throw new Error(j+" is not supported in userland")}})})})(ir)),ir}var Pn,Nn;function si(){return Nn||(Nn=1,Pn=function(a){return a&&typeof a=="object"&&typeof a.copy=="function"&&typeof a.fill=="function"&&typeof a.readUInt8=="function"}),Pn}var Bn;function uo(){return Bn||(Bn=1,(function(a){var m={},A=Object.getOwnPropertyDescriptors||function(I){for(var k=Object.keys(I),Y={},d=0;d=n)return i;switch(i){case"%s":return String(d[Y++]);case"%d":return Number(d[Y++]);case"%j":try{return JSON.stringify(d[Y++])}catch{return"[Circular]"}default:return i}}),p=d[Y];Y"u")return function(){return a.deprecate(I,k).apply(this,arguments)};var Y=!1;function d(){if(!Y){if(tt.throwDeprecation)throw new Error(k);tt.traceDeprecation?console.trace(k):console.error(k),Y=!0}return I.apply(this,arguments)}return d};var D={},y=/^$/;if(m.NODE_DEBUG){var T=m.NODE_DEBUG;T=T.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),y=new RegExp("^"+T+"$","i")}a.debuglog=function(I){if(I=I.toUpperCase(),!D[I])if(y.test(I)){var k=tt.pid;D[I]=function(){var Y=a.format.apply(a,arguments);console.error("%s %d: %s",I,k,Y)}}else D[I]=function(){};return D[I]};function l(I,k){var Y={seen:[],stylize:N};return arguments.length>=3&&(Y.depth=arguments[2]),arguments.length>=4&&(Y.colors=arguments[3]),v(k)?Y.showHidden=k:k&&a._extend(Y,k),M(Y.showHidden)&&(Y.showHidden=!1),M(Y.depth)&&(Y.depth=2),M(Y.colors)&&(Y.colors=!1),M(Y.customInspect)&&(Y.customInspect=!0),Y.colors&&(Y.stylize=g),C(Y,I,Y.depth)}a.inspect=l,l.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]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function g(I,k){var Y=l.styles[k];return Y?"\x1B["+l.colors[Y][0]+"m"+I+"\x1B["+l.colors[Y][1]+"m":I}function N(I,k){return I}function P(I){var k={};return I.forEach(function(Y,d){k[Y]=!0}),k}function C(I,k,Y){if(I.customInspect&&k&&Q(k.inspect)&&k.inspect!==a.inspect&&!(k.constructor&&k.constructor.prototype===k)){var d=k.inspect(Y,I);return R(d)||(d=C(I,d,Y)),d}var n=G(I,k);if(n)return n;var r=Object.keys(k),p=P(r);if(I.showHidden&&(r=Object.getOwnPropertyNames(k)),w(k)&&(r.indexOf("message")>=0||r.indexOf("description")>=0))return z(k);if(r.length===0){if(Q(k)){var f=k.name?": "+k.name:"";return I.stylize("[Function"+f+"]","special")}if(s(k))return I.stylize(RegExp.prototype.toString.call(k),"regexp");if(J(k))return I.stylize(Date.prototype.toString.call(k),"date");if(w(k))return z(k)}var i="",u=!1,L=["{","}"];if(b(k)&&(u=!0,L=["[","]"]),Q(k)){var V=k.name?": "+k.name:"";i=" [Function"+V+"]"}if(s(k)&&(i=" "+RegExp.prototype.toString.call(k)),J(k)&&(i=" "+Date.prototype.toUTCString.call(k)),w(k)&&(i=" "+z(k)),r.length===0&&(!u||k.length==0))return L[0]+i+L[1];if(Y<0)return s(k)?I.stylize(RegExp.prototype.toString.call(k),"regexp"):I.stylize("[Object]","special");I.seen.push(k);var $;return u?$=W(I,k,Y,p,r):$=r.map(function(X){return F(I,k,Y,p,X,u)}),I.seen.pop(),x($,i,L)}function G(I,k){if(M(k))return I.stylize("undefined","undefined");if(R(k)){var Y="'"+JSON.stringify(k).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return I.stylize(Y,"string")}if(E(k))return I.stylize(""+k,"number");if(v(k))return I.stylize(""+k,"boolean");if(_(k))return I.stylize("null","null")}function z(I){return"["+Error.prototype.toString.call(I)+"]"}function W(I,k,Y,d,n){for(var r=[],p=0,f=k.length;p-1&&(r?f=f.split(` `).map(function(u){return" "+u}).join(` `).slice(2):f=` `+f.split(` `).map(function(u){return" "+u}).join(` `))):f=I.stylize("[Circular]","special")),M(p)){if(r&&n.match(/^\d+$/))return f;p=JSON.stringify(""+n),p.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(p=p.slice(1,-1),p=I.stylize(p,"name")):(p=p.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),p=I.stylize(p,"string"))}return p+": "+f}function x(I,k,Y){var d=I.reduce(function(n,r){return r.indexOf(` `)>=0,n+r.replace(/\u001b\[\d\d?m/g,"").length+1},0);return d>60?Y[0]+(k===""?"":k+` `)+" "+I.join(`, `)+" "+Y[1]:Y[0]+k+" "+I.join(", ")+" "+Y[1]}a.types=ui();function b(I){return Array.isArray(I)}a.isArray=b;function v(I){return typeof I=="boolean"}a.isBoolean=v;function _(I){return I===null}a.isNull=_;function c(I){return I==null}a.isNullOrUndefined=c;function E(I){return typeof I=="number"}a.isNumber=E;function R(I){return typeof I=="string"}a.isString=R;function B(I){return typeof I=="symbol"}a.isSymbol=B;function M(I){return I===void 0}a.isUndefined=M;function s(I){return q(I)&&rt(I)==="[object RegExp]"}a.isRegExp=s,a.types.isRegExp=s;function q(I){return typeof I=="object"&&I!==null}a.isObject=q;function J(I){return q(I)&&rt(I)==="[object Date]"}a.isDate=J,a.types.isDate=J;function w(I){return q(I)&&(rt(I)==="[object Error]"||I instanceof Error)}a.isError=w,a.types.isNativeError=w;function Q(I){return typeof I=="function"}a.isFunction=Q;function et(I){return I===null||typeof I=="boolean"||typeof I=="number"||typeof I=="string"||typeof I=="symbol"||typeof I>"u"}a.isPrimitive=et,a.isBuffer=si();function rt(I){return Object.prototype.toString.call(I)}function at(I){return I<10?"0"+I.toString(10):I.toString(10)}var K=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function lt(){var I=new Date,k=[at(I.getHours()),at(I.getMinutes()),at(I.getSeconds())].join(":");return[I.getDate(),K[I.getMonth()],k].join(" ")}a.log=function(){console.log("%s - %s",lt(),a.format.apply(a,arguments))},a.inherits=At(),a._extend=function(I,k){if(!k||!q(k))return I;for(var Y=Object.keys(k),d=Y.length;d--;)I[Y[d]]=k[Y[d]];return I};function pt(I,k){return Object.prototype.hasOwnProperty.call(I,k)}var ot=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;a.promisify=function(I){if(typeof I!="function")throw new TypeError('The "original" argument must be of type Function');if(ot&&I[ot]){var k=I[ot];if(typeof k!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(k,ot,{value:k,enumerable:!1,writable:!1,configurable:!0}),k}function k(){for(var Y,d,n=new Promise(function(f,i){Y=f,d=i}),r=[],p=0;p0?this.tail.next=x:this.head=x,this.tail=x,++this.length}},{key:"unshift",value:function(F){var x={data:F,next:this.head};this.length===0&&(this.tail=x),this.head=x,++this.length}},{key:"shift",value:function(){if(this.length!==0){var F=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,F}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(F){if(this.length===0)return"";for(var x=this.head,b=""+x.data;x=x.next;)b+=F+x.data;return b}},{key:"concat",value:function(F){if(this.length===0)return N.alloc(0);for(var x=N.allocUnsafe(F>>>0),b=this.head,v=0;b;)z(b.data,x,v),v+=b.data.length,b=b.next;return x}},{key:"consume",value:function(F,x){var b;return F_.length?_.length:F;if(c===_.length?v+=_:v+=_.slice(0,F),F-=c,F===0){c===_.length?(++b,x.next?this.head=x.next:this.head=this.tail=null):(this.head=x,x.data=_.slice(c));break}++b}return this.length-=b,v}},{key:"_getBuffer",value:function(F){var x=N.allocUnsafe(F),b=this.head,v=1;for(b.data.copy(x),F-=b.data.length;b=b.next;){var _=b.data,c=F>_.length?_.length:F;if(_.copy(x,x.length-F,0,c),F-=c,F===0){c===_.length?(++v,b.next?this.head=b.next:this.head=this.tail=null):(this.head=b,b.data=_.slice(c));break}++v}return this.length-=v,x}},{key:G,value:function(F,x){return C(this,m(m({},x),{},{depth:0,customInspect:!1}))}}]),W})(),_e}var Te,Cn;function so(){if(Cn)return Te;Cn=1;function a(T,l){var g=this,N=this._readableState&&this._readableState.destroyed,P=this._writableState&&this._writableState.destroyed;return N||P?(l?l(T):T&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,tt.nextTick(D,this,T)):tt.nextTick(D,this,T)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(T||null,function(C){!l&&C?g._writableState?g._writableState.errorEmitted?tt.nextTick(A,g):(g._writableState.errorEmitted=!0,tt.nextTick(m,g,C)):tt.nextTick(m,g,C):l?(tt.nextTick(A,g),l(C)):tt.nextTick(A,g)}),this)}function m(T,l){D(T,l),A(T)}function A(T){T._writableState&&!T._writableState.emitClose||T._readableState&&!T._readableState.emitClose||T.emit("close")}function S(){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 D(T,l){T.emit("error",l)}function y(T,l){var g=T._readableState,N=T._writableState;g&&g.autoDestroy||N&&N.autoDestroy?T.destroy(l):T.emit("error",l)}return Te={destroy:a,undestroy:S,errorOrDestroy:y},Te}var Ae={},Mn;function Lt(){if(Mn)return Ae;Mn=1;function a(l,g){l.prototype=Object.create(g.prototype),l.prototype.constructor=l,l.__proto__=g}var m={};function A(l,g,N){N||(N=Error);function P(G,z,W){return typeof g=="string"?g:g(G,z,W)}var C=(function(G){a(z,G);function z(W,F,x){return G.call(this,P(W,F,x))||this}return z})(N);C.prototype.name=N.name,C.prototype.code=l,m[l]=C}function S(l,g){if(Array.isArray(l)){var N=l.length;return l=l.map(function(P){return String(P)}),N>2?"one of ".concat(g," ").concat(l.slice(0,N-1).join(", "),", or ")+l[N-1]:N===2?"one of ".concat(g," ").concat(l[0]," or ").concat(l[1]):"of ".concat(g," ").concat(l[0])}else return"of ".concat(g," ").concat(String(l))}function D(l,g,N){return l.substr(0,g.length)===g}function y(l,g,N){return(N===void 0||N>l.length)&&(N=l.length),l.substring(N-g.length,N)===g}function T(l,g,N){return typeof N!="number"&&(N=0),N+g.length>l.length?!1:l.indexOf(g,N)!==-1}return A("ERR_INVALID_OPT_VALUE",function(l,g){return'The value "'+g+'" is invalid for option "'+l+'"'},TypeError),A("ERR_INVALID_ARG_TYPE",function(l,g,N){var P;typeof g=="string"&&D(g,"not ")?(P="must not be",g=g.replace(/^not /,"")):P="must be";var C;if(y(l," argument"))C="The ".concat(l," ").concat(P," ").concat(S(g,"type"));else{var G=T(l,".")?"property":"argument";C='The "'.concat(l,'" ').concat(G," ").concat(P," ").concat(S(g,"type"))}return C+=". Received type ".concat(typeof N),C},TypeError),A("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),A("ERR_METHOD_NOT_IMPLEMENTED",function(l){return"The "+l+" method is not implemented"}),A("ERR_STREAM_PREMATURE_CLOSE","Premature close"),A("ERR_STREAM_DESTROYED",function(l){return"Cannot call "+l+" after a stream was destroyed"}),A("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),A("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),A("ERR_STREAM_WRITE_AFTER_END","write after end"),A("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),A("ERR_UNKNOWN_ENCODING",function(l){return"Unknown encoding: "+l},TypeError),A("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Ae.codes=m,Ae}var Oe,xn;function fo(){if(xn)return Oe;xn=1;var a=Lt().codes.ERR_INVALID_OPT_VALUE;function m(S,D,y){return S.highWaterMark!=null?S.highWaterMark:D?S[y]:null}function A(S,D,y,T){var l=m(D,T,y);if(l!=null){if(!(isFinite(l)&&Math.floor(l)===l)||l<0){var g=T?y:"highWaterMark";throw new a(g,l)}return Math.floor(l)}return S.objectMode?16:16*1024}return Oe={getHighWaterMark:A},Oe}var Ie,Dn;function ci(){if(Dn)return Ie;Dn=1,Ie=a;function a(A,S){if(m("noDeprecation"))return A;var D=!1;function y(){if(!D){if(m("throwDeprecation"))throw new Error(S);m("traceDeprecation")?console.trace(S):console.warn(S),D=!0}return A.apply(this,arguments)}return y}function m(A){try{if(!Tt.localStorage)return!1}catch{return!1}var S=Tt.localStorage[A];return S==null?!1:String(S).toLowerCase()==="true"}return Ie}var Re,kn;function co(){if(kn)return Re;kn=1,Re=M;function a(d){var n=this;this.next=null,this.entry=null,this.finish=function(){Y(n,d)}}var m;M.WritableState=R;var A={deprecate:ci()},S=Zn(),D=Ut().Buffer,y=(typeof Tt<"u"?Tt:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function T(d){return D.from(d)}function l(d){return D.isBuffer(d)||d instanceof y}var g=so(),N=fo(),P=N.getHighWaterMark,C=Lt().codes,G=C.ERR_INVALID_ARG_TYPE,z=C.ERR_METHOD_NOT_IMPLEMENTED,W=C.ERR_MULTIPLE_CALLBACK,F=C.ERR_STREAM_CANNOT_PIPE,x=C.ERR_STREAM_DESTROYED,b=C.ERR_STREAM_NULL_VALUES,v=C.ERR_STREAM_WRITE_AFTER_END,_=C.ERR_UNKNOWN_ENCODING,c=g.errorOrDestroy;At()(M,S);function E(){}function R(d,n,r){m=m||Nt(),d=d||{},typeof r!="boolean"&&(r=n instanceof m),this.objectMode=!!d.objectMode,r&&(this.objectMode=this.objectMode||!!d.writableObjectMode),this.highWaterMark=P(this,d,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var p=d.decodeStrings===!1;this.decodeStrings=!p,this.defaultEncoding=d.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(f){at(n,f)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=d.emitClose!==!1,this.autoDestroy=!!d.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}R.prototype.getBuffer=function(){for(var d=this.bufferedRequest,n=[];d;)n.push(d),d=d.next;return n},(function(){try{Object.defineProperty(R.prototype,"buffer",{get:A.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var B;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(B=Function.prototype[Symbol.hasInstance],Object.defineProperty(M,Symbol.hasInstance,{value:function(d){return B.call(this,d)?!0:this!==M?!1:d&&d._writableState instanceof R}})):B=function(d){return d instanceof this};function M(d){m=m||Nt();var n=this instanceof m;if(!n&&!B.call(M,this))return new M(d);this._writableState=new R(d,this,n),this.writable=!0,d&&(typeof d.write=="function"&&(this._write=d.write),typeof d.writev=="function"&&(this._writev=d.writev),typeof d.destroy=="function"&&(this._destroy=d.destroy),typeof d.final=="function"&&(this._final=d.final)),S.call(this)}M.prototype.pipe=function(){c(this,new F)};function s(d,n){var r=new v;c(d,r),tt.nextTick(n,r)}function q(d,n,r,p){var f;return r===null?f=new b:typeof r!="string"&&!n.objectMode&&(f=new G("chunk",["string","Buffer"],r)),f?(c(d,f),tt.nextTick(p,f),!1):!0}M.prototype.write=function(d,n,r){var p=this._writableState,f=!1,i=!p.objectMode&&l(d);return i&&!D.isBuffer(d)&&(d=T(d)),typeof n=="function"&&(r=n,n=null),i?n="buffer":n||(n=p.defaultEncoding),typeof r!="function"&&(r=E),p.ending?s(this,r):(i||q(this,p,d,r))&&(p.pendingcb++,f=w(this,p,i,d,n,r)),f},M.prototype.cork=function(){this._writableState.corked++},M.prototype.uncork=function(){var d=this._writableState;d.corked&&(d.corked--,!d.writing&&!d.corked&&!d.bufferProcessing&&d.bufferedRequest&&pt(this,d))},M.prototype.setDefaultEncoding=function(d){if(typeof d=="string"&&(d=d.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((d+"").toLowerCase())>-1))throw new _(d);return this._writableState.defaultEncoding=d,this},Object.defineProperty(M.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function J(d,n,r){return!d.objectMode&&d.decodeStrings!==!1&&typeof n=="string"&&(n=D.from(n,r)),n}Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function w(d,n,r,p,f,i){if(!r){var u=J(n,p,f);p!==u&&(r=!0,f="buffer",p=u)}var L=n.objectMode?1:p.length;n.length+=L;var V=n.length>5===6?2:b>>4===14?3:b>>3===30?4:b>>6===2?-1:-2}function T(b,v,_){var c=v.length-1;if(c<_)return 0;var E=y(v[c]);return E>=0?(E>0&&(b.lastNeed=E-1),E):--c<_||E===-2?0:(E=y(v[c]),E>=0?(E>0&&(b.lastNeed=E-2),E):--c<_||E===-2?0:(E=y(v[c]),E>=0?(E>0&&(E===2?E=0:b.lastNeed=E-3),E):0))}function l(b,v,_){if((v[0]&192)!==128)return b.lastNeed=0,"�";if(b.lastNeed>1&&v.length>1){if((v[1]&192)!==128)return b.lastNeed=1,"�";if(b.lastNeed>2&&v.length>2&&(v[2]&192)!==128)return b.lastNeed=2,"�"}}function g(b){var v=this.lastTotal-this.lastNeed,_=l(this,b);if(_!==void 0)return _;if(this.lastNeed<=b.length)return b.copy(this.lastChar,v,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);b.copy(this.lastChar,v,0,b.length),this.lastNeed-=b.length}function N(b,v){var _=T(this,b,v);if(!this.lastNeed)return b.toString("utf8",v);this.lastTotal=_;var c=b.length-(_-this.lastNeed);return b.copy(this.lastChar,0,c),b.toString("utf8",v,c)}function P(b){var v=b&&b.length?this.write(b):"";return this.lastNeed?v+"�":v}function C(b,v){if((b.length-v)%2===0){var _=b.toString("utf16le",v);if(_){var c=_.charCodeAt(_.length-1);if(c>=55296&&c<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=b[b.length-2],this.lastChar[1]=b[b.length-1],_.slice(0,-1)}return _}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=b[b.length-1],b.toString("utf16le",v,b.length-1)}function G(b){var v=b&&b.length?this.write(b):"";if(this.lastNeed){var _=this.lastTotal-this.lastNeed;return v+this.lastChar.toString("utf16le",0,_)}return v}function z(b,v){var _=(b.length-v)%3;return _===0?b.toString("base64",v):(this.lastNeed=3-_,this.lastTotal=3,_===1?this.lastChar[0]=b[b.length-1]:(this.lastChar[0]=b[b.length-2],this.lastChar[1]=b[b.length-1]),b.toString("base64",v,b.length-_))}function W(b){var v=b&&b.length?this.write(b):"";return this.lastNeed?v+this.lastChar.toString("base64",0,3-this.lastNeed):v}function F(b){return b.toString(this.encoding)}function x(b){return b&&b.length?this.write(b):""}return Ne}var Le,Gn;function ze(){if(Gn)return Le;Gn=1;var a=Lt().codes.ERR_STREAM_PREMATURE_CLOSE;function m(y){var T=!1;return function(){if(!T){T=!0;for(var l=arguments.length,g=new Array(l),N=0;N0)if(typeof u!="string"&&!X.objectMode&&Object.getPrototypeOf(u)!==S.prototype&&(u=y(u)),V)X.endEmitted?E(i,new b):J(i,X,u,!0);else if(X.ended)E(i,new F);else{if(X.destroyed)return!1;X.reading=!1,X.decoder&&!L?(u=X.decoder.write(u),X.objectMode||u.length!==0?J(i,X,u,!1):pt(i,X)):J(i,X,u,!1)}else V||(X.reading=!1,pt(i,X))}return!X.ended&&(X.length=Q?i=Q:(i--,i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i++),i}function rt(i,u){return i<=0||u.length===0&&u.ended?0:u.objectMode?1:i!==i?u.flowing&&u.length?u.buffer.head.data.length:u.length:(i>u.highWaterMark&&(u.highWaterMark=et(i)),i<=u.length?i:u.ended?u.length:(u.needReadable=!0,0))}s.prototype.read=function(i){g("read",i),i=parseInt(i,10);var u=this._readableState,L=i;if(i!==0&&(u.emittedReadable=!1),i===0&&u.needReadable&&((u.highWaterMark!==0?u.length>=u.highWaterMark:u.length>0)||u.ended))return g("read: emitReadable",u.length,u.ended),u.length===0&&u.ended?r(this):K(this),null;if(i=rt(i,u),i===0&&u.ended)return u.length===0&&r(this),null;var V=u.needReadable;g("need readable",V),(u.length===0||u.length-i0?$=n(i,u):$=null,$===null?(u.needReadable=u.length<=u.highWaterMark,i=0):(u.length-=i,u.awaitDrain=0),u.length===0&&(u.ended||(u.needReadable=!0),L!==i&&u.ended&&r(this)),$!==null&&this.emit("data",$),$};function at(i,u){if(g("onEofChunk"),!u.ended){if(u.decoder){var L=u.decoder.end();L&&L.length&&(u.buffer.push(L),u.length+=u.objectMode?1:L.length)}u.ended=!0,u.sync?K(i):(u.needReadable=!1,u.emittedReadable||(u.emittedReadable=!0,lt(i)))}}function K(i){var u=i._readableState;g("emitReadable",u.needReadable,u.emittedReadable),u.needReadable=!1,u.emittedReadable||(g("emitReadable",u.flowing),u.emittedReadable=!0,tt.nextTick(lt,i))}function lt(i){var u=i._readableState;g("emitReadable_",u.destroyed,u.length,u.ended),!u.destroyed&&(u.length||u.ended)&&(i.emit("readable"),u.emittedReadable=!1),u.needReadable=!u.flowing&&!u.ended&&u.length<=u.highWaterMark,d(i)}function pt(i,u){u.readingMore||(u.readingMore=!0,tt.nextTick(ot,i,u))}function ot(i,u){for(;!u.reading&&!u.ended&&(u.length1&&f(V.pipes,i)!==-1)&&!gt&&(g("false write response, pause",V.awaitDrain),V.awaitDrain++),L.pause())}function ct(wt){g("onerror",wt),St(),i.removeListener("error",ct),m(i,"error")===0&&E(i,wt)}B(i,"error",ct);function Ot(){i.removeListener("finish",It),St()}i.once("close",Ot);function It(){g("onfinish"),i.removeListener("close",Ot),St()}i.once("finish",It);function St(){g("unpipe"),L.unpipe(i)}return i.emit("pipe",L),V.flowing||(g("pipe resume"),L.resume()),i};function yt(i){return function(){var u=i._readableState;g("pipeOnDrain",u.awaitDrain),u.awaitDrain&&u.awaitDrain--,u.awaitDrain===0&&m(i,"data")&&(u.flowing=!0,d(i))}}s.prototype.unpipe=function(i){var u=this._readableState,L={hasUnpiped:!1};if(u.pipesCount===0)return this;if(u.pipesCount===1)return i&&i!==u.pipes?this:(i||(i=u.pipes),u.pipes=null,u.pipesCount=0,u.flowing=!1,i&&i.emit("unpipe",this,L),this);if(!i){var V=u.pipes,$=u.pipesCount;u.pipes=null,u.pipesCount=0,u.flowing=!1;for(var X=0;X<$;X++)V[X].emit("unpipe",this,{hasUnpiped:!1});return this}var Z=f(u.pipes,i);return Z===-1?this:(u.pipes.splice(Z,1),u.pipesCount-=1,u.pipesCount===1&&(u.pipes=u.pipes[0]),i.emit("unpipe",this,L),this)},s.prototype.on=function(i,u){var L=A.prototype.on.call(this,i,u),V=this._readableState;return i==="data"?(V.readableListening=this.listenerCount("readable")>0,V.flowing!==!1&&this.resume()):i==="readable"&&!V.endEmitted&&!V.readableListening&&(V.readableListening=V.needReadable=!0,V.flowing=!1,V.emittedReadable=!1,g("on readable",V.length,V.reading),V.length?K(this):V.reading||tt.nextTick(I,this)),L},s.prototype.addListener=s.prototype.on,s.prototype.removeListener=function(i,u){var L=A.prototype.removeListener.call(this,i,u);return i==="readable"&&tt.nextTick(ht,this),L},s.prototype.removeAllListeners=function(i){var u=A.prototype.removeAllListeners.apply(this,arguments);return(i==="readable"||i===void 0)&&tt.nextTick(ht,this),u};function ht(i){var u=i._readableState;u.readableListening=i.listenerCount("readable")>0,u.resumeScheduled&&!u.paused?u.flowing=!0:i.listenerCount("data")>0&&i.resume()}function I(i){g("readable nexttick read 0"),i.read(0)}s.prototype.resume=function(){var i=this._readableState;return i.flowing||(g("resume"),i.flowing=!i.readableListening,k(this,i)),i.paused=!1,this};function k(i,u){u.resumeScheduled||(u.resumeScheduled=!0,tt.nextTick(Y,i,u))}function Y(i,u){g("resume",u.reading),u.reading||i.read(0),u.resumeScheduled=!1,i.emit("resume"),d(i),u.flowing&&!u.reading&&i.read(0)}s.prototype.pause=function(){return g("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(g("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function d(i){var u=i._readableState;for(g("flow",u.flowing);u.flowing&&i.read()!==null;);}s.prototype.wrap=function(i){var u=this,L=this._readableState,V=!1;i.on("end",function(){if(g("wrapped end"),L.decoder&&!L.ended){var Z=L.decoder.end();Z&&Z.length&&u.push(Z)}u.push(null)}),i.on("data",function(Z){if(g("wrapped data"),L.decoder&&(Z=L.decoder.write(Z)),!(L.objectMode&&Z==null)&&!(!L.objectMode&&(!Z||!Z.length))){var ft=u.push(Z);ft||(V=!0,i.pause())}});for(var $ in i)this[$]===void 0&&typeof i[$]=="function"&&(this[$]=(function(Z){return function(){return i[Z].apply(i,arguments)}})($));for(var X=0;X=u.length?(u.decoder?L=u.buffer.join(""):u.buffer.length===1?L=u.buffer.first():L=u.buffer.concat(u.length),u.buffer.clear()):L=u.buffer.consume(i,u.decoder),L}function r(i){var u=i._readableState;g("endReadable",u.endEmitted),u.endEmitted||(u.ended=!0,tt.nextTick(p,u,i))}function p(i,u){if(g("endReadableNT",i.endEmitted,i.length),!i.endEmitted&&i.length===0&&(i.endEmitted=!0,u.readable=!1,u.emit("end"),i.autoDestroy)){var L=u._writableState;(!L||L.autoDestroy&&L.finished)&&u.destroy()}}typeof Symbol=="function"&&(s.from=function(i,u){return c===void 0&&(c=hi()),c(s,i,u)});function f(i,u){for(var L=0,V=i.length;L0;return l(v,c,E,function(R){x||(x=R),R&&b.forEach(g),!c&&(b.forEach(g),F(x))})});return z.reduce(N)}return ke=C,ke}var Fe,Xn;function gi(){if(Xn)return Fe;Xn=1,Fe=A;var a=Ge().EventEmitter,m=At();m(A,a),A.Readable=lo(),A.Writable=co(),A.Duplex=Nt(),A.Transform=po(),A.PassThrough=yi(),A.finished=ze(),A.pipeline=di(),A.Stream=A;function A(){a.call(this)}return A.prototype.pipe=function(S,D){var y=this;function T(z){S.writable&&S.write(z)===!1&&y.pause&&y.pause()}y.on("data",T);function l(){y.readable&&y.resume&&y.resume()}S.on("drain",l),!S._isStdio&&(!D||D.end!==!1)&&(y.on("end",N),y.on("close",P));var g=!1;function N(){g||(g=!0,S.end())}function P(){g||(g=!0,typeof S.destroy=="function"&&S.destroy())}function C(z){if(G(),a.listenerCount(this,"error")===0)throw z}y.on("error",C),S.on("error",C);function G(){y.removeListener("data",T),S.removeListener("drain",l),y.removeListener("end",N),y.removeListener("close",P),y.removeListener("error",C),S.removeListener("error",C),y.removeListener("end",G),y.removeListener("close",G),S.removeListener("close",G)}return y.on("end",G),y.on("close",G),S.on("close",G),S.emit("pipe",y),S},Fe}var Jn;function bi(){return Jn||(Jn=1,(function(a){(function(m){m.parser=function(n,r){return new S(n,r)},m.SAXParser=S,m.SAXStream=P,m.createStream=N,m.MAX_BUFFER_LENGTH=64*1024;var A=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];m.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function S(n,r){if(!(this instanceof S))return new S(n,r);var p=this;y(p),p.q=p.c="",p.bufferCheckPosition=m.MAX_BUFFER_LENGTH,p.opt=r||{},p.opt.lowercase=p.opt.lowercase||p.opt.lowercasetags,p.looseCase=p.opt.lowercase?"toLowerCase":"toUpperCase",p.tags=[],p.closed=p.closedRoot=p.sawRoot=!1,p.tag=p.error=null,p.strict=!!n,p.noscript=!!(n||p.opt.noscript),p.state=s.BEGIN,p.strictEntities=p.opt.strictEntities,p.ENTITIES=p.strictEntities?Object.create(m.XML_ENTITIES):Object.create(m.ENTITIES),p.attribList=[],p.opt.xmlns&&(p.ns=Object.create(F)),p.opt.unquotedAttributeValues===void 0&&(p.opt.unquotedAttributeValues=!n),p.trackPosition=p.opt.position!==!1,p.trackPosition&&(p.position=p.line=p.column=0),J(p,"onready")}Object.create||(Object.create=function(n){function r(){}r.prototype=n;var p=new r;return p}),Object.keys||(Object.keys=function(n){var r=[];for(var p in n)n.hasOwnProperty(p)&&r.push(p);return r});function D(n){for(var r=Math.max(m.MAX_BUFFER_LENGTH,10),p=0,f=0,i=A.length;fr)switch(A[f]){case"textNode":Q(n);break;case"cdata":w(n,"oncdata",n.cdata),n.cdata="";break;case"script":w(n,"onscript",n.script),n.script="";break;default:rt(n,"Max buffer length exceeded: "+A[f])}p=Math.max(p,u)}var L=m.MAX_BUFFER_LENGTH-p;n.bufferCheckPosition=L+n.position}function y(n){for(var r=0,p=A.length;r"||c(n)}function B(n,r){return n.test(r)}function M(n,r){return!B(n,r)}var s=0;m.STATE={BEGIN:s++,BEGIN_WHITESPACE:s++,TEXT:s++,TEXT_ENTITY:s++,OPEN_WAKA:s++,SGML_DECL:s++,SGML_DECL_QUOTED:s++,DOCTYPE:s++,DOCTYPE_QUOTED:s++,DOCTYPE_DTD:s++,DOCTYPE_DTD_QUOTED:s++,COMMENT_STARTING:s++,COMMENT:s++,COMMENT_ENDING:s++,COMMENT_ENDED:s++,CDATA:s++,CDATA_ENDING:s++,CDATA_ENDING_2:s++,PROC_INST:s++,PROC_INST_BODY:s++,PROC_INST_ENDING:s++,OPEN_TAG:s++,OPEN_TAG_SLASH:s++,ATTRIB:s++,ATTRIB_NAME:s++,ATTRIB_NAME_SAW_WHITE:s++,ATTRIB_VALUE:s++,ATTRIB_VALUE_QUOTED:s++,ATTRIB_VALUE_CLOSED:s++,ATTRIB_VALUE_UNQUOTED:s++,ATTRIB_VALUE_ENTITY_Q:s++,ATTRIB_VALUE_ENTITY_U:s++,CLOSE_TAG:s++,CLOSE_TAG_SAW_WHITE:s++,SCRIPT:s++,SCRIPT_ENDING:s++},m.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},m.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(m.ENTITIES).forEach(function(n){var r=m.ENTITIES[n],p=typeof r=="number"?String.fromCharCode(r):r;m.ENTITIES[n]=p});for(var q in m.STATE)m.STATE[m.STATE[q]]=q;s=m.STATE;function J(n,r,p){n[r]&&n[r](p)}function w(n,r,p){n.textNode&&Q(n),J(n,r,p)}function Q(n){n.textNode=et(n.opt,n.textNode),n.textNode&&J(n,"ontext",n.textNode),n.textNode=""}function et(n,r){return n.trim&&(r=r.trim()),n.normalize&&(r=r.replace(/\s+/g," ")),r}function rt(n,r){return Q(n),n.trackPosition&&(r+=` Line: `+n.line+` Column: `+n.column+` Char: `+n.c),r=new Error(r),n.error=r,J(n,"onerror",r),n}function at(n){return n.sawRoot&&!n.closedRoot&&K(n,"Unclosed root tag"),n.state!==s.BEGIN&&n.state!==s.BEGIN_WHITESPACE&&n.state!==s.TEXT&&rt(n,"Unexpected end"),Q(n),n.c="",n.closed=!0,J(n,"onend"),S.call(n,n.strict,n.opt),n}function K(n,r){if(typeof n!="object"||!(n instanceof S))throw new Error("bad call to strictFail");n.strict&&rt(n,r)}function lt(n){n.strict||(n.tagName=n.tagName[n.looseCase]());var r=n.tags[n.tags.length-1]||n,p=n.tag={name:n.tagName,attributes:{}};n.opt.xmlns&&(p.ns=r.ns),n.attribList.length=0,w(n,"onopentagstart",p)}function pt(n,r){var p=n.indexOf(":"),f=p<0?["",n]:n.split(":"),i=f[0],u=f[1];return r&&n==="xmlns"&&(i="xmlns",u=""),{prefix:i,local:u}}function ot(n){if(n.strict||(n.attribName=n.attribName[n.looseCase]()),n.attribList.indexOf(n.attribName)!==-1||n.tag.attributes.hasOwnProperty(n.attribName)){n.attribName=n.attribValue="";return}if(n.opt.xmlns){var r=pt(n.attribName,!0),p=r.prefix,f=r.local;if(p==="xmlns")if(f==="xml"&&n.attribValue!==z)K(n,"xml: prefix must be bound to "+z+` Actual: `+n.attribValue);else if(f==="xmlns"&&n.attribValue!==W)K(n,"xmlns: prefix must be bound to "+W+` Actual: `+n.attribValue);else{var i=n.tag,u=n.tags[n.tags.length-1]||n;i.ns===u.ns&&(i.ns=Object.create(u.ns)),i.ns[f]=n.attribValue}n.attribList.push([n.attribName,n.attribValue])}else n.tag.attributes[n.attribName]=n.attribValue,w(n,"onattribute",{name:n.attribName,value:n.attribValue});n.attribName=n.attribValue=""}function yt(n,r){if(n.opt.xmlns){var p=n.tag,f=pt(n.tagName);p.prefix=f.prefix,p.local=f.local,p.uri=p.ns[f.prefix]||"",p.prefix&&!p.uri&&(K(n,"Unbound namespace prefix: "+JSON.stringify(n.tagName)),p.uri=f.prefix);var i=n.tags[n.tags.length-1]||n;p.ns&&i.ns!==p.ns&&Object.keys(p.ns).forEach(function(nt){w(n,"onopennamespace",{prefix:nt,uri:p.ns[nt]})});for(var u=0,L=n.attribList.length;u",n.tagName="",n.state=s.SCRIPT;return}w(n,"onscript",n.script),n.script=""}var r=n.tags.length,p=n.tagName;n.strict||(p=p[n.looseCase]());for(var f=p;r--;){var i=n.tags[r];if(i.name!==f)K(n,"Unexpected close tag");else break}if(r<0){K(n,"Unmatched closing tag: "+n.tagName),n.textNode+="",n.state=s.TEXT;return}n.tagName=p;for(var u=n.tags.length;u-- >r;){var L=n.tag=n.tags.pop();n.tagName=n.tag.name,w(n,"onclosetag",n.tagName);var V={};for(var $ in L.ns)V[$]=L.ns[$];var X=n.tags[n.tags.length-1]||n;n.opt.xmlns&&L.ns!==X.ns&&Object.keys(L.ns).forEach(function(Z){var ft=L.ns[Z];w(n,"onclosenamespace",{prefix:Z,uri:ft})})}r===0&&(n.closedRoot=!0),n.tagName=n.attribValue=n.attribName="",n.attribList.length=0,n.state=s.TEXT}function I(n){var r=n.entity,p=r.toLowerCase(),f,i="";return n.ENTITIES[r]?n.ENTITIES[r]:n.ENTITIES[p]?n.ENTITIES[p]:(r=p,r.charAt(0)==="#"&&(r.charAt(1)==="x"?(r=r.slice(2),f=parseInt(r,16),i=f.toString(16)):(r=r.slice(1),f=parseInt(r,10),i=f.toString(10))),r=r.replace(/^0+/,""),isNaN(f)||i.toLowerCase()!==r?(K(n,"Invalid character entity"),"&"+n.entity+";"):String.fromCodePoint(f))}function k(n,r){r==="<"?(n.state=s.OPEN_WAKA,n.startTagPosition=n.position):c(r)||(K(n,"Non-whitespace before first tag."),n.textNode=r,n.state=s.TEXT)}function Y(n,r){var p="";return r"?(w(r,"onsgmldeclaration",r.sgmlDecl),r.sgmlDecl="",r.state=s.TEXT):(E(f)&&(r.state=s.SGML_DECL_QUOTED),r.sgmlDecl+=f);continue;case s.SGML_DECL_QUOTED:f===r.q&&(r.state=s.SGML_DECL,r.q=""),r.sgmlDecl+=f;continue;case s.DOCTYPE:f===">"?(r.state=s.TEXT,w(r,"ondoctype",r.doctype),r.doctype=!0):(r.doctype+=f,f==="["?r.state=s.DOCTYPE_DTD:E(f)&&(r.state=s.DOCTYPE_QUOTED,r.q=f));continue;case s.DOCTYPE_QUOTED:r.doctype+=f,f===r.q&&(r.q="",r.state=s.DOCTYPE);continue;case s.DOCTYPE_DTD:f==="]"?(r.doctype+=f,r.state=s.DOCTYPE):f==="<"?(r.state=s.OPEN_WAKA,r.startTagPosition=r.position):E(f)?(r.doctype+=f,r.state=s.DOCTYPE_DTD_QUOTED,r.q=f):r.doctype+=f;continue;case s.DOCTYPE_DTD_QUOTED:r.doctype+=f,f===r.q&&(r.state=s.DOCTYPE_DTD,r.q="");continue;case s.COMMENT:f==="-"?r.state=s.COMMENT_ENDING:r.comment+=f;continue;case s.COMMENT_ENDING:f==="-"?(r.state=s.COMMENT_ENDED,r.comment=et(r.opt,r.comment),r.comment&&w(r,"oncomment",r.comment),r.comment=""):(r.comment+="-"+f,r.state=s.COMMENT);continue;case s.COMMENT_ENDED:f!==">"?(K(r,"Malformed comment"),r.comment+="--"+f,r.state=s.COMMENT):r.doctype&&r.doctype!==!0?r.state=s.DOCTYPE_DTD:r.state=s.TEXT;continue;case s.CDATA:f==="]"?r.state=s.CDATA_ENDING:r.cdata+=f;continue;case s.CDATA_ENDING:f==="]"?r.state=s.CDATA_ENDING_2:(r.cdata+="]"+f,r.state=s.CDATA);continue;case s.CDATA_ENDING_2:f===">"?(r.cdata&&w(r,"oncdata",r.cdata),w(r,"onclosecdata"),r.cdata="",r.state=s.TEXT):f==="]"?r.cdata+="]":(r.cdata+="]]"+f,r.state=s.CDATA);continue;case s.PROC_INST:f==="?"?r.state=s.PROC_INST_ENDING:c(f)?r.state=s.PROC_INST_BODY:r.procInstName+=f;continue;case s.PROC_INST_BODY:if(!r.procInstBody&&c(f))continue;f==="?"?r.state=s.PROC_INST_ENDING:r.procInstBody+=f;continue;case s.PROC_INST_ENDING:f===">"?(w(r,"onprocessinginstruction",{name:r.procInstName,body:r.procInstBody}),r.procInstName=r.procInstBody="",r.state=s.TEXT):(r.procInstBody+="?"+f,r.state=s.PROC_INST_BODY);continue;case s.OPEN_TAG:B(b,f)?r.tagName+=f:(lt(r),f===">"?yt(r):f==="/"?r.state=s.OPEN_TAG_SLASH:(c(f)||K(r,"Invalid character in tag name"),r.state=s.ATTRIB));continue;case s.OPEN_TAG_SLASH:f===">"?(yt(r,!0),ht(r)):(K(r,"Forward-slash in opening tag not followed by >"),r.state=s.ATTRIB);continue;case s.ATTRIB:if(c(f))continue;f===">"?yt(r):f==="/"?r.state=s.OPEN_TAG_SLASH:B(x,f)?(r.attribName=f,r.attribValue="",r.state=s.ATTRIB_NAME):K(r,"Invalid attribute name");continue;case s.ATTRIB_NAME:f==="="?r.state=s.ATTRIB_VALUE:f===">"?(K(r,"Attribute without value"),r.attribValue=r.attribName,ot(r),yt(r)):c(f)?r.state=s.ATTRIB_NAME_SAW_WHITE:B(b,f)?r.attribName+=f:K(r,"Invalid attribute name");continue;case s.ATTRIB_NAME_SAW_WHITE:if(f==="=")r.state=s.ATTRIB_VALUE;else{if(c(f))continue;K(r,"Attribute without value"),r.tag.attributes[r.attribName]="",r.attribValue="",w(r,"onattribute",{name:r.attribName,value:""}),r.attribName="",f===">"?yt(r):B(x,f)?(r.attribName=f,r.state=s.ATTRIB_NAME):(K(r,"Invalid attribute name"),r.state=s.ATTRIB)}continue;case s.ATTRIB_VALUE:if(c(f))continue;E(f)?(r.q=f,r.state=s.ATTRIB_VALUE_QUOTED):(r.opt.unquotedAttributeValues||rt(r,"Unquoted attribute value"),r.state=s.ATTRIB_VALUE_UNQUOTED,r.attribValue=f);continue;case s.ATTRIB_VALUE_QUOTED:if(f!==r.q){f==="&"?r.state=s.ATTRIB_VALUE_ENTITY_Q:r.attribValue+=f;continue}ot(r),r.q="",r.state=s.ATTRIB_VALUE_CLOSED;continue;case s.ATTRIB_VALUE_CLOSED:c(f)?r.state=s.ATTRIB:f===">"?yt(r):f==="/"?r.state=s.OPEN_TAG_SLASH:B(x,f)?(K(r,"No whitespace between attributes"),r.attribName=f,r.attribValue="",r.state=s.ATTRIB_NAME):K(r,"Invalid attribute name");continue;case s.ATTRIB_VALUE_UNQUOTED:if(!R(f)){f==="&"?r.state=s.ATTRIB_VALUE_ENTITY_U:r.attribValue+=f;continue}ot(r),f===">"?yt(r):r.state=s.ATTRIB;continue;case s.CLOSE_TAG:if(r.tagName)f===">"?ht(r):B(b,f)?r.tagName+=f:r.script?(r.script+=""?ht(r):K(r,"Invalid characters in closing tag");continue;case s.TEXT_ENTITY:case s.ATTRIB_VALUE_ENTITY_Q:case s.ATTRIB_VALUE_ENTITY_U:var L,V;switch(r.state){case s.TEXT_ENTITY:L=s.TEXT,V="textNode";break;case s.ATTRIB_VALUE_ENTITY_Q:L=s.ATTRIB_VALUE_QUOTED,V="attribValue";break;case s.ATTRIB_VALUE_ENTITY_U:L=s.ATTRIB_VALUE_UNQUOTED,V="attribValue";break}if(f===";"){var $=I(r);r.opt.unparsedEntities&&!Object.values(m.XML_ENTITIES).includes($)?(r.entity="",r.state=L,r.write($)):(r[V]+=$,r.entity="",r.state=L)}else B(r.entity.length?_:v,f)?r.entity+=f:(K(r,"Invalid character in entity name"),r[V]+="&"+r.entity+f,r.entity="",r.state=L);continue;default:throw new Error(r,"Unknown state: "+r.state)}return r.position>=r.bufferCheckPosition&&D(r),r}String.fromCodePoint||(function(){var n=String.fromCharCode,r=Math.floor,p=function(){var f=16384,i=[],u,L,V=-1,$=arguments.length;if(!$)return"";for(var X="";++V<$;){var Z=Number(arguments[V]);if(!isFinite(Z)||Z<0||Z>1114111||r(Z)!==Z)throw RangeError("Invalid code point: "+Z);Z<=65535?i.push(Z):(Z-=65536,u=(Z>>10)+55296,L=Z%1024+56320,i.push(u,L)),(V+1===$||i.length>f)&&(X+=n.apply(null,i),i.length=0)}return X};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:p,configurable:!0,writable:!0}):String.fromCodePoint=p})()})(a)})(Ze)),Ze}var mi=bi();const vi=_o(mi),wi={"http://www.w3.org/2000/svg":{ext:"svg",mime:"image/svg+xml"},"http://www.w3.org/1999/xhtml":{ext:"xhtml",mime:"application/xhtml+xml"},"http://www.opengis.net/kml/2.2":{ext:"kml",mime:"application/vnd.google-earth.kml+xml"},"http://www.opengis.net/gml":{ext:"gml",mime:"application/gml+xml"}},Ei={rss:{ext:"rss",mime:"application/rss+xml"},"score-partwise":{ext:"musicxml",mime:"application/vnd.recordare.musicxml+xml"},svg:{ext:"svg",mime:"image/svg+xml"}};class Si{constructor(m){this.options=m??{},this.firstTag=!0,this.onEnd=!1,this.parser=vi.parser(!0,{xmlns:!0}),this.nesting=0,this.parser.onerror=A=>{A.message.startsWith("Invalid character entity")||(this.fileType=void 0,this.onEnd=!0)},this.parser.onopentag=A=>{++this.nesting,!(!this.firstTag||this.onEnd)&&(this.firstTag=!1,A.uri?this.fileType=wi[A.uri]:A.name&&(this.fileType=Ei[A.name.toLowerCase()]),this.fileType&&!this.options.fullScan&&(this.onEnd=!0))},this.parser.onclosetag=()=>{--this.nesting}}write(m){this.parser.write(m)}close(){this.parser.close(),this.onEnd=!0}isValid(){return this.nesting===0}}function _i(a,{validate:m=!0}={}){if(typeof a!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof a}\``);if(a=a.trim(),a.length===0)return!1;const A=new Si({fullScan:m});if(m){if(A.write(a),!A.isValid())return!1}else{let S=0;for(;a.length>S&&!A.onEnd;)A.write(a.slice(S,Math.min(S+128,a.length))),S+=128}return A.fileType?.ext==="svg"}function Ti(a){if(Ai(a),zt.filesSidebarTabs??=new Map,zt.filesSidebarTabs.has(a.id)){Je.warn(`Sidebar tab with id "${a.id}" already registered. Skipping.`);return}zt.filesSidebarTabs.set(a.id,a),Je.debug(`New sidebar tab with id "${a.id}" registered.`)}function Ai(a){if(typeof a!="object")throw new Error("Sidebar tab is not an object");if(!a.id||typeof a.id!="string"||a.id!==CSS.escape(a.id))throw new Error("Sidebar tabs need to have an id conforming to the HTML id attribute specifications");if(!a.tagName||typeof a.tagName!="string")throw new Error("Sidebar tabs need to have the tagName name set");if(!a.tagName.match(/^[a-z][a-z0-9-_]+$/))throw new Error('Sidebar tab "tagName" is invalid');if(!a.displayName||typeof a.displayName!="string")throw new Error("Sidebar tabs need to have a name set");if(typeof a.iconSvgInline!="string"||!_i(a.iconSvgInline))throw new Error("Sidebar tabs need to have an valid SVG icon");if(typeof a.order!="number")throw new Error("Sidebar tabs need to have a numeric order set");if(a.enabled&&typeof a.enabled!="function")throw new Error('Sidebar tab "enabled" is not a function');if(a.onInit&&typeof a.onInit!="function")throw new Error('Sidebar tab "onInit" is not a function')}const Ue="activity-files-sidebar-tab";window.customElements.get(Ue)===void 0&&(window.customElements.define(Ue,To(Oo(()=>Eo(()=>import("./ActivityTab-BMQubd_h.chunk.mjs"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url)),{shadowRoot:!1})),Ti({id:"activity",order:50,displayName:Ao("activity","Activity"),iconSvgInline:Io,tagName:Ue,enabled(){return!0}}));export{Io as l}; //# sourceMappingURL=activity-sidebar.mjs.map