(self.webpackChunkchainaware=self.webpackChunkchainaware||[]).push([[3461],{24050:(bt,Q,et)=>{"use strict";et(96935);var tt=et(83838);window.global=window,global.Buffer=tt.Buffer,global.process={env:{DEBUG:void 0},version:"",nextTick:et(20345)}},13981:(bt,Q)=>{"use strict";Q.byteLength=function f(A){var X=F(A),N=X[1];return 3*(X[0]+N)/4-N},Q.toByteArray=function Rt(A){var X,dt,nt=F(A),N=nt[0],Tt=nt[1],at=new ut(function It(A,X,nt){return 3*(X+nt)/4-nt}(0,N,Tt)),K=0,jt=Tt>0?N-4:N;for(dt=0;dt<jt;dt+=4)X=R[A.charCodeAt(dt)]<<18|R[A.charCodeAt(dt+1)]<<12|R[A.charCodeAt(dt+2)]<<6|R[A.charCodeAt(dt+3)],at[K++]=X>>16&255,at[K++]=X>>8&255,at[K++]=255&X;return 2===Tt&&(X=R[A.charCodeAt(dt)]<<2|R[A.charCodeAt(dt+1)]>>4,at[K++]=255&X),1===Tt&&(X=R[A.charCodeAt(dt)]<<10|R[A.charCodeAt(dt+1)]<<4|R[A.charCodeAt(dt+2)]>>2,at[K++]=X>>8&255,at[K++]=255&X),at},Q.fromByteArray=function xt(A){for(var X,nt=A.length,N=nt%3,Tt=[],K=0,jt=nt-N;K<jt;K+=16383)Tt.push(it(A,K,K+16383>jt?jt:K+16383));return 1===N?Tt.push(et[(X=A[nt-1])>>2]+et[X<<4&63]+"=="):2===N&&Tt.push(et[(X=(A[nt-2]<<8)+A[nt-1])>>10]+et[X>>4&63]+et[X<<2&63]+"="),Tt.join("")};for(var et=[],R=[],ut=typeof Uint8Array<"u"?Uint8Array:Array,tt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",G=0;G<64;++G)et[G]=tt[G],R[tt.charCodeAt(G)]=G;function F(A){var X=A.length;if(X%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var nt=A.indexOf("=");return-1===nt&&(nt=X),[nt,nt===X?0:4-nt%4]}function _t(A){return et[A>>18&63]+et[A>>12&63]+et[A>>6&63]+et[63&A]}function it(A,X,nt){for(var Tt=[],at=X;at<nt;at+=3)Tt.push(_t((A[at]<<16&16711680)+(A[at+1]<<8&65280)+(255&A[at+2])));return Tt.join("")}R[45]=62,R[95]=63},83838:(bt,Q,et)=>{"use strict";const R=et(13981),ut=et(22020),tt="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;Q.Buffer=f,Q.SlowBuffer=function at(n){return+n!=n&&(n=0),f.alloc(+n)},Q.INSPECT_MAX_BYTES=50;const G=2147483647;function F(n){if(n>G)throw new RangeError('The value "'+n+'" is invalid for option "size"');const t=new Uint8Array(n);return Object.setPrototypeOf(t,f.prototype),t}function f(n,t,e){if("number"==typeof n){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return it(n)}return It(n,t,e)}function It(n,t,e){if("string"==typeof n)return function xt(n,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!f.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const e=0|K(n,t);let r=F(e);const c=r.write(n,t);return c!==e&&(r=r.slice(0,c)),r}(n,t);if(ArrayBuffer.isView(n))return function X(n){if(vt(n,Uint8Array)){const t=new Uint8Array(n);return nt(t.buffer,t.byteOffset,t.byteLength)}return A(n)}(n);if(null==n)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(vt(n,ArrayBuffer)||n&&vt(n.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(vt(n,SharedArrayBuffer)||n&&vt(n.buffer,SharedArrayBuffer)))return nt(n,t,e);if("number"==typeof n)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=n.valueOf&&n.valueOf();if(null!=r&&r!==n)return f.from(r,t,e);const c=function N(n){if(f.isBuffer(n)){const t=0|Tt(n.length),e=F(t);return 0===e.length||n.copy(e,0,0,t),e}return void 0!==n.length?"number"!=typeof n.length||he(n.length)?F(0):A(n):"Buffer"===n.type&&Array.isArray(n.data)?A(n.data):void 0}(n);if(c)return c;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof n[Symbol.toPrimitive])return f.from(n[Symbol.toPrimitive]("string"),t,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n)}function Rt(n){if("number"!=typeof n)throw new TypeError('"size" argument must be of type number');if(n<0)throw new RangeError('The value "'+n+'" is invalid for option "size"')}function it(n){return Rt(n),F(n<0?0:0|Tt(n))}function A(n){const t=n.length<0?0:0|Tt(n.length),e=F(t);for(let r=0;r<t;r+=1)e[r]=255&n[r];return e}function nt(n,t,e){if(t<0||n.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(n.byteLength<t+(e||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===e?new Uint8Array(n):void 0===e?new Uint8Array(n,t):new Uint8Array(n,t,e),Object.setPrototypeOf(r,f.prototype),r}function Tt(n){if(n>=G)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+G.toString(16)+" bytes");return 0|n}function K(n,t){if(f.isBuffer(n))return n.length;if(ArrayBuffer.isView(n)||vt(n,ArrayBuffer))return n.byteLength;if("string"!=typeof n)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof n);const e=n.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===e)return 0;let c=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return fe(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return Gt(n).length;default:if(c)return r?-1:fe(n).length;t=(""+t).toLowerCase(),c=!0}}function jt(n,t,e){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===e||e>this.length)&&(e=this.length),e<=0)||(e>>>=0)<=(t>>>=0))return"";for(n||(n="utf8");;)switch(n){case"hex":return Nt(this,t,e);case"utf8":case"utf-8":return oe(this,t,e);case"ascii":return Dt(this,t,e);case"latin1":case"binary":return Xt(this,t,e);case"base64":return Ie(this,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Be(this,t,e);default:if(r)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),r=!0}}function dt(n,t,e){const r=n[t];n[t]=n[e],n[e]=r}function ye(n,t,e,r,c){if(0===n.length)return-1;if("string"==typeof e?(r=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),he(e=+e)&&(e=c?0:n.length-1),e<0&&(e=n.length+e),e>=n.length){if(c)return-1;e=n.length-1}else if(e<0){if(!c)return-1;e=0}if("string"==typeof t&&(t=f.from(t,r)),f.isBuffer(t))return 0===t.length?-1:re(n,t,e,r,c);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?c?Uint8Array.prototype.indexOf.call(n,t,e):Uint8Array.prototype.lastIndexOf.call(n,t,e):re(n,[t],e,r,c);throw new TypeError("val must be string, number or Buffer")}function re(n,t,e,r,c){let s,l=1,y=n.length,H=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(n.length<2||t.length<2)return-1;l=2,y/=2,H/=2,e/=2}function i(p,o){return 1===l?p[o]:p.readUInt16BE(o*l)}if(c){let p=-1;for(s=e;s<y;s++)if(i(n,s)===i(t,-1===p?0:s-p)){if(-1===p&&(p=s),s-p+1===H)return p*l}else-1!==p&&(s-=s-p),p=-1}else for(e+H>y&&(e=y-H),s=e;s>=0;s--){let p=!0;for(let o=0;o<H;o++)if(i(n,s+o)!==i(t,o)){p=!1;break}if(p)return s}return-1}function Ee(n,t,e,r){e=Number(e)||0;const c=n.length-e;r?(r=Number(r))>c&&(r=c):r=c;const l=t.length;let y;for(r>l/2&&(r=l/2),y=0;y<r;++y){const H=parseInt(t.substr(2*y,2),16);if(he(H))return y;n[e+y]=H}return y}function Yt(n,t,e,r){return te(fe(t,n.length-e),n,e,r)}function ie(n,t,e,r){return te(function Ce(n){const t=[];for(let e=0;e<n.length;++e)t.push(255&n.charCodeAt(e));return t}(t),n,e,r)}function _e(n,t,e,r){return te(Gt(t),n,e,r)}function Kt(n,t,e,r){return te(function Qt(n,t){let e,r,c;const l=[];for(let y=0;y<n.length&&!((t-=2)<0);++y)e=n.charCodeAt(y),r=e>>8,c=e%256,l.push(c),l.push(r);return l}(t,n.length-e),n,e,r)}function Ie(n,t,e){return R.fromByteArray(0===t&&e===n.length?n:n.slice(t,e))}function oe(n,t,e){e=Math.min(n.length,e);const r=[];let c=t;for(;c<e;){const l=n[c];let y=null,H=l>239?4:l>223?3:l>191?2:1;if(c+H<=e){let i,s,p,o;switch(H){case 1:l<128&&(y=l);break;case 2:i=n[c+1],128==(192&i)&&(o=(31&l)<<6|63&i,o>127&&(y=o));break;case 3:i=n[c+1],s=n[c+2],128==(192&i)&&128==(192&s)&&(o=(15&l)<<12|(63&i)<<6|63&s,o>2047&&(o<55296||o>57343)&&(y=o));break;case 4:i=n[c+1],s=n[c+2],p=n[c+3],128==(192&i)&&128==(192&s)&&128==(192&p)&&(o=(15&l)<<18|(63&i)<<12|(63&s)<<6|63&p,o>65535&&o<1114112&&(y=o))}}null===y?(y=65533,H=1):y>65535&&(y-=65536,r.push(y>>>10&1023|55296),y=56320|1023&y),r.push(y),c+=H}return function ge(n){const t=n.length;if(t<=se)return String.fromCharCode.apply(String,n);let e="",r=0;for(;r<t;)e+=String.fromCharCode.apply(String,n.slice(r,r+=se));return e}(r)}Q.kMaxLength=G,!(f.TYPED_ARRAY_SUPPORT=function pt(){try{const n=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(n,t),42===n.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&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."),Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}}),f.poolSize=8192,f.from=function(n,t,e){return It(n,t,e)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array),f.alloc=function(n,t,e){return function _t(n,t,e){return Rt(n),n<=0?F(n):void 0!==t?"string"==typeof e?F(n).fill(t,e):F(n).fill(t):F(n)}(n,t,e)},f.allocUnsafe=function(n){return it(n)},f.allocUnsafeSlow=function(n){return it(n)},f.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==f.prototype},f.compare=function(t,e){if(vt(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),vt(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),!f.isBuffer(t)||!f.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let r=t.length,c=e.length;for(let l=0,y=Math.min(r,c);l<y;++l)if(t[l]!==e[l]){r=t[l],c=e[l];break}return r<c?-1:c<r?1:0},f.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return f.alloc(0);let r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;const c=f.allocUnsafe(e);let l=0;for(r=0;r<t.length;++r){let y=t[r];if(vt(y,Uint8Array))l+y.length>c.length?(f.isBuffer(y)||(y=f.from(y)),y.copy(c,l)):Uint8Array.prototype.set.call(c,y,l);else{if(!f.isBuffer(y))throw new TypeError('"list" argument must be an Array of Buffers');y.copy(c,l)}l+=y.length}return c},f.byteLength=K,f.prototype._isBuffer=!0,f.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;e<t;e+=2)dt(this,e,e+1);return this},f.prototype.swap32=function(){const t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)dt(this,e,e+3),dt(this,e+1,e+2);return this},f.prototype.swap64=function(){const t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)dt(this,e,e+7),dt(this,e+1,e+6),dt(this,e+2,e+5),dt(this,e+3,e+4);return this},f.prototype.toLocaleString=f.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?oe(this,0,t):jt.apply(this,arguments)},f.prototype.equals=function(t){if(!f.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===f.compare(this,t)},f.prototype.inspect=function(){let t="";const e=Q.INSPECT_MAX_BYTES;return t=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(t+=" ... "),"<Buffer "+t+">"},tt&&(f.prototype[tt]=f.prototype.inspect),f.prototype.compare=function(t,e,r,c,l){if(vt(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),!f.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===c&&(c=0),void 0===l&&(l=this.length),e<0||r>t.length||c<0||l>this.length)throw new RangeError("out of range index");if(c>=l&&e>=r)return 0;if(c>=l)return-1;if(e>=r)return 1;if(this===t)return 0;let y=(l>>>=0)-(c>>>=0),H=(r>>>=0)-(e>>>=0);const i=Math.min(y,H),s=this.slice(c,l),p=t.slice(e,r);for(let o=0;o<i;++o)if(s[o]!==p[o]){y=s[o],H=p[o];break}return y<H?-1:H<y?1:0},f.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},f.prototype.indexOf=function(t,e,r){return ye(this,t,e,r,!0)},f.prototype.lastIndexOf=function(t,e,r){return ye(this,t,e,r,!1)},f.prototype.write=function(t,e,r,c){if(void 0===e)c="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)c=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===c&&(c="utf8")):(c=r,r=void 0)}const l=this.length-e;if((void 0===r||r>l)&&(r=l),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");let y=!1;for(;;)switch(c){case"hex":return Ee(this,t,e,r);case"utf8":case"utf-8":return Yt(this,t,e,r);case"ascii":case"latin1":case"binary":return ie(this,t,e,r);case"base64":return _e(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kt(this,t,e,r);default:if(y)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),y=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const se=4096;function Dt(n,t,e){let r="";e=Math.min(n.length,e);for(let c=t;c<e;++c)r+=String.fromCharCode(127&n[c]);return r}function Xt(n,t,e){let r="";e=Math.min(n.length,e);for(let c=t;c<e;++c)r+=String.fromCharCode(n[c]);return r}function Nt(n,t,e){const r=n.length;(!t||t<0)&&(t=0),(!e||e<0||e>r)&&(e=r);let c="";for(let l=t;l<e;++l)c+=xe[n[l]];return c}function Be(n,t,e){const r=n.slice(t,e);let c="";for(let l=0;l<r.length-1;l+=2)c+=String.fromCharCode(r[l]+256*r[l+1]);return c}function ot(n,t,e){if(n%1!=0||n<0)throw new RangeError("offset is not uint");if(n+t>e)throw new RangeError("Trying to access beyond buffer length")}function Bt(n,t,e,r,c,l){if(!f.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>c||t<l)throw new RangeError('"value" argument is out of bounds');if(e+r>n.length)throw new RangeError("Index out of range")}function Jt(n,t,e,r,c){le(t,r,c,n,e,7);let l=Number(t&BigInt(4294967295));n[e++]=l,l>>=8,n[e++]=l,l>>=8,n[e++]=l,l>>=8,n[e++]=l;let y=Number(t>>BigInt(32)&BigInt(4294967295));return n[e++]=y,y>>=8,n[e++]=y,y>>=8,n[e++]=y,y>>=8,n[e++]=y,e}function me(n,t,e,r,c){le(t,r,c,n,e,7);let l=Number(t&BigInt(4294967295));n[e+7]=l,l>>=8,n[e+6]=l,l>>=8,n[e+5]=l,l>>=8,n[e+4]=l;let y=Number(t>>BigInt(32)&BigInt(4294967295));return n[e+3]=y,y>>=8,n[e+2]=y,y>>=8,n[e+1]=y,y>>=8,n[e]=y,e+8}function Te(n,t,e,r,c,l){if(e+r>n.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function ce(n,t,e,r,c){return t=+t,e>>>=0,c||Te(n,0,e,4),ut.write(n,t,e,r,23,4),e+4}function ue(n,t,e,r,c){return t=+t,e>>>=0,c||Te(n,0,e,8),ut.write(n,t,e,r,52,8),e+8}f.prototype.slice=function(t,e){const r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);const c=this.subarray(t,e);return Object.setPrototypeOf(c,f.prototype),c},f.prototype.readUintLE=f.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||ot(t,e,this.length);let c=this[t],l=1,y=0;for(;++y<e&&(l*=256);)c+=this[t+y]*l;return c},f.prototype.readUintBE=f.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||ot(t,e,this.length);let c=this[t+--e],l=1;for(;e>0&&(l*=256);)c+=this[t+--e]*l;return c},f.prototype.readUint8=f.prototype.readUInt8=function(t,e){return t>>>=0,e||ot(t,1,this.length),this[t]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(t,e){return t>>>=0,e||ot(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(t,e){return t>>>=0,e||ot(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(t,e){return t>>>=0,e||ot(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(t,e){return t>>>=0,e||ot(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readBigUInt64LE=Ot(function(t){Ht(t>>>=0,"offset");const e=this[t],r=this[t+7];(void 0===e||void 0===r)&&Wt(t,this.length-8);const c=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,l=this[++t]+256*this[++t]+65536*this[++t]+r*2**24;return BigInt(c)+(BigInt(l)<<BigInt(32))}),f.prototype.readBigUInt64BE=Ot(function(t){Ht(t>>>=0,"offset");const e=this[t],r=this[t+7];(void 0===e||void 0===r)&&Wt(t,this.length-8);const c=e*2**24+65536*this[++t]+256*this[++t]+this[++t],l=this[++t]*2**24+65536*this[++t]+256*this[++t]+r;return(BigInt(c)<<BigInt(32))+BigInt(l)}),f.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||ot(t,e,this.length);let c=this[t],l=1,y=0;for(;++y<e&&(l*=256);)c+=this[t+y]*l;return l*=128,c>=l&&(c-=Math.pow(2,8*e)),c},f.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||ot(t,e,this.length);let c=e,l=1,y=this[t+--c];for(;c>0&&(l*=256);)y+=this[t+--c]*l;return l*=128,y>=l&&(y-=Math.pow(2,8*e)),y},f.prototype.readInt8=function(t,e){return t>>>=0,e||ot(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},f.prototype.readInt16LE=function(t,e){t>>>=0,e||ot(t,2,this.length);const r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt16BE=function(t,e){t>>>=0,e||ot(t,2,this.length);const r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt32LE=function(t,e){return t>>>=0,e||ot(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,e){return t>>>=0,e||ot(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readBigInt64LE=Ot(function(t){Ht(t>>>=0,"offset");const e=this[t],r=this[t+7];return(void 0===e||void 0===r)&&Wt(t,this.length-8),(BigInt(this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24))<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)}),f.prototype.readBigInt64BE=Ot(function(t){Ht(t>>>=0,"offset");const e=this[t],r=this[t+7];(void 0===e||void 0===r)&&Wt(t,this.length-8);const c=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(c)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+r)}),f.prototype.readFloatLE=function(t,e){return t>>>=0,e||ot(t,4,this.length),ut.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,e){return t>>>=0,e||ot(t,4,this.length),ut.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,e){return t>>>=0,e||ot(t,8,this.length),ut.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,e){return t>>>=0,e||ot(t,8,this.length),ut.read(this,t,!1,52,8)},f.prototype.writeUintLE=f.prototype.writeUIntLE=function(t,e,r,c){t=+t,e>>>=0,r>>>=0,c||Bt(this,t,e,r,Math.pow(2,8*r)-1,0);let l=1,y=0;for(this[e]=255&t;++y<r&&(l*=256);)this[e+y]=t/l&255;return e+r},f.prototype.writeUintBE=f.prototype.writeUIntBE=function(t,e,r,c){t=+t,e>>>=0,r>>>=0,c||Bt(this,t,e,r,Math.pow(2,8*r)-1,0);let l=r-1,y=1;for(this[e+l]=255&t;--l>=0&&(y*=256);)this[e+l]=t/y&255;return e+r},f.prototype.writeUint8=f.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||Bt(this,t,e,1,255,0),this[e]=255&t,e+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||Bt(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||Bt(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||Bt(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||Bt(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},f.prototype.writeBigUInt64LE=Ot(function(t,e=0){return Jt(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeBigUInt64BE=Ot(function(t,e=0){return me(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeIntLE=function(t,e,r,c){if(t=+t,e>>>=0,!c){const i=Math.pow(2,8*r-1);Bt(this,t,e,r,i-1,-i)}let l=0,y=1,H=0;for(this[e]=255&t;++l<r&&(y*=256);)t<0&&0===H&&0!==this[e+l-1]&&(H=1),this[e+l]=(t/y|0)-H&255;return e+r},f.prototype.writeIntBE=function(t,e,r,c){if(t=+t,e>>>=0,!c){const i=Math.pow(2,8*r-1);Bt(this,t,e,r,i-1,-i)}let l=r-1,y=1,H=0;for(this[e+l]=255&t;--l>=0&&(y*=256);)t<0&&0===H&&0!==this[e+l+1]&&(H=1),this[e+l]=(t/y|0)-H&255;return e+r},f.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||Bt(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},f.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||Bt(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},f.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||Bt(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},f.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||Bt(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},f.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||Bt(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]=255&t,e+4},f.prototype.writeBigInt64LE=Ot(function(t,e=0){return Jt(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),f.prototype.writeBigInt64BE=Ot(function(t,e=0){return me(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),f.prototype.writeFloatLE=function(t,e,r){return ce(this,t,e,!0,r)},f.prototype.writeFloatBE=function(t,e,r){return ce(this,t,e,!1,r)},f.prototype.writeDoubleLE=function(t,e,r){return ue(this,t,e,!0,r)},f.prototype.writeDoubleBE=function(t,e,r){return ue(this,t,e,!1,r)},f.prototype.copy=function(t,e,r,c){if(!f.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),!c&&0!==c&&(c=this.length),e>=t.length&&(e=t.length),e||(e=0),c>0&&c<r&&(c=r),c===r||0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),t.length-e<c-r&&(c=t.length-e+r);const l=c-r;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,c):Uint8Array.prototype.set.call(t,this.subarray(r,c),e),l},f.prototype.fill=function(t,e,r,c){if("string"==typeof t){if("string"==typeof e?(c=e,e=0,r=this.length):"string"==typeof r&&(c=r,r=this.length),void 0!==c&&"string"!=typeof c)throw new TypeError("encoding must be a string");if("string"==typeof c&&!f.isEncoding(c))throw new TypeError("Unknown encoding: "+c);if(1===t.length){const y=t.charCodeAt(0);("utf8"===c&&y<128||"latin1"===c)&&(t=y)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;let l;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(l=e;l<r;++l)this[l]=t;else{const y=f.isBuffer(t)?t:f.from(t,c),H=y.length;if(0===H)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(l=0;l<r-e;++l)this[l+e]=y[l%H]}return this};const Ft={};function ae(n,t,e){Ft[n]=class extends e{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${n}]`,delete this.name}get code(){return n}set code(c){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:c,writable:!0})}toString(){return`${this.name} [${n}]: ${this.message}`}}}function Pt(n){let t="",e=n.length;const r="-"===n[0]?1:0;for(;e>=r+4;e-=3)t=`_${n.slice(e-3,e)}${t}`;return`${n.slice(0,e)}${t}`}function le(n,t,e,r,c,l){if(n>e||n<t){const y="bigint"==typeof t?"n":"";let H;throw H=l>3?0===t||t===BigInt(0)?`>= 0${y} and < 2${y} ** ${8*(l+1)}${y}`:`>= -(2${y} ** ${8*(l+1)-1}${y}) and < 2 ** ${8*(l+1)-1}${y}`:`>= ${t}${y} and <= ${e}${y}`,new Ft.ERR_OUT_OF_RANGE("value",H,n)}!function we(n,t,e){Ht(t,"offset"),(void 0===n[t]||void 0===n[t+e])&&Wt(t,n.length-(e+1))}(r,c,l)}function Ht(n,t){if("number"!=typeof n)throw new Ft.ERR_INVALID_ARG_TYPE(t,"number",n)}function Wt(n,t,e){throw Math.floor(n)!==n?(Ht(n,e),new Ft.ERR_OUT_OF_RANGE(e||"offset","an integer",n)):t<0?new Ft.ERR_BUFFER_OUT_OF_BOUNDS:new Ft.ERR_OUT_OF_RANGE(e||"offset",`>= ${e?1:0} and <= ${t}`,n)}ae("ERR_BUFFER_OUT_OF_BOUNDS",function(n){return n?`${n} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),ae("ERR_INVALID_ARG_TYPE",function(n,t){return`The "${n}" argument must be of type number. Received type ${typeof t}`},TypeError),ae("ERR_OUT_OF_RANGE",function(n,t,e){let r=`The value of "${n}" is out of range.`,c=e;return Number.isInteger(e)&&Math.abs(e)>2**32?c=Pt(String(e)):"bigint"==typeof e&&(c=String(e),(e>BigInt(2)**BigInt(32)||e<-(BigInt(2)**BigInt(32)))&&(c=Pt(c)),c+="n"),r+=` It must be ${t}. Received ${c}`,r},RangeError);const Re=/[^+/0-9A-Za-z-_]/g;function fe(n,t){let e;t=t||1/0;const r=n.length;let c=null;const l=[];for(let y=0;y<r;++y){if(e=n.charCodeAt(y),e>55295&&e<57344){if(!c){if(e>56319){(t-=3)>-1&&l.push(239,191,189);continue}if(y+1===r){(t-=3)>-1&&l.push(239,191,189);continue}c=e;continue}if(e<56320){(t-=3)>-1&&l.push(239,191,189),c=e;continue}e=65536+(c-55296<<10|e-56320)}else c&&(t-=3)>-1&&l.push(239,191,189);if(c=null,e<128){if((t-=1)<0)break;l.push(e)}else if(e<2048){if((t-=2)<0)break;l.push(e>>6|192,63&e|128)}else if(e<65536){if((t-=3)<0)break;l.push(e>>12|224,e>>6&63|128,63&e|128)}else{if(!(e<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;l.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}}return l}function Gt(n){return R.toByteArray(function ke(n){if((n=(n=n.split("=")[0]).trim().replace(Re,"")).length<2)return"";for(;n.length%4!=0;)n+="=";return n}(n))}function te(n,t,e,r){let c;for(c=0;c<r&&!(c+e>=t.length||c>=n.length);++c)t[c+e]=n[c];return c}function vt(n,t){return n instanceof t||null!=n&&null!=n.constructor&&null!=n.constructor.name&&n.constructor.name===t.name}function he(n){return n!=n}const xe=function(){const n="0123456789abcdef",t=new Array(256);for(let e=0;e<16;++e){const r=16*e;for(let c=0;c<16;++c)t[r+c]=n[e]+n[c]}return t}();function Ot(n){return typeof BigInt>"u"?pe:n}function pe(){throw new Error("BigInt not supported")}},22020:(bt,Q)=>{Q.read=function(et,R,ut,tt,G){var pt,F,f=8*G-tt-1,It=(1<<f)-1,Rt=It>>1,_t=-7,it=ut?G-1:0,xt=ut?-1:1,A=et[R+it];for(it+=xt,pt=A&(1<<-_t)-1,A>>=-_t,_t+=f;_t>0;pt=256*pt+et[R+it],it+=xt,_t-=8);for(F=pt&(1<<-_t)-1,pt>>=-_t,_t+=tt;_t>0;F=256*F+et[R+it],it+=xt,_t-=8);if(0===pt)pt=1-Rt;else{if(pt===It)return F?NaN:1/0*(A?-1:1);F+=Math.pow(2,tt),pt-=Rt}return(A?-1:1)*F*Math.pow(2,pt-tt)},Q.write=function(et,R,ut,tt,G,pt){var F,f,It,Rt=8*pt-G-1,_t=(1<<Rt)-1,it=_t>>1,xt=23===G?Math.pow(2,-24)-Math.pow(2,-77):0,A=tt?0:pt-1,X=tt?1:-1,nt=R<0||0===R&&1/R<0?1:0;for(R=Math.abs(R),isNaN(R)||R===1/0?(f=isNaN(R)?1:0,F=_t):(F=Math.floor(Math.log(R)/Math.LN2),R*(It=Math.pow(2,-F))<1&&(F--,It*=2),(R+=F+it>=1?xt/It:xt*Math.pow(2,1-it))*It>=2&&(F++,It/=2),F+it>=_t?(f=0,F=_t):F+it>=1?(f=(R*It-1)*Math.pow(2,G),F+=it):(f=R*Math.pow(2,it-1)*Math.pow(2,G),F=0));G>=8;et[ut+A]=255&f,A+=X,f/=256,G-=8);for(F=F<<G|f,Rt+=G;Rt>0;et[ut+A]=255&F,A+=X,F/=256,Rt-=8);et[ut+A-X]|=128*nt}},20345:bt=>{"use strict";var Q=function(R){if("function"!=typeof R)throw new TypeError(R+" is not a function");return R},et=function(R){var tt,G,ut=document.createTextNode(""),pt=0;return new R(function(){var F;if(tt)G&&(tt=G.concat(tt));else{if(!G)return;tt=G}if(G=tt,tt=null,"function"==typeof G)return F=G,G=null,void F();for(ut.data=pt=++pt%2;G;)F=G.shift(),G.length||(G=null),F()}).observe(ut,{characterData:!0}),function(F){Q(F),tt?"function"==typeof tt?tt=[tt,F]:tt.push(F):(tt=F,ut.data=pt=++pt%2)}};bt.exports=function(){if("object"==typeof process&&process&&"function"==typeof process.nextTick)return process.nextTick;if("function"==typeof queueMicrotask)return function(R){queueMicrotask(Q(R))};if("object"==typeof document&&document){if("function"==typeof MutationObserver)return et(MutationObserver);if("function"==typeof WebKitMutationObserver)return et(WebKitMutationObserver)}return"function"==typeof setImmediate?function(R){setImmediate(Q(R))}:"function"==typeof setTimeout||"object"==typeof setTimeout?function(R){setTimeout(Q(R),0)}:null}()},96935:()=>{"use strict";const bt=globalThis;function Q(i){return(bt.__Zone_symbol_prefix||"__zone_symbol__")+i}const ut=Object.getOwnPropertyDescriptor,tt=Object.defineProperty,G=Object.getPrototypeOf,pt=Object.create,F=Array.prototype.slice,f="addEventListener",It="removeEventListener",Rt=Q(f),_t=Q(It),it="true",xt="false",A=Q("");function X(i,s){return Zone.current.wrap(i,s)}function nt(i,s,p,o,d){return Zone.current.scheduleMacroTask(i,s,p,o,d)}const N=Q,Tt=typeof window<"u",at=Tt?window:void 0,K=Tt&&at||globalThis,jt="removeAttribute";function dt(i,s){for(let p=i.length-1;p>=0;p--)"function"==typeof i[p]&&(i[p]=X(i[p],s+"_"+p));return i}function re(i){return!i||!1!==i.writable&&!("function"==typeof i.get&&typeof i.set>"u")}const Ee=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Yt=!("nw"in K)&&typeof K.process<"u"&&"[object process]"===K.process.toString(),ie=!Yt&&!Ee&&!(!Tt||!at.HTMLElement),_e=typeof K.process<"u"&&"[object process]"===K.process.toString()&&!Ee&&!(!Tt||!at.HTMLElement),Kt={},Ie=N("enable_beforeunload"),oe=function(i){if(!(i=i||K.event))return;let s=Kt[i.type];s||(s=Kt[i.type]=N("ON_PROPERTY"+i.type));const p=this||i.target||K,o=p[s];let d;return ie&&p===at&&"error"===i.type?(d=o&&o.call(this,i.message,i.filename,i.lineno,i.colno,i.error),!0===d&&i.preventDefault()):(d=o&&o.apply(this,arguments),"beforeunload"===i.type&&K[Ie]&&"string"==typeof d?i.returnValue=d:null!=d&&!d&&i.preventDefault()),d};function se(i,s,p){let o=ut(i,s);if(!o&&p&&ut(p,s)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const d=N("on"+s+"patched");if(i.hasOwnProperty(d)&&i[d])return;delete o.writable,delete o.value;const g=o.get,x=o.set,b=s.slice(2);let C=Kt[b];C||(C=Kt[b]=N("ON_PROPERTY"+b)),o.set=function(Z){let w=this;!w&&i===K&&(w=K),w&&("function"==typeof w[C]&&w.removeEventListener(b,oe),x&&x.call(w,null),w[C]=Z,"function"==typeof Z&&w.addEventListener(b,oe,!1))},o.get=function(){let Z=this;if(!Z&&i===K&&(Z=K),!Z)return null;const w=Z[C];if(w)return w;if(g){let M=g.call(this);if(M)return o.set.call(this,M),"function"==typeof Z[jt]&&Z.removeAttribute(s),M}return null},tt(i,s,o),i[d]=!0}function ge(i,s,p){if(s)for(let o=0;o<s.length;o++)se(i,"on"+s[o],p);else{const o=[];for(const d in i)"on"==d.slice(0,2)&&o.push(d);for(let d=0;d<o.length;d++)se(i,o[d],p)}}const Dt=N("originalInstance");function Xt(i){const s=K[i];if(!s)return;K[N(i)]=s,K[i]=function(){const d=dt(arguments,i);switch(d.length){case 0:this[Dt]=new s;break;case 1:this[Dt]=new s(d[0]);break;case 2:this[Dt]=new s(d[0],d[1]);break;case 3:this[Dt]=new s(d[0],d[1],d[2]);break;case 4:this[Dt]=new s(d[0],d[1],d[2],d[3]);break;default:throw new Error("Arg list too long.")}},ot(K[i],s);const p=new s(function(){});let o;for(o in p)"XMLHttpRequest"===i&&"responseBlob"===o||function(d){"function"==typeof p[d]?K[i].prototype[d]=function(){return this[Dt][d].apply(this[Dt],arguments)}:tt(K[i].prototype,d,{set:function(g){"function"==typeof g?(this[Dt][d]=X(g,i+"."+d),ot(this[Dt][d],g)):this[Dt][d]=g},get:function(){return this[Dt][d]}})}(o);for(o in s)"prototype"!==o&&s.hasOwnProperty(o)&&(K[i][o]=s[o])}function Nt(i,s,p){let o=i;for(;o&&!o.hasOwnProperty(s);)o=G(o);!o&&i[s]&&(o=i);const d=N(s);let g=null;if(o&&(!(g=o[d])||!o.hasOwnProperty(d))&&(g=o[d]=o[s],re(o&&ut(o,s)))){const b=p(g,d,s);o[s]=function(){return b(this,arguments)},ot(o[s],g)}return g}function Be(i,s,p){let o=null;function d(g){const x=g.data;return x.args[x.cbIdx]=function(){g.invoke.apply(this,arguments)},o.apply(x.target,x.args),g}o=Nt(i,s,g=>function(x,b){const C=p(x,b);return C.cbIdx>=0&&"function"==typeof b[C.cbIdx]?nt(C.name,b[C.cbIdx],C,d):g.apply(x,b)})}function ot(i,s){i[N("OriginalDelegate")]=s}let Bt=!1,Jt=!1;function Te(){if(Bt)return Jt;Bt=!0;try{const i=at.navigator.userAgent;(-1!==i.indexOf("MSIE ")||-1!==i.indexOf("Trident/")||-1!==i.indexOf("Edge/"))&&(Jt=!0)}catch{}return Jt}function ce(i){return"function"==typeof i}function ue(i){return"number"==typeof i}let Ft=!1;if(typeof window<"u")try{const i=Object.defineProperty({},"passive",{get:function(){Ft=!0}});window.addEventListener("test",i,i),window.removeEventListener("test",i,i)}catch{Ft=!1}const ae={useG:!0},Pt={},we={},le=new RegExp("^"+A+"(\\w+)(true|false)$"),Ht=N("propagationStopped");function Wt(i,s){const p=(s?s(i):i)+xt,o=(s?s(i):i)+it,d=A+p,g=A+o;Pt[i]={},Pt[i][xt]=d,Pt[i][it]=g}function Re(i,s,p,o){const d=o&&o.add||f,g=o&&o.rm||It,x=o&&o.listeners||"eventListeners",b=o&&o.rmAll||"removeAllListeners",C=N(d),Z="."+d+":",w="prependListener",M="."+w+":",Y=function(S,T,rt){if(S.isRemoved)return;const ct=S.callback;let kt;"object"==typeof ct&&ct.handleEvent&&(S.callback=I=>ct.handleEvent(I),S.originalDelegate=ct);try{S.invoke(S,T,[rt])}catch(I){kt=I}const lt=S.options;return lt&&"object"==typeof lt&&lt.once&&T[g].call(T,rt.type,S.originalDelegate?S.originalDelegate:S.callback,lt),kt};function st(S,T,rt){if(!(T=T||i.event))return;const ct=S||T.target||i,kt=ct[Pt[T.type][rt?it:xt]];if(kt){const lt=[];if(1===kt.length){const I=Y(kt[0],ct,T);I&&lt.push(I)}else{const I=kt.slice();for(let Et=0;Et<I.length&&(!T||!0!==T[Ht]);Et++){const V=Y(I[Et],ct,T);V&&lt.push(V)}}if(1===lt.length)throw lt[0];for(let I=0;I<lt.length;I++){const Et=lt[I];s.nativeScheduleMicroTask(()=>{throw Et})}}}const yt=function(S){return st(this,S,!1)},Ct=function(S){return st(this,S,!0)};function At(S,T){if(!S)return!1;let rt=!0;T&&void 0!==T.useG&&(rt=T.useG);const ct=T&&T.vh;let kt=!0;T&&void 0!==T.chkDup&&(kt=T.chkDup);let lt=!1;T&&void 0!==T.rt&&(lt=T.rt);let I=S;for(;I&&!I.hasOwnProperty(d);)I=G(I);if(!I&&S[d]&&(I=S),!I||I[C])return!1;const Et=T&&T.eventNameToString,V={},L=I[C]=I[d],v=I[N(g)]=I[g],j=I[N(x)]=I[x],St=I[N(b)]=I[b];let gt;T&&T.prepend&&(gt=I[N(T.prepend)]=I[T.prepend]);const mt=rt?function(h){if(!V.isExisting)return L.call(V.target,V.eventName,V.capture?Ct:yt,V.options)}:function(h){return L.call(V.target,V.eventName,h.invoke,V.options)},J=rt?function(h){if(!h.isRemoved){const _=Pt[h.eventName];let D;_&&(D=_[h.capture?it:xt]);const U=D&&h.target[D];if(U)for(let B=0;B<U.length;B++)if(U[B]===h){U.splice(B,1),h.isRemoved=!0,h.removeAbortListener&&(h.removeAbortListener(),h.removeAbortListener=null),0===U.length&&(h.allRemoved=!0,h.target[D]=null);break}}if(h.allRemoved)return v.call(h.target,h.eventName,h.capture?Ct:yt,h.options)}:function(h){return v.call(h.target,h.eventName,h.invoke,h.options)},Vt=T&&T.diff?T.diff:function(h,_){const D=typeof _;return"function"===D&&h.callback===_||"object"===D&&h.originalDelegate===_},$t=Zone[N("UNPATCHED_EVENTS")],Mt=i[N("PASSIVE_EVENTS")],E=function(h,_,D,U,B=!1,W=!1){return function(){const z=this||i;let q=arguments[0];T&&T.transferEventName&&(q=T.transferEventName(q));let ft=arguments[1];if(!ft)return h.apply(this,arguments);if(Yt&&"uncaughtException"===q)return h.apply(this,arguments);let ht=!1;if("function"!=typeof ft){if(!ft.handleEvent)return h.apply(this,arguments);ht=!0}if(ct&&!ct(h,ft,z,arguments))return;const qt=Ft&&!!Mt&&-1!==Mt.indexOf(q),Ut=function m(h){if("object"==typeof h&&null!==h){const _={...h};return h.signal&&(_.signal=h.signal),_}return h}(function $(h,_){return!Ft&&"object"==typeof h&&h?!!h.capture:Ft&&_?"boolean"==typeof h?{capture:h,passive:!0}:h?"object"==typeof h&&!1!==h.passive?{...h,passive:!0}:h:{passive:!0}:h}(arguments[2],qt)),ee=Ut?.signal;if(ee?.aborted)return;if($t)for(let Zt=0;Zt<$t.length;Zt++)if(q===$t[Zt])return qt?h.call(z,q,ft,Ut):h.apply(this,arguments);const Ae=!!Ut&&("boolean"==typeof Ut||Ut.capture),Se=!(!Ut||"object"!=typeof Ut)&&Ut.once,Oe=Zone.current;let Pe=Pt[q];Pe||(Wt(q,Et),Pe=Pt[q]);const De=Pe[Ae?it:xt];let be,ne=z[De],Fe=!1;if(ne){if(Fe=!0,kt)for(let Zt=0;Zt<ne.length;Zt++)if(Vt(ne[Zt],ft))return}else ne=z[De]=[];const ve=z.constructor.name,Ne=we[ve];Ne&&(be=Ne[q]),be||(be=ve+_+(Et?Et(q):q)),V.options=Ut,Se&&(V.options.once=!1),V.target=z,V.capture=Ae,V.eventName=q,V.isExisting=Fe;const de=rt?ae:void 0;de&&(de.taskData=V),ee&&(V.options.signal=void 0);const Lt=Oe.scheduleEventTask(be,ft,de,D,U);if(ee){V.options.signal=ee;const Zt=()=>Lt.zone.cancelTask(Lt);h.call(ee,"abort",Zt,{once:!0}),Lt.removeAbortListener=()=>ee.removeEventListener("abort",Zt)}return V.target=null,de&&(de.taskData=null),Se&&(V.options.once=!0),!Ft&&"boolean"==typeof Lt.options||(Lt.options=Ut),Lt.target=z,Lt.capture=Ae,Lt.eventName=q,ht&&(Lt.originalDelegate=ft),W?ne.unshift(Lt):ne.push(Lt),B?z:void 0}};return I[d]=E(L,Z,mt,J,lt),gt&&(I[w]=E(gt,M,function(h){return gt.call(V.target,V.eventName,h.invoke,V.options)},J,lt,!0)),I[g]=function(){const h=this||i;let _=arguments[0];T&&T.transferEventName&&(_=T.transferEventName(_));const D=arguments[2],U=!!D&&("boolean"==typeof D||D.capture),B=arguments[1];if(!B)return v.apply(this,arguments);if(ct&&!ct(v,B,h,arguments))return;const W=Pt[_];let z;W&&(z=W[U?it:xt]);const q=z&&h[z];if(q)for(let ft=0;ft<q.length;ft++){const ht=q[ft];if(Vt(ht,B))return q.splice(ft,1),ht.isRemoved=!0,0!==q.length||(ht.allRemoved=!0,h[z]=null,U||"string"!=typeof _)||(h[A+"ON_PROPERTY"+_]=null),ht.zone.cancelTask(ht),lt?h:void 0}return v.apply(this,arguments)},I[x]=function(){const h=this||i;let _=arguments[0];T&&T.transferEventName&&(_=T.transferEventName(_));const D=[],U=ke(h,Et?Et(_):_);for(let B=0;B<U.length;B++){const W=U[B];D.push(W.originalDelegate?W.originalDelegate:W.callback)}return D},I[b]=function(){const h=this||i;let _=arguments[0];if(_){T&&T.transferEventName&&(_=T.transferEventName(_));const D=Pt[_];if(D){const W=h[D[xt]],z=h[D[it]];if(W){const q=W.slice();for(let ft=0;ft<q.length;ft++){const ht=q[ft];this[g].call(this,_,ht.originalDelegate?ht.originalDelegate:ht.callback,ht.options)}}if(z){const q=z.slice();for(let ft=0;ft<q.length;ft++){const ht=q[ft];this[g].call(this,_,ht.originalDelegate?ht.originalDelegate:ht.callback,ht.options)}}}}else{const D=Object.keys(h);for(let U=0;U<D.length;U++){const W=le.exec(D[U]);let z=W&&W[1];z&&"removeListener"!==z&&this[b].call(this,z)}this[b].call(this,"removeListener")}if(lt)return this},ot(I[d],L),ot(I[g],v),St&&ot(I[b],St),j&&ot(I[x],j),!0}let wt=[];for(let S=0;S<p.length;S++)wt[S]=At(p[S],o);return wt}function ke(i,s){if(!s){const g=[];for(let x in i){const b=le.exec(x);let C=b&&b[1];if(C&&(!s||C===s)){const Z=i[x];if(Z)for(let w=0;w<Z.length;w++)g.push(Z[w])}}return g}let p=Pt[s];p||(Wt(s),p=Pt[s]);const o=i[p[xt]],d=i[p[it]];return o?d?o.concat(d):o.slice():d?d.slice():[]}function fe(i,s){const p=i.Event;p&&p.prototype&&s.patchMethod(p.prototype,"stopImmediatePropagation",o=>function(d,g){d[Ht]=!0,o&&o.apply(d,g)})}const Qt=N("zoneTask");function Gt(i,s,p,o){let d=null,g=null;p+=o;const x={};function b(Z){const w=Z.data;w.args[0]=function(){return Z.invoke.apply(this,arguments)};const M=d.apply(i,w.args);return ue(M)?w.handleId=M:(w.handle=M,w.isRefreshable=ce(M.refresh)),Z}function C(Z){const{handle:w,handleId:M}=Z.data;return g.call(i,w??M)}d=Nt(i,s+=o,Z=>function(w,M){if(ce(M[0])){const Y={isRefreshable:!1,isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},st=M[0];M[0]=function(){try{return st.apply(this,arguments)}finally{const{handle:rt,handleId:ct,isPeriodic:kt,isRefreshable:lt}=Y;!kt&&!lt&&(ct?delete x[ct]:rt&&(rt[Qt]=null))}};const yt=nt(s,M[0],Y,b,C);if(!yt)return yt;const{handleId:Ct,handle:At,isRefreshable:wt,isPeriodic:S}=yt.data;if(Ct)x[Ct]=yt;else if(At&&(At[Qt]=yt,wt&&!S)){const T=At.refresh;At.refresh=function(){const{zone:rt,state:ct}=yt;return"notScheduled"===ct?(yt._state="scheduled",rt._updateTaskCount(yt,1)):"running"===ct&&(yt._state="scheduling"),T.call(this)}}return At??Ct??yt}return Z.apply(i,M)}),g=Nt(i,p,Z=>function(w,M){const Y=M[0];let st;ue(Y)?(st=x[Y],delete x[Y]):(st=Y?.[Qt],st?Y[Qt]=null:st=Y),st?.type?st.cancelFn&&st.zone.cancelTask(st):Z.apply(i,M)})}function xe(i,s,p){if(!p||0===p.length)return s;const o=p.filter(g=>g.target===i);if(!o||0===o.length)return s;const d=o[0].ignoreProperties;return s.filter(g=>-1===d.indexOf(g))}function Ot(i,s,p,o){i&&ge(i,xe(i,s,p),o)}function pe(i){return Object.getOwnPropertyNames(i).filter(s=>s.startsWith("on")&&s.length>2).map(s=>s.substring(2))}function c(i,s,p,o,d){const g=Zone.__symbol__(o);if(s[g])return;const x=s[g]=s[o];s[o]=function(b,C,Z){return C&&C.prototype&&d.forEach(function(w){const M=`${p}.${o}::`+w,Y=C.prototype;try{if(Y.hasOwnProperty(w)){const st=i.ObjectGetOwnPropertyDescriptor(Y,w);st&&st.value?(st.value=i.wrapWithCurrentZone(st.value,M),i._redefineProperty(C.prototype,w,st)):Y[w]&&(Y[w]=i.wrapWithCurrentZone(Y[w],M))}else Y[w]&&(Y[w]=i.wrapWithCurrentZone(Y[w],M))}catch{}}),x.call(s,b,C,Z)},i.attachOriginToPatched(s[o],x)}const H=function R(){const i=globalThis,s=!0===i[Q("forceDuplicateZoneCheck")];if(i.Zone&&(s||"function"!=typeof i.Zone.__symbol__))throw new Error("Zone already loaded.");return i.Zone??=function et(){const i=bt.performance;function s($){i&&i.mark&&i.mark($)}function p($,k){i&&i.measure&&i.measure($,k)}s("Zone");let o=(()=>{class ${static{this.__symbol__=Q}static assertZonePatched(){if(bt.Promise!==V.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let u=$.current;for(;u.parent;)u=u.parent;return u}static get current(){return v.zone}static get currentTask(){return j}static __load_patch(u,a,P=!1){if(V.hasOwnProperty(u)){const O=!0===bt[Q("forceDuplicateZoneCheck")];if(!P&&O)throw Error("Already loaded patch: "+u)}else if(!bt["__Zone_disable_"+u]){const O="Zone:"+u;s(O),V[u]=a(bt,$,L),p(O,O)}}get parent(){return this._parent}get name(){return this._name}constructor(u,a){this._parent=u,this._name=a?a.name||"unnamed":"<root>",this._properties=a&&a.properties||{},this._zoneDelegate=new g(this,this._parent&&this._parent._zoneDelegate,a)}get(u){const a=this.getZoneWith(u);if(a)return a._properties[u]}getZoneWith(u){let a=this;for(;a;){if(a._properties.hasOwnProperty(u))return a;a=a._parent}return null}fork(u){if(!u)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,u)}wrap(u,a){if("function"!=typeof u)throw new Error("Expecting function got: "+u);const P=this._zoneDelegate.intercept(this,u,a),O=this;return function(){return O.runGuarded(P,this,arguments,a)}}run(u,a,P,O){v={parent:v,zone:this};try{return this._zoneDelegate.invoke(this,u,a,P,O)}finally{v=v.parent}}runGuarded(u,a=null,P,O){v={parent:v,zone:this};try{try{return this._zoneDelegate.invoke(this,u,a,P,O)}catch(mt){if(this._zoneDelegate.handleError(this,mt))throw mt}}finally{v=v.parent}}runTask(u,a,P){if(u.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(u.zone||At).name+"; Execution: "+this.name+")");const O=u,{type:mt,data:{isPeriodic:J=!1,isRefreshable:zt=!1}={}}=u;if(u.state===wt&&(mt===Et||mt===I))return;const Vt=u.state!=rt;Vt&&O._transitionTo(rt,T);const $t=j;j=O,v={parent:v,zone:this};try{mt==I&&u.data&&!J&&!zt&&(u.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,O,a,P)}catch(Mt){if(this._zoneDelegate.handleError(this,Mt))throw Mt}}finally{const Mt=u.state;if(Mt!==wt&&Mt!==kt)if(mt==Et||J||zt&&Mt===S)Vt&&O._transitionTo(T,rt,S);else{const m=O._zoneDelegates;this._updateTaskCount(O,-1),Vt&&O._transitionTo(wt,rt,wt),zt&&(O._zoneDelegates=m)}v=v.parent,j=$t}}scheduleTask(u){if(u.zone&&u.zone!==this){let P=this;for(;P;){if(P===u.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${u.zone.name}`);P=P.parent}}u._transitionTo(S,wt);const a=[];u._zoneDelegates=a,u._zone=this;try{u=this._zoneDelegate.scheduleTask(this,u)}catch(P){throw u._transitionTo(kt,S,wt),this._zoneDelegate.handleError(this,P),P}return u._zoneDelegates===a&&this._updateTaskCount(u,1),u.state==S&&u._transitionTo(T,S),u}scheduleMicroTask(u,a,P,O){return this.scheduleTask(new x(lt,u,a,P,O,void 0))}scheduleMacroTask(u,a,P,O,mt){return this.scheduleTask(new x(I,u,a,P,O,mt))}scheduleEventTask(u,a,P,O,mt){return this.scheduleTask(new x(Et,u,a,P,O,mt))}cancelTask(u){if(u.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(u.zone||At).name+"; Execution: "+this.name+")");if(u.state===T||u.state===rt){u._transitionTo(ct,T,rt);try{this._zoneDelegate.cancelTask(this,u)}catch(a){throw u._transitionTo(kt,ct),this._zoneDelegate.handleError(this,a),a}return this._updateTaskCount(u,-1),u._transitionTo(wt,ct),u.runCount=-1,u}}_updateTaskCount(u,a){const P=u._zoneDelegates;-1==a&&(u._zoneDelegates=null);for(let O=0;O<P.length;O++)P[O]._updateTaskCount(u.type,a)}}return $})();const d={name:"",onHasTask:($,k,u,a)=>$.hasTask(u,a),onScheduleTask:($,k,u,a)=>$.scheduleTask(u,a),onInvokeTask:($,k,u,a,P,O)=>$.invokeTask(u,a,P,O),onCancelTask:($,k,u,a)=>$.cancelTask(u,a)};class g{get zone(){return this._zone}constructor(k,u,a){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=k,this._parentDelegate=u,this._forkZS=a&&(a&&a.onFork?a:u._forkZS),this._forkDlgt=a&&(a.onFork?u:u._forkDlgt),this._forkCurrZone=a&&(a.onFork?this._zone:u._forkCurrZone),this._interceptZS=a&&(a.onIntercept?a:u._interceptZS),this._interceptDlgt=a&&(a.onIntercept?u:u._interceptDlgt),this._interceptCurrZone=a&&(a.onIntercept?this._zone:u._interceptCurrZone),this._invokeZS=a&&(a.onInvoke?a:u._invokeZS),this._invokeDlgt=a&&(a.onInvoke?u:u._invokeDlgt),this._invokeCurrZone=a&&(a.onInvoke?this._zone:u._invokeCurrZone),this._handleErrorZS=a&&(a.onHandleError?a:u._handleErrorZS),this._handleErrorDlgt=a&&(a.onHandleError?u:u._handleErrorDlgt),this._handleErrorCurrZone=a&&(a.onHandleError?this._zone:u._handleErrorCurrZone),this._scheduleTaskZS=a&&(a.onScheduleTask?a:u._scheduleTaskZS),this._scheduleTaskDlgt=a&&(a.onScheduleTask?u:u._scheduleTaskDlgt),this._scheduleTaskCurrZone=a&&(a.onScheduleTask?this._zone:u._scheduleTaskCurrZone),this._invokeTaskZS=a&&(a.onInvokeTask?a:u._invokeTaskZS),this._invokeTaskDlgt=a&&(a.onInvokeTask?u:u._invokeTaskDlgt),this._invokeTaskCurrZone=a&&(a.onInvokeTask?this._zone:u._invokeTaskCurrZone),this._cancelTaskZS=a&&(a.onCancelTask?a:u._cancelTaskZS),this._cancelTaskDlgt=a&&(a.onCancelTask?u:u._cancelTaskDlgt),this._cancelTaskCurrZone=a&&(a.onCancelTask?this._zone:u._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const P=a&&a.onHasTask;(P||u&&u._hasTaskZS)&&(this._hasTaskZS=P?a:d,this._hasTaskDlgt=u,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,a.onScheduleTask||(this._scheduleTaskZS=d,this._scheduleTaskDlgt=u,this._scheduleTaskCurrZone=this._zone),a.onInvokeTask||(this._invokeTaskZS=d,this._invokeTaskDlgt=u,this._invokeTaskCurrZone=this._zone),a.onCancelTask||(this._cancelTaskZS=d,this._cancelTaskDlgt=u,this._cancelTaskCurrZone=this._zone))}fork(k,u){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,k,u):new o(k,u)}intercept(k,u,a){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,k,u,a):u}invoke(k,u,a,P,O){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,k,u,a,P,O):u.apply(a,P)}handleError(k,u){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,k,u)}scheduleTask(k,u){let a=u;if(this._scheduleTaskZS)this._hasTaskZS&&a._zoneDelegates.push(this._hasTaskDlgtOwner),a=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,k,u),a||(a=u);else if(u.scheduleFn)u.scheduleFn(u);else{if(u.type!=lt)throw new Error("Task is missing scheduleFn.");yt(u)}return a}invokeTask(k,u,a,P){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,k,u,a,P):u.callback.apply(a,P)}cancelTask(k,u){let a;if(this._cancelTaskZS)a=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,k,u);else{if(!u.cancelFn)throw Error("Task is not cancelable");a=u.cancelFn(u)}return a}hasTask(k,u){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,k,u)}catch(a){this.handleError(k,a)}}_updateTaskCount(k,u){const a=this._taskCounts,P=a[k],O=a[k]=P+u;if(O<0)throw new Error("More tasks executed then were scheduled.");0!=P&&0!=O||this.hasTask(this._zone,{microTask:a.microTask>0,macroTask:a.macroTask>0,eventTask:a.eventTask>0,change:k})}}class x{constructor(k,u,a,P,O,mt){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=k,this.source=u,this.data=P,this.scheduleFn=O,this.cancelFn=mt,!a)throw new Error("callback is not defined");this.callback=a;const J=this;this.invoke=k===Et&&P&&P.useG?x.invokeTask:function(){return x.invokeTask.call(bt,J,this,arguments)}}static invokeTask(k,u,a){k||(k=this),St++;try{return k.runCount++,k.zone.runTask(k,u,a)}finally{1==St&&Ct(),St--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(wt,S)}_transitionTo(k,u,a){if(this._state!==u&&this._state!==a)throw new Error(`${this.type} '${this.source}': can not transition to '${k}', expecting state '${u}'${a?" or '"+a+"'":""}, was '${this._state}'.`);this._state=k,k==wt&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const b=Q("setTimeout"),C=Q("Promise"),Z=Q("then");let Y,w=[],M=!1;function st($){if(Y||bt[C]&&(Y=bt[C].resolve(0)),Y){let k=Y[Z];k||(k=Y.then),k.call(Y,$)}else bt[b]($,0)}function yt($){0===St&&0===w.length&&st(Ct),$&&w.push($)}function Ct(){if(!M){for(M=!0;w.length;){const $=w;w=[];for(let k=0;k<$.length;k++){const u=$[k];try{u.zone.runTask(u,null,null)}catch(a){L.onUnhandledError(a)}}}L.microtaskDrainDone(),M=!1}}const At={name:"NO ZONE"},wt="notScheduled",S="scheduling",T="scheduled",rt="running",ct="canceling",kt="unknown",lt="microTask",I="macroTask",Et="eventTask",V={},L={symbol:Q,currentZoneFrame:()=>v,onUnhandledError:gt,microtaskDrainDone:gt,scheduleMicroTask:yt,showUncaughtError:()=>!o[Q("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:gt,patchMethod:()=>gt,bindArguments:()=>[],patchThen:()=>gt,patchMacroTask:()=>gt,patchEventPrototype:()=>gt,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>gt,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>gt,wrapWithCurrentZone:()=>gt,filterProperties:()=>[],attachOriginToPatched:()=>gt,_redefineProperty:()=>gt,patchCallbacks:()=>gt,nativeScheduleMicroTask:st};let v={parent:null,zone:new o(null,null)},j=null,St=0;function gt(){}return p("Zone","Zone"),o}(),i.Zone}();(function y(i){(function e(i){i.__load_patch("ZoneAwarePromise",(s,p,o)=>{const d=Object.getOwnPropertyDescriptor,g=Object.defineProperty,b=o.symbol,C=[],Z=!1!==s[b("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],w=b("Promise"),M=b("then"),Y="__creationTrace__";o.onUnhandledError=m=>{if(o.showUncaughtError()){const E=m&&m.rejection;E?console.error("Unhandled Promise rejection:",E instanceof Error?E.message:E,"; Zone:",m.zone.name,"; Task:",m.task&&m.task.source,"; Value:",E,E instanceof Error?E.stack:void 0):console.error(m)}},o.microtaskDrainDone=()=>{for(;C.length;){const m=C.shift();try{m.zone.runGuarded(()=>{throw m.throwOriginal?m.rejection:m})}catch(E){yt(E)}}};const st=b("unhandledPromiseRejectionHandler");function yt(m){o.onUnhandledError(m);try{const E=p[st];"function"==typeof E&&E.call(this,m)}catch{}}function Ct(m){return m&&m.then}function At(m){return m}function wt(m){return J.reject(m)}const S=b("state"),T=b("value"),rt=b("finally"),ct=b("parentPromiseValue"),kt=b("parentPromiseState"),lt="Promise.then",I=null,Et=!0,V=!1,L=0;function v(m,E){return h=>{try{$(m,E,h)}catch(_){$(m,!1,_)}}}const j=function(){let m=!1;return function(h){return function(){m||(m=!0,h.apply(null,arguments))}}},St="Promise resolved with itself",gt=b("currentTaskTrace");function $(m,E,h){const _=j();if(m===h)throw new TypeError(St);if(m[S]===I){let D=null;try{("object"==typeof h||"function"==typeof h)&&(D=h&&h.then)}catch(U){return _(()=>{$(m,!1,U)})(),m}if(E!==V&&h instanceof J&&h.hasOwnProperty(S)&&h.hasOwnProperty(T)&&h[S]!==I)u(h),$(m,h[S],h[T]);else if(E!==V&&"function"==typeof D)try{D.call(h,_(v(m,E)),_(v(m,!1)))}catch(U){_(()=>{$(m,!1,U)})()}else{m[S]=E;const U=m[T];if(m[T]=h,m[rt]===rt&&E===Et&&(m[S]=m[kt],m[T]=m[ct]),E===V&&h instanceof Error){const B=p.currentTask&&p.currentTask.data&&p.currentTask.data[Y];B&&g(h,gt,{configurable:!0,enumerable:!1,writable:!0,value:B})}for(let B=0;B<U.length;)a(m,U[B++],U[B++],U[B++],U[B++]);if(0==U.length&&E==V){m[S]=L;let B=h;try{throw new Error("Uncaught (in promise): "+function x(m){return m&&m.toString===Object.prototype.toString?(m.constructor&&m.constructor.name||"")+": "+JSON.stringify(m):m?m.toString():Object.prototype.toString.call(m)}(h)+(h&&h.stack?"\n"+h.stack:""))}catch(W){B=W}Z&&(B.throwOriginal=!0),B.rejection=h,B.promise=m,B.zone=p.current,B.task=p.currentTask,C.push(B),o.scheduleMicroTask()}}}return m}const k=b("rejectionHandledHandler");function u(m){if(m[S]===L){try{const E=p[k];E&&"function"==typeof E&&E.call(this,{rejection:m[T],promise:m})}catch{}m[S]=V;for(let E=0;E<C.length;E++)m===C[E].promise&&C.splice(E,1)}}function a(m,E,h,_,D){u(m);const U=m[S],B=U?"function"==typeof _?_:At:"function"==typeof D?D:wt;E.scheduleMicroTask(lt,()=>{try{const W=m[T],z=!!h&&rt===h[rt];z&&(h[ct]=W,h[kt]=U);const q=E.run(B,void 0,z&&B!==wt&&B!==At?[]:[W]);$(h,!0,q)}catch(W){$(h,!1,W)}},h)}const O=function(){},mt=s.AggregateError;class J{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(E){return E instanceof J?E:$(new this(null),Et,E)}static reject(E){return $(new this(null),V,E)}static withResolvers(){const E={};return E.promise=new J((h,_)=>{E.resolve=h,E.reject=_}),E}static any(E){if(!E||"function"!=typeof E[Symbol.iterator])return Promise.reject(new mt([],"All promises were rejected"));const h=[];let _=0;try{for(let B of E)_++,h.push(J.resolve(B))}catch{return Promise.reject(new mt([],"All promises were rejected"))}if(0===_)return Promise.reject(new mt([],"All promises were rejected"));let D=!1;const U=[];return new J((B,W)=>{for(let z=0;z<h.length;z++)h[z].then(q=>{D||(D=!0,B(q))},q=>{U.push(q),_--,0===_&&(D=!0,W(new mt(U,"All promises were rejected")))})})}static race(E){let h,_,D=new this((W,z)=>{h=W,_=z});function U(W){h(W)}function B(W){_(W)}for(let W of E)Ct(W)||(W=this.resolve(W)),W.then(U,B);return D}static all(E){return J.allWithCallback(E)}static allSettled(E){return(this&&this.prototype instanceof J?this:J).allWithCallback(E,{thenCallback:_=>({status:"fulfilled",value:_}),errorCallback:_=>({status:"rejected",reason:_})})}static allWithCallback(E,h){let _,D,U=new this((q,ft)=>{_=q,D=ft}),B=2,W=0;const z=[];for(let q of E){Ct(q)||(q=this.resolve(q));const ft=W;try{q.then(ht=>{z[ft]=h?h.thenCallback(ht):ht,B--,0===B&&_(z)},ht=>{h?(z[ft]=h.errorCallback(ht),B--,0===B&&_(z)):D(ht)})}catch(ht){D(ht)}B++,W++}return B-=2,0===B&&_(z),U}constructor(E){const h=this;if(!(h instanceof J))throw new Error("Must be an instanceof Promise.");h[S]=I,h[T]=[];try{const _=j();E&&E(_(v(h,Et)),_(v(h,V)))}catch(_){$(h,!1,_)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return J}then(E,h){let _=this.constructor?.[Symbol.species];(!_||"function"!=typeof _)&&(_=this.constructor||J);const D=new _(O),U=p.current;return this[S]==I?this[T].push(U,D,E,h):a(this,U,D,E,h),D}catch(E){return this.then(null,E)}finally(E){let h=this.constructor?.[Symbol.species];(!h||"function"!=typeof h)&&(h=J);const _=new h(O);_[rt]=rt;const D=p.current;return this[S]==I?this[T].push(D,_,E,E):a(this,D,_,E,E),_}}J.resolve=J.resolve,J.reject=J.reject,J.race=J.race,J.all=J.all;const zt=s[w]=s.Promise;s.Promise=J;const Vt=b("thenPatched");function $t(m){const E=m.prototype,h=d(E,"then");if(h&&(!1===h.writable||!h.configurable))return;const _=E.then;E[M]=_,m.prototype.then=function(D,U){return new J((W,z)=>{_.call(this,W,z)}).then(D,U)},m[Vt]=!0}return o.patchThen=$t,zt&&($t(zt),Nt(s,"fetch",m=>function Mt(m){return function(E,h){let _=m.apply(E,h);if(_ instanceof J)return _;let D=_.constructor;return D[Vt]||$t(D),_}}(m))),Promise[p.__symbol__("uncaughtPromiseErrors")]=C,J})})(i),function r(i){i.__load_patch("toString",s=>{const p=Function.prototype.toString,o=N("OriginalDelegate"),d=N("Promise"),g=N("Error"),x=function(){if("function"==typeof this){const w=this[o];if(w)return"function"==typeof w?p.call(w):Object.prototype.toString.call(w);if(this===Promise){const M=s[d];if(M)return p.call(M)}if(this===Error){const M=s[g];if(M)return p.call(M)}}return p.call(this)};x[o]=p,Function.prototype.toString=x;const b=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":b.call(this)}})}(i),function l(i){i.__load_patch("util",(s,p,o)=>{const d=pe(s);o.patchOnProperties=ge,o.patchMethod=Nt,o.bindArguments=dt,o.patchMacroTask=Be;const g=p.__symbol__("BLACK_LISTED_EVENTS"),x=p.__symbol__("UNPATCHED_EVENTS");s[x]&&(s[g]=s[x]),s[g]&&(p[g]=p[x]=s[g]),o.patchEventPrototype=fe,o.patchEventTarget=Re,o.isIEOrEdge=Te,o.ObjectDefineProperty=tt,o.ObjectGetOwnPropertyDescriptor=ut,o.ObjectCreate=pt,o.ArraySlice=F,o.patchClass=Xt,o.wrapWithCurrentZone=X,o.filterProperties=xe,o.attachOriginToPatched=ot,o._redefineProperty=Object.defineProperty,o.patchCallbacks=c,o.getGlobalObjects=()=>({globalSources:we,zoneSymbolEventNames:Pt,eventNames:d,isBrowser:ie,isMix:_e,isNode:Yt,TRUE_STR:it,FALSE_STR:xt,ZONE_SYMBOL_PREFIX:A,ADD_EVENT_LISTENER_STR:f,REMOVE_EVENT_LISTENER_STR:It})})}(i)})(H),function t(i){i.__load_patch("legacy",s=>{const p=s[i.__symbol__("legacyPatch")];p&&p()}),i.__load_patch("timers",s=>{const p="set",o="clear";Gt(s,p,o,"Timeout"),Gt(s,p,o,"Interval"),Gt(s,p,o,"Immediate")}),i.__load_patch("requestAnimationFrame",s=>{Gt(s,"request","cancel","AnimationFrame"),Gt(s,"mozRequest","mozCancel","AnimationFrame"),Gt(s,"webkitRequest","webkitCancel","AnimationFrame")}),i.__load_patch("blocking",(s,p)=>{const o=["alert","prompt","confirm"];for(let d=0;d<o.length;d++)Nt(s,o[d],(x,b,C)=>function(Z,w){return p.current.run(x,s,w,C)})}),i.__load_patch("EventTarget",(s,p,o)=>{(function he(i,s){s.patchEventPrototype(i,s)})(s,o),function vt(i,s){if(Zone[s.symbol("patchEventTarget")])return;const{eventNames:p,zoneSymbolEventNames:o,TRUE_STR:d,FALSE_STR:g,ZONE_SYMBOL_PREFIX:x}=s.getGlobalObjects();for(let C=0;C<p.length;C++){const Z=p[C],Y=x+(Z+g),st=x+(Z+d);o[Z]={},o[Z][g]=Y,o[Z][d]=st}const b=i.EventTarget;b&&b.prototype&&s.patchEventTarget(i,s,[b&&b.prototype])}(s,o);const d=s.XMLHttpRequestEventTarget;d&&d.prototype&&o.patchEventTarget(s,o,[d.prototype])}),i.__load_patch("MutationObserver",(s,p,o)=>{Xt("MutationObserver"),Xt("WebKitMutationObserver")}),i.__load_patch("IntersectionObserver",(s,p,o)=>{Xt("IntersectionObserver")}),i.__load_patch("FileReader",(s,p,o)=>{Xt("FileReader")}),i.__load_patch("on_property",(s,p,o)=>{!function n(i,s){if(Yt&&!_e||Zone[i.symbol("patchEvents")])return;const p=s.__Zone_ignore_on_properties;let o=[];if(ie){const d=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const g=function me(){try{const i=at.navigator.userAgent;if(-1!==i.indexOf("MSIE ")||-1!==i.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:d,ignoreProperties:["error"]}]:[];Ot(d,pe(d),p&&p.concat(g),G(d))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let d=0;d<o.length;d++){const g=s[o[d]];g&&g.prototype&&Ot(g.prototype,pe(g.prototype),p)}}(o,s)}),i.__load_patch("customElements",(s,p,o)=>{!function te(i,s){const{isBrowser:p,isMix:o}=s.getGlobalObjects();(p||o)&&i.customElements&&"customElements"in i&&s.patchCallbacks(s,i.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(s,o)}),i.__load_patch("XHR",(s,p)=>{!function Z(w){const M=w.XMLHttpRequest;if(!M)return;const Y=M.prototype;let yt=Y[Rt],Ct=Y[_t];if(!yt){const L=w.XMLHttpRequestEventTarget;if(L){const v=L.prototype;yt=v[Rt],Ct=v[_t]}}const At="readystatechange",wt="scheduled";function S(L){const v=L.data,j=v.target;j[x]=!1,j[C]=!1;const St=j[g];yt||(yt=j[Rt],Ct=j[_t]),St&&Ct.call(j,At,St);const gt=j[g]=()=>{if(j.readyState===j.DONE)if(!v.aborted&&j[x]&&L.state===wt){const k=j[p.__symbol__("loadfalse")];if(0!==j.status&&k&&k.length>0){const u=L.invoke;L.invoke=function(){const a=j[p.__symbol__("loadfalse")];for(let P=0;P<a.length;P++)a[P]===L&&a.splice(P,1);!v.aborted&&L.state===wt&&u.call(L)},k.push(L)}else L.invoke()}else!v.aborted&&!1===j[x]&&(j[C]=!0)};return yt.call(j,At,gt),j[o]||(j[o]=L),Et.apply(j,v.args),j[x]=!0,L}function T(){}function rt(L){const v=L.data;return v.aborted=!0,V.apply(v.target,v.args)}const ct=Nt(Y,"open",()=>function(L,v){return L[d]=0==v[2],L[b]=v[1],ct.apply(L,v)}),lt=N("fetchTaskAborting"),I=N("fetchTaskScheduling"),Et=Nt(Y,"send",()=>function(L,v){if(!0===p.current[I]||L[d])return Et.apply(L,v);{const j={target:L,url:L[b],isPeriodic:!1,args:v,aborted:!1},St=nt("XMLHttpRequest.send",T,j,S,rt);L&&!0===L[C]&&!j.aborted&&St.state===wt&&St.invoke()}}),V=Nt(Y,"abort",()=>function(L,v){const j=function st(L){return L[o]}(L);if(j&&"string"==typeof j.type){if(null==j.cancelFn||j.data&&j.data.aborted)return;j.zone.cancelTask(j)}else if(!0===p.current[lt])return V.apply(L,v)})}(s);const o=N("xhrTask"),d=N("xhrSync"),g=N("xhrListener"),x=N("xhrScheduled"),b=N("xhrURL"),C=N("xhrErrorBeforeScheduled")}),i.__load_patch("geolocation",s=>{s.navigator&&s.navigator.geolocation&&function ye(i,s){const p=i.constructor.name;for(let o=0;o<s.length;o++){const d=s[o],g=i[d];if(g){if(!re(ut(i,d)))continue;i[d]=(b=>{const C=function(){return b.apply(this,dt(arguments,p+"."+d))};return ot(C,b),C})(g)}}}(s.navigator.geolocation,["getCurrentPosition","watchPosition"])}),i.__load_patch("PromiseRejectionEvent",(s,p)=>{function o(d){return function(g){ke(s,d).forEach(b=>{const C=s.PromiseRejectionEvent;if(C){const Z=new C(d,{promise:g.promise,reason:g.rejection});b.invoke(Z)}})}}s.PromiseRejectionEvent&&(p[N("unhandledPromiseRejectionHandler")]=o("unhandledrejection"),p[N("rejectionHandledHandler")]=o("rejectionhandled"))}),i.__load_patch("queueMicrotask",(s,p,o)=>{!function Ce(i,s){s.patchMethod(i,"queueMicrotask",p=>function(o,d){Zone.current.scheduleMicroTask("queueMicrotask",d[0])})}(s,o)})}(H)}},bt=>{bt(bt.s=24050)}]);