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