Viewing File: /usr/local/cpanel/whostmgr/docroot/3rdparty/cloudlinux/assets/static/vendor.bundle.min.js
globalThis.process=globalThis.process||{},globalThis.process.env=Object.assign({},globalThis.process.env,{ENV:"production",AOT:!1,WIZARD:!0,ENABLE_SUPPORT:!0,ENABLE_XRAY:!0,LVEMANAGER_VERSION:"v.7.11.48-1"}),(self.webpackChunkmain=self.webpackChunkmain||[]).push([[121],{35888(st,pe){"use strict";pe.toByteArray=function M(T){var C,O,R=b(T),B=R[0],F=R[1],$=new f(function N(T,C,R){return 3*(C+R)/4-R}(0,B,F)),E=0,w=F>0?B-4:B;for(O=0;O<w;O+=4)C=s[T.charCodeAt(O)]<<18|s[T.charCodeAt(O+1)]<<12|s[T.charCodeAt(O+2)]<<6|s[T.charCodeAt(O+3)],$[E++]=C>>16&255,$[E++]=C>>8&255,$[E++]=255&C;return 2===F&&(C=s[T.charCodeAt(O)]<<2|s[T.charCodeAt(O+1)]>>4,$[E++]=255&C),1===F&&(C=s[T.charCodeAt(O)]<<10|s[T.charCodeAt(O+1)]<<4|s[T.charCodeAt(O+2)]>>2,$[E++]=C>>8&255,$[E++]=255&C),$},pe.fromByteArray=function I(T){for(var C,R=T.length,B=R%3,F=[],$=16383,E=0,w=R-B;E<w;E+=$)F.push(J(T,E,E+$>w?w:E+$));return 1===B?(C=T[R-1],F.push(m[C>>2]+m[C<<4&63]+"==")):2===B&&(C=(T[R-2]<<8)+T[R-1],F.push(m[C>>10]+m[C>>4&63]+m[C<<2&63]+"=")),F.join("")};for(var m=[],s=[],f=typeof Uint8Array<"u"?Uint8Array:Array,P="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",D=0;D<64;++D)m[D]=P[D],s[P.charCodeAt(D)]=D;function b(T){var C=T.length;if(C%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var R=T.indexOf("=");return-1===R&&(R=C),[R,R===C?0:4-R%4]}function U(T){return m[T>>18&63]+m[T>>12&63]+m[T>>6&63]+m[63&T]}function J(T,C,R){for(var B,F=[],$=C;$<R;$+=3)B=(T[$]<<16&16711680)+(T[$+1]<<8&65280)+(255&T[$+2]),F.push(U(B));return F.join("")}s[45]=62,s[95]=63},19201(st,pe,h){"use strict";const m=h(35888),s=h(31181),f="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;pe.Buffer=b,pe.SlowBuffer=function F(_e){return+_e!=_e&&(_e=0),b.alloc(+_e)},pe.INSPECT_MAX_BYTES=50;const P=2147483647;function y(_e){if(_e>P)throw new RangeError('The value "'+_e+'" is invalid for option "size"');const Y=new Uint8Array(_e);return Object.setPrototypeOf(Y,b.prototype),Y}function b(_e,Y,fe){if("number"==typeof _e){if("string"==typeof Y)throw new TypeError('The "string" argument must be of type string. Received type number');return U(_e)}return x(_e,Y,fe)}function x(_e,Y,fe){if("string"==typeof _e)return function J(_e,Y){if(("string"!=typeof Y||""===Y)&&(Y="utf8"),!b.isEncoding(Y))throw new TypeError("Unknown encoding: "+Y);const fe=0|$(_e,Y);let Et=y(fe);const Vt=Et.write(_e,Y);return Vt!==fe&&(Et=Et.slice(0,Vt)),Et}(_e,Y);if(ArrayBuffer.isView(_e))return function T(_e){if(Mt(_e,Uint8Array)){const Y=new Uint8Array(_e);return C(Y.buffer,Y.byteOffset,Y.byteLength)}return I(_e)}(_e);if(null==_e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof _e);if(Mt(_e,ArrayBuffer)||_e&&Mt(_e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Mt(_e,SharedArrayBuffer)||_e&&Mt(_e.buffer,SharedArrayBuffer)))return C(_e,Y,fe);if("number"==typeof _e)throw new TypeError('The "value" argument must not be of type number. Received type number');const Et=_e.valueOf&&_e.valueOf();if(null!=Et&&Et!==_e)return b.from(Et,Y,fe);const Vt=function R(_e){if(b.isBuffer(_e)){const Y=0|B(_e.length),fe=y(Y);return 0===fe.length||_e.copy(fe,0,0,Y),fe}if(void 0!==_e.length)return"number"!=typeof _e.length||Pt(_e.length)?y(0):I(_e);if("Buffer"===_e.type&&Array.isArray(_e.data))return I(_e.data)}(_e);if(Vt)return Vt;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof _e[Symbol.toPrimitive])return b.from(_e[Symbol.toPrimitive]("string"),Y,fe);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof _e)}function N(_e){if("number"!=typeof _e)throw new TypeError('"size" argument must be of type number');if(_e<0)throw new RangeError('The value "'+_e+'" is invalid for option "size"')}function U(_e){return N(_e),y(_e<0?0:0|B(_e))}function I(_e){const Y=_e.length<0?0:0|B(_e.length),fe=y(Y);for(let Et=0;Et<Y;Et+=1)fe[Et]=255&_e[Et];return fe}function C(_e,Y,fe){if(Y<0||_e.byteLength<Y)throw new RangeError('"offset" is outside of buffer bounds');if(_e.byteLength<Y+(fe||0))throw new RangeError('"length" is outside of buffer bounds');let Et;return Et=void 0===Y&&void 0===fe?new Uint8Array(_e):void 0===fe?new Uint8Array(_e,Y):new Uint8Array(_e,Y,fe),Object.setPrototypeOf(Et,b.prototype),Et}function B(_e){if(_e>=P)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+P.toString(16)+" bytes");return 0|_e}function $(_e,Y){if(b.isBuffer(_e))return _e.length;if(ArrayBuffer.isView(_e)||Mt(_e,ArrayBuffer))return _e.byteLength;if("string"!=typeof _e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof _e);const fe=_e.length,Et=arguments.length>2&&!0===arguments[2];if(!Et&&0===fe)return 0;let Vt=!1;for(;;)switch(Y){case"ascii":case"latin1":case"binary":return fe;case"utf8":case"utf-8":return rt(_e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*fe;case"hex":return fe>>>1;case"base64":return Ht(_e).length;default:if(Vt)return Et?-1:rt(_e).length;Y=(""+Y).toLowerCase(),Vt=!0}}function E(_e,Y,fe){let Et=!1;if((void 0===Y||Y<0)&&(Y=0),Y>this.length||((void 0===fe||fe>this.length)&&(fe=this.length),fe<=0)||(fe>>>=0)<=(Y>>>=0))return"";for(_e||(_e="utf8");;)switch(_e){case"hex":return ut(this,Y,fe);case"utf8":case"utf-8":return Le(this,Y,fe);case"ascii":return We(this,Y,fe);case"latin1":case"binary":return Me(this,Y,fe);case"base64":return ye(this,Y,fe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe(this,Y,fe);default:if(Et)throw new TypeError("Unknown encoding: "+_e);_e=(_e+"").toLowerCase(),Et=!0}}function w(_e,Y,fe){const Et=_e[Y];_e[Y]=_e[fe],_e[fe]=Et}function O(_e,Y,fe,Et,Vt){if(0===_e.length)return-1;if("string"==typeof fe?(Et=fe,fe=0):fe>2147483647?fe=2147483647:fe<-2147483648&&(fe=-2147483648),Pt(fe=+fe)&&(fe=Vt?0:_e.length-1),fe<0&&(fe=_e.length+fe),fe>=_e.length){if(Vt)return-1;fe=_e.length-1}else if(fe<0){if(!Vt)return-1;fe=0}if("string"==typeof Y&&(Y=b.from(Y,Et)),b.isBuffer(Y))return 0===Y.length?-1:Z(_e,Y,fe,Et,Vt);if("number"==typeof Y)return Y&=255,"function"==typeof Uint8Array.prototype.indexOf?Vt?Uint8Array.prototype.indexOf.call(_e,Y,fe):Uint8Array.prototype.lastIndexOf.call(_e,Y,fe):Z(_e,[Y],fe,Et,Vt);throw new TypeError("val must be string, number or Buffer")}function Z(_e,Y,fe,Et,Vt){let ht,ln=1,fn=_e.length,je=Y.length;if(void 0!==Et&&("ucs2"===(Et=String(Et).toLowerCase())||"ucs-2"===Et||"utf16le"===Et||"utf-16le"===Et)){if(_e.length<2||Y.length<2)return-1;ln=2,fn/=2,je/=2,fe/=2}function _t(lt,Oe){return 1===ln?lt[Oe]:lt.readUInt16BE(Oe*ln)}if(Vt){let lt=-1;for(ht=fe;ht<fn;ht++)if(_t(_e,ht)===_t(Y,-1===lt?0:ht-lt)){if(-1===lt&&(lt=ht),ht-lt+1===je)return lt*ln}else-1!==lt&&(ht-=ht-lt),lt=-1}else for(fe+je>fn&&(fe=fn-je),ht=fe;ht>=0;ht--){let lt=!0;for(let Oe=0;Oe<je;Oe++)if(_t(_e,ht+Oe)!==_t(Y,Oe)){lt=!1;break}if(lt)return ht}return-1}function Ee(_e,Y,fe,Et){fe=Number(fe)||0;const Vt=_e.length-fe;Et?(Et=Number(Et))>Vt&&(Et=Vt):Et=Vt;const ln=Y.length;let fn;for(Et>ln/2&&(Et=ln/2),fn=0;fn<Et;++fn){const je=parseInt(Y.substr(2*fn,2),16);if(Pt(je))return fn;_e[fe+fn]=je}return fn}function oe(_e,Y,fe,Et){return ze(rt(Y,_e.length-fe),_e,fe,Et)}function j(_e,Y,fe,Et){return ze(function It(_e){const Y=[];for(let fe=0;fe<_e.length;++fe)Y.push(255&_e.charCodeAt(fe));return Y}(Y),_e,fe,Et)}function te(_e,Y,fe,Et){return ze(Ht(Y),_e,fe,Et)}function ce(_e,Y,fe,Et){return ze(function Kt(_e,Y){let fe,Et,Vt;const ln=[];for(let fn=0;fn<_e.length&&!((Y-=2)<0);++fn)fe=_e.charCodeAt(fn),Et=fe>>8,Vt=fe%256,ln.push(Vt),ln.push(Et);return ln}(Y,_e.length-fe),_e,fe,Et)}function ye(_e,Y,fe){return 0===Y&&fe===_e.length?m.fromByteArray(_e):m.fromByteArray(_e.slice(Y,fe))}function Le(_e,Y,fe){fe=Math.min(_e.length,fe);const Et=[];let Vt=Y;for(;Vt<fe;){const ln=_e[Vt];let fn=null,je=ln>239?4:ln>223?3:ln>191?2:1;if(Vt+je<=fe){let _t,ht,lt,Oe;switch(je){case 1:ln<128&&(fn=ln);break;case 2:_t=_e[Vt+1],128==(192&_t)&&(Oe=(31&ln)<<6|63&_t,Oe>127&&(fn=Oe));break;case 3:_t=_e[Vt+1],ht=_e[Vt+2],128==(192&_t)&&128==(192&ht)&&(Oe=(15&ln)<<12|(63&_t)<<6|63&ht,Oe>2047&&(Oe<55296||Oe>57343)&&(fn=Oe));break;case 4:_t=_e[Vt+1],ht=_e[Vt+2],lt=_e[Vt+3],128==(192&_t)&&128==(192&ht)&&128==(192<)&&(Oe=(15&ln)<<18|(63&_t)<<12|(63&ht)<<6|63<,Oe>65535&&Oe<1114112&&(fn=Oe))}}null===fn?(fn=65533,je=1):fn>65535&&(fn-=65536,Et.push(fn>>>10&1023|55296),fn=56320|1023&fn),Et.push(fn),Vt+=je}return function Tt(_e){const Y=_e.length;if(Y<=4096)return String.fromCharCode.apply(String,_e);let fe="",Et=0;for(;Et<Y;)fe+=String.fromCharCode.apply(String,_e.slice(Et,Et+=4096));return fe}(Et)}pe.kMaxLength=P,b.TYPED_ARRAY_SUPPORT=function D(){try{const _e=new Uint8Array(1),Y={foo:function(){return 42}};return Object.setPrototypeOf(Y,Uint8Array.prototype),Object.setPrototypeOf(_e,Y),42===_e.foo()}catch{return!1}}(),!b.TYPED_ARRAY_SUPPORT&&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(b.prototype,"parent",{enumerable:!0,get:function(){if(b.isBuffer(this))return this.buffer}}),Object.defineProperty(b.prototype,"offset",{enumerable:!0,get:function(){if(b.isBuffer(this))return this.byteOffset}}),b.poolSize=8192,b.from=function(_e,Y,fe){return x(_e,Y,fe)},Object.setPrototypeOf(b.prototype,Uint8Array.prototype),Object.setPrototypeOf(b,Uint8Array),b.alloc=function(_e,Y,fe){return function M(_e,Y,fe){return N(_e),_e<=0?y(_e):void 0!==Y?"string"==typeof fe?y(_e).fill(Y,fe):y(_e).fill(Y):y(_e)}(_e,Y,fe)},b.allocUnsafe=function(_e){return U(_e)},b.allocUnsafeSlow=function(_e){return U(_e)},b.isBuffer=function(Y){return null!=Y&&!0===Y._isBuffer&&Y!==b.prototype},b.compare=function(Y,fe){if(Mt(Y,Uint8Array)&&(Y=b.from(Y,Y.offset,Y.byteLength)),Mt(fe,Uint8Array)&&(fe=b.from(fe,fe.offset,fe.byteLength)),!b.isBuffer(Y)||!b.isBuffer(fe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Y===fe)return 0;let Et=Y.length,Vt=fe.length;for(let ln=0,fn=Math.min(Et,Vt);ln<fn;++ln)if(Y[ln]!==fe[ln]){Et=Y[ln],Vt=fe[ln];break}return Et<Vt?-1:Vt<Et?1:0},b.isEncoding=function(Y){switch(String(Y).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}},b.concat=function(Y,fe){if(!Array.isArray(Y))throw new TypeError('"list" argument must be an Array of Buffers');if(0===Y.length)return b.alloc(0);let Et;if(void 0===fe)for(fe=0,Et=0;Et<Y.length;++Et)fe+=Y[Et].length;const Vt=b.allocUnsafe(fe);let ln=0;for(Et=0;Et<Y.length;++Et){let fn=Y[Et];if(Mt(fn,Uint8Array))ln+fn.length>Vt.length?(b.isBuffer(fn)||(fn=b.from(fn)),fn.copy(Vt,ln)):Uint8Array.prototype.set.call(Vt,fn,ln);else{if(!b.isBuffer(fn))throw new TypeError('"list" argument must be an Array of Buffers');fn.copy(Vt,ln)}ln+=fn.length}return Vt},b.byteLength=$,b.prototype._isBuffer=!0,b.prototype.swap16=function(){const Y=this.length;if(Y%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let fe=0;fe<Y;fe+=2)w(this,fe,fe+1);return this},b.prototype.swap32=function(){const Y=this.length;if(Y%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let fe=0;fe<Y;fe+=4)w(this,fe,fe+3),w(this,fe+1,fe+2);return this},b.prototype.swap64=function(){const Y=this.length;if(Y%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let fe=0;fe<Y;fe+=8)w(this,fe,fe+7),w(this,fe+1,fe+6),w(this,fe+2,fe+5),w(this,fe+3,fe+4);return this},b.prototype.toString=function(){const Y=this.length;return 0===Y?"":0===arguments.length?Le(this,0,Y):E.apply(this,arguments)},b.prototype.toLocaleString=b.prototype.toString,b.prototype.equals=function(Y){if(!b.isBuffer(Y))throw new TypeError("Argument must be a Buffer");return this===Y||0===b.compare(this,Y)},b.prototype.inspect=function(){let Y="";const fe=pe.INSPECT_MAX_BYTES;return Y=this.toString("hex",0,fe).replace(/(.{2})/g,"$1 ").trim(),this.length>fe&&(Y+=" ... "),"<Buffer "+Y+">"},f&&(b.prototype[f]=b.prototype.inspect),b.prototype.compare=function(Y,fe,Et,Vt,ln){if(Mt(Y,Uint8Array)&&(Y=b.from(Y,Y.offset,Y.byteLength)),!b.isBuffer(Y))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Y);if(void 0===fe&&(fe=0),void 0===Et&&(Et=Y?Y.length:0),void 0===Vt&&(Vt=0),void 0===ln&&(ln=this.length),fe<0||Et>Y.length||Vt<0||ln>this.length)throw new RangeError("out of range index");if(Vt>=ln&&fe>=Et)return 0;if(Vt>=ln)return-1;if(fe>=Et)return 1;if(this===Y)return 0;let fn=(ln>>>=0)-(Vt>>>=0),je=(Et>>>=0)-(fe>>>=0);const _t=Math.min(fn,je),ht=this.slice(Vt,ln),lt=Y.slice(fe,Et);for(let Oe=0;Oe<_t;++Oe)if(ht[Oe]!==lt[Oe]){fn=ht[Oe],je=lt[Oe];break}return fn<je?-1:je<fn?1:0},b.prototype.includes=function(Y,fe,Et){return-1!==this.indexOf(Y,fe,Et)},b.prototype.indexOf=function(Y,fe,Et){return O(this,Y,fe,Et,!0)},b.prototype.lastIndexOf=function(Y,fe,Et){return O(this,Y,fe,Et,!1)},b.prototype.write=function(Y,fe,Et,Vt){if(void 0===fe)Vt="utf8",Et=this.length,fe=0;else if(void 0===Et&&"string"==typeof fe)Vt=fe,Et=this.length,fe=0;else{if(!isFinite(fe))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");fe>>>=0,isFinite(Et)?(Et>>>=0,void 0===Vt&&(Vt="utf8")):(Vt=Et,Et=void 0)}const ln=this.length-fe;if((void 0===Et||Et>ln)&&(Et=ln),Y.length>0&&(Et<0||fe<0)||fe>this.length)throw new RangeError("Attempt to write outside buffer bounds");Vt||(Vt="utf8");let fn=!1;for(;;)switch(Vt){case"hex":return Ee(this,Y,fe,Et);case"utf8":case"utf-8":return oe(this,Y,fe,Et);case"ascii":case"latin1":case"binary":return j(this,Y,fe,Et);case"base64":return te(this,Y,fe,Et);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce(this,Y,fe,Et);default:if(fn)throw new TypeError("Unknown encoding: "+Vt);Vt=(""+Vt).toLowerCase(),fn=!0}},b.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function We(_e,Y,fe){let Et="";fe=Math.min(_e.length,fe);for(let Vt=Y;Vt<fe;++Vt)Et+=String.fromCharCode(127&_e[Vt]);return Et}function Me(_e,Y,fe){let Et="";fe=Math.min(_e.length,fe);for(let Vt=Y;Vt<fe;++Vt)Et+=String.fromCharCode(_e[Vt]);return Et}function ut(_e,Y,fe){const Et=_e.length;(!Y||Y<0)&&(Y=0),(!fe||fe<0||fe>Et)&&(fe=Et);let Vt="";for(let ln=Y;ln<fe;++ln)Vt+=bn[_e[ln]];return Vt}function xe(_e,Y,fe){const Et=_e.slice(Y,fe);let Vt="";for(let ln=0;ln<Et.length-1;ln+=2)Vt+=String.fromCharCode(Et[ln]+256*Et[ln+1]);return Vt}function Te(_e,Y,fe){if(_e%1!=0||_e<0)throw new RangeError("offset is not uint");if(_e+Y>fe)throw new RangeError("Trying to access beyond buffer length")}function Ce(_e,Y,fe,Et,Vt,ln){if(!b.isBuffer(_e))throw new TypeError('"buffer" argument must be a Buffer instance');if(Y>Vt||Y<ln)throw new RangeError('"value" argument is out of bounds');if(fe+Et>_e.length)throw new RangeError("Index out of range")}function et(_e,Y,fe,Et,Vt){Jt(Y,Et,Vt,_e,fe,7);let ln=Number(Y&BigInt(4294967295));_e[fe++]=ln,ln>>=8,_e[fe++]=ln,ln>>=8,_e[fe++]=ln,ln>>=8,_e[fe++]=ln;let fn=Number(Y>>BigInt(32)&BigInt(4294967295));return _e[fe++]=fn,fn>>=8,_e[fe++]=fn,fn>>=8,_e[fe++]=fn,fn>>=8,_e[fe++]=fn,fe}function he(_e,Y,fe,Et,Vt){Jt(Y,Et,Vt,_e,fe,7);let ln=Number(Y&BigInt(4294967295));_e[fe+7]=ln,ln>>=8,_e[fe+6]=ln,ln>>=8,_e[fe+5]=ln,ln>>=8,_e[fe+4]=ln;let fn=Number(Y>>BigInt(32)&BigInt(4294967295));return _e[fe+3]=fn,fn>>=8,_e[fe+2]=fn,fn>>=8,_e[fe+1]=fn,fn>>=8,_e[fe]=fn,fe+8}function ve(_e,Y,fe,Et,Vt,ln){if(fe+Et>_e.length)throw new RangeError("Index out of range");if(fe<0)throw new RangeError("Index out of range")}function be(_e,Y,fe,Et,Vt){return Y=+Y,fe>>>=0,Vt||ve(_e,0,fe,4),s.write(_e,Y,fe,Et,23,4),fe+4}function de(_e,Y,fe,Et,Vt){return Y=+Y,fe>>>=0,Vt||ve(_e,0,fe,8),s.write(_e,Y,fe,Et,52,8),fe+8}b.prototype.slice=function(Y,fe){const Et=this.length;(Y=~~Y)<0?(Y+=Et)<0&&(Y=0):Y>Et&&(Y=Et),(fe=void 0===fe?Et:~~fe)<0?(fe+=Et)<0&&(fe=0):fe>Et&&(fe=Et),fe<Y&&(fe=Y);const Vt=this.subarray(Y,fe);return Object.setPrototypeOf(Vt,b.prototype),Vt},b.prototype.readUintLE=b.prototype.readUIntLE=function(Y,fe,Et){Y>>>=0,fe>>>=0,Et||Te(Y,fe,this.length);let Vt=this[Y],ln=1,fn=0;for(;++fn<fe&&(ln*=256);)Vt+=this[Y+fn]*ln;return Vt},b.prototype.readUintBE=b.prototype.readUIntBE=function(Y,fe,Et){Y>>>=0,fe>>>=0,Et||Te(Y,fe,this.length);let Vt=this[Y+--fe],ln=1;for(;fe>0&&(ln*=256);)Vt+=this[Y+--fe]*ln;return Vt},b.prototype.readUint8=b.prototype.readUInt8=function(Y,fe){return Y>>>=0,fe||Te(Y,1,this.length),this[Y]},b.prototype.readUint16LE=b.prototype.readUInt16LE=function(Y,fe){return Y>>>=0,fe||Te(Y,2,this.length),this[Y]|this[Y+1]<<8},b.prototype.readUint16BE=b.prototype.readUInt16BE=function(Y,fe){return Y>>>=0,fe||Te(Y,2,this.length),this[Y]<<8|this[Y+1]},b.prototype.readUint32LE=b.prototype.readUInt32LE=function(Y,fe){return Y>>>=0,fe||Te(Y,4,this.length),(this[Y]|this[Y+1]<<8|this[Y+2]<<16)+16777216*this[Y+3]},b.prototype.readUint32BE=b.prototype.readUInt32BE=function(Y,fe){return Y>>>=0,fe||Te(Y,4,this.length),16777216*this[Y]+(this[Y+1]<<16|this[Y+2]<<8|this[Y+3])},b.prototype.readBigUInt64LE=Tn(function(Y){ee(Y>>>=0,"offset");const fe=this[Y],Et=this[Y+7];(void 0===fe||void 0===Et)&&V(Y,this.length-8);const Vt=fe+256*this[++Y]+65536*this[++Y]+this[++Y]*2**24,ln=this[++Y]+256*this[++Y]+65536*this[++Y]+Et*2**24;return BigInt(Vt)+(BigInt(ln)<<BigInt(32))}),b.prototype.readBigUInt64BE=Tn(function(Y){ee(Y>>>=0,"offset");const fe=this[Y],Et=this[Y+7];(void 0===fe||void 0===Et)&&V(Y,this.length-8);const Vt=fe*2**24+65536*this[++Y]+256*this[++Y]+this[++Y],ln=this[++Y]*2**24+65536*this[++Y]+256*this[++Y]+Et;return(BigInt(Vt)<<BigInt(32))+BigInt(ln)}),b.prototype.readIntLE=function(Y,fe,Et){Y>>>=0,fe>>>=0,Et||Te(Y,fe,this.length);let Vt=this[Y],ln=1,fn=0;for(;++fn<fe&&(ln*=256);)Vt+=this[Y+fn]*ln;return ln*=128,Vt>=ln&&(Vt-=Math.pow(2,8*fe)),Vt},b.prototype.readIntBE=function(Y,fe,Et){Y>>>=0,fe>>>=0,Et||Te(Y,fe,this.length);let Vt=fe,ln=1,fn=this[Y+--Vt];for(;Vt>0&&(ln*=256);)fn+=this[Y+--Vt]*ln;return ln*=128,fn>=ln&&(fn-=Math.pow(2,8*fe)),fn},b.prototype.readInt8=function(Y,fe){return Y>>>=0,fe||Te(Y,1,this.length),128&this[Y]?-1*(255-this[Y]+1):this[Y]},b.prototype.readInt16LE=function(Y,fe){Y>>>=0,fe||Te(Y,2,this.length);const Et=this[Y]|this[Y+1]<<8;return 32768&Et?4294901760|Et:Et},b.prototype.readInt16BE=function(Y,fe){Y>>>=0,fe||Te(Y,2,this.length);const Et=this[Y+1]|this[Y]<<8;return 32768&Et?4294901760|Et:Et},b.prototype.readInt32LE=function(Y,fe){return Y>>>=0,fe||Te(Y,4,this.length),this[Y]|this[Y+1]<<8|this[Y+2]<<16|this[Y+3]<<24},b.prototype.readInt32BE=function(Y,fe){return Y>>>=0,fe||Te(Y,4,this.length),this[Y]<<24|this[Y+1]<<16|this[Y+2]<<8|this[Y+3]},b.prototype.readBigInt64LE=Tn(function(Y){ee(Y>>>=0,"offset");const fe=this[Y],Et=this[Y+7];(void 0===fe||void 0===Et)&&V(Y,this.length-8);const Vt=this[Y+4]+256*this[Y+5]+65536*this[Y+6]+(Et<<24);return(BigInt(Vt)<<BigInt(32))+BigInt(fe+256*this[++Y]+65536*this[++Y]+this[++Y]*2**24)}),b.prototype.readBigInt64BE=Tn(function(Y){ee(Y>>>=0,"offset");const fe=this[Y],Et=this[Y+7];(void 0===fe||void 0===Et)&&V(Y,this.length-8);const Vt=(fe<<24)+65536*this[++Y]+256*this[++Y]+this[++Y];return(BigInt(Vt)<<BigInt(32))+BigInt(this[++Y]*2**24+65536*this[++Y]+256*this[++Y]+Et)}),b.prototype.readFloatLE=function(Y,fe){return Y>>>=0,fe||Te(Y,4,this.length),s.read(this,Y,!0,23,4)},b.prototype.readFloatBE=function(Y,fe){return Y>>>=0,fe||Te(Y,4,this.length),s.read(this,Y,!1,23,4)},b.prototype.readDoubleLE=function(Y,fe){return Y>>>=0,fe||Te(Y,8,this.length),s.read(this,Y,!0,52,8)},b.prototype.readDoubleBE=function(Y,fe){return Y>>>=0,fe||Te(Y,8,this.length),s.read(this,Y,!1,52,8)},b.prototype.writeUintLE=b.prototype.writeUIntLE=function(Y,fe,Et,Vt){if(Y=+Y,fe>>>=0,Et>>>=0,!Vt){Ce(this,Y,fe,Et,Math.pow(2,8*Et)-1,0)}let ln=1,fn=0;for(this[fe]=255&Y;++fn<Et&&(ln*=256);)this[fe+fn]=Y/ln&255;return fe+Et},b.prototype.writeUintBE=b.prototype.writeUIntBE=function(Y,fe,Et,Vt){if(Y=+Y,fe>>>=0,Et>>>=0,!Vt){Ce(this,Y,fe,Et,Math.pow(2,8*Et)-1,0)}let ln=Et-1,fn=1;for(this[fe+ln]=255&Y;--ln>=0&&(fn*=256);)this[fe+ln]=Y/fn&255;return fe+Et},b.prototype.writeUint8=b.prototype.writeUInt8=function(Y,fe,Et){return Y=+Y,fe>>>=0,Et||Ce(this,Y,fe,1,255,0),this[fe]=255&Y,fe+1},b.prototype.writeUint16LE=b.prototype.writeUInt16LE=function(Y,fe,Et){return Y=+Y,fe>>>=0,Et||Ce(this,Y,fe,2,65535,0),this[fe]=255&Y,this[fe+1]=Y>>>8,fe+2},b.prototype.writeUint16BE=b.prototype.writeUInt16BE=function(Y,fe,Et){return Y=+Y,fe>>>=0,Et||Ce(this,Y,fe,2,65535,0),this[fe]=Y>>>8,this[fe+1]=255&Y,fe+2},b.prototype.writeUint32LE=b.prototype.writeUInt32LE=function(Y,fe,Et){return Y=+Y,fe>>>=0,Et||Ce(this,Y,fe,4,4294967295,0),this[fe+3]=Y>>>24,this[fe+2]=Y>>>16,this[fe+1]=Y>>>8,this[fe]=255&Y,fe+4},b.prototype.writeUint32BE=b.prototype.writeUInt32BE=function(Y,fe,Et){return Y=+Y,fe>>>=0,Et||Ce(this,Y,fe,4,4294967295,0),this[fe]=Y>>>24,this[fe+1]=Y>>>16,this[fe+2]=Y>>>8,this[fe+3]=255&Y,fe+4},b.prototype.writeBigUInt64LE=Tn(function(Y,fe=0){return et(this,Y,fe,BigInt(0),BigInt("0xffffffffffffffff"))}),b.prototype.writeBigUInt64BE=Tn(function(Y,fe=0){return he(this,Y,fe,BigInt(0),BigInt("0xffffffffffffffff"))}),b.prototype.writeIntLE=function(Y,fe,Et,Vt){if(Y=+Y,fe>>>=0,!Vt){const _t=Math.pow(2,8*Et-1);Ce(this,Y,fe,Et,_t-1,-_t)}let ln=0,fn=1,je=0;for(this[fe]=255&Y;++ln<Et&&(fn*=256);)Y<0&&0===je&&0!==this[fe+ln-1]&&(je=1),this[fe+ln]=(Y/fn|0)-je&255;return fe+Et},b.prototype.writeIntBE=function(Y,fe,Et,Vt){if(Y=+Y,fe>>>=0,!Vt){const _t=Math.pow(2,8*Et-1);Ce(this,Y,fe,Et,_t-1,-_t)}let ln=Et-1,fn=1,je=0;for(this[fe+ln]=255&Y;--ln>=0&&(fn*=256);)Y<0&&0===je&&0!==this[fe+ln+1]&&(je=1),this[fe+ln]=(Y/fn|0)-je&255;return fe+Et},b.prototype.writeInt8=function(Y,fe,Et){return Y=+Y,fe>>>=0,Et||Ce(this,Y,fe,1,127,-128),Y<0&&(Y=255+Y+1),this[fe]=255&Y,fe+1},b.prototype.writeInt16LE=function(Y,fe,Et){return Y=+Y,fe>>>=0,Et||Ce(this,Y,fe,2,32767,-32768),this[fe]=255&Y,this[fe+1]=Y>>>8,fe+2},b.prototype.writeInt16BE=function(Y,fe,Et){return Y=+Y,fe>>>=0,Et||Ce(this,Y,fe,2,32767,-32768),this[fe]=Y>>>8,this[fe+1]=255&Y,fe+2},b.prototype.writeInt32LE=function(Y,fe,Et){return Y=+Y,fe>>>=0,Et||Ce(this,Y,fe,4,2147483647,-2147483648),this[fe]=255&Y,this[fe+1]=Y>>>8,this[fe+2]=Y>>>16,this[fe+3]=Y>>>24,fe+4},b.prototype.writeInt32BE=function(Y,fe,Et){return Y=+Y,fe>>>=0,Et||Ce(this,Y,fe,4,2147483647,-2147483648),Y<0&&(Y=4294967295+Y+1),this[fe]=Y>>>24,this[fe+1]=Y>>>16,this[fe+2]=Y>>>8,this[fe+3]=255&Y,fe+4},b.prototype.writeBigInt64LE=Tn(function(Y,fe=0){return et(this,Y,fe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),b.prototype.writeBigInt64BE=Tn(function(Y,fe=0){return he(this,Y,fe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),b.prototype.writeFloatLE=function(Y,fe,Et){return be(this,Y,fe,!0,Et)},b.prototype.writeFloatBE=function(Y,fe,Et){return be(this,Y,fe,!1,Et)},b.prototype.writeDoubleLE=function(Y,fe,Et){return de(this,Y,fe,!0,Et)},b.prototype.writeDoubleBE=function(Y,fe,Et){return de(this,Y,fe,!1,Et)},b.prototype.copy=function(Y,fe,Et,Vt){if(!b.isBuffer(Y))throw new TypeError("argument should be a Buffer");if(Et||(Et=0),!Vt&&0!==Vt&&(Vt=this.length),fe>=Y.length&&(fe=Y.length),fe||(fe=0),Vt>0&&Vt<Et&&(Vt=Et),Vt===Et||0===Y.length||0===this.length)return 0;if(fe<0)throw new RangeError("targetStart out of bounds");if(Et<0||Et>=this.length)throw new RangeError("Index out of range");if(Vt<0)throw new RangeError("sourceEnd out of bounds");Vt>this.length&&(Vt=this.length),Y.length-fe<Vt-Et&&(Vt=Y.length-fe+Et);const ln=Vt-Et;return this===Y&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(fe,Et,Vt):Uint8Array.prototype.set.call(Y,this.subarray(Et,Vt),fe),ln},b.prototype.fill=function(Y,fe,Et,Vt){if("string"==typeof Y){if("string"==typeof fe?(Vt=fe,fe=0,Et=this.length):"string"==typeof Et&&(Vt=Et,Et=this.length),void 0!==Vt&&"string"!=typeof Vt)throw new TypeError("encoding must be a string");if("string"==typeof Vt&&!b.isEncoding(Vt))throw new TypeError("Unknown encoding: "+Vt);if(1===Y.length){const fn=Y.charCodeAt(0);("utf8"===Vt&&fn<128||"latin1"===Vt)&&(Y=fn)}}else"number"==typeof Y?Y&=255:"boolean"==typeof Y&&(Y=Number(Y));if(fe<0||this.length<fe||this.length<Et)throw new RangeError("Out of range index");if(Et<=fe)return this;let ln;if(fe>>>=0,Et=void 0===Et?this.length:Et>>>0,Y||(Y=0),"number"==typeof Y)for(ln=fe;ln<Et;++ln)this[ln]=Y;else{const fn=b.isBuffer(Y)?Y:b.from(Y,Vt),je=fn.length;if(0===je)throw new TypeError('The value "'+Y+'" is invalid for argument "value"');for(ln=0;ln<Et-fe;++ln)this[ln+fe]=fn[ln%je]}return this};const G={};function Fe(_e,Y,fe){G[_e]=class extends fe{constructor(){super(),Object.defineProperty(this,"message",{value:Y.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${_e}]`,this.stack,delete this.name}get code(){return _e}set code(Vt){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Vt,writable:!0})}toString(){return`${this.name} [${_e}]: ${this.message}`}}}function He(_e){let Y="",fe=_e.length;const Et="-"===_e[0]?1:0;for(;fe>=Et+4;fe-=3)Y=`_${_e.slice(fe-3,fe)}${Y}`;return`${_e.slice(0,fe)}${Y}`}function Jt(_e,Y,fe,Et,Vt,ln){if(_e>fe||_e<Y){const fn="bigint"==typeof Y?"n":"";let je;throw je=ln>3?0===Y||Y===BigInt(0)?`>= 0${fn} and < 2${fn} ** ${8*(ln+1)}${fn}`:`>= -(2${fn} ** ${8*(ln+1)-1}${fn}) and < 2 ** ${8*(ln+1)-1}${fn}`:`>= ${Y}${fn} and <= ${fe}${fn}`,new G.ERR_OUT_OF_RANGE("value",je,_e)}!function wt(_e,Y,fe){ee(Y,"offset"),(void 0===_e[Y]||void 0===_e[Y+fe])&&V(Y,_e.length-(fe+1))}(Et,Vt,ln)}function ee(_e,Y){if("number"!=typeof _e)throw new G.ERR_INVALID_ARG_TYPE(Y,"number",_e)}function V(_e,Y,fe){throw Math.floor(_e)!==_e?(ee(_e,fe),new G.ERR_OUT_OF_RANGE(fe||"offset","an integer",_e)):Y<0?new G.ERR_BUFFER_OUT_OF_BOUNDS:new G.ERR_OUT_OF_RANGE(fe||"offset",`>= ${fe?1:0} and <= ${Y}`,_e)}Fe("ERR_BUFFER_OUT_OF_BOUNDS",function(_e){return _e?`${_e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Fe("ERR_INVALID_ARG_TYPE",function(_e,Y){return`The "${_e}" argument must be of type number. Received type ${typeof Y}`},TypeError),Fe("ERR_OUT_OF_RANGE",function(_e,Y,fe){let Et=`The value of "${_e}" is out of range.`,Vt=fe;return Number.isInteger(fe)&&Math.abs(fe)>2**32?Vt=He(String(fe)):"bigint"==typeof fe&&(Vt=String(fe),(fe>BigInt(2)**BigInt(32)||fe<-(BigInt(2)**BigInt(32)))&&(Vt=He(Vt)),Vt+="n"),Et+=` It must be ${Y}. Received ${Vt}`,Et},RangeError);const ue=/[^+/0-9A-Za-z-_]/g;function rt(_e,Y){let fe;Y=Y||1/0;const Et=_e.length;let Vt=null;const ln=[];for(let fn=0;fn<Et;++fn){if(fe=_e.charCodeAt(fn),fe>55295&&fe<57344){if(!Vt){if(fe>56319){(Y-=3)>-1&&ln.push(239,191,189);continue}if(fn+1===Et){(Y-=3)>-1&&ln.push(239,191,189);continue}Vt=fe;continue}if(fe<56320){(Y-=3)>-1&&ln.push(239,191,189),Vt=fe;continue}fe=65536+(Vt-55296<<10|fe-56320)}else Vt&&(Y-=3)>-1&&ln.push(239,191,189);if(Vt=null,fe<128){if((Y-=1)<0)break;ln.push(fe)}else if(fe<2048){if((Y-=2)<0)break;ln.push(fe>>6|192,63&fe|128)}else if(fe<65536){if((Y-=3)<0)break;ln.push(fe>>12|224,fe>>6&63|128,63&fe|128)}else{if(!(fe<1114112))throw new Error("Invalid code point");if((Y-=4)<0)break;ln.push(fe>>18|240,fe>>12&63|128,fe>>6&63|128,63&fe|128)}}return ln}function Ht(_e){return m.toByteArray(function De(_e){if((_e=(_e=_e.split("=")[0]).trim().replace(ue,"")).length<2)return"";for(;_e.length%4!=0;)_e+="=";return _e}(_e))}function ze(_e,Y,fe,Et){let Vt;for(Vt=0;Vt<Et&&!(Vt+fe>=Y.length||Vt>=_e.length);++Vt)Y[Vt+fe]=_e[Vt];return Vt}function Mt(_e,Y){return _e instanceof Y||null!=_e&&null!=_e.constructor&&null!=_e.constructor.name&&_e.constructor.name===Y.name}function Pt(_e){return _e!=_e}const bn=function(){const _e="0123456789abcdef",Y=new Array(256);for(let fe=0;fe<16;++fe){const Et=16*fe;for(let Vt=0;Vt<16;++Vt)Y[Et+Vt]=_e[fe]+_e[Vt]}return Y}();function Tn(_e){return typeof BigInt>"u"?Lt:_e}function Lt(){throw new Error("BigInt not supported")}},73804(st,pe,h){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.ClassTransformer=void 0;const m=h(82215),s=h(47002);pe.ClassTransformer=class f{classToPlain(D,y){return new m.TransformOperationExecutor(s.TransformationType.CLASS_TO_PLAIN,y||{}).transform(void 0,D,void 0,void 0,void 0,void 0)}classToPlainFromExist(D,y,b){return new m.TransformOperationExecutor(s.TransformationType.CLASS_TO_PLAIN,b||{}).transform(y,D,void 0,void 0,void 0,void 0)}plainToClass(D,y,b){return new m.TransformOperationExecutor(s.TransformationType.PLAIN_TO_CLASS,b||{}).transform(void 0,y,D,void 0,void 0,void 0)}plainToClassFromExist(D,y,b){return new m.TransformOperationExecutor(s.TransformationType.PLAIN_TO_CLASS,b||{}).transform(D,y,void 0,void 0,void 0,void 0)}classToClass(D,y){return new m.TransformOperationExecutor(s.TransformationType.CLASS_TO_CLASS,y||{}).transform(void 0,D,void 0,void 0,void 0,void 0)}classToClassFromExist(D,y,b){return new m.TransformOperationExecutor(s.TransformationType.CLASS_TO_CLASS,b||{}).transform(y,D,void 0,void 0,void 0,void 0)}serialize(D,y){return JSON.stringify(this.classToPlain(D,y))}deserialize(D,y,b){const x=JSON.parse(y);return this.plainToClass(D,x,b)}deserializeArray(D,y,b){const x=JSON.parse(y);return this.plainToClass(D,x,b)}}},82215(st,pe,h){"use strict";pe.TransformOperationExecutor=void 0;const s=h(32734),f=h(47002);function P(){try{return Buffer.isBuffer({}),!0}catch{return!1}}pe.TransformOperationExecutor=class y{constructor(x,N){this.transformationType=x,this.options=N,this.recursionStack=new Set}transform(x,N,M,U,J,I=0){if(Array.isArray(N)||N instanceof Set){const T=U&&this.transformationType===f.TransformationType.PLAIN_TO_CLASS?function D(b){const x=new b;return x instanceof Set||"push"in x?x:[]}(U):[];return N.forEach((C,R)=>{const B=x?x[R]:void 0;if(this.options.enableCircularCheck&&this.isCircular(C))this.transformationType===f.TransformationType.CLASS_TO_CLASS&&(T instanceof Set?T.add(C):T.push(C));else{let F;if("function"!=typeof M&&M&&M.options&&M.options.discriminator&&M.options.discriminator.property&&M.options.discriminator.subTypes){if(this.transformationType===f.TransformationType.PLAIN_TO_CLASS){F=M.options.discriminator.subTypes.find(O=>O.name===C[M.options.discriminator.property]);const E={newObject:T,object:C,property:void 0},w=M.typeFunction(E);F=void 0===F?w:F.value,M.options.keepDiscriminatorProperty||delete C[M.options.discriminator.property]}this.transformationType===f.TransformationType.CLASS_TO_CLASS&&(F=C.constructor),this.transformationType===f.TransformationType.CLASS_TO_PLAIN&&(C[M.options.discriminator.property]=M.options.discriminator.subTypes.find(E=>E.value===C.constructor).name)}else F=M;const $=this.transform(B,C,F,void 0,C instanceof Map,I+1);T instanceof Set?T.add($):T.push($)}}),T}if(M===String&&!J)return null==N?N:String(N);if(M===Number&&!J)return null==N?N:Number(N);if(M===Boolean&&!J)return null==N?N:!!N;if((M===Date||N instanceof Date)&&!J)return N instanceof Date?new Date(N.valueOf()):null==N?N:new Date(N);if(P()&&(M===Buffer||N instanceof Buffer)&&!J)return null==N?N:Buffer.from(N);if("object"==typeof N&&null!==N){!M&&N.constructor!==Object&&(M=N.constructor),!M&&x&&(M=x.constructor),this.options.enableCircularCheck&&this.recursionStack.add(N);const T=this.getKeys(M,N);let C=x||{};!x&&(this.transformationType===f.TransformationType.PLAIN_TO_CLASS||this.transformationType===f.TransformationType.CLASS_TO_CLASS)&&(C=J?new Map:M?new M:{});for(const R of T){if("__proto__"===R||"constructor"===R)continue;const B=R;let E,F=R,$=R;if(!this.options.ignoreDecorators&&M)if(this.transformationType===f.TransformationType.PLAIN_TO_CLASS){const oe=s.defaultMetadataStorage.findExposeMetadataByCustomName(M,R);oe&&($=oe.propertyName,F=oe.propertyName)}else if(this.transformationType===f.TransformationType.CLASS_TO_PLAIN||this.transformationType===f.TransformationType.CLASS_TO_CLASS){const oe=s.defaultMetadataStorage.findExposeMetadata(M,R);oe&&oe.options&&oe.options.name&&(F=oe.options.name)}E=N instanceof Map?N.get(B):N[B]instanceof Function?N[B]():N[B];let w,O=E instanceof Map;if(M&&J)w=M;else if(M){const oe=s.defaultMetadataStorage.findTypeMetadata(M,$);if(oe){const j={newObject:C,object:N,property:$},te=oe.typeFunction?oe.typeFunction(j):oe.reflectedType;oe.options&&oe.options.discriminator&&oe.options.discriminator.property&&oe.options.discriminator.subTypes?N[B]instanceof Array?w=oe:(this.transformationType===f.TransformationType.PLAIN_TO_CLASS&&(w=oe.options.discriminator.subTypes.find(ce=>{if(E&&oe.options.discriminator.property in E)return ce.name===E[oe.options.discriminator.property]}),w=void 0===w?te:w.value,oe.options.keepDiscriminatorProperty||E&&oe.options.discriminator.property in E&&delete E[oe.options.discriminator.property]),this.transformationType===f.TransformationType.CLASS_TO_CLASS&&(w=E.constructor),this.transformationType===f.TransformationType.CLASS_TO_PLAIN&&(E[oe.options.discriminator.property]=oe.options.discriminator.subTypes.find(ce=>ce.value===E.constructor).name)):w=te,O=O||oe.reflectedType===Map}else if(this.options.targetMaps)this.options.targetMaps.filter(j=>j.target===M&&!!j.properties[$]).forEach(j=>w=j.properties[$]);else if(this.options.enableImplicitConversion&&this.transformationType===f.TransformationType.PLAIN_TO_CLASS){const j=Reflect.getMetadata("design:type",M.prototype,$);j&&(w=j)}}const Z=Array.isArray(N[B])?this.getReflectedType(M,$):void 0,Ee=x?x[B]:void 0;if(C.constructor.prototype){const oe=Object.getOwnPropertyDescriptor(C.constructor.prototype,F);if((this.transformationType===f.TransformationType.PLAIN_TO_CLASS||this.transformationType===f.TransformationType.CLASS_TO_CLASS)&&(oe&&!oe.set||C[F]instanceof Function))continue}if(this.options.enableCircularCheck&&this.isCircular(E)){if(this.transformationType===f.TransformationType.CLASS_TO_CLASS){let oe=E;oe=this.applyCustomTransformations(oe,M,R,N,this.transformationType),C instanceof Map?C.set(F,oe):C[F]=oe}}else{const oe=this.transformationType===f.TransformationType.PLAIN_TO_CLASS?F:R;let j;this.transformationType===f.TransformationType.CLASS_TO_PLAIN?(j=N[oe],j=this.applyCustomTransformations(j,M,oe,N,this.transformationType),j=N[oe]===j?E:j,j=this.transform(Ee,j,w,Z,O,I+1)):(j=this.transform(Ee,E,w,Z,O,I+1),j=this.applyCustomTransformations(j,M,oe,N,this.transformationType)),C instanceof Map?C.set(F,j):C[F]=j}}return this.options.enableCircularCheck&&this.recursionStack.delete(N),C}return N}applyCustomTransformations(x,N,M,U,J){let I=s.defaultMetadataStorage.findTransformMetadatas(N,M,this.transformationType);return void 0!==this.options.version&&(I=I.filter(T=>!T.options||this.checkVersion(T.options.since,T.options.until))),I=this.options.groups&&this.options.groups.length?I.filter(T=>!T.options||this.checkGroups(T.options.groups)):I.filter(T=>!T.options||!T.options.groups||!T.options.groups.length),I.forEach(T=>{x=T.transformFn(x,U,J)}),x}isCircular(x){return this.recursionStack.has(x)}getReflectedType(x,N){if(!x)return;const M=s.defaultMetadataStorage.findTypeMetadata(x,N);return M?M.reflectedType:void 0}getKeys(x,N){let M=s.defaultMetadataStorage.getStrategy(x);"none"===M&&(M=this.options.strategy||"exposeAll");let U=[];if("exposeAll"===M&&(U=N instanceof Map?Array.from(N.keys()):Object.keys(N)),!this.options.ignoreDecorators&&x){let J=s.defaultMetadataStorage.getExposedProperties(x,this.transformationType);this.transformationType===f.TransformationType.PLAIN_TO_CLASS&&(J=J.map(T=>{const C=s.defaultMetadataStorage.findExposeMetadata(x,T);return C&&C.options&&C.options.name?C.options.name:T})),U=this.options.excludeExtraneousValues?J:U.concat(J);const I=s.defaultMetadataStorage.getExcludedProperties(x,this.transformationType);I.length>0&&(U=U.filter(T=>!I.includes(T))),void 0!==this.options.version&&(U=U.filter(T=>{const C=s.defaultMetadataStorage.findExposeMetadata(x,T);return!C||!C.options||this.checkVersion(C.options.since,C.options.until)})),U=this.options.groups&&this.options.groups.length?U.filter(T=>{const C=s.defaultMetadataStorage.findExposeMetadata(x,T);return!C||!C.options||this.checkGroups(C.options.groups)}):U.filter(T=>{const C=s.defaultMetadataStorage.findExposeMetadata(x,T);return!(C&&C.options&&C.options.groups&&C.options.groups.length)})}return this.options.excludePrefixes&&this.options.excludePrefixes.length&&(U=U.filter(J=>this.options.excludePrefixes.every(I=>J.substr(0,I.length)!==I))),U=U.filter((J,I,T)=>T.indexOf(J)===I),U}checkVersion(x,N){let M=!0;return M&&x&&(M=this.options.version>=x),M&&N&&(M=this.options.version<N),M}checkGroups(x){return!x||this.options.groups.some(N=>x.includes(N))}}},57305(st,pe,h){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.TransformPlainToClass=pe.TransformClassToClass=pe.TransformClassToPlain=pe.Exclude=pe.Expose=pe.Type=pe.Transform=void 0;const m=h(73804),s=h(32734),f=h(74484),P=h(22352),D=h(59042),y=h(16556);pe.Transform=function b(T,C){return function(R,B){const F=new y.TransformMetadata(R.constructor,B,T,C);s.defaultMetadataStorage.addTransformMetadata(F)}},pe.Type=function x(T,C){return function(R,B){const F=Reflect.getMetadata("design:type",R,B),$=new f.TypeMetadata(R.constructor,B,F,T,C);s.defaultMetadataStorage.addTypeMetadata($)}},pe.Expose=function N(T){return function(C,R){const B=new P.ExposeMetadata(C instanceof Function?C:C.constructor,R,T||{});s.defaultMetadataStorage.addExposeMetadata(B)}},pe.Exclude=function M(T){return function(C,R){const B=new D.ExcludeMetadata(C instanceof Function?C:C.constructor,R,T||{});s.defaultMetadataStorage.addExcludeMetadata(B)}},pe.TransformClassToPlain=function U(T){return function(C,R,B){const F=new m.ClassTransformer,$=B.value;B.value=function(...E){const w=$.apply(this,E);return!w||"object"!=typeof w&&"function"!=typeof w||"function"!=typeof w.then?F.classToPlain(w,T):w.then(Z=>F.classToPlain(Z,T))}}},pe.TransformClassToClass=function J(T){return function(C,R,B){const F=new m.ClassTransformer,$=B.value;B.value=function(...E){const w=$.apply(this,E);return!w||"object"!=typeof w&&"function"!=typeof w||"function"!=typeof w.then?F.classToClass(w,T):w.then(Z=>F.classToClass(Z,T))}}},pe.TransformPlainToClass=function I(T,C){return function(R,B,F){const $=new m.ClassTransformer,E=F.value;F.value=function(...w){const O=E.apply(this,w);return!O||"object"!=typeof O&&"function"!=typeof O||"function"!=typeof O.then?$.plainToClass(T,O,C):O.then(Ee=>$.plainToClass(T,Ee,C))}}}},47002(st,pe,h){"use strict";var m=this&&this.__createBinding||(Object.create?function(f,P,D,y){void 0===y&&(y=D),Object.defineProperty(f,y,{enumerable:!0,get:function(){return P[D]}})}:function(f,P,D,y){void 0===y&&(y=D),f[y]=P[D]}),s=this&&this.__exportStar||function(f,P){for(var D in f)"default"!==D&&!P.hasOwnProperty(D)&&m(P,f,D)};Object.defineProperty(pe,"__esModule",{value:!0}),s(h(30639),pe)},30639(st,pe){"use strict";var m;Object.defineProperty(pe,"__esModule",{value:!0}),pe.TransformationType=void 0,(m=pe.TransformationType||(pe.TransformationType={}))[m.PLAIN_TO_CLASS=0]="PLAIN_TO_CLASS",m[m.CLASS_TO_PLAIN=1]="CLASS_TO_PLAIN",m[m.CLASS_TO_CLASS=2]="CLASS_TO_CLASS"},94727(st,pe,h){"use strict";var m=this&&this.__createBinding||(Object.create?function(R,B,F,$){void 0===$&&($=F),Object.defineProperty(R,$,{enumerable:!0,get:function(){return B[F]}})}:function(R,B,F,$){void 0===$&&($=F),R[$]=B[F]}),s=this&&this.__exportStar||function(R,B){for(var F in R)"default"!==F&&!B.hasOwnProperty(F)&&m(B,R,F)};Object.defineProperty(pe,"__esModule",{value:!0}),pe.TransformationType=pe.deserializeArray=pe.deserialize=pe.serialize=pe.classToClassFromExist=pe.classToClass=pe.plainToClassFromExist=pe.plainToClass=pe.classToPlainFromExist=pe.classToPlain=void 0;const f=h(73804);var P=h(73804);Object.defineProperty(pe,"ClassTransformer",{enumerable:!0,get:function(){return P.ClassTransformer}}),s(h(97473),pe),s(h(57305),pe);const D=new f.ClassTransformer;var R;pe.classToPlain=function y(R,B){return D.classToPlain(R,B)},pe.classToPlainFromExist=function b(R,B,F){return D.classToPlainFromExist(R,B,F)},pe.plainToClass=function x(R,B,F){return D.plainToClass(R,B,F)},pe.plainToClassFromExist=function N(R,B,F){return D.plainToClassFromExist(R,B,F)},pe.classToClass=function M(R,B){return D.classToClass(R,B)},pe.classToClassFromExist=function U(R,B,F){return D.classToClassFromExist(R,B,F)},pe.serialize=function J(R,B){return D.serialize(R,B)},pe.deserialize=function I(R,B,F){return D.deserialize(R,B,F)},pe.deserializeArray=function T(R,B,F){return D.deserializeArray(R,B,F)},(R=pe.TransformationType||(pe.TransformationType={}))[R.PLAIN_TO_CLASS=0]="PLAIN_TO_CLASS",R[R.CLASS_TO_PLAIN=1]="CLASS_TO_PLAIN",R[R.CLASS_TO_CLASS=2]="CLASS_TO_CLASS"},59042(st,pe){"use strict";pe.ExcludeMetadata=void 0;pe.ExcludeMetadata=class m{constructor(f,P,D){this.target=f,this.propertyName=P,this.options=D}}},97473(st,pe){"use strict";Object.defineProperty(pe,"__esModule",{value:!0})},22352(st,pe){"use strict";pe.ExposeMetadata=void 0;pe.ExposeMetadata=class m{constructor(f,P,D){this.target=f,this.propertyName=P,this.options=D}}},12587(st,pe,h){"use strict";pe.MetadataStorage=void 0;const s=h(47002);pe.MetadataStorage=class f{constructor(){this._typeMetadatas=new Map,this._transformMetadatas=new Map,this._exposeMetadatas=new Map,this._excludeMetadatas=new Map,this._ancestorsMap=new Map}addTypeMetadata(D){this._typeMetadatas.has(D.target)||this._typeMetadatas.set(D.target,new Map),this._typeMetadatas.get(D.target).set(D.propertyName,D)}addTransformMetadata(D){this._transformMetadatas.has(D.target)||this._transformMetadatas.set(D.target,new Map),this._transformMetadatas.get(D.target).has(D.propertyName)||this._transformMetadatas.get(D.target).set(D.propertyName,[]),this._transformMetadatas.get(D.target).get(D.propertyName).push(D)}addExposeMetadata(D){this._exposeMetadatas.has(D.target)||this._exposeMetadatas.set(D.target,new Map),this._exposeMetadatas.get(D.target).set(D.propertyName,D)}addExcludeMetadata(D){this._excludeMetadatas.has(D.target)||this._excludeMetadatas.set(D.target,new Map),this._excludeMetadatas.get(D.target).set(D.propertyName,D)}findTransformMetadatas(D,y,b){return this.findMetadatas(this._transformMetadatas,D,y).filter(x=>!x.options||!0===x.options.toClassOnly&&!0===x.options.toPlainOnly||(!0===x.options.toClassOnly?b===s.TransformationType.CLASS_TO_CLASS||b===s.TransformationType.PLAIN_TO_CLASS:!0!==x.options.toPlainOnly||b===s.TransformationType.CLASS_TO_PLAIN))}findExcludeMetadata(D,y){return this.findMetadata(this._excludeMetadatas,D,y)}findExposeMetadata(D,y){return this.findMetadata(this._exposeMetadatas,D,y)}findExposeMetadataByCustomName(D,y){return this.getExposedMetadatas(D).find(b=>b.options&&b.options.name===y)}findTypeMetadata(D,y){return this.findMetadata(this._typeMetadatas,D,y)}getStrategy(D){const y=this._excludeMetadatas.get(D),b=y&&y.get(void 0),x=this._exposeMetadatas.get(D),N=x&&x.get(void 0);return b&&N||!b&&!N?"none":b?"excludeAll":"exposeAll"}getExposedMetadatas(D){return this.getMetadata(this._exposeMetadatas,D)}getExcludedMetadatas(D){return this.getMetadata(this._excludeMetadatas,D)}getExposedProperties(D,y){return this.getExposedMetadatas(D).filter(b=>!b.options||!0===b.options.toClassOnly&&!0===b.options.toPlainOnly||(!0===b.options.toClassOnly?y===s.TransformationType.CLASS_TO_CLASS||y===s.TransformationType.PLAIN_TO_CLASS:!0!==b.options.toPlainOnly||y===s.TransformationType.CLASS_TO_PLAIN)).map(b=>b.propertyName)}getExcludedProperties(D,y){return this.getExcludedMetadatas(D).filter(b=>!b.options||!0===b.options.toClassOnly&&!0===b.options.toPlainOnly||(!0===b.options.toClassOnly?y===s.TransformationType.CLASS_TO_CLASS||y===s.TransformationType.PLAIN_TO_CLASS:!0!==b.options.toPlainOnly||y===s.TransformationType.CLASS_TO_PLAIN)).map(b=>b.propertyName)}clear(){this._typeMetadatas.clear(),this._exposeMetadatas.clear(),this._excludeMetadatas.clear(),this._ancestorsMap.clear()}getMetadata(D,y){const b=D.get(y);let x;b&&(x=Array.from(b.values()).filter(M=>void 0!==M.propertyName));const N=[];for(const M of this.getAncestors(y)){const U=D.get(M);if(U){const J=Array.from(U.values()).filter(I=>void 0!==I.propertyName);N.push(...J)}}return N.concat(x||[])}findMetadata(D,y,b){const x=D.get(y);if(x){const N=x.get(b);if(N)return N}for(const N of this.getAncestors(y)){const M=D.get(N);if(M){const U=M.get(b);if(U)return U}}}findMetadatas(D,y,b){const x=D.get(y);let N;x&&(N=x.get(b));const M=[];for(const U of this.getAncestors(y)){const J=D.get(U);J&&J.has(b)&&M.push(...J.get(b))}return M.slice().reverse().concat((N||[]).slice().reverse())}getAncestors(D){if(!D)return[];if(!this._ancestorsMap.has(D)){const y=[];for(let b=Object.getPrototypeOf(D.prototype.constructor);typeof b.prototype<"u";b=Object.getPrototypeOf(b.prototype.constructor))y.push(b);this._ancestorsMap.set(D,y)}return this._ancestorsMap.get(D)}}},16556(st,pe){"use strict";pe.TransformMetadata=void 0;pe.TransformMetadata=class m{constructor(f,P,D,y){this.target=f,this.propertyName=P,this.transformFn=D,this.options=y}}},74484(st,pe){"use strict";pe.TypeMetadata=void 0;pe.TypeMetadata=class m{constructor(f,P,D,y,b){this.target=f,this.propertyName=P,this.reflectedType=D,this.typeFunction=y,this.options=b}}},32734(st,pe,h){"use strict";pe.defaultMetadataStorage=void 0;const s=h(12587);pe.defaultMetadataStorage=new s.MetadataStorage},36572(st){"use strict";st.exports=function(pe){var h=[];return h.toString=function(){return this.map(function(s){var f="",P=typeof s[5]<"u";return s[4]&&(f+="@supports (".concat(s[4],") {")),s[2]&&(f+="@media ".concat(s[2]," {")),P&&(f+="@layer".concat(s[5].length>0?" ".concat(s[5]):""," {")),f+=pe(s),P&&(f+="}"),s[2]&&(f+="}"),s[4]&&(f+="}"),f}).join("")},h.i=function(s,f,P,D,y){"string"==typeof s&&(s=[[null,s,void 0]]);var b={};if(P)for(var x=0;x<this.length;x++){var N=this[x][0];null!=N&&(b[N]=!0)}for(var M=0;M<s.length;M++){var U=[].concat(s[M]);P&&b[U[0]]||(typeof y<"u"&&(typeof U[5]>"u"||(U[1]="@layer".concat(U[5].length>0?" ".concat(U[5]):""," {").concat(U[1],"}")),U[5]=y),f&&(U[2]&&(U[1]="@media ".concat(U[2]," {").concat(U[1],"}")),U[2]=f),D&&(U[4]?(U[1]="@supports (".concat(U[4],") {").concat(U[1],"}"),U[4]=D):U[4]="".concat(D)),h.push(U))}},h}},42563(st){"use strict";st.exports=function(pe){return pe[1]}},23419(st){st.exports=function(){"use strict";var pe=1e3,h=6e4,m=36e5,s="millisecond",f="second",P="minute",D="hour",y="day",b="week",x="month",N="quarter",M="year",U="date",J="Invalid Date",I=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(te){var ce=["th","st","nd","rd"],ye=te%100;return"["+te+(ce[(ye-20)%10]||ce[ye]||ce[0])+"]"}},R=function(te,ce,ye){var Le=String(te);return!Le||Le.length>=ce?te:""+Array(ce+1-Le.length).join(ye)+te},B={s:R,z:function(te){var ce=-te.utcOffset(),ye=Math.abs(ce),Le=Math.floor(ye/60),$e=ye%60;return(ce<=0?"+":"-")+R(Le,2,"0")+":"+R($e,2,"0")},m:function te(ce,ye){if(ce.date()<ye.date())return-te(ye,ce);var Le=12*(ye.year()-ce.year())+(ye.month()-ce.month()),$e=ce.clone().add(Le,x),Tt=ye-$e<0,We=ce.clone().add(Le+(Tt?-1:1),x);return+(-(Le+(ye-$e)/(Tt?$e-We:We-$e))||0)},a:function(te){return te<0?Math.ceil(te)||0:Math.floor(te)},p:function(te){return{M:x,y:M,w:b,d:y,D:U,h:D,m:P,s:f,ms:s,Q:N}[te]||String(te||"").toLowerCase().replace(/s$/,"")},u:function(te){return void 0===te}},F="en",$={};$[F]=C;var E="$isDayjsObject",w=function(te){return te instanceof oe||!(!te||!te[E])},O=function te(ce,ye,Le){var $e;if(!ce)return F;if("string"==typeof ce){var Tt=ce.toLowerCase();$[Tt]&&($e=Tt),ye&&($[Tt]=ye,$e=Tt);var We=ce.split("-");if(!$e&&We.length>1)return te(We[0])}else{var Me=ce.name;$[Me]=ce,$e=Me}return!Le&&$e&&(F=$e),$e||!Le&&F},Z=function(te,ce){if(w(te))return te.clone();var ye="object"==typeof ce?ce:{};return ye.date=te,ye.args=arguments,new oe(ye)},Ee=B;Ee.l=O,Ee.i=w,Ee.w=function(te,ce){return Z(te,{locale:ce.$L,utc:ce.$u,x:ce.$x,$offset:ce.$offset})};var oe=function(){function te(ye){this.$L=O(ye.locale,null,!0),this.parse(ye),this.$x=this.$x||ye.x||{},this[E]=!0}var ce=te.prototype;return ce.parse=function(ye){this.$d=function(Le){var $e=Le.date,Tt=Le.utc;if(null===$e)return new Date(NaN);if(Ee.u($e))return new Date;if($e instanceof Date)return new Date($e);if("string"==typeof $e&&!/Z$/i.test($e)){var We=$e.match(I);if(We){var Me=We[2]-1||0,ut=(We[7]||"0").substring(0,3);return Tt?new Date(Date.UTC(We[1],Me,We[3]||1,We[4]||0,We[5]||0,We[6]||0,ut)):new Date(We[1],Me,We[3]||1,We[4]||0,We[5]||0,We[6]||0,ut)}}return new Date($e)}(ye),this.init()},ce.init=function(){var ye=this.$d;this.$y=ye.getFullYear(),this.$M=ye.getMonth(),this.$D=ye.getDate(),this.$W=ye.getDay(),this.$H=ye.getHours(),this.$m=ye.getMinutes(),this.$s=ye.getSeconds(),this.$ms=ye.getMilliseconds()},ce.$utils=function(){return Ee},ce.isValid=function(){return this.$d.toString()!==J},ce.isSame=function(ye,Le){var $e=Z(ye);return this.startOf(Le)<=$e&&$e<=this.endOf(Le)},ce.isAfter=function(ye,Le){return Z(ye)<this.startOf(Le)},ce.isBefore=function(ye,Le){return this.endOf(Le)<Z(ye)},ce.$g=function(ye,Le,$e){return Ee.u(ye)?this[Le]:this.set($e,ye)},ce.unix=function(){return Math.floor(this.valueOf()/1e3)},ce.valueOf=function(){return this.$d.getTime()},ce.startOf=function(ye,Le){var $e=this,Tt=!!Ee.u(Le)||Le,We=Ee.p(ye),Me=function(be,de){var G=Ee.w($e.$u?Date.UTC($e.$y,de,be):new Date($e.$y,de,be),$e);return Tt?G:G.endOf(y)},ut=function(be,de){return Ee.w($e.toDate()[be].apply($e.toDate("s"),(Tt?[0,0,0,0]:[23,59,59,999]).slice(de)),$e)},xe=this.$W,Te=this.$M,Ce=this.$D,et="set"+(this.$u?"UTC":"");switch(We){case M:return Tt?Me(1,0):Me(31,11);case x:return Tt?Me(1,Te):Me(0,Te+1);case b:var he=this.$locale().weekStart||0,ve=(xe<he?xe+7:xe)-he;return Me(Tt?Ce-ve:Ce+(6-ve),Te);case y:case U:return ut(et+"Hours",0);case D:return ut(et+"Minutes",1);case P:return ut(et+"Seconds",2);case f:return ut(et+"Milliseconds",3);default:return this.clone()}},ce.endOf=function(ye){return this.startOf(ye,!1)},ce.$set=function(ye,Le){var $e,Tt=Ee.p(ye),We="set"+(this.$u?"UTC":""),Me=($e={},$e[y]=We+"Date",$e[U]=We+"Date",$e[x]=We+"Month",$e[M]=We+"FullYear",$e[D]=We+"Hours",$e[P]=We+"Minutes",$e[f]=We+"Seconds",$e[s]=We+"Milliseconds",$e)[Tt],ut=Tt===y?this.$D+(Le-this.$W):Le;if(Tt===x||Tt===M){var xe=this.clone().set(U,1);xe.$d[Me](ut),xe.init(),this.$d=xe.set(U,Math.min(this.$D,xe.daysInMonth())).$d}else Me&&this.$d[Me](ut);return this.init(),this},ce.set=function(ye,Le){return this.clone().$set(ye,Le)},ce.get=function(ye){return this[Ee.p(ye)]()},ce.add=function(ye,Le){var $e,Tt=this;ye=Number(ye);var We=Ee.p(Le),Me=function(Te){var Ce=Z(Tt);return Ee.w(Ce.date(Ce.date()+Math.round(Te*ye)),Tt)};if(We===x)return this.set(x,this.$M+ye);if(We===M)return this.set(M,this.$y+ye);if(We===y)return Me(1);if(We===b)return Me(7);var ut=($e={},$e[P]=h,$e[D]=m,$e[f]=pe,$e)[We]||1,xe=this.$d.getTime()+ye*ut;return Ee.w(xe,this)},ce.subtract=function(ye,Le){return this.add(-1*ye,Le)},ce.format=function(ye){var Le=this,$e=this.$locale();if(!this.isValid())return $e.invalidDate||J;var Tt=ye||"YYYY-MM-DDTHH:mm:ssZ",We=Ee.z(this),Me=this.$H,ut=this.$m,xe=this.$M,Te=$e.weekdays,Ce=$e.months,et=$e.meridiem,he=function(de,G,Fe,He){return de&&(de[G]||de(Le,Tt))||Fe[G].slice(0,He)},ve=function(de){return Ee.s(Me%12||12,de,"0")},be=et||function(de,G,Fe){var He=de<12?"AM":"PM";return Fe?He.toLowerCase():He};return Tt.replace(T,function(de,G){return G||function(Fe){switch(Fe){case"YY":return String(Le.$y).slice(-2);case"YYYY":return Ee.s(Le.$y,4,"0");case"M":return xe+1;case"MM":return Ee.s(xe+1,2,"0");case"MMM":return he($e.monthsShort,xe,Ce,3);case"MMMM":return he(Ce,xe);case"D":return Le.$D;case"DD":return Ee.s(Le.$D,2,"0");case"d":return String(Le.$W);case"dd":return he($e.weekdaysMin,Le.$W,Te,2);case"ddd":return he($e.weekdaysShort,Le.$W,Te,3);case"dddd":return Te[Le.$W];case"H":return String(Me);case"HH":return Ee.s(Me,2,"0");case"h":return ve(1);case"hh":return ve(2);case"a":return be(Me,ut,!0);case"A":return be(Me,ut,!1);case"m":return String(ut);case"mm":return Ee.s(ut,2,"0");case"s":return String(Le.$s);case"ss":return Ee.s(Le.$s,2,"0");case"SSS":return Ee.s(Le.$ms,3,"0");case"Z":return We}return null}(de)||We.replace(":","")})},ce.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ce.diff=function(ye,Le,$e){var Tt,We=this,Me=Ee.p(Le),ut=Z(ye),xe=(ut.utcOffset()-this.utcOffset())*h,Te=this-ut,Ce=function(){return Ee.m(We,ut)};switch(Me){case M:Tt=Ce()/12;break;case x:Tt=Ce();break;case N:Tt=Ce()/3;break;case b:Tt=(Te-xe)/6048e5;break;case y:Tt=(Te-xe)/864e5;break;case D:Tt=Te/m;break;case P:Tt=Te/h;break;case f:Tt=Te/pe;break;default:Tt=Te}return $e?Tt:Ee.a(Tt)},ce.daysInMonth=function(){return this.endOf(x).$D},ce.$locale=function(){return $[this.$L]},ce.locale=function(ye,Le){if(!ye)return this.$L;var $e=this.clone(),Tt=O(ye,Le,!0);return Tt&&($e.$L=Tt),$e},ce.clone=function(){return Ee.w(this.$d,this)},ce.toDate=function(){return new Date(this.valueOf())},ce.toJSON=function(){return this.isValid()?this.toISOString():null},ce.toISOString=function(){return this.$d.toISOString()},ce.toString=function(){return this.$d.toUTCString()},te}(),j=oe.prototype;return Z.prototype=j,[["$ms",s],["$s",f],["$m",P],["$H",D],["$W",y],["$M",x],["$y",M],["$D",U]].forEach(function(te){j[te[1]]=function(ce){return this.$g(ce,te[0],te[1])}}),Z.extend=function(te,ce){return te.$i||(te(ce,oe,Z),te.$i=!0),Z},Z.locale=O,Z.isDayjs=w,Z.unix=function(te){return Z(1e3*te)},Z.en=$[F],Z.Ls=$,Z.p={},Z}()},7532(st,pe,h){st.exports=function(m){"use strict";function s(b){return b&&"object"==typeof b&&"default"in b?b:{default:b}}var f=s(m),P={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function D(b,x,N){var M=P[N];return Array.isArray(M)&&(M=M[x?0:1]),M.replace("%d",b)}var y={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(b){return b+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:D,m:D,mm:D,h:D,hh:D,d:D,dd:D,M:D,MM:D,y:D,yy:D}};return f.default.locale(y,null,!0),y}(h(23419))},65751(st,pe,h){st.exports=function(m){"use strict";function s(D){return D&&"object"==typeof D&&"default"in D?D:{default:D}}var f=s(m),P={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(D){return D+"\xba"}};return f.default.locale(P,null,!0),P}(h(23419))},99835(st,pe,h){st.exports=function(m){"use strict";function s(D){return D&&"object"==typeof D&&"default"in D?D:{default:D}}var f=s(m),P={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(D){return D+(1===D?"er":"")}};return f.default.locale(P,null,!0),P}(h(23419))},17984(st,pe,h){st.exports=function(m){"use strict";function s(D){return D&&"object"==typeof D&&"default"in D?D:{default:D}}var f=s(m),P={name:"hu",weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),ordinal:function(D){return D+"."},weekStart:1,relativeTime:{future:"%s m\xfalva",past:"%s",s:function(D,y,b,x){return"n\xe9h\xe1ny m\xe1sodperc"+(x||y?"":"e")},m:function(D,y,b,x){return"egy perc"+(x||y?"":"e")},mm:function(D,y,b,x){return D+" perc"+(x||y?"":"e")},h:function(D,y,b,x){return"egy "+(x||y?"\xf3ra":"\xf3r\xe1ja")},hh:function(D,y,b,x){return D+" "+(x||y?"\xf3ra":"\xf3r\xe1ja")},d:function(D,y,b,x){return"egy "+(x||y?"nap":"napja")},dd:function(D,y,b,x){return D+" "+(x||y?"nap":"napja")},M:function(D,y,b,x){return"egy "+(x||y?"h\xf3nap":"h\xf3napja")},MM:function(D,y,b,x){return D+" "+(x||y?"h\xf3nap":"h\xf3napja")},y:function(D,y,b,x){return"egy "+(x||y?"\xe9v":"\xe9ve")},yy:function(D,y,b,x){return D+" "+(x||y?"\xe9v":"\xe9ve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return f.default.locale(P,null,!0),P}(h(23419))},53415(st,pe,h){st.exports=function(m){"use strict";function s(U){return U&&"object"==typeof U&&"default"in U?U:{default:U}}var f=s(m);function P(U){return U%10<5&&U%10>1&&~~(U/10)%10!=1}function D(U,J,I){var T=U+" ";switch(I){case"m":return J?"minuta":"minut\u0119";case"mm":return T+(P(U)?"minuty":"minut");case"h":return J?"godzina":"godzin\u0119";case"hh":return T+(P(U)?"godziny":"godzin");case"MM":return T+(P(U)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return T+(P(U)?"lata":"lat")}}var y="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),b="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),x=/D MMMM/,N=function(U,J){return x.test(J)?y[U.month()]:b[U.month()]};N.s=b,N.f=y;var M={name:"pl",weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),months:N,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),ordinal:function(U){return U+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:D,mm:D,h:D,hh:D,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:D,y:"rok",yy:D},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return f.default.locale(M,null,!0),M}(h(23419))},89604(st,pe,h){st.exports=function(m){"use strict";function s(D){return D&&"object"==typeof D&&"default"in D?D:{default:D}}var f=s(m),P={name:"pt-br",weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(D){return D+"\xba"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"}};return f.default.locale(P,null,!0),P}(h(23419))},31423(st,pe,h){st.exports=function(m){"use strict";function s(D){return D&&"object"==typeof D&&"default"in D?D:{default:D}}var f=s(m),P={name:"pt",weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_Sa".split("_"),months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(D){return D+"\xba"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"}};return f.default.locale(P,null,!0),P}(h(23419))},12926(st,pe,h){st.exports=function(m){"use strict";function s(I){return I&&"object"==typeof I&&"default"in I?I:{default:I}}var f=s(m),P="\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),D="\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),y="\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),b="\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),x=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function N(I,T,C){var R,B;return"m"===C?T?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":I+" "+(R=+I,B={mm:T?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[C].split("_"),R%10==1&&R%100!=11?B[0]:R%10>=2&&R%10<=4&&(R%100<10||R%100>=20)?B[1]:B[2])}var M=function(I,T){return x.test(T)?P[I.month()]:D[I.month()]};M.s=D,M.f=P;var U=function(I,T){return x.test(T)?y[I.month()]:b[I.month()]};U.s=b,U.f=y;var J={name:"ru",weekdays:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u0432\u0441\u043a_\u043f\u043d\u0434_\u0432\u0442\u0440_\u0441\u0440\u0434_\u0447\u0442\u0432_\u043f\u0442\u043d_\u0441\u0431\u0442".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),months:M,monthsShort:U,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",m:N,mm:N,h:"\u0447\u0430\u0441",hh:N,d:"\u0434\u0435\u043d\u044c",dd:N,M:"\u043c\u0435\u0441\u044f\u0446",MM:N,y:"\u0433\u043e\u0434",yy:N},ordinal:function(I){return I},meridiem:function(I){return I<4?"\u043d\u043e\u0447\u0438":I<12?"\u0443\u0442\u0440\u0430":I<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"}};return f.default.locale(J,null,!0),J}(h(23419))},18303(st,pe,h){st.exports=function(m){"use strict";function s(M){return M&&"object"==typeof M&&"default"in M?M:{default:M}}var f=s(m),P="\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),D="\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_"),y=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function b(M,U,J){var I,T;return"m"===J?U?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===J?U?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":M+" "+(I=+M,T={ss:U?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:U?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:U?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[J].split("_"),I%10==1&&I%100!=11?T[0]:I%10>=2&&I%10<=4&&(I%100<10||I%100>=20)?T[1]:T[2])}var x=function(M,U){return y.test(U)?P[M.month()]:D[M.month()]};x.s=D,x.f=P;var N={name:"uk",weekdays:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0434\u043b_\u043f\u043d\u0434_\u0432\u0442\u0440_\u0441\u0440\u0434_\u0447\u0442\u0432_\u043f\u0442\u043d_\u0441\u0431\u0442".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),months:x,monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekStart:1,relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",m:b,mm:b,h:b,hh:b,d:"\u0434\u0435\u043d\u044c",dd:b,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:b,y:"\u0440\u0456\u043a",yy:b},ordinal:function(M){return M},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"}};return f.default.locale(N,null,!0),N}(h(23419))},63343(st){st.exports=function(){"use strict";var pe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},h=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,m=/\d/,s=/\d\d/,f=/\d\d?/,P=/\d*[^-_:/,()\s\d]+/,D={},y=function(I){return(I=+I)+(I>68?1900:2e3)},b=function(I){return function(T){this[I]=+T}},x=[/[+-]\d\d:?(\d\d)?|Z/,function(I){(this.zone||(this.zone={})).offset=function(T){if(!T||"Z"===T)return 0;var C=T.match(/([+-]|\d\d)/g),R=60*C[1]+(+C[2]||0);return 0===R?0:"+"===C[0]?-R:R}(I)}],N=function(I){var T=D[I];return T&&(T.indexOf?T:T.s.concat(T.f))},M=function(I,T){var C,R=D.meridiem;if(R){for(var B=1;B<=24;B+=1)if(I.indexOf(R(B,0,T))>-1){C=B>12;break}}else C=I===(T?"pm":"PM");return C},U={A:[P,function(I){this.afternoon=M(I,!1)}],a:[P,function(I){this.afternoon=M(I,!0)}],Q:[m,function(I){this.month=3*(I-1)+1}],S:[m,function(I){this.milliseconds=100*+I}],SS:[s,function(I){this.milliseconds=10*+I}],SSS:[/\d{3}/,function(I){this.milliseconds=+I}],s:[f,b("seconds")],ss:[f,b("seconds")],m:[f,b("minutes")],mm:[f,b("minutes")],H:[f,b("hours")],h:[f,b("hours")],HH:[f,b("hours")],hh:[f,b("hours")],D:[f,b("day")],DD:[s,b("day")],Do:[P,function(I){var T=D.ordinal,C=I.match(/\d+/);if(this.day=C[0],T)for(var R=1;R<=31;R+=1)T(R).replace(/\[|\]/g,"")===I&&(this.day=R)}],w:[f,b("week")],ww:[s,b("week")],M:[f,b("month")],MM:[s,b("month")],MMM:[P,function(I){var T=N("months"),C=(N("monthsShort")||T.map(function(R){return R.slice(0,3)})).indexOf(I)+1;if(C<1)throw new Error;this.month=C%12||C}],MMMM:[P,function(I){var T=N("months").indexOf(I)+1;if(T<1)throw new Error;this.month=T%12||T}],Y:[/[+-]?\d+/,b("year")],YY:[s,function(I){this.year=y(I)}],YYYY:[/\d{4}/,b("year")],Z:x,ZZ:x};function J(I){var T,C;T=I,C=D&&D.formats;for(var R=(I=T.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Z,Ee,oe){var j=oe&&oe.toUpperCase();return Ee||C[oe]||pe[oe]||C[j].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(te,ce,ye){return ce||ye.slice(1)})})).match(h),B=R.length,F=0;F<B;F+=1){var $=R[F],E=U[$],w=E&&E[0],O=E&&E[1];R[F]=O?{regex:w,parser:O}:$.replace(/^\[|\]$/g,"")}return function(Z){for(var Ee={},oe=0,j=0;oe<B;oe+=1){var te=R[oe];if("string"==typeof te)j+=te.length;else{var ce=te.regex,ye=te.parser,Le=Z.slice(j),$e=ce.exec(Le)[0];ye.call(Ee,$e),Z=Z.replace($e,"")}}return function(Tt){var We=Tt.afternoon;if(void 0!==We){var Me=Tt.hours;We?Me<12&&(Tt.hours+=12):12===Me&&(Tt.hours=0),delete Tt.afternoon}}(Ee),Ee}}return function(I,T,C){C.p.customParseFormat=!0,I&&I.parseTwoDigitYear&&(y=I.parseTwoDigitYear);var R=T.prototype,B=R.parse;R.parse=function(F){var $=F.date,E=F.utc,w=F.args;this.$u=E;var O=w[1];if("string"==typeof O){var Z=!0===w[2],Ee=!0===w[3],oe=Z||Ee,j=w[2];Ee&&(j=w[2]),D=this.$locale(),!Z&&j&&(D=C.Ls[j]),this.$d=function(Le,$e,Tt,We){try{if(["x","X"].indexOf($e)>-1)return new Date(("X"===$e?1e3:1)*Le);var Me=J($e)(Le),ut=Me.year,xe=Me.month,Te=Me.day,Ce=Me.hours,et=Me.minutes,he=Me.seconds,ve=Me.milliseconds,be=Me.zone,de=Me.week,G=new Date,Fe=Te||(ut||xe?1:G.getDate()),He=ut||G.getFullYear(),wt=0;ut&&!xe||(wt=xe>0?xe-1:G.getMonth());var Jt,ee=Ce||0,V=et||0,ue=he||0,De=ve||0;return be?new Date(Date.UTC(He,wt,Fe,ee,V,ue,De+60*be.offset*1e3)):Tt?new Date(Date.UTC(He,wt,Fe,ee,V,ue,De)):(Jt=new Date(He,wt,Fe,ee,V,ue,De),de&&(Jt=We(Jt).week(de).toDate()),Jt)}catch{return new Date("")}}($,O,E,C),this.init(),j&&!0!==j&&(this.$L=this.locale(j).$L),oe&&$!=this.format(O)&&(this.$d=new Date("")),D={}}else if(O instanceof Array)for(var te=O.length,ce=1;ce<=te;ce+=1){w[1]=O[ce-1];var ye=C.apply(this,w);if(ye.isValid()){this.$d=ye.$d,this.$L=ye.$L,this.init();break}ce===te&&(this.$d=new Date(""))}else B.call(this,F)}}}()},86932(st){st.exports=function(){"use strict";var pe,h,m=1e3,s=6e4,f=36e5,P=864e5,D=31536e6,y=2628e6,b=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,x=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,N={years:D,months:y,days:P,hours:f,minutes:s,seconds:m,milliseconds:1,weeks:6048e5},M=function($){return $ instanceof B},U=function($,E,w){return new B($,w,E.$l)},J=function($){return h.p($)+"s"},I=function($){return $<0},T=function($){return I($)?Math.ceil($):Math.floor($)},C=function($){return Math.abs($)},R=function($,E){return $?I($)?{negative:!0,format:""+C($)+E}:{negative:!1,format:""+$+E}:{negative:!1,format:""}},B=function(){function $(w,O,Z){var Ee=this;if(this.$d={},this.$l=Z,void 0===w&&(this.$ms=0,this.parseFromMilliseconds()),O)return U(w*N[J(O)],this);if("number"==typeof w)return this.$ms=w,this.parseFromMilliseconds(),this;if("object"==typeof w)return Object.keys(w).forEach(function(te){Ee.$d[J(te)]=w[te]}),this.calMilliseconds(),this;if("string"==typeof w){var oe=w.match(b);if(oe){var j=oe.slice(2).map(function(te){return null!=te?Number(te):0});return this.$d.years=j[0],this.$d.months=j[1],this.$d.weeks=j[2],this.$d.days=j[3],this.$d.hours=j[4],this.$d.minutes=j[5],this.$d.seconds=j[6],this.calMilliseconds(),this}}return this}var E=$.prototype;return E.calMilliseconds=function(){var w=this;this.$ms=Object.keys(this.$d).reduce(function(O,Z){return O+(w.$d[Z]||0)*N[Z]},0)},E.parseFromMilliseconds=function(){var w=this.$ms;this.$d.years=T(w/D),w%=D,this.$d.months=T(w/y),w%=y,this.$d.days=T(w/P),w%=P,this.$d.hours=T(w/f),w%=f,this.$d.minutes=T(w/s),w%=s,this.$d.seconds=T(w/m),w%=m,this.$d.milliseconds=w},E.toISOString=function(){var w=R(this.$d.years,"Y"),O=R(this.$d.months,"M"),Z=+this.$d.days||0;this.$d.weeks&&(Z+=7*this.$d.weeks);var Ee=R(Z,"D"),oe=R(this.$d.hours,"H"),j=R(this.$d.minutes,"M"),te=this.$d.seconds||0;this.$d.milliseconds&&(te+=this.$d.milliseconds/1e3,te=Math.round(1e3*te)/1e3);var ce=R(te,"S"),ye=w.negative||O.negative||Ee.negative||oe.negative||j.negative||ce.negative,Le=oe.format||j.format||ce.format?"T":"",$e=(ye?"-":"")+"P"+w.format+O.format+Ee.format+Le+oe.format+j.format+ce.format;return"P"===$e||"-P"===$e?"P0D":$e},E.toJSON=function(){return this.toISOString()},E.format=function(w){var O=w||"YYYY-MM-DDTHH:mm:ss",Z={Y:this.$d.years,YY:h.s(this.$d.years,2,"0"),YYYY:h.s(this.$d.years,4,"0"),M:this.$d.months,MM:h.s(this.$d.months,2,"0"),D:this.$d.days,DD:h.s(this.$d.days,2,"0"),H:this.$d.hours,HH:h.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:h.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:h.s(this.$d.seconds,2,"0"),SSS:h.s(this.$d.milliseconds,3,"0")};return O.replace(x,function(Ee,oe){return oe||String(Z[Ee])})},E.as=function(w){return this.$ms/N[J(w)]},E.get=function(w){var O=this.$ms,Z=J(w);return"milliseconds"===Z?O%=1e3:O="weeks"===Z?T(O/N[Z]):this.$d[Z],O||0},E.add=function(w,O,Z){var Ee;return Ee=O?w*N[J(O)]:M(w)?w.$ms:U(w,this).$ms,U(this.$ms+Ee*(Z?-1:1),this)},E.subtract=function(w,O){return this.add(w,O,!0)},E.locale=function(w){var O=this.clone();return O.$l=w,O},E.clone=function(){return U(this.$ms,this)},E.humanize=function(w){return pe().add(this.$ms,"ms").locale(this.$l).fromNow(!w)},E.valueOf=function(){return this.asMilliseconds()},E.milliseconds=function(){return this.get("milliseconds")},E.asMilliseconds=function(){return this.as("milliseconds")},E.seconds=function(){return this.get("seconds")},E.asSeconds=function(){return this.as("seconds")},E.minutes=function(){return this.get("minutes")},E.asMinutes=function(){return this.as("minutes")},E.hours=function(){return this.get("hours")},E.asHours=function(){return this.as("hours")},E.days=function(){return this.get("days")},E.asDays=function(){return this.as("days")},E.weeks=function(){return this.get("weeks")},E.asWeeks=function(){return this.as("weeks")},E.months=function(){return this.get("months")},E.asMonths=function(){return this.as("months")},E.years=function(){return this.get("years")},E.asYears=function(){return this.as("years")},$}(),F=function($,E,w){return $.add(E.years()*w,"y").add(E.months()*w,"M").add(E.days()*w,"d").add(E.hours()*w,"h").add(E.minutes()*w,"m").add(E.seconds()*w,"s").add(E.milliseconds()*w,"ms")};return function($,E,w){pe=w,h=w().$utils(),w.duration=function(Ee,oe){var j=w.locale();return U(Ee,{$l:j},oe)},w.isDuration=M;var O=E.prototype.add,Z=E.prototype.subtract;E.prototype.add=function(Ee,oe){return M(Ee)?F(this,Ee,1):O.bind(this)(Ee,oe)},E.prototype.subtract=function(Ee,oe){return M(Ee)?F(this,Ee,-1):Z.bind(this)(Ee,oe)}}}()},27144(st){st.exports=function(){"use strict";return function(pe,h){h.prototype.isSameOrBefore=function(m,s){return this.isSame(m,s)||this.isBefore(m,s)}}}()},54222(st){st.exports=function(){"use strict";return function(pe,h,m){var s=h.prototype,f=function(x){return x&&(x.indexOf?x:x.s)},P=function(x,N,M,U,J){var I=x.name?x:x.$locale(),T=f(I[N]),C=f(I[M]),R=T||C.map(function(F){return F.slice(0,U)});if(!J)return R;var B=I.weekStart;return R.map(function(F,$){return R[($+(B||0))%7]})},D=function(){return m.Ls[m.locale()]},y=function(x,N){return x.formats[N]||x.formats[N.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(U,J,I){return J||I.slice(1)})},b=function(){var x=this;return{months:function(N){return N?N.format("MMMM"):P(x,"months")},monthsShort:function(N){return N?N.format("MMM"):P(x,"monthsShort","months",3)},firstDayOfWeek:function(){return x.$locale().weekStart||0},weekdays:function(N){return N?N.format("dddd"):P(x,"weekdays")},weekdaysMin:function(N){return N?N.format("dd"):P(x,"weekdaysMin","weekdays",2)},weekdaysShort:function(N){return N?N.format("ddd"):P(x,"weekdaysShort","weekdays",3)},longDateFormat:function(N){return y(x.$locale(),N)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};s.localeData=function(){return b.bind(this)()},m.localeData=function(){var x=D();return{firstDayOfWeek:function(){return x.weekStart||0},weekdays:function(){return m.weekdays()},weekdaysShort:function(){return m.weekdaysShort()},weekdaysMin:function(){return m.weekdaysMin()},months:function(){return m.months()},monthsShort:function(){return m.monthsShort()},longDateFormat:function(N){return y(x,N)},meridiem:x.meridiem,ordinal:x.ordinal}},m.months=function(){return P(D(),"months")},m.monthsShort=function(){return P(D(),"monthsShort","months",3)},m.weekdays=function(x){return P(D(),"weekdays",null,null,x)},m.weekdaysShort=function(x){return P(D(),"weekdaysShort","weekdays",3,x)},m.weekdaysMin=function(x){return P(D(),"weekdaysMin","weekdays",2,x)}}}()},37053(st){st.exports=function(){"use strict";return function(pe,h,m){pe=pe||{};var s=h.prototype,f={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function P(y,b,x,N){return s.fromToBase(y,b,x,N)}m.en.relativeTime=f,s.fromToBase=function(y,b,x,N,M){for(var U,J,I,T=x.$locale().relativeTime||f,C=pe.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],R=C.length,B=0;B<R;B+=1){var F=C[B];F.d&&(U=N?m(y).diff(x,F.d,!0):x.diff(y,F.d,!0));var $=(pe.rounding||Math.round)(Math.abs(U));if(I=U>0,$<=F.r||!F.r){$<=1&&B>0&&(F=C[B-1]);var E=T[F.l];M&&($=M(""+$)),J="string"==typeof E?E.replace("%d",$):E($,b,F.l,I);break}}if(b)return J;var w=I?T.future:T.past;return"function"==typeof w?w(J):w.replace("%s",J)},s.to=function(y,b){return P(y,b,this,!0)},s.from=function(y,b){return P(y,b,this)};var D=function(y){return y.$u?m.utc():m()};s.toNow=function(y){return this.to(D(this),y)},s.fromNow=function(y){return this.from(D(this),y)}}}()},4120(st){st.exports=function(){"use strict";var pe="week",h="year";return function(m,s,f){var P=s.prototype;P.week=function(D){if(void 0===D&&(D=null),null!==D)return this.add(7*(D-this.week()),"day");var y=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var b=f(this).startOf(h).add(1,h).date(y),x=f(this).endOf(pe);if(b.isBefore(x))return 1}var N=f(this).startOf(h).date(y).startOf(pe).subtract(1,"millisecond"),M=this.diff(N,pe,!0);return M<0?f(this).startOf("week").week():Math.ceil(M)},P.weeks=function(D){return void 0===D&&(D=null),this.week(D)}}}()},95961(st){"use strict";var m,pe="object"==typeof Reflect?Reflect:null,h=pe&&"function"==typeof pe.apply?pe.apply:function(E,w,O){return Function.prototype.apply.call(E,w,O)};m=pe&&"function"==typeof pe.ownKeys?pe.ownKeys:Object.getOwnPropertySymbols?function(E){return Object.getOwnPropertyNames(E).concat(Object.getOwnPropertySymbols(E))}:function(E){return Object.getOwnPropertyNames(E)};var f=Number.isNaN||function(E){return E!=E};function P(){P.init.call(this)}st.exports=P,st.exports.once=function R($,E){return new Promise(function(w,O){function Z(oe){$.removeListener(E,Ee),O(oe)}function Ee(){"function"==typeof $.removeListener&&$.removeListener("error",Z),w([].slice.call(arguments))}F($,E,Ee,{once:!0}),"error"!==E&&function B($,E,w){"function"==typeof $.on&&F($,"error",E,w)}($,Z,{once:!0})})},P.EventEmitter=P,P.prototype._events=void 0,P.prototype._eventsCount=0,P.prototype._maxListeners=void 0;var D=10;function y($){if("function"!=typeof $)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof $)}function b($){return void 0===$._maxListeners?P.defaultMaxListeners:$._maxListeners}function x($,E,w,O){var Z,Ee,oe;if(y(w),void 0===(Ee=$._events)?(Ee=$._events=Object.create(null),$._eventsCount=0):(void 0!==Ee.newListener&&($.emit("newListener",E,w.listener?w.listener:w),Ee=$._events),oe=Ee[E]),void 0===oe)oe=Ee[E]=w,++$._eventsCount;else if("function"==typeof oe?oe=Ee[E]=O?[w,oe]:[oe,w]:O?oe.unshift(w):oe.push(w),(Z=b($))>0&&oe.length>Z&&!oe.warned){oe.warned=!0;var j=new Error("Possible EventEmitter memory leak detected. "+oe.length+" "+String(E)+" listeners added. Use emitter.setMaxListeners() to increase limit");j.name="MaxListenersExceededWarning",j.emitter=$,j.type=E,j.count=oe.length,function s($){console&&console.warn&&console.warn($)}(j)}return $}function N(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function M($,E,w){var O={fired:!1,wrapFn:void 0,target:$,type:E,listener:w},Z=N.bind(O);return Z.listener=w,O.wrapFn=Z,Z}function U($,E,w){var O=$._events;if(void 0===O)return[];var Z=O[E];return void 0===Z?[]:"function"==typeof Z?w?[Z.listener||Z]:[Z]:w?function C($){for(var E=new Array($.length),w=0;w<E.length;++w)E[w]=$[w].listener||$[w];return E}(Z):I(Z,Z.length)}function J($){var E=this._events;if(void 0!==E){var w=E[$];if("function"==typeof w)return 1;if(void 0!==w)return w.length}return 0}function I($,E){for(var w=new Array(E),O=0;O<E;++O)w[O]=$[O];return w}function F($,E,w,O){if("function"==typeof $.on)O.once?$.once(E,w):$.on(E,w);else{if("function"!=typeof $.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof $);$.addEventListener(E,function Z(Ee){O.once&&$.removeEventListener(E,Z),w(Ee)})}}Object.defineProperty(P,"defaultMaxListeners",{enumerable:!0,get:function(){return D},set:function($){if("number"!=typeof $||$<0||f($))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+$+".");D=$}}),P.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},P.prototype.setMaxListeners=function(E){if("number"!=typeof E||E<0||f(E))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+E+".");return this._maxListeners=E,this},P.prototype.getMaxListeners=function(){return b(this)},P.prototype.emit=function(E){for(var w=[],O=1;O<arguments.length;O++)w.push(arguments[O]);var Z="error"===E,Ee=this._events;if(void 0!==Ee)Z=Z&&void 0===Ee.error;else if(!Z)return!1;if(Z){var oe;if(w.length>0&&(oe=w[0]),oe instanceof Error)throw oe;var j=new Error("Unhandled error."+(oe?" ("+oe.message+")":""));throw j.context=oe,j}var te=Ee[E];if(void 0===te)return!1;if("function"==typeof te)h(te,this,w);else{var ce=te.length,ye=I(te,ce);for(O=0;O<ce;++O)h(ye[O],this,w)}return!0},P.prototype.addListener=function(E,w){return x(this,E,w,!1)},P.prototype.on=P.prototype.addListener,P.prototype.prependListener=function(E,w){return x(this,E,w,!0)},P.prototype.once=function(E,w){return y(w),this.on(E,M(this,E,w)),this},P.prototype.prependOnceListener=function(E,w){return y(w),this.prependListener(E,M(this,E,w)),this},P.prototype.removeListener=function(E,w){var O,Z,Ee,oe,j;if(y(w),void 0===(Z=this._events))return this;if(void 0===(O=Z[E]))return this;if(O===w||O.listener===w)0===--this._eventsCount?this._events=Object.create(null):(delete Z[E],Z.removeListener&&this.emit("removeListener",E,O.listener||w));else if("function"!=typeof O){for(Ee=-1,oe=O.length-1;oe>=0;oe--)if(O[oe]===w||O[oe].listener===w){j=O[oe].listener,Ee=oe;break}if(Ee<0)return this;0===Ee?O.shift():function T($,E){for(;E+1<$.length;E++)$[E]=$[E+1];$.pop()}(O,Ee),1===O.length&&(Z[E]=O[0]),void 0!==Z.removeListener&&this.emit("removeListener",E,j||w)}return this},P.prototype.off=P.prototype.removeListener,P.prototype.removeAllListeners=function(E){var w,O,Z;if(void 0===(O=this._events))return this;if(void 0===O.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==O[E]&&(0===--this._eventsCount?this._events=Object.create(null):delete O[E]),this;if(0===arguments.length){var oe,Ee=Object.keys(O);for(Z=0;Z<Ee.length;++Z)"removeListener"!==(oe=Ee[Z])&&this.removeAllListeners(oe);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(w=O[E]))this.removeListener(E,w);else if(void 0!==w)for(Z=w.length-1;Z>=0;Z--)this.removeListener(E,w[Z]);return this},P.prototype.listeners=function(E){return U(this,E,!0)},P.prototype.rawListeners=function(E){return U(this,E,!1)},P.listenerCount=function($,E){return"function"==typeof $.listenerCount?$.listenerCount(E):J.call($,E)},P.prototype.listenerCount=J,P.prototype.eventNames=function(){return this._eventsCount>0?m(this._events):[]}},33039(st,pe){var h,m,s;m=[],void 0!==(s="function"==typeof(h=function(){"use strict";function f(M,U){return typeof U>"u"?U={autoBom:!1}:"object"!=typeof U&&(console.warn("Deprecated: Expected third argument to be a object"),U={autoBom:!U}),U.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(M.type)?new Blob(["\ufeff",M],{type:M.type}):M}function P(M,U,J){var I=new XMLHttpRequest;I.open("GET",M),I.responseType="blob",I.onload=function(){N(I.response,U,J)},I.onerror=function(){console.error("could not download file")},I.send()}function D(M){var U=new XMLHttpRequest;U.open("HEAD",M,!1);try{U.send()}catch{}return 200<=U.status&&299>=U.status}function y(M){try{M.dispatchEvent(new MouseEvent("click"))}catch{var U=document.createEvent("MouseEvents");U.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),M.dispatchEvent(U)}}var b="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,x=b.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),N=b.saveAs||("object"!=typeof window||window!==b?function(){}:"download"in HTMLAnchorElement.prototype&&!x?function(M,U,J){var I=b.URL||b.webkitURL,T=document.createElement("a");U=U||M.name||"download",T.download=U,T.rel="noopener","string"==typeof M?(T.href=M,T.origin===location.origin?y(T):D(T.href)?P(M,U,J):y(T,T.target="_blank")):(T.href=I.createObjectURL(M),setTimeout(function(){I.revokeObjectURL(T.href)},4e4),setTimeout(function(){y(T)},0))}:"msSaveOrOpenBlob"in navigator?function(M,U,J){if(U=U||M.name||"download","string"!=typeof M)navigator.msSaveOrOpenBlob(f(M,J),U);else if(D(M))P(M,U,J);else{var I=document.createElement("a");I.href=M,I.target="_blank",setTimeout(function(){y(I)})}}:function(M,U,J,I){if((I=I||open("","_blank"))&&(I.document.title=I.document.body.innerText="downloading..."),"string"==typeof M)return P(M,U,J);var T="application/octet-stream"===M.type,C=/constructor/i.test(b.HTMLElement)||b.safari,R=/CriOS\/[\d]+/.test(navigator.userAgent);if((R||T&&C||x)&&typeof FileReader<"u"){var B=new FileReader;B.onloadend=function(){var E=B.result;E=R?E:E.replace(/^data:[^;]*;/,"data:attachment/file;"),I?I.location.href=E:location=E,I=null},B.readAsDataURL(M)}else{var F=b.URL||b.webkitURL,$=F.createObjectURL(M);I?I.location=$:location.href=$,I=null,setTimeout(function(){F.revokeObjectURL($)},4e4)}});b.saveAs=N.saveAs=N,st.exports=N})?h.apply(pe,m):h)&&(st.exports=s)},31181(st,pe){pe.read=function(h,m,s,f,P){var D,y,b=8*P-f-1,x=(1<<b)-1,N=x>>1,M=-7,U=s?P-1:0,J=s?-1:1,I=h[m+U];for(U+=J,D=I&(1<<-M)-1,I>>=-M,M+=b;M>0;D=256*D+h[m+U],U+=J,M-=8);for(y=D&(1<<-M)-1,D>>=-M,M+=f;M>0;y=256*y+h[m+U],U+=J,M-=8);if(0===D)D=1-N;else{if(D===x)return y?NaN:1/0*(I?-1:1);y+=Math.pow(2,f),D-=N}return(I?-1:1)*y*Math.pow(2,D-f)},pe.write=function(h,m,s,f,P,D){var y,b,x,N=8*D-P-1,M=(1<<N)-1,U=M>>1,J=23===P?Math.pow(2,-24)-Math.pow(2,-77):0,I=f?0:D-1,T=f?1:-1,C=m<0||0===m&&1/m<0?1:0;for(m=Math.abs(m),isNaN(m)||m===1/0?(b=isNaN(m)?1:0,y=M):(y=Math.floor(Math.log(m)/Math.LN2),m*(x=Math.pow(2,-y))<1&&(y--,x*=2),(m+=y+U>=1?J/x:J*Math.pow(2,1-U))*x>=2&&(y++,x/=2),y+U>=M?(b=0,y=M):y+U>=1?(b=(m*x-1)*Math.pow(2,P),y+=U):(b=m*Math.pow(2,U-1)*Math.pow(2,P),y=0));P>=8;h[s+I]=255&b,I+=T,b/=256,P-=8);for(y=y<<P|b,N+=P;N>0;h[s+I]=255&y,I+=T,y/=256,N-=8);h[s+I-T]|=128*C}},52608(st){"function"==typeof Object.create?st.exports=function(h,m){m&&(h.super_=m,h.prototype=Object.create(m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}))}:st.exports=function(h,m){if(m){h.super_=m;var s=function(){};s.prototype=m.prototype,h.prototype=new s,h.prototype.constructor=h}}},95769(st,pe,h){var m;st=h.nmd(st),function(){var s,y="Expected a function",N="__lodash_hash_undefined__",U="__lodash_placeholder__",w=16,O=32,Z=64,Ee=128,Me=1/0,ut=9007199254740991,Ce=4294967295,ve=[["ary",Ee],["bind",1],["bindKey",2],["curry",8],["curryRight",w],["flip",512],["partial",O],["partialRight",Z],["rearg",256]],be="[object Arguments]",de="[object Array]",Fe="[object Boolean]",He="[object Date]",Jt="[object Error]",ee="[object Function]",V="[object GeneratorFunction]",ue="[object Map]",De="[object Number]",It="[object Object]",Kt="[object Promise]",ze="[object RegExp]",Mt="[object Set]",Pt="[object String]",bn="[object Symbol]",Lt="[object WeakMap]",Y="[object ArrayBuffer]",fe="[object DataView]",Et="[object Float32Array]",Vt="[object Float64Array]",ln="[object Int8Array]",fn="[object Int16Array]",je="[object Int32Array]",_t="[object Uint8Array]",ht="[object Uint8ClampedArray]",lt="[object Uint16Array]",Oe="[object Uint32Array]",at=/\b__p \+= '';/g,Q=/\b(__p \+=) '' \+/g,Ae=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Qe=/&(?:amp|lt|gt|quot|#39);/g,kt=/[&<>"']/g,cn=RegExp(Qe.source),mn=RegExp(kt.source),Jn=/<%-([\s\S]+?)%>/g,Ti=/<%([\s\S]+?)%>/g,$i=/<%=([\s\S]+?)%>/g,Ei=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ui=/^\w*$/,sr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,pr=/[\\^$.*+?()[\]{}|]/g,Yn=RegExp(pr.source),Yt=/^\s+/,wn=/\s/,zn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Qn=/\{\n\/\* \[wrapped with (.+)\] \*/,pi=/,? & /,Mr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Fr=/[()=,{}\[\]\/\s]/,co=/\\(\\)?/g,lo=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,to=/\w*$/,br=/^[-+]0x[0-9a-f]+$/i,es=/^0b[01]+$/i,qr=/^\[object .+?Constructor\]$/,uo=/^0o[0-7]+$/i,wr=/^(?:0|[1-9]\d*)$/,Qi=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Cr=/($^)/,Ar=/['\n\r\u2028\u2029\\]/g,zt="\\ud800-\\udfff",Kn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",pn="\\u2700-\\u27bf",mi="a-z\\xdf-\\xf6\\xf8-\\xff",Ki="A-Z\\xc0-\\xd6\\xd8-\\xde",vo="\\ufe0e\\ufe0f",Gi="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ze="['\u2019]",tt="["+zt+"]",ft="["+Gi+"]",Ot="["+Kn+"]",sn="\\d+",kn="["+pn+"]",In="["+mi+"]",ti="[^"+zt+Gi+sn+pn+mi+Ki+"]",Yi="\\ud83c[\\udffb-\\udfff]",qi="[^"+zt+"]",Xn="(?:\\ud83c[\\udde6-\\uddff]){2}",Nn="[\\ud800-\\udbff][\\udc00-\\udfff]",Tr="["+Ki+"]",Or="(?:"+In+"|"+ti+")",Pr="(?:"+Tr+"|"+ti+")",Fi="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",ir="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",ts="(?:"+Ot+"|"+Yi+")"+"?",Vr="["+vo+"]?",yo=Vr+ts+("(?:\\u200d(?:"+[qi,Xn,Nn].join("|")+")"+Vr+ts+")*"),$t="(?:"+[kn,Xn,Nn].join("|")+")"+yo,cs="(?:"+[qi+Ot+"?",Ot,Xn,Nn,tt].join("|")+")",Xo=RegExp(Ze,"g"),St=RegExp(Ot,"g"),Pe=RegExp(Yi+"(?="+Yi+")|"+cs+yo,"g"),xt=RegExp([Tr+"?"+In+"+"+Fi+"(?="+[ft,Tr,"$"].join("|")+")",Pr+"+"+ir+"(?="+[ft,Tr+Or,"$"].join("|")+")",Tr+"?"+Or+"+"+Fi,Tr+"+"+ir,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",sn,$t].join("|"),"g"),rn=RegExp("[\\u200d"+zt+Kn+vo+"]"),Ln=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ni=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Sn=-1,Wn={};Wn[Et]=Wn[Vt]=Wn[ln]=Wn[fn]=Wn[je]=Wn[_t]=Wn[ht]=Wn[lt]=Wn[Oe]=!0,Wn[be]=Wn[de]=Wn[Y]=Wn[Fe]=Wn[fe]=Wn[He]=Wn[Jt]=Wn[ee]=Wn[ue]=Wn[De]=Wn[It]=Wn[ze]=Wn[Mt]=Wn[Pt]=Wn[Lt]=!1;var Ui={};Ui[be]=Ui[de]=Ui[Y]=Ui[fe]=Ui[Fe]=Ui[He]=Ui[Et]=Ui[Vt]=Ui[ln]=Ui[fn]=Ui[je]=Ui[ue]=Ui[De]=Ui[It]=Ui[ze]=Ui[Mt]=Ui[Pt]=Ui[bn]=Ui[_t]=Ui[ht]=Ui[lt]=Ui[Oe]=!0,Ui[Jt]=Ui[ee]=Ui[Lt]=!1;var mo={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},no=parseFloat,bo=parseInt,ra="object"==typeof global&&global&&global.Object===Object&&global,ns="object"==typeof self&&self&&self.Object===Object&&self,xo=ra||ns||Function("return this")(),po=pe&&!pe.nodeType&&pe,Eo=po&&st&&!st.nodeType&&st,Do=Eo&&Eo.exports===po,is=Do&&ra.process,Ro=function(){try{return Eo&&Eo.require&&Eo.require("util").types||is&&is.binding&&is.binding("util")}catch{}}(),Co=Ro&&Ro.isArrayBuffer,jo=Ro&&Ro.isDate,hs=Ro&&Ro.isMap,ec=Ro&&Ro.isRegExp,Os=Ro&&Ro.isSet,Ps=Ro&&Ro.isTypedArray;function vs(hn,Hn,Rn){switch(Rn.length){case 0:return hn.call(Hn);case 1:return hn.call(Hn,Rn[0]);case 2:return hn.call(Hn,Rn[0],Rn[1]);case 3:return hn.call(Hn,Rn[0],Rn[1],Rn[2])}return hn.apply(Hn,Rn)}function Cs(hn,Hn,Rn,bi){for(var Zn=-1,ci=null==hn?0:hn.length;++Zn<ci;){var Pi=hn[Zn];Hn(bi,Pi,Rn(Pi),hn)}return bi}function Rr(hn,Hn){for(var Rn=-1,bi=null==hn?0:hn.length;++Rn<bi&&!1!==Hn(hn[Rn],Rn,hn););return hn}function oa(hn,Hn){for(var Rn=null==hn?0:hn.length;Rn--&&!1!==Hn(hn[Rn],Rn,hn););return hn}function ls(hn,Hn){for(var Rn=-1,bi=null==hn?0:hn.length;++Rn<bi;)if(!Hn(hn[Rn],Rn,hn))return!1;return!0}function Ao(hn,Hn){for(var Rn=-1,bi=null==hn?0:hn.length,Zn=0,ci=[];++Rn<bi;){var Pi=hn[Rn];Hn(Pi,Rn,hn)&&(ci[Zn++]=Pi)}return ci}function Rs(hn,Hn){return!!(null==hn?0:hn.length)&&Ls(hn,Hn,0)>-1}function _c(hn,Hn,Rn){for(var bi=-1,Zn=null==hn?0:hn.length;++bi<Zn;)if(Rn(Hn,hn[bi]))return!0;return!1}function Kr(hn,Hn){for(var Rn=-1,bi=null==hn?0:hn.length,Zn=Array(bi);++Rn<bi;)Zn[Rn]=Hn(hn[Rn],Rn,hn);return Zn}function Ns(hn,Hn){for(var Rn=-1,bi=Hn.length,Zn=hn.length;++Rn<bi;)hn[Zn+Rn]=Hn[Rn];return hn}function ys(hn,Hn,Rn,bi){var Zn=-1,ci=null==hn?0:hn.length;for(bi&&ci&&(Rn=hn[++Zn]);++Zn<ci;)Rn=Hn(Rn,hn[Zn],Zn,hn);return Rn}function ho(hn,Hn,Rn,bi){var Zn=null==hn?0:hn.length;for(bi&&Zn&&(Rn=hn[--Zn]);Zn--;)Rn=Hn(Rn,hn[Zn],Zn,hn);return Rn}function ja(hn,Hn){for(var Rn=-1,bi=null==hn?0:hn.length;++Rn<bi;)if(Hn(hn[Rn],Rn,hn))return!0;return!1}var bs=zs("length");function Ta(hn,Hn,Rn){var bi;return Rn(hn,function(Zn,ci,Pi){if(Hn(Zn,ci,Pi))return bi=ci,!1}),bi}function Es(hn,Hn,Rn,bi){for(var Zn=hn.length,ci=Rn+(bi?1:-1);bi?ci--:++ci<Zn;)if(Hn(hn[ci],ci,hn))return ci;return-1}function Ls(hn,Hn,Rn){return Hn==Hn?function En(hn,Hn,Rn){for(var bi=Rn-1,Zn=hn.length;++bi<Zn;)if(hn[bi]===Hn)return bi;return-1}(hn,Hn,Rn):Es(hn,so,Rn)}function Ic(hn,Hn,Rn,bi){for(var Zn=Rn-1,ci=hn.length;++Zn<ci;)if(bi(hn[Zn],Hn))return Zn;return-1}function so(hn){return hn!=hn}function rs(hn,Hn){var Rn=null==hn?0:hn.length;return Rn?sa(hn,Hn)/Rn:NaN}function zs(hn){return function(Hn){return null==Hn?s:Hn[hn]}}function os(hn){return function(Hn){return null==hn?s:hn[Hn]}}function Ks(hn,Hn,Rn,bi,Zn){return Zn(hn,function(ci,Pi,ki){Rn=bi?(bi=!1,ci):Hn(Rn,ci,Pi,ki)}),Rn}function sa(hn,Hn){for(var Rn,bi=-1,Zn=hn.length;++bi<Zn;){var ci=Hn(hn[bi]);ci!==s&&(Rn=Rn===s?ci:Rn+ci)}return Rn}function Wo(hn,Hn){for(var Rn=-1,bi=Array(hn);++Rn<hn;)bi[Rn]=Hn(Rn);return bi}function tc(hn){return hn&&hn.slice(0,ds(hn)+1).replace(Yt,"")}function us(hn){return function(Hn){return hn(Hn)}}function Dt(hn,Hn){return Kr(Hn,function(Rn){return hn[Rn]})}function H(hn,Hn){return hn.has(Hn)}function re(hn,Hn){for(var Rn=-1,bi=hn.length;++Rn<bi&&Ls(Hn,hn[Rn],0)>-1;);return Rn}function Be(hn,Hn){for(var Rn=hn.length;Rn--&&Ls(Hn,hn[Rn],0)>-1;);return Rn}var Rt=os({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),Zt=os({"&":"&","<":"<",">":">",'"':""","'":"'"});function tn(hn){return"\\"+mo[hn]}function On(hn){return rn.test(hn)}function cr(hn){var Hn=-1,Rn=Array(hn.size);return hn.forEach(function(bi,Zn){Rn[++Hn]=[Zn,bi]}),Rn}function gt(hn,Hn){return function(Rn){return hn(Hn(Rn))}}function A(hn,Hn){for(var Rn=-1,bi=hn.length,Zn=0,ci=[];++Rn<bi;){var Pi=hn[Rn];(Pi===Hn||Pi===U)&&(hn[Rn]=U,ci[Zn++]=Rn)}return ci}function Se(hn){var Hn=-1,Rn=Array(hn.size);return hn.forEach(function(bi){Rn[++Hn]=bi}),Rn}function fr(hn){return On(hn)?function Ho(hn){for(var Hn=Pe.lastIndex=0;Pe.test(hn);)++Hn;return Hn}(hn):bs(hn)}function nr(hn){return On(hn)?function Lo(hn){return hn.match(Pe)||[]}(hn):function Ha(hn){return hn.split("")}(hn)}function ds(hn){for(var Hn=hn.length;Hn--&&wn.test(hn.charAt(Hn)););return Hn}var Xs=os({"&":"&","<":"<",">":">",""":'"',"'":"'"});var Qs=function hn(Hn){var d,Rn=(Hn=null==Hn?xo:Qs.defaults(xo.Object(),Hn,Qs.pick(xo,ni))).Array,bi=Hn.Date,Zn=Hn.Error,ci=Hn.Function,Pi=Hn.Math,ki=Hn.Object,go=Hn.RegExp,ya=Hn.String,qe=Hn.TypeError,se=Rn.prototype,Ge=ci.prototype,At=ki.prototype,Xt=Hn["__core-js_shared__"],gn=Ge.toString,An=At.hasOwnProperty,Ri=0,er=(d=/[^.]+$/.exec(Xt&&Xt.keys&&Xt.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",Zi=At.toString,Oo=gn.call(ki),ka=xo._,ji=go("^"+gn.call(An).replace(pr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Kc=Do?Hn.Buffer:s,Qo=Hn.Symbol,ko=Hn.Uint8Array,Gl=Kc?Kc.allocUnsafe:s,qs=gt(ki.getPrototypeOf,ki),Mc=ki.create,Ac=At.propertyIsEnumerable,Ts=se.splice,ba=Qo?Qo.isConcatSpreadable:s,Ys=Qo?Qo.iterator:s,aa=Qo?Qo.toStringTag:s,ol=function(){try{var d=pd(ki,"defineProperty");return d({},"",{}),d}catch{}}(),nc=Hn.clearTimeout!==xo.clearTimeout&&Hn.clearTimeout,za=bi&&bi.now!==xo.Date.now&&bi.now,io=Hn.setTimeout!==xo.setTimeout&&Hn.setTimeout,Oa=Pi.ceil,vc=Pi.floor,cu=ki.getOwnPropertySymbols,nd=Kc?Kc.isBuffer:s,_r=Hn.isFinite,Xl=se.join,Tl=gt(ki.keys,ki),qo=Pi.max,Ea=Pi.min,ss=bi.now,Nd=Hn.parseInt,Oc=Pi.random,yc=se.reverse,ic=pd(Hn,"DataView"),bc=pd(Hn,"Map"),ks=pd(Hn,"Promise"),Gc=pd(Hn,"Set"),le=pd(Hn,"WeakMap"),z=pd(ki,"create"),ne=le&&new le,Ne={},Ye=Pn(ic),Nt=Pn(bc),en=Pn(ks),Wt=Pn(Gc),Vn=Pn(le),si=Qo?Qo.prototype:s,Ci=si?si.valueOf:s,Sr=si?si.toString:s;function mt(d){if(ga(d)&&!Jr(d)&&!(d instanceof Nr)){if(d instanceof Gr)return d;if(An.call(d,"__wrapped__"))return Jl(d)}return new Gr(d)}var ca=function(){function d(){}return function(_){if(!gs(_))return{};if(Mc)return Mc(_);d.prototype=_;var W=new d;return d.prototype=s,W}}();function Ia(){}function Gr(d,_){this.__wrapped__=d,this.__actions__=[],this.__chain__=!!_,this.__index__=0,this.__values__=s}function Nr(d){this.__wrapped__=d,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ce,this.__views__=[]}function ws(d){var _=-1,W=null==d?0:d.length;for(this.clear();++_<W;){var we=d[_];this.set(we[0],we[1])}}function rc(d){var _=-1,W=null==d?0:d.length;for(this.clear();++_<W;){var we=d[_];this.set(we[0],we[1])}}function Il(d){var _=-1,W=null==d?0:d.length;for(this.clear();++_<W;){var we=d[_];this.set(we[0],we[1])}}function Yr(d){var _=-1,W=null==d?0:d.length;for(this.__data__=new Il;++_<W;)this.add(d[_])}function oc(d){var _=this.__data__=new rc(d);this.size=_.size}function Tp(d,_){var W=Jr(d),we=!W&&Jd(d),nt=!W&&!we&&dc(d),Ct=!W&&!we&&!nt&&bd(d),nn=W||we||nt||Ct,un=nn?Wo(d.length,ya):[],Dn=un.length;for(var ii in d)(_||An.call(d,ii))&&(!nn||!("length"==ii||nt&&("offset"==ii||"parent"==ii)||Ct&&("buffer"==ii||"byteLength"==ii||"byteOffset"==ii)||Uu(ii,Dn)))&&un.push(ii);return un}function kp(d){var _=d.length;return _?d[Ol(0,_-1)]:s}function Qf(d,_){return No(Rc(d),Js(_,0,d.length))}function Nh(d){return No(Rc(d))}function id(d,_,W){(W!==s&&!xu(d[_],W)||W===s&&!(_ in d))&&Ra(d,_,W)}function Pu(d,_,W){var we=d[_];(!An.call(d,_)||!xu(we,W)||W===s&&!(_ in d))&&Ra(d,_,W)}function Ql(d,_){for(var W=d.length;W--;)if(xu(d[W][0],_))return W;return-1}function Ip(d,_,W,we){return ua(d,function(nt,Ct,nn){_(we,nt,W(nt),nn)}),we}function Mp(d,_){return d&&Pl(_,Fa(_),d)}function Ra(d,_,W){"__proto__"==_&&ol?ol(d,_,{configurable:!0,enumerable:!0,value:W,writable:!0}):d[_]=W}function Ml(d,_){for(var W=-1,we=_.length,nt=Rn(we),Ct=null==d;++W<we;)nt[W]=Ct?s:km(d,_[W]);return nt}function Js(d,_,W){return d==d&&(W!==s&&(d=d<=W?d:W),_!==s&&(d=d>=_?d:_)),d}function Na(d,_,W,we,nt,Ct){var nn,un=1&_,Dn=2&_,ii=4&_;if(W&&(nn=nt?W(d,we,nt,Ct):W(d)),nn!==s)return nn;if(!gs(d))return d;var oi=Jr(d);if(oi){if(nn=function Fb(d){var _=d.length,W=new d.constructor(_);return _&&"string"==typeof d[0]&&An.call(d,"index")&&(W.index=d.index,W.input=d.input),W}(d),!un)return Rc(d,nn)}else{var jn=Qa(d),Ii=jn==ee||jn==V;if(dc(d))return mr(d,un);if(jn==It||jn==be||Ii&&!nt){if(nn=Dn||Ii?{}:Vo(d),!un)return Dn?function Pb(d,_){return Pl(d,wv(d),_)}(d,function hu(d,_){return d&&Pl(_,tl(_),d)}(nn,d)):function Lg(d,_){return Pl(d,jg(d),_)}(d,Mp(nn,d))}else{if(!Ui[jn])return nt?d:{};nn=function Np(d,_,W){var we=d.constructor;switch(_){case Y:return Pc(d);case Fe:case He:return new we(+d);case fe:return function Vi(d,_){var W=_?Pc(d.buffer):d.buffer;return new d.constructor(W,d.byteOffset,d.byteLength)}(d,W);case Et:case Vt:case ln:case fn:case je:case _t:case ht:case lt:case Oe:return Rg(d,W);case ue:return new we;case De:case Pt:return new we(d);case ze:return function Ab(d){var _=new d.constructor(d.source,to.exec(d));return _.lastIndex=d.lastIndex,_}(d);case Mt:return new we;case bn:return function Ob(d){return Ci?ki(Ci.call(d)):{}}(d)}}(d,jn,un)}}Ct||(Ct=new oc);var or=Ct.get(d);if(or)return or;Ct.set(d,nn),Gv(d)?d.forEach(function(xr){nn.add(Na(xr,_,W,xr,d,Ct))}):nf(d)&&d.forEach(function(xr,So){nn.set(So,Na(xr,_,W,So,d,Ct))});var Hr=oi?s:(ii?Dn?Zl:Wg:Dn?tl:Fa)(d);return Rr(Hr||d,function(xr,So){Hr&&(xr=d[So=xr]),Pu(nn,So,Na(xr,_,W,So,d,Ct))}),nn}function fu(d,_,W){var we=W.length;if(null==d)return!we;for(d=ki(d);we--;){var nt=W[we],Ct=_[nt],nn=d[nt];if(nn===s&&!(nt in d)||!Ct(nn))return!1}return!0}function la(d,_,W){if("function"!=typeof d)throw new qe(y);return Rl(function(){d.apply(s,W)},_)}function Al(d,_,W,we){var nt=-1,Ct=Rs,nn=!0,un=d.length,Dn=[],ii=_.length;if(!un)return Dn;W&&(_=Kr(_,us(W))),we?(Ct=_c,nn=!1):_.length>=200&&(Ct=H,nn=!1,_=new Yr(_));e:for(;++nt<un;){var oi=d[nt],jn=null==W?oi:W(oi);if(oi=we||0!==oi?oi:0,nn&&jn==jn){for(var Ii=ii;Ii--;)if(_[Ii]===jn)continue e;Dn.push(oi)}else Ct(_,jn,we)||Dn.push(oi)}return Dn}mt.templateSettings={escape:Jn,evaluate:Ti,interpolate:$i,variable:"",imports:{_:mt}},mt.prototype=Ia.prototype,mt.prototype.constructor=mt,Gr.prototype=ca(Ia.prototype),Gr.prototype.constructor=Gr,Nr.prototype=ca(Ia.prototype),Nr.prototype.constructor=Nr,ws.prototype.clear=function Au(){this.__data__=z?z(null):{},this.size=0},ws.prototype.delete=function Ec(d){var _=this.has(d)&&delete this.__data__[d];return this.size-=_?1:0,_},ws.prototype.get=function Xc(d){var _=this.__data__;if(z){var W=_[d];return W===N?s:W}return An.call(_,d)?_[d]:s},ws.prototype.has=function kl(d){var _=this.__data__;return z?_[d]!==s:An.call(_,d)},ws.prototype.set=function Qc(d,_){var W=this.__data__;return this.size+=this.has(d)?0:1,W[d]=z&&_===s?N:_,this},rc.prototype.clear=function Sp(){this.__data__=[],this.size=0},rc.prototype.delete=function Og(d){var _=this.__data__,W=Ql(_,d);return!(W<0)&&(W==_.length-1?_.pop():Ts.call(_,W,1),--this.size,!0)},rc.prototype.get=function Oh(d){var _=this.__data__,W=Ql(_,d);return W<0?s:_[W][1]},rc.prototype.has=function Gf(d){return Ql(this.__data__,d)>-1},rc.prototype.set=function xp(d,_){var W=this.__data__,we=Ql(W,d);return we<0?(++this.size,W.push([d,_])):W[we][1]=_,this},Il.prototype.clear=function Dp(){this.size=0,this.__data__={hash:new ws,map:new(bc||rc),string:new ws}},Il.prototype.delete=function lu(d){var _=La(this,d).delete(d);return this.size-=_?1:0,_},Il.prototype.get=function Ou(d){return La(this,d).get(d)},Il.prototype.has=function uu(d){return La(this,d).has(d)},Il.prototype.set=function vr(d,_){var W=La(this,d),we=W.size;return W.set(d,_),this.size+=W.size==we?0:1,this},Yr.prototype.add=Yr.prototype.push=function _o(d){return this.__data__.set(d,N),this},Yr.prototype.has=function Ph(d){return this.__data__.has(d)},oc.prototype.clear=function Rh(){this.__data__=new rc,this.size=0},oc.prototype.delete=function Cp(d){var _=this.__data__,W=_.delete(d);return this.size=_.size,W},oc.prototype.get=function Xf(d){return this.__data__.get(d)},oc.prototype.has=function du(d){return this.__data__.has(d)},oc.prototype.set=function pu(d,_){var W=this.__data__;if(W instanceof rc){var we=W.__data__;if(!bc||we.length<199)return we.push([d,_]),this.size=++W.size,this;W=this.__data__=new Il(we)}return W.set(d,_),this.size=W.size,this};var ua=tm(dn),da=tm(Fn,!0);function Ld(d,_){var W=!0;return ua(d,function(we,nt,Ct){return W=!!_(we,nt,Ct)}),W}function zo(d,_,W){for(var we=-1,nt=d.length;++we<nt;){var Ct=d[we],nn=_(Ct);if(null!=nn&&(un===s?nn==nn&&!gl(nn):W(nn,un)))var un=nn,Dn=Ct}return Dn}function Je(d,_){var W=[];return ua(d,function(we,nt,Ct){_(we,nt,Ct)&&W.push(we)}),W}function ge(d,_,W,we,nt){var Ct=-1,nn=d.length;for(W||(W=zg),nt||(nt=[]);++Ct<nn;){var un=d[Ct];_>0&&W(un)?_>1?ge(un,_-1,W,we,nt):Ns(nt,un):we||(nt[nt.length]=un)}return nt}var Xe=gv(),Ft=gv(!0);function dn(d,_){return d&&Xe(d,_,Fa)}function Fn(d,_){return d&&Ft(d,_,Fa)}function Gn(d,_){return Ao(_,function(W){return ml(d[W])})}function li(d,_){for(var W=0,we=(_=Yl(_,d)).length;null!=d&&W<we;)d=d[Yo(_[W++])];return W&&W==we?d:s}function Ai(d,_,W){var we=_(d);return Jr(d)?we:Ns(we,W(d))}function Ni(d){return null==d?d===s?"[object Undefined]":"[object Null]":aa&&aa in ki(d)?function Bb(d){var _=An.call(d,aa),W=d[aa];try{d[aa]=s;var we=!0}catch{}var nt=Zi.call(d);return we&&(_?d[aa]=W:delete d[aa]),nt}(d):function $d(d){return Zi.call(d)}(d)}function $r(d,_){return d>_}function rr(d,_){return null!=d&&An.call(d,_)}function Po(d,_){return null!=d&&_ in ki(d)}function Is(d,_,W){for(var we=W?_c:Rs,nt=d[0].length,Ct=d.length,nn=Ct,un=Rn(Ct),Dn=1/0,ii=[];nn--;){var oi=d[nn];nn&&_&&(oi=Kr(oi,us(_))),Dn=Ea(oi.length,Dn),un[nn]=!W&&(_||nt>=120&&oi.length>=120)?new Yr(nn&&oi):s}oi=d[0];var jn=-1,Ii=un[0];e:for(;++jn<nt&&ii.length<Dn;){var or=oi[jn],yr=_?_(or):or;if(or=W||0!==or?or:0,!(Ii?H(Ii,yr):we(ii,yr,W))){for(nn=Ct;--nn;){var Hr=un[nn];if(!(Hr?H(Hr,yr):we(d[nn],yr,W)))continue e}Ii&&Ii.push(yr),ii.push(or)}}return ii}function Ka(d,_,W){var we=null==(d=Xi(d,_=Yl(_,d)))?d:d[Yo(Ll(_))];return null==we?s:vs(we,d,W)}function pa(d){return ga(d)&&Ni(d)==be}function sl(d,_,W,we,nt){return d===_||(null==d||null==_||!ga(d)&&!ga(_)?d!=d&&_!=_:function ha(d,_,W,we,nt,Ct){var nn=Jr(d),un=Jr(_),Dn=nn?de:Qa(d),ii=un?de:Qa(_),oi=(Dn=Dn==be?It:Dn)==It,jn=(ii=ii==be?It:ii)==It,Ii=Dn==ii;if(Ii&&dc(d)){if(!dc(_))return!1;nn=!0,oi=!1}if(Ii&&!oi)return Ct||(Ct=new oc),nn||bd(d)?Ug(d,_,W,we,nt,Ct):function bv(d,_,W,we,nt,Ct,nn){switch(W){case fe:if(d.byteLength!=_.byteLength||d.byteOffset!=_.byteOffset)return!1;d=d.buffer,_=_.buffer;case Y:return!(d.byteLength!=_.byteLength||!Ct(new ko(d),new ko(_)));case Fe:case He:case De:return xu(+d,+_);case Jt:return d.name==_.name&&d.message==_.message;case ze:case Pt:return d==_+"";case ue:var un=cr;case Mt:var Dn=1&we;if(un||(un=Se),d.size!=_.size&&!Dn)return!1;var ii=nn.get(d);if(ii)return ii==_;we|=2,nn.set(d,_);var oi=Ug(un(d),un(_),we,nt,Ct,nn);return nn.delete(d),oi;case bn:if(Ci)return Ci.call(d)==Ci.call(_)}return!1}(d,_,Dn,W,we,nt,Ct);if(!(1&W)){var or=oi&&An.call(d,"__wrapped__"),yr=jn&&An.call(_,"__wrapped__");if(or||yr){var Hr=or?d.value():d,xr=yr?_.value():_;return Ct||(Ct=new oc),nt(Hr,xr,W,we,Ct)}}return!!Ii&&(Ct||(Ct=new oc),function Ev(d,_,W,we,nt,Ct){var nn=1&W,un=Wg(d),Dn=un.length,ii=Wg(_),oi=ii.length;if(Dn!=oi&&!nn)return!1;for(var jn=Dn;jn--;){var Ii=un[jn];if(!(nn?Ii in _:An.call(_,Ii)))return!1}var or=Ct.get(d),yr=Ct.get(_);if(or&&yr)return or==_&&yr==d;var Hr=!0;Ct.set(d,_),Ct.set(_,d);for(var xr=nn;++jn<Dn;){var So=d[Ii=un[jn]],Io=_[Ii];if(we)var Wc=nn?we(Io,So,Ii,_,d,Ct):we(So,Io,Ii,d,_,Ct);if(!(Wc===s?So===Io||nt(So,Io,W,we,Ct):Wc)){Hr=!1;break}xr||(xr="constructor"==Ii)}if(Hr&&!xr){var Wa=d.constructor,_a=_.constructor;Wa!=_a&&"constructor"in d&&"constructor"in _&&!("function"==typeof Wa&&Wa instanceof Wa&&"function"==typeof _a&&_a instanceof _a)&&(Hr=!1)}return Ct.delete(d),Ct.delete(_),Hr}(d,_,W,we,nt,Ct))}(d,_,W,we,sl,nt))}function sc(d,_,W,we){var nt=W.length,Ct=nt,nn=!we;if(null==d)return!Ct;for(d=ki(d);nt--;){var un=W[nt];if(nn&&un[2]?un[1]!==d[un[0]]:!(un[0]in d))return!1}for(;++nt<Ct;){var Dn=(un=W[nt])[0],ii=d[Dn],oi=un[1];if(nn&&un[2]){if(ii===s&&!(Dn in d))return!1}else{var jn=new oc;if(we)var Ii=we(ii,oi,Dn,d,_,jn);if(!(Ii===s?sl(oi,ii,3,we,jn):Ii))return!1}}return!0}function mu(d){return!(!gs(d)||function yu(d){return!!er&&er in d}(d))&&(ml(d)?ji:qr).test(Pn(d))}function wc(d){return"function"==typeof d?d:null==d?Tc:"object"==typeof d?Jr(d)?gu(d[0],d[1]):Sa(d):uy(d)}function qc(d){if(!cm(d))return Tl(d);var _=[];for(var W in ki(d))An.call(d,W)&&"constructor"!=W&&_.push(W);return _}function ac(d){if(!gs(d))return function Lp(d){var _=[];if(null!=d)for(var W in ki(d))_.push(W);return _}(d);var _=cm(d),W=[];for(var we in d)"constructor"==we&&(_||!An.call(d,we))||W.push(we);return W}function ql(d,_){return d<_}function wa(d,_){var W=-1,we=uc(d)?Rn(d.length):[];return ua(d,function(nt,Ct,nn){we[++W]=_(nt,Ct,nn)}),we}function Sa(d){var _=$g(d);return 1==_.length&&_[0][2]?Dv(_[0][0],_[0][1]):function(W){return W===d||sc(W,d,_)}}function gu(d,_){return Kg(d)&&Wb(_)?Dv(Yo(d),_):function(W){var we=km(W,d);return we===s&&we===_?np(W,d):sl(_,we,3)}}function rd(d,_,W,we,nt){d!==_&&Xe(_,function(Ct,nn){if(nt||(nt=new oc),gs(Ct))!function od(d,_,W,we,nt,Ct,nn){var un=ta(d,W),Dn=ta(_,W),ii=nn.get(Dn);if(ii)return void id(d,W,ii);var oi=Ct?Ct(un,Dn,W+"",d,_,nn):s,jn=oi===s;if(jn){var Ii=Jr(Dn),or=!Ii&&dc(Dn),yr=!Ii&&!or&&bd(Dn);oi=Dn,Ii||or||yr?Jr(un)?oi=un:ma(un)?oi=Rc(un):or?(jn=!1,oi=mr(Dn,!0)):yr?(jn=!1,oi=Rg(Dn,!0)):oi=[]:Em(Dn)||Jd(Dn)?(oi=un,Jd(un)?oi=xm(un):(!gs(un)||ml(un))&&(oi=Vo(Dn))):jn=!1}jn&&(nn.set(Dn,oi),nt(oi,Dn,we,Ct,nn),nn.delete(Dn)),id(d,W,oi)}(d,_,nn,W,rd,we,nt);else{var un=we?we(ta(d,nn),Ct,nn+"",d,_,nt):s;un===s&&(un=Ct),id(d,nn,un)}},tl)}function al(d,_){var W=d.length;if(W)return Uu(_+=_<0?W:0,W)?d[_]:s}function cc(d,_,W){_=_.length?Kr(_,function(Ct){return Jr(Ct)?function(nn){return li(nn,1===Ct.length?Ct[0]:Ct)}:Ct}):[Tc];var we=-1;return _=Kr(_,us(Br())),function Bs(hn,Hn){var Rn=hn.length;for(hn.sort(Hn);Rn--;)hn[Rn]=hn[Rn].value;return hn}(wa(d,function(Ct,nn,un){return{criteria:Kr(_,function(ii){return ii(Ct)}),index:++we,value:Ct}}),function(Ct,nn){return function Ng(d,_,W){for(var we=-1,nt=d.criteria,Ct=_.criteria,nn=nt.length,un=W.length;++we<nn;){var Dn=cd(nt[we],Ct[we]);if(Dn)return we>=un?Dn:Dn*("desc"==W[we]?-1:1)}return d.index-_.index}(Ct,nn,W)})}function Lh(d,_,W){for(var we=-1,nt=_.length,Ct={};++we<nt;){var nn=_[we],un=li(d,nn);W(un,nn)&&Fd(Ct,Yl(nn,d),un)}return Ct}function cl(d,_,W,we){var nt=we?Ic:Ls,Ct=-1,nn=_.length,un=d;for(d===_&&(_=Rc(_)),W&&(un=Kr(d,us(W)));++Ct<nn;)for(var Dn=0,ii=_[Ct],oi=W?W(ii):ii;(Dn=nt(un,oi,Dn,we))>-1;)un!==d&&Ts.call(un,Dn,1),Ts.call(d,Dn,1);return d}function ll(d,_){for(var W=d?_.length:0,we=W-1;W--;){var nt=_[W];if(W==we||nt!==Ct){var Ct=nt;Uu(nt)?Ts.call(d,nt,1):Qr(d,nt)}}return d}function Ol(d,_){return d+vc(Oc()*(_-d+1))}function Bd(d,_){var W="";if(!d||_<1||_>ut)return W;do{_%2&&(W+=d),(_=vc(_/2))&&(d+=d)}while(_);return W}function jr(d,_){return Nl(Ue(d,_,Tc),d+"")}function Fu(d){return kp(Wl(d))}function Bh(d,_){var W=Wl(d);return No(W,Js(_,0,W.length))}function Fd(d,_,W,we){if(!gs(d))return d;for(var nt=-1,Ct=(_=Yl(_,d)).length,nn=Ct-1,un=d;null!=un&&++nt<Ct;){var Dn=Yo(_[nt]),ii=W;if("__proto__"===Dn||"constructor"===Dn||"prototype"===Dn)return d;if(nt!=nn){var oi=un[Dn];(ii=we?we(oi,Dn,un):s)===s&&(ii=gs(oi)?oi:Uu(_[nt+1])?[]:{})}Pu(un,Dn,ii),un=un[Dn]}return d}var Ud=ne?function(d,_){return ne.set(d,_),d}:Tc,Fh=ol?function(d,_){return ol(d,"toString",{configurable:!0,enumerable:!1,value:na(_),writable:!0})}:Tc;function Zf(d){return No(Wl(d))}function Xa(d,_,W){var we=-1,nt=d.length;_<0&&(_=-_>nt?0:nt+_),(W=W>nt?nt:W)<0&&(W+=nt),nt=_>W?0:W-_>>>0,_>>>=0;for(var Ct=Rn(nt);++we<nt;)Ct[we]=d[we+_];return Ct}function K(d,_){var W;return ua(d,function(we,nt,Ct){return!(W=_(we,nt,Ct))}),!!W}function Ie(d,_,W){var we=0,nt=null==d?we:d.length;if("number"==typeof _&&_==_&&nt<=2147483647){for(;we<nt;){var Ct=we+nt>>>1,nn=d[Ct];null!==nn&&!gl(nn)&&(W?nn<=_:nn<_)?we=Ct+1:nt=Ct}return nt}return bt(d,_,Tc,W)}function bt(d,_,W,we){var nt=0,Ct=null==d?0:d.length;if(0===Ct)return 0;for(var nn=(_=W(_))!=_,un=null===_,Dn=gl(_),ii=_===s;nt<Ct;){var oi=vc((nt+Ct)/2),jn=W(d[oi]),Ii=jn!==s,or=null===jn,yr=jn==jn,Hr=gl(jn);if(nn)var xr=we||yr;else xr=ii?yr&&(we||Ii):un?yr&&Ii&&(we||!or):Dn?yr&&Ii&&!or&&(we||!Hr):!or&&!Hr&&(we?jn<=_:jn<_);xr?nt=oi+1:Ct=oi}return Ea(Ct,4294967294)}function an(d,_){for(var W=-1,we=d.length,nt=0,Ct=[];++W<we;){var nn=d[W],un=_?_(nn):nn;if(!W||!xu(un,Dn)){var Dn=un;Ct[nt++]=0===nn?0:nn}}return Ct}function Cn(d){return"number"==typeof d?d:gl(d)?NaN:+d}function ri(d){if("string"==typeof d)return d;if(Jr(d))return Kr(d,ri)+"";if(gl(d))return Sr?Sr.call(d):"";var _=d+"";return"0"==_&&1/d==-Me?"-0":_}function gi(d,_,W){var we=-1,nt=Rs,Ct=d.length,nn=!0,un=[],Dn=un;if(W)nn=!1,nt=_c;else if(Ct>=200){var ii=_?null:vu(d);if(ii)return Se(ii);nn=!1,nt=H,Dn=new Yr}else Dn=_?[]:un;e:for(;++we<Ct;){var oi=d[we],jn=_?_(oi):oi;if(oi=W||0!==oi?oi:0,nn&&jn==jn){for(var Ii=Dn.length;Ii--;)if(Dn[Ii]===jn)continue e;_&&Dn.push(jn),un.push(oi)}else nt(Dn,jn,W)||(Dn!==un&&Dn.push(jn),un.push(oi))}return un}function Qr(d,_){var W=-1,we=(_=Yl(_,d)).length;if(!we)return!0;for(;++W<we;){var nt=Yo(_[W]);if("__proto__"===nt&&!An.call(d,"__proto__")||("constructor"===nt||"prototype"===nt)&&W<we-1)return!1}var Ct=Xi(d,_);return null==Ct||delete Ct[Yo(Ll(_))]}function Zr(d,_,W,we){return Fd(d,_,W(li(d,_)),we)}function Fo(d,_,W,we){for(var nt=d.length,Ct=we?nt:-1;(we?Ct--:++Ct<nt)&&_(d[Ct],Ct,d););return W?Xa(d,we?0:Ct,we?Ct+1:nt):Xa(d,we?Ct+1:0,we?nt:Ct)}function Sc(d,_){var W=d;return W instanceof Nr&&(W=W.value()),ys(_,function(we,nt){return nt.func.apply(nt.thisArg,Ns([we],nt.args))},W)}function Yc(d,_,W){var we=d.length;if(we<2)return we?gi(d[0]):[];for(var nt=-1,Ct=Rn(we);++nt<we;)for(var nn=d[nt],un=-1;++un<we;)un!=nt&&(Ct[nt]=Al(Ct[nt]||nn,d[un],_,W));return gi(ge(Ct,1),_,W)}function _u(d,_,W){for(var we=-1,nt=d.length,Ct=_.length,nn={};++we<nt;){var un=we<Ct?_[we]:s;W(nn,d[we],un)}return nn}function Uh(d){return ma(d)?d:[]}function sd(d){return"function"==typeof d?d:Tc}function Yl(d,_){return Jr(d)?d:Kg(d,_)?[d]:Wu($o(d))}var ad=jr;function Us(d,_,W){var we=d.length;return W=W===s?we:W,!_&&W>=we?d:Xa(d,_,W)}var Wh=nc||function(d){return xo.clearTimeout(d)};function mr(d,_){if(_)return d.slice();var W=d.length,we=Gl?Gl(W):new d.constructor(W);return d.copy(we),we}function Pc(d){var _=new d.constructor(d.byteLength);return new ko(_).set(new ko(d)),_}function Rg(d,_){var W=_?Pc(d.buffer):d.buffer;return new d.constructor(W,d.byteOffset,d.length)}function cd(d,_){if(d!==_){var W=d!==s,we=null===d,nt=d==d,Ct=gl(d),nn=_!==s,un=null===_,Dn=_==_,ii=gl(_);if(!un&&!ii&&!Ct&&d>_||Ct&&nn&&Dn&&!un&&!ii||we&&nn&&Dn||!W&&Dn||!nt)return 1;if(!we&&!Ct&&!ii&&d<_||ii&&W&&nt&&!we&&!Ct||un&&W&&nt||!nn&&nt||!Dn)return-1}return 0}function Jf(d,_,W,we){for(var nt=-1,Ct=d.length,nn=W.length,un=-1,Dn=_.length,ii=qo(Ct-nn,0),oi=Rn(Dn+ii),jn=!we;++un<Dn;)oi[un]=_[un];for(;++nt<nn;)(jn||nt<Ct)&&(oi[W[nt]]=d[nt]);for(;ii--;)oi[un++]=d[nt++];return oi}function Op(d,_,W,we){for(var nt=-1,Ct=d.length,nn=-1,un=W.length,Dn=-1,ii=_.length,oi=qo(Ct-un,0),jn=Rn(oi+ii),Ii=!we;++nt<oi;)jn[nt]=d[nt];for(var or=nt;++Dn<ii;)jn[or+Dn]=_[Dn];for(;++nn<un;)(Ii||nt<Ct)&&(jn[or+W[nn]]=d[nt++]);return jn}function Rc(d,_){var W=-1,we=d.length;for(_||(_=Rn(we));++W<we;)_[W]=d[W];return _}function Pl(d,_,W,we){var nt=!W;W||(W={});for(var Ct=-1,nn=_.length;++Ct<nn;){var un=_[Ct],Dn=we?we(W[un],d[un],un,W,d):s;Dn===s&&(Dn=d[un]),nt?Ra(W,un,Dn):Pu(W,un,Dn)}return W}function em(d,_){return function(W,we){var nt=Jr(W)?Cs:Ip,Ct=_?_():{};return nt(W,d,Br(we,2),Ct)}}function Pp(d){return jr(function(_,W){var we=-1,nt=W.length,Ct=nt>1?W[nt-1]:s,nn=nt>2?W[2]:s;for(Ct=d.length>3&&"function"==typeof Ct?(nt--,Ct):s,nn&&Lc(W[0],W[1],nn)&&(Ct=nt<3?s:Ct,nt=1),_=ki(_);++we<nt;){var un=W[we];un&&d(_,un,we,Ct)}return _})}function tm(d,_){return function(W,we){if(null==W)return W;if(!uc(W))return d(W,we);for(var nt=W.length,Ct=_?nt:-1,nn=ki(W);(_?Ct--:++Ct<nt)&&!1!==we(nn[Ct],Ct,nn););return W}}function gv(d){return function(_,W,we){for(var nt=-1,Ct=ki(_),nn=we(_),un=nn.length;un--;){var Dn=nn[d?un:++nt];if(!1===W(Ct[Dn],Dn,Ct))break}return _}}function Wd(d){return function(_){var W=On(_=$o(_))?nr(_):s,we=W?W[0]:_.charAt(0),nt=W?Us(W,1).join(""):_.slice(1);return we[d]()+nt}}function xa(d){return function(_){return ys(Rm(Ow(_).replace(Xo,"")),d,"")}}function ld(d){return function(){var _=arguments;switch(_.length){case 0:return new d;case 1:return new d(_[0]);case 2:return new d(_[0],_[1]);case 3:return new d(_[0],_[1],_[2]);case 4:return new d(_[0],_[1],_[2],_[3]);case 5:return new d(_[0],_[1],_[2],_[3],_[4]);case 6:return new d(_[0],_[1],_[2],_[3],_[4],_[5]);case 7:return new d(_[0],_[1],_[2],_[3],_[4],_[5],_[6])}var W=ca(d.prototype),we=d.apply(W,_);return gs(we)?we:W}}function nm(d){return function(_,W,we){var nt=ki(_);if(!uc(_)){var Ct=Br(W,3);_=Fa(_),W=function(un){return Ct(nt[un],un,nt)}}var nn=d(_,W,we);return nn>-1?nt[Ct?_[nn]:nn]:s}}function _v(d){return ud(function(_){var W=_.length,we=W,nt=Gr.prototype.thru;for(d&&_.reverse();we--;){var Ct=_[we];if("function"!=typeof Ct)throw new qe(y);if(nt&&!nn&&"wrapper"==dd(Ct))var nn=new Gr([],!0)}for(we=nn?we:W;++we<W;){var un=dd(Ct=_[we]),Dn="wrapper"==un?Vg(Ct):s;nn=Dn&&jh(Dn[0])&&424==Dn[1]&&!Dn[4].length&&1==Dn[9]?nn[dd(Dn[0])].apply(nn,Dn[3]):1==Ct.length&&jh(Ct)?nn[un]():nn.thru(Ct)}return function(){var ii=arguments,oi=ii[0];if(nn&&1==ii.length&&Jr(oi))return nn.plant(oi).value();for(var jn=0,Ii=W?_[jn].apply(this,ii):oi;++jn<W;)Ii=_[jn].call(this,Ii);return Ii}})}function Rp(d,_,W,we,nt,Ct,nn,un,Dn,ii){var oi=_&Ee,jn=1&_,Ii=2&_,or=24&_,yr=512&_,Hr=Ii?s:ld(d);return function xr(){for(var So=arguments.length,Io=Rn(So),Wc=So;Wc--;)Io[Wc]=arguments[Wc];if(or)var Wa=Vd(xr),_a=function ct(hn,Hn){for(var Rn=hn.length,bi=0;Rn--;)hn[Rn]===Hn&&++bi;return bi}(Io,Wa);if(we&&(Io=Jf(Io,we,nt,or)),Ct&&(Io=Op(Io,Ct,nn,or)),So-=_a,or&&So<ii){var $s=A(Io,Wa);return yv(d,_,Rp,xr.placeholder,W,Io,$s,un,Dn,ii-So)}var Vc=jn?W:this,ru=Ii?Vc[d]:d;return So=Io.length,un?Io=function lc(d,_){for(var W=d.length,we=Ea(_.length,W),nt=Rc(d);we--;){var Ct=_[we];d[we]=Uu(Ct,W)?nt[Ct]:s}return d}(Io,un):yr&&So>1&&Io.reverse(),oi&&Dn<So&&(Io.length=Dn),this&&this!==xo&&this instanceof xr&&(ru=Hr||ld(ru)),ru.apply(Vc,Io)}}function Nb(d,_){return function(W,we){return function Ms(d,_,W,we){return dn(d,function(nt,Ct,nn){_(we,W(nt),Ct,nn)}),we}(W,d,_(we),{})}}function im(d,_){return function(W,we){var nt;if(W===s&&we===s)return _;if(W!==s&&(nt=W),we!==s){if(nt===s)return we;"string"==typeof W||"string"==typeof we?(W=ri(W),we=ri(we)):(W=Cn(W),we=Cn(we)),nt=d(W,we)}return nt}}function rm(d){return ud(function(_){return _=Kr(_,us(Br())),jr(function(W){var we=this;return d(_,function(nt){return vs(nt,we,W)})})})}function Zc(d,_){var W=(_=_===s?" ":ri(_)).length;if(W<2)return W?Bd(_,d):_;var we=Bd(_,Oa(d/fr(_)));return On(_)?Us(nr(we),0,d).join(""):we.slice(0,d)}function vv(d){return function(_,W,we){return we&&"number"!=typeof we&&Lc(_,W,we)&&(W=we=s),_=iu(_),W===s?(W=_,_=0):W=iu(W),function ul(d,_,W,we){for(var nt=-1,Ct=qo(Oa((_-d)/(W||1)),0),nn=Rn(Ct);Ct--;)nn[we?Ct:++nt]=d,d+=W;return nn}(_,W,we=we===s?_<W?1:-1:iu(we),d)}}function $h(d){return function(_,W){return"string"==typeof _&&"string"==typeof W||(_=_l(_),W=_l(W)),d(_,W)}}function yv(d,_,W,we,nt,Ct,nn,un,Dn,ii){var oi=8&_;_|=oi?O:Z,4&(_&=~(oi?Z:O))||(_&=-4);var Hr=[d,_,nt,oi?Ct:s,oi?nn:s,oi?s:Ct,oi?s:nn,un,Dn,ii],xr=W.apply(s,Hr);return jh(d)&&zi(xr,Hr),xr.placeholder=we,To(xr,d,_)}function om(d){var _=Pi[d];return function(W,we){if(W=_l(W),(we=null==we?0:Ea(ao(we),292))&&_r(W)){var nt=($o(W)+"e").split("e");return+((nt=($o(_(nt[0]+"e"+(+nt[1]+we)))+"e").split("e"))[0]+"e"+(+nt[1]-we))}return _(W)}}var vu=Gc&&1/Se(new Gc([,-0]))[1]==Me?function(d){return new Gc(d)}:sp;function dl(d){return function(_){var W=Qa(_);return W==ue?cr(_):W==Mt?function dt(hn){var Hn=-1,Rn=Array(hn.size);return hn.forEach(function(bi){Rn[++Hn]=[bi,bi]}),Rn}(_):function Gs(hn,Hn){return Kr(Hn,function(Rn){return[Rn,hn[Rn]]})}(_,d(_))}}function Nc(d,_,W,we,nt,Ct,nn,un){var Dn=2&_;if(!Dn&&"function"!=typeof d)throw new qe(y);var ii=we?we.length:0;if(ii||(_&=-97,we=nt=s),nn=nn===s?nn:qo(ao(nn),0),un=un===s?un:ao(un),ii-=nt?nt.length:0,_&Z){var oi=we,jn=nt;we=nt=s}var Ii=Dn?s:Vg(d),or=[d,_,W,we,nt,oi,jn,Ct,nn,un];if(Ii&&function Cv(d,_){var W=d[1],we=_[1],nt=W|we,Ct=nt<131,nn=we==Ee&&8==W||we==Ee&&256==W&&d[7].length<=_[8]||384==we&&_[7].length<=_[8]&&8==W;if(!Ct&&!nn)return d;1&we&&(d[2]=_[2],nt|=1&W?0:4);var un=_[3];if(un){var Dn=d[3];d[3]=Dn?Jf(Dn,un,_[4]):un,d[4]=Dn?A(d[3],U):_[4]}return un=_[5],un&&(Dn=d[5],d[5]=Dn?Op(Dn,un,_[6]):un,d[6]=Dn?A(d[5],U):_[6]),un=_[7],un&&(d[7]=un),we&Ee&&(d[8]=null==d[8]?_[8]:Ea(d[8],_[8])),null==d[9]&&(d[9]=_[9]),d[0]=_[0],d[1]=nt,d}(or,Ii),d=or[0],_=or[1],W=or[2],we=or[3],nt=or[4],!(un=or[9]=or[9]===s?Dn?0:d.length:qo(or[9]-ii,0))&&24&_&&(_&=-25),_&&1!=_)yr=8==_||_==w?function Rb(d,_,W){var we=ld(d);return function nt(){for(var Ct=arguments.length,nn=Rn(Ct),un=Ct,Dn=Vd(nt);un--;)nn[un]=arguments[un];var ii=Ct<3&&nn[0]!==Dn&&nn[Ct-1]!==Dn?[]:A(nn,Dn);return(Ct-=ii.length)<W?yv(d,_,Rp,nt.placeholder,s,nn,ii,s,s,W-Ct):vs(this&&this!==xo&&this instanceof nt?we:d,this,nn)}}(d,_,un):_!=O&&33!=_||nt.length?Rp.apply(s,or):function Lb(d,_,W,we){var nt=1&_,Ct=ld(d);return function nn(){for(var un=-1,Dn=arguments.length,ii=-1,oi=we.length,jn=Rn(oi+Dn),Ii=this&&this!==xo&&this instanceof nn?Ct:d;++ii<oi;)jn[ii]=we[ii];for(;Dn--;)jn[ii++]=arguments[++un];return vs(Ii,nt?W:this,jn)}}(d,_,W,we);else var yr=function Vh(d,_,W){var we=1&_,nt=ld(d);return function Ct(){return(this&&this!==xo&&this instanceof Ct?nt:d).apply(we?W:this,arguments)}}(d,_,W);return To((Ii?Ud:zi)(yr,or),d,_)}function Bg(d,_,W,we){return d===s||xu(d,At[W])&&!An.call(we,W)?_:d}function Fg(d,_,W,we,nt,Ct){return gs(d)&&gs(_)&&(Ct.set(_,d),rd(d,_,s,Fg,Ct),Ct.delete(_)),d}function Tw(d){return Em(d)?s:d}function Ug(d,_,W,we,nt,Ct){var nn=1&W,un=d.length,Dn=_.length;if(un!=Dn&&!(nn&&Dn>un))return!1;var ii=Ct.get(d),oi=Ct.get(_);if(ii&&oi)return ii==_&&oi==d;var jn=-1,Ii=!0,or=2&W?new Yr:s;for(Ct.set(d,_),Ct.set(_,d);++jn<un;){var yr=d[jn],Hr=_[jn];if(we)var xr=nn?we(Hr,yr,jn,_,d,Ct):we(yr,Hr,jn,d,_,Ct);if(xr!==s){if(xr)continue;Ii=!1;break}if(or){if(!ja(_,function(So,Io){if(!H(or,Io)&&(yr===So||nt(yr,So,W,we,Ct)))return or.push(Io)})){Ii=!1;break}}else if(yr!==Hr&&!nt(yr,Hr,W,we,Ct)){Ii=!1;break}}return Ct.delete(d),Ct.delete(_),Ii}function ud(d){return Nl(Ue(d,s,ms),d+"")}function Wg(d){return Ai(d,Fa,jg)}function Zl(d){return Ai(d,tl,wv)}var Vg=ne?function(d){return ne.get(d)}:sp;function dd(d){for(var _=d.name+"",W=Ne[_],we=An.call(Ne,_)?W.length:0;we--;){var nt=W[we],Ct=nt.func;if(null==Ct||Ct==d)return nt.name}return _}function Vd(d){return(An.call(mt,"placeholder")?mt:d).placeholder}function Br(){var d=mt.iteratee||Fm;return d=d===Fm?wc:d,arguments.length?d(arguments[0],arguments[1]):d}function La(d,_){var W=d.__data__;return function Ub(d){var _=typeof d;return"string"==_||"number"==_||"symbol"==_||"boolean"==_?"__proto__"!==d:null===d}(_)?W["string"==typeof _?"string":"hash"]:W.map}function $g(d){for(var _=Fa(d),W=_.length;W--;){var we=_[W],nt=d[we];_[W]=[we,nt,Wb(nt)]}return _}function pd(d,_){var W=function xn(hn,Hn){return null==hn?s:hn[Hn]}(d,_);return mu(W)?W:s}var jg=cu?function(d){return null==d?[]:(d=ki(d),Ao(cu(d),function(_){return Ac.call(d,_)}))}:ar,wv=cu?function(d){for(var _=[];d;)Ns(_,jg(d)),d=qs(d);return _}:ar,Qa=Ni;function xv(d,_,W){for(var we=-1,nt=(_=Yl(_,d)).length,Ct=!1;++we<nt;){var nn=Yo(_[we]);if(!(Ct=null!=d&&W(d,nn)))break;d=d[nn]}return Ct||++we!=nt?Ct:!!(nt=null==d?0:d.length)&&u_(nt)&&Uu(nn,nt)&&(Jr(d)||Jd(d))}function Vo(d){return"function"!=typeof d.constructor||cm(d)?{}:ca(qs(d))}function zg(d){return Jr(d)||Jd(d)||!!(ba&&d&&d[ba])}function Uu(d,_){var W=typeof d;return!!(_=_??ut)&&("number"==W||"symbol"!=W&&wr.test(d))&&d>-1&&d%1==0&&d<_}function Lc(d,_,W){if(!gs(W))return!1;var we=typeof _;return!!("number"==we?uc(W)&&Uu(_,W.length):"string"==we&&_ in W)&&xu(W[_],d)}function Kg(d,_){if(Jr(d))return!1;var W=typeof d;return!("number"!=W&&"symbol"!=W&&"boolean"!=W&&null!=d&&!gl(d))||(ui.test(d)||!Ei.test(d)||null!=_&&d in ki(_))}function jh(d){var _=dd(d),W=mt[_];if("function"!=typeof W||!(_ in Nr.prototype))return!1;if(d===W)return!0;var we=Vg(W);return!!we&&d===we[0]}(ic&&Qa(new ic(new ArrayBuffer(1)))!=fe||bc&&Qa(new bc)!=ue||ks&&Qa(ks.resolve())!=Kt||Gc&&Qa(new Gc)!=Mt||le&&Qa(new le)!=Lt)&&(Qa=function(d){var _=Ni(d),W=_==It?d.constructor:s,we=W?Pn(W):"";if(we)switch(we){case Ye:return fe;case Nt:return ue;case en:return Kt;case Wt:return Mt;case Vn:return Lt}return _});var am=Xt?ml:bl;function cm(d){var _=d&&d.constructor;return d===("function"==typeof _&&_.prototype||At)}function Wb(d){return d==d&&!gs(d)}function Dv(d,_){return function(W){return null!=W&&(W[d]===_&&(_!==s||d in ki(W)))}}function Ue(d,_,W){return _=qo(_===s?d.length-1:_,0),function(){for(var we=arguments,nt=-1,Ct=qo(we.length-_,0),nn=Rn(Ct);++nt<Ct;)nn[nt]=we[_+nt];nt=-1;for(var un=Rn(_+1);++nt<_;)un[nt]=we[nt];return un[_]=W(nn),vs(d,this,un)}}function Xi(d,_){return _.length<2?d:li(d,Xa(_,0,-1))}function ta(d,_){if(("constructor"!==_||"function"!=typeof d[_])&&"__proto__"!=_)return d[_]}var zi=Ws(Ud),Rl=io||function(d,_){return xo.setTimeout(d,_)},Nl=Ws(Fh);function To(d,_,W){var we=_+"";return Nl(d,function sm(d,_){var W=_.length;if(!W)return d;var we=W-1;return _[we]=(W>1?"& ":"")+_[we],_=_.join(W>2?", ":" "),d.replace(zn,"{\n/* [wrapped with "+_+"] */\n")}(we,function xc(d,_){return Rr(ve,function(W){var we="_."+W[0];_&W[1]&&!Rs(d,we)&&d.push(we)}),d.sort()}(function Hg(d){var _=d.match(Qn);return _?_[1].split(pi):[]}(we),W)))}function Ws(d){var _=0,W=0;return function(){var we=ss(),nt=16-(we-W);if(W=we,nt>0){if(++_>=800)return arguments[0]}else _=0;return d.apply(s,arguments)}}function No(d,_){var W=-1,we=d.length,nt=we-1;for(_=_===s?we:_;++W<_;){var Ct=Ol(W,nt),nn=d[Ct];d[Ct]=d[W],d[W]=nn}return d.length=_,d}var Wu=function Gg(d){var _=fl(d,function(we){return 500===W.size&&W.clear(),we}),W=_.cache;return _}(function(d){var _=[];return 46===d.charCodeAt(0)&&_.push(""),d.replace(sr,function(W,we,nt,Ct){_.push(nt?Ct.replace(co,"$1"):we||W)}),_});function Yo(d){if("string"==typeof d||gl(d))return d;var _=d+"";return"0"==_&&1/d==-Me?"-0":_}function Pn(d){if(null!=d){try{return gn.call(d)}catch{}try{return d+""}catch{}}return""}function Jl(d){if(d instanceof Nr)return d.clone();var _=new Gr(d.__wrapped__,d.__chain__);return _.__actions__=Rc(d.__actions__),_.__index__=d.__index__,_.__values__=d.__values__,_}var pl=jr(function(d,_){return ma(d)?Al(d,ge(_,1,ma,!0)):[]}),zh=jr(function(d,_){var W=Ll(_);return ma(W)&&(W=s),ma(d)?Al(d,ge(_,1,ma,!0),Br(W,2)):[]}),hl=jr(function(d,_){var W=Ll(_);return ma(W)&&(W=s),ma(d)?Al(d,ge(_,1,ma,!0),s,W):[]});function bu(d,_,W){var we=null==d?0:d.length;if(!we)return-1;var nt=null==W?0:ao(W);return nt<0&&(nt=qo(we+nt,0)),Es(d,Br(_,3),nt)}function Kh(d,_,W){var we=null==d?0:d.length;if(!we)return-1;var nt=we-1;return W!==s&&(nt=ao(W),nt=W<0?qo(we+nt,0):Ea(nt,we-1)),Es(d,Br(_,3),nt,!0)}function ms(d){return(null==d?0:d.length)?ge(d,1):[]}function Qg(d){return d&&d.length?d[0]:s}var Vb=jr(function(d){var _=Kr(d,Uh);return _.length&&_[0]===d[0]?Is(_):[]}),lm=jr(function(d){var _=Ll(d),W=Kr(d,Uh);return _===Ll(W)?_=s:W.pop(),W.length&&W[0]===d[0]?Is(W,Br(_,2)):[]}),$b=jr(function(d){var _=Ll(d),W=Kr(d,Uh);return(_="function"==typeof _?_:s)&&W.pop(),W.length&&W[0]===d[0]?Is(W,s,_):[]});function Ll(d){var _=null==d?0:d.length;return _?d[_-1]:s}var Iv=jr(Mv);function Mv(d,_){return d&&d.length&&_&&_.length?cl(d,_):d}var Bl=ud(function(d,_){var W=null==d?0:d.length,we=Ml(d,_);return ll(d,Kr(_,function(nt){return Uu(nt,W)?+nt:nt}).sort(cd)),we});function fa(d){return null==d?d:yc.call(d)}var Hd=jr(function(d){return gi(ge(d,1,ma,!0))}),zd=jr(function(d){var _=Ll(d);return ma(_)&&(_=s),gi(ge(d,1,ma,!0),Br(_,2))}),fd=jr(function(d){var _=Ll(d);return _="function"==typeof _?_:s,gi(ge(d,1,ma,!0),s,_)});function wu(d){if(!d||!d.length)return[];var _=0;return d=Ao(d,function(W){if(ma(W))return _=qo(W.length,_),!0}),Wo(_,function(W){return Kr(d,zs(W))})}function Fl(d,_){if(!d||!d.length)return[];var W=wu(d);return null==_?W:Kr(W,function(we){return vs(_,s,we)})}var eu=jr(function(d,_){return ma(d)?Al(d,_):[]}),tu=jr(function(d){return Yc(Ao(d,ma))}),zp=jr(function(d){var _=Ll(d);return ma(_)&&(_=s),Yc(Ao(d,ma),Br(_,2))}),gd=jr(function(d){var _=Ll(d);return _="function"==typeof _?_:s,Yc(Ao(d,ma),s,_)}),Kp=jr(wu);var Yg=jr(function(d){var _=d.length,W=_>1?d[_-1]:s;return W="function"==typeof W?(d.pop(),W):s,Fl(d,W)});function Ss(d){var _=mt(d);return _.__chain__=!0,_}function Xd(d,_){return _(d)}var qh=ud(function(d){var _=d.length,W=_?d[0]:0,we=this.__wrapped__,nt=function(Ct){return Ml(Ct,d)};return!(_>1||this.__actions__.length)&&we instanceof Nr&&Uu(W)?((we=we.slice(W,+W+(_?1:0))).__actions__.push({func:Xd,args:[nt],thisArg:s}),new Gr(we,this.__chain__).thru(function(Ct){return _&&!Ct.length&&Ct.push(s),Ct})):this.thru(nt)});var Jg=em(function(d,_,W){An.call(d,W)?++d[W]:Ra(d,W,1)});var Qd=nm(bu),Ov=nm(Kh);function Pv(d,_){return(Jr(d)?Rr:ua)(d,Br(_,3))}function Zh(d,_){return(Jr(d)?oa:da)(d,Br(_,3))}var Rv=em(function(d,_,W){An.call(d,W)?d[W].push(_):Ra(d,W,[_])});var Gb=jr(function(d,_,W){var we=-1,nt="function"==typeof _,Ct=uc(d)?Rn(d.length):[];return ua(d,function(nn){Ct[++we]=nt?vs(_,nn,W):Ka(nn,_,W)}),Ct}),t_=em(function(d,_,W){Ra(d,W,_)});function Qp(d,_){return(Jr(d)?Kr:wa)(d,Br(_,3))}var Lv=em(function(d,_,W){d[W?0:1].push(_)},function(){return[[],[]]});var mm=jr(function(d,_){if(null==d)return[];var W=_.length;return W>1&&Lc(d,_[0],_[1])?_=[]:W>2&&Lc(_[0],_[1],_[2])&&(_=[_[0]]),cc(d,ge(_,1),[])}),Zd=za||function(){return xo.Date.now()};function gm(d,_,W){return _=W?s:_,_=d&&null==_?d.length:_,Nc(d,Ee,s,s,s,s,_)}function _m(d,_){var W;if("function"!=typeof _)throw new qe(y);return d=ao(d),function(){return--d>0&&(W=_.apply(this,arguments)),d<=1&&(_=s),W}}var qp=jr(function(d,_,W){var we=1;if(W.length){var nt=A(W,Vd(qp));we|=O}return Nc(d,we,_,W,nt)}),i_=jr(function(d,_,W){var we=3;if(W.length){var nt=A(W,Vd(i_));we|=O}return Nc(_,we,d,W,nt)});function Ba(d,_,W){var we,nt,Ct,nn,un,Dn,ii=0,oi=!1,jn=!1,Ii=!0;if("function"!=typeof d)throw new qe(y);function or($s){var Vc=we,ru=nt;return we=nt=s,ii=$s,nn=d.apply(ru,Vc)}function xr($s){var Vc=$s-Dn;return Dn===s||Vc>=_||Vc<0||jn&&$s-ii>=Ct}function So(){var $s=Zd();if(xr($s))return Io($s);un=Rl(So,function Hr($s){var Gu=_-($s-Dn);return jn?Ea(Gu,Ct-($s-ii)):Gu}($s))}function Io($s){return un=s,Ii&&we?or($s):(we=nt=s,nn)}function _a(){var $s=Zd(),Vc=xr($s);if(we=arguments,nt=this,Dn=$s,Vc){if(un===s)return function yr($s){return ii=$s,un=Rl(So,_),oi?or($s):nn}(Dn);if(jn)return Wh(un),un=Rl(So,_),or(Dn)}return un===s&&(un=Rl(So,_)),nn}return _=_l(_)||0,gs(W)&&(oi=!!W.leading,Ct=(jn="maxWait"in W)?qo(_l(W.maxWait)||0,_):Ct,Ii="trailing"in W?!!W.trailing:Ii),_a.cancel=function Wc(){un!==s&&Wh(un),ii=0,we=Dn=nt=un=s},_a.flush=function Wa(){return un===s?nn:Io(Zd())},_a}var Fv=jr(function(d,_){return la(d,1,_)}),Su=jr(function(d,_,W){return la(d,_l(_)||0,W)});function fl(d,_){if("function"!=typeof d||null!=_&&"function"!=typeof _)throw new qe(y);var W=function(){var we=arguments,nt=_?_.apply(this,we):we[0],Ct=W.cache;if(Ct.has(nt))return Ct.get(nt);var nn=d.apply(this,we);return W.cache=Ct.set(nt,nn)||Ct,nn};return W.cache=new(fl.Cache||Il),W}function vm(d){if("function"!=typeof d)throw new qe(y);return function(){var _=arguments;switch(_.length){case 0:return!d.call(this);case 1:return!d.call(this,_[0]);case 2:return!d.call(this,_[0],_[1]);case 3:return!d.call(this,_[0],_[1],_[2])}return!d.apply(this,_)}}fl.Cache=Il;var Yb=ad(function(d,_){var W=(_=1==_.length&&Jr(_[0])?Kr(_[0],us(Br())):Kr(ge(_,1),us(Br()))).length;return jr(function(we){for(var nt=-1,Ct=Ea(we.length,W);++nt<Ct;)we[nt]=_[nt].call(this,we[nt]);return vs(d,this,we)})}),ym=jr(function(d,_){var W=A(_,Vd(ym));return Nc(d,O,s,_,W)}),o_=jr(function(d,_){var W=A(_,Vd(o_));return Nc(d,Z,s,_,W)}),Zb=ud(function(d,_){return Nc(d,256,s,s,s,_)});function xu(d,_){return d===_||d!=d&&_!=_}var $v=$h($r),a_=$h(function(d,_){return d>=_}),Jd=pa(function(){return arguments}())?pa:function(d){return ga(d)&&An.call(d,"callee")&&!Ac.call(d,"callee")},Jr=Rn.isArray,jv=Co?us(Co):function Nu(d){return ga(d)&&Ni(d)==Y};function uc(d){return null!=d&&u_(d.length)&&!ml(d)}function ma(d){return ga(d)&&uc(d)}var dc=nd||bl,c_=jo?us(jo):function Lu(d){return ga(d)&&Ni(d)==He};function tf(d){if(!ga(d))return!1;var _=Ni(d);return _==Jt||"[object DOMException]"==_||"string"==typeof d.message&&"string"==typeof d.name&&!Em(d)}function ml(d){if(!gs(d))return!1;var _=Ni(d);return _==ee||_==V||"[object AsyncFunction]"==_||"[object Proxy]"==_}function o0(d){return"number"==typeof d&&d==ao(d)}function u_(d){return"number"==typeof d&&d>-1&&d%1==0&&d<=ut}function gs(d){var _=typeof d;return null!=d&&("object"==_||"function"==_)}function ga(d){return null!=d&&"object"==typeof d}var nf=hs?us(hs):function ea(d){return ga(d)&&Qa(d)==ue};function zv(d){return"number"==typeof d||ga(d)&&Ni(d)==De}function Em(d){if(!ga(d)||Ni(d)!=It)return!1;var _=qs(d);if(null===_)return!0;var W=An.call(_,"constructor")&&_.constructor;return"function"==typeof W&&W instanceof W&&gn.call(W)==Oo}var Kv=ec?us(ec):function Ga(d){return ga(d)&&Ni(d)==ze};var Gv=Os?us(Os):function Ap(d){return ga(d)&&Qa(d)==Mt};function wm(d){return"string"==typeof d||!Jr(d)&&ga(d)&&Ni(d)==Pt}function gl(d){return"symbol"==typeof d||ga(d)&&Ni(d)==bn}var bd=Ps?us(Ps):function Bu(d){return ga(d)&&u_(d.length)&&!!Wn[Ni(d)]};var ep=$h(ql),rf=$h(function(d,_){return d<=_});function Xv(d){if(!d)return[];if(uc(d))return wm(d)?nr(d):Rc(d);if(Ys&&d[Ys])return function yi(hn){for(var Hn,Rn=[];!(Hn=hn.next()).done;)Rn.push(Hn.value);return Rn}(d[Ys]());var _=Qa(d);return(_==ue?cr:_==Mt?Se:Wl)(d)}function iu(d){return d?(d=_l(d))===Me||d===-Me?17976931348623157e292*(d<0?-1:1):d==d?d:0:0===d?d:0}function ao(d){var _=iu(d),W=_%1;return _==_?W?_-W:_:0}function Zp(d){return d?Js(ao(d),0,Ce):0}function _l(d){if("number"==typeof d)return d;if(gl(d))return NaN;if(gs(d)){var _="function"==typeof d.valueOf?d.valueOf():d;d=gs(_)?_+"":_}if("string"!=typeof d)return 0===d?d:+d;d=tc(d);var W=es.test(d);return W||uo.test(d)?bo(d.slice(2),W?2:8):br.test(d)?NaN:+d}function xm(d){return Pl(d,tl(d))}function $o(d){return null==d?"":ri(d)}var l0=Pp(function(d,_){if(cm(_)||uc(_))Pl(_,Fa(_),d);else for(var W in _)An.call(_,W)&&Pu(d,W,_[W])}),Dm=Pp(function(d,_){Pl(_,tl(_),d)}),h_=Pp(function(d,_,W,we){Pl(_,tl(_),d,we)}),Cm=Pp(function(d,_,W,we){Pl(_,Fa(_),d,we)}),u0=ud(Ml);var p0=jr(function(d,_){d=ki(d);var W=-1,we=_.length,nt=we>2?_[2]:s;for(nt&&Lc(_[0],_[1],nt)&&(we=1);++W<we;)for(var Ct=_[W],nn=tl(Ct),un=-1,Dn=nn.length;++un<Dn;){var ii=nn[un],oi=d[ii];(oi===s||xu(oi,At[ii])&&!An.call(d,ii))&&(d[ii]=Ct[ii])}return d}),of=jr(function(d){return d.push(s,Fg),vs(m_,s,d)});function km(d,_,W){var we=null==d?s:li(d,_);return we===s?W:we}function np(d,_){return null!=d&&xv(d,_,Po)}var eh=Nb(function(d,_,W){null!=_&&"function"!=typeof _.toString&&(_=Zi.call(_)),d[_]=W},na(Tc)),m0=Nb(function(d,_,W){null!=_&&"function"!=typeof _.toString&&(_=Zi.call(_)),An.call(d,_)?d[_].push(W):d[_]=[W]},Br),Zv=jr(Ka);function Fa(d){return uc(d)?Tp(d):qc(d)}function tl(d){return uc(d)?Tp(d,!0):ac(d)}var g0=Pp(function(d,_,W){rd(d,_,W)}),m_=Pp(function(d,_,W,we){rd(d,_,W,we)}),ey=ud(function(d,_){var W={};if(null==d)return W;var we=!1;_=Kr(_,function(Ct){return Ct=Yl(Ct,d),we||(we=Ct.length>1),Ct}),Pl(d,Zl(d),W),we&&(W=Na(W,7,Tw));for(var nt=_.length;nt--;)Qr(W,_[nt]);return W});var wd=ud(function(d,_){return null==d?{}:function qf(d,_){return Lh(d,_,function(W,we){return np(d,we)})}(d,_)});function sf(d,_){if(null==d)return{};var W=Kr(Zl(d),function(we){return[we]});return _=Br(_),Lh(d,W,function(we,nt){return _(we,nt[0])})}var Du=dl(Fa),ip=dl(tl);function Wl(d){return null==d?[]:Dt(d,Fa(d))}var v0=xa(function(d,_,W){return _=_.toLowerCase(),d+(W?gr(_):_)});function gr(d){return Pm($o(d).toLowerCase())}function Ow(d){return(d=$o(d))&&d.replace(Qi,Rt).replace(St,"")}var y0=xa(function(d,_,W){return d+(W?"-":"")+_.toLowerCase()}),b0=xa(function(d,_,W){return d+(W?" ":"")+_.toLowerCase()}),th=Wd("toLowerCase");var ry=xa(function(d,_,W){return d+(W?"_":"")+_.toLowerCase()});var xs=xa(function(d,_,W){return d+(W?" ":"")+Pm(_)});var Om=xa(function(d,_,W){return d+(W?" ":"")+_.toUpperCase()}),Pm=Wd("toUpperCase");function Rm(d,_,W){return d=$o(d),(_=W?s:_)===s?function hi(hn){return Ln.test(hn)}(d)?function Bo(hn){return hn.match(xt)||[]}(d):function wo(hn){return hn.match(Mr)||[]}(d):d.match(_)||[]}var b_=jr(function(d,_){try{return vs(d,s,_)}catch(W){return tf(W)?W:new Zn(W)}}),Nm=ud(function(d,_){return Rr(_,function(W){W=Yo(W),Ra(d,W,qp(d[W],d))}),d});function na(d){return function(){return d}}var ay=_v(),Bm=_v(!0);function Tc(d){return d}function Fm(d){return wc("function"==typeof d?d:Na(d,1))}var ly=jr(function(d,_){return function(W){return Ka(W,d,_)}}),E_=jr(function(d,_){return function(W){return Ka(d,W,_)}});function ff(d,_,W){var we=Fa(_),nt=Gn(_,we);null==W&&(!gs(_)||!nt.length&&we.length)&&(W=_,_=d,d=this,nt=Gn(_,Fa(_)));var Ct=!(gs(W)&&"chain"in W&&!W.chain),nn=ml(d);return Rr(nt,function(un){var Dn=_[un];d[un]=Dn,nn&&(d.prototype[un]=function(){var ii=this.__chain__;if(Ct||ii){var oi=d(this.__wrapped__);return(oi.__actions__=Rc(this.__actions__)).push({func:Dn,args:arguments,thisArg:d}),oi.__chain__=ii,oi}return Dn.apply(d,Ns([this.value()],arguments))})}),d}function sp(){}var mf=rm(Kr),D0=rm(ls),C0=rm(ja);function uy(d){return Kg(d)?zs(Yo(d)):function Yf(d){return function(_){return li(_,d)}}(d)}var ap=vv(),Cu=vv(!0);function ar(){return[]}function bl(){return!1}var Vl=im(function(d,_){return d+_},0),lp=om("ceil"),Uo=im(function(d,_){return d/_},1),Ku=om("floor");var x_=im(function(d,_){return d*_},1),$m=om("round"),D_=im(function(d,_){return d-_},0);return mt.after=function Bv(d,_){if("function"!=typeof _)throw new qe(y);return d=ao(d),function(){if(--d<1)return _.apply(this,arguments)}},mt.ary=gm,mt.assign=l0,mt.assignIn=Dm,mt.assignInWith=h_,mt.assignWith=Cm,mt.at=u0,mt.before=_m,mt.bind=qp,mt.bindAll=Nm,mt.bindKey=i_,mt.castArray=function Wv(){if(!arguments.length)return[];var d=arguments[0];return Jr(d)?d:[d]},mt.chain=Ss,mt.chunk=function dr(d,_,W){_=(W?Lc(d,_,W):_===s)?1:qo(ao(_),0);var we=null==d?0:d.length;if(!we||_<1)return[];for(var nt=0,Ct=0,nn=Rn(Oa(we/_));nt<we;)nn[Ct++]=Xa(d,nt,nt+=_);return nn},mt.compact=function Hh(d){for(var _=-1,W=null==d?0:d.length,we=0,nt=[];++_<W;){var Ct=d[_];Ct&&(nt[we++]=Ct)}return nt},mt.concat=function Bp(){var d=arguments.length;if(!d)return[];for(var _=Rn(d-1),W=arguments[0],we=d;we--;)_[we-1]=arguments[we];return Ns(Jr(W)?Rc(W):[W],ge(_,1))},mt.cond=function Lm(d){var _=null==d?0:d.length,W=Br();return d=_?Kr(d,function(we){if("function"!=typeof we[1])throw new qe(y);return[W(we[0]),we[1]]}):[],jr(function(we){for(var nt=-1;++nt<_;){var Ct=d[nt];if(vs(Ct[0],this,we))return vs(Ct[1],this,we)}})},mt.conforms=function op(d){return function Ru(d){var _=Fa(d);return function(W){return fu(W,d,_)}}(Na(d,1))},mt.constant=na,mt.countBy=Jg,mt.create=function d0(d,_){var W=ca(d);return null==_?W:Mp(W,_)},mt.curry=function r_(d,_,W){var we=Nc(d,8,s,s,s,s,s,_=W?s:_);return we.placeholder=r_.placeholder,we},mt.curryRight=function xi(d,_,W){var we=Nc(d,w,s,s,s,s,s,_=W?s:_);return we.placeholder=xi.placeholder,we},mt.debounce=Ba,mt.defaults=p0,mt.defaultsDeep=of,mt.defer=Fv,mt.delay=Su,mt.difference=pl,mt.differenceBy=zh,mt.differenceWith=hl,mt.drop=function Bc(d,_,W){var we=null==d?0:d.length;return we?Xa(d,(_=W||_===s?1:ao(_))<0?0:_,we):[]},mt.dropRight=function Fc(d,_,W){var we=null==d?0:d.length;return we?Xa(d,0,(_=we-(_=W||_===s?1:ao(_)))<0?0:_):[]},mt.dropRightWhile=function Fp(d,_){return d&&d.length?Fo(d,Br(_,3),!0,!0):[]},mt.dropWhile=function Up(d,_){return d&&d.length?Fo(d,Br(_,3),!0):[]},mt.fill=function Xg(d,_,W,we){var nt=null==d?0:d.length;return nt?(W&&"number"!=typeof W&&Lc(d,_,W)&&(W=0,we=nt),function Pg(d,_,W,we){var nt=d.length;for((W=ao(W))<0&&(W=-W>nt?0:nt+W),(we=we===s||we>nt?nt:ao(we))<0&&(we+=nt),we=W>we?0:Zp(we);W<we;)d[W++]=_;return d}(d,_,W,we)):[]},mt.filter=function Yh(d,_){return(Jr(d)?Ao:Je)(d,Br(_,3))},mt.flatMap=function hm(d,_){return ge(Qp(d,_),1)},mt.flatMapDeep=function qd(d,_){return ge(Qp(d,_),Me)},mt.flatMapDepth=function zb(d,_,W){return W=W===s?1:ao(W),ge(Qp(d,_),W)},mt.flatten=ms,mt.flattenDeep=function hd(d){return(null==d?0:d.length)?ge(d,Me):[]},mt.flattenDepth=function qa(d,_){return(null==d?0:d.length)?ge(d,_=_===s?1:ao(_)):[]},mt.flip=function vd(d){return Nc(d,512)},mt.flow=ay,mt.flowRight=Bm,mt.fromPairs=function Wp(d){for(var _=-1,W=null==d?0:d.length,we={};++_<W;){var nt=d[_];Ra(we,nt[0],nt[1])}return we},mt.functions=function Yv(d){return null==d?[]:Gn(d,Fa(d))},mt.functionsIn=function f0(d){return null==d?[]:Gn(d,tl(d))},mt.groupBy=Rv,mt.initial=function Tv(d){return(null==d?0:d.length)?Xa(d,0,-1):[]},mt.intersection=Vb,mt.intersectionBy=lm,mt.intersectionWith=$b,mt.invert=eh,mt.invertBy=m0,mt.invokeMap=Gb,mt.iteratee=Fm,mt.keyBy=t_,mt.keys=Fa,mt.keysIn=tl,mt.map=Qp,mt.mapKeys=function Jv(d,_){var W={};return _=Br(_,3),dn(d,function(we,nt,Ct){Ra(W,_(we,nt,Ct),we)}),W},mt.mapValues=function Im(d,_){var W={};return _=Br(_,3),dn(d,function(we,nt,Ct){Ra(W,nt,_(we,nt,Ct))}),W},mt.matches=function Um(d){return Sa(Na(d,1))},mt.matchesProperty=function cy(d,_){return gu(d,Na(_,1))},mt.memoize=fl,mt.merge=g0,mt.mergeWith=m_,mt.method=ly,mt.methodOf=E_,mt.mixin=ff,mt.negate=vm,mt.nthArg=function Wm(d){return d=ao(d),jr(function(_){return al(_,d)})},mt.omit=ey,mt.omitBy=function g_(d,_){return sf(d,vm(Br(_)))},mt.once=function yd(d){return _m(2,d)},mt.orderBy=function Nv(d,_,W,we){return null==d?[]:(Jr(_)||(_=null==_?[]:[_]),Jr(W=we?s:W)||(W=null==W?[]:[W]),cc(d,_,W))},mt.over=mf,mt.overArgs=Yb,mt.overEvery=D0,mt.overSome=C0,mt.partial=ym,mt.partialRight=o_,mt.partition=Lv,mt.pick=wd,mt.pickBy=sf,mt.property=uy,mt.propertyOf=function zu(d){return function(_){return null==d?s:li(d,_)}},mt.pull=Iv,mt.pullAll=Mv,mt.pullAllBy=function jb(d,_,W){return d&&d.length&&_&&_.length?cl(d,_,Br(W,2)):d},mt.pullAllWith=function um(d,_,W){return d&&d.length&&_&&_.length?cl(d,_,s,W):d},mt.pullAt=Bl,mt.range=ap,mt.rangeRight=Cu,mt.rearg=Zb,mt.reject=function _d(d,_){return(Jr(d)?Ao:Je)(d,vm(Br(_,3)))},mt.remove=function Ko(d,_){var W=[];if(!d||!d.length)return W;var we=-1,nt=[],Ct=d.length;for(_=Br(_,3);++we<Ct;){var nn=d[we];_(nn,we,d)&&(W.push(nn),nt.push(we))}return ll(d,nt),W},mt.rest=function Jb(d,_){if("function"!=typeof d)throw new qe(y);return jr(d,_=_===s?_:ao(_))},mt.reverse=fa,mt.sampleSize=function n_(d,_,W){return _=(W?Lc(d,_,W):_===s)?1:ao(_),(Jr(d)?Qf:Bh)(d,_)},mt.set=function ty(d,_,W){return null==d?d:Fd(d,_,W)},mt.setWith=function Sd(d,_,W,we){return we="function"==typeof we?we:s,null==d?d:Fd(d,_,W,we)},mt.shuffle=function fm(d){return(Jr(d)?Nh:Zf)(d)},mt.slice=function Xh(d,_,W){var we=null==d?0:d.length;return we?(W&&"number"!=typeof W&&Lc(d,_,W)?(_=0,W=we):(_=null==_?0:ao(_),W=W===s?we:ao(W)),Xa(d,_,W)):[]},mt.sortBy=mm,mt.sortedUniq=function pm(d){return d&&d.length?an(d):[]},mt.sortedUniqBy=function jd(d,_){return d&&d.length?an(d,Br(_,2)):[]},mt.split=function E0(d,_,W){return W&&"number"!=typeof W&&Lc(d,_,W)&&(_=W=s),(W=W===s?Ce:W>>>0)?(d=$o(d))&&("string"==typeof _||null!=_&&!Kv(_))&&(!(_=ri(_))&&On(d))?Us(nr(d),0,W):d.split(_,W):[]},mt.spread=function e0(d,_){if("function"!=typeof d)throw new qe(y);return _=null==_?0:qo(ao(_),0),jr(function(W){var we=W[_],nt=Us(W,0,_);return we&&Ns(nt,we),vs(d,this,nt)})},mt.tail=function Qh(d){var _=null==d?0:d.length;return _?Xa(d,1,_):[]},mt.take=function Hp(d,_,W){return d&&d.length?Xa(d,0,(_=W||_===s?1:ao(_))<0?0:_):[]},mt.takeRight=function Jc(d,_,W){var we=null==d?0:d.length;return we?Xa(d,(_=we-(_=W||_===s?1:ao(_)))<0?0:_,we):[]},mt.takeRightWhile=function Eu(d,_){return d&&d.length?Fo(d,Br(_,3),!1,!0):[]},mt.takeWhile=function Hu(d,_){return d&&d.length?Fo(d,Br(_,3)):[]},mt.tap=function Bi(d,_){return _(d),d},mt.throttle=function Uv(d,_,W){var we=!0,nt=!0;if("function"!=typeof d)throw new qe(y);return gs(W)&&(we="leading"in W?!!W.leading:we,nt="trailing"in W?!!W.trailing:nt),Ba(d,_,{leading:we,maxWait:_,trailing:nt})},mt.thru=Xd,mt.toArray=Xv,mt.toPairs=Du,mt.toPairsIn=ip,mt.toPath=function Td(d){return Jr(d)?Kr(d,Yo):gl(d)?[d]:Rc(Wu($o(d)))},mt.toPlainObject=xm,mt.transform=function Mm(d,_,W){var we=Jr(d),nt=we||dc(d)||bd(d);if(_=Br(_,4),null==W){var Ct=d&&d.constructor;W=nt?we?new Ct:[]:gs(d)&&ml(Ct)?ca(qs(d)):{}}return(nt?Rr:dn)(d,function(nn,un,Dn){return _(W,nn,un,Dn)}),W},mt.unary=function t0(d){return gm(d,1)},mt.union=Hd,mt.unionBy=zd,mt.unionWith=fd,mt.uniq=function md(d){return d&&d.length?gi(d):[]},mt.uniqBy=function Kd(d,_){return d&&d.length?gi(d,Br(_,2)):[]},mt.uniqWith=function Gd(d,_){return _="function"==typeof _?_:s,d&&d.length?gi(d,s,_):[]},mt.unset=function af(d,_){return null==d||Qr(d,_)},mt.unzip=wu,mt.unzipWith=Fl,mt.update=function _0(d,_,W){return null==d?d:Zr(d,_,sd(W))},mt.updateWith=function vl(d,_,W,we){return we="function"==typeof we?we:s,null==d?d:Zr(d,_,sd(W),we)},mt.values=Wl,mt.valuesIn=function yl(d){return null==d?[]:Dt(d,tl(d))},mt.without=eu,mt.words=Rm,mt.wrap=function Yp(d,_){return ym(sd(_),d)},mt.xor=tu,mt.xorBy=zp,mt.xorWith=gd,mt.zip=Kp,mt.zipObject=function Vs(d,_){return _u(d||[],_||[],Pu)},mt.zipObjectDeep=function Ur(d,_){return _u(d||[],_||[],Fd)},mt.zipWith=Yg,mt.entries=Du,mt.entriesIn=ip,mt.extend=Dm,mt.extendWith=h_,ff(mt,mt),mt.add=Vl,mt.attempt=b_,mt.camelCase=v0,mt.capitalize=gr,mt.ceil=lp,mt.clamp=function Cc(d,_,W){return W===s&&(W=_,_=s),W!==s&&(W=(W=_l(W))==W?W:0),_!==s&&(_=(_=_l(_))==_?_:0),Js(_l(d),_,W)},mt.clone=function n0(d){return Na(d,4)},mt.cloneDeep=function i0(d){return Na(d,5)},mt.cloneDeepWith=function bm(d,_){return Na(d,5,_="function"==typeof _?_:s)},mt.cloneWith=function s_(d,_){return Na(d,4,_="function"==typeof _?_:s)},mt.conformsTo=function Vv(d,_){return null==_||fu(d,_,Fa(_))},mt.deburr=Ow,mt.defaultTo=function hf(d,_){return null==d||d!=d?_:d},mt.divide=Uo,mt.endsWith=function cf(d,_,W){d=$o(d),_=ri(_);var we=d.length,nt=W=W===s?we:Js(ao(W),0,we);return(W-=_.length)>=0&&d.slice(W,nt)==_},mt.eq=xu,mt.escape=function iy(d){return(d=$o(d))&&mn.test(d)?d.replace(kt,Zt):d},mt.escapeRegExp=function v_(d){return(d=$o(d))&&Yn.test(d)?d.replace(pr,"\\$&"):d},mt.every=function e_(d,_,W){var we=Jr(d)?ls:Ld;return W&&Lc(d,_,W)&&(_=s),we(d,Br(_,3))},mt.find=Qd,mt.findIndex=bu,mt.findKey=function Qv(d,_){return Ta(d,Br(_,3),dn)},mt.findLast=Ov,mt.findLastIndex=Kh,mt.findLastKey=function h0(d,_){return Ta(d,Br(_,3),Fn)},mt.floor=Ku,mt.forEach=Pv,mt.forEachRight=Zh,mt.forIn=function Jp(d,_){return null==d?d:Xe(d,Br(_,3),tl)},mt.forInRight=function Tm(d,_){return null==d?d:Ft(d,Br(_,3),tl)},mt.forOwn=function qv(d,_){return d&&dn(d,Br(_,3))},mt.forOwnRight=function f_(d,_){return d&&Fn(d,Br(_,3))},mt.get=km,mt.gt=$v,mt.gte=a_,mt.has=function tp(d,_){return null!=d&&xv(d,_,rr)},mt.hasIn=np,mt.head=Qg,mt.identity=Tc,mt.includes=function Kb(d,_,W,we){d=uc(d)?d:Wl(d),W=W&&!we?ao(W):0;var nt=d.length;return W<0&&(W=qo(nt+W,0)),wm(d)?W<=nt&&d.indexOf(_,W)>-1:!!nt&&Ls(d,_,W)>-1},mt.indexOf=function Gh(d,_,W){var we=null==d?0:d.length;if(!we)return-1;var nt=null==W?0:ao(W);return nt<0&&(nt=qo(we+nt,0)),Ls(d,_,nt)},mt.inRange=function __(d,_,W){return _=iu(_),W===s?(W=_,_=0):W=iu(W),function fs(d,_,W){return d>=Ea(_,W)&&d<qo(_,W)}(d=_l(d),_,W)},mt.invoke=Zv,mt.isArguments=Jd,mt.isArray=Jr,mt.isArrayBuffer=jv,mt.isArrayLike=uc,mt.isArrayLikeObject=ma,mt.isBoolean=function r0(d){return!0===d||!1===d||ga(d)&&Ni(d)==Fe},mt.isBuffer=dc,mt.isDate=c_,mt.isElement=function l_(d){return ga(d)&&1===d.nodeType&&!Em(d)},mt.isEmpty=function el(d){if(null==d)return!0;if(uc(d)&&(Jr(d)||"string"==typeof d||"function"==typeof d.splice||dc(d)||bd(d)||Jd(d)))return!d.length;var _=Qa(d);if(_==ue||_==Mt)return!d.size;if(cm(d))return!qc(d).length;for(var W in d)if(An.call(d,W))return!1;return!0},mt.isEqual=function Jh(d,_){return sl(d,_)},mt.isEqualWith=function ef(d,_,W){var we=(W="function"==typeof W?W:s)?W(d,_):s;return we===s?sl(d,_,s,W):!!we},mt.isError=tf,mt.isFinite=function Hv(d){return"number"==typeof d&&_r(d)},mt.isFunction=ml,mt.isInteger=o0,mt.isLength=u_,mt.isMap=nf,mt.isMatch=function d_(d,_){return d===_||sc(d,_,$g(_))},mt.isMatchWith=function s0(d,_,W){return W="function"==typeof W?W:s,sc(d,_,$g(_),W)},mt.isNaN=function a0(d){return zv(d)&&d!=+d},mt.isNative=function kw(d){if(am(d))throw new Zn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return mu(d)},mt.isNil=function c0(d){return null==d},mt.isNull=function Iw(d){return null===d},mt.isNumber=zv,mt.isObject=gs,mt.isObjectLike=ga,mt.isPlainObject=Em,mt.isRegExp=Kv,mt.isSafeInteger=function Mw(d){return o0(d)&&d>=-ut&&d<=ut},mt.isSet=Gv,mt.isString=wm,mt.isSymbol=gl,mt.isTypedArray=bd,mt.isUndefined=function Ya(d){return d===s},mt.isWeakMap=function p_(d){return ga(d)&&Qa(d)==Lt},mt.isWeakSet=function Sm(d){return ga(d)&&"[object WeakSet]"==Ni(d)},mt.join=function qg(d,_){return null==d?"":Xl.call(d,_)},mt.kebabCase=y0,mt.last=Ll,mt.lastIndexOf=function Vp(d,_,W){var we=null==d?0:d.length;if(!we)return-1;var nt=we;return W!==s&&(nt=(nt=ao(W))<0?qo(we+nt,0):Ea(nt,we-1)),_==_?function fi(hn,Hn,Rn){for(var bi=Rn+1;bi--;)if(hn[bi]===Hn)return bi;return bi}(d,_,nt):Es(d,so,nt,!0)},mt.lowerCase=b0,mt.lowerFirst=th,mt.lt=ep,mt.lte=rf,mt.max=function eo(d){return d&&d.length?zo(d,Tc,$r):s},mt.maxBy=function nl(d,_){return d&&d.length?zo(d,Br(_,2),$r):s},mt.mean=function Ua(d){return rs(d,Tc)},mt.meanBy=function il(d,_){return rs(d,Br(_,2))},mt.min=function Vm(d){return d&&d.length?zo(d,Tc,ql):s},mt.minBy=function S_(d,_){return d&&d.length?zo(d,Br(_,2),ql):s},mt.stubArray=ar,mt.stubFalse=bl,mt.stubObject=function Cd(){return{}},mt.stubString=function cp(){return""},mt.stubTrue=function El(){return!0},mt.multiply=x_,mt.nth=function kv(d,_){return d&&d.length?al(d,ao(_)):s},mt.noConflict=function Dd(){return xo._===this&&(xo._=ka),this},mt.noop=sp,mt.now=Zd,mt.pad=function xd(d,_,W){d=$o(d);var we=(_=ao(_))?fr(d):0;if(!_||we>=_)return d;var nt=(_-we)/2;return Zc(vc(nt),W)+d+Zc(Oa(nt),W)},mt.padEnd=function lf(d,_,W){d=$o(d);var we=(_=ao(_))?fr(d):0;return _&&we<_?d+Zc(_-we,W):d},mt.padStart=function nh(d,_,W){d=$o(d);var we=(_=ao(_))?fr(d):0;return _&&we<_?Zc(_-we,W)+d:d},mt.parseInt=function y_(d,_,W){return W||null==_?_=0:_&&(_=+_),Nd($o(d).replace(Yt,""),_||0)},mt.random=function ny(d,_,W){if(W&&"boolean"!=typeof W&&Lc(d,_,W)&&(_=W=s),W===s&&("boolean"==typeof _?(W=_,_=s):"boolean"==typeof d&&(W=d,d=s)),d===s&&_===s?(d=0,_=1):(d=iu(d),_===s?(_=d,d=0):_=iu(_)),d>_){var we=d;d=_,_=we}if(W||d%1||_%1){var nt=Oc();return Ea(d+nt*(_-d+no("1e-"+((nt+"").length-1))),_)}return Ol(d,_)},mt.reduce=function nu(d,_,W){var we=Jr(d)?ys:Ks,nt=arguments.length<3;return we(d,Br(_,4),W,nt,ua)},mt.reduceRight=function Xb(d,_,W){var we=Jr(d)?ho:Ks,nt=arguments.length<3;return we(d,Br(_,4),W,nt,da)},mt.repeat=function uf(d,_,W){return _=(W?Lc(d,_,W):_===s)?1:ao(_),Bd($o(d),_)},mt.replace=function ih(){var d=arguments,_=$o(d[0]);return d.length<3?_:_.replace(d[1],d[2])},mt.result=function Aw(d,_,W){var we=-1,nt=(_=Yl(_,d)).length;for(nt||(nt=1,d=s);++we<nt;){var Ct=null==d?s:d[Yo(_[we])];Ct===s&&(we=nt,Ct=W),d=ml(Ct)?Ct.call(d):Ct}return d},mt.round=$m,mt.runInContext=hn,mt.sample=function Qb(d){return(Jr(d)?kp:Fu)(d)},mt.size=function Yd(d){if(null==d)return 0;if(uc(d))return wm(d)?fr(d):d.length;var _=Qa(d);return _==ue||_==Mt?d.size:qc(d).length},mt.snakeCase=ry,mt.some=function qb(d,_,W){var we=Jr(d)?ja:K;return W&&Lc(d,_,W)&&(_=s),we(d,Br(_,3))},mt.sortedIndex=function dm(d,_){return Ie(d,_)},mt.sortedIndexBy=function Vu(d,_,W){return bt(d,_,Br(W,2))},mt.sortedIndexOf=function $p(d,_){var W=null==d?0:d.length;if(W){var we=Ie(d,_);if(we<W&&xu(d[we],_))return we}return-1},mt.sortedLastIndex=function $u(d,_){return Ie(d,_,!0)},mt.sortedLastIndexBy=function ju(d,_,W){return bt(d,_,Br(W,2),!0)},mt.sortedLastIndexOf=function jp(d,_){if(null==d?0:d.length){var we=Ie(d,_,!0)-1;if(xu(d[we],_))return we}return-1},mt.startCase=xs,mt.startsWith=function rp(d,_,W){return d=$o(d),W=null==W?0:Js(ao(W),0,d.length),_=ri(_),d.slice(W,W+_.length)==_},mt.subtract=D_,mt.sum=function jm(d){return d&&d.length?sa(d,Tc):0},mt.sumBy=function gf(d,_){return d&&d.length?sa(d,Br(_,2)):0},mt.template=function w0(d,_,W){var we=mt.templateSettings;W&&Lc(d,_,W)&&(_=s),d=$o(d),_=Cm({},_,we,Bg);var nt=Cm({},_.imports,we.imports,Bg),Ct=Fa(nt),nn=Dt(nt,Ct);Rr(Ct,function(xr){if(Fr.test(xr))throw new Zn("Invalid `imports` option passed into `_.template`")});var un,Dn,ii=0,oi=_.interpolate||Cr,jn="__p += '",Ii=go((_.escape||Cr).source+"|"+oi.source+"|"+(oi===$i?lo:Cr).source+"|"+(_.evaluate||Cr).source+"|$","g"),or="//# sourceURL="+(An.call(_,"sourceURL")?(_.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Sn+"]")+"\n";d.replace(Ii,function(xr,So,Io,Wc,Wa,_a){return Io||(Io=Wc),jn+=d.slice(ii,_a).replace(Ar,tn),So&&(un=!0,jn+="' +\n__e("+So+") +\n'"),Wa&&(Dn=!0,jn+="';\n"+Wa+";\n__p += '"),Io&&(jn+="' +\n((__t = ("+Io+")) == null ? '' : __t) +\n'"),ii=_a+xr.length,xr}),jn+="';\n";var yr=An.call(_,"variable")&&_.variable;if(yr){if(Fr.test(yr))throw new Zn("Invalid `variable` option passed into `_.template`")}else jn="with (obj) {\n"+jn+"\n}\n";jn=(Dn?jn.replace(at,""):jn).replace(Q,"$1").replace(Ae,"$1;"),jn="function("+(yr||"obj")+") {\n"+(yr?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(un?", __e = _.escape":"")+(Dn?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+jn+"return __p\n}";var Hr=b_(function(){return ci(Ct,or+"return "+jn).apply(s,nn)});if(Hr.source=jn,tf(Hr))throw Hr;return Hr},mt.times=function Uc(d,_){if((d=ao(d))<1||d>ut)return[];var W=Ce,we=Ea(d,Ce);_=Br(_),d-=Ce;for(var nt=Wo(we,_);++W<d;)_(W);return nt},mt.toFinite=iu,mt.toInteger=ao,mt.toLength=Zp,mt.toLower=function S0(d){return $o(d).toLowerCase()},mt.toNumber=_l,mt.toSafeInteger=function Ed(d){return d?Js(ao(d),-ut,ut):0===d?d:0},mt.toString=$o,mt.toUpper=function Am(d){return $o(d).toUpperCase()},mt.trim=function x0(d,_,W){if((d=$o(d))&&(W||_===s))return tc(d);if(!d||!(_=ri(_)))return d;var we=nr(d),nt=nr(_);return Us(we,re(we,nt),Be(we,nt)+1).join("")},mt.trimEnd=function oy(d,_,W){if((d=$o(d))&&(W||_===s))return d.slice(0,ds(d)+1);if(!d||!(_=ri(_)))return d;var we=nr(d);return Us(we,0,Be(we,nr(_))+1).join("")},mt.trimStart=function df(d,_,W){if((d=$o(d))&&(W||_===s))return d.replace(Yt,"");if(!d||!(_=ri(_)))return d;var we=nr(d);return Us(we,re(we,nr(_))).join("")},mt.truncate=function pf(d,_){var W=30,we="...";if(gs(_)){var nt="separator"in _?_.separator:nt;W="length"in _?ao(_.length):W,we="omission"in _?ri(_.omission):we}var Ct=(d=$o(d)).length;if(On(d)){var nn=nr(d);Ct=nn.length}if(W>=Ct)return d;var un=W-fr(we);if(un<1)return we;var Dn=nn?Us(nn,0,un).join(""):d.slice(0,un);if(nt===s)return Dn+we;if(nn&&(un+=Dn.length-un),Kv(nt)){if(d.slice(un).search(nt)){var ii,oi=Dn;for(nt.global||(nt=go(nt.source,$o(to.exec(nt))+"g")),nt.lastIndex=0;ii=nt.exec(oi);)var jn=ii.index;Dn=Dn.slice(0,jn===s?un:jn)}}else if(d.indexOf(ri(nt),un)!=un){var Ii=Dn.lastIndexOf(nt);Ii>-1&&(Dn=Dn.slice(0,Ii))}return Dn+we},mt.unescape=function sy(d){return(d=$o(d))&&cn.test(d)?d.replace(Qe,Xs):d},mt.uniqueId=function w_(d){var _=++Ri;return $o(d)+_},mt.upperCase=Om,mt.upperFirst=Pm,mt.each=Pv,mt.eachRight=Zh,mt.first=Qg,ff(mt,function(){var d={};return dn(mt,function(_,W){An.call(mt.prototype,W)||(d[W]=_)}),d}(),{chain:!1}),mt.VERSION="4.18.1",Rr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(d){mt[d].placeholder=mt}),Rr(["drop","take"],function(d,_){Nr.prototype[d]=function(W){W=W===s?1:qo(ao(W),0);var we=this.__filtered__&&!_?new Nr(this):this.clone();return we.__filtered__?we.__takeCount__=Ea(W,we.__takeCount__):we.__views__.push({size:Ea(W,Ce),type:d+(we.__dir__<0?"Right":"")}),we},Nr.prototype[d+"Right"]=function(W){return this.reverse()[d](W).reverse()}}),Rr(["filter","map","takeWhile"],function(d,_){var W=_+1,we=1==W||3==W;Nr.prototype[d]=function(nt){var Ct=this.clone();return Ct.__iteratees__.push({iteratee:Br(nt,3),type:W}),Ct.__filtered__=Ct.__filtered__||we,Ct}}),Rr(["head","last"],function(d,_){var W="take"+(_?"Right":"");Nr.prototype[d]=function(){return this[W](1).value()[0]}}),Rr(["initial","tail"],function(d,_){var W="drop"+(_?"":"Right");Nr.prototype[d]=function(){return this.__filtered__?new Nr(this):this[W](1)}}),Nr.prototype.compact=function(){return this.filter(Tc)},Nr.prototype.find=function(d){return this.filter(d).head()},Nr.prototype.findLast=function(d){return this.reverse().find(d)},Nr.prototype.invokeMap=jr(function(d,_){return"function"==typeof d?new Nr(this):this.map(function(W){return Ka(W,d,_)})}),Nr.prototype.reject=function(d){return this.filter(vm(Br(d)))},Nr.prototype.slice=function(d,_){d=ao(d);var W=this;return W.__filtered__&&(d>0||_<0)?new Nr(W):(d<0?W=W.takeRight(-d):d&&(W=W.drop(d)),_!==s&&(W=(_=ao(_))<0?W.dropRight(-_):W.take(_-d)),W)},Nr.prototype.takeRightWhile=function(d){return this.reverse().takeWhile(d).reverse()},Nr.prototype.toArray=function(){return this.take(Ce)},dn(Nr.prototype,function(d,_){var W=/^(?:filter|find|map|reject)|While$/.test(_),we=/^(?:head|last)$/.test(_),nt=mt[we?"take"+("last"==_?"Right":""):_],Ct=we||/^find/.test(_);nt&&(mt.prototype[_]=function(){var nn=this.__wrapped__,un=we?[1]:arguments,Dn=nn instanceof Nr,ii=un[0],oi=Dn||Jr(nn),jn=function(So){var Io=nt.apply(mt,Ns([So],un));return we&&Ii?Io[0]:Io};oi&&W&&"function"==typeof ii&&1!=ii.length&&(Dn=oi=!1);var Ii=this.__chain__,or=!!this.__actions__.length,yr=Ct&&!Ii,Hr=Dn&&!or;if(!Ct&&oi){nn=Hr?nn:new Nr(this);var xr=d.apply(nn,un);return xr.__actions__.push({func:Xd,args:[jn],thisArg:s}),new Gr(xr,Ii)}return yr&&Hr?d.apply(this,un):(xr=this.thru(jn),yr?we?xr.value()[0]:xr.value():xr)})}),Rr(["pop","push","shift","sort","splice","unshift"],function(d){var _=se[d],W=/^(?:push|sort|unshift)$/.test(d)?"tap":"thru",we=/^(?:pop|shift)$/.test(d);mt.prototype[d]=function(){var nt=arguments;if(we&&!this.__chain__){var Ct=this.value();return _.apply(Jr(Ct)?Ct:[],nt)}return this[W](function(nn){return _.apply(Jr(nn)?nn:[],nt)})}}),dn(Nr.prototype,function(d,_){var W=mt[_];if(W){var we=W.name+"";An.call(Ne,we)||(Ne[we]=[]),Ne[we].push({name:_,func:W})}}),Ne[Rp(s,2).name]=[{name:"wrapper",func:s}],Nr.prototype.clone=function Lr(){var d=new Nr(this.__wrapped__);return d.__actions__=Rc(this.__actions__),d.__dir__=this.__dir__,d.__filtered__=this.__filtered__,d.__iteratees__=Rc(this.__iteratees__),d.__takeCount__=this.__takeCount__,d.__views__=Rc(this.__views__),d},Nr.prototype.reverse=function Zs(){if(this.__filtered__){var d=new Nr(this);d.__dir__=-1,d.__filtered__=!0}else(d=this.clone()).__dir__*=-1;return d},Nr.prototype.value=function Pa(){var d=this.__wrapped__.value(),_=this.__dir__,W=Jr(d),we=_<0,nt=W?d.length:0,Ct=function Sv(d,_,W){for(var we=-1,nt=W.length;++we<nt;){var Ct=W[we],nn=Ct.size;switch(Ct.type){case"drop":d+=nn;break;case"dropRight":_-=nn;break;case"take":_=Ea(_,d+nn);break;case"takeRight":d=qo(d,_-nn)}}return{start:d,end:_}}(0,nt,this.__views__),nn=Ct.start,un=Ct.end,Dn=un-nn,ii=we?un:nn-1,oi=this.__iteratees__,jn=oi.length,Ii=0,or=Ea(Dn,this.__takeCount__);if(!W||!we&&nt==Dn&&or==Dn)return Sc(d,this.__actions__);var yr=[];e:for(;Dn--&&Ii<or;){for(var Hr=-1,xr=d[ii+=_];++Hr<jn;){var So=oi[Hr],Io=So.iteratee,Wc=So.type,Wa=Io(xr);if(2==Wc)xr=Wa;else if(!Wa){if(1==Wc)continue e;break e}}yr[Ii++]=xr}return yr},mt.prototype.at=qh,mt.prototype.chain=function Dc(){return Ss(this)},mt.prototype.commit=function Av(){return new Gr(this.value(),this.__chain__)},mt.prototype.next=function Ul(){this.__values__===s&&(this.__values__=Xv(this.value()));var d=this.__index__>=this.__values__.length;return{done:d,value:d?s:this.__values__[this.__index__++]}},mt.prototype.plant=function Zg(d){for(var _,W=this;W instanceof Ia;){var we=Jl(W);we.__index__=0,we.__values__=s,_?nt.__wrapped__=we:_=we;var nt=we;W=W.__wrapped__}return nt.__wrapped__=d,_},mt.prototype.reverse=function Gp(){var d=this.__wrapped__;if(d instanceof Nr){var _=d;return this.__actions__.length&&(_=new Nr(this)),(_=_.reverse()).__actions__.push({func:Xd,args:[fa],thisArg:s}),new Gr(_,this.__chain__)}return this.thru(fa)},mt.prototype.toJSON=mt.prototype.valueOf=mt.prototype.value=function Xp(){return Sc(this.__wrapped__,this.__actions__)},mt.prototype.first=mt.prototype.head,Ys&&(mt.prototype[Ys]=function Hb(){return this}),mt}();xo._=Qs,(m=function(){return Qs}.call(pe,h,pe,st))!==s&&(st.exports=m)}.call(this)},79626(st){"use strict";var h={};function m(y,b,x){x||(x=Error);var M=function(U){function J(I,T,C){return U.call(this,function N(U,J,I){return"string"==typeof b?b:b(U,J,I)}(I,T,C))||this}return function pe(y,b){y.prototype=Object.create(b.prototype),y.prototype.constructor=y,y.__proto__=b}(J,U),J}(x);M.prototype.name=x.name,M.prototype.code=y,h[y]=M}function s(y,b){if(Array.isArray(y)){var x=y.length;return y=y.map(function(N){return String(N)}),x>2?"one of ".concat(b," ").concat(y.slice(0,x-1).join(", "),", or ")+y[x-1]:2===x?"one of ".concat(b," ").concat(y[0]," or ").concat(y[1]):"of ".concat(b," ").concat(y[0])}return"of ".concat(b," ").concat(String(y))}m("ERR_INVALID_OPT_VALUE",function(y,b){return'The value "'+b+'" is invalid for option "'+y+'"'},TypeError),m("ERR_INVALID_ARG_TYPE",function(y,b,x){var N,M;if("string"==typeof b&&function f(y,b,x){return y.substr(!x||x<0?0:+x,b.length)===b}(b,"not ")?(N="must not be",b=b.replace(/^not /,"")):N="must be",function P(y,b,x){return(void 0===x||x>y.length)&&(x=y.length),y.substring(x-b.length,x)===b}(y," argument"))M="The ".concat(y," ").concat(N," ").concat(s(b,"type"));else{var U=function D(y,b,x){return"number"!=typeof x&&(x=0),!(x+b.length>y.length)&&-1!==y.indexOf(b,x)}(y,".")?"property":"argument";M='The "'.concat(y,'" ').concat(U," ").concat(N," ").concat(s(b,"type"))}return M+=". Received type ".concat(typeof x)},TypeError),m("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),m("ERR_METHOD_NOT_IMPLEMENTED",function(y){return"The "+y+" method is not implemented"}),m("ERR_STREAM_PREMATURE_CLOSE","Premature close"),m("ERR_STREAM_DESTROYED",function(y){return"Cannot call "+y+" after a stream was destroyed"}),m("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),m("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),m("ERR_STREAM_WRITE_AFTER_END","write after end"),m("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),m("ERR_UNKNOWN_ENCODING",function(y){return"Unknown encoding: "+y},TypeError),m("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),st.exports.F=h},73052(st,pe,h){"use strict";var m=Object.keys||function(M){var U=[];for(var J in M)U.push(J);return U};st.exports=b;var s=h(65602),f=h(35382);h(52608)(b,s);for(var P=m(f.prototype),D=0;D<P.length;D++){var y=P[D];b.prototype[y]||(b.prototype[y]=f.prototype[y])}function b(M){if(!(this instanceof b))return new b(M);s.call(this,M),f.call(this,M),this.allowHalfOpen=!0,M&&(!1===M.readable&&(this.readable=!1),!1===M.writable&&(this.writable=!1),!1===M.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",x)))}function x(){this._writableState.ended||process.nextTick(N,this)}function N(M){M.end()}Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(b.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(b.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(b.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(U){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=U,this._writableState.destroyed=U)}})},49926(st,pe,h){"use strict";st.exports=s;var m=h(52252);function s(f){if(!(this instanceof s))return new s(f);m.call(this,f)}h(52608)(s,m),s.prototype._transform=function(f,P,D){D(null,f)}},65602(st,pe,h){"use strict";var m;st.exports=te,te.ReadableState=j;h(95961).EventEmitter;var f=function(V,ue){return V.listeners(ue).length},P=h(74715),D=h(19201).Buffer,y=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};var M,N=h(79838);M=N&&N.debuglog?N.debuglog("stream"):function(){};var E,w,O,U=h(85127),J=h(14482),T=h(38253).getHighWaterMark,C=h(79626).F,R=C.ERR_INVALID_ARG_TYPE,B=C.ERR_STREAM_PUSH_AFTER_EOF,F=C.ERR_METHOD_NOT_IMPLEMENTED,$=C.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;h(52608)(te,P);var Z=J.errorOrDestroy,Ee=["error","close","destroy","pause","resume"];function j(ee,V,ue){m=m||h(73052),ee=ee||{},"boolean"!=typeof ue&&(ue=V instanceof m),this.objectMode=!!ee.objectMode,ue&&(this.objectMode=this.objectMode||!!ee.readableObjectMode),this.highWaterMark=T(this,ee,"readableHighWaterMark",ue),this.buffer=new U,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==ee.emitClose,this.autoDestroy=!!ee.autoDestroy,this.destroyed=!1,this.defaultEncoding=ee.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ee.encoding&&(E||(E=h(8479).I),this.decoder=new E(ee.encoding),this.encoding=ee.encoding)}function te(ee){if(m=m||h(73052),!(this instanceof te))return new te(ee);var V=this instanceof m;this._readableState=new j(ee,this,V),this.readable=!0,ee&&("function"==typeof ee.read&&(this._read=ee.read),"function"==typeof ee.destroy&&(this._destroy=ee.destroy)),P.call(this)}function ce(ee,V,ue,De,rt){M("readableAddChunk",V);var Kt,It=ee._readableState;if(null===V)It.reading=!1,function Me(ee,V){if(M("onEofChunk"),!V.ended){if(V.decoder){var ue=V.decoder.end();ue&&ue.length&&(V.buffer.push(ue),V.length+=V.objectMode?1:ue.length)}V.ended=!0,V.sync?ut(ee):(V.needReadable=!1,V.emittedReadable||(V.emittedReadable=!0,xe(ee)))}}(ee,It);else if(rt||(Kt=function Le(ee,V){var ue;return!function x(ee){return D.isBuffer(ee)||ee instanceof y}(V)&&"string"!=typeof V&&void 0!==V&&!ee.objectMode&&(ue=new R("chunk",["string","Buffer","Uint8Array"],V)),ue}(It,V)),Kt)Z(ee,Kt);else if(It.objectMode||V&&V.length>0)if("string"!=typeof V&&!It.objectMode&&Object.getPrototypeOf(V)!==D.prototype&&(V=function b(ee){return D.from(ee)}(V)),De)It.endEmitted?Z(ee,new $):ye(ee,It,V,!0);else if(It.ended)Z(ee,new B);else{if(It.destroyed)return!1;It.reading=!1,It.decoder&&!ue?(V=It.decoder.write(V),It.objectMode||0!==V.length?ye(ee,It,V,!1):Te(ee,It)):ye(ee,It,V,!1)}else De||(It.reading=!1,Te(ee,It));return!It.ended&&(It.length<It.highWaterMark||0===It.length)}function ye(ee,V,ue,De){V.flowing&&0===V.length&&!V.sync?(V.awaitDrain=0,ee.emit("data",ue)):(V.length+=V.objectMode?1:ue.length,De?V.buffer.unshift(ue):V.buffer.push(ue),V.needReadable&&ut(ee)),Te(ee,V)}Object.defineProperty(te.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(V){this._readableState&&(this._readableState.destroyed=V)}}),te.prototype.destroy=J.destroy,te.prototype._undestroy=J.undestroy,te.prototype._destroy=function(ee,V){V(ee)},te.prototype.push=function(ee,V){var De,ue=this._readableState;return ue.objectMode?De=!0:"string"==typeof ee&&((V=V||ue.defaultEncoding)!==ue.encoding&&(ee=D.from(ee,V),V=""),De=!0),ce(this,ee,V,!1,De)},te.prototype.unshift=function(ee){return ce(this,ee,null,!0,!1)},te.prototype.isPaused=function(){return!1===this._readableState.flowing},te.prototype.setEncoding=function(ee){E||(E=h(8479).I);var V=new E(ee);this._readableState.decoder=V,this._readableState.encoding=this._readableState.decoder.encoding;for(var ue=this._readableState.buffer.head,De="";null!==ue;)De+=V.write(ue.data),ue=ue.next;return this._readableState.buffer.clear(),""!==De&&this._readableState.buffer.push(De),this._readableState.length=De.length,this};var $e=1073741824;function We(ee,V){return ee<=0||0===V.length&&V.ended?0:V.objectMode?1:ee!=ee?V.flowing&&V.length?V.buffer.head.data.length:V.length:(ee>V.highWaterMark&&(V.highWaterMark=function Tt(ee){return ee>=$e?ee=$e:(ee--,ee|=ee>>>1,ee|=ee>>>2,ee|=ee>>>4,ee|=ee>>>8,ee|=ee>>>16,ee++),ee}(ee)),ee<=V.length?ee:V.ended?V.length:(V.needReadable=!0,0))}function ut(ee){var V=ee._readableState;M("emitReadable",V.needReadable,V.emittedReadable),V.needReadable=!1,V.emittedReadable||(M("emitReadable",V.flowing),V.emittedReadable=!0,process.nextTick(xe,ee))}function xe(ee){var V=ee._readableState;M("emitReadable_",V.destroyed,V.length,V.ended),!V.destroyed&&(V.length||V.ended)&&(ee.emit("readable"),V.emittedReadable=!1),V.needReadable=!V.flowing&&!V.ended&&V.length<=V.highWaterMark,G(ee)}function Te(ee,V){V.readingMore||(V.readingMore=!0,process.nextTick(Ce,ee,V))}function Ce(ee,V){for(;!V.reading&&!V.ended&&(V.length<V.highWaterMark||V.flowing&&0===V.length);){var ue=V.length;if(M("maybeReadMore read 0"),ee.read(0),ue===V.length)break}V.readingMore=!1}function he(ee){var V=ee._readableState;V.readableListening=ee.listenerCount("readable")>0,V.resumeScheduled&&!V.paused?V.flowing=!0:ee.listenerCount("data")>0&&ee.resume()}function ve(ee){M("readable nexttick read 0"),ee.read(0)}function de(ee,V){M("resume",V.reading),V.reading||ee.read(0),V.resumeScheduled=!1,ee.emit("resume"),G(ee),V.flowing&&!V.reading&&ee.read(0)}function G(ee){var V=ee._readableState;for(M("flow",V.flowing);V.flowing&&null!==ee.read(););}function Fe(ee,V){return 0===V.length?null:(V.objectMode?ue=V.buffer.shift():!ee||ee>=V.length?(ue=V.decoder?V.buffer.join(""):1===V.buffer.length?V.buffer.first():V.buffer.concat(V.length),V.buffer.clear()):ue=V.buffer.consume(ee,V.decoder),ue);var ue}function He(ee){var V=ee._readableState;M("endReadable",V.endEmitted),V.endEmitted||(V.ended=!0,process.nextTick(wt,V,ee))}function wt(ee,V){if(M("endReadableNT",ee.endEmitted,ee.length),!ee.endEmitted&&0===ee.length&&(ee.endEmitted=!0,V.readable=!1,V.emit("end"),ee.autoDestroy)){var ue=V._writableState;(!ue||ue.autoDestroy&&ue.finished)&&V.destroy()}}function Jt(ee,V){for(var ue=0,De=ee.length;ue<De;ue++)if(ee[ue]===V)return ue;return-1}te.prototype.read=function(ee){M("read",ee),ee=parseInt(ee,10);var V=this._readableState,ue=ee;if(0!==ee&&(V.emittedReadable=!1),0===ee&&V.needReadable&&((0!==V.highWaterMark?V.length>=V.highWaterMark:V.length>0)||V.ended))return M("read: emitReadable",V.length,V.ended),0===V.length&&V.ended?He(this):ut(this),null;if(0===(ee=We(ee,V))&&V.ended)return 0===V.length&&He(this),null;var rt,De=V.needReadable;return M("need readable",De),(0===V.length||V.length-ee<V.highWaterMark)&&M("length less than watermark",De=!0),V.ended||V.reading?M("reading or ended",De=!1):De&&(M("do read"),V.reading=!0,V.sync=!0,0===V.length&&(V.needReadable=!0),this._read(V.highWaterMark),V.sync=!1,V.reading||(ee=We(ue,V))),null===(rt=ee>0?Fe(ee,V):null)?(V.needReadable=V.length<=V.highWaterMark,ee=0):(V.length-=ee,V.awaitDrain=0),0===V.length&&(V.ended||(V.needReadable=!0),ue!==ee&&V.ended&&He(this)),null!==rt&&this.emit("data",rt),rt},te.prototype._read=function(ee){Z(this,new F("_read()"))},te.prototype.pipe=function(ee,V){var ue=this,De=this._readableState;switch(De.pipesCount){case 0:De.pipes=ee;break;case 1:De.pipes=[De.pipes,ee];break;default:De.pipes.push(ee)}De.pipesCount+=1,M("pipe count=%d opts=%j",De.pipesCount,V);var It=(!V||!1!==V.end)&&ee!==process.stdout&&ee!==process.stderr?Ht:Y;function Kt(fe,Et){M("onunpipe"),fe===ue&&Et&&!1===Et.hasUnpiped&&(Et.hasUnpiped=!0,function Pt(){M("cleanup"),ee.removeListener("close",Lt),ee.removeListener("finish",_e),ee.removeListener("drain",ze),ee.removeListener("error",Tn),ee.removeListener("unpipe",Kt),ue.removeListener("end",Ht),ue.removeListener("end",Y),ue.removeListener("data",bn),Mt=!0,De.awaitDrain&&(!ee._writableState||ee._writableState.needDrain)&&ze()}())}function Ht(){M("onend"),ee.end()}De.endEmitted?process.nextTick(It):ue.once("end",It),ee.on("unpipe",Kt);var ze=function et(ee){return function(){var ue=ee._readableState;M("pipeOnDrain",ue.awaitDrain),ue.awaitDrain&&ue.awaitDrain--,0===ue.awaitDrain&&f(ee,"data")&&(ue.flowing=!0,G(ee))}}(ue);ee.on("drain",ze);var Mt=!1;function bn(fe){M("ondata");var Et=ee.write(fe);M("dest.write",Et),!1===Et&&((1===De.pipesCount&&De.pipes===ee||De.pipesCount>1&&-1!==Jt(De.pipes,ee))&&!Mt&&(M("false write response, pause",De.awaitDrain),De.awaitDrain++),ue.pause())}function Tn(fe){M("onerror",fe),Y(),ee.removeListener("error",Tn),0===f(ee,"error")&&Z(ee,fe)}function Lt(){ee.removeListener("finish",_e),Y()}function _e(){M("onfinish"),ee.removeListener("close",Lt),Y()}function Y(){M("unpipe"),ue.unpipe(ee)}return ue.on("data",bn),function oe(ee,V,ue){if("function"==typeof ee.prependListener)return ee.prependListener(V,ue);ee._events&&ee._events[V]?Array.isArray(ee._events[V])?ee._events[V].unshift(ue):ee._events[V]=[ue,ee._events[V]]:ee.on(V,ue)}(ee,"error",Tn),ee.once("close",Lt),ee.once("finish",_e),ee.emit("pipe",ue),De.flowing||(M("pipe resume"),ue.resume()),ee},te.prototype.unpipe=function(ee){var V=this._readableState,ue={hasUnpiped:!1};if(0===V.pipesCount)return this;if(1===V.pipesCount)return ee&&ee!==V.pipes||(ee||(ee=V.pipes),V.pipes=null,V.pipesCount=0,V.flowing=!1,ee&&ee.emit("unpipe",this,ue)),this;if(!ee){var De=V.pipes,rt=V.pipesCount;V.pipes=null,V.pipesCount=0,V.flowing=!1;for(var It=0;It<rt;It++)De[It].emit("unpipe",this,{hasUnpiped:!1});return this}var Kt=Jt(V.pipes,ee);return-1===Kt||(V.pipes.splice(Kt,1),V.pipesCount-=1,1===V.pipesCount&&(V.pipes=V.pipes[0]),ee.emit("unpipe",this,ue)),this},te.prototype.on=function(ee,V){var ue=P.prototype.on.call(this,ee,V),De=this._readableState;return"data"===ee?(De.readableListening=this.listenerCount("readable")>0,!1!==De.flowing&&this.resume()):"readable"===ee&&!De.endEmitted&&!De.readableListening&&(De.readableListening=De.needReadable=!0,De.flowing=!1,De.emittedReadable=!1,M("on readable",De.length,De.reading),De.length?ut(this):De.reading||process.nextTick(ve,this)),ue},te.prototype.addListener=te.prototype.on,te.prototype.removeListener=function(ee,V){var ue=P.prototype.removeListener.call(this,ee,V);return"readable"===ee&&process.nextTick(he,this),ue},te.prototype.removeAllListeners=function(ee){var V=P.prototype.removeAllListeners.apply(this,arguments);return("readable"===ee||void 0===ee)&&process.nextTick(he,this),V},te.prototype.resume=function(){var ee=this._readableState;return ee.flowing||(M("resume"),ee.flowing=!ee.readableListening,function be(ee,V){V.resumeScheduled||(V.resumeScheduled=!0,process.nextTick(de,ee,V))}(this,ee)),ee.paused=!1,this},te.prototype.pause=function(){return M("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(M("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},te.prototype.wrap=function(ee){var V=this,ue=this._readableState,De=!1;for(var rt in ee.on("end",function(){if(M("wrapped end"),ue.decoder&&!ue.ended){var Kt=ue.decoder.end();Kt&&Kt.length&&V.push(Kt)}V.push(null)}),ee.on("data",function(Kt){(M("wrapped data"),ue.decoder&&(Kt=ue.decoder.write(Kt)),ue.objectMode&&null==Kt||!(ue.objectMode||Kt&&Kt.length))||(V.push(Kt)||(De=!0,ee.pause()))}),ee)void 0===this[rt]&&"function"==typeof ee[rt]&&(this[rt]=function(Ht){return function(){return ee[Ht].apply(ee,arguments)}}(rt));for(var It=0;It<Ee.length;It++)ee.on(Ee[It],this.emit.bind(this,Ee[It]));return this._read=function(Kt){M("wrapped _read",Kt),De&&(De=!1,ee.resume())},this},"function"==typeof Symbol&&(te.prototype[Symbol.asyncIterator]=function(){return void 0===w&&(w=h(94537)),w(this)}),Object.defineProperty(te.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(te.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(te.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(V){this._readableState&&(this._readableState.flowing=V)}}),te._fromList=Fe,Object.defineProperty(te.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(te.from=function(ee,V){return void 0===O&&(O=h(55883)),O(te,ee,V)})},52252(st,pe,h){"use strict";st.exports=x;var m=h(79626).F,s=m.ERR_METHOD_NOT_IMPLEMENTED,f=m.ERR_MULTIPLE_CALLBACK,P=m.ERR_TRANSFORM_ALREADY_TRANSFORMING,D=m.ERR_TRANSFORM_WITH_LENGTH_0,y=h(73052);function b(U,J){var I=this._transformState;I.transforming=!1;var T=I.writecb;if(null===T)return this.emit("error",new f);I.writechunk=null,I.writecb=null,null!=J&&this.push(J),T(U);var C=this._readableState;C.reading=!1,(C.needReadable||C.length<C.highWaterMark)&&this._read(C.highWaterMark)}function x(U){if(!(this instanceof x))return new x(U);y.call(this,U),this._transformState={afterTransform:b.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,U&&("function"==typeof U.transform&&(this._transform=U.transform),"function"==typeof U.flush&&(this._flush=U.flush)),this.on("prefinish",N)}function N(){var U=this;"function"!=typeof this._flush||this._readableState.destroyed?M(this,null,null):this._flush(function(J,I){M(U,J,I)})}function M(U,J,I){if(J)return U.emit("error",J);if(null!=I&&U.push(I),U._writableState.length)throw new D;if(U._transformState.transforming)throw new P;return U.push(null)}h(52608)(x,y),x.prototype.push=function(U,J){return this._transformState.needTransform=!1,y.prototype.push.call(this,U,J)},x.prototype._transform=function(U,J,I){I(new s("_transform()"))},x.prototype._write=function(U,J,I){var T=this._transformState;if(T.writecb=I,T.writechunk=U,T.writeencoding=J,!T.transforming){var C=this._readableState;(T.needTransform||C.needReadable||C.length<C.highWaterMark)&&this._read(C.highWaterMark)}},x.prototype._read=function(U){var J=this._transformState;null===J.writechunk||J.transforming?J.needTransform=!0:(J.transforming=!0,this._transform(J.writechunk,J.writeencoding,J.afterTransform))},x.prototype._destroy=function(U,J){y.prototype._destroy.call(this,U,function(I){J(I)})}},35382(st,pe,h){"use strict";function s(G){var Fe=this;this.next=null,this.entry=null,this.finish=function(){!function de(G,Fe,He){var wt=G.entry;for(G.entry=null;wt;){var Jt=wt.callback;Fe.pendingcb--,Jt(He),wt=wt.next}Fe.corkedRequestsFree.next=G}(Fe,G)}}var f;st.exports=j,j.WritableState=Ee;var P={deprecate:h(65993)},D=h(74715),y=h(19201).Buffer,b=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};var oe,M=h(14482),J=h(38253).getHighWaterMark,I=h(79626).F,T=I.ERR_INVALID_ARG_TYPE,C=I.ERR_METHOD_NOT_IMPLEMENTED,R=I.ERR_MULTIPLE_CALLBACK,B=I.ERR_STREAM_CANNOT_PIPE,F=I.ERR_STREAM_DESTROYED,$=I.ERR_STREAM_NULL_VALUES,E=I.ERR_STREAM_WRITE_AFTER_END,w=I.ERR_UNKNOWN_ENCODING,O=M.errorOrDestroy;function Z(){}function Ee(G,Fe,He){f=f||h(73052),G=G||{},"boolean"!=typeof He&&(He=Fe instanceof f),this.objectMode=!!G.objectMode,He&&(this.objectMode=this.objectMode||!!G.writableObjectMode),this.highWaterMark=J(this,G,"writableHighWaterMark",He),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var wt=!1===G.decodeStrings;this.decodeStrings=!wt,this.defaultEncoding=G.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Jt){!function Me(G,Fe){var He=G._writableState,wt=He.sync,Jt=He.writecb;if("function"!=typeof Jt)throw new R;if(function We(G){G.writing=!1,G.writecb=null,G.length-=G.writelen,G.writelen=0}(He),Fe)!function Tt(G,Fe,He,wt,Jt){--Fe.pendingcb,He?(process.nextTick(Jt,wt),process.nextTick(ve,G,Fe),G._writableState.errorEmitted=!0,O(G,wt)):(Jt(wt),G._writableState.errorEmitted=!0,O(G,wt),ve(G,Fe))}(G,He,wt,Fe,Jt);else{var ee=Ce(He)||G.destroyed;!ee&&!He.corked&&!He.bufferProcessing&&He.bufferedRequest&&Te(G,He),wt?process.nextTick(ut,G,He,ee,Jt):ut(G,He,ee,Jt)}}(Fe,Jt)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==G.emitClose,this.autoDestroy=!!G.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function j(G){var Fe=this instanceof(f=f||h(73052));if(!Fe&&!oe.call(j,this))return new j(G);this._writableState=new Ee(G,this,Fe),this.writable=!0,G&&("function"==typeof G.write&&(this._write=G.write),"function"==typeof G.writev&&(this._writev=G.writev),"function"==typeof G.destroy&&(this._destroy=G.destroy),"function"==typeof G.final&&(this._final=G.final)),D.call(this)}function $e(G,Fe,He,wt,Jt,ee,V){Fe.writelen=wt,Fe.writecb=V,Fe.writing=!0,Fe.sync=!0,Fe.destroyed?Fe.onwrite(new F("write")):He?G._writev(Jt,Fe.onwrite):G._write(Jt,ee,Fe.onwrite),Fe.sync=!1}function ut(G,Fe,He,wt){He||function xe(G,Fe){0===Fe.length&&Fe.needDrain&&(Fe.needDrain=!1,G.emit("drain"))}(G,Fe),Fe.pendingcb--,wt(),ve(G,Fe)}function Te(G,Fe){Fe.bufferProcessing=!0;var He=Fe.bufferedRequest;if(G._writev&&He&&He.next){var wt=Fe.bufferedRequestCount,Jt=new Array(wt),ee=Fe.corkedRequestsFree;ee.entry=He;for(var V=0,ue=!0;He;)Jt[V]=He,He.isBuf||(ue=!1),He=He.next,V+=1;Jt.allBuffers=ue,$e(G,Fe,!0,Fe.length,Jt,"",ee.finish),Fe.pendingcb++,Fe.lastBufferedRequest=null,ee.next?(Fe.corkedRequestsFree=ee.next,ee.next=null):Fe.corkedRequestsFree=new s(Fe),Fe.bufferedRequestCount=0}else{for(;He;){var De=He.chunk,rt=He.encoding,It=He.callback;if($e(G,Fe,!1,Fe.objectMode?1:De.length,De,rt,It),He=He.next,Fe.bufferedRequestCount--,Fe.writing)break}null===He&&(Fe.lastBufferedRequest=null)}Fe.bufferedRequest=He,Fe.bufferProcessing=!1}function Ce(G){return G.ending&&0===G.length&&null===G.bufferedRequest&&!G.finished&&!G.writing}function et(G,Fe){G._final(function(He){Fe.pendingcb--,He&&O(G,He),Fe.prefinished=!0,G.emit("prefinish"),ve(G,Fe)})}function ve(G,Fe){var He=Ce(Fe);if(He&&(function he(G,Fe){!Fe.prefinished&&!Fe.finalCalled&&("function"!=typeof G._final||Fe.destroyed?(Fe.prefinished=!0,G.emit("prefinish")):(Fe.pendingcb++,Fe.finalCalled=!0,process.nextTick(et,G,Fe)))}(G,Fe),0===Fe.pendingcb&&(Fe.finished=!0,G.emit("finish"),Fe.autoDestroy))){var wt=G._readableState;(!wt||wt.autoDestroy&&wt.endEmitted)&&G.destroy()}return He}h(52608)(j,D),Ee.prototype.getBuffer=function(){for(var Fe=this.bufferedRequest,He=[];Fe;)He.push(Fe),Fe=Fe.next;return He},function(){try{Object.defineProperty(Ee.prototype,"buffer",{get:P.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(oe=Function.prototype[Symbol.hasInstance],Object.defineProperty(j,Symbol.hasInstance,{value:function(Fe){return!!oe.call(this,Fe)||this===j&&(Fe&&Fe._writableState instanceof Ee)}})):oe=function(Fe){return Fe instanceof this},j.prototype.pipe=function(){O(this,new B)},j.prototype.write=function(G,Fe,He){var wt=this._writableState,Jt=!1,ee=!wt.objectMode&&function N(G){return y.isBuffer(G)||G instanceof b}(G);return ee&&!y.isBuffer(G)&&(G=function x(G){return y.from(G)}(G)),"function"==typeof Fe&&(He=Fe,Fe=null),ee?Fe="buffer":Fe||(Fe=wt.defaultEncoding),"function"!=typeof He&&(He=Z),wt.ending?function te(G,Fe){var He=new E;O(G,He),process.nextTick(Fe,He)}(this,He):(ee||function ce(G,Fe,He,wt){var Jt;return null===He?Jt=new $:"string"!=typeof He&&!Fe.objectMode&&(Jt=new T("chunk",["string","Buffer"],He)),!Jt||(O(G,Jt),process.nextTick(wt,Jt),!1)}(this,wt,G,He))&&(wt.pendingcb++,Jt=function Le(G,Fe,He,wt,Jt,ee){if(!He){var V=function ye(G,Fe,He){return!G.objectMode&&!1!==G.decodeStrings&&"string"==typeof Fe&&(Fe=y.from(Fe,He)),Fe}(Fe,wt,Jt);wt!==V&&(He=!0,Jt="buffer",wt=V)}var ue=Fe.objectMode?1:wt.length;Fe.length+=ue;var De=Fe.length<Fe.highWaterMark;if(De||(Fe.needDrain=!0),Fe.writing||Fe.corked){var rt=Fe.lastBufferedRequest;Fe.lastBufferedRequest={chunk:wt,encoding:Jt,isBuf:He,callback:ee,next:null},rt?rt.next=Fe.lastBufferedRequest:Fe.bufferedRequest=Fe.lastBufferedRequest,Fe.bufferedRequestCount+=1}else $e(G,Fe,!1,ue,wt,Jt,ee);return De}(this,wt,ee,G,Fe,He)),Jt},j.prototype.cork=function(){this._writableState.corked++},j.prototype.uncork=function(){var G=this._writableState;G.corked&&(G.corked--,!G.writing&&!G.corked&&!G.bufferProcessing&&G.bufferedRequest&&Te(this,G))},j.prototype.setDefaultEncoding=function(Fe){if("string"==typeof Fe&&(Fe=Fe.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Fe+"").toLowerCase())>-1))throw new w(Fe);return this._writableState.defaultEncoding=Fe,this},Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),j.prototype._write=function(G,Fe,He){He(new C("_write()"))},j.prototype._writev=null,j.prototype.end=function(G,Fe,He){var wt=this._writableState;return"function"==typeof G?(He=G,G=null,Fe=null):"function"==typeof Fe&&(He=Fe,Fe=null),null!=G&&this.write(G,Fe),wt.corked&&(wt.corked=1,this.uncork()),wt.ending||function be(G,Fe,He){Fe.ending=!0,ve(G,Fe),He&&(Fe.finished?process.nextTick(He):G.once("finish",He)),Fe.ended=!0,G.writable=!1}(this,wt,He),this},Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(Fe){this._writableState&&(this._writableState.destroyed=Fe)}}),j.prototype.destroy=M.destroy,j.prototype._undestroy=M.undestroy,j.prototype._destroy=function(G,Fe){Fe(G)}},94537(st,pe,h){"use strict";var m;function s(E,w,O){return w=function f(E){var w=function P(E,w){if("object"!=typeof E||null===E)return E;var O=E[Symbol.toPrimitive];if(void 0!==O){var Z=O.call(E,w||"default");if("object"!=typeof Z)return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===w?String:Number)(E)}(E,"string");return"symbol"==typeof w?w:String(w)}(w),w in E?Object.defineProperty(E,w,{value:O,enumerable:!0,configurable:!0,writable:!0}):E[w]=O,E}var D=h(75912),y=Symbol("lastResolve"),b=Symbol("lastReject"),x=Symbol("error"),N=Symbol("ended"),M=Symbol("lastPromise"),U=Symbol("handlePromise"),J=Symbol("stream");function I(E,w){return{value:E,done:w}}function T(E){var w=E[y];if(null!==w){var O=E[J].read();null!==O&&(E[M]=null,E[y]=null,E[b]=null,w(I(O,!1)))}}function C(E){process.nextTick(T,E)}var B=Object.getPrototypeOf(function(){}),F=Object.setPrototypeOf((s(m={get stream(){return this[J]},next:function(){var w=this,O=this[x];if(null!==O)return Promise.reject(O);if(this[N])return Promise.resolve(I(void 0,!0));if(this[J].destroyed)return new Promise(function(j,te){process.nextTick(function(){w[x]?te(w[x]):j(I(void 0,!0))})});var Ee,Z=this[M];if(Z)Ee=new Promise(function R(E,w){return function(O,Z){E.then(function(){w[N]?O(I(void 0,!0)):w[U](O,Z)},Z)}}(Z,this));else{var oe=this[J].read();if(null!==oe)return Promise.resolve(I(oe,!1));Ee=new Promise(this[U])}return this[M]=Ee,Ee}},Symbol.asyncIterator,function(){return this}),s(m,"return",function(){var w=this;return new Promise(function(O,Z){w[J].destroy(null,function(Ee){Ee?Z(Ee):O(I(void 0,!0))})})}),m),B);st.exports=function(w){var O,Z=Object.create(F,(s(O={},J,{value:w,writable:!0}),s(O,y,{value:null,writable:!0}),s(O,b,{value:null,writable:!0}),s(O,x,{value:null,writable:!0}),s(O,N,{value:w._readableState.endEmitted,writable:!0}),s(O,U,{value:function(oe,j){var te=Z[J].read();te?(Z[M]=null,Z[y]=null,Z[b]=null,oe(I(te,!1))):(Z[y]=oe,Z[b]=j)},writable:!0}),O));return Z[M]=null,D(w,function(Ee){if(Ee&&"ERR_STREAM_PREMATURE_CLOSE"!==Ee.code){var oe=Z[b];return null!==oe&&(Z[M]=null,Z[y]=null,Z[b]=null,oe(Ee)),void(Z[x]=Ee)}var j=Z[y];null!==j&&(Z[M]=null,Z[y]=null,Z[b]=null,j(I(void 0,!0))),Z[N]=!0}),w.on("readable",C.bind(null,Z)),Z}},85127(st,pe,h){"use strict";function m(C,R){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(C);R&&(F=F.filter(function($){return Object.getOwnPropertyDescriptor(C,$).enumerable})),B.push.apply(B,F)}return B}function s(C){for(var R=1;R<arguments.length;R++){var B=null!=arguments[R]?arguments[R]:{};R%2?m(Object(B),!0).forEach(function(F){f(C,F,B[F])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):m(Object(B)).forEach(function(F){Object.defineProperty(C,F,Object.getOwnPropertyDescriptor(B,F))})}return C}function f(C,R,B){return(R=b(R))in C?Object.defineProperty(C,R,{value:B,enumerable:!0,configurable:!0,writable:!0}):C[R]=B,C}function D(C,R){for(var B=0;B<R.length;B++){var F=R[B];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(C,b(F.key),F)}}function b(C){var R=function x(C,R){if("object"!=typeof C||null===C)return C;var B=C[Symbol.toPrimitive];if(void 0!==B){var F=B.call(C,R||"default");if("object"!=typeof F)return F;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===R?String:Number)(C)}(C,"string");return"symbol"==typeof R?R:String(R)}var M=h(19201).Buffer,J=h(15340).inspect,I=J&&J.custom||"inspect";function T(C,R,B){M.prototype.copy.call(C,R,B)}st.exports=function(){function C(){(function P(C,R){if(!(C instanceof R))throw new TypeError("Cannot call a class as a function")})(this,C),this.head=null,this.tail=null,this.length=0}return function y(C,R,B){return R&&D(C.prototype,R),B&&D(C,B),Object.defineProperty(C,"prototype",{writable:!1}),C}(C,[{key:"push",value:function(B){var F={data:B,next:null};this.length>0?this.tail.next=F:this.head=F,this.tail=F,++this.length}},{key:"unshift",value:function(B){var F={data:B,next:this.head};0===this.length&&(this.tail=F),this.head=F,++this.length}},{key:"shift",value:function(){if(0!==this.length){var B=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,B}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(B){if(0===this.length)return"";for(var F=this.head,$=""+F.data;F=F.next;)$+=B+F.data;return $}},{key:"concat",value:function(B){if(0===this.length)return M.alloc(0);for(var F=M.allocUnsafe(B>>>0),$=this.head,E=0;$;)T($.data,F,E),E+=$.data.length,$=$.next;return F}},{key:"consume",value:function(B,F){var $;return B<this.head.data.length?($=this.head.data.slice(0,B),this.head.data=this.head.data.slice(B)):$=B===this.head.data.length?this.shift():F?this._getString(B):this._getBuffer(B),$}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(B){var F=this.head,$=1,E=F.data;for(B-=E.length;F=F.next;){var w=F.data,O=B>w.length?w.length:B;if(O===w.length?E+=w:E+=w.slice(0,B),0===(B-=O)){O===w.length?(++$,F.next?this.head=F.next:this.head=this.tail=null):(this.head=F,F.data=w.slice(O));break}++$}return this.length-=$,E}},{key:"_getBuffer",value:function(B){var F=M.allocUnsafe(B),$=this.head,E=1;for($.data.copy(F),B-=$.data.length;$=$.next;){var w=$.data,O=B>w.length?w.length:B;if(w.copy(F,F.length-B,0,O),0===(B-=O)){O===w.length?(++E,$.next?this.head=$.next:this.head=this.tail=null):(this.head=$,$.data=w.slice(O));break}++E}return this.length-=E,F}},{key:I,value:function(B,F){return J(this,s(s({},F),{},{depth:0,customInspect:!1}))}}]),C}()},14482(st){"use strict";function h(D,y){f(D,y),m(D)}function m(D){D._writableState&&!D._writableState.emitClose||D._readableState&&!D._readableState.emitClose||D.emit("close")}function f(D,y){D.emit("error",y)}st.exports={destroy:function pe(D,y){var b=this,x=this._readableState&&this._readableState.destroyed,N=this._writableState&&this._writableState.destroyed;return x||N?(y?y(D):D&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(f,this,D)):process.nextTick(f,this,D)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(D||null,function(M){!y&&M?b._writableState?b._writableState.errorEmitted?process.nextTick(m,b):(b._writableState.errorEmitted=!0,process.nextTick(h,b,M)):process.nextTick(h,b,M):y?(process.nextTick(m,b),y(M)):process.nextTick(m,b)}),this)},undestroy:function s(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function P(D,y){var b=D._readableState,x=D._writableState;b&&b.autoDestroy||x&&x.autoDestroy?D.destroy(y):D.emit("error",y)}}},75912(st,pe,h){"use strict";var m=h(79626).F.ERR_STREAM_PREMATURE_CLOSE;function f(){}st.exports=function D(y,b,x){if("function"==typeof b)return D(y,null,b);b||(b={}),x=function s(y){var b=!1;return function(){if(!b){b=!0;for(var x=arguments.length,N=new Array(x),M=0;M<x;M++)N[M]=arguments[M];y.apply(this,N)}}}(x||f);var N=b.readable||!1!==b.readable&&y.readable,M=b.writable||!1!==b.writable&&y.writable,U=function(){y.writable||I()},J=y._writableState&&y._writableState.finished,I=function(){M=!1,J=!0,N||x.call(y)},T=y._readableState&&y._readableState.endEmitted,C=function(){N=!1,T=!0,M||x.call(y)},R=function(E){x.call(y,E)},B=function(){var E;return N&&!T?((!y._readableState||!y._readableState.ended)&&(E=new m),x.call(y,E)):M&&!J?((!y._writableState||!y._writableState.ended)&&(E=new m),x.call(y,E)):void 0},F=function(){y.req.on("finish",I)};return function P(y){return y.setHeader&&"function"==typeof y.abort}(y)?(y.on("complete",I),y.on("abort",B),y.req?F():y.on("request",F)):M&&!y._writableState&&(y.on("end",U),y.on("close",U)),y.on("end",C),y.on("finish",I),!1!==b.error&&y.on("error",R),y.on("close",B),function(){y.removeListener("complete",I),y.removeListener("abort",B),y.removeListener("request",F),y.req&&y.req.removeListener("finish",I),y.removeListener("end",U),y.removeListener("close",U),y.removeListener("finish",I),y.removeListener("end",C),y.removeListener("error",R),y.removeListener("close",B)}}},55883(st){st.exports=function(){throw new Error("Readable.from is not available in the browser")}},89348(st,pe,h){"use strict";var m;var f=h(79626).F,P=f.ERR_MISSING_ARGS,D=f.ERR_STREAM_DESTROYED;function y(I){if(I)throw I}function N(I){I()}function M(I,T){return I.pipe(T)}st.exports=function J(){for(var I=arguments.length,T=new Array(I),C=0;C<I;C++)T[C]=arguments[C];var R=function U(I){return I.length&&"function"==typeof I[I.length-1]?I.pop():y}(T);if(Array.isArray(T[0])&&(T=T[0]),T.length<2)throw new P("streams");var B,F=T.map(function($,E){var w=E<T.length-1;return function x(I,T,C,R){R=function s(I){var T=!1;return function(){T||(T=!0,I.apply(void 0,arguments))}}(R);var B=!1;I.on("close",function(){B=!0}),void 0===m&&(m=h(75912)),m(I,{readable:T,writable:C},function($){if($)return R($);B=!0,R()});var F=!1;return function($){if(!B&&!F){if(F=!0,function b(I){return I.setHeader&&"function"==typeof I.abort}(I))return I.abort();if("function"==typeof I.destroy)return I.destroy();R($||new D("pipe"))}}}($,w,E>0,function(Z){B||(B=Z),Z&&F.forEach(N),!w&&(F.forEach(N),R(B))})});return T.reduce(M)}},38253(st,pe,h){"use strict";var m=h(79626).F.ERR_INVALID_OPT_VALUE;st.exports={getHighWaterMark:function f(P,D,y,b){var x=function s(P,D,y){return null!=P.highWaterMark?P.highWaterMark:D?P[y]:null}(D,b,y);if(null!=x){if(!isFinite(x)||Math.floor(x)!==x||x<0)throw new m(b?y:"highWaterMark",x);return Math.floor(x)}return P.objectMode?16:16384}}},74715(st,pe,h){st.exports=h(95961).EventEmitter},5651(st,pe,h){"use strict";h.d(pe,{t:()=>s});var m=h(55919);class s extends m.B{constructor(P){super(),this._value=P}get value(){return this.getValue()}_subscribe(P){const D=super._subscribe(P);return!D.closed&&P.next(this._value),D}getValue(){const{hasError:P,thrownError:D,_value:y}=this;if(P)throw D;return this._throwIfClosed(),y}next(P){super.next(this._value=P)}}},75536(st,pe,h){"use strict";h.d(pe,{c:()=>x});var m=h(56193),s=h(23054),f=h(28269),P=h(66204),D=h(84619),y=h(18700),b=h(59525);class x{constructor(I){I&&(this._subscribe=I)}lift(I){const T=new x;return T.source=this,T.operator=I,T}subscribe(I,T,C){const R=function U(J){return J&&J instanceof m.vU||function M(J){return J&&(0,y.T)(J.next)&&(0,y.T)(J.error)&&(0,y.T)(J.complete)}(J)&&(0,s.Uv)(J)}(I)?I:new m.Ms(I,T,C);return(0,b.Y)(()=>{const{operator:B,source:F}=this;R.add(B?B.call(R,F):F?this._subscribe(R):this._trySubscribe(R))}),R}_trySubscribe(I){try{return this._subscribe(I)}catch(T){I.error(T)}}forEach(I,T){return new(T=N(T))((C,R)=>{const B=new m.Ms({next:F=>{try{I(F)}catch($){R($),B.unsubscribe()}},error:R,complete:C});this.subscribe(B)})}_subscribe(I){var T;return null===(T=this.source)||void 0===T?void 0:T.subscribe(I)}[f.s](){return this}pipe(...I){return(0,P.m)(I)(this)}toPromise(I){return new(I=N(I))((T,C)=>{let R;this.subscribe(B=>R=B,B=>C(B),()=>T(R))})}}function N(J){var I;return null!==(I=J??D.$.Promise)&&void 0!==I?I:Promise}x.create=J=>new x(J)},32540(st,pe,h){"use strict";h.d(pe,{m:()=>f});var m=h(55919),s=h(37082);class f extends m.B{constructor(D=1/0,y=1/0,b=s.U){super(),this._bufferSize=D,this._windowTime=y,this._timestampProvider=b,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=y===1/0,this._bufferSize=Math.max(1,D),this._windowTime=Math.max(1,y)}next(D){const{isStopped:y,_buffer:b,_infiniteTimeWindow:x,_timestampProvider:N,_windowTime:M}=this;y||(b.push(D),!x&&b.push(N.now()+M)),this._trimBuffer(),super.next(D)}_subscribe(D){this._throwIfClosed(),this._trimBuffer();const y=this._innerSubscribe(D),{_infiniteTimeWindow:b,_buffer:x}=this,N=x.slice();for(let M=0;M<N.length&&!D.closed;M+=b?1:2)D.next(N[M]);return this._checkFinalizedStatuses(D),y}_trimBuffer(){const{_bufferSize:D,_timestampProvider:y,_buffer:b,_infiniteTimeWindow:x}=this,N=(x?1:2)*D;if(D<1/0&&N<b.length&&b.splice(0,b.length-N),!x){const M=y.now();let U=0;for(let J=1;J<b.length&&b[J]<=M;J+=2)U=J;U&&b.splice(0,U+1)}}}},55919(st,pe,h){"use strict";h.d(pe,{B:()=>b});var m=h(75536),s=h(23054);const P=(0,h(82518).L)(N=>function(){N(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var D=h(24113),y=h(59525);class b extends m.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(M){const U=new x(this,this);return U.operator=M,U}_throwIfClosed(){if(this.closed)throw new P}next(M){(0,y.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const U of this.currentObservers)U.next(M)}})}error(M){(0,y.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=M;const{observers:U}=this;for(;U.length;)U.shift().error(M)}})}complete(){(0,y.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:M}=this;for(;M.length;)M.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var M;return(null===(M=this.observers)||void 0===M?void 0:M.length)>0}_trySubscribe(M){return this._throwIfClosed(),super._trySubscribe(M)}_subscribe(M){return this._throwIfClosed(),this._checkFinalizedStatuses(M),this._innerSubscribe(M)}_innerSubscribe(M){const{hasError:U,isStopped:J,observers:I}=this;return U||J?s.Kn:(this.currentObservers=null,I.push(M),new s.yU(()=>{this.currentObservers=null,(0,D.o)(I,M)}))}_checkFinalizedStatuses(M){const{hasError:U,thrownError:J,isStopped:I}=this;U?M.error(J):I&&M.complete()}asObservable(){const M=new m.c;return M.source=this,M}}b.create=(N,M)=>new x(N,M);class x extends b{constructor(M,U){super(),this.destination=M,this.source=U}next(M){var U,J;null===(J=null===(U=this.destination)||void 0===U?void 0:U.next)||void 0===J||J.call(U,M)}error(M){var U,J;null===(J=null===(U=this.destination)||void 0===U?void 0:U.error)||void 0===J||J.call(U,M)}complete(){var M,U;null===(U=null===(M=this.destination)||void 0===M?void 0:M.complete)||void 0===U||U.call(M)}_subscribe(M){var U,J;return null!==(J=null===(U=this.source)||void 0===U?void 0:U.subscribe(M))&&void 0!==J?J:s.Kn}}},56193(st,pe,h){"use strict";h.d(pe,{Ms:()=>R,vU:()=>J});var m=h(18700),s=h(23054),f=h(84619),P=h(98321),D=h(87516);const y=N("C",void 0,void 0);function N(w,O,Z){return{kind:w,value:O,error:Z}}var M=h(101),U=h(59525);class J extends s.yU{constructor(O){super(),this.isStopped=!1,O?(this.destination=O,(0,s.Uv)(O)&&O.add(this)):this.destination=E}static create(O,Z,Ee){return new R(O,Z,Ee)}next(O){this.isStopped?$(function x(w){return N("N",w,void 0)}(O),this):this._next(O)}error(O){this.isStopped?$(function b(w){return N("E",void 0,w)}(O),this):(this.isStopped=!0,this._error(O))}complete(){this.isStopped?$(y,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(O){this.destination.next(O)}_error(O){try{this.destination.error(O)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const I=Function.prototype.bind;function T(w,O){return I.call(w,O)}class C{constructor(O){this.partialObserver=O}next(O){const{partialObserver:Z}=this;if(Z.next)try{Z.next(O)}catch(Ee){B(Ee)}}error(O){const{partialObserver:Z}=this;if(Z.error)try{Z.error(O)}catch(Ee){B(Ee)}else B(O)}complete(){const{partialObserver:O}=this;if(O.complete)try{O.complete()}catch(Z){B(Z)}}}class R extends J{constructor(O,Z,Ee){let oe;if(super(),(0,m.T)(O)||!O)oe={next:O??void 0,error:Z??void 0,complete:Ee??void 0};else{let j;this&&f.$.useDeprecatedNextContext?(j=Object.create(O),j.unsubscribe=()=>this.unsubscribe(),oe={next:O.next&&T(O.next,j),error:O.error&&T(O.error,j),complete:O.complete&&T(O.complete,j)}):oe=O}this.destination=new C(oe)}}function B(w){f.$.useDeprecatedSynchronousErrorHandling?(0,U.l)(w):(0,P.m)(w)}function $(w,O){const{onStoppedNotification:Z}=f.$;Z&&M.f.setTimeout(()=>Z(w,O))}const E={closed:!0,next:D.l,error:function F(w){throw w},complete:D.l}},23054(st,pe,h){"use strict";h.d(pe,{Kn:()=>y,yU:()=>D,Uv:()=>b});var m=h(18700);const f=(0,h(82518).L)(N=>function(U){N(this),this.message=U?`${U.length} errors occurred during unsubscription:\n${U.map((J,I)=>`${I+1}) ${J.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=U});var P=h(24113);class D{constructor(M){this.initialTeardown=M,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let M;if(!this.closed){this.closed=!0;const{_parentage:U}=this;if(U)if(this._parentage=null,Array.isArray(U))for(const T of U)T.remove(this);else U.remove(this);const{initialTeardown:J}=this;if((0,m.T)(J))try{J()}catch(T){M=T instanceof f?T.errors:[T]}const{_finalizers:I}=this;if(I){this._finalizers=null;for(const T of I)try{x(T)}catch(C){M=M??[],C instanceof f?M=[...M,...C.errors]:M.push(C)}}if(M)throw new f(M)}}add(M){var U;if(M&&M!==this)if(this.closed)x(M);else{if(M instanceof D){if(M.closed||M._hasParent(this))return;M._addParent(this)}(this._finalizers=null!==(U=this._finalizers)&&void 0!==U?U:[]).push(M)}}_hasParent(M){const{_parentage:U}=this;return U===M||Array.isArray(U)&&U.includes(M)}_addParent(M){const{_parentage:U}=this;this._parentage=Array.isArray(U)?(U.push(M),U):U?[U,M]:M}_removeParent(M){const{_parentage:U}=this;U===M?this._parentage=null:Array.isArray(U)&&(0,P.o)(U,M)}remove(M){const{_finalizers:U}=this;U&&(0,P.o)(U,M),M instanceof D&&M._removeParent(this)}}D.EMPTY=(()=>{const N=new D;return N.closed=!0,N})();const y=D.EMPTY;function b(N){return N instanceof D||N&&"closed"in N&&(0,m.T)(N.remove)&&(0,m.T)(N.add)&&(0,m.T)(N.unsubscribe)}function x(N){(0,m.T)(N)?N():N.unsubscribe()}},84619(st,pe,h){"use strict";h.d(pe,["$",0,{onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}])},31253(st,pe,h){"use strict";h.d(pe,{G:()=>y});var m=h(75536),s=h(23054),f=h(22425),P=h(41109);class y extends m.c{constructor(x,N){super(),this.source=x,this.subjectFactory=N,this._subject=null,this._refCount=0,this._connection=null,(0,f.S)(x)&&(this.lift=x.lift)}_subscribe(x){return this.getSubject().subscribe(x)}getSubject(){const x=this._subject;return(!x||x.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:x}=this;this._subject=this._connection=null,x?.unsubscribe()}connect(){let x=this._connection;if(!x){x=this._connection=new s.yU;const N=this.getSubject();x.add(this.source.subscribe((0,P._)(N,void 0,()=>{this._teardown(),N.complete()},M=>{this._teardown(),N.error(M)},()=>this._teardown()))),x.closed&&(this._connection=null,x=s.yU.EMPTY)}return x}refCount(){return function D(){return(0,f.N)((b,x)=>{let N=null;b._refCount++;const M=(0,P._)(x,void 0,void 0,void 0,()=>{if(!b||b._refCount<=0||0<--b._refCount)return void(N=null);const U=b._connection,J=N;N=null,U&&(!J||U===J)&&U.unsubscribe(),x.unsubscribe()});b.subscribe(M),M.closed||(N=b.connect())})}()(this)}}},75889(st,pe,h){"use strict";h.d(pe,{z:()=>M});var m=h(75536),s=h(16174),f=h(67148),P=h(44974),D=h(72485),y=h(49889),b=h(47791),x=h(41109),N=h(26936);function M(...I){const T=(0,y.lI)(I),C=(0,y.ms)(I),{args:R,keys:B}=(0,s.D)(I);if(0===R.length)return(0,f.H)([],T);const F=new m.c(function U(I,T,C=P.D){return R=>{J(T,()=>{const{length:B}=I,F=new Array(B);let $=B,E=B;for(let w=0;w<B;w++)J(T,()=>{const O=(0,f.H)(I[w],T);let Z=!1;O.subscribe((0,x._)(R,Ee=>{F[w]=Ee,Z||(Z=!0,E--),E||R.next(C(F.slice()))},()=>{--$||R.complete()}))},R)},R)}}(R,T,B?$=>(0,b.e)(B,$):P.D));return C?F.pipe((0,D.I)(C)):F}function J(I,T,C){I?(0,N.N)(C,I,T):T()}},44754(st,pe,h){"use strict";h.d(pe,{x:()=>D});var m=h(19472);var f=h(49889),P=h(67148);function D(...y){return function s(){return(0,m.U)(1)}()((0,P.H)(y,(0,f.lI)(y)))}},93767(st,pe,h){"use strict";h.d(pe,{v:()=>f});var m=h(75536),s=h(70851);function f(P){return new m.c(D=>{(0,s.Tg)(P()).subscribe(D)})}},89630(st,pe,h){"use strict";const f=new(h(75536).c)(y=>y.complete());h.d(pe,["w",0,f])},31703(st,pe,h){"use strict";h.d(pe,{p:()=>x});var m=h(75536),s=h(16174),f=h(70851),P=h(49889),D=h(41109),y=h(72485),b=h(47791);function x(...N){const M=(0,P.ms)(N),{args:U,keys:J}=(0,s.D)(N),I=new m.c(T=>{const{length:C}=U;if(!C)return void T.complete();const R=new Array(C);let B=C,F=C;for(let $=0;$<C;$++){let E=!1;(0,f.Tg)(U[$]).subscribe((0,D._)(T,w=>{E||(E=!0,F--),R[$]=w},()=>B--,void 0,()=>{(!B||!E)&&(F||T.next(J?(0,b.e)(J,R):R),T.complete())}))}});return M?I.pipe((0,y.I)(M)):I}},67148(st,pe,h){"use strict";h.d(pe,{H:()=>Ee});var m=h(70851),s=h(26936),f=h(22425),P=h(41109);function D(oe,j=0){return(0,f.N)((te,ce)=>{te.subscribe((0,P._)(ce,ye=>(0,s.N)(ce,oe,()=>ce.next(ye),j),()=>(0,s.N)(ce,oe,()=>ce.complete(),j),ye=>(0,s.N)(ce,oe,()=>ce.error(ye),j)))})}function y(oe,j=0){return(0,f.N)((te,ce)=>{ce.add(oe.schedule(()=>te.subscribe(ce),j))})}var N=h(75536);var U=h(42638),J=h(18700);function T(oe,j){if(!oe)throw new Error("Iterable cannot be null");return new N.c(te=>{(0,s.N)(te,j,()=>{const ce=oe[Symbol.asyncIterator]();(0,s.N)(te,j,()=>{ce.next().then(ye=>{ye.done?te.complete():te.next(ye.value)})},0,!0)})})}var C=h(29842),R=h(11347),B=h(24868),F=h(98918),$=h(67356),E=h(14584),w=h(91019);function Z(oe,j){if(null!=oe){if((0,C.l)(oe))return function b(oe,j){return(0,m.Tg)(oe).pipe(y(j),D(j))}(oe,j);if((0,B.X)(oe))return function M(oe,j){return new N.c(te=>{let ce=0;return j.schedule(function(){ce===oe.length?te.complete():(te.next(oe[ce++]),te.closed||this.schedule())})})}(oe,j);if((0,R.y)(oe))return function x(oe,j){return(0,m.Tg)(oe).pipe(y(j),D(j))}(oe,j);if((0,$.T)(oe))return T(oe,j);if((0,F.x)(oe))return function I(oe,j){return new N.c(te=>{let ce;return(0,s.N)(te,j,()=>{ce=oe[U.l](),(0,s.N)(te,j,()=>{let ye,Le;try{({value:ye,done:Le}=ce.next())}catch($e){return void te.error($e)}Le?te.complete():te.next(ye)},0,!0)}),()=>(0,J.T)(ce?.return)&&ce.return()})}(oe,j);if((0,w.U)(oe))return function O(oe,j){return T((0,w.C)(oe),j)}(oe,j)}throw(0,E.L)(oe)}function Ee(oe,j){return j?Z(oe,j):(0,m.Tg)(oe)}},70851(st,pe,h){"use strict";h.d(pe,{Tg:()=>I});var m=h(31635),s=h(24868),f=h(11347),P=h(75536),D=h(29842),y=h(67356),b=h(14584),x=h(98918),N=h(91019),M=h(18700),U=h(98321),J=h(28269);function I(w){if(w instanceof P.c)return w;if(null!=w){if((0,D.l)(w))return function T(w){return new P.c(O=>{const Z=w[J.s]();if((0,M.T)(Z.subscribe))return Z.subscribe(O);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(w);if((0,s.X)(w))return function C(w){return new P.c(O=>{for(let Z=0;Z<w.length&&!O.closed;Z++)O.next(w[Z]);O.complete()})}(w);if((0,f.y)(w))return function R(w){return new P.c(O=>{w.then(Z=>{O.closed||(O.next(Z),O.complete())},Z=>O.error(Z)).then(null,U.m)})}(w);if((0,y.T)(w))return F(w);if((0,x.x)(w))return function B(w){return new P.c(O=>{for(const Z of w)if(O.next(Z),O.closed)return;O.complete()})}(w);if((0,N.U)(w))return function $(w){return F((0,N.C)(w))}(w)}throw(0,b.L)(w)}function F(w){return new P.c(O=>{(function E(w,O){var Z,Ee,oe,j;return(0,m.sH)(this,void 0,void 0,function*(){try{for(Z=(0,m.xN)(w);!(Ee=yield Z.next()).done;){const te=Ee.value;if(O.next(te),O.closed)return}}catch(te){oe={error:te}}finally{try{Ee&&!Ee.done&&(j=Z.return)&&(yield j.call(Z))}finally{if(oe)throw oe.error}}O.complete()})})(w,O).catch(Z=>O.error(Z))})}},59206(st,pe,h){"use strict";h.d(pe,{Y:()=>f});var m=h(17779),s=h(87746);function f(P=0,D=m.E){return P<0&&(P=0),(0,s.O)(P,P,D)}},67527(st,pe,h){"use strict";h.d(pe,{h:()=>y});var m=h(19472),s=h(70851),f=h(89630),P=h(49889),D=h(67148);function y(...b){const x=(0,P.lI)(b),N=(0,P.R0)(b,1/0),M=b;return M.length?1===M.length?(0,s.Tg)(M[0]):(0,m.U)(N)((0,D.H)(M,x)):f.w}},47086(st,pe,h){"use strict";h.d(pe,{of:()=>f});var m=h(49889),s=h(67148);function f(...P){const D=(0,m.lI)(P);return(0,s.H)(P,D)}},36413(st,pe,h){"use strict";h.d(pe,{$:()=>f});var m=h(75536),s=h(18700);function f(P,D){const y=(0,s.T)(P)?P:()=>P,b=x=>x.error(y());return new m.c(D?x=>D.schedule(b,0,x):b)}},87746(st,pe,h){"use strict";h.d(pe,{O:()=>D});var m=h(75536),s=h(17779),f=h(68123);function D(y=0,b,x=s.b){let N=-1;return null!=b&&((0,f.m)(b)?x=b:N=b),new m.c(M=>{let U=function P(y){return y instanceof Date&&!isNaN(y)}(y)?+y-x.now():y;U<0&&(U=0);let J=0;return x.schedule(function(){M.closed||(M.next(J++),0<=N?this.schedule(void 0,N):M.complete())},U)})}},41109(st,pe,h){"use strict";h.d(pe,{_:()=>s});var m=h(56193);function s(P,D,y,b,x){return new f(P,D,y,b,x)}class f extends m.vU{constructor(D,y,b,x,N,M){super(D),this.onFinalize=N,this.shouldUnsubscribe=M,this._next=y?function(U){try{y(U)}catch(J){D.error(J)}}:super._next,this._error=x?function(U){try{x(U)}catch(J){D.error(J)}finally{this.unsubscribe()}}:super._error,this._complete=b?function(){try{b()}catch(U){D.error(U)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var D;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:y}=this;super.unsubscribe(),!y&&(null===(D=this.onFinalize)||void 0===D||D.call(this))}}}},36057(st,pe,h){"use strict";h.d(pe,{Z:()=>b});var m=h(17779),s=h(22425),f=h(70851),P=h(41109);var y=h(87746);function b(x,N=m.E){return function D(x){return(0,s.N)((N,M)=>{let U=!1,J=null,I=null,T=!1;const C=()=>{if(I?.unsubscribe(),I=null,U){U=!1;const B=J;J=null,M.next(B)}T&&M.complete()},R=()=>{I=null,T&&M.complete()};N.subscribe((0,P._)(M,B=>{U=!0,J=B,I||(0,f.Tg)(x(B)).subscribe(I=(0,P._)(M,C,R))},()=>{T=!0,(!U||!I||I.closed)&&M.complete()}))})}(()=>(0,y.O)(x,N))}},77280(st,pe,h){"use strict";h.d(pe,{W:()=>P});var m=h(70851),s=h(41109),f=h(22425);function P(D){return(0,f.N)((y,b)=>{let M,x=null,N=!1;x=y.subscribe((0,s._)(b,void 0,void 0,U=>{M=(0,m.Tg)(D(U,P(D)(y))),x?(x.unsubscribe(),x=null,M.subscribe(b)):N=!0})),N&&(x.unsubscribe(),x=null,M.subscribe(b))})}},18997(st,pe,h){"use strict";h.d(pe,{H:()=>f});var m=h(86623),s=h(18700);function f(P,D){return(0,s.T)(D)?(0,m.Z)(P,D,1):(0,m.Z)(P,1)}},5241(st,pe,h){"use strict";h.d(pe,{B:()=>P});var m=h(17779),s=h(22425),f=h(41109);function P(D,y=m.E){return(0,s.N)((b,x)=>{let N=null,M=null,U=null;const J=()=>{if(N){N.unsubscribe(),N=null;const T=M;M=null,x.next(T)}};function I(){const T=U+D,C=y.now();if(C<T)return N=this.schedule(void 0,T-C),void x.add(N);J()}b.subscribe((0,f._)(x,T=>{M=T,U=y.now(),N||(N=y.schedule(I,D),x.add(N))},()=>{J(),x.complete()},void 0,()=>{M=N=null}))})}},27865(st,pe,h){"use strict";h.d(pe,{c:()=>T});var m=h(17779),s=h(44754),f=h(56276),P=h(22425),D=h(41109),y=h(87516);var x=h(65229);var M=h(86623),U=h(70851);function J(C,R){return R?B=>(0,s.x)(R.pipe((0,f.s)(1),function b(){return(0,P.N)((C,R)=>{C.subscribe((0,D._)(R,y.l))})}()),B.pipe(J(C))):(0,M.Z)((B,F)=>(0,U.Tg)(C(B,F)).pipe((0,f.s)(1),function N(C){return(0,x.T)(()=>C)}(B)))}var I=h(87746);function T(C,R=m.E){const B=(0,I.O)(C,R);return J(()=>B)}},52191(st,pe,h){"use strict";h.d(pe,{F:()=>P});var m=h(44974),s=h(22425),f=h(41109);function P(y,b=m.D){return y=y??D,(0,s.N)((x,N)=>{let M,U=!0;x.subscribe((0,f._)(N,J=>{const I=b(J);(U||!y(M,I))&&(U=!1,M=I,N.next(J))}))})}function D(y,b){return y===b}},84833(st,pe,h){"use strict";h.d(pe,{p:()=>f});var m=h(22425),s=h(41109);function f(P,D){return(0,m.N)((y,b)=>{let x=0;y.subscribe((0,s._)(b,N=>P.call(D,N,x++)&&b.next(N)))})}},97497(st,pe,h){"use strict";h.d(pe,{j:()=>s});var m=h(22425);function s(f){return(0,m.N)((P,D)=>{try{P.subscribe(D)}finally{D.add(f)}})}},56084(st,pe,h){"use strict";h.d(pe,{$:()=>M});var m=h(7201),s=h(84833),f=h(56276),P=h(22425),D=h(41109);function b(U=x){return(0,P.N)((J,I)=>{let T=!1;J.subscribe((0,D._)(I,C=>{T=!0,I.next(C)},()=>T?I.complete():I.error(U())))})}function x(){return new m.G}var N=h(44974);function M(U,J){const I=arguments.length>=2;return T=>T.pipe(U?(0,s.p)((C,R)=>U(C,R,T)):N.D,(0,f.s)(1),I?function y(U){return(0,P.N)((J,I)=>{let T=!1;J.subscribe((0,D._)(I,C=>{T=!0,I.next(C)},()=>{T||I.next(U),I.complete()}))})}(J):b(()=>new m.G))}},65229(st,pe,h){"use strict";h.d(pe,{T:()=>f});var m=h(22425),s=h(41109);function f(P,D){return(0,m.N)((y,b)=>{let x=0;y.subscribe((0,s._)(b,N=>{b.next(P.call(D,N,x++))}))})}},19472(st,pe,h){"use strict";h.d(pe,{U:()=>f});var m=h(86623),s=h(44974);function f(P=1/0){return(0,m.Z)(s.D,P)}},86623(st,pe,h){"use strict";h.d(pe,{Z:()=>x});var m=h(65229),s=h(70851),f=h(22425),P=h(26936),D=h(41109);var b=h(18700);function x(N,M,U=1/0){return(0,b.T)(M)?x((J,I)=>(0,m.T)((T,C)=>M(J,T,I,C))((0,s.Tg)(N(J,I))),U):("number"==typeof M&&(U=M),(0,f.N)((J,I)=>function y(N,M,U,J,I,T,C,R){const B=[];let F=0,$=0,E=!1;const w=()=>{E&&!B.length&&!F&&M.complete()},O=Ee=>F<J?Z(Ee):B.push(Ee),Z=Ee=>{T&&M.next(Ee),F++;let oe=!1;(0,s.Tg)(U(Ee,$++)).subscribe((0,D._)(M,j=>{I?.(j),T?O(j):M.next(j)},()=>{oe=!0},void 0,()=>{if(oe)try{for(F--;B.length&&F<J;){const j=B.shift();C?(0,P.N)(M,C,()=>Z(j)):Z(j)}w()}catch(j){M.error(j)}}))};return N.subscribe((0,D._)(M,O,()=>{E=!0,w()})),()=>{R?.()}}(J,I,N,U)))}},89207(st,pe,h){"use strict";h.d(pe,{J:()=>f});var m=h(22425),s=h(41109);function f(){return(0,m.N)((P,D)=>{let y,b=!1;P.subscribe((0,s._)(D,x=>{const N=y;y=x,b&&D.next([N,x]),b=!0}))})}},51187(st,pe,h){"use strict";h.d(pe,{H:()=>J});var m=h(32540),s=h(31253),f=h(18700),P=h(55919),D=h(70851),y=h(22425),b=h(75536);const N={connector:()=>new P.B};function M(I,T=N){const{connector:C}=T;return(0,y.N)((R,B)=>{const F=C();(0,D.Tg)(I(function x(I){return new b.c(T=>I.subscribe(T))}(F))).subscribe(B),B.add(R.subscribe(F))})}function J(I,T,C,R){C&&!(0,f.T)(C)&&(R=C);const B=(0,f.T)(C)?C:void 0;return F=>function U(I,T){const C=(0,f.T)(I)?I:()=>I;return(0,f.T)(T)?M(T,{connector:C}):R=>new s.G(R,C)}(new m.m(I,T,R),B)(F)}},29932(st,pe,h){"use strict";h.d(pe,{u:()=>D});var m=h(70851),s=h(55919),f=h(56193),P=h(22425);function D(b={}){const{connector:x=()=>new s.B,resetOnError:N=!0,resetOnComplete:M=!0,resetOnRefCountZero:U=!0}=b;return J=>{let I,T,C,R=0,B=!1,F=!1;const $=()=>{T?.unsubscribe(),T=void 0},E=()=>{$(),I=C=void 0,B=F=!1},w=()=>{const O=I;E(),O?.unsubscribe()};return(0,P.N)((O,Z)=>{R++,!F&&!B&&$();const Ee=C=C??x();Z.add(()=>{R--,0===R&&!F&&!B&&(T=y(w,U))}),Ee.subscribe(Z),!I&&R>0&&(I=new f.Ms({next:oe=>Ee.next(oe),error:oe=>{F=!0,$(),T=y(E,N,oe),Ee.error(oe)},complete:()=>{B=!0,$(),T=y(E,M),Ee.complete()}}),(0,m.Tg)(O).subscribe(I))})(J)}}function y(b,x,...N){if(!0===x)return void b();if(!1===x)return;const M=new f.Ms({next:()=>{M.unsubscribe(),b()}});return(0,m.Tg)(x(...N)).subscribe(M)}},98455(st,pe,h){"use strict";h.d(pe,{t:()=>f});var m=h(32540),s=h(29932);function f(P,D,y){let b,x=!1;return P&&"object"==typeof P?({bufferSize:b=1/0,windowTime:D=1/0,refCount:x=!1,scheduler:y}=P):b=P??1/0,(0,s.u)({connector:()=>new m.m(b,D,y),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:x})}},5248(st,pe,h){"use strict";h.d(pe,{i:()=>s});var m=h(84833);function s(f){return(0,m.p)((P,D)=>f<=D)}},29927(st,pe,h){"use strict";h.d(pe,{Z:()=>P});var m=h(44754),s=h(49889),f=h(22425);function P(...D){const y=(0,s.lI)(D);return(0,f.N)((b,x)=>{(y?(0,m.x)(D,b,y):(0,m.x)(D,b)).subscribe(x)})}},34369(st,pe,h){"use strict";h.d(pe,{n:()=>P});var m=h(70851),s=h(22425),f=h(41109);function P(D,y){return(0,s.N)((b,x)=>{let N=null,M=0,U=!1;const J=()=>U&&!N&&x.complete();b.subscribe((0,f._)(x,I=>{N?.unsubscribe();let T=0;const C=M++;(0,m.Tg)(D(I,C)).subscribe(N=(0,f._)(x,R=>x.next(y?y(I,R,C,T++):R),()=>{N=null,J()}))},()=>{U=!0,J()}))})}},56276(st,pe,h){"use strict";h.d(pe,{s:()=>P});var m=h(89630),s=h(22425),f=h(41109);function P(D){return D<=0?()=>m.w:(0,s.N)((y,b)=>{let x=0;y.subscribe((0,f._)(b,N=>{++x<=D&&(b.next(N),D<=x&&b.complete())}))})}},72818(st,pe,h){"use strict";h.d(pe,{Q:()=>D});var m=h(22425),s=h(41109),f=h(70851),P=h(87516);function D(y){return(0,m.N)((b,x)=>{(0,f.Tg)(y).subscribe((0,s._)(x,()=>x.complete(),P.l)),!x.closed&&b.subscribe(x)})}},22914(st,pe,h){"use strict";h.d(pe,{M:()=>D});var m=h(18700),s=h(22425),f=h(41109),P=h(44974);function D(y,b,x){const N=(0,m.T)(y)||b||x?{next:y,error:b,complete:x}:y;return N?(0,s.N)((M,U)=>{var J;null===(J=N.subscribe)||void 0===J||J.call(N);let I=!0;M.subscribe((0,f._)(U,T=>{var C;null===(C=N.next)||void 0===C||C.call(N,T),U.next(T)},()=>{var T;I=!1,null===(T=N.complete)||void 0===T||T.call(N),U.complete()},T=>{var C;I=!1,null===(C=N.error)||void 0===C||C.call(N,T),U.error(T)},()=>{var T,C;I&&(null===(T=N.unsubscribe)||void 0===T||T.call(N)),null===(C=N.finalize)||void 0===C||C.call(N)}))}):P.D}},10325(st,pe,h){"use strict";h.d(pe,{R:()=>D});var m=h(23054);class s extends m.yU{constructor(b,x){super()}schedule(b,x=0){return this}}const f={setInterval(y,b,...x){const{delegate:N}=f;return N?.setInterval?N.setInterval(y,b,...x):setInterval(y,b,...x)},clearInterval(y){const{delegate:b}=f;return(b?.clearInterval||clearInterval)(y)},delegate:void 0};var P=h(24113);class D extends s{constructor(b,x){super(b,x),this.scheduler=b,this.work=x,this.pending=!1}schedule(b,x=0){var N;if(this.closed)return this;this.state=b;const M=this.id,U=this.scheduler;return null!=M&&(this.id=this.recycleAsyncId(U,M,x)),this.pending=!0,this.delay=x,this.id=null!==(N=this.id)&&void 0!==N?N:this.requestAsyncId(U,this.id,x),this}requestAsyncId(b,x,N=0){return f.setInterval(b.flush.bind(b,this),N)}recycleAsyncId(b,x,N=0){if(null!=N&&this.delay===N&&!1===this.pending)return x;null!=x&&f.clearInterval(x)}execute(b,x){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const N=this._execute(b,x);if(N)return N;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(b,x){let M,N=!1;try{this.work(b)}catch(U){N=!0,M=U||new Error("Scheduled action threw falsy error")}if(N)return this.unsubscribe(),M}unsubscribe(){if(!this.closed){const{id:b,scheduler:x}=this,{actions:N}=x;this.work=this.state=this.scheduler=null,this.pending=!1,(0,P.o)(N,this),null!=b&&(this.id=this.recycleAsyncId(x,b,null)),this.delay=null,super.unsubscribe()}}}},28300(st,pe,h){"use strict";h.d(pe,{q:()=>f});var m=h(37082);class s{constructor(D,y=s.now){this.schedulerActionCtor=D,this.now=y}schedule(D,y=0,b){return new this.schedulerActionCtor(this,D).schedule(b,y)}}s.now=m.U.now;class f extends s{constructor(D,y=s.now){super(D,y),this.actions=[],this._active=!1}flush(D){const{actions:y}=this;if(this._active)return void y.push(D);let b;this._active=!0;do{if(b=D.execute(D.state,D.delay))break}while(D=y.shift());if(this._active=!1,b){for(;D=y.shift();)D.unsubscribe();throw b}}}},52518(st,pe,h){"use strict";h.d(pe,{X:()=>b});var m=h(10325),s=h(23054);const f={schedule(N){let M=requestAnimationFrame,U=cancelAnimationFrame;const{delegate:J}=f;J&&(M=J.requestAnimationFrame,U=J.cancelAnimationFrame);const I=M(T=>{U=void 0,N(T)});return new s.yU(()=>U?.(I))},requestAnimationFrame(...N){const{delegate:M}=f;return(M?.requestAnimationFrame||requestAnimationFrame)(...N)},cancelAnimationFrame(...N){const{delegate:M}=f;return(M?.cancelAnimationFrame||cancelAnimationFrame)(...N)},delegate:void 0};class P extends m.R{constructor(M,U){super(M,U),this.scheduler=M,this.work=U}requestAsyncId(M,U,J=0){return null!==J&&J>0?super.requestAsyncId(M,U,J):(M.actions.push(this),M._scheduled||(M._scheduled=f.requestAnimationFrame(()=>M.flush(void 0))))}recycleAsyncId(M,U,J=0){var I;if(null!=J?J>0:this.delay>0)return super.recycleAsyncId(M,U,J);const{actions:T}=M;null!=U&&U===M._scheduled&&(null===(I=T[T.length-1])||void 0===I?void 0:I.id)!==U&&(f.cancelAnimationFrame(U),M._scheduled=void 0)}}var D=h(28300);class y extends D.q{flush(M){let U;this._active=!0,M?U=M.id:(U=this._scheduled,this._scheduled=void 0);const{actions:J}=this;let I;M=M||J.shift();do{if(I=M.execute(M.state,M.delay))break}while((M=J[0])&&M.id===U&&J.shift());if(this._active=!1,I){for(;(M=J[0])&&M.id===U&&J.shift();)M.unsubscribe();throw I}}}const b=new y(P)},11773(st,pe,h){"use strict";h.d(pe,{$:()=>T});var m=h(10325);let f,s=1;const P={};function D(R){return R in P&&(delete P[R],!0)}const y={setImmediate(R){const B=s++;return P[B]=!0,f||(f=Promise.resolve()),f.then(()=>D(B)&&R()),B},clearImmediate(R){D(R)}},{setImmediate:x,clearImmediate:N}=y,M={setImmediate(...R){const{delegate:B}=M;return(B?.setImmediate||x)(...R)},clearImmediate(R){const{delegate:B}=M;return(B?.clearImmediate||N)(R)},delegate:void 0};class U extends m.R{constructor(B,F){super(B,F),this.scheduler=B,this.work=F}requestAsyncId(B,F,$=0){return null!==$&&$>0?super.requestAsyncId(B,F,$):(B.actions.push(this),B._scheduled||(B._scheduled=M.setImmediate(B.flush.bind(B,void 0))))}recycleAsyncId(B,F,$=0){var E;if(null!=$?$>0:this.delay>0)return super.recycleAsyncId(B,F,$);const{actions:w}=B;null!=F&&(null===(E=w[w.length-1])||void 0===E?void 0:E.id)!==F&&(M.clearImmediate(F),B._scheduled===F&&(B._scheduled=void 0))}}var J=h(28300);class I extends J.q{flush(B){this._active=!0;const F=this._scheduled;this._scheduled=void 0;const{actions:$}=this;let E;B=B||$.shift();do{if(E=B.execute(B.state,B.delay))break}while((B=$[0])&&B.id===F&&$.shift());if(this._active=!1,E){for(;(B=$[0])&&B.id===F&&$.shift();)B.unsubscribe();throw E}}}const T=new I(U)},17779(st,pe,h){"use strict";var m=h(10325);const f=new(h(28300).q)(m.R),P=f;h.d(pe,["E",0,f,"b",0,P])},37082(st,pe,h){"use strict";const m={now:()=>(m.delegate||Date).now(),delegate:void 0};h.d(pe,["U",0,m])},101(st,pe,h){"use strict";const m={setTimeout(s,f,...P){const{delegate:D}=m;return D?.setTimeout?D.setTimeout(s,f,...P):setTimeout(s,f,...P)},clearTimeout(s){const{delegate:f}=m;return(f?.clearTimeout||clearTimeout)(s)},delegate:void 0};h.d(pe,["f",0,m])},42638(st,pe,h){"use strict";const s=function m(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();h.d(pe,["l",0,s])},28269(st,pe,h){"use strict";const m="function"==typeof Symbol&&Symbol.observable||"@@observable";h.d(pe,["s",0,m])},7201(st,pe,h){"use strict";const s=(0,h(82518).L)(f=>function(){f(this),this.name="EmptyError",this.message="no elements in sequence"});h.d(pe,["G",0,s])},49889(st,pe,h){"use strict";h.d(pe,{R0:()=>y,lI:()=>D,ms:()=>P});var m=h(18700),s=h(68123);function f(b){return b[b.length-1]}function P(b){return(0,m.T)(f(b))?b.pop():void 0}function D(b){return(0,s.m)(f(b))?b.pop():void 0}function y(b,x){return"number"==typeof f(b)?b.pop():x}},16174(st,pe,h){"use strict";h.d(pe,{D:()=>D});const{isArray:m}=Array,{getPrototypeOf:s,prototype:f,keys:P}=Object;function D(b){if(1===b.length){const x=b[0];if(m(x))return{args:x,keys:null};if(function y(b){return b&&"object"==typeof b&&s(b)===f}(x)){const N=P(x);return{args:N.map(M=>x[M]),keys:N}}}return{args:b,keys:null}}},24113(st,pe,h){"use strict";function m(s,f){if(s){const P=s.indexOf(f);0<=P&&s.splice(P,1)}}h.d(pe,{o:()=>m})},82518(st,pe,h){"use strict";function m(s){const P=s(D=>{Error.call(D),D.stack=(new Error).stack});return P.prototype=Object.create(Error.prototype),P.prototype.constructor=P,P}h.d(pe,{L:()=>m})},47791(st,pe,h){"use strict";function m(s,f){return s.reduce((P,D,y)=>(P[D]=f[y],P),{})}h.d(pe,{e:()=>m})},59525(st,pe,h){"use strict";h.d(pe,{Y:()=>f,l:()=>P});var m=h(84619);let s=null;function f(D){if(m.$.useDeprecatedSynchronousErrorHandling){const y=!s;if(y&&(s={errorThrown:!1,error:null}),D(),y){const{errorThrown:b,error:x}=s;if(s=null,b)throw x}}else D()}function P(D){m.$.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=D)}},26936(st,pe,h){"use strict";function m(s,f,P,D=0,y=!1){const b=f.schedule(function(){P(),y?s.add(this.schedule(null,D)):this.unsubscribe()},D);if(s.add(b),!y)return b}h.d(pe,{N:()=>m})},44974(st,pe,h){"use strict";function m(s){return s}h.d(pe,{D:()=>m})},24868(st,pe,h){"use strict";h.d(pe,["X",0,s=>s&&"number"==typeof s.length&&"function"!=typeof s])},67356(st,pe,h){"use strict";h.d(pe,{T:()=>s});var m=h(18700);function s(f){return Symbol.asyncIterator&&(0,m.T)(f?.[Symbol.asyncIterator])}},18700(st,pe,h){"use strict";function m(s){return"function"==typeof s}h.d(pe,{T:()=>m})},29842(st,pe,h){"use strict";h.d(pe,{l:()=>f});var m=h(28269),s=h(18700);function f(P){return(0,s.T)(P[m.s])}},98918(st,pe,h){"use strict";h.d(pe,{x:()=>f});var m=h(42638),s=h(18700);function f(P){return(0,s.T)(P?.[m.l])}},79781(st,pe,h){"use strict";h.d(pe,{A:()=>f});var m=h(75536),s=h(18700);function f(P){return!!P&&(P instanceof m.c||(0,s.T)(P.lift)&&(0,s.T)(P.subscribe))}},11347(st,pe,h){"use strict";h.d(pe,{y:()=>s});var m=h(18700);function s(f){return(0,m.T)(f?.then)}},91019(st,pe,h){"use strict";h.d(pe,{C:()=>f,U:()=>P});var m=h(31635),s=h(18700);function f(D){return(0,m.AQ)(this,arguments,function*(){const b=D.getReader();try{for(;;){const{value:x,done:N}=yield(0,m.N3)(b.read());if(N)return yield(0,m.N3)(void 0);yield yield(0,m.N3)(x)}}finally{b.releaseLock()}})}function P(D){return(0,s.T)(D?.getReader)}},68123(st,pe,h){"use strict";h.d(pe,{m:()=>s});var m=h(18700);function s(f){return f&&(0,m.T)(f.schedule)}},22425(st,pe,h){"use strict";h.d(pe,{N:()=>f,S:()=>s});var m=h(18700);function s(P){return(0,m.T)(P?.lift)}function f(P){return D=>{if(s(D))return D.lift(function(y){try{return P(y,this)}catch(b){this.error(b)}});throw new TypeError("Unable to lift unknown Observable type")}}},72485(st,pe,h){"use strict";h.d(pe,{I:()=>P});var m=h(65229);const{isArray:s}=Array;function P(D){return(0,m.T)(y=>function f(D,y){return s(y)?D(...y):D(y)}(D,y))}},87516(st,pe,h){"use strict";function m(){}h.d(pe,{l:()=>m})},66204(st,pe,h){"use strict";h.d(pe,{F:()=>s,m:()=>f});var m=h(44974);function s(...P){return f(P)}function f(P){return 0===P.length?m.D:1===P.length?P[0]:function(y){return P.reduce((b,x)=>x(b),y)}}},98321(st,pe,h){"use strict";h.d(pe,{m:()=>f});var m=h(84619),s=h(101);function f(P){s.f.setTimeout(()=>{const{onUnhandledError:D}=m.$;if(!D)throw P;D(P)})}},14584(st,pe,h){"use strict";function m(s){return new TypeError(`You provided ${null!==s&&"object"==typeof s?"an invalid object":`'${s}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}h.d(pe,{L:()=>m})},71459(st,pe,h){var m=h(19201),s=m.Buffer;function f(D,y){for(var b in D)y[b]=D[b]}function P(D,y,b){return s(D,y,b)}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?st.exports=m:(f(m,pe),pe.Buffer=P),P.prototype=Object.create(s.prototype),f(s,P),P.from=function(D,y,b){if("number"==typeof D)throw new TypeError("Argument must not be a number");return s(D,y,b)},P.alloc=function(D,y,b){if("number"!=typeof D)throw new TypeError("Argument must be a number");var x=s(D);return void 0!==y?"string"==typeof b?x.fill(y,b):x.fill(y):x.fill(0),x},P.allocUnsafe=function(D){if("number"!=typeof D)throw new TypeError("Argument must be a number");return s(D)},P.allocUnsafeSlow=function(D){if("number"!=typeof D)throw new TypeError("Argument must be a number");return m.SlowBuffer(D)}},84285(st,pe,h){!function(m){m.parser=function(ee,V){return new f(ee,V)},m.SAXParser=f,m.SAXStream=U,m.createStream=function N(ee,V){return new U(ee,V)},m.MAX_BUFFER_LENGTH=65536;var b,s=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function f(ee,V){if(!(this instanceof f))return new f(ee,V);var ue=this;(function D(ee){for(var V=0,ue=s.length;V<ue;V++)ee[s[V]]=""})(ue),ue.q=ue.c="",ue.bufferCheckPosition=m.MAX_BUFFER_LENGTH,ue.encoding=null,ue.opt=V||{},ue.opt.lowercase=ue.opt.lowercase||ue.opt.lowercasetags,ue.looseCase=ue.opt.lowercase?"toLowerCase":"toUpperCase",ue.opt.maxEntityCount=ue.opt.maxEntityCount||512,ue.opt.maxEntityDepth=ue.opt.maxEntityDepth||4,ue.entityCount=ue.entityDepth=0,ue.tags=[],ue.closed=ue.closedRoot=ue.sawRoot=!1,ue.tag=ue.error=null,ue.strict=!!ee,ue.noscript=!(!ee&&!ue.opt.noscript),ue.state=j.BEGIN,ue.strictEntities=ue.opt.strictEntities,ue.ENTITIES=ue.strictEntities?Object.create(m.XML_ENTITIES):Object.create(m.ENTITIES),ue.attribList=[],ue.opt.xmlns&&(ue.ns=Object.create(R)),void 0===ue.opt.unquotedAttributeValues&&(ue.opt.unquotedAttributeValues=!ee),ue.trackPosition=!1!==ue.opt.position,ue.trackPosition&&(ue.position=ue.line=ue.column=0),ce(ue,"onready")}m.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(ee){function V(){}return V.prototype=ee,new V}),Object.keys||(Object.keys=function(ee){var V=[];for(var ue in ee)ee.hasOwnProperty(ue)&&V.push(ue);return V}),f.prototype={end:function(){Te(this)},write:function Jt(ee){var V=this;if(this.error)throw this.error;if(V.closed)return xe(V,"Cannot write after close. Assign an onready handler.");if(null===ee)return Te(V);"object"==typeof ee&&(ee=ee.toString());for(var ue=0,De="";De=wt(ee,ue++),V.c=De,De;)switch(V.trackPosition&&(V.position++,"\n"===De?(V.line++,V.column=0):V.column++),V.state){case j.BEGIN:if(V.state=j.BEGIN_WHITESPACE,"\ufeff"===De)continue;He(V,De);continue;case j.BEGIN_WHITESPACE:He(V,De);continue;case j.TEXT:if(V.sawRoot&&!V.closedRoot){for(var It=ue-1;De&&"<"!==De&&"&"!==De;)(De=wt(ee,ue++))&&V.trackPosition&&(V.position++,"\n"===De?(V.line++,V.column=0):V.column++);V.textNode+=ee.substring(It,ue-1)}"<"!==De||V.sawRoot&&V.closedRoot&&!V.strict?(!w(De)&&(!V.sawRoot||V.closedRoot)&&Ce(V,"Text data outside of root node."),"&"===De?V.state=j.TEXT_ENTITY:V.textNode+=De):(V.state=j.OPEN_WAKA,V.startTagPosition=V.position);continue;case j.SCRIPT:"<"===De?V.state=j.SCRIPT_ENDING:V.script+=De;continue;case j.SCRIPT_ENDING:"/"===De?V.state=j.CLOSE_TAG:(V.script+="<"+De,V.state=j.SCRIPT);continue;case j.OPEN_WAKA:if("!"===De)V.state=j.SGML_DECL,V.sgmlDecl="";else if(!w(De))if(Ee(B,De))V.state=j.OPEN_TAG,V.tagName=De;else if("/"===De)V.state=j.CLOSE_TAG,V.tagName="";else if("?"===De)V.state=j.PROC_INST,V.procInstName=V.procInstBody="";else{if(Ce(V,"Unencoded <"),V.startTagPosition+1<V.position){var rt=V.position-V.startTagPosition;De=new Array(rt).join(" ")+De}V.textNode+="<"+De,V.state=j.TEXT}continue;case j.SGML_DECL:if(V.sgmlDecl+De==="--"){V.state=j.COMMENT,V.comment="",V.sgmlDecl="";continue}V.doctype&&!0!==V.doctype&&V.sgmlDecl?(V.state=j.DOCTYPE_DTD,V.doctype+="<!"+V.sgmlDecl+De,V.sgmlDecl=""):J.test(V.sgmlDecl+De)?(We(V,"onopencdata"),V.state=j.CDATA,V.sgmlDecl="",V.cdata=""):I.test(V.sgmlDecl+De)?(V.state=j.DOCTYPE,(V.doctype||V.sawRoot)&&Ce(V,"Inappropriately located doctype declaration"),V.doctype="",V.sgmlDecl=""):">"===De?(We(V,"onsgmldeclaration",V.sgmlDecl),V.sgmlDecl="",V.state=j.TEXT):(O(De)&&(V.state=j.SGML_DECL_QUOTED),V.sgmlDecl+=De);continue;case j.SGML_DECL_QUOTED:De===V.q&&(V.state=j.SGML_DECL,V.q=""),V.sgmlDecl+=De;continue;case j.DOCTYPE:">"===De?(V.state=j.TEXT,We(V,"ondoctype",V.doctype),V.doctype=!0):(V.doctype+=De,"["===De?V.state=j.DOCTYPE_DTD:O(De)&&(V.state=j.DOCTYPE_QUOTED,V.q=De));continue;case j.DOCTYPE_QUOTED:V.doctype+=De,De===V.q&&(V.q="",V.state=j.DOCTYPE);continue;case j.DOCTYPE_DTD:"]"===De?(V.doctype+=De,V.state=j.DOCTYPE):"<"===De?(V.state=j.OPEN_WAKA,V.startTagPosition=V.position):O(De)?(V.doctype+=De,V.state=j.DOCTYPE_DTD_QUOTED,V.q=De):V.doctype+=De;continue;case j.DOCTYPE_DTD_QUOTED:V.doctype+=De,De===V.q&&(V.state=j.DOCTYPE_DTD,V.q="");continue;case j.COMMENT:"-"===De?V.state=j.COMMENT_ENDING:V.comment+=De;continue;case j.COMMENT_ENDING:"-"===De?(V.state=j.COMMENT_ENDED,V.comment=ut(V.opt,V.comment),V.comment&&We(V,"oncomment",V.comment),V.comment=""):(V.comment+="-"+De,V.state=j.COMMENT);continue;case j.COMMENT_ENDED:">"!==De?(Ce(V,"Malformed comment"),V.comment+="--"+De,V.state=j.COMMENT):V.doctype&&!0!==V.doctype?V.state=j.DOCTYPE_DTD:V.state=j.TEXT;continue;case j.CDATA:for(It=ue-1;De&&"]"!==De;)(De=wt(ee,ue++))&&V.trackPosition&&(V.position++,"\n"===De?(V.line++,V.column=0):V.column++);V.cdata+=ee.substring(It,ue-1),"]"===De&&(V.state=j.CDATA_ENDING);continue;case j.CDATA_ENDING:"]"===De?V.state=j.CDATA_ENDING_2:(V.cdata+="]"+De,V.state=j.CDATA);continue;case j.CDATA_ENDING_2:">"===De?(V.cdata&&We(V,"oncdata",V.cdata),We(V,"onclosecdata"),V.cdata="",V.state=j.TEXT):"]"===De?V.cdata+="]":(V.cdata+="]]"+De,V.state=j.CDATA);continue;case j.PROC_INST:"?"===De?V.state=j.PROC_INST_ENDING:w(De)?V.state=j.PROC_INST_BODY:V.procInstName+=De;continue;case j.PROC_INST_BODY:if(!V.procInstBody&&w(De))continue;"?"===De?V.state=j.PROC_INST_ENDING:V.procInstBody+=De;continue;case j.PROC_INST_ENDING:if(">"===De){const Mt={name:V.procInstName,body:V.procInstBody};Tt(V,Mt),We(V,"onprocessinginstruction",Mt),V.procInstName=V.procInstBody="",V.state=j.TEXT}else V.procInstBody+="?"+De,V.state=j.PROC_INST_BODY;continue;case j.OPEN_TAG:Ee(F,De)?V.tagName+=De:(et(V),">"===De?be(V):"/"===De?V.state=j.OPEN_TAG_SLASH:(w(De)||Ce(V,"Invalid character in tag name"),V.state=j.ATTRIB));continue;case j.OPEN_TAG_SLASH:">"===De?(be(V,!0),de(V)):(Ce(V,"Forward-slash in opening tag not followed by >"),V.state=j.ATTRIB);continue;case j.ATTRIB:if(w(De))continue;">"===De?be(V):"/"===De?V.state=j.OPEN_TAG_SLASH:Ee(B,De)?(V.attribName=De,V.attribValue="",V.state=j.ATTRIB_NAME):Ce(V,"Invalid attribute name");continue;case j.ATTRIB_NAME:"="===De?V.state=j.ATTRIB_VALUE:">"===De?(Ce(V,"Attribute without value"),V.attribValue=V.attribName,ve(V),be(V)):w(De)?V.state=j.ATTRIB_NAME_SAW_WHITE:Ee(F,De)?V.attribName+=De:Ce(V,"Invalid attribute name");continue;case j.ATTRIB_NAME_SAW_WHITE:if("="===De)V.state=j.ATTRIB_VALUE;else{if(w(De))continue;Ce(V,"Attribute without value"),V.tag.attributes[V.attribName]="",V.attribValue="",We(V,"onattribute",{name:V.attribName,value:""}),V.attribName="",">"===De?be(V):Ee(B,De)?(V.attribName=De,V.state=j.ATTRIB_NAME):(Ce(V,"Invalid attribute name"),V.state=j.ATTRIB)}continue;case j.ATTRIB_VALUE:if(w(De))continue;O(De)?(V.q=De,V.state=j.ATTRIB_VALUE_QUOTED):(V.opt.unquotedAttributeValues||xe(V,"Unquoted attribute value"),V.state=j.ATTRIB_VALUE_UNQUOTED,V.attribValue=De);continue;case j.ATTRIB_VALUE_QUOTED:if(De!==V.q){"&"===De?V.state=j.ATTRIB_VALUE_ENTITY_Q:V.attribValue+=De;continue}ve(V),V.q="",V.state=j.ATTRIB_VALUE_CLOSED;continue;case j.ATTRIB_VALUE_CLOSED:w(De)?V.state=j.ATTRIB:">"===De?be(V):"/"===De?V.state=j.OPEN_TAG_SLASH:Ee(B,De)?(Ce(V,"No whitespace between attributes"),V.attribName=De,V.attribValue="",V.state=j.ATTRIB_NAME):Ce(V,"Invalid attribute name");continue;case j.ATTRIB_VALUE_UNQUOTED:if(!Z(De)){"&"===De?V.state=j.ATTRIB_VALUE_ENTITY_U:V.attribValue+=De;continue}ve(V),">"===De?be(V):V.state=j.ATTRIB;continue;case j.CLOSE_TAG:if(V.tagName)">"===De?de(V):Ee(F,De)?V.tagName+=De:V.script?(V.script+="</"+V.tagName+De,V.tagName="",V.state=j.SCRIPT):(w(De)||Ce(V,"Invalid tagname in closing tag"),V.state=j.CLOSE_TAG_SAW_WHITE);else{if(w(De))continue;oe(B,De)?V.script?(V.script+="</"+De,V.state=j.SCRIPT):Ce(V,"Invalid tagname in closing tag."):V.tagName=De}continue;case j.CLOSE_TAG_SAW_WHITE:if(w(De))continue;">"===De?de(V):Ce(V,"Invalid characters in closing tag");continue;case j.TEXT_ENTITY:case j.ATTRIB_VALUE_ENTITY_Q:case j.ATTRIB_VALUE_ENTITY_U:var Kt,Ht;switch(V.state){case j.TEXT_ENTITY:Kt=j.TEXT,Ht="textNode";break;case j.ATTRIB_VALUE_ENTITY_Q:Kt=j.ATTRIB_VALUE_QUOTED,Ht="attribValue";break;case j.ATTRIB_VALUE_ENTITY_U:Kt=j.ATTRIB_VALUE_UNQUOTED,Ht="attribValue"}if(";"===De){var ze=G(V);V.opt.unparsedEntities&&!Object.values(m.XML_ENTITIES).includes(ze)?((V.entityCount+=1)>V.opt.maxEntityCount&&xe(V,"Parsed entity count exceeds max entity count"),(V.entityDepth+=1)>V.opt.maxEntityDepth&&xe(V,"Parsed entity depth exceeds max entity depth"),V.entity="",V.state=Kt,V.write(ze),V.entityDepth-=1):(V[Ht]+=ze,V.entity="",V.state=Kt)}else Ee(V.entity.length?E:$,De)?V.entity+=De:(Ce(V,"Invalid character in entity name"),V[Ht]+="&"+V.entity+De,V.entity="",V.state=Kt);continue;default:throw new Error(V,"Unknown state: "+V.state)}return V.position>=V.bufferCheckPosition&&function P(ee){for(var V=Math.max(m.MAX_BUFFER_LENGTH,10),ue=0,De=0,rt=s.length;De<rt;De++){var It=ee[s[De]].length;if(It>V)switch(s[De]){case"textNode":Me(ee);break;case"cdata":We(ee,"oncdata",ee.cdata),ee.cdata="";break;case"script":We(ee,"onscript",ee.script),ee.script="";break;default:xe(ee,"Max buffer length exceeded: "+s[De])}ue=Math.max(ue,It)}var Kt=m.MAX_BUFFER_LENGTH-ue;ee.bufferCheckPosition=Kt+ee.position}(V),V},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){!function y(ee){Me(ee),""!==ee.cdata&&(We(ee,"oncdata",ee.cdata),ee.cdata=""),""!==ee.script&&(We(ee,"onscript",ee.script),ee.script="")}(this)}};try{b=h(97544).Stream}catch{b=function(){}}b||(b=function(){});var x=m.EVENTS.filter(function(ee){return"error"!==ee&&"end"!==ee});function U(ee,V){if(!(this instanceof U))return new U(ee,V);b.apply(this),this._parser=new f(ee,V),this.writable=!0,this.readable=!0;var ue=this;this._parser.onend=function(){ue.emit("end")},this._parser.onerror=function(De){ue.emit("error",De),ue._parser.error=null},this._decoder=null,this._decoderBuffer=null,x.forEach(function(De){Object.defineProperty(ue,"on"+De,{get:function(){return ue._parser["on"+De]},set:function(rt){if(!rt)return ue.removeAllListeners(De),ue._parser["on"+De]=rt,rt;ue.on(De,rt)},enumerable:!0,configurable:!1})})}U.prototype=Object.create(b.prototype,{constructor:{value:U}}),U.prototype._decodeBuffer=function(ee,V){if(this._decoderBuffer&&(ee=Buffer.concat([this._decoderBuffer,ee]),this._decoderBuffer=null),!this._decoder){var ue=function M(ee,V){if(ee.length>=2){if(255===ee[0]&&254===ee[1])return"utf-16le";if(254===ee[0]&&255===ee[1])return"utf-16be"}return ee.length>=3&&239===ee[0]&&187===ee[1]&&191===ee[2]?"utf8":ee.length>=4?60===ee[0]&&0===ee[1]&&63===ee[2]&&0===ee[3]?"utf-16le":0===ee[0]&&60===ee[1]&&0===ee[2]&&63===ee[3]?"utf-16be":"utf8":V?"utf8":null}(ee,V);if(!ue)return this._decoderBuffer=ee,"";this._parser.encoding=ue,this._decoder=new TextDecoder(ue)}return this._decoder.decode(ee,{stream:!V})},U.prototype.write=function(ee){if("function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(ee))ee=this._decodeBuffer(ee,!1);else if(this._decoderBuffer){var V=this._decodeBuffer(Buffer.alloc(0),!0);V&&(this._parser.write(V),this.emit("data",V))}return this._parser.write(ee.toString()),this.emit("data",ee),!0},U.prototype.end=function(ee){if(ee&&ee.length&&this.write(ee),this._decoderBuffer){var V=this._decodeBuffer(Buffer.alloc(0),!0);V&&(this._parser.write(V),this.emit("data",V))}else if(this._decoder){var ue=this._decoder.decode();ue&&(this._parser.write(ue),this.emit("data",ue))}return this._parser.end(),!0},U.prototype.on=function(ee,V){var ue=this;return!ue._parser["on"+ee]&&-1!==x.indexOf(ee)&&(ue._parser["on"+ee]=function(){var De=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);De.splice(0,0,ee),ue.emit.apply(ue,De)}),b.prototype.on.call(ue,ee,V)};var J=/^\[CDATA\[$/i,I=/^DOCTYPE$/i,T="http://www.w3.org/XML/1998/namespace",C="http://www.w3.org/2000/xmlns/",R={xml:T,xmlns:C},B=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,F=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,$=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,E=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function w(ee){return" "===ee||"\n"===ee||"\r"===ee||"\t"===ee}function O(ee){return'"'===ee||"'"===ee}function Z(ee){return">"===ee||w(ee)}function Ee(ee,V){return ee.test(V)}function oe(ee,V){return!Ee(ee,V)}var ee,V,ue,j=0;for(var te in m.STATE={BEGIN:j++,BEGIN_WHITESPACE:j++,TEXT:j++,TEXT_ENTITY:j++,OPEN_WAKA:j++,SGML_DECL:j++,SGML_DECL_QUOTED:j++,DOCTYPE:j++,DOCTYPE_QUOTED:j++,DOCTYPE_DTD:j++,DOCTYPE_DTD_QUOTED:j++,COMMENT_STARTING:j++,COMMENT:j++,COMMENT_ENDING:j++,COMMENT_ENDED:j++,CDATA:j++,CDATA_ENDING:j++,CDATA_ENDING_2:j++,PROC_INST:j++,PROC_INST_BODY:j++,PROC_INST_ENDING:j++,OPEN_TAG:j++,OPEN_TAG_SLASH:j++,ATTRIB:j++,ATTRIB_NAME:j++,ATTRIB_NAME_SAW_WHITE:j++,ATTRIB_VALUE:j++,ATTRIB_VALUE_QUOTED:j++,ATTRIB_VALUE_CLOSED:j++,ATTRIB_VALUE_UNQUOTED:j++,ATTRIB_VALUE_ENTITY_Q:j++,ATTRIB_VALUE_ENTITY_U:j++,CLOSE_TAG:j++,CLOSE_TAG_SAW_WHITE:j++,SCRIPT:j++,SCRIPT_ENDING:j++},m.XML_ENTITIES=Object.assign(Object.create(null),{amp:"&",gt:">",lt:"<",quot:'"',apos:"'"}),m.ENTITIES=Object.assign(Object.create(null),{amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830}),Object.keys(m.ENTITIES).forEach(function(ee){var V=m.ENTITIES[ee],ue="number"==typeof V?String.fromCharCode(V):V;m.ENTITIES[ee]=ue}),m.STATE)m.STATE[m.STATE[te]]=te;function ce(ee,V,ue){ee[V]&&ee[V](ue)}function Le(ee){return ee?ee.toLowerCase().replace(/[^a-z0-9]/g,""):null}function Tt(ee,V){if(ee.strict&&ee.encoding&&V&&"xml"===V.name){var ue=function ye(ee){var V=ee&&ee.match(/(?:^|\s)encoding\s*=\s*(['"])([^'"]+)\1/i);return V?V[2]:null}(V.body);ue&&!function $e(ee,V){const ue=Le(ee),De=Le(V);return!ue||!De||("utf16"===De?"utf16le"===ue||"utf16be"===ue:ue===De)}(ee.encoding,ue)&&Ce(ee,"XML declaration encoding "+ue+" does not match detected stream encoding "+ee.encoding.toUpperCase())}}function We(ee,V,ue){ee.textNode&&Me(ee),ce(ee,V,ue)}function Me(ee){ee.textNode=ut(ee.opt,ee.textNode),ee.textNode&&ce(ee,"ontext",ee.textNode),ee.textNode=""}function ut(ee,V){return ee.trim&&(V=V.trim()),ee.normalize&&(V=V.replace(/\s+/g," ")),V}function xe(ee,V){return Me(ee),ee.trackPosition&&(V+="\nLine: "+ee.line+"\nColumn: "+ee.column+"\nChar: "+ee.c),V=new Error(V),ee.error=V,ce(ee,"onerror",V),ee}function Te(ee){return ee.sawRoot&&!ee.closedRoot&&Ce(ee,"Unclosed root tag"),ee.state!==j.BEGIN&&ee.state!==j.BEGIN_WHITESPACE&&ee.state!==j.TEXT&&xe(ee,"Unexpected end"),Me(ee),ee.c="",ee.closed=!0,ce(ee,"onend"),f.call(ee,ee.strict,ee.opt),ee}function Ce(ee,V){if("object"!=typeof ee||!(ee instanceof f))throw new Error("bad call to strictFail");ee.strict&&xe(ee,V)}function et(ee){ee.strict||(ee.tagName=ee.tagName[ee.looseCase]());var V=ee.tags[ee.tags.length-1]||ee,ue=ee.tag={name:ee.tagName,attributes:{}};ee.opt.xmlns&&(ue.ns=V.ns),ee.attribList.length=0,We(ee,"onopentagstart",ue)}function he(ee,V){var De=ee.indexOf(":")<0?["",ee]:ee.split(":"),rt=De[0],It=De[1];return V&&"xmlns"===ee&&(rt="xmlns",It=""),{prefix:rt,local:It}}function ve(ee){if(ee.strict||(ee.attribName=ee.attribName[ee.looseCase]()),-1!==ee.attribList.indexOf(ee.attribName)||ee.tag.attributes.hasOwnProperty(ee.attribName))ee.attribName=ee.attribValue="";else{if(ee.opt.xmlns){var V=he(ee.attribName,!0),ue=V.prefix,De=V.local;if("xmlns"===ue)if("xml"===De&&ee.attribValue!==T)Ce(ee,"xml: prefix must be bound to "+T+"\nActual: "+ee.attribValue);else if("xmlns"===De&&ee.attribValue!==C)Ce(ee,"xmlns: prefix must be bound to "+C+"\nActual: "+ee.attribValue);else{var rt=ee.tag,It=ee.tags[ee.tags.length-1]||ee;rt.ns===It.ns&&(rt.ns=Object.create(It.ns)),rt.ns[De]=ee.attribValue}ee.attribList.push([ee.attribName,ee.attribValue])}else ee.tag.attributes[ee.attribName]=ee.attribValue,We(ee,"onattribute",{name:ee.attribName,value:ee.attribValue});ee.attribName=ee.attribValue=""}}function be(ee,V){if(ee.opt.xmlns){var ue=ee.tag,De=he(ee.tagName);ue.prefix=De.prefix,ue.local=De.local,ue.uri=ue.ns[De.prefix]||"",ue.prefix&&!ue.uri&&(Ce(ee,"Unbound namespace prefix: "+JSON.stringify(ee.tagName)),ue.uri=De.prefix);var rt=ee.tags[ee.tags.length-1]||ee;ue.ns&&rt.ns!==ue.ns&&Object.keys(ue.ns).forEach(function(Y){We(ee,"onopennamespace",{prefix:Y,uri:ue.ns[Y]})});for(var It=0,Kt=ee.attribList.length;It<Kt;It++){var Ht=ee.attribList[It],ze=Ht[0],Mt=Ht[1],Pt=he(ze,!0),bn=Pt.prefix,Tn=Pt.local,Lt=""===bn?"":ue.ns[bn]||"",_e={name:ze,value:Mt,prefix:bn,local:Tn,uri:Lt};bn&&"xmlns"!==bn&&!Lt&&(Ce(ee,"Unbound namespace prefix: "+JSON.stringify(bn)),_e.uri=bn),ee.tag.attributes[ze]=_e,We(ee,"onattribute",_e)}ee.attribList.length=0}ee.tag.isSelfClosing=!!V,ee.sawRoot=!0,ee.tags.push(ee.tag),We(ee,"onopentag",ee.tag),V||(ee.noscript||"script"!==ee.tagName.toLowerCase()?ee.state=j.TEXT:ee.state=j.SCRIPT,ee.tag=null,ee.tagName=""),ee.attribName=ee.attribValue="",ee.attribList.length=0}function de(ee){if(!ee.tagName)return Ce(ee,"Weird empty close tag."),ee.textNode+="</>",void(ee.state=j.TEXT);if(ee.script){if("script"!==ee.tagName)return ee.script+="</"+ee.tagName+">",ee.tagName="",void(ee.state=j.SCRIPT);We(ee,"onscript",ee.script),ee.script=""}var V=ee.tags.length,ue=ee.tagName;ee.strict||(ue=ue[ee.looseCase]());for(var De=ue;V--;){if(ee.tags[V].name===De)break;Ce(ee,"Unexpected close tag")}if(V<0)return Ce(ee,"Unmatched closing tag: "+ee.tagName),ee.textNode+="</"+ee.tagName+">",void(ee.state=j.TEXT);ee.tagName=ue;for(var It=ee.tags.length;It-- >V;){var Kt=ee.tag=ee.tags.pop();ee.tagName=ee.tag.name,We(ee,"onclosetag",ee.tagName);var Ht={};for(var ze in Kt.ns)Ht[ze]=Kt.ns[ze];var Mt=ee.tags[ee.tags.length-1]||ee;ee.opt.xmlns&&Kt.ns!==Mt.ns&&Object.keys(Kt.ns).forEach(function(Pt){var bn=Kt.ns[Pt];We(ee,"onclosenamespace",{prefix:Pt,uri:bn})})}0===V&&(ee.closedRoot=!0),ee.tagName=ee.attribValue=ee.attribName="",ee.attribList.length=0,ee.state=j.TEXT}function G(ee){var De,V=ee.entity,ue=V.toLowerCase(),rt="";return ee.ENTITIES[V]?ee.ENTITIES[V]:ee.ENTITIES[ue]?ee.ENTITIES[ue]:("#"===(V=ue).charAt(0)&&("x"===V.charAt(1)?(V=V.slice(2),rt=(De=parseInt(V,16)).toString(16)):(V=V.slice(1),rt=(De=parseInt(V,10)).toString(10))),V=V.replace(/^0+/,""),isNaN(De)||rt.toLowerCase()!==V||De<0||De>1114111||!function Fe(ee){return 9===ee||10===ee||13===ee||ee>=32&&ee<=55295||ee>=57344&&ee<=65533||ee>=65536&&ee<=1114111}(De)?(Ce(ee,"Invalid character entity"),"&"+ee.entity+";"):String.fromCodePoint(De))}function He(ee,V){"<"===V?(ee.state=j.OPEN_WAKA,ee.startTagPosition=ee.position):w(V)||(Ce(ee,"Non-whitespace before first tag."),ee.textNode=V,ee.state=j.TEXT)}function wt(ee,V){var ue="";return V<ee.length&&(ue=ee.charAt(V)),ue}j=m.STATE,String.fromCodePoint||(ee=String.fromCharCode,V=Math.floor,ue=function(){var It,Kt,rt=[],Ht=-1,ze=arguments.length;if(!ze)return"";for(var Mt="";++Ht<ze;){var Pt=Number(arguments[Ht]);if(!isFinite(Pt)||Pt<0||Pt>1114111||V(Pt)!==Pt)throw RangeError("Invalid code point: "+Pt);Pt<=65535?rt.push(Pt):(It=55296+((Pt-=65536)>>10),Kt=Pt%1024+56320,rt.push(It,Kt)),(Ht+1===ze||rt.length>16384)&&(Mt+=ee.apply(null,rt),rt.length=0)}return Mt},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:ue,configurable:!0,writable:!0}):String.fromCodePoint=ue)}(pe)},24473(){!function(st){"use strict";if(!st.setImmediate){var P,h=1,m={},s=!1,f=st.document,C=Object.getPrototypeOf&&Object.getPrototypeOf(st);C=C&&C.setTimeout?C:st,"[object process]"==={}.toString.call(st.process)?function N(){P=function(R){process.nextTick(function(){x(R)})}}():function M(){if(st.postMessage&&!st.importScripts){var R=!0,B=st.onmessage;return st.onmessage=function(){R=!1},st.postMessage("","*"),st.onmessage=B,R}}()?function U(){var R="setImmediate$"+Math.random()+"$",B=function(F){F.source===st&&"string"==typeof F.data&&0===F.data.indexOf(R)&&x(+F.data.slice(R.length))};st.addEventListener?st.addEventListener("message",B,!1):st.attachEvent("onmessage",B),P=function(F){st.postMessage(R+F,"*")}}():st.MessageChannel?function J(){var R=new MessageChannel;R.port1.onmessage=function(B){x(B.data)},P=function(B){R.port2.postMessage(B)}}():f&&"onreadystatechange"in f.createElement("script")?function I(){var R=f.documentElement;P=function(B){var F=f.createElement("script");F.onreadystatechange=function(){x(B),F.onreadystatechange=null,R.removeChild(F),F=null},R.appendChild(F)}}():function T(){P=function(R){setTimeout(x,0,R)}}(),C.setImmediate=function D(R){"function"!=typeof R&&(R=new Function(""+R));for(var B=new Array(arguments.length-1),F=0;F<B.length;F++)B[F]=arguments[F+1];var $={callback:R,args:B};return m[h]=$,P(h),h++},C.clearImmediate=y}function y(R){delete m[R]}function x(R){if(s)setTimeout(x,0,R);else{var B=m[R];if(B){s=!0;try{!function b(R){var B=R.callback,F=R.args;switch(F.length){case 0:B();break;case 1:B(F[0]);break;case 2:B(F[0],F[1]);break;case 3:B(F[0],F[1],F[2]);break;default:B.apply(void 0,F)}}(B)}finally{y(R),s=!1}}}}}(typeof self>"u"?typeof global>"u"?this:global:self)},97544(st,pe,h){st.exports=f;var m=h(95961).EventEmitter;function f(){m.call(this)}h(52608)(f,m),f.Readable=h(65602),f.Writable=h(35382),f.Duplex=h(73052),f.Transform=h(52252),f.PassThrough=h(49926),f.finished=h(75912),f.pipeline=h(89348),f.Stream=f,f.prototype.pipe=function(P,D){var y=this;function b(T){P.writable&&!1===P.write(T)&&y.pause&&y.pause()}function x(){y.readable&&y.resume&&y.resume()}y.on("data",b),P.on("drain",x),!P._isStdio&&(!D||!1!==D.end)&&(y.on("end",M),y.on("close",U));var N=!1;function M(){N||(N=!0,P.end())}function U(){N||(N=!0,"function"==typeof P.destroy&&P.destroy())}function J(T){if(I(),0===m.listenerCount(this,"error"))throw T}function I(){y.removeListener("data",b),P.removeListener("drain",x),y.removeListener("end",M),y.removeListener("close",U),y.removeListener("error",J),P.removeListener("error",J),y.removeListener("end",I),y.removeListener("close",I),P.removeListener("close",I)}return y.on("error",J),P.on("error",J),y.on("end",I),y.on("close",I),P.on("close",I),P.emit("pipe",y),P}},8479(st,pe,h){"use strict";var m=h(71459).Buffer,s=m.isEncoding||function(F){switch((F=""+F)&&F.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function D(F){var $;switch(this.encoding=function P(F){var $=function f(F){if(!F)return"utf8";for(var $;;)switch(F){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return F;default:if($)return;F=(""+F).toLowerCase(),$=!0}}(F);if("string"!=typeof $&&(m.isEncoding===s||!s(F)))throw new Error("Unknown encoding: "+F);return $||F}(F),this.encoding){case"utf16le":this.text=J,this.end=I,$=4;break;case"utf8":this.fillLast=N,$=4;break;case"base64":this.text=T,this.end=C,$=3;break;default:return this.write=R,void(this.end=B)}this.lastNeed=0,this.lastTotal=0,this.lastChar=m.allocUnsafe($)}function y(F){return F<=127?0:F>>5==6?2:F>>4==14?3:F>>3==30?4:F>>6==2?-1:-2}function N(F){var $=this.lastTotal-this.lastNeed,E=function x(F,$,E){if(128!=(192&$[0]))return F.lastNeed=0,"\ufffd";if(F.lastNeed>1&&$.length>1){if(128!=(192&$[1]))return F.lastNeed=1,"\ufffd";if(F.lastNeed>2&&$.length>2&&128!=(192&$[2]))return F.lastNeed=2,"\ufffd"}}(this,F);return void 0!==E?E:this.lastNeed<=F.length?(F.copy(this.lastChar,$,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(F.copy(this.lastChar,$,0,F.length),void(this.lastNeed-=F.length))}function J(F,$){if((F.length-$)%2==0){var E=F.toString("utf16le",$);if(E){var w=E.charCodeAt(E.length-1);if(w>=55296&&w<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=F[F.length-2],this.lastChar[1]=F[F.length-1],E.slice(0,-1)}return E}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=F[F.length-1],F.toString("utf16le",$,F.length-1)}function I(F){var $=F&&F.length?this.write(F):"";if(this.lastNeed){var E=this.lastTotal-this.lastNeed;return $+this.lastChar.toString("utf16le",0,E)}return $}function T(F,$){var E=(F.length-$)%3;return 0===E?F.toString("base64",$):(this.lastNeed=3-E,this.lastTotal=3,1===E?this.lastChar[0]=F[F.length-1]:(this.lastChar[0]=F[F.length-2],this.lastChar[1]=F[F.length-1]),F.toString("base64",$,F.length-E))}function C(F){var $=F&&F.length?this.write(F):"";return this.lastNeed?$+this.lastChar.toString("base64",0,3-this.lastNeed):$}function R(F){return F.toString(this.encoding)}function B(F){return F&&F.length?this.write(F):""}pe.I=D,D.prototype.write=function(F){if(0===F.length)return"";var $,E;if(this.lastNeed){if(void 0===($=this.fillLast(F)))return"";E=this.lastNeed,this.lastNeed=0}else E=0;return E<F.length?$?$+this.text(F,E):this.text(F,E):$||""},D.prototype.end=function U(F){var $=F&&F.length?this.write(F):"";return this.lastNeed?$+"\ufffd":$},D.prototype.text=function M(F,$){var E=function b(F,$,E){var w=$.length-1;if(w<E)return 0;var O=y($[w]);return O>=0?(O>0&&(F.lastNeed=O-1),O):--w<E||-2===O?0:(O=y($[w]),O>=0?(O>0&&(F.lastNeed=O-2),O):--w<E||-2===O?0:(O=y($[w]),O>=0?(O>0&&(2===O?O=0:F.lastNeed=O-3),O):0))}(this,F,$);if(!this.lastNeed)return F.toString("utf8",$);this.lastTotal=E;var w=F.length-(E-this.lastNeed);return F.copy(this.lastChar,0,w),F.toString("utf8",$,w)},D.prototype.fillLast=function(F){if(this.lastNeed<=F.length)return F.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);F.copy(this.lastChar,this.lastTotal-this.lastNeed,0,F.length),this.lastNeed-=F.length}},83333(st,pe,h){var m=typeof global<"u"&&global||typeof self<"u"&&self||window,s=Function.prototype.apply;function f(P,D){this._id=P,this._clearFn=D}pe.setTimeout=function(){return new f(s.call(setTimeout,m,arguments),clearTimeout)},pe.setInterval=function(){return new f(s.call(setInterval,m,arguments),clearInterval)},pe.clearTimeout=pe.clearInterval=function(P){P&&P.close()},f.prototype.unref=f.prototype.ref=function(){},f.prototype.close=function(){this._clearFn.call(m,this._id)},pe.enroll=function(P,D){clearTimeout(P._idleTimeoutId),P._idleTimeout=D},pe.unenroll=function(P){clearTimeout(P._idleTimeoutId),P._idleTimeout=-1},pe._unrefActive=pe.active=function(P){clearTimeout(P._idleTimeoutId);var D=P._idleTimeout;D>=0&&(P._idleTimeoutId=setTimeout(function(){P._onTimeout&&P._onTimeout()},D))},h(24473),pe.setImmediate=typeof self<"u"&&self.setImmediate||typeof global<"u"&&global.setImmediate||this&&this.setImmediate,pe.clearImmediate=typeof self<"u"&&self.clearImmediate||typeof global<"u"&&global.clearImmediate||this&&this.clearImmediate},65993(st){function h(m){try{if(!global.localStorage)return!1}catch{return!1}var s=global.localStorage[m];return null!=s&&"true"===String(s).toLowerCase()}st.exports=function pe(m,s){if(h("noDeprecation"))return m;var f=!1;return function P(){if(!f){if(h("throwDeprecation"))throw new Error(s);h("traceDeprecation")?console.trace(s):console.warn(s),f=!0}return m.apply(this,arguments)}}},52403(st,pe){(function(){"use strict";pe.stripBOM=function(h){return"\ufeff"===h[0]?h.substring(1):h}}).call(this)},54466(st,pe,h){(function(){"use strict";var m,s,f,P,D,y={}.hasOwnProperty;m=h(64611),s=h(61903).defaults,P=function(b){return"string"==typeof b&&(b.indexOf("&")>=0||b.indexOf(">")>=0||b.indexOf("<")>=0)},D=function(b){return"<![CDATA["+f(b)+"]]>"},f=function(b){return b.replace("]]>","]]]]><![CDATA[>")},pe.Builder=function(){function b(x){var N,M,U;for(N in this.options={},M=s[.2])y.call(M,N)&&(U=M[N],this.options[N]=U);for(N in x)y.call(x,N)&&(U=x[N],this.options[N]=U)}return b.prototype.buildObject=function(x){var N,M,U,J,I;return N=this.options.attrkey,M=this.options.charkey,1===Object.keys(x).length&&this.options.rootName===s[.2].rootName?x=x[I=Object.keys(x)[0]]:I=this.options.rootName,U=function(T){return function(C,R){var B,F,$,E,w,O;if("object"!=typeof R)T.options.cdata&&P(R)?C.raw(D(R)):C.txt(R);else if(Array.isArray(R)){for(E in R)if(y.call(R,E))for(w in F=R[E])$=F[w],C=U(C.ele(w),$).up()}else for(w in R)if(y.call(R,w))if(F=R[w],w===N){if("object"==typeof F)for(B in F)O=F[B],C=C.att(B,O)}else if(w===M)C=T.options.cdata&&P(F)?C.raw(D(F)):C.txt(F);else if(Array.isArray(F))for(E in F)y.call(F,E)&&(C="string"==typeof($=F[E])?T.options.cdata&&P($)?C.ele(w).raw(D($)).up():C.ele(w,$).up():U(C.ele(w),$).up());else"object"==typeof F?C=U(C.ele(w),F).up():"string"==typeof F&&T.options.cdata&&P(F)?C=C.ele(w).raw(D(F)).up():(null==F&&(F=""),C=C.ele(w,F.toString()).up());return C}}(this),J=m.create(I,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),U(J,x).end(this.options.renderOpts)},b}()}).call(this)},61903(st,pe){(function(){pe.defaults={.1:{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},.2:{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},87034(st,pe,h){(function(){"use strict";var m,s,f,P,D,y,b,x,N,M=function(I,T){return function(){return I.apply(T,arguments)}},J={}.hasOwnProperty;x=h(84285),P=h(95961),m=h(52403),b=h(4992),N=h(83333).setImmediate,s=h(61903).defaults,D=function(I){return"object"==typeof I&&null!=I&&0===Object.keys(I).length},y=function(I,T,C){var R,B;for(R=0,B=I.length;R<B;R++)T=(0,I[R])(T,C);return T},f=function(I,T,C){var R;return(R=Object.create(null)).value=C,R.writable=!0,R.enumerable=!0,R.configurable=!0,Object.defineProperty(I,T,R)},pe.Parser=function(I){function T(C){var R,B,F;if(this.parseStringPromise=M(this.parseStringPromise,this),this.parseString=M(this.parseString,this),this.reset=M(this.reset,this),this.assignOrPush=M(this.assignOrPush,this),this.processAsync=M(this.processAsync,this),!(this instanceof pe.Parser))return new pe.Parser(C);for(R in this.options={},B=s[.2])J.call(B,R)&&(F=B[R],this.options[R]=F);for(R in C)J.call(C,R)&&(F=C[R],this.options[R]=F);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(b.normalize)),this.reset()}return function(I,T){for(var C in T)J.call(T,C)&&(I[C]=T[C]);function R(){this.constructor=I}R.prototype=T.prototype,I.prototype=new R,I.__super__=T.prototype}(T,I),T.prototype.processAsync=function(){var C,R;try{return this.remaining.length<=this.options.chunkSize?(C=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(C),this.saxParser.close()):(C=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(C),N(this.processAsync))}catch(B){if(R=B,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(R)}},T.prototype.assignOrPush=function(C,R,B){return R in C?(C[R]instanceof Array||f(C,R,[C[R]]),C[R].push(B)):this.options.explicitArray?f(C,R,[B]):f(C,R,B)},T.prototype.reset=function(){var C,R,B,F;return this.removeAllListeners(),this.saxParser=x.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function($){return function(E){if($.saxParser.resume(),!$.saxParser.errThrown)return $.saxParser.errThrown=!0,$.emit("error",E)}}(this),this.saxParser.onend=function($){return function(){if(!$.saxParser.ended)return $.saxParser.ended=!0,$.emit("end",$.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,F=[],C=this.options.attrkey,R=this.options.charkey,this.saxParser.onopentag=function($){return function(E){var w,O,Z,Ee,oe;if((Z={})[R]="",!$.options.ignoreAttrs)for(w in oe=E.attributes)J.call(oe,w)&&(!(C in Z)&&!$.options.mergeAttrs&&(Z[C]={}),O=$.options.attrValueProcessors?y($.options.attrValueProcessors,E.attributes[w],w):E.attributes[w],Ee=$.options.attrNameProcessors?y($.options.attrNameProcessors,w):w,$.options.mergeAttrs?$.assignOrPush(Z,Ee,O):f(Z[C],Ee,O));return Z["#name"]=$.options.tagNameProcessors?y($.options.tagNameProcessors,E.name):E.name,$.options.xmlns&&(Z[$.options.xmlnskey]={uri:E.uri,local:E.local}),F.push(Z)}}(this),this.saxParser.onclosetag=function($){return function(){var E,w,O,Z,Ee,oe,j,te,ce,ye;if(oe=F.pop(),Ee=oe["#name"],(!$.options.explicitChildren||!$.options.preserveChildrenOrder)&&delete oe["#name"],!0===oe.cdata&&(E=oe.cdata,delete oe.cdata),ce=F[F.length-1],oe[R].match(/^\s*$/)&&!E?(w=oe[R],delete oe[R]):($.options.trim&&(oe[R]=oe[R].trim()),$.options.normalize&&(oe[R]=oe[R].replace(/\s{2,}/g," ").trim()),oe[R]=$.options.valueProcessors?y($.options.valueProcessors,oe[R],Ee):oe[R],1===Object.keys(oe).length&&R in oe&&!$.EXPLICIT_CHARKEY&&(oe=oe[R])),D(oe)&&(oe="function"==typeof $.options.emptyTag?$.options.emptyTag():""!==$.options.emptyTag?$.options.emptyTag:w),null!=$.options.validator&&(ye="/"+function(){var Le,$e,Tt;for(Tt=[],Le=0,$e=F.length;Le<$e;Le++)Z=F[Le],Tt.push(Z["#name"]);return Tt}().concat(Ee).join("/"),function(){var Le;try{return oe=$.options.validator(ye,ce&&ce[Ee],oe)}catch($e){return Le=$e,$.emit("error",Le)}}()),$.options.explicitChildren&&!$.options.mergeAttrs&&"object"==typeof oe)if($.options.preserveChildrenOrder){if(ce){for(O in ce[$.options.childkey]=ce[$.options.childkey]||[],j={},oe)J.call(oe,O)&&f(j,O,oe[O]);ce[$.options.childkey].push(j),delete oe["#name"],1===Object.keys(oe).length&&R in oe&&!$.EXPLICIT_CHARKEY&&(oe=oe[R])}}else Z={},$.options.attrkey in oe&&(Z[$.options.attrkey]=oe[$.options.attrkey],delete oe[$.options.attrkey]),!$.options.charsAsChildren&&$.options.charkey in oe&&(Z[$.options.charkey]=oe[$.options.charkey],delete oe[$.options.charkey]),Object.getOwnPropertyNames(oe).length>0&&(Z[$.options.childkey]=oe),oe=Z;return F.length>0?$.assignOrPush(ce,Ee,oe):($.options.explicitRoot&&(te=oe,f(oe={},Ee,te)),$.resultObject=oe,$.saxParser.ended=!0,$.emit("end",$.resultObject))}}(this),B=function($){return function(E){var w,O;if(O=F[F.length-1])return O[R]+=E,$.options.explicitChildren&&$.options.preserveChildrenOrder&&$.options.charsAsChildren&&($.options.includeWhiteChars||""!==E.replace(/\\n/g,"").trim())&&(O[$.options.childkey]=O[$.options.childkey]||[],(w={"#name":"__text__"})[R]=E,$.options.normalize&&(w[R]=w[R].replace(/\s{2,}/g," ").trim()),O[$.options.childkey].push(w)),O}}(this),this.saxParser.ontext=B,this.saxParser.oncdata=function(){return function(E){var w;if(w=B(E))return w.cdata=!0}}()},T.prototype.parseString=function(C,R){var B;null!=R&&"function"==typeof R&&(this.on("end",function(F){return this.reset(),R(null,F)}),this.on("error",function(F){return this.reset(),R(F)}));try{return""===(C=C.toString()).trim()?(this.emit("end",null),!0):(C=m.stripBOM(C),this.options.async?(this.remaining=C,N(this.processAsync),this.saxParser):this.saxParser.write(C).close())}catch(F){if(B=F,!this.saxParser.errThrown&&!this.saxParser.ended)return this.emit("error",B),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw B}},T.prototype.parseStringPromise=function(C){return new Promise(function(R){return function(B,F){return R.parseString(C,function($,E){return $?F($):B(E)})}}(this))},T}(P),pe.parseString=function(I,T,C){var R,B;return null!=C?("function"==typeof C&&(R=C),"object"==typeof T&&(B=T)):("function"==typeof T&&(R=T),B={}),new pe.Parser(B).parseString(I,R)},pe.parseStringPromise=function(I,T){var C;return"object"==typeof T&&(C=T),new pe.Parser(C).parseStringPromise(I)}}).call(this)},4992(st,pe){(function(){"use strict";var h;h=new RegExp(/(?!xmlns)^.*:/),pe.normalize=function(m){return m.toLowerCase()},pe.firstCharLowerCase=function(m){return m.charAt(0).toLowerCase()+m.slice(1)},pe.stripPrefix=function(m){return m.replace(h,"")},pe.parseNumbers=function(m){return isNaN(m)||(m=m%1==0?parseInt(m,10):parseFloat(m)),m},pe.parseBooleans=function(m){return/^(?:true|false)$/i.test(m)&&(m="true"===m.toLowerCase()),m}}).call(this)},84183(st,pe,h){(function(){"use strict";var m,s,f,P,y={}.hasOwnProperty;s=h(61903),m=h(54466),f=h(87034),P=h(4992),pe.defaults=s.defaults,pe.processors=P,pe.ValidationError=function(){function x(N){this.message=N}return function(b,x){for(var N in x)y.call(x,N)&&(b[N]=x[N]);function M(){this.constructor=b}M.prototype=x.prototype,b.prototype=new M,b.__super__=x.prototype}(x,Error),x}(),pe.Builder=m.Builder,pe.Parser=f.Parser,pe.parseString=f.parseString,pe.parseStringPromise=f.parseStringPromise}).call(this)},79777(st){(function(){st.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},91419(st){(function(){st.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},50431(st){(function(){var pe,h,m,s,f,P,D,y=[].slice,b={}.hasOwnProperty;pe=function(){var x,N,M,U,J,I;if(I=arguments[0],J=2<=arguments.length?y.call(arguments,1):[],f(Object.assign))Object.assign.apply(null,arguments);else for(x=0,M=J.length;x<M;x++)if(null!=(U=J[x]))for(N in U)b.call(U,N)&&(I[N]=U[N]);return I},f=function(x){return!!x&&"[object Function]"===Object.prototype.toString.call(x)},P=function(x){var N;return!!x&&("function"==(N=typeof x)||"object"===N)},m=function(x){return f(Array.isArray)?Array.isArray(x):"[object Array]"===Object.prototype.toString.call(x)},s=function(x){var N;if(m(x))return!x.length;for(N in x)if(b.call(x,N))return!1;return!0},D=function(x){var N,M;return P(x)&&(M=Object.getPrototypeOf(x))&&(N=M.constructor)&&"function"==typeof N&&N instanceof N&&Function.prototype.toString.call(N)===Function.prototype.toString.call(Object)},h=function(x){return f(x.valueOf)?x.valueOf():x},st.exports.assign=pe,st.exports.isFunction=f,st.exports.isObject=P,st.exports.isArray=m,st.exports.isEmpty=s,st.exports.isPlainObject=D,st.exports.getValue=h}).call(this)},28319(st){(function(){st.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},37936(st,pe,h){(function(){var m;m=h(91419),h(44722),st.exports=function(){function P(D,y,b){if(this.parent=D,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),null==y)throw new Error("Missing attribute name. "+this.debugInfo(y));this.name=this.stringify.name(y),this.value=this.stringify.attValue(b),this.type=m.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(P.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(P.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(P.prototype,"textContent",{get:function(){return this.value},set:function(D){return this.value=D||""}}),Object.defineProperty(P.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(P.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(P.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(P.prototype,"specified",{get:function(){return!0}}),P.prototype.clone=function(){return Object.create(this)},P.prototype.toString=function(D){return this.options.writer.attribute(this,this.options.writer.filterOptions(D))},P.prototype.debugInfo=function(D){return null==(D=D||this.name)?"parent: <"+this.parent.name+">":"attribute: {"+D+"}, parent: <"+this.parent.name+">"},P.prototype.isEqualNode=function(D){return!(D.namespaceURI!==this.namespaceURI||D.prefix!==this.prefix||D.localName!==this.localName||D.value!==this.value)},P}()}).call(this)},32825(st,pe,h){(function(){var m,f,D={}.hasOwnProperty;m=h(91419),f=h(18475),st.exports=function(y){function b(x,N){if(b.__super__.constructor.call(this,x),null==N)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=m.CData,this.value=this.stringify.cdata(N)}return function(y,b){for(var x in b)D.call(b,x)&&(y[x]=b[x]);function N(){this.constructor=y}N.prototype=b.prototype,y.prototype=new N,y.__super__=b.prototype}(b,y),b.prototype.clone=function(){return Object.create(this)},b.prototype.toString=function(x){return this.options.writer.cdata(this,this.options.writer.filterOptions(x))},b}(f)}).call(this)},18475(st,pe,h){(function(){var s,P={}.hasOwnProperty;s=h(44722),st.exports=function(D){function y(b){y.__super__.constructor.call(this,b),this.value=""}return function(D,y){for(var b in y)P.call(y,b)&&(D[b]=y[b]);function x(){this.constructor=D}x.prototype=y.prototype,D.prototype=new x,D.__super__=y.prototype}(y,D),Object.defineProperty(y.prototype,"data",{get:function(){return this.value},set:function(b){return this.value=b||""}}),Object.defineProperty(y.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(y.prototype,"textContent",{get:function(){return this.value},set:function(b){return this.value=b||""}}),y.prototype.clone=function(){return Object.create(this)},y.prototype.substringData=function(b,x){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.appendData=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.insertData=function(b,x){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.deleteData=function(b,x){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.replaceData=function(b,x,N){throw new Error("This DOM method is not implemented."+this.debugInfo())},y.prototype.isEqualNode=function(b){return!(!y.__super__.isEqualNode.apply(this,arguments).isEqualNode(b)||b.data!==this.data)},y}(s)}).call(this)},42941(st,pe,h){(function(){var m,s,D={}.hasOwnProperty;m=h(91419),s=h(18475),st.exports=function(y){function b(x,N){if(b.__super__.constructor.call(this,x),null==N)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=m.Comment,this.value=this.stringify.comment(N)}return function(y,b){for(var x in b)D.call(b,x)&&(y[x]=b[x]);function N(){this.constructor=y}N.prototype=b.prototype,y.prototype=new N,y.__super__=b.prototype}(b,y),b.prototype.clone=function(){return Object.create(this)},b.prototype.toString=function(x){return this.options.writer.comment(this,this.options.writer.filterOptions(x))},b}(s)}).call(this)},40796(st,pe,h){(function(){var s,f;s=h(70410),f=h(31905),st.exports=function(){function P(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new s,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=Object.create(this.defaultParams)}return Object.defineProperty(P.prototype,"parameterNames",{get:function(){return new f(Object.keys(this.defaultParams))}}),P.prototype.getParameter=function(D){return this.params.hasOwnProperty(D)?this.params[D]:null},P.prototype.canSetParameter=function(D,y){return!0},P.prototype.setParameter=function(D,y){return null!=y?this.params[D]=y:delete this.params[D]},P}()}).call(this)},70410(st){(function(){st.exports=function(){function h(){}return h.prototype.handleError=function(m){throw new Error(m)},h}()}).call(this)},41686(st){(function(){st.exports=function(){function h(){}return h.prototype.hasFeature=function(m,s){return!0},h.prototype.createDocumentType=function(m,s,f){throw new Error("This DOM method is not implemented.")},h.prototype.createDocument=function(m,s,f){throw new Error("This DOM method is not implemented.")},h.prototype.createHTMLDocument=function(m){throw new Error("This DOM method is not implemented.")},h.prototype.getFeature=function(m,s){throw new Error("This DOM method is not implemented.")},h}()}).call(this)},31905(st){(function(){st.exports=function(){function h(m){this.arr=m||[]}return Object.defineProperty(h.prototype,"length",{get:function(){return this.arr.length}}),h.prototype.item=function(m){return this.arr[m]||null},h.prototype.contains=function(m){return-1!==this.arr.indexOf(m)},h}()}).call(this)},28713(st,pe,h){(function(){var m,f,D={}.hasOwnProperty;f=h(44722),m=h(91419),st.exports=function(y){function b(x,N,M,U,J,I){if(b.__super__.constructor.call(this,x),null==N)throw new Error("Missing DTD element name. "+this.debugInfo());if(null==M)throw new Error("Missing DTD attribute name. "+this.debugInfo(N));if(!U)throw new Error("Missing DTD attribute type. "+this.debugInfo(N));if(!J)throw new Error("Missing DTD attribute default. "+this.debugInfo(N));if(0!==J.indexOf("#")&&(J="#"+J),!J.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(N));if(I&&!J.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(N));this.elementName=this.stringify.name(N),this.type=m.AttributeDeclaration,this.attributeName=this.stringify.name(M),this.attributeType=this.stringify.dtdAttType(U),I&&(this.defaultValue=this.stringify.dtdAttDefault(I)),this.defaultValueType=J}return function(y,b){for(var x in b)D.call(b,x)&&(y[x]=b[x]);function N(){this.constructor=y}N.prototype=b.prototype,y.prototype=new N,y.__super__=b.prototype}(b,y),b.prototype.toString=function(x){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(x))},b}(f)}).call(this)},89530(st,pe,h){(function(){var m,f,D={}.hasOwnProperty;f=h(44722),m=h(91419),st.exports=function(y){function b(x,N,M){if(b.__super__.constructor.call(this,x),null==N)throw new Error("Missing DTD element name. "+this.debugInfo());M||(M="(#PCDATA)"),Array.isArray(M)&&(M="("+M.join(",")+")"),this.name=this.stringify.name(N),this.type=m.ElementDeclaration,this.value=this.stringify.dtdElementValue(M)}return function(y,b){for(var x in b)D.call(b,x)&&(y[x]=b[x]);function N(){this.constructor=y}N.prototype=b.prototype,y.prototype=new N,y.__super__=b.prototype}(b,y),b.prototype.toString=function(x){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(x))},b}(f)}).call(this)},34391(st,pe,h){(function(){var m,f,P,y={}.hasOwnProperty;P=h(50431).isObject,f=h(44722),m=h(91419),st.exports=function(b){function x(N,M,U,J){if(x.__super__.constructor.call(this,N),null==U)throw new Error("Missing DTD entity name. "+this.debugInfo(U));if(null==J)throw new Error("Missing DTD entity value. "+this.debugInfo(U));if(this.pe=!!M,this.name=this.stringify.name(U),this.type=m.EntityDeclaration,P(J)){if(!J.pubID&&!J.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(U));if(J.pubID&&!J.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(U));if(this.internal=!1,null!=J.pubID&&(this.pubID=this.stringify.dtdPubID(J.pubID)),null!=J.sysID&&(this.sysID=this.stringify.dtdSysID(J.sysID)),null!=J.nData&&(this.nData=this.stringify.dtdNData(J.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(U))}else this.value=this.stringify.dtdEntityValue(J),this.internal=!0}return function(b,x){for(var N in x)y.call(x,N)&&(b[N]=x[N]);function M(){this.constructor=b}M.prototype=x.prototype,b.prototype=new M,b.__super__=x.prototype}(x,b),Object.defineProperty(x.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(x.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(x.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(x.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(x.prototype,"xmlVersion",{get:function(){return null}}),x.prototype.toString=function(N){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(N))},x}(f)}).call(this)},25358(st,pe,h){(function(){var m,f,D={}.hasOwnProperty;f=h(44722),m=h(91419),st.exports=function(y){function b(x,N,M){if(b.__super__.constructor.call(this,x),null==N)throw new Error("Missing DTD notation name. "+this.debugInfo(N));if(!M.pubID&&!M.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(N));this.name=this.stringify.name(N),this.type=m.NotationDeclaration,null!=M.pubID&&(this.pubID=this.stringify.dtdPubID(M.pubID)),null!=M.sysID&&(this.sysID=this.stringify.dtdSysID(M.sysID))}return function(y,b){for(var x in b)D.call(b,x)&&(y[x]=b[x]);function N(){this.constructor=y}N.prototype=b.prototype,y.prototype=new N,y.__super__=b.prototype}(b,y),Object.defineProperty(b.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(b.prototype,"systemId",{get:function(){return this.sysID}}),b.prototype.toString=function(x){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(x))},b}(f)}).call(this)},2332(st,pe,h){(function(){var m,f,P,y={}.hasOwnProperty;P=h(50431).isObject,f=h(44722),m=h(91419),st.exports=function(b){function x(N,M,U,J){var I;x.__super__.constructor.call(this,N),P(M)&&(M=(I=M).version,U=I.encoding,J=I.standalone),M||(M="1.0"),this.type=m.Declaration,this.version=this.stringify.xmlVersion(M),null!=U&&(this.encoding=this.stringify.xmlEncoding(U)),null!=J&&(this.standalone=this.stringify.xmlStandalone(J))}return function(b,x){for(var N in x)y.call(x,N)&&(b[N]=x[N]);function M(){this.constructor=b}M.prototype=x.prototype,b.prototype=new M,b.__super__=x.prototype}(x,b),x.prototype.toString=function(N){return this.options.writer.declaration(this,this.options.writer.filterOptions(N))},x}(f)}).call(this)},80946(st,pe,h){(function(){var m,s,f,P,D,b,x,N,U={}.hasOwnProperty;N=h(50431).isObject,x=h(44722),m=h(91419),s=h(28713),P=h(34391),f=h(89530),D=h(25358),b=h(54775),st.exports=function(J){function I(T,C,R){var B,F,$,E,w,O;if(I.__super__.constructor.call(this,T),this.type=m.DocType,T.children)for(F=0,$=(E=T.children).length;F<$;F++)if((B=E[F]).type===m.Element){this.name=B.name;break}this.documentObject=T,N(C)&&(C=(w=C).pubID,R=w.sysID),null==R&&(R=(O=[C,R])[0],C=O[1]),null!=C&&(this.pubID=this.stringify.dtdPubID(C)),null!=R&&(this.sysID=this.stringify.dtdSysID(R))}return function(J,I){for(var T in I)U.call(I,T)&&(J[T]=I[T]);function C(){this.constructor=J}C.prototype=I.prototype,J.prototype=new C,J.__super__=I.prototype}(I,J),Object.defineProperty(I.prototype,"entities",{get:function(){var T,C,R,B,F;for(B={},C=0,R=(F=this.children).length;C<R;C++)(T=F[C]).type===m.EntityDeclaration&&!T.pe&&(B[T.name]=T);return new b(B)}}),Object.defineProperty(I.prototype,"notations",{get:function(){var T,C,R,B,F;for(B={},C=0,R=(F=this.children).length;C<R;C++)(T=F[C]).type===m.NotationDeclaration&&(B[T.name]=T);return new b(B)}}),Object.defineProperty(I.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(I.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(I.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),I.prototype.element=function(T,C){var R;return R=new f(this,T,C),this.children.push(R),this},I.prototype.attList=function(T,C,R,B,F){var $;return $=new s(this,T,C,R,B,F),this.children.push($),this},I.prototype.entity=function(T,C){var R;return R=new P(this,!1,T,C),this.children.push(R),this},I.prototype.pEntity=function(T,C){var R;return R=new P(this,!0,T,C),this.children.push(R),this},I.prototype.notation=function(T,C){var R;return R=new D(this,T,C),this.children.push(R),this},I.prototype.toString=function(T){return this.options.writer.docType(this,this.options.writer.filterOptions(T))},I.prototype.ele=function(T,C){return this.element(T,C)},I.prototype.att=function(T,C,R,B,F){return this.attList(T,C,R,B,F)},I.prototype.ent=function(T,C){return this.entity(T,C)},I.prototype.pent=function(T,C){return this.pEntity(T,C)},I.prototype.not=function(T,C){return this.notation(T,C)},I.prototype.up=function(){return this.root()||this.documentObject},I.prototype.isEqualNode=function(T){return!(!I.__super__.isEqualNode.apply(this,arguments).isEqualNode(T)||T.name!==this.name||T.publicId!==this.publicId||T.systemId!==this.systemId)},I}(x)}).call(this)},62159(st,pe,h){(function(){var m,s,f,D,y,b,x,M={}.hasOwnProperty;x=h(50431).isPlainObject,f=h(41686),s=h(40796),D=h(44722),m=h(91419),b=h(39690),y=h(72800),st.exports=function(U){function J(I){J.__super__.constructor.call(this,null),this.name="#document",this.type=m.Document,this.documentURI=null,this.domConfig=new s,I||(I={}),I.writer||(I.writer=new y),this.options=I,this.stringify=new b(I)}return function(U,J){for(var I in J)M.call(J,I)&&(U[I]=J[I]);function T(){this.constructor=U}T.prototype=J.prototype,U.prototype=new T,U.__super__=J.prototype}(J,U),Object.defineProperty(J.prototype,"implementation",{value:new f}),Object.defineProperty(J.prototype,"doctype",{get:function(){var I,T,C,R;for(T=0,C=(R=this.children).length;T<C;T++)if((I=R[T]).type===m.DocType)return I;return null}}),Object.defineProperty(J.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(J.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(J.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(J.prototype,"xmlEncoding",{get:function(){return 0!==this.children.length&&this.children[0].type===m.Declaration?this.children[0].encoding:null}}),Object.defineProperty(J.prototype,"xmlStandalone",{get:function(){return 0!==this.children.length&&this.children[0].type===m.Declaration&&"yes"===this.children[0].standalone}}),Object.defineProperty(J.prototype,"xmlVersion",{get:function(){return 0!==this.children.length&&this.children[0].type===m.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(J.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(J.prototype,"origin",{get:function(){return null}}),Object.defineProperty(J.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(J.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(J.prototype,"contentType",{get:function(){return null}}),J.prototype.end=function(I){var T;return T={},I?x(I)&&(T=I,I=this.options.writer):I=this.options.writer,I.document(this,I.filterOptions(T))},J.prototype.toString=function(I){return this.options.writer.document(this,this.options.writer.filterOptions(I))},J.prototype.createElement=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.createTextNode=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.createComment=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.createCDATASection=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.createProcessingInstruction=function(I,T){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.createAttribute=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.createEntityReference=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.getElementsByTagName=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.importNode=function(I,T){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.createElementNS=function(I,T){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.createAttributeNS=function(I,T){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.getElementsByTagNameNS=function(I,T){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.getElementById=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.adoptNode=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.renameNode=function(I,T,C){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.getElementsByClassName=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.createEvent=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.createNodeIterator=function(I,T,C){throw new Error("This DOM method is not implemented."+this.debugInfo())},J.prototype.createTreeWalker=function(I,T,C){throw new Error("This DOM method is not implemented."+this.debugInfo())},J}(D)}).call(this)},34762(st,pe,h){(function(){var m,s,f,P,D,y,b,x,N,M,U,J,T,C,R,B,F,$,E,w,O,Z,Ee,oe={}.hasOwnProperty;Ee=h(50431),O=Ee.isObject,w=Ee.isFunction,Z=Ee.isPlainObject,E=Ee.getValue,m=h(91419),J=h(62159),T=h(40632),P=h(32825),D=h(42941),R=h(60542),$=h(34397),C=h(99345),M=h(2332),U=h(80946),y=h(28713),x=h(34391),b=h(89530),N=h(25358),f=h(37936),F=h(39690),B=h(72800),s=h(28319),st.exports=function(){function j(te,ce,ye){var Le;this.name="?xml",this.type=m.Document,te||(te={}),Le={},te.writer?Z(te.writer)&&(Le=te.writer,te.writer=new B):te.writer=new B,this.options=te,this.writer=te.writer,this.writerOptions=this.writer.filterOptions(Le),this.stringify=new F(te),this.onDataCallback=ce||function(){},this.onEndCallback=ye||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return j.prototype.createChildNode=function(te){var ce,ye,Le,$e,Tt,We,Me,ut;switch(te.type){case m.CData:this.cdata(te.value);break;case m.Comment:this.comment(te.value);break;case m.Element:for(ye in Le={},Me=te.attribs)oe.call(Me,ye)&&(ce=Me[ye],Le[ye]=ce.value);this.node(te.name,Le);break;case m.Dummy:this.dummy();break;case m.Raw:this.raw(te.value);break;case m.Text:this.text(te.value);break;case m.ProcessingInstruction:this.instruction(te.target,te.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+te.constructor.name)}for(Tt=0,We=(ut=te.children).length;Tt<We;Tt++)$e=ut[Tt],this.createChildNode($e),$e.type===m.Element&&this.up();return this},j.prototype.dummy=function(){return this},j.prototype.node=function(te,ce,ye){var Le;if(null==te)throw new Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw new Error("Document can only have one root node. "+this.debugInfo(te));return this.openCurrent(),te=E(te),null==ce&&(ce={}),ce=E(ce),O(ce)||(ye=(Le=[ce,ye])[0],ce=Le[1]),this.currentNode=new T(this,te,ce),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=ye&&this.text(ye),this},j.prototype.element=function(te,ce,ye){var Le,$e,Tt,We,Me,ut;if(this.currentNode&&this.currentNode.type===m.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(te)||O(te)||w(te))for(We=this.options.noValidation,this.options.noValidation=!0,(ut=new J(this.options).element("TEMP_ROOT")).element(te),this.options.noValidation=We,$e=0,Tt=(Me=ut.children).length;$e<Tt;$e++)Le=Me[$e],this.createChildNode(Le),Le.type===m.Element&&this.up();else this.node(te,ce,ye);return this},j.prototype.attribute=function(te,ce){var ye,Le;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(te));if(null!=te&&(te=E(te)),O(te))for(ye in te)oe.call(te,ye)&&(Le=te[ye],this.attribute(ye,Le));else w(ce)&&(ce=ce.apply()),this.options.keepNullAttributes&&null==ce?this.currentNode.attribs[te]=new f(this,te,""):null!=ce&&(this.currentNode.attribs[te]=new f(this,te,ce));return this},j.prototype.text=function(te){var ce;return this.openCurrent(),ce=new $(this,te),this.onData(this.writer.text(ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},j.prototype.cdata=function(te){var ce;return this.openCurrent(),ce=new P(this,te),this.onData(this.writer.cdata(ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},j.prototype.comment=function(te){var ce;return this.openCurrent(),ce=new D(this,te),this.onData(this.writer.comment(ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},j.prototype.raw=function(te){var ce;return this.openCurrent(),ce=new R(this,te),this.onData(this.writer.raw(ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},j.prototype.instruction=function(te,ce){var ye,Le,$e,Tt,We;if(this.openCurrent(),null!=te&&(te=E(te)),null!=ce&&(ce=E(ce)),Array.isArray(te))for(ye=0,Tt=te.length;ye<Tt;ye++)Le=te[ye],this.instruction(Le);else if(O(te))for(Le in te)oe.call(te,Le)&&($e=te[Le],this.instruction(Le,$e));else w(ce)&&(ce=ce.apply()),We=new C(this,te,ce),this.onData(this.writer.processingInstruction(We,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},j.prototype.declaration=function(te,ce,ye){var Le;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return Le=new M(this,te,ce,ye),this.onData(this.writer.declaration(Le,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},j.prototype.doctype=function(te,ce,ye){if(this.openCurrent(),null==te)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new U(this,ce,ye),this.currentNode.rootNodeName=te,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},j.prototype.dtdElement=function(te,ce){var ye;return this.openCurrent(),ye=new b(this,te,ce),this.onData(this.writer.dtdElement(ye,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},j.prototype.attList=function(te,ce,ye,Le,$e){var Tt;return this.openCurrent(),Tt=new y(this,te,ce,ye,Le,$e),this.onData(this.writer.dtdAttList(Tt,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},j.prototype.entity=function(te,ce){var ye;return this.openCurrent(),ye=new x(this,!1,te,ce),this.onData(this.writer.dtdEntity(ye,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},j.prototype.pEntity=function(te,ce){var ye;return this.openCurrent(),ye=new x(this,!0,te,ce),this.onData(this.writer.dtdEntity(ye,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},j.prototype.notation=function(te,ce){var ye;return this.openCurrent(),ye=new N(this,te,ce),this.onData(this.writer.dtdNotation(ye,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},j.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},j.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},j.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},j.prototype.openNode=function(te){var ce,ye,Le,$e;if(!te.isOpen){if(!this.root&&0===this.currentLevel&&te.type===m.Element&&(this.root=te),ye="",te.type===m.Element){for(Le in this.writerOptions.state=s.OpenTag,ye=this.writer.indent(te,this.writerOptions,this.currentLevel)+"<"+te.name,$e=te.attribs)oe.call($e,Le)&&(ce=$e[Le],ye+=this.writer.attribute(ce,this.writerOptions,this.currentLevel));ye+=(te.children?">":"/>")+this.writer.endline(te,this.writerOptions,this.currentLevel),this.writerOptions.state=s.InsideTag}else this.writerOptions.state=s.OpenTag,ye=this.writer.indent(te,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+te.rootNodeName,te.pubID&&te.sysID?ye+=' PUBLIC "'+te.pubID+'" "'+te.sysID+'"':te.sysID&&(ye+=' SYSTEM "'+te.sysID+'"'),te.children?(ye+=" [",this.writerOptions.state=s.InsideTag):(this.writerOptions.state=s.CloseTag,ye+=">"),ye+=this.writer.endline(te,this.writerOptions,this.currentLevel);return this.onData(ye,this.currentLevel),te.isOpen=!0}},j.prototype.closeNode=function(te){var ce;if(!te.isClosed)return ce="",this.writerOptions.state=s.CloseTag,ce=te.type===m.Element?this.writer.indent(te,this.writerOptions,this.currentLevel)+"</"+te.name+">"+this.writer.endline(te,this.writerOptions,this.currentLevel):this.writer.indent(te,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(te,this.writerOptions,this.currentLevel),this.writerOptions.state=s.None,this.onData(ce,this.currentLevel),te.isClosed=!0},j.prototype.onData=function(te,ce){return this.documentStarted=!0,this.onDataCallback(te,ce+1)},j.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},j.prototype.debugInfo=function(te){return null==te?"":"node: <"+te+">"},j.prototype.ele=function(){return this.element.apply(this,arguments)},j.prototype.nod=function(te,ce,ye){return this.node(te,ce,ye)},j.prototype.txt=function(te){return this.text(te)},j.prototype.dat=function(te){return this.cdata(te)},j.prototype.com=function(te){return this.comment(te)},j.prototype.ins=function(te,ce){return this.instruction(te,ce)},j.prototype.dec=function(te,ce,ye){return this.declaration(te,ce,ye)},j.prototype.dtd=function(te,ce,ye){return this.doctype(te,ce,ye)},j.prototype.e=function(te,ce,ye){return this.element(te,ce,ye)},j.prototype.n=function(te,ce,ye){return this.node(te,ce,ye)},j.prototype.t=function(te){return this.text(te)},j.prototype.d=function(te){return this.cdata(te)},j.prototype.c=function(te){return this.comment(te)},j.prototype.r=function(te){return this.raw(te)},j.prototype.i=function(te,ce){return this.instruction(te,ce)},j.prototype.att=function(){return this.currentNode&&this.currentNode.type===m.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},j.prototype.a=function(){return this.currentNode&&this.currentNode.type===m.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},j.prototype.ent=function(te,ce){return this.entity(te,ce)},j.prototype.pent=function(te,ce){return this.pEntity(te,ce)},j.prototype.not=function(te,ce){return this.notation(te,ce)},j}()}).call(this)},50356(st,pe,h){(function(){var m,f,D={}.hasOwnProperty;f=h(44722),m=h(91419),st.exports=function(y){function b(x){b.__super__.constructor.call(this,x),this.type=m.Dummy}return function(y,b){for(var x in b)D.call(b,x)&&(y[x]=b[x]);function N(){this.constructor=y}N.prototype=b.prototype,y.prototype=new N,y.__super__=b.prototype}(b,y),b.prototype.clone=function(){return Object.create(this)},b.prototype.toString=function(x){return""},b}(f)}).call(this)},40632(st,pe,h){(function(){var m,s,P,D,y,b,x,N,U={}.hasOwnProperty;N=h(50431),x=N.isObject,b=N.isFunction,y=N.getValue,D=h(44722),m=h(91419),s=h(37936),P=h(54775),st.exports=function(J){function I(T,C,R){var B,F,$,E;if(I.__super__.constructor.call(this,T),null==C)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(C),this.type=m.Element,this.attribs={},this.schemaTypeInfo=null,null!=R&&this.attribute(R),T.type===m.Document&&(this.isRoot=!0,this.documentObject=T,T.rootObject=this,T.children))for(F=0,$=(E=T.children).length;F<$;F++)if((B=E[F]).type===m.DocType){B.name=this.name;break}}return function(J,I){for(var T in I)U.call(I,T)&&(J[T]=I[T]);function C(){this.constructor=J}C.prototype=I.prototype,J.prototype=new C,J.__super__=I.prototype}(I,J),Object.defineProperty(I.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(I.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(I.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(I.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(I.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(I.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(I.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(I.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new P(this.attribs)),this.attributeMap}}),I.prototype.clone=function(){var T,C,R,B;for(C in(R=Object.create(this)).isRoot&&(R.documentObject=null),R.attribs={},B=this.attribs)U.call(B,C)&&(T=B[C],R.attribs[C]=T.clone());return R.children=[],this.children.forEach(function(F){var $;return($=F.clone()).parent=R,R.children.push($)}),R},I.prototype.attribute=function(T,C){var R,B;if(null!=T&&(T=y(T)),x(T))for(R in T)U.call(T,R)&&(B=T[R],this.attribute(R,B));else b(C)&&(C=C.apply()),this.options.keepNullAttributes&&null==C?this.attribs[T]=new s(this,T,""):null!=C&&(this.attribs[T]=new s(this,T,C));return this},I.prototype.removeAttribute=function(T){var C,R,B;if(null==T)throw new Error("Missing attribute name. "+this.debugInfo());if(T=y(T),Array.isArray(T))for(R=0,B=T.length;R<B;R++)C=T[R],delete this.attribs[C];else delete this.attribs[T];return this},I.prototype.toString=function(T){return this.options.writer.element(this,this.options.writer.filterOptions(T))},I.prototype.att=function(T,C){return this.attribute(T,C)},I.prototype.a=function(T,C){return this.attribute(T,C)},I.prototype.getAttribute=function(T){return this.attribs.hasOwnProperty(T)?this.attribs[T].value:null},I.prototype.setAttribute=function(T,C){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getAttributeNode=function(T){return this.attribs.hasOwnProperty(T)?this.attribs[T]:null},I.prototype.setAttributeNode=function(T){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.removeAttributeNode=function(T){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getElementsByTagName=function(T){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getAttributeNS=function(T,C){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.setAttributeNS=function(T,C,R){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.removeAttributeNS=function(T,C){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getAttributeNodeNS=function(T,C){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.setAttributeNodeNS=function(T){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getElementsByTagNameNS=function(T,C){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.hasAttribute=function(T){return this.attribs.hasOwnProperty(T)},I.prototype.hasAttributeNS=function(T,C){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.setIdAttribute=function(T,C){return this.attribs.hasOwnProperty(T)?this.attribs[T].isId:C},I.prototype.setIdAttributeNS=function(T,C,R){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.setIdAttributeNode=function(T,C){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getElementsByTagName=function(T){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getElementsByTagNameNS=function(T,C){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getElementsByClassName=function(T){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.isEqualNode=function(T){var C,R,B;if(!I.__super__.isEqualNode.apply(this,arguments).isEqualNode(T)||T.namespaceURI!==this.namespaceURI||T.prefix!==this.prefix||T.localName!==this.localName||T.attribs.length!==this.attribs.length)return!1;for(C=R=0,B=this.attribs.length-1;0<=B?R<=B:R>=B;C=0<=B?++R:--R)if(!this.attribs[C].isEqualNode(T.attribs[C]))return!1;return!0},I}(D)}).call(this)},54775(st){(function(){st.exports=function(){function h(m){this.nodes=m}return Object.defineProperty(h.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),h.prototype.clone=function(){return this.nodes=null},h.prototype.getNamedItem=function(m){return this.nodes[m]},h.prototype.setNamedItem=function(m){var s;return s=this.nodes[m.nodeName],this.nodes[m.nodeName]=m,s||null},h.prototype.removeNamedItem=function(m){var s;return s=this.nodes[m],delete this.nodes[m],s||null},h.prototype.item=function(m){return this.nodes[Object.keys(this.nodes)[m]]||null},h.prototype.getNamedItemNS=function(m,s){throw new Error("This DOM method is not implemented.")},h.prototype.setNamedItemNS=function(m){throw new Error("This DOM method is not implemented.")},h.prototype.removeNamedItemNS=function(m,s){throw new Error("This DOM method is not implemented.")},h}()}).call(this)},44722(st,pe,h){(function(){var m,s,f,P,D,y,b,x,U,J,I,T,C,R,B,F,$,E={}.hasOwnProperty;$=h(50431),F=$.isObject,B=$.isFunction,R=$.isEmpty,C=$.getValue,x=null,f=null,P=null,D=null,y=null,I=null,T=null,J=null,b=null,s=null,U=null,m=null,st.exports=function(){function w(O){this.parent=O,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,x||(x=h(40632),f=h(32825),P=h(42941),D=h(2332),y=h(80946),I=h(60542),T=h(34397),J=h(99345),b=h(50356),s=h(91419),U=h(23270),h(54775),m=h(79777))}return Object.defineProperty(w.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(w.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(w.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(w.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(w.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new U(this.children)),this.childNodeList}}),Object.defineProperty(w.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(w.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(w.prototype,"previousSibling",{get:function(){var O;return O=this.parent.children.indexOf(this),this.parent.children[O-1]||null}}),Object.defineProperty(w.prototype,"nextSibling",{get:function(){var O;return O=this.parent.children.indexOf(this),this.parent.children[O+1]||null}}),Object.defineProperty(w.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(w.prototype,"textContent",{get:function(){var O,Z,Ee,oe,j;if(this.nodeType===s.Element||this.nodeType===s.DocumentFragment){for(j="",Z=0,Ee=(oe=this.children).length;Z<Ee;Z++)(O=oe[Z]).textContent&&(j+=O.textContent);return j}return null},set:function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),w.prototype.setParent=function(O){var Z,Ee,oe,j,te;for(this.parent=O,O&&(this.options=O.options,this.stringify=O.stringify),te=[],Ee=0,oe=(j=this.children).length;Ee<oe;Ee++)Z=j[Ee],te.push(Z.setParent(this));return te},w.prototype.element=function(O,Z,Ee){var oe,j,te,ce,ye,Le,$e,Tt,We,Me,ut;if(Le=null,null===Z&&null==Ee&&(Z=(We=[{},null])[0],Ee=We[1]),null==Z&&(Z={}),Z=C(Z),F(Z)||(Ee=(Me=[Z,Ee])[0],Z=Me[1]),null!=O&&(O=C(O)),Array.isArray(O))for(te=0,$e=O.length;te<$e;te++)j=O[te],Le=this.element(j);else if(B(O))Le=this.element(O.apply());else if(F(O)){for(ye in O)if(E.call(O,ye))if(ut=O[ye],B(ut)&&(ut=ut.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===ye.indexOf(this.stringify.convertAttKey))Le=this.attribute(ye.substr(this.stringify.convertAttKey.length),ut);else if(!this.options.separateArrayItems&&Array.isArray(ut)&&R(ut))Le=this.dummy();else if(F(ut)&&R(ut))Le=this.element(ye);else if(this.options.keepNullNodes||null!=ut)if(!this.options.separateArrayItems&&Array.isArray(ut))for(ce=0,Tt=ut.length;ce<Tt;ce++)j=ut[ce],(oe={})[ye]=j,Le=this.element(oe);else F(ut)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===ye.indexOf(this.stringify.convertTextKey)?Le=this.element(ut):(Le=this.element(ye)).element(ut):Le=this.element(ye,ut);else Le=this.dummy()}else Le=this.options.keepNullNodes||null!==Ee?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===O.indexOf(this.stringify.convertTextKey)?this.text(Ee):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===O.indexOf(this.stringify.convertCDataKey)?this.cdata(Ee):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===O.indexOf(this.stringify.convertCommentKey)?this.comment(Ee):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===O.indexOf(this.stringify.convertRawKey)?this.raw(Ee):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===O.indexOf(this.stringify.convertPIKey)?this.instruction(O.substr(this.stringify.convertPIKey.length),Ee):this.node(O,Z,Ee):this.dummy();if(null==Le)throw new Error("Could not create any elements with: "+O+". "+this.debugInfo());return Le},w.prototype.insertBefore=function(O,Z,Ee){var oe,j,te,ce,ye;if(O?.type)return ce=Z,(te=O).setParent(this),ce?(j=children.indexOf(ce),ye=children.splice(j),children.push(te),Array.prototype.push.apply(children,ye)):children.push(te),te;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(O));return j=this.parent.children.indexOf(this),ye=this.parent.children.splice(j),oe=this.parent.element(O,Z,Ee),Array.prototype.push.apply(this.parent.children,ye),oe},w.prototype.insertAfter=function(O,Z,Ee){var oe,j,te;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(O));return j=this.parent.children.indexOf(this),te=this.parent.children.splice(j+1),oe=this.parent.element(O,Z,Ee),Array.prototype.push.apply(this.parent.children,te),oe},w.prototype.remove=function(){var O;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return O=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[O,O-O+1].concat([])),this.parent},w.prototype.node=function(O,Z,Ee){var oe,j;return null!=O&&(O=C(O)),Z||(Z={}),Z=C(Z),F(Z)||(Ee=(j=[Z,Ee])[0],Z=j[1]),oe=new x(this,O,Z),null!=Ee&&oe.text(Ee),this.children.push(oe),oe},w.prototype.text=function(O){var Z;return F(O)&&this.element(O),Z=new T(this,O),this.children.push(Z),this},w.prototype.cdata=function(O){var Z;return Z=new f(this,O),this.children.push(Z),this},w.prototype.comment=function(O){var Z;return Z=new P(this,O),this.children.push(Z),this},w.prototype.commentBefore=function(O){var Ee,oe;return Ee=this.parent.children.indexOf(this),oe=this.parent.children.splice(Ee),this.parent.comment(O),Array.prototype.push.apply(this.parent.children,oe),this},w.prototype.commentAfter=function(O){var Ee,oe;return Ee=this.parent.children.indexOf(this),oe=this.parent.children.splice(Ee+1),this.parent.comment(O),Array.prototype.push.apply(this.parent.children,oe),this},w.prototype.raw=function(O){var Z;return Z=new I(this,O),this.children.push(Z),this},w.prototype.dummy=function(){return new b(this)},w.prototype.instruction=function(O,Z){var Ee,oe,j,te,ce;if(null!=O&&(O=C(O)),null!=Z&&(Z=C(Z)),Array.isArray(O))for(te=0,ce=O.length;te<ce;te++)Ee=O[te],this.instruction(Ee);else if(F(O))for(Ee in O)E.call(O,Ee)&&(oe=O[Ee],this.instruction(Ee,oe));else B(Z)&&(Z=Z.apply()),j=new J(this,O,Z),this.children.push(j);return this},w.prototype.instructionBefore=function(O,Z){var oe,j;return oe=this.parent.children.indexOf(this),j=this.parent.children.splice(oe),this.parent.instruction(O,Z),Array.prototype.push.apply(this.parent.children,j),this},w.prototype.instructionAfter=function(O,Z){var oe,j;return oe=this.parent.children.indexOf(this),j=this.parent.children.splice(oe+1),this.parent.instruction(O,Z),Array.prototype.push.apply(this.parent.children,j),this},w.prototype.declaration=function(O,Z,Ee){var oe,j;return oe=this.document(),j=new D(oe,O,Z,Ee),0===oe.children.length?oe.children.unshift(j):oe.children[0].type===s.Declaration?oe.children[0]=j:oe.children.unshift(j),oe.root()||oe},w.prototype.dtd=function(O,Z){var oe,j,te,ce,ye,Le,$e,Tt,We;for(oe=this.document(),j=new y(oe,O,Z),te=ce=0,Le=(Tt=oe.children).length;ce<Le;te=++ce)if(Tt[te].type===s.DocType)return oe.children[te]=j,j;for(te=ye=0,$e=(We=oe.children).length;ye<$e;te=++ye)if(We[te].isRoot)return oe.children.splice(te,0,j),j;return oe.children.push(j),j},w.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},w.prototype.root=function(){var O;for(O=this;O;){if(O.type===s.Document)return O.rootObject;if(O.isRoot)return O;O=O.parent}},w.prototype.document=function(){var O;for(O=this;O;){if(O.type===s.Document)return O;O=O.parent}},w.prototype.end=function(O){return this.document().end(O)},w.prototype.prev=function(){var O;if((O=this.parent.children.indexOf(this))<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[O-1]},w.prototype.next=function(){var O;if(-1===(O=this.parent.children.indexOf(this))||O===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[O+1]},w.prototype.importDocument=function(O){var Z;return(Z=O.root().clone()).parent=this,Z.isRoot=!1,this.children.push(Z),this},w.prototype.debugInfo=function(O){var Z,Ee;return null!=(O=O||this.name)||null!=(Z=this.parent)&&Z.name?null==O?"parent: <"+this.parent.name+">":null!=(Ee=this.parent)&&Ee.name?"node: <"+O+">, parent: <"+this.parent.name+">":"node: <"+O+">":""},w.prototype.ele=function(O,Z,Ee){return this.element(O,Z,Ee)},w.prototype.nod=function(O,Z,Ee){return this.node(O,Z,Ee)},w.prototype.txt=function(O){return this.text(O)},w.prototype.dat=function(O){return this.cdata(O)},w.prototype.com=function(O){return this.comment(O)},w.prototype.ins=function(O,Z){return this.instruction(O,Z)},w.prototype.doc=function(){return this.document()},w.prototype.dec=function(O,Z,Ee){return this.declaration(O,Z,Ee)},w.prototype.e=function(O,Z,Ee){return this.element(O,Z,Ee)},w.prototype.n=function(O,Z,Ee){return this.node(O,Z,Ee)},w.prototype.t=function(O){return this.text(O)},w.prototype.d=function(O){return this.cdata(O)},w.prototype.c=function(O){return this.comment(O)},w.prototype.r=function(O){return this.raw(O)},w.prototype.i=function(O,Z){return this.instruction(O,Z)},w.prototype.u=function(){return this.up()},w.prototype.importXMLBuilder=function(O){return this.importDocument(O)},w.prototype.replaceChild=function(O,Z){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.removeChild=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.appendChild=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.hasChildNodes=function(){return 0!==this.children.length},w.prototype.cloneNode=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.isSupported=function(O,Z){return!0},w.prototype.hasAttributes=function(){return 0!==this.attribs.length},w.prototype.compareDocumentPosition=function(O){var Z,Ee;return(Z=this)===O?0:this.document()!==O.document()?(Ee=m.Disconnected|m.ImplementationSpecific,Math.random()<.5?Ee|=m.Preceding:Ee|=m.Following,Ee):Z.isAncestor(O)?m.Contains|m.Preceding:Z.isDescendant(O)?m.Contains|m.Following:Z.isPreceding(O)?m.Preceding:m.Following},w.prototype.isSameNode=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.lookupPrefix=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.isDefaultNamespace=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.lookupNamespaceURI=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.isEqualNode=function(O){var Z,Ee,oe;if(O.nodeType!==this.nodeType||O.children.length!==this.children.length)return!1;for(Z=Ee=0,oe=this.children.length-1;0<=oe?Ee<=oe:Ee>=oe;Z=0<=oe?++Ee:--Ee)if(!this.children[Z].isEqualNode(O.children[Z]))return!1;return!0},w.prototype.getFeature=function(O,Z){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.setUserData=function(O,Z,Ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.getUserData=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},w.prototype.contains=function(O){return!!O&&(O===this||this.isDescendant(O))},w.prototype.isDescendant=function(O){var Z,oe,j,te;for(oe=0,j=(te=this.children).length;oe<j;oe++)if(O===(Z=te[oe])||Z.isDescendant(O))return!0;return!1},w.prototype.isAncestor=function(O){return O.isDescendant(this)},w.prototype.isPreceding=function(O){var Z,Ee;return Z=this.treePosition(O),Ee=this.treePosition(this),-1!==Z&&-1!==Ee&&Z<Ee},w.prototype.isFollowing=function(O){var Z,Ee;return Z=this.treePosition(O),Ee=this.treePosition(this),-1!==Z&&-1!==Ee&&Z>Ee},w.prototype.treePosition=function(O){var Z,Ee;return Ee=0,Z=!1,this.foreachTreeNode(this.document(),function(oe){if(Ee++,!Z&&oe===O)return Z=!0}),Z?Ee:-1},w.prototype.foreachTreeNode=function(O,Z){var Ee,oe,j,te,ce;for(O||(O=this.document()),oe=0,j=(te=O.children).length;oe<j;oe++){if(ce=Z(Ee=te[oe]))return ce;if(ce=this.foreachTreeNode(Ee,Z))return ce}},w}()}).call(this)},23270(st){(function(){st.exports=function(){function h(m){this.nodes=m}return Object.defineProperty(h.prototype,"length",{get:function(){return this.nodes.length||0}}),h.prototype.clone=function(){return this.nodes=null},h.prototype.item=function(m){return this.nodes[m]||null},h}()}).call(this)},99345(st,pe,h){(function(){var m,s,D={}.hasOwnProperty;m=h(91419),s=h(18475),st.exports=function(y){function b(x,N,M){if(b.__super__.constructor.call(this,x),null==N)throw new Error("Missing instruction target. "+this.debugInfo());this.type=m.ProcessingInstruction,this.target=this.stringify.insTarget(N),this.name=this.target,M&&(this.value=this.stringify.insValue(M))}return function(y,b){for(var x in b)D.call(b,x)&&(y[x]=b[x]);function N(){this.constructor=y}N.prototype=b.prototype,y.prototype=new N,y.__super__=b.prototype}(b,y),b.prototype.clone=function(){return Object.create(this)},b.prototype.toString=function(x){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(x))},b.prototype.isEqualNode=function(x){return!(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(x)||x.target!==this.target)},b}(s)}).call(this)},60542(st,pe,h){(function(){var m,s,D={}.hasOwnProperty;m=h(91419),s=h(44722),st.exports=function(y){function b(x,N){if(b.__super__.constructor.call(this,x),null==N)throw new Error("Missing raw text. "+this.debugInfo());this.type=m.Raw,this.value=this.stringify.raw(N)}return function(y,b){for(var x in b)D.call(b,x)&&(y[x]=b[x]);function N(){this.constructor=y}N.prototype=b.prototype,y.prototype=new N,y.__super__=b.prototype}(b,y),b.prototype.clone=function(){return Object.create(this)},b.prototype.toString=function(x){return this.options.writer.raw(this,this.options.writer.filterOptions(x))},b}(s)}).call(this)},50353(st,pe,h){(function(){var m,s,P,y={}.hasOwnProperty;m=h(91419),P=h(26520),s=h(28319),st.exports=function(b){function x(N,M){this.stream=N,x.__super__.constructor.call(this,M)}return function(b,x){for(var N in x)y.call(x,N)&&(b[N]=x[N]);function M(){this.constructor=b}M.prototype=x.prototype,b.prototype=new M,b.__super__=x.prototype}(x,b),x.prototype.endline=function(N,M,U){return N.isLastRootNode&&M.state===s.CloseTag?"":x.__super__.endline.call(this,N,M,U)},x.prototype.document=function(N,M){var U,J,I,T,C,R,B,F,$;for(J=I=0,C=(B=N.children).length;I<C;J=++I)(U=B[J]).isLastRootNode=J===N.children.length-1;for(M=this.filterOptions(M),$=[],T=0,R=(F=N.children).length;T<R;T++)U=F[T],$.push(this.writeChildNode(U,M,0));return $},x.prototype.attribute=function(N,M,U){return this.stream.write(x.__super__.attribute.call(this,N,M,U))},x.prototype.cdata=function(N,M,U){return this.stream.write(x.__super__.cdata.call(this,N,M,U))},x.prototype.comment=function(N,M,U){return this.stream.write(x.__super__.comment.call(this,N,M,U))},x.prototype.declaration=function(N,M,U){return this.stream.write(x.__super__.declaration.call(this,N,M,U))},x.prototype.docType=function(N,M,U){var J,I,T,C;if(U||(U=0),this.openNode(N,M,U),M.state=s.OpenTag,this.stream.write(this.indent(N,M,U)),this.stream.write("<!DOCTYPE "+N.root().name),N.pubID&&N.sysID?this.stream.write(' PUBLIC "'+N.pubID+'" "'+N.sysID+'"'):N.sysID&&this.stream.write(' SYSTEM "'+N.sysID+'"'),N.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(N,M,U)),M.state=s.InsideTag,I=0,T=(C=N.children).length;I<T;I++)J=C[I],this.writeChildNode(J,M,U+1);M.state=s.CloseTag,this.stream.write("]")}return M.state=s.CloseTag,this.stream.write(M.spaceBeforeSlash+">"),this.stream.write(this.endline(N,M,U)),M.state=s.None,this.closeNode(N,M,U)},x.prototype.element=function(N,M,U){var J,I,T,C,R,B,F,E,w;for(F in U||(U=0),this.openNode(N,M,U),M.state=s.OpenTag,this.stream.write(this.indent(N,M,U)+"<"+N.name),E=N.attribs)y.call(E,F)&&(J=E[F],this.attribute(J,M,U));if(C=0===(T=N.children.length)?null:N.children[0],0===T||N.children.every(function(O){return(O.type===m.Text||O.type===m.Raw)&&""===O.value}))M.allowEmpty?(this.stream.write(">"),M.state=s.CloseTag,this.stream.write("</"+N.name+">")):(M.state=s.CloseTag,this.stream.write(M.spaceBeforeSlash+"/>"));else if(!M.pretty||1!==T||C.type!==m.Text&&C.type!==m.Raw||null==C.value){for(this.stream.write(">"+this.endline(N,M,U)),M.state=s.InsideTag,R=0,B=(w=N.children).length;R<B;R++)I=w[R],this.writeChildNode(I,M,U+1);M.state=s.CloseTag,this.stream.write(this.indent(N,M,U)+"</"+N.name+">")}else this.stream.write(">"),M.state=s.InsideTag,M.suppressPrettyCount++,this.writeChildNode(C,M,U+1),M.suppressPrettyCount--,M.state=s.CloseTag,this.stream.write("</"+N.name+">");return this.stream.write(this.endline(N,M,U)),M.state=s.None,this.closeNode(N,M,U)},x.prototype.processingInstruction=function(N,M,U){return this.stream.write(x.__super__.processingInstruction.call(this,N,M,U))},x.prototype.raw=function(N,M,U){return this.stream.write(x.__super__.raw.call(this,N,M,U))},x.prototype.text=function(N,M,U){return this.stream.write(x.__super__.text.call(this,N,M,U))},x.prototype.dtdAttList=function(N,M,U){return this.stream.write(x.__super__.dtdAttList.call(this,N,M,U))},x.prototype.dtdElement=function(N,M,U){return this.stream.write(x.__super__.dtdElement.call(this,N,M,U))},x.prototype.dtdEntity=function(N,M,U){return this.stream.write(x.__super__.dtdEntity.call(this,N,M,U))},x.prototype.dtdNotation=function(N,M,U){return this.stream.write(x.__super__.dtdNotation.call(this,N,M,U))},x}(P)}).call(this)},72800(st,pe,h){(function(){var s,P={}.hasOwnProperty;s=h(26520),st.exports=function(D){function y(b){y.__super__.constructor.call(this,b)}return function(D,y){for(var b in y)P.call(y,b)&&(D[b]=y[b]);function x(){this.constructor=D}x.prototype=y.prototype,D.prototype=new x,D.__super__=y.prototype}(y,D),y.prototype.document=function(b,x){var N,M,U,J,I;for(x=this.filterOptions(x),J="",M=0,U=(I=b.children).length;M<U;M++)N=I[M],J+=this.writeChildNode(N,x,0);return x.pretty&&J.slice(-x.newline.length)===x.newline&&(J=J.slice(0,-x.newline.length)),J},y}(s)}).call(this)},39690(st){(function(){var h=function(s,f){return function(){return s.apply(f,arguments)}},m={}.hasOwnProperty;st.exports=function(){function s(f){var P,D,y;for(P in this.assertLegalName=h(this.assertLegalName,this),this.assertLegalChar=h(this.assertLegalChar,this),f||(f={}),this.options=f,this.options.version||(this.options.version="1.0"),D=f.stringify||{})m.call(D,P)&&(y=D[P],this[P]=y)}return s.prototype.name=function(f){return this.options.noValidation?f:this.assertLegalName(""+f||"")},s.prototype.text=function(f){return this.options.noValidation?f:this.assertLegalChar(this.textEscape(""+f||""))},s.prototype.cdata=function(f){return this.options.noValidation?f:(f=(f=""+f||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(f))},s.prototype.comment=function(f){if(this.options.noValidation)return f;if((f=""+f||"").match(/--/))throw new Error("Comment text cannot contain double-hypen: "+f);return this.assertLegalChar(f)},s.prototype.raw=function(f){return this.options.noValidation?f:""+f||""},s.prototype.attValue=function(f){return this.options.noValidation?f:this.assertLegalChar(this.attEscape(f=""+f||""))},s.prototype.insTarget=function(f){return this.options.noValidation?f:this.assertLegalChar(""+f||"")},s.prototype.insValue=function(f){if(this.options.noValidation)return f;if((f=""+f||"").match(/\?>/))throw new Error("Invalid processing instruction value: "+f);return this.assertLegalChar(f)},s.prototype.xmlVersion=function(f){if(this.options.noValidation)return f;if(!(f=""+f||"").match(/1\.[0-9]+/))throw new Error("Invalid version number: "+f);return f},s.prototype.xmlEncoding=function(f){if(this.options.noValidation)return f;if(!(f=""+f||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+f);return this.assertLegalChar(f)},s.prototype.xmlStandalone=function(f){return this.options.noValidation?f:f?"yes":"no"},s.prototype.dtdPubID=function(f){return this.options.noValidation?f:this.assertLegalChar(""+f||"")},s.prototype.dtdSysID=function(f){return this.options.noValidation?f:this.assertLegalChar(""+f||"")},s.prototype.dtdElementValue=function(f){return this.options.noValidation?f:this.assertLegalChar(""+f||"")},s.prototype.dtdAttType=function(f){return this.options.noValidation?f:this.assertLegalChar(""+f||"")},s.prototype.dtdAttDefault=function(f){return this.options.noValidation?f:this.assertLegalChar(""+f||"")},s.prototype.dtdEntityValue=function(f){return this.options.noValidation?f:this.assertLegalChar(""+f||"")},s.prototype.dtdNData=function(f){return this.options.noValidation?f:this.assertLegalChar(""+f||"")},s.prototype.convertAttKey="@",s.prototype.convertPIKey="?",s.prototype.convertTextKey="#text",s.prototype.convertCDataKey="#cdata",s.prototype.convertCommentKey="#comment",s.prototype.convertRawKey="#raw",s.prototype.assertLegalChar=function(f){var P,D;if(this.options.noValidation)return f;if(P="","1.0"===this.options.version){if(P=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,D=f.match(P))throw new Error("Invalid character in string: "+f+" at index "+D.index)}else if("1.1"===this.options.version&&(P=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,D=f.match(P)))throw new Error("Invalid character in string: "+f+" at index "+D.index);return f},s.prototype.assertLegalName=function(f){var P;if(this.options.noValidation)return f;if(this.assertLegalChar(f),P=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!f.match(P))throw new Error("Invalid character in name");return f},s.prototype.textEscape=function(f){var P;return this.options.noValidation?f:(P=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,f.replace(P,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},s.prototype.attEscape=function(f){var P;return this.options.noValidation?f:(P=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,f.replace(P,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},s}()}).call(this)},34397(st,pe,h){(function(){var m,s,D={}.hasOwnProperty;m=h(91419),s=h(18475),st.exports=function(y){function b(x,N){if(b.__super__.constructor.call(this,x),null==N)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=m.Text,this.value=this.stringify.text(N)}return function(y,b){for(var x in b)D.call(b,x)&&(y[x]=b[x]);function N(){this.constructor=y}N.prototype=b.prototype,y.prototype=new N,y.__super__=b.prototype}(b,y),Object.defineProperty(b.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"wholeText",{get:function(){var x,N,M;for(M="",N=this.previousSibling;N;)M=N.data+M,N=N.previousSibling;for(M+=this.data,x=this.nextSibling;x;)M+=x.data,x=x.nextSibling;return M}}),b.prototype.clone=function(){return Object.create(this)},b.prototype.toString=function(x){return this.options.writer.text(this,this.options.writer.filterOptions(x))},b.prototype.splitText=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.replaceWholeText=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},b}(s)}).call(this)},26520(st,pe,h){(function(){var m,s,B,F={}.hasOwnProperty;B=h(50431).assign,m=h(91419),h(2332),h(80946),h(32825),h(42941),h(40632),h(60542),h(34397),h(99345),h(50356),h(28713),h(89530),h(34391),h(25358),s=h(28319),st.exports=function(){function $(E){var w,O,Z;for(w in E||(E={}),this.options=E,O=E.writer||{})F.call(O,w)&&(Z=O[w],this["_"+w]=this[w],this[w]=Z)}return $.prototype.filterOptions=function(E){var w,O,Z,Ee,oe,j,te,ce;return E||(E={}),E=B({},this.options,E),(w={writer:this}).pretty=E.pretty||!1,w.allowEmpty=E.allowEmpty||!1,w.indent=null!=(O=E.indent)?O:" ",w.newline=null!=(Z=E.newline)?Z:"\n",w.offset=null!=(Ee=E.offset)?Ee:0,w.dontPrettyTextNodes=null!=(oe=null!=(j=E.dontPrettyTextNodes)?j:E.dontprettytextnodes)?oe:0,w.spaceBeforeSlash=null!=(te=null!=(ce=E.spaceBeforeSlash)?ce:E.spacebeforeslash)?te:"",!0===w.spaceBeforeSlash&&(w.spaceBeforeSlash=" "),w.suppressPrettyCount=0,w.user={},w.state=s.None,w},$.prototype.indent=function(E,w,O){var Z;return!w.pretty||w.suppressPrettyCount?"":w.pretty&&(Z=(O||0)+w.offset+1)>0?new Array(Z).join(w.indent):""},$.prototype.endline=function(E,w,O){return!w.pretty||w.suppressPrettyCount?"":w.newline},$.prototype.attribute=function(E,w,O){var Z;return this.openAttribute(E,w,O),Z=" "+E.name+'="'+E.value+'"',this.closeAttribute(E,w,O),Z},$.prototype.cdata=function(E,w,O){var Z;return this.openNode(E,w,O),w.state=s.OpenTag,Z=this.indent(E,w,O)+"<![CDATA[",w.state=s.InsideTag,Z+=E.value,w.state=s.CloseTag,Z+="]]>"+this.endline(E,w,O),w.state=s.None,this.closeNode(E,w,O),Z},$.prototype.comment=function(E,w,O){var Z;return this.openNode(E,w,O),w.state=s.OpenTag,Z=this.indent(E,w,O)+"\x3c!-- ",w.state=s.InsideTag,Z+=E.value,w.state=s.CloseTag,Z+=" --\x3e"+this.endline(E,w,O),w.state=s.None,this.closeNode(E,w,O),Z},$.prototype.declaration=function(E,w,O){var Z;return this.openNode(E,w,O),w.state=s.OpenTag,Z=this.indent(E,w,O)+"<?xml",w.state=s.InsideTag,Z+=' version="'+E.version+'"',null!=E.encoding&&(Z+=' encoding="'+E.encoding+'"'),null!=E.standalone&&(Z+=' standalone="'+E.standalone+'"'),w.state=s.CloseTag,Z+=w.spaceBeforeSlash+"?>",Z+=this.endline(E,w,O),w.state=s.None,this.closeNode(E,w,O),Z},$.prototype.docType=function(E,w,O){var Z,Ee,oe,j,te;if(O||(O=0),this.openNode(E,w,O),w.state=s.OpenTag,j=this.indent(E,w,O),j+="<!DOCTYPE "+E.root().name,E.pubID&&E.sysID?j+=' PUBLIC "'+E.pubID+'" "'+E.sysID+'"':E.sysID&&(j+=' SYSTEM "'+E.sysID+'"'),E.children.length>0){for(j+=" [",j+=this.endline(E,w,O),w.state=s.InsideTag,Ee=0,oe=(te=E.children).length;Ee<oe;Ee++)Z=te[Ee],j+=this.writeChildNode(Z,w,O+1);w.state=s.CloseTag,j+="]"}return w.state=s.CloseTag,j+=w.spaceBeforeSlash+">",j+=this.endline(E,w,O),w.state=s.None,this.closeNode(E,w,O),j},$.prototype.element=function(E,w,O){var Z,Ee,oe,j,te,ce,ye,Le,$e,Tt,We,Me,ut,xe;for($e in O||(O=0),Tt=!1,We="",this.openNode(E,w,O),w.state=s.OpenTag,We+=this.indent(E,w,O)+"<"+E.name,Me=E.attribs)F.call(Me,$e)&&(Z=Me[$e],We+=this.attribute(Z,w,O));if(j=0===(oe=E.children.length)?null:E.children[0],0===oe||E.children.every(function(Te){return(Te.type===m.Text||Te.type===m.Raw)&&""===Te.value}))w.allowEmpty?(We+=">",w.state=s.CloseTag,We+="</"+E.name+">"+this.endline(E,w,O)):(w.state=s.CloseTag,We+=w.spaceBeforeSlash+"/>"+this.endline(E,w,O));else if(!w.pretty||1!==oe||j.type!==m.Text&&j.type!==m.Raw||null==j.value){if(w.dontPrettyTextNodes)for(te=0,ye=(ut=E.children).length;te<ye;te++)if(((Ee=ut[te]).type===m.Text||Ee.type===m.Raw)&&null!=Ee.value){w.suppressPrettyCount++,Tt=!0;break}for(We+=">"+this.endline(E,w,O),w.state=s.InsideTag,ce=0,Le=(xe=E.children).length;ce<Le;ce++)Ee=xe[ce],We+=this.writeChildNode(Ee,w,O+1);w.state=s.CloseTag,We+=this.indent(E,w,O)+"</"+E.name+">",Tt&&w.suppressPrettyCount--,We+=this.endline(E,w,O),w.state=s.None}else We+=">",w.state=s.InsideTag,w.suppressPrettyCount++,Tt=!0,We+=this.writeChildNode(j,w,O+1),w.suppressPrettyCount--,Tt=!1,w.state=s.CloseTag,We+="</"+E.name+">"+this.endline(E,w,O);return this.closeNode(E,w,O),We},$.prototype.writeChildNode=function(E,w,O){switch(E.type){case m.CData:return this.cdata(E,w,O);case m.Comment:return this.comment(E,w,O);case m.Element:return this.element(E,w,O);case m.Raw:return this.raw(E,w,O);case m.Text:return this.text(E,w,O);case m.ProcessingInstruction:return this.processingInstruction(E,w,O);case m.Dummy:return"";case m.Declaration:return this.declaration(E,w,O);case m.DocType:return this.docType(E,w,O);case m.AttributeDeclaration:return this.dtdAttList(E,w,O);case m.ElementDeclaration:return this.dtdElement(E,w,O);case m.EntityDeclaration:return this.dtdEntity(E,w,O);case m.NotationDeclaration:return this.dtdNotation(E,w,O);default:throw new Error("Unknown XML node type: "+E.constructor.name)}},$.prototype.processingInstruction=function(E,w,O){var Z;return this.openNode(E,w,O),w.state=s.OpenTag,Z=this.indent(E,w,O)+"<?",w.state=s.InsideTag,Z+=E.target,E.value&&(Z+=" "+E.value),w.state=s.CloseTag,Z+=w.spaceBeforeSlash+"?>",Z+=this.endline(E,w,O),w.state=s.None,this.closeNode(E,w,O),Z},$.prototype.raw=function(E,w,O){var Z;return this.openNode(E,w,O),w.state=s.OpenTag,Z=this.indent(E,w,O),w.state=s.InsideTag,Z+=E.value,w.state=s.CloseTag,Z+=this.endline(E,w,O),w.state=s.None,this.closeNode(E,w,O),Z},$.prototype.text=function(E,w,O){var Z;return this.openNode(E,w,O),w.state=s.OpenTag,Z=this.indent(E,w,O),w.state=s.InsideTag,Z+=E.value,w.state=s.CloseTag,Z+=this.endline(E,w,O),w.state=s.None,this.closeNode(E,w,O),Z},$.prototype.dtdAttList=function(E,w,O){var Z;return this.openNode(E,w,O),w.state=s.OpenTag,Z=this.indent(E,w,O)+"<!ATTLIST",w.state=s.InsideTag,Z+=" "+E.elementName+" "+E.attributeName+" "+E.attributeType,"#DEFAULT"!==E.defaultValueType&&(Z+=" "+E.defaultValueType),E.defaultValue&&(Z+=' "'+E.defaultValue+'"'),w.state=s.CloseTag,Z+=w.spaceBeforeSlash+">"+this.endline(E,w,O),w.state=s.None,this.closeNode(E,w,O),Z},$.prototype.dtdElement=function(E,w,O){var Z;return this.openNode(E,w,O),w.state=s.OpenTag,Z=this.indent(E,w,O)+"<!ELEMENT",w.state=s.InsideTag,Z+=" "+E.name+" "+E.value,w.state=s.CloseTag,Z+=w.spaceBeforeSlash+">"+this.endline(E,w,O),w.state=s.None,this.closeNode(E,w,O),Z},$.prototype.dtdEntity=function(E,w,O){var Z;return this.openNode(E,w,O),w.state=s.OpenTag,Z=this.indent(E,w,O)+"<!ENTITY",w.state=s.InsideTag,E.pe&&(Z+=" %"),Z+=" "+E.name,E.value?Z+=' "'+E.value+'"':(E.pubID&&E.sysID?Z+=' PUBLIC "'+E.pubID+'" "'+E.sysID+'"':E.sysID&&(Z+=' SYSTEM "'+E.sysID+'"'),E.nData&&(Z+=" NDATA "+E.nData)),w.state=s.CloseTag,Z+=w.spaceBeforeSlash+">"+this.endline(E,w,O),w.state=s.None,this.closeNode(E,w,O),Z},$.prototype.dtdNotation=function(E,w,O){var Z;return this.openNode(E,w,O),w.state=s.OpenTag,Z=this.indent(E,w,O)+"<!NOTATION",w.state=s.InsideTag,Z+=" "+E.name,E.pubID&&E.sysID?Z+=' PUBLIC "'+E.pubID+'" "'+E.sysID+'"':E.pubID?Z+=' PUBLIC "'+E.pubID+'"':E.sysID&&(Z+=' SYSTEM "'+E.sysID+'"'),w.state=s.CloseTag,Z+=w.spaceBeforeSlash+">"+this.endline(E,w,O),w.state=s.None,this.closeNode(E,w,O),Z},$.prototype.openNode=function(E,w,O){},$.prototype.closeNode=function(E,w,O){},$.prototype.openAttribute=function(E,w,O){},$.prototype.closeAttribute=function(E,w,O){},$}()}).call(this)},64611(st,pe,h){(function(){var m,s,f,P,D,y,b,x,N,M;M=h(50431),x=M.assign,N=M.isFunction,f=h(41686),P=h(62159),D=h(34762),b=h(72800),y=h(50353),m=h(91419),s=h(28319),st.exports.create=function(U,J,I,T){var C,R;if(null==U)throw new Error("Root element needs a name.");return T=x({},J,I,T),R=(C=new P(T)).element(U),T.headless||(C.declaration(T),(null!=T.pubID||null!=T.sysID)&&C.dtd(T)),R},st.exports.begin=function(U,J,I){var T;return N(U)&&(J=(T=[U,J])[0],I=T[1],U={}),J?new D(U,J,I):new P(U)},st.exports.stringWriter=function(U){return new b(U)},st.exports.streamWriter=function(U,J){return new y(U,J)},st.exports.implementation=new f,st.exports.nodeType=m,st.exports.writerState=s}).call(this)},952(st,pe,h){"use strict";var m=h(86151),s={amp:"&",gt:">",lt:"<",nbsp:"\xa0",quot:'"'},f=/^#[xX]([A-Fa-f0-9]+)$/,P=/^#([0-9]+)$/,D=/^([A-Za-z0-9]+)$/,y=function(){function Le($e){this.named=$e}return Le.prototype.parse=function($e){if($e){var Tt=$e.match(f);if(Tt)return String.fromCharCode(parseInt(Tt[1],16));if(Tt=$e.match(P))return String.fromCharCode(parseInt(Tt[1],10));if(Tt=$e.match(D))return this.named[Tt[1]]||"&"+Tt[1]+";"}},Le}(),b=/[\t\n\f ]/,x=/[A-Za-z]/,N=/\r\n?/g;function M(Le){return b.test(Le)}function U(Le){return x.test(Le)}var I=function(){function Le($e,Tt,We){void 0===We&&(We="precompile"),this.delegate=$e,this.entityParser=Tt,this.mode=We,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var Me=this.peek();if("<"!==Me||this.isIgnoredEndTag()){if("precompile"===this.mode&&"\n"===Me){var ut=this.tagNameBuffer.toLowerCase();("pre"===ut||"textarea"===ut)&&this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var Me=this.peek(),ut=this.tagNameBuffer;"<"!==Me||this.isIgnoredEndTag()?"&"===Me&&"script"!==ut&&"style"!==ut?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(Me)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var Me=this.consume();"!"===Me?this.transitionTo("markupDeclarationOpen"):"/"===Me?this.transitionTo("endTagOpen"):("@"===Me||":"===Me||U(Me))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(Me))},markupDeclarationOpen:function(){var Me=this.consume();"-"===Me&&"-"===this.peek()?(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment()):"DOCTYPE"===Me.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase()&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())},doctype:function(){M(this.consume())&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var Me=this.consume();M(Me)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(Me.toLowerCase()))},doctypeName:function(){var Me=this.consume();M(Me)?this.transitionTo("afterDoctypeName"):">"===Me?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(Me.toLowerCase())},afterDoctypeName:function(){var Me=this.consume();if(!M(Me))if(">"===Me)this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var ut=Me.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),xe="PUBLIC"===ut.toUpperCase(),Te="SYSTEM"===ut.toUpperCase();(xe||Te)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),xe?this.transitionTo("afterDoctypePublicKeyword"):Te&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var Me=this.peek();M(Me)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):'"'===Me?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):"'"===Me?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):">"===Me&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var Me=this.consume();'"'===Me?this.transitionTo("afterDoctypePublicIdentifier"):">"===Me?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(Me)},doctypePublicIdentifierSingleQuoted:function(){var Me=this.consume();"'"===Me?this.transitionTo("afterDoctypePublicIdentifier"):">"===Me?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(Me)},afterDoctypePublicIdentifier:function(){var Me=this.consume();M(Me)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):">"===Me?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===Me?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===Me&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var Me=this.consume();M(Me)||(">"===Me?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===Me?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===Me&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var Me=this.consume();'"'===Me?this.transitionTo("afterDoctypeSystemIdentifier"):">"===Me?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(Me)},doctypeSystemIdentifierSingleQuoted:function(){var Me=this.consume();"'"===Me?this.transitionTo("afterDoctypeSystemIdentifier"):">"===Me?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(Me)},afterDoctypeSystemIdentifier:function(){var Me=this.consume();M(Me)||">"===Me&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var Me=this.consume();"-"===Me&&"-"===this.peek()?this.transitionTo("commentStartDash"):">"===Me?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(Me),this.transitionTo("comment"))},commentStartDash:function(){var Me=this.consume();"-"===Me?this.transitionTo("commentEnd"):">"===Me?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var Me=this.consume();"-"===Me?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(Me)},commentEndDash:function(){var Me=this.consume();"-"===Me&&"-"===this.peek()?this.delegate.appendToCommentData(Me):"-"===Me?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+Me),this.transitionTo("comment"))},commentEnd:function(){var Me=this.consume();">"===Me?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+Me),this.transitionTo("comment"))},tagName:function(){var Me=this.consume();M(Me)?this.transitionTo("beforeAttributeName"):"/"===Me?this.transitionTo("selfClosingStartTag"):">"===Me?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(Me)},endTagName:function(){var Me=this.consume();M(Me)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===Me?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===Me?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(Me)},beforeAttributeName:function(){var Me=this.peek();M(Me)?this.consume():"/"===Me?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===Me?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===Me?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(Me)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var Me=this.peek();M(Me)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===Me?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===Me?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===Me?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===Me||"'"===Me||"<"===Me?(this.delegate.reportSyntaxError(Me+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(Me)):(this.consume(),this.delegate.appendToAttributeName(Me))},afterAttributeName:function(){var Me=this.peek();M(Me)?this.consume():"/"===Me?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===Me?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===Me?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(Me))},beforeAttributeValue:function(){var Me=this.peek();M(Me)?this.consume():'"'===Me?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===Me?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===Me?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(Me))},attributeValueDoubleQuoted:function(){var Me=this.consume();'"'===Me?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===Me?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(Me)},attributeValueSingleQuoted:function(){var Me=this.consume();"'"===Me?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===Me?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(Me)},attributeValueUnquoted:function(){var Me=this.peek();M(Me)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===Me?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===Me?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===Me?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(Me))},afterAttributeValueQuoted:function(){var Me=this.peek();M(Me)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===Me?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===Me?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var Me=this.consume();("@"===Me||":"===Me||U(Me))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(Me))}},this.reset()}return Le.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},Le.prototype.transitionTo=function($e){this.state=$e},Le.prototype.tokenize=function($e){this.reset(),this.tokenizePart($e),this.tokenizeEOF()},Le.prototype.tokenizePart=function($e){for(this.input+=function J(Le){return Le.replace(N,"\n")}($e);this.index<this.input.length;){var Tt=this.states[this.state];if(void 0===Tt)throw new Error("unhandled state "+this.state);Tt.call(this)}},Le.prototype.tokenizeEOF=function(){this.flushData()},Le.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.transitionTo("beforeData"))},Le.prototype.peek=function(){return this.input.charAt(this.index)},Le.prototype.consume=function(){var $e=this.peek();return this.index++,"\n"===$e?(this.line++,this.column=0):this.column++,$e},Le.prototype.consumeCharRef=function(){var $e=this.input.indexOf(";",this.index);if(-1!==$e){var Tt=this.input.slice(this.index,$e),We=this.entityParser.parse(Tt);if(We){for(var Me=Tt.length;Me;)this.consume(),Me--;return this.consume(),We}}},Le.prototype.markTagStart=function(){this.delegate.tagOpen()},Le.prototype.appendToTagName=function($e){this.tagNameBuffer+=$e,this.delegate.appendToTagName($e)},Le.prototype.isIgnoredEndTag=function(){var $e=this.tagNameBuffer;return"title"===$e&&"</title>"!==this.input.substring(this.index,this.index+8)||"style"===$e&&"</style>"!==this.input.substring(this.index,this.index+8)||"script"===$e&&"<\/script>"!==this.input.substring(this.index,this.index+9)},Le}(),T=function(){function Le($e,Tt){void 0===Tt&&(Tt={}),this.options=Tt,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new I(this,$e,Tt.mode),this._currentAttribute=void 0}return Le.prototype.tokenize=function($e){return this.tokens=[],this.tokenizer.tokenize($e),this.tokens},Le.prototype.tokenizePart=function($e){return this.tokens=[],this.tokenizer.tokenizePart($e),this.tokens},Le.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},Le.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},Le.prototype.current=function(){var $e=this.token;if(null===$e)throw new Error("token was unexpectedly null");if(0===arguments.length)return $e;for(var Tt=0;Tt<arguments.length;Tt++)if($e.type===arguments[Tt])return $e;throw new Error("token type was unexpectedly "+$e.type)},Le.prototype.push=function($e){this.token=$e,this.tokens.push($e)},Le.prototype.currentAttribute=function(){return this._currentAttribute},Le.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},Le.prototype.beginDoctype=function(){this.push({type:"Doctype",name:""})},Le.prototype.appendToDoctypeName=function($e){this.current("Doctype").name+=$e},Le.prototype.appendToDoctypePublicIdentifier=function($e){var Tt=this.current("Doctype");void 0===Tt.publicIdentifier?Tt.publicIdentifier=$e:Tt.publicIdentifier+=$e},Le.prototype.appendToDoctypeSystemIdentifier=function($e){var Tt=this.current("Doctype");void 0===Tt.systemIdentifier?Tt.systemIdentifier=$e:Tt.systemIdentifier+=$e},Le.prototype.endDoctype=function(){this.addLocInfo()},Le.prototype.beginData=function(){this.push({type:"Chars",chars:""})},Le.prototype.appendToData=function($e){this.current("Chars").chars+=$e},Le.prototype.finishData=function(){this.addLocInfo()},Le.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},Le.prototype.appendToCommentData=function($e){this.current("Comment").chars+=$e},Le.prototype.finishComment=function(){this.addLocInfo()},Le.prototype.tagOpen=function(){},Le.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},Le.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},Le.prototype.finishTag=function(){this.addLocInfo()},Le.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},Le.prototype.appendToTagName=function($e){this.current("StartTag","EndTag").tagName+=$e},Le.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},Le.prototype.appendToAttributeName=function($e){this.currentAttribute()[0]+=$e},Le.prototype.beginAttributeValue=function($e){this.currentAttribute()[2]=$e},Le.prototype.appendToAttributeValue=function($e){this.currentAttribute()[1]+=$e},Le.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},Le.prototype.reportSyntaxError=function($e){this.current().syntaxError=$e},Le}();const R="LinkifyResult",B="StartTag",F="EndTag",$="Chars";function Z(Le,$e){const Tt=m.tokenize(Le),We=[];for(let Me=0;Me<Tt.length;Me++){const ut=Tt[Me];"nl"===ut.t&&$e.get("nl2br")?We.push({type:B,tagName:"br",attributes:[],selfClosing:!0}):ut.isLink&&$e.check(ut)?We.push({type:R,rendered:$e.render(ut)}):We.push({type:$,chars:ut.toString()})}return We}function Ee(Le,$e,Tt,We){let Me=1;for(;Tt<$e.length&&Me>0;){let ut=$e[Tt];ut.type===B&&ut.tagName.toUpperCase()===Le?Me++:ut.type===F&&ut.tagName.toUpperCase()===Le&&Me--,We.push(ut),Tt++}return We}function oe({tagName:Le,attributes:$e,content:Tt}){return`<${Le} ${function ce(Le){const $e=[];for(const Tt in Le){const We=Le[Tt]+"";$e.push(`${Tt}="${te(We)}"`)}return $e.join(" ")}($e)}>${j(Tt)}</${Le}>`}function j(Le){return Le.replace(/</g,"<").replace(/>/g,">")}function te(Le){return Le.replace(/"/g,""")}function ye(Le){const $e=[];for(let Tt=0;Tt<Le.length;Tt++){const We=Le[Tt][0],Me=Le[Tt][1]+"";$e.push(`${We}="${te(Me)}"`)}return $e}st.exports=function O(Le,$e={}){const Tt=function C(Le,$e){return new T(new y(s),$e).tokenize(Le)}(Le),We=[],Me=[],ut=new m.Options($e,oe);for(let xe=0;xe<Tt.length;xe++){const Te=Tt[xe];if(Te.type===B){We.push(Te);const Ce=Te.tagName.toUpperCase();if(!("A"===Ce||ut.ignoreTags.indexOf(Ce)>=0))continue;let he=We.length;Ee(Ce,Tt,++xe,We),xe+=We.length-he-1}else if(Te.type!==$)We.push(Te);else{const Ce=Z(Te.chars,ut);We.push.apply(We,Ce)}}for(let xe=0;xe<We.length;xe++){const Te=We[xe];switch(Te.type){case R:Me.push(Te.rendered);break;case B:{let Ce="<"+Te.tagName;Te.attributes.length>0&&(Ce+=" "+ye(Te.attributes).join(" ")),Te.selfClosing&&(Ce+=" /"),Ce+=">",Me.push(Ce);break}case F:Me.push(`</${Te.tagName}>`);break;case $:Me.push(j(Te.chars));break;case"Comment":Me.push(`\x3c!--${j(Te.chars)}--\x3e`);break;case"Doctype":{let Ce=`<!DOCTYPE ${Te.name}`;Te.publicIdentifier&&(Ce+=` PUBLIC "${Te.publicIdentifier}"`),Te.systemIdentifier&&(Ce+=` "${Te.systemIdentifier}"`),Ce+=">",Me.push(Ce);break}}}return Me.join("")}},29293(st){function pe(m,s,f,P,D,y,b){try{var x=m[y](b),N=x.value}catch(M){return void f(M)}x.done?s(N):Promise.resolve(N).then(P,D)}st.exports=function h(m){return function(){var s=this,f=arguments;return new Promise(function(P,D){var y=m.apply(s,f);function b(N){pe(y,P,D,b,x,"next",N)}function x(N){pe(y,P,D,b,x,"throw",N)}b(void 0)})}},st.exports.__esModule=!0,st.exports.default=st.exports},45512(st,pe,h){"use strict";var m,$;h.d(pe,{If:()=>m,K2:()=>y,PZ:()=>B,hZ:()=>f,i0:()=>P,iF:()=>b,kY:()=>M,sf:()=>R,wk:()=>x}),($=m||(m={}))[$.State=0]="State",$[$.Transition=1]="Transition",$[$.Sequence=2]="Sequence",$[$.Group=3]="Group",$[$.Animate=4]="Animate",$[$.Keyframes=5]="Keyframes",$[$.Style=6]="Style",$[$.Trigger=7]="Trigger",$[$.Reference=8]="Reference",$[$.AnimateChild=9]="AnimateChild",$[$.AnimateRef=10]="AnimateRef",$[$.Query=11]="Query",$[$.Stagger=12]="Stagger";function f($,E){return{type:m.Trigger,name:$,definitions:E,options:{}}}function P($,E=null){return{type:m.Animate,styles:E,timings:$}}function y($,E=null){return{type:m.Sequence,steps:$,options:E}}function b($){return{type:m.Style,styles:$,offset:null}}function x($,E,w){return{type:m.State,name:$,styles:E,options:w}}function M($,E,w=null){return{type:m.Transition,expr:$,animation:E,options:w}}class R{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(E=0,w=0){this.totalTime=E+w}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(E=>E()),this._onDoneFns=[])}onStart(E){this._originalOnStartFns.push(E),this._onStartFns.push(E)}onDone(E){this._originalOnDoneFns.push(E),this._onDoneFns.push(E)}onDestroy(E){this._onDestroyFns.push(E)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(E=>E()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(E=>E()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(E){this._position=this.totalTime?E*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(E){const w="start"==E?this._onStartFns:this._onDoneFns;w.forEach(O=>O()),w.length=0}}class B{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(E){this.players=E;let w=0,O=0,Z=0;const Ee=this.players.length;0==Ee?queueMicrotask(()=>this._onFinish()):this.players.forEach(oe=>{oe.onDone(()=>{++w==Ee&&this._onFinish()}),oe.onDestroy(()=>{++O==Ee&&this._onDestroy()}),oe.onStart(()=>{++Z==Ee&&this._onStart()})}),this.totalTime=this.players.reduce((oe,j)=>Math.max(oe,j.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(E=>E()),this._onDoneFns=[])}init(){this.players.forEach(E=>E.init())}onStart(E){this._onStartFns.push(E)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(E=>E()),this._onStartFns=[])}onDone(E){this._onDoneFns.push(E)}onDestroy(E){this._onDestroyFns.push(E)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(E=>E.play())}pause(){this.players.forEach(E=>E.pause())}restart(){this.players.forEach(E=>E.restart())}finish(){this._onFinish(),this.players.forEach(E=>E.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(E=>E.destroy()),this._onDestroyFns.forEach(E=>E()),this._onDestroyFns=[])}reset(){this.players.forEach(E=>E.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(E){const w=E*this.totalTime;this.players.forEach(O=>{const Z=O.totalTime?Math.min(1,w/O.totalTime):1;O.setPosition(Z)})}getPosition(){const E=this.players.reduce((w,O)=>null===w||O.totalTime>w.totalTime?O:w,null);return null!=E?E.getPosition():0}beforeDestroy(){this.players.forEach(E=>{E.beforeDestroy&&E.beforeDestroy()})}triggerCallback(E){const w="start"==E?this._onStartFns:this._onDoneFns;w.forEach(O=>O()),w.length=0}}},83896(st,pe,h){"use strict";h.d(pe,{Ai:()=>Tt,GX:()=>te,Pd:()=>et,Z7:()=>I,sp:()=>j});var m=h(28939),s=h(70903),f=h(39962),P=h(5156),D=h(36574),y=h(53724),b=h(35482),x=h(6217),N=h(38532),M=h(20410),U=h(71581);class I{_platform=(0,m.WQX)(D.O);isDisabled(ve){return ve.hasAttribute("disabled")}isVisible(ve){return function C(he){return!!(he.offsetWidth||he.offsetHeight||"function"==typeof he.getClientRects&&he.getClientRects().length)}(ve)&&"visible"===getComputedStyle(ve).visibility}isTabbable(ve){if(!this._platform.isBrowser)return!1;const be=function T(he){try{return he.frameElement}catch{return null}}(function oe(he){return he.ownerDocument&&he.ownerDocument.defaultView||window}(ve));if(be&&(-1===O(be)||!this.isVisible(be)))return!1;let de=ve.nodeName.toLowerCase(),G=O(ve);return ve.hasAttribute("contenteditable")?-1!==G:!("iframe"===de||"object"===de||this._platform.WEBKIT&&this._platform.IOS&&!function Z(he){let ve=he.nodeName.toLowerCase(),be="input"===ve&&he.type;return"text"===be||"password"===be||"select"===ve||"textarea"===ve}(ve))&&("audio"===de?!!ve.hasAttribute("controls")&&-1!==G:"video"===de?-1!==G&&(null!==G||(this._platform.FIREFOX||ve.hasAttribute("controls"))):ve.tabIndex>=0)}isFocusable(ve,be){return function Ee(he){return!function B(he){return function $(he){return"input"==he.nodeName.toLowerCase()}(he)&&"hidden"==he.type}(he)&&(function R(he){let ve=he.nodeName.toLowerCase();return"input"===ve||"select"===ve||"button"===ve||"textarea"===ve}(he)||function F(he){return function E(he){return"a"==he.nodeName.toLowerCase()}(he)&&he.hasAttribute("href")}(he)||he.hasAttribute("contenteditable")||w(he))}(ve)&&!this.isDisabled(ve)&&(be?.ignoreVisibility||this.isVisible(ve))}static \u0275fac=function(be){return new(be||I)};static \u0275prov=s.tV_({token:I,factory:I.\u0275fac})}function w(he){if(!he.hasAttribute("tabindex")||void 0===he.tabIndex)return!1;let ve=he.getAttribute("tabindex");return!(!ve||isNaN(parseInt(ve,10)))}function O(he){if(!w(he))return null;const ve=parseInt(he.getAttribute("tabindex")||"",10);return isNaN(ve)?-1:ve}class j{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(ve){this._enabled=ve,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ve,this._startAnchor),this._toggleAnchorTabIndex(ve,this._endAnchor))}_enabled=!0;constructor(ve,be,de,G,Fe=!1,He){this._element=ve,this._checker=be,this._ngZone=de,this._document=G,this._injector=He,Fe||this.attachAnchors()}destroy(){const ve=this._startAnchor,be=this._endAnchor;ve&&(ve.removeEventListener("focus",this.startAnchorListener),ve.remove()),be&&(be.removeEventListener("focus",this.endAnchorListener),be.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(ve){return new Promise(be=>{this._executeOnStable(()=>be(this.focusInitialElement(ve)))})}focusFirstTabbableElementWhenReady(ve){return new Promise(be=>{this._executeOnStable(()=>be(this.focusFirstTabbableElement(ve)))})}focusLastTabbableElementWhenReady(ve){return new Promise(be=>{this._executeOnStable(()=>be(this.focusLastTabbableElement(ve)))})}_getRegionBoundary(ve){const be=this._element.querySelectorAll(`[cdk-focus-region-${ve}], [cdkFocusRegion${ve}], [cdk-focus-${ve}]`);return"start"==ve?be.length?be[0]:this._getFirstTabbableElement(this._element):be.length?be[be.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(ve){const be=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(be){if(!this._checker.isFocusable(be)){const de=this._getFirstTabbableElement(be);return de?.focus(ve),!!de}return be.focus(ve),!0}return this.focusFirstTabbableElement(ve)}focusFirstTabbableElement(ve){const be=this._getRegionBoundary("start");return be&&be.focus(ve),!!be}focusLastTabbableElement(ve){const be=this._getRegionBoundary("end");return be&&be.focus(ve),!!be}hasAttached(){return this._hasAttached}_getFirstTabbableElement(ve){if(this._checker.isFocusable(ve)&&this._checker.isTabbable(ve))return ve;const be=ve.children;for(let de=0;de<be.length;de++){const G=be[de].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(be[de]):null;if(G)return G}return null}_getLastTabbableElement(ve){if(this._checker.isFocusable(ve)&&this._checker.isTabbable(ve))return ve;const be=ve.children;for(let de=be.length-1;de>=0;de--){const G=be[de].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(be[de]):null;if(G)return G}return null}_createAnchor(){const ve=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,ve),ve.classList.add("cdk-visually-hidden"),ve.classList.add("cdk-focus-trap-anchor"),ve.setAttribute("aria-hidden","true"),ve}_toggleAnchorTabIndex(ve,be){ve?be.setAttribute("tabindex","0"):be.removeAttribute("tabindex")}toggleAnchors(ve){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ve,this._startAnchor),this._toggleAnchorTabIndex(ve,this._endAnchor))}_executeOnStable(ve){(0,s.mal)(ve,{injector:this._injector})}}class te{_checker=(0,m.WQX)(I);_ngZone=(0,m.WQX)(m.SKi);_document=(0,m.WQX)(m.qQL);_injector=(0,m.WQX)(m.zZn);constructor(){(0,m.WQX)(b.l).load(x.Yc)}create(ve,be=!1){return new j(ve,this._checker,this._ngZone,this._document,be,this._injector)}static \u0275fac=function(be){return new(be||te)};static \u0275prov=s.tV_({token:te,factory:te.\u0275fac})}class ce{_elementRef=(0,m.WQX)(s.aKT);_focusTrapFactory=(0,m.WQX)(te);focusTrap=void 0;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(ve){this.focusTrap&&(this.focusTrap.enabled=ve)}autoCapture=!1;constructor(){(0,m.WQX)(D.O).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(ve){const be=ve.autoCapture;be&&!be.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,y.vc)(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(be){return new(be||ce)};static \u0275dir=s.FsC({type:ce,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",f.L39],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",f.L39]},exportAs:["cdkTrapFocus"],features:[s.OA$]})}const ye=new m.nKC("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),Le=new m.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let $e=0;class Tt{_ngZone=(0,m.WQX)(m.SKi);_defaultOptions=(0,m.WQX)(Le,{optional:!0});_liveElement;_document=(0,m.WQX)(m.qQL);_sanitizer=(0,m.WQX)(M.up);_previousTimeout;_currentPromise;_currentResolve;constructor(){const ve=(0,m.WQX)(ye,{optional:!0});this._liveElement=ve||this._createLiveElement()}announce(ve,...be){const de=this._defaultOptions;let G,Fe;return 1===be.length&&"number"==typeof be[0]?Fe=be[0]:[G,Fe]=be,this.clear(),clearTimeout(this._previousTimeout),G||(G=de&&de.politeness?de.politeness:"polite"),null==Fe&&de&&(Fe=de.duration),this._liveElement.setAttribute("aria-live",G),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(He=>this._currentResolve=He)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{ve&&"string"!=typeof ve?(0,x.Z9)(this._liveElement,ve,this._sanitizer):this._liveElement.textContent=ve,"number"==typeof Fe&&(this._previousTimeout=setTimeout(()=>this.clear(),Fe)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const ve="cdk-live-announcer-element",be=this._document.getElementsByClassName(ve),de=this._document.createElement("div");for(let G=0;G<be.length;G++)be[G].remove();return de.classList.add(ve),de.classList.add("cdk-visually-hidden"),de.setAttribute("aria-atomic","true"),de.setAttribute("aria-live","polite"),de.id="cdk-live-announcer-"+$e++,this._document.body.appendChild(de),de}_exposeAnnouncerToModals(ve){const be=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let de=0;de<be.length;de++){const G=be[de],Fe=G.getAttribute("aria-owns");Fe?-1===Fe.indexOf(ve)&&G.setAttribute("aria-owns",Fe+" "+ve):G.setAttribute("aria-owns",ve)}}static \u0275fac=function(be){return new(be||Tt)};static \u0275prov=s.tV_({token:Tt,factory:Tt.\u0275fac})}class We{_elementRef=(0,m.WQX)(s.aKT);_liveAnnouncer=(0,m.WQX)(Tt);_contentObserver=(0,m.WQX)(U.io);_ngZone=(0,m.WQX)(m.SKi);get politeness(){return this._politeness}set politeness(ve){this._politeness="off"===ve||"assertive"===ve?ve:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=void 0):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const be=this._elementRef.nativeElement.textContent;be!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(be,this._politeness,this.duration),this._previousAnnouncedText=be)})))}_politeness="polite";duration;_previousAnnouncedText;_subscription;constructor(){(0,m.WQX)(b.l).load(x.Yc)}ngOnDestroy(){this._subscription?.unsubscribe()}static \u0275fac=function(be){return new(be||We)};static \u0275dir=s.FsC({type:We,selectors:[["","cdkAriaLive",""]],inputs:{politeness:[0,"cdkAriaLive","politeness"],duration:[0,"cdkAriaLiveDuration","duration"]},exportAs:["cdkAriaLive"]})}var Me,he;(he=Me||(Me={}))[he.NONE=0]="NONE",he[he.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",he[he.WHITE_ON_BLACK=2]="WHITE_ON_BLACK";const ut="cdk-high-contrast-black-on-white",xe="cdk-high-contrast-white-on-black",Te="cdk-high-contrast-active";class Ce{_platform=(0,m.WQX)(D.O);_hasCheckedHighContrastMode=!1;_document=(0,m.WQX)(m.qQL);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,m.WQX)(N.Q).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Me.NONE;const ve=this._document.createElement("div");ve.style.backgroundColor="rgb(1,2,3)",ve.style.position="absolute",this._document.body.appendChild(ve);const be=this._document.defaultView||window,de=be&&be.getComputedStyle?be.getComputedStyle(ve):null,G=(de&&de.backgroundColor||"").replace(/ /g,"");switch(ve.remove(),G){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Me.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Me.BLACK_ON_WHITE}return Me.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const ve=this._document.body.classList;ve.remove(Te,ut,xe),this._hasCheckedHighContrastMode=!0;const be=this.getHighContrastMode();be===Me.BLACK_ON_WHITE?ve.add(Te,ut):be===Me.WHITE_ON_BLACK&&ve.add(Te,xe)}}static \u0275fac=function(be){return new(be||Ce)};static \u0275prov=s.tV_({token:Ce,factory:Ce.\u0275fac})}class et{constructor(){(0,m.WQX)(Ce)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(be){return new(be||et)};static \u0275mod=s.$C({type:et,imports:[U.w5,We,ce,P.vR],exports:[We,ce,P.vR]});static \u0275inj=m.G2t({imports:[U.w5]})}},64762(st,pe,h){"use strict";function m(s){return Array.isArray(s)?s:[s]}h.d(pe,{F:()=>m})},38532(st,pe,h){"use strict";h.d(pe,{D:()=>B,Q:()=>E});var m=h(70903),s=h(28939),f=h(75536),P=h(55919),D=h(75889),y=h(44754),b=h(5241),x=h(65229),N=h(5248),M=h(29927),U=h(56276),J=h(72818),I=h(36574),T=h(64762);const C=new Set;let R;class B{_platform=(0,s.WQX)(I.O);_nonce=(0,s.WQX)(s.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):$}matchMedia(Z){return(this._platform.WEBKIT||this._platform.BLINK)&&function F(O,Z){if(!C.has(O))try{R||(R=document.createElement("style"),Z&&R.setAttribute("nonce",Z),R.setAttribute("type","text/css"),document.head.appendChild(R)),R.sheet&&(R.sheet.insertRule(`@media ${O.replace(/[{}]/g,"")} {body{ }}`,0),C.add(O))}catch(Ee){console.error(Ee)}}(Z,this._nonce),this._matchMedia(Z)}static \u0275fac=function(Ee){return new(Ee||B)};static \u0275prov=m.tV_({token:B,factory:B.\u0275fac})}function $(O){return{matches:"all"===O||""===O,media:O,addListener:()=>{},removeListener:()=>{}}}class E{_mediaMatcher=(0,s.WQX)(B);_zone=(0,s.WQX)(s.SKi);_queries=new Map;_destroySubject=new P.B;ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Z){return w((0,T.F)(Z)).some(oe=>this._registerQuery(oe).mql.matches)}observe(Z){const oe=w((0,T.F)(Z)).map(te=>this._registerQuery(te).observable);let j=(0,D.z)(oe);return j=(0,y.x)(j.pipe((0,U.s)(1)),j.pipe((0,N.i)(1),(0,b.B)(0))),j.pipe((0,x.T)(te=>{const ce={matches:!1,breakpoints:{}};return te.forEach(({matches:ye,query:Le})=>{ce.matches=ce.matches||ye,ce.breakpoints[Le]=ye}),ce}))}_registerQuery(Z){if(this._queries.has(Z))return this._queries.get(Z);const Ee=this._mediaMatcher.matchMedia(Z),j={observable:new f.c(te=>{const ce=ye=>this._zone.run(()=>te.next(ye));return Ee.addListener(ce),()=>{Ee.removeListener(ce)}}).pipe((0,M.Z)(Ee),(0,x.T)(({matches:te})=>({query:Z,matches:te})),(0,J.Q)(this._destroySubject)),mql:Ee};return this._queries.set(Z,j),j}static \u0275fac=function(Ee){return new(Ee||E)};static \u0275prov=m.tV_({token:E,factory:E.\u0275fac})}function w(O){return O.map(Z=>Z.split(",")).reduce((Z,Ee)=>Z.concat(Ee)).map(Z=>Z.trim())}},52247(st,pe,h){"use strict";h.d(pe,{q:()=>s,y:()=>f});var m=h(31253);class s{}function f(P){return P&&"function"==typeof P.connect&&!(P instanceof m.G)}},40271(st,pe,h){"use strict";h.d(pe,{_j:()=>D,dS:()=>y});var m=h(70903),s=h(28939);const f=new s.nKC("cdk-dir-doc",{providedIn:"root",factory:()=>(0,s.WQX)(s.qQL)}),P=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function D(b){const x=b?.toLowerCase()||"";return"auto"===x&&typeof navigator<"u"&&navigator?.language?P.test(navigator.language)?"rtl":"ltr":"rtl"===x?"rtl":"ltr"}class y{get value(){return this.valueSignal()}valueSignal=(0,s.vPA)("ltr");change=new s.bkB;constructor(){const x=(0,s.WQX)(f,{optional:!0});if(x){const N=x.body?x.body.dir:null,M=x.documentElement?x.documentElement.dir:null;this.valueSignal.set(D(N||M||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(N){return new(N||y)};static \u0275prov=m.tV_({token:y,factory:y.\u0275fac})}},48193(st,pe,h){"use strict";h.d(pe,{OE:()=>s,i8:()=>P,o1:()=>f});var m=h(70903);function s(D,y=0){return f(D)?Number(D):2===arguments.length?y:0}function f(D){return!isNaN(parseFloat(D))&&!isNaN(Number(D))}function P(D){return D instanceof m.aKT?D.nativeElement:D}},49621(st,pe,h){"use strict";function m(f){return 0===f.buttons||0===f.detail}function s(f){const P=f.touches&&f.touches[0]||f.changedTouches&&f.changedTouches[0];return!(!P||-1!==P.identifier||null!=P.radiusX&&1!==P.radiusX||null!=P.radiusY&&1!==P.radiusY)}h.d(pe,{_:()=>m,w:()=>s})},5156(st,pe,h){"use strict";h.d(pe,{FN:()=>O,vR:()=>Z});var m=h(70903),s=h(28939),f=h(55919),P=h(5651),D=h(47086),y=h(52191),b=h(5248),x=h(72818),N=h(49621),M=h(53724),U=h(36574),J=h(3290),I=h(48193);const T=new s.nKC("cdk-input-modality-detector-options"),C={ignoreKeys:[18,17,224,91,16]},B={passive:!0,capture:!0};class F{_platform=(0,s.WQX)(U.O);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new P.t(null);_options;_lastTouchMs=0;_onKeydown=oe=>{this._options?.ignoreKeys?.some(j=>j===oe.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,M.Fb)(oe))};_onMousedown=oe=>{Date.now()-this._lastTouchMs<650||(this._modality.next((0,N._)(oe)?"keyboard":"mouse"),this._mostRecentTarget=(0,M.Fb)(oe))};_onTouchstart=oe=>{(0,N.w)(oe)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,M.Fb)(oe))};constructor(){const oe=(0,s.WQX)(s.SKi),j=(0,s.WQX)(s.qQL),te=(0,s.WQX)(T,{optional:!0});if(this._options={...C,...te},this.modalityDetected=this._modality.pipe((0,b.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,y.F)()),this._platform.isBrowser){const ce=(0,s.WQX)(m._9s).createRenderer(null,null);this._listenerCleanups=oe.runOutsideAngular(()=>[ce.listen(j,"keydown",this._onKeydown,B),ce.listen(j,"mousedown",this._onMousedown,B),ce.listen(j,"touchstart",this._onTouchstart,B)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(oe=>oe())}static \u0275fac=function(j){return new(j||F)};static \u0275prov=m.tV_({token:F,factory:F.\u0275fac})}var $,Ee;(Ee=$||($={}))[Ee.IMMEDIATE=0]="IMMEDIATE",Ee[Ee.EVENTUAL=1]="EVENTUAL";const E=new s.nKC("cdk-focus-monitor-default-options"),w=(0,J.B)({passive:!0,capture:!0});class O{_ngZone=(0,s.WQX)(s.SKi);_platform=(0,s.WQX)(U.O);_inputModalityDetector=(0,s.WQX)(F);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=(0,s.WQX)(s.qQL);_stopInputModalityDetector=new f.B;constructor(){const oe=(0,s.WQX)(E,{optional:!0});this._detectionMode=oe?.detectionMode||$.IMMEDIATE}_rootNodeFocusAndBlurListener=oe=>{for(let te=(0,M.Fb)(oe);te;te=te.parentElement)"focus"===oe.type?this._onFocus(oe,te):this._onBlur(oe,te)};monitor(oe,j=!1){const te=(0,I.i8)(oe);if(!this._platform.isBrowser||1!==te.nodeType)return(0,D.of)();const ce=(0,M.KT)(te)||this._document,ye=this._elementInfo.get(te);if(ye)return j&&(ye.checkChildren=!0),ye.subject;const Le={checkChildren:j,subject:new f.B,rootNode:ce};return this._elementInfo.set(te,Le),this._registerGlobalListeners(Le),Le.subject}stopMonitoring(oe){const j=(0,I.i8)(oe),te=this._elementInfo.get(j);te&&(te.subject.complete(),this._setClasses(j),this._elementInfo.delete(j),this._removeGlobalListeners(te))}focusVia(oe,j,te){const ce=(0,I.i8)(oe);ce===this._document.activeElement?this._getClosestElementsInfo(ce).forEach(([Le,$e])=>this._originChanged(Le,j,$e)):(this._setOrigin(j),"function"==typeof ce.focus&&ce.focus(te))}ngOnDestroy(){this._elementInfo.forEach((oe,j)=>this.stopMonitoring(j))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(oe){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(oe)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:oe&&this._isLastInteractionFromInputLabel(oe)?"mouse":"program"}_shouldBeAttributedToTouch(oe){return this._detectionMode===$.EVENTUAL||!!oe?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(oe,j){oe.classList.toggle("cdk-focused",!!j),oe.classList.toggle("cdk-touch-focused","touch"===j),oe.classList.toggle("cdk-keyboard-focused","keyboard"===j),oe.classList.toggle("cdk-mouse-focused","mouse"===j),oe.classList.toggle("cdk-program-focused","program"===j)}_setOrigin(oe,j=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=oe,this._originFromTouchInteraction="touch"===oe&&j,this._detectionMode===$.IMMEDIATE){clearTimeout(this._originTimeoutId);const te=this._originFromTouchInteraction?650:1;this._originTimeoutId=setTimeout(()=>this._origin=null,te)}})}_onFocus(oe,j){const te=this._elementInfo.get(j),ce=(0,M.Fb)(oe);!te||!te.checkChildren&&j!==ce||this._originChanged(j,this._getFocusOrigin(ce),te)}_onBlur(oe,j){const te=this._elementInfo.get(j);!te||te.checkChildren&&oe.relatedTarget instanceof Node&&j.contains(oe.relatedTarget)||(this._setClasses(j),this._emitOrigin(te,null))}_emitOrigin(oe,j){oe.subject.observers.length&&this._ngZone.run(()=>oe.subject.next(j))}_registerGlobalListeners(oe){if(!this._platform.isBrowser)return;const j=oe.rootNode,te=this._rootNodeFocusListenerCount.get(j)||0;te||this._ngZone.runOutsideAngular(()=>{j.addEventListener("focus",this._rootNodeFocusAndBlurListener,w),j.addEventListener("blur",this._rootNodeFocusAndBlurListener,w)}),this._rootNodeFocusListenerCount.set(j,te+1),1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,x.Q)(this._stopInputModalityDetector)).subscribe(ce=>{this._setOrigin(ce,!0)}))}_removeGlobalListeners(oe){const j=oe.rootNode;if(this._rootNodeFocusListenerCount.has(j)){const te=this._rootNodeFocusListenerCount.get(j);te>1?this._rootNodeFocusListenerCount.set(j,te-1):(j.removeEventListener("focus",this._rootNodeFocusAndBlurListener,w),j.removeEventListener("blur",this._rootNodeFocusAndBlurListener,w),this._rootNodeFocusListenerCount.delete(j))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(oe,j,te){this._setClasses(oe,j),this._emitOrigin(te,j),this._lastFocusOrigin=j}_getClosestElementsInfo(oe){const j=[];return this._elementInfo.forEach((te,ce)=>{(ce===oe||te.checkChildren&&ce.contains(oe))&&j.push([ce,te])}),j}_isLastInteractionFromInputLabel(oe){const{_mostRecentTarget:j,mostRecentModality:te}=this._inputModalityDetector;if("mouse"!==te||!j||j===oe||"INPUT"!==oe.nodeName&&"TEXTAREA"!==oe.nodeName||oe.disabled)return!1;const ce=oe.labels;if(ce)for(let ye=0;ye<ce.length;ye++)if(ce[ye].contains(j))return!0;return!1}static \u0275fac=function(j){return new(j||O)};static \u0275prov=m.tV_({token:O,factory:O.\u0275fac})}class Z{_elementRef=(0,s.WQX)(m.aKT);_focusMonitor=(0,s.WQX)(O);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new s.bkB;get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const oe=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(oe,1===oe.nodeType&&oe.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(j=>{this._focusOrigin=j,this.cdkFocusChange.emit(j)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(j){return new(j||Z)};static \u0275dir=m.FsC({type:Z,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}},1396(st,pe,h){"use strict";h.d(pe,{g:()=>P});var m=h(70903),s=h(28939);const f=new Map;class P{_appId=(0,s.WQX)(s.sZ2);static _infix=`a${Math.floor(1e5*Math.random()).toString()}`;getId(y,b=!1){"ng"!==this._appId&&(y+=this._appId);let x=f.get(y);return void 0===x?x=0:x++,f.set(y,x),`${y}${b?P._infix+"-":""}${x}`}static \u0275fac=function(b){return new(b||P)};static \u0275prov=m.tV_({token:P,factory:P.\u0275fac})}},54408(st,pe,h){"use strict";h.d(pe,{l:()=>J});var m=h(28939),s=h(70903),f=h(23054),P=h(55919),D=h(22914),y=h(5241),b=h(84833),x=h(65229);class M{_letterKeyStream=new P.B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new P.B;selectedItem=this._selectedItem;constructor(T,C){const R="number"==typeof C?.debounceInterval?C.debounceInterval:200;C?.skipPredicate&&(this._skipPredicateFn=C.skipPredicate),this.setItems(T),this._setupKeyHandler(R)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(T){this._selectedItemIndex=T}setItems(T){this._items=T}handleKey(T){const C=T.keyCode;T.key&&1===T.key.length?this._letterKeyStream.next(T.key.toLocaleUpperCase()):(C>=65&&C<=90||C>=48&&C<=57)&&this._letterKeyStream.next(String.fromCharCode(C))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(T){this._letterKeyStream.pipe((0,D.M)(C=>this._pressedLetters.push(C)),(0,y.B)(T),(0,b.p)(()=>this._pressedLetters.length>0),(0,x.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(C=>{for(let R=1;R<this._items.length+1;R++){const B=(this._selectedItemIndex+R)%this._items.length,F=this._items[B];if(!this._skipPredicateFn?.(F)&&0===F.getLabel?.().toLocaleUpperCase().trim().indexOf(C)){this._selectedItem.next(F);break}}this._pressedLetters=[]})}}var U=h(40401);class J{_items;_activeItemIndex=(0,m.vPA)(-1);_activeItem=(0,m.vPA)(null);_wrap=!1;_typeaheadSubscription=f.yU.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=T=>T.disabled;constructor(T,C){this._items=T,T instanceof s.rOR?this._itemChangesSubscription=T.changes.subscribe(R=>this._itemsChanged(R.toArray())):(0,m.Hps)(T)&&(this._effectRef=(0,m.QZP)(()=>this._itemsChanged(T()),{injector:C}))}tabOut=new P.B;change=new P.B;skipPredicate(T){return this._skipPredicateFn=T,this}withWrap(T=!0){return this._wrap=T,this}withVerticalOrientation(T=!0){return this._vertical=T,this}withHorizontalOrientation(T){return this._horizontal=T,this}withAllowedModifierKeys(T){return this._allowedModifierKeys=T,this}withTypeAhead(T=200){this._typeaheadSubscription.unsubscribe();const C=this._getItemsArray();return this._typeahead=new M(C,{debounceInterval:"number"==typeof T?T:void 0,skipPredicate:R=>this._skipPredicateFn(R)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(R=>{this.setActiveItem(R)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(T=!0){return this._homeAndEnd=T,this}withPageUpDown(T=!0,C=10){return this._pageUpAndDown={enabled:T,delta:C},this}setActiveItem(T){const C=this._activeItem();this.updateActiveItem(T),this._activeItem()!==C&&this.change.next(this._activeItemIndex())}onKeydown(T){const C=T.keyCode,B=["altKey","ctrlKey","metaKey","shiftKey"].every(F=>!T[F]||this._allowedModifierKeys.indexOf(F)>-1);switch(C){case 9:return void this.tabOut.next();case 40:if(this._vertical&&B){this.setNextItemActive();break}return;case 38:if(this._vertical&&B){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&B){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&B){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&B){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&B){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&B){const F=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(F>0?F:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&B){const F=this._activeItemIndex()+this._pageUpAndDown.delta,$=this._getItemsArray().length;this._setActiveItemByIndex(F<$?F:$-1,-1);break}return;default:return void((B||(0,U.rp)(T,"shiftKey"))&&this._typeahead?.handleKey(T))}this._typeahead?.reset(),T.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(T){const C=this._getItemsArray(),R="number"==typeof T?T:C.indexOf(T),B=C[R];this._activeItem.set(B??null),this._activeItemIndex.set(R),this._typeahead?.setCurrentSelectedItemIndex(R)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(T){this._wrap?this._setActiveInWrapMode(T):this._setActiveInDefaultMode(T)}_setActiveInWrapMode(T){const C=this._getItemsArray();for(let R=1;R<=C.length;R++){const B=(this._activeItemIndex()+T*R+C.length)%C.length,F=C[B];if(!this._skipPredicateFn(F))return void this.setActiveItem(B)}}_setActiveInDefaultMode(T){this._setActiveItemByIndex(this._activeItemIndex()+T,T)}_setActiveItemByIndex(T,C){const R=this._getItemsArray();if(R[T]){for(;this._skipPredicateFn(R[T]);)if(!R[T+=C])return;this.setActiveItem(T)}}_getItemsArray(){return(0,m.Hps)(this._items)?this._items():this._items instanceof s.rOR?this._items.toArray():this._items}_itemsChanged(T){this._typeahead?.setItems(T);const C=this._activeItem();if(C){const R=T.indexOf(C);R>-1&&R!==this._activeItemIndex()&&(this._activeItemIndex.set(R),this._typeahead?.setCurrentSelectedItemIndex(R))}}}},51564(st,pe,h){"use strict";h.d(pe,{WB:()=>lt,$Q:()=>_t,ao:()=>Et,hJ:()=>ln,rR:()=>Te,Sf:()=>Jt,z_:()=>Oe,yY:()=>ue,gA:()=>oe,$M:()=>It,uA:()=>_e,Y$:()=>Vt,RH:()=>Me});var m=h(70903),s=h(28939),f=h(39962),P=h(44881),D=h(36574),y=h(53724);function b(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var x=h(35482),N=h(55919),M=h(23054);function U(at){return null==at?"":"string"==typeof at?at:`${at}px`}var J=h(64762),I=h(32445),T=h(30428),C=h(84833),R=h(22425),B=h(41109);var $=h(1396),E=h(40271),w=h(11874),O=h(40401),Z=h(35886);const Ee=(0,T.CZ)();function oe(at){return new j(at.get(I.Xj),at.get(s.qQL))}class j{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(Q,Ae){this._viewportRuler=Q,this._document=Ae}attach(){}enable(){if(this._canBeEnabled()){const Q=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Q.style.left||"",this._previousHTMLStyles.top=Q.style.top||"",Q.style.left=U(-this._previousScrollPosition.left),Q.style.top=U(-this._previousScrollPosition.top),Q.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Q=this._document.documentElement,Ae=this._document.body,Qe=Q.style,kt=Ae.style,cn=Qe.scrollBehavior||"",mn=kt.scrollBehavior||"";this._isEnabled=!1,Qe.left=this._previousHTMLStyles.left,Qe.top=this._previousHTMLStyles.top,Q.classList.remove("cdk-global-scrollblock"),Ee&&(Qe.scrollBehavior=kt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ee&&(Qe.scrollBehavior=cn,kt.scrollBehavior=mn)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Ae=this._document.documentElement,Qe=this._viewportRuler.getViewportSize();return Ae.scrollHeight>Qe.height||Ae.scrollWidth>Qe.width}}class ye{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(Q,Ae,Qe,kt){this._scrollDispatcher=Q,this._ngZone=Ae,this._viewportRuler=Qe,this._config=kt}attach(Q){this._overlayRef,this._overlayRef=Q}enable(){if(this._scrollSubscription)return;const Q=this._scrollDispatcher.scrolled(0).pipe((0,C.p)(Ae=>!Ae||!this._overlayRef.overlayElement.contains(Ae.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Q.subscribe(()=>{const Ae=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Ae-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Q.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class $e{enable(){}disable(){}attach(){}}function Tt(at,Q){return Q.some(Ae=>{const Qe=at.bottom<Ae.top,kt=at.top>Ae.bottom,cn=at.right<Ae.left,mn=at.left>Ae.right;return Qe||kt||cn||mn})}function We(at,Q){return Q.some(Ae=>{const Qe=at.top<Ae.top,kt=at.bottom>Ae.bottom,cn=at.left<Ae.left,mn=at.right>Ae.right;return Qe||kt||cn||mn})}function Me(at,Q){return new ut(at.get(I.R),at.get(I.Xj),at.get(s.SKi),Q)}class ut{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(Q,Ae,Qe,kt){this._scrollDispatcher=Q,this._viewportRuler=Ae,this._ngZone=Qe,this._config=kt}attach(Q){this._overlayRef,this._overlayRef=Q}enable(){if(!this._scrollSubscription){const Q=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(Q).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const Ae=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Qe,height:kt}=this._viewportRuler.getViewportSize();Tt(Ae,[{width:Qe,height:kt,bottom:kt,right:Qe,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class xe{_injector=(0,s.WQX)(s.zZn);noop=()=>new $e;close=Q=>function ce(at,Q){return new ye(at.get(I.R),at.get(s.SKi),at.get(I.Xj),Q)}(this._injector,Q);block=()=>oe(this._injector);reposition=Q=>Me(this._injector,Q);static \u0275fac=function(Ae){return new(Ae||xe)};static \u0275prov=m.tV_({token:xe,factory:xe.\u0275fac})}class Te{positionStrategy;scrollStrategy=new $e;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(Q){if(Q){const Ae=Object.keys(Q);for(const Qe of Ae)void 0!==Q[Qe]&&(this[Qe]=Q[Qe])}}}class he{connectionPair;scrollableViewProperties;constructor(Q,Ae){this.connectionPair=Q,this.scrollableViewProperties=Ae}}class de{_attachedOverlays=[];_document=(0,s.WQX)(s.qQL);_isAttached=!1;ngOnDestroy(){this.detach()}add(Q){this.remove(Q),this._attachedOverlays.push(Q)}remove(Q){const Ae=this._attachedOverlays.indexOf(Q);Ae>-1&&this._attachedOverlays.splice(Ae,1),0===this._attachedOverlays.length&&this.detach()}canReceiveEvent(Q,Ae,Qe){return!(Qe.observers.length<1)&&(!Q.eventPredicate||Q.eventPredicate(Ae))}static \u0275fac=function(Ae){return new(Ae||de)};static \u0275prov=m.tV_({token:de,factory:de.\u0275fac})}class G extends de{_ngZone=(0,s.WQX)(s.SKi);_renderer=(0,s.WQX)(m._9s).createRenderer(null,null);_cleanupKeydown;add(Q){super.add(Q),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=Q=>{const Ae=this._attachedOverlays;for(let Qe=Ae.length-1;Qe>-1;Qe--){const kt=Ae[Qe];if(this.canReceiveEvent(kt,Q,kt._keydownEvents)){this._ngZone.run(()=>kt._keydownEvents.next(Q));break}}};static \u0275fac=function(Ae){return new(Ae||G)};static \u0275prov=m.tV_({token:G,factory:G.\u0275fac})}class Fe extends de{_platform=(0,s.WQX)(D.O);_ngZone=(0,s.WQX)(s.SKi);_renderer=(0,s.WQX)(m._9s).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(Q){if(super.add(Q),!this._isAttached){const Ae=this._document.body,Qe={capture:!0},kt=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[kt.listen(Ae,"pointerdown",this._pointerDownListener,Qe),kt.listen(Ae,"click",this._clickListener,Qe),kt.listen(Ae,"auxclick",this._clickListener,Qe),kt.listen(Ae,"contextmenu",this._clickListener,Qe)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Ae.style.cursor,Ae.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(Q=>Q()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=Q=>{this._pointerDownEventTarget=(0,y.Fb)(Q)};_clickListener=Q=>{const Ae=(0,y.Fb)(Q),Qe="click"===Q.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Ae;this._pointerDownEventTarget=null;const kt=this._attachedOverlays.slice();for(let cn=kt.length-1;cn>-1;cn--){const mn=kt[cn],Jn=mn._outsidePointerEvents;if(mn.hasAttached()&&this.canReceiveEvent(mn,Q,Jn)){if(He(mn.overlayElement,Ae)||He(mn.overlayElement,Qe))break;this._ngZone?this._ngZone.run(()=>Jn.next(Q)):Jn.next(Q)}}};static \u0275fac=function(Ae){return new(Ae||Fe)};static \u0275prov=m.tV_({token:Fe,factory:Fe.\u0275fac})}function He(at,Q){const Ae=typeof ShadowRoot<"u"&&ShadowRoot;let Qe=Q;for(;Qe;){if(Qe===at)return!0;Qe=Ae&&Qe instanceof ShadowRoot?Qe.host:Qe.parentNode}return!1}class wt{static \u0275fac=function(Ae){return new(Ae||wt)};static \u0275cmp=m.VBU({type:wt,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(Ae,Qe){},styles:[".cdk-overlay-container, .cdk-global-overlay-wrapper {\n pointer-events: none;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n}\n\n.cdk-overlay-container {\n position: fixed;\n}\n@layer cdk-overlay {\n .cdk-overlay-container {\n z-index: 1000;\n }\n}\n.cdk-overlay-container:empty {\n display: none;\n}\n\n.cdk-global-overlay-wrapper {\n display: flex;\n position: absolute;\n}\n@layer cdk-overlay {\n .cdk-global-overlay-wrapper {\n z-index: 1000;\n }\n}\n\n.cdk-overlay-pane {\n position: absolute;\n pointer-events: auto;\n box-sizing: border-box;\n display: flex;\n max-width: 100%;\n max-height: 100%;\n}\n@layer cdk-overlay {\n .cdk-overlay-pane {\n z-index: 1000;\n }\n}\n\n.cdk-overlay-backdrop {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n pointer-events: auto;\n -webkit-tap-highlight-color: transparent;\n opacity: 0;\n touch-action: manipulation;\n}\n@layer cdk-overlay {\n .cdk-overlay-backdrop {\n z-index: 1000;\n transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);\n }\n}\n@media (prefers-reduced-motion) {\n .cdk-overlay-backdrop {\n transition-duration: 1ms;\n }\n}\n\n.cdk-overlay-backdrop-showing {\n opacity: 1;\n}\n@media (forced-colors: active) {\n .cdk-overlay-backdrop-showing {\n opacity: 0.6;\n }\n}\n\n@layer cdk-overlay {\n .cdk-overlay-dark-backdrop {\n background: rgba(0, 0, 0, 0.32);\n }\n}\n\n.cdk-overlay-transparent-backdrop {\n transition: visibility 1ms linear, opacity 1ms linear;\n visibility: hidden;\n opacity: 1;\n}\n.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop {\n opacity: 0;\n visibility: visible;\n}\n\n.cdk-overlay-backdrop-noop-animation {\n transition: none;\n}\n\n.cdk-overlay-connected-position-bounding-box {\n position: absolute;\n display: flex;\n flex-direction: column;\n min-width: 1px;\n min-height: 1px;\n}\n@layer cdk-overlay {\n .cdk-overlay-connected-position-bounding-box {\n z-index: 1000;\n }\n}\n\n.cdk-global-scrollblock {\n position: fixed;\n width: 100%;\n overflow-y: scroll;\n}\n\n.cdk-overlay-popover {\n background: none;\n border: none;\n padding: 0;\n outline: 0;\n overflow: visible;\n position: fixed;\n pointer-events: none;\n white-space: normal;\n color: inherit;\n text-decoration: none;\n width: 100%;\n height: 100%;\n inset: auto;\n top: 0;\n left: 0;\n}\n.cdk-overlay-popover::backdrop {\n display: none;\n}\n.cdk-overlay-popover .cdk-overlay-backdrop {\n position: fixed;\n z-index: auto;\n}\n"],encapsulation:2})}class Jt{_platform=(0,s.WQX)(D.O);_containerElement;_document=(0,s.WQX)(s.qQL);_styleLoader=(0,s.WQX)(x.l);ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Q="cdk-overlay-container";if(this._platform.isBrowser||b()){const Qe=this._document.querySelectorAll(`.${Q}[platform="server"], .${Q}[platform="test"]`);for(let kt=0;kt<Qe.length;kt++)Qe[kt].remove()}const Ae=this._document.createElement("div");Ae.classList.add(Q),b()?Ae.setAttribute("platform","test"):this._platform.isBrowser||Ae.setAttribute("platform","server"),this._document.body.appendChild(Ae),this._containerElement=Ae}_loadStyles(){this._styleLoader.load(wt)}static \u0275fac=function(Ae){return new(Ae||Jt)};static \u0275prov=m.tV_({token:Jt,factory:Jt.\u0275fac})}class ee{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(Q,Ae,Qe,kt){this._renderer=Ae,this._ngZone=Qe,this.element=Q.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=Ae.listen(this.element,"click",kt)}detach(){this._ngZone.runOutsideAngular(()=>{const Q=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(Q,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),Q.style.pointerEvents="none",Q.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}}function V(at){return at&&1===at.nodeType}class ue{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new N.B;_attachments=new N.B;_detachments=new N.B;_positionStrategy;_scrollStrategy;_locationChanges=M.yU.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new N.B;_outsidePointerEvents=new N.B;_afterNextRenderRef;constructor(Q,Ae,Qe,kt,cn,mn,Jn,Ti,$i,Ei=!1,ui,sr){this._portalOutlet=Q,this._host=Ae,this._pane=Qe,this._config=kt,this._ngZone=cn,this._keyboardDispatcher=mn,this._document=Jn,this._location=Ti,this._outsideClickDispatcher=$i,this._animationsDisabled=Ei,this._injector=ui,this._renderer=sr,kt.scrollStrategy&&(this._scrollStrategy=kt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=kt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(Q){if(this._disposed)return null;this._attachHost();const Ae=this._portalOutlet.attach(Q);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=(0,m.mal)(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof Ae?.onDestroy&&Ae.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Ae}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Q=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Q}dispose(){if(this._disposed)return;const Q=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,Q&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(Q){Q!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Q,this.hasAttached()&&(Q.attach(this),this.updatePosition()))}updateSize(Q){this._config={...this._config,...Q},this._updateElementSize()}setDirection(Q){this._config={...this._config,direction:Q},this._updateElementDirection()}addPanelClass(Q){this._pane&&this._toggleClasses(this._pane,Q,!0)}removePanelClass(Q){this._pane&&this._toggleClasses(this._pane,Q,!1)}getDirection(){const Q=this._config.direction;return Q?"string"==typeof Q?Q:Q.value:"ltr"}updateScrollStrategy(Q){Q!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Q,this.hasAttached()&&(Q.attach(this),Q.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Q=this._pane.style;Q.width=U(this._config.width),Q.height=U(this._config.height),Q.minWidth=U(this._config.minWidth),Q.minHeight=U(this._config.minHeight),Q.maxWidth=U(this._config.maxWidth),Q.maxHeight=U(this._config.maxHeight)}_togglePointerEvents(Q){this._pane.style.pointerEvents=Q?"":"none"}_attachHost(){if(!this._host.parentElement){const Q=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;V(Q)?Q.after(this._host):"parent"===Q?.type?Q.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch{}}_attachBackdrop(){const Q="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new ee(this._document,this._renderer,this._ngZone,Ae=>{this._backdropClick.next(Ae)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(Q))}):this._backdropRef.element.classList.add(Q)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(Q,Ae,Qe){const kt=(0,J.F)(Ae||[]).filter(cn=>!!cn);kt.length&&(Qe?Q.classList.add(...kt):Q.classList.remove(...kt))}_detachContentWhenEmpty(){let Q=!1;try{this._detachContentAfterRenderRef=(0,m.mal)(()=>{Q=!0,this._detachContent()},{injector:this._injector})}catch(Ae){if(Q)throw Ae;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){const Q=this._scrollStrategy;Q?.disable(),Q?.detach?.()}}const De="cdk-overlay-connected-position-bounding-box",rt=/([A-Za-z%]+)$/;function It(at,Q){return new Kt(Q,at.get(I.Xj),at.get(s.qQL),at.get(D.O),at.get(Jt))}class Kt{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new N.B;_resizeSubscription=M.yU.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(Q,Ae,Qe,kt,cn){this._viewportRuler=Ae,this._document=Qe,this._platform=kt,this._overlayContainer=cn,this.setOrigin(Q)}attach(Q){this._overlayRef&&this._overlayRef,this._validatePositions(),Q.hostElement.classList.add(De),this._overlayRef=Q,this._boundingBox=Q.hostElement,this._pane=Q.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();const Q=this._originRect,Ae=this._overlayRect,Qe=this._viewportRect,kt=this._containerRect,cn=[];let mn;for(let Jn of this._preferredPositions){let Ti=this._getOriginPoint(Q,kt,Jn),$i=this._getOverlayPoint(Ti,Ae,Jn),Ei=this._getOverlayFit($i,Ae,Qe,Jn);if(Ei.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Jn,Ti);this._canFitWithFlexibleDimensions(Ei,$i,Qe)?cn.push({position:Jn,origin:Ti,overlayRect:Ae,boundingBoxRect:this._calculateBoundingBoxRect(Ti,Jn)}):(!mn||mn.overlayFit.visibleArea<Ei.visibleArea)&&(mn={overlayFit:Ei,overlayPoint:$i,originPoint:Ti,position:Jn,overlayRect:Ae})}if(cn.length){let Jn=null,Ti=-1;for(const $i of cn){const Ei=$i.boundingBoxRect.width*$i.boundingBoxRect.height*($i.position.weight||1);Ei>Ti&&(Ti=Ei,Jn=$i)}return this._isPushed=!1,void this._applyPosition(Jn.position,Jn.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(mn.position,mn.originPoint);this._applyPosition(mn.position,mn.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ht(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(De),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Q=this._lastPosition;Q?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(Q,this._getOriginPoint(this._originRect,this._containerRect,Q))):this.apply()}withScrollableContainers(Q){return this._scrollables=Q,this}withPositions(Q){return this._preferredPositions=Q,-1===Q.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Q){return this._viewportMargin=Q,this}withFlexibleDimensions(Q=!0){return this._hasFlexibleDimensions=Q,this}withGrowAfterOpen(Q=!0){return this._growAfterOpen=Q,this}withPush(Q=!0){return this._canPush=Q,this}withLockedPosition(Q=!0){return this._positionLocked=Q,this}setOrigin(Q){return this._origin=Q,this}withDefaultOffsetX(Q){return this._offsetX=Q,this}withDefaultOffsetY(Q){return this._offsetY=Q,this}withTransformOriginOn(Q){return this._transformOriginSelector=Q,this}withPopoverLocation(Q){return this._popoverLocation=Q,this}getPopoverInsertionPoint(){return"global"===this._popoverLocation?null:"inline"!==this._popoverLocation?this._popoverLocation:this._origin instanceof m.aKT?this._origin.nativeElement:V(this._origin)?this._origin:null}_getOriginPoint(Q,Ae,Qe){let kt,cn;if("center"==Qe.originX)kt=Q.left+Q.width/2;else{const mn=this._isRtl()?Q.right:Q.left,Jn=this._isRtl()?Q.left:Q.right;kt="start"==Qe.originX?mn:Jn}return Ae.left<0&&(kt-=Ae.left),cn="center"==Qe.originY?Q.top+Q.height/2:"top"==Qe.originY?Q.top:Q.bottom,Ae.top<0&&(cn-=Ae.top),{x:kt,y:cn}}_getOverlayPoint(Q,Ae,Qe){let kt,cn;return kt="center"==Qe.overlayX?-Ae.width/2:"start"===Qe.overlayX?this._isRtl()?-Ae.width:0:this._isRtl()?0:-Ae.width,cn="center"==Qe.overlayY?-Ae.height/2:"top"==Qe.overlayY?0:-Ae.height,{x:Q.x+kt,y:Q.y+cn}}_getOverlayFit(Q,Ae,Qe,kt){const cn=Mt(Ae);let{x:mn,y:Jn}=Q,Ti=this._getOffset(kt,"x"),$i=this._getOffset(kt,"y");Ti&&(mn+=Ti),$i&&(Jn+=$i);let Ei=0-mn,ui=mn+cn.width-Qe.width,sr=0-Jn,pr=Jn+cn.height-Qe.height,Yn=this._subtractOverflows(cn.width,Ei,ui),Yt=this._subtractOverflows(cn.height,sr,pr),wn=Yn*Yt;return{visibleArea:wn,isCompletelyWithinViewport:cn.width*cn.height===wn,fitsInViewportVertically:Yt===cn.height,fitsInViewportHorizontally:Yn==cn.width}}_canFitWithFlexibleDimensions(Q,Ae,Qe){if(this._hasFlexibleDimensions){const kt=Qe.bottom-Ae.y,cn=Qe.right-Ae.x,mn=ze(this._overlayRef.getConfig().minHeight),Jn=ze(this._overlayRef.getConfig().minWidth),Ti=Q.fitsInViewportVertically||null!=mn&&mn<=kt,$i=Q.fitsInViewportHorizontally||null!=Jn&&Jn<=cn;return Ti&&$i}return!1}_pushOverlayOnScreen(Q,Ae,Qe){if(this._previousPushAmount&&this._positionLocked)return{x:Q.x+this._previousPushAmount.x,y:Q.y+this._previousPushAmount.y};const kt=Mt(Ae),cn=this._viewportRect,mn=Math.max(Q.x+kt.width-cn.width,0),Jn=Math.max(Q.y+kt.height-cn.height,0),Ti=Math.max(cn.top-Qe.top-Q.y,0),$i=Math.max(cn.left-Qe.left-Q.x,0);let Ei=0,ui=0;return Ei=kt.width<=cn.width?$i||-mn:Q.x<this._getViewportMarginStart()?cn.left-Qe.left-Q.x:0,ui=kt.height<=cn.height?Ti||-Jn:Q.y<this._getViewportMarginTop()?cn.top-Qe.top-Q.y:0,this._previousPushAmount={x:Ei,y:ui},{x:Q.x+Ei,y:Q.y+ui}}_applyPosition(Q,Ae){if(this._setTransformOrigin(Q),this._setOverlayElementStyles(Ae,Q),this._setBoundingBoxStyles(Ae,Q),Q.panelClass&&this._addPanelClasses(Q.panelClass),this._positionChanges.observers.length){const Qe=this._getScrollVisibility();if(Q!==this._lastPosition||!this._lastScrollVisibility||!function Pt(at,Q){return at===Q||at.isOriginClipped===Q.isOriginClipped&&at.isOriginOutsideView===Q.isOriginOutsideView&&at.isOverlayClipped===Q.isOverlayClipped&&at.isOverlayOutsideView===Q.isOverlayOutsideView}(this._lastScrollVisibility,Qe)){const kt=new he(Q,Qe);this._positionChanges.next(kt)}this._lastScrollVisibility=Qe}this._lastPosition=Q,this._isInitialRender=!1}_setTransformOrigin(Q){if(!this._transformOriginSelector)return;const Ae=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Qe,kt=Q.overlayY;Qe="center"===Q.overlayX?"center":this._isRtl()?"start"===Q.overlayX?"right":"left":"start"===Q.overlayX?"left":"right";for(let cn=0;cn<Ae.length;cn++)Ae[cn].style.transformOrigin=`${Qe} ${kt}`}_calculateBoundingBoxRect(Q,Ae){const Qe=this._viewportRect,kt=this._isRtl();let cn,mn,Jn;if("top"===Ae.overlayY)mn=Q.y,cn=Qe.height-mn+this._getViewportMarginBottom();else if("bottom"===Ae.overlayY)Jn=Qe.height-Q.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),cn=Qe.height-Jn+this._getViewportMarginTop();else{const pr=Math.min(Qe.bottom-Q.y+Qe.top,Q.y),Yn=this._lastBoundingBoxSize.height;cn=2*pr,mn=Q.y-pr,cn>Yn&&!this._isInitialRender&&!this._growAfterOpen&&(mn=Q.y-Yn/2)}const Ti="start"===Ae.overlayX&&!kt||"end"===Ae.overlayX&&kt;let Ei,ui,sr;if("end"===Ae.overlayX&&!kt||"start"===Ae.overlayX&&kt)sr=Qe.width-Q.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),Ei=Q.x-this._getViewportMarginStart();else if(Ti)ui=Q.x,Ei=Qe.right-Q.x-this._getViewportMarginEnd();else{const pr=Math.min(Qe.right-Q.x+Qe.left,Q.x),Yn=this._lastBoundingBoxSize.width;Ei=2*pr,ui=Q.x-pr,Ei>Yn&&!this._isInitialRender&&!this._growAfterOpen&&(ui=Q.x-Yn/2)}return{top:mn,left:ui,bottom:Jn,right:sr,width:Ei,height:cn}}_setBoundingBoxStyles(Q,Ae){const Qe=this._calculateBoundingBoxRect(Q,Ae);!this._isInitialRender&&!this._growAfterOpen&&(Qe.height=Math.min(Qe.height,this._lastBoundingBoxSize.height),Qe.width=Math.min(Qe.width,this._lastBoundingBoxSize.width));const kt={};if(this._hasExactPosition())kt.top=kt.left="0",kt.bottom=kt.right="auto",kt.maxHeight=kt.maxWidth="",kt.width=kt.height="100%";else{const cn=this._overlayRef.getConfig().maxHeight,mn=this._overlayRef.getConfig().maxWidth;kt.width=U(Qe.width),kt.height=U(Qe.height),kt.top=U(Qe.top)||"auto",kt.bottom=U(Qe.bottom)||"auto",kt.left=U(Qe.left)||"auto",kt.right=U(Qe.right)||"auto","center"===Ae.overlayX?kt.alignItems="center":kt.alignItems="end"===Ae.overlayX?"flex-end":"flex-start","center"===Ae.overlayY?kt.justifyContent="center":kt.justifyContent="bottom"===Ae.overlayY?"flex-end":"flex-start",cn&&(kt.maxHeight=U(cn)),mn&&(kt.maxWidth=U(mn))}this._lastBoundingBoxSize=Qe,Ht(this._boundingBox.style,kt)}_resetBoundingBoxStyles(){Ht(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ht(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Q,Ae){const Qe={},kt=this._hasExactPosition(),cn=this._hasFlexibleDimensions,mn=this._overlayRef.getConfig();if(kt){const Ei=this._viewportRuler.getViewportScrollPosition();Ht(Qe,this._getExactOverlayY(Ae,Q,Ei)),Ht(Qe,this._getExactOverlayX(Ae,Q,Ei))}else Qe.position="static";let Jn="",Ti=this._getOffset(Ae,"x"),$i=this._getOffset(Ae,"y");Ti&&(Jn+=`translateX(${Ti}px) `),$i&&(Jn+=`translateY(${$i}px)`),Qe.transform=Jn.trim(),mn.maxHeight&&(kt?Qe.maxHeight=U(mn.maxHeight):cn&&(Qe.maxHeight="")),mn.maxWidth&&(kt?Qe.maxWidth=U(mn.maxWidth):cn&&(Qe.maxWidth="")),Ht(this._pane.style,Qe)}_getExactOverlayY(Q,Ae,Qe){let kt={top:"",bottom:""},cn=this._getOverlayPoint(Ae,this._overlayRect,Q);if(this._isPushed&&(cn=this._pushOverlayOnScreen(cn,this._overlayRect,Qe)),"bottom"===Q.overlayY){const mn=this._document.documentElement.clientHeight;kt.bottom=mn-(cn.y+this._overlayRect.height)+"px"}else kt.top=U(cn.y);return kt}_getExactOverlayX(Q,Ae,Qe){let mn,kt={left:"",right:""},cn=this._getOverlayPoint(Ae,this._overlayRect,Q);if(this._isPushed&&(cn=this._pushOverlayOnScreen(cn,this._overlayRect,Qe)),mn=this._isRtl()?"end"===Q.overlayX?"left":"right":"end"===Q.overlayX?"right":"left","right"===mn){const Jn=this._document.documentElement.clientWidth;kt.right=Jn-(cn.x+this._overlayRect.width)+"px"}else kt.left=U(cn.x);return kt}_getScrollVisibility(){const Q=this._getOriginRect(),Ae=this._pane.getBoundingClientRect(),Qe=this._scrollables.map(kt=>kt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:We(Q,Qe),isOriginOutsideView:Tt(Q,Qe),isOverlayClipped:We(Ae,Qe),isOverlayOutsideView:Tt(Ae,Qe)}}_subtractOverflows(Q,...Ae){return Ae.reduce((Qe,kt)=>Qe-Math.max(kt,0),Q)}_getNarrowedViewportRect(){const Q=this._document.documentElement.clientWidth,Ae=this._document.documentElement.clientHeight,Qe=this._viewportRuler.getViewportScrollPosition();return{top:Qe.top+this._getViewportMarginTop(),left:Qe.left+this._getViewportMarginStart(),right:Qe.left+Q-this._getViewportMarginEnd(),bottom:Qe.top+Ae-this._getViewportMarginBottom(),width:Q-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:Ae-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Q,Ae){return"x"===Ae?null==Q.offsetX?this._offsetX:Q.offsetX:null==Q.offsetY?this._offsetY:Q.offsetY}_validatePositions(){}_addPanelClasses(Q){this._pane&&(0,J.F)(Q).forEach(Ae=>{""!==Ae&&-1===this._appliedPanelClasses.indexOf(Ae)&&(this._appliedPanelClasses.push(Ae),this._pane.classList.add(Ae))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Q=>{this._pane.classList.remove(Q)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){const Q=this._origin;if(Q instanceof m.aKT)return Q.nativeElement.getBoundingClientRect();if(Q instanceof Element)return Q.getBoundingClientRect();const Ae=Q.width||0,Qe=Q.height||0;return{top:Q.y,bottom:Q.y+Qe,left:Q.x,right:Q.x+Ae,height:Qe,width:Ae}}_getContainerRect(){const Q=this._overlayRef.getConfig().usePopover&&"global"!==this._popoverLocation,Ae=this._overlayContainer.getContainerElement();Q&&(Ae.style.display="block");const Qe=Ae.getBoundingClientRect();return Q&&(Ae.style.display=""),Qe}}function Ht(at,Q){for(let Ae in Q)Q.hasOwnProperty(Ae)&&(at[Ae]=Q[Ae]);return at}function ze(at){if("number"!=typeof at&&null!=at){const[Q,Ae]=at.split(rt);return Ae&&"px"!==Ae?null:parseFloat(Q)}return at||null}function Mt(at){return{top:Math.floor(at.top),right:Math.floor(at.right),bottom:Math.floor(at.bottom),left:Math.floor(at.left),width:Math.floor(at.width),height:Math.floor(at.height)}}const Lt="cdk-global-overlay-wrapper";function _e(at){return new Y}class Y{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(Q){const Ae=Q.getConfig();this._overlayRef=Q,this._width&&!Ae.width&&Q.updateSize({width:this._width}),this._height&&!Ae.height&&Q.updateSize({height:this._height}),Q.hostElement.classList.add(Lt),this._isDisposed=!1}top(Q=""){return this._bottomOffset="",this._topOffset=Q,this._alignItems="flex-start",this}left(Q=""){return this._xOffset=Q,this._xPosition="left",this}bottom(Q=""){return this._topOffset="",this._bottomOffset=Q,this._alignItems="flex-end",this}right(Q=""){return this._xOffset=Q,this._xPosition="right",this}start(Q=""){return this._xOffset=Q,this._xPosition="start",this}end(Q=""){return this._xOffset=Q,this._xPosition="end",this}width(Q=""){return this._overlayRef?this._overlayRef.updateSize({width:Q}):this._width=Q,this}height(Q=""){return this._overlayRef?this._overlayRef.updateSize({height:Q}):this._height=Q,this}centerHorizontally(Q=""){return this.left(Q),this._xPosition="center",this}centerVertically(Q=""){return this.top(Q),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Q=this._overlayRef.overlayElement.style,Ae=this._overlayRef.hostElement.style,Qe=this._overlayRef.getConfig(),{width:kt,height:cn,maxWidth:mn,maxHeight:Jn}=Qe,Ti=!("100%"!==kt&&"100vw"!==kt||mn&&"100%"!==mn&&"100vw"!==mn),$i=!("100%"!==cn&&"100vh"!==cn||Jn&&"100%"!==Jn&&"100vh"!==Jn),Ei=this._xPosition,ui=this._xOffset,sr="rtl"===this._overlayRef.getConfig().direction;let pr="",Yn="",Yt="";Ti?Yt="flex-start":"center"===Ei?(Yt="center",sr?Yn=ui:pr=ui):sr?"left"===Ei||"end"===Ei?(Yt="flex-end",pr=ui):("right"===Ei||"start"===Ei)&&(Yt="flex-start",Yn=ui):"left"===Ei||"start"===Ei?(Yt="flex-start",pr=ui):("right"===Ei||"end"===Ei)&&(Yt="flex-end",Yn=ui),Q.position=this._cssPosition,Q.marginLeft=Ti?"0":pr,Q.marginTop=$i?"0":this._topOffset,Q.marginBottom=this._bottomOffset,Q.marginRight=Ti?"0":Yn,Ae.justifyContent=Yt,Ae.alignItems=$i?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Q=this._overlayRef.overlayElement.style,Ae=this._overlayRef.hostElement,Qe=Ae.style;Ae.classList.remove(Lt),Qe.justifyContent=Qe.alignItems=Q.marginTop=Q.marginBottom=Q.marginLeft=Q.marginRight=Q.position="",this._overlayRef=null,this._isDisposed=!0}}class fe{_injector=(0,s.WQX)(s.zZn);global(){return _e()}flexibleConnectedTo(Q){return It(this._injector,Q)}static \u0275fac=function(Ae){return new(Ae||fe)};static \u0275prov=m.tV_({token:fe,factory:fe.\u0275fac})}const Et=new s.nKC("OVERLAY_DEFAULT_CONFIG");function Vt(at,Q){at.get(x.l).load(wt);const Ae=at.get(Jt),Qe=at.get(s.qQL),kt=at.get($.g),cn=at.get(m.o8S),mn=at.get(E.dS),Jn=at.get(m.sFG,null,{optional:!0})||at.get(m._9s).createRenderer(null,null),Ti=new Te(Q),$i=at.get(Et,null,{optional:!0})?.usePopover??!0;Ti.direction=Ti.direction||mn.value,Qe.body&&"showPopover"in Qe.body?Ti.usePopover=Q?.usePopover??$i:Ti.usePopover=!1;const Ei=Qe.createElement("div"),ui=Qe.createElement("div");Ei.id=kt.getId("cdk-overlay-"),Ei.classList.add("cdk-overlay-pane"),ui.appendChild(Ei),Ti.usePopover&&(ui.setAttribute("popover","manual"),ui.classList.add("cdk-overlay-popover"));const sr=Ti.usePopover?Ti.positionStrategy?.getPopoverInsertionPoint?.():null;return V(sr)?sr.after(ui):"parent"===sr?.type?sr.element.appendChild(ui):Ae.getContainerElement().appendChild(ui),new ue(new w.aI(Ei,cn,at),ui,Ei,Ti,at.get(s.SKi),at.get(G),Qe,at.get(P.aZ),at.get(Fe),Q?.disableAnimations??"NoopAnimations"===at.get(s.bc$,null,{optional:!0}),at.get(s.uvJ),Jn)}class ln{scrollStrategies=(0,s.WQX)(xe);_positionBuilder=(0,s.WQX)(fe);_injector=(0,s.WQX)(s.zZn);create(Q){return Vt(this._injector,Q)}position(){return this._positionBuilder}static \u0275fac=function(Ae){return new(Ae||ln)};static \u0275prov=m.tV_({token:ln,factory:ln.\u0275fac})}const fn=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],je=new s.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const at=(0,s.WQX)(s.zZn);return()=>Me(at)}});class _t{elementRef=(0,s.WQX)(m.aKT);static \u0275fac=function(Ae){return new(Ae||_t)};static \u0275dir=m.FsC({type:_t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}const ht=new s.nKC("cdk-connected-overlay-default-config");class lt{_dir=(0,s.WQX)(E.dS,{optional:!0});_injector=(0,s.WQX)(s.zZn);_overlayRef;_templatePortal;_backdropSubscription=M.yU.EMPTY;_attachSubscription=M.yU.EMPTY;_detachSubscription=M.yU.EMPTY;_positionSubscription=M.yU.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=(0,s.WQX)(je);_ngZone=(0,s.WQX)(s.SKi);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(Q){this._offsetX=Q,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Q){this._offsetY=Q,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;disposeOnNavigation=!1;usePopover;matchWidth=!1;set _config(Q){"string"!=typeof Q&&this._assignConfig(Q)}backdropClick=new s.bkB;positionChange=new s.bkB;attach=new s.bkB;detach=new s.bkB;overlayKeydown=new s.bkB;overlayOutsideClick=new s.bkB;constructor(){const Q=(0,s.WQX)(m.C4Q),Ae=(0,s.WQX)(m.c1b),Qe=(0,s.WQX)(ht,{optional:!0}),kt=(0,s.WQX)(Et,{optional:!0});this.usePopover=!1===kt?.usePopover?null:"global",this._templatePortal=new w.VA(Q,Ae),this.scrollStrategy=this._scrollStrategyFactory(),Qe&&this._assignConfig(Qe)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(Q){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Q.origin&&this.open&&this._position.apply()),Q.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=fn);const Q=this._overlayRef=Vt(this._injector,this._buildConfig());this._attachSubscription=Q.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Q.detachments().subscribe(()=>this.detach.emit()),Q.keydownEvents().subscribe(Ae=>{this.overlayKeydown.next(Ae),27===Ae.keyCode&&!this.disableClose&&!(0,O.rp)(Ae)&&(Ae.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Ae=>{const Qe=this._getOriginElement(),kt=(0,y.Fb)(Ae);(!Qe||Qe!==kt&&!Qe.contains(kt))&&this.overlayOutsideClick.next(Ae)})}_buildConfig(){const Q=this._position=this.positionStrategy||this._createPositionStrategy(),Ae=new Te({direction:this._dir||"ltr",positionStrategy:Q,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||0===this.height)&&(Ae.height=this.height),(this.minWidth||0===this.minWidth)&&(Ae.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Ae.minHeight=this.minHeight),this.backdropClass&&(Ae.backdropClass=this.backdropClass),this.panelClass&&(Ae.panelClass=this.panelClass),Ae}_updatePositionStrategy(Q){const Ae=this.positions.map(Qe=>({originX:Qe.originX,originY:Qe.originY,overlayX:Qe.overlayX,overlayY:Qe.overlayY,offsetX:Qe.offsetX||this.offsetX,offsetY:Qe.offsetY||this.offsetY,panelClass:Qe.panelClass||void 0}));return Q.setOrigin(this._getOrigin()).withPositions(Ae).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(null===this.usePopover?"global":this.usePopover)}_createPositionStrategy(){const Q=It(this._injector,this._getOrigin());return this._updatePositionStrategy(Q),Q}_getOrigin(){return this.origin instanceof _t?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof _t?this.origin.elementRef.nativeElement:this.origin instanceof m.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();const Q=this._overlayRef;Q.getConfig().hasBackdrop=this.hasBackdrop,Q.updateSize({width:this._getWidth()}),Q.hasAttached()||Q.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=Q.backdropClick().subscribe(Ae=>this.backdropClick.emit(Ae)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function F(at,Q=!1){return(0,R.N)((Ae,Qe)=>{let kt=0;Ae.subscribe((0,B._)(Qe,cn=>{const mn=at(cn,kt++);(mn||Q)&&Qe.next(cn),!mn&&Qe.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(Ae=>{this._ngZone.run(()=>this.positionChange.emit(Ae)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(Q){this.origin=Q.origin??this.origin,this.positions=Q.positions??this.positions,this.positionStrategy=Q.positionStrategy??this.positionStrategy,this.offsetX=Q.offsetX??this.offsetX,this.offsetY=Q.offsetY??this.offsetY,this.width=Q.width??this.width,this.height=Q.height??this.height,this.minWidth=Q.minWidth??this.minWidth,this.minHeight=Q.minHeight??this.minHeight,this.backdropClass=Q.backdropClass??this.backdropClass,this.panelClass=Q.panelClass??this.panelClass,this.viewportMargin=Q.viewportMargin??this.viewportMargin,this.scrollStrategy=Q.scrollStrategy??this.scrollStrategy,this.disableClose=Q.disableClose??this.disableClose,this.transformOriginSelector=Q.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=Q.hasBackdrop??this.hasBackdrop,this.lockPosition=Q.lockPosition??this.lockPosition,this.flexibleDimensions=Q.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=Q.growAfterOpen??this.growAfterOpen,this.push=Q.push??this.push,this.disposeOnNavigation=Q.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=Q.usePopover??this.usePopover,this.matchWidth=Q.matchWidth??this.matchWidth}static \u0275fac=function(Ae){return new(Ae||lt)};static \u0275dir=m.FsC({type:lt,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",f.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",f.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",f.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",f.L39],push:[2,"cdkConnectedOverlayPush","push",f.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",f.L39],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",f.L39],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[m.OA$]})}class Oe{static \u0275fac=function(Ae){return new(Ae||Oe)};static \u0275mod=m.$C({type:Oe,imports:[Z.jI,w.jc,I.E9,lt,_t],exports:[lt,_t,I.E9]});static \u0275inj=s.G2t({providers:[ln],imports:[Z.jI,w.jc,I.E9,I.E9]})}},3290(st,pe,h){"use strict";let m;function f(P){return function s(){if(null==m&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>m=!0}))}finally{m=m||!1}return m}()?P:!!P.capture}h.d(pe,{B:()=>f})},36574(st,pe,h){"use strict";h.d(pe,{O:()=>D});var m=h(70903),s=h(28939),f=h(87514);let P;try{P=typeof Intl<"u"&&Intl.v8BreakIterator}catch{P=!1}class D{_platformId=(0,s.WQX)(s.Agw);isBrowser=this._platformId?(0,f.UE)(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!P)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;static \u0275fac=function(x){return new(x||D)};static \u0275prov=m.tV_({token:D,factory:D.\u0275fac})}},2845(st,pe,h){"use strict";h.d(pe,{DQ:()=>y,Q3:()=>D,hx:()=>P});var D,b,m=h(79781),s=h(47086),f=h(52247);class P extends f.q{_data;constructor(x){super(),this._data=x}connect(){return(0,m.A)(this._data)?this._data:(0,s.of)(this._data)}disconnect(){}}(b=D||(D={}))[b.REPLACED=0]="REPLACED",b[b.INSERTED=1]="INSERTED",b[b.MOVED=2]="MOVED",b[b.REMOVED=3]="REMOVED";class y{viewCacheSize=20;_viewCache=[];applyChanges(x,N,M,U,J){x.forEachOperation((I,T,C)=>{let R,B;if(null==I.previousIndex){const F=()=>M(I,T,C);R=this._insertView(F,C,N,U(I)),B=R?D.INSERTED:D.REPLACED}else null==C?(this._detachAndCacheView(T,N),B=D.REMOVED):(R=this._moveView(T,C,N,U(I)),B=D.MOVED);J&&J({context:R?.context,operation:B,record:I})})}detach(){for(const x of this._viewCache)x.destroy();this._viewCache=[]}_insertView(x,N,M,U){const J=this._insertViewFromCache(N,M);if(J)return void(J.context.$implicit=U);const I=x();return M.createEmbeddedView(I.templateRef,I.context,I.index)}_detachAndCacheView(x,N){const M=N.detach(x);this._maybeCacheView(M,N)}_moveView(x,N,M,U){const J=M.get(x);return M.move(J,N),J.context.$implicit=U,J}_maybeCacheView(x,N){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(x);else{const M=N.indexOf(x);-1===M?x.destroy():N.remove(M)}}_insertViewFromCache(x,N){const M=this._viewCache.pop();return M&&N.insert(M,x),M||null}}},30428(st,pe,h){"use strict";var m,y;let s,f;function P(){if(null==f){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return f=!1,f;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)f=!0;else{const y=Element.prototype.scrollTo;f=!!y&&!/\{\s*\[native code\]\s*\}/.test(y.toString())}}return f}function D(){if("object"!=typeof document||!document)return m.NORMAL;if(null==s){const y=document.createElement("div"),b=y.style;y.dir="rtl",b.width="1px",b.overflow="auto",b.visibility="hidden",b.pointerEvents="none",b.position="absolute";const x=document.createElement("div"),N=x.style;N.width="2px",N.height="1px",y.appendChild(x),document.body.appendChild(y),s=m.NORMAL,0===y.scrollLeft&&(y.scrollLeft=1,s=0===y.scrollLeft?m.NEGATED:m.INVERTED),y.remove()}return s}h.d(pe,{BD:()=>D,CZ:()=>P,r5:()=>m}),(y=m||(m={}))[y.NORMAL=0]="NORMAL",y[y.NEGATED=1]="NEGATED",y[y.INVERTED=2]="INVERTED"},53724(st,pe,h){"use strict";let m;function f(y){if(function s(){if(null==m){const y=typeof document<"u"?document.head:null;m=!(!y||!y.createShadowRoot&&!y.attachShadow)}return m}()){const b=y.getRootNode?y.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&b instanceof ShadowRoot)return b}return null}function P(){let y=typeof document<"u"&&document?document.activeElement:null;for(;y&&y.shadowRoot;){const b=y.shadowRoot.activeElement;if(b===y)break;y=b}return y}function D(y){if(y.composedPath)try{return y.composedPath()[0]}catch{}return y.target}h.d(pe,{Fb:()=>D,KT:()=>f,vc:()=>P})},35482(st,pe,h){"use strict";h.d(pe,{l:()=>D});var m=h(70903),s=h(39962),f=h(28939);const P=new WeakMap;class D{_appRef;_injector=(0,f.WQX)(f.zZn);_environmentInjector=(0,f.WQX)(f.uvJ);load(b){const x=this._appRef=this._appRef||this._injector.get(m.o8S);let N=P.get(x);N||(N={loaders:new Set,refs:[]},P.set(x,N),x.onDestroy(()=>{P.get(x)?.refs.forEach(M=>M.destroy()),P.delete(x)})),N.loaders.has(b)||(N.loaders.add(b),N.refs.push((0,s.a0P)(b,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(x){return new(x||D)};static \u0275prov=m.tV_({token:D,factory:D.\u0275fac})}},87728(st,pe,h){"use strict";h.d(pe,{vr:()=>R});var f=h(83896),P=h(70903),D=h(28939),y=h(36574),b=h(35482),x=h(6217);function J(j,te){return j.getAttribute(te)?.match(/\S+/g)??[]}const I="cdk-describedby-message",T="cdk-describedby-host";let C=0;class R{_platform=(0,D.WQX)(y.O);_document=(0,D.WQX)(D.qQL);_messageRegistry=new Map;_messagesContainer=null;_id=""+C++;constructor(){(0,D.WQX)(b.l).load(x.Yc),this._id=(0,D.WQX)(D.sZ2)+"-"+C++}describe(te,ce,ye){if(!this._canBeDescribed(te,ce))return;const Le=B(ce,ye);"string"!=typeof ce?(F(ce,this._id),this._messageRegistry.set(Le,{messageElement:ce,referenceCount:0})):this._messageRegistry.has(Le)||this._createMessageElement(ce,ye),this._isElementDescribedByMessage(te,Le)||this._addMessageReference(te,Le)}removeDescription(te,ce,ye){if(!ce||!this._isElementNode(te))return;const Le=B(ce,ye);if(this._isElementDescribedByMessage(te,Le)&&this._removeMessageReference(te,Le),"string"==typeof ce){const $e=this._messageRegistry.get(Le);$e&&0===$e.referenceCount&&this._deleteMessageElement(Le)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const te=this._document.querySelectorAll(`[${T}="${this._id}"]`);for(let ce=0;ce<te.length;ce++)this._removeCdkDescribedByReferenceIds(te[ce]),te[ce].removeAttribute(T);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(te,ce){const ye=this._document.createElement("div");F(ye,this._id),ye.textContent=te,ce&&ye.setAttribute("role",ce),this._createMessagesContainer(),this._messagesContainer.appendChild(ye),this._messageRegistry.set(B(te,ce),{messageElement:ye,referenceCount:0})}_deleteMessageElement(te){this._messageRegistry.get(te)?.messageElement?.remove(),this._messageRegistry.delete(te)}_createMessagesContainer(){if(this._messagesContainer)return;const te="cdk-describedby-message-container",ce=this._document.querySelectorAll(`.${te}[platform="server"]`);for(let Le=0;Le<ce.length;Le++)ce[Le].remove();const ye=this._document.createElement("div");ye.style.visibility="hidden",ye.classList.add(te),ye.classList.add("cdk-visually-hidden"),this._platform.isBrowser||ye.setAttribute("platform","server"),this._document.body.appendChild(ye),this._messagesContainer=ye}_removeCdkDescribedByReferenceIds(te){const ce=J(te,"aria-describedby").filter(ye=>0!=ye.indexOf(I));te.setAttribute("aria-describedby",ce.join(" "))}_addMessageReference(te,ce){const ye=this._messageRegistry.get(ce);(function M(j,te,ce){const ye=J(j,te);ce=ce.trim(),!ye.some(Le=>Le.trim()===ce)&&(ye.push(ce),j.setAttribute(te,ye.join(" ")))})(te,"aria-describedby",ye.messageElement.id),te.setAttribute(T,this._id),ye.referenceCount++}_removeMessageReference(te,ce){const ye=this._messageRegistry.get(ce);ye.referenceCount--,function U(j,te,ce){const ye=J(j,te);ce=ce.trim();const Le=ye.filter($e=>$e!==ce);Le.length?j.setAttribute(te,Le.join(" ")):j.removeAttribute(te)}(te,"aria-describedby",ye.messageElement.id),te.removeAttribute(T)}_isElementDescribedByMessage(te,ce){const ye=J(te,"aria-describedby"),Le=this._messageRegistry.get(ce),$e=Le&&Le.messageElement.id;return!!$e&&-1!=ye.indexOf($e)}_canBeDescribed(te,ce){if(!this._isElementNode(te))return!1;if(ce&&"object"==typeof ce)return!0;const ye=null==ce?"":`${ce}`.trim(),Le=te.getAttribute("aria-label");return!!ye&&(!Le||Le.trim()!==ye)}_isElementNode(te){return te.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(ce){return new(ce||R)};static \u0275prov=P.tV_({token:R,factory:R.\u0275fac})}function B(j,te){return"string"==typeof j?`${te||""}/${j}`:j}function F(j,te){j.id||(j.id=`${I}-${te}-${C++}`)}class w extends f.sp{_focusTrapManager;_inertStrategy;get enabled(){return this._enabled}set enabled(te){this._enabled=te,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}constructor(te,ce,ye,Le,$e,Tt,We,Me){super(te,ce,ye,Le,We.defer,Me),this._focusTrapManager=$e,this._inertStrategy=Tt,this._focusTrapManager.register(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}}class O{_listener=null;preventFocus(te){this._listener&&te._document.removeEventListener("focus",this._listener,!0),this._listener=ce=>this._trapFocus(te,ce),te._ngZone.runOutsideAngular(()=>{te._document.addEventListener("focus",this._listener,!0)})}allowFocus(te){this._listener&&(te._document.removeEventListener("focus",this._listener,!0),this._listener=null)}_trapFocus(te,ce){const ye=ce.target,Le=te._element;ye&&!Le.contains(ye)&&!ye.closest?.("div.cdk-overlay-pane")&&setTimeout(()=>{te.enabled&&!Le.contains(te._document.activeElement)&&te.focusFirstTabbableElement()})}}const Z=new D.nKC("FOCUS_TRAP_INERT_STRATEGY");class Ee{_focusTrapStack=[];register(te){this._focusTrapStack=this._focusTrapStack.filter(ye=>ye!==te);let ce=this._focusTrapStack;ce.length&&ce[ce.length-1]._disable(),ce.push(te),te._enable()}deregister(te){te._disable();const ce=this._focusTrapStack,ye=ce.indexOf(te);-1!==ye&&(ce.splice(ye,1),ce.length&&ce[ce.length-1]._enable())}static \u0275fac=function(ce){return new(ce||Ee)};static \u0275prov=P.tV_({token:Ee,factory:Ee.\u0275fac})}class oe{_checker=(0,D.WQX)(f.Z7);_ngZone=(0,D.WQX)(D.SKi);_focusTrapManager=(0,D.WQX)(Ee);_document=(0,D.WQX)(D.qQL);_inertStrategy;_injector=(0,D.WQX)(D.zZn);constructor(){const te=(0,D.WQX)(Z,{optional:!0});this._inertStrategy=te||new O}create(te,ce={defer:!1}){return new w(te,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,ce,this._injector)}static \u0275fac=function(ce){return new(ce||oe)};static \u0275prov=P.tV_({token:oe,factory:oe.\u0275fac})}},35886(st,pe,h){"use strict";h.d(pe,{jI:()=>D});var m=h(28939),s=h(70903),f=h(40271);class P{_isInitialized=!1;_rawDir="";change=new m.bkB;get dir(){return this.valueSignal()}set dir(b){const x=this.valueSignal();this.valueSignal.set((0,f._j)(b)),this._rawDir=b,x!==this.valueSignal()&&this._isInitialized&&this.change.emit(this.valueSignal())}get value(){return this.dir}valueSignal=(0,m.vPA)("ltr");ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}static \u0275fac=function(x){return new(x||P)};static \u0275dir=s.FsC({type:P,selectors:[["","dir",""]],hostVars:1,hostBindings:function(x,N){2&x&&s.BMQ("dir",N._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[s.Jv_([{provide:f.dS,useExisting:P}])]})}class D{static \u0275fac=function(x){return new(x||D)};static \u0275mod=s.$C({type:D,imports:[P],exports:[P]});static \u0275inj=m.G2t({})}},75952(st,pe,h){"use strict";function m(f){return null!=f&&"false"!=`${f}`}h.d(pe,{he:()=>m})},40401(st,pe,h){"use strict";function m(s,...f){return f.length?f.some(P=>s[P]):s.altKey||s.shiftKey||s.ctrlKey||s.metaKey}h.d(pe,{rp:()=>m})},71581(st,pe,h){"use strict";h.d(pe,{io:()=>J,w5:()=>T});var m=h(28939),s=h(70903),f=h(39962),P=h(75536),D=h(55919),y=h(5241),b=h(84833),x=h(65229),N=h(48193);class U{create(R){return typeof MutationObserver>"u"?null:new MutationObserver(R)}static \u0275fac=function(B){return new(B||U)};static \u0275prov=s.tV_({token:U,factory:U.\u0275fac})}class J{_mutationObserverFactory=(0,m.WQX)(U);_observedElements=new Map;_ngZone=(0,m.WQX)(m.SKi);ngOnDestroy(){this._observedElements.forEach((R,B)=>this._cleanupObserver(B))}observe(R){const B=(0,N.i8)(R);return new P.c(F=>{const E=this._observeElement(B).pipe((0,x.T)(w=>w.filter(O=>!function M(C){if("characterData"===C.type&&C.target instanceof Comment)return!0;if("childList"===C.type){for(let R=0;R<C.addedNodes.length;R++)if(!(C.addedNodes[R]instanceof Comment))return!1;for(let R=0;R<C.removedNodes.length;R++)if(!(C.removedNodes[R]instanceof Comment))return!1;return!0}return!1}(O))),(0,b.p)(w=>!!w.length)).subscribe(w=>{this._ngZone.run(()=>{F.next(w)})});return()=>{E.unsubscribe(),this._unobserveElement(B)}})}_observeElement(R){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(R))this._observedElements.get(R).count++;else{const B=new D.B,F=this._mutationObserverFactory.create($=>B.next($));F&&F.observe(R,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(R,{observer:F,stream:B,count:1})}return this._observedElements.get(R).stream})}_unobserveElement(R){this._observedElements.has(R)&&(this._observedElements.get(R).count--,this._observedElements.get(R).count||this._cleanupObserver(R))}_cleanupObserver(R){if(this._observedElements.has(R)){const{observer:B,stream:F}=this._observedElements.get(R);B&&B.disconnect(),F.complete(),this._observedElements.delete(R)}}static \u0275fac=function(B){return new(B||J)};static \u0275prov=s.tV_({token:J,factory:J.\u0275fac})}class I{_contentObserver=(0,m.WQX)(J);_elementRef=(0,m.WQX)(s.aKT);event=new m.bkB;get disabled(){return this._disabled}set disabled(R){this._disabled=R,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(R){this._debounce=(0,N.OE)(R),this._subscribe()}_debounce;_currentSubscription=null;ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const R=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?R.pipe((0,y.B)(this.debounce)):R).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(B){return new(B||I)};static \u0275dir=s.FsC({type:I,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",f.L39],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}class T{static \u0275fac=function(B){return new(B||T)};static \u0275mod=s.$C({type:T,imports:[I],exports:[I]});static \u0275inj=m.G2t({providers:[U]})}},11874(st,pe,h){"use strict";h.d(pe,{A8:()=>U,I3:()=>B,VA:()=>J,aI:()=>C,jc:()=>F,lb:()=>T});var m=h(28939),s=h(70903),f=h(39962);class M{_attachedHost=null;attach(E){return this._attachedHost=E,E.attach(this)}detach(){let E=this._attachedHost;null!=E&&(this._attachedHost=null,E.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(E){this._attachedHost=E}}class U extends M{component;viewContainerRef;injector;projectableNodes;bindings;directives;constructor(E,w,O,Z,Ee,oe){super(),this.component=E,this.viewContainerRef=w,this.injector=O,this.projectableNodes=Z,this.bindings=Ee||null,this.directives=oe||null}}class J extends M{templateRef;viewContainerRef;context;injector;constructor(E,w,O,Z){super(),this.templateRef=E,this.viewContainerRef=w,this.context=O,this.injector=Z}get origin(){return this.templateRef.elementRef}attach(E,w=this.context){return this.context=w,super.attach(E)}detach(){return this.context=void 0,super.detach()}}class I extends M{element;constructor(E){super(),this.element=E instanceof s.aKT?E.nativeElement:E}}class T{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(E){return E instanceof U?(this._attachedPortal=E,this.attachComponentPortal(E)):E instanceof J?(this._attachedPortal=E,this.attachTemplatePortal(E)):this.attachDomPortal&&E instanceof I?(this._attachedPortal=E,this.attachDomPortal(E)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(E){this._disposeFn=E}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class C extends T{outletElement;_appRef;_defaultInjector;constructor(E,w,O){super(),this.outletElement=E,this._appRef=w,this._defaultInjector=O}attachComponentPortal(E){let w;if(E.viewContainerRef){const O=E.injector||E.viewContainerRef.injector,Z=O.get(s.Ab1,null,{optional:!0})||void 0;w=E.viewContainerRef.createComponent(E.component,{index:E.viewContainerRef.length,injector:O,ngModuleRef:Z,projectableNodes:E.projectableNodes||void 0,bindings:E.bindings||void 0,directives:E.directives||void 0}),this.setDisposeFn(()=>w.destroy())}else{const O=this._appRef,Z=E.injector||this._defaultInjector||m.zZn.NULL,Ee=Z.get(m.uvJ,O.injector);w=(0,f.a0P)(E.component,{elementInjector:Z,environmentInjector:Ee,projectableNodes:E.projectableNodes||void 0,bindings:E.bindings||void 0,directives:E.directives||void 0}),O.attachView(w.hostView),this.setDisposeFn(()=>{O.viewCount>0&&O.detachView(w.hostView),w.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(w)),this._attachedPortal=E,w}attachTemplatePortal(E){let w=E.viewContainerRef,O=w.createEmbeddedView(E.templateRef,E.context,{injector:E.injector});return O.rootNodes.forEach(Z=>this.outletElement.appendChild(Z)),O.detectChanges(),this.setDisposeFn(()=>{let Z=w.indexOf(O);-1!==Z&&w.remove(Z)}),this._attachedPortal=E,O}attachDomPortal=E=>{const w=E.element;w.parentNode;const O=this.outletElement.ownerDocument.createComment("dom-portal");w.parentNode.insertBefore(O,w),this.outletElement.appendChild(w),this._attachedPortal=E,super.setDisposeFn(()=>{O.parentNode&&O.parentNode.replaceChild(w,O)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(E){return E.hostView.rootNodes[0]}}class R extends J{constructor(){super((0,m.WQX)(s.C4Q),(0,m.WQX)(s.c1b))}static \u0275fac=function(w){return new(w||R)};static \u0275dir=s.FsC({type:R,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[s.Vt3]})}class B extends T{_moduleRef=(0,m.WQX)(s.Ab1,{optional:!0});_document=(0,m.WQX)(m.qQL);_viewContainerRef=(0,m.WQX)(s.c1b);_isInitialized=!1;_attachedRef=null;get portal(){return this._attachedPortal}set portal(E){this.hasAttached()&&!E&&!this._isInitialized||(this.hasAttached()&&super.detach(),E&&super.attach(E),this._attachedPortal=E||null)}attached=new m.bkB;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(E){E.setAttachedHost(this);const w=null!=E.viewContainerRef?E.viewContainerRef:this._viewContainerRef,O=w.createComponent(E.component,{index:w.length,injector:E.injector||w.injector,projectableNodes:E.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:E.bindings||void 0,directives:E.directives||void 0});return w!==this._viewContainerRef&&this._getRootNode().appendChild(O.hostView.rootNodes[0]),super.setDisposeFn(()=>O.destroy()),this._attachedPortal=E,this._attachedRef=O,this.attached.emit(O),O}attachTemplatePortal(E){E.setAttachedHost(this);const w=this._viewContainerRef.createEmbeddedView(E.templateRef,E.context,{injector:E.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=E,this._attachedRef=w,this.attached.emit(w),w}attachDomPortal=E=>{const w=E.element;w.parentNode;const O=this._document.createComment("dom-portal");E.setAttachedHost(this),w.parentNode.insertBefore(O,w),this._getRootNode().appendChild(w),this._attachedPortal=E,super.setDisposeFn(()=>{O.parentNode&&O.parentNode.replaceChild(w,O)})};_getRootNode(){const E=this._viewContainerRef.element.nativeElement;return E.nodeType===E.ELEMENT_NODE?E:E.parentNode}static \u0275fac=(()=>{let E;return function(O){return(E||(E=s.xGo(B)))(O||B)}})();static \u0275dir=s.FsC({type:B,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[s.Vt3]})}class F{static \u0275fac=function(w){return new(w||F)};static \u0275mod=s.$C({type:F,imports:[R,B],exports:[R,B]});static \u0275inj=m.G2t({})}},6217(st,pe,h){"use strict";h.d(pe,{Mv:()=>y,Yc:()=>f,Z9:()=>b});var m=h(70903),s=h(28939);class f{static \u0275fac=function(M){return new(M||f)};static \u0275cmp=m.VBU({type:f,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(M,U){},styles:[".cdk-visually-hidden {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n white-space: nowrap;\n outline: 0;\n -webkit-appearance: none;\n -moz-appearance: none;\n left: 0;\n}\n[dir=rtl] .cdk-visually-hidden {\n left: auto;\n right: 0;\n}\n"],encapsulation:2})}let P;function y(x){return function D(){if(void 0===P&&(P=null,typeof window<"u")){const x=window;if(void 0!==x.trustedTypes)try{P=x.trustedTypes.createPolicy("angular#components",{createHTML:N=>N})}catch(N){console.error(N)}}return P}()?.createHTML(x)||x}function b(x,N,M){const U=M.sanitize(s.WPN.HTML,N);x.innerHTML=y(U||"")}},32445(st,pe,h){"use strict";h.d(pe,{E9:()=>ee,Gj:()=>Jt,R:()=>Me,Xj:()=>Te,uv:()=>ut});var m=h(28939),s=h(70903),f=h(39962),P=h(10286),D=h(75536),y=h(55919),b=h(11773),x=h(52518),N=h(23054),M=h(79781),U=h(47086),J=h(36057),I=h(52191),T=h(84833),C=h(89207),R=h(98455),B=h(29927),F=h(34369),$=h(72818),E=h(36574),w=h(48193),O=h(40271),Z=h(30428),Ee=h(2845),oe=h(52247),j=h(35886);const te=["contentWrapper"],ce=["*"],ye=new m.nKC("VIRTUAL_SCROLL_STRATEGY");class Le{_scrolledIndexChange=new y.B;scrolledIndexChange=this._scrolledIndexChange.pipe((0,I.F)());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(ue,De,rt){this._itemSize=ue,this._minBufferPx=De,this._maxBufferPx=rt}attach(ue){this._viewport=ue,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(ue,De,rt){this._itemSize=ue,this._minBufferPx=De,this._maxBufferPx=rt,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(ue,De){this._viewport&&this._viewport.scrollToOffset(ue*this._itemSize,De)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const ue=this._viewport.getRenderedRange(),De={start:ue.start,end:ue.end},rt=this._viewport.getViewportSize(),It=this._viewport.getDataLength();let Kt=this._viewport.measureScrollOffset(),Ht=this._itemSize>0?Kt/this._itemSize:0;if(De.end>It){const Mt=Math.ceil(rt/this._itemSize),Pt=Math.max(0,Math.min(Ht,It-Mt));Ht!=Pt&&(Ht=Pt,Kt=Pt*this._itemSize,De.start=Math.floor(Ht)),De.end=Math.max(0,Math.min(It,De.start+Mt))}const ze=Kt-De.start*this._itemSize;if(ze<this._minBufferPx&&0!=De.start){const Mt=Math.ceil((this._maxBufferPx-ze)/this._itemSize);De.start=Math.max(0,De.start-Mt),De.end=Math.min(It,Math.ceil(Ht+(rt+this._minBufferPx)/this._itemSize))}else{const Mt=De.end*this._itemSize-(Kt+rt);if(Mt<this._minBufferPx&&De.end!=It){const Pt=Math.ceil((this._maxBufferPx-Mt)/this._itemSize);Pt>0&&(De.end=Math.min(It,De.end+Pt),De.start=Math.max(0,Math.floor(Ht-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(De),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*De.start)),this._scrolledIndexChange.next(Math.floor(Ht))}}function $e(V){return V._scrollStrategy}class Tt{get itemSize(){return this._itemSize}set itemSize(ue){this._itemSize=(0,w.OE)(ue)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(ue){this._minBufferPx=(0,w.OE)(ue)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(ue){this._maxBufferPx=(0,w.OE)(ue)}_maxBufferPx=200;_scrollStrategy=new Le(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(De){return new(De||Tt)};static \u0275dir=s.FsC({type:Tt,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[s.Jv_([{provide:ye,useFactory:$e,deps:[(0,m.Rfq)(()=>Tt)]}]),s.OA$]})}class Me{_ngZone=(0,m.WQX)(m.SKi);_platform=(0,m.WQX)(E.O);_renderer=(0,m.WQX)(s._9s).createRenderer(null,null);_cleanupGlobalListener;_scrolled=new y.B;_scrolledCount=0;scrollContainers=new Map;register(ue){this.scrollContainers.has(ue)||this.scrollContainers.set(ue,ue.elementScrolled().subscribe(()=>this._scrolled.next(ue)))}deregister(ue){const De=this.scrollContainers.get(ue);De&&(De.unsubscribe(),this.scrollContainers.delete(ue))}scrolled(ue=20){return this._platform.isBrowser?new D.c(De=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const rt=ue>0?this._scrolled.pipe((0,J.Z)(ue)).subscribe(De):this._scrolled.subscribe(De);return this._scrolledCount++,()=>{rt.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):(0,U.of)()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((ue,De)=>this.deregister(De)),this._scrolled.complete()}ancestorScrolled(ue,De){const rt=this.getAncestorScrollContainers(ue);return this.scrolled(De).pipe((0,T.p)(It=>!It||rt.indexOf(It)>-1))}getAncestorScrollContainers(ue){const De=[];return this.scrollContainers.forEach((rt,It)=>{this._targetContainsElement(It,ue)&&De.push(It)}),De}_targetContainsElement(ue,De){let rt=(0,w.i8)(De),It=ue.getElementRef().nativeElement;do{if(rt==It)return!0}while(rt=rt.parentElement);return!1}static \u0275fac=function(De){return new(De||Me)};static \u0275prov=s.tV_({token:Me,factory:Me.\u0275fac})}class ut{elementRef=(0,m.WQX)(s.aKT);scrollDispatcher=(0,m.WQX)(Me);ngZone=(0,m.WQX)(m.SKi);dir=(0,m.WQX)(O.dS,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new y.B;_renderer=(0,m.WQX)(s.sFG);_cleanupScroll;_elementScrolled=new y.B;ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",ue=>this._elementScrolled.next(ue))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(ue){const De=this.elementRef.nativeElement,rt=this.dir&&"rtl"==this.dir.value;null==ue.left&&(ue.left=rt?ue.end:ue.start),null==ue.right&&(ue.right=rt?ue.start:ue.end),null!=ue.bottom&&(ue.top=De.scrollHeight-De.clientHeight-ue.bottom),rt&&(0,Z.BD)()!=Z.r5.NORMAL?(null!=ue.left&&(ue.right=De.scrollWidth-De.clientWidth-ue.left),(0,Z.BD)()==Z.r5.INVERTED?ue.left=ue.right:(0,Z.BD)()==Z.r5.NEGATED&&(ue.left=ue.right?-ue.right:ue.right)):null!=ue.right&&(ue.left=De.scrollWidth-De.clientWidth-ue.right),this._applyScrollToOptions(ue)}_applyScrollToOptions(ue){const De=this.elementRef.nativeElement;(0,Z.CZ)()?De.scrollTo(ue):(null!=ue.top&&(De.scrollTop=ue.top),null!=ue.left&&(De.scrollLeft=ue.left))}measureScrollOffset(ue){const De="left",It=this.elementRef.nativeElement;if("top"==ue)return It.scrollTop;if("bottom"==ue)return It.scrollHeight-It.clientHeight-It.scrollTop;const Kt=this.dir&&"rtl"==this.dir.value;return"start"==ue?ue=Kt?"right":De:"end"==ue&&(ue=Kt?De:"right"),Kt&&(0,Z.BD)()==Z.r5.INVERTED?ue==De?It.scrollWidth-It.clientWidth-It.scrollLeft:It.scrollLeft:Kt&&(0,Z.BD)()==Z.r5.NEGATED?ue==De?It.scrollLeft+It.scrollWidth-It.clientWidth:-It.scrollLeft:ue==De?It.scrollLeft:It.scrollWidth-It.clientWidth-It.scrollLeft}static \u0275fac=function(De){return new(De||ut)};static \u0275dir=s.FsC({type:ut,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}class Te{_platform=(0,m.WQX)(E.O);_listeners;_viewportSize=null;_change=new y.B;_document=(0,m.WQX)(m.qQL);constructor(){const ue=(0,m.WQX)(m.SKi),De=(0,m.WQX)(s._9s).createRenderer(null,null);ue.runOutsideAngular(()=>{if(this._platform.isBrowser){const rt=It=>this._change.next(It);this._listeners=[De.listen("window","resize",rt),De.listen("window","orientationchange",rt)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(ue=>ue()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ue={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ue}getViewportRect(){const ue=this.getViewportScrollPosition(),{width:De,height:rt}=this.getViewportSize();return{top:ue.top,left:ue.left,bottom:ue.top+rt,right:ue.left+De,height:rt,width:De}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ue=this._document,De=this._getWindow(),rt=ue.documentElement,It=rt.getBoundingClientRect();return{top:-It.top||ue.body?.scrollTop||De.scrollY||rt.scrollTop||0,left:-It.left||ue.body?.scrollLeft||De.scrollX||rt.scrollLeft||0}}change(ue=20){return ue>0?this._change.pipe((0,J.Z)(ue)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ue=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ue.innerWidth,height:ue.innerHeight}:{width:0,height:0}}static \u0275fac=function(De){return new(De||Te)};static \u0275prov=s.tV_({token:Te,factory:Te.\u0275fac})}const Ce=new m.nKC("VIRTUAL_SCROLLABLE");class et extends ut{measureViewportSize(ue){const De=this.elementRef.nativeElement;return"horizontal"===ue?De.clientWidth:De.clientHeight}static \u0275fac=(()=>{let ue;return function(rt){return(ue||(ue=s.xGo(et)))(rt||et)}})();static \u0275dir=s.FsC({type:et,features:[s.Vt3]})}const ve=typeof requestAnimationFrame<"u"?x.X:b.$,be=new m.nKC("CDK_VIRTUAL_SCROLL_VIEWPORT");class de extends et{elementRef=(0,m.WQX)(s.aKT);_changeDetectorRef=(0,m.WQX)(f.gRc);_scrollStrategy=(0,m.WQX)(ye,{optional:!0});scrollable=(0,m.WQX)(Ce,{optional:!0});_platform=(0,m.WQX)(E.O);_detachedSubject=new y.B;_renderedRangeSubject=new y.B;_renderedContentOffsetSubject=new y.B;get orientation(){return this._orientation}set orientation(ue){this._orientation!==ue&&(this._orientation=ue,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new D.c(ue=>this._scrollStrategy.scrolledIndexChange.subscribe(De=>Promise.resolve().then(()=>this.ngZone.run(()=>ue.next(De)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;renderedContentOffset=this._renderedContentOffsetSubject.pipe((0,T.p)(ue=>null!==ue),(0,I.F)());_totalContentSize=0;_totalContentWidth=(0,m.vPA)("");_totalContentHeight=(0,m.vPA)("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf=null;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=(0,m.vPA)(!1);_runAfterChangeDetection=[];_viewportChanges=N.yU.EMPTY;_injector=(0,m.WQX)(m.zZn);_isDestroyed=!1;constructor(){super();const ue=(0,m.WQX)(Te);this._scrollStrategy,this._viewportChanges=ue.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);const De=(0,m.QZP)(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:(0,m.WQX)(s.o8S).injector});(0,m.WQX)(m.abz).onDestroy(()=>{De.destroy()})}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,B.Z)(null),(0,J.Z)(0,ve),(0,$.Q)(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(ue){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=ue,this._forOf.dataStream.pipe((0,$.Q)(this._detachedSubject)).subscribe(De=>{const rt=De.length;rt!==this._dataLength&&(this._dataLength=rt,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(ue){return this.getElementRef().nativeElement.getBoundingClientRect()[ue]}setTotalContentSize(ue){this._totalContentSize!==ue&&(this._totalContentSize=ue,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(ue){(function he(V,ue){return V.start==ue.start&&V.end==ue.end})(this._renderedRange,ue)||(this.appendOnly&&(ue={start:0,end:Math.max(this._renderedRange.end,ue.end)}),this._renderedRangeSubject.next(this._renderedRange=ue),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(ue,De="to-start"){ue=this.appendOnly&&"to-start"===De?0:ue;const rt=this.dir&&"rtl"==this.dir.value,It="horizontal"==this.orientation,Kt=It?"X":"Y";let ze=`translate${Kt}(${Number((It&&rt?-1:1)*ue)}px)`;this._renderedContentOffset=ue,"to-end"===De&&(ze+=` translate${Kt}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=ze&&(this._renderedContentTransform=ze,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(ue,De="auto"){const rt={behavior:De};"horizontal"===this.orientation?rt.start=ue:rt.top=ue,this.scrollable.scrollTo(rt)}scrollToIndex(ue,De="auto"){this._scrollStrategy.scrollToIndex(ue,De)}measureScrollOffset(ue){let De;return De=this.scrollable==this?rt=>super.measureScrollOffset(rt):rt=>this.scrollable.measureScrollOffset(rt),Math.max(0,De(ue??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(ue){let De;const Kt="rtl"==this.dir?.value;De="start"==ue?Kt?"right":"left":"end"==ue?Kt?"left":"right":ue||("horizontal"===this.orientation?"left":"top");const Ht=this.scrollable.measureBoundingClientRectWithScrollOffset(De);return this.elementRef.nativeElement.getBoundingClientRect()[De]-Ht}measureRenderedContentSize(){const ue=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?ue.offsetWidth:ue.offsetHeight}measureRangeSize(ue){return this._forOf?this._forOf.measureRangeSize(ue,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(ue){ue&&this._runAfterChangeDetection.push(ue),!(0,P.O8)(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(!0)})})})}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this._renderedContentOffsetSubject.next(this.getOffsetToRenderedContentStart()),(0,s.mal)(()=>{this._changeDetectionNeeded.set(!1);const ue=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const De of ue)De()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set("horizontal"===this.orientation?"":`${this._totalContentSize}px`),this._totalContentWidth.set("horizontal"===this.orientation?`${this._totalContentSize}px`:"")}static \u0275fac=function(De){return new(De||de)};static \u0275cmp=s.VBU({type:de,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(De,rt){if(1&De&&s.GBs(te,7),2&De){let It;s.mGM(It=s.lsd())&&(rt._contentWrapper=It.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(De,rt){2&De&&s.AVh("cdk-virtual-scroll-orientation-horizontal","horizontal"===rt.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==rt.orientation)},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",f.L39]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[s.Jv_([{provide:ut,useFactory:()=>(0,m.WQX)(Ce,{optional:!0})||(0,m.WQX)(de)},{provide:be,useExisting:de}]),s.Vt3],ngContentSelectors:ce,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(De,rt){1&De&&(s.NAR(),s.rj2(0,"div",1,0),s.SdG(2),s.eux(),s.Hgh(3,"div",2)),2&De&&(s.R7$(3),s.xc7("width",rt._totalContentWidth())("height",rt._totalContentHeight()))},styles:["cdk-virtual-scroll-viewport {\n display: block;\n position: relative;\n transform: translateZ(0);\n}\n\n.cdk-virtual-scrollable {\n overflow: auto;\n will-change: scroll-position;\n contain: strict;\n overflow-anchor: none;\n scroll-behavior: auto;\n}\n\n.cdk-virtual-scroll-content-wrapper {\n position: absolute;\n top: 0;\n left: 0;\n contain: content;\n}\n[dir=rtl] .cdk-virtual-scroll-content-wrapper {\n right: 0;\n left: auto;\n}\n\n.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper {\n min-height: 100%;\n}\n.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > dl:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > ol:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > table:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > ul:not([cdkVirtualFor]) {\n padding-left: 0;\n padding-right: 0;\n margin-left: 0;\n margin-right: 0;\n border-left-width: 0;\n border-right-width: 0;\n outline: none;\n}\n\n.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper {\n min-width: 100%;\n}\n.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > dl:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > ol:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > table:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > ul:not([cdkVirtualFor]) {\n padding-top: 0;\n padding-bottom: 0;\n margin-top: 0;\n margin-bottom: 0;\n border-top-width: 0;\n border-bottom-width: 0;\n outline: none;\n}\n\n.cdk-virtual-scroll-spacer {\n height: 1px;\n transform-origin: 0 0;\n flex: 0 0 auto;\n}\n[dir=rtl] .cdk-virtual-scroll-spacer {\n transform-origin: 100% 0;\n}\n"],encapsulation:2})}function G(V,ue,De){const rt=De;if(!rt.getBoundingClientRect)return 0;const It=rt.getBoundingClientRect();return"horizontal"===V?"start"===ue?It.left:It.right:"start"===ue?It.top:It.bottom}class Fe{_viewContainerRef=(0,m.WQX)(s.c1b);_template=(0,m.WQX)(s.C4Q);_differs=(0,m.WQX)(f._q3);_viewRepeater=new Ee.DQ;_viewport=(0,m.WQX)(be,{skipSelf:!0});viewChange=new y.B;_dataSourceChanges=new y.B;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(ue){this._cdkVirtualForOf=ue,(0,oe.y)(ue)?this._dataSourceChanges.next(ue):this._dataSourceChanges.next(new Ee.hx((0,M.A)(ue)?ue:Array.from(ue||[])))}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(ue){this._needsUpdate=!0,this._cdkVirtualForTrackBy=ue?(De,rt)=>ue(De+(this._renderedRange?this._renderedRange.start:0),rt):void 0}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(ue){ue&&(this._needsUpdate=!0,this._template=ue)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(ue){this._viewRepeater.viewCacheSize=(0,w.OE)(ue)}dataStream=this._dataSourceChanges.pipe((0,B.Z)(null),(0,C.J)(),(0,F.n)(([ue,De])=>this._changeDataSource(ue,De)),(0,R.t)(1));_differ=null;_data=[];_renderedItems=[];_renderedRange={start:0,end:0};_needsUpdate=!1;_destroyed=new y.B;constructor(){const ue=(0,m.WQX)(m.SKi);this.dataStream.subscribe(De=>{this._data=De,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,$.Q)(this._destroyed)).subscribe(De=>{this._renderedRange=De,this.viewChange.observers.length&&ue.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(ue,De){if(ue.start>=ue.end)return 0;ue.start<this._renderedRange.start||(ue.end,this._renderedRange.end);const rt=ue.start-this._renderedRange.start,It=ue.end-ue.start;let Kt,Ht;for(let ze=0;ze<It;ze++){const Mt=this._viewContainerRef.get(ze+rt);if(Mt&&Mt.rootNodes.length){Kt=Ht=Mt.rootNodes[0];break}}for(let ze=It-1;ze>-1;ze--){const Mt=this._viewContainerRef.get(ze+rt);if(Mt&&Mt.rootNodes.length){Ht=Mt.rootNodes[Mt.rootNodes.length-1];break}}return Kt&&Ht?G(De,"end",Ht)-G(De,"start",Kt):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const ue=this._differ.diff(this._renderedItems);ue?this._applyChanges(ue):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((ue,De)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(ue,De):De)),this._needsUpdate=!0)}_changeDataSource(ue,De){return ue&&ue.disconnect(this),this._needsUpdate=!0,De?De.connect(this):(0,U.of)()}_updateContext(){const ue=this._data.length;let De=this._viewContainerRef.length;for(;De--;){const rt=this._viewContainerRef.get(De);rt.context.index=this._renderedRange.start+De,rt.context.count=ue,this._updateComputedContextProperties(rt.context),rt.detectChanges()}}_applyChanges(ue){this._viewRepeater.applyChanges(ue,this._viewContainerRef,(It,Kt,Ht)=>this._getEmbeddedViewArgs(It,Ht),It=>It.item),ue.forEachIdentityChange(It=>{this._viewContainerRef.get(It.currentIndex).context.$implicit=It.item});const De=this._data.length;let rt=this._viewContainerRef.length;for(;rt--;){const It=this._viewContainerRef.get(rt);It.context.index=this._renderedRange.start+rt,It.context.count=De,this._updateComputedContextProperties(It.context)}}_updateComputedContextProperties(ue){ue.first=0===ue.index,ue.last=ue.index===ue.count-1,ue.even=ue.index%2==0,ue.odd=!ue.even}_getEmbeddedViewArgs(ue,De){return{templateRef:this._template,context:{$implicit:ue.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:De}}static ngTemplateContextGuard(ue,De){return!0}static \u0275fac=function(De){return new(De||Fe)};static \u0275dir=s.FsC({type:Fe,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"}})}class He extends et{measureBoundingClientRectWithScrollOffset(ue){return this.getElementRef().nativeElement.getBoundingClientRect()[ue]-this.measureScrollOffset(ue)}static \u0275fac=(()=>{let ue;return function(rt){return(ue||(ue=s.xGo(He)))(rt||He)}})();static \u0275dir=s.FsC({type:He,selectors:[["","cdkVirtualScrollingElement",""]],hostAttrs:[1,"cdk-virtual-scrollable"],features:[s.Jv_([{provide:Ce,useExisting:He}]),s.Vt3]})}class wt extends et{constructor(){super();const ue=(0,m.WQX)(m.qQL);this.elementRef=new s.aKT(ue.documentElement),this._scrollElement=ue}measureBoundingClientRectWithScrollOffset(ue){return this.getElementRef().nativeElement.getBoundingClientRect()[ue]}static \u0275fac=function(De){return new(De||wt)};static \u0275dir=s.FsC({type:wt,selectors:[["cdk-virtual-scroll-viewport","scrollWindow",""]],features:[s.Jv_([{provide:Ce,useExisting:wt}]),s.Vt3]})}class Jt{static \u0275fac=function(De){return new(De||Jt)};static \u0275mod=s.$C({type:Jt,imports:[ut],exports:[ut]});static \u0275inj=m.G2t({})}class ee{static \u0275fac=function(De){return new(De||ee)};static \u0275mod=s.$C({type:ee,imports:[j.jI,Jt,de,Tt,Fe,wt,He],exports:[j.jI,Jt,Tt,Fe,de,wt,He]});static \u0275inj=m.G2t({imports:[j.jI,Jt,j.jI,Jt]})}h.d(pe,["m8",0,be])},50783(st,pe,h){"use strict";h.d(pe,{EZ:()=>j,VP:()=>ut,cO:()=>ce,I8:()=>ve,AL:()=>$e,c7:()=>Me,L_:()=>Le,Y$:()=>de,df:()=>et,sY:()=>We,n5:()=>ye,wA:()=>be,hi:()=>Ce,u4:()=>Fe,hc:()=>G,oh:()=>he,Rk:()=>_e,N0:()=>ln,ki:()=>Et,yT:()=>Pt,lH:()=>Tn,pe:()=>bn,RT:()=>Lt,ZM:()=>ze});var m=h(70903),s=h(28939),f=h(39962),P=h(55919),D=h(5651),y=h(79781),b=h(47086),x=h(75889),N=h(52518),M=h(11773),U=h(72818),J=h(36057),I=h(40271),T=h(32445),C=h(2845);class R{applyChanges(je,_t,ht,lt,Oe){je.forEachOperation((at,Q,Ae)=>{let Qe,kt;if(null==at.previousIndex){const cn=ht(at,Q,Ae);Qe=_t.createEmbeddedView(cn.templateRef,cn.context,cn.index),kt=C.Q3.INSERTED}else null==Ae?(_t.remove(Q),kt=C.Q3.REMOVED):(Qe=_t.get(Q),_t.move(Qe,Ae),kt=C.Q3.MOVED);Oe&&Oe({context:Qe?.context,operation:kt,record:at})})}detach(){}}var B=h(36574),F=h(52247);const $=[[["caption"]],[["colgroup"],["col"]],"*"],E=["caption","colgroup, col","*"];function w(fn,je){1&fn&&m.SdG(0,2)}function O(fn,je){1&fn&&(m.j41(0,"thead",0),m.eu8(1,1),m.k0s(),m.j41(2,"tbody",0),m.eu8(3,2)(4,3),m.k0s(),m.j41(5,"tfoot",0),m.eu8(6,4),m.k0s())}function Z(fn,je){1&fn&&m.eu8(0,1)(1,2)(2,3)(3,4)}function Ee(fn,je){if(1&fn&&(m.j41(0,"th",3),m.EFF(1),m.k0s()),2&fn){const _t=m.XpG();m.xc7("text-align",_t.justify),m.R7$(),m.SpI(" ",_t.headerText," ")}}function oe(fn,je){if(1&fn&&(m.j41(0,"td",4),m.EFF(1),m.k0s()),2&fn){const _t=je.$implicit,ht=m.XpG();m.xc7("text-align",ht.justify),m.R7$(),m.SpI(" ",ht.dataAccessor(_t,ht.name)," ")}}const j=new s.nKC("CDK_TABLE"),te=new s.nKC("text-column-options");class ce{template=(0,s.WQX)(m.C4Q);static \u0275fac=function(_t){return new(_t||ce)};static \u0275dir=m.FsC({type:ce,selectors:[["","cdkCellDef",""]]})}class ye{template=(0,s.WQX)(m.C4Q);static \u0275fac=function(_t){return new(_t||ye)};static \u0275dir=m.FsC({type:ye,selectors:[["","cdkHeaderCellDef",""]]})}class Le{template=(0,s.WQX)(m.C4Q);static \u0275fac=function(_t){return new(_t||Le)};static \u0275dir=m.FsC({type:Le,selectors:[["","cdkFooterCellDef",""]]})}class $e{_table=(0,s.WQX)(j,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(je){this._setNameInput(je)}_name;get sticky(){return this._sticky}set sticky(je){je!==this._sticky&&(this._sticky=je,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(je){je!==this._stickyEnd&&(this._stickyEnd=je,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;hasStickyChanged(){const je=this._hasStickyChanged;return this.resetStickyChanged(),je}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(je){je&&(this._name=je,this.cssClassFriendlyName=je.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(_t){return new(_t||$e)};static \u0275dir=m.FsC({type:$e,selectors:[["","cdkColumnDef",""]],contentQueries:function(_t,ht,lt){if(1&_t&&m.wni(lt,ce,5)(lt,ye,5)(lt,Le,5),2&_t){let Oe;m.mGM(Oe=m.lsd())&&(ht.cell=Oe.first),m.mGM(Oe=m.lsd())&&(ht.headerCell=Oe.first),m.mGM(Oe=m.lsd())&&(ht.footerCell=Oe.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",f.L39],stickyEnd:[2,"stickyEnd","stickyEnd",f.L39]}})}class Tt{constructor(je,_t){_t.nativeElement.classList.add(...je._columnCssClassName)}}class We extends Tt{constructor(){super((0,s.WQX)($e),(0,s.WQX)(m.aKT))}static \u0275fac=function(_t){return new(_t||We)};static \u0275dir=m.FsC({type:We,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[m.Vt3]})}class Me extends Tt{constructor(){const je=(0,s.WQX)($e),_t=(0,s.WQX)(m.aKT);super(je,_t);const ht=je._table?._getCellRole();ht&&_t.nativeElement.setAttribute("role",ht)}static \u0275fac=function(_t){return new(_t||Me)};static \u0275dir=m.FsC({type:Me,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[m.Vt3]})}class ut extends Tt{constructor(){const je=(0,s.WQX)($e),_t=(0,s.WQX)(m.aKT);super(je,_t);const ht=je._table?._getCellRole();ht&&_t.nativeElement.setAttribute("role",ht)}static \u0275fac=function(_t){return new(_t||ut)};static \u0275dir=m.FsC({type:ut,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[m.Vt3]})}class Te{template=(0,s.WQX)(m.C4Q);_differs=(0,s.WQX)(f._q3);columns;_columnsDiffer;ngOnChanges(je){if(!this._columnsDiffer){const _t=je.columns&&je.columns.currentValue||[];this._columnsDiffer=this._differs.find(_t).create(),this._columnsDiffer.diff(_t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(je){return this instanceof Ce?je.headerCell.template:this instanceof et?je.footerCell.template:je.cell.template}static \u0275fac=function(_t){return new(_t||Te)};static \u0275dir=m.FsC({type:Te,features:[m.OA$]})}class Ce extends Te{_table=(0,s.WQX)(j,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(je){je!==this._sticky&&(this._sticky=je,this._hasStickyChanged=!0)}_sticky=!1;ngOnChanges(je){super.ngOnChanges(je)}hasStickyChanged(){const je=this._hasStickyChanged;return this.resetStickyChanged(),je}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=(()=>{let je;return function(ht){return(je||(je=m.xGo(Ce)))(ht||Ce)}})();static \u0275dir=m.FsC({type:Ce,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",f.L39]},features:[m.Vt3,m.OA$]})}class et extends Te{_table=(0,s.WQX)(j,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(je){je!==this._sticky&&(this._sticky=je,this._hasStickyChanged=!0)}_sticky=!1;ngOnChanges(je){super.ngOnChanges(je)}hasStickyChanged(){const je=this._hasStickyChanged;return this.resetStickyChanged(),je}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=(()=>{let je;return function(ht){return(je||(je=m.xGo(et)))(ht||et)}})();static \u0275dir=m.FsC({type:et,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",f.L39]},features:[m.Vt3,m.OA$]})}class he extends Te{_table=(0,s.WQX)(j,{optional:!0});when;static \u0275fac=(()=>{let je;return function(ht){return(je||(je=m.xGo(he)))(ht||he)}})();static \u0275dir=m.FsC({type:he,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[m.Vt3]})}class ve{_viewContainer=(0,s.WQX)(m.c1b);cells;context;static mostRecentCellOutlet=null;constructor(){ve.mostRecentCellOutlet=this}ngOnDestroy(){ve.mostRecentCellOutlet===this&&(ve.mostRecentCellOutlet=null)}static \u0275fac=function(_t){return new(_t||ve)};static \u0275dir=m.FsC({type:ve,selectors:[["","cdkCellOutlet",""]]})}class be{static \u0275fac=function(_t){return new(_t||be)};static \u0275cmp=m.VBU({type:be,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(_t,ht){1&_t&&m.eu8(0,0)},dependencies:[ve],encapsulation:2,changeDetection:1})}class de{static \u0275fac=function(_t){return new(_t||de)};static \u0275cmp=m.VBU({type:de,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(_t,ht){1&_t&&m.eu8(0,0)},dependencies:[ve],encapsulation:2,changeDetection:1})}class G{static \u0275fac=function(_t){return new(_t||G)};static \u0275cmp=m.VBU({type:G,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(_t,ht){1&_t&&m.eu8(0,0)},dependencies:[ve],encapsulation:2,changeDetection:1})}class Fe{templateRef=(0,s.WQX)(m.C4Q);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";static \u0275fac=function(_t){return new(_t||Fe)};static \u0275dir=m.FsC({type:Fe,selectors:[["ng-template","cdkNoDataRow",""]]})}const He=["top","bottom","left","right"];class wt{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(je=>this._updateCachedSizes(je)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;constructor(je,_t,ht=!0,lt=!0,Oe,at,Q){this._isNativeHtmlTable=je,this._stickCellCss=_t,this._isBrowser=ht,this._needsPositionStickyOnElement=lt,this.direction=Oe,this._positionListener=at,this._tableInjector=Q,this._borderCellCss={top:`${_t}-border-elem-top`,bottom:`${_t}-border-elem-bottom`,left:`${_t}-border-elem-left`,right:`${_t}-border-elem-right`}}clearStickyPositioning(je,_t){(_t.includes("left")||_t.includes("right"))&&this._removeFromStickyColumnReplayQueue(je);const ht=[];for(const lt of je)lt.nodeType===lt.ELEMENT_NODE&&ht.push(lt,...Array.from(lt.children));(0,m.mal)({write:()=>{for(const lt of ht)this._removeStickyStyle(lt,_t)}},{injector:this._tableInjector})}updateStickyColumns(je,_t,ht,lt=!0,Oe=!0){if(!je.length||!this._isBrowser||!_t.some(Ei=>Ei)&&!ht.some(Ei=>Ei))return this._positionListener?.stickyColumnsUpdated({sizes:[]}),void this._positionListener?.stickyEndColumnsUpdated({sizes:[]});const at=je[0],Q=at.children.length,Ae="rtl"===this.direction,Qe=Ae?"right":"left",kt=Ae?"left":"right",cn=_t.lastIndexOf(!0),mn=ht.indexOf(!0);let Jn,Ti,$i;Oe&&this._updateStickyColumnReplayQueue({rows:[...je],stickyStartStates:[..._t],stickyEndStates:[...ht]}),(0,m.mal)({earlyRead:()=>{Jn=this._getCellWidths(at,lt),Ti=this._getStickyStartColumnPositions(Jn,_t),$i=this._getStickyEndColumnPositions(Jn,ht)},write:()=>{for(const Ei of je)for(let ui=0;ui<Q;ui++){const sr=Ei.children[ui];_t[ui]&&this._addStickyStyle(sr,Qe,Ti[ui],ui===cn),ht[ui]&&this._addStickyStyle(sr,kt,$i[ui],ui===mn)}this._positionListener&&Jn.some(Ei=>!!Ei)&&(this._positionListener.stickyColumnsUpdated({sizes:-1===cn?[]:Jn.slice(0,cn+1).map((Ei,ui)=>_t[ui]?Ei:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===mn?[]:Jn.slice(mn).map((Ei,ui)=>ht[ui+mn]?Ei:null).reverse()}))}},{injector:this._tableInjector})}stickRows(je,_t,ht){if(!this._isBrowser)return;const lt="bottom"===ht?je.slice().reverse():je,Oe="bottom"===ht?_t.slice().reverse():_t,at=[],Q=[],Ae=[];(0,m.mal)({earlyRead:()=>{for(let Qe=0,kt=0;Qe<lt.length;Qe++){if(!Oe[Qe])continue;at[Qe]=kt;const cn=lt[Qe];Ae[Qe]=this._isNativeHtmlTable?Array.from(cn.children):[cn];const mn=this._retrieveElementSize(cn).height;kt+=mn,Q[Qe]=mn}},write:()=>{const Qe=Oe.lastIndexOf(!0);for(let kt=0;kt<lt.length;kt++){if(!Oe[kt])continue;const cn=at[kt],mn=kt===Qe;for(const Jn of Ae[kt])this._addStickyStyle(Jn,ht,cn,mn)}"top"===ht?this._positionListener?.stickyHeaderRowsUpdated({sizes:Q,offsets:at,elements:Ae}):this._positionListener?.stickyFooterRowsUpdated({sizes:Q,offsets:at,elements:Ae})}},{injector:this._tableInjector})}updateStickyFooterContainer(je,_t){this._isNativeHtmlTable&&(0,m.mal)({write:()=>{const ht=je.querySelector("tfoot");ht&&(_t.some(lt=>!lt)?this._removeStickyStyle(ht,["bottom"]):this._addStickyStyle(ht,"bottom",0,!1))}},{injector:this._tableInjector})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(je,_t){if(je.classList.contains(this._stickCellCss)){for(const lt of _t)je.style[lt]="",je.classList.remove(this._borderCellCss[lt]);He.some(lt=>-1===_t.indexOf(lt)&&je.style[lt])?je.style.zIndex=this._getCalculatedZIndex(je):(je.style.zIndex="",this._needsPositionStickyOnElement&&(je.style.position=""),je.classList.remove(this._stickCellCss))}}_addStickyStyle(je,_t,ht,lt){je.classList.add(this._stickCellCss),lt&&je.classList.add(this._borderCellCss[_t]),je.style[_t]=`${ht}px`,je.style.zIndex=this._getCalculatedZIndex(je),this._needsPositionStickyOnElement&&(je.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(je){const _t={top:100,bottom:10,left:1,right:1};let ht=0;for(const lt of He)je.style[lt]&&(ht+=_t[lt]);return ht?`${ht}`:""}_getCellWidths(je,_t=!0){if(!_t&&this._cachedCellWidths.length)return this._cachedCellWidths;const ht=[],lt=je.children;for(let Oe=0;Oe<lt.length;Oe++){const at=lt[Oe];ht.push(this._retrieveElementSize(at).width)}return this._cachedCellWidths=ht,ht}_getStickyStartColumnPositions(je,_t){const ht=[];let lt=0;for(let Oe=0;Oe<je.length;Oe++)_t[Oe]&&(ht[Oe]=lt,lt+=je[Oe]);return ht}_getStickyEndColumnPositions(je,_t){const ht=[];let lt=0;for(let Oe=je.length;Oe>0;Oe--)_t[Oe]&&(ht[Oe]=lt,lt+=je[Oe]);return ht}_retrieveElementSize(je){const _t=this._elemSizeCache.get(je);if(_t)return _t;const ht=je.getBoundingClientRect(),lt={width:ht.width,height:ht.height};return this._resizeObserver&&(this._elemSizeCache.set(je,lt),this._resizeObserver.observe(je,{box:"border-box"})),lt}_updateStickyColumnReplayQueue(je){this._removeFromStickyColumnReplayQueue(je.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(je)}_removeFromStickyColumnReplayQueue(je){const _t=new Set(je);for(const ht of this._updatedStickyColumnsParamsToReplay)ht.rows=ht.rows.filter(lt=>!_t.has(lt));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(ht=>!!ht.rows.length)}_updateCachedSizes(je){let _t=!1;for(const ht of je){const lt=ht.borderBoxSize?.length?{width:ht.borderBoxSize[0].inlineSize,height:ht.borderBoxSize[0].blockSize}:{width:ht.contentRect.width,height:ht.contentRect.height};lt.width!==this._elemSizeCache.get(ht.target)?.width&&Jt(ht.target)&&(_t=!0),this._elemSizeCache.set(ht.target,lt)}_t&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(const ht of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(ht.rows,ht.stickyStartStates,ht.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}}function Jt(fn){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(je=>fn.classList.contains(je))}const ze=new s.nKC("STICKY_POSITIONING_LISTENER");class Mt{static \u0275fac=function(_t){return new(_t||Mt)};static \u0275dir=m.FsC({type:Mt,selectors:[["cdk-table","recycleRows",""],["table","cdk-table","","recycleRows",""]]})}class Pt{viewContainer=(0,s.WQX)(m.c1b);elementRef=(0,s.WQX)(m.aKT);constructor(){const je=(0,s.WQX)(j);je._rowOutlet=this,je._outletAssigned()}static \u0275fac=function(_t){return new(_t||Pt)};static \u0275dir=m.FsC({type:Pt,selectors:[["","rowOutlet",""]]})}class bn{viewContainer=(0,s.WQX)(m.c1b);elementRef=(0,s.WQX)(m.aKT);constructor(){const je=(0,s.WQX)(j);je._headerRowOutlet=this,je._outletAssigned()}static \u0275fac=function(_t){return new(_t||bn)};static \u0275dir=m.FsC({type:bn,selectors:[["","headerRowOutlet",""]]})}class Tn{viewContainer=(0,s.WQX)(m.c1b);elementRef=(0,s.WQX)(m.aKT);constructor(){const je=(0,s.WQX)(j);je._footerRowOutlet=this,je._outletAssigned()}static \u0275fac=function(_t){return new(_t||Tn)};static \u0275dir=m.FsC({type:Tn,selectors:[["","footerRowOutlet",""]]})}class Lt{viewContainer=(0,s.WQX)(m.c1b);elementRef=(0,s.WQX)(m.aKT);constructor(){const je=(0,s.WQX)(j);je._noDataRowOutlet=this,je._outletAssigned()}static \u0275fac=function(_t){return new(_t||Lt)};static \u0275dir=m.FsC({type:Lt,selectors:[["","noDataRowOutlet",""]]})}class _e{_differs=(0,s.WQX)(f._q3);_changeDetectorRef=(0,s.WQX)(f.gRc);_elementRef=(0,s.WQX)(m.aKT);_dir=(0,s.WQX)(I.dS,{optional:!0});_platform=(0,s.WQX)(B.O);_viewRepeater;_viewportRuler=(0,s.WQX)(T.Xj);_injector=(0,s.WQX)(s.zZn);_virtualScrollViewport=(0,s.WQX)(T.m8,{optional:!0,host:!0});_positionListener=(0,s.WQX)(ze,{optional:!0})||(0,s.WQX)(ze,{optional:!0,skipSelf:!0});_document=(0,s.WQX)(s.qQL);_data;_renderedRange;_onDestroy=new P.B;_renderRows;_renderChangeSubscription=null;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef=null;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow=null;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_headerRowStickyUpdates=new P.B;_footerRowStickyUpdates=new P.B;_disableVirtualScrolling=!1;_getCellRole(){if(void 0===this._cellRoleInternal){const je=this._elementRef.nativeElement.getAttribute("role");return"grid"===je||"treegrid"===je?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(je){this._trackByFn=je}_trackByFn;get dataSource(){return this._dataSource}set dataSource(je){this._dataSource!==je&&(this._switchDataSource(je),this._changeDetectorRef.markForCheck())}_dataSource;_dataSourceChanges=new P.B;_dataStream=new P.B;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(je){this._multiTemplateDataRows=je,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return!!this._virtualScrollEnabled()||this._fixedLayout}set fixedLayout(je){this._fixedLayout=je,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;recycleRows=!1;contentChanged=new s.bkB;viewChange=new D.t({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;get renderedRows(){return this._renderRows}constructor(){(0,s.WQX)(new f.ES_("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName,this._dataDiffer=this._differs.find([]).create((_t,ht)=>this.trackBy?this.trackBy(ht.dataIndex,ht.data):ht)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe((0,U.Q)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._viewRepeater=this.recycleRows||this._virtualScrollEnabled()?new C.DQ:new R,this._virtualScrollEnabled()&&this._setupVirtualScrolling(this._virtualScrollViewport),this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(je=>{je?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._headerRowStickyUpdates.complete(),this._footerRowStickyUpdates.complete(),this._onDestroy.next(),this._onDestroy.complete(),(0,F.y)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const je=this._dataDiffer.diff(this._renderRows);if(!je)return this._updateNoDataRow(),void this.contentChanged.next();const _t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(je,_t,(ht,lt,Oe)=>this._getEmbeddedViewArgs(ht.item,Oe),ht=>ht.item.data,ht=>{ht.operation===C.Q3.INSERTED&&ht.context&&this._renderCellTemplateForItem(ht.record.item.rowDef,ht.context)}),this._updateRowIndexContext(),je.forEachIdentityChange(ht=>{_t.get(ht.currentIndex).context.$implicit=ht.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(je){this._customColumnDefs.add(je)}removeColumnDef(je){this._customColumnDefs.delete(je)}addRowDef(je){this._customRowDefs.add(je)}removeRowDef(je){this._customRowDefs.delete(je)}addHeaderRowDef(je){this._customHeaderRowDefs.add(je),this._headerRowDefChanged=!0}removeHeaderRowDef(je){this._customHeaderRowDefs.delete(je),this._headerRowDefChanged=!0}addFooterRowDef(je){this._customFooterRowDefs.add(je),this._footerRowDefChanged=!0}removeFooterRowDef(je){this._customFooterRowDefs.delete(je),this._footerRowDefChanged=!0}setNoDataRow(je){this._customNoDataRow=je}updateStickyHeaderRowStyles(){const je=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const ht=fe(this._headerRowOutlet,"thead");ht&&(ht.style.display=je.length?"":"none")}const _t=this._headerRowDefs.map(ht=>ht.sticky);this._stickyStyler.clearStickyPositioning(je,["top"]),this._stickyStyler.stickRows(je,_t,"top"),this._headerRowDefs.forEach(ht=>ht.resetStickyChanged())}updateStickyFooterRowStyles(){const je=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const ht=fe(this._footerRowOutlet,"tfoot");ht&&(ht.style.display=je.length?"":"none")}const _t=this._footerRowDefs.map(ht=>ht.sticky);this._stickyStyler.clearStickyPositioning(je,["bottom"]),this._stickyStyler.stickRows(je,_t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,_t),this._footerRowDefs.forEach(ht=>ht.resetStickyChanged())}updateStickyColumnStyles(){const je=this._getRenderedRows(this._headerRowOutlet),_t=this._getRenderedRows(this._rowOutlet),ht=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this.fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...je,..._t,...ht],["left","right"]),this._stickyColumnStylesNeedReset=!1),je.forEach((lt,Oe)=>{this._addStickyColumnStyles([lt],this._headerRowDefs[Oe])}),this._rowDefs.forEach(lt=>{const Oe=[];for(let at=0;at<_t.length;at++)this._renderRows[at].rowDef===lt&&Oe.push(_t[at]);this._addStickyColumnStyles(Oe,lt)}),ht.forEach((lt,Oe)=>{this._addStickyColumnStyles([lt],this._footerRowDefs[Oe])}),Array.from(this._columnDefsByName.values()).forEach(lt=>lt.resetStickyChanged())}stickyColumnsUpdated(je){this._positionListener?.stickyColumnsUpdated(je)}stickyEndColumnsUpdated(je){this._positionListener?.stickyEndColumnsUpdated(je)}stickyHeaderRowsUpdated(je){this._headerRowStickyUpdates.next(je),this._positionListener?.stickyHeaderRowsUpdated(je)}stickyFooterRowsUpdated(je){this._footerRowStickyUpdates.next(je),this._positionListener?.stickyFooterRowsUpdated(je)}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;const _t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||_t,this._forceRecalculateCellWidths=_t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){if(!Array.isArray(this._data)||!this._renderedRange)return[];const je=[],_t=Math.min(this._data.length,this._renderedRange.end),ht=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let lt=this._renderedRange.start;lt<_t;lt++){const Oe=this._data[lt],at=this._getRenderRowsForData(Oe,lt,ht.get(Oe));this._cachedRenderRowsMap.has(Oe)||this._cachedRenderRowsMap.set(Oe,new WeakMap);for(let Q=0;Q<at.length;Q++){let Ae=at[Q];const Qe=this._cachedRenderRowsMap.get(Ae.data);Qe.has(Ae.rowDef)?Qe.get(Ae.rowDef).push(Ae):Qe.set(Ae.rowDef,[Ae]),je.push(Ae)}}return je}_getRenderRowsForData(je,_t,ht){return this._getRowDefs(je,_t).map(Oe=>{const at=ht&&ht.has(Oe)?ht.get(Oe):[];if(at.length){const Q=at.shift();return Q.dataIndex=_t,Q}return{data:je,rowDef:Oe,dataIndex:_t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Y(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(_t=>{this._columnDefsByName.has(_t.name),this._columnDefsByName.set(_t.name,_t)})}_cacheRowDefs(){this._headerRowDefs=Y(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Y(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Y(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const je=this._rowDefs.filter(_t=>!_t.when);this._defaultRowDef=je[0]}_renderUpdatedColumns(){const je=(Oe,at)=>{const Q=!!at.getColumnsDiff();return Oe||Q},_t=this._rowDefs.reduce(je,!1);_t&&this._forceRenderDataRows();const ht=this._headerRowDefs.reduce(je,!1);ht&&this._forceRenderHeaderRows();const lt=this._footerRowDefs.reduce(je,!1);return lt&&this._forceRenderFooterRows(),_t||ht||lt}_switchDataSource(je){this._data=[],(0,F.y)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),je||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=je}_observeRenderChanges(){if(!this.dataSource)return;let je;(0,F.y)(this.dataSource)?je=this.dataSource.connect(this):(0,y.A)(this.dataSource)?je=this.dataSource:Array.isArray(this.dataSource)&&(je=(0,b.of)(this.dataSource)),this._renderChangeSubscription=(0,x.z)([je,this.viewChange]).pipe((0,U.Q)(this._onDestroy)).subscribe(([_t,ht])=>{this._data=_t||[],this._renderedRange=ht,this._dataStream.next(_t),this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((je,_t)=>this._renderRow(this._headerRowOutlet,je,_t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((je,_t)=>this._renderRow(this._footerRowOutlet,je,_t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(je,_t){const ht=Array.from(_t?.columns||[]).map(at=>this._columnDefsByName.get(at)),lt=ht.map(at=>at.sticky),Oe=ht.map(at=>at.stickyEnd);this._stickyStyler.updateStickyColumns(je,lt,Oe,!this.fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(je){const _t=[];for(let ht=0;ht<je.viewContainer.length;ht++){const lt=je.viewContainer.get(ht);_t.push(lt.rootNodes[0])}return _t}_getRowDefs(je,_t){if(1===this._rowDefs.length)return[this._rowDefs[0]];let ht=[];if(this.multiTemplateDataRows)ht=this._rowDefs.filter(lt=>!lt.when||lt.when(_t,je));else{let lt=this._rowDefs.find(Oe=>Oe.when&&Oe.when(_t,je))||this._defaultRowDef;lt&&ht.push(lt)}return ht.length,ht}_getEmbeddedViewArgs(je,_t){const ht=je.rowDef,lt={$implicit:je.data};return{templateRef:ht.template,context:lt,index:_t}}_renderRow(je,_t,ht,lt={}){const Oe=je.viewContainer.createEmbeddedView(_t.template,lt,ht);return this._renderCellTemplateForItem(_t,lt),Oe}_renderCellTemplateForItem(je,_t){for(let ht of this._getCellTemplates(je))ve.mostRecentCellOutlet&&ve.mostRecentCellOutlet._viewContainer.createEmbeddedView(ht,_t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const je=this._rowOutlet.viewContainer;for(let _t=0,ht=je.length;_t<ht;_t++){const Oe=je.get(_t).context;Oe.count=ht,Oe.first=0===_t,Oe.last=_t===ht-1,Oe.even=_t%2==0,Oe.odd=!Oe.even,this.multiTemplateDataRows?(Oe.dataIndex=this._renderRows[_t].dataIndex,Oe.renderIndex=_t):Oe.index=this._renderRows[_t].dataIndex}}_getCellTemplates(je){return je&&je.columns?Array.from(je.columns,_t=>{const ht=this._columnDefsByName.get(_t);return je.extractCellTemplate(ht)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const je=(_t,ht)=>_t||ht.hasStickyChanged();this._headerRowDefs.reduce(je,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(je,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(je,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){const je=this._dir?this._dir.value:"ltr",_t=this._injector;this._stickyStyler=new wt(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,je,this,_t),(this._dir?this._dir.change:(0,b.of)()).pipe((0,U.Q)(this._onDestroy)).subscribe(ht=>{this._stickyStyler.direction=ht,this.updateStickyColumnStyles()})}_setupVirtualScrolling(je){const _t=typeof requestAnimationFrame<"u"?N.X:M.$;this.viewChange.next({start:0,end:0}),je.renderedRangeStream.pipe((0,J.Z)(0,_t),(0,U.Q)(this._onDestroy)).subscribe(this.viewChange),je.attach({dataStream:this._dataStream,measureRangeSize:(ht,lt)=>this._measureRangeSize(ht,lt)}),(0,x.z)([je.renderedContentOffset,this._headerRowStickyUpdates]).pipe((0,U.Q)(this._onDestroy)).subscribe(([ht,lt])=>{if(lt.sizes&<.offsets&<.elements)for(let Oe=0;Oe<lt.elements.length;Oe++){const at=lt.elements[Oe];if(at){const Q=lt.offsets[Oe],Ae=0!==ht?Math.max(ht-Q,Q):-Q;for(const Qe of at)Qe.style.top=-Ae+"px"}}}),(0,x.z)([je.renderedContentOffset,this._footerRowStickyUpdates]).pipe((0,U.Q)(this._onDestroy)).subscribe(([ht,lt])=>{if(lt.sizes&<.offsets&<.elements)for(let Oe=0;Oe<lt.elements.length;Oe++){const at=lt.elements[Oe];if(at)for(const Q of at)Q.style.bottom=`${ht+lt.offsets[Oe]}px`}})}_getOwnDefs(je){return je.filter(_t=>!_t._table||_t._table===this)}_updateNoDataRow(){const je=this._customNoDataRow||this._noDataRow;if(!je)return;const _t=0===this._rowOutlet.viewContainer.length;if(_t===this._isShowingNoDataRow)return;const ht=this._noDataRowOutlet.viewContainer;if(_t){const lt=ht.createEmbeddedView(je.templateRef),Oe=lt.rootNodes[0];if(1===lt.rootNodes.length&&Oe?.nodeType===this._document.ELEMENT_NODE){Oe.setAttribute("role","row"),Oe.classList.add(...je._contentClassNames);const at=Oe.querySelectorAll(je._cellSelector);for(let Q=0;Q<at.length;Q++)at[Q].classList.add(...je._cellClassNames)}}else ht.clear();this._isShowingNoDataRow=_t,this._changeDetectorRef.markForCheck()}_measureRangeSize(je,_t){if(je.start>=je.end||"vertical"!==_t)return 0;const ht=this.viewChange.value,lt=this._rowOutlet.viewContainer;je.start<ht.start||(je.end,ht.end);const Oe=je.start-ht.start,at=je.end-je.start;let Q,Ae;for(let cn=0;cn<at;cn++){const mn=lt.get(cn+Oe);if(mn&&mn.rootNodes.length){Q=Ae=mn.rootNodes[0];break}}for(let cn=at-1;cn>-1;cn--){const mn=lt.get(cn+Oe);if(mn&&mn.rootNodes.length){Ae=mn.rootNodes[mn.rootNodes.length-1];break}}const Qe=Q?.getBoundingClientRect?.(),kt=Ae?.getBoundingClientRect?.();return Qe&&kt?kt.bottom-Qe.top:0}_virtualScrollEnabled(){return!this._disableVirtualScrolling&&null!=this._virtualScrollViewport}static \u0275fac=function(_t){return new(_t||_e)};static \u0275cmp=m.VBU({type:_e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(_t,ht,lt){if(1&_t&&m.wni(lt,Fe,5)(lt,$e,5)(lt,he,5)(lt,Ce,5)(lt,et,5),2&_t){let Oe;m.mGM(Oe=m.lsd())&&(ht._noDataRow=Oe.first),m.mGM(Oe=m.lsd())&&(ht._contentColumnDefs=Oe),m.mGM(Oe=m.lsd())&&(ht._contentRowDefs=Oe),m.mGM(Oe=m.lsd())&&(ht._contentHeaderRowDefs=Oe),m.mGM(Oe=m.lsd())&&(ht._contentFooterRowDefs=Oe)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(_t,ht){2&_t&&m.AVh("cdk-table-fixed-layout",ht.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",f.L39],fixedLayout:[2,"fixedLayout","fixedLayout",f.L39],recycleRows:[2,"recycleRows","recycleRows",f.L39]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[m.Jv_([{provide:j,useExisting:_e},{provide:ze,useValue:null}])],ngContentSelectors:E,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(_t,ht){1&_t&&(m.NAR($),m.SdG(0),m.SdG(1,1),m.nVh(2,w,1,0),m.nVh(3,O,7,0)(4,Z,4,0)),2&_t&&(m.R7$(2),m.vxM(ht._isServer?2:-1),m.R7$(),m.vxM(ht._isNativeHtmlTable?3:4))},dependencies:[bn,Pt,Lt,Tn],styles:[".cdk-table-fixed-layout {\n table-layout: fixed;\n}\n"],encapsulation:2,changeDetection:1})}function Y(fn,je){return fn.concat(Array.from(je))}function fe(fn,je){const _t=je.toUpperCase();let ht=fn.viewContainer.element.nativeElement;for(;ht;){const lt=1===ht.nodeType?ht.nodeName:null;if(lt===_t)return ht;if("TABLE"===lt)break;ht=ht.parentNode}return null}class Et{_table=(0,s.WQX)(_e,{optional:!0});_options=(0,s.WQX)(te,{optional:!0});get name(){return this._name}set name(je){this._name=je,this._syncColumnDefName()}_name;headerText;dataAccessor;justify="start";columnDef;cell;headerCell;constructor(){this._options=this._options||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((je,_t)=>je[_t])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const je=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(je):je[0].toUpperCase()+je.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}static \u0275fac=function(_t){return new(_t||Et)};static \u0275cmp=m.VBU({type:Et,selectors:[["cdk-text-column"]],viewQuery:function(_t,ht){if(1&_t&&m.GBs($e,7)(ce,7)(ye,7),2&_t){let lt;m.mGM(lt=m.lsd())&&(ht.columnDef=lt.first),m.mGM(lt=m.lsd())&&(ht.cell=lt.first),m.mGM(lt=m.lsd())&&(ht.headerCell=lt.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(_t,ht){1&_t&&(m.qex(0,0),m.DNE(1,Ee,2,3,"th",1)(2,oe,2,3,"td",2),m.bVm())},dependencies:[$e,ye,We,ce,ut],encapsulation:2,changeDetection:1})}class ln{static \u0275fac=function(_t){return new(_t||ln)};static \u0275mod=m.$C({type:ln,imports:[T.E9,_e,he,ce,ve,ye,Le,$e,ut,G,We,Me,be,Ce,de,et,Pt,bn,Tn,Et,Fe,Mt,Lt],exports:[_e,he,ce,ve,ye,Le,$e,ut,G,We,Me,be,Ce,de,et,Pt,bn,Tn,Et,Fe,Mt,Lt]});static \u0275inj=s.G2t({imports:[T.E9]})}},12986(st,pe,h){"use strict";h.d(pe,{Jj:()=>Ot,MD:()=>Xo,T3:()=>hr,bT:()=>Cr,fw:()=>M});var P=h(39962),D=h(28939),y=h(70903),b=h(10286),x=h(44881),N=h(93049);class M extends x.hb{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(Pe,xt){super(),this._platformLocation=Pe,null!=xt&&(this._baseHref=xt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Pe){this._removeListenerFns.push(this._platformLocation.onPopState(Pe),this._platformLocation.onHashChange(Pe))}getBaseHref(){return this._baseHref}path(Pe=!1){const xt=this._platformLocation.hash??"#";return xt.length>0?xt.substring(1):xt}prepareExternalUrl(Pe){const xt=(0,x.om)(this._baseHref,Pe);return xt.length>0?"#"+xt:xt}pushState(Pe,xt,rn,Ln){const ni=this.prepareExternalUrl(rn+(0,x.Q)(Ln))||this._platformLocation.pathname;this._platformLocation.pushState(Pe,xt,ni)}replaceState(Pe,xt,rn,Ln){const ni=this.prepareExternalUrl(rn+(0,x.Q)(Ln))||this._platformLocation.pathname;this._platformLocation.replaceState(Pe,xt,ni)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Pe=0){this._platformLocation.historyGo?.(Pe)}static \u0275fac=function(xt){return new(xt||M)(D.KVO(N.Vw),D.KVO(x.kB,8))};static \u0275prov=D.jDH({token:M,factory:M.\u0275fac})}const U={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KGS:[void 0,"\u20c0"],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XCG:["Cg."],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var J,St,I,T,C,R;(St=J||(J={}))[St.Decimal=0]="Decimal",St[St.Percent=1]="Percent",St[St.Currency=2]="Currency",St[St.Scientific=3]="Scientific",function(St){St[St.Zero=0]="Zero",St[St.One=1]="One",St[St.Two=2]="Two",St[St.Few=3]="Few",St[St.Many=4]="Many",St[St.Other=5]="Other"}(I||(I={})),function(St){St[St.Format=0]="Format",St[St.Standalone=1]="Standalone"}(T||(T={})),function(St){St[St.Narrow=0]="Narrow",St[St.Abbreviated=1]="Abbreviated",St[St.Wide=2]="Wide",St[St.Short=3]="Short"}(C||(C={})),function(St){St[St.Short=0]="Short",St[St.Medium=1]="Medium",St[St.Long=2]="Long",St[St.Full=3]="Full"}(R||(R={}));const B_Decimal=0,B_Group=1,B_PercentSign=3,B_MinusSign=5,B_Exponential=6,B_Infinity=9,B_CurrencyDecimal=12,B_CurrencyGroup=13;var F;function j(St,Pe){return he((0,y.kBR)(St)[y.NSC.DateFormat],Pe)}function te(St,Pe){return he((0,y.kBR)(St)[y.NSC.TimeFormat],Pe)}function ce(St,Pe){return he((0,y.kBR)(St)[y.NSC.DateTimeFormat],Pe)}function ye(St,Pe){const xt=(0,y.kBR)(St),rn=xt[y.NSC.NumberSymbols][Pe];if(typeof rn>"u"){if(Pe===B_CurrencyDecimal)return xt[y.NSC.NumberSymbols][B_Decimal];if(Pe===B_CurrencyGroup)return xt[y.NSC.NumberSymbols][B_Group]}return rn}function Le(St,Pe){return(0,y.kBR)(St)[y.NSC.NumberFormats][Pe]}!function(St){St[St.Sunday=0]="Sunday",St[St.Monday=1]="Monday",St[St.Tuesday=2]="Tuesday",St[St.Wednesday=3]="Wednesday",St[St.Thursday=4]="Thursday",St[St.Friday=5]="Friday",St[St.Saturday=6]="Saturday"}(F||(F={}));const ut=y.Jt5;function xe(St){if(!St[y.NSC.ExtraData])throw new D.buA(2303,!1)}function he(St,Pe){for(let xt=Pe;xt>-1;xt--)if(typeof St[xt]<"u")return St[xt];throw new D.buA(2304,!1)}function ve(St){const[Pe,xt]=St.split(":");return{hours:+Pe,minutes:+xt}}function be(St,Pe,xt="en"){const rn=function Me(St){return(0,y.kBR)(St)[y.NSC.Currencies]}(xt)[St]||U[St]||[],Ln=rn[1];return"narrow"===Pe&&"string"==typeof Ln?Ln:rn[0]||St}const Fe=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,He=Object.create(null),wt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function ee(St,Pe,xt,rn){let Ln=function lt(St){if(at(St))return St;if("number"==typeof St&&!isNaN(St))return new Date(St);if("string"==typeof St){if(St=St.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(St)){const[Ln,ni=1,Sn=1]=St.split("-").map(Wn=>+Wn);return De(Ln,ni-1,Sn)}const xt=parseFloat(St);if(!isNaN(St-xt))return new Date(xt);let rn;if(rn=St.match(Fe))return function Oe(St){const Pe=new Date(0);let xt=0,rn=0;const Ln=St[8]?Pe.setUTCFullYear:Pe.setFullYear,ni=St[8]?Pe.setUTCHours:Pe.setHours;St[9]&&(xt=Number(St[9]+St[10]),rn=Number(St[9]+St[11])),Ln.call(Pe,Number(St[1]),Number(St[2])-1,Number(St[3]));const Sn=Number(St[4]||0)-xt,Wn=Number(St[5]||0)-rn,Ui=Number(St[6]||0),Xr=Math.floor(1e3*parseFloat("0."+(St[7]||0)));return ni.call(Pe,Sn,Wn,Ui,Xr),Pe}(rn)}const Pe=new Date(St);if(!at(Pe))throw new D.buA(2311,!1);return Pe}(St);(function V(St){if(St.length>256)throw new D.buA(2300,!1)})(Pe),Pe=rt(xt,Pe)||Pe;let Wn,Sn=[];for(;Pe;){if(Wn=wt.exec(Pe),!Wn){Sn.push(Pe);break}{Sn=Sn.concat(Wn.slice(1));const jt=Sn.pop();if(!jt)break;Pe=jt}}let Ui=Ln.getTimezoneOffset();rn&&(Ui=je(rn,Ui),Ln=function ht(St,Pe,xt){const Ln=St.getTimezoneOffset(),ni=je(Pe,Ln);return function _t(St,Pe){return St=new Date(St.getTime()),St.setMinutes(St.getMinutes()+Pe),St}(St,-1*(ni-Ln))}(Ln,rn));let Xr="";return Sn.forEach(jt=>{const yt=function fn(St){if(ln[St])return ln[St];let Pe;switch(St){case"G":case"GG":case"GGG":Pe=Pt(3,C.Abbreviated);break;case"GGGG":Pe=Pt(3,C.Wide);break;case"GGGGG":Pe=Pt(3,C.Narrow);break;case"y":Pe=ze(0,1,0,!1,!0);break;case"yy":Pe=ze(0,2,0,!0,!0);break;case"yyy":Pe=ze(0,3,0,!1,!0);break;case"yyyy":Pe=ze(0,4,0,!1,!0);break;case"Y":Pe=Vt(1);break;case"YY":Pe=Vt(2,!0);break;case"YYY":Pe=Vt(3);break;case"YYYY":Pe=Vt(4);break;case"M":case"L":Pe=ze(1,1,1);break;case"MM":case"LL":Pe=ze(1,2,1);break;case"MMM":Pe=Pt(2,C.Abbreviated);break;case"MMMM":Pe=Pt(2,C.Wide);break;case"MMMMM":Pe=Pt(2,C.Narrow);break;case"LLL":Pe=Pt(2,C.Abbreviated,T.Standalone);break;case"LLLL":Pe=Pt(2,C.Wide,T.Standalone);break;case"LLLLL":Pe=Pt(2,C.Narrow,T.Standalone);break;case"w":Pe=Et(1);break;case"ww":Pe=Et(2);break;case"W":Pe=Et(1,!0);break;case"d":Pe=ze(2,1);break;case"dd":Pe=ze(2,2);break;case"c":case"cc":Pe=ze(7,1);break;case"ccc":Pe=Pt(1,C.Abbreviated,T.Standalone);break;case"cccc":Pe=Pt(1,C.Wide,T.Standalone);break;case"ccccc":Pe=Pt(1,C.Narrow,T.Standalone);break;case"cccccc":Pe=Pt(1,C.Short,T.Standalone);break;case"E":case"EE":case"EEE":Pe=Pt(1,C.Abbreviated);break;case"EEEE":Pe=Pt(1,C.Wide);break;case"EEEEE":Pe=Pt(1,C.Narrow);break;case"EEEEEE":Pe=Pt(1,C.Short);break;case"a":case"aa":case"aaa":Pe=Pt(0,C.Abbreviated);break;case"aaaa":Pe=Pt(0,C.Wide);break;case"aaaaa":Pe=Pt(0,C.Narrow);break;case"b":case"bb":case"bbb":Pe=Pt(0,C.Abbreviated,T.Standalone,!0);break;case"bbbb":Pe=Pt(0,C.Wide,T.Standalone,!0);break;case"bbbbb":Pe=Pt(0,C.Narrow,T.Standalone,!0);break;case"B":case"BB":case"BBB":Pe=Pt(0,C.Abbreviated,T.Format,!0);break;case"BBBB":Pe=Pt(0,C.Wide,T.Format,!0);break;case"BBBBB":Pe=Pt(0,C.Narrow,T.Format,!0);break;case"h":Pe=ze(3,1,-12);break;case"hh":Pe=ze(3,2,-12);break;case"H":Pe=ze(3,1);break;case"HH":Pe=ze(3,2);break;case"m":Pe=ze(4,1);break;case"mm":Pe=ze(4,2);break;case"s":Pe=ze(5,1);break;case"ss":Pe=ze(5,2);break;case"S":Pe=ze(6,1);break;case"SS":Pe=ze(6,2);break;case"SSS":Pe=ze(6,3);break;case"Z":case"ZZ":case"ZZZ":Pe=Tn(0);break;case"ZZZZZ":Pe=Tn(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Pe=Tn(1);break;case"OOOO":case"ZZZZ":case"zzzz":Pe=Tn(2);break;default:return null}return ln[St]=Pe,Pe}(jt);Xr+=yt?yt(Ln,xt,Ui):"''"===jt?"'":jt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Xr}function De(St,Pe,xt){const rn=new Date(0);return rn.setFullYear(St,Pe,xt),rn.setHours(0,0,0),rn}function rt(St,Pe){const xt=function $(St){return(0,y.kBR)(St)[y.NSC.LocaleId]}(St);if(He[xt]??=Object.create(null),He[xt][Pe])return He[xt][Pe];let rn="";switch(Pe){case"shortDate":rn=j(St,R.Short);break;case"mediumDate":rn=j(St,R.Medium);break;case"longDate":rn=j(St,R.Long);break;case"fullDate":rn=j(St,R.Full);break;case"shortTime":rn=te(St,R.Short);break;case"mediumTime":rn=te(St,R.Medium);break;case"longTime":rn=te(St,R.Long);break;case"fullTime":rn=te(St,R.Full);break;case"short":const Ln=rt(St,"shortTime"),ni=rt(St,"shortDate");rn=It(ce(St,R.Short),[Ln,ni]);break;case"medium":const Sn=rt(St,"mediumTime"),Wn=rt(St,"mediumDate");rn=It(ce(St,R.Medium),[Sn,Wn]);break;case"long":const Ui=rt(St,"longTime"),Xr=rt(St,"longDate");rn=It(ce(St,R.Long),[Ui,Xr]);break;case"full":const jt=rt(St,"fullTime"),yt=rt(St,"fullDate");rn=It(ce(St,R.Full),[jt,yt])}return rn&&(He[xt][Pe]=rn),rn}function It(St,Pe){return Pe&&(St=St.replace(/\{([^}]+)}/g,function(xt,rn){return Object.hasOwn(Pe,rn)?Pe[rn]:xt})),St}function Kt(St,Pe,xt="-",rn,Ln){let ni="";(St<0||Ln&&St<=0)&&(Ln?St=1-St:(St=-St,ni=xt));let Sn=String(St);for(;Sn.length<Pe;)Sn="0"+Sn;return rn&&(Sn=Sn.slice(Sn.length-Pe)),ni+Sn}function ze(St,Pe,xt=0,rn=!1,Ln=!1){return function(ni,Sn){let Wn=function Mt(St,Pe){switch(St){case 0:return Pe.getFullYear();case 1:return Pe.getMonth();case 2:return Pe.getDate();case 3:return Pe.getHours();case 4:return Pe.getMinutes();case 5:return Pe.getSeconds();case 6:return Pe.getMilliseconds();case 7:return Pe.getDay();default:throw new D.buA(2301,!1)}}(St,ni);if((xt>0||Wn>-xt)&&(Wn+=xt),3===St)0===Wn&&-12===xt&&(Wn=12);else if(6===St)return function Ht(St,Pe){return Kt(St,3).substring(0,Pe)}(Wn,Pe);const Ui=ye(Sn,B_MinusSign);return Kt(Wn,Pe,Ui,rn,Ln)}}function Pt(St,Pe,xt=T.Format,rn=!1){return function(Ln,ni){return function bn(St,Pe,xt,rn,Ln,ni){switch(xt){case 2:return function O(St,Pe,xt){const rn=(0,y.kBR)(St),ni=he([rn[y.NSC.MonthsFormat],rn[y.NSC.MonthsStandalone]],Pe);return he(ni,xt)}(Pe,Ln,rn)[St.getMonth()];case 1:return function w(St,Pe,xt){const rn=(0,y.kBR)(St),ni=he([rn[y.NSC.DaysFormat],rn[y.NSC.DaysStandalone]],Pe);return he(ni,xt)}(Pe,Ln,rn)[St.getDay()];case 0:const Sn=St.getHours(),Wn=St.getMinutes();if(ni){const Xr=function Te(St){const Pe=(0,y.kBR)(St);return xe(Pe),(Pe[y.NSC.ExtraData][2]||[]).map(rn=>"string"==typeof rn?ve(rn):[ve(rn[0]),ve(rn[1])])}(Pe),jt=function Ce(St,Pe,xt){const rn=(0,y.kBR)(St);xe(rn);const ni=he([rn[y.NSC.ExtraData][0],rn[y.NSC.ExtraData][1]],Pe)||[];return he(ni,xt)||[]}(Pe,Ln,rn),yt=Xr.findIndex(mo=>{if(Array.isArray(mo)){const[no,bo]=mo,ra=Sn>=no.hours&&Wn>=no.minutes,ns=Sn<bo.hours||Sn===bo.hours&&Wn<bo.minutes;if(no.hours<bo.hours){if(ra&&ns)return!0}else if(ra||ns)return!0}else if(mo.hours===Sn&&mo.minutes===Wn)return!0;return!1});if(-1!==yt)return jt[yt]}return function E(St,Pe,xt){const rn=(0,y.kBR)(St),ni=he([rn[y.NSC.DayPeriodsFormat],rn[y.NSC.DayPeriodsStandalone]],Pe);return he(ni,xt)}(Pe,Ln,rn)[Sn<12?0:1];case 3:return function Z(St,Pe){return he((0,y.kBR)(St)[y.NSC.Eras],Pe)}(Pe,rn)[St.getFullYear()<=0?0:1];default:throw new D.buA(2302,!1)}}(Ln,ni,St,Pe,xt,rn)}}function Tn(St){return function(Pe,xt,rn){const Ln=-1*rn,ni=ye(xt,B_MinusSign),Sn=Ln>0?Math.floor(Ln/60):Math.ceil(Ln/60);switch(St){case 0:return(Ln>=0?"+":"")+Kt(Sn,2,ni)+Kt(Math.abs(Ln%60),2,ni);case 1:return"GMT"+(Ln>=0?"+":"")+Kt(Sn,1,ni);case 2:return"GMT"+(Ln>=0?"+":"")+Kt(Sn,2,ni)+":"+Kt(Math.abs(Ln%60),2,ni);case 3:return 0===rn?"Z":(Ln>=0?"+":"")+Kt(Sn,2,ni)+":"+Kt(Math.abs(Ln%60),2,ni);default:throw new D.buA(2310,!1)}}}function fe(St){const Pe=St.getDay(),xt=0===Pe?-3:4-Pe;return De(St.getFullYear(),St.getMonth(),St.getDate()+xt)}function Et(St,Pe=!1){return function(xt,rn){let Ln;if(Pe){const ni=new Date(xt.getFullYear(),xt.getMonth(),1).getDay()-1,Sn=xt.getDate();Ln=1+Math.floor((Sn+ni)/7)}else{const ni=fe(xt),Sn=function Y(St){const Pe=De(St,0,1).getDay();return De(St,0,1+(Pe<=4?4:11)-Pe)}(ni.getFullYear()),Wn=ni.getTime()-Sn.getTime();Ln=1+Math.round(Wn/6048e5)}return Kt(Ln,St,ye(rn,B_MinusSign))}}function Vt(St,Pe=!1){return function(xt,rn){return Kt(fe(xt).getFullYear(),St,ye(rn,B_MinusSign),Pe)}}const ln=Object.create(null);function je(St,Pe){St=St.replace(/:/g,"");const xt=Date.parse("Jan 01, 1970 00:00:00 "+St)/6e4;return isNaN(xt)?Pe:xt}function at(St){return St instanceof Date&&!isNaN(St.valueOf())}const Q=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Ei(St,Pe,xt,rn,Ln,ni,Sn=!1){let Wn="",Ui=!1;if(isFinite(St)){let Xr=function wn(St){let rn,Ln,ni,Sn,Wn,Pe=Math.abs(St)+"",xt=0;for((Ln=Pe.indexOf("."))>-1&&(Pe=Pe.replace(".","")),(ni=Pe.search(/e/i))>0?(Ln<0&&(Ln=ni),Ln+=+Pe.slice(ni+1),Pe=Pe.substring(0,ni)):Ln<0&&(Ln=Pe.length),ni=0;"0"===Pe.charAt(ni);ni++);if(ni===(Wn=Pe.length))rn=[0],Ln=1;else{for(Wn--;"0"===Pe.charAt(Wn);)Wn--;for(Ln-=ni,rn=[],Sn=0;ni<=Wn;ni++,Sn++)rn[Sn]=Number(Pe.charAt(ni))}return Ln>22&&(rn=rn.splice(0,21),xt=Ln-1,Ln=1),{digits:rn,exponent:xt,integerLen:Ln}}(St);Sn&&(Xr=function Yt(St){if(0===St.digits[0])return St;const Pe=St.digits.length-St.integerLen;return St.exponent?St.exponent+=2:(0===Pe?St.digits.push(0,0):1===Pe&&St.digits.push(0),St.integerLen+=2),St}(Xr));let jt=Pe.minInt,yt=Pe.minFrac,mo=Pe.maxFrac;if(ni){const po=ni.match(Q);if(null===po)throw new D.buA(2306,!1);const Eo=po[1],Do=po[3],is=po[5];null!=Eo&&(jt=Qn(Eo)),null!=Do&&(yt=Qn(Do)),null!=is?mo=Qn(is):null!=Do&&yt>mo&&(mo=yt);const Ro=100;if(jt>Ro||yt>Ro||mo>Ro)throw new D.buA(2306,!1)}!function zn(St,Pe,xt){if(Pe>xt)throw new D.buA(2307,!1);let rn=St.digits,Ln=rn.length-St.integerLen;const ni=Math.min(Math.max(Pe,Ln),xt);let Sn=ni+St.integerLen,Wn=rn[Sn];if(Sn>0){rn.splice(Math.max(St.integerLen,Sn));for(let yt=Sn;yt<rn.length;yt++)rn[yt]=0}else{Ln=Math.max(0,Ln),St.integerLen=1,rn.length=Math.max(1,Sn=ni+1),rn[0]=0;for(let yt=1;yt<Sn;yt++)rn[yt]=0}if(Wn>=5)if(Sn-1<0){for(let yt=0;yt>Sn;yt--)rn.unshift(0),St.integerLen++;rn.unshift(1),St.integerLen++}else rn[Sn-1]++;for(;Ln<Math.max(0,ni);Ln++)rn.push(0);let Ui=0!==ni;const Xr=Pe+St.integerLen,jt=rn.reduceRight(function(yt,mo,no,bo){return mo+=yt,bo[no]=mo<10?mo:mo-10,Ui&&(0===bo[no]&&no>=Xr?bo.pop():Ui=!1),mo>=10?1:0},0);jt&&(rn.unshift(jt),St.integerLen++)}(Xr,yt,mo);let no=Xr.digits,bo=Xr.integerLen;const ra=Xr.exponent;let ns=[];for(Ui=no.every(po=>!po);bo<jt;bo++)no.unshift(0);for(;bo<0;bo++)no.unshift(0);bo>0?ns=no.splice(bo,no.length):(ns=no,no=[0]);const xo=[];for(no.length>=Pe.lgSize&&xo.unshift(no.splice(-Pe.lgSize,no.length).join(""));no.length>Pe.gSize;)xo.unshift(no.splice(-Pe.gSize,no.length).join(""));no.length&&xo.unshift(no.join("")),Wn=xo.join(ye(xt,rn)),ns.length&&(Wn+=ye(xt,Ln)+ns.join("")),ra&&(Wn+=ye(xt,B_Exponential)+"+"+ra)}else Wn=ye(xt,B_Infinity);return Wn=St<0&&!Ui?Pe.negPre+Wn+Pe.negSuf:Pe.posPre+Wn+Pe.posSuf,Wn}function ui(St,Pe,xt,rn,Ln){const Sn=Yn(Le(Pe,J.Currency),ye(Pe,B_MinusSign));return Sn.minFrac=function G(St){let Pe;const xt=U[St];return xt&&(Pe=xt[2]),"number"==typeof Pe?Pe:2}(rn),Sn.maxFrac=Sn.minFrac,Ei(St,Sn,Pe,B_CurrencyGroup,B_CurrencyDecimal,Ln).replace("\xa4",xt).replace("\xa4","").trim()}function Yn(St,Pe="-"){const xt={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},rn=St.split(";"),Ln=rn[0],ni=rn[1],Sn=-1!==Ln.indexOf(".")?Ln.split("."):[Ln.substring(0,Ln.lastIndexOf("0")+1),Ln.substring(Ln.lastIndexOf("0")+1)],Wn=Sn[0],Ui=Sn[1]||"";xt.posPre=Wn.substring(0,Wn.indexOf("#"));for(let jt=0;jt<Ui.length;jt++){const yt=Ui.charAt(jt);"0"===yt?xt.minFrac=xt.maxFrac=jt+1:"#"===yt?xt.maxFrac=jt+1:xt.posSuf+=yt}const Xr=Wn.split(",");if(xt.gSize=Xr[1]?Xr[1].length:0,xt.lgSize=Xr[2]||Xr[1]?(Xr[2]||Xr[1]).length:0,ni){const jt=Ln.length-xt.posPre.length-xt.posSuf.length,yt=ni.indexOf("#");xt.negPre=ni.substring(0,yt).replace(/'/g,""),xt.negSuf=ni.slice(yt+jt).replace(/'/g,"")}else xt.negPre=Pe+xt.posPre,xt.negSuf=xt.posSuf;return xt}function Qn(St){const Pe=parseInt(St);if(isNaN(Pe))throw new D.buA(2305,!1);return Pe}class pi{static \u0275fac=function(xt){return new(xt||pi)};static \u0275prov=y.tV_({token:pi,factory:()=>new Fr((0,D.WQX)(y.xe9))})}function Mr(St,Pe,xt,rn){let Ln=`=${St}`;if(Pe.indexOf(Ln)>-1||(Ln=xt.getPluralCategory(St,rn),Pe.indexOf(Ln)>-1))return Ln;if(Pe.indexOf("other")>-1)return"other";throw new D.buA(2308,!1)}class Fr extends pi{locale;constructor(Pe){super(),this.locale=Pe}getPluralCategory(Pe,xt){switch(ut(xt||this.locale)(Pe)){case I.Zero:return"zero";case I.One:return"one";case I.Two:return"two";case I.Few:return"few";case I.Many:return"many";default:return"other"}}static \u0275fac=function(xt){return new(xt||Fr)(D.KVO(y.xe9))};static \u0275prov=D.jDH({token:Fr,factory:Fr.\u0275fac})}const co=/\s+/,lo=[];class to{_ngEl;_renderer;initialClasses=lo;rawClass;stateMap=new Map;constructor(Pe,xt){this._ngEl=Pe,this._renderer=xt}set klass(Pe){this.initialClasses=null!=Pe?Pe.trim().split(co):lo}set ngClass(Pe){this.rawClass="string"==typeof Pe?Pe.trim().split(co):Pe}ngDoCheck(){for(const xt of this.initialClasses)this._updateState(xt,!0);const Pe=this.rawClass;if(Array.isArray(Pe)||Pe instanceof Set)for(const xt of Pe)this._updateState(xt,!0);else if(null!=Pe)for(const xt of Object.keys(Pe))this._updateState(xt,!!Pe[xt]);this._applyStateDiff()}_updateState(Pe,xt){const rn=this.stateMap.get(Pe);void 0!==rn?(rn.enabled!==xt&&(rn.changed=!0,rn.enabled=xt),rn.touched=!0):this.stateMap.set(Pe,{enabled:xt,changed:!0,touched:!0})}_applyStateDiff(){for(const Pe of this.stateMap){const xt=Pe[0],rn=Pe[1];rn.changed?(this._toggleClass(xt,rn.enabled),rn.changed=!1):rn.touched||(rn.enabled&&this._toggleClass(xt,!1),this.stateMap.delete(xt)),rn.touched=!1}}_toggleClass(Pe,xt){(Pe=Pe.trim()).length>0&&Pe.split(co).forEach(rn=>{xt?this._renderer.addClass(this._ngEl.nativeElement,rn):this._renderer.removeClass(this._ngEl.nativeElement,rn)})}static \u0275fac=function(xt){return new(xt||to)(y.rXU(y.aKT),y.rXU(y.sFG))};static \u0275dir=y.FsC({type:to,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}class br{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(Pe){this._viewContainerRef=Pe}_needToReCreateNgModuleInstance(Pe){return void 0!==Pe.ngComponentOutletNgModule}_needToReCreateComponentInstance(Pe){return void 0!==Pe.ngComponentOutlet||void 0!==Pe.ngComponentOutletContent||void 0!==Pe.ngComponentOutletInjector||void 0!==Pe.ngComponentOutletEnvironmentInjector||this._needToReCreateNgModuleInstance(Pe)}ngOnChanges(Pe){if(this._needToReCreateComponentInstance(Pe)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const xt=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(Pe)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=(0,y.w6W)(this.ngComponentOutletNgModule,function es(St){return St.get(y.Ab1).injector}(xt)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:xt,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const Pe of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(Pe,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(Pe){for(const[xt,rn]of this._inputsUsed)rn?(Pe.setInput(xt,this.ngComponentOutletInputs[xt]),this._inputsUsed.set(xt,!1)):(Pe.setInput(xt,void 0),this._inputsUsed.delete(xt))}static \u0275fac=function(xt){return new(xt||br)(y.rXU(y.c1b))};static \u0275dir=y.FsC({type:br,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule"},exportAs:["ngComponentOutlet"],features:[y.OA$]})}class qr{$implicit;ngForOf;index;count;constructor(Pe,xt,rn,Ln){this.$implicit=Pe,this.ngForOf=xt,this.index=rn,this.count=Ln}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}class uo{_viewContainer;_template;_differs;set ngForOf(Pe){this._ngForOf=Pe,this._ngForOfDirty=!0}set ngForTrackBy(Pe){this._trackByFn=Pe}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(Pe,xt,rn){this._viewContainer=Pe,this._template=xt,this._differs=rn}set ngForTemplate(Pe){Pe&&(this._template=Pe)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Pe=this._ngForOf;!this._differ&&Pe&&(this._differ=this._differs.find(Pe).create(this.ngForTrackBy))}if(this._differ){const Pe=this._differ.diff(this._ngForOf);Pe&&this._applyChanges(Pe)}}_applyChanges(Pe){const xt=this._viewContainer;Pe.forEachOperation((rn,Ln,ni)=>{if(null==rn.previousIndex)xt.createEmbeddedView(this._template,new qr(rn.item,this._ngForOf,-1,-1),null===ni?void 0:ni);else if(null==ni)xt.remove(null===Ln?void 0:Ln);else if(null!==Ln){const Sn=xt.get(Ln);xt.move(Sn,ni),wr(Sn,rn)}});for(let rn=0,Ln=xt.length;rn<Ln;rn++){const Sn=xt.get(rn).context;Sn.index=rn,Sn.count=Ln,Sn.ngForOf=this._ngForOf}Pe.forEachIdentityChange(rn=>{wr(xt.get(rn.currentIndex),rn)})}static ngTemplateContextGuard(Pe,xt){return!0}static \u0275fac=function(xt){return new(xt||uo)(y.rXU(y.c1b),y.rXU(y.C4Q),y.rXU(P._q3))};static \u0275dir=y.FsC({type:uo,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}function wr(St,Pe){St.context.$implicit=Pe.item}class Cr{_viewContainer;_context=new Ar;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(Pe,xt){this._viewContainer=Pe,this._thenTemplateRef=xt}set ngIf(Pe){this._context.$implicit=this._context.ngIf=Pe,this._updateView()}set ngIfThen(Pe){zt(Pe,!1),this._thenTemplateRef=Pe,this._thenViewRef=null,this._updateView()}set ngIfElse(Pe){zt(Pe,!1),this._elseTemplateRef=Pe,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(Pe,xt){return!0}static \u0275fac=function(xt){return new(xt||Cr)(y.rXU(y.c1b),y.rXU(y.C4Q))};static \u0275dir=y.FsC({type:Cr,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}class Ar{$implicit=null;ngIf=null}function zt(St,Pe){if(St&&!St.createEmbeddedView)throw new D.buA(2020,!1)}class pt{_viewContainerRef;_templateRef;_created=!1;constructor(Pe,xt){this._viewContainerRef=Pe,this._templateRef=xt}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Pe){Pe&&!this._created?this.create():!Pe&&this._created&&this.destroy()}}class Bt{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(Pe){this._ngSwitch=Pe,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Pe){this._defaultViews.push(Pe)}_matchCase(Pe){const xt=Pe===this._ngSwitch;return this._lastCasesMatched||=xt,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),xt}_updateDefaultCases(Pe){if(this._defaultViews.length>0&&Pe!==this._defaultUsed){this._defaultUsed=Pe;for(const xt of this._defaultViews)xt.enforceState(Pe)}}static \u0275fac=function(xt){return new(xt||Bt)};static \u0275dir=y.FsC({type:Bt,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}class _n{ngSwitch;_view;ngSwitchCase;constructor(Pe,xt,rn){this.ngSwitch=rn,rn._addCase(),this._view=new pt(Pe,xt)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(xt){return new(xt||_n)(y.rXU(y.c1b),y.rXU(y.C4Q),y.rXU(Bt,9))};static \u0275dir=y.FsC({type:_n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}class Kn{constructor(Pe,xt,rn){rn._addDefault(new pt(Pe,xt))}static \u0275fac=function(xt){return new(xt||Kn)(y.rXU(y.c1b),y.rXU(y.C4Q),y.rXU(Bt,9))};static \u0275dir=y.FsC({type:Kn,selectors:[["","ngSwitchDefault",""]]})}class mi{_localization;_activeView;_caseViews={};constructor(Pe){this._localization=Pe}set ngPlural(Pe){this._updateView(Pe)}addCase(Pe,xt){this._caseViews[Pe]=xt}_updateView(Pe){this._clearViews();const rn=Mr(Pe,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[rn])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(Pe){Pe&&(this._activeView=Pe,this._activeView.create())}static \u0275fac=function(xt){return new(xt||mi)(y.rXU(pi))};static \u0275dir=y.FsC({type:mi,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}})}class Mi{value;constructor(Pe,xt,rn,Ln){this.value=Pe;const ni=!isNaN(Number(Pe));Ln.addCase(ni?`=${Pe}`:Pe,new pt(rn,xt))}static \u0275fac=function(xt){return new(xt||Mi)(y.kS0("ngPluralCase"),y.rXU(y.C4Q),y.rXU(y.c1b),y.rXU(mi,1))};static \u0275dir=y.FsC({type:Mi,selectors:[["","ngPluralCase",""]]})}class Hi{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(Pe,xt,rn){this._ngEl=Pe,this._differs=xt,this._renderer=rn}set ngStyle(Pe){this._ngStyle=Pe,!this._differ&&Pe&&(this._differ=this._differs.find(Pe).create())}ngDoCheck(){if(this._differ){const Pe=this._differ.diff(this._ngStyle);Pe&&this._applyChanges(Pe)}}_setStyle(Pe,xt){const[rn,Ln]=Pe.split("."),ni=-1===rn.indexOf("-")?void 0:y.czy.DashCase;null!=xt?this._renderer.setStyle(this._ngEl.nativeElement,rn,Ln?`${xt}${Ln}`:xt,ni):this._renderer.removeStyle(this._ngEl.nativeElement,rn,ni)}_applyChanges(Pe){Pe.forEachRemovedItem(xt=>this._setStyle(xt.key,null)),Pe.forEachAddedItem(xt=>this._setStyle(xt.key,xt.currentValue)),Pe.forEachChangedItem(xt=>this._setStyle(xt.key,xt.currentValue))}static \u0275fac=function(xt){return new(xt||Hi)(y.rXU(y.aKT),y.rXU(P.MKu),y.rXU(y.sFG))};static \u0275dir=y.FsC({type:Hi,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}class hr{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=(0,D.WQX)(D.zZn);constructor(Pe){this._viewContainerRef=Pe}ngOnChanges(Pe){if(this._shouldRecreateView(Pe)){const xt=this._viewContainerRef;if(this._viewRef&&xt.remove(xt.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const rn=this._createContextForwardProxy();this._viewRef=xt.createEmbeddedView(this.ngTemplateOutlet,rn,{injector:this._getInjector()})}}_getInjector(){return"outlet"===this.ngTemplateOutletInjector?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(Pe){return!!Pe.ngTemplateOutlet||!!Pe.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Pe,xt,rn)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,xt,rn),get:(Pe,xt,rn)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,xt,rn)}})}static \u0275fac=function(xt){return new(xt||hr)(y.rXU(y.c1b))};static \u0275dir=y.FsC({type:hr,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[y.OA$]})}function Ki(St,Pe){return new D.buA(2100,!1)}const tt=new class Ze{createSubscription(Pe,xt,rn){return Pe.then(Ln=>xt?.(Ln),Ln=>rn?.(Ln)),{unsubscribe:()=>{xt=null,rn=null}}}dispose(Pe){Pe.unsubscribe()}},ft=new class Gi{createSubscription(Pe,xt,rn){return(0,b.O8)(()=>Pe.subscribe({next:xt,error:rn}))}dispose(Pe){(0,b.O8)(()=>Pe.unsubscribe())}};class Ot{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=(0,D.WQX)(D.ZTf);constructor(Pe){this._ref=Pe}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Pe){if(!this._obj){if(Pe)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Pe)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Pe!==this._obj?(this._dispose(),this.transform(Pe)):this._latestValue}_subscribe(Pe){this._obj=Pe,this._strategy=this._selectStrategy(Pe),this._subscription=this._strategy.createSubscription(Pe,xt=>this._updateLatestValue(Pe,xt),xt=>this.applicationErrorHandler(xt))}_selectStrategy(Pe){if((0,y.yLl)(Pe))return tt;if((0,y.cdK)(Pe))return ft;throw Ki()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Pe,xt){Pe===this._obj&&(this._latestValue=xt,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(xt){return new(xt||Ot)(y.rXU(P.gRc,16))};static \u0275pipe=y.EJ8({name:"async",type:Ot,pure:!1})}class sn{transform(Pe){return null==Pe?null:(Yi(sn,Pe),Pe.toLowerCase())}static \u0275fac=function(xt){return new(xt||sn)};static \u0275pipe=y.EJ8({name:"lowercase",type:sn,pure:!0})}const kn=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;class In{transform(Pe){return null==Pe?null:(Yi(In,Pe),Pe.replace(kn,xt=>xt[0].toUpperCase()+xt.slice(1).toLowerCase()))}static \u0275fac=function(xt){return new(xt||In)};static \u0275pipe=y.EJ8({name:"titlecase",type:In,pure:!0})}class ti{transform(Pe){return null==Pe?null:(Yi(ti,Pe),Pe.toUpperCase())}static \u0275fac=function(xt){return new(xt||ti)};static \u0275pipe=y.EJ8({name:"uppercase",type:ti,pure:!0})}function Yi(St,Pe){if("string"!=typeof Pe)throw Ki()}const qi=new D.nKC(""),Xn=new D.nKC("");class Nn{locale;defaultTimezone;defaultOptions;constructor(Pe,xt,rn){this.locale=Pe,this.defaultTimezone=xt,this.defaultOptions=rn}transform(Pe,xt,rn,Ln){if(null==Pe||""===Pe||Pe!=Pe)return null;try{const ni=xt??this.defaultOptions?.dateFormat??"mediumDate",Sn=rn??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return ee(Pe,ni,Ln||this.locale,Sn)}catch(ni){throw Ki(0,ni.message)}}static \u0275fac=function(xt){return new(xt||Nn)(y.rXU(y.xe9,16),y.rXU(qi,24),y.rXU(Xn,24))};static \u0275pipe=y.EJ8({name:"date",type:Nn,pure:!0})}const Tr=/#/g;class ur{_localization;constructor(Pe){this._localization=Pe}transform(Pe,xt,rn){if(null==Pe)return"";if("object"!=typeof xt||null===xt)throw Ki();return xt[Mr(Pe,Object.keys(xt),this._localization,rn)].replace(Tr,Pe.toString())}static \u0275fac=function(xt){return new(xt||ur)(y.rXU(pi,16))};static \u0275pipe=y.EJ8({name:"i18nPlural",type:ur,pure:!0})}class Or{transform(Pe,xt){if(null==Pe)return"";if("object"!=typeof xt||"string"!=typeof Pe)throw Ki();return Object.hasOwn(xt,Pe)?xt[Pe]:Object.hasOwn(xt,"other")?xt.other:""}static \u0275fac=function(xt){return new(xt||Or)};static \u0275pipe=y.EJ8({name:"i18nSelect",type:Or,pure:!0})}class Pr{transform(Pe){return JSON.stringify(Pe,null,2)}static \u0275fac=function(xt){return new(xt||Pr)};static \u0275pipe=y.EJ8({name:"json",type:Pr,pure:!1})}class ir{differs;constructor(Pe){this.differs=Pe}differ;keyValues=[];compareFn=ts;transform(Pe,xt=ts){if(!Pe||!(Pe instanceof Map)&&"object"!=typeof Pe)return null;this.differ??=this.differs.find(Pe).create();const rn=this.differ.diff(Pe),Ln=xt!==this.compareFn;return rn&&(this.keyValues=[],rn.forEachItem(ni=>{this.keyValues.push(function Fi(St,Pe){return{key:St,value:Pe}}(ni.key,ni.currentValue))})),(rn||Ln)&&(xt&&this.keyValues.sort(xt),this.compareFn=xt),this.keyValues}static \u0275fac=function(xt){return new(xt||ir)(y.rXU(P.MKu,16))};static \u0275pipe=y.EJ8({name:"keyvalue",type:ir,pure:!1})}function ts(St,Pe){const xt=St.key,rn=Pe.key;if(xt===rn)return 0;if(null==xt)return 1;if(null==rn)return-1;if("string"==typeof xt&&"string"==typeof rn)return xt<rn?-1:1;if("number"==typeof xt&&"number"==typeof rn)return xt-rn;if("boolean"==typeof xt&&"boolean"==typeof rn)return xt<rn?-1:1;const Ln=String(xt),ni=String(rn);return Ln==ni?0:Ln<ni?-1:1}class Vr{_locale;constructor(Pe){this._locale=Pe}transform(Pe,xt,rn){if(!oo(Pe))return null;rn||=this._locale;try{return function pr(St,Pe,xt){return Ei(St,Yn(Le(Pe,J.Decimal),ye(Pe,B_MinusSign)),Pe,B_Group,B_Decimal,xt)}(yo(Pe),rn,xt)}catch(Ln){throw Ki(0,Ln.message)}}static \u0275fac=function(xt){return new(xt||Vr)(y.rXU(y.xe9,16))};static \u0275pipe=y.EJ8({name:"number",type:Vr,pure:!0})}class Er{_locale;constructor(Pe){this._locale=Pe}transform(Pe,xt,rn){if(!oo(Pe))return null;rn||=this._locale;try{return function sr(St,Pe,xt){return Ei(St,Yn(Le(Pe,J.Percent),ye(Pe,B_MinusSign)),Pe,B_Group,B_Decimal,xt,!0).replace(new RegExp("%","g"),ye(Pe,B_PercentSign))}(yo(Pe),rn,xt)}catch(Ln){throw Ki(0,Ln.message)}}static \u0275fac=function(xt){return new(xt||Er)(y.rXU(y.xe9,16))};static \u0275pipe=y.EJ8({name:"percent",type:Er,pure:!0})}class Di{_locale;_defaultCurrencyCode;constructor(Pe,xt="USD"){this._locale=Pe,this._defaultCurrencyCode=xt}transform(Pe,xt=this._defaultCurrencyCode,rn="symbol",Ln,ni){if(!oo(Pe))return null;ni||=this._locale,"boolean"==typeof rn&&(rn=rn?"symbol":"code");let Sn=xt||this._defaultCurrencyCode;"code"!==rn&&(Sn="symbol"===rn||"symbol-narrow"===rn?be(Sn,"symbol"===rn?"wide":"narrow",ni):rn);try{return ui(yo(Pe),ni,Sn,xt,Ln)}catch(Wn){throw Ki(0,Wn.message)}}static \u0275fac=function(xt){return new(xt||Di)(y.rXU(y.xe9,16),y.rXU(y.Ocv,16))};static \u0275pipe=y.EJ8({name:"currency",type:Di,pure:!0})}function oo(St){return!(null==St||""===St||St!=St)}function yo(St){if("string"==typeof St&&!isNaN(Number(St)-parseFloat(St)))return Number(St);if("number"!=typeof St)throw new D.buA(2309,!1);return St}class $t{transform(Pe,xt,rn){if(null==Pe)return null;if("string"!=typeof Pe&&!Array.isArray(Pe))throw Ki();return Pe.slice(xt,rn)}static \u0275fac=function(xt){return new(xt||$t)};static \u0275pipe=y.EJ8({name:"slice",type:$t,pure:!1})}class Xo{static \u0275fac=function(xt){return new(xt||Xo)};static \u0275mod=y.$C({type:Xo,imports:[to,br,uo,Cr,hr,Hi,Bt,_n,Kn,mi,Mi,Ot,ti,sn,Pr,$t,Vr,Er,In,Di,Nn,ur,Or,ir],exports:[to,br,uo,Cr,hr,Hi,Bt,_n,Kn,mi,Mi,Ot,ti,sn,Pr,$t,Vr,Er,In,Di,Nn,ur,Or,ir]});static \u0275inj=D.G2t({})}},44881(st,pe,h){"use strict";h.d(pe,{Q:()=>b,Sm:()=>M,aZ:()=>T,hb:()=>x,om:()=>D});var m=h(28939),s=h(70903),f=h(55919),P=h(93049);function D($,E){return $?E?$.endsWith("/")?E.startsWith("/")?$+E.slice(1):$+E:E.startsWith("/")?$+E:`${$}/${E}`:$:E}function y($){const E=$.search(/#|\?|$/);return"/"===$[E-1]?$.slice(0,E-1)+$.slice(E):$}function b($){return $&&"?"!==$[0]?`?${$}`:$}class x{historyGo(E){throw new Error("")}static \u0275fac=function(w){return new(w||x)};static \u0275prov=m.jDH({token:x,factory:()=>(0,m.WQX)(M),providedIn:"root"})}const N=new m.nKC("");class M extends x{_platformLocation;_baseHref;_removeListenerFns=[];constructor(E,w){super(),this._platformLocation=E,this._baseHref=w??this._platformLocation.getBaseHrefFromDOM()??(0,m.WQX)(m.qQL).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return D(this._baseHref,E)}path(E=!1){const w=this._platformLocation.pathname+b(this._platformLocation.search),O=this._platformLocation.hash;return O&&E?`${w}${O}`:w}pushState(E,w,O,Z){const Ee=this.prepareExternalUrl(O+b(Z));this._platformLocation.pushState(E,w,Ee)}replaceState(E,w,O,Z){const Ee=this.prepareExternalUrl(O+b(Z));this._platformLocation.replaceState(E,w,Ee)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static \u0275fac=function(w){return new(w||M)(m.KVO(P.Vw),m.KVO(N,8))};static \u0275prov=m.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}class U extends M{prepareExternalUrl(E){const w=I(E);return w.endsWith("/")&&w.length>1&&(E=w.slice(0,-1)+E.slice(w.length)),super.prepareExternalUrl(E)}static \u0275fac=(()=>{let E;return function(O){return(E||(E=s.xGo(U)))(O||U)}})();static \u0275prov=m.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}class J extends M{prepareExternalUrl(E){const w=I(E);return w.endsWith("/")||(E=w+"/"+E.slice(w.length)),super.prepareExternalUrl(E)}static \u0275fac=(()=>{let E;return function(O){return(E||(E=s.xGo(J)))(O||J)}})();static \u0275prov=m.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}function I($){const E=$.search(/[?#]/),w=E>-1?E:$.length;return $.slice(0,w)}class T{_subject=new f.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(E){this._locationStrategy=E;const w=this._locationStrategy.getBaseHref();this._basePath=function F($){if(new RegExp("^(https?:)?//").test($)){const[,w]=$.split(/\/\/[^\/]+/);return w}return $}(y(B(w))),this._locationStrategy.onPopState(O=>{this._subject.next({url:this.path(!0),pop:!0,state:O.state,type:O.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(E=!1){return this.normalize(this._locationStrategy.path(E))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(E,w=""){return this.path()==this.normalize(E+b(w))}normalize(E){return T.stripTrailingSlash(function R($,E){if(!$||!E.startsWith($))return E;const w=E.substring($.length);return""===w||["/",";","?","#"].includes(w[0])?w:E}(this._basePath,B(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._locationStrategy.prepareExternalUrl(E)}go(E,w="",O=null){this._locationStrategy.pushState(O,"",E,w),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+b(w)),O)}replaceState(E,w="",O=null){this._locationStrategy.replaceState(O,"",E,w),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+b(w)),O)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(E=0){this._locationStrategy.historyGo?.(E)}onUrlChange(E){return this._urlChangeListeners.push(E),this._urlChangeSubscription??=this.subscribe(w=>{this._notifyUrlChangeListeners(w.url,w.state)}),()=>{const w=this._urlChangeListeners.indexOf(E);this._urlChangeListeners.splice(w,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(E="",w){this._urlChangeListeners.forEach(O=>O(E,w))}subscribe(E,w,O){return this._subject.subscribe({next:E,error:w??void 0,complete:O??void 0})}static normalizeQueryParams=b;static joinWithSlash=D;static stripTrailingSlash=y;static \u0275fac=function(w){return new(w||T)(m.KVO(x))};static \u0275prov=m.jDH({token:T,factory:()=>function C(){return new T((0,m.KVO)(x))}(),providedIn:"root"})}function B($){return $.replace(/\/index\.html$/,"")}h.d(pe,["kB",0,N])},12592(st,pe,h){"use strict";h.d(pe,{Lr:()=>R,Nl:()=>j,Qq:()=>Ae,Z9:()=>Qi,cS:()=>ve,hv:()=>Ce,q1:()=>Cr,yz:()=>be});var s=h(29293),f=h(28939),P=h(70903),D=h(10286),y=h(18997),b=h(84833),x=h(97497),N=h(65229),M=h(34369),U=h(1382),J=h(93049),I=h(75536),C=(h(67148),h(47086));class R{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(pt){pt?"string"==typeof pt?this.lazyInit=()=>{this.headers=new Map,pt.split("\n").forEach(Bt=>{const _n=Bt.indexOf(":");if(_n>0){const Kn=Bt.slice(0,_n),pn=Bt.slice(_n+1).trim();this.addHeaderEntry(Kn,pn)}})}:typeof Headers<"u"&&pt instanceof Headers?(this.headers=new Map,pt.forEach((Bt,_n)=>{this.addHeaderEntry(_n,Bt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(pt).forEach(([Bt,_n])=>{this.setHeaderEntries(Bt,_n)})}:this.headers=new Map}has(pt){return this.init(),this.headers.has(pt.toLowerCase())}get(pt){this.init();const Bt=this.headers.get(pt.toLowerCase());return Bt&&Bt.length>0?Bt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(pt){return this.init(),this.headers.get(pt.toLowerCase())||null}append(pt,Bt){return this.clone({name:pt,value:Bt,op:"a"})}set(pt,Bt){return this.clone({name:pt,value:Bt,op:"s"})}delete(pt,Bt){return this.clone({name:pt,value:Bt,op:"d"})}maybeSetNormalizedName(pt,Bt){this.normalizedNames.has(Bt)||this.normalizedNames.set(Bt,pt)}init(){this.lazyInit&&(this.lazyInit instanceof R?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(pt=>this.applyUpdate(pt)),this.lazyUpdate=null))}copyFrom(pt){pt.init();for(const[Bt,_n]of pt.headers.entries())this.headers.set(Bt,_n),this.normalizedNames.set(Bt,pt.normalizedNames.get(Bt))}clone(pt){const Bt=new R;return Bt.lazyInit=this.lazyInit&&this.lazyInit instanceof R?this.lazyInit:this,Bt.lazyUpdate=(this.lazyUpdate||[]).concat([pt]),Bt}applyUpdate(pt){const Bt=pt.name.toLowerCase();switch(pt.op){case"a":case"s":let _n=pt.value;if("string"==typeof _n&&(_n=[_n]),0===_n.length)return;this.maybeSetNormalizedName(pt.name,Bt);const Kn="a"===pt.op?(this.headers.get(Bt)||[]).slice():[];Kn.push(..._n),this.headers.set(Bt,Kn);break;case"d":const pn=pt.value;if(void 0===pn)this.headers.delete(Bt),this.normalizedNames.delete(Bt);else{const mi=Array.isArray(pn)?pn:[pn];let Mi=this.headers.get(Bt);if(!Mi)return;Mi=Mi.filter(Hi=>-1===mi.indexOf(Hi)),0===Mi.length?(this.headers.delete(Bt),this.normalizedNames.delete(Bt)):this.headers.set(Bt,Mi)}}}addHeaderEntry(pt,Bt){const _n=pt.toLowerCase();this.maybeSetNormalizedName(pt,_n),this.headers.has(_n)?this.headers.get(_n).push(Bt):this.headers.set(_n,[Bt])}setHeaderEntries(pt,Bt){const _n=(Array.isArray(Bt)?Bt:[Bt]).map(pn=>pn.toString()),Kn=pt.toLowerCase();this.headers.set(Kn,_n),this.maybeSetNormalizedName(pt,Kn)}forEach(pt){this.init(),Array.from(this.normalizedNames.keys()).forEach(Bt=>pt(this.normalizedNames.get(Bt),this.headers.get(Bt)))}}class ${map=new Map;set(pt,Bt){return this.map.set(pt,Bt),this}get(pt){return this.map.has(pt)||this.map.set(pt,pt.defaultValue()),this.map.get(pt)}delete(pt){return this.map.delete(pt),this}has(pt){return this.map.has(pt)}keys(){return this.map.keys()}}class E{encodeKey(pt){return Ee(pt)}encodeValue(pt){return Ee(pt)}decodeKey(pt){return decodeURIComponent(pt)}decodeValue(pt){return decodeURIComponent(pt)}}const O=/%(\d[a-f0-9])/gi,Z={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ee(zt){return encodeURIComponent(zt).replace(O,(pt,Bt)=>Z[Bt]??pt)}function oe(zt){return`${zt}`}class j{map;encoder;updates=null;cloneFrom=null;constructor(pt={}){if(this.encoder=pt.encoder||new E,pt.fromString){if(pt.fromObject)throw new f.buA(2805,!1);this.map=function w(zt,pt){const Bt=new Map;return zt.length>0&&zt.replace(/^\?/,"").split("&").forEach(Kn=>{const pn=Kn.indexOf("="),[mi,Mi]=-1==pn?[pt.decodeKey(Kn),""]:[pt.decodeKey(Kn.slice(0,pn)),pt.decodeValue(Kn.slice(pn+1))],Hi=Bt.get(mi)||[];Hi.push(Mi),Bt.set(mi,Hi)}),Bt}(pt.fromString,this.encoder)}else pt.fromObject?(this.map=new Map,Object.keys(pt.fromObject).forEach(Bt=>{const _n=pt.fromObject[Bt],Kn=Array.isArray(_n)?_n.map(oe):[oe(_n)];this.map.set(Bt,Kn)})):this.map=null}has(pt){return this.init(),this.map.has(pt)}get(pt){this.init();const Bt=this.map.get(pt);return Bt?Bt[0]:null}getAll(pt){return this.init(),this.map.get(pt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(pt,Bt){return this.clone({param:pt,value:Bt,op:"a"})}appendAll(pt){const Bt=[];return Object.keys(pt).forEach(_n=>{const Kn=pt[_n];Array.isArray(Kn)?Kn.forEach(pn=>{Bt.push({param:_n,value:pn,op:"a"})}):Bt.push({param:_n,value:Kn,op:"a"})}),this.clone(Bt)}set(pt,Bt){return this.clone({param:pt,value:Bt,op:"s"})}delete(pt,Bt){return this.clone({param:pt,value:Bt,op:"d"})}toString(){return this.init(),this.keys().map(pt=>{const Bt=this.encoder.encodeKey(pt);return this.map.get(pt).map(_n=>Bt+"="+this.encoder.encodeValue(_n)).join("&")}).filter(pt=>""!==pt).join("&")}clone(pt){const Bt=new j({encoder:this.encoder});return Bt.cloneFrom=this.cloneFrom||this,Bt.updates=(this.updates||[]).concat(pt),Bt}init(){if(null===this.map&&(this.map=new Map),null!==this.cloneFrom){this.cloneFrom.init();for(const[pt,Bt]of this.cloneFrom.map.entries())this.map.set(pt,Bt);this.updates.forEach(pt=>{switch(pt.op){case"a":case"s":const Bt="a"===pt.op?(this.map.get(pt.param)||[]).slice():[];Bt.push(oe(pt.value)),this.map.set(pt.param,Bt);break;case"d":if(void 0===pt.value){this.map.delete(pt.param);break}{const _n=(this.map.get(pt.param)||[]).slice(),Kn=_n.indexOf(oe(pt.value));-1!==Kn&&_n.splice(Kn,1),_n.length>0?this.map.set(pt.param,_n):this.map.delete(pt.param)}}}),this.cloneFrom=this.updates=null}}}function ce(zt){return typeof ArrayBuffer<"u"&&zt instanceof ArrayBuffer}function ye(zt){return typeof Blob<"u"&&zt instanceof Blob}function Le(zt){return typeof FormData<"u"&&zt instanceof FormData}const Tt="Content-Type",We="Accept",Me="text/plain",ut="application/json",xe=`${ut}, ${Me}, */*`;class Te{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(pt,Bt,_n,Kn){let pn;if(this.url=Bt,this.method=pt.toUpperCase(),function te(zt){switch(zt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Kn?(this.body=void 0!==_n?_n:null,pn=Kn):pn=_n,pn){if(this.reportProgress=!!pn.reportProgress,this.reportUploadProgress=!!pn.reportUploadProgress,this.reportDownloadProgress=!!pn.reportDownloadProgress,this.withCredentials=!!pn.withCredentials,this.keepalive=!!pn.keepalive,pn.responseType&&(this.responseType=pn.responseType),pn.headers&&(this.headers=pn.headers),pn.context&&(this.context=pn.context),pn.params&&(this.params=pn.params),pn.priority&&(this.priority=pn.priority),pn.cache&&(this.cache=pn.cache),pn.credentials&&(this.credentials=pn.credentials),"number"==typeof pn.timeout){if(pn.timeout<1||!Number.isInteger(pn.timeout))throw new f.buA(2822,"");this.timeout=pn.timeout}pn.mode&&(this.mode=pn.mode),pn.redirect&&(this.redirect=pn.redirect),pn.integrity&&(this.integrity=pn.integrity),void 0!==pn.referrer&&(this.referrer=pn.referrer),pn.referrerPolicy&&(this.referrerPolicy=pn.referrerPolicy),this.transferCache=pn.transferCache}if(this.headers??=new R,this.context??=new $,this.params){const mi=this.params.toString();if(0===mi.length)this.urlWithParams=Bt;else{let Mi=Bt,Hi="";const hr=Bt.indexOf("#");-1!==hr&&(Hi=Bt.substring(hr),Mi=Bt.substring(0,hr));const wi=Mi.indexOf("?"),Ki=-1===wi?"?":wi<Mi.length-1?"&":"";this.urlWithParams=Mi+Ki+mi+Hi}}else this.params=new j,this.urlWithParams=Bt}serializeBody(){return null===this.body?null:"string"==typeof this.body||ce(this.body)||ye(this.body)||Le(this.body)||function $e(zt){return typeof URLSearchParams<"u"&&zt instanceof URLSearchParams}(this.body)?this.body:this.body instanceof j?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Le(this.body)?null:ye(this.body)?this.body.type||null:ce(this.body)?null:"string"==typeof this.body?Me:this.body instanceof j?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?ut:null}clone(pt={}){const Bt=pt.method||this.method,_n=pt.url||this.url,Kn=pt.responseType||this.responseType,pn=pt.keepalive??this.keepalive,mi=pt.priority||this.priority,Mi=pt.cache||this.cache,Hi=pt.mode||this.mode,hr=pt.redirect||this.redirect,wi=pt.credentials||this.credentials,Ki=pt.referrer??this.referrer,vo=pt.integrity||this.integrity,Gi=pt.referrerPolicy||this.referrerPolicy,Ze=pt.transferCache??this.transferCache,tt=pt.timeout??this.timeout,ft=void 0!==pt.body?pt.body:this.body,Ot=pt.withCredentials??this.withCredentials,sn=pt.reportProgress??this.reportProgress,kn=pt.reportUploadProgress??this.reportUploadProgress,In=pt.reportDownloadProgress??this.reportDownloadProgress;let ti=pt.headers||this.headers,Yi=pt.params||this.params;const tr=pt.context??this.context;return void 0!==pt.setHeaders&&(ti=Object.keys(pt.setHeaders).reduce((qi,Xn)=>qi.set(Xn,pt.setHeaders[Xn]),ti)),pt.setParams&&(Yi=Object.keys(pt.setParams).reduce((qi,Xn)=>qi.set(Xn,pt.setParams[Xn]),Yi)),new Te(Bt,_n,ft,{params:Yi,headers:ti,context:tr,reportProgress:sn,reportUploadProgress:kn,reportDownloadProgress:In,responseType:Kn,withCredentials:Ot,transferCache:Ze,keepalive:pn,cache:Mi,priority:mi,timeout:tt,mode:Hi,redirect:hr,credentials:wi,referrer:Ki,integrity:vo,referrerPolicy:Gi})}}var Ce,zt;(zt=Ce||(Ce={}))[zt.Sent=0]="Sent",zt[zt.UploadProgress=1]="UploadProgress",zt[zt.ResponseHeader=2]="ResponseHeader",zt[zt.DownloadProgress=3]="DownloadProgress",zt[zt.Response=4]="Response",zt[zt.User=5]="User";class et{headers;status;statusText;url;ok;type;redirected;responseType;constructor(pt,Bt=200,_n="OK"){this.headers=pt.headers||new R,this.status=void 0!==pt.status?pt.status:Bt,this.statusText=pt.statusText||_n,this.url=pt.url||null,this.redirected=pt.redirected,this.responseType=pt.responseType,this.ok=this.status>=200&&this.status<300}}class he extends et{constructor(pt={}){super(pt)}type=Ce.ResponseHeader;clone(pt={}){return new he({headers:pt.headers||this.headers,status:void 0!==pt.status?pt.status:this.status,statusText:pt.statusText||this.statusText,url:pt.url||this.url||void 0})}}class ve extends et{body;constructor(pt={}){super(pt),this.body=void 0!==pt.body?pt.body:null}type=Ce.Response;clone(pt={}){return new ve({body:void 0!==pt.body?pt.body:this.body,headers:pt.headers||this.headers,status:void 0!==pt.status?pt.status:this.status,statusText:pt.statusText||this.statusText,url:pt.url||this.url||void 0,redirected:pt.redirected??this.redirected,responseType:pt.responseType??this.responseType})}}class be extends et{name="HttpErrorResponse";message;error;ok=!1;constructor(pt){super(pt,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${pt.url||"(unknown url)"}`:this.message=`Http failure response for ${pt.url||"(unknown url)"}: ${pt.status} ${pt.statusText}`,this.error=pt.error||null}}var Fe;!function(zt){zt[zt.Continue=100]="Continue",zt[zt.SwitchingProtocols=101]="SwitchingProtocols",zt[zt.Processing=102]="Processing",zt[zt.EarlyHints=103]="EarlyHints",zt[zt.Ok=200]="Ok",zt[zt.Created=201]="Created",zt[zt.Accepted=202]="Accepted",zt[zt.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",zt[zt.NoContent=204]="NoContent",zt[zt.ResetContent=205]="ResetContent",zt[zt.PartialContent=206]="PartialContent",zt[zt.MultiStatus=207]="MultiStatus",zt[zt.AlreadyReported=208]="AlreadyReported",zt[zt.ImUsed=226]="ImUsed",zt[zt.MultipleChoices=300]="MultipleChoices",zt[zt.MovedPermanently=301]="MovedPermanently",zt[zt.Found=302]="Found",zt[zt.SeeOther=303]="SeeOther",zt[zt.NotModified=304]="NotModified",zt[zt.UseProxy=305]="UseProxy",zt[zt.Unused=306]="Unused",zt[zt.TemporaryRedirect=307]="TemporaryRedirect",zt[zt.PermanentRedirect=308]="PermanentRedirect",zt[zt.BadRequest=400]="BadRequest",zt[zt.Unauthorized=401]="Unauthorized",zt[zt.PaymentRequired=402]="PaymentRequired",zt[zt.Forbidden=403]="Forbidden",zt[zt.NotFound=404]="NotFound",zt[zt.MethodNotAllowed=405]="MethodNotAllowed",zt[zt.NotAcceptable=406]="NotAcceptable",zt[zt.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",zt[zt.RequestTimeout=408]="RequestTimeout",zt[zt.Conflict=409]="Conflict",zt[zt.Gone=410]="Gone",zt[zt.LengthRequired=411]="LengthRequired",zt[zt.PreconditionFailed=412]="PreconditionFailed",zt[zt.PayloadTooLarge=413]="PayloadTooLarge",zt[zt.UriTooLong=414]="UriTooLong",zt[zt.UnsupportedMediaType=415]="UnsupportedMediaType",zt[zt.RangeNotSatisfiable=416]="RangeNotSatisfiable",zt[zt.ExpectationFailed=417]="ExpectationFailed",zt[zt.ImATeapot=418]="ImATeapot",zt[zt.MisdirectedRequest=421]="MisdirectedRequest",zt[zt.UnprocessableEntity=422]="UnprocessableEntity",zt[zt.Locked=423]="Locked",zt[zt.FailedDependency=424]="FailedDependency",zt[zt.TooEarly=425]="TooEarly",zt[zt.UpgradeRequired=426]="UpgradeRequired",zt[zt.PreconditionRequired=428]="PreconditionRequired",zt[zt.TooManyRequests=429]="TooManyRequests",zt[zt.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",zt[zt.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",zt[zt.InternalServerError=500]="InternalServerError",zt[zt.NotImplemented=501]="NotImplemented",zt[zt.BadGateway=502]="BadGateway",zt[zt.ServiceUnavailable=503]="ServiceUnavailable",zt[zt.GatewayTimeout=504]="GatewayTimeout",zt[zt.HttpVersionNotSupported=505]="HttpVersionNotSupported",zt[zt.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",zt[zt.InsufficientStorage=507]="InsufficientStorage",zt[zt.LoopDetected=508]="LoopDetected",zt[zt.NotExtended=510]="NotExtended",zt[zt.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired"}(Fe||(Fe={}));const He=/^\)\]\}',?\n/,Jt=new f.nKC("",{factory:()=>null});class ee{fetchImpl=(0,f.WQX)(V,{optional:!0})?.fetch??((...pt)=>globalThis.fetch(...pt));ngZone=(0,f.WQX)(f.SKi);destroyRef=(0,f.WQX)(f.abz);maxResponseSize=(0,f.WQX)(Jt);handle(pt){return new I.c(Bt=>{const _n=new AbortController;let Kn;return this.doRequest(pt,_n.signal,Bt).then(ue,pn=>Bt.error(new be({error:pn}))),pt.timeout&&(Kn=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{_n.signal.aborted||_n.abort(new DOMException("signal timed out","TimeoutError"))},pt.timeout))),()=>{void 0!==Kn&&clearTimeout(Kn),_n.abort()}})}doRequest(pt,Bt,_n){var Kn=this;return s(function*(){const pn=Kn.createRequestInit(pt);let mi;try{const ft=Kn.ngZone.runOutsideAngular(()=>Kn.fetchImpl(pt.urlWithParams,{signal:Bt,...pn}));(function rt(zt){zt.then(ue,ue)})(ft),_n.next({type:Ce.Sent}),mi=yield ft}catch(ft){return void _n.error(new be({error:ft,status:ft.status??0,statusText:ft.statusText,url:pt.urlWithParams,headers:ft.headers}))}const Mi=new R(mi.headers),Hi=mi.statusText,hr=mi.url||pt.urlWithParams;let wi=mi.status,Ki=null;const vo=pt.reportProgress||pt.reportDownloadProgress;if(vo&&_n.next(new he({headers:Mi,status:wi,statusText:Hi,url:hr})),mi.body){const ft=mi.headers.get("content-length"),Ot=null!==ft?Number(ft):NaN;null!==Kn.maxResponseSize&&Number.isFinite(Ot)&&Ot>Kn.maxResponseSize&&It(Kn.maxResponseSize);const sn=[],kn=mi.body.getReader();let ti,Yi,In=0;const tr=typeof Zone<"u"&&Zone.current;let qi=!1;if(yield Kn.ngZone.runOutsideAngular(s(function*(){for(;;){if(Kn.destroyRef.destroyed){yield kn.cancel(),qi=!0;break}const{done:Nn,value:Tr}=yield kn.read();if(Nn)break;if(sn.push(Tr),In+=Tr.length,null!==Kn.maxResponseSize&&In>Kn.maxResponseSize&&(yield kn.cancel(),It(Kn.maxResponseSize)),vo){Yi="text"===pt.responseType?(Yi??"")+(ti??=new TextDecoder).decode(Tr,{stream:!0}):void 0;const ur=()=>_n.next({type:Ce.DownloadProgress,total:Number.isFinite(Ot)?Ot:void 0,loaded:In,partialText:Yi});tr?tr.run(ur):ur()}}})),qi)return void _n.complete();const Xn=Kn.concatChunks(sn,In);try{const Nn=mi.headers.get(Tt)??"";Ki=Kn.parseBody(pt,Xn,Nn,wi)}catch(Nn){return void _n.error(new be({error:Nn,headers:new R(mi.headers),status:mi.status,statusText:mi.statusText,url:mi.url||pt.urlWithParams}))}}0===wi&&(wi=Ki?200:0);const Gi=wi>=200&&wi<300,Ze=mi.redirected,tt=mi.type;Gi?(_n.next(new ve({body:Ki,headers:Mi,status:wi,statusText:Hi,url:hr,redirected:Ze,responseType:tt})),_n.complete()):_n.error(new be({error:Ki,headers:Mi,status:wi,statusText:Hi,url:hr,redirected:Ze,responseType:tt}))})()}parseBody(pt,Bt,_n,Kn){switch(pt.responseType){case"json":const pn=(new TextDecoder).decode(Bt).replace(He,"");if(""===pn)return null;try{return JSON.parse(pn)}catch(mi){if(Kn<200||Kn>=300)return pn;throw mi}case"text":return(new TextDecoder).decode(Bt);case"blob":return new Blob([Bt],{type:_n});case"arraybuffer":return Bt.buffer}}createRequestInit(pt){if(pt.reportUploadProgress)throw new f.buA(2824,!1);const Bt={};let _n;if(_n=pt.credentials,pt.withCredentials&&(_n="include"),pt.headers.forEach((Kn,pn)=>Bt[Kn]=pn.join(",")),pt.headers.has(We)||(Bt[We]=xe),!pt.headers.has(Tt)){const Kn=pt.detectContentTypeHeader();null!==Kn&&(Bt[Tt]=Kn)}return{body:pt.serializeBody(),method:pt.method,headers:Bt,credentials:_n,keepalive:pt.keepalive,cache:pt.cache,priority:pt.priority,mode:pt.mode,redirect:pt.redirect,referrer:pt.referrer,integrity:pt.integrity,referrerPolicy:pt.referrerPolicy}}concatChunks(pt,Bt){const _n=new Uint8Array(Bt);let Kn=0;for(const pn of pt)_n.set(pn,Kn),Kn+=pn.length;return _n}static \u0275fac=function(Bt){return new(Bt||ee)};static \u0275prov=P.tV_({token:ee,factory:ee.\u0275fac})}class V{}function ue(){}function It(zt){throw new f.buA(-2825,!1)}const Kt=new f.nKC("",{factory:()=>!0}),Ht="XSRF-TOKEN",ze=new f.nKC("",{factory:()=>Ht}),Mt="X-XSRF-TOKEN",Pt=new f.nKC("",{factory:()=>Mt});class bn{cookieName=(0,f.WQX)(ze);doc=(0,f.WQX)(f.qQL);lastCookieString="";lastToken=null;parseCount=0;getToken(){const pt=this.doc.cookie||"";return pt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,U.b)(pt,this.cookieName),this.lastCookieString=pt),this.lastToken}static \u0275fac=function(Bt){return new(Bt||bn)};static \u0275prov=P.tV_({token:bn,factory:bn.\u0275fac})}class Tn{static \u0275fac=function(Bt){return new(Bt||Tn)};static \u0275prov=f.jDH({token:Tn,factory:function(Bt){let _n=null;return _n=Bt?new(Bt||Tn):f.KVO(bn),_n},providedIn:"root"})}function Lt(zt,pt){if(!(0,f.WQX)(Kt)||"GET"===zt.method||"HEAD"===zt.method)return pt(zt);try{const Kn=(0,f.WQX)(J.Vw).href,{origin:pn}=new URL(Kn),{origin:mi}=new URL(zt.url,pn);if(pn!==mi)return pt(zt)}catch{return pt(zt)}const Bt=(0,f.WQX)(Tn).getToken(),_n=(0,f.WQX)(Pt);return null!=Bt&&!zt.headers.has(_n)&&(zt=zt.clone({headers:zt.headers.set(_n,Bt)})),pt(zt)}class _e{injector=(0,f.WQX)(f.uvJ);intercept(pt,Bt){return(0,f.N4e)(this.injector,()=>Lt(pt,_n=>Bt.handle(_n)))}static \u0275fac=function(Bt){return new(Bt||_e)};static \u0275prov=f.jDH({token:_e,factory:_e.\u0275fac})}function Y(zt,pt){return pt(zt)}function fe(zt,pt){return(Bt,_n)=>pt.intercept(Bt,{handle:Kn=>zt(Kn,_n)})}const Vt=new f.nKC(""),ln=new f.nKC("",{factory:()=>[Lt]}),fn=new f.nKC(""),je=new f.nKC("",{factory:()=>!0});function _t(){let zt=null;return(pt,Bt)=>{null===zt&&(zt=((0,f.WQX)(Vt,{optional:!0})??[]).reduceRight(fe,Y));const _n=(0,f.WQX)(f.u5s);if((0,f.WQX)(je)){const pn=_n.add();return zt(pt,Bt).pipe((0,x.j)(pn))}return zt(pt,Bt)}}class ht{static \u0275fac=function(Bt){return new(Bt||ht)};static \u0275prov=f.jDH({token:ht,factory:function(Bt){let _n=null;return _n=Bt?new(Bt||ht):f.KVO(ee),_n},providedIn:"root"})}class Oe{backend;injector;chain=null;pendingTasks=(0,f.WQX)(f.u5s);contributeToStability=(0,f.WQX)(je);constructor(pt,Bt){this.backend=pt,this.injector=Bt}handle(pt){if(null===this.chain){const _n=Array.from(new Set([...this.injector.get(ln),...this.injector.get(fn,[])]));this.chain=_n.reduceRight((Kn,pn)=>function Et(zt,pt,Bt){return(_n,Kn)=>(0,f.N4e)(Bt,()=>pt(_n,pn=>zt(pn,Kn)))}(Kn,pn,this.injector),Y)}const Bt=this.chain;if(this.contributeToStability){const _n=this.pendingTasks.add();return(0,D.O8)(()=>Bt(pt,Kn=>this.backend.handle(Kn))).pipe((0,x.j)(_n))}return(0,D.O8)(()=>Bt(pt,_n=>this.backend.handle(_n)))}static \u0275fac=function(Bt){return new(Bt||Oe)(f.KVO(ht),f.KVO(f.uvJ))};static \u0275prov=f.jDH({token:Oe,factory:Oe.\u0275fac,providedIn:"root"})}class at{static \u0275fac=function(Bt){return new(Bt||at)};static \u0275prov=f.jDH({token:at,factory:function(Bt){let _n=null;return _n=Bt?new(Bt||at):f.KVO(Oe),_n},providedIn:"root"})}function Q(zt,pt){return{body:pt,...zt}}class Ae{handler;constructor(pt){this.handler=pt}request(pt,Bt,_n={}){let Kn;if(pt instanceof Te)Kn=pt;else{let Mi,Hi;Mi=_n.headers instanceof R?_n.headers:new R(_n.headers),_n.params&&(Hi=_n.params instanceof j?_n.params:new j({fromObject:_n.params})),Kn=new Te(pt,Bt,void 0!==_n.body?_n.body:null,{headers:Mi,context:_n.context,params:Hi,reportProgress:_n.reportProgress,reportUploadProgress:_n.reportUploadProgress,reportDownloadProgress:_n.reportDownloadProgress,responseType:_n.responseType||"json",withCredentials:_n.withCredentials,transferCache:_n.transferCache,keepalive:_n.keepalive,priority:_n.priority,cache:_n.cache,mode:_n.mode,redirect:_n.redirect,credentials:_n.credentials,referrer:_n.referrer,referrerPolicy:_n.referrerPolicy,integrity:_n.integrity,timeout:_n.timeout})}const pn=(0,C.of)(Kn).pipe((0,y.H)(Mi=>this.handler.handle(Mi)));if(pt instanceof Te||"events"===_n.observe)return pn;const mi=pn.pipe((0,b.p)(Mi=>Mi instanceof ve));switch(_n.observe||"body"){case"body":switch(Kn.responseType){case"arraybuffer":return mi.pipe((0,N.T)(Mi=>{if(null!==Mi.body&&!(Mi.body instanceof ArrayBuffer))throw new f.buA(2806,!1);return Mi.body}));case"blob":return mi.pipe((0,N.T)(Mi=>{if(null!==Mi.body&&!(Mi.body instanceof Blob))throw new f.buA(2807,!1);return Mi.body}));case"text":return mi.pipe((0,N.T)(Mi=>{if(null!==Mi.body&&"string"!=typeof Mi.body)throw new f.buA(2808,!1);return Mi.body}));default:return mi.pipe((0,N.T)(Mi=>Mi.body))}case"response":return mi;default:throw new f.buA(2809,!1)}}delete(pt,Bt={}){return this.request("DELETE",pt,Bt)}get(pt,Bt={}){return this.request("GET",pt,Bt)}head(pt,Bt={}){return this.request("HEAD",pt,Bt)}jsonp(pt,Bt){return this.request("JSONP",pt,{params:(new j).append(Bt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(pt,Bt={}){return this.request("OPTIONS",pt,Bt)}patch(pt,Bt,_n={}){return this.request("PATCH",pt,Q(_n,Bt))}post(pt,Bt,_n={}){return this.request("POST",pt,Q(_n,Bt))}put(pt,Bt,_n={}){return this.request("PUT",pt,Q(_n,Bt))}static \u0275fac=function(Bt){return new(Bt||Ae)(f.KVO(at))};static \u0275prov=f.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"})}let kt,Qe=0;class Ei{}function ui(){return"object"==typeof window?window:{}}class sr{callbackMap;document;resolvedPromise=Promise.resolve();nonce=(0,f.WQX)(f.BIS,{optional:!0});constructor(pt,Bt){this.callbackMap=pt,this.document=Bt}nextCallback(){return"ng_jsonp_callback_"+Qe++}handle(pt){if("JSONP"!==pt.method)throw new f.buA(2810,!1);if("json"!==pt.responseType)throw new f.buA(2811,!1);if(pt.headers.keys().length>0)throw new f.buA(2812,!1);if(!this.isAllowedJsonpUrl(pt.urlWithParams))throw new f.buA(2826,!1);return new I.c(Bt=>{const _n=this.nextCallback(),Kn=pt.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${_n}$1`),pn=this.document.createElement("script");pn.src=Kn,this.nonce&&pn.setAttribute("nonce",this.nonce);let mi=null,Mi=!1;this.callbackMap[_n]=Ki=>{delete this.callbackMap[_n],mi=Ki,Mi=!0};const Hi=()=>{pn.removeEventListener("load",hr),pn.removeEventListener("error",wi),pn.remove(),delete this.callbackMap[_n]},hr=()=>{this.resolvedPromise.then(()=>{Hi(),Mi?(Bt.next(new ve({body:mi,status:200,statusText:"OK",url:Kn})),Bt.complete()):Bt.error(new be({url:Kn,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})},wi=Ki=>{Hi(),Bt.error(new be({error:Ki,status:0,statusText:"JSONP Error",url:Kn}))};return pn.addEventListener("load",hr),pn.addEventListener("error",wi),this.document.body.appendChild(pn),Bt.next({type:Ce.Sent}),()=>{Mi||this.removeListeners(pn),Hi()}})}removeListeners(pt){kt??=this.document.implementation.createHTMLDocument(),kt.adoptNode(pt)}isAllowedJsonpUrl(pt){return/^https?:\/\//i.test(pt)}static \u0275fac=function(Bt){return new(Bt||sr)(f.KVO(Ei),f.KVO(f.qQL))};static \u0275prov=f.jDH({token:sr,factory:sr.\u0275fac})}function pr(zt,pt){return"JSONP"===zt.method?(0,f.WQX)(sr).handle(zt):pt(zt)}class Yn{injector;constructor(pt){this.injector=pt}intercept(pt,Bt){return(0,f.N4e)(this.injector,()=>pr(pt,_n=>Bt.handle(_n)))}static \u0275fac=function(Bt){return new(Bt||Yn)(f.KVO(f.uvJ))};static \u0275prov=f.jDH({token:Yn,factory:Yn.\u0275fac})}const Yt=/^\)\]\}',?\n/;class zn{xhrFactory;tracingService=(0,f.WQX)(P.a8H,{optional:!0});constructor(pt){this.xhrFactory=pt}maybePropagateTrace(pt){return this.tracingService?.propagate?this.tracingService.propagate(pt):pt}handle(pt){if("JSONP"===pt.method)throw new f.buA(-2800,!1);const Bt=this.xhrFactory;return(0,C.of)(null).pipe((0,M.n)(()=>new I.c(Kn=>{const pn=Bt.build();if(pn.open(pt.method,pt.urlWithParams),pt.withCredentials&&(pn.withCredentials=!0),pt.headers.forEach((Ot,sn)=>pn.setRequestHeader(Ot,sn.join(","))),pt.headers.has(We)||pn.setRequestHeader(We,xe),!pt.headers.has(Tt)){const Ot=pt.detectContentTypeHeader();null!==Ot&&pn.setRequestHeader(Tt,Ot)}if(pt.timeout&&(pn.timeout=pt.timeout),pt.responseType){const Ot=pt.responseType.toLowerCase();pn.responseType="json"!==Ot?Ot:"text"}const mi=pt.serializeBody();let Mi=null;const Hi=()=>{if(null!==Mi)return Mi;const Ot=pn.statusText||"OK",sn=new R(pn.getAllResponseHeaders()),kn=pn.responseURL||pt.url;return Mi=new he({headers:sn,status:pn.status,statusText:Ot,url:kn}),Mi},hr=this.maybePropagateTrace(()=>{let{headers:Ot,status:sn,statusText:kn,url:In}=Hi(),ti=null;204!==sn&&(ti=typeof pn.response>"u"?pn.responseText:pn.response),0===sn&&(sn=ti?200:0);let Yi=sn>=200&&sn<300;if("json"===pt.responseType&&"string"==typeof ti){const tr=ti;ti=ti.replace(Yt,"");try{ti=""!==ti?JSON.parse(ti):null}catch(qi){ti=tr,Yi&&(Yi=!1,ti={error:qi,text:ti})}}Yi?(Kn.next(new ve({body:ti,headers:Ot,status:sn,statusText:kn,url:In||void 0})),Kn.complete()):Kn.error(new be({error:ti,headers:Ot,status:sn,statusText:kn,url:In||void 0}))}),wi=this.maybePropagateTrace(Ot=>{const{url:sn}=Hi(),kn=new be({error:Ot,status:pn.status||0,statusText:pn.statusText||"Unknown Error",url:sn||void 0});Kn.error(kn)});let Ki=wi;pt.timeout&&(Ki=this.maybePropagateTrace(Ot=>{const{url:sn}=Hi(),kn=new be({error:new DOMException("Request timed out","TimeoutError"),status:pn.status||0,statusText:pn.statusText||"Request timeout",url:sn||void 0});Kn.error(kn)}));let vo=!1;const Gi=this.maybePropagateTrace(Ot=>{vo||(Kn.next(Hi()),vo=!0);let sn={type:Ce.DownloadProgress,loaded:Ot.loaded};Ot.lengthComputable&&(sn.total=Ot.total),"text"===pt.responseType&&pn.responseText&&(sn.partialText=pn.responseText),Kn.next(sn)}),Ze=this.maybePropagateTrace(Ot=>{let sn={type:Ce.UploadProgress,loaded:Ot.loaded};Ot.lengthComputable&&(sn.total=Ot.total),Kn.next(sn)});pn.addEventListener("load",hr),pn.addEventListener("error",wi),pn.addEventListener("timeout",Ki),pn.addEventListener("abort",wi);const tt=pt.reportProgress||pt.reportUploadProgress,ft=pt.reportProgress||pt.reportDownloadProgress;return ft&&pn.addEventListener("progress",Gi),tt&&null!==mi&&pn.upload&&pn.upload.addEventListener("progress",Ze),pn.send(mi),Kn.next({type:Ce.Sent}),()=>{pn.removeEventListener("error",wi),pn.removeEventListener("abort",wi),pn.removeEventListener("load",hr),pn.removeEventListener("timeout",Ki),ft&&pn.removeEventListener("progress",Gi),tt&&null!==mi&&pn.upload&&pn.upload.removeEventListener("progress",Ze),pn.readyState!==pn.DONE&&pn.abort()}})))}static \u0275fac=function(Bt){return new(Bt||zn)(f.KVO(U.N))};static \u0275prov=f.jDH({token:zn,factory:zn.\u0275fac,providedIn:"root"})}var Qn;function pi(zt,pt){return{\u0275kind:zt,\u0275providers:pt}}function Mr(...zt){const pt=[Ae,ee,Oe,{provide:at,useExisting:Oe},{provide:ht,useFactory:()=>(0,f.WQX)(ee)},{provide:ln,useValue:Lt,multi:!0}];for(const Bt of zt)pt.push(...Bt.\u0275providers);return(0,f.EmA)(pt)}!function(zt){zt[zt.Interceptors=0]="Interceptors",zt[zt.LegacyInterceptors=1]="LegacyInterceptors",zt[zt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",zt[zt.NoXsrfProtection=3]="NoXsrfProtection",zt[zt.JsonpSupport=4]="JsonpSupport",zt[zt.RequestsMadeViaParent=5]="RequestsMadeViaParent",zt[zt.Fetch=6]="Fetch",zt[zt.Xhr=7]="Xhr"}(Qn||(Qn={}));const co=new f.nKC("");function lo(){return pi(Qn.LegacyInterceptors,[{provide:co,useFactory:_t},{provide:ln,useExisting:co,multi:!0}])}function to({cookieName:zt,headerName:pt}){const Bt=[];return void 0!==zt&&Bt.push({provide:ze,useValue:zt}),void 0!==pt&&Bt.push({provide:Pt,useValue:pt}),pi(Qn.CustomXsrfConfiguration,Bt)}function es(){return pi(Qn.JsonpSupport,[sr,{provide:Ei,useFactory:ui},{provide:ln,useValue:pr,multi:!0}])}function wr(){return pi(Qn.Xhr,[zn,{provide:ht,useExisting:zn}])}class Qi{static disable(){return{ngModule:Qi,providers:[pi(Qn.NoXsrfProtection,[{provide:Kt,useValue:!1}]).\u0275providers]}}static withOptions(pt={}){return{ngModule:Qi,providers:to(pt).\u0275providers}}static \u0275fac=function(Bt){return new(Bt||Qi)};static \u0275mod=P.$C({type:Qi});static \u0275inj=f.G2t({providers:[_e,{provide:Vt,useExisting:_e,multi:!0},{provide:Tn,useClass:bn},to({cookieName:Ht,headerName:Mt}).\u0275providers,{provide:Kt,useValue:!0}]})}class Cr{static \u0275fac=function(Bt){return new(Bt||Cr)};static \u0275mod=P.$C({type:Cr});static \u0275inj=f.G2t({providers:[Mr(lo(),wr())]})}class Ar{static \u0275fac=function(Bt){return new(Bt||Ar)};static \u0275mod=P.$C({type:Ar});static \u0275inj=f.G2t({providers:[es().\u0275providers]})}h.d(pe,["a7",0,Vt])},93049(st,pe,h){"use strict";h.d(pe,{Vw:()=>b,ig:()=>D,qj:()=>y,rb:()=>P,tl:()=>N});var m=h(28939);h(70903);let f=null;function P(){return f}function D(M){f??=M}class y{}class b{historyGo(U){throw new Error("")}static \u0275fac=function(J){return new(J||b)};static \u0275prov=m.jDH({token:b,factory:()=>(0,m.WQX)(N),providedIn:"platform"})}const x=new m.nKC("");class N extends b{_location;_history;_doc=(0,m.WQX)(m.qQL);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return P().getBaseHref(this._doc)}onPopState(U){const J=P().getGlobalEventTarget(this._doc,"window");return J.addEventListener("popstate",U,!1),()=>J.removeEventListener("popstate",U)}onHashChange(U){const J=P().getGlobalEventTarget(this._doc,"window");return J.addEventListener("hashchange",U,!1),()=>J.removeEventListener("hashchange",U)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(U){this._location.pathname=U}pushState(U,J,I){this._history.pushState(U,J,I)}replaceState(U,J,I){this._history.replaceState(U,J,I)}forward(){this._history.forward()}back(){this._history.back()}historyGo(U=0){this._history.go(U)}getState(){return this._history.state}static \u0275fac=function(J){return new(J||N)};static \u0275prov=m.jDH({token:N,factory:()=>new N,providedIn:"platform"})}h.d(pe,["hj",0,x])},5870(st,pe,h){"use strict";h.d(pe,{U:()=>P});var m=h(28939);h(70903);const f=new m.nKC("",{factory:()=>typeof window<"u"&&typeof window.NavigationPrecommitController<"u"});class P{static \u0275fac=function(b){return new(b||P)};static \u0275prov=m.jDH({token:P,factory:()=>window.navigation,providedIn:"platform"})}h.d(pe,["f",0,f])},1382(st,pe,h){"use strict";h.d(pe,{N:()=>D,b:()=>f});var m=h(28939),s=h(70903);function f(y,b){b=encodeURIComponent(b);for(const x of y.split(";")){const N=x.indexOf("="),[M,U]=-1==N?[x,""]:[x.slice(0,N),x.slice(N+1)];if(M.trim()===b)return decodeURIComponent(U)}return null}class P{build(){return new XMLHttpRequest}static \u0275fac=function(x){return new(x||P)};static \u0275prov=s.tV_({token:P,factory:P.\u0275fac})}class D{static \u0275fac=function(x){return new(x||D)};static \u0275prov=m.jDH({token:D,factory:function(x){let N=null;return N=x?new(x||D):m.KVO(P),N},providedIn:"root"})}},87514(st,pe,h){"use strict";h.d(pe,{UE:()=>C,Xr:()=>F});h(29293);var y=h(44881),b=h(28939),x=h(70903),N=h(39962),M=h(5870);class U extends y.aZ{navigation=(0,b.WQX)(M.U);destroyRef=(0,b.WQX)(b.abz);constructor(){super((0,b.WQX)(y.hb)),this.registerNavigationListeners()}registerNavigationListeners(){const tt=()=>{this._notifyUrlChangeListeners(this.path(!0),this.getState())};this.navigation.addEventListener("currententrychange",tt),this.destroyRef.onDestroy(()=>{this.navigation.removeEventListener("currententrychange",tt)})}getState(){return this.navigation.currentEntry?.getState()}replaceState(tt,ft="",Ot=null){const sn=this.prepareExternalUrl(tt+(0,y.Q)(ft));this.navigation.navigate(sn,{state:Ot,history:"replace"})}go(tt,ft="",Ot=null){const sn=this.prepareExternalUrl(tt+(0,y.Q)(ft));this.navigation.navigate(sn,{state:Ot,history:"push"})}back(){this.navigation.back()}forward(){this.navigation.forward()}onUrlChange(tt){return this._urlChangeListeners.push(tt),()=>{const ft=this._urlChangeListeners.indexOf(tt);this._urlChangeListeners.splice(ft,1)}}static \u0275fac=function(ft){return new(ft||U)};static \u0275prov=b.jDH({token:U,factory:U.\u0275fac})}const I="browser";function C(Ze){return Ze===I}class F{static \u0275prov=(0,b.jDH)({token:F,providedIn:"root",factory:()=>new $((0,b.WQX)(b.qQL),window)})}class ${document;window;offset=()=>[0,0];constructor(tt,ft){this.document=tt,this.window=ft}setOffset(tt){Array.isArray(tt)?this.offset=()=>tt:this.offset=tt}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(tt,ft){this.window.scrollTo({...ft,left:tt[0],top:tt[1]})}scrollToAnchor(tt,ft){const Ot=function E(Ze,tt){const ft=Ze.getElementById(tt)||Ze.getElementsByName(tt)[0];if(ft)return ft;if("function"==typeof Ze.createTreeWalker&&Ze.body&&"function"==typeof Ze.body.attachShadow){const Ot=Ze.createTreeWalker(Ze.body,NodeFilter.SHOW_ELEMENT);let sn=Ot.currentNode;for(;sn;){const kn=sn.shadowRoot;if(kn){const In=kn.getElementById(tt)||kn.querySelector(`[name="${CSS.escape(tt)}"]`);if(In)return In}sn=Ot.nextNode()}}return null}(this.document,tt);Ot&&(this.scrollToElement(Ot,ft),Ot.focus({preventScroll:!0}))}setHistoryScrollRestoration(tt){try{this.window.history.scrollRestoration=tt}catch{console.warn((0,b.OsK)(2400,!1))}}scrollToElement(tt,ft){const Ot=tt.getBoundingClientRect(),sn=Ot.left+this.window.pageXOffset,kn=Ot.top+this.window.pageYOffset,In=this.offset();this.window.scrollTo({...ft,left:sn-In[0],top:kn-In[1]})}}const O="20";function Z(Ze,tt){return Ee(Ze)?new URL(Ze):new URL(Ze,tt.location.href)}function Ee(Ze){return/^https?:\/\//.test(Ze)}function oe(Ze){return Ee(Ze)?new URL(Ze).hostname:Ze}function j(Ze){if("string"!=typeof Ze||""===Ze.trim())return!1;try{new URL(Ze);return!0}catch{return!1}}function ce(Ze){return Ze.startsWith("/")?Ze.slice(1):Ze}function ye(Ze){return Ze.replace(/\\/g,"\\\\").replace(/[\n\r\f\0]/g,"").replace(/"/g,'\\"')}const Le=Ze=>Ze.src,$e=new b.nKC("",{factory:()=>Le});function Tt(Ze,tt){return function(Ot){return j(Ot)||function We(Ze,tt){throw new b.buA(2959,!1)}(),Ot=function te(Ze){return Ze.endsWith("/")?Ze.slice(0,-1):Ze}(Ot),[{provide:$e,useValue:In=>(Ee(In.src)&&function Me(Ze,tt){throw new b.buA(2959,!1)}(0,In.src),Ze(Ot,{...In,src:ce(In.src)}))}]}}function ut(Ze,tt){return"string"==typeof Ze?Ze:Object.entries(Ze).map(([ft,Ot])=>`${ft}${tt}${Ot}`).join(",")}Tt(function Te(Ze,tt){let ft="format=auto";if(tt.width&&(ft+=`,width=${tt.width}`),tt.height&&(ft+=`,height=${tt.height}`),tt.isPlaceholder&&(ft+=`,quality=${O}`),tt.loaderParams?.transform){ft+=`,${ut(tt.loaderParams.transform,"=")}`}return`${Ze}/cdn-cgi/image/${ft}/${tt.src}`});Tt(function be(Ze,tt){let Ot="f_auto,"+(tt.isPlaceholder?"q_auto:low":"q_auto");if(tt.width&&(Ot+=`,w_${tt.width}`),tt.height&&(Ot+=`,h_${tt.height}`),tt.loaderParams?.rounded&&(Ot+=",r_max"),tt.loaderParams?.transform){Ot+=`,${ut(tt.loaderParams.transform,"_")}`}return`${Ze}/image/upload/${Ot}/${tt.src}`});Tt(function wt(Ze,tt){const{src:ft,width:Ot}=tt,sn=[];if(Ot&&sn.push(`w-${Ot}`),tt.height&&sn.push(`h-${tt.height}`),tt.isPlaceholder&&sn.push(`q-${O}`),tt.loaderParams?.transform){const ti=ut(tt.loaderParams.transform,"-");sn.push(ti)}const kn=sn.length?[Ze,`tr:${sn.join(",")}`,ft]:[Ze,ft];return new URL(kn.join("/")).href});Tt(function De(Ze,tt){const ft=[];if(ft.push("auto=format"),tt.width&&ft.push(`w=${tt.width}`),tt.height&&ft.push(`h=${tt.height}`),tt.isPlaceholder&&ft.push(`q=${O}`),tt.loaderParams?.transform){const sn=ut(tt.loaderParams.transform,"=").split(",");ft.push(...sn)}const Ot=new URL(`${Ze}/${tt.src}`);return Ot.search=ft.join("&"),Ot.href});function Pt(Ze,tt=!0){return`The NgOptimizedImage directive ${tt?`(activated on an <img> element with the \`ngSrc="${Ze}"\`) `:""}has detected that`}function bn(Ze){throw new b.buA(2958,`Unexpected invocation of the ${Ze} in the prod mode. Please make sure that the prod mode is enabled for production builds.`)}class Tn{images=new Map;window=(0,b.WQX)(b.qQL).defaultView;observer=null;constructor(){bn("LCP checker"),typeof PerformanceObserver<"u"&&(this.observer=this.initPerformanceObserver())}initPerformanceObserver(){const tt=new PerformanceObserver(ft=>{const Ot=ft.getEntries();if(0===Ot.length)return;const kn=Ot[Ot.length-1].element?.src??"";if(kn.startsWith("data:")||kn.startsWith("blob:"))return;const In=this.images.get(kn);In&&(!In.priority&&!In.alreadyWarnedPriority&&(In.alreadyWarnedPriority=!0,function Lt(Ze){const tt=Pt(Ze);console.error((0,b.OsK)(2955,`${tt} this image is the Largest Contentful Paint (LCP) element but was not marked "priority". This image should be marked "priority" in order to prioritize its loading. To fix this, add the "priority" attribute.`))}(kn)),In.modified&&!In.alreadyWarnedModified&&(In.alreadyWarnedModified=!0,function _e(Ze){const tt=Pt(Ze);console.warn((0,b.OsK)(2964,`${tt} this image is the Largest Contentful Paint (LCP) element and has had its "ngSrc" attribute modified. This can cause slower loading performance. It is recommended not to modify the "ngSrc" property on any image which could be the LCP element.`))}(kn)))});return tt.observe({type:"largest-contentful-paint",buffered:!0}),tt}registerImage(tt,ft){if(!this.observer)return;const Ot=Z(tt,this.window).href,sn=this.images.get(Ot);if(sn)sn.priority=sn.priority||ft,sn.count++;else{const kn={priority:ft,modified:!1,alreadyWarnedModified:!1,alreadyWarnedPriority:!1,count:1};this.images.set(Ot,kn)}}unregisterImage(tt){if(!this.observer)return;const ft=Z(tt,this.window).href,Ot=this.images.get(ft);Ot&&(Ot.count--,Ot.count<=0&&this.images.delete(ft))}updateImage(tt,ft){if(!this.observer)return;const Ot=Z(tt,this.window).href,sn=Z(ft,this.window).href;if(Ot===sn)return;const kn=this.images.get(Ot);if(!kn)return;kn.count--,kn.count<=0&&this.images.delete(Ot);const In=this.images.get(sn);In?(In.priority=In.priority||kn.priority,In.modified=!0,In.alreadyWarnedPriority=In.alreadyWarnedPriority||kn.alreadyWarnedPriority,In.alreadyWarnedModified=In.alreadyWarnedModified||kn.alreadyWarnedModified,In.count++):this.images.set(sn,{priority:kn.priority,modified:!0,alreadyWarnedModified:kn.alreadyWarnedModified,alreadyWarnedPriority:kn.alreadyWarnedPriority,count:1})}ngOnDestroy(){this.observer&&(this.observer.disconnect(),this.images.clear())}static \u0275fac=function(ft){return new(ft||Tn)};static \u0275prov=x.tV_({token:Tn,factory:Tn.\u0275fac})}const Y=new Set(["localhost","127.0.0.1","0.0.0.0","[::1]"]),fe=new b.nKC("");class Et{document=(0,b.WQX)(b.qQL);preconnectLinks=null;alreadySeen=new Set;window=this.document.defaultView;blocklist=new Set(Y);constructor(){bn("preconnect link checker");const tt=(0,b.WQX)(fe,{optional:!0});tt&&this.populateBlocklist(tt)}populateBlocklist(tt){Array.isArray(tt)?Vt(tt,ft=>{this.blocklist.add(oe(ft))}):this.blocklist.add(oe(tt))}assertPreconnect(tt,ft){const Ot=Z(tt,this.window);this.blocklist.has(Ot.hostname)||this.alreadySeen.has(Ot.origin)||(this.alreadySeen.add(Ot.origin),this.preconnectLinks??=this.queryPreconnectLinks(),this.preconnectLinks.has(Ot.origin)||console.warn((0,b.OsK)(2956,`${Pt(ft)} there is no preconnect tag present for this image. Preconnecting to the origin(s) that serve priority images ensures that these images are delivered as soon as possible. To fix this, please add the following element into the <head> of the document:\n <link rel="preconnect" href="${Ot.origin}">`)))}queryPreconnectLinks(){const tt=new Set,ft=this.document.querySelectorAll("link[rel=preconnect]");for(const Ot of ft){const sn=Z(Ot.href,this.window);tt.add(sn.origin)}return tt}ngOnDestroy(){this.preconnectLinks?.clear(),this.alreadySeen.clear()}static \u0275fac=function(ft){return new(ft||Et)};static \u0275prov=x.tV_({token:Et,factory:Et.\u0275fac})}function Vt(Ze,tt){for(let ft of Ze)Array.isArray(ft)?Vt(ft,tt):tt(ft)}const fn=new b.nKC("",{factory:()=>new Set});class je{preloadedImages=(0,b.WQX)(fn);document=(0,b.WQX)(b.qQL);errorShown=!1;createPreloadLinkTag(tt,ft,Ot,sn,kn){const In=`${ft}:${function _t(Ze){return null==Ze?null:"use-credentials"===Ze.toLowerCase()?"use-credentials":"anonymous"}(kn)}`;if(this.preloadedImages.has(In))return;this.preloadedImages.add(In);const ti=tt.createElement("link");tt.setAttribute(ti,"as","image"),tt.setAttribute(ti,"href",ft),tt.setAttribute(ti,"rel","preload"),tt.setAttribute(ti,"fetchpriority","high"),null!=kn&&tt.setAttribute(ti,"crossorigin",kn),sn&&tt.setAttribute(ti,"imageSizes",sn),Ot&&tt.setAttribute(ti,"imageSrcset",Ot),tt.appendChild(this.document.head,ti)}static \u0275fac=function(ft){return new(ft||je)};static \u0275prov=x.tV_({token:je,factory:je.\u0275fac})}const lt=/^((\s*\d+w\s*(,|$)){1,})$/,Ae=[1,2];class Yn{imageLoader=(0,b.WQX)($e);config=function Yt(Ze){let tt={};return Ze.breakpoints&&(tt.breakpoints=Ze.breakpoints.sort((ft,Ot)=>ft-Ot)),Object.assign({},b.mY,Ze,tt)}((0,b.WQX)(b.VeQ));renderer=(0,b.WQX)(x.sFG);imgElement=(0,b.WQX)(x.aKT).nativeElement;injector=(0,b.WQX)(b.zZn);destroyRef=(0,b.WQX)(b.abz);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){this.destroyRef.onDestroy(()=>{this.renderer.removeAttribute(this.imgElement,"loading")})}ngOnInit(){(0,x._jY)("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true");this.updateSrcAndSrcset();this.sizes?"lazy"===this.getLoadingBehavior()?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&<.test(this.ngSrcset)&&"lazy"===this.getLoadingBehavior()&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(tt){if(tt.ngSrc&&!tt.ngSrc.isFirstChange()){this._renderedSrc;this.updateSrcAndSrcset(!0)}}getAspectRatio(){return this.width&&this.height&&0!==this.height?this.width/this.height:null}callImageLoader(tt){let ft=tt;this.loaderParams&&(ft.loaderParams=this.loaderParams);const Ot=this.getAspectRatio();return null!==Ot&&ft.width&&(ft.height=Math.round(ft.width/Ot)),this.imageLoader(ft)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){if(!this._renderedSrc){const tt={src:this.ngSrc};this._renderedSrc=this.callImageLoader(tt)}return this._renderedSrc}getRewrittenSrcset(){const tt=lt.test(this.ngSrcset);return this.ngSrcset.split(",").filter(Ot=>""!==Ot).map(Ot=>{Ot=Ot.trim();const sn=tt?parseFloat(Ot):parseFloat(Ot)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:sn})} ${Ot}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:tt}=this.config;let ft=tt;return"100vw"===this.sizes?.trim()&&(ft=tt.filter(sn=>sn>=640)),ft.map(sn=>`${this.callImageLoader({src:this.ngSrc,width:sn})} ${sn}w`).join(", ")}updateSrcAndSrcset(tt=!1){tt&&(this._renderedSrc=null);const ft=this.getRewrittenSrc();let Ot;return this.setHostAttribute("src",ft),this.ngSrcset?Ot=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(Ot=this.getAutomaticSrcset()),Ot&&this.setHostAttribute("srcset",Ot),Ot}getFixedSrcset(){return Ae.map(ft=>`${this.callImageLoader({src:this.ngSrc,width:this.width*ft})} ${ft}x`).join(", ")}shouldGenerateAutomaticSrcset(){let tt=!1;return this.sizes||(tt=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Le&&!tt}generatePlaceholder(tt){const{placeholderResolution:ft}=this.config;return!0===tt?`url("${ye(this.callImageLoader({src:this.ngSrc,width:ft,isPlaceholder:!0}))}")`:"string"==typeof tt?`url("${ye(tt)}")`:null}shouldBlurPlaceholder(tt){return!tt||!tt.hasOwnProperty("blur")||!!tt.blur}removePlaceholderOnLoad(tt){const ft=()=>{const kn=this.injector.get(N.gRc);Ot(),sn(),this.placeholder=!1,kn.markForCheck()},Ot=this.renderer.listen(tt,"load",ft),sn=this.renderer.listen(tt,"error",ft);this.destroyRef.onDestroy(()=>{Ot(),sn()}),wi(tt,ft)}setHostAttribute(tt,ft){this.renderer.setAttribute(this.imgElement,tt,ft)}static \u0275fac=function(ft){return new(ft||Yn)};static \u0275dir=x.FsC({type:Yn,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(ft,Ot){2&ft&&x.xc7("position",Ot.fill?"absolute":null)("width",Ot.fill?"100%":null)("height",Ot.fill?"100%":null)("inset",Ot.fill?"0":null)("background-size",Ot.placeholder?"cover":null)("background-position",Ot.placeholder?"50% 50%":null)("background-repeat",Ot.placeholder?"no-repeat":null)("background-image",Ot.placeholder?Ot.generatePlaceholder(Ot.placeholder):null)("filter",Ot.placeholder&&Ot.shouldBlurPlaceholder(Ot.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",vo],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",N.Udg],height:[2,"height","height",N.Udg],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",N.L39],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",N.L39],fill:[2,"fill","fill",N.L39],placeholder:[2,"placeholder","placeholder",Gi],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[x.OA$]})}function wi(Ze,tt){Ze.complete&&Ze.naturalWidth&&tt()}function vo(Ze){return"string"==typeof Ze?Ze:(0,x.aCM)(Ze)}function Gi(Ze){return"string"==typeof Ze&&"true"!==Ze&&"false"!==Ze&&""!==Ze?Ze:(0,N.L39)(Ze)}h.d(pe,["AJ",0,I])},60262(st,pe,h){"use strict";h.d(pe,{WHm:()=>NC,udt:()=>qC});const m=new RegExp("(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g");class s{element=null;classNames=[];attrs=[];notSelectors=[];static parse(e){const t=[],o=(ae,me)=>{me.notSelectors.length>0&&!me.element&&0==me.classNames.length&&0==me.attrs.length&&(me.element="*"),ae.push(me)};let u,c=new s,v=c,k=!1;for(m.lastIndex=0;u=m.exec(e);){if(u[1]){if(k)throw new Error("Nesting :not in a selector is not allowed");k=!0,v=new s,c.notSelectors.push(v)}const ae=u[2];if(ae){const Ve=u[3];"#"===Ve?v.addAttribute("id",ae.slice(1)):"."===Ve?v.addClassName(ae.slice(1)):v.setElement(ae)}const me=u[4];if(me&&v.addAttribute(v.unescapeAttribute(me),u[6]),u[7]&&(k=!1,v=c),u[8]){if(k)throw new Error("Multiple selectors in :not are not supported");o(t,c),c=v=new s}}return o(t,c),t}unescapeAttribute(e){let t="",o=!1;for(let c=0;c<e.length;c++){const u=e.charAt(c);if("\\"!==u){if("$"===u&&!o)throw new Error(`Error in attribute selector "${e}". Unescaped "$" is not supported. Please escape with "\\$".`);o=!1,t+=u}else o=!0}return t}escapeAttribute(e){return e.replace(/\\/g,"\\\\").replace(/\$/g,"\\$")}isElementSelector(){return this.hasElementSelector()&&0==this.classNames.length&&0==this.attrs.length&&0===this.notSelectors.length}hasElementSelector(){return!!this.element}setElement(e=null){this.element=e}getAttrs(){const e=[];return this.classNames.length>0&&e.push("class",this.classNames.join(" ")),e.concat(this.attrs)}addAttribute(e,t=""){this.attrs.push(e,t&&t.toLowerCase()||"")}addClassName(e){this.classNames.push(e.toLowerCase())}toString(){let e=this.element||"";if(this.classNames&&this.classNames.forEach(t=>e+=`.${t}`),this.attrs)for(let t=0;t<this.attrs.length;t+=2){const o=this.escapeAttribute(this.attrs[t]),c=this.attrs[t+1];e+=`[${o}${c?"="+c:""}]`}return this.notSelectors.forEach(t=>e+=`:not(${t})`),e}}class f{static createNotMatcher(e){const t=new f;return t.addSelectables(e,null),t}_elementMap=new Map;_elementPartialMap=new Map;_classMap=new Map;_classPartialMap=new Map;_attrValueMap=new Map;_attrValuePartialMap=new Map;_listContexts=[];addSelectables(e,t){let o=null;e.length>1&&(o=new P(e),this._listContexts.push(o));for(let c=0;c<e.length;c++)this._addSelectable(e[c],t,o)}_addSelectable(e,t,o){let c=this;const u=e.element,v=e.classNames,k=e.attrs,ae=new D(e,t,o);if(u&&(0===k.length&&0===v.length?this._addTerminal(c._elementMap,u,ae):c=this._addPartial(c._elementPartialMap,u)),v)for(let me=0;me<v.length;me++){const Ve=0===k.length&&me===v.length-1,it=v[me];Ve?this._addTerminal(c._classMap,it,ae):c=this._addPartial(c._classPartialMap,it)}if(k)for(let me=0;me<k.length;me+=2){const Ve=me===k.length-2,it=k[me],Gt=k[me+1];if(Ve){const yn=c._attrValueMap;let Un=yn.get(it);Un||(Un=new Map,yn.set(it,Un)),this._addTerminal(Un,Gt,ae)}else{const yn=c._attrValuePartialMap;let Un=yn.get(it);Un||(Un=new Map,yn.set(it,Un)),c=this._addPartial(Un,Gt)}}}_addTerminal(e,t,o){let c=e.get(t);c||(c=[],e.set(t,c)),c.push(o)}_addPartial(e,t){let o=e.get(t);return o||(o=new f,e.set(t,o)),o}match(e,t){let o=!1;const c=e.element,u=e.classNames,v=e.attrs;for(let k=0;k<this._listContexts.length;k++)this._listContexts[k].alreadyMatched=!1;if(o=this._matchTerminal(this._elementMap,c,e,t)||o,o=this._matchPartial(this._elementPartialMap,c,e,t)||o,u)for(let k=0;k<u.length;k++){const ae=u[k];o=this._matchTerminal(this._classMap,ae,e,t)||o,o=this._matchPartial(this._classPartialMap,ae,e,t)||o}if(v)for(let k=0;k<v.length;k+=2){const ae=v[k],me=v[k+1],Ve=this._attrValueMap.get(ae);me&&(o=this._matchTerminal(Ve,"",e,t)||o),o=this._matchTerminal(Ve,me,e,t)||o;const it=this._attrValuePartialMap.get(ae);me&&(o=this._matchPartial(it,"",e,t)||o),o=this._matchPartial(it,me,e,t)||o}return o}_matchTerminal(e,t,o,c){if(!e||"string"!=typeof t)return!1;let u=e.get(t)||[];const v=e.get("*");if(v&&(u=u.concat(v)),0===u.length)return!1;let k,ae=!1;for(let me=0;me<u.length;me++)k=u[me],ae=k.finalize(o,c)||ae;return ae}_matchPartial(e,t,o,c){if(!e||"string"!=typeof t)return!1;const u=e.get(t);return!!u&&u.match(o,c)}}class P{selectors;alreadyMatched=!1;constructor(e){this.selectors=e}}class D{selector;cbContext;listContext;notSelectors;constructor(e,t,o){this.selector=e,this.cbContext=t,this.listContext=o,this.notSelectors=e.notSelectors}finalize(e,t){let o=!0;return this.notSelectors.length>0&&(!this.listContext||!this.listContext.alreadyMatched)&&(o=!f.createNotMatcher(this.notSelectors).match(e,null)),o&&t&&(!this.listContext||!this.listContext.alreadyMatched)&&(this.listContext&&(this.listContext.alreadyMatched=!0),t(this.selector,this.cbContext)),o}}class y{registry;constructor(e){this.registry=e}match(e){return this.registry.has(e)?this.registry.get(e):[]}}var b,n;let x;(n=b||(b={}))[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n[n.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING";const I=()=>Object.create(null);function C(n,e,t){const o=e??"";for(const[c,u]of t){const v=c.toLowerCase();for(const k of u){const ae=k.toLowerCase(),me=x[ae]??=I();(me[o]??=I())[v]=n}}}function R(n,e,t){const c=function T(){return x||(x=I(),C(b.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),C(b.STYLE,void 0,[["*",["style"]]]),C(b.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),C(b.URL,"math",[["*",["href","xlink:href"]]]),C(b.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),C(b.URL,"svg",[["a",["href","xlink:href"]]]),C(b.ATTRIBUTE_NO_BINDING,"svg",[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),C(b.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]]]),x)}()[e.toLowerCase()];if(!c)return b.NONE;const u=n.toLowerCase();let v;if(t){const k=c[t];k&&(v=k[u]??k["*"])}if(void 0===v){const k=c[""];k&&(v=k[u]??k["*"])}return v??b.NONE}var F,$,E;!function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n[n.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom"}(F||(F={})),function(n){n[n.OnPush=0]="OnPush",n[n.Default=1]="Default",n[n.Eager=1]="Eager"}($||($={})),function(n){n[n.None=0]="None",n[n.SignalBased=1]="SignalBased",n[n.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(E||(E={}));const w_name="custom-elements",O_name="no-errors-schema";var Ee;function te(n){const e=function oe(n){const e=n.classNames&&n.classNames.length?[8,...n.classNames]:[];return[n.element&&"*"!==n.element?n.element:"",...n.attrs,...e]}(n),t=n.notSelectors&&n.notSelectors.length?n.notSelectors.map(o=>function j(n){const e=n.classNames&&n.classNames.length?[8,...n.classNames]:[];return n.element?[5,n.element,...n.attrs,...e]:n.attrs.length?[3,...n.attrs,...e]:n.classNames&&n.classNames.length?[9,...n.classNames]:[]}(o)):[];return e.concat(...t)}function ce(n){return n?s.parse(n).map(te):[]}!function(n){n[n.Error=0]="Error",n[n.Warning=1]="Warning",n[n.Ignore=2]="Ignore"}(Ee||(Ee={}));var Le,$e,Tt;let We;function ut(n){return function be(n){We??=new TextEncoder;const e=[...We.encode(n)],t=function rt(n,e){const t=n.length+3>>>2,o=[];for(let c=0;c<t;c++)o[c]=Kt(n,4*c,e);return o}(e,ee.Big),o=8*e.length,c=new Uint32Array(80);let u=1732584193,v=4023233417,k=2562383102,ae=271733878,me=3285377520;t[o>>5]|=128<<24-o%32,t[15+(o+64>>9<<4)]=o;for(let Ve=0;Ve<t.length;Ve+=16){const it=u,Gt=v,yn=k,Un=ae,ai=me;for(let _i=0;_i<80;_i++){c[_i]=_i<16?t[Ve+_i]:De(c[_i-3]^c[_i-8]^c[_i-14]^c[_i-16],1);const Wi=G(_i,v,k,ae),Wr=Wi[0],Go=Wi[1],As=[De(u,5),Wr,me,Go,c[_i]].reduce(V);me=ae,ae=k,k=De(v,30),v=u,u=As}u=V(u,it),v=V(v,Gt),k=V(k,yn),ae=V(ae,Un),me=V(me,ai)}return de(u)+de(v)+de(k)+de(ae)+de(me)}(function he(n){return n.map(e=>e.visit(et,null))}(n.nodes).join("")+`[${n.meaning}]`)}function xe(n){return n.id||Te(n)}function Te(n){const e=new ve;return He(n.nodes.map(o=>o.visit(e,null)).join(""),n.meaning)}!function(n){n[n.Directive=0]="Directive",n[n.Component=1]="Component",n[n.Injectable=2]="Injectable",n[n.Pipe=3]="Pipe",n[n.NgModule=4]="NgModule",n[n.Service=5]="Service"}(Le||(Le={})),function(n){n[n.Directive=0]="Directive",n[n.Pipe=1]="Pipe",n[n.NgModule=2]="NgModule"}($e||($e={})),function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n[n.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom"}(Tt||(Tt={}));class Ce{visitText(e,t){return e.value}visitContainer(e,t){return`[${e.children.map(o=>o.visit(this)).join(", ")}]`}visitIcu(e,t){const o=Object.keys(e.cases).map(c=>`${c} {${e.cases[c].visit(this)}}`);return`{${e.expression}, ${e.type}, ${o.join(", ")}}`}visitTagPlaceholder(e,t){return e.isVoid?`<ph tag name="${e.startName}"/>`:`<ph tag name="${e.startName}">${e.children.map(o=>o.visit(this)).join(", ")}</ph name="${e.closeName}">`}visitPlaceholder(e,t){return e.value?`<ph name="${e.name}">${e.value}</ph>`:`<ph name="${e.name}"/>`}visitIcuPlaceholder(e,t){return`<ph icu name="${e.name}">${e.value.visit(this)}</ph>`}visitBlockPlaceholder(e,t){return`<ph block name="${e.startName}">${e.children.map(o=>o.visit(this)).join(", ")}</ph name="${e.closeName}">`}}const et=new Ce;class ve extends Ce{visitIcu(e){let t=Object.keys(e.cases).map(o=>`${o} {${e.cases[o].visit(this)}}`);return`{${e.type}, ${t.join(", ")}}`}}function de(n){return(n>>>0).toString(16).padStart(8,"0")}function G(n,e,t,o){return n<20?[e&t|~e&o,1518500249]:n<40?[e^t^o,1859775393]:n<60?[e&t|e&o|t&o,2400959708]:[e^t^o,3395469782]}function Fe(n){We??=new TextEncoder;const e=We.encode(n),t=new DataView(e.buffer,e.byteOffset,e.byteLength);let o=wt(t,e.length,0),c=wt(t,e.length,102072);return 0==o&&(0==c||1==c)&&(o^=319790063,c^=-1801410264),BigInt.asUintN(32,BigInt(o))<<BigInt(32)|BigInt.asUintN(32,BigInt(c))}function He(n,e=""){let t=Fe(n);return e&&(t=BigInt.asUintN(64,t<<BigInt(1))|t>>BigInt(63)&BigInt(1),t+=Fe(e)),BigInt.asUintN(63,t).toString()}function wt(n,e,t){let o=2654435769,c=2654435769,u=0;const v=e-12;for(;u<=v;u+=12){o+=n.getUint32(u,!0),c+=n.getUint32(u+4,!0);const ae=Jt(o,c,t+=n.getUint32(u+8,!0));o=ae[0],c=ae[1],t=ae[2]}const k=e-u;return t+=e,k>=4?(o+=n.getUint32(u,!0),u+=4,k>=8?(c+=n.getUint32(u,!0),u+=4,k>=9&&(t+=n.getUint8(u++)<<8),k>=10&&(t+=n.getUint8(u++)<<16),11===k&&(t+=n.getUint8(u++)<<24)):(k>=5&&(c+=n.getUint8(u++)),k>=6&&(c+=n.getUint8(u++)<<8),7===k&&(c+=n.getUint8(u++)<<16))):(k>=1&&(o+=n.getUint8(u++)),k>=2&&(o+=n.getUint8(u++)<<8),3===k&&(o+=n.getUint8(u++)<<16)),Jt(o,c,t)[2]}function Jt(n,e,t){return n-=e,n-=t,e-=t,e-=n^=t>>>13,t-=n,t-=e^=n<<8,n-=e,n-=t^=e>>>13,e-=t,e-=n^=t>>>12,t-=n,t-=e^=n<<16,n-=e,n-=t^=e>>>5,e-=t,e-=n^=t>>>3,t-=n,t-=e^=n<<10,[n,e,t^=e>>>15]}var ee,Ht,Mt;function V(n,e){return function ue(n,e){const t=(65535&n)+(65535&e),o=(n>>>16)+(e>>>16)+(t>>>16);return[o>>>16,o<<16|65535&t]}(n,e)[1]}function De(n,e){return n<<e|n>>>32-e}function It(n,e){return e>=n.length?0:n[e]}function Kt(n,e,t){let o=0;if(t===ee.Big)for(let c=0;c<4;c++)o+=It(n,e+c)<<24-8*c;else for(let c=0;c<4;c++)o+=It(n,e+c)<<8*c;return o}!function(n){n[n.Little=0]="Little",n[n.Big=1]="Big"}(ee||(ee={})),function(n){n[n.None=0]="None",n[n.Const=1]="Const"}(Ht||(Ht={}));class ze{modifiers;constructor(e=Ht.None){this.modifiers=e}hasModifier(e){return 0!==(this.modifiers&e)}}!function(n){n[n.Dynamic=0]="Dynamic",n[n.Bool=1]="Bool",n[n.String=2]="String",n[n.Int=3]="Int",n[n.Number=4]="Number",n[n.Function=5]="Function",n[n.Inferred=6]="Inferred",n[n.None=7]="None"}(Mt||(Mt={}));class Pt extends ze{name;constructor(e,t){super(t),this.name=e}visitType(e,t){return e.visitBuiltinType(this,t)}}class bn extends ze{value;typeParams;constructor(e,t,o=null){super(t),this.value=e,this.typeParams=o}visitType(e,t){return e.visitExpressionType(this,t)}}const Y=new Pt(Mt.Dynamic),fe=new Pt(Mt.Inferred),Et=new Pt(Mt.Bool),ln=(new Pt(Mt.Int),new Pt(Mt.Number)),fn=new Pt(Mt.String),_t=(new Pt(Mt.Function),new Pt(Mt.None));var ht,lt;function at(n,e,t){const o=n.length;if(o!==e.length)return!1;for(let c=0;c<o;c++)if(!t(n[c],e[c]))return!1;return!0}function Q(n,e){return at(n,e,(t,o)=>t.isEquivalent(o))}!function(n){n[n.Minus=0]="Minus",n[n.Plus=1]="Plus"}(ht||(ht={})),function(n){n[n.Equals=0]="Equals",n[n.NotEquals=1]="NotEquals",n[n.Assign=2]="Assign",n[n.Identical=3]="Identical",n[n.NotIdentical=4]="NotIdentical",n[n.Minus=5]="Minus",n[n.Plus=6]="Plus",n[n.Divide=7]="Divide",n[n.Multiply=8]="Multiply",n[n.Modulo=9]="Modulo",n[n.And=10]="And",n[n.Or=11]="Or",n[n.BitwiseOr=12]="BitwiseOr",n[n.BitwiseAnd=13]="BitwiseAnd",n[n.Lower=14]="Lower",n[n.LowerEquals=15]="LowerEquals",n[n.Bigger=16]="Bigger",n[n.BiggerEquals=17]="BiggerEquals",n[n.NullishCoalesce=18]="NullishCoalesce",n[n.Exponentiation=19]="Exponentiation",n[n.In=20]="In",n[n.InstanceOf=21]="InstanceOf",n[n.AdditionAssignment=22]="AdditionAssignment",n[n.SubtractionAssignment=23]="SubtractionAssignment",n[n.MultiplicationAssignment=24]="MultiplicationAssignment",n[n.DivisionAssignment=25]="DivisionAssignment",n[n.RemainderAssignment=26]="RemainderAssignment",n[n.ExponentiationAssignment=27]="ExponentiationAssignment",n[n.AndAssignment=28]="AndAssignment",n[n.OrAssignment=29]="OrAssignment",n[n.NullishCoalesceAssignment=30]="NullishCoalesceAssignment"}(lt||(lt={}));class Ae{leadingComments;type;sourceSpan;constructor(e,t,o){this.leadingComments=o,this.type=e||null,this.sourceSpan=t||null}prop(e,t){return new _n(this,e,null,t)}key(e,t,o){return new Kn(this,e,t,o)}callFn(e,t,o,c){return new Jn(this,e,null,t,o,c)}instantiate(e,t,o,c){return new $i(this,e,t,o)}conditional(e,t=null,o,c){return new qr(this,e,t,null,o)}equals(e,t){return new Bt(lt.Equals,this,e,null,t)}notEquals(e,t){return new Bt(lt.NotEquals,this,e,null,t)}identical(e,t){return new Bt(lt.Identical,this,e,null,t)}notIdentical(e,t){return new Bt(lt.NotIdentical,this,e,null,t)}minus(e,t){return new Bt(lt.Minus,this,e,null,t)}plus(e,t){return new Bt(lt.Plus,this,e,null,t)}divide(e,t){return new Bt(lt.Divide,this,e,null,t)}multiply(e,t){return new Bt(lt.Multiply,this,e,null,t)}modulo(e,t){return new Bt(lt.Modulo,this,e,null,t)}power(e,t){return new Bt(lt.Exponentiation,this,e,null,t)}and(e,t){return new Bt(lt.And,this,e,null,t)}bitwiseOr(e,t){return new Bt(lt.BitwiseOr,this,e,null,t)}bitwiseAnd(e,t){return new Bt(lt.BitwiseAnd,this,e,null,t)}or(e,t){return new Bt(lt.Or,this,e,null,t)}lower(e,t){return new Bt(lt.Lower,this,e,null,t)}lowerEquals(e,t){return new Bt(lt.LowerEquals,this,e,null,t)}bigger(e,t){return new Bt(lt.Bigger,this,e,null,t)}biggerEquals(e,t){return new Bt(lt.BiggerEquals,this,e,null,t)}isBlank(e){return this.equals(vo,e)}nullishCoalesce(e,t){return new Bt(lt.NullishCoalesce,this,e,null,t)}toStmt(e){return new kn(this,null,e)}}class Qe extends Ae{name;constructor(e,t,o,c){super(t,o,c),this.name=e}isEquivalent(e){return e instanceof Qe&&this.name===e.name}isConstant(){return!1}visitExpression(e,t){return e.visitReadVarExpr(this,t)}clone(){return new Qe(this.name,this.type,this.sourceSpan)}set(e){return new Bt(lt.Assign,this,e,null,this.sourceSpan)}}class kt extends Ae{expr;constructor(e,t,o,c){super(t,o,c),this.expr=e}visitExpression(e,t){return e.visitTypeofExpr(this,t)}isEquivalent(e){return e instanceof kt&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new kt(this.expr.clone())}}class cn extends Ae{expr;constructor(e,t,o,c){super(t,o,c),this.expr=e}visitExpression(e,t){return e.visitVoidExpr(this,t)}isEquivalent(e){return e instanceof cn&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new cn(this.expr.clone())}}class mn extends Ae{node;constructor(e,t,o,c){super(t,o,c),this.node=e}isEquivalent(e){return e instanceof mn&&this.node===e.node}isConstant(){return!1}visitExpression(e,t){return e.visitWrappedNodeExpr(this,t)}clone(){return new mn(this.node,this.type,this.sourceSpan)}}class Jn extends Ae{fn;args;pure;isOptional;constructor(e,t,o,c,u=!1,v,k=!1){super(o,c,v),this.fn=e,this.args=t,this.pure=u,this.isOptional=k}get receiver(){return this.fn}isEquivalent(e){return e instanceof Jn&&this.fn.isEquivalent(e.fn)&&Q(this.args,e.args)&&this.pure===e.pure}isConstant(){return!1}visitExpression(e,t){return e.visitInvokeFunctionExpr(this,t)}clone(){return new Jn(this.fn.clone(),this.args.map(e=>e.clone()),this.type,this.sourceSpan,this.pure,[],this.isOptional)}}class Ti extends Ae{tag;template;constructor(e,t,o,c,u){super(o,c,u),this.tag=e,this.template=t}isEquivalent(e){return e instanceof Ti&&this.tag.isEquivalent(e.tag)&&this.template.isEquivalent(e.template)}isConstant(){return!1}visitExpression(e,t){return e.visitTaggedTemplateLiteralExpr(this,t)}clone(){return new Ti(this.tag.clone(),this.template.clone(),this.type,this.sourceSpan)}}class $i extends Ae{classExpr;args;constructor(e,t,o,c,u){super(o,c,u),this.classExpr=e,this.args=t}isEquivalent(e){return e instanceof $i&&this.classExpr.isEquivalent(e.classExpr)&&Q(this.args,e.args)}isConstant(){return!1}visitExpression(e,t){return e.visitInstantiateExpr(this,t)}clone(){return new $i(this.classExpr.clone(),this.args.map(e=>e.clone()),this.type,this.sourceSpan)}}class Ei extends Ae{body;flags;constructor(e,t,o,c){super(null,o,c),this.body=e,this.flags=t}isEquivalent(e){return e instanceof Ei&&this.body===e.body&&this.flags===e.flags}isConstant(){return!0}visitExpression(e,t){return e.visitRegularExpressionLiteral(this,t)}clone(){return new Ei(this.body,this.flags,this.sourceSpan)}}class ui extends Ae{value;constructor(e,t,o,c){super(t,o,c),this.value=e}isEquivalent(e){return e instanceof ui&&this.value===e.value}isConstant(){return!0}visitExpression(e,t){return e.visitLiteralExpr(this,t)}clone(){return new ui(this.value,this.type,this.sourceSpan)}}class sr extends Ae{elements;expressions;constructor(e,t,o,c){super(null,o,c),this.elements=e,this.expressions=t}isEquivalent(e){return e instanceof sr&&at(this.elements,e.elements,(t,o)=>t.text===o.text)&&Q(this.expressions,e.expressions)}isConstant(){return!1}visitExpression(e,t){return e.visitTemplateLiteralExpr(this,t)}clone(){return new sr(this.elements.map(e=>e.clone()),this.expressions.map(e=>e.clone()))}}class pr extends Ae{text;rawText;constructor(e,t,o,c){super(fn,t,c),this.text=e,this.rawText=o??lo(Mr(e))}visitExpression(e,t){return e.visitTemplateLiteralElementExpr(this,t)}isEquivalent(e){return e instanceof pr&&e.text===this.text&&e.rawText===this.rawText}isConstant(){return!0}clone(){return new pr(this.text,this.sourceSpan,this.rawText)}}class Yn{text;sourceSpan;constructor(e,t){this.text=e,this.sourceSpan=t}}class Yt{text;sourceSpan;associatedMessage;constructor(e,t,o){this.text=e,this.sourceSpan=t,this.associatedMessage=o}}class pi extends Ae{metaBlock;messageParts;placeHolderNames;expressions;constructor(e,t,o,c,u,v){super(fn,u,v),this.metaBlock=e,this.messageParts=t,this.placeHolderNames=o,this.expressions=c}isEquivalent(e){return!1}isConstant(){return!1}visitExpression(e,t){return e.visitLocalizedString(this,t)}clone(){return new pi(this.metaBlock,this.messageParts,this.placeHolderNames,this.expressions.map(e=>e.clone()),this.sourceSpan)}serializeI18nHead(){let e=this.metaBlock.description||"";return this.metaBlock.meaning&&(e=`${this.metaBlock.meaning}|${e}`),this.metaBlock.customId&&(e=`${e}@@${this.metaBlock.customId}`),this.metaBlock.legacyIds&&this.metaBlock.legacyIds.forEach(t=>{e=`${e}\u241f${t}`}),to(e,this.messageParts[0].text,this.getMessagePartSourceSpan(0))}getMessagePartSourceSpan(e){return this.messageParts[e]?.sourceSpan??this.sourceSpan}getPlaceholderSourceSpan(e){return this.placeHolderNames[e]?.sourceSpan??this.expressions[e]?.sourceSpan??this.sourceSpan}serializeI18nTemplatePart(e){const t=this.placeHolderNames[e-1],o=this.messageParts[e];let c=t.text;return 0===t.associatedMessage?.legacyIds.length&&(c+=`@@${He(t.associatedMessage.messageString,t.associatedMessage.meaning)}`),to(c,o.text,this.getMessagePartSourceSpan(e))}}const Mr=n=>n.replace(/\\/g,"\\\\"),Fr=n=>n.replace(/^:/,"\\:"),co=n=>n.replace(/:/g,"\\:"),lo=n=>n.replace(/`/g,"\\`").replace(/\${/g,"$\\{");function to(n,e,t){return""===n?{cooked:e,raw:lo(Fr(Mr(e))),range:t}:{cooked:`:${n}:${e}`,raw:lo(`:${co(Mr(n))}:${Mr(e)}`),range:t}}class br extends Ae{value;typeParams;constructor(e,t,o=null,c,u){super(t,c,u),this.value=e,this.typeParams=o}isEquivalent(e){return e instanceof br&&this.value.name===e.value.name&&this.value.moduleName===e.value.moduleName}isConstant(){return!1}visitExpression(e,t){return e.visitExternalExpr(this,t)}clone(){return new br(this.value,this.type,this.typeParams,this.sourceSpan)}}class qr extends Ae{condition;falseCase;trueCase;constructor(e,t,o=null,c,u,v){super(c||t.type,u,v),this.condition=e,this.falseCase=o,this.trueCase=t}isEquivalent(e){return e instanceof qr&&this.condition.isEquivalent(e.condition)&&this.trueCase.isEquivalent(e.trueCase)&&function Oe(n,e){return null==n||null==e?n==e:n.isEquivalent(e)}(this.falseCase,e.falseCase)}isConstant(){return!1}visitExpression(e,t){return e.visitConditionalExpr(this,t)}clone(){return new qr(this.condition.clone(),this.trueCase.clone(),this.falseCase?.clone(),this.type,this.sourceSpan)}}class wr extends Ae{condition;constructor(e,t,o){super(Et,t,o),this.condition=e}isEquivalent(e){return e instanceof wr&&this.condition.isEquivalent(e.condition)}isConstant(){return!1}visitExpression(e,t){return e.visitNotExpr(this,t)}clone(){return new wr(this.condition.clone(),this.sourceSpan)}}class Qi{name;type;constructor(e,t=null){this.name=e,this.type=t}isEquivalent(e){return this.name===e.name}clone(){return new Qi(this.name,this.type)}}class Cr extends Ae{params;statements;name;constructor(e,t,o,c,u,v){super(o,c,v),this.params=e,this.statements=t,this.name=u}isEquivalent(e){return(e instanceof Cr||e instanceof sn)&&Q(this.params,e.params)&&Q(this.statements,e.statements)}isConstant(){return!1}visitExpression(e,t){return e.visitFunctionExpr(this,t)}toDeclStmt(e,t){return new sn(e,this.params,this.statements,this.type,t,this.sourceSpan)}clone(){return new Cr(this.params.map(e=>e.clone()),this.statements,this.type,this.sourceSpan,this.name)}}let Ar=class uk extends Ae{params;body;constructor(e,t,o,c,u){super(o,c,u),this.params=e,this.body=t}isEquivalent(e){return!!(e instanceof uk&&Q(this.params,e.params))&&(this.body instanceof Ae&&e.body instanceof Ae?this.body.isEquivalent(e.body):!(!Array.isArray(this.body)||!Array.isArray(e.body))&&Q(this.body,e.body))}isConstant(){return!1}visitExpression(e,t){return e.visitArrowFunctionExpr(this,t)}clone(){return new uk(this.params.map(e=>e.clone()),Array.isArray(this.body)?this.body:this.body.clone(),this.type,this.sourceSpan)}toDeclStmt(e,t){return new Ot(e,this,fe,t,this.sourceSpan)}};class zt extends Ae{operator;expr;parens;constructor(e,t,o,c,u=!0,v){super(o||ln,c,v),this.operator=e,this.expr=t,this.parens=u}isEquivalent(e){return e instanceof zt&&this.operator===e.operator&&this.expr.isEquivalent(e.expr)}isConstant(){return!1}visitExpression(e,t){return e.visitUnaryOperatorExpr(this,t)}clone(){return new zt(this.operator,this.expr.clone(),this.type,this.sourceSpan,this.parens)}}class pt extends Ae{expr;constructor(e,t,o,c){super(t,o,c),this.expr=e}visitExpression(e,t){return e.visitParenthesizedExpr(this,t)}isEquivalent(e){return e instanceof pt&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new pt(this.expr.clone())}}class Bt extends Ae{operator;rhs;lhs;constructor(e,t,o,c,u,v){super(c||t.type,u,v),this.operator=e,this.rhs=o,this.lhs=t}isEquivalent(e){return e instanceof Bt&&this.operator===e.operator&&this.lhs.isEquivalent(e.lhs)&&this.rhs.isEquivalent(e.rhs)}isConstant(){return!1}visitExpression(e,t){return e.visitBinaryOperatorExpr(this,t)}clone(){return new Bt(this.operator,this.lhs.clone(),this.rhs.clone(),this.type,this.sourceSpan)}isAssignment(){const e=this.operator;return e===lt.Assign||e===lt.AdditionAssignment||e===lt.SubtractionAssignment||e===lt.MultiplicationAssignment||e===lt.DivisionAssignment||e===lt.RemainderAssignment||e===lt.ExponentiationAssignment||e===lt.AndAssignment||e===lt.OrAssignment||e===lt.NullishCoalesceAssignment}}class _n extends Ae{receiver;name;isOptional;constructor(e,t,o,c,u,v=!1){super(o,c,u),this.receiver=e,this.name=t,this.isOptional=v}get index(){return this.name}isEquivalent(e){return e instanceof _n&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name&&this.isOptional===e.isOptional}isConstant(){return!1}visitExpression(e,t){return e.visitReadPropExpr(this,t)}set(e){return new Bt(lt.Assign,this.receiver.prop(this.name),e,null,this.sourceSpan)}clone(){return new _n(this.receiver.clone(),this.name,this.type,this.sourceSpan,[],this.isOptional)}}class Kn extends Ae{receiver;index;isOptional;constructor(e,t,o,c,u,v=!1){super(o,c,u),this.receiver=e,this.index=t,this.isOptional=v}isEquivalent(e){return e instanceof Kn&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)&&this.isOptional===e.isOptional}isConstant(){return!1}visitExpression(e,t){return e.visitReadKeyExpr(this,t)}set(e){return new Bt(lt.Assign,this.receiver.key(this.index),e,null,this.sourceSpan)}clone(){return new Kn(this.receiver.clone(),this.index.clone(),this.type,this.sourceSpan,[],this.isOptional)}}class pn extends Ae{entries;constructor(e,t,o,c){super(t,o,c),this.entries=e}isConstant(){return this.entries.every(e=>e.isConstant())}isEquivalent(e){return e instanceof pn&&Q(this.entries,e.entries)}visitExpression(e,t){return e.visitLiteralArrayExpr(this,t)}clone(){return new pn(this.entries.map(e=>e.clone()),this.type,this.sourceSpan)}}class mi{key;value;quoted;constructor(e,t,o){this.key=e,this.value=t,this.quoted=o}isEquivalent(e){return this.key===e.key&&this.value.isEquivalent(e.value)}clone(){return new mi(this.key,this.value.clone(),this.quoted)}isConstant(){return this.value.isConstant()}}class Mi{expression;constructor(e){this.expression=e}isEquivalent(e){return e instanceof Mi&&this.expression.isEquivalent(e.expression)}clone(){return new Mi(this.expression.clone())}isConstant(){return this.expression.isConstant()}}class Hi extends Ae{entries;valueType=null;constructor(e,t,o,c){super(t,o,c),this.entries=e,t&&(this.valueType=t.valueType)}isEquivalent(e){return e instanceof Hi&&Q(this.entries,e.entries)}isConstant(){return this.entries.every(e=>e.isConstant())}visitExpression(e,t){return e.visitLiteralMapExpr(this,t)}clone(){const e=this.entries.map(t=>t.clone());return new Hi(e,this.type,this.sourceSpan)}}class wi extends Ae{expression;constructor(e,t,o){super(null,t,o),this.expression=e}isEquivalent(e){return e instanceof wi&&this.expression.isEquivalent(e.expression)}isConstant(){return this.expression.isConstant()}visitExpression(e,t){return e.visitSpreadElementExpr(this,t)}clone(){return new wi(this.expression.clone(),this.sourceSpan)}}const Ki=new ui(null,null,null),vo=new ui(null,fe,null);var Gi;!function(n){n[n.None=0]="None",n[n.Final=1]="Final",n[n.Private=2]="Private",n[n.Exported=4]="Exported",n[n.Static=8]="Static"}(Gi||(Gi={}));class Ze{text;multiline;trailingNewline;constructor(e,t,o){this.text=e,this.multiline=t,this.trailingNewline=o}toString(){return this.multiline?` ${this.text} `:this.text}}class tt extends Ze{tags;constructor(e){super("",!0,!0),this.tags=e}toString(){return function Pe(n){if(0===n.length)return"";if(1===n.length&&n[0].tagName&&!n[0].text)return`*${St(n[0])} `;let e="*\n";for(const t of n)e+=" *",e+=St(t).replace(/\n/g,"\n * "),e+="\n";return e+=" ",e}(this.tags)}}class ft{modifiers;sourceSpan;leadingComments;constructor(e=Gi.None,t=null,o){this.modifiers=e,this.sourceSpan=t,this.leadingComments=o}hasModifier(e){return 0!==(this.modifiers&e)}addLeadingComment(e){this.leadingComments=this.leadingComments??[],this.leadingComments.push(e)}}class Ot extends ft{name;value;type;constructor(e,t,o,c,u,v){super(c,u,v),this.name=e,this.value=t,this.type=o||t&&t.type||null}isEquivalent(e){return e instanceof Ot&&this.name===e.name&&(this.value?!!e.value&&this.value.isEquivalent(e.value):!e.value)}visitStatement(e,t){return e.visitDeclareVarStmt(this,t)}}class sn extends ft{name;params;statements;type;constructor(e,t,o,c,u,v,k){super(u,v,k),this.name=e,this.params=t,this.statements=o,this.type=c||null}isEquivalent(e){return e instanceof sn&&Q(this.params,e.params)&&Q(this.statements,e.statements)}visitStatement(e,t){return e.visitDeclareFunctionStmt(this,t)}}class kn extends ft{expr;constructor(e,t,o){super(Gi.None,t,o),this.expr=e}isEquivalent(e){return e instanceof kn&&this.expr.isEquivalent(e.expr)}visitStatement(e,t){return e.visitExpressionStmt(this,t)}}class In extends ft{value;constructor(e,t=null,o){super(Gi.None,t,o),this.value=e}isEquivalent(e){return e instanceof In&&this.value.isEquivalent(e.value)}visitStatement(e,t){return e.visitReturnStmt(this,t)}}class ti extends ft{condition;trueCase;falseCase;constructor(e,t,o=[],c,u){super(Gi.None,c,u),this.condition=e,this.trueCase=t,this.falseCase=o}isEquivalent(e){return e instanceof ti&&this.condition.isEquivalent(e.condition)&&Q(this.trueCase,e.trueCase)&&Q(this.falseCase,e.falseCase)}visitStatement(e,t){return e.visitIfStmt(this,t)}}function Xn(n,e,t,o){return new Qe(n,e,t,o)}function Nn(n,e=null,t){return new br(n,null,e,t)}function ur(n,e,t){return new bn(n,e,t)}function Pr(n){return new kt(n)}function Fi(n,e,t){return new pn(n,e,t)}function ir(n,e=null){return new Hi(n.map(t=>new mi(t.key,t.value,t.quoted)),e,null)}function Er(n,e,t,o,c){return new Cr(n,e,t,o,c)}function Di(n,e,t,o){return new Ar(n,e,t,o)}function oo(n,e,t,o,c){return new ti(n,e,t,o,c)}function $t(n,e,t){return new ui(n,e,t)}function St(n){let e="";if(n.tagName&&(e+=` @${n.tagName}`),n.text){if(n.text.match(/\/\*|\*\//))throw new Error('JSDoc text cannot contain "/*" and "*/"');e+=" "+n.text.replace(/@/g,"\\@")}return e}const Ln={};class Sn extends Ae{resolved;original;shared=!1;constructor(e){super(e.type),this.resolved=e,this.original=e}visitExpression(e,t){return t===Ln?this.original.visitExpression(e,t):this.resolved.visitExpression(e,t)}isEquivalent(e){return e instanceof Sn&&this.resolved.isEquivalent(e.resolved)}isConstant(){return!0}clone(){throw new Error("Not supported.")}fixup(e){this.resolved=e,this.shared=!0}}class Wn{isClosureCompilerEnabled;statements=[];literals=new Map;literalFactories=new Map;sharedConstants=new Map;_claimedNames=new Map;nextNameIndex=0;constructor(e=!1){this.isClosureCompilerEnabled=e}getConstLiteral(e,t){if(e instanceof ui&&!Xr(e)||e instanceof Sn)return e;const o=Ui.INSTANCE.keyOf(e);let c=this.literals.get(o),u=!1;if(c||(c=new Sn(e),this.literals.set(o,c),u=!0),!u&&!c.shared||u&&t){const v=this.freshName();let k,ae;this.isClosureCompilerEnabled&&Xr(e)?(k=new Cr([],[new In(e)]),ae=Xn(v).callFn([])):(k=e,ae=Xn(v)),this.statements.push(new Ot(v,k,fe,Gi.Final)),c.fixup(ae)}return c}getSharedConstant(e,t){const o=e.keyOf(t);if(!this.sharedConstants.has(o)){const c=this.freshName();this.sharedConstants.set(o,Xn(c)),this.statements.push(e.toSharedConstantDeclaration(c,t))}return this.sharedConstants.get(o)}getSharedFunctionReference(e,t,o=!0){const c=e instanceof Ar;for(const v of this.statements)if(c&&v instanceof Ot&&v.value?.isEquivalent(e)||!c&&v instanceof sn&&e instanceof Cr&&e.isEquivalent(v))return Xn(v.name);const u=o?this.uniqueName(t):t;return this.statements.push(e instanceof Cr?e.toDeclStmt(u,Gi.Final):new Ot(u,e,fe,Gi.Final,e.sourceSpan)),Xn(u)}uniqueName(e,t=!0){const o=this._claimedNames.get(e)??0,c=0!==o||t?`${e}${o}`:`${e}`;return this._claimedNames.set(e,o+1),c}freshName(){return this.uniqueName("_c")}}class Ui{static INSTANCE=new Ui;keyOf(e){if(e instanceof ui&&"string"==typeof e.value)return`"${e.value}"`;if(e instanceof ui)return String(e.value);if(e instanceof Ei)return`/${e.body}/${e.flags??""}`;if(e instanceof pn){const t=[];for(const o of e.entries)t.push(this.keyOf(o));return`[${t.join(",")}]`}if(e instanceof Hi){const t=[];for(const o of e.entries)if(o instanceof Mi)t.push("..."+this.keyOf(o.expression));else{let c=o.key;o.quoted&&(c=`"${c}"`),t.push(c+":"+this.keyOf(o.value))}return`{${t.join(",")}}`}if(e instanceof br)return`import("${e.value.moduleName}", ${e.value.name})`;if(e instanceof Qe)return`read(${e.name})`;if(e instanceof kt)return`typeof(${this.keyOf(e.expr)})`;if(e instanceof wi)return`...${this.keyOf(e.expression)}`;throw new Error(`${this.constructor.name} does not handle expressions of type ${e.constructor.name}`)}}function Xr(n){return n instanceof ui&&"string"==typeof n.value&&n.value.length>=50}const jt="@angular/core";class yt{static core={name:null,moduleName:jt};static namespaceHTML={name:"\u0275\u0275namespaceHTML",moduleName:jt};static namespaceMathML={name:"\u0275\u0275namespaceMathML",moduleName:jt};static namespaceSVG={name:"\u0275\u0275namespaceSVG",moduleName:jt};static element={name:"\u0275\u0275element",moduleName:jt};static elementStart={name:"\u0275\u0275elementStart",moduleName:jt};static elementEnd={name:"\u0275\u0275elementEnd",moduleName:jt};static foreignComponent={name:"\u0275\u0275foreignComponent",moduleName:jt};static foreignContent={name:"\u0275\u0275foreignContent",moduleName:jt};static foreignContentFn={name:"\u0275\u0275foreignContentFn",moduleName:jt};static domElement={name:"\u0275\u0275domElement",moduleName:jt};static domElementStart={name:"\u0275\u0275domElementStart",moduleName:jt};static domElementEnd={name:"\u0275\u0275domElementEnd",moduleName:jt};static domElementContainer={name:"\u0275\u0275domElementContainer",moduleName:jt};static domElementContainerStart={name:"\u0275\u0275domElementContainerStart",moduleName:jt};static domElementContainerEnd={name:"\u0275\u0275domElementContainerEnd",moduleName:jt};static domTemplate={name:"\u0275\u0275domTemplate",moduleName:jt};static domListener={name:"\u0275\u0275domListener",moduleName:jt};static advance={name:"\u0275\u0275advance",moduleName:jt};static syntheticHostProperty={name:"\u0275\u0275syntheticHostProperty",moduleName:jt};static syntheticHostListener={name:"\u0275\u0275syntheticHostListener",moduleName:jt};static attribute={name:"\u0275\u0275attribute",moduleName:jt};static classProp={name:"\u0275\u0275classProp",moduleName:jt};static elementContainerStart={name:"\u0275\u0275elementContainerStart",moduleName:jt};static elementContainerEnd={name:"\u0275\u0275elementContainerEnd",moduleName:jt};static elementContainer={name:"\u0275\u0275elementContainer",moduleName:jt};static styleMap={name:"\u0275\u0275styleMap",moduleName:jt};static classMap={name:"\u0275\u0275classMap",moduleName:jt};static styleProp={name:"\u0275\u0275styleProp",moduleName:jt};static interpolate={name:"\u0275\u0275interpolate",moduleName:jt};static interpolate1={name:"\u0275\u0275interpolate1",moduleName:jt};static interpolate2={name:"\u0275\u0275interpolate2",moduleName:jt};static interpolate3={name:"\u0275\u0275interpolate3",moduleName:jt};static interpolate4={name:"\u0275\u0275interpolate4",moduleName:jt};static interpolate5={name:"\u0275\u0275interpolate5",moduleName:jt};static interpolate6={name:"\u0275\u0275interpolate6",moduleName:jt};static interpolate7={name:"\u0275\u0275interpolate7",moduleName:jt};static interpolate8={name:"\u0275\u0275interpolate8",moduleName:jt};static interpolateV={name:"\u0275\u0275interpolateV",moduleName:jt};static nextContext={name:"\u0275\u0275nextContext",moduleName:jt};static resetView={name:"\u0275\u0275resetView",moduleName:jt};static templateCreate={name:"\u0275\u0275template",moduleName:jt};static defer={name:"\u0275\u0275defer",moduleName:jt};static deferWhen={name:"\u0275\u0275deferWhen",moduleName:jt};static deferOnIdle={name:"\u0275\u0275deferOnIdle",moduleName:jt};static deferOnImmediate={name:"\u0275\u0275deferOnImmediate",moduleName:jt};static deferOnTimer={name:"\u0275\u0275deferOnTimer",moduleName:jt};static deferOnHover={name:"\u0275\u0275deferOnHover",moduleName:jt};static deferOnInteraction={name:"\u0275\u0275deferOnInteraction",moduleName:jt};static deferOnViewport={name:"\u0275\u0275deferOnViewport",moduleName:jt};static deferPrefetchWhen={name:"\u0275\u0275deferPrefetchWhen",moduleName:jt};static deferPrefetchOnIdle={name:"\u0275\u0275deferPrefetchOnIdle",moduleName:jt};static deferPrefetchOnImmediate={name:"\u0275\u0275deferPrefetchOnImmediate",moduleName:jt};static deferPrefetchOnTimer={name:"\u0275\u0275deferPrefetchOnTimer",moduleName:jt};static deferPrefetchOnHover={name:"\u0275\u0275deferPrefetchOnHover",moduleName:jt};static deferPrefetchOnInteraction={name:"\u0275\u0275deferPrefetchOnInteraction",moduleName:jt};static deferPrefetchOnViewport={name:"\u0275\u0275deferPrefetchOnViewport",moduleName:jt};static deferHydrateWhen={name:"\u0275\u0275deferHydrateWhen",moduleName:jt};static deferHydrateNever={name:"\u0275\u0275deferHydrateNever",moduleName:jt};static deferHydrateOnIdle={name:"\u0275\u0275deferHydrateOnIdle",moduleName:jt};static deferHydrateOnImmediate={name:"\u0275\u0275deferHydrateOnImmediate",moduleName:jt};static deferHydrateOnTimer={name:"\u0275\u0275deferHydrateOnTimer",moduleName:jt};static deferHydrateOnHover={name:"\u0275\u0275deferHydrateOnHover",moduleName:jt};static deferHydrateOnInteraction={name:"\u0275\u0275deferHydrateOnInteraction",moduleName:jt};static deferHydrateOnViewport={name:"\u0275\u0275deferHydrateOnViewport",moduleName:jt};static deferEnableTimerScheduling={name:"\u0275\u0275deferEnableTimerScheduling",moduleName:jt};static enableIncrementalHydrationRuntime={name:"\u0275\u0275enableIncrementalHydrationRuntime",moduleName:jt};static conditionalCreate={name:"\u0275\u0275conditionalCreate",moduleName:jt};static conditionalBranchCreate={name:"\u0275\u0275conditionalBranchCreate",moduleName:jt};static conditional={name:"\u0275\u0275conditional",moduleName:jt};static repeater={name:"\u0275\u0275repeater",moduleName:jt};static repeaterCreate={name:"\u0275\u0275repeaterCreate",moduleName:jt};static repeaterTrackByIndex={name:"\u0275\u0275repeaterTrackByIndex",moduleName:jt};static repeaterTrackByIdentity={name:"\u0275\u0275repeaterTrackByIdentity",moduleName:jt};static componentInstance={name:"\u0275\u0275componentInstance",moduleName:jt};static text={name:"\u0275\u0275text",moduleName:jt};static enableBindings={name:"\u0275\u0275enableBindings",moduleName:jt};static disableBindings={name:"\u0275\u0275disableBindings",moduleName:jt};static getCurrentView={name:"\u0275\u0275getCurrentView",moduleName:jt};static textInterpolate={name:"\u0275\u0275textInterpolate",moduleName:jt};static textInterpolate1={name:"\u0275\u0275textInterpolate1",moduleName:jt};static textInterpolate2={name:"\u0275\u0275textInterpolate2",moduleName:jt};static textInterpolate3={name:"\u0275\u0275textInterpolate3",moduleName:jt};static textInterpolate4={name:"\u0275\u0275textInterpolate4",moduleName:jt};static textInterpolate5={name:"\u0275\u0275textInterpolate5",moduleName:jt};static textInterpolate6={name:"\u0275\u0275textInterpolate6",moduleName:jt};static textInterpolate7={name:"\u0275\u0275textInterpolate7",moduleName:jt};static textInterpolate8={name:"\u0275\u0275textInterpolate8",moduleName:jt};static textInterpolateV={name:"\u0275\u0275textInterpolateV",moduleName:jt};static restoreView={name:"\u0275\u0275restoreView",moduleName:jt};static pureFunction0={name:"\u0275\u0275pureFunction0",moduleName:jt};static pureFunction1={name:"\u0275\u0275pureFunction1",moduleName:jt};static pureFunction2={name:"\u0275\u0275pureFunction2",moduleName:jt};static pureFunction3={name:"\u0275\u0275pureFunction3",moduleName:jt};static pureFunction4={name:"\u0275\u0275pureFunction4",moduleName:jt};static pureFunction5={name:"\u0275\u0275pureFunction5",moduleName:jt};static pureFunction6={name:"\u0275\u0275pureFunction6",moduleName:jt};static pureFunction7={name:"\u0275\u0275pureFunction7",moduleName:jt};static pureFunction8={name:"\u0275\u0275pureFunction8",moduleName:jt};static pureFunctionV={name:"\u0275\u0275pureFunctionV",moduleName:jt};static pipeBind1={name:"\u0275\u0275pipeBind1",moduleName:jt};static pipeBind2={name:"\u0275\u0275pipeBind2",moduleName:jt};static pipeBind3={name:"\u0275\u0275pipeBind3",moduleName:jt};static pipeBind4={name:"\u0275\u0275pipeBind4",moduleName:jt};static pipeBindV={name:"\u0275\u0275pipeBindV",moduleName:jt};static domProperty={name:"\u0275\u0275domProperty",moduleName:jt};static ariaProperty={name:"\u0275\u0275ariaProperty",moduleName:jt};static property={name:"\u0275\u0275property",moduleName:jt};static control={name:"\u0275\u0275control",moduleName:jt};static controlCreate={name:"\u0275\u0275controlCreate",moduleName:jt};static animationEnterListener={name:"\u0275\u0275animateEnterListener",moduleName:jt};static animationLeaveListener={name:"\u0275\u0275animateLeaveListener",moduleName:jt};static animationEnter={name:"\u0275\u0275animateEnter",moduleName:jt};static animationLeave={name:"\u0275\u0275animateLeave",moduleName:jt};static i18n={name:"\u0275\u0275i18n",moduleName:jt};static i18nAttributes={name:"\u0275\u0275i18nAttributes",moduleName:jt};static i18nExp={name:"\u0275\u0275i18nExp",moduleName:jt};static i18nStart={name:"\u0275\u0275i18nStart",moduleName:jt};static i18nEnd={name:"\u0275\u0275i18nEnd",moduleName:jt};static i18nApply={name:"\u0275\u0275i18nApply",moduleName:jt};static i18nPostprocess={name:"\u0275\u0275i18nPostprocess",moduleName:jt};static pipe={name:"\u0275\u0275pipe",moduleName:jt};static projection={name:"\u0275\u0275projection",moduleName:jt};static projectionDef={name:"\u0275\u0275projectionDef",moduleName:jt};static reference={name:"\u0275\u0275reference",moduleName:jt};static inject={name:"\u0275\u0275inject",moduleName:jt};static injectAttribute={name:"\u0275\u0275injectAttribute",moduleName:jt};static directiveInject={name:"\u0275\u0275directiveInject",moduleName:jt};static invalidFactory={name:"\u0275\u0275invalidFactory",moduleName:jt};static invalidFactoryDep={name:"\u0275\u0275invalidFactoryDep",moduleName:jt};static templateRefExtractor={name:"\u0275\u0275templateRefExtractor",moduleName:jt};static forwardRef={name:"forwardRef",moduleName:jt};static resolveForwardRef={name:"resolveForwardRef",moduleName:jt};static replaceMetadata={name:"\u0275\u0275replaceMetadata",moduleName:jt};static getReplaceMetadataURL={name:"\u0275\u0275getReplaceMetadataURL",moduleName:jt};static \u0275\u0275defineInjectable={name:"\u0275\u0275defineInjectable",moduleName:jt};static declareInjectable={name:"\u0275\u0275ngDeclareInjectable",moduleName:jt};static InjectableDeclaration={name:"\u0275\u0275InjectableDeclaration",moduleName:jt};static defineService={name:"\u0275\u0275defineService",moduleName:jt};static declareService={name:"\u0275\u0275ngDeclareService",moduleName:jt};static resolveWindow={name:"\u0275\u0275resolveWindow",moduleName:jt};static resolveDocument={name:"\u0275\u0275resolveDocument",moduleName:jt};static resolveBody={name:"\u0275\u0275resolveBody",moduleName:jt};static getComponentDepsFactory={name:"\u0275\u0275getComponentDepsFactory",moduleName:jt};static defineComponent={name:"\u0275\u0275defineComponent",moduleName:jt};static declareComponent={name:"\u0275\u0275ngDeclareComponent",moduleName:jt};static setComponentScope={name:"\u0275\u0275setComponentScope",moduleName:jt};static ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:jt};static ViewEncapsulation={name:"ViewEncapsulation",moduleName:jt};static ComponentDeclaration={name:"\u0275\u0275ComponentDeclaration",moduleName:jt};static FactoryDeclaration={name:"\u0275\u0275FactoryDeclaration",moduleName:jt};static declareFactory={name:"\u0275\u0275ngDeclareFactory",moduleName:jt};static FactoryTarget={name:"\u0275\u0275FactoryTarget",moduleName:jt};static defineDirective={name:"\u0275\u0275defineDirective",moduleName:jt};static declareDirective={name:"\u0275\u0275ngDeclareDirective",moduleName:jt};static DirectiveDeclaration={name:"\u0275\u0275DirectiveDeclaration",moduleName:jt};static InjectorDef={name:"\u0275\u0275InjectorDef",moduleName:jt};static InjectorDeclaration={name:"\u0275\u0275InjectorDeclaration",moduleName:jt};static defineInjector={name:"\u0275\u0275defineInjector",moduleName:jt};static declareInjector={name:"\u0275\u0275ngDeclareInjector",moduleName:jt};static NgModuleDeclaration={name:"\u0275\u0275NgModuleDeclaration",moduleName:jt};static ModuleWithProviders={name:"ModuleWithProviders",moduleName:jt};static defineNgModule={name:"\u0275\u0275defineNgModule",moduleName:jt};static declareNgModule={name:"\u0275\u0275ngDeclareNgModule",moduleName:jt};static setNgModuleScope={name:"\u0275\u0275setNgModuleScope",moduleName:jt};static registerNgModuleType={name:"\u0275\u0275registerNgModuleType",moduleName:jt};static PipeDeclaration={name:"\u0275\u0275PipeDeclaration",moduleName:jt};static definePipe={name:"\u0275\u0275definePipe",moduleName:jt};static declarePipe={name:"\u0275\u0275ngDeclarePipe",moduleName:jt};static declareClassMetadata={name:"\u0275\u0275ngDeclareClassMetadata",moduleName:jt};static declareClassMetadataAsync={name:"\u0275\u0275ngDeclareClassMetadataAsync",moduleName:jt};static setClassMetadata={name:"\u0275setClassMetadata",moduleName:jt};static setClassMetadataAsync={name:"\u0275setClassMetadataAsync",moduleName:jt};static setClassDebugInfo={name:"\u0275setClassDebugInfo",moduleName:jt};static queryRefresh={name:"\u0275\u0275queryRefresh",moduleName:jt};static viewQuery={name:"\u0275\u0275viewQuery",moduleName:jt};static loadQuery={name:"\u0275\u0275loadQuery",moduleName:jt};static contentQuery={name:"\u0275\u0275contentQuery",moduleName:jt};static viewQuerySignal={name:"\u0275\u0275viewQuerySignal",moduleName:jt};static contentQuerySignal={name:"\u0275\u0275contentQuerySignal",moduleName:jt};static queryAdvance={name:"\u0275\u0275queryAdvance",moduleName:jt};static twoWayProperty={name:"\u0275\u0275twoWayProperty",moduleName:jt};static twoWayBindingSet={name:"\u0275\u0275twoWayBindingSet",moduleName:jt};static twoWayListener={name:"\u0275\u0275twoWayListener",moduleName:jt};static declareLet={name:"\u0275\u0275declareLet",moduleName:jt};static storeLet={name:"\u0275\u0275storeLet",moduleName:jt};static readContextLet={name:"\u0275\u0275readContextLet",moduleName:jt};static arrowFunction={name:"\u0275\u0275arrowFunction",moduleName:jt};static attachSourceLocations={name:"\u0275\u0275attachSourceLocations",moduleName:jt};static NgOnChangesFeature={name:"\u0275\u0275NgOnChangesFeature",moduleName:jt};static ControlFeature={name:"\u0275\u0275ControlFeature",moduleName:jt};static InheritDefinitionFeature={name:"\u0275\u0275InheritDefinitionFeature",moduleName:jt};static ProvidersFeature={name:"\u0275\u0275ProvidersFeature",moduleName:jt};static HostDirectivesFeature={name:"\u0275\u0275HostDirectivesFeature",moduleName:jt};static ExternalStylesFeature={name:"\u0275\u0275ExternalStylesFeature",moduleName:jt};static listener={name:"\u0275\u0275listener",moduleName:jt};static getInheritedFactory={name:"\u0275\u0275getInheritedFactory",moduleName:jt};static sanitizeHtml={name:"\u0275\u0275sanitizeHtml",moduleName:jt};static sanitizeStyle={name:"\u0275\u0275sanitizeStyle",moduleName:jt};static validateAttribute={name:"\u0275\u0275validateAttribute",moduleName:jt};static sanitizeResourceUrl={name:"\u0275\u0275sanitizeResourceUrl",moduleName:jt};static sanitizeScript={name:"\u0275\u0275sanitizeScript",moduleName:jt};static sanitizeUrl={name:"\u0275\u0275sanitizeUrl",moduleName:jt};static sanitizeUrlOrResourceUrl={name:"\u0275\u0275sanitizeUrlOrResourceUrl",moduleName:jt};static trustConstantHtml={name:"\u0275\u0275trustConstantHtml",moduleName:jt};static trustConstantResourceUrl={name:"\u0275\u0275trustConstantResourceUrl",moduleName:jt};static inputDecorator={name:"Input",moduleName:jt};static outputDecorator={name:"Output",moduleName:jt};static viewChildDecorator={name:"ViewChild",moduleName:jt};static viewChildrenDecorator={name:"ViewChildren",moduleName:jt};static contentChildDecorator={name:"ContentChild",moduleName:jt};static contentChildrenDecorator={name:"ContentChildren",moduleName:jt};static InputSignalBrandWriteType={name:"\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE",moduleName:jt};static UnwrapDirectiveSignalInputs={name:"\u0275UnwrapDirectiveSignalInputs",moduleName:jt};static unwrapWritableSignal={name:"\u0275unwrapWritableSignal",moduleName:jt};static assertType={name:"\u0275assertType",moduleName:jt}}const mo=/-+([a-z0-9])/g;function ns(n,e,t){const o=n.indexOf(e);return-1==o?t:[n.slice(0,o).trim(),n.slice(o+1).trim()]}function Do(n){if("string"==typeof n)return n;if(Array.isArray(n))return`[${n.map(Do).join(", ")}]`;if(null==n)return""+n;const e=n.overriddenName||n.name;if(e)return`${e}`;if(!n.toString)return"object";const t=n.toString();if(null==t)return""+t;const o=t.indexOf("\n");return o>=0?t.slice(0,o):t}const Ro=globalThis,Co=/^([1-9]|1[0-8])\./;function jo(n){return!!n.startsWith("0.")||!Co.test(n)}function hs(n){return n.startsWith("--global--")?"--"+n.substring(10):"--%NS%"+n.substring(2)}class Ps{file;sourcesContent=new Map;lines=[];lastCol0=0;hasMappings=!1;constructor(e=null){this.file=e}addSource(e,t=null){return this.sourcesContent.has(e)||this.sourcesContent.set(e,t),this}addLine(){return this.lines.push([]),this.lastCol0=0,this}addMapping(e,t,o,c){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(null!=t&&!this.sourcesContent.has(t))throw new Error(`Unknown source file "${t}"`);if(null==e)throw new Error("The column in the generated code must be provided");if(e<this.lastCol0)throw new Error("Mapping should be added in output order");if(t&&(null==o||null==c))throw new Error("The source location must be provided when a source url is provided");return this.hasMappings=!0,this.lastCol0=e,this.currentLine.push({col0:e,sourceUrl:t,sourceLine0:o,sourceCol0:c}),this}get currentLine(){return this.lines.slice(-1)[0]}toJSON(){if(!this.hasMappings)return null;const e=new Map,t=[],o=[];Array.from(this.sourcesContent.keys()).forEach((me,Ve)=>{e.set(me,Ve),t.push(me),o.push(this.sourcesContent.get(me)||null)});let c="",u=0,v=0,k=0,ae=0;return this.lines.forEach(me=>{u=0,c+=me.map(Ve=>{let it=Cs(Ve.col0-u);return u=Ve.col0,null!=Ve.sourceUrl&&(it+=Cs(e.get(Ve.sourceUrl)-v),v=e.get(Ve.sourceUrl),it+=Cs(Ve.sourceLine0-k),k=Ve.sourceLine0,it+=Cs(Ve.sourceCol0-ae),ae=Ve.sourceCol0),it}).join(","),c+=";"}),c=c.slice(0,-1),{file:this.file||"",version:3,sourceRoot:"",sources:t,sourcesContent:o,mappings:c}}toJsComment(){return this.hasMappings?"//# sourceMappingURL=data:application/json;base64,"+function vs(n){let e="";const t=function Eo(n){let e=[];for(let t=0;t<n.length;t++){let o=n.charCodeAt(t);if(o>=55296&&o<=56319&&n.length>t+1){const c=n.charCodeAt(t+1);c>=56320&&c<=57343&&(t++,o=(o-55296<<10)+c-56320+65536)}o<=127?e.push(o):o<=2047?e.push(o>>6&31|192,63&o|128):o<=65535?e.push(o>>12|224,o>>6&63|128,63&o|128):o<=2097151&&e.push(o>>18&7|240,o>>12&63|128,o>>6&63|128,63&o|128)}return e}(n);for(let o=0;o<t.length;){const c=t[o++],u=o<t.length?t[o++]:null,v=o<t.length?t[o++]:null;e+=oa(c>>2),e+=oa((3&c)<<4|(null===u?0:u>>4)),e+=null===u?"=":oa((15&u)<<2|(null===v?0:v>>6)),e+=null===u||null===v?"=":oa(63&v)}return e}(JSON.stringify(this,null,0)):""}}function Cs(n){n=n<0?1+(-n<<1):n<<1;let e="";do{let t=31&n;(n>>=5)>0&&(t|=32),e+=oa(t)}while(n>0);return e}function oa(n){if(n<0||n>=64)throw new Error("Can only encode value in the range [0, 63]");return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[n]}const ls=/'|\\|\n|\r/g,Ao=/^[$A-Z_][0-9A-Z_$]*$/i;class _c{indent;partsLength=0;parts=[];srcSpans=[];constructor(e){this.indent=e}}const Kr=new Map([[lt.And,"&&"],[lt.Bigger,">"],[lt.BiggerEquals,">="],[lt.BitwiseOr,"|"],[lt.BitwiseAnd,"&"],[lt.Divide,"/"],[lt.Assign,"="],[lt.Equals,"=="],[lt.Identical,"==="],[lt.Lower,"<"],[lt.LowerEquals,"<="],[lt.Minus,"-"],[lt.Modulo,"%"],[lt.Exponentiation,"**"],[lt.Multiply,"*"],[lt.NotEquals,"!="],[lt.NotIdentical,"!=="],[lt.NullishCoalesce,"??"],[lt.Or,"||"],[lt.Plus,"+"],[lt.In,"in"],[lt.InstanceOf,"instanceof"],[lt.AdditionAssignment,"+="],[lt.SubtractionAssignment,"-="],[lt.MultiplicationAssignment,"*="],[lt.DivisionAssignment,"/="],[lt.RemainderAssignment,"%="],[lt.ExponentiationAssignment,"**="],[lt.AndAssignment,"&&="],[lt.OrAssignment,"||="],[lt.NullishCoalesceAssignment,"??="]]);class Ns{_indent;static createRoot(){return new Ns(0)}_lines;constructor(e){this._indent=e,this._lines=[new _c(e)]}get _currentLine(){return this._lines[this._lines.length-1]}println(e,t=""){this.print(e||null,t,!0)}lineIsEmpty(){return 0===this._currentLine.parts.length}lineLength(){return 2*this._currentLine.indent+this._currentLine.partsLength}print(e,t,o=!1){t.length>0&&(this._currentLine.parts.push(t),this._currentLine.partsLength+=t.length,this._currentLine.srcSpans.push(e&&e.sourceSpan||null)),o&&this._lines.push(new _c(this._indent))}removeEmptyLastLine(){this.lineIsEmpty()&&this._lines.pop()}incIndent(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}decIndent(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}toSource(){return this.sourceLines.map(e=>e.parts.length>0?" ".repeat(e.indent)+e.parts.join(""):"").join("\n")}toSourceMapGenerator(e,t=0){const o=new Ps(e);let c=!1;const u=()=>{c||(o.addSource(e," ").addMapping(0,e,0,0),c=!0)};for(let v=0;v<t;v++)o.addLine(),u();return this.sourceLines.forEach((v,k)=>{o.addLine();const ae=v.srcSpans,me=v.parts;let Ve=2*v.indent,it=0;for(;it<ae.length&&!ae[it];)Ve+=me[it].length,it++;for(it<ae.length&&0===k&&0===Ve?c=!0:u();it<ae.length;){const Gt=ae[it],yn=Gt.start.file,Un=Gt.start.line,ai=Gt.start.col;for(o.addSource(yn.url,yn.content).addMapping(Ve,yn.url,Un,ai),Ve+=me[it].length,it++;it<ae.length&&(Gt===ae[it]||!ae[it]);)Ve+=me[it].length,it++}}),o}spanOf(e,t){const o=this._lines[e];if(o){let c=t-" ".repeat(o.indent).length;for(let u=0;u<o.parts.length;u++){const v=o.parts[u];if(v.length>c)return o.srcSpans[u];c-=v.length}}return null}get sourceLines(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines}}class ys{printComments;printTypes;lastIfCondition=null;constructor(e,t){this.printComments=e,this.printTypes=t}visitExpressionStmt(e,t){this.printLeadingComments(e,t),e.expr.visitExpression(this,t),t.println(e,";")}visitReturnStmt(e,t){this.printLeadingComments(e,t),t.print(e,"return "),e.value.visitExpression(this,t),t.println(e,";")}visitIfStmt(e,t){this.printLeadingComments(e,t),t.print(e,"if ("),this.lastIfCondition=e.condition,e.condition.visitExpression(this,t),this.lastIfCondition=null,t.print(e,") {");const o=null!=e.falseCase&&e.falseCase.length>0;e.trueCase.length<=1&&!o?(t.print(e," "),this.visitAllStatements(e.trueCase,t),t.removeEmptyLastLine(),t.print(e," ")):(t.println(),t.incIndent(),this.visitAllStatements(e.trueCase,t),t.decIndent(),o&&(t.println(e,"} else {"),t.incIndent(),this.visitAllStatements(e.falseCase,t),t.decIndent())),t.println(e,"}")}visitDeclareVarStmt(e,t){const o=e.hasModifier(Gi.Final)?"const":"let";this.printLeadingComments(e,t),t.print(e,`${o} ${e.name}`),e.type?.visitType(this,t),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";")}visitInvokeFunctionExpr(e,t){this.printLeadingComments(e,t);const o=this.shouldParenthesize(e.fn,e);o&&t.print(e.fn,"("),e.fn.visitExpression(this,t),o&&t.print(e.fn,")"),t.print(e,e.isOptional?"?.(":"("),this.visitAllExpressions(e.args,t,","),t.print(e,")")}visitTaggedTemplateLiteralExpr(e,t){this.printLeadingComments(e,t),e.tag.visitExpression(this,t),e.template.visitExpression(this,t)}visitTemplateLiteralExpr(e,t){this.printLeadingComments(e,t),t.print(e,"`");for(let o=0;o<e.elements.length;o++){e.elements[o].visitExpression(this,t);const c=o<e.expressions.length?e.expressions[o]:null;null!==c&&(t.print(c,"${"),c.visitExpression(this,t),t.print(c,"}"))}t.print(e,"`")}visitTemplateLiteralElementExpr(e,t){this.printLeadingComments(e,t),t.print(e,e.rawText)}visitTypeofExpr(e,t){this.printLeadingComments(e,t),t.print(e,"typeof "),e.expr.visitExpression(this,t)}visitVoidExpr(e,t){this.printLeadingComments(e,t),t.print(e,"void "),e.expr.visitExpression(this,t)}visitReadVarExpr(e,t){this.printLeadingComments(e,t),t.print(e,e.name)}visitInstantiateExpr(e,t){this.printLeadingComments(e,t),t.print(e,"new "),e.classExpr.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")")}visitLiteralExpr(e,t){this.printLeadingComments(e,t);const o=e.value;"string"==typeof o?t.print(e,ho(o)):t.print(e,`${o}`)}visitRegularExpressionLiteral(e,t){this.printLeadingComments(e,t),t.print(e,`/${e.body}/${e.flags||""}`)}visitLocalizedString(e,t){this.printLeadingComments(e,t);const o=e.serializeI18nHead();t.print(e,"$localize `"+o.raw);for(let c=1;c<e.messageParts.length;c++)t.print(e,"${"),e.expressions[c-1].visitExpression(this,t),t.print(e,`}${e.serializeI18nTemplatePart(c).raw}`);t.print(e,"`")}visitConditionalExpr(e,t){this.printLeadingComments(e,t),t.print(e,"("),e.condition.visitExpression(this,t),t.print(e," ? "),e.trueCase.visitExpression(this,t),t.print(e," : "),e.falseCase?.visitExpression(this,t),t.print(e,")")}visitDynamicImportExpr(e,t){this.printLeadingComments(e,t),t.print(e,"import("),"string"==typeof e.url?t.print(e,ho(e.url,!0)):e.url.visitExpression(this,t),t.print(e,")")}visitNotExpr(e,t){this.printLeadingComments(e,t),t.print(e,"!"),e.condition.visitExpression(this,t)}visitFunctionExpr(e,t){this.printLeadingComments(e,t),t.print(e,`function${e.name?" "+e.name:""}(`),this.visitParams(e.params,t),t.print(e,")"),e.type?.visitType(this,t),t.print(e," {"),t.println(e),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}")}visitArrowFunctionExpr(e,t){if(this.printLeadingComments(e,t),t.print(e,"("),this.visitParams(e.params,t),t.print(e,")"),e.type?.visitType(this,t),t.print(e," => "),Array.isArray(e.body))t.print(e,"{"),t.println(e),t.incIndent(),this.visitAllStatements(e.body,t),t.decIndent(),t.println(e,"}");else{const o=this.shouldParenthesize(e.body,e);o&&t.print(e,"("),e.body.visitExpression(this,t),o&&t.print(e,")")}}visitDeclareFunctionStmt(e,t){this.printLeadingComments(e,t),t.print(e,`function ${e.name}(`),this.visitParams(e.params,t),t.print(e,")"),e.type?.visitType(this,t),t.print(e," {"),t.println(e),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}")}visitUnaryOperatorExpr(e,t){let o;switch(this.printLeadingComments(e,t),e.operator){case ht.Plus:o="+";break;case ht.Minus:o="-";break;default:throw new Error(`Unknown operator ${e.operator}`)}const c=e!==this.lastIfCondition;c&&t.print(e,"("),t.print(e,o),e.expr.visitExpression(this,t),c&&t.print(e,")")}visitBinaryOperatorExpr(e,t){this.printLeadingComments(e,t);const o=Kr.get(e.operator);if(!o)throw new Error(`Unknown operator ${e.operator}`);const c=e!==this.lastIfCondition;c&&t.print(e,"("),e.lhs.visitExpression(this,t),t.print(e,` ${o} `),e.rhs.visitExpression(this,t),c&&t.print(e,")")}visitReadPropExpr(e,t){this.printLeadingComments(e,t),e.receiver.visitExpression(this,t),t.print(e,e.isOptional?"?.":"."),t.print(e,e.name)}visitReadKeyExpr(e,t){this.printLeadingComments(e,t),e.receiver.visitExpression(this,t),t.print(e,e.isOptional?"?.[":"["),e.index.visitExpression(this,t),t.print(e,"]")}visitLiteralArrayExpr(e,t){this.printLeadingComments(e,t),t.print(e,"["),this.visitAllExpressions(e.entries,t,", "),t.print(e,"]")}visitLiteralMapExpr(e,t){this.printLeadingComments(e,t),t.print(e,"{"),this.visitAllObjects(o=>{o instanceof Mi?(t.print(e,"..."),o.expression.visitExpression(this,t)):(t.print(e,`${ho(o.key,o.quoted)}: `),o.value.visitExpression(this,t))},e.entries,t,", "),t.print(e,"}")}visitCommaExpr(e,t){this.printLeadingComments(e,t),t.print(e,"("),this.visitAllExpressions(e.parts,t,", "),t.print(e,")")}visitParenthesizedExpr(e,t){this.printLeadingComments(e,t),e.expr.visitExpression(this,t)}visitSpreadElementExpr(e,t){this.printLeadingComments(e,t),t.print(e,"..."),e.expression.visitExpression(this,t)}visitBuiltinType(e,t){if(this.printTypes)switch(e.name){case Mt.Bool:t.print(null,": boolean");break;case Mt.Dynamic:t.print(null,": any");break;case Mt.Int:case Mt.Number:t.print(null,": number");break;case Mt.String:t.print(null,": string");break;case Mt.None:t.print(null,": void");break;case Mt.Inferred:break;case Mt.Function:t.print(null,": Function");break;default:t.print(null,": any")}}visitExpressionType(e,t){this.printTypes&&(t.print(null,": "),e.value.visitExpression(this,t),e.typeParams&&e.typeParams.length>0&&(t.print(null,"<"),this.visitAllObjects(o=>o.visitType(this,t),e.typeParams,t,","),t.print(null,">")))}visitArrayType(e,t){this.printTypes&&(t.print(null,": "),e.of.visitType(this,t),t.print(null,"[]"))}visitMapType(e,t){this.printTypes&&(t.print(null,": { [key: string]: "),e.valueType?e.valueType.visitType(this,t):t.print(null,"any"),t.print(null,"}"))}visitTransplantedType(e,t){throw new Error("TransplantedType nodes are not supported")}visitAllExpressions(e,t,o){this.visitAllObjects(c=>c.visitExpression(this,t),e,t,o)}visitAllObjects(e,t,o,c){for(let u=0;u<t.length;u++)u>0&&o.print(null,c,!1),e(t[u])}visitAllStatements(e,t){e.forEach(o=>o.visitStatement(this,t))}visitParams(e,t){this.visitAllObjects(o=>{t.print(null,o.name),o.type?.visitType(this,t)},e,t,", ")}shouldParenthesize(e,t){return(e instanceof Ar||e instanceof Cr)&&t instanceof Jn||e instanceof Hi&&t instanceof Ar}printLeadingComments(e,t){if(this.printComments&&void 0!==e.leadingComments)for(const o of e.leadingComments)o instanceof tt?t.print(e,`/*${o.toString()}*/`,o.trailingNewline):o.multiline?t.print(e,`/* ${o.text} */`,o.trailingNewline):o.text.split("\n").forEach(c=>t.println(e,`// ${c}`))}}function ho(n,e=!0){if(null==n)return null;const t=n.replace(ls,(...c)=>"\n"==c[0]?"\\n":"\r"==c[0]?"\\r":`\\${c[0]}`);return e||!Ao.test(t)?`'${t}'`:t}const ja=/[-.]/,bs=/^[$A-Z_][0-9A-Z_$]*$/i,Ha=/^let\s+([\S\s]*)/;function wo(n,e){if(0===e)return ur(n);const t=[];for(let o=0;o<e;o++)t.push(Y);return ur(n,void 0,t)}function Ta(n,e){const t=ho(e,!1);return t!==e?`${n}[${t}]`:`${n}.${e}`}function Ic(n,e){const t=new br({name:n,moduleName:null}),o=new Bt(lt.Identical,new kt(t),$t("undefined")),c=new Bt(lt.Or,o,t,void 0,void 0);return new Bt(lt.And,c,e)}function so(n){const e=new mn(n);return{value:e,type:e}}function rs(n,e){const t=Fi(n.map(o=>o.value));return e?Di([],t):t}function zs(){return function tr(n,e=!1,t=!0){return new Ze(n,e,t)}("@ts-ignore",!0,!0)}function os(n){return ja.test(n)}function Ks(n,e){return{expression:n,forwardRef:e}}function Bs({expression:n,forwardRef:e}){switch(e){case 0:case 1:return n;case 2:return sa(n)}}function sa(n){return Nn(yt.forwardRef).callFn([Di([],n)])}var Wo;function Gs(n){const e=Xn("__ngFactoryType__");let t=null;const o=Be(n)?e:new Bt(lt.Or,e,n.type.value);let c=null;const u=null!==n.deps&&"invalid"!==n.deps&&n.deps.length>0?[zs()]:void 0;null!==n.deps?"invalid"!==n.deps&&(c=new $i(o,us(n.deps,n.target))):(t=Xn(`\u0275${n.name}_BaseFactory`),c=t.callFn([o]));const v=[];let k=null;function ae(Ve){const it=Xn("__ngConditionalFactory__");v.push(new Ot(it.name,Ki,Y));const Gt=null!==c?it.set(c).toStmt(u):Nn(yt.invalidFactory).callFn([]).toStmt();return v.push(oo(e,[Gt],[it.set(Ve).toStmt([zs()])])),it}if(Be(n)){const Ve=us(n.delegateDeps,n.target);k=ae(new(n.delegateType===Wo.Class?$i:Jn)(n.delegate,Ve))}else k=function ct(n){return void 0!==n.expression}(n)?ae(n.expression):c;if(null===k)v.push(Nn(yt.invalidFactory).callFn([]).toStmt());else if(null!==t){const Ve=Nn(yt.getInheritedFactory).callFn([n.type.value]),it=new Bt(lt.Or,t,t.set(Ve));v.push(new In(it.callFn([o])))}else v.push(new In(k,null,u));let me=Er([new Qi(e.name,Y)],v,fe,void 0,`${n.name}_Factory`);return null!==t&&(me=Di([],[new Ot(t.name,void 0,Y),new In(me)]).callFn([],void 0,!0)),{expression:me,statements:[],type:tc(n)}}function tc(n){const e=null!==n.deps&&"invalid"!==n.deps?function H(n){let e=!1;const t=n.map(o=>{const c=function re(n){const e=[];return null!==n.attributeNameType&&e.push({key:"attribute",value:n.attributeNameType,quoted:!1}),n.optional&&e.push({key:"optional",value:$t(!0),quoted:!1}),n.host&&e.push({key:"host",value:$t(!0),quoted:!1}),n.self&&e.push({key:"self",value:$t(!0),quoted:!1}),n.skipSelf&&e.push({key:"skipSelf",value:$t(!0),quoted:!1}),e.length>0?ir(e):null}(o);return null!==c?(e=!0,c):$t(null)});return e?ur(Fi(t)):_t}(n.deps):_t;return ur(Nn(yt.FactoryDeclaration,[wo(n.type.type,n.typeArgumentCount),e]))}function us(n,e){return n.map((t,o)=>function Dt(n,e,t){if(null===n.token)return Nn(yt.invalidFactoryDep).callFn([$t(t)]);if(null===n.attributeNameType){const o=(n.self?2:0)|(n.skipSelf?4:0)|(n.host?1:0)|(n.optional?8:0)|(e===Le.Pipe?16:0);let c=0!==o||n.optional?$t(o):null;const u=[n.token];c&&u.push(c);const v=function Rt(n){switch(n){case Le.Component:case Le.Directive:case Le.Pipe:return yt.directiveInject;case Le.NgModule:case Le.Injectable:default:return yt.inject}}(e);return Nn(v).callFn(u)}return Nn(yt.injectAttribute).callFn([n.token])}(t,e,o))}function Be(n){return void 0!==n.delegateType}!function(n){n[n.Class=0]="Class",n[n.Function=1]="Function"}(Wo||(Wo={}));class Zt{start;end;constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new Ge(e+this.start,e+this.end)}}class tn{span;sourceSpan;constructor(e,t){this.span=e,this.sourceSpan=t}toString(){return"AST"}}class xn extends tn{nameSpan;constructor(e,t,o){super(e,t),this.nameSpan=o}}let On=class extends tn{visit(e,t=null){return e.visitEmptyExpr?.(this,t)}};class hi extends tn{visit(e,t=null){return e.visitImplicitReceiver(this,t)}}class yi extends tn{visit(e,t=null){return e.visitThisReceiver?.(this,t)}}class cr extends tn{expressions;constructor(e,t,o){super(e,t),this.expressions=o}visit(e,t=null){return e.visitChain(this,t)}}class gt extends tn{condition;trueExp;falseExp;constructor(e,t,o,c,u){super(e,t),this.condition=o,this.trueExp=c,this.falseExp=u}visit(e,t=null){return e.visitConditional(this,t)}}class A extends xn{receiver;name;constructor(e,t,o,c,u){super(e,t,o),this.receiver=c,this.name=u}visit(e,t=null){return e.visitPropertyRead(this,t)}}class Se extends xn{receiver;name;constructor(e,t,o,c,u){super(e,t,o),this.receiver=c,this.name=u}visit(e,t=null){return e.visitSafePropertyRead(this,t)}}class dt extends tn{receiver;key;constructor(e,t,o,c){super(e,t),this.receiver=o,this.key=c}visit(e,t=null){return e.visitKeyedRead(this,t)}}class En extends tn{receiver;key;constructor(e,t,o,c){super(e,t),this.receiver=o,this.key=c}visit(e,t=null){return e.visitSafeKeyedRead(this,t)}}var fi;!function(n){n[n.ReferencedByName=0]="ReferencedByName",n[n.ReferencedDirectly=1]="ReferencedDirectly"}(fi||(fi={}));class fr extends xn{exp;name;args;type;constructor(e,t,o,c,u,v,k){super(e,t,k),this.exp=o,this.name=c,this.args=u,this.type=v}visit(e,t=null){return e.visitPipe(this,t)}}class nr extends tn{value;constructor(e,t,o){super(e,t),this.value=o}visit(e,t=null){return e.visitLiteralPrimitive(this,t)}}class ds extends tn{expressions;constructor(e,t,o){super(e,t),this.expressions=o}visit(e,t=null){return e.visitLiteralArray(this,t)}}class Xs extends tn{expression;constructor(e,t,o){super(e,t),this.expression=o}visit(e,t=null){return e.visitSpreadElement(this,t)}}class Ho extends tn{keys;values;constructor(e,t,o,c){super(e,t),this.keys=o,this.values=c}visit(e,t=null){return e.visitLiteralMap(this,t)}}let Lo=class extends tn{strings;expressions;constructor(e,t,o,c){super(e,t),this.strings=o,this.expressions=c}visit(e,t=null){return e.visitInterpolation(this,t)}};class Bo extends tn{operation;left;right;constructor(e,t,o,c,u){super(e,t),this.operation=o,this.left=c,this.right=u}visit(e,t=null){return e.visitBinary(this,t)}static isAssignmentOperation(e){return"="===e||"+="===e||"-="===e||"*="===e||"/="===e||"%="===e||"**="===e||"&&="===e||"||="===e||"??="===e}}class Fs extends Bo{operator;expr;left=null;right=null;operation=null;static createMinus(e,t,o){return new Fs(e,t,"-",o,"-",new nr(e,t,0),o)}static createPlus(e,t,o){return new Fs(e,t,"+",o,"-",o,new nr(e,t,0))}constructor(e,t,o,c,u,v,k){super(e,t,u,v,k),this.operator=o,this.expr=c}visit(e,t=null){return void 0!==e.visitUnary?e.visitUnary(this,t):e.visitBinary(this,t)}}class Qs extends tn{expression;constructor(e,t,o){super(e,t),this.expression=o}visit(e,t=null){return e.visitPrefixNot(this,t)}}class hn extends tn{expression;constructor(e,t,o){super(e,t),this.expression=o}visit(e,t=null){return e.visitTypeofExpression(this,t)}}class Hn extends tn{expression;constructor(e,t,o){super(e,t),this.expression=o}visit(e,t=null){return e.visitVoidExpression(this,t)}}class Rn extends tn{expression;constructor(e,t,o){super(e,t),this.expression=o}visit(e,t=null){return e.visitNonNullAssert(this,t)}}class bi extends tn{receiver;args;argumentSpan;constructor(e,t,o,c,u){super(e,t),this.receiver=o,this.args=c,this.argumentSpan=u}visit(e,t=null){return e.visitCall(this,t)}}class Zn extends tn{receiver;args;argumentSpan;constructor(e,t,o,c,u){super(e,t),this.receiver=o,this.args=c,this.argumentSpan=u}visit(e,t=null){return e.visitSafeCall(this,t)}}class ci extends tn{tag;template;constructor(e,t,o,c){super(e,t),this.tag=o,this.template=c}visit(e,t){return e.visitTaggedTemplateLiteral(this,t)}}class Pi extends tn{elements;expressions;constructor(e,t,o,c){super(e,t),this.elements=o,this.expressions=c}visit(e,t){return e.visitTemplateLiteral(this,t)}}class ki extends tn{text;constructor(e,t,o){super(e,t),this.text=o}visit(e,t){return e.visitTemplateLiteralElement(this,t)}}class go extends tn{expression;constructor(e,t,o){super(e,t),this.expression=o}visit(e,t){return e.visitParenthesizedExpression(this,t)}}class ya{name;span;sourceSpan;constructor(e,t,o){this.name=e,this.span=t,this.sourceSpan=o}}class qe extends tn{parameters;body;constructor(e,t,o,c){super(e,t),this.parameters=o,this.body=c}visit(e,t){return e.visitArrowFunction(this,t)}}class se extends tn{body;flags;constructor(e,t,o,c){super(e,t),this.body=o,this.flags=c}visit(e,t){return e.visitRegularExpressionLiteral(this,t)}}class Ge{start;end;constructor(e,t){this.start=e,this.end=t}}class At extends tn{ast;source;location;errors;constructor(e,t,o,c,u){super(new Zt(0,null===t?0:t.length),new Ge(c,null===t?c:c+t.length)),this.ast=e,this.source=t,this.location=o,this.errors=u}visit(e,t=null){return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return`${this.source} in ${this.location}`}}class Xt{sourceSpan;key;value;constructor(e,t,o){this.sourceSpan=e,this.key=t,this.value=o}}class gn{sourceSpan;key;value;constructor(e,t,o){this.sourceSpan=e,this.key=t,this.value=o}}class An{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitPrefixNot(e,t){this.visit(e.expression,t)}visitTypeofExpression(e,t){this.visit(e.expression,t)}visitVoidExpression(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitSafeCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitTemplateLiteral(e,t){for(let o=0;o<e.elements.length;o++){this.visit(e.elements[o],t);const c=o<e.expressions.length?e.expressions[o]:null;null!==c&&this.visit(c,t)}}visitTemplateLiteralElement(e,t){}visitTaggedTemplateLiteral(e,t){this.visit(e.tag,t),this.visit(e.template,t)}visitParenthesizedExpression(e,t){this.visit(e.expression,t)}visitArrowFunction(e,t){this.visit(e.body,t)}visitRegularExpressionLiteral(e,t){}visitSpreadElement(e,t){this.visit(e.expression,t)}visitEmptyExpr(e,t){}visitAll(e,t){for(const o of e)this.visit(o,t)}}class Ri{name;expression;type;sourceSpan;keySpan;valueSpan;isLiteral;isLegacyAnimation;isAnimation;constructor(e,t,o,c,u,v){this.name=e,this.expression=t,this.type=o,this.sourceSpan=c,this.keySpan=u,this.valueSpan=v,this.isLiteral=this.type===er.LITERAL_ATTR,this.isLegacyAnimation=this.type===er.LEGACY_ANIMATION,this.isAnimation=this.type===er.ANIMATION}}var er,Zi,ji,Qo;!function(n){n[n.DEFAULT=0]="DEFAULT",n[n.LITERAL_ATTR=1]="LITERAL_ATTR",n[n.LEGACY_ANIMATION=2]="LEGACY_ANIMATION",n[n.TWO_WAY=3]="TWO_WAY",n[n.ANIMATION=4]="ANIMATION"}(er||(er={})),function(n){n[n.Regular=0]="Regular",n[n.LegacyAnimation=1]="LegacyAnimation",n[n.TwoWay=2]="TwoWay",n[n.Animation=3]="Animation"}(Zi||(Zi={}));class Oo{name;targetOrPhase;type;handler;sourceSpan;handlerSpan;keySpan;constructor(e,t,o,c,u,v,k){this.name=e,this.targetOrPhase=t,this.type=o,this.handler=c,this.sourceSpan=u,this.handlerSpan=v,this.keySpan=k}}class ka{name;value;sourceSpan;keySpan;valueSpan;constructor(e,t,o,c,u){this.name=e,this.value=t,this.sourceSpan=o,this.keySpan=c,this.valueSpan=u}}!function(n){n[n.Property=0]="Property",n[n.Attribute=1]="Attribute",n[n.Class=2]="Class",n[n.Style=3]="Style",n[n.LegacyAnimation=4]="LegacyAnimation",n[n.TwoWay=5]="TwoWay",n[n.Animation=6]="Animation"}(ji||(ji={}));class Kc{name;type;securityContext;value;unit;sourceSpan;keySpan;valueSpan;constructor(e,t,o,c,u,v,k,ae){this.name=e,this.type=t,this.securityContext=o,this.value=c,this.unit=u,this.sourceSpan=v,this.keySpan=k,this.valueSpan=ae}}function ko(n,e=!0){if(":"!=n[0])return[null,n];const t=n.indexOf(":",1);if(-1===t){if(e)throw new Error(`Unsupported format "${n}" expecting ":namespace:name"`);return[null,n]}return[n.slice(1,t),n.slice(t+1)]}function Gl(n){return"ng-container"===ko(n)[1]}function qs(n){return"ng-content"===ko(n)[1]}function Ac(n){return null===n?null:ko(n)[0]}function Ts(n,e){return n?`:${n}:${e}`:e}!function(n){n[n.RAW_TEXT=0]="RAW_TEXT",n[n.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",n[n.PARSABLE_DATA=2]="PARSABLE_DATA"}(Qo||(Qo={}));let ba=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e){throw new Error("visit() not implemented for Comment")}},Ys=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e){return e.visitText(this)}};class aa{value;sourceSpan;i18n;constructor(e,t,o){this.value=e,this.sourceSpan=t,this.i18n=o}visit(e){return e.visitBoundText(this)}}class ol{name;value;sourceSpan;keySpan;valueSpan;i18n;constructor(e,t,o,c,u,v){this.name=e,this.value=t,this.sourceSpan=o,this.keySpan=c,this.valueSpan=u,this.i18n=v}visit(e){return e.visitTextAttribute(this)}}class nc{name;type;securityContext;value;unit;sourceSpan;keySpan;valueSpan;i18n;constructor(e,t,o,c,u,v,k,ae,me){this.name=e,this.type=t,this.securityContext=o,this.value=c,this.unit=u,this.sourceSpan=v,this.keySpan=k,this.valueSpan=ae,this.i18n=me}static fromBoundElementProperty(e,t){if(void 0===e.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound attributes but was not for ${e.name}: ${e.sourceSpan}`);return new nc(e.name,e.type,e.securityContext,e.value,e.unit,e.sourceSpan,e.keySpan,e.valueSpan,t)}visit(e){return e.visitBoundAttribute(this)}}class za{name;type;handler;target;phase;sourceSpan;handlerSpan;keySpan;constructor(e,t,o,c,u,v,k,ae){this.name=e,this.type=t,this.handler=o,this.target=c,this.phase=u,this.sourceSpan=v,this.handlerSpan=k,this.keySpan=ae}static fromParsedEvent(e){const t=e.type===Zi.Regular?e.targetOrPhase:null,o=e.type===Zi.LegacyAnimation?e.targetOrPhase:null;if(void 0===e.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound event but was not for ${e.name}: ${e.sourceSpan}`);return new za(e.name,e.type,e.handler,t,o,e.sourceSpan,e.handlerSpan,e.keySpan)}visit(e){return e.visitBoundEvent(this)}}let io=class{name;attributes;inputs;outputs;directives;children;references;isSelfClosing;sourceSpan;startSourceSpan;endSourceSpan;isVoid;i18n;constructor(e,t,o,c,u,v,k,ae,me,Ve,it,Gt,yn){this.name=e,this.attributes=t,this.inputs=o,this.outputs=c,this.directives=u,this.children=v,this.references=k,this.isSelfClosing=ae,this.sourceSpan=me,this.startSourceSpan=Ve,this.endSourceSpan=it,this.isVoid=Gt,this.i18n=yn}visit(e){return e.visitElement(this)}};class Oa{nameSpan;sourceSpan;prefetchSpan;whenOrOnSourceSpan;hydrateSpan;constructor(e,t,o,c,u){this.nameSpan=e,this.sourceSpan=t,this.prefetchSpan=o,this.whenOrOnSourceSpan=c,this.hydrateSpan=u}visit(e){return e.visitDeferredTrigger(this)}}class vc extends Oa{value;constructor(e,t,o,c,u){super(null,t,o,c,u),this.value=e}}class cu extends Oa{}class nd extends Oa{timeout;constructor(e,t,o,c,u,v){super(e,t,o,c,u),this.timeout=v}}class _r extends Oa{}class Xl extends Oa{reference;constructor(e,t,o,c,u,v){super(t,o,c,u,v),this.reference=e}}class Tl extends Oa{delay;constructor(e,t,o,c,u,v){super(t,o,c,u,v),this.delay=e}}class qo extends Oa{reference;constructor(e,t,o,c,u,v){super(t,o,c,u,v),this.reference=e}}class Ea extends Oa{reference;options;constructor(e,t,o,c,u,v,k){super(o,c,u,v,k),this.reference=e,this.options=t}}class ss{nameSpan;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,o,c){this.nameSpan=e,this.sourceSpan=t,this.startSourceSpan=o,this.endSourceSpan=c}}class Nd extends ss{children;minimumTime;i18n;constructor(e,t,o,c,u,v,k){super(o,c,u,v),this.children=e,this.minimumTime=t,this.i18n=k}visit(e){return e.visitDeferredBlockPlaceholder(this)}}class Oc extends ss{children;afterTime;minimumTime;i18n;constructor(e,t,o,c,u,v,k,ae){super(c,u,v,k),this.children=e,this.afterTime=t,this.minimumTime=o,this.i18n=ae}visit(e){return e.visitDeferredBlockLoading(this)}}class yc extends ss{children;i18n;constructor(e,t,o,c,u,v){super(t,o,c,u),this.children=e,this.i18n=v}visit(e){return e.visitDeferredBlockError(this)}}class ic extends ss{name;variables;children;i18n;constructor(e,t,o,c,u,v,k,ae){super(c,u,v,k),this.name=e,this.variables=t,this.children=o,this.i18n=ae}visit(e){return e.visitContentBlock(this)}}class bc extends ss{children;placeholder;loading;error;mainBlockSpan;i18n;triggers;prefetchTriggers;hydrateTriggers;definedTriggers;definedPrefetchTriggers;definedHydrateTriggers;constructor(e,t,o,c,u,v,k,ae,me,Ve,it,Gt,yn){super(ae,me,it,Gt),this.children=e,this.placeholder=u,this.loading=v,this.error=k,this.mainBlockSpan=Ve,this.i18n=yn,this.triggers=t,this.prefetchTriggers=o,this.hydrateTriggers=c,this.definedTriggers=Object.keys(t),this.definedPrefetchTriggers=Object.keys(o),this.definedHydrateTriggers=Object.keys(c)}visit(e){return e.visitDeferredBlock(this)}visitAll(e){this.visitTriggers(this.definedHydrateTriggers,this.hydrateTriggers,e),this.visitTriggers(this.definedTriggers,this.triggers,e),this.visitTriggers(this.definedPrefetchTriggers,this.prefetchTriggers,e),Lr(e,this.children);Lr(e,[this.placeholder,this.loading,this.error].filter(o=>null!==o))}visitTriggers(e,t,o){Lr(o,e.map(c=>t[c]))}}class ks extends ss{expression;groups;unknownBlocks;exhaustiveCheck;constructor(e,t,o,c,u,v,k,ae){super(ae,u,v,k),this.expression=e,this.groups=t,this.unknownBlocks=o,this.exhaustiveCheck=c}visit(e){return e.visitSwitchBlock(this)}}class Gc extends ss{expression;constructor(e,t,o,c,u){super(u,t,o,c),this.expression=e}visit(e){return e.visitSwitchBlockCase(this)}}class le extends ss{cases;children;i18n;constructor(e,t,o,c,u,v,k){super(v,o,c,u),this.cases=e,this.children=t,this.i18n=k}visit(e){return e.visitSwitchBlockCaseGroup(this)}}class z extends ss{expression;constructor(e,t,o,c,u){super(u,t,o,c),this.expression=e}visit(e){return e.visitSwitchExhaustiveCheck(this)}}class ne extends ss{item;expression;trackBy;trackKeywordSpan;contextVariables;children;empty;mainBlockSpan;i18n;constructor(e,t,o,c,u,v,k,ae,me,Ve,it,Gt,yn){super(Gt,ae,Ve,it),this.item=e,this.expression=t,this.trackBy=o,this.trackKeywordSpan=c,this.contextVariables=u,this.children=v,this.empty=k,this.mainBlockSpan=me,this.i18n=yn}visit(e){return e.visitForLoopBlock(this)}}class Ne extends ss{children;i18n;constructor(e,t,o,c,u,v){super(u,t,o,c),this.children=e,this.i18n=v}visit(e){return e.visitForLoopBlockEmpty(this)}}class Ye extends ss{branches;constructor(e,t,o,c,u){super(u,t,o,c),this.branches=e}visit(e){return e.visitIfBlock(this)}}class Nt extends ss{expression;children;expressionAlias;i18n;constructor(e,t,o,c,u,v,k,ae){super(k,c,u,v),this.expression=e,this.children=t,this.expressionAlias=o,this.i18n=ae}visit(e){return e.visitIfBlockBranch(this)}}class en{name;sourceSpan;nameSpan;constructor(e,t,o){this.name=e,this.sourceSpan=t,this.nameSpan=o}visit(e){return e.visitUnknownBlock(this)}}let Wt=class{name;value;sourceSpan;nameSpan;valueSpan;constructor(e,t,o,c,u){this.name=e,this.value=t,this.sourceSpan=o,this.nameSpan=c,this.valueSpan=u}visit(e){return e.visitLetDeclaration(this)}},Vn=class{componentName;tagName;fullName;attributes;inputs;outputs;directives;children;references;isSelfClosing;sourceSpan;startSourceSpan;endSourceSpan;i18n;constructor(e,t,o,c,u,v,k,ae,me,Ve,it,Gt,yn,Un){this.componentName=e,this.tagName=t,this.fullName=o,this.attributes=c,this.inputs=u,this.outputs=v,this.directives=k,this.children=ae,this.references=me,this.isSelfClosing=Ve,this.sourceSpan=it,this.startSourceSpan=Gt,this.endSourceSpan=yn,this.i18n=Un}visit(e){return e.visitComponent(this)}},si=class{name;attributes;inputs;outputs;references;sourceSpan;startSourceSpan;endSourceSpan;i18n;constructor(e,t,o,c,u,v,k,ae,me){this.name=e,this.attributes=t,this.inputs=o,this.outputs=c,this.references=u,this.sourceSpan=v,this.startSourceSpan=k,this.endSourceSpan=ae,this.i18n=me}visit(e){return e.visitDirective(this)}};class Ci{tagName;attributes;inputs;outputs;directives;templateAttrs;children;references;variables;isSelfClosing;sourceSpan;startSourceSpan;endSourceSpan;i18n;constructor(e,t,o,c,u,v,k,ae,me,Ve,it,Gt,yn,Un){this.tagName=e,this.attributes=t,this.inputs=o,this.outputs=c,this.directives=u,this.templateAttrs=v,this.children=k,this.references=ae,this.variables=me,this.isSelfClosing=Ve,this.sourceSpan=it,this.startSourceSpan=Gt,this.endSourceSpan=yn,this.i18n=Un}visit(e){return e.visitTemplate(this)}}class Sr{selector;attributes;children;isSelfClosing;sourceSpan;startSourceSpan;endSourceSpan;i18n;name="ng-content";constructor(e,t,o,c,u,v,k,ae){this.selector=e,this.attributes=t,this.children=o,this.isSelfClosing=c,this.sourceSpan=u,this.startSourceSpan=v,this.endSourceSpan=k,this.i18n=ae}visit(e){return e.visitContent(this)}}class mt{name;value;sourceSpan;keySpan;valueSpan;constructor(e,t,o,c,u){this.name=e,this.value=t,this.sourceSpan=o,this.keySpan=c,this.valueSpan=u}visit(e){return e.visitVariable(this)}}class ca{name;value;sourceSpan;keySpan;valueSpan;constructor(e,t,o,c,u){this.name=e,this.value=t,this.sourceSpan=o,this.keySpan=c,this.valueSpan=u}visit(e){return e.visitReference(this)}}let Ia=class{vars;placeholders;sourceSpan;i18n;constructor(e,t,o,c){this.vars=e,this.placeholders=t,this.sourceSpan=o,this.i18n=c}visit(e){return e.visitIcu(this)}};class Gr{tagNames;bindings;listeners;sourceSpan;constructor(e,t,o,c){if(this.tagNames=e,this.bindings=t,this.listeners=o,this.sourceSpan=c,0===e.length)throw new Error("HostElement must have at least one tag name.")}visit(){throw new Error("HostElement cannot be visited")}}function Lr(n,e){const t=[];if(n.visit)for(const o of e)n.visit(o);else for(const o of e){const c=o.visit(n);c&&t.push(c)}return t}class Zs{nodes;placeholders;placeholderToMessage;meaning;description;customId;sources;id;legacyIds=[];messageString;constructor(e,t,o,c,u,v){this.nodes=e,this.placeholders=t,this.placeholderToMessage=o,this.meaning=c,this.description=u,this.customId=v,this.id=this.customId,this.messageString=function Og(n){const e=new Oh;return n.map(o=>o.visit(e)).join("")}(this.nodes),e.length?this.sources=[{filePath:e[0].sourceSpan.start.file.url,startLine:e[0].sourceSpan.start.line+1,startCol:e[0].sourceSpan.start.col+1,endLine:e[e.length-1].sourceSpan.end.line+1,endCol:e[0].sourceSpan.start.col+1}]:this.sources=[]}}let Pa=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitText(this,t)}};class ws{children;sourceSpan;constructor(e,t){this.children=e,this.sourceSpan=t}visit(e,t){return e.visitContainer(this,t)}}class Au{expression;type;cases;sourceSpan;expressionPlaceholder;constructor(e,t,o,c,u){this.expression=e,this.type=t,this.cases=o,this.sourceSpan=c,this.expressionPlaceholder=u}visit(e,t){return e.visitIcu(this,t)}}class Ec{tag;attrs;startName;closeName;children;isVoid;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,o,c,u,v,k,ae,me){this.tag=e,this.attrs=t,this.startName=o,this.closeName=c,this.children=u,this.isVoid=v,this.sourceSpan=k,this.startSourceSpan=ae,this.endSourceSpan=me}visit(e,t){return e.visitTagPlaceholder(this,t)}}class Xc{value;name;sourceSpan;constructor(e,t,o){this.value=e,this.name=t,this.sourceSpan=o}visit(e,t){return e.visitPlaceholder(this,t)}}class kl{value;name;sourceSpan;previousMessage;constructor(e,t,o){this.value=e,this.name=t,this.sourceSpan=o}visit(e,t){return e.visitIcuPlaceholder(this,t)}}class Qc{name;parameters;startName;closeName;children;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,o,c,u,v,k,ae){this.name=e,this.parameters=t,this.startName=o,this.closeName=c,this.children=u,this.sourceSpan=v,this.startSourceSpan=k,this.endSourceSpan=ae}visit(e,t){return e.visitBlockPlaceholder(this,t)}}class Oh{visitText(e){return e.value}visitContainer(e){return e.children.map(t=>t.visit(this)).join("")}visitIcu(e){const t=Object.keys(e.cases).map(o=>`${o} {${e.cases[o].visit(this)}}`);return`{${e.expressionPlaceholder}, ${e.type}, ${t.join(" ")}}`}visitTagPlaceholder(e){const t=e.children.map(o=>o.visit(this)).join("");return`{$${e.startName}}${t}{$${e.closeName}}`}visitPlaceholder(e){return`{$${e.name}}`}visitIcuPlaceholder(e){return`{$${e.name}}`}visitBlockPlaceholder(e){const t=e.children.map(o=>o.visit(this)).join("");return`{$${e.startName}}${t}{$${e.closeName}}`}}new class{visitTag(e){const t=this._serializeAttributes(e.attrs);if(0==e.children.length)return`<${e.name}${t}/>`;const o=e.children.map(c=>c.visit(this));return`<${e.name}${t}>${o.join("")}</${e.name}>`}visitText(e){return e.value}visitDeclaration(e){return`<?xml${this._serializeAttributes(e.attrs)} ?>`}_serializeAttributes(e){const t=Object.keys(e).map(o=>`${o}="${e[o]}"`).join(" ");return t.length>0?" "+t:""}visitDoctype(e){return`<!DOCTYPE ${e.rootTag} [\n${e.dtd}\n]>`}};function Ql(n){return n.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}const Mp="i18n-";function Ra(n){return"i18n"===n||n.startsWith(Mp)}function Js(n){return n.nodes[0]}function Na(n={},e){const t={};return n&&Object.keys(n).length&&Object.keys(n).forEach(o=>t[Ru(o,e)]=n[o]),t}function Ru(n,e=!0){const t=Ql(n);if(!e)return t;const o=t.split("_");if(1===o.length)return n.toLowerCase();let c;/^\d+$/.test(o[o.length-1])&&(c=o.pop());let u=o.shift().toLowerCase();return o.length&&(u+=o.map(v=>v.charAt(0).toUpperCase()+v.slice(1).toLowerCase()).join("")),c?`${u}_${c}`:u}const la="ctx",Al="rf";function ua(n,e){let t=null;return()=>(t||(n(new Ot("_t",void 0,Y)),t=Xn(e)),t)}function da(n){return Array.isArray(n)?Fi(n.map(da)):$t(n,fe)}function Ld(n,e){const t=Object.getOwnPropertyNames(n);return 0===t.length?null:ir(t.map(o=>{const c=n[o];let u,v,k,ae;if("string"==typeof c)u=o,k=o,v=c,ae=da(v);else{k=o,u=c.classPropertyName,v=c.bindingPropertyName;const me=v!==u,Ve=null!==c.transformFunction;let it=E.None;if(c.isSignal&&(it|=E.SignalBased),Ve&&(it|=E.HasDecoratorInputTransform),e&&(me||Ve||it!==E.None)){const Gt=[$t(it),da(v)];(me||Ve)&&(Gt.push(da(u)),Ve&&Gt.push(c.transformFunction)),ae=Fi(Gt)}else ae=da(v)}return{key:k,quoted:os(k),value:ae}}))}class zo{values=[];set(e,t){if(t){const o=this.values.find(c=>c.key===e);o?o.value=t:this.values.push({key:e,value:t,quoted:!1})}}toLiteralMap(){return ir(this.values)}}function Pg(n){const e=n instanceof io?n.name:"ng-template",t=function Je(n){const e={};return n instanceof Ci&&"ng-template"!==n.tagName?n.templateAttrs.forEach(t=>e[t.name]=""):(n.attributes.forEach(t=>{Ra(t.name)||(e[t.name]=t.value)}),n.inputs.forEach(t=>{(t.type===ji.Property||t.type===ji.TwoWay)&&(e[t.name]="")}),n.outputs.forEach(t=>{e[t.name]=""})),e}(n),o=new s,c=ko(e)[1];return o.setElement(c),Object.getOwnPropertyNames(t).forEach(u=>{const v=ko(u)[1],k=t[u];o.addAttribute(v,k),"class"===u.toLowerCase()&&k.trim().split(/\s+/).forEach(me=>o.addClassName(me))}),o}function ge(n,e){let t=null;const o={name:n.name,type:n.type,typeArgumentCount:n.typeArgumentCount,deps:[],target:Le.Injectable};if(void 0!==n.useClass){const k=n.useClass.expression.isEquivalent(n.type.value);let ae;void 0!==n.deps&&(ae=n.deps),t=void 0!==ae?Gs({...o,delegate:n.useClass.expression,delegateDeps:ae,delegateType:Wo.Class}):k?Gs(o):{statements:[],expression:Ft(n.type.value,n.useClass.expression,e)}}else t=void 0!==n.useFactory?void 0!==n.deps?Gs({...o,delegate:n.useFactory,delegateDeps:n.deps||[],delegateType:Wo.Function}):{statements:[],expression:Di([],n.useFactory.callFn([]))}:void 0!==n.useValue?Gs({...o,expression:n.useValue.expression}):void 0!==n.useExisting?Gs({...o,expression:Nn(yt.inject).callFn([n.useExisting.expression])}):{statements:[],expression:Ft(n.type.value,n.type.value,e)};const c=n.type.value,u=new zo;return u.set("token",c),u.set("factory",t.expression),null!==n.providedIn.expression.value&&u.set("providedIn",Bs(n.providedIn)),{expression:Nn(yt.\u0275\u0275defineInjectable).callFn([u.toLiteralMap()],void 0,!0),type:Xe(n.type.type,n.typeArgumentCount),statements:t.statements}}function Xe(n,e){return new bn(Nn(yt.InjectableDeclaration,[wo(n,e)]))}function Ft(n,e,t){if(n.node===e.node)return e.prop("\u0275fac");if(!t)return dn(e);return dn(Nn(yt.resolveForwardRef).callFn([e]))}function dn(n){const e=new Qi("__ngFactoryType__",Y);return Di([e],n.prop("\u0275fac").callFn([Xn(e.name)]))}const Fn=!1,Cn=123,gi=125;function Sc(n){return n>=9&&n<=32||160==n}function Yc(n){return 48<=n&&n<=57}function _u(n){return n>=97&&n<=122||n>=65&&n<=90}function sd(n){return 10===n||13===n}function Yl(n){return 48<=n&&n<=55}function ad(n){return 39===n||34===n||96===n}class Us{file;offset;line;col;constructor(e,t,o,c){this.file=e,this.offset=t,this.line=o,this.col=c}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){const t=this.file.content,o=t.length;let c=this.offset,u=this.line,v=this.col;for(;c>0&&e<0;)if(c--,e++,10==t.charCodeAt(c)){u--;const ae=t.substring(0,c-1).lastIndexOf(String.fromCharCode(10));v=ae>0?c-ae:c}else v--;for(;c<o&&e>0;){const k=t.charCodeAt(c);c++,e--,10==k?(u++,v=0):v++}return new Us(this.file,c,u,v)}getContext(e,t){const o=this.file.content;let c=this.offset;if(null!=c){c>o.length-1&&(c=o.length-1);let u=c,v=0,k=0;for(;v<e&&c>0&&(c--,v++,"\n"!=o[c]||++k!=t););for(v=0,k=0;v<e&&u<o.length-1&&(u++,v++,"\n"!=o[u]||++k!=t););return{before:o.substring(c,this.offset),after:o.substring(this.offset,u+1)}}return null}}class Wh{content;url;constructor(e,t){this.content=e,this.url=t}}class mr{start;end;fullStart;details;constructor(e,t,o=e,c=null){this.start=e,this.end=t,this.fullStart=o,this.details=c}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}var Pc;!function(n){n[n.WARNING=0]="WARNING",n[n.ERROR=1]="ERROR"}(Pc||(Pc={}));class Vi extends Error{span;msg;level;relatedError;constructor(e,t,o=Pc.ERROR,c){super(t),this.span=e,this.msg=t,this.level=o,this.relatedError=c,Object.setPrototypeOf(this,new.target.prototype)}contextualMessage(){const e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${Pc[this.level]} ->]${e.after}")`:this.msg}toString(){const e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}}let Ob=0;function cd(n){return n.replace(/\W/g,"_")}const Ng='(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';class Jf extends ys{constructor(){super(!1,!1)}visitWrappedNodeExpr(e,t){throw new Error("Cannot emit a WrappedNodeExpr in Javascript.")}visitDeclareVarStmt(e,t){t.print(e,`var ${e.name}`),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";")}visitTaggedTemplateLiteralExpr(e,t){const o=e.template.elements;e.tag.visitExpression(this,t),t.print(e,`(${Ng}(`),t.print(e,`[${o.map(c=>ho(c.text)).join(", ")}], `),t.print(e,`[${o.map(c=>ho(c.rawText)).join(", ")}])`),e.template.expressions.forEach(c=>{t.print(e,", "),c.visitExpression(this,t)}),t.print(e,")")}visitTemplateLiteralExpr(e,t){t.print(e,"`");for(let o=0;o<e.elements.length;o++){e.elements[o].visitExpression(this,t);const c=o<e.expressions.length?e.expressions[o]:null;null!==c&&(t.print(c,"${"),c.visitExpression(this,t),t.print(c,"}"))}t.print(e,"`")}visitTemplateLiteralElementExpr(e,t){t.print(e,e.rawText)}visitLocalizedString(e,t){t.print(e,`$localize(${Ng}(`);const o=[e.serializeI18nHead()];for(let c=1;c<e.messageParts.length;c++)o.push(e.serializeI18nTemplatePart(c));t.print(e,`[${o.map(c=>ho(c.cooked)).join(", ")}], `),t.print(e,`[${o.map(c=>ho(c.raw)).join(", ")}])`),e.expressions.forEach(c=>{t.print(e,", "),c.visitExpression(this,t)}),t.print(e,")")}}let Op;function Pl(n){return function Rc(){if(void 0===Op){const n=Ro.trustedTypes;if(Op=null,n)try{Op=n.createPolicy("angular#unsafe-jit",{createScript:e=>e})}catch{}}return Op}()?.createScript(n)||n}function Lg(...n){if(!Ro.trustedTypes)return new Function(...n);const o=`(function anonymous(${n.slice(0,-1).join(",")}\n) { ${n[n.length-1]}\n})`,c=Ro.eval(Pl(o));return void 0===c.bind?new Function(...n):(c.toString=()=>o,c.bind(Ro))}class Pb{evaluateStatements(e,t,o,c){const u=new em(o),v=Ns.createRoot();return t.length>0&&!function Pp(n){return n.isEquivalent($t("use strict").toStmt())}(t[0])&&(t=[$t("use strict").toStmt(),...t]),u.visitAllStatements(t,v),u.createReturnStmt(v),this.evaluateCode(e,v,u.getArgs(),c)}evaluateCode(e,t,o,c){let u=`"use strict";${t.toSource()}\n//# sourceURL=${e}`;const v=[],k=[];for(const me in o)k.push(o[me]),v.push(me);if(c){const me=Lg(...v.concat("return null;")).toString(),Ve=me.slice(0,me.indexOf("return null;")).split("\n").length-1;u+=`\n${t.toSourceMapGenerator(e,Ve).toJsComment()}`}const ae=Lg(...v.concat(u));return this.executeFunction(ae,k)}executeFunction(e,t){return e(...t)}}class em extends Jf{refResolver;_evalArgNames=[];_evalArgValues=[];_evalExportedVars=[];constructor(e){super(),this.refResolver=e}createReturnStmt(e){new In(new Hi(this._evalExportedVars.map(o=>new mi(o,Xn(o),!1)))).visitStatement(this,e)}getArgs(){const e={};for(let t=0;t<this._evalArgNames.length;t++)e[this._evalArgNames[t]]=this._evalArgValues[t];return e}visitExternalExpr(e,t){return this._emitReferenceToExternal(e,this.refResolver.resolveExternalReference(e.value),t),null}visitWrappedNodeExpr(e,t){return this._emitReferenceToExternal(e,e.node,t),null}visitDeclareVarStmt(e,t){return e.hasModifier(Gi.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareVarStmt(e,t)}visitDeclareFunctionStmt(e,t){return e.hasModifier(Gi.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareFunctionStmt(e,t)}_emitReferenceToExternal(e,t,o){let c=this._evalArgValues.indexOf(t);if(-1===c){c=this._evalArgValues.length,this._evalArgValues.push(t);const u=function Rg(n){if(!n||!n.reference)return null;const e=n.reference;if(e.__anonymousType)return e.__anonymousType;if(e.__forward_ref__)return"__forward_ref__";let t=Do(e);return t.indexOf("(")>=0?(t="anonymous_"+Ob++,e.__anonymousType=t):t=cd(t),t}({reference:t})||"val";this._evalArgNames.push(`jit_${u}_${c}`)}o.print(e,this._evalArgNames[c])}}function tm(n){const e=new zo;null!==n.providers&&e.set("providers",n.providers),n.imports.length>0&&e.set("imports",Fi(n.imports));return{expression:Nn(yt.defineInjector).callFn([e.toLiteralMap()],void 0,!0),type:gv(n),statements:[]}}function gv(n){return new bn(Nn(yt.InjectorDeclaration,[new bn(n.type.type)]))}class Vh{context;constructor(e){this.context=e}resolveExternalReference(e){if("@angular/core"!==e.moduleName)throw new Error(`Cannot resolve external reference to ${e.moduleName}, only references to @angular/core are supported.`);if(!this.context.hasOwnProperty(e.name))throw new Error(`No value provided for @angular/core symbol '${e.name}'.`);return this.context[e.name]}}var Wd,xa,Zc;function ld(n){const e=[],t=new zo;if(t.set("type",n.type.value),n.kind===xa.Global&&n.bootstrap.length>0&&t.set("bootstrap",rs(n.bootstrap,n.containsForwardDecls)),n.selectorScopeMode===Wd.Inline)n.declarations.length>0&&t.set("declarations",rs(n.declarations,n.containsForwardDecls)),n.imports.length>0&&t.set("imports",rs(n.imports,n.containsForwardDecls)),n.exports.length>0&&t.set("exports",rs(n.exports,n.containsForwardDecls));else if(n.selectorScopeMode===Wd.SideEffect){const u=function _v(n){const e=new zo;if(n.kind===xa.Global?n.declarations.length>0&&e.set("declarations",rs(n.declarations,n.containsForwardDecls)):n.kind===xa.Local&&n.declarationsExpression&&e.set("declarations",n.declarationsExpression),n.kind===xa.Global?n.imports.length>0&&e.set("imports",rs(n.imports,n.containsForwardDecls)):n.kind===xa.Local&&n.importsExpression&&e.set("imports",n.importsExpression),n.kind===xa.Global?n.exports.length>0&&e.set("exports",rs(n.exports,n.containsForwardDecls)):n.kind===xa.Local&&n.exportsExpression&&e.set("exports",n.exportsExpression),n.kind===xa.Local&&n.bootstrapExpression&&e.set("bootstrap",n.bootstrapExpression),0===Object.keys(e.values).length)return null;const t=new Jn(Nn(yt.setNgModuleScope),[n.type.value,e.toLiteralMap()]),o=function Es(n){return Ic("ngJitMode",n)}(t),c=new Cr([],[o.toStmt()]);return new Jn(c,[]).toStmt()}(n);null!==u&&e.push(u)}null!==n.schemas&&n.schemas.length>0&&t.set("schemas",Fi(n.schemas.map(u=>u.value))),null!==n.id&&(t.set("id",n.id),e.push(Nn(yt.registerNgModuleType).callFn([n.type.value,n.id]).toStmt()));return{expression:Nn(yt.defineNgModule).callFn([t.toLiteralMap()],void 0,!0),type:nm(n),statements:e}}function nm(n){if(n.kind===xa.Local)return new bn(n.type.value);if(n.kind===xa.Isolated)return new bn(Nn(yt.NgModuleDeclaration,[new bn(n.type.type),_t,n.importsExpression?ur(n.importsExpression):_t,n.exportsExpression?ur(n.exportsExpression):_t]));const{type:e,declarations:t,exports:o,imports:c,includeImportTypes:u,publicDeclarationTypes:v}=n;return new bn(Nn(yt.NgModuleDeclaration,[new bn(e.type),null===v?Rp(t):Nb(v),u?Rp(c):_t,Rp(o)]))}function Rp(n){const e=n.map(t=>Pr(t.type));return n.length>0?ur(Fi(e)):_t}function Nb(n){const e=n.map(t=>Pr(t));return n.length>0?ur(Fi(e)):_t}function im(n){const e=[];e.push({key:"name",value:$t(n.pipeName??n.name),quoted:!1}),e.push({key:"type",value:n.type.value,quoted:!1}),e.push({key:"pure",value:$t(n.pure),quoted:!1}),!1===n.isStandalone&&e.push({key:"standalone",value:$t(!1),quoted:!1});return{expression:Nn(yt.definePipe).callFn([ir(e)],void 0,!0),type:rm(n),statements:[]}}function rm(n){return new bn(Nn(yt.PipeDeclaration,[wo(n.type.type,n.typeArgumentCount),new bn(new ui(n.pipeName)),new bn(new ui(n.isStandalone))]))}!function(n){n[n.Inline=0]="Inline",n[n.SideEffect=1]="SideEffect",n[n.Omit=2]="Omit"}(Wd||(Wd={})),function(n){n[n.Global=0]="Global",n[n.Local=1]="Local",n[n.Isolated=2]="Isolated"}(xa||(xa={})),function(n){n[n.Directive=0]="Directive",n[n.Pipe=1]="Pipe",n[n.NgModule=2]="NgModule"}(Zc||(Zc={}));const Lb=new Set(["inherit","initial","revert","unset","alternate","alternate-reverse","normal","reverse","backwards","both","forwards","none","paused","running","ease","ease-in","ease-in-out","ease-out","linear","step-start","step-end","end","jump-both","jump-end","jump-none","jump-start","start"]),vv=["@media","@supports","@document","@layer","@container","@scope","@starting-style"];class $h{shimCssText(e,t,o=""){const c=[];e=e.replace(jg,k=>{if(k.match(wv))c.push(k);else{const ae=k.match(Bb);c.push(ae?.join("")??"")}return Qa});const u=this._scopeCssText(e,t,o);let v=0;return u.replace(Sv,()=>c[v++])}_scopeKeyframesRelatedCss(e,t){const o=new Set,c=yu(e,u=>this._scopeLocalKeyframeDeclarations(u,t,o));return yu(c,u=>this._scopeAnimationRule(u,t,o))}_scopeLocalKeyframeDeclarations(e,t,o){return{...e,selector:e.selector.replace(/(^@(?:-webkit-)?keyframes(?:\s+))(['"]?)(.+)\2(\s*)$/,(c,u,v,k,ae)=>(o.add(Cv(k,v)),`${u}${v}${t}_${k}${v}${ae}`))}}_scopeAnimationKeyframe(e,t,o){return e.replace(/^(\s*)(['"]?)(.+?)\2(\s*)$/,(c,u,v,k,ae)=>`${u}${v}${k=`${o.has(Cv(k,v))?t+"_":""}${k}`}${v}${ae}`)}_animationDeclarationKeyframesRe=/(^|\s+|,)(?:(?:(['"])((?:\\\\|\\\2|(?!\2).)+)\2)|(-?[A-Za-z][\w\-]*))(?=[,\s]|$)/g;_scopeAnimationRule(e,t,o){let c=e.content.replace(/((?:^|\s+|;)(?:-webkit-)?animation\s*:\s*)([^;]+)/g,(u,v,k)=>v+k.replace(this._animationDeclarationKeyframesRe,(ae,me,Ve="",it,Gt)=>it?`${me}${this._scopeAnimationKeyframe(`${Ve}${it}${Ve}`,t,o)}`:Lb.has(Gt)?ae:`${me}${this._scopeAnimationKeyframe(Gt,t,o)}`));return c=c.replace(/((?:^|\s+|;)(?:-webkit-)?animation-name(?:\s*):(?:\s*))([^;]+)/g,(u,v,k)=>`${v}${k.split(",").map(ae=>this._scopeAnimationKeyframe(ae,t,o)).join(",")}`),{...e,content:c}}_scopeCssText(e,t,o){return e=this._insertPolyfillHostInCssText(e),e=this._convertColonHost(e),e=this._convertColonHostContext(e),t&&(e=this._scopeKeyframesRelatedCss(e,t),e=this._scopeSelectors(e,t,o)),e.trim()}_convertColonHost(e){return e.replace(Ev,(t,o,c)=>{if(o){const u=[...this._splitOnTopLevelCommas(o,!0)];if(u.length>1)return":host("+o+")"+c;const v=u[0].trim();if(v)return Zl+v.replace(dl,"")+c}return Zl+c})}*_splitOnTopLevelCommas(e,t){const o=e.length;let c=0,u=0;for(let v=0;v<o;v++){const k=e.charCodeAt(v);if(40===k)c++;else if(41===k){if(c--,c<0&&t)return void(yield e.slice(u,v))}else 44===k&&0===c&&(yield e.slice(u,v),u=v+1)}yield e.slice(u)}_convertColonHostContext(e){const t=[];for(const o of this._splitOnTopLevelCommas(e,!1))t.push(this._convertColonHostContextInSelectorPart(o));return t.join(",")}_convertColonHostContextInSelectorPart(e){return e.replace(Wg,(t,o)=>{const c=[[]];let u=t.indexOf(Nc);for(;-1!==u;){const v=t.substring(u+Nc.length);if(!v||"("!==v[0]){u=(t=v).indexOf(Nc);continue}const k=[];let ae=0;for(const Ve of this._splitOnTopLevelCommas(v.substring(1),!0)){ae=ae+Ve.length+1;const it=Ve.trim();it&&k.push(it)}const me=c.length;$d(c,k.length);for(let Ve=0;Ve<k.length;Ve++)for(let it=0;it<me;it++)c[it+Ve*me].push(k[Ve]);u=(t=v.substring(ae+1)).indexOf(Nc)}return c.map(v=>function Lp(n,e,t=""){const o=Zl;La.lastIndex=0;const c=La.test(e);if(0===n.length)return o+e;const u=[n.pop()||""];for(;n.length>0;){const v=u.length,k=n.pop();for(let ae=0;ae<v;ae++){const me=u[ae];u[2*v+ae]=me+" "+k,u[v+ae]=k+" "+me,u[ae]=k+me}}return u.map(v=>c?`${t}${v}${e}`:`${t}${v}${o}${e}, ${t}${v} ${o}${e}`).join(",")}(v,t,o)).join(", ")})}_scopeSelectors(e,t,o){return yu(e,c=>{let u=c.selector,v=c.content;return"@"!==c.selector[0]?u=this._scopeSelector({selector:u,scopeSelector:t,hostSelector:o,isParentSelector:!0}):vv.some(k=>c.selector.startsWith(k))?v=this._scopeSelectors(c.content,t,o):(c.selector.startsWith("@font-face")||c.selector.startsWith("@page"))&&(v=this._stripScopingSelectors(c.content)),new jh(u,v)})}_stripScopingSelectors(e){return yu(e,t=>{const o=t.selector.replace(Vd," ").replace(dd," ");return new jh(o,t.content)})}_safeSelector;_shouldScopeIndicator;_scopeSelector({selector:e,scopeSelector:t,hostSelector:o,isParentSelector:c=!1}){return e.split(/ ?,(?!(?:[^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\))) ?/).map(v=>v.split(Vd)).map(v=>{const[k,...ae]=v;return[(Ve=>this._selectorNeedsScoping(Ve,t)?this._applySelectorScope({selector:Ve,scopeSelector:t,hostSelector:o,isParentSelector:c}):Ve)(k),...ae].join(" ")}).join(", ")}_selectorNeedsScoping(e,t){return!this._makeScopeMatcher(t).test(e)}_makeScopeMatcher(e){return e=e.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+e+")"+Br,"m")}_applySimpleSelectorScope(e,t,o){if(La.lastIndex=0,La.test(e)){const c=`[${o}]`;let u=e;for(;u.match(dd);)u=u.replace(dd,(v,k)=>k.replace(/([^:\)]*)(:*)(.*)/,(ae,me,Ve,it)=>me+c+Ve+it));return u.replace(La,c)}return t+" "+e}_applySelectorScope({selector:e,scopeSelector:t,hostSelector:o,isParentSelector:c}){const v=`[${t=t.replace(/\[is=([^\]]*)\]/g,(ai,..._i)=>_i[0])}]`,k=ai=>{let _i=ai.trim();if(!_i)return ai;if(ai.includes(Zl)){if(_i=this._applySimpleSelectorScope(ai,t,o),!ai.match(Vg)){const[Wi,Wr,Go,As]=_i.match(/([^:]*)(:*)([\s\S]*)/);_i=Wr+v+Go+As}}else{const Wi=ai.replace(La,"");if(Wi.length>0){const Wr=Wi.match(/([^:]*)(:*)([\s\S]*)/);Wr&&(_i=Wr[1]+v+Wr[2]+Wr[3])}}return _i},ae=ai=>{let _i="";const Wi=[];let Wr;for(;null!==(Wr=vu.exec(ai));){let Go=1,As=vu.lastIndex;for(;As<ai.length;){const Ep=ai[As];if(As++,"("!==Ep){if(")"!==Ep);else if(Go--,0===Go)break}else Go++}Wi.push(`${Wr[0]}${ai.slice(vu.lastIndex,As)}`),vu.lastIndex=As}return Wi.join("")===ai?_i=Wi.map(Go=>{const[As]=Go.match(vu)??[],Ep=Go.slice(As?.length,-1);Ep.includes(Zl)&&(this._shouldScopeIndicator=!0);return`${As}${this._scopeSelector({selector:Ep,scopeSelector:t,hostSelector:o})})`}).join(""):(this._shouldScopeIndicator=this._shouldScopeIndicator||ai.includes(Zl),_i=this._shouldScopeIndicator?k(ai):ai),_i};c&&(this._safeSelector=new yv(e),e=this._safeSelector.content());let it,me="",Ve=0;const Gt=/( |>|\+|~(?!=))(?!([^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\)))\s*/g,yn=e.includes(Zl);for((c||this._shouldScopeIndicator)&&(this._shouldScopeIndicator=!yn);null!==(it=Gt.exec(e));){const ai=it[1],_i=e.slice(Ve,it.index);if(_i.match(/__esc-ph-(\d+)__/)&&e[it.index+1]?.match(/[a-fA-F\d]/))continue;me+=`${ae(_i)} ${ai} `,Ve=Gt.lastIndex}return me+=ae(e.substring(Ve)),this._safeSelector.restore(me)}_insertPolyfillHostInCssText(e){return e.replace(pd,Nc).replace($g,dl)}}class yv{placeholders=[];index=0;_content;constructor(e){e=(e=this._escapeRegexMatches(e,/(\[[^\]]*\])/g)).replace(/(\\.)/g,(t,o)=>{const c=`__esc-ph-${this.index}__`;return this.placeholders.push(o),this.index++,c}),this._content=e.replace(bv,(t,o,c)=>{const u=`__ph-${this.index}__`;return this.placeholders.push(`(${c})`),this.index++,o+u})}restore(e){return e.replace(/__(?:ph|esc-ph)-(\d+)__/g,(t,o)=>this.placeholders[+o])}content(){return this._content}_escapeRegexMatches(e,t){return e.replace(t,(o,c)=>{const u=`__ph-${this.index}__`;return this.placeholders.push(c),this.index++,u})}}const vu=/:(where|is)\(/gi,dl="-shadowcsshost",Nc="-shadowcsscontext",Bg="[^)(]*",Fg=String.raw`(?:\(${Bg}\)|${Bg})+?`,Tw=String.raw`(?:\(${Fg}\)|${Bg})+?`,Ug=String.raw`(?:\((${Tw})\))`,bv=new RegExp(String.raw`(:nth-[-\w]+)`+Ug,"g"),Ev=new RegExp(dl+Ug+"?([^,{]*)","gim"),Wg=new RegExp(`(:(where|is)\\()?(${Nc+Ug+"([^{]*)"})`,"gim"),Zl=dl+"-no-combinator",Vg=new RegExp(`${Zl}(?![^(]*\\))`,"g"),dd=/-shadowcsshost-no-combinator([^\s,]*)/,Vd=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,Br="([>\\s~+[.,{:][\\s\\S]*)?$",La=/-shadowcsshost/gim,$g=/:host(?!\-context)/gim,pd=/:host-context(?=\(\s*[^)\s])/gim,Bb=/\r?\n/g,jg=/\/\*[\s\S]*?\*\//g,wv=/\/\*\s*#\s*source(Mapping)?URL=/g,Qa="%COMMENT%",Sv=new RegExp(Qa,"g"),Hg="%BLOCK%",xv=new RegExp(`(\\s*(?:${Qa}\\s*)*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))`,"g"),Fb=new Map([["{","}"]]),Vo="%COMMA_IN_PLACEHOLDER%",Np="%SEMI_IN_PLACEHOLDER%",sm="%COLON_IN_PLACEHOLDER%",zg=new RegExp(Vo,"g"),Uu=new RegExp(Np,"g"),Lc=new RegExp(sm,"g"),Kg=/(var\(\s*)?(--(?:[a-zA-Z0-9_-]|[^\x00-\x7F])+)(\s*:)?/g;class jh{selector;content;constructor(e,t){this.selector=e,this.content=t}}function yu(n,e){const t=function Dv(n){let e=n,t=null;for(let o=0;o<e.length;o++){const c=e[o];if("\\"===c)o++;else if(null!==t)if(c===t)t=null;else{const u=Wb[c];u&&(e=`${e.substr(0,o)}${u}${e.substr(o+1)}`,o+=u.length-1)}else("'"===c||'"'===c)&&(t=c)}return e}(n),o=function cm(n,e,t){const o=[],c=[];let ae,me,u=0,v=0,k=-1;for(let Ve=0;Ve<n.length;Ve++){const it=n[Ve];"\\"===it?Ve++:it===me?(u--,0===u&&(c.push(n.substring(k,Ve)),o.push(t),v=Ve,k=-1,ae=me=void 0)):it===ae?u++:0===u&&e.has(it)&&(ae=it,me=e.get(it),u=1,k=Ve+1,o.push(n.substring(v,k)))}return-1!==k?(c.push(n.substring(k)),o.push(t)):o.push(n.substring(v)),new am(o.join(""),c)}(t,Fb,Hg);let c=0;return function Gg(n){let e=n.replace(zg,",");return e=e.replace(Uu,";"),e=e.replace(Lc,":"),e}(o.escapedString.replace(xv,(...v)=>{const k=v[2];let ae="",me=v[4],Ve="";me&&me.startsWith("{"+Hg)&&(ae=o.blocks[c++],me=me.substring(8),Ve="{");const it=e(new jh(k,ae));return`${v[1]}${it.selector}${v[3]}${Ve}${it.content}${me}`}))}class am{escapedString;blocks;constructor(e,t){this.escapedString=e,this.blocks=t}}const Wb={";":Np,",":Vo,":":sm};function Cv(n,e){return e?n.replace(/((?:^|[^\\])(?:\\\\)*)\\(?=['"])/g,"$1"):n}function $d(n,e){const t=n.length;for(let o=1;o<e;o++)for(let c=0;c<t;c++)n[c+o*t]=n[c].slice(0)}var Ue,Xi,lc,ta,zi,Rl,Nl,To,Ws,No,Wu,Yo;!function(n){n[n.ListEnd=0]="ListEnd",n[n.Statement=1]="Statement",n[n.Variable=2]="Variable",n[n.ElementStart=3]="ElementStart",n[n.Element=4]="Element",n[n.ForeignComponent=5]="ForeignComponent",n[n.Template=6]="Template",n[n.ElementEnd=7]="ElementEnd",n[n.ContainerStart=8]="ContainerStart",n[n.Container=9]="Container",n[n.ContainerEnd=10]="ContainerEnd",n[n.DisableBindings=11]="DisableBindings",n[n.ConditionalCreate=12]="ConditionalCreate",n[n.ConditionalBranchCreate=13]="ConditionalBranchCreate",n[n.Conditional=14]="Conditional",n[n.EnableBindings=15]="EnableBindings",n[n.Text=16]="Text",n[n.Listener=17]="Listener",n[n.InterpolateText=18]="InterpolateText",n[n.Binding=19]="Binding",n[n.Property=20]="Property",n[n.StyleProp=21]="StyleProp",n[n.ClassProp=22]="ClassProp",n[n.StyleMap=23]="StyleMap",n[n.ClassMap=24]="ClassMap",n[n.Advance=25]="Advance",n[n.Pipe=26]="Pipe",n[n.Attribute=27]="Attribute",n[n.ExtractedAttribute=28]="ExtractedAttribute",n[n.Defer=29]="Defer",n[n.DeferOn=30]="DeferOn",n[n.DeferWhen=31]="DeferWhen",n[n.I18nMessage=32]="I18nMessage",n[n.DomProperty=33]="DomProperty",n[n.Namespace=34]="Namespace",n[n.ProjectionDef=35]="ProjectionDef",n[n.EnableIncrementalHydrationRuntime=36]="EnableIncrementalHydrationRuntime",n[n.Projection=37]="Projection",n[n.Content=38]="Content",n[n.RepeaterCreate=39]="RepeaterCreate",n[n.Repeater=40]="Repeater",n[n.TwoWayProperty=41]="TwoWayProperty",n[n.TwoWayListener=42]="TwoWayListener",n[n.DeclareLet=43]="DeclareLet",n[n.StoreLet=44]="StoreLet",n[n.I18nStart=45]="I18nStart",n[n.I18n=46]="I18n",n[n.I18nEnd=47]="I18nEnd",n[n.I18nExpression=48]="I18nExpression",n[n.I18nApply=49]="I18nApply",n[n.IcuStart=50]="IcuStart",n[n.IcuEnd=51]="IcuEnd",n[n.IcuPlaceholder=52]="IcuPlaceholder",n[n.I18nContext=53]="I18nContext",n[n.I18nAttributes=54]="I18nAttributes",n[n.SourceLocation=55]="SourceLocation",n[n.Animation=56]="Animation",n[n.AnimationString=57]="AnimationString",n[n.AnimationBinding=58]="AnimationBinding",n[n.AnimationListener=59]="AnimationListener",n[n.Control=60]="Control",n[n.ControlCreate=61]="ControlCreate"}(Ue||(Ue={})),function(n){n[n.LexicalRead=0]="LexicalRead",n[n.Context=1]="Context",n[n.TrackContext=2]="TrackContext",n[n.ReadVariable=3]="ReadVariable",n[n.NextContext=4]="NextContext",n[n.Reference=5]="Reference",n[n.StoreLet=6]="StoreLet",n[n.ContextLetReference=7]="ContextLetReference",n[n.GetCurrentView=8]="GetCurrentView",n[n.RestoreView=9]="RestoreView",n[n.ResetView=10]="ResetView",n[n.PureFunctionExpr=11]="PureFunctionExpr",n[n.PureFunctionParameterExpr=12]="PureFunctionParameterExpr",n[n.PipeBinding=13]="PipeBinding",n[n.PipeBindingVariadic=14]="PipeBindingVariadic",n[n.SafePropertyRead=15]="SafePropertyRead",n[n.SafeKeyedRead=16]="SafeKeyedRead",n[n.SafeNavigationMigration=17]="SafeNavigationMigration",n[n.SafeTernaryExpr=18]="SafeTernaryExpr",n[n.EmptyExpr=19]="EmptyExpr",n[n.AssignTemporaryExpr=20]="AssignTemporaryExpr",n[n.ReadTemporaryExpr=21]="ReadTemporaryExpr",n[n.SlotLiteralExpr=22]="SlotLiteralExpr",n[n.ConditionalCase=23]="ConditionalCase",n[n.ConstCollected=24]="ConstCollected",n[n.TwoWayBindingSet=25]="TwoWayBindingSet",n[n.ForeignContent=26]="ForeignContent",n[n.ArrowFunction=27]="ArrowFunction"}(Xi||(Xi={})),function(n){n[n.None=0]="None",n[n.AlwaysInline=1]="AlwaysInline"}(lc||(lc={})),function(n){n[n.Context=0]="Context",n[n.Identifier=1]="Identifier",n[n.SavedView=2]="SavedView",n[n.Alias=3]="Alias"}(ta||(ta={})),function(n){n[n.Attribute=0]="Attribute",n[n.ClassName=1]="ClassName",n[n.StyleProperty=2]="StyleProperty",n[n.Property=3]="Property",n[n.Template=4]="Template",n[n.I18n=5]="I18n",n[n.LegacyAnimation=6]="LegacyAnimation",n[n.TwoWayProperty=7]="TwoWayProperty",n[n.Animation=8]="Animation"}(zi||(zi={})),function(n){n[n.Creation=0]="Creation",n[n.Postproccessing=1]="Postproccessing"}(Rl||(Rl={})),function(n){n[n.I18nText=0]="I18nText",n[n.I18nAttribute=1]="I18nAttribute"}(Nl||(Nl={})),function(n){n[n.None=0]="None",n[n.ElementTag=1]="ElementTag",n[n.TemplateTag=2]="TemplateTag",n[n.OpenTag=4]="OpenTag",n[n.CloseTag=8]="CloseTag",n[n.ExpressionIndex=16]="ExpressionIndex"}(To||(To={})),function(n){n[n.HTML=0]="HTML",n[n.SVG=1]="SVG",n[n.Math=2]="Math"}(Ws||(Ws={})),function(n){n[n.Idle=0]="Idle",n[n.Immediate=1]="Immediate",n[n.Timer=2]="Timer",n[n.Hover=3]="Hover",n[n.Interaction=4]="Interaction",n[n.Viewport=5]="Viewport",n[n.Never=6]="Never"}(No||(No={})),function(n){n[n.RootI18n=0]="RootI18n",n[n.Icu=1]="Icu",n[n.Attr=2]="Attr"}(Wu||(Wu={})),function(n){n[n.NgTemplate=0]="NgTemplate",n[n.Structural=1]="Structural",n[n.Block=2]="Block"}(Yo||(Yo={}));class Pn{static nextListId=0;debugListId=Pn.nextListId++;head={kind:Ue.ListEnd,next:null,prev:null,debugListId:this.debugListId};tail={kind:Ue.ListEnd,next:null,prev:null,debugListId:this.debugListId};constructor(){this.head.next=this.tail,this.tail.prev=this.head}push(e){if(Array.isArray(e)){for(const o of e)this.push(o);return}Pn.assertIsNotEnd(e),Pn.assertIsUnowned(e),e.debugListId=this.debugListId;const t=this.tail.prev;e.prev=t,t.next=e,e.next=this.tail,this.tail.prev=e}prepend(e){if(0===e.length)return;for(const c of e)Pn.assertIsNotEnd(c),Pn.assertIsUnowned(c),c.debugListId=this.debugListId;const t=this.head.next;let o=this.head;for(const c of e)o.next=c,c.prev=o,o=c;o.next=t,t.prev=o}*[Symbol.iterator](){let e=this.head.next;for(;e!==this.tail;){Pn.assertIsOwned(e,this.debugListId);const t=e.next;yield e,e=t}}*reversed(){let e=this.tail.prev;for(;e!==this.head;){Pn.assertIsOwned(e,this.debugListId);const t=e.prev;yield e,e=t}}static replace(e,t){Pn.assertIsNotEnd(e),Pn.assertIsNotEnd(t),Pn.assertIsOwned(e),Pn.assertIsUnowned(t),t.debugListId=e.debugListId,null!==e.prev&&(e.prev.next=t,t.prev=e.prev),null!==e.next&&(e.next.prev=t,t.next=e.next),e.debugListId=null,e.prev=null,e.next=null}static replaceWithMany(e,t){if(0===t.length)return void Pn.remove(e);Pn.assertIsNotEnd(e),Pn.assertIsOwned(e);const o=e.debugListId;e.debugListId=null;for(const me of t)Pn.assertIsNotEnd(me),Pn.assertIsUnowned(me);const{prev:c,next:u}=e;e.prev=null,e.next=null;let v=c;for(const me of t)Pn.assertIsUnowned(me),me.debugListId=o,v.next=me,me.prev=v,me.next=null,v=me;const k=t[0],ae=v;null!==c&&(c.next=k,k.prev=c),null!==u&&(u.prev=ae,ae.next=u)}static remove(e){Pn.assertIsNotEnd(e),Pn.assertIsOwned(e),e.prev.next=e.next,e.next.prev=e.prev,e.debugListId=null,e.prev=null,e.next=null}static insertBefore(e,t){if(Array.isArray(e))for(const o of e)Pn.insertBefore(o,t);else{if(Pn.assertIsOwned(t),null===t.prev)throw new Error("AssertionError: illegal operation on list start");Pn.assertIsNotEnd(e),Pn.assertIsUnowned(e),e.debugListId=t.debugListId,e.prev=null,t.prev.next=e,e.prev=t.prev,e.next=t,t.prev=e}}static insertAfter(e,t){if(Pn.assertIsOwned(t),null===t.next)throw new Error("AssertionError: illegal operation on list end");Pn.assertIsNotEnd(e),Pn.assertIsUnowned(e),e.debugListId=t.debugListId,t.next.prev=e,e.next=t.next,e.prev=t,t.next=e}static assertIsUnowned(e){if(null!==e.debugListId)throw new Error(`AssertionError: illegal operation on owned node: ${Ue[e.kind]}`)}static assertIsOwned(e,t){if(null===e.debugListId)throw new Error(`AssertionError: illegal operation on unowned node: ${Ue[e.kind]}`);if(void 0!==t&&e.debugListId!==t)throw new Error(`AssertionError: node belongs to the wrong list (expected ${t}, actual ${e.debugListId})`)}static assertIsNotEnd(e){if(e.kind===Ue.ListEnd)throw new Error("AssertionError: illegal operation on list head or tail")}}function xc(n){return{kind:Ue.Statement,statement:n,...dr}}function Jl(n,e,t,o){return{kind:Ue.Variable,xref:n,variable:e,initializer:t,flags:o,...dr}}const dr={debugListId:null,prev:null,next:null},Hh=Symbol("ConsumesSlot"),Bp=Symbol("DependsOnSlotContext"),pl=Symbol("ConsumesVars"),zh=Symbol("UsesVarOffset"),hl={[Hh]:!0,numSlotsUsed:1},Bc={[Bp]:!0},Fc={[pl]:!0};function Fp(n){return!0===n[Hh]}function Up(n){return!0===n[Bp]}function Xg(n){return!0===n[pl]}function bu(n){return!0===n[zh]}class ms{strings;expressions;i18nPlaceholders;constructor(e,t,o){if(this.strings=e,this.expressions=t,this.i18nPlaceholders=o,0!==o.length&&o.length!==t.length)throw new Error(`Expected ${t.length} placeholders to match interpolation expression count, but got ${o.length}`)}}function hd(n,e,t,o,c,u,v,k,ae,me,Ve){return{kind:Ue.Binding,bindingKind:e,target:n,name:t,expression:o,unit:c,securityContext:u,isTextAttribute:v,isStructuralTemplateAttribute:k,templateKind:ae,i18nContext:null,i18nMessage:me,sourceSpan:Ve,...dr}}function qa(n,e,t,o,c,u,v,k,ae,me){return{kind:Ue.Property,target:n,name:e,expression:t,bindingKind:o,securityContext:c,sanitizer:null,isStructuralTemplateAttribute:u,templateKind:v,i18nContext:k,i18nMessage:ae,sourceSpan:me,...Bc,...Fc,...dr}}function Wp(n,e,t,o,c,u,v,k,ae){return{kind:Ue.TwoWayProperty,target:n,name:e,expression:t,securityContext:o,sanitizer:null,isStructuralTemplateAttribute:c,templateKind:u,i18nContext:v,i18nMessage:k,sourceSpan:ae,...Bc,...Fc,...dr}}function Qg(n,e,t,o,c){return{kind:Ue.StyleProp,target:n,name:e,expression:t,unit:o,sourceSpan:c,...Bc,...Fc,...dr}}function Gh(n,e,t,o){return{kind:Ue.ClassProp,target:n,name:e,expression:t,sourceSpan:o,...Bc,...Fc,...dr}}function Tv(n,e,t){return{kind:Ue.StyleMap,target:n,expression:e,sourceSpan:t,...Bc,...Fc,...dr}}function Vb(n,e,t){return{kind:Ue.ClassMap,target:n,expression:e,sourceSpan:t,...Bc,...Fc,...dr}}function lm(n,e,t,o,c,u,v,k,ae,me){return{kind:Ue.Attribute,target:n,namespace:e,name:t,expression:o,securityContext:c,sanitizer:null,isTextAttribute:u,isStructuralTemplateAttribute:v,templateKind:k,i18nContext:null,i18nMessage:ae,sourceSpan:me,...Bc,...Fc,...dr}}function $b(n,e){return{kind:Ue.Advance,delta:n,sourceSpan:e,...dr}}function qg(n,e,t,o){return{kind:Ue.Conditional,target:n,test:e,conditions:t,processed:null,sourceSpan:o,contextValue:null,...dr,...Bc,...Fc}}function Vp(n,e,t,o,c,u,v){return{kind:Ue.AnimationBinding,name:n,target:e,animationKind:t,expression:o,i18nMessage:null,securityContext:c,sanitizer:null,sourceSpan:u,animationBindingKind:v,...dr}}function Iv(n,e,t,o,c,u,v,k,ae,me,Ve){return{kind:Ue.I18nExpression,context:n,target:e,i18nOwner:t,handle:o,expression:c,icuPlaceholder:u,i18nPlaceholder:v,resolutionTime:k,usage:ae,name:me,sourceSpan:Ve,...dr,...Fc,...Bc}}function Mv(n,e,t){return{kind:Ue.I18nApply,owner:n,handle:e,sourceSpan:t,...dr}}function Bl(n){return n instanceof Ko}class Ko extends Ae{constructor(e=null){super(null,e)}}class fa extends Ko{name;kind=Xi.LexicalRead;constructor(e){super(),this.name=e}visitExpression(e,t){}isEquivalent(e){return this.name===e.name}isConstant(){return!1}transformInternalExpressions(){}clone(){return new fa(this.name)}}class Xh extends Ko{target;targetSlot;offset;kind=Xi.Reference;constructor(e,t,o){super(),this.target=e,this.targetSlot=t,this.offset=o}visitExpression(){}isEquivalent(e){return e instanceof Xh&&e.target===this.target}isConstant(){return!1}transformInternalExpressions(){}clone(){return new Xh(this.target,this.targetSlot,this.offset)}}class dm extends Ko{childrenViewXref;childrenViewHandle;foreignComponentConstIndex;kind=Xi.ForeignContent;constructor(e,t,o){super(),this.childrenViewXref=e,this.childrenViewHandle=t,this.foreignComponentConstIndex=o}visitExpression(){}isEquivalent(e){return e instanceof dm&&e.childrenViewXref===this.childrenViewXref&&e.foreignComponentConstIndex===this.foreignComponentConstIndex}isConstant(){return!1}transformInternalExpressions(){}clone(){return new dm(this.childrenViewXref,this.childrenViewHandle,this.foreignComponentConstIndex)}}class Vu extends Ko{target;value;sourceSpan;kind=Xi.StoreLet;[pl]=!0;[Bp]=!0;constructor(e,t,o){super(),this.target=e,this.value=t,this.sourceSpan=o}visitExpression(){}isEquivalent(e){return e instanceof Vu&&e.target===this.target&&e.value.isEquivalent(this.value)}isConstant(){return!1}transformInternalExpressions(e,t){this.value=Bi(this.value,e,t)}clone(){return new Vu(this.target,this.value,this.sourceSpan)}}class $p extends Ko{target;targetSlot;kind=Xi.ContextLetReference;constructor(e,t){super(),this.target=e,this.targetSlot=t}visitExpression(){}isEquivalent(e){return e instanceof $p&&e.target===this.target}isConstant(){return!1}transformInternalExpressions(){}clone(){return new $p(this.target,this.targetSlot)}}class $u extends Ko{view;kind=Xi.Context;constructor(e){super(),this.view=e}visitExpression(){}isEquivalent(e){return e instanceof $u&&e.view===this.view}isConstant(){return!1}transformInternalExpressions(){}clone(){return new $u(this.view)}}class ju extends Ko{view;kind=Xi.TrackContext;constructor(e){super(),this.view=e}visitExpression(){}isEquivalent(e){return e instanceof ju&&e.view===this.view}isConstant(){return!1}transformInternalExpressions(){}clone(){return new ju(this.view)}}class jp extends Ko{kind=Xi.NextContext;steps=1;visitExpression(){}isEquivalent(e){return e instanceof jp&&e.steps===this.steps}isConstant(){return!1}transformInternalExpressions(){}clone(){const e=new jp;return e.steps=this.steps,e}}class pm extends Ko{kind=Xi.GetCurrentView;constructor(){super()}visitExpression(){}isEquivalent(e){return e instanceof pm}isConstant(){return!1}transformInternalExpressions(){}clone(){return new pm}}class jd extends Ko{view;kind=Xi.RestoreView;constructor(e){super(),this.view=e}visitExpression(e,t){"number"!=typeof this.view&&this.view.visitExpression(e,t)}isEquivalent(e){return e instanceof jd&&typeof e.view==typeof this.view&&("number"==typeof this.view?this.view===e.view:this.view.isEquivalent(e.view))}isConstant(){return!1}transformInternalExpressions(e,t){"number"!=typeof this.view&&(this.view=Bi(this.view,e,t))}clone(){return new jd(this.view instanceof Ae?this.view.clone():this.view)}}class Qh extends Ko{expr;kind=Xi.ResetView;constructor(e){super(),this.expr=e}visitExpression(e,t){this.expr.visitExpression(e,t)}isEquivalent(e){return e instanceof Qh&&this.expr.isEquivalent(e.expr)}isConstant(){return!1}transformInternalExpressions(e,t){this.expr=Bi(this.expr,e,t)}clone(){return new Qh(this.expr.clone())}}class Hp extends Ko{target;value;kind=Xi.TwoWayBindingSet;constructor(e,t){super(),this.target=e,this.value=t}visitExpression(e,t){this.target.visitExpression(e,t),this.value.visitExpression(e,t)}isEquivalent(e){return this.target.isEquivalent(e.target)&&this.value.isEquivalent(e.value)}isConstant(){return!1}transformInternalExpressions(e,t){this.target=Bi(this.target,e,t),this.value=Bi(this.value,e,t)}clone(){return new Hp(this.target,this.value)}}class Jc extends Ko{xref;kind=Xi.ReadVariable;name=null;constructor(e){super(),this.xref=e}visitExpression(){}isEquivalent(e){return e instanceof Jc&&e.xref===this.xref}isConstant(){return!1}transformInternalExpressions(){}clone(){const e=new Jc(this.xref);return e.name=this.name,e}}class Eu extends Ko{kind=Xi.PureFunctionExpr;[pl]=!0;[zh]=!0;varOffset=null;body;args;fn=null;constructor(e,t){super(),this.body=e,this.args=t}visitExpression(e,t){this.body?.visitExpression(e,t);for(const o of this.args)o.visitExpression(e,t)}isEquivalent(e){return e instanceof Eu&&e.args.length===this.args.length&&(null!==e.body&&null!==this.body&&e.body.isEquivalent(this.body)&&e.args.every((t,o)=>t.isEquivalent(this.args[o])))}isConstant(){return!1}transformInternalExpressions(e,t){null!==this.body?this.body=Bi(this.body,e,t|Ur.InChildOperation):null!==this.fn&&(this.fn=Bi(this.fn,e,t));for(let o=0;o<this.args.length;o++)this.args[o]=Bi(this.args[o],e,t)}clone(){const e=new Eu(this.body?.clone()??null,this.args.map(t=>t.clone()));return e.fn=this.fn?.clone()??null,e.varOffset=this.varOffset,e}}class Hu extends Ko{index;kind=Xi.PureFunctionParameterExpr;constructor(e){super(),this.index=e}visitExpression(){}isEquivalent(e){return e instanceof Hu&&e.index===this.index}isConstant(){return!0}transformInternalExpressions(){}clone(){return new Hu(this.index)}}class Hd extends Ko{target;targetSlot;name;args;kind=Xi.PipeBinding;[pl]=!0;[zh]=!0;varOffset=null;constructor(e,t,o,c){super(),this.target=e,this.targetSlot=t,this.name=o,this.args=c}visitExpression(e,t){for(const o of this.args)o.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){for(let o=0;o<this.args.length;o++)this.args[o]=Bi(this.args[o],e,t)}clone(){const e=new Hd(this.target,this.targetSlot,this.name,this.args.map(t=>t.clone()));return e.varOffset=this.varOffset,e}}class zd extends Ko{target;targetSlot;name;args;numArgs;kind=Xi.PipeBindingVariadic;[pl]=!0;[zh]=!0;varOffset=null;constructor(e,t,o,c,u){super(),this.target=e,this.targetSlot=t,this.name=o,this.args=c,this.numArgs=u}visitExpression(e,t){this.args.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.args=Bi(this.args,e,t)}clone(){const e=new zd(this.target,this.targetSlot,this.name,this.args.clone(),this.numArgs);return e.varOffset=this.varOffset,e}}class fd extends Ko{receiver;name;kind=Xi.SafePropertyRead;constructor(e,t){super(),this.receiver=e,this.name=t}get index(){return this.name}visitExpression(e,t){this.receiver.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.receiver=Bi(this.receiver,e,t)}clone(){return new fd(this.receiver.clone(),this.name)}}class md extends Ko{receiver;index;kind=Xi.SafeKeyedRead;constructor(e,t,o){super(o),this.receiver=e,this.index=t}visitExpression(e,t){this.receiver.visitExpression(e,t),this.index.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.receiver=Bi(this.receiver,e,t),this.index=Bi(this.index,e,t)}clone(){return new md(this.receiver.clone(),this.index.clone(),this.sourceSpan)}}class Kd extends Ko{expr;kind=Xi.SafeNavigationMigration;constructor(e){super(),this.expr=e}visitExpression(e,t){this.expr.visitExpression(e,t)}isEquivalent(e){return e instanceof Kd&&this.expr.isEquivalent(e.expr)}isConstant(){return this.expr.isConstant()}transformInternalExpressions(e,t){this.expr=Bi(this.expr,e,t|Ur.InSafeNavigationMigration)}clone(){return new Kd(this.expr.clone())}}class Gd extends Ko{guard;expr;kind=Xi.SafeTernaryExpr;constructor(e,t){super(),this.guard=e,this.expr=t}visitExpression(e,t){this.guard.visitExpression(e,t),this.expr.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.guard=Bi(this.guard,e,t),this.expr=Bi(this.expr,e,t)}clone(){return new Gd(this.guard.clone(),this.expr.clone())}}class wu extends Ko{kind=Xi.EmptyExpr;visitExpression(e,t){}isEquivalent(e){return e instanceof wu}isConstant(){return!0}clone(){return new wu}transformInternalExpressions(){}}class Fl extends Ko{expr;xref;kind=Xi.AssignTemporaryExpr;name=null;constructor(e,t){super(),this.expr=e,this.xref=t}visitExpression(e,t){this.expr.visitExpression(e,t)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(e,t){this.expr=Bi(this.expr,e,t)}clone(){const e=new Fl(this.expr.clone(),this.xref);return e.name=this.name,e}}class eu extends Ko{xref;kind=Xi.ReadTemporaryExpr;name=null;constructor(e){super(),this.xref=e}visitExpression(e,t){}isEquivalent(){return this.xref==this.xref}isConstant(){return!1}transformInternalExpressions(e,t){}clone(){const e=new eu(this.xref);return e.name=this.name,e}}class tu extends Ko{slot;kind=Xi.SlotLiteralExpr;constructor(e){super(),this.slot=e}visitExpression(e,t){}isEquivalent(e){return e instanceof tu&&e.slot===this.slot}isConstant(){return!0}clone(){return new tu(this.slot)}transformInternalExpressions(){}}class zp extends Ko{expr;target;targetSlot;alias;kind=Xi.ConditionalCase;constructor(e,t,o,c=null){super(),this.expr=e,this.target=t,this.targetSlot=o,this.alias=c}visitExpression(e,t){null!==this.expr&&this.expr.visitExpression(e,t)}isEquivalent(e){return e instanceof zp&&e.expr===this.expr}isConstant(){return!0}clone(){return new zp(this.expr,this.target,this.targetSlot)}transformInternalExpressions(e,t){null!==this.expr&&(this.expr=Bi(this.expr,e,t))}}class gd extends Ko{expr;kind=Xi.ConstCollected;constructor(e){super(),this.expr=e}transformInternalExpressions(e,t){this.expr=e(this.expr,t)}visitExpression(e,t){this.expr.visitExpression(e,t)}isEquivalent(e){return e instanceof gd&&this.expr.isEquivalent(e.expr)}isConstant(){return this.expr.isConstant()}clone(){return new gd(this.expr)}}class Kp extends Ko{parameters;body;kind=Xi.ArrowFunction;[pl]=!0;[zh]=!0;contextName=la;currentViewName="view";varOffset=null;ops;constructor(e,t){super(),this.parameters=e,this.body=t,this.ops=new Pn,this.ops.push([xc(new In(t,t.sourceSpan))])}visitExpression(e,t){for(const o of this.ops)Vs(o,c=>{c.visitExpression(e,t)})}isEquivalent(e){return e instanceof Kp&&e.parameters.length===this.parameters.length&&e.parameters.every((t,o)=>t.isEquivalent(this.parameters[o]))&&e.body.isEquivalent(this.body)}isConstant(){return!1}transformInternalExpressions(e,t){for(const o of this.ops)Ss(o,e,t|Ur.InChildOperation|Ur.InArrowFunctionOperation)}clone(){const e=new Kp(this.parameters,this.body);return e.varOffset=this.varOffset,e.ops=this.ops,e}}function Vs(n,e){Ss(n,(t,o)=>(e(t,o),t),Ur.None)}var Ur;function Yg(n,e,t){for(let o=0;o<n.expressions.length;o++)n.expressions[o]=Bi(n.expressions[o],e,t)}function Ss(n,e,t){switch(n.kind){case Ue.StyleProp:case Ue.StyleMap:case Ue.ClassProp:case Ue.ClassMap:case Ue.AnimationString:case Ue.AnimationBinding:case Ue.Binding:n.expression instanceof ms?Yg(n.expression,e,t):n.expression=Bi(n.expression,e,t);break;case Ue.Property:case Ue.DomProperty:case Ue.Attribute:n.expression instanceof ms?Yg(n.expression,e,t):n.expression=Bi(n.expression,e,t),n.sanitizer=n.sanitizer&&Bi(n.sanitizer,e,t);break;case Ue.TwoWayProperty:n.expression=Bi(n.expression,e,t),n.sanitizer=n.sanitizer&&Bi(n.sanitizer,e,t);break;case Ue.I18nExpression:n.expression=Bi(n.expression,e,t);break;case Ue.InterpolateText:Yg(n.interpolation,e,t);break;case Ue.Statement:Xd(n.statement,e,t);break;case Ue.Variable:n.initializer=Bi(n.initializer,e,t);break;case Ue.Conditional:for(const o of n.conditions)null!==o.expr&&(o.expr=Bi(o.expr,e,t));null!==n.processed&&(n.processed=Bi(n.processed,e,t)),null!==n.contextValue&&(n.contextValue=Bi(n.contextValue,e,t));break;case Ue.Animation:case Ue.AnimationListener:case Ue.Listener:case Ue.TwoWayListener:for(const o of n.handlerOps)Ss(o,e,t|Ur.InChildOperation);break;case Ue.ExtractedAttribute:n.expression=n.expression&&Bi(n.expression,e,t),n.trustedValueFn=n.trustedValueFn&&Bi(n.trustedValueFn,e,t);break;case Ue.RepeaterCreate:if(null===n.trackByOps)n.track=Bi(n.track,e,t);else for(const o of n.trackByOps)Ss(o,e,t|Ur.InChildOperation);null!==n.trackByFn&&(n.trackByFn=Bi(n.trackByFn,e,t));break;case Ue.Repeater:n.collection=Bi(n.collection,e,t);break;case Ue.Defer:null!==n.loadingConfig&&(n.loadingConfig=Bi(n.loadingConfig,e,t)),null!==n.placeholderConfig&&(n.placeholderConfig=Bi(n.placeholderConfig,e,t)),null!==n.resolverFn&&(n.resolverFn=Bi(n.resolverFn,e,t));break;case Ue.I18nMessage:for(const[o,c]of n.params)n.params.set(o,Bi(c,e,t));for(const[o,c]of n.postprocessingParams)n.postprocessingParams.set(o,Bi(c,e,t));break;case Ue.DeferWhen:n.expr=Bi(n.expr,e,t);break;case Ue.StoreLet:n.value=Bi(n.value,e,t);break;case Ue.ForeignComponent:for(const[o,c]of n.props)n.props.set(o,Bi(c,e,t));break;case Ue.Advance:case Ue.Container:case Ue.ContainerEnd:case Ue.ContainerStart:case Ue.DeferOn:case Ue.DisableBindings:case Ue.Element:case Ue.ElementEnd:case Ue.ElementStart:case Ue.EnableBindings:case Ue.I18n:case Ue.I18nApply:case Ue.I18nContext:case Ue.I18nEnd:case Ue.I18nStart:case Ue.IcuEnd:case Ue.IcuStart:case Ue.Namespace:case Ue.Pipe:case Ue.Projection:case Ue.ProjectionDef:case Ue.EnableIncrementalHydrationRuntime:case Ue.Template:case Ue.Content:case Ue.Text:case Ue.I18nAttributes:case Ue.IcuPlaceholder:case Ue.DeclareLet:case Ue.SourceLocation:case Ue.ConditionalCreate:case Ue.ConditionalBranchCreate:case Ue.Control:case Ue.ControlCreate:break;default:throw new Error(`AssertionError: transformExpressionsInOp doesn't handle ${Ue[n.kind]}`)}}function Bi(n,e,t){if(n instanceof Ko)n.transformInternalExpressions(e,t);else if(n instanceof Bt)n.lhs=Bi(n.lhs,e,t),n.rhs=Bi(n.rhs,e,t);else if(n instanceof zt)n.expr=Bi(n.expr,e,t);else if(n instanceof _n)n.receiver=Bi(n.receiver,e,t);else if(n instanceof Kn)n.receiver=Bi(n.receiver,e,t),n.index=Bi(n.index,e,t);else if(n instanceof Jn){n.fn=Bi(n.fn,e,t);for(let o=0;o<n.args.length;o++)n.args[o]=Bi(n.args[o],e,t)}else if(n instanceof pn)for(let o=0;o<n.entries.length;o++)n.entries[o]=Bi(n.entries[o],e,t);else if(n instanceof Hi)for(const o of n.entries)o instanceof Mi?o.expression=Bi(o.expression,e,t):o.value=Bi(o.value,e,t);else if(n instanceof qr)n.condition=Bi(n.condition,e,t),n.trueCase=Bi(n.trueCase,e,t),null!==n.falseCase&&(n.falseCase=Bi(n.falseCase,e,t));else if(n instanceof kt)n.expr=Bi(n.expr,e,t);else if(n instanceof cn)n.expr=Bi(n.expr,e,t);else if(n instanceof pi)for(let o=0;o<n.expressions.length;o++)n.expressions[o]=Bi(n.expressions[o],e,t);else if(n instanceof wr)n.condition=Bi(n.condition,e,t);else if(n instanceof Ti)n.tag=Bi(n.tag,e,t),n.template.expressions=n.template.expressions.map(o=>Bi(o,e,t));else if(n instanceof Ar)if(Array.isArray(n.body))for(let o=0;o<n.body.length;o++)Xd(n.body[o],e,t|Ur.InChildOperation);else n.body=Bi(n.body,e,t|Ur.InChildOperation);else if(!(n instanceof mn))if(n instanceof sr)for(let o=0;o<n.expressions.length;o++)n.expressions[o]=Bi(n.expressions[o],e,t);else if(n instanceof pt)n.expr=Bi(n.expr,e,t);else if(n instanceof wi)n.expression=Bi(n.expression,e,t);else if(!(n instanceof Qe||n instanceof br||n instanceof ui||n instanceof Ei))throw new Error(`Unhandled expression kind: ${n.constructor.name}`);return e(n,t)}function Xd(n,e,t){if(n instanceof kn)n.expr=Bi(n.expr,e,t);else if(n instanceof In)n.value=Bi(n.value,e,t);else if(n instanceof Ot)void 0!==n.value&&(n.value=Bi(n.value,e,t));else{if(!(n instanceof ti))throw new Error(`Unhandled statement kind: ${n.constructor.name}`);n.condition=Bi(n.condition,e,t);for(const o of n.trueCase)Xd(o,e,t);for(const o of n.falseCase)Xd(o,e,t)}}function qh(n){return n instanceof ui&&"string"==typeof n.value}!function(n){n[n.None=0]="None",n[n.InChildOperation=1]="InChildOperation",n[n.InArrowFunctionOperation=2]="InArrowFunctionOperation",n[n.InSafeNavigationMigration=4]="InSafeNavigationMigration"}(Ur||(Ur={}));class Dc{slot=null}const Av=new Set([Ue.Element,Ue.ElementStart,Ue.Container,Ue.ContainerStart,Ue.Template,Ue.RepeaterCreate,Ue.ConditionalCreate,Ue.ConditionalBranchCreate]);function Ul(n){return Av.has(n.kind)}function Gp(n,e,t,o,c){return{kind:Ue.Content,target:n,propertyName:t,view:e,startSourceSpan:o,sourceSpan:c,...dr}}function Xp(n,e,t,o,c,u,v,k){return{kind:Ue.Template,xref:n,templateKind:e,attributes:null,tag:t,handle:new Dc,functionNameSuffix:o,decls:null,vars:null,localRefs:[],nonBindable:!1,namespace:c,i18nPlaceholder:u,startSourceSpan:v,wholeSourceSpan:k,...hl,...dr}}function Jg(n,e,t,o,c,u,v,k){return{kind:Ue.ConditionalCreate,xref:n,templateKind:e,attributes:null,tag:t,handle:new Dc,functionNameSuffix:o,decls:null,vars:null,localRefs:[],nonBindable:!1,namespace:c,i18nPlaceholder:u,startSourceSpan:v,wholeSourceSpan:k,...hl,...dr}}function e_(n,e,t,o,c,u,v,k){return{kind:Ue.ConditionalBranchCreate,xref:n,templateKind:e,attributes:null,tag:t,handle:new Dc,functionNameSuffix:o,decls:null,vars:null,localRefs:[],nonBindable:!1,namespace:c,i18nPlaceholder:u,startSourceSpan:v,wholeSourceSpan:k,...hl,...dr}}function Ov(n){return{kind:Ue.DisableBindings,xref:n,...dr}}function hm(n){return{kind:Ue.EnableBindings,xref:n,...dr}}function qd(n,e,t,o){return{kind:Ue.Text,xref:n,handle:new Dc,initialValue:e,icuPlaceholder:t,sourceSpan:o,...hl,...dr}}function Zh(n,e,t,o,c,u,v,k,ae){const me=new Pn;return me.push(c),{kind:Ue.Listener,target:n,targetSlot:e,tag:o,hostListener:k,name:t,handlerOps:me,handlerFnName:null,consumesDollarEvent:!1,isLegacyAnimationListener:null!==u,legacyAnimationPhase:u,eventTarget:v,sourceSpan:ae,...dr}}function Rv(n,e,t,o,c,u,v,k,ae){const me=new Pn;return me.push(c),{kind:Ue.AnimationListener,target:n,targetSlot:e,tag:o,hostListener:k,name:t,animationKind:u,handlerOps:me,handlerFnName:null,consumesDollarEvent:!1,eventTarget:v,sourceSpan:ae,...dr}}function Kb(n,e,t,o,c,u){const v=new Pn;return v.push(c),{kind:Ue.TwoWayListener,target:n,targetSlot:e,tag:o,name:t,handlerOps:v,handlerFnName:null,sourceSpan:u,...dr}}function Gb(n,e,t){return{kind:Ue.Pipe,xref:n,handle:e,name:t,...dr,...hl}}function t_(n){return{kind:Ue.Namespace,active:n,...dr}}function Qp(n){return{kind:Ue.ProjectionDef,def:n,...dr}}function Nv(n){return{kind:Ue.EnableIncrementalHydrationRuntime,sourceSpan:n,...dr}}function nu(n,e,t,o,c,u,v,k){return{kind:Ue.ExtractedAttribute,target:n,bindingKind:e,namespace:t,name:o,expression:c,i18nContext:u,i18nMessage:v,securityContext:k,trustedValueFn:null,...dr}}function _d(n,e,t,o){return{kind:Ue.DeferOn,defer:n,trigger:e,modifier:t,sourceSpan:o,...dr}}function fm(n,e,t,o){return{kind:Ue.I18nStart,xref:n,handle:new Dc,root:t??n,message:e,messageIndex:null,subTemplateIndex:null,context:null,sourceSpan:o,...dr,...hl}}function Yd(n,e){return{kind:Ue.I18nEnd,xref:n,sourceSpan:e,...dr}}function Zd(n,e,t){return{kind:Ue.IcuPlaceholder,xref:n,name:e,strings:t,expressionPlaceholders:[],...dr}}function Bv(n,e,t,o,c){if(null===t&&n!==Wu.Attr)throw new Error("AssertionError: i18nBlock must be provided for non-attribute contexts.");return{kind:Ue.I18nContext,contextKind:n,xref:e,i18nBlock:t,message:o,sourceSpan:c,params:new Map,postprocessingParams:new Map,...dr}}function gm(n,e,t){return{kind:Ue.I18nAttributes,xref:n,handle:e,target:t,i18nAttributesConfig:null,...dr,...hl}}function _m(n,e){return{kind:Ue.SourceLocation,templatePath:n,locations:e,...dr}}function i_(n,e,t,o,c,u){return{kind:Ue.DomProperty,name:n,expression:e,bindingKind:t,i18nContext:o,securityContext:c,sanitizer:null,sourceSpan:u,...Fc,...dr}}const r_="CTX_REF_MARKER";var xi,Ba;!function(n){n[n.Tmpl=0]="Tmpl",n[n.Host=1]="Host",n[n.Both=2]="Both"}(xi||(xi={})),function(n){n[n.Full=0]="Full",n[n.DomOnly=1]="DomOnly"}(Ba||(Ba={}));class Fv{componentName;pool;mode;legacyOptionalChaining;constructor(e,t,o,c){this.componentName=e,this.pool=t,this.mode=o,this.legacyOptionalChaining=c}kind=xi.Both;allocateXrefId(){return this.nextXrefId++}nextXrefId=0}class Su extends Fv{relativeContextFilePath;i18nUseExternalIds;deferMeta;allDeferrableDepsFn;relativeTemplatePath;enableDebugLocations;foreignImports;foreignMatcher;constructor(e,t,o,c,u,v,k,ae,me,Ve,it){if(super(e,t,o,Ve),this.relativeContextFilePath=c,this.i18nUseExternalIds=u,this.deferMeta=v,this.allDeferrableDepsFn=k,this.relativeTemplatePath=ae,this.enableDebugLocations=me,this.foreignImports=it,this.root=new fl(this,this.allocateXrefId(),null),this.views.set(this.root.xref,this.root),it&&it.length>0){const Gt=new Map;for(const yn of it)Gt.set(yn.name,[yn]);this.foreignMatcher=new y(Gt)}else this.foreignMatcher=null}getForeignComponent(e){if(null===this.foreignMatcher)return null;const t=this.foreignMatcher.match(e.name);return t.length>0?t[0]:null}kind=xi.Tmpl;fnSuffix="Template";root;views=new Map;contentSelectors=null;allocateView(e){const t=new fl(this,this.allocateXrefId(),e);return this.views.set(t.xref,t),t}get units(){return this.views.values()}addConst(e,t){for(let c=0;c<this.consts.length;c++)if(this.consts[c].isEquivalent(e))return c;const o=this.consts.length;return this.consts.push(e),t&&this.constsInitializers.push(...t),o}consts=[];constsInitializers=[]}class vd{xref;constructor(e){this.xref=e}create=new Pn;update=new Pn;functions=new Set;fnName=null;vars=null;*ops(){for(const e of this.functions)for(const t of e.ops)yield t;for(const e of this.create)if(yield e,e.kind===Ue.Listener||e.kind===Ue.Animation||e.kind===Ue.AnimationListener||e.kind===Ue.TwoWayListener)for(const t of e.handlerOps)yield t;else if(e.kind===Ue.RepeaterCreate&&null!==e.trackByOps)for(const t of e.trackByOps)yield t;for(const e of this.update)yield e}}class fl extends vd{job;parent;constructor(e,t,o){super(t),this.job=e,this.parent=o}contextVariables=new Map;aliases=new Set;decls=null}class vm extends Fv{constructor(e,t,o,c){super(e,t,o,c),this.root=new yd(this)}kind=xi.Host;fnSuffix="HostBindings";root;get units(){return[this.root]}}class yd extends vd{job;constructor(e){super(0),this.job=e}attributes=null}function ym(n){if(n instanceof Jn&&n.fn instanceof fa&&"$any"===n.fn.name){if(1!==n.args.length)throw new Error("The $any builtin function expects exactly one argument.");return n.args[0]}return n}function Zb(n,e){if(e.next?.kind!==Ue.I18nExpression)return!0;const t=n.get(e.context),o=n.get(e.next.context);if(void 0===t)throw new Error("AssertionError: expected an I18nContextOp to exist for the I18nExpressionOp's context");if(void 0===o)throw new Error("AssertionError: expected an I18nContextOp to exist for the next I18nExpressionOp's context");return null!==t.i18nBlock?t.i18nBlock!==o.i18nBlock:e.i18nOwner!==e.next.i18nOwner}function Uv(n){const e=new Map;for(const t of n.create)Fp(t)&&(e.set(t.xref,t),t.kind===Ue.RepeaterCreate&&null!==t.emptyView&&e.set(t.emptyView,t));return e}function Yp(n,e){const t=n.get(e);if(void 0===t)throw new Error("All attributes should have an element-like target.");return t}function Wv(n,e,t){if(!(e.expression instanceof ms)&&e.isTextAttribute){const o=nu(e.target,e.isStructuralTemplateAttribute?zi.Template:zi.Attribute,e.namespace,e.name,e.expression,e.i18nContext,e.i18nMessage,e.securityContext);if(n.job.kind===xi.Host)n.create.push(o);else{const c=Yp(t,e.target);Pn.insertBefore(o,c)}Pn.remove(e)}}function s_(n){return n.startsWith("aria-")&&n.length>5}function i0(n,e){const t=n.get(e);if(void 0===t)throw new Error("All attributes should have an element-like target.");return t}const Vv=new Map([[yt.ariaProperty,yt.ariaProperty],[yt.attribute,yt.attribute],[yt.classProp,yt.classProp],[yt.element,yt.element],[yt.elementContainer,yt.elementContainer],[yt.elementContainerEnd,yt.elementContainerEnd],[yt.elementContainerStart,yt.elementContainerStart],[yt.elementEnd,yt.elementEnd],[yt.elementStart,yt.elementStart],[yt.domProperty,yt.domProperty],[yt.i18nExp,yt.i18nExp],[yt.listener,yt.listener],[yt.listener,yt.listener],[yt.property,yt.property],[yt.styleProp,yt.styleProp],[yt.syntheticHostListener,yt.syntheticHostListener],[yt.syntheticHostProperty,yt.syntheticHostProperty],[yt.templateCreate,yt.templateCreate],[yt.twoWayProperty,yt.twoWayProperty],[yt.twoWayListener,yt.twoWayListener],[yt.declareLet,yt.declareLet],[yt.conditionalCreate,yt.conditionalBranchCreate],[yt.conditionalBranchCreate,yt.conditionalBranchCreate],[yt.domElement,yt.domElement],[yt.domElementStart,yt.domElementStart],[yt.domElementEnd,yt.domElementEnd],[yt.domElementContainer,yt.domElementContainer],[yt.domElementContainerStart,yt.domElementContainerStart],[yt.domElementContainerEnd,yt.domElementContainerEnd],[yt.domListener,yt.domListener],[yt.domTemplate,yt.domTemplate],[yt.animationEnter,yt.animationEnter],[yt.animationLeave,yt.animationLeave],[yt.animationEnterListener,yt.animationEnterListener],[yt.animationLeaveListener,yt.animationLeaveListener]]);function a_(n){let e=null;for(const t of n){if(t.kind!==Ue.Statement||!(t.statement instanceof kn)){e=null;continue}if(!(t.statement.expr instanceof Jn&&t.statement.expr.fn instanceof br)){e=null;continue}const o=t.statement.expr.fn.value;if(Vv.has(o))if(null!==e&&Vv.get(e.instruction)===o&&e.length<256){const c=e.expression.callFn(t.statement.expr.args,t.statement.expr.sourceSpan,t.statement.expr.pure);e.expression=c,e.op.statement=c.toStmt(),e.length++,Pn.remove(t)}else e={op:t,instruction:o,expression:t.statement.expr,length:1};else e=null}}const jv=new Map([["&&",lt.And],[">",lt.Bigger],[">=",lt.BiggerEquals],["|",lt.BitwiseOr],["&",lt.BitwiseAnd],["/",lt.Divide],["=",lt.Assign],["==",lt.Equals],["===",lt.Identical],["<",lt.Lower],["<=",lt.LowerEquals],["-",lt.Minus],["%",lt.Modulo],["**",lt.Exponentiation],["*",lt.Multiply],["!=",lt.NotEquals],["!==",lt.NotIdentical],["??",lt.NullishCoalesce],["||",lt.Or],["+",lt.Plus],["in",lt.In],["instanceof",lt.InstanceOf],["+=",lt.AdditionAssignment],["-=",lt.SubtractionAssignment],["*=",lt.MultiplicationAssignment],["/=",lt.DivisionAssignment],["%=",lt.RemainderAssignment],["**=",lt.ExponentiationAssignment],["&&=",lt.AndAssignment],["||=",lt.OrAssignment],["??=",lt.NullishCoalesceAssignment]]);function uc(n){const e=new Map([["svg",Ws.SVG],["math",Ws.Math]]);return null===n?Ws.HTML:e.get(n)??Ws.HTML}function r0(n,e){return e===Ws.HTML?n:`:${function ma(n){const e=new Map([["svg",Ws.SVG],["math",Ws.Math]]);for(const[t,o]of e.entries())if(o===n)return t;return null}(e)}:${n}`}function dc(n){return Array.isArray(n)?Fi(n.map(dc)):$t(n)}function l_(n,e,t){const o=e.get(t);if(void 0!==o){const c=tf(o);if(c.entries.length>0)return n.addConst(c)}return null}const el=Object.freeze([]);class Jh{known=new Map;byKind=new Map;propertyBindings=null;projectAs=null;get attributes(){return this.byKind.get(zi.Attribute)??el}get classes(){return this.byKind.get(zi.ClassName)??el}get styles(){return this.byKind.get(zi.StyleProperty)??el}get bindings(){return this.propertyBindings??el}get template(){return this.byKind.get(zi.Template)??el}get i18n(){return this.byKind.get(zi.I18n)??el}isKnown(e,t){const o=this.known.get(e)??new Set;return this.known.set(e,o),!!o.has(t)||(o.add(t),!1)}add(e,t,o,c,u){if(e!==zi.Attribute&&e!==zi.ClassName&&e!==zi.StyleProperty&&this.isKnown(e,t))return;if("ngProjectAs"===t){if(null===o||!(o instanceof ui)||null==o.value||"string"!=typeof o.value?.toString())throw Error("ngProjectAs must have a string literal value");this.projectAs=o.value.toString()}const k=this.arrayFor(e);if(k.push(...function ef(n,e){const t=$t(e);return n?[$t(0),$t(n),t]:[t]}(c,t)),e===zi.Attribute||e===zi.StyleProperty){if(null===o)throw Error("Attribute, i18n attribute, & style element attributes must have a value");null!==u&&qh(o)?k.push(function yo(n,e,t,o){return new Ti(n,e,t,o)}(u,new sr([new pr(o.value)],[]),void 0,o.sourceSpan)):k.push(o)}}arrayFor(e){return e===zi.Property||e===zi.TwoWayProperty?(this.propertyBindings??=[],this.propertyBindings):(this.byKind.has(e)||this.byKind.set(e,[]),this.byKind.get(e))}}function tf({attributes:n,bindings:e,classes:t,i18n:o,projectAs:c,styles:u,template:v}){const k=[...n];if(null!==c){const ae=ce(c)[0];k.push($t(5),dc(ae))}return t.length>0&&k.push($t(1),...t),u.length>0&&k.push($t(2),...u),e.length>0&&k.push($t(3),...e),v.length>0&&k.push($t(4),...v),o.length>0&&k.push($t(6),...o),Fi(k)}const Hv=new Map([["formField",new Set([Ue.Property])],["formControl",new Set([Ue.Property])],["formControlName",new Set([Ue.Property,Ue.Attribute])],["ngModel",new Set([Ue.Attribute,Ue.Property,Ue.TwoWayProperty])]]);function o0(n){for(const e of n.update){if(e.kind!==Ue.Property&&e.kind!==Ue.TwoWayProperty&&e.kind!==Ue.Attribute)continue;const t=Hv.get(e.name);void 0!==t&&t.has(e.kind)&&nf(n,e)}}const u_=new Set([Ue.Container,Ue.ContainerStart,Ue.ContainerEnd,Ue.Element,Ue.ElementStart,Ue.ElementEnd,Ue.Template]);function gs(n){return u_.has(n.kind)}function nf(n,e){const t=function ga(n,e){let t=null;for(const o of n.create)!gs(o)||o.xref!==e||(t=o);return t}(n,e.target);if(null===t)return;const o=function qp(n){return{kind:Ue.ControlCreate,sourceSpan:n,...dr}}(e.sourceSpan);Pn.insertAfter(o,t),Pn.insertAfter(function um(n,e){return{kind:Ue.Control,sourceSpan:e,target:n,...Bc,...dr}}(e.target,e.sourceSpan),e)}function d_(n,e){const t=n.get(e);if(void 0===t)throw new Error("All attributes should have an element-like target.");return t}function a0(n){if(0===n.animationBindingKind)return function zb(n,e,t,o,c,u){return{kind:Ue.AnimationString,name:n,target:e,animationKind:t,expression:o,i18nMessage:null,securityContext:c,sanitizer:null,sourceSpan:u,...dr}}(n.name,n.target,"animate.enter"===n.name?"enter":"leave",n.expression,n.securityContext,n.sourceSpan);{const e=n.expression;return function Pv(n,e,t,o,c,u){const v=new Pn;return v.push(o),{kind:Ue.Animation,name:n,target:e,animationKind:t,handlerOps:v,handlerFnName:null,i18nMessage:null,securityContext:c,sanitizer:null,sourceSpan:u,...dr}}(n.name,n.target,"animate.enter"===n.name?"enter":"leave",[xc(new In(e,e.sourceSpan))],n.securityContext,n.sourceSpan)}}let Mw=class{targets=new Map};const Gv=new Map([[Ue.ElementEnd,[Ue.ElementStart,Ue.Element]],[Ue.ContainerEnd,[Ue.ContainerStart,Ue.Container]],[Ue.I18nEnd,[Ue.I18nStart,Ue.I18n]]]),wm=new Set([Ue.Pipe]);function Ya(n){return n instanceof zt?Ya(n.expr):n instanceof Bt?Ya(n.lhs)||Ya(n.rhs):n instanceof qr?!(!n.falseCase||!Ya(n.falseCase))||(Ya(n.condition)||Ya(n.trueCase)):n instanceof wr?Ya(n.condition):n instanceof Fl?Ya(n.expr):n instanceof _n?Ya(n.receiver):n instanceof Kn?Ya(n.receiver)||Ya(n.index):n instanceof pt||n instanceof Kd?Ya(n.expr):n instanceof Jn||n instanceof pn||n instanceof Hi||n instanceof Hd}function ep(n,e,t){let o;if(Ya(n)){const c=t.job.allocateXrefId();o=[new Fl(n,c),new eu(c)]}else o=[n,n.clone()],function Sm(n,e,t){return Bi(n,o=>{if(o instanceof Fl&&e.has(o.xref)){const c=new eu(o.xref);return new Fl(c,c.xref)}return o},Ur.None),n}(o[1],function p_(n){const e=new Set;return Bi(n,t=>(t instanceof Fl&&e.add(t.xref),t),Ur.None),e}(o[0]));return new Gd(o[0],e(o[1]))}function iu(n){return function rf(n){return n instanceof fd||n instanceof md||n instanceof Jn&&n.isOptional}(n)||function Xv(n){return n instanceof _n||n instanceof Kn||n instanceof Jn&&!n.isOptional}(n)}function Zp(n,e,t){if(n instanceof Kd)return n.expr;if(!e.job.legacyOptionalChaining&&0===(t&Ur.InSafeNavigationMigration))return n instanceof fd?new _n(n.receiver,n.name,null,n.sourceSpan,[],!0):n instanceof md?new Kn(n.receiver,n.index,null,n.sourceSpan,[],!0):n;if(!iu(n))return n;const c=function ao(n){if(iu(n)&&n.receiver instanceof Gd){let e=n.receiver;for(;e.expr instanceof Gd;)e=e.expr;return e}return null}(n);if(c){if(n instanceof Jn&&!n.isOptional)return c.expr=c.expr.callFn(n.args),n.receiver;if(n instanceof _n)return c.expr=c.expr.prop(n.name),n.receiver;if(n instanceof Kn)return c.expr=c.expr.key(n.index),n.receiver;if(n instanceof Jn&&n.isOptional)return c.expr=ep(c.expr,u=>u.callFn(n.args),e),n.receiver;if(n instanceof fd)return c.expr=ep(c.expr,u=>u.prop(n.name),e),n.receiver;if(n instanceof md)return c.expr=ep(c.expr,u=>u.key(n.index),e),n.receiver}else{if(n instanceof Jn&&n.isOptional)return ep(n.receiver,u=>u.callFn(n.args),e);if(n instanceof fd)return ep(n.receiver,u=>u.prop(n.name),e);if(n instanceof md)return ep(n.receiver,u=>u.key(n.index),e)}return n}function _l(n){return n instanceof Gd?new pt(new qr(new Bt(lt.Equals,n.guard,Ki),Ki,n.expr)):n}function p0(n,e,t){let o=Qv(e.params);const c=Qv(e.postprocessingParams);let u=[...e.params.values()].some(v=>v.length>1);return function n_(n,e,t,o,c,u,v,k){return{kind:Ue.I18nMessage,xref:n,i18nContext:e,i18nBlock:t,message:o,messagePlaceholder:c,params:u,postprocessingParams:v,needsPostprocessing:k,subMessages:[],...dr}}(n.allocateXrefId(),e.xref,e.i18nBlock,e.message,null,o,c,u)}function of(n){if(n.strings.length!==n.expressionPlaceholders.length+1)throw Error(`AssertionError: Invalid ICU placeholder with ${n.strings.length} strings and ${n.expressionPlaceholders.length} expressions`);const e=n.expressionPlaceholders.map(Jp);return n.strings.flatMap((t,o)=>[t,e[o]||""]).join("")}function Qv(n){const e=new Map;for(const[t,o]of n){const c=h0(o);null!==c&&e.set(t,$t(c))}return e}function h0(n){if(0===n.length)return null;const e=n.map(t=>Jp(t));return 1===e.length?e[0]:`[${e.join("|")}]`}function Jp(n){if(n.flags&To.ElementTag&&n.flags&To.TemplateTag){if("object"!=typeof n.value)throw Error("AssertionError: Expected i18n param value to have an element and template slot");const c=Jp({...n,value:n.value.element,flags:n.flags&~To.TemplateTag}),u=Jp({...n,value:n.value.template,flags:n.flags&~To.ElementTag});return n.flags&To.OpenTag&&n.flags&To.CloseTag?`${u}${c}${u}`:n.flags&To.CloseTag?`${c}${u}`:`${u}${c}`}if(n.flags&To.OpenTag&&n.flags&To.CloseTag)return`${Jp({...n,flags:n.flags&~To.CloseTag})}${Jp({...n,flags:n.flags&~To.OpenTag})}`;if(n.flags===To.None)return`${n.value}`;let e="",t="";n.flags&To.ElementTag?e="#":n.flags&To.TemplateTag&&(e="*"),""!==e&&(t=n.flags&To.CloseTag?"/":"");const o=null===n.subTemplateIndex?"":`:${n.subTemplateIndex}`;return`\ufffd${t}${e}${n.value}${o}\ufffd`}function f_(n,e){Ss(e,(t,o)=>{if(!(t instanceof Ar)||o&Ur.InChildOperation)return t;if(Array.isArray(t.body))throw new Error("AssertionError: unexpected multi-line arrow function");const c=new Kp(t.params,t.body);return n.functions.add(c),c},Ur.None)}function tp(n,e){const t=np(n,e);for(const o of n.create)switch(o.kind){case Ue.ConditionalCreate:case Ue.ConditionalBranchCreate:case Ue.Template:tp(n.job.views.get(o.xref),t);break;case Ue.Projection:null!==o.fallbackView&&tp(n.job.views.get(o.fallbackView),t);break;case Ue.RepeaterCreate:tp(n.job.views.get(o.xref),t),o.emptyView&&tp(n.job.views.get(o.emptyView),t),null!==o.trackByOps&&o.trackByOps.prepend(eh(n,t,!1));break;case Ue.Animation:case Ue.AnimationListener:case Ue.Listener:case Ue.TwoWayListener:o.handlerOps.prepend(eh(n,t,!0))}n.create.prepend(eh(n,t,!1)),n.update.prepend(eh(n,t,!1));for(const o of n.functions)o.ops.prepend(eh(n,np(n,e),!0))}function np(n,e){const t={view:n.xref,viewContextVariable:{kind:ta.Context,name:null,view:n.xref},contextVariables:new Map,aliases:n.aliases,references:[],letDeclarations:[],parent:e};for(const o of n.contextVariables.keys())t.contextVariables.set(o,{kind:ta.Identifier,name:null,identifier:o,local:!1});for(const o of n.create)switch(o.kind){case Ue.ElementStart:case Ue.ConditionalCreate:case Ue.ConditionalBranchCreate:case Ue.Template:if(!Array.isArray(o.localRefs))throw new Error("AssertionError: expected localRefs to be an array");for(let c=0;c<o.localRefs.length;c++)t.references.push({name:o.localRefs[c].name,targetId:o.xref,targetSlot:o.handle,offset:c,variable:{kind:ta.Identifier,name:null,identifier:o.localRefs[c].name,local:!1}});break;case Ue.DeclareLet:t.letDeclarations.push({targetId:o.xref,targetSlot:o.handle,variable:{kind:ta.Identifier,name:null,identifier:o.declaredName,local:!1}})}return t}function eh(n,e,t){const o=[];e.view!==n.xref&&o.push(Jl(n.job.allocateXrefId(),e.viewContextVariable,new jp,lc.None));const c=n.job.views.get(e.view);for(const[u,v]of c.contextVariables){const k=new $u(e.view);let ae;ae=v===r_?k:"number"==typeof v?new Kn(k,$t(v)):new _n(k,v),o.push(Jl(n.job.allocateXrefId(),e.contextVariables.get(u),ae,lc.None))}for(const u of c.aliases)o.push(Jl(n.job.allocateXrefId(),u,u.expression.clone(),lc.AlwaysInline));for(const u of e.references)o.push(Jl(n.job.allocateXrefId(),u.variable,new Xh(u.targetId,u.targetSlot,u.offset),lc.None));if(e.view!==n.xref||t)for(const u of e.letDeclarations)o.push(Jl(n.job.allocateXrefId(),u.variable,new $p(u.targetId,u.targetSlot),lc.None));return null!==e.parent&&o.push(...eh(n,e.parent,!1)),o}const Im="!important";function m_(n){return n.startsWith("--")}function ey(n){return n.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+"-"+e.charAt(1)).toLowerCase()}function g_(n){const e=n.indexOf("!important");-1!==e&&(n=e>0?n.substring(0,e):"");let t=null,o=n;const c=n.lastIndexOf(".");return c>0&&(t=n.slice(c+1),o=n.substring(0,c)),{property:o,suffix:t}}function wd(n,e=!1){return ir(Object.keys(n).map(t=>({key:t,quoted:e,value:n[t]})))}const Aw=new class sf{visitText(e){return e.value}visitContainer(e){return e.children.map(t=>t.visit(this)).join("")}visitIcu(e){const t=Object.keys(e.cases).map(c=>`${c} {${e.cases[c].visit(this)}}`);return`{${e.expressionPlaceholder}, ${e.type}, ${t.join(" ")}}`}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(t=>t.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitBlockPlaceholder(e){return`${this.formatPh(e.startName)}${e.children.map(t=>t.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}formatPh(e){return`{${Ru(e,!1)}}`}};function ty(n){return n.visit(Aw)}class Sd{sourceSpan;i18n;constructor(e,t){this.sourceSpan=e,this.i18n=t}}class Du extends Sd{value;tokens;constructor(e,t,o,c){super(t,c),this.value=e,this.tokens=o}visit(e,t){return e.visitText(this,t)}}class ip extends Sd{switchValue;type;cases;switchValueSourceSpan;constructor(e,t,o,c,u,v){super(c,v),this.switchValue=e,this.type=t,this.cases=o,this.switchValueSourceSpan=u}visit(e,t){return e.visitExpansion(this,t)}}class Mm{value;expression;sourceSpan;valueSourceSpan;expSourceSpan;constructor(e,t,o,c,u){this.value=e,this.expression=t,this.sourceSpan=o,this.valueSourceSpan=c,this.expSourceSpan=u}visit(e,t){return e.visitExpansionCase(this,t)}}class af extends Sd{name;value;keySpan;valueSpan;valueTokens;constructor(e,t,o,c,u,v,k){super(o,k),this.name=e,this.value=t,this.keySpan=c,this.valueSpan=u,this.valueTokens=v}visit(e,t){return e.visitAttribute(this,t)}}class _0{value;type;sourceSpan;constructor(e,t,o){this.value=e,this.type=t,this.sourceSpan=o}visit(e,t){return e.visitStartTagComment?e.visitStartTagComment(this,t):void 0}}class vl extends Sd{name;attrs;directives;children;isSelfClosing;startSourceSpan;endSourceSpan;isVoid;comments;constructor(e,t,o,c,u,v,k,ae=null,me,Ve,it=[]){super(v,Ve),this.name=e,this.attrs=t,this.directives=o,this.children=c,this.isSelfClosing=u,this.startSourceSpan=k,this.endSourceSpan=ae,this.isVoid=me,this.comments=it}visit(e,t){return e.visitElement(this,t)}}class Wl{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitComment(this,t)}}class yl extends Sd{name;parameters;children;nameSpan;startSourceSpan;endSourceSpan;constructor(e,t,o,c,u,v,k=null,ae){super(c,ae),this.name=e,this.parameters=t,this.children=o,this.nameSpan=u,this.startSourceSpan=v,this.endSourceSpan=k}visit(e,t){return e.visitBlock(this,t)}}class Cc extends Sd{componentName;tagName;fullName;attrs;directives;children;isSelfClosing;startSourceSpan;endSourceSpan;comments;constructor(e,t,o,c,u,v,k,ae,me,Ve=null,it,Gt=[]){super(ae,it),this.componentName=e,this.tagName=t,this.fullName=o,this.attrs=c,this.directives=u,this.children=v,this.isSelfClosing=k,this.startSourceSpan=me,this.endSourceSpan=Ve,this.comments=Gt}visit(e,t){return e.visitComponent(this,t)}}class __{name;attrs;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,o,c,u=null){this.name=e,this.attrs=t,this.sourceSpan=o,this.startSourceSpan=c,this.endSourceSpan=u}visit(e,t){return e.visitDirective(this,t)}}class ny{expression;sourceSpan;constructor(e,t){this.expression=e,this.sourceSpan=t}visit(e,t){return e.visitBlockParameter(this,t)}}class v0{name;value;sourceSpan;nameSpan;valueSpan;constructor(e,t,o,c,u){this.name=e,this.value=t,this.sourceSpan=o,this.nameSpan=c,this.valueSpan=u}visit(e,t){return e.visitLetDeclaration(this,t)}}function gr(n,e,t=null){const o=[],c=n.visit?u=>n.visit(u,t)||u.visit(n,t):u=>u.visit(n,t);return e.forEach(u=>{const v=c(u);v&&o.push(v)}),o}const cf={AElig:"\xc6",AMP:"&",amp:"&",Aacute:"\xc1",Abreve:"\u0102",Acirc:"\xc2",Acy:"\u0410",Afr:"\u{1d504}",Agrave:"\xc0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2a53",Aogon:"\u0104",Aopf:"\u{1d538}",ApplyFunction:"\u2061",af:"\u2061",Aring:"\xc5",angst:"\xc5",Ascr:"\u{1d49c}",Assign:"\u2254",colone:"\u2254",coloneq:"\u2254",Atilde:"\xc3",Auml:"\xc4",Backslash:"\u2216",setminus:"\u2216",setmn:"\u2216",smallsetminus:"\u2216",ssetmn:"\u2216",Barv:"\u2ae7",Barwed:"\u2306",doublebarwedge:"\u2306",Bcy:"\u0411",Because:"\u2235",becaus:"\u2235",because:"\u2235",Bernoullis:"\u212c",Bscr:"\u212c",bernou:"\u212c",Beta:"\u0392",Bfr:"\u{1d505}",Bopf:"\u{1d539}",Breve:"\u02d8",breve:"\u02d8",Bumpeq:"\u224e",HumpDownHump:"\u224e",bump:"\u224e",CHcy:"\u0427",COPY:"\xa9",copy:"\xa9",Cacute:"\u0106",Cap:"\u22d2",CapitalDifferentialD:"\u2145",DD:"\u2145",Cayleys:"\u212d",Cfr:"\u212d",Ccaron:"\u010c",Ccedil:"\xc7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010a",Cedilla:"\xb8",cedil:"\xb8",CenterDot:"\xb7",centerdot:"\xb7",middot:"\xb7",Chi:"\u03a7",CircleDot:"\u2299",odot:"\u2299",CircleMinus:"\u2296",ominus:"\u2296",CirclePlus:"\u2295",oplus:"\u2295",CircleTimes:"\u2297",otimes:"\u2297",ClockwiseContourIntegral:"\u2232",cwconint:"\u2232",CloseCurlyDoubleQuote:"\u201d",rdquo:"\u201d",rdquor:"\u201d",CloseCurlyQuote:"\u2019",rsquo:"\u2019",rsquor:"\u2019",Colon:"\u2237",Proportion:"\u2237",Colone:"\u2a74",Congruent:"\u2261",equiv:"\u2261",Conint:"\u222f",DoubleContourIntegral:"\u222f",ContourIntegral:"\u222e",conint:"\u222e",oint:"\u222e",Copf:"\u2102",complexes:"\u2102",Coproduct:"\u2210",coprod:"\u2210",CounterClockwiseContourIntegral:"\u2233",awconint:"\u2233",Cross:"\u2a2f",Cscr:"\u{1d49e}",Cup:"\u22d3",CupCap:"\u224d",asympeq:"\u224d",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040f",Dagger:"\u2021",ddagger:"\u2021",Darr:"\u21a1",Dashv:"\u2ae4",DoubleLeftTee:"\u2ae4",Dcaron:"\u010e",Dcy:"\u0414",Del:"\u2207",nabla:"\u2207",Delta:"\u0394",Dfr:"\u{1d507}",DiacriticalAcute:"\xb4",acute:"\xb4",DiacriticalDot:"\u02d9",dot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",dblac:"\u02dd",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"\u02dc",tilde:"\u02dc",Diamond:"\u22c4",diam:"\u22c4",diamond:"\u22c4",DifferentialD:"\u2146",dd:"\u2146",Dopf:"\u{1d53b}",Dot:"\xa8",DoubleDot:"\xa8",die:"\xa8",uml:"\xa8",DotDot:"\u20dc",DotEqual:"\u2250",doteq:"\u2250",esdot:"\u2250",DoubleDownArrow:"\u21d3",Downarrow:"\u21d3",dArr:"\u21d3",DoubleLeftArrow:"\u21d0",Leftarrow:"\u21d0",lArr:"\u21d0",DoubleLeftRightArrow:"\u21d4",Leftrightarrow:"\u21d4",hArr:"\u21d4",iff:"\u21d4",DoubleLongLeftArrow:"\u27f8",Longleftarrow:"\u27f8",xlArr:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",Longleftrightarrow:"\u27fa",xhArr:"\u27fa",DoubleLongRightArrow:"\u27f9",Longrightarrow:"\u27f9",xrArr:"\u27f9",DoubleRightArrow:"\u21d2",Implies:"\u21d2",Rightarrow:"\u21d2",rArr:"\u21d2",DoubleRightTee:"\u22a8",vDash:"\u22a8",DoubleUpArrow:"\u21d1",Uparrow:"\u21d1",uArr:"\u21d1",DoubleUpDownArrow:"\u21d5",Updownarrow:"\u21d5",vArr:"\u21d5",DoubleVerticalBar:"\u2225",par:"\u2225",parallel:"\u2225",shortparallel:"\u2225",spar:"\u2225",DownArrow:"\u2193",ShortDownArrow:"\u2193",darr:"\u2193",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",duarr:"\u21f5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",leftharpoondown:"\u21bd",lhard:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",rhard:"\u21c1",rightharpoondown:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",top:"\u22a4",DownTeeArrow:"\u21a7",mapstodown:"\u21a7",Dscr:"\u{1d49f}",Dstrok:"\u0110",ENG:"\u014a",ETH:"\xd0",Eacute:"\xc9",Ecaron:"\u011a",Ecirc:"\xca",Ecy:"\u042d",Edot:"\u0116",Efr:"\u{1d508}",Egrave:"\xc8",Element:"\u2208",in:"\u2208",isin:"\u2208",isinv:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25fb",EmptyVerySmallSquare:"\u25ab",Eogon:"\u0118",Eopf:"\u{1d53c}",Epsilon:"\u0395",Equal:"\u2a75",EqualTilde:"\u2242",eqsim:"\u2242",esim:"\u2242",Equilibrium:"\u21cc",rightleftharpoons:"\u21cc",rlhar:"\u21cc",Escr:"\u2130",expectation:"\u2130",Esim:"\u2a73",Eta:"\u0397",Euml:"\xcb",Exists:"\u2203",exist:"\u2203",ExponentialE:"\u2147",ee:"\u2147",exponentiale:"\u2147",Fcy:"\u0424",Ffr:"\u{1d509}",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",blacksquare:"\u25aa",squarf:"\u25aa",squf:"\u25aa",Fopf:"\u{1d53d}",ForAll:"\u2200",forall:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",gt:">",Gamma:"\u0393",Gammad:"\u03dc",Gbreve:"\u011e",Gcedil:"\u0122",Gcirc:"\u011c",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1d50a}",Gg:"\u22d9",ggg:"\u22d9",Gopf:"\u{1d53e}",GreaterEqual:"\u2265",ge:"\u2265",geq:"\u2265",GreaterEqualLess:"\u22db",gel:"\u22db",gtreqless:"\u22db",GreaterFullEqual:"\u2267",gE:"\u2267",geqq:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",gl:"\u2277",gtrless:"\u2277",GreaterSlantEqual:"\u2a7e",geqslant:"\u2a7e",ges:"\u2a7e",GreaterTilde:"\u2273",gsim:"\u2273",gtrsim:"\u2273",Gscr:"\u{1d4a2}",Gt:"\u226b",NestedGreaterGreater:"\u226b",gg:"\u226b",HARDcy:"\u042a",Hacek:"\u02c7",caron:"\u02c7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210c",Poincareplane:"\u210c",HilbertSpace:"\u210b",Hscr:"\u210b",hamilt:"\u210b",Hopf:"\u210d",quaternions:"\u210d",HorizontalLine:"\u2500",boxh:"\u2500",Hstrok:"\u0126",HumpEqual:"\u224f",bumpe:"\u224f",bumpeq:"\u224f",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xcd",Icirc:"\xce",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Im:"\u2111",image:"\u2111",imagpart:"\u2111",Igrave:"\xcc",Imacr:"\u012a",ImaginaryI:"\u2148",ii:"\u2148",Int:"\u222c",Integral:"\u222b",int:"\u222b",Intersection:"\u22c2",bigcap:"\u22c2",xcap:"\u22c2",InvisibleComma:"\u2063",ic:"\u2063",InvisibleTimes:"\u2062",it:"\u2062",Iogon:"\u012e",Iopf:"\u{1d540}",Iota:"\u0399",Iscr:"\u2110",imagline:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xcf",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1d50d}",Jopf:"\u{1d541}",Jscr:"\u{1d4a5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040c",Kappa:"\u039a",Kcedil:"\u0136",Kcy:"\u041a",Kfr:"\u{1d50e}",Kopf:"\u{1d542}",Kscr:"\u{1d4a6}",LJcy:"\u0409",LT:"<",lt:"<",Lacute:"\u0139",Lambda:"\u039b",Lang:"\u27ea",Laplacetrf:"\u2112",Lscr:"\u2112",lagran:"\u2112",Larr:"\u219e",twoheadleftarrow:"\u219e",Lcaron:"\u013d",Lcedil:"\u013b",Lcy:"\u041b",LeftAngleBracket:"\u27e8",lang:"\u27e8",langle:"\u27e8",LeftArrow:"\u2190",ShortLeftArrow:"\u2190",larr:"\u2190",leftarrow:"\u2190",slarr:"\u2190",LeftArrowBar:"\u21e4",larrb:"\u21e4",LeftArrowRightArrow:"\u21c6",leftrightarrows:"\u21c6",lrarr:"\u21c6",LeftCeiling:"\u2308",lceil:"\u2308",LeftDoubleBracket:"\u27e6",lobrk:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",dharl:"\u21c3",downharpoonleft:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",lfloor:"\u230a",LeftRightArrow:"\u2194",harr:"\u2194",leftrightarrow:"\u2194",LeftRightVector:"\u294e",LeftTee:"\u22a3",dashv:"\u22a3",LeftTeeArrow:"\u21a4",mapstoleft:"\u21a4",LeftTeeVector:"\u295a",LeftTriangle:"\u22b2",vartriangleleft:"\u22b2",vltri:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",ltrie:"\u22b4",trianglelefteq:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",uharl:"\u21bf",upharpoonleft:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",leftharpoonup:"\u21bc",lharu:"\u21bc",LeftVectorBar:"\u2952",LessEqualGreater:"\u22da",leg:"\u22da",lesseqgtr:"\u22da",LessFullEqual:"\u2266",lE:"\u2266",leqq:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",lg:"\u2276",LessLess:"\u2aa1",LessSlantEqual:"\u2a7d",leqslant:"\u2a7d",les:"\u2a7d",LessTilde:"\u2272",lesssim:"\u2272",lsim:"\u2272",Lfr:"\u{1d50f}",Ll:"\u22d8",Lleftarrow:"\u21da",lAarr:"\u21da",Lmidot:"\u013f",LongLeftArrow:"\u27f5",longleftarrow:"\u27f5",xlarr:"\u27f5",LongLeftRightArrow:"\u27f7",longleftrightarrow:"\u27f7",xharr:"\u27f7",LongRightArrow:"\u27f6",longrightarrow:"\u27f6",xrarr:"\u27f6",Lopf:"\u{1d543}",LowerLeftArrow:"\u2199",swarr:"\u2199",swarrow:"\u2199",LowerRightArrow:"\u2198",searr:"\u2198",searrow:"\u2198",Lsh:"\u21b0",lsh:"\u21b0",Lstrok:"\u0141",Lt:"\u226a",NestedLessLess:"\u226a",ll:"\u226a",Map:"\u2905",Mcy:"\u041c",MediumSpace:"\u205f",Mellintrf:"\u2133",Mscr:"\u2133",phmmat:"\u2133",Mfr:"\u{1d510}",MinusPlus:"\u2213",mnplus:"\u2213",mp:"\u2213",Mopf:"\u{1d544}",Mu:"\u039c",NJcy:"\u040a",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041d",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",ZeroWidthSpace:"\u200b",NewLine:"\n",Nfr:"\u{1d511}",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nbsp:"\xa0",Nopf:"\u2115",naturals:"\u2115",Not:"\u2aec",NotCongruent:"\u2262",nequiv:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",npar:"\u2226",nparallel:"\u2226",nshortparallel:"\u2226",nspar:"\u2226",NotElement:"\u2209",notin:"\u2209",notinva:"\u2209",NotEqual:"\u2260",ne:"\u2260",NotEqualTilde:"\u2242\u0338",nesim:"\u2242\u0338",NotExists:"\u2204",nexist:"\u2204",nexists:"\u2204",NotGreater:"\u226f",ngt:"\u226f",ngtr:"\u226f",NotGreaterEqual:"\u2271",nge:"\u2271",ngeq:"\u2271",NotGreaterFullEqual:"\u2267\u0338",ngE:"\u2267\u0338",ngeqq:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",nGtv:"\u226b\u0338",NotGreaterLess:"\u2279",ntgl:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",NotGreaterTilde:"\u2275",ngsim:"\u2275",NotHumpDownHump:"\u224e\u0338",nbump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",nbumpe:"\u224f\u0338",NotLeftTriangle:"\u22ea",nltri:"\u22ea",ntriangleleft:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",nltrie:"\u22ec",ntrianglelefteq:"\u22ec",NotLess:"\u226e",nless:"\u226e",nlt:"\u226e",NotLessEqual:"\u2270",nle:"\u2270",nleq:"\u2270",NotLessGreater:"\u2278",ntlg:"\u2278",NotLessLess:"\u226a\u0338",nLtv:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",NotLessTilde:"\u2274",nlsim:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",NotPrecedes:"\u2280",npr:"\u2280",nprec:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",npre:"\u2aaf\u0338",npreceq:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",nprcue:"\u22e0",NotReverseElement:"\u220c",notni:"\u220c",notniva:"\u220c",NotRightTriangle:"\u22eb",nrtri:"\u22eb",ntriangleright:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",nrtrie:"\u22ed",ntrianglerighteq:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",nsqsube:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",nsqsupe:"\u22e3",NotSubset:"\u2282\u20d2",nsubset:"\u2282\u20d2",vnsub:"\u2282\u20d2",NotSubsetEqual:"\u2288",nsube:"\u2288",nsubseteq:"\u2288",NotSucceeds:"\u2281",nsc:"\u2281",nsucc:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",nsce:"\u2ab0\u0338",nsucceq:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",nsccue:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",nsupset:"\u2283\u20d2",vnsup:"\u2283\u20d2",NotSupersetEqual:"\u2289",nsupe:"\u2289",nsupseteq:"\u2289",NotTilde:"\u2241",nsim:"\u2241",NotTildeEqual:"\u2244",nsime:"\u2244",nsimeq:"\u2244",NotTildeFullEqual:"\u2247",ncong:"\u2247",NotTildeTilde:"\u2249",nap:"\u2249",napprox:"\u2249",NotVerticalBar:"\u2224",nmid:"\u2224",nshortmid:"\u2224",nsmid:"\u2224",Nscr:"\u{1d4a9}",Ntilde:"\xd1",Nu:"\u039d",OElig:"\u0152",Oacute:"\xd3",Ocirc:"\xd4",Ocy:"\u041e",Odblac:"\u0150",Ofr:"\u{1d512}",Ograve:"\xd2",Omacr:"\u014c",Omega:"\u03a9",ohm:"\u03a9",Omicron:"\u039f",Oopf:"\u{1d546}",OpenCurlyDoubleQuote:"\u201c",ldquo:"\u201c",OpenCurlyQuote:"\u2018",lsquo:"\u2018",Or:"\u2a54",Oscr:"\u{1d4aa}",Oslash:"\xd8",Otilde:"\xd5",Otimes:"\u2a37",Ouml:"\xd6",OverBar:"\u203e",oline:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",tbrk:"\u23b4",OverParenthesis:"\u23dc",PartialD:"\u2202",part:"\u2202",Pcy:"\u041f",Pfr:"\u{1d513}",Phi:"\u03a6",Pi:"\u03a0",PlusMinus:"\xb1",plusmn:"\xb1",pm:"\xb1",Popf:"\u2119",primes:"\u2119",Pr:"\u2abb",Precedes:"\u227a",pr:"\u227a",prec:"\u227a",PrecedesEqual:"\u2aaf",pre:"\u2aaf",preceq:"\u2aaf",PrecedesSlantEqual:"\u227c",prcue:"\u227c",preccurlyeq:"\u227c",PrecedesTilde:"\u227e",precsim:"\u227e",prsim:"\u227e",Prime:"\u2033",Product:"\u220f",prod:"\u220f",Proportional:"\u221d",prop:"\u221d",propto:"\u221d",varpropto:"\u221d",vprop:"\u221d",Pscr:"\u{1d4ab}",Psi:"\u03a8",QUOT:'"',quot:'"',Qfr:"\u{1d514}",Qopf:"\u211a",rationals:"\u211a",Qscr:"\u{1d4ac}",RBarr:"\u2910",drbkarow:"\u2910",REG:"\xae",circledR:"\xae",reg:"\xae",Racute:"\u0154",Rang:"\u27eb",Rarr:"\u21a0",twoheadrightarrow:"\u21a0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211c",Rfr:"\u211c",real:"\u211c",realpart:"\u211c",ReverseElement:"\u220b",SuchThat:"\u220b",ni:"\u220b",niv:"\u220b",ReverseEquilibrium:"\u21cb",leftrightharpoons:"\u21cb",lrhar:"\u21cb",ReverseUpEquilibrium:"\u296f",duhar:"\u296f",Rho:"\u03a1",RightAngleBracket:"\u27e9",rang:"\u27e9",rangle:"\u27e9",RightArrow:"\u2192",ShortRightArrow:"\u2192",rarr:"\u2192",rightarrow:"\u2192",srarr:"\u2192",RightArrowBar:"\u21e5",rarrb:"\u21e5",RightArrowLeftArrow:"\u21c4",rightleftarrows:"\u21c4",rlarr:"\u21c4",RightCeiling:"\u2309",rceil:"\u2309",RightDoubleBracket:"\u27e7",robrk:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",dharr:"\u21c2",downharpoonright:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rfloor:"\u230b",RightTee:"\u22a2",vdash:"\u22a2",RightTeeArrow:"\u21a6",map:"\u21a6",mapsto:"\u21a6",RightTeeVector:"\u295b",RightTriangle:"\u22b3",vartriangleright:"\u22b3",vrtri:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",rtrie:"\u22b5",trianglerighteq:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",uharr:"\u21be",upharpoonright:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",rharu:"\u21c0",rightharpoonup:"\u21c0",RightVectorBar:"\u2953",Ropf:"\u211d",reals:"\u211d",RoundImplies:"\u2970",Rrightarrow:"\u21db",rAarr:"\u21db",Rscr:"\u211b",realine:"\u211b",Rsh:"\u21b1",rsh:"\u21b1",RuleDelayed:"\u29f4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042c",Sacute:"\u015a",Sc:"\u2abc",Scaron:"\u0160",Scedil:"\u015e",Scirc:"\u015c",Scy:"\u0421",Sfr:"\u{1d516}",ShortUpArrow:"\u2191",UpArrow:"\u2191",uarr:"\u2191",uparrow:"\u2191",Sigma:"\u03a3",SmallCircle:"\u2218",compfn:"\u2218",Sopf:"\u{1d54a}",Sqrt:"\u221a",radic:"\u221a",Square:"\u25a1",squ:"\u25a1",square:"\u25a1",SquareIntersection:"\u2293",sqcap:"\u2293",SquareSubset:"\u228f",sqsub:"\u228f",sqsubset:"\u228f",SquareSubsetEqual:"\u2291",sqsube:"\u2291",sqsubseteq:"\u2291",SquareSuperset:"\u2290",sqsup:"\u2290",sqsupset:"\u2290",SquareSupersetEqual:"\u2292",sqsupe:"\u2292",sqsupseteq:"\u2292",SquareUnion:"\u2294",sqcup:"\u2294",Sscr:"\u{1d4ae}",Star:"\u22c6",sstarf:"\u22c6",Sub:"\u22d0",Subset:"\u22d0",SubsetEqual:"\u2286",sube:"\u2286",subseteq:"\u2286",Succeeds:"\u227b",sc:"\u227b",succ:"\u227b",SucceedsEqual:"\u2ab0",sce:"\u2ab0",succeq:"\u2ab0",SucceedsSlantEqual:"\u227d",sccue:"\u227d",succcurlyeq:"\u227d",SucceedsTilde:"\u227f",scsim:"\u227f",succsim:"\u227f",Sum:"\u2211",sum:"\u2211",Sup:"\u22d1",Supset:"\u22d1",Superset:"\u2283",sup:"\u2283",supset:"\u2283",SupersetEqual:"\u2287",supe:"\u2287",supseteq:"\u2287",THORN:"\xde",TRADE:"\u2122",trade:"\u2122",TSHcy:"\u040b",TScy:"\u0426",Tab:"\t",Tau:"\u03a4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1d517}",Therefore:"\u2234",there4:"\u2234",therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",thinsp:"\u2009",Tilde:"\u223c",sim:"\u223c",thicksim:"\u223c",thksim:"\u223c",TildeEqual:"\u2243",sime:"\u2243",simeq:"\u2243",TildeFullEqual:"\u2245",cong:"\u2245",TildeTilde:"\u2248",ap:"\u2248",approx:"\u2248",asymp:"\u2248",thickapprox:"\u2248",thkap:"\u2248",Topf:"\u{1d54b}",TripleDot:"\u20db",tdot:"\u20db",Tscr:"\u{1d4af}",Tstrok:"\u0166",Uacute:"\xda",Uarr:"\u219f",Uarrocir:"\u2949",Ubrcy:"\u040e",Ubreve:"\u016c",Ucirc:"\xdb",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1d518}",Ugrave:"\xd9",Umacr:"\u016a",UnderBar:"_",lowbar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",bbrk:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",bigcup:"\u22c3",xcup:"\u22c3",UnionPlus:"\u228e",uplus:"\u228e",Uogon:"\u0172",Uopf:"\u{1d54c}",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",udarr:"\u21c5",UpDownArrow:"\u2195",updownarrow:"\u2195",varr:"\u2195",UpEquilibrium:"\u296e",udhar:"\u296e",UpTee:"\u22a5",bot:"\u22a5",bottom:"\u22a5",perp:"\u22a5",UpTeeArrow:"\u21a5",mapstoup:"\u21a5",UpperLeftArrow:"\u2196",nwarr:"\u2196",nwarrow:"\u2196",UpperRightArrow:"\u2197",nearr:"\u2197",nearrow:"\u2197",Upsi:"\u03d2",upsih:"\u03d2",Upsilon:"\u03a5",Uring:"\u016e",Uscr:"\u{1d4b0}",Utilde:"\u0168",Uuml:"\xdc",VDash:"\u22ab",Vbar:"\u2aeb",Vcy:"\u0412",Vdash:"\u22a9",Vdashl:"\u2ae6",Vee:"\u22c1",bigvee:"\u22c1",xvee:"\u22c1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",mid:"\u2223",shortmid:"\u2223",smid:"\u2223",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",VeryThinSpace:"\u200a",hairsp:"\u200a",Vfr:"\u{1d519}",Vopf:"\u{1d54d}",Vscr:"\u{1d4b1}",Vvdash:"\u22aa",Wcirc:"\u0174",Wedge:"\u22c0",bigwedge:"\u22c0",xwedge:"\u22c0",Wfr:"\u{1d51a}",Wopf:"\u{1d54e}",Wscr:"\u{1d4b2}",Xfr:"\u{1d51b}",Xi:"\u039e",Xopf:"\u{1d54f}",Xscr:"\u{1d4b3}",YAcy:"\u042f",YIcy:"\u0407",YUcy:"\u042e",Yacute:"\xdd",Ycirc:"\u0176",Ycy:"\u042b",Yfr:"\u{1d51c}",Yopf:"\u{1d550}",Yscr:"\u{1d4b4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017d",Zcy:"\u0417",Zdot:"\u017b",Zeta:"\u0396",Zfr:"\u2128",zeetrf:"\u2128",Zopf:"\u2124",integers:"\u2124",Zscr:"\u{1d4b5}",aacute:"\xe1",abreve:"\u0103",ac:"\u223e",mstpos:"\u223e",acE:"\u223e\u0333",acd:"\u223f",acirc:"\xe2",acy:"\u0430",aelig:"\xe6",afr:"\u{1d51e}",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",amacr:"\u0101",amalg:"\u2a3f",and:"\u2227",wedge:"\u2227",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",angle:"\u2220",ange:"\u29a4",angmsd:"\u2221",measuredangle:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angzarr:"\u237c",aogon:"\u0105",aopf:"\u{1d552}",apE:"\u2a70",apacir:"\u2a6f",ape:"\u224a",approxeq:"\u224a",apid:"\u224b",apos:"'",aring:"\xe5",ascr:"\u{1d4b6}",ast:"*",midast:"*",atilde:"\xe3",auml:"\xe4",awint:"\u2a11",bNot:"\u2aed",backcong:"\u224c",bcong:"\u224c",backepsilon:"\u03f6",bepsi:"\u03f6",backprime:"\u2035",bprime:"\u2035",backsim:"\u223d",bsim:"\u223d",backsimeq:"\u22cd",bsime:"\u22cd",barvee:"\u22bd",barwed:"\u2305",barwedge:"\u2305",bbrktbrk:"\u23b6",bcy:"\u0431",bdquo:"\u201e",ldquor:"\u201e",bemptyv:"\u29b0",beta:"\u03b2",beth:"\u2136",between:"\u226c",twixt:"\u226c",bfr:"\u{1d51f}",bigcirc:"\u25ef",xcirc:"\u25ef",bigodot:"\u2a00",xodot:"\u2a00",bigoplus:"\u2a01",xoplus:"\u2a01",bigotimes:"\u2a02",xotime:"\u2a02",bigsqcup:"\u2a06",xsqcup:"\u2a06",bigstar:"\u2605",starf:"\u2605",bigtriangledown:"\u25bd",xdtri:"\u25bd",bigtriangleup:"\u25b3",xutri:"\u25b3",biguplus:"\u2a04",xuplus:"\u2a04",bkarow:"\u290d",rbarr:"\u290d",blacklozenge:"\u29eb",lozf:"\u29eb",blacktriangle:"\u25b4",utrif:"\u25b4",blacktriangledown:"\u25be",dtrif:"\u25be",blacktriangleleft:"\u25c2",ltrif:"\u25c2",blacktriangleright:"\u25b8",rtrif:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bopf:"\u{1d553}",bowtie:"\u22c8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255d",boxUR:"\u255a",boxUl:"\u255c",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256c",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256b",boxVl:"\u2562",boxVr:"\u255f",boxbox:"\u29c9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250c",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252c",boxhu:"\u2534",boxminus:"\u229f",minusb:"\u229f",boxplus:"\u229e",plusb:"\u229e",boxtimes:"\u22a0",timesb:"\u22a0",boxuL:"\u255b",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256a",boxvL:"\u2561",boxvR:"\u255e",boxvh:"\u253c",boxvl:"\u2524",boxvr:"\u251c",brvbar:"\xa6",bscr:"\u{1d4b7}",bsemi:"\u204f",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bumpE:"\u2aae",cacute:"\u0107",cap:"\u2229",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",caps:"\u2229\ufe00",caret:"\u2041",ccaps:"\u2a4d",ccaron:"\u010d",ccedil:"\xe7",ccirc:"\u0109",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",cemptyv:"\u29b2",cent:"\xa2",cfr:"\u{1d520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",cir:"\u25cb",cirE:"\u29c3",circ:"\u02c6",circeq:"\u2257",cire:"\u2257",circlearrowleft:"\u21ba",olarr:"\u21ba",circlearrowright:"\u21bb",orarr:"\u21bb",circledS:"\u24c8",oS:"\u24c8",circledast:"\u229b",oast:"\u229b",circledcirc:"\u229a",ocir:"\u229a",circleddash:"\u229d",odash:"\u229d",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",clubs:"\u2663",clubsuit:"\u2663",colon:":",comma:",",commat:"@",comp:"\u2201",complement:"\u2201",congdot:"\u2a6d",copf:"\u{1d554}",copysr:"\u2117",crarr:"\u21b5",cross:"\u2717",cscr:"\u{1d4b8}",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",curlyeqprec:"\u22de",cuesc:"\u22df",curlyeqsucc:"\u22df",cularr:"\u21b6",curvearrowleft:"\u21b6",cularrp:"\u293d",cup:"\u222a",cupbrcap:"\u2a48",cupcap:"\u2a46",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curvearrowright:"\u21b7",curarrm:"\u293c",curlyvee:"\u22ce",cuvee:"\u22ce",curlywedge:"\u22cf",cuwed:"\u22cf",curren:"\xa4",cwint:"\u2231",cylcty:"\u232d",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",dash:"\u2010",hyphen:"\u2010",dbkarow:"\u290f",rBarr:"\u290f",dcaron:"\u010f",dcy:"\u0434",ddarr:"\u21ca",downdownarrows:"\u21ca",ddotseq:"\u2a77",eDDot:"\u2a77",deg:"\xb0",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\u{1d521}",diamondsuit:"\u2666",diams:"\u2666",digamma:"\u03dd",gammad:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",dlcorn:"\u231e",llcorner:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\u{1d555}",doteqdot:"\u2251",eDot:"\u2251",dotminus:"\u2238",minusd:"\u2238",dotplus:"\u2214",plusdo:"\u2214",dotsquare:"\u22a1",sdotb:"\u22a1",drcorn:"\u231f",lrcorner:"\u231f",drcrop:"\u230c",dscr:"\u{1d4b9}",dscy:"\u0455",dsol:"\u29f6",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",triangledown:"\u25bf",dwangle:"\u29a6",dzcy:"\u045f",dzigrarr:"\u27ff",eacute:"\xe9",easter:"\u2a6e",ecaron:"\u011b",ecir:"\u2256",eqcirc:"\u2256",ecirc:"\xea",ecolon:"\u2255",eqcolon:"\u2255",ecy:"\u044d",edot:"\u0117",efDot:"\u2252",fallingdotseq:"\u2252",efr:"\u{1d522}",eg:"\u2a9a",egrave:"\xe8",egs:"\u2a96",eqslantgtr:"\u2a96",egsdot:"\u2a98",el:"\u2a99",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",eqslantless:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014b",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1d556}",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",epsiv:"\u03f5",straightepsilon:"\u03f5",varepsilon:"\u03f5",equals:"=",equest:"\u225f",questeq:"\u225f",equivDD:"\u2a78",eqvparsl:"\u29e5",erDot:"\u2253",risingdotseq:"\u2253",erarr:"\u2971",escr:"\u212f",eta:"\u03b7",eth:"\xf0",euml:"\xeb",euro:"\u20ac",excl:"!",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\u{1d523}",filig:"\ufb01",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\u{1d557}",fork:"\u22d4",pitchfork:"\u22d4",forkv:"\u2ad9",fpartint:"\u2a0d",frac12:"\xbd",half:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",sfrown:"\u2322",fscr:"\u{1d4bb}",gEl:"\u2a8c",gtreqqless:"\u2a8c",gacute:"\u01f5",gamma:"\u03b3",gap:"\u2a86",gtrapprox:"\u2a86",gbreve:"\u011f",gcirc:"\u011d",gcy:"\u0433",gdot:"\u0121",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\u{1d524}",gimel:"\u2137",gjcy:"\u0453",glE:"\u2a92",gla:"\u2aa5",glj:"\u2aa4",gnE:"\u2269",gneqq:"\u2269",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gneq:"\u2a88",gnsim:"\u22e7",gopf:"\u{1d558}",gscr:"\u210a",gsime:"\u2a8e",gsiml:"\u2a90",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtrdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrarr:"\u2978",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",hardcy:"\u044a",harrcir:"\u2948",harrw:"\u21ad",leftrightsquigarrow:"\u21ad",hbar:"\u210f",hslash:"\u210f",planck:"\u210f",plankv:"\u210f",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",mldr:"\u2026",hercon:"\u22b9",hfr:"\u{1d525}",hksearow:"\u2925",searhk:"\u2925",hkswarow:"\u2926",swarhk:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",larrhk:"\u21a9",hookrightarrow:"\u21aa",rarrhk:"\u21aa",hopf:"\u{1d559}",horbar:"\u2015",hscr:"\u{1d4bd}",hstrok:"\u0127",hybull:"\u2043",iacute:"\xed",icirc:"\xee",icy:"\u0438",iecy:"\u0435",iexcl:"\xa1",ifr:"\u{1d526}",igrave:"\xec",iiiint:"\u2a0c",qint:"\u2a0c",iiint:"\u222d",tint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012b",imath:"\u0131",inodot:"\u0131",imof:"\u22b7",imped:"\u01b5",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",intcal:"\u22ba",intercal:"\u22ba",intlarhk:"\u2a17",intprod:"\u2a3c",iprod:"\u2a3c",iocy:"\u0451",iogon:"\u012f",iopf:"\u{1d55a}",iota:"\u03b9",iquest:"\xbf",iscr:"\u{1d4be}",isinE:"\u22f9",isindot:"\u22f5",isins:"\u22f4",isinsv:"\u22f3",itilde:"\u0129",iukcy:"\u0456",iuml:"\xef",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1d527}",jmath:"\u0237",jopf:"\u{1d55b}",jscr:"\u{1d4bf}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03ba",kappav:"\u03f0",varkappa:"\u03f0",kcedil:"\u0137",kcy:"\u043a",kfr:"\u{1d528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045c",kopf:"\u{1d55c}",kscr:"\u{1d4c0}",lAtail:"\u291b",lBarr:"\u290e",lEg:"\u2a8b",lesseqqgtr:"\u2a8b",lHar:"\u2962",lacute:"\u013a",laemptyv:"\u29b4",lambda:"\u03bb",langd:"\u2991",lap:"\u2a85",lessapprox:"\u2a85",laquo:"\xab",larrbfs:"\u291f",larrfs:"\u291d",larrlp:"\u21ab",looparrowleft:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",leftarrowtail:"\u21a2",lat:"\u2aab",latail:"\u2919",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lbbrk:"\u2772",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",lcedil:"\u013c",lcy:"\u043b",ldca:"\u2936",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",leq:"\u2264",leftleftarrows:"\u21c7",llarr:"\u21c7",leftthreetimes:"\u22cb",lthree:"\u22cb",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessdot:"\u22d6",ltdot:"\u22d6",lfisht:"\u297c",lfr:"\u{1d529}",lgE:"\u2a91",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",lmoust:"\u23b0",lmoustache:"\u23b0",lnE:"\u2268",lneqq:"\u2268",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lneq:"\u2a87",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",longmapsto:"\u27fc",xmap:"\u27fc",looparrowright:"\u21ac",rarrlp:"\u21ac",lopar:"\u2985",lopf:"\u{1d55d}",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",loz:"\u25ca",lozenge:"\u25ca",lpar:"(",lparlt:"\u2993",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\u{1d4c1}",lsime:"\u2a8d",lsimg:"\u2a8f",lsquor:"\u201a",sbquo:"\u201a",lstrok:"\u0142",ltcc:"\u2aa6",ltcir:"\u2a79",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltrPar:"\u2996",ltri:"\u25c3",triangleleft:"\u25c3",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",mDDot:"\u223a",macr:"\xaf",strns:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",mdash:"\u2014",mfr:"\u{1d52a}",mho:"\u2127",micro:"\xb5",midcir:"\u2af0",minus:"\u2212",minusdu:"\u2a2a",mlcp:"\u2adb",models:"\u22a7",mopf:"\u{1d55e}",mscr:"\u{1d4c2}",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nGg:"\u22d9\u0338",nGt:"\u226b\u20d2",nLeftarrow:"\u21cd",nlArr:"\u21cd",nLeftrightarrow:"\u21ce",nhArr:"\u21ce",nLl:"\u22d8\u0338",nLt:"\u226a\u20d2",nRightarrow:"\u21cf",nrArr:"\u21cf",nVDash:"\u22af",nVdash:"\u22ae",nacute:"\u0144",nang:"\u2220\u20d2",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",natur:"\u266e",natural:"\u266e",ncap:"\u2a43",ncaron:"\u0148",ncedil:"\u0146",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",ndash:"\u2013",neArr:"\u21d7",nearhk:"\u2924",nedot:"\u2250\u0338",nesear:"\u2928",toea:"\u2928",nfr:"\u{1d52b}",nharr:"\u21ae",nleftrightarrow:"\u21ae",nhpar:"\u2af2",nis:"\u22fc",nisd:"\u22fa",njcy:"\u045a",nlE:"\u2266\u0338",nleqq:"\u2266\u0338",nlarr:"\u219a",nleftarrow:"\u219a",nldr:"\u2025",nopf:"\u{1d55f}",not:"\xac",notinE:"\u22f9\u0338",notindot:"\u22f5\u0338",notinvb:"\u22f7",notinvc:"\u22f6",notnivb:"\u22fe",notnivc:"\u22fd",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",nrarr:"\u219b",nrightarrow:"\u219b",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nscr:"\u{1d4c3}",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsubseteqq:"\u2ac5\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupseteqq:"\u2ac6\u0338",ntilde:"\xf1",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22ad",nvHarr:"\u2904",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwArr:"\u21d6",nwarhk:"\u2923",nwnear:"\u2927",oacute:"\xf3",ocirc:"\xf4",ocy:"\u043e",odblac:"\u0151",odiv:"\u2a38",odsold:"\u29bc",oelig:"\u0153",ofcir:"\u29bf",ofr:"\u{1d52c}",ogon:"\u02db",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",olcir:"\u29be",olcross:"\u29bb",olt:"\u29c0",omacr:"\u014d",omega:"\u03c9",omicron:"\u03bf",omid:"\u29b6",oopf:"\u{1d560}",opar:"\u29b7",operp:"\u29b9",or:"\u2228",vee:"\u2228",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",oscr:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oslash:"\xf8",osol:"\u2298",otilde:"\xf5",otimesas:"\u2a36",ouml:"\xf6",ovbar:"\u233d",para:"\xb6",parsim:"\u2af3",parsl:"\u2afd",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",pertenk:"\u2031",pfr:"\u{1d52d}",phi:"\u03c6",phiv:"\u03d5",straightphi:"\u03d5",varphi:"\u03d5",phone:"\u260e",pi:"\u03c0",piv:"\u03d6",varpi:"\u03d6",planckh:"\u210e",plus:"+",plusacir:"\u2a23",pluscir:"\u2a22",plusdu:"\u2a25",pluse:"\u2a72",plussim:"\u2a26",plustwo:"\u2a27",pointint:"\u2a15",popf:"\u{1d561}",pound:"\xa3",prE:"\u2ab3",prap:"\u2ab7",precapprox:"\u2ab7",precnapprox:"\u2ab9",prnap:"\u2ab9",precneqq:"\u2ab5",prnE:"\u2ab5",precnsim:"\u22e8",prnsim:"\u22e8",prime:"\u2032",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prurel:"\u22b0",pscr:"\u{1d4c5}",psi:"\u03c8",puncsp:"\u2008",qfr:"\u{1d52e}",qopf:"\u{1d562}",qprime:"\u2057",qscr:"\u{1d4c6}",quatint:"\u2a16",quest:"?",rAtail:"\u291c",rHar:"\u2964",race:"\u223d\u0331",racute:"\u0155",raemptyv:"\u29b3",rangd:"\u2992",range:"\u29a5",raquo:"\xbb",rarrap:"\u2975",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",rightarrowtail:"\u21a3",rarrw:"\u219d",rightsquigarrow:"\u219d",ratail:"\u291a",ratio:"\u2236",rbbrk:"\u2773",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdsh:"\u21b3",rect:"\u25ad",rfisht:"\u297d",rfr:"\u{1d52f}",rharul:"\u296c",rho:"\u03c1",rhov:"\u03f1",varrho:"\u03f1",rightrightarrows:"\u21c9",rrarr:"\u21c9",rightthreetimes:"\u22cc",rthree:"\u22cc",ring:"\u02da",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",ropar:"\u2986",ropf:"\u{1d563}",roplus:"\u2a2e",rotimes:"\u2a35",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rsaquo:"\u203a",rscr:"\u{1d4c7}",rtimes:"\u22ca",rtri:"\u25b9",triangleright:"\u25b9",rtriltri:"\u29ce",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",scE:"\u2ab4",scap:"\u2ab8",succapprox:"\u2ab8",scaron:"\u0161",scedil:"\u015f",scirc:"\u015d",scnE:"\u2ab6",succneqq:"\u2ab6",scnap:"\u2aba",succnapprox:"\u2aba",scnsim:"\u22e9",succnsim:"\u22e9",scpolint:"\u2a13",scy:"\u0441",sdot:"\u22c5",sdote:"\u2a66",seArr:"\u21d8",sect:"\xa7",semi:";",seswar:"\u2929",tosa:"\u2929",sext:"\u2736",sfr:"\u{1d530}",sharp:"\u266f",shchcy:"\u0449",shcy:"\u0448",shy:"\xad",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",varsigma:"\u03c2",simdot:"\u2a6a",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",smashp:"\u2a33",smeparsl:"\u29e4",smile:"\u2323",ssmile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\u{1d564}",spades:"\u2660",spadesuit:"\u2660",sqcaps:"\u2293\ufe00",sqcups:"\u2294\ufe00",sscr:"\u{1d4c8}",star:"\u2606",sub:"\u2282",subset:"\u2282",subE:"\u2ac5",subseteqq:"\u2ac5",subdot:"\u2abd",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subsetneqq:"\u2acb",subne:"\u228a",subsetneq:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",sung:"\u266a",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supE:"\u2ac6",supseteqq:"\u2ac6",supdot:"\u2abe",supdsub:"\u2ad8",supedot:"\u2ac4",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supsetneqq:"\u2acc",supne:"\u228b",supsetneq:"\u228b",supplus:"\u2ac0",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swArr:"\u21d9",swnwar:"\u292a",szlig:"\xdf",target:"\u2316",tau:"\u03c4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",telrec:"\u2315",tfr:"\u{1d531}",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",vartheta:"\u03d1",thorn:"\xfe",times:"\xd7",timesbar:"\u2a31",timesd:"\u2a30",topbot:"\u2336",topcir:"\u2af1",topf:"\u{1d565}",topfork:"\u2ada",tprime:"\u2034",triangle:"\u25b5",utri:"\u25b5",triangleq:"\u225c",trie:"\u225c",tridot:"\u25ec",triminus:"\u2a3a",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\u{1d4c9}",tscy:"\u0446",tshcy:"\u045b",tstrok:"\u0167",uHar:"\u2963",uacute:"\xfa",ubrcy:"\u045e",ubreve:"\u016d",ucirc:"\xfb",ucy:"\u0443",udblac:"\u0171",ufisht:"\u297e",ufr:"\u{1d532}",ugrave:"\xf9",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",uogon:"\u0173",uopf:"\u{1d566}",upsi:"\u03c5",upsilon:"\u03c5",upuparrows:"\u21c8",uuarr:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",urtri:"\u25f9",uscr:"\u{1d4ca}",utdot:"\u22f0",utilde:"\u0169",uuml:"\xfc",uwangle:"\u29a7",vBar:"\u2ae8",vBarv:"\u2ae9",vangrt:"\u299c",varsubsetneq:"\u228a\ufe00",vsubne:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",vsubnE:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",vsupne:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vsupnE:"\u2acc\ufe00",vcy:"\u0432",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",vfr:"\u{1d533}",vopf:"\u{1d567}",vscr:"\u{1d4cb}",vzigzag:"\u299a",wcirc:"\u0175",wedbar:"\u2a5f",wedgeq:"\u2259",weierp:"\u2118",wp:"\u2118",wfr:"\u{1d534}",wopf:"\u{1d568}",wscr:"\u{1d4cc}",xfr:"\u{1d535}",xi:"\u03be",xnis:"\u22fb",xopf:"\u{1d569}",xscr:"\u{1d4cd}",yacute:"\xfd",yacy:"\u044f",ycirc:"\u0177",ycy:"\u044b",yen:"\xa5",yfr:"\u{1d536}",yicy:"\u0457",yopf:"\u{1d56a}",yscr:"\u{1d4ce}",yucy:"\u044e",yuml:"\xff",zacute:"\u017a",zcaron:"\u017e",zcy:"\u0437",zdot:"\u017c",zeta:"\u03b6",zfr:"\u{1d537}",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\u{1d56b}",zscr:"\u{1d4cf}",zwj:"\u200d",zwnj:"\u200c"};cf.ngsp="\ue500";class v_{tokens;errors;nonNormalizedIcuExpressions;constructor(e,t,o){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=o}}const b0=/\r\n?/g;function th(n){return`Unexpected character "${0===n?"EOF":String.fromCharCode(n)}"`}function xd(n){return`Unknown entity "${n}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}var nh;!function(n){n.HEX="hexadecimal",n.DEC="decimal"}(nh||(nh={}));const y_=["@if","@else","@for","@switch","@case","@default","@empty","@defer","@placeholder","@loading","@error","@content"],uf_start="{{",uf_end="}}",ih=/^default[^\S\r\n]+never/,ry=/^else[^\S\r\n]+if/;class E0{_getTagDefinition;_cursor;_tokenizeIcu;_leadingTriviaCodePoints;_currentTokenStart=null;_currentTokenType=null;_expansionCaseStack=[];_openDirectiveCount=0;_inInterpolation=!1;_preserveLineEndings;_i18nNormalizeLineEndingsInICUs;_tokenizeBlocks;_tokenizeLet;_selectorlessEnabled;tokens=[];errors=[];nonNormalizedIcuExpressions=[];constructor(e,t,o){this._getTagDefinition=t,this._tokenizeIcu=o.tokenizeExpansionForms||!1,this._leadingTriviaCodePoints=o.leadingTriviaChars&&o.leadingTriviaChars.map(u=>u.codePointAt(0)||0);const c=o.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=o.escapedString?new Lm(e,c):new Nm(e,c),this._preserveLineEndings=o.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=o.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=o.tokenizeBlocks??!0,this._tokenizeLet=o.tokenizeLet??!0,this._selectorlessEnabled=o.selectorlessEnabled??!1;try{this._cursor.init()}catch(u){this.handleError(u)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(b0,"\n")}tokenize(){for(;0!==this._cursor.peek();){const e=this._cursor.clone();try{this._attemptCharCode(60)?this._attemptCharCode(33)?this._attemptCharCode(91)?this._consumeCdata(e):this._attemptCharCode(45)?this._consumeComment(e):this._consumeDocType(e):this._attemptCharCode(47)?this._consumeTagClose(e):this._attemptCharCode(63)?this._consumeProcessingInstruction(e):this._consumeTagOpen(e):this._tokenizeLet&&64===this._cursor.peek()&&!this._inInterpolation&&this._isLetStart()?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._isBlockStart()?this._consumeBlockStart(e):!this._tokenizeBlocks||this._inInterpolation||this._isInExpansionCase()||this._isInExpansionForm()||!this._attemptCharCode(gi)?this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart()):this._consumeBlockEnd(e)}catch(t){this.handleError(t)}}this._beginToken(43),this._endToken([])}_getBlockName(){let e=!1;const t=this._cursor.clone();this._attemptCharCodeUntilFn(c=>Sc(c)?!e:!function pf(n){return _u(n)||Yc(n)||95===n}(c)||(e=!0,!1));let o=this._cursor.getChars(t).trim();return ry.test(o)?o="else if":ih.test(o)&&(o="default never"),o}_consumeBlockStart(e){this._requireCharCode(64),this._beginToken(25,e);const t=this._endToken([this._getBlockName()]);if(40===this._cursor.peek()){if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(xs),!this._attemptCharCode(41))return void(t.type=29);this._attemptCharCodeUntilFn(xs)}if("default never"===t.parts[0]&&this._attemptCharCode(59))return this._beginToken(26),this._endToken([]),this._beginToken(27),void this._endToken([]);this._attemptCharCode(Cn)?(this._beginToken(26),this._endToken([])):!this._isBlockStart()||"case"!==t.parts[0]&&"default"!==t.parts[0]?t.type=29:(this._beginToken(26),this._endToken([]),this._beginToken(27),this._endToken([]))}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(sy);41!==this._cursor.peek()&&0!==this._cursor.peek();){this._beginToken(28);const e=this._cursor.clone();let t=null,o=0;for(;59!==this._cursor.peek()&&0!==this._cursor.peek()||null!==t;){const c=this._cursor.peek();if(92===c)this._cursor.advance();else if(c===t)t=null;else if(null===t&&ad(c))t=c;else if(40===c&&null===t)o++;else if(41===c&&null===t){if(0===o)break;o>0&&o--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(sy)}}_consumeLetDeclaration(e){if(this._requireStr("@let"),this._beginToken(30,e),!Sc(this._cursor.peek())){return void(this._endToken([this._cursor.getChars(e)]).type=33)}this._attemptCharCodeUntilFn(xs);const t=this._endToken([this._getLetDeclarationName()]);this._attemptCharCodeUntilFn(xs),this._attemptCharCode(61)?(this._attemptCharCodeUntilFn(c=>xs(c)&&!sd(c)),this._consumeLetDeclarationValue(),59===this._cursor.peek()?(this._beginToken(32),this._cursor.advance(),this._endToken([])):(t.type=33,t.sourceSpan=this._cursor.getSpan(e))):t.type=33}_getLetDeclarationName(){const e=this._cursor.clone();let t=!1;return this._attemptCharCodeUntilFn(o=>!(_u(o)||36===o||95===o||t&&Yc(o))||(t=!0,!1)),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){const e=this._cursor.clone();this._beginToken(31,e),this._attemptUntilIgnoreQuotes(t=>59===t),this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(function x0(n){return n!==gi}(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===gi){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(null===this._currentTokenStart)throw new Vi(this._cursor.getSpan(t),"Programming error - attempted to end a token when there was no start to the token");if(null===this._currentTokenType)throw new Vi(this._cursor.getSpan(this._currentTokenStart),"Programming error - attempted to end a token which has no token type");const o={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(o),this._currentTokenStart=null,this._currentTokenType=null,o}_createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');const o=new Vi(t,e);return this._currentTokenStart=null,this._currentTokenType=null,o}handleError(e){if(e instanceof op&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof Vi))throw e;this.errors.push(e)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return!!function oy(n,e){return df(n)===df(e)}(this._cursor.peek(),e)&&(this._cursor.advance(),!0)}_requireCharCode(e){const t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(th(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){const t=e.length;if(this._cursor.charsLeft()<t)return!1;const o=this._cursor.clone();for(let c=0;c<t;c++)if(!this._attemptCharCode(e.charCodeAt(c)))return this._cursor=o,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){const t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(th(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){const o=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(o)<t)throw this._createError(th(this._cursor.peek()),this._cursor.getSpan(o))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_attemptUntilIgnoreQuotes(e){for(;0!==this._cursor.peek();){const t=this._cursor.peek();if(e(t))break;ad(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(o=>92===o?(this._cursor.advance(),!1):o===t)),this._cursor.advance()}}_readChar(){const e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}_peekStr(e){const t=e.length;if(this._cursor.charsLeft()<t)return!1;const o=this._cursor.clone();for(let c=0;c<t;c++){if(o.peek()!==e.charCodeAt(c))return!1;o.advance()}return!0}_isBlockStart(){return 64===this._cursor.peek()&&y_.some(e=>this._peekStr(e))}_isLetStart(){return 64===this._cursor.peek()&&this._peekStr("@let")}_consumeEntity(e){this._beginToken(9);const t=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){const o=this._attemptCharCode(120)||this._attemptCharCode(88),c=this._cursor.clone();if(this._attemptCharCodeUntilFn(S0),59!=this._cursor.peek()){this._cursor.advance();const v=o?nh.HEX:nh.DEC;throw this._createError(function lf(n,e){return`Unable to parse entity "${e}" - ${n} character reference entities must end with ";"`}(v,this._cursor.getChars(t)),this._cursor.getSpan())}const u=this._cursor.getChars(c);this._cursor.advance();try{const v=parseInt(u,o?16:10);this._endToken([String.fromCodePoint(v),this._cursor.getChars(t)])}catch{throw this._createError(xd(this._cursor.getChars(t)),this._cursor.getSpan())}}else{const o=this._cursor.clone();if(this._attemptCharCodeUntilFn(Am),59!=this._cursor.peek())this._beginToken(e,t),this._cursor=o,this._endToken(["&"]);else{const c=this._cursor.getChars(o);this._cursor.advance();const u=cf.hasOwnProperty(c)&&cf[c];if(!u)throw this._createError(xd(c),this._cursor.getSpan(t));this._endToken([u,`&${c};`])}}}_consumeRawText(e,t){this._beginToken(e?6:7);const o=[];for(;;){const c=this._cursor.clone(),u=t();if(this._cursor=c,u)break;e&&38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(o.join(""))]),o.length=0,this._consumeEntity(6),this._beginToken(6)):o.push(this._readChar())}this._endToken([this._processCarriageReturns(o.join(""))])}_consumeComment(e){this._beginToken(10,e),this._requireCharCode(45),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("--\x3e")),this._beginToken(11),this._requireStr("--\x3e"),this._endToken([])}_consumeCdata(e){this._beginToken(13,e),this._requireStr("CDATA["),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(14),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(19,e);const t=this._cursor.clone();this._attemptUntilChar(62);const o=this._cursor.getChars(t);this._cursor.advance(),this._endToken([o])}_consumeProcessingInstruction(e){this._beginToken(42,e);const t=this._cursor.clone();this._attemptUntilIgnoreQuotes(u=>63===u||62===u);const o=this._cursor.peek(),c=this._cursor.getChars(t);this._cursor.advance(),63===o&&this._requireCharCode(62),this._endToken([c])}_consumePrefixAndName(e){const t=this._cursor.clone();let c,o="";for(;58!==this._cursor.peek()&&!w0(this._cursor.peek());)this._cursor.advance();58===this._cursor.peek()?(o=this._cursor.getChars(t),this._cursor.advance(),c=this._cursor.clone()):c=t,this._requireCharCodeUntilFn(e,""===o?0:1);return[o,this._cursor.getChars(c)]}_consumeSingleLineComment(e){const t=this._cursor.clone();this._attemptCharCodeUntilFn(u=>sd(u)||0===u);const o=this._cursor.clone(),c=o.getChars(t);this._beginToken(12,e),this._endToken([c,"single"],o),this._attemptCharCodeUntilFn(xs)}_consumeMultiLineComment(e){const t=this._cursor.clone();this._attemptCharCodeUntilFn(v=>{if(0===v)return!0;if(42===v){const k=this._cursor.clone();return k.advance(),47===k.peek()}return!1});const o=this._cursor.clone(),c=o.getChars(t);let u=o;this._attemptStr("*/")&&(u=this._cursor.clone(),this._attemptCharCodeUntilFn(xs)),this._beginToken(12,e),this._endToken([c,"multi"],u)}_consumeTagOpen(e){let t,o,c,u;try{if(this._selectorlessEnabled&&Om(this._cursor.peek()))u=this._consumeComponentOpenStart(e),[c,o,t]=u.parts,o&&(c+=`:${o}`),t&&(c+=`:${t}`),this._attemptCharCodeUntilFn(xs);else{if(!_u(this._cursor.peek()))throw this._createError(th(this._cursor.peek()),this._cursor.getSpan(e));u=this._consumeTagOpenStart(e),o=u.parts[0],t=c=u.parts[1],this._attemptCharCodeUntilFn(xs)}for(;;){const k=this._cursor.clone();if(this._attemptStr("//"))this._consumeSingleLineComment(k);else if(this._attemptStr("/*"))this._consumeMultiLineComment(k);else{if(Rm(this._cursor.peek()))break;if(this._selectorlessEnabled&&64===this._cursor.peek()){const ae=this._cursor.clone(),me=ae.clone();me.advance(),Om(me.peek())&&this._consumeDirective(ae,me)}else this._consumeAttribute()}}34===u.type?this._consumeComponentOpenEnd():this._consumeTagOpenEnd()}catch(k){if(k instanceof Vi)return void(u?u.type=34===u.type?38:4:(this._beginToken(5,e),this._endToken(["<"])));throw k}const v=this._getTagDefinition(t).getContentType(o);v===Qo.RAW_TEXT?this._consumeRawTextWithTagClose(u,c,!1):v===Qo.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(u,c,!0)}_consumeRawTextWithTagClose(e,t,o){this._consumeRawText(o,()=>!!(this._attemptCharCode(60)&&this._attemptCharCode(47)&&(this._attemptCharCodeUntilFn(xs),this._attemptStrCaseInsensitive(t)))&&(this._attemptCharCodeUntilFn(xs),this._attemptCharCode(62))),this._beginToken(34===e.type?37:3),this._requireCharCodeUntilFn(c=>62===c,3),this._cursor.advance(),this._endToken(e.parts)}_consumeTagOpenStart(e){this._beginToken(0,e);const t=this._consumePrefixAndName(rp);return this._endToken(t)}_consumeComponentOpenStart(e){this._beginToken(34,e);const t=this._consumeComponentName();return this._endToken(t)}_consumeComponentName(){const e=this._cursor.clone();for(;Pm(this._cursor.peek());)this._cursor.advance();const t=this._cursor.getChars(e);let o="",c="";return 58===this._cursor.peek()&&(this._cursor.advance(),[o,c]=this._consumePrefixAndName(rp)),[t,o,c]}_consumeAttribute(){this._consumeAttributeName(),this._attemptCharCodeUntilFn(xs),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(xs),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(xs)}_consumeAttributeName(){const e=this._cursor.peek();if(39===e||34===e)throw this._createError(th(e),this._cursor.getSpan());let t;if(this._beginToken(15),this._openDirectiveCount>0){let c=0;t=u=>{if(this._openDirectiveCount>0)if(40===u)c++;else if(41===u){if(0===c)return!0;c--}return rp(u)}}else if(91===e){let c=0;t=u=>(91===u?c++:93===u&&c--,c<=0?rp(u):sd(u))}else t=rp;const o=this._consumePrefixAndName(t);this._endToken(o)}_consumeAttributeValue(){if(39===this._cursor.peek()||34===this._cursor.peek()){const e=this._cursor.peek();this._consumeQuote(e);const t=()=>this._cursor.peek()===e;this._consumeWithInterpolation(17,18,t,t),this._consumeQuote(e)}else{const e=()=>rp(this._cursor.peek());this._consumeWithInterpolation(17,18,e,e)}}_consumeQuote(e){this._beginToken(16),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){const e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeComponentOpenEnd(){const e=this._attemptCharCode(47)?36:35;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._selectorlessEnabled){const o=e.clone();for(;62!==o.peek()&&!Om(o.peek());)o.advance();if(Om(o.peek())){this._beginToken(37,e);const c=this._consumeComponentName();return this._attemptCharCodeUntilFn(xs),this._requireCharCode(62),void this._endToken(c)}}this._beginToken(3,e),this._attemptCharCodeUntilFn(xs);const t=this._consumePrefixAndName(rp);this._attemptCharCodeUntilFn(xs),this._requireCharCode(62),this._endToken(t)}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(Cn),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);const e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{const c=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(c)}this._requireCharCode(44),this._attemptCharCodeUntilFn(xs),this._beginToken(7);const o=this._readUntil(44);this._endToken([o]),this._requireCharCode(44),this._attemptCharCodeUntilFn(xs)}_consumeExpansionCaseStart(){this._beginToken(21);const e=this._readUntil(Cn).trim();this._endToken([e]),this._attemptCharCodeUntilFn(xs),this._beginToken(22),this._requireCharCode(Cn),this._endToken([]),this._attemptCharCodeUntilFn(xs),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(gi),this._endToken([]),this._attemptCharCodeUntilFn(xs),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(gi),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,o,c){this._beginToken(e);const u=[];for(;!o();){const v=this._cursor.clone();this._attemptStr(uf_start)?(this._endToken([this._processCarriageReturns(u.join(""))],v),u.length=0,this._consumeInterpolation(t,v,c),this._beginToken(e)):38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(u.join(""))]),u.length=0,this._consumeEntity(e),this._beginToken(e)):u.push(this._readChar())}this._inInterpolation=!1,this._endToken([this._processCarriageReturns(u.join(""))])}_consumeInterpolation(e,t,o){const c=[];this._beginToken(e,t),c.push(uf_start);const u=this._cursor.clone();let v=null,k=!1;for(;0!==this._cursor.peek()&&(null===o||!o());){const ae=this._cursor.clone();if(this._isTagStart())return this._cursor=ae,c.push(this._getProcessedChars(u,ae)),void this._endToken(c);if(null===v){if(this._attemptStr(uf_end))return c.push(this._getProcessedChars(u,ae)),c.push(uf_end),void this._endToken(c);this._attemptStr("//")&&(k=!0)}const me=this._cursor.peek();this._cursor.advance(),92===me?this._cursor.advance():me===v?v=null:!k&&null===v&&ad(me)&&(v=me)}c.push(this._getProcessedChars(u,this._cursor)),this._endToken(c)}_consumeDirective(e,t){for(this._requireCharCode(64),this._cursor.advance();Pm(this._cursor.peek());)this._cursor.advance();this._beginToken(39,e);const o=this._cursor.getChars(t);if(this._endToken([o]),this._attemptCharCodeUntilFn(xs),40===this._cursor.peek()){for(this._openDirectiveCount++,this._beginToken(40),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(xs);!Rm(this._cursor.peek())&&41!==this._cursor.peek();)this._consumeAttribute();if(this._attemptCharCodeUntilFn(xs),this._openDirectiveCount--,41!==this._cursor.peek()){if(62===this._cursor.peek()||47===this._cursor.peek())return;throw this._createError(th(this._cursor.peek()),this._cursor.getSpan(e))}this._beginToken(41),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(xs)}}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||0===this._cursor.peek()||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===gi&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._isLetStart()||this._cursor.peek()===gi))}_isTagStart(){if(60===this._cursor.peek()){const e=this._cursor.clone();e.advance();const t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||47===t||33===t||63===t)return!0}return!1}_readUntil(e){const t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&22===this._expansionCaseStack[this._expansionCaseStack.length-1]}_isInExpansionForm(){return this._expansionCaseStack.length>0&&20===this._expansionCaseStack[this._expansionCaseStack.length-1]}isExpansionFormStart(){if(this._cursor.peek()!==Cn)return!1;const e=this._cursor.clone(),t=this._attemptStr(uf_start);return this._cursor=e,!t}}function xs(n){return!Sc(n)||0===n}function rp(n){return Sc(n)||62===n||60===n||47===n||39===n||34===n||61===n||0===n}function w0(n){return(n<97||122<n)&&(n<65||90<n)&&(n<48||n>57)}function S0(n){return 59===n||0===n||!function Uh(n){return n>=97&&n<=102||n>=65&&n<=70||Yc(n)}(n)}function Am(n){return 59===n||0===n||!(_u(n)||Yc(n))}function df(n){return n>=97&&n<=122?n-97+65:n}function sy(n){return 59!==n&&xs(n)}function Om(n){return 95===n||n>=65&&n<=90}function Pm(n){return _u(n)||Yc(n)||95===n}function Rm(n){return 47===n||62===n||60===n||0===n}class Nm{state;file;input;end;constructor(e,t){if(e instanceof Nm){this.file=e.file,this.input=e.input,this.end=e.end;const o=e.state;this.state={peek:o.peek,offset:o.offset,line:o.line,column:o.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new Nm(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){let o=e=e||this;if(t)for(;this.diff(e)>0&&-1!==t.indexOf(e.peek());)o===e&&(e=e.clone()),e.advance();const c=this.locationFromCursor(e),u=this.locationFromCursor(this),v=o!==e?this.locationFromCursor(o):c;return new mr(c,u,v)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new op('Unexpected character "EOF"',this);const t=this.charAt(e.offset);10===t?(e.line++,e.column=0):sd(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new Us(e.file,e.state.offset,e.state.line,e.state.column)}}class Lm extends Nm{internalState;constructor(e,t){e instanceof Lm?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Lm(this)}getChars(e){const t=e.clone();let o="";for(;t.internalState.offset<this.internalState.offset;)o+=String.fromCodePoint(t.peek()),t.advance();return o}processEscapeSequence(){const e=()=>this.internalState.peek;if(92===e())if(this.internalState={...this.state},this.advanceState(this.internalState),110===e())this.state.peek=10;else if(114===e())this.state.peek=13;else if(118===e())this.state.peek=11;else if(116===e())this.state.peek=9;else if(98===e())this.state.peek=8;else if(102===e())this.state.peek=12;else if(117===e())if(this.advanceState(this.internalState),e()===Cn){this.advanceState(this.internalState);const t=this.clone();let o=0;for(;e()!==gi;)this.advanceState(this.internalState),o++;this.state.peek=this.decodeHexDigits(t,o)}else{const t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(120===e()){this.advanceState(this.internalState);const t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if(Yl(e())){let t="",o=0,c=this.clone();for(;Yl(e())&&o<3;)c=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),o++;this.state.peek=parseInt(t,8),this.internalState=c.internalState}else sd(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){const o=this.input.slice(e.internalState.offset,e.internalState.offset+t),c=parseInt(o,16);if(isNaN(c))throw e.state=e.internalState,new op("Invalid hexadecimal escape sequence",e);return c}}class op extends Error{msg;cursor;constructor(e,t){super(e),this.msg=e,this.cursor=t,Object.setPrototypeOf(this,new.target.prototype)}}class na extends Vi{elementName;static create(e,t,o){return new na(e,t,o)}constructor(e,t,o){super(t,o),this.elementName=e}}class hf{rootNodes;errors;constructor(e,t){this.rootNodes=e,this.errors=t}}let ay=class{getTagDefinition;constructor(e){this.getTagDefinition=e}parse(e,t,o){const c=function y0(n,e,t,o={}){const c=new E0(new Wh(n,e),t,o);return c.tokenize(),new v_(function b_(n){const e=[];let t;for(let o=0;o<n.length;o++){const c=n[o];t&&5===t.type&&5===c.type||t&&17===t.type&&17===c.type?(t.parts[0]+=c.parts[0],t.sourceSpan.end=c.sourceSpan.end):(t=c,e.push(t))}return e}(c.tokens),c.errors,c.nonNormalizedIcuExpressions)}(e,t,this.getTagDefinition,o),u=new Bm(c.tokens,this.getTagDefinition);return u.build(),new hf(u.rootNodes,[...c.errors,...u.errors])}};class Bm{tokens;tagDefinitionResolver;_index=-1;_peek;_containerStack=[];rootNodes=[];errors=[];constructor(e,t){this.tokens=e,this.tagDefinitionResolver=t,this._advance()}build(){for(;43!==this._peek.type;)0===this._peek.type||4===this._peek.type?this._consumeElementStartTag(this._advance()):3===this._peek.type?this._consumeElementEndTag(this._advance()):13===this._peek.type?(this._closeVoidElement(),this._consumeCdata(this._advance())):10===this._peek.type?(this._closeVoidElement(),this._consumeComment(this._advance())):5===this._peek.type||7===this._peek.type||6===this._peek.type?(this._closeVoidElement(),this._consumeText(this._advance())):20===this._peek.type?this._consumeExpansion(this._advance()):25===this._peek.type?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):27===this._peek.type?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):29===this._peek.type?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):30===this._peek.type?(this._closeVoidElement(),this._consumeLet(this._advance())):33===this._peek.type?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):34===this._peek.type||38===this._peek.type?this._consumeComponentStartTag(this._advance()):37===this._peek.type?this._consumeComponentEndTag(this._advance()):this._advance();for(const e of this._containerStack)e instanceof yl&&this.errors.push(na.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){const e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){this._consumeText(this._advance()),this._advanceIf(14)}_consumeComment(e){const t=this._advanceIf(7),o=this._advanceIf(11),c=null!=t?t.parts[0].trim():null,u=null==o?e.sourceSpan:new mr(e.sourceSpan.start,o.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new Wl(c,u))}_consumeExpansion(e){const t=this._advance(),o=this._advance(),c=[];for(;21===this._peek.type;){const v=this._parseExpansionCase();if(!v)return;c.push(v)}if(24!==this._peek.type)return void this.errors.push(na.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));const u=new mr(e.sourceSpan.start,this._peek.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new ip(t.parts[0],o.parts[0],c,u,t.sourceSpan)),this._advance()}_parseExpansionCase(){const e=this._advance();if(22!==this._peek.type)return this.errors.push(na.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;const t=this._advance(),o=this._collectExpansionExpTokens(t);if(!o)return null;const c=this._advance();o.push({type:43,parts:[],sourceSpan:c.sourceSpan});const u=new Bm(o,this.tagDefinitionResolver);if(u.build(),u.errors.length>0)return this.errors=this.errors.concat(u.errors),null;const v=new mr(e.sourceSpan.start,c.sourceSpan.end,e.sourceSpan.fullStart),k=new mr(t.sourceSpan.start,c.sourceSpan.end,t.sourceSpan.fullStart);return new Mm(e.parts[0],u.rootNodes,v,e.sourceSpan,k)}_collectExpansionExpTokens(e){const t=[],o=[22];for(;;){if((20===this._peek.type||22===this._peek.type)&&o.push(this._peek.type),23===this._peek.type){if(!Tc(o,22))return this.errors.push(na.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(o.pop(),0===o.length)return t}if(24===this._peek.type){if(!Tc(o,20))return this.errors.push(na.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;o.pop()}if(43===this._peek.type)return this.errors.push(na.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_consumeText(e){const t=[e],o=e.sourceSpan;let c=e.parts[0];if(c.length>0&&"\n"===c[0]){const u=this._getContainer();null!=u&&0===u.children.length&&this._getTagDefinition(u)?.ignoreFirstLf&&(c=c.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[c]})}for(;8===this._peek.type||5===this._peek.type||9===this._peek.type;)e=this._advance(),t.push(e),8===e.type?c+=e.parts.join("").replace(/&([^;]+);/g,Fm):9===e.type?c+=e.parts[0]:c+=e.parts.join("");if(c.length>0){const u=e.sourceSpan;this._addToParent(new Du(c,new mr(o.start,u.end,o.fullStart,o.details),t))}}_closeVoidElement(){const e=this._getContainer();null!==e&&this._getTagDefinition(e)?.isVoid&&this._containerStack.pop()}_consumeElementStartTag(e){const t=[],o=[],c=[];this._consumeAttributesAndDirectives(t,o,c);const u=this._getElementFullName(e,this._getClosestElementLikeParent()),v=this._getTagDefinition(u);let k=!1;2===this._peek.type?(this._advance(),k=!0,v?.canSelfClose||null!==Ac(u)||v?.isVoid||this.errors.push(na.create(u,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))):1===this._peek.type&&(this._advance(),k=!1);const ae=this._peek.sourceSpan.fullStart,me=new mr(e.sourceSpan.start,ae,e.sourceSpan.fullStart),Ve=new mr(e.sourceSpan.start,ae,e.sourceSpan.fullStart),it=new vl(u,t,o,[],k,me,Ve,void 0,v?.isVoid??!1,void 0,c),Gt=this._getContainer(),yn=null!==Gt&&!!this._getTagDefinition(Gt)?.isClosedByChild(it.name);this._pushContainer(it,yn),k?this._popContainer(u,vl,me):4===e.type&&(this._popContainer(u,vl,null),this.errors.push(na.create(u,me,`Opening tag "${u}" not terminated.`)))}_consumeComponentStartTag(e){const t=e.parts[0],o=[],c=[],u=[];this._consumeAttributesAndDirectives(o,c,u);const v=this._getClosestElementLikeParent(),k=this._getComponentTagName(e,v),ae=this._getComponentFullName(e,v),me=36===this._peek.type;this._advance();const Ve=this._peek.sourceSpan.fullStart,it=new mr(e.sourceSpan.start,Ve,e.sourceSpan.fullStart),Gt=new mr(e.sourceSpan.start,Ve,e.sourceSpan.fullStart),yn=new Cc(t,k,ae,o,c,[],me,it,Gt,void 0,void 0,u),Un=this._getContainer(),ai=null!==Un&&null!==yn.tagName&&!!this._getTagDefinition(Un)?.isClosedByChild(yn.tagName);this._pushContainer(yn,ai),me?this._popContainer(ae,Cc,it):38===e.type&&(this._popContainer(ae,Cc,null),this.errors.push(na.create(ae,it,`Opening tag "${ae}" not terminated.`)))}_consumeAttributesAndDirectives(e,t,o){for(;15===this._peek.type||39===this._peek.type||12===this._peek.type;)if(39===this._peek.type)t.push(this._consumeDirective(this._peek));else if(15===this._peek.type)e.push(this._consumeAttr(this._advance()));else{const c=this._advance();o.push(new _0(c.parts[0],c.parts[1],c.sourceSpan))}}_consumeComponentEndTag(e){const t=this._getComponentFullName(e,this._getClosestElementLikeParent());if(!this._popContainer(t,Cc,e.sourceSpan)){const o=this._containerStack[this._containerStack.length-1];let c;c=o instanceof Cc&&o.componentName===e.parts[0]?`, did you mean "${o.fullName}"?`:". It may happen when the tag has already been closed by another tag.";const u=`Unexpected closing tag "${t}"${c}`;this.errors.push(na.create(t,e.sourceSpan,u))}}_getTagDefinition(e){return"string"==typeof e?this.tagDefinitionResolver(e):e instanceof vl?this.tagDefinitionResolver(e.name):e instanceof Cc&&null!==e.tagName?this.tagDefinitionResolver(e.tagName):null}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeElementEndTag(e){const t=this._getElementFullName(e,this._getClosestElementLikeParent());if(this._getTagDefinition(t)?.isVoid)this.errors.push(na.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,vl,e.sourceSpan)){const o=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(na.create(t,e.sourceSpan,o))}}_popContainer(e,t,o){let c=!1;for(let u=this._containerStack.length-1;u>=0;u--){const v=this._containerStack[u];if(((v instanceof Cc?v.fullName:v.name)===e||null===e)&&v instanceof t)return v.endSourceSpan=o,v.sourceSpan.end=null!==o?o.end:v.sourceSpan.end,this._containerStack.splice(u,this._containerStack.length-u),!c;(v instanceof yl||!this._getTagDefinition(v)?.closedByParent)&&(c=!0)}return!1}_consumeAttr(e){const t=Ts(e.parts[0],e.parts[1]);let o=e.sourceSpan.end;16===this._peek.type&&this._advance();let c="";const u=[];let v,k;if(17===this._peek.type)for(v=this._peek.sourceSpan,k=this._peek.sourceSpan.end;17===this._peek.type||18===this._peek.type||9===this._peek.type;){const Ve=this._advance();u.push(Ve),18===Ve.type?c+=Ve.parts.join("").replace(/&([^;]+);/g,Fm):9===Ve.type?c+=Ve.parts[0]:c+=Ve.parts.join(""),k=o=Ve.sourceSpan.end}16===this._peek.type&&(o=this._advance().sourceSpan.end);const me=v&&k&&new mr(v.start,k,v.fullStart);return new af(t,c,new mr(e.sourceSpan.start,o,e.sourceSpan.fullStart),e.sourceSpan,me,u.length>0?u:void 0,void 0)}_consumeDirective(e){const t=[];let o=e.sourceSpan.end,c=null;if(this._advance(),40===this._peek.type){for(o=this._peek.sourceSpan.end,this._advance();15===this._peek.type;)t.push(this._consumeAttr(this._advance()));41===this._peek.type?(c=this._peek.sourceSpan,this._advance()):this.errors.push(na.create(null,e.sourceSpan,"Unterminated directive definition"))}const u=new mr(e.sourceSpan.start,o,e.sourceSpan.fullStart),v=new mr(u.start,null===c?e.sourceSpan.end:c.end,u.fullStart);return new __(e.parts[0],t,v,u,c)}_consumeBlockOpen(e){const t=[];for(;28===this._peek.type;){const k=this._advance();t.push(new ny(k.parts[0],k.sourceSpan))}26===this._peek.type&&this._advance();const o=this._peek.sourceSpan.fullStart,c=new mr(e.sourceSpan.start,o,e.sourceSpan.fullStart),u=new mr(e.sourceSpan.start,o,e.sourceSpan.fullStart),v=new yl(e.parts[0],t,[],c,e.sourceSpan,u);this._pushContainer(v,!1)}_consumeBlockClose(e){const t=this._containerStack.length,o=this._containerStack[t-1];if(!this._popContainer(null,yl,e.sourceSpan)){if(this._containerStack.length<t){const c=o instanceof Cc?o.fullName:o.name;return void this.errors.push(na.create(null,e.sourceSpan,`Unexpected closing block. The block may have been closed earlier. Did you forget to close the <${c}> element? If you meant to write the \`}\` character, you should use the "}" HTML entity instead.`))}this.errors.push(na.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the `}` character, you should use the "}" HTML entity instead.'))}}_consumeIncompleteBlock(e){const t=[];for(;28===this._peek.type;){const k=this._advance();t.push(new ny(k.parts[0],k.sourceSpan))}const o=this._peek.sourceSpan.fullStart,c=new mr(e.sourceSpan.start,o,e.sourceSpan.fullStart),u=new mr(e.sourceSpan.start,o,e.sourceSpan.fullStart),v=new yl(e.parts[0],t,[],c,e.sourceSpan,u);this._pushContainer(v,!1),this._popContainer(null,yl,null),this.errors.push(na.create(e.parts[0],c,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(e){const t=e.parts[0];let o,c;if(31!==this._peek.type)return void this.errors.push(na.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));if(o=this._advance(),32!==this._peek.type)return void this.errors.push(na.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));c=this._advance();const u=c.sourceSpan.end,v=new mr(e.sourceSpan.start,u,e.sourceSpan.fullStart),k=e.sourceSpan.toString().lastIndexOf(t),ae=e.sourceSpan.start.moveBy(k),me=new mr(ae,e.sourceSpan.end),Ve=new v0(t,o.parts[0],v,me,o.sourceSpan);this._addToParent(Ve)}_consumeIncompleteLet(e){const t=e.parts[0]??"",o=t?` "${t}"`:"";if(t.length>0){const c=e.sourceSpan.toString().lastIndexOf(t),u=e.sourceSpan.start.moveBy(c),v=new mr(u,e.sourceSpan.end),k=new mr(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),ae=new v0(t,"",e.sourceSpan,v,k);this._addToParent(ae)}this.errors.push(na.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${o}. @let declarations must be written as \`@let <name> = <value>;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestElementLikeParent(){for(let e=this._containerStack.length-1;e>-1;e--){const t=this._containerStack[e];if(t instanceof vl||t instanceof Cc)return t}return null}_addToParent(e){const t=this._getContainer();null===t?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t){return Ts(this._getPrefix(e,t),e.parts[1])}_getComponentFullName(e,t){const o=e.parts[0],c=this._getComponentTagName(e,t);return null===c?o:c.startsWith(":")?o+c:`${o}:${c}`}_getComponentTagName(e,t){const o=this._getPrefix(e,t),c=e.parts[2];return o||c?!o&&c?c:Ts(o,c||"ng-component"):null}_getPrefix(e,t){let o,c;if(34===e.type||38===e.type||37===e.type?(o=e.parts[1],c=e.parts[2]):(o=e.parts[0],c=e.parts[1]),o=o||this._getTagDefinition(c)?.implicitNamespacePrefix||"",!o&&t){const u=t instanceof vl?t.name:t.tagName;if(null!==u){const v=ko(u)[1],k=this._getTagDefinition(v);null!==k&&!k.preventNamespaceInheritance&&(o=Ac(u))}}return o}}function Tc(n,e){return n.length>0&&n[n.length-1]===e}function Fm(n,e){return void 0!==cf[e]?cf[e]||n:/^#x[a-f0-9]+$/i.test(e)?String.fromCodePoint(parseInt(e.slice(2),16)):/^#\d+$/.test(e)?String.fromCodePoint(parseInt(e.slice(1),10)):n}const Um="ngPreserveWhitespaces",cy=new Set(["pre","template","textarea","script","style"]),ly=" \f\n\r\t\v\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff",E_=new RegExp(`[^${ly}]`),ff=new RegExp(`[${ly}]{2,}`,"g");function Dd(n){return n.some(e=>e.name===Um)}function sp(n){return n.replace(new RegExp("\ue500","g")," ")}class Wm{preserveSignificantWhitespace;originalNodeMap;requireContext;icuExpansionDepth=0;constructor(e,t,o=!0){this.preserveSignificantWhitespace=e,this.originalNodeMap=t,this.requireContext=o}visitElement(e,t){if(cy.has(e.name)||Dd(e.attrs)){const c=new vl(e.name,Cu(this,e.attrs),Cu(this,e.directives),e.children,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.isVoid,e.i18n,e.comments);return this.originalNodeMap?.set(c,e),c}const o=new vl(e.name,e.attrs,e.directives,Cu(this,e.children),e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.isVoid,e.i18n,e.comments);return this.originalNodeMap?.set(o,e),o}visitAttribute(e,t){return e.name!==Um?e:null}visitText(e,t){const o=e.value.match(E_),c=t&&(t.prev instanceof ip||t.next instanceof ip);if(this.icuExpansionDepth>0&&this.preserveSignificantWhitespace)return e;if(o||c){const v=e.tokens.map(Ve=>5===Ve.type?function uy({type:n,parts:e,sourceSpan:t}){return{type:n,parts:[ap(e[0])],sourceSpan:t}}(Ve):Ve);if(!this.preserveSignificantWhitespace&&v.length>0){const Ve=v[0];v.splice(0,1,function mf(n,e){return 5!==n.type||e?.prev?n:zu(n,o=>o.trimStart())}(Ve,t));const it=v[v.length-1];v.splice(v.length-1,1,function D0(n,e){return 5!==n.type||e?.next?n:zu(n,o=>o.trimEnd())}(it,t))}const k=ap(e.value),ae=this.preserveSignificantWhitespace?k:function C0(n,e){const t=!e?.prev,o=!e?.next,c=t?n.trimStart():n;return o?c.trimEnd():c}(k,t),me=new Du(ae,e.sourceSpan,v,e.i18n);return this.originalNodeMap?.set(me,e),me}return null}visitComment(e,t){return e}visitExpansion(e,t){let o;this.icuExpansionDepth++;try{o=new ip(e.switchValue,e.type,Cu(this,e.cases),e.sourceSpan,e.switchValueSourceSpan,e.i18n)}finally{this.icuExpansionDepth--}return this.originalNodeMap?.set(o,e),o}visitExpansionCase(e,t){const o=new Mm(e.value,Cu(this,e.expression),e.sourceSpan,e.valueSourceSpan,e.expSourceSpan);return this.originalNodeMap?.set(o,e),o}visitBlock(e,t){const o=new yl(e.name,e.parameters,Cu(this,e.children),e.sourceSpan,e.nameSpan,e.startSourceSpan,e.endSourceSpan);return this.originalNodeMap?.set(o,e),o}visitBlockParameter(e,t){return e}visitLetDeclaration(e,t){return e}visitComponent(e,t){if(e.tagName&&cy.has(e.tagName)||Dd(e.attrs)){const c=new Cc(e.componentName,e.tagName,e.fullName,Cu(this,e.attrs),Cu(this,e.directives),e.children,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n,e.comments);return this.originalNodeMap?.set(c,e),c}const o=new Cc(e.componentName,e.tagName,e.fullName,e.attrs,e.directives,Cu(this,e.children),e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n,e.comments);return this.originalNodeMap?.set(o,e),o}visitDirective(e,t){return e}visit(e,t){if(this.requireContext&&!t)throw new Error("WhitespaceVisitor requires context. Visit via `visitAllWithSiblings` to get this context.");return!1}}function zu({type:n,parts:e,sourceSpan:t},o){return{type:n,parts:[o(e[0])],sourceSpan:t}}function ap(n){return sp(n).replace(ff," ")}function Cu(n,e){const t=[];return e.forEach((o,c)=>{const u={prev:e[c-1],next:e[c+1]},v=o.visit(n,u);v&&t.push(v)}),t}var ar,bl;!function(n){n[n.Character=0]="Character",n[n.Identifier=1]="Identifier",n[n.PrivateIdentifier=2]="PrivateIdentifier",n[n.Keyword=3]="Keyword",n[n.String=4]="String",n[n.Operator=5]="Operator",n[n.Number=6]="Number",n[n.RegExpBody=7]="RegExpBody",n[n.RegExpFlags=8]="RegExpFlags",n[n.Error=9]="Error"}(ar||(ar={})),function(n){n[n.Plain=0]="Plain",n[n.TemplateLiteralPart=1]="TemplateLiteralPart",n[n.TemplateLiteralEnd=2]="TemplateLiteralEnd"}(bl||(bl={}));const Cd=["var","let","as","null","undefined","true","false","if","else","this","typeof","void","in","instanceof"];class cp{tokenize(e){return new Vm(e).scan()}}class El{index;end;type;numValue;strValue;constructor(e,t,o,c,u){this.index=e,this.end=t,this.type=o,this.numValue=c,this.strValue=u}isCharacter(e){return this.type===ar.Character&&this.numValue===e}isNumber(){return this.type===ar.Number}isString(){return this.type===ar.String}isOperator(e){return this.type===ar.Operator&&this.strValue===e}isIdentifier(){return this.type===ar.Identifier}isPrivateIdentifier(){return this.type===ar.PrivateIdentifier}isKeyword(){return this.type===ar.Keyword}isKeywordLet(){return this.type===ar.Keyword&&"let"===this.strValue}isKeywordAs(){return this.type===ar.Keyword&&"as"===this.strValue}isKeywordNull(){return this.type===ar.Keyword&&"null"===this.strValue}isKeywordUndefined(){return this.type===ar.Keyword&&"undefined"===this.strValue}isKeywordTrue(){return this.type===ar.Keyword&&"true"===this.strValue}isKeywordFalse(){return this.type===ar.Keyword&&"false"===this.strValue}isKeywordThis(){return this.type===ar.Keyword&&"this"===this.strValue}isKeywordTypeof(){return this.type===ar.Keyword&&"typeof"===this.strValue}isKeywordVoid(){return this.type===ar.Keyword&&"void"===this.strValue}isKeywordIn(){return this.type===ar.Keyword&&"in"===this.strValue}isKeywordInstanceOf(){return this.type===ar.Keyword&&"instanceof"===this.strValue}isError(){return this.type===ar.Error}isRegExpBody(){return this.type===ar.RegExpBody}isRegExpFlags(){return this.type===ar.RegExpFlags}toNumber(){return this.type===ar.Number?this.numValue:-1}isTemplateLiteralPart(){return this.isString()&&this.kind===bl.TemplateLiteralPart}isTemplateLiteralEnd(){return this.isString()&&this.kind===bl.TemplateLiteralEnd}isTemplateLiteralInterpolationStart(){return this.isOperator("${")}toString(){switch(this.type){case ar.Character:case ar.Identifier:case ar.Keyword:case ar.Operator:case ar.PrivateIdentifier:case ar.String:case ar.Error:case ar.RegExpBody:case ar.RegExpFlags:return this.strValue;case ar.Number:return this.numValue.toString();default:return null}}}class Uc extends El{kind;constructor(e,t,o,c){super(e,t,ar.String,0,o),this.kind=c}}function Td(n,e,t){return new El(n,e,ar.Character,t,String.fromCharCode(t))}function Uo(n,e,t){return new El(n,e,ar.Operator,0,t)}const il=new El(-1,-1,ar.Character,0,"");class Vm{input;tokens=[];length;peek=0;index=-1;braceStack=[];constructor(e){this.input=e,this.length=e.length,this.advance()}scan(){let e=this.scanToken();for(;null!==e;)this.tokens.push(e),e=this.scanToken();return this.tokens}advance(){this.peek=++this.index>=this.length?0:this.input.charCodeAt(this.index)}scanToken(){const e=this.input,t=this.length;let o=this.peek,c=this.index;for(;o<=32;){if(++c>=t){o=0;break}o=e.charCodeAt(c)}if(this.peek=o,this.index=c,c>=t)return null;if(S_(o))return this.scanIdentifier();if(Yc(o))return this.scanNumber(c);const u=c;switch(o){case 46:return this.advance(),Yc(this.peek)?this.scanNumber(u):46!==this.peek?Td(u,this.index,46):(this.advance(),46===this.peek?(this.advance(),Uo(u,this.index,"...")):this.error(`Unexpected character [${String.fromCharCode(o)}]`,0));case 40:case 41:case 91:case 93:case 44:case 58:case 59:return this.scanCharacter(u,o);case Cn:return this.scanOpenBrace(u,o);case gi:return this.scanCloseBrace(u,o);case 39:case 34:return this.scanString();case 96:return this.advance(),this.scanTemplateLiteralPart(u);case 35:return this.scanPrivateIdentifier();case 43:return this.scanComplexOperator(u,"+",61,"=");case 45:return this.scanComplexOperator(u,"-",61,"=");case 47:return this.isStartOfRegex()?this.scanRegex(c):this.scanComplexOperator(u,"/",61,"=");case 37:return this.scanComplexOperator(u,"%",61,"=");case 94:return this.scanOperator(u,"^");case 42:return this.scanStar(u);case 63:return this.scanQuestion(u);case 60:case 62:return this.scanComplexOperator(u,String.fromCharCode(o),61,"=");case 33:return this.scanComplexOperator(u,"!",61,"=",61,"=");case 61:return this.scanEquals(u);case 38:return this.scanComplexOperator(u,"&",38,"&",61,"=");case 124:return this.scanComplexOperator(u,"|",124,"|",61,"=");case 160:for(;Sc(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(o)}]`,0)}scanCharacter(e,t){return this.advance(),Td(e,this.index,t)}scanOperator(e,t){return this.advance(),Uo(e,this.index,t)}scanOpenBrace(e,t){return this.braceStack.push("expression"),this.advance(),Td(e,this.index,t)}scanCloseBrace(e,t){return this.advance(),"interpolation"===this.braceStack.pop()?(this.tokens.push(Td(e,this.index,gi)),this.scanTemplateLiteralPart(this.index)):Td(e,this.index,t)}scanComplexOperator(e,t,o,c,u,v){this.advance();let k=t;return this.peek==o&&(this.advance(),k+=c),null!=u&&this.peek==u&&(this.advance(),k+=v),Uo(e,this.index,k)}scanEquals(e){this.advance();let t="=";if(61===this.peek)this.advance(),t+="=";else if(62===this.peek)return this.advance(),t+=">",Uo(e,this.index,t);return 61===this.peek&&(this.advance(),t+="="),Uo(e,this.index,t)}scanIdentifier(){const e=this.index;for(this.advance();x_(this.peek);)this.advance();const t=this.input.substring(e,this.index);return Cd.indexOf(t)>-1?function lp(n,e,t){return new El(n,e,ar.Keyword,0,t)}(e,this.index,t):function w_(n,e,t){return new El(n,e,ar.Identifier,0,t)}(e,this.index,t)}scanPrivateIdentifier(){const e=this.index;if(this.advance(),!S_(this.peek))return this.error("Invalid character [#]",-1);for(;x_(this.peek);)this.advance();const t=this.input.substring(e,this.index);return function Vl(n,e,t){return new El(n,e,ar.PrivateIdentifier,0,t)}(e,this.index,t)}scanNumber(e){let t=this.index===e,o=!1;for(this.advance();;){if(!Yc(this.peek))if(95===this.peek){if(!Yc(this.input.charCodeAt(this.index-1))||!Yc(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);o=!0}else if(46===this.peek)t=!1;else{if(!$m(this.peek))break;if(this.advance(),D_(this.peek)&&this.advance(),!Yc(this.peek))return this.error("Invalid exponent",-1);t=!1}this.advance()}let c=this.input.substring(e,this.index);o&&(c=c.replace(/_/g,""));const u=t?function gf(n){const e=parseInt(n);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+n);return e}(c):parseFloat(c);return function Ku(n,e,t){return new El(n,e,ar.Number,t,"")}(e,this.index,u)}scanString(){const e=this.index,t=this.peek;this.advance();let o="",c=this.index;const u=this.input;for(;this.peek!=t;)if(92==this.peek){const k=this.scanStringBackslash(o,c);if("string"!=typeof k)return k;o=k,c=this.index}else{if(0==this.peek)return this.error("Unterminated quote",0);this.advance()}const v=u.substring(c,this.index);return this.advance(),new Uc(e,this.index,o+v,bl.Plain)}scanQuestion(e){this.advance();let t="?";return 63===this.peek?(t+="?",this.advance(),61===this.peek&&(t+="=",this.advance())):46===this.peek&&(t+=".",this.advance()),Uo(e,this.index,t)}scanTemplateLiteralPart(e){let t="",o=this.index;for(;96!==this.peek;)if(92===this.peek){const u=this.scanStringBackslash(t,o);if("string"!=typeof u)return u;t=u,o=this.index}else if(36===this.peek){const u=this.index;if(this.advance(),this.peek===Cn)return this.braceStack.push("interpolation"),this.tokens.push(new Uc(e,u,t+this.input.substring(o,u),bl.TemplateLiteralPart)),this.advance(),Uo(u,this.index,this.input.substring(u,this.index))}else{if(0===this.peek)return this.error("Unterminated template literal",0);this.advance()}const c=this.input.substring(o,this.index);return this.advance(),new Uc(e,this.index,t+c,bl.TemplateLiteralEnd)}error(e,t){const o=this.index+t;return function eo(n,e,t){return new El(n,e,ar.Error,0,t)}(o,this.index,`Lexer Error: ${e} at column ${o} in expression [${this.input}]`)}scanStringBackslash(e,t){let o;if(e+=this.input.substring(t,this.index),this.advance(),117===this.peek){const c=this.input.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(c))return this.error(`Invalid unicode escape [\\u${c}]`,0);o=parseInt(c,16);for(let u=0;u<5;u++)this.advance()}else o=function jm(n){switch(n){case 110:return 10;case 102:return 12;case 114:return 13;case 116:return 9;case 118:return 11;default:return n}}(this.peek),this.advance();return e+=String.fromCharCode(o)}scanStar(e){this.advance();let t="*";return 42===this.peek?(t+="*",this.advance(),61===this.peek&&(t+="=",this.advance())):61===this.peek&&(t+="=",this.advance()),Uo(e,this.index,t)}isStartOfRegex(){if(0===this.tokens.length)return!0;const e=this.tokens[this.tokens.length-1];if(e.isOperator("!")){const t=this.tokens.length>1?this.tokens[this.tokens.length-2]:null;return null===t||t.type!==ar.Identifier&&!t.isCharacter(41)&&!t.isCharacter(93)}return e.type===ar.Operator||e.isCharacter(40)||e.isCharacter(91)||e.isCharacter(44)||e.isCharacter(58)}scanRegex(e){this.advance();const t=this.index;let o=!1,c=!1;for(;;){const ae=this.peek;if(0===ae)return this.error("Unterminated regular expression",0);if(o)o=!1;else if(92===ae)o=!0;else if(91===ae)c=!0;else if(93===ae)c=!1;else if(47===ae&&!c)break;this.advance()}const u=this.input.substring(t,this.index);this.advance();const v=function nl(n,e,t){return new El(n,e,ar.RegExpBody,0,t)}(e,this.index,u),k=this.scanRegexFlags(this.index);return null!==k?(this.tokens.push(v),k):v}scanRegexFlags(e){if(!_u(this.peek))return null;for(;_u(this.peek);)this.advance();return function Ua(n,e,t){return new El(n,e,ar.RegExpFlags,0,t)}(e,this.index,this.input.substring(e,this.index))}}function S_(n){return 97<=n&&n<=122||65<=n&&n<=90||95==n||36==n}function x_(n){return _u(n)||Yc(n)||95==n||36==n}function $m(n){return 101==n||69==n}function D_(n){return 45==n||43==n}class d{strings;expressions;offsets;constructor(e,t,o){this.strings=e,this.expressions=t,this.offsets=o}}class _{templateBindings;warnings;errors;constructor(e,t,o){this.templateBindings=e,this.warnings=t,this.errors=o}}function W(n){return n.start.toString()||"(unknown)"}class we{_lexer;_supportsDirectPipeReferences;constructor(e,t=!1){this._lexer=e,this._supportsDirectPipeReferences=t}parseAction(e,t,o){const c=[];this._checkNoInterpolation(c,e,t);const{stripped:u}=this._stripComments(e),v=this._lexer.tokenize(u),k=new nn(e,t,o,v,1,c,0,this._supportsDirectPipeReferences).parseChain();return new At(k,e,W(t),o,c)}parseBinding(e,t,o){const c=[],u=this._parseBindingAst(e,t,o,c);return new At(u,e,W(t),o,c)}checkSimpleExpression(e){const t=new Dn;return e.visit(t),t.errors}parseSimpleBinding(e,t,o){const c=[],u=this._parseBindingAst(e,t,o,c),v=this.checkSimpleExpression(u);return v.length>0&&c.push(un(`Host binding expression cannot contain ${v.join(" ")}`,e,"",t)),new At(u,e,W(t),o,c)}_parseBindingAst(e,t,o,c){this._checkNoInterpolation(c,e,t);const{stripped:u}=this._stripComments(e),v=this._lexer.tokenize(u);return new nn(e,t,o,v,0,c,0,this._supportsDirectPipeReferences).parseChain()}parseTemplateBindings(e,t,o,c,u){const v=this._lexer.tokenize(t);return new nn(t,o,u,v,0,[],0,this._supportsDirectPipeReferences).parseTemplateBindings({source:e,span:new Ge(c,c+e.length)})}parseInterpolation(e,t,o,c){const u=[],{strings:v,expressions:k,offsets:ae}=this.splitInterpolation(e,t,u,c);if(0===k.length)return null;const me=[];for(let Ve=0;Ve<k.length;++Ve){const it=c?.[2*Ve+1]?.sourceSpan,Gt=k[Ve].text,{stripped:yn,hasComments:Un}=this._stripComments(Gt),ai=this._lexer.tokenize(yn);if(Un&&0===yn.trim().length&&0===ai.length){u.push(un("Interpolation expression cannot only contain a comment",e,`at column ${k[Ve].start} in`,t));continue}const _i=new nn(it?Gt:e,it||t,o,ai,0,u,ae[Ve],this._supportsDirectPipeReferences).parseChain();me.push(_i)}return this.createInterpolationAst(v.map(Ve=>Ve.text),me,e,W(t),o,u)}parseInterpolationExpression(e,t,o){const{stripped:c}=this._stripComments(e),u=this._lexer.tokenize(c),v=[],k=new nn(e,t,o,u,0,v,0,this._supportsDirectPipeReferences).parseChain();return this.createInterpolationAst(["",""],[k],e,W(t),o,v)}createInterpolationAst(e,t,o,c,u,v){const k=new Zt(0,o.length),ae=new Lo(k,k.toAbsolute(u),e,t);return new At(ae,o,c,u,v)}splitInterpolation(e,t,o,c){const u=[],v=[],k=[],ae=c?function ii(n){let e=new Map,t=0,o=0,c=0;for(;c<n.length;){const u=n[c];if(9===u.type){const[v,k]=u.parts;t+=k.length,o+=v.length}else{const v=u.parts.reduce((k,ae)=>k+ae.length,0);o+=v,t+=v}e.set(o,t),c++}return e}(c):null;let me=0,Ve=!1,it=!1;for(;me<e.length;)if(Ve){const Un=me,ai=Un+2,_i=this._getInterpolationEndIndex(e,"}}",ai);if(-1===_i){Ve=!1,it=!0;break}const Wi=_i+2,Wr=e.substring(ai,_i);0===Wr.trim().length&&o.push(un("Blank expressions are not allowed in interpolated strings",e,`at column ${me} in`,t)),v.push({text:Wr,start:Un,end:Wi});const As=(ae?.get(Un)??Un)+2;k.push(As),me=Wi,Ve=!1}else{const Un=me;me=e.indexOf("{{",me),-1===me&&(me=e.length);const ai=e.substring(Un,me);u.push({text:ai,start:Un,end:me}),Ve=!0}if(!Ve)if(it){const Un=u[u.length-1];Un.text+=e.substring(me),Un.end=e.length}else u.push({text:e.substring(me),start:me,end:e.length});return new d(u,v,k)}wrapLiteralPrimitive(e,t,o){const c=new Zt(0,null==e?0:e.length);return new At(new nr(c,c.toAbsolute(o),e),e,"string"==typeof t?t:W(t),o,[])}_stripComments(e){const t=this._commentStart(e);return null!=t?{stripped:e.substring(0,t),hasComments:!0}:{stripped:e,hasComments:!1}}_commentStart(e){let t=null;for(let o=0;o<e.length-1;o++){const c=e.charCodeAt(o),u=e.charCodeAt(o+1);if(47===c&&47==u&&null==t)return o;t===c?t=null:null==t&&ad(c)&&(t=c)}return null}_checkNoInterpolation(e,t,o){let c=-1,u=-1;for(const v of this._forEachUnquotedChar(t,0))if(-1===c)t.startsWith("{{")&&(c=v);else if(u=this._getInterpolationEndIndex(t,"}}",v),u>-1)break;c>-1&&u>-1&&e.push(un("Got interpolation ({{}}) where expression was expected",t,`at column ${c} in`,o))}_getInterpolationEndIndex(e,t,o){for(const c of this._forEachUnquotedChar(e,o)){if(e.startsWith(t,c))return c;if(e.startsWith("//",c))return e.indexOf(t,c)}return-1}*_forEachUnquotedChar(e,t){let o=null,c=0;for(let u=t;u<e.length;u++){const v=e[u];!ad(e.charCodeAt(u))||null!==o&&o!==v||c%2!=0?null===o&&(yield u):o=null===o?v:null,c="\\"===v?c+1:0}}}var nt;!function(n){n[n.None=0]="None",n[n.Writable=1]="Writable"}(nt||(nt={}));const Ct=new Set(["d","g","i","m","s","u","v","y"]);class nn{input;parseSourceSpan;absoluteOffset;tokens;parseFlags;errors;offset;supportsDirectPipeReferences;rparensExpected=0;rbracketsExpected=0;rbracesExpected=0;context=nt.None;sourceSpanCache=new Map;index=0;constructor(e,t,o,c,u,v,k,ae){this.input=e,this.parseSourceSpan=t,this.absoluteOffset=o,this.tokens=c,this.parseFlags=u,this.errors=v,this.offset=k,this.supportsDirectPipeReferences=ae}peek(e){const t=this.index+e;return t<this.tokens.length?this.tokens[t]:il}get next(){return this.peek(0)}get atEOF(){return this.index>=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){return this.index>0?this.peek(-1).end+this.offset:0===this.tokens.length?this.input.length+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e,t){let o=this.currentEndIndex;if(void 0!==t&&t>this.currentEndIndex&&(o=t),e>o){const c=o;o=e,e=c}return new Zt(e,o)}sourceSpan(e,t){const o=`${e}@${this.inputIndex}:${t}`;return this.sourceSpanCache.has(o)||this.sourceSpanCache.set(o,this.span(e,t).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(o)}advance(){this.index++}withContext(e,t){this.context|=e;const o=t();return this.context^=e,o}consumeOptionalCharacter(e){return!!this.next.isCharacter(e)&&(this.advance(),!0)}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(e){this.consumeOptionalCharacter(e)||this.error(`Missing expected ${String.fromCharCode(e)}`)}consumeOptionalOperator(e){return!!this.next.isOperator(e)&&(this.advance(),!0)}isAssignmentOperator(e){return e.type===ar.Operator&&Bo.isAssignmentOperation(e.strValue)}expectOperator(e){this.consumeOptionalOperator(e)||this.error(`Missing expected operator ${e}`)}prettyPrintToken(e){return e===il?"end of input":`token ${e}`}expectIdentifierOrKeyword(){const e=this.next;return e.isIdentifier()||e.isKeyword()?(this.advance(),e.toString()):(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier or keyword"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier or keyword`),null)}expectIdentifierOrKeywordOrString(){const e=this.next;return e.isIdentifier()||e.isKeyword()||e.isString()?(this.advance(),e.toString()):(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier, keyword or string"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier, keyword, or string`),"")}parseChain(){const e=[],t=this.inputIndex;for(;this.index<this.tokens.length;){const o=this.parsePipe();if(e.push(o),this.consumeOptionalCharacter(59))for(1&this.parseFlags||this.error("Binding expression cannot contain chained expression");this.consumeOptionalCharacter(59););else if(this.index<this.tokens.length){const c=this.index;if(this.error(`Unexpected token '${this.next}'`),this.index===c)break}}if(0===e.length){const o=this.offset,c=this.offset+this.input.length;return new On(this.span(o,c),this.sourceSpan(o,c))}return 1==e.length?e[0]:new cr(this.span(t),this.sourceSpan(t),e)}parsePipe(){const e=this.inputIndex;let t=this.parseExpression();if(this.consumeOptionalOperator("|")){1&this.parseFlags&&this.error("Cannot have a pipe in an action expression");do{const o=this.inputIndex;let u,v,c=this.expectIdentifierOrKeyword();null!==c?u=this.sourceSpan(o):(c="",v=-1!==this.next.index?this.next.index:this.input.length+this.offset,u=new Zt(v,v).toAbsolute(this.absoluteOffset));const k=[];for(;this.consumeOptionalCharacter(58);)k.push(this.parseExpression());let ae;if(this.supportsDirectPipeReferences){const me=c.charCodeAt(0);ae=95===me||me>=65&&me<=90?fi.ReferencedDirectly:fi.ReferencedByName}else ae=fi.ReferencedByName;t=new fr(this.span(e),this.sourceSpan(e,v),t,c,k,ae,u)}while(this.consumeOptionalOperator("|"))}return t}parseExpression(){return this.parseConditional()}parseConditional(){const e=this.inputIndex,t=this.parseLogicalOr();if(this.consumeOptionalOperator("?")){const o=this.parsePipe();let c;if(this.consumeOptionalCharacter(58))c=this.parsePipe();else{const u=this.inputIndex,v=this.input.substring(e,u);this.error(`Conditional expression ${v} requires all 3 expressions`),c=new On(this.span(e),this.sourceSpan(e))}return new gt(this.span(e),this.sourceSpan(e),t,o,c)}return t}parseLogicalOr(){const e=this.inputIndex;let t=this.parseLogicalAnd();for(;this.consumeOptionalOperator("||");){const o=this.parseLogicalAnd();t=new Bo(this.span(e),this.sourceSpan(e),"||",t,o)}return t}parseLogicalAnd(){const e=this.inputIndex;let t=this.parseNullishCoalescing();for(;this.consumeOptionalOperator("&&");){const o=this.parseNullishCoalescing();t=new Bo(this.span(e),this.sourceSpan(e),"&&",t,o)}return t}parseNullishCoalescing(){const e=this.inputIndex;let t=this.parseEquality();for(;this.consumeOptionalOperator("??");){const o=this.parseEquality();t=new Bo(this.span(e),this.sourceSpan(e),"??",t,o)}return t}parseEquality(){const e=this.inputIndex;let t=this.parseRelational();for(;this.next.type==ar.Operator;){const o=this.next.strValue;switch(o){case"==":case"===":case"!=":case"!==":this.advance();const c=this.parseRelational();t=new Bo(this.span(e),this.sourceSpan(e),o,t,c);continue}break}return t}parseRelational(){const e=this.inputIndex;let t=this.parseAdditive();for(;this.next.type==ar.Operator||this.next.isKeywordIn()||this.next.isKeywordInstanceOf();){const o=this.next.strValue;switch(o){case"<":case">":case"<=":case">=":case"in":case"instanceof":this.advance();const c=this.parseAdditive();t=new Bo(this.span(e),this.sourceSpan(e),o,t,c);continue}break}return t}parseAdditive(){const e=this.inputIndex;let t=this.parseMultiplicative();for(;this.next.type==ar.Operator;){const o=this.next.strValue;switch(o){case"+":case"-":this.advance();let c=this.parseMultiplicative();t=new Bo(this.span(e),this.sourceSpan(e),o,t,c);continue}break}return t}parseMultiplicative(){const e=this.inputIndex;let t=this.parseExponentiation();for(;this.next.type==ar.Operator;){const o=this.next.strValue;switch(o){case"*":case"%":case"/":this.advance();const c=this.parseExponentiation();t=new Bo(this.span(e),this.sourceSpan(e),o,t,c);continue}break}return t}parseExponentiation(){const e=this.inputIndex;let t=this.parsePrefix();for(;this.next.type==ar.Operator&&"**"===this.next.strValue;){(t instanceof Fs||t instanceof Qs||t instanceof hn||t instanceof Hn)&&this.error("Unary operator used immediately before exponentiation expression. Parenthesis must be used to disambiguate operator precedence"),this.advance();const o=this.parseExponentiation();t=new Bo(this.span(e),this.sourceSpan(e),"**",t,o)}return t}parsePrefix(){if(this.next.type==ar.Operator){const e=this.inputIndex;let o;switch(this.next.strValue){case"+":return this.advance(),o=this.parsePrefix(),Fs.createPlus(this.span(e),this.sourceSpan(e),o);case"-":return this.advance(),o=this.parsePrefix(),Fs.createMinus(this.span(e),this.sourceSpan(e),o);case"!":return this.advance(),o=this.parsePrefix(),new Qs(this.span(e),this.sourceSpan(e),o)}}else{if(this.next.isKeywordTypeof()){const e=this.inputIndex;this.advance();const t=this.parsePrefix();return new hn(this.span(e),this.sourceSpan(e),t)}if(this.next.isKeywordVoid()){const e=this.inputIndex;this.advance();const t=this.parsePrefix();return new Hn(this.span(e),this.sourceSpan(e),t)}}return this.parseCallChain()}parseCallChain(){const e=this.inputIndex;let t=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(46))t=this.parseAccessMember(t,e,!1);else if(this.consumeOptionalOperator("?."))t=this.consumeOptionalCharacter(40)?this.parseCall(t,e,!0):this.consumeOptionalCharacter(91)?this.parseKeyedReadOrWrite(t,e,!0):this.parseAccessMember(t,e,!0);else if(this.consumeOptionalCharacter(91))t=this.parseKeyedReadOrWrite(t,e,!1);else if(this.consumeOptionalCharacter(40))t=this.parseCall(t,e,!1);else if(this.consumeOptionalOperator("!"))t=new Rn(this.span(e),this.sourceSpan(e),t);else if(this.next.isTemplateLiteralEnd())t=this.parseNoInterpolationTaggedTemplateLiteral(t,e);else{if(!this.next.isTemplateLiteralPart())return t;t=this.parseTaggedTemplateLiteral(t,e)}}parsePrimary(){const e=this.inputIndex;if(this.isArrowFunction())return this.parseArrowFunction(e);if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const t=this.parsePipe();return this.consumeOptionalCharacter(41)||(this.error("Missing closing parentheses"),this.consumeOptionalCharacter(41)),this.rparensExpected--,new go(this.span(e),this.sourceSpan(e),t)}if(this.next.isKeywordNull())return this.advance(),new nr(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new nr(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new nr(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new nr(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordThis())return this.advance(),new yi(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(91))return this.parseLiteralArray(e);if(this.next.isCharacter(Cn))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMember(new hi(this.span(e),this.sourceSpan(e)),e,!1);if(this.next.isNumber()){const t=this.next.toNumber();return this.advance(),new nr(this.span(e),this.sourceSpan(e),t)}if(this.next.isTemplateLiteralEnd())return this.parseNoInterpolationTemplateLiteral();if(this.next.isTemplateLiteralPart())return this.parseTemplateLiteral();if(this.next.isString()&&this.next.kind===bl.Plain){const t=this.next.toString();return this.advance(),new nr(this.span(e),this.sourceSpan(e),t)}return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new On(this.span(e),this.sourceSpan(e))):this.next.isRegExpBody()?this.parseRegularExpressionLiteral():this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new On(this.span(e),this.sourceSpan(e))):(this.error(`Unexpected token ${this.next}`),new On(this.span(e),this.sourceSpan(e)))}parseLiteralArray(e){this.rbracketsExpected++;const t=[];do{if(this.next.isOperator("..."))t.push(this.parseSpreadElement());else{if(this.next.isCharacter(93))break;t.push(this.parsePipe())}}while(this.consumeOptionalCharacter(44));return this.rbracketsExpected--,this.expectCharacter(93),new ds(this.span(e),this.sourceSpan(e),t)}parseLiteralMap(){const e=[],t=[],o=this.inputIndex;if(this.expectCharacter(Cn),!this.consumeOptionalCharacter(gi)){this.rbracesExpected++;do{const c=this.inputIndex;if(this.next.isOperator("...")){this.advance(),e.push({kind:"spread",span:this.span(c),sourceSpan:this.sourceSpan(c)}),t.push(this.parsePipe());continue}const u=this.next.isString(),v=this.expectIdentifierOrKeywordOrString(),k=this.span(c),ae=this.sourceSpan(c),me={kind:"property",key:v,quoted:u,span:k,sourceSpan:ae};e.push(me),u?(this.expectCharacter(58),t.push(this.parsePipe())):this.consumeOptionalCharacter(58)?t.push(this.parsePipe()):(me.isShorthandInitialized=!0,t.push(new A(k,ae,ae,new hi(k,ae),v)))}while(this.consumeOptionalCharacter(44)&&!this.next.isCharacter(gi));this.rbracesExpected--,this.expectCharacter(gi)}return new Ho(this.span(o),this.sourceSpan(o),e,t)}parseAccessMember(e,t,o){const c=this.inputIndex,u=this.withContext(nt.Writable,()=>{const k=this.expectIdentifierOrKeyword()??"";return 0===k.length&&this.error("Expected identifier for property access",e.span.end),k}),v=this.sourceSpan(c);if(o)return this.isAssignmentOperator(this.next)?(this.advance(),this.error("The '?.' operator cannot be used in the assignment"),new On(this.span(t),this.sourceSpan(t))):new Se(this.span(t),this.sourceSpan(t),v,e,u);if(this.isAssignmentOperator(this.next)){const k=this.next.strValue;if(!(1&this.parseFlags))return this.advance(),this.error("Bindings cannot contain assignments"),new On(this.span(t),this.sourceSpan(t));const ae=new A(this.span(t),this.sourceSpan(t),v,e,u);this.advance();const me=this.parseConditional();return new Bo(this.span(t),this.sourceSpan(t),k,ae,me)}return new A(this.span(t),this.sourceSpan(t),v,e,u)}parseCall(e,t,o){const c=this.inputIndex;this.rparensExpected++;const u=this.parseCallArguments(),v=this.span(c,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(41),this.rparensExpected--;const k=this.span(t),ae=this.sourceSpan(t);return o?new Zn(k,ae,e,u,v):new bi(k,ae,e,u,v)}parseCallArguments(){if(this.next.isCharacter(41))return[];const e=[];do{e.push(this.next.isOperator("...")?this.parseSpreadElement():this.parsePipe())}while(this.consumeOptionalCharacter(44));return e}parseSpreadElement(){this.next.isOperator("...")||this.error("Spread element must start with '...' operator");const e=this.inputIndex;this.advance();const t=this.parsePipe(),o=this.span(e),c=this.sourceSpan(e);return new Xs(o,c,t)}expectTemplateBindingKey(){let e="",t=!1;const o=this.currentAbsoluteOffset;do{e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-")}while(t);return{source:e,span:new Ge(o,o+e.length)}}parseTemplateBindings(e){const t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index<this.tokens.length;){const o=this.parseLetBinding();if(o)t.push(o);else{const c=this.expectTemplateBindingKey(),u=this.parseAsBinding(c);u?t.push(u):(c.source=e.source+c.source.charAt(0).toUpperCase()+c.source.substring(1),t.push(...this.parseDirectiveKeywordBindings(c)))}this.consumeStatementTerminator()}return new _(t,[],this.errors)}parseKeyedReadOrWrite(e,t,o){return this.withContext(nt.Writable,()=>{this.rbracketsExpected++;const c=this.parsePipe();if(c instanceof On&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(93),!this.isAssignmentOperator(this.next))return o?new En(this.span(t),this.sourceSpan(t),e,c):new dt(this.span(t),this.sourceSpan(t),e,c);{const u=this.next.strValue;if(!o){const v=new dt(this.span(t),this.sourceSpan(t),e,c);this.advance();const k=this.parseConditional();return new Bo(this.span(t),this.sourceSpan(t),u,v,k)}this.advance(),this.error("The '?.' operator cannot be used in the assignment")}return new On(this.span(t),this.sourceSpan(t))})}parseDirectiveKeywordBindings(e){const t=[];this.consumeOptionalCharacter(58);const o=this.getDirectiveBoundTarget();let c=this.currentAbsoluteOffset;const u=this.parseAsBinding(e);u||(this.consumeStatementTerminator(),c=this.currentAbsoluteOffset);const v=new Ge(e.span.start,c);return t.push(new gn(v,e,o)),u&&t.push(u),t}getDirectiveBoundTarget(){if(this.next===il||this.peekKeywordAs()||this.peekKeywordLet())return null;const e=this.parsePipe(),{start:t,end:o}=e.span,c=this.input.substring(t,o);return new At(e,c,W(this.parseSourceSpan),this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();const t=this.expectTemplateBindingKey();this.consumeStatementTerminator();const o=new Ge(e.span.start,this.currentAbsoluteOffset);return new Xt(o,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;const e=this.currentAbsoluteOffset;this.advance();const t=this.expectTemplateBindingKey();let o=null;this.consumeOptionalOperator("=")&&(o=this.expectTemplateBindingKey()),this.consumeStatementTerminator();const c=new Ge(e,this.currentAbsoluteOffset);return new Xt(c,t,o)}parseNoInterpolationTaggedTemplateLiteral(e,t){const o=this.parseNoInterpolationTemplateLiteral();return new ci(this.span(t),this.sourceSpan(t),e,o)}parseNoInterpolationTemplateLiteral(){const e=this.next.strValue,t=this.inputIndex;this.advance();const o=this.span(t),c=this.sourceSpan(t);return new Pi(o,c,[new ki(o,c,e)],[])}parseTaggedTemplateLiteral(e,t){const o=this.parseTemplateLiteral();return new ci(this.span(t),this.sourceSpan(t),e,o)}parseTemplateLiteral(){const e=[],t=[],o=this.inputIndex;for(;this.next!==il;){const c=this.next;if(c.isTemplateLiteralPart()||c.isTemplateLiteralEnd()){const u=this.inputIndex;if(this.advance(),e.push(new ki(this.span(u),this.sourceSpan(u),c.strValue)),c.isTemplateLiteralEnd())break}else if(c.isTemplateLiteralInterpolationStart()){this.advance(),this.rbracesExpected++;const u=this.parsePipe();u instanceof On&&this.error("Template literal interpolation cannot be empty"),t.push(u),this.rbracesExpected--}else this.advance()}return new Pi(this.span(o),this.sourceSpan(o),e,t)}parseRegularExpressionLiteral(){const e=this.next;if(this.advance(),!e.isRegExpBody())return new On(this.span(this.inputIndex),this.sourceSpan(this.inputIndex));let t=null;if(this.next.isRegExpFlags()){t=this.next,this.advance();const u=new Set;for(let v=0;v<t.strValue.length;v++){const k=t.strValue[v];Ct.has(k)?u.has(k)?this.error(`Duplicate regular expression flag "${k}"`,t.index+v):u.add(k):this.error(`Unsupported regular expression flag "${k}". The supported flags are: `+Array.from(Ct,ae=>`"${ae}"`).join(", "),t.index+v)}}const o=e.index,c=t?t.end:e.end;return new se(this.span(o,c),this.sourceSpan(o,c),e.strValue,t?t.strValue:null)}parseArrowFunction(e){let t,o;if(this.next.isIdentifier()){const c=this.next;this.advance(),t=[this.getArrowFunctionIdentifierArg(c)]}else this.next.isCharacter(40)?(this.rparensExpected++,this.advance(),t=this.parseArrowFunctionParameters(),this.rparensExpected--):(t=[],this.error(`Unexpected token ${this.next}`));if(this.expectOperator("=>"),this.next.isCharacter(Cn))this.error("Multi-line arrow functions are not supported. If you meant to return an object literal, wrap it with parentheses."),o=new On(this.span(e),this.sourceSpan(e));else{const c=this.parseFlags;this.parseFlags=1,o=this.parseExpression(),this.parseFlags=c}return new qe(this.span(e),this.sourceSpan(e),t,o)}parseArrowFunctionParameters(){const e=[];if(!this.consumeOptionalCharacter(41))for(;this.next!==il;){if(!this.next.isIdentifier()){this.error(`Unexpected token ${this.next}`);break}{const t=this.next;if(this.advance(),e.push(this.getArrowFunctionIdentifierArg(t)),this.consumeOptionalCharacter(41))break;this.expectCharacter(44)}}return e}getArrowFunctionIdentifierArg(e){return new ya(e.strValue,this.span(e.index),this.sourceSpan(e.index))}isArrowFunction(){const e=this.index,t=this.tokens;if(e>t.length-2)return!1;if(t[e].isIdentifier()&&t[e+1].isOperator("=>"))return!0;if(t[e].isCharacter(40)){let o=e+1;for(;o<t.length&&(t[o].isIdentifier()||t[o].isCharacter(44));o++);return o<t.length-1&&t[o].isCharacter(41)&&t[o+1].isOperator("=>")}return!1}consumeStatementTerminator(){this.consumeOptionalCharacter(59)||this.consumeOptionalCharacter(44)}error(e,t=this.index){this.errors.push(un(e,this.input,this.getErrorLocationText(t),this.parseSourceSpan)),this.skip()}getErrorLocationText(e){return e<this.tokens.length?`at column ${this.tokens[e].index+1} in`:"at the end of the expression"}_reportErrorForPrivateIdentifier(e,t){let o=`Private identifiers are not supported. Unexpected private identifier: ${e}`;null!==t&&(o+=`, ${t}`),this.error(o)}skip(){let e=this.next;for(;!(!(this.index<this.tokens.length)||e.isCharacter(59)||e.isOperator("|")||!(this.rparensExpected<=0)&&e.isCharacter(41)||!(this.rbracesExpected<=0)&&e.isCharacter(gi)||!(this.rbracketsExpected<=0)&&e.isCharacter(93)||this.context&nt.Writable&&this.isAssignmentOperator(e));)this.next.isError()&&this.errors.push(un(this.next.toString(),this.input,this.getErrorLocationText(this.next.index),this.parseSourceSpan)),this.advance(),e=this.next}}function un(n,e,t,o){t.length>0&&(t=` ${t} `);const c=W(o);return new Vi(o,`Parser Error: ${n}${t}[${e}] in ${c}`)}class Dn extends An{errors=[];visitPipe(){this.errors.push("pipes")}}class jn{visitUnary(e,t){return`${e.operator}${e.expr.visit(this,t)}`}visitBinary(e,t){return`${e.left.visit(this,t)} ${e.operation} ${e.right.visit(this,t)}`}visitChain(e,t){return e.expressions.map(o=>o.visit(this,t)).join("; ")}visitConditional(e,t){return`${e.condition.visit(this,t)} ? ${e.trueExp.visit(this,t)} : ${e.falseExp.visit(this,t)}`}visitThisReceiver(){return"this"}visitImplicitReceiver(){return""}visitInterpolation(e,t){return function or(n,e){const t=[];for(let o=0;o<Math.max(n.length,e.length);o++)o<n.length&&t.push(n[o]),o<e.length&&t.push(e[o]);return t}(e.strings,e.expressions.map(o=>o.visit(this,t))).join("")}visitKeyedRead(e,t){return`${e.receiver.visit(this,t)}[${e.key.visit(this,t)}]`}visitLiteralArray(e,t){return`[${e.expressions.map(o=>o.visit(this,t)).join(", ")}]`}visitLiteralMap(e,t){return`{${function Ii(n,e){if(n.length!==e.length)throw new Error("Array lengths must match");return n.map((t,o)=>[t,e[o]])}(e.keys.map(o=>"spread"===o.kind?"...":o.quoted?`'${o.key}'`:o.key),e.values.map(o=>o.visit(this,t))).map(([o,c])=>`${o}: ${c}`).join(", ")}}`}visitLiteralPrimitive(e){if(null===e.value)return"null";switch(typeof e.value){case"number":case"boolean":return e.value.toString();case"undefined":return"undefined";case"string":return`'${e.value.replace(/'/g,"\\'")}'`;default:throw new Error(`Unsupported primitive type: ${e.value}`)}}visitPipe(e,t){return`${e.exp.visit(this,t)} | ${e.name}`}visitPrefixNot(e,t){return`!${e.expression.visit(this,t)}`}visitNonNullAssert(e,t){return`${e.expression.visit(this,t)}!`}visitPropertyRead(e,t){return e.receiver instanceof hi||e.receiver instanceof yi?e.name:`${e.receiver.visit(this,t)}.${e.name}`}visitSafePropertyRead(e,t){return`${e.receiver.visit(this,t)}?.${e.name}`}visitSafeKeyedRead(e,t){return`${e.receiver.visit(this,t)}?.[${e.key.visit(this,t)}]`}visitCall(e,t){return`${e.receiver.visit(this,t)}(${e.args.map(o=>o.visit(this,t)).join(", ")})`}visitSafeCall(e,t){return`${e.receiver.visit(this,t)}?.(${e.args.map(o=>o.visit(this,t)).join(", ")})`}visitTypeofExpression(e,t){return`typeof ${e.expression.visit(this,t)}`}visitVoidExpression(e,t){return`void ${e.expression.visit(this,t)}`}visitRegularExpressionLiteral(e,t){return`/${e.body}/${e.flags||""}`}visitArrowFunction(e,t){let o;return o=1===e.parameters.length?e.parameters[0].name:`(${e.parameters.map(c=>c.name).join(", ")})`,`${o} => ${e.body.visit(this,t)}`}visitASTWithSource(e,t){return e.ast.visit(this,t)}visitTemplateLiteral(e,t){let o="";for(let c=0;c<e.elements.length;c++){o+=e.elements[c].visit(this,t);const u=c<e.expressions.length?e.expressions[c]:null;null!==u&&(o+="${"+u.visit(this,t)+"}")}return"`"+o+"`"}visitTemplateLiteralElement(e,t){return e.text}visitTaggedTemplateLiteral(e,t){return e.tag.visit(this,t)+e.template.visit(this,t)}visitSpreadElement(e,t){return`...${e.expression.visit(this,t)}`}visitParenthesizedExpression(e,t){return"("+e.expression.visit(this,t)+")"}}const yr="svg",Hr="math";class xr{}function _a(n){const e=n.toLowerCase(),[t,o]=ko(e,!1);return t===yr||t===Hr?`:${t}:${o}`:o}const $s=["[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","geolocation^[HTMLElement]|accuracymode,!autolocate,*location,*promptaction,*promptdismiss,*validationstatuschange,!watch","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,!credentialless,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","selectedcontent^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","search^[HTMLELement]|","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],Vc=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex","aria-activedescendant":"ariaActiveDescendantElement","aria-atomic":"ariaAtomic","aria-autocomplete":"ariaAutoComplete","aria-busy":"ariaBusy","aria-checked":"ariaChecked","aria-colcount":"ariaColCount","aria-colindex":"ariaColIndex","aria-colindextext":"ariaColIndexText","aria-colspan":"ariaColSpan","aria-controls":"ariaControlsElements","aria-current":"ariaCurrent","aria-describedby":"ariaDescribedByElements","aria-description":"ariaDescription","aria-details":"ariaDetailsElements","aria-disabled":"ariaDisabled","aria-errormessage":"ariaErrorMessageElements","aria-expanded":"ariaExpanded","aria-flowto":"ariaFlowToElements","aria-haspopup":"ariaHasPopup","aria-hidden":"ariaHidden","aria-invalid":"ariaInvalid","aria-keyshortcuts":"ariaKeyShortcuts","aria-label":"ariaLabel","aria-labelledby":"ariaLabelledByElements","aria-level":"ariaLevel","aria-live":"ariaLive","aria-modal":"ariaModal","aria-multiline":"ariaMultiLine","aria-multiselectable":"ariaMultiSelectable","aria-orientation":"ariaOrientation","aria-owns":"ariaOwnsElements","aria-placeholder":"ariaPlaceholder","aria-posinset":"ariaPosInSet","aria-pressed":"ariaPressed","aria-readonly":"ariaReadOnly","aria-required":"ariaRequired","aria-roledescription":"ariaRoleDescription","aria-rowcount":"ariaRowCount","aria-rowindex":"ariaRowIndex","aria-rowindextext":"ariaRowIndexText","aria-rowspan":"ariaRowSpan","aria-selected":"ariaSelected","aria-setsize":"ariaSetSize","aria-sort":"ariaSort","aria-valuemax":"ariaValueMax","aria-valuemin":"ariaValueMin","aria-valuenow":"ariaValueNow","aria-valuetext":"ariaValueText"})),ru=Array.from(Vc).reduce((n,[e,t])=>(n.set(e,t),n),new Map);class Gu extends xr{_schema=new Map;_eventSchema=new Map;constructor(){super(),$s.forEach(e=>{const t=new Map,o=new Set,[c,u]=e.split("|"),v=u.split(","),[k,ae]=c.split("^");k.split(",").forEach(Ve=>{this._schema.set(Ve.toLowerCase(),t),this._eventSchema.set(Ve.toLowerCase(),o)});const me=ae&&this._schema.get(ae.toLowerCase());if(me){for(const[Ve,it]of me)t.set(Ve,it);for(const Ve of this._eventSchema.get(ae.toLowerCase()))o.add(Ve)}v.forEach(Ve=>{if(Ve.length>0)switch(Ve[0]){case"*":o.add(Ve.substring(1));break;case"!":t.set(Ve.substring(1),"boolean");break;case"#":t.set(Ve.substring(1),"number");break;case"%":t.set(Ve.substring(1),"object");break;default:t.set(Ve,"string")}})})}hasProperty(e,t,o){if(o.some(v=>v.name===O_name))return!0;const c=_a(e);if(c.includes("-")){if(Gl(c)||qs(c))return!1;if(o.some(v=>v.name===w_name))return!0}return(this._schema.get(c)||this._schema.get("unknown")).has(t)}hasElement(e,t){if(t.some(c=>c.name===O_name))return!0;const o=_a(e);return!(!o.includes("-")||!(Gl(o)||qs(o)||t.some(c=>c.name===w_name)))||this._schema.has(o)}securityContext(e,t,o){o&&(t=this.getMappedPropName(t));const[c,u]=ko(e,!1);return R(u,t,c)}getMappedPropName(e){return Vc.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...\nIf '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){const t=_a(e),o=this._schema.get(t)||this._schema.get("unknown");return Array.from(o.keys()).map(c=>ru.get(c)??c)}allKnownEventsOfElement(e){const t=_a(e);return Array.from(this._eventSchema.get(t)??[])}normalizeAnimationStyleProperty(e){return function no(n){return n.replace(mo,(...e)=>e[1].toUpperCase())}(e)}normalizeAnimationStyleValue(e,t,o){let c="";const u=o.toString().trim();let v=null;if(function Pw(n){switch(n){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}(e)&&0!==o&&"0"!==o)if("number"==typeof o)c="px";else{const k=o.match(/^[+-]?[\d\.]+([a-z]*)$/);k&&0==k[1].length&&(v=`Please provide a CSS unit value for ${t}:${o}`)}return{error:v,value:u+c}}}class fo{closedByChildren={};contentType;closedByParent=!1;implicitNamespacePrefix;isVoid;ignoreFirstLf;canSelfClose;preventNamespaceInheritance;constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:o=Qo.PARSABLE_DATA,closedByParent:c=!1,isVoid:u=!1,ignoreFirstLf:v=!1,preventNamespaceInheritance:k=!1,canSelfClose:ae=!1}={}){e&&e.length>0&&e.forEach(me=>this.closedByChildren[me]=!0),this.isVoid=u,this.closedByParent=c||u,this.implicitNamespacePrefix=t||null,this.contentType=o,this.ignoreFirstLf=v,this.preventNamespaceInheritance=k,this.canSelfClose=ae??u}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return"object"==typeof this.contentType?(void 0===e?void 0:this.contentType[e])??this.contentType.default:this.contentType}}let rh,oh;function kd(n){return oh||(rh=new fo({canSelfClose:!0}),oh=Object.assign(Object.create(null),{base:new fo({isVoid:!0}),meta:new fo({isVoid:!0}),area:new fo({isVoid:!0}),embed:new fo({isVoid:!0}),link:new fo({isVoid:!0}),img:new fo({isVoid:!0}),input:new fo({isVoid:!0}),param:new fo({isVoid:!0}),hr:new fo({isVoid:!0}),br:new fo({isVoid:!0}),source:new fo({isVoid:!0}),track:new fo({isVoid:!0}),wbr:new fo({isVoid:!0}),p:new fo({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new fo({closedByChildren:["tbody","tfoot"]}),tbody:new fo({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new fo({closedByChildren:["tbody"],closedByParent:!0}),tr:new fo({closedByChildren:["tr"],closedByParent:!0}),td:new fo({closedByChildren:["td","th"],closedByParent:!0}),th:new fo({closedByChildren:["td","th"],closedByParent:!0}),col:new fo({isVoid:!0}),svg:new fo({implicitNamespacePrefix:"svg"}),foreignObject:new fo({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new fo({implicitNamespacePrefix:"math"}),li:new fo({closedByChildren:["li"],closedByParent:!0}),dt:new fo({closedByChildren:["dt","dd"]}),dd:new fo({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new fo({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new fo({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new fo({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new fo({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new fo({closedByChildren:["optgroup"],closedByParent:!0}),option:new fo({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new fo({ignoreFirstLf:!0}),listing:new fo({ignoreFirstLf:!0}),style:new fo({contentType:Qo.RAW_TEXT}),script:new fo({contentType:Qo.RAW_TEXT}),title:new fo({contentType:{default:Qo.ESCAPABLE_RAW_TEXT,svg:Qo.PARSABLE_DATA}}),textarea:new fo({contentType:Qo.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),(new Gu).allKnownElementNames().forEach(e=>{!oh[e]&&null===Ac(e)&&(oh[e]=new fo({canSelfClose:!1}))})),oh[n]??oh[n.toLowerCase()]??rh}const dy={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"};class Ux{_placeHolderNameCounts={};_signatureToName={};getStartTagPlaceholderName(e,t,o){const c=this._hashTag(e,t,o);if(this._signatureToName[c])return this._signatureToName[c];const u=e.toUpperCase(),v=dy[u]||`TAG_${u}`,k=this._generateUniqueName(o?v:`START_${v}`);return this._signatureToName[c]=k,k}getCloseTagPlaceholderName(e){const t=this._hashClosingTag(e);if(this._signatureToName[t])return this._signatureToName[t];const o=e.toUpperCase(),c=dy[o]||`TAG_${o}`,u=this._generateUniqueName(`CLOSE_${c}`);return this._signatureToName[t]=u,u}getPlaceholderName(e,t){const o=e.toUpperCase(),c=`PH: ${o}=${t}`;if(this._signatureToName[c])return this._signatureToName[c];const u=this._generateUniqueName(o);return this._signatureToName[c]=u,u}getUniquePlaceholder(e){return this._generateUniqueName(e.toUpperCase())}getStartBlockPlaceholderName(e,t){const o=this._hashBlock(e,t);if(this._signatureToName[o])return this._signatureToName[o];const c=this._generateUniqueName(`START_BLOCK_${this._toSnakeCase(e)}`);return this._signatureToName[o]=c,c}getCloseBlockPlaceholderName(e){const t=this._hashClosingBlock(e);if(this._signatureToName[t])return this._signatureToName[t];const o=this._generateUniqueName(`CLOSE_BLOCK_${this._toSnakeCase(e)}`);return this._signatureToName[t]=o,o}_hashTag(e,t,o){return`<${e}`+Object.keys(t).sort().map(k=>` ${k}=${t[k]}`).join("")+(o?"/>":`></${e}>`)}_hashClosingTag(e){return this._hashTag(`/${e}`,{},!1)}_hashBlock(e,t){return`@${e}${0===t.length?"":` (${t.sort().join("; ")})`} {}`}_hashClosingBlock(e){return this._hashBlock(`close_${e}`,[])}_toSnakeCase(e){return e.toUpperCase().replace(/[^A-Z0-9]/g,"_")}_generateUniqueName(e){if(!this._placeHolderNameCounts.hasOwnProperty(e))return this._placeHolderNameCounts[e]=1,e;const o=this._placeHolderNameCounts[e];return this._placeHolderNameCounts[e]=o+1,`${e}_${o}`}}const T0=new we(new cp);function sh(n,e){const t=new Rw(T0,n,e);return(o,c,u,v,k)=>t.toI18nMessage(o,c,u,v,k)}function ah(n,e){return e}class Rw{_expressionParser;_retainEmptyTokens;_preserveExpressionWhitespace;constructor(e,t,o){this._expressionParser=e,this._retainEmptyTokens=t,this._preserveExpressionWhitespace=o}toI18nMessage(e,t="",o="",c="",u){const v={isIcu:1==e.length&&e[0]instanceof ip,icuDepth:0,placeholderRegistry:new Ux,placeholderToContent:{},placeholderToMessage:{},visitNodeFn:u||ah},k=gr(this,e,v);return new Zs(k,v.placeholderToContent,v.placeholderToMessage,t,o,c)}visitElement(e,t){return this._visitElementLike(e,t)}visitComponent(e,t){return this._visitElementLike(e,t)}visitDirective(e,t){throw new Error("Unreachable code")}visitAttribute(e,t){const o=void 0===e.valueTokens||1===e.valueTokens.length?new Pa(e.value,e.valueSpan||e.sourceSpan):this._visitTextWithInterpolation(e.valueTokens,e.valueSpan||e.sourceSpan,t,e.i18n);return t.visitNodeFn(e,o)}visitText(e,t){const o=1===e.tokens.length?new Pa(e.value,e.sourceSpan):this._visitTextWithInterpolation(e.tokens,e.sourceSpan,t,e.i18n);return t.visitNodeFn(e,o)}visitComment(e,t){return null}visitExpansion(e,t){t.icuDepth++;const o={},c=new Au(e.switchValue,e.type,o,e.sourceSpan);if(e.cases.forEach(k=>{o[k.value]=new ws(k.expression.map(ae=>ae.visit(this,t)),k.expSourceSpan)}),t.icuDepth--,t.isIcu||t.icuDepth>0){const k=t.placeholderRegistry.getUniquePlaceholder(`VAR_${e.type}`);return c.expressionPlaceholder=k,t.placeholderToContent[k]={text:e.switchValue,sourceSpan:e.switchValueSourceSpan},t.visitNodeFn(e,c)}const u=t.placeholderRegistry.getPlaceholderName("ICU",e.sourceSpan.toString());t.placeholderToMessage[u]=this.toI18nMessage([e],"","","",void 0);const v=new kl(c,u,e.sourceSpan);return t.visitNodeFn(e,v)}visitExpansionCase(e,t){throw new Error("Unreachable code")}visitBlock(e,t){const o=gr(this,e.children,t);if("switch"===e.name)return new ws(o,e.sourceSpan);const c=e.parameters.map(ae=>ae.expression),u=t.placeholderRegistry.getStartBlockPlaceholderName(e.name,c),v=t.placeholderRegistry.getCloseBlockPlaceholderName(e.name);t.placeholderToContent[u]={text:e.startSourceSpan.toString(),sourceSpan:e.startSourceSpan},t.placeholderToContent[v]={text:e.endSourceSpan?e.endSourceSpan.toString():"}",sourceSpan:e.endSourceSpan??e.sourceSpan};const k=new Qc(e.name,c,u,v,o,e.sourceSpan,e.startSourceSpan,e.endSourceSpan);return t.visitNodeFn(e,k)}visitBlockParameter(e,t){throw new Error("Unreachable code")}visitLetDeclaration(e,t){return null}_visitElementLike(e,t){const o=gr(this,e.children,t),c={},u=it=>{c[it.name]=it.value};let v,k;e instanceof vl?(v=e.name,k=kd(e.name).isVoid):(v=e.fullName,k=!!e.tagName&&kd(e.tagName).isVoid),e.attrs.forEach(u),e.directives.forEach(it=>it.attrs.forEach(u));const ae=t.placeholderRegistry.getStartTagPlaceholderName(v,c,k);t.placeholderToContent[ae]={text:e.startSourceSpan.toString(),sourceSpan:e.startSourceSpan};let me="";k||(me=t.placeholderRegistry.getCloseTagPlaceholderName(v),t.placeholderToContent[me]={text:`</${v}>`,sourceSpan:e.endSourceSpan??e.sourceSpan});const Ve=new Ec(v,c,ae,me,o,k,e.sourceSpan,e.startSourceSpan,e.endSourceSpan);return t.visitNodeFn(e,Ve)}_visitTextWithInterpolation(e,t,o,c){const u=[];let v=!1;for(const k of e)switch(k.type){case 8:case 18:v=!0;const[ae,me,Ve]=k.parts,it=k0(me)||"INTERPOLATION",Gt=o.placeholderRegistry.getPlaceholderName(it,me);if(this._preserveExpressionWhitespace)o.placeholderToContent[Gt]={text:k.parts.join(""),sourceSpan:k.sourceSpan},u.push(new Xc(me,Gt,k.sourceSpan));else{const yn=this.normalizeExpression(k);o.placeholderToContent[Gt]={text:`${ae}${yn}${Ve}`,sourceSpan:k.sourceSpan},u.push(new Xc(yn,Gt,k.sourceSpan))}break;default:if(k.parts[0].length>0||this._retainEmptyTokens){const yn=u[u.length-1];yn instanceof Pa?(yn.value+=k.parts[0],yn.sourceSpan=new mr(yn.sourceSpan.start,k.sourceSpan.end,yn.sourceSpan.fullStart,yn.sourceSpan.details)):u.push(new Pa(k.parts[0],k.sourceSpan))}else this._retainEmptyTokens&&u.push(new Pa(k.parts[0],k.sourceSpan))}return v?(function Wx(n,e){if(e instanceof Zs&&(function Id(n){const e=n.nodes;if(1!==e.length||!(e[0]instanceof ws))throw new Error("Unexpected previous i18n message - expected it to consist of only a single `Container` node.")}(e),e=e.nodes[0]),e instanceof ws){!function C_(n,e){if(n.length!==e.length)throw new Error(`\nThe number of i18n message children changed between first and second pass.\n\nFirst pass (${n.length} tokens):\n${n.map(t=>`"${t.sourceSpan.toString()}"`).join("\n")}\n\nSecond pass (${e.length} tokens):\n${e.map(t=>`"${t.sourceSpan.toString()}"`).join("\n")}\n `.trim());if(n.some((t,o)=>e[o].constructor!==t.constructor))throw new Error("The types of the i18n message children changed between first and second pass.")}(e.children,n);for(let t=0;t<n.length;t++)n[t].sourceSpan=e.children[t].sourceSpan}}(u,c),new ws(u,t)):u[0]}normalizeExpression(e){const t=e.parts[1];return function oi(n){return n.visit(new jn)}(this._expressionParser.parseBinding(t,e.sourceSpan,e.sourceSpan.start.offset))}}const T_=/\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*("|')([\s\S]*?)\1[\s\S]*\)/g;function k0(n){return n.split(T_)[2]}const Hm=new Set(["iframe|srcdoc","*|innerhtml","*|outerhtml","embed|src","iframe|src","object|codebase","object|data"]);function I0(n,e){return n=n.toLowerCase(),e=e.toLowerCase(),Hm.has(n+"|"+e)||Hm.has("*|"+e)}const Nw=n=>(e,t)=>{const o=n.get(e)??e;return o instanceof Sd&&(t instanceof kl&&o.i18n instanceof Zs&&(t.previousMessage=o.i18n),o.i18n=t),t};class Lw{keepI18nAttrs;enableI18nLegacyMessageIdFormat;preserveSignificantWhitespace;retainEmptyTokens;hasI18nMeta=!1;_errors=[];constructor(e=!1,t=!1,o=!0,c=!o){this.keepI18nAttrs=e,this.enableI18nLegacyMessageIdFormat=t,this.preserveSignificantWhitespace=o,this.retainEmptyTokens=c}_generateI18nMessage(e,t="",o){const{meaning:c,description:u,customId:v}=this._parseMetadata(t),ae=sh(this.retainEmptyTokens,this.preserveSignificantWhitespace)(e,c,u,v,o);return this._setMessageId(ae,t),this._setLegacyIds(ae,t),ae}visitAllWithErrors(e){const t=e.map(o=>o.visit(this,null));return new hf(t,this._errors)}visitElement(e){return this._visitElementLike(e),e}visitComponent(e,t){return this._visitElementLike(e),e}visitExpansion(e,t){let o;const c=e.i18n;if(this.hasI18nMeta=!0,c instanceof kl){const u=c.name;o=this._generateI18nMessage([e],c);Js(o).name=u,null!==t&&(t.placeholderToMessage[u]=o)}else o=this._generateI18nMessage([e],t||c);return e.i18n=o,e}visitText(e){return e}visitAttribute(e){return e}visitComment(e){return e}visitExpansionCase(e){return e}visitBlock(e,t){return gr(this,e.children,t),e}visitBlockParameter(e,t){return e}visitLetDeclaration(e,t){return e}visitDirective(e,t){return e}_visitElementLike(e){let t;if(function Ml(n){return n.attrs.some(e=>Ra(e.name))}(e)){this.hasI18nMeta=!0;const o=[],c={};for(const u of e.attrs)if("i18n"===u.name){const v=e.i18n||u.value,k=new Map,ae=this.preserveSignificantWhitespace?e.children:Cu(new Wm(!1,k),e.children);t=this._generateI18nMessage(ae,v,Nw(k)),0===t.nodes.length&&(t=void 0),e.i18n=t}else if(u.name.startsWith(Mp)){const v=u.name.slice(5);let k;k=e instanceof Cc?null!==e.tagName&&I0(e.tagName,v):I0(e.name,v),k||Uw(v)?this._reportError(u,`Translating attribute '${v}' is disallowed for security reasons.`):c[v]=u.value}else o.push(u);if(Object.keys(c).length)for(const u of o){const v=c[u.name];void 0!==v&&u.value&&(u.i18n=this._generateI18nMessage([u],u.i18n||v))}this.keepI18nAttrs||(e.attrs=o)}gr(this,e.children,t)}_parseMetadata(e){return"string"==typeof e?function Fw(n=""){let e,t,o;if(n=n.trim(),n){const c=n.indexOf("@@"),u=n.indexOf("|");let v;[v,e]=c>-1?[n.slice(0,c),n.slice(c+2)]:[n,""],[t,o]=u>-1?[v.slice(0,u),v.slice(u+1)]:["",v]}return{customId:e,meaning:t,description:o}}(e):e instanceof Zs?e:{}}_setMessageId(e,t){e.id||(e.id=t instanceof Zs&&t.id||xe(e))}_setLegacyIds(e,t){if(this.enableI18nLegacyMessageIdFormat)e.legacyIds=[ut(e),Te(e)];else if("string"!=typeof t){const o=t instanceof Zs?t:t instanceof kl?t.previousMessage:void 0;e.legacyIds=o?o.legacyIds:[]}}_reportError(e,t){this._errors.push(new Vi(e.sourceSpan,t))}}function M0(n){const e=[];return n.description?e.push({tagName:"desc",text:n.description}):e.push({tagName:"suppress",text:"{msgDescriptions}"}),n.meaning&&e.push({tagName:"meaning",text:n.meaning}),function qi(n=[]){return new tt(n)}(e)}function Uw(n){const e=n.toLowerCase();return e.length>2&&"only"!==e&&e.startsWith("on")}function k_(n,e,t,o){const c=function O0(n){return n.nodes.map(e=>e.visit(Ww,null)).join("")}(e),u=[$t(c)];Object.keys(o).length&&(u.push(wd(Na(o,!0),!0)),u.push(wd({original_code:ir(Object.keys(o).map(ae=>({key:Ru(ae),quoted:!0,value:e.placeholders[ae]?$t(e.placeholders[ae].sourceSpan.toString()):$t(e.placeholderToMessage[ae].nodes.map(me=>me.sourceSpan.toString()).join(""))})))})));const v=new Ot(t.name,Xn("goog").prop("getMsg").callFn(u,null,void 0,[zs()]),fe,Gi.Final);v.addLeadingComment(M0(e));return[v,new kn(n.set(t))]}const Ww=new class A0{formatPh(e){return`{$${Ru(e)}}`}visitText(e){return e.value}visitContainer(e){return e.children.map(t=>t.visit(this)).join("")}visitIcu(e){return ty(e)}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(t=>t.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitBlockPlaceholder(e){return`${this.formatPh(e.startName)}${e.children.map(t=>t.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}};function zm(n,e,t){const{messageParts:o,placeHolders:c}=function $w(n){const e=[],t=new Vw(n.placeholderToMessage,e);return n.nodes.forEach(o=>o.visit(t)),function jw(n){const e=[],t=[];n[0]instanceof Yt&&e.push(Km(n[0].sourceSpan.start));for(let o=0;o<n.length;o++){const c=n[o];c instanceof Yn?e.push(c):(t.push(c),n[o-1]instanceof Yt&&e.push(Km(n[o-1].sourceSpan.end)))}return n[n.length-1]instanceof Yt&&e.push(Km(n[n.length-1].sourceSpan.end)),{messageParts:e,placeHolders:t}}(e)}(e),u=function I_(n){const e=n.nodes[0],t=n.nodes[n.nodes.length-1];return new mr(e.sourceSpan.fullStart,t.sourceSpan.end,e.sourceSpan.fullStart,e.sourceSpan.details)}(e),v=c.map(me=>t[me.text]),k=function cs(n,e,t,o,c){return new pi(n,e,t,o,c)}(e,o,c,v,u),ae=n.set(k);return[new kn(ae,null,[zs()])]}class Vw{placeholderToMessage;pieces;constructor(e,t){this.placeholderToMessage=e,this.pieces=t}visitText(e){if(this.pieces[this.pieces.length-1]instanceof Yn)this.pieces[this.pieces.length-1].text+=e.value;else{const t=new mr(e.sourceSpan.fullStart,e.sourceSpan.end,e.sourceSpan.fullStart,e.sourceSpan.details);this.pieces.push(new Yn(e.value,t))}}visitContainer(e){e.children.forEach(t=>t.visit(this))}visitIcu(e){this.pieces.push(new Yn(ty(e),e.sourceSpan))}visitTagPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.startName,e.startSourceSpan??e.sourceSpan)),e.isVoid||(e.children.forEach(t=>t.visit(this)),this.pieces.push(this.createPlaceholderPiece(e.closeName,e.endSourceSpan??e.sourceSpan)))}visitPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.name,e.sourceSpan))}visitBlockPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.startName,e.startSourceSpan??e.sourceSpan)),e.children.forEach(t=>t.visit(this)),this.pieces.push(this.createPlaceholderPiece(e.closeName,e.endSourceSpan??e.sourceSpan))}visitIcuPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.name,e.sourceSpan,this.placeholderToMessage[e.name]))}createPlaceholderPiece(e,t,o){return new Yt(Ru(e,!1),t,o)}}function Km(n){return new Yn("",new mr(n,n))}const py="ngI18nClosureMode",P0="I18N_EXP_";function _f(n){return`MSG_${n}`.toUpperCase()}function Hw(n){return new Ot(n.name,void 0,fe,void 0,n.sourceSpan)}function L0(n,e,t,o){const c=[],u=new Map;for(const me of o.subMessages){const Ve=t.get(me),{mainVar:it,statements:Gt}=L0(n,e,t,Ve);c.push(...Gt);const yn=u.get(Ve.messagePlaceholder)??[];yn.push(it),u.set(Ve.messagePlaceholder,yn)}(function zw(n,e){for(const[t,o]of e)1===o.length?n.params.set(t,o[0]):(n.params.set(t,$t(`\ufffd${P0}${t}\ufffd`)),n.postprocessingParams.set(t,Fi(o)))})(o,u),o.params=new Map([...o.params.entries()].sort());const v=Xn(n.pool.uniqueName("i18n_"),Y),k=function fy(n,e,t,o){let c;const u=t;if(o){const v=_f("EXTERNAL_"),k=n.uniqueName(u);c=`${v}${cd(e)}$$${k}`}else{const v=_f(u);c=n.uniqueName(v)}return Xn(c)}(n.pool,o.message.id,e,n.i18nUseExternalIds);let ae;if(o.needsPostprocessing||o.postprocessingParams.size>0){const Ve=Na(Object.fromEntries([...o.postprocessingParams.entries()].sort()),!1),it=[];o.postprocessingParams.size>0&&it.push(wd(Ve,!0)),ae=Gt=>Nn(yt.i18nPostprocess).callFn([Gt,...it])}return c.push(...function $x(n,e,t,o,c){const u=Object.fromEntries(o),v=[Hw(e),oo(A_(),k_(e,n,t,u),zm(e,n,Na(u,!1)))];return c&&v.push(new kn(e.set(c(e)))),v}(o.message,v,k,o.params,ae)),{mainVar:v,statements:c}}function A_(){return Pr(Xn(py)).notIdentical($t("undefined",fn)).and(Xn(py))}function Gm(n){const e=[];for(const t of n)e.push($t(t.name),$t(t.target));return Fi(e)}function Kw(n){const e=[];let t=0,o=0,c=0,u=0,v=0,k=null;for(;t<n.length;)switch(n.charCodeAt(t++)){case 40:o++;break;case 41:o--;break;case 39:0===c?c=39:39===c&&92!==n.charCodeAt(t-1)&&(c=0);break;case 34:0===c?c=34:34===c&&92!==n.charCodeAt(t-1)&&(c=0);break;case 58:!k&&0===o&&0===c&&(k=F0(n.substring(v,t-1).trim()),u=t);break;case 59:if(k&&u>0&&0===o&&0===c){const me=n.substring(u,t-1).trim();e.push(k,me),v=t,u=0,k=null}}if(k&&u){const ae=n.slice(u).trim();e.push(k,ae)}return e}function F0(n){return n.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+"-"+e.charAt(1)).toLowerCase()}function ch(n,e,t){null===n.fnName&&(n.fnName=n.job.pool.uniqueName(cd(`${e}_${n.job.fnSuffix}`),!1));const o=new Map;for(const c of n.ops())switch(c.kind){case Ue.Property:case Ue.DomProperty:c.bindingKind===zi.LegacyAnimation&&(c.name="@"+c.name);break;case Ue.Animation:if(null===c.handlerFnName){const me=c.name.replace(".","");c.handlerFnName=`${n.fnName}_${me}_cb`,c.handlerFnName=cd(c.handlerFnName)}break;case Ue.AnimationListener:if(null!==c.handlerFnName)break;if(!c.hostListener&&null===c.targetSlot.slot)throw new Error("Expected a slot to be assigned");const u=c.name.replace(".","");c.hostListener?c.handlerFnName=`${e}_${u}_HostBindingHandler`:c.handlerFnName=`${n.fnName}_${c.tag.replace("-","_")}_${u}_${c.targetSlot.slot}_listener`,c.handlerFnName=cd(c.handlerFnName);break;case Ue.Listener:if(null!==c.handlerFnName)break;if(!c.hostListener&&null===c.targetSlot.slot)throw new Error("Expected a slot to be assigned");let v="";c.isLegacyAnimationListener&&(c.name=`@${c.name}.${c.legacyAnimationPhase}`,v="animation"),c.hostListener?c.handlerFnName=`${e}_${v}${c.name}_HostBindingHandler`:c.handlerFnName=`${n.fnName}_${c.tag.replace("-","_")}_${v}${c.name}_${c.targetSlot.slot}_listener`,c.handlerFnName=cd(c.handlerFnName);break;case Ue.TwoWayListener:if(null!==c.handlerFnName)break;if(null===c.targetSlot.slot)throw new Error("Expected a slot to be assigned");c.handlerFnName=cd(`${n.fnName}_${c.tag.replace("-","_")}_${c.name}_${c.targetSlot.slot}_listener`);break;case Ue.Variable:o.set(c.xref,_y(c.variable,t));break;case Ue.RepeaterCreate:if(!(n instanceof fl))throw new Error("AssertionError: must be compiling a component");if(null===c.handle.slot)throw new Error("Expected slot to be assigned");if(null!==c.emptyView){ch(n.job.views.get(c.emptyView),`${e}_${c.functionNameSuffix}Empty_${c.handle.slot+2}`,t)}ch(n.job.views.get(c.xref),`${e}_${c.functionNameSuffix}_${c.handle.slot+1}`,t);break;case Ue.Projection:if(!(n instanceof fl))throw new Error("AssertionError: must be compiling a component");if(null===c.handle.slot)throw new Error("Expected slot to be assigned");if(null!==c.fallbackView){ch(n.job.views.get(c.fallbackView),`${e}_ProjectionFallback_${c.handle.slot}`,t)}break;case Ue.ConditionalCreate:case Ue.ConditionalBranchCreate:case Ue.Template:if(!(n instanceof fl))throw new Error("AssertionError: must be compiling a component");const k=n.job.views.get(c.xref);if(null===c.handle.slot)throw new Error("Expected slot to be assigned");ch(k,`${e}${0===c.functionNameSuffix.length?"":`_${c.functionNameSuffix}`}_${c.handle.slot}`,t);break;case Ue.StyleProp:c.name=vy(W0(c.name));break;case Ue.ClassProp:c.name=vy(c.name)}for(const c of n.ops())Vs(c,u=>{if(u instanceof Jc&&null===u.name){if(!o.has(u.xref))throw new Error(`Variable ${u.xref} not yet named`);u.name=o.get(u.xref)}})}function _y(n,e){if(null===n.name)switch(n.kind){case ta.Context:n.name="ctx_r"+e.index++;break;case ta.Identifier:const t=n.identifier===la?"i":"";n.name=`${n.identifier}_${t}r${++e.index}`;break;default:n.name="_r"+ ++e.index}return n.name}function W0(n){return n.startsWith("--")?n:F0(n)}function vy(n){const e=n.indexOf("!important");return e>-1?n.substring(0,e):n}function $l(n){for(const e of n){if(!(e.kind===Ue.Statement&&e.statement instanceof kn&&e.statement.expr instanceof jp))continue;const t=e.statement.expr.steps;let o=!0;for(let c=e.next;c.kind!==Ue.ListEnd&&o;c=c.next)Vs(c,(u,v)=>{if(!Bl(u))return u;if(o&&!(v&Ur.InChildOperation))switch(u.kind){case Xi.NextContext:u.steps+=t,Pn.remove(e),o=!1;break;case Xi.GetCurrentView:case Xi.Reference:case Xi.ContextLetReference:o=!1}})}}function O_(n,e){const t=n.get(e);if(void 0===t)throw new Error("All attributes should have an element-like target.");return t}function wl(n){return e=>e.kind===n}function Xm(n,e){return t=>t.kind===n&&e===t.expression instanceof ms}const j0=[{test:n=>n.kind===Ue.Listener&&n.hostListener&&n.isLegacyAnimationListener},{test:function by(n){return n.kind===Ue.Listener&&!(n.hostListener&&n.isLegacyAnimationListener)||n.kind===Ue.TwoWayListener||n.kind===Ue.Animation||n.kind===Ue.AnimationListener}}],H0=[{test:wl(Ue.StyleMap),transform:yf},{test:wl(Ue.ClassMap),transform:yf},{test:wl(Ue.StyleProp)},{test:wl(Ue.ClassProp)},{test:Xm(Ue.Attribute,!0)},{test:Xm(Ue.Property,!0)},{test:function Xw(n){return!(n.kind!==Ue.Property&&n.kind!==Ue.TwoWayProperty||n.expression instanceof ms)}},{test:Xm(Ue.Attribute,!1)},{test:wl(Ue.Control)}],z0=[{test:Xm(Ue.DomProperty,!0)},{test:Xm(Ue.DomProperty,!1)},{test:wl(Ue.Attribute)},{test:wl(Ue.StyleMap),transform:yf},{test:wl(Ue.ClassMap),transform:yf},{test:wl(Ue.StyleProp)},{test:wl(Ue.ClassProp)}],Ey=new Set([Ue.Listener,Ue.TwoWayListener,Ue.AnimationListener,Ue.StyleMap,Ue.ClassMap,Ue.StyleProp,Ue.ClassProp,Ue.Property,Ue.TwoWayProperty,Ue.DomProperty,Ue.Attribute,Ue.Animation,Ue.Control]);function vf(n,e){let t=[],o=null;for(const c of n){const u=Up(c)?c.target:null;(!Ey.has(c.kind)||u!==o&&null!==o&&null!==u)&&(Pn.insertBefore(Qm(t,e),c),t=[],o=null),Ey.has(c.kind)&&(t.push(c),Pn.remove(c),o=u??o)}n.push(Qm(t,e))}function Qm(n,e){const t=Array.from(e,()=>new Array);for(const o of n){t[e.findIndex(u=>u.test(o))].push(o)}return t.flatMap((o,c)=>{const u=e[c].transform;return u?u(o):o})}function yf(n){return n.slice(n.length-1)}function Qw(n){return"select"===n.toLowerCase()}function qw(n,e){const t=n.get(e);if(void 0===t)throw new Error("All attributes should have an slottable target.");return t}function P_(n){for(const e of n.update)Vs(e,(t,o)=>{if(Bl(t)&&t.kind===Xi.PipeBinding){if(o&Ur.InChildOperation)throw new Error("AssertionError: pipe bindings should not appear in child expressions");if(null==e.target)throw new Error("AssertionError: expected slot handle to be assigned for pipe creation");Xu(n,e.target,t)}})}function Xu(n,e,t){for(let o=n.create.head.next;o.kind!==Ue.ListEnd;o=o.next){if(!Fp(o)||o.xref!==e)continue;for(;o.next.kind===Ue.Pipe;)o=o.next;const c=Gb(t.target,t.targetSlot,t.name);return void Pn.insertBefore(c,o.next)}throw new Error(`AssertionError: unable to find insertion point for pipe ${t.name}`)}function Q0(n,e){let t=null;for(const o of n.create)switch(o.kind){case Ue.I18nStart:o.subTemplateIndex=0===e?null:e,t=o;break;case Ue.I18nEnd:null===t.subTemplateIndex&&(e=0),t=null;break;case Ue.ConditionalCreate:case Ue.ConditionalBranchCreate:case Ue.Template:e=Sy(n.job.views.get(o.xref),t,o.i18nPlaceholder,e);break;case Ue.RepeaterCreate:e=Sy(n.job.views.get(o.xref),t,o.i18nPlaceholder,e),null!==o.emptyView&&(e=Sy(n.job.views.get(o.emptyView),t,o.emptyI18nPlaceholder,e));break;case Ue.Projection:null!==o.fallbackView&&(e=Sy(n.job.views.get(o.fallbackView),t,o.fallbackViewI18nPlaceholder,e))}return e}function Sy(n,e,t,o){if(void 0!==t){if(null===e)throw Error("Expected template with i18n placeholder to be in an i18n block.");o++,function xy(n,e){if(n.create.head.next?.kind!==Ue.I18nStart){const t=n.job.allocateXrefId();Pn.insertAfter(fm(t,e.message,e.root,null),n.create.head),Pn.insertBefore(Yd(t,null),n.create.tail)}}(n,e)}return Q0(n,o)}class R_ extends Ui{numArgs;constructor(e){super(),this.numArgs=e}keyOf(e){return e instanceof Hu?`param(${e.index})`:super.keyOf(e)}toSharedConstantDeclaration(e,t){const o=[];for(let u=0;u<this.numArgs;u++)o.push(new Qi("a"+u,Y));const c=Bi(t,u=>u instanceof Hu?Xn("a"+u.index):u,Ur.None);return new Ot(e,new Ar(o,c),void 0,Gi.Final)}}function up(n){const e=[],t=[];for(const o of n.entries)if(o instanceof wi)if(o.expression.isConstant())e.push(o);else{const c=t.length;t.push(o.expression),e.push(new wi(new Hu(c)))}else if(o.isConstant())e.push(o);else{const c=t.length;t.push(o),e.push(new Hu(c))}return new Eu(Fi(e),t)}function Yw(n){let e=[];const t=[];for(const o of n.entries)if(o instanceof Mi)if(o.expression.isConstant())e.push(o);else{const c=t.length;t.push(o.expression),e.push(new Mi(new Hu(c)))}else if(o.value.isConstant())e.push(o);else{const c=t.length;t.push(o.value),e.push(new mi(o.key,new Hu(c),o.quoted))}return new Eu(new Hi(e),t)}const Zw=new Set(["d","i","m","s","u","v"]);function q0(n){if(!n.flags)return!0;for(let e=0;e<n.flags.length;e++)if(!Zw.has(n.flags[e]))return!1;return!0}class Hx extends Ui{toSharedConstantDeclaration(e,t){return new Ot(e,t,void 0,Gi.Final)}}function Y0(n,e,t,o,c){return rl(yt.element,n,e,t,o,c)}function Jw(n,e,t,o,c){return rl(yt.elementStart,n,e,t,o,c)}function qm(n,e,t,o){const c=[$t(n),e];return null!==t&&c.push(t),Dr(yt.foreignComponent,c,o)}function rl(n,e,t,o,c,u){const v=[$t(e)];return null!==t&&v.push($t(t)),null!==c?v.push($t(o),$t(c)):null!==o&&v.push($t(o)),Dr(n,v,u)}function Qu(n,e,t,o,c,u,v,k,ae){const me=[$t(e),t,$t(o),$t(c),$t(u),$t(v)];for(null!==k&&(me.push($t(k)),me.push(Nn(yt.templateRefExtractor)));me[me.length-1].isEquivalent(Ki);)me.pop();return Dr(n,me,ae)}function dh(n,e,t,o,c){const u=[$t(e)];return t instanceof ms?u.push(qu(t,c)):u.push(t),null!==o&&u.push(o),Dr(n,u,c)}function eS(n){return Dr(yt.elementEnd,[],n)}function J0(n,e,t,o){return rl(yt.elementContainerStart,n,null,e,t,o)}function N_(n,e,t,o){return rl(yt.elementContainer,n,null,e,t,o)}function OC(){return Dr(yt.elementContainerEnd,[],null)}function tS(n,e,t,o,c,u,v,k){return Qu(yt.templateCreate,n,e,t,o,c,u,v,k)}function zx(){return Dr(yt.disableBindings,[],null)}function Kx(){return Dr(yt.enableBindings,[],null)}function nS(n,e,t,o,c){const u=[$t(n),e];return null!==t&&u.push(Nn(t)),Dr(o?yt.syntheticHostListener:yt.listener,u,c)}function Ty(n,e){return Nn(yt.twoWayBindingSet).callFn([n,e])}function L_(n,e,t){return Dr(yt.twoWayListener,[$t(n),e],t)}function B_(n,e){return Dr(yt.pipe,[$t(n),$t(e)],null)}function ky(){return Dr(yt.namespaceHTML,[],null)}function iS(){return Dr(yt.namespaceSVG,[],null)}function Ym(){return Dr(yt.namespaceMathML,[],null)}function eE(n,e){return Dr(yt.advance,n>1?[$t(n)]:[],e)}function tE(n,e,t){const o=[$t(n,null)];return""!==e&&o.push($t(e)),Dr(yt.text,o,t)}function nE(n,e,t,o,c,u,v,k,ae,me,Ve){const it=[$t(n),$t(e),t??$t(null),$t(o),$t(c),$t(u),v??$t(null),k??$t(null),ae?Nn(yt.deferEnableTimerScheduling):$t(null),$t(Ve)];let Gt;for(;null!==(Gt=it[it.length-1])&&Gt instanceof ui&&null===Gt.value;)it.pop();return Dr(yt.defer,it,me)}function Zm(n){return Dr(yt.enableIncrementalHydrationRuntime,[],n)}const Oy=new Map([[No.Idle,{none:yt.deferOnIdle,prefetch:yt.deferPrefetchOnIdle,hydrate:yt.deferHydrateOnIdle}],[No.Immediate,{none:yt.deferOnImmediate,prefetch:yt.deferPrefetchOnImmediate,hydrate:yt.deferHydrateOnImmediate}],[No.Timer,{none:yt.deferOnTimer,prefetch:yt.deferPrefetchOnTimer,hydrate:yt.deferHydrateOnTimer}],[No.Hover,{none:yt.deferOnHover,prefetch:yt.deferPrefetchOnHover,hydrate:yt.deferHydrateOnHover}],[No.Interaction,{none:yt.deferOnInteraction,prefetch:yt.deferPrefetchOnInteraction,hydrate:yt.deferHydrateOnInteraction}],[No.Viewport,{none:yt.deferOnViewport,prefetch:yt.deferPrefetchOnViewport,hydrate:yt.deferHydrateOnViewport}],[No.Never,{none:yt.deferHydrateNever,prefetch:yt.deferHydrateNever,hydrate:yt.deferHydrateNever}]]);function sS(n,e,t,o){const c=Oy.get(n)?.[t];if(void 0===c)throw new Error(`Unable to determine instruction for trigger ${n}`);return Dr(c,e,o)}function Gx(n){return Dr(yt.projectionDef,n?[n]:[],null)}function Py(n,e,t,o,c,u,v){const k=[$t(n)];return(0!==e||null!==t||null!==o)&&(k.push($t(e)),null!==t&&k.push(t),null!==o&&(null===t&&k.push($t(null)),k.push(Xn(o),$t(c),$t(u)))),Dr(yt.projection,k,v)}function iE(n,e,t,o){const c=[$t(n),$t(e)];return null!==t&&c.push($t(t)),Dr(yt.i18nStart,c,o)}function F_(n,e,t,o,c,u,v,k){const ae=[$t(n),e,$t(t),$t(o),$t(c),$t(u)];for(null!==v&&(ae.push($t(v)),ae.push(Nn(yt.templateRefExtractor)));ae[ae.length-1].isEquivalent(Ki);)ae.pop();return Dr(yt.conditionalCreate,ae,k)}function rE(n,e,t,o,c,u,v,k){const ae=[$t(n),e,$t(t),$t(o),$t(c),$t(u)];for(null!==v&&(ae.push($t(v)),ae.push(Nn(yt.templateRefExtractor)));ae[ae.length-1].isEquivalent(Ki);)ae.pop();return Dr(yt.conditionalBranchCreate,ae,k)}function Xx(n,e,t,o,c,u,v,k,ae,me,Ve,it,Gt,yn){const Un=[$t(n),Xn(e),$t(t),$t(o),$t(c),$t(u),v];return(k||null!==ae)&&(Un.push($t(k)),null!==ae&&(Un.push(Xn(ae),$t(me),$t(Ve)),(null!==it||null!==Gt)&&Un.push($t(it)),null!==Gt&&Un.push($t(Gt)))),Dr(yt.repeaterCreate,Un,yn)}function Ry(n,e){return Dr(yt.repeater,[n],e)}function aS(n,e,t){return Dr("prefetch"===n?yt.deferPrefetchWhen:"hydrate"===n?yt.deferHydrateWhen:yt.deferWhen,[e],t)}function cS(n,e){return Dr(yt.declareLet,[$t(n)],e)}function Qx(n,e,t,o){const c=[$t(n),$t(e)];return t&&c.push($t(t)),Dr(yt.i18n,c,o)}function ph(n){return Dr(yt.i18nEnd,[],n)}function oE(n,e){const t=[$t(n),$t(e)];return Dr(yt.i18nAttributes,t,null)}function dS(n){return Dr(yt.controlCreate,[],n)}function qx(n,e,t,o){const c=[$t(n),e];return null!==t&&c.push(t),Dr(yt.twoWayProperty,c,o)}function Da(n,e,t,o,c){const u=[$t(n)];return e instanceof ms?u.push(qu(e,c)):u.push(e),(null!==t||null!==o)&&u.push(t??$t(null)),null!==o&&u.push($t(o)),Dr(yt.attribute,u,null)}function Ny(n,e,t,o){const c=[$t(n)];return e instanceof ms?c.push(qu(e,o)):c.push(e),null!==t&&c.push($t(t)),Dr(yt.styleProp,c,o)}function cE(n,e,t){return Dr(yt.classProp,[$t(n),e],t)}function ps(n,e){const t=n instanceof ms?qu(n,e):n;return Dr(yt.styleMap,[t],e)}function fh(n,e){const t=n instanceof ms?qu(n,e):n;return Dr(yt.classMap,[t],e)}function Jm(n,e,t,o,c){return rl(yt.domElement,n,e,t,o,c)}function mh(n,e,t,o,c){return rl(yt.domElementStart,n,e,t,o,c)}function eg(n){return Dr(yt.domElementEnd,[],n)}function Ly(n,e,t,o){return rl(yt.domElementContainerStart,n,null,e,t,o)}function Yx(n,e,t,o){return rl(yt.domElementContainer,n,null,e,t,o)}function pS(){return Dr(yt.domElementContainerEnd,[],null)}function bf(n,e,t,o){const c=[$t(n),e];return null!==t&&c.push(Nn(t)),Dr(yt.domListener,c,o)}function Zx(n,e,t,o,c,u,v,k){return Qu(yt.domTemplate,n,e,t,o,c,u,v,k)}const gh=[yt.pipeBind1,yt.pipeBind2,yt.pipeBind3,yt.pipeBind4];function tg(n,e,t){const o=Uy(n,e);return function W_(n,e,t,o){return xc(Ef(n,e,t,o).toStmt())}(dE,[],o,t)}function U_(n,e){return Dr(yt.i18nExp,[n],e)}function By(n,e){return Dr(yt.i18nApply,[$t(n)],e)}function ng(n,e,t,o){const c=[e];null!==t&&c.push(t);return Dr("enter"===n?yt.animationEnter:yt.animationLeave,c,o)}function Sl(n,e,t,o){const u=[e instanceof ms?qu(e,o):e];null!==t&&u.push(t);return Dr("enter"===n?yt.animationEnter:yt.animationLeave,u,o)}function hS(n,e,t,o){const c=[e];return Dr("enter"===n?yt.animationEnterListener:yt.animationLeaveListener,c,o)}function pc(n,e,t){return Dr(yt.syntheticHostProperty,[$t(n),e],t)}function mS(n,e){return Dr(yt.attachSourceLocations,[$t(n),e],null)}function Uy(n,e){if(n.length<1||e.length!==n.length-1)throw new Error("AssertionError: expected specific shape of args for strings/expressions in interpolation");const t=[];if(1===e.length&&""===n[0]&&""===n[1])t.push(e[0]);else{let o;for(o=0;o<e.length;o++)t.push($t(n[o]),e[o]);t.push($t(n[o]))}return t}function qu(n,e){const t=Uy(n.strings,n.expressions);return Ef(PC,[],t,e)}function Dr(n,e,t){const o=Nn(n).callFn(e,t);return xc(new kn(o,t))}function eD(n,e,t){const o=[n];return null!==e&&o.push(e),Dr(yt.conditional,o,t)}const dE={constant:[yt.textInterpolate,yt.textInterpolate1,yt.textInterpolate2,yt.textInterpolate3,yt.textInterpolate4,yt.textInterpolate5,yt.textInterpolate6,yt.textInterpolate7,yt.textInterpolate8],variable:yt.textInterpolateV,mapping:n=>{if(n%2==0)throw new Error("Expected odd number of arguments");return(n-1)/2}},PC={constant:[yt.interpolate,yt.interpolate1,yt.interpolate2,yt.interpolate3,yt.interpolate4,yt.interpolate5,yt.interpolate6,yt.interpolate7,yt.interpolate8],variable:yt.interpolateV,mapping:n=>{if(n%2==0)throw new Error("Expected odd number of arguments");return(n-1)/2}},tD={constant:[yt.pureFunction0,yt.pureFunction1,yt.pureFunction2,yt.pureFunction3,yt.pureFunction4,yt.pureFunction5,yt.pureFunction6,yt.pureFunction7,yt.pureFunction8],variable:yt.pureFunctionV,mapping:n=>n};function Ef(n,e,t,o){const c=n.mapping(t.length),u=t.at(-1);if(t.length>1&&u instanceof ui&&""===u.value&&t.pop(),c<n.constant.length)return Nn(n.constant[c]).callFn([...e,...t],o);if(null!==n.variable)return Nn(n.variable).callFn([...e,Fi(t)],o);throw new Error("AssertionError: unable to call variadic function")}const pE=new Map([["window",yt.resolveWindow],["document",yt.resolveDocument],["body",yt.resolveBody]]),V_=new Map([["class","className"],["for","htmlFor"],["formaction","formAction"],["innerHtml","innerHTML"],["readonly","readOnly"],["tabindex","tabIndex"]]);function gS(n,e){for(const t of e)switch(Ss(t,o=>fE(n,o),Ur.None),t.kind){case Ue.Text:Pn.replace(t,tE(t.handle.slot,t.initialValue,t.sourceSpan));break;case Ue.ElementStart:Pn.replace(t,n.job.mode===Ba.DomOnly?mh(t.handle.slot,t.tag,t.attributes,t.localRefs,t.startSourceSpan):Jw(t.handle.slot,t.tag,t.attributes,t.localRefs,t.startSourceSpan));break;case Ue.Element:Pn.replace(t,n.job.mode===Ba.DomOnly?Jm(t.handle.slot,t.tag,t.attributes,t.localRefs,t.wholeSourceSpan):Y0(t.handle.slot,t.tag,t.attributes,t.localRefs,t.wholeSourceSpan));break;case Ue.ForeignComponent:const o=t.props.size>0?ir(Array.from(t.props.entries()).map(([va,Lx])=>({key:va,value:Lx,quoted:os(va)}))):null;Pn.replace(t,qm(t.handle.slot,$t(t.constIndex),o,t.sourceSpan));break;case Ue.ElementEnd:Pn.replace(t,n.job.mode===Ba.DomOnly?eg(t.sourceSpan):eS(t.sourceSpan));break;case Ue.ContainerStart:Pn.replace(t,n.job.mode===Ba.DomOnly?Ly(t.handle.slot,t.attributes,t.localRefs,t.startSourceSpan):J0(t.handle.slot,t.attributes,t.localRefs,t.startSourceSpan));break;case Ue.Container:Pn.replace(t,n.job.mode===Ba.DomOnly?Yx(t.handle.slot,t.attributes,t.localRefs,t.wholeSourceSpan):N_(t.handle.slot,t.attributes,t.localRefs,t.wholeSourceSpan));break;case Ue.ContainerEnd:Pn.replace(t,n.job.mode===Ba.DomOnly?pS():OC());break;case Ue.I18nStart:Pn.replace(t,iE(t.handle.slot,t.messageIndex,t.subTemplateIndex,t.sourceSpan));break;case Ue.I18nEnd:Pn.replace(t,ph(t.sourceSpan));break;case Ue.I18n:Pn.replace(t,Qx(t.handle.slot,t.messageIndex,t.subTemplateIndex,t.sourceSpan));break;case Ue.I18nAttributes:if(null===t.i18nAttributesConfig)throw new Error("AssertionError: i18nAttributesConfig was not set");Pn.replace(t,oE(t.handle.slot,t.i18nAttributesConfig));break;case Ue.Template:if(!(n instanceof fl))throw new Error("AssertionError: must be compiling a component");if(Array.isArray(t.localRefs))throw new Error("AssertionError: local refs array should have been extracted into a constant");const c=n.job.views.get(t.xref);Pn.replace(t,t.templateKind===Yo.Block||n.job.mode===Ba.DomOnly?Zx(t.handle.slot,Xn(c.fnName),c.decls,c.vars,t.tag,t.attributes,t.localRefs,t.startSourceSpan):tS(t.handle.slot,Xn(c.fnName),c.decls,c.vars,t.tag,t.attributes,t.localRefs,t.startSourceSpan));break;case Ue.DisableBindings:Pn.replace(t,zx());break;case Ue.EnableBindings:Pn.replace(t,Kx());break;case Ue.Pipe:Pn.replace(t,B_(t.handle.slot,t.name));break;case Ue.DeclareLet:Pn.replace(t,cS(t.handle.slot,t.sourceSpan));break;case Ue.AnimationString:Pn.replace(t,Sl(t.animationKind,t.expression,t.sanitizer,t.sourceSpan));break;case Ue.Animation:const u=Wy(n,t.handlerFnName,t.handlerOps,!1);Pn.replace(t,ng(t.animationKind,u,t.sanitizer,t.sourceSpan));break;case Ue.AnimationListener:const v=Wy(n,t.handlerFnName,t.handlerOps,t.consumesDollarEvent);Pn.replace(t,hS(t.animationKind,v,0,t.sourceSpan));break;case Ue.Listener:const k=Wy(n,t.handlerFnName,t.handlerOps,t.consumesDollarEvent),ae=t.eventTarget?pE.get(t.eventTarget):null;if(void 0===ae)throw new Error(`Unexpected global target '${t.eventTarget}' defined for '${t.name}' event. Supported list of global targets: window,document,body.`);Pn.replace(t,n.job.mode!==Ba.DomOnly||t.hostListener||t.isLegacyAnimationListener?nS(t.name,k,ae,t.hostListener&&t.isLegacyAnimationListener,t.sourceSpan):bf(t.name,k,ae,t.sourceSpan));break;case Ue.TwoWayListener:Pn.replace(t,L_(t.name,Wy(n,t.handlerFnName,t.handlerOps,!0),t.sourceSpan));break;case Ue.Variable:if(null===t.variable.name)throw new Error(`AssertionError: unnamed variable ${t.xref}`);Pn.replace(t,xc(new Ot(t.variable.name,t.initializer,Y,Gi.Final)));break;case Ue.Namespace:switch(t.active){case Ws.HTML:Pn.replace(t,ky());break;case Ws.SVG:Pn.replace(t,iS());break;case Ws.Math:Pn.replace(t,Ym())}break;case Ue.Defer:const me=!!t.loadingMinimumTime||!!t.loadingAfterTime||!!t.placeholderMinimumTime;Pn.replace(t,nE(t.handle.slot,t.mainSlot.slot,t.resolverFn,t.loadingSlot?.slot??null,t.placeholderSlot?.slot??null,t.errorSlot?.slot??null,t.loadingConfig,t.placeholderConfig,me,t.sourceSpan,t.flags));break;case Ue.DeferOn:let Ve=[];const it=t.trigger.kind;switch(it){case No.Never:case No.Immediate:break;case No.Idle:null!=t.trigger.timeout&&(Ve=[$t(t.trigger.timeout)]);break;case No.Timer:Ve=[$t(t.trigger.delay)];break;case No.Viewport:"hydrate"===t.modifier?Ve=t.trigger.options?[t.trigger.options]:[]:(Ve=[$t(t.trigger.targetSlot?.slot??null)],0!==t.trigger.targetSlotViewSteps?Ve.push($t(t.trigger.targetSlotViewSteps)):t.trigger.options&&Ve.push($t(null)),t.trigger.options&&Ve.push(t.trigger.options));break;case No.Interaction:case No.Hover:"hydrate"===t.modifier?Ve=[]:(Ve=[$t(t.trigger.targetSlot?.slot??null)],0!==t.trigger.targetSlotViewSteps&&Ve.push($t(t.trigger.targetSlotViewSteps)));break;default:throw new Error(`AssertionError: Unsupported reification of defer trigger kind ${it}`)}Pn.replace(t,sS(t.trigger.kind,Ve,t.modifier,t.sourceSpan));break;case Ue.ProjectionDef:Pn.replace(t,Gx(t.def));break;case Ue.EnableIncrementalHydrationRuntime:Pn.replace(t,Zm(t.sourceSpan));break;case Ue.Projection:if(null===t.handle.slot)throw new Error("No slot was assigned for project instruction");let Gt=null,yn=null,Un=null;if(null!==t.fallbackView){if(!(n instanceof fl))throw new Error("AssertionError: must be compiling a component");const va=n.job.views.get(t.fallbackView);if(void 0===va)throw new Error("AssertionError: projection had fallback view xref, but fallback view was not found");if(null===va.fnName||null===va.decls||null===va.vars)throw new Error("AssertionError: expected projection fallback view to have been named and counted");Gt=va.fnName,yn=va.decls,Un=va.vars}Pn.replace(t,Py(t.handle.slot,t.projectionSlotIndex,t.attributes,Gt,yn,Un,t.sourceSpan));break;case Ue.ConditionalCreate:if(!(n instanceof fl))throw new Error("AssertionError: must be compiling a component");if(Array.isArray(t.localRefs))throw new Error("AssertionError: local refs array should have been extracted into a constant");const ai=n.job.views.get(t.xref);Pn.replace(t,F_(t.handle.slot,Xn(ai.fnName),ai.decls,ai.vars,t.tag,t.attributes,t.localRefs,t.startSourceSpan));break;case Ue.ConditionalBranchCreate:if(!(n instanceof fl))throw new Error("AssertionError: must be compiling a component");if(Array.isArray(t.localRefs))throw new Error("AssertionError: local refs array should have been extracted into a constant");const _i=n.job.views.get(t.xref);Pn.replace(t,rE(t.handle.slot,Xn(_i.fnName),_i.decls,_i.vars,t.tag,t.attributes,t.localRefs,t.startSourceSpan));break;case Ue.RepeaterCreate:if(null===t.handle.slot)throw new Error("No slot was assigned for repeater instruction");if(!(n instanceof fl))throw new Error("AssertionError: must be compiling a component");const Wi=n.job.views.get(t.xref);if(null===Wi.fnName)throw new Error("AssertionError: expected repeater primary view to have been named");let Wr=null,Go=null,As=null;if(null!==t.emptyView){const va=n.job.views.get(t.emptyView);if(void 0===va)throw new Error("AssertionError: repeater had empty view xref, but empty view was not found");if(null===va.fnName||null===va.decls||null===va.vars)throw new Error("AssertionError: expected repeater empty view to have been named and counted");Wr=va.fnName,Go=va.decls,As=va.vars}Pn.replace(t,Xx(t.handle.slot,Wi.fnName,t.decls,t.vars,t.tag,t.attributes,Vy(n,t),t.usesComponentInstance,Wr,Go,As,t.emptyTag,t.emptyAttributes,t.wholeSourceSpan));break;case Ue.SourceLocation:const Ep=Fi(t.locations.map(({targetSlot:va,offset:Lx,line:rk,column:TC})=>{if(null===va.slot)throw new Error("No slot was assigned for source location");return Fi([$t(va.slot),$t(Lx),$t(rk),$t(TC)])}));Pn.replace(t,mS(t.templatePath,Ep));break;case Ue.ControlCreate:Pn.replace(t,dS(t.sourceSpan));break;case Ue.Statement:break;default:throw new Error(`AssertionError: Unsupported reification of create op ${Ue[t.kind]}`)}}function wf(n,e){for(const t of e)switch(Ss(t,o=>fE(n,o),Ur.None),t.kind){case Ue.Advance:Pn.replace(t,eE(t.delta,t.sourceSpan));break;case Ue.Property:Pn.replace(t,n.job.mode===Ba.DomOnly&&t.bindingKind!==zi.LegacyAnimation&&t.bindingKind!==zi.Animation?hE(t):dp(t));break;case Ue.Control:Pn.replace(t,_S(t));break;case Ue.TwoWayProperty:Pn.replace(t,qx(t.name,t.expression,t.sanitizer,t.sourceSpan));break;case Ue.StyleProp:Pn.replace(t,Ny(t.name,t.expression,t.unit,t.sourceSpan));break;case Ue.ClassProp:Pn.replace(t,cE(t.name,t.expression,t.sourceSpan));break;case Ue.StyleMap:Pn.replace(t,ps(t.expression,t.sourceSpan));break;case Ue.ClassMap:Pn.replace(t,fh(t.expression,t.sourceSpan));break;case Ue.I18nExpression:Pn.replace(t,U_(t.expression,t.sourceSpan));break;case Ue.I18nApply:Pn.replace(t,By(t.handle.slot,t.sourceSpan));break;case Ue.InterpolateText:Pn.replace(t,tg(t.interpolation.strings,t.interpolation.expressions,t.sourceSpan));break;case Ue.Attribute:Pn.replace(t,Da(t.name,t.expression,t.sanitizer,t.namespace,t.sourceSpan));break;case Ue.DomProperty:if(t.expression instanceof ms)throw new Error("not yet handled");t.bindingKind===zi.LegacyAnimation||t.bindingKind===zi.Animation?Pn.replace(t,pc(t.name,t.expression,t.sourceSpan)):Pn.replace(t,hE(t));break;case Ue.Variable:if(null===t.variable.name)throw new Error(`AssertionError: unnamed variable ${t.xref}`);Pn.replace(t,xc(new Ot(t.variable.name,t.initializer,Y,Gi.Final)));break;case Ue.Conditional:if(null===t.processed)throw new Error("Conditional test was not set.");Pn.replace(t,eD(t.processed,t.contextValue,t.sourceSpan));break;case Ue.Repeater:Pn.replace(t,Ry(t.collection,t.sourceSpan));break;case Ue.DeferWhen:Pn.replace(t,aS(t.modifier,t.expr,t.sourceSpan));break;case Ue.StoreLet:throw new Error(`AssertionError: unexpected storeLet ${t.declaredName}`);case Ue.Statement:break;default:throw new Error(`AssertionError: Unsupported reification of update op ${Ue[t.kind]}`)}}function hE(n){return function uE(n,e,t,o){return dh(yt.domProperty,n,e,t,o)}(V_.get(n.name)??n.name,n.expression,n.sanitizer,n.sourceSpan)}function dp(n){return s_(n.name)?function sE(n,e,t){return dh(yt.ariaProperty,n,e,null,t)}(n.name,n.expression,n.sourceSpan):function hh(n,e,t,o){return dh(yt.property,n,e,t,o)}(n.name,n.expression,n.sanitizer,n.sourceSpan)}function _S(n){return function aE(n){return Dr(yt.control,[],n)}(n.sourceSpan)}function fE(n,e){if(!Bl(e))return e;switch(e.kind){case Xi.NextContext:return function Iy(n){return Nn(yt.nextContext).callFn(1===n?[]:[$t(n)])}(e.steps);case Xi.Reference:return function rS(n){return Nn(yt.reference).callFn([$t(n)])}(e.targetSlot.slot+1+e.offset);case Xi.ForeignContent:if(!(n instanceof fl))throw new Error("AssertionError: must be compiling a component");const t=n.job.views.get(e.childrenViewXref).contextVariables.size>0;return function Z0(n,e,t){return Nn(t?yt.foreignContentFn:yt.foreignContent).callFn([$t(n),$t(e)])}(e.childrenViewHandle.slot,e.foreignComponentConstIndex,t);case Xi.LexicalRead:throw new Error(`AssertionError: unresolved LexicalRead of ${e.name}`);case Xi.TwoWayBindingSet:throw new Error("AssertionError: unresolved TwoWayBindingSet");case Xi.RestoreView:if("number"==typeof e.view)throw new Error("AssertionError: unresolved RestoreView");return function oS(n){return Nn(yt.restoreView).callFn([n])}(e.view);case Xi.ResetView:return function Ay(n){return Nn(yt.resetView).callFn([n])}(e.expr);case Xi.GetCurrentView:return function My(){return Nn(yt.getCurrentView).callFn([])}();case Xi.ReadVariable:if(null===e.name)throw new Error(`Read of unnamed variable ${e.xref}`);return Xn(e.name);case Xi.ReadTemporaryExpr:if(null===e.name)throw new Error(`Read of unnamed temporary ${e.xref}`);return Xn(e.name);case Xi.AssignTemporaryExpr:if(null===e.name)throw new Error(`Assign of unnamed temporary ${e.xref}`);return Xn(e.name).set(e.expr);case Xi.PureFunctionExpr:if(null===e.fn)throw new Error("AssertionError: expected PureFunctions to have been extracted");return function fS(n,e,t){return Ef(tD,[$t(n),e],t,null)}(e.varOffset,e.fn,e.args);case Xi.PureFunctionParameterExpr:throw new Error("AssertionError: expected PureFunctionParameterExpr to have been extracted");case Xi.PipeBinding:return function Jx(n,e,t){if(t.length<1||t.length>gh.length)throw new Error("pipeBind() argument count out of bounds");return Nn(gh[t.length-1]).callFn([$t(n),$t(e),...t])}(e.targetSlot.slot,e.varOffset,e.args);case Xi.PipeBindingVariadic:return function lE(n,e,t){return Nn(yt.pipeBindV).callFn([$t(n),$t(e),t])}(e.targetSlot.slot,e.varOffset,e.args);case Xi.SlotLiteralExpr:return $t(e.slot.slot);case Xi.ContextLetReference:return function uS(n){return Nn(yt.readContextLet).callFn([$t(n)])}(e.targetSlot.slot);case Xi.StoreLet:return function lS(n,e){return Nn(yt.storeLet).callFn([n],e)}(e.value,e.sourceSpan);case Xi.TrackContext:return Xn("this");case Xi.ArrowFunction:if(null===e.varOffset)throw new Error("AssertionError: variable offset was not assigned to arrow function");return function Fy(n,e,t){return Nn(yt.arrowFunction).callFn([$t(n),e,t])}(e.varOffset,n.job.pool.getSharedFunctionReference(function mE(n,e){wf(n,e.ops);const t=[];for(const c of e.ops){if(c.kind!==Ue.Statement)throw new Error(`AssertionError: expected reified statements, but found op ${Ue[c.kind]}`);t.push(c.statement)}const o=1===t.length&&t[0]instanceof In?t[0].value:t;return Di([new Qi(e.contextName,Y),new Qi(e.currentViewName,Y)],Di(e.parameters,o))}(n,e),"arrowFn"),Xn(la));default:throw new Error(`AssertionError: Unsupported reification of ir.Expression kind: ${Xi[e.kind]}`)}}function Wy(n,e,t,o){wf(n,t);const c=[];for(const v of t){if(v.kind!==Ue.Statement)throw new Error(`AssertionError: expected reified statements, but found op ${Ue[v.kind]}`);c.push(v.statement)}const u=[];return o&&u.push(new Qi("$event",Y)),Er(u,c,void 0,void 0,e)}function Vy(n,e){if(null!==e.trackByFn)return e.trackByFn;const t=[new Qi("$index",ln),new Qi("$item",Y)];let o;if(null===e.trackByOps)o=e.usesComponentInstance?Er(t,[new In(e.track)]):Di(t,e.track);else{wf(n,e.trackByOps);const c=[];for(const u of e.trackByOps){if(u.kind!==Ue.Statement)throw new Error(`AssertionError: expected reified statements, but found op ${Ue[u.kind]}`);c.push(u.statement)}o=!e.usesComponentInstance&&1===c.length&&c[0]instanceof In?Di(t,c[0].value):Er(t,c)}return e.trackByFn=n.job.pool.getSharedFunctionReference(o,"_forTrack"),e.trackByFn}function yh(n,e){const t=new Map;t.set(n.xref,Xn(la));for(const o of e)switch(o.kind){case Ue.Variable:o.variable.kind===ta.Context&&t.set(o.variable.view,new Jc(o.xref));break;case Ue.Animation:case Ue.AnimationListener:case Ue.Listener:case Ue.TwoWayListener:yh(n,o.handlerOps);break;case Ue.RepeaterCreate:null!==o.trackByOps&&yh(n,o.trackByOps)}n===n.job.root&&t.set(n.xref,Xn(la));for(const o of e)Ss(o,c=>{if(c instanceof $u){if(!t.has(c.view))throw new Error(`No context found for reference to view ${c.view} from view ${n.xref}`);return t.get(c.view)}return c},Ur.None)}function bh(n){for(const e of n)(e.kind===Ue.Listener||e.kind===Ue.TwoWayListener||e.kind===Ue.AnimationListener)&&Ss(e,t=>t instanceof fa&&"$event"===t.name?((e.kind===Ue.Listener||e.kind===Ue.AnimationListener)&&(e.consumesDollarEvent=!0),new Qe(t.name)):t,Ur.InChildOperation)}function Za(n,e,t,o,c){let u=null,v=new Map;for(const k of e.create)switch(k.kind){case Ue.I18nStart:if(!k.context)throw Error("Could not find i18n context for i18n op");u={i18nBlock:k,i18nContext:t.get(k.context)};break;case Ue.I18nEnd:u=null;break;case Ue.ElementStart:if(void 0!==k.i18nPlaceholder){if(null===u)throw Error("i18n tag placeholder should only occur inside an i18n block");xf(k,u.i18nContext,u.i18nBlock,c),c&&k.i18nPlaceholder.closeName&&v.set(k.xref,c),c=void 0}break;case Ue.ElementEnd:const ae=o.get(k.xref);if(ae&&void 0!==ae.i18nPlaceholder){if(null===u)throw Error("AssertionError: i18n tag placeholder should only occur inside an i18n block");$_(ae,u.i18nContext,u.i18nBlock,v.get(k.xref)),v.delete(k.xref)}break;case Ue.Projection:if(void 0!==k.i18nPlaceholder){if(null===u)throw Error("i18n tag placeholder should only occur inside an i18n block");xf(k,u.i18nContext,u.i18nBlock,c),$_(k,u.i18nContext,u.i18nBlock,c),c=void 0}if(null!==k.fallbackView){const Gt=n.views.get(k.fallbackView);if(void 0===k.fallbackViewI18nPlaceholder)Za(n,Gt,t,o);else{if(null===u)throw Error("i18n tag placeholder should only occur inside an i18n block");j_(n,Gt,k.handle.slot,k.fallbackViewI18nPlaceholder,u.i18nContext,u.i18nBlock,c),Za(n,Gt,t,o),rg(n,Gt,k.handle.slot,k.fallbackViewI18nPlaceholder,u.i18nContext,u.i18nBlock,c),c=void 0}}break;case Ue.ConditionalCreate:case Ue.ConditionalBranchCreate:case Ue.Template:const me=n.views.get(k.xref);if(void 0===k.i18nPlaceholder)Za(n,me,t,o);else{if(null===u)throw Error("i18n tag placeholder should only occur inside an i18n block");k.templateKind===Yo.Structural?Za(n,me,t,o,k):(j_(n,me,k.handle.slot,k.i18nPlaceholder,u.i18nContext,u.i18nBlock,c),Za(n,me,t,o),rg(n,me,k.handle.slot,k.i18nPlaceholder,u.i18nContext,u.i18nBlock,c),c=void 0)}break;case Ue.RepeaterCreate:if(void 0!==c)throw Error("AssertionError: Unexpected structural directive associated with @for block");const Ve=k.handle.slot+1,it=n.views.get(k.xref);if(void 0===k.i18nPlaceholder)Za(n,it,t,o);else{if(null===u)throw Error("i18n tag placeholder should only occur inside an i18n block");j_(n,it,Ve,k.i18nPlaceholder,u.i18nContext,u.i18nBlock,c),Za(n,it,t,o),rg(n,it,Ve,k.i18nPlaceholder,u.i18nContext,u.i18nBlock,c),c=void 0}if(null!==k.emptyView){const Gt=k.handle.slot+2,yn=n.views.get(k.emptyView);if(void 0===k.emptyI18nPlaceholder)Za(n,yn,t,o);else{if(null===u)throw Error("i18n tag placeholder should only occur inside an i18n block");j_(n,yn,Gt,k.emptyI18nPlaceholder,u.i18nContext,u.i18nBlock,c),Za(n,yn,t,o),rg(n,yn,Gt,k.emptyI18nPlaceholder,u.i18nContext,u.i18nBlock,c),c=void 0}}}}function xf(n,e,t,o){const{startName:c,closeName:u}=n.i18nPlaceholder;let v=To.ElementTag|To.OpenTag,k=n.handle.slot;void 0!==o&&(v|=To.TemplateTag,k={element:k,template:o.handle.slot}),u||(v|=To.CloseTag),Eh(e.params,c,k,t.subTemplateIndex,v)}function $_(n,e,t,o){const{closeName:c}=n.i18nPlaceholder;if(c){let u=To.ElementTag|To.CloseTag,v=n.handle.slot;void 0!==o&&(u|=To.TemplateTag,v={element:v,template:o.handle.slot}),Eh(e.params,c,v,t.subTemplateIndex,u)}}function j_(n,e,t,o,c,u,v){let{startName:k,closeName:ae}=o,me=To.TemplateTag|To.OpenTag;ae||(me|=To.CloseTag),void 0!==v&&Eh(c.params,k,v.handle.slot,u.subTemplateIndex,me),Eh(c.params,k,t,yE(n,u,e),me)}function rg(n,e,t,o,c,u,v){const{closeName:k}=o,ae=To.TemplateTag|To.CloseTag;k&&(Eh(c.params,k,t,yE(n,u,e),ae),void 0!==v&&Eh(c.params,k,v.handle.slot,u.subTemplateIndex,ae))}function yE(n,e,t){for(const o of t.create)if(o.kind===Ue.I18nStart)return o.subTemplateIndex;return e.subTemplateIndex}function Eh(n,e,t,o,c){const u=n.get(e)??[];u.push({value:t,subTemplateIndex:o,flags:c}),n.set(e,u)}function bS(n,e,t,o){if(null!==n.i18nPlaceholder){const c=t.get(n.context),u=n.resolutionTime===Rl.Creation?c.params:c.postprocessingParams,v=u.get(n.i18nPlaceholder)||[];v.push(e),u.set(n.i18nPlaceholder,v)}null!==n.icuPlaceholder&&o.get(n.icuPlaceholder)?.expressionPlaceholders.push(e)}function og(n,e,t){const o=new Map,c=new Map;for(const u of e)switch(u.kind){case Ue.Variable:switch(u.variable.kind){case ta.Identifier:if(u.variable.local){if(c.has(u.variable.identifier))continue;c.set(u.variable.identifier,u.xref)}else if(o.has(u.variable.identifier))continue;o.set(u.variable.identifier,u.xref);break;case ta.Alias:if(o.has(u.variable.identifier))continue;o.set(u.variable.identifier,u.xref);break;case ta.SavedView:t={view:u.variable.view,variable:u.xref}}break;case Ue.Animation:case Ue.AnimationListener:case Ue.Listener:case Ue.TwoWayListener:og(n,u.handlerOps,t);break;case Ue.RepeaterCreate:null!==u.trackByOps&&og(n,u.trackByOps,t)}for(const u of e)u.kind===Ue.Listener||u.kind===Ue.TwoWayListener||u.kind===Ue.Animation||u.kind===Ue.AnimationListener||Ss(u,v=>{if(v instanceof fa)return c.has(v.name)?new Jc(c.get(v.name)):o.has(v.name)?new Jc(o.get(v.name)):new _n(new $u(n.job.root.xref),v.name);if(v instanceof jd&&"number"==typeof v.view){if(null===t||t.view!==v.view)throw new Error(`AssertionError: no saved view ${v.view} from view ${n.xref}`);return v.view=new Jc(t.variable),v}return v},Ur.None);for(const u of e)Vs(u,v=>{if(v instanceof fa)throw new Error(`AssertionError: no lexical reads should remain, but found read of ${v.name}`)})}const ES=new Map([[b.HTML,yt.sanitizeHtml],[b.RESOURCE_URL,yt.sanitizeResourceUrl],[b.SCRIPT,yt.sanitizeScript],[b.STYLE,yt.sanitizeStyle],[b.URL,yt.sanitizeUrl],[b.ATTRIBUTE_NO_BINDING,yt.validateAttribute]]),wS=new Map([[b.HTML,yt.trustConstantHtml],[b.RESOURCE_URL,yt.trustConstantResourceUrl]]);function SS(n){let e=!1,t=!1,o=!1;for(const c of n)switch(c){case b.URL:e=!0;break;case b.RESOURCE_URL:t=!0;break;case b.NONE:o=!0;break;default:return!1}return(e||t)&&o||e&&t}function xS(n){if(!Array.isArray(n))return n;if(n.length<2)return n[0]??b.NONE;const e=n.filter(t=>t!==b.NONE);if(e.length>1)throw Error("AssertionError: Ambiguous security context");return e[0]??b.NONE}function DS(n){if(n instanceof Jn&&n.fn instanceof fa&&"$safeNavigationMigration"===n.fn.name){if(1!==n.args.length)throw new Error("The $safeNavigationMigration builtin function expects exactly one argument.");return new Kd(n.args[0])}return n}function bE(n,e,t){let o=e!==n.root;if(!o)for(const c of t)Vs(c,u=>{(u instanceof Xh||u instanceof $p)&&(o=!0)});return o}function EE(n,e,t){e.prepend([Jl(n.job.allocateXrefId(),{kind:ta.Context,name:null,view:n.xref},new jd(t),lc.None)]);for(const o of e)o.kind===Ue.Statement&&o.statement instanceof In&&(o.statement.value=new Qh(o.statement.value))}function TS(n){let e=!1;return Bi(n,t=>((t instanceof Hd||t instanceof zd)&&(e=!0),t),Ur.None),e}function IS(n,e){n.lhs instanceof pt&&n.lhs.expr instanceof zt&&e.add(n.lhs)}function MS(n,e){n.lhs instanceof pt&&(xE(n.lhs.expr)||n.lhs.expr instanceof qr)&&e.add(n.lhs),n.rhs instanceof pt&&(xE(n.rhs.expr)||n.rhs.expr instanceof qr)&&e.add(n.rhs)}function SE(n,e){n.lhs instanceof pt&&n.lhs.expr instanceof Bt&&n.lhs.expr.operator===lt.NullishCoalesce&&e.add(n.lhs)}function xE(n){return n instanceof Bt&&(n.operator===lt.And||n.operator===lt.Or)}function wh(n){let e=0,t=[];for(const o of n){const c=new Map;Vs(o,(me,Ve)=>{Ve&Ur.InChildOperation||me instanceof eu&&c.set(me.xref,me)});let u=0;const v=new Set,k=new Set,ae=new Map;Vs(o,(me,Ve)=>{Ve&Ur.InChildOperation||(me instanceof Fl?(v.has(me.xref)||(v.add(me.xref),ae.set(me.xref,`tmp_${e}_${u++}`)),Df(ae,me)):me instanceof eu&&(c.get(me.xref)===me&&(k.add(me.xref),u--),Df(ae,me)))}),t.push(...Array.from(new Set(ae.values())).map(me=>xc(new Ot(me)))),e++,o.kind===Ue.Listener||o.kind===Ue.Animation||o.kind===Ue.AnimationListener||o.kind===Ue.TwoWayListener?o.handlerOps.prepend(wh(o.handlerOps)):o.kind===Ue.RepeaterCreate&&null!==o.trackByOps&&o.trackByOps.prepend(wh(o.trackByOps))}return t}function Df(n,e){const t=n.get(e.xref);if(void 0===t)throw new Error(`Found xref with unassigned name: ${e.xref}`);e.name=t}function CE(n,e){if(!(e instanceof Jn)||0===e.args.length||e.args.length>2||!(e.receiver instanceof _n&&e.receiver.receiver instanceof $u)||e.receiver.receiver.view!==n)return!1;const[t,o]=e.args;return t instanceof Qe&&"$index"===t.name&&(1===e.args.length||!(!(o instanceof Qe)||"$item"!==o.name))}function RS(n){let e;switch(n.kind){case Ue.Attribute:return e=1,n.expression instanceof ms&&!function kE(n){return!(1!==n.expressions.length||2!==n.strings.length||""!==n.strings[0]||""!==n.strings[1])}(n.expression)&&(e+=n.expression.expressions.length),e;case Ue.Property:case Ue.DomProperty:return e=1,n.expression instanceof ms&&(e+=n.expression.expressions.length),e;case Ue.Control:return 2;case Ue.TwoWayProperty:return 1;case Ue.StyleProp:case Ue.ClassProp:case Ue.StyleMap:case Ue.ClassMap:return e=2,n.expression instanceof ms&&(e+=n.expression.expressions.length),e;case Ue.InterpolateText:return n.interpolation.expressions.length;case Ue.I18nExpression:case Ue.Conditional:case Ue.DeferWhen:case Ue.StoreLet:return 1;case Ue.RepeaterCreate:return n.emptyView?1:0;default:throw new Error(`Unhandled op: ${Ue[n.kind]}`)}}function TE(n){switch(n.kind){case Xi.PureFunctionExpr:case Xi.PipeBinding:return 1+n.args.length;case Xi.PipeBindingVariadic:return 1+n.numArgs;case Xi.StoreLet:case Xi.ArrowFunction:return 1;default:throw new Error(`AssertionError: unhandled ConsumesVarsTrait expression ${n.constructor.name}`)}}var Ma;function sg(n){return!(n&Ur.InArrowFunctionOperation)}function ag(n){const e=new Map;for(const t of n)t.kind===Ue.Variable&&t.flags&lc.AlwaysInline&&(Vs(t,o=>{if(Bl(o)&&cg(o)!==Ma.None)throw new Error("AssertionError: A context-sensitive variable was marked AlwaysInline")}),e.set(t.xref,t)),Ss(t,o=>o instanceof Jc&&e.has(o.xref)?e.get(o.xref).initializer.clone():o,Ur.None);for(const t of e.values())Pn.remove(t)}function Cf(n,e){const t=new Map,o=new Map,c=new Set,u=new Map;for(const me of n){if(me.kind===Ue.Variable){if(t.has(me.xref)||o.has(me.xref))throw new Error(`Should not see two declarations of the same variable: ${me.xref}`);t.set(me.xref,me),o.set(me.xref,0)}u.set(me,NS(me,e)),LS(me,o,c,e)}let v=!1;for(const me of n.reversed()){const Ve=u.get(me);if(me.kind!==Ue.Variable||0!==o.get(me.xref))Ve.fences&Ma.ViewContextRead&&(v=!0);else{if(v&&Ve.fences&Ma.ViewContextWrite||Ve.fences&Ma.SideEffectful){const it=xc(me.initializer.toStmt());u.set(it,Ve),Pn.replace(me,it)}else Gy(me,o),Pn.remove(me);u.delete(me),t.delete(me.xref),o.delete(me.xref)}}const k=[];for(const[me,Ve]of o){const Gt=!!(t.get(me).flags&lc.AlwaysInline);1!==Ve||Gt||c.has(me)||k.push(me)}let ae;for(;ae=k.pop();){const me=t.get(ae),Ve=u.get(me);if(me.flags&lc.AlwaysInline)throw new Error("AssertionError: Found an 'AlwaysInline' variable after the always inlining pass.");for(let Gt=me.next;Gt.kind!==Ue.ListEnd;Gt=Gt.next){const yn=u.get(Gt);if(yn.variablesUsed.has(ae)){if(!ME(me,Gt))break;if(BS(ae,me.initializer,Gt,Ve.fences)){yn.variablesUsed.delete(ae);for(const Un of Ve.variablesUsed)yn.variablesUsed.add(Un);yn.fences|=Ve.fences,t.delete(ae),o.delete(ae),u.delete(me),Pn.remove(me)}break}if(!Xy(yn.fences,Ve.fences))break}}}function cg(n){switch(n.kind){case Xi.NextContext:return Ma.ViewContextRead|Ma.ViewContextWrite;case Xi.RestoreView:return Ma.ViewContextRead|Ma.ViewContextWrite|Ma.SideEffectful;case Xi.StoreLet:return Ma.SideEffectful;case Xi.Reference:case Xi.ContextLetReference:return Ma.ViewContextRead;default:return Ma.None}}function NS(n,e){let t=Ma.None;const o=new Set;return Vs(n,(c,u)=>{!Bl(c)||null!==e&&!e(u)||(c.kind===Xi.ReadVariable?o.add(c.xref):u&Ur.InChildOperation||(t|=cg(c)))}),{fences:t,variablesUsed:o}}function LS(n,e,t,o){Vs(n,(c,u)=>{if(!Bl(c)||null!==o&&!o(u)||c.kind!==Xi.ReadVariable)return;const v=e.get(c.xref);void 0!==v&&(e.set(c.xref,v+1),u&Ur.InChildOperation&&t.add(c.xref))})}function Gy(n,e){Vs(n,t=>{if(!Bl(t)||t.kind!==Xi.ReadVariable)return;const o=e.get(t.xref);if(void 0!==o){if(0===o)throw new Error(`Inaccurate variable count: ${t.xref} - found another read but count is already 0`);e.set(t.xref,o-1)}})}function Xy(n,e){if(n&Ma.ViewContextWrite){if(e&Ma.ViewContextRead)return!1}else if(n&Ma.ViewContextRead&&e&Ma.ViewContextWrite)return!1;return!0}function BS(n,e,t,o){let c=!1,u=!0;return Ss(t,(v,k)=>{if(!Bl(v)||c||!u)return v;if(k&Ur.InChildOperation&&o&Ma.ViewContextRead)return v;if(v.kind===Xi.ReadVariable){if(v.xref===n)return c=!0,e}else{const ae=cg(v);u=u&&Xy(ae,o)}return v},Ur.None),c}function ME(n,e){switch(n.variable.kind){case ta.Identifier:return n.initializer instanceof Qe&&n.initializer.name===la;case ta.Context:return e.kind===Ue.Variable;default:return!0}}function Qy(n){const e=n.head.next,t=n.tail.prev;null!==e&&null!==t&&e.next===t&&e.kind===Ue.Statement&&e.statement instanceof kn&&e.statement.expr instanceof jd&&t.kind===Ue.Statement&&t.statement instanceof In&&t.statement.value instanceof Qh&&(Pn.remove(e),t.statement.value=t.statement.value.expr)}!function(n){n[n.None=0]="None",n[n.ViewContextRead=1]="ViewContextRead",n[n.ViewContextWrite=2]="ViewContextWrite",n[n.SideEffectful=4]="SideEffectful"}(Ma||(Ma={}));const AE=[{kind:xi.Tmpl,fn:function Sf(n){for(const e of n.units){const t=new Map;for(const o of e.create)o.kind===Ue.ForeignComponent&&t.set(o.xref,o);for(const o of e.create){if(o.kind!==Ue.Content)continue;const c=t.get(o.target);if(void 0===c)throw new Error("AssertionError: ContentOp target not found");const u=o.propertyName.charAt(0).toUpperCase()+o.propertyName.slice(1),v=Xp(o.view,Yo.NgTemplate,null,u,Ws.HTML,void 0,o.startSourceSpan,o.sourceSpan);Pn.replace(o,v);const k=new dm(v.xref,v.handle,c.constIndex);c.props.set(o.propertyName,k)}}}},{kind:xi.Tmpl,fn:function K0(n){for(const e of n.units){const t=Uv(e);for(const o of e.ops())if(o.kind===Ue.Binding){const c=qw(t,o.target);Qw(o.name)&&c.kind===Ue.Projection&&Pn.remove(o)}}}},{kind:xi.Both,fn:function uh(n){for(const e of n.units)for(const t of e.ops())Ss(t,o=>o instanceof Ei&&q0(o)?n.pool.getSharedConstant(new Hx,o):o,Ur.None)}},{kind:xi.Host,fn:function g0(n){for(const e of n.root.update)if(e.kind===Ue.Binding&&e.bindingKind===zi.Property)if(e.name.endsWith(Im)&&(e.name=e.name.substring(0,e.name.length-10)),e.name.startsWith("style.")){e.bindingKind=zi.StyleProperty,e.name=e.name.substring(6),m_(e.name)?e.name=hs(e.name):e.name=ey(e.name);const{property:t,suffix:o}=g_(e.name);e.name=t,e.unit=o}else e.name.startsWith("style!")?(e.bindingKind=zi.StyleProperty,e.name="style"):(e.name.startsWith("class.")||e.name.startsWith("class!"))&&(e.bindingKind=zi.ClassName,e.name=g_(e.name.substring(6)).property)}},{kind:xi.Tmpl,fn:function gy(n){for(const e of n.units){let t=Ws.HTML;for(const o of e.create)o.kind===Ue.ElementStart&&o.namespace!==t&&(Pn.insertBefore(t_(o.namespace),o),t=o.namespace)}}},{kind:xi.Tmpl,fn:function X0(n){Q0(n.root,0)}},{kind:xi.Tmpl,fn:function FS(n){for(const e of n.units){let t=null,o=null;for(const c of e.create)switch(c.kind){case Ue.I18nStart:t=c;break;case Ue.I18nEnd:t=null;break;case Ue.IcuStart:null===t&&(o=n.allocateXrefId(),Pn.insertBefore(fm(o,c.message,void 0,null),c));break;case Ue.IcuEnd:null!==o&&(Pn.insertAfter(Yd(o,null),c),o=null)}}}},{kind:xi.Both,fn:function c0(n){const e=new Map;for(const t of n.units)for(const o of t.update.reversed())if(o.kind===Ue.Binding&&o.isTextAttribute){const c=e.get(o.target)||new Set;c.has(o.name)&&("style"===o.name||"class"===o.name)&&Pn.remove(o),c.add(o.name),e.set(o.target,c)}}},{kind:xi.Both,fn:function zy(n){for(const e of n.units)for(const t of e.update)if(t.kind===Ue.Binding)switch(t.bindingKind){case zi.ClassName:if(t.expression instanceof ms)throw new Error("Unexpected interpolation in ClassName binding");Pn.replace(t,Gh(t.target,t.name,t.expression,t.sourceSpan));break;case zi.StyleProperty:Pn.replace(t,Qg(t.target,t.name,t.expression,t.unit,t.sourceSpan));break;case zi.Property:case zi.Template:"style"===t.name?Pn.replace(t,Tv(t.target,t.expression,t.sourceSpan)):"class"===t.name&&Pn.replace(t,Vb(t.target,t.expression,t.sourceSpan))}}},{kind:xi.Both,fn:function bm(n){const e=new Map;for(const t of n.units)for(const o of t.create)Ul(o)&&e.set(o.xref,o);for(const t of n.units)for(const o of t.ops())if(o.kind===Ue.Binding)switch(o.bindingKind){case zi.Attribute:if("ngNonBindable"===o.name){Pn.remove(o);i0(e,o.target).nonBindable=!0}else if(o.name.startsWith("animate."))Pn.replace(o,Vp(o.name,o.target,"animate.enter"===o.name?"enter":"leave",o.expression,o.securityContext,o.sourceSpan,0));else{const[c,u]=ko(o.name);Pn.replace(o,lm(o.target,c,u,o.expression,o.securityContext,o.isTextAttribute,o.isStructuralTemplateAttribute,o.templateKind,o.i18nMessage,o.sourceSpan))}break;case zi.Animation:Pn.replace(o,Vp(o.name,o.target,"animate.enter"===o.name?"enter":"leave",o.expression,o.securityContext,o.sourceSpan,1));break;case zi.Property:case zi.LegacyAnimation:n.mode===Ba.DomOnly&&s_(o.name)?Pn.replace(o,lm(o.target,null,o.name,o.expression,o.securityContext,!1,o.isStructuralTemplateAttribute,o.templateKind,o.i18nMessage,o.sourceSpan)):n.kind===xi.Host?Pn.replace(o,i_(o.name,o.expression,o.bindingKind,o.i18nContext,o.securityContext,o.sourceSpan)):Pn.replace(o,qa(o.target,o.name,o.expression,o.bindingKind,o.securityContext,o.isStructuralTemplateAttribute,o.templateKind,o.i18nContext,o.i18nMessage,o.sourceSpan));break;case zi.TwoWayProperty:if(!(o.expression instanceof Ae))throw new Error(`Expected value of two-way property binding "${o.name}" to be an expression`);Pn.replace(o,Wp(o.target,o.name,o.expression,o.securityContext,o.isStructuralTemplateAttribute,o.templateKind,o.i18nContext,o.i18nMessage,o.sourceSpan));break;case zi.I18n:case zi.ClassName:case zi.StyleProperty:throw new Error(`Unhandled binding of kind ${zi[o.bindingKind]}`)}}},{kind:xi.Tmpl,fn:function ml(n){for(const e of n.units)o0(e)}},{kind:xi.Both,fn:function s0(n){const e=new Map;for(const t of n.units)for(const o of t.create)Ul(o)&&e.set(o.xref,o);for(const t of n.units)for(const o of t.ops())if(o.kind===Ue.AnimationBinding){const c=a0(o);n.kind===xi.Host?t.create.push(c):Pn.insertAfter(c,d_(e,o.target)),Pn.remove(o)}}},{kind:xi.Both,fn:function t0(n){for(const e of n.units){const t=Uv(e);for(const o of e.ops())switch(o.kind){case Ue.Attribute:Wv(e,o,t);break;case Ue.Property:if(o.bindingKind!==zi.LegacyAnimation&&o.bindingKind!==zi.Animation){let c;c=null!==o.i18nMessage&&null===o.templateKind?zi.I18n:o.isStructuralTemplateAttribute?zi.Template:zi.Property,Pn.insertBefore(nu(o.target,c,null,o.name,null,null,null,o.securityContext),Yp(t,o.target))}break;case Ue.TwoWayProperty:Pn.insertBefore(nu(o.target,zi.TwoWayProperty,null,o.name,null,null,null,o.securityContext),Yp(t,o.target));break;case Ue.StyleProp:case Ue.ClassProp:o.expression instanceof wu&&Pn.insertBefore(nu(o.target,zi.Property,null,o.name,null,null,null,b.STYLE),Yp(t,o.target));break;case Ue.Listener:if(!o.isLegacyAnimationListener){const c=nu(o.target,zi.Property,null,o.name,null,null,null,b.NONE);if(n.kind===xi.Host)break;Pn.insertBefore(c,Yp(t,o.target))}break;case Ue.TwoWayListener:if(n.kind!==xi.Host){const c=nu(o.target,zi.Property,null,o.name,null,null,null,b.NONE);Pn.insertBefore(c,Yp(t,o.target))}}}}},{kind:xi.Tmpl,fn:function Iw(n){const e=new Map;for(const c of n.units)for(const u of c.ops())switch(u.kind){case Ue.Binding:case Ue.Property:case Ue.Attribute:case Ue.ExtractedAttribute:if(null===u.i18nMessage)continue;if(!e.has(u.i18nMessage)){const v=Bv(Wu.Attr,n.allocateXrefId(),null,u.i18nMessage,null);c.create.push(v),e.set(u.i18nMessage,v.xref)}u.i18nContext=e.get(u.i18nMessage)}const t=new Map;for(const c of n.units)for(const u of c.create)if(u.kind===Ue.I18nStart)if(u.xref===u.root){const v=Bv(Wu.RootI18n,n.allocateXrefId(),u.xref,u.message,null);c.create.push(v),u.context=v.xref,t.set(u.xref,v)}for(const c of n.units)for(const u of c.create)if(u.kind===Ue.I18nStart&&u.xref!==u.root){const v=t.get(u.root);if(void 0===v)throw Error("AssertionError: Root i18n block i18n context should have been created.");u.context=v.xref,t.set(u.xref,v)}let o=null;for(const c of n.units)for(const u of c.create)switch(u.kind){case Ue.I18nStart:o=u;break;case Ue.I18nEnd:o=null;break;case Ue.IcuStart:if(null===o)throw Error("AssertionError: Unexpected ICU outside of an i18n block.");if(u.message.id!==o.message.id){const v=Bv(Wu.Icu,n.allocateXrefId(),o.root,u.message,null);c.create.push(v),u.context=v.xref}else u.context=o.context,t.get(o.xref).contextKind=Wu.Icu}}},{kind:xi.Both,fn:function Gw(n){const e=new Map;for(const t of n.units)for(const o of t.create)Ul(o)&&e.set(o.xref,o);for(const t of n.units)for(const o of t.create)if(o.kind===Ue.ExtractedAttribute&&o.bindingKind===zi.Attribute&&qh(o.expression)){const c=e.get(o.target);if(void 0!==c&&(c.kind===Ue.Template||c.kind===Ue.ConditionalCreate||c.kind===Ue.ConditionalBranchCreate)&&c.templateKind===Yo.Structural)continue;if("style"===o.name){const u=Kw(o.expression.value);for(let v=0;v<u.length-1;v+=2)Pn.insertBefore(nu(o.target,zi.StyleProperty,null,u[v],$t(u[v+1]),null,null,b.STYLE),o);Pn.remove(o)}else if("class"===o.name){const u=o.expression.value.trim().split(/\s+/g);for(const v of u)Pn.insertBefore(nu(o.target,zi.ClassName,null,v,null,null,null,b.NONE),o);Pn.remove(o)}}}},{kind:xi.Tmpl,fn:function _h(n){for(const e of n.units)for(const t of e.update)switch(t.kind){case Ue.Attribute:case Ue.Binding:case Ue.ClassProp:case Ue.ClassMap:case Ue.Property:case Ue.StyleProp:case Ue.StyleMap:t.expression instanceof wu&&Pn.remove(t)}}},{kind:xi.Both,fn:function Jd(n){for(const e of n.units)for(const t of e.update)(t.kind===Ue.Attribute||t.kind===Ue.StyleProp||t.kind==Ue.StyleMap||t.kind===Ue.ClassMap)&&t.expression instanceof ms&&2===t.expression.strings.length&&t.expression.strings.every(c=>""===c)&&(t.expression=t.expression.expressions[0])}},{kind:xi.Both,fn:function lh(n){for(const e of n.units){vf(e.create,j0);const t=e.job.kind===xi.Host?z0:H0;vf(e.update,t)}}},{kind:xi.Tmpl,fn:function Jr(n){for(const e of n.units)for(const t of e.ops()){if(t.kind!==Ue.Conditional)continue;let o;const c=t.conditions.findIndex(k=>null===k.expr);if(c>=0){const k=t.conditions.splice(c,1)[0].targetSlot;o=new tu(k)}else o=$t(-1);let u=null==t.test?null:new Fl(t.test,n.allocateXrefId()),v=null;for(let k=t.conditions.length-1;k>=0;k--){let ae=t.conditions[k];if(null!==ae.expr){if(null!==u){const me=0===k?u:new eu(u.xref);ae.expr=new Bt(lt.Identical,me,ae.expr)}else null!==ae.alias&&(v??=n.allocateXrefId(),ae.expr=new Fl(ae.expr,v),t.contextValue=new eu(v));o=new qr(ae.expr,new tu(ae.targetSlot),o)}}t.processed=o,t.conditions=[]}}},{kind:xi.Tmpl,fn:function wy(n){for(const e of n.units)P_(e)}},{kind:xi.Tmpl,fn:function zv(n){for(const e of n.units)for(const t of e.create)t.kind===Ue.Defer&&(null!==t.placeholderMinimumTime&&(t.placeholderConfig=new gd(dc([t.placeholderMinimumTime]))),(null!==t.loadingMinimumTime||null!==t.loadingAfterTime)&&(t.loadingConfig=new gd(dc([t.loadingMinimumTime,t.loadingAfterTime]))))}},{kind:xi.Tmpl,fn:function Em(n){for(const e of n.units)for(const t of e.create)if(t.kind===Ue.Defer&&null!==t.flags&&1&t.flags){Pn.insertBefore(Nv(t.sourceSpan),t);break}}},{kind:xi.Tmpl,fn:function G0(n){for(const e of n.units)for(const t of e.update)Ss(t,o=>!(o instanceof Hd)||o.args.length<=4?o:new zd(o.target,o.targetSlot,o.name,Fi(o.args),o.args.length),Ur.None)}},{kind:xi.Both,fn:function qv(n){for(const e of n.units){for(const t of e.create)t.kind!==Ue.Animation&&t.kind!==Ue.AnimationListener&&t.kind!==Ue.Listener&&t.kind!==Ue.TwoWayListener&&f_(e,t);for(const t of e.update)f_(e,t)}}},{kind:xi.Both,fn:function Cy(n){for(const e of n.units)for(const t of e.update)Ss(t,(o,c)=>c&Ur.InChildOperation?o:o instanceof pn?up(o):o instanceof Hi?Yw(o):o,Ur.None)}},{kind:xi.Tmpl,fn:function f0(n){const t=[];let o=0;for(const c of n.units)for(const u of c.create)u.kind===Ue.Projection&&(t.push(u.selector),u.projectionSlotIndex=o++);if(t.length>0){let c=null;if(t.length>1||"*"!==t[0]){const u=t.map(v=>"*"===v?v:ce(v));c=n.pool.getConstLiteral(dc(u),!0)}n.contentSelectors=n.pool.getConstLiteral(dc(t),!0),n.root.create.prepend([Qp(c)])}}},{kind:xi.Tmpl,fn:function Yv(n){for(const e of n.units)for(const t of e.update){if(t.kind!==Ue.StoreLet)continue;const o={kind:ta.Identifier,name:null,identifier:t.declaredName,local:!0};Pn.replace(t,Jl(n.allocateXrefId(),o,new Vu(t.target,t.value,t.sourceSpan),lc.None))}}},{kind:xi.Tmpl,fn:function km(n){tp(n.root,null)}},{kind:xi.Tmpl,fn:function z_(n){for(const e of n.units){for(const t of e.functions)bE(n,e,t.ops)&&EE(e,t.ops,Xn(t.currentViewName));e.create.prepend([Jl(e.job.allocateXrefId(),{kind:ta.SavedView,name:null,view:e.xref},new pm,lc.None)]);for(const t of e.create)(t.kind===Ue.Listener||t.kind===Ue.TwoWayListener||t.kind===Ue.Animation||t.kind===Ue.AnimationListener)&&bE(n,e,t.handlerOps)&&EE(e,t.handlerOps,e.xref)}}},{kind:xi.Both,fn:function Yb(n){for(const e of n.units)for(const t of e.ops())Ss(t,ym,Ur.None)}},{kind:xi.Both,fn:function iD(n){for(const e of n.units)for(const t of e.ops())Ss(t,o=>DS(o),Ur.None)}},{kind:xi.Both,fn:function vE(n){for(const e of n.units)bh(e.create),bh(e.update)}},{kind:xi.Tmpl,fn:function Ky(n){for(const e of n.units)for(const t of e.create)t.kind===Ue.RepeaterCreate&&(t.track=Bi(t.track,o=>{if(o instanceof fa){if(t.varNames.$index.has(o.name))return Xn("$index");if(o.name===t.varNames.$implicit)return Xn("$item")}return o},Ur.None))}},{kind:xi.Tmpl,fn:function ig(n){for(const e of n.units)for(const t of e.update){if(t.kind!==Ue.Variable||t.variable.kind!==ta.Identifier||!(t.initializer instanceof Vu))continue;const o=t.variable.identifier;let c=t;for(;c&&c.kind!==Ue.ListEnd;)Ss(c,u=>u instanceof fa&&u.name===o?$t(void 0):u,Ur.None),c=c.prev}}},{kind:xi.Both,fn:function jy(n){for(const e of n.units){for(const t of e.functions)og(e,t.ops,null);og(e,e.create,null),og(e,e.update,null)}}},{kind:xi.Tmpl,fn:function Kv(n){const e=new Map;function t(c){if(e.has(c.xref))return e.get(c.xref);const u=new Mw;for(const v of c.create)if(Ul(v)&&null!==v.localRefs){if(!Array.isArray(v.localRefs))throw new Error("LocalRefs were already processed, but were needed to resolve defer targets.");for(const k of v.localRefs)""===k.target&&u.targets.set(k.name,{xref:v.xref,slot:v.handle})}return e.set(c.xref,u),u}function o(c,u,v){const k=u.trigger.kind;switch(k){case No.Idle:case No.Never:case No.Immediate:case No.Timer:return;case No.Hover:case No.Interaction:case No.Viewport:if(null===u.trigger.targetName){if(null===v)throw new Error("defer on trigger with no target name must have a placeholder block");const Ve=n.views.get(v);if(null==Ve)throw new Error("AssertionError: could not find placeholder view for defer on trigger");for(const it of Ve.create)if(Fp(it)&&(Ul(it)||it.kind===Ue.Projection))return u.trigger.targetXref=it.xref,u.trigger.targetView=v,u.trigger.targetSlotViewSteps=-1,void(u.trigger.targetSlot=it.handle);return}let ae=null!==v?n.views.get(v):c,me=null!==v?-1:0;for(;null!==ae;){const Ve=t(ae);if(Ve.targets.has(u.trigger.targetName)){const{xref:it,slot:Gt}=Ve.targets.get(u.trigger.targetName);return u.trigger.targetXref=it,u.trigger.targetView=ae.xref,u.trigger.targetSlotViewSteps=me,void(u.trigger.targetSlot=Gt)}ae=null!==ae.parent?n.views.get(ae.parent):null,me++}break;default:throw new Error(`Trigger kind ${k} not handled`)}}for(const c of n.units){const u=new Map;for(const v of c.create)switch(v.kind){case Ue.Defer:u.set(v.xref,v);break;case Ue.DeferOn:const k=u.get(v.defer);o(c,v,"hydrate"===v.modifier?k.mainView:k.placeholderView)}}}},{kind:xi.Tmpl,fn:function OS(n){for(const e of n.units)for(const t of e.create)t.kind===Ue.TwoWayListener&&Ss(t,o=>{if(!(o instanceof Hp))return o;const{target:c,value:u}=o;if(c instanceof _n||c instanceof Kn)return Ty(c,u).or(c.set(u));if(c instanceof Jc)return Ty(c,u);throw new Error("Unsupported expression in two-way action binding.")},Ur.InChildOperation)}},{kind:xi.Tmpl,fn:function DE(n){for(const e of n.units)for(const t of e.create)if(t.kind===Ue.RepeaterCreate)if(t.track instanceof Qe&&"$index"===t.track.name)t.trackByFn=Nn(yt.repeaterTrackByIndex);else if(t.track instanceof Qe&&"$item"===t.track.name)t.trackByFn=Nn(yt.repeaterTrackByIdentity);else if(CE(n.root.xref,t.track))t.usesComponentInstance=!0,t.track.receiver.receiver.view===e.xref?t.trackByFn=t.track.receiver:(t.trackByFn=Nn(yt.componentInstance).callFn([]).prop(t.track.receiver.name),t.track=t.trackByFn);else{t.track=Bi(t.track,c=>{if(c instanceof Hd||c instanceof zd)throw new Error("Illegal State: Pipes are not allowed in this context");return c instanceof $u?(t.usesComponentInstance=!0,new ju(c.view)):c},Ur.None);const o=new Pn;o.push(xc(new In(t.track,t.track.sourceSpan,[zs()]))),t.trackByOps=o}}},{kind:xi.Both,fn:function vh(n){for(const e of n.units){for(const t of e.functions)yh(e,t.ops);yh(e,e.create),yh(e,e.update)}}},{kind:xi.Both,fn:function Hy(n){for(const e of n.units){if(n.kind!==xi.Host)for(const t of e.create)if(t.kind===Ue.ExtractedAttribute){const o=wS.get(xS(t.securityContext))??null;t.trustedValueFn=null!==o?Nn(o):null}for(const t of e.update)switch(t.kind){case Ue.Property:case Ue.Attribute:case Ue.DomProperty:case Ue.TwoWayProperty:let o=null;o=Array.isArray(t.securityContext)&&SS(t.securityContext)?yt.sanitizeUrlOrResourceUrl:ES.get(xS(t.securityContext))??null,t.sanitizer=null!==o?Nn(o):null}}}},{kind:xi.Tmpl,fn:function my(n){for(const e of n.units)for(const t of e.create)switch(t.kind){case Ue.ElementStart:case Ue.ConditionalCreate:case Ue.ConditionalBranchCreate:case Ue.Template:if(!Array.isArray(t.localRefs))throw new Error("AssertionError: expected localRefs to be an array still");if(t.numSlotsUsed+=t.localRefs.length,t.localRefs.length>0){const o=Gm(t.localRefs);t.localRefs=n.addConst(o)}else t.localRefs=null}}},{kind:xi.Both,fn:function bd(n){for(const e of n.units)for(const t of e.ops())Ss(t,(o,c)=>Zp(o,{job:n},c),Ur.None),Ss(t,_l,Ur.None)}},{kind:xi.Both,fn:function kS(n){const e=new Set;for(const t of n.units)for(const o of t.ops())Vs(o,c=>{if(c instanceof Bt)switch(c.operator){case lt.Exponentiation:IS(c,e);break;case lt.NullishCoalesce:MS(c,e);break;case lt.And:case lt.Or:SE(c,e)}});for(const t of n.units)for(const o of t.ops())Ss(o,c=>c instanceof pt?e.has(c)?c:c.expr:c,Ur.None)}},{kind:xi.Both,fn:function AS(n){for(const e of n.units){e.create.prepend(wh(e.create)),e.update.prepend(wh(e.update));for(const t of e.functions)t.ops.prepend(wh(t.ops))}}},{kind:xi.Both,fn:function IE(n){for(const e of n.units){for(const t of e.functions)ag(t.ops);ag(e.create),ag(e.update);for(const t of e.create)t.kind===Ue.Listener||t.kind===Ue.Animation||t.kind===Ue.AnimationListener||t.kind===Ue.TwoWayListener?ag(t.handlerOps):t.kind===Ue.RepeaterCreate&&null!==t.trackByOps&&ag(t.trackByOps);for(const t of e.functions)Cf(t.ops,null),Qy(t.ops);for(const t of e.create)t.kind===Ue.Listener||t.kind===Ue.Animation||t.kind===Ue.AnimationListener||t.kind===Ue.TwoWayListener?(Cf(t.handlerOps,sg),Qy(t.handlerOps)):t.kind===Ue.RepeaterCreate&&null!==t.trackByOps&&Cf(t.trackByOps,sg);Cf(e.create,sg),Cf(e.update,sg)}}},{kind:xi.Both,fn:function wE(n){const e=new Set,t=new Map;for(const o of n.units)for(const c of o.ops())c.kind===Ue.DeclareLet&&t.set(c.xref,c),Vs(c,u=>{u instanceof $p&&e.add(u.target)});for(const o of n.units)for(const c of o.update)Ss(c,u=>u instanceof Vu&&!e.has(u.target)?(TS(u)||Pn.remove(t.get(u.target)),u.value):u,Ur.None)}},{kind:xi.Tmpl,fn:function B0(n){for(const e of n.units){let t=null,o=null;const c=new Map,u=new Map,v=new Map;for(const k of e.create)switch(k.kind){case Ue.I18nStart:if(null===k.context)throw Error("I18n op should have its context set.");t=k;break;case Ue.I18nEnd:t=null;break;case Ue.IcuStart:if(null===k.context)throw Error("Icu op should have its context set.");o=k;break;case Ue.IcuEnd:o=null;break;case Ue.Text:if(null!==t)if(c.set(k.xref,t),u.set(k.xref,o),null!==k.icuPlaceholder){const ae=Zd(n.allocateXrefId(),k.icuPlaceholder,[k.initialValue]);Pn.replace(k,ae),v.set(k.xref,ae)}else Pn.remove(k)}for(const k of e.update)if(k.kind===Ue.InterpolateText){if(!c.has(k.target))continue;const ae=c.get(k.target),me=u.get(k.target),Ve=v.get(k.target),it=me?me.context:ae.context,Gt=me?Rl.Postproccessing:Rl.Creation,yn=[];for(let Un=0;Un<k.interpolation.expressions.length;Un++){const ai=k.interpolation.expressions[Un];yn.push(Iv(it,ae.xref,ae.xref,ae.handle,ai,Ve?.xref??null,k.interpolation.i18nPlaceholders[Un]??null,Gt,Nl.I18nText,"",ai.sourceSpan??k.sourceSpan))}Pn.replaceWithMany(k,yn),void 0!==Ve&&(Ve.strings=k.interpolation.strings)}}}},{kind:xi.Tmpl,fn:function kw(n){const e=new Map;for(const t of n.units){for(const o of t.create)o.kind===Ue.I18nAttributes&&e.set(o.target,o);for(const o of t.update)switch(o.kind){case Ue.Property:case Ue.Attribute:if(null===o.i18nContext||!(o.expression instanceof ms))continue;const c=e.get(o.target);if(void 0===c)throw new Error("AssertionError: An i18n attribute binding instruction requires the owning element to have an I18nAttributes create instruction");if(c.target!==o.target)throw new Error("AssertionError: Expected i18nAttributes target element to match binding target element");const u=[];for(let v=0;v<o.expression.expressions.length;v++){const k=o.expression.expressions[v];if(o.expression.i18nPlaceholders.length!==o.expression.expressions.length)throw new Error(`AssertionError: An i18n attribute binding instruction requires the same number of expressions and placeholders, but found ${o.expression.i18nPlaceholders.length} placeholders and ${o.expression.expressions.length} expressions`);u.push(Iv(o.i18nContext,c.target,c.xref,c.handle,k,null,o.expression.i18nPlaceholders[v],Rl.Creation,Nl.I18nAttribute,o.name,o.sourceSpan))}Pn.replaceWithMany(o,u)}}}},{kind:xi.Tmpl,fn:function _E(n){for(const e of n.units){const t=new Set;for(const o of e.update)o.kind===Ue.I18nExpression&&t.add(o.i18nOwner);for(const o of e.create)if(o.kind===Ue.I18nAttributes){if(t.has(o.xref))continue;Pn.remove(o)}}}},{kind:xi.Tmpl,fn:function Jb(n){for(const e of n.units){let t=e.update.head,o=[],c=null;for(const u of e.create){if(u.kind===Ue.I18nStart)c={blockXref:u.xref,lastSlotConsumer:u.xref};else if(u.kind===Ue.I18nEnd){for(const v of o)v.target=c.lastSlotConsumer,Pn.insertBefore(v,t);o.length=0,c=null}if(Fp(u))for(null!==c&&(c.lastSlotConsumer=u.xref);null!==t.next;){if(null!==c&&t.kind===Ue.I18nExpression&&t.usage===Nl.I18nText&&t.i18nOwner===c.blockXref){const k=t;t=t.next,Pn.remove(k),o.push(k);continue}let v=!1;if(Up(t)&&t.target!==u.xref?v=!0:(t.kind===Ue.Statement||t.kind===Ue.Variable)&&Vs(t,k=>{!v&&Up(k)&&k.target!==u.xref&&(v=!0)}),v)break;t=t.next}}}}},{kind:xi.Tmpl,fn:function o_(n){const e=new Map;for(const t of n.units)for(const o of t.create)o.kind===Ue.I18nContext&&e.set(o.xref,o);for(const t of n.units)for(const o of t.update)o.kind===Ue.I18nExpression&&Zb(e,o)&&Pn.insertAfter(Mv(o.i18nOwner,o.handle,null),o)}},{kind:xi.Tmpl,fn:function CS(n){const e=new Map;for(const t of n.units){let o=0;for(const c of t.create)Fp(c)&&(c.handle.slot=o,e.set(c.xref,c.handle.slot),o+=c.numSlotsUsed);t.decls=o}for(const t of n.units)for(const o of t.ops())if(o.kind===Ue.Template||o.kind===Ue.ConditionalCreate||o.kind===Ue.ConditionalBranchCreate||o.kind===Ue.RepeaterCreate){const c=n.views.get(o.xref);o.decls=c.decls}}},{kind:xi.Tmpl,fn:function $y(n){const e=new Map,t=new Map;for(const o of n.units)for(const c of o.create)switch(c.kind){case Ue.I18nContext:e.set(c.xref,c);break;case Ue.ElementStart:t.set(c.xref,c)}Za(n,n.root,e,t)}},{kind:xi.Tmpl,fn:function yS(n){const e=new Map,t=new Map,o=new Map;for(const v of n.units)for(const k of v.create)switch(k.kind){case Ue.I18nStart:e.set(k.xref,k.subTemplateIndex);break;case Ue.I18nContext:t.set(k.xref,k);break;case Ue.IcuPlaceholder:o.set(k.xref,k)}const c=new Map,u=v=>v.usage===Nl.I18nText?v.i18nOwner:v.context;for(const v of n.units)for(const k of v.update)if(k.kind===Ue.I18nExpression){const ae=c.get(u(k))||0;bS(k,{value:ae,subTemplateIndex:e.get(k.i18nOwner)??null,flags:To.ExpressionIndex},t,o),c.set(u(k),ae+1)}}},{kind:xi.Tmpl,fn:function d0(n){const e=new Map,t=new Map,o=new Map;for(const u of n.units)for(const v of u.create)switch(v.kind){case Ue.I18nContext:const k=p0(n,v);u.create.push(k),e.set(v.xref,k),o.set(v.xref,v);break;case Ue.I18nStart:t.set(v.xref,v)}let c=null;for(const u of n.units)for(const v of u.create)switch(v.kind){case Ue.IcuStart:c=v,Pn.remove(v);const k=o.get(v.context);if(k.contextKind!==Wu.Icu)continue;const ae=t.get(k.i18nBlock);if(ae.context===k.xref)continue;const me=t.get(ae.root),Ve=e.get(me.context);if(void 0===Ve)throw Error("AssertionError: ICU sub-message should belong to a root message.");const it=e.get(k.xref);it.messagePlaceholder=v.messagePlaceholder,Ve.subMessages.push(it.xref);break;case Ue.IcuEnd:c=null,Pn.remove(v);break;case Ue.IcuPlaceholder:if(null===c||null==c.context)throw Error("AssertionError: Unexpected ICU placeholder outside of i18n context");e.get(c.context).postprocessingParams.set(v.name,$t(of(v))),Pn.remove(v)}}},{kind:xi.Tmpl,fn:function M_(n){const e=n.relativeContextFilePath.replace(/[^A-Za-z0-9]/g,"_").toUpperCase()+"_",t=new Map,o=new Map,c=new Map,u=new Map;for(const ae of n.units)for(const me of ae.ops())if(me.kind===Ue.ExtractedAttribute&&null!==me.i18nContext){const Ve=t.get(me.i18nContext)??[];Ve.push(me),t.set(me.i18nContext,Ve)}else if(me.kind===Ue.I18nAttributes)o.set(me.target,me);else if(me.kind===Ue.I18nExpression&&me.usage===Nl.I18nAttribute){const Ve=c.get(me.target)??[];Ve.push(me),c.set(me.target,Ve)}else me.kind===Ue.I18nMessage&&u.set(me.xref,me);const v=new Map,k=new Map;for(const ae of n.units)for(const me of ae.create)if(me.kind===Ue.I18nMessage){if(null===me.messagePlaceholder){const{mainVar:Ve,statements:it}=L0(n,e,u,me);if(null!==me.i18nBlock){const Gt=n.addConst(Ve,it);k.set(me.i18nBlock,Gt)}else{n.constsInitializers.push(...it),v.set(me.i18nContext,Ve);const Gt=t.get(me.i18nContext);if(void 0!==Gt)for(const yn of Gt)yn.expression=Ve.clone()}}Pn.remove(me)}for(const ae of n.units)for(const me of ae.create)if(Ul(me)){const Ve=o.get(me.xref);if(void 0===Ve)continue;let it=c.get(me.xref);if(void 0===it)throw new Error("AssertionError: Could not find any i18n expressions associated with an I18nAttributes instruction");const Gt=new Set;it=it.filter(Un=>{const ai=Gt.has(Un.name);return Gt.add(Un.name),!ai});const yn=it.flatMap(Un=>{const ai=v.get(Un.context);if(void 0===ai)throw new Error("AssertionError: Could not find i18n expression's value");return[$t(Un.name),ai]});Ve.i18nAttributesConfig=n.addConst(new pn(yn))}for(const ae of n.units)for(const me of ae.create)if(me.kind===Ue.I18nStart){const Ve=k.get(me.root);if(void 0===Ve)throw new Error("AssertionError: Could not find corresponding i18n block index for an i18n message op; was an i18n message incorrectly assumed to correspond to an attribute?");me.messageIndex=Ve}}},{kind:xi.Tmpl,fn:function H_(n){const e=new Map;for(const t of n.units)for(const o of t.ops())if(o.kind===Ue.ElementStart||o.kind===Ue.Template){let c=o.tag??"";switch(o.namespace){case Ws.SVG:c=`:${yr}:${c}`;break;case Ws.Math:c=`:${Hr}:${c}`}e.set(o.xref,c)}for(const t of n.units)for(const o of t.create)if(o.kind===Ue.ExtractedAttribute&&null!==o.i18nContext&&null!==o.expression){const c=e.get(o.target)??"";let u=o.expression;switch(o.securityContext){case b.HTML:u=Nn(yt.sanitizeHtml).callFn([u]);break;case b.STYLE:u=Nn(yt.sanitizeStyle).callFn([u]);break;case b.SCRIPT:u=Nn(yt.sanitizeScript).callFn([u]);break;case b.URL:u=Nn(yt.sanitizeUrl).callFn([u]);break;case b.RESOURCE_URL:u=Nn(yt.sanitizeResourceUrl).callFn([u]);break;case b.ATTRIBUTE_NO_BINDING:u=Nn(yt.validateAttribute).callFn([u,$t(c),$t(o.name)])}o.expression=u}}},{kind:xi.Tmpl,fn:function m0(n){for(const e of n.units)for(const t of e.ops())Ss(t,o=>o instanceof gd?$t(n.addConst(o.expr)):o,Ur.None)}},{kind:xi.Both,fn:function c_(n){const e=new Map;for(const t of n.units)for(const o of t.create)if(o.kind===Ue.ExtractedAttribute){const c=e.get(o.target)||new Jh;e.set(o.target,c),c.add(o.bindingKind,o.name,o.expression,o.namespace,o.trustedValueFn),Pn.remove(o)}if(n instanceof Su)for(const t of n.units)for(const o of t.create)if(o.kind==Ue.Projection){const c=e.get(o.xref);if(void 0!==c){const u=tf(c);u.entries.length>0&&(o.attributes=n.pool.getConstLiteral(u,!0))}}else Ul(o)&&(o.attributes=l_(n,e,o.xref),o.kind===Ue.RepeaterCreate&&null!==o.emptyView&&(o.emptyAttributes=l_(n,e,o.emptyView)));else if(n instanceof vm)for(const[t,o]of e.entries()){if(t!==n.root.xref)throw new Error("An attribute would be const collected into the host binding's template function, but is not associated with the root xref.");const c=tf(o);c.entries.length>0&&(n.root.attributes=c)}}},{kind:xi.Tmpl,fn:function gE(n){for(const e of n.units)for(const t of e.create)switch(t.kind){case Ue.I18nContext:Pn.remove(t);break;case Ue.I18nStart:t.context=null}}},{kind:xi.Both,fn:function PS(n){for(const e of n.units){let t=0;for(const u of e.ops())Xg(u)&&(t+=RS(u));const o=u=>{Bl(u)&&(u instanceof Eu||(bu(u)&&(u.varOffset=t),Xg(u)&&(t+=TE(u))))},c=u=>{!Bl(u)||!(u instanceof Eu)||(bu(u)&&(u.varOffset=t),Xg(u)&&(t+=TE(u)))};for(const u of e.create)Vs(u,o);for(const u of e.update)Vs(u,o);for(const u of e.create)Vs(u,c);for(const u of e.update)Vs(u,c);e.vars=t}if(n instanceof Su)for(const e of n.units)for(const t of e.create){if(t.kind!==Ue.Template&&t.kind!==Ue.RepeaterCreate&&t.kind!==Ue.ConditionalCreate&&t.kind!==Ue.ConditionalBranchCreate)continue;const o=n.views.get(t.xref);t.vars=o.vars}}},{kind:xi.Tmpl,fn:function Tm(n){for(const e of n.units){const t=new Map;for(const c of e.create)if(Fp(c)){if(null===c.handle.slot)throw new Error("AssertionError: expected slots to have been allocated before generating advance() calls");t.set(c.xref,c.handle.slot)}let o=0;for(const c of e.update){let u=null;if(Up(c)?u=c:Vs(c,k=>{null===u&&Up(k)&&(u=k)}),null===u)continue;if(!t.has(u.target))throw new Error(`AssertionError: reference to unknown slot for target ${u.target}`);const v=t.get(u.target);if(o!==v){const k=v-o;if(k<0)throw new Error("AssertionError: slot counter should never need to move backwards");Pn.insertBefore($b(k,u.sourceSpan),c),o=v}}}}},{kind:xi.Both,fn:function U0(n){ch(n.root,n.componentName,{index:0})}},{kind:xi.Tmpl,fn:function vS(n){for(const e of n.units)for(const t of e.create)if(t.kind===Ue.Defer){if(null!==t.resolverFn)continue;if(null!==t.ownResolverFn){if(null===t.handle.slot)throw new Error("AssertionError: slot must be assigned before extracting defer deps functions");const o=e.fnName?.replace("_Template","");t.resolverFn=n.pool.getSharedFunctionReference(t.ownResolverFn,`${o}_Defer_${t.handle.slot}_DepsFn`,!1)}}}},{kind:xi.Tmpl,fn:function V0(n){for(const e of n.units){for(const t of e.functions)$l(t.ops);for(const t of e.create)(t.kind===Ue.Listener||t.kind===Ue.Animation||t.kind===Ue.AnimationListener||t.kind===Ue.TwoWayListener)&&$l(t.handlerOps);$l(e.create),$l(e.update)}}},{kind:xi.Tmpl,fn:function jx(n){for(const e of n.units){const t=new Set;for(const o of e.create)o.kind===Ue.ElementStart&&"ng-container"===o.tag&&(o.kind=Ue.ContainerStart,t.add(o.xref)),o.kind===Ue.ElementEnd&&t.has(o.xref)&&(o.kind=Ue.ContainerEnd)}}},{kind:xi.Tmpl,fn:function gl(n){for(const e of n.units)for(const t of e.create){const o=Gv.get(t.kind);if(void 0===o)continue;const[c,u]=o;let v=t.prev;for(;null!==v&&wm.has(v.kind);)v=v.prev;null!==v&&v.kind===c&&(v.kind=u,Pn.remove(t))}}},{kind:xi.Tmpl,fn:function e0(n){if(n.enableDebugLocations&&null!==n.relativeTemplatePath)for(const e of n.units){const t=[];for(const o of e.create)if(o.kind===Ue.ElementStart||o.kind===Ue.Element){const c=o.startSourceSpan.start;t.push({targetSlot:o.handle,offset:c.offset,line:c.line,column:c.col})}t.length>0&&e.create.push(_m(n.relativeTemplatePath,t))}}},{kind:xi.Tmpl,fn:function yy(n){const e=new Map;for(const t of n.units)for(const o of t.create)Ul(o)&&e.set(o.xref,o);for(const t of n.units)for(const o of t.create)(o.kind===Ue.ElementStart||o.kind===Ue.ContainerStart)&&o.nonBindable&&Pn.insertAfter(Ov(o.xref),o),(o.kind===Ue.ElementEnd||o.kind===Ue.ContainerEnd)&&O_(e,o.xref).nonBindable&&Pn.insertBefore(hm(o.xref),o)}},{kind:xi.Both,fn:function Dy(n){for(const e of n.units)for(const t of e.ops())Vs(t,o=>{if(!(o instanceof Eu)||null===o.body)return;const c=new R_(o.args.length);o.fn=n.pool.getSharedConstant(c,o.body),o.body=null})}},{kind:xi.Both,fn:function nD(n){for(const e of n.units)gS(e,e.create),wf(e,e.update)}},{kind:xi.Both,fn:function $v(n){for(const e of n.units)a_(e.create),a_(e.update)}}];function OE(n,e){for(const t of AE)(t.kind===e||t.kind===xi.Both)&&t.fn(n)}function PE(n,e){const t=K_(n.root);return Sh(n.root,e),t}function Sh(n,e){for(const t of n.job.units){if(t.parent!==n.xref)continue;Sh(t,e);const o=K_(t);e.statements.push(o.toDeclStmt(o.name))}}function K_(n){if(null===n.fnName)throw new Error(`AssertionError: view ${n.xref} is unnamed`);const e=[];for(const u of n.create){if(u.kind!==Ue.Statement)throw new Error(`AssertionError: expected all create ops to have been compiled, but got ${Ue[u.kind]}`);e.push(u.statement)}const t=[];for(const u of n.update){if(u.kind!==Ue.Statement)throw new Error(`AssertionError: expected all update ops to have been compiled, but got ${Ue[u.kind]}`);t.push(u.statement)}const o=lg(1,e),c=lg(2,t);return Er([new Qi(Al,ln),new Qi(la,Y)],[...o,...c],void 0,void 0,n.fnName)}function lg(n,e){return 0===e.length?[]:[oo(new Bt(lt.BitwiseAnd,Xn(Al),$t(n)),e)]}const X_="animate",qy="animate-";class US{_exprParser;_schemaRegistry;errors;constructor(e,t,o){this._exprParser=e,this._schemaRegistry=t,this.errors=o}createBoundHostProperties(e,t){const o=[];for(const c of Object.keys(e)){const u=e[c];"string"==typeof u?this.parsePropertyBinding(c,u,!0,!1,t,t.start.offset,void 0,[],o,t):this._reportError(`Value of the host property binding "${c}" needs to be a string representing an expression but got "${u}" (${typeof u})`,t)}return o}createDirectiveHostEventAsts(e,t){const o=[];for(const c of Object.keys(e)){const u=e[c];"string"==typeof u?this.parseEvent(c,u,!1,t,t,[],o,t):this._reportError(`Value of the host listener "${c}" needs to be a string representing an expression but got "${u}" (${typeof u})`,t)}return o}parseInterpolation(e,t,o){const c=t.fullStart.offset;try{const u=this._exprParser.parseInterpolation(e,t,c,o);return u&&this.errors.push(...u.errors),u}catch(u){return this._reportError(`${u}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",t,c)}}parseInterpolationExpression(e,t){const o=t.start.offset;try{const c=this._exprParser.parseInterpolationExpression(e,t,o);return c&&this.errors.push(...c.errors),c}catch(c){return this._reportError(`${c}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",t,o)}}parseInlineTemplateBinding(e,t,o,c,u,v,k,ae){const me=o.start.offset+1,Ve=this._parseTemplateBindings(e,t,o,me,c);for(const it of Ve){const Gt=xh(o,it.sourceSpan),yn=it.key.source,Un=xh(o,it.key.span);if(it instanceof Xt){const ai=it.value?it.value.source:"$implicit",_i=it.value?xh(o,it.value.span):void 0;k.push(new ka(yn,ai,Gt,Un,_i))}else if(it.value){const ai=ae?Gt:o,_i=xh(o,it.value.ast.sourceSpan);this._parsePropertyAst(yn,it.value,!1,ai,Un,_i,u,v)}else u.push([yn,""]),this.parseLiteralAttr(yn,null,Un,c,void 0,u,v,Un)}}_parseTemplateBindings(e,t,o,c,u){try{const v=this._exprParser.parseTemplateBindings(e,t,o,c,u);return v.errors.forEach(k=>this.errors.push(k)),v.warnings.forEach(k=>{this._reportError(k,o,Pc.WARNING)}),v.templateBindings}catch(v){return this._reportError(`${v}`,o),[]}}parseLiteralAttr(e,t,o,c,u,v,k,ae){Yy(e)?(e=e.substring(1),void 0!==ae&&(ae=xh(ae,new Ge(ae.start.offset+1,ae.end.offset))),t&&this._reportError('Assigning animation triggers via @prop="exp" attributes with an expression is invalid. Use property bindings (e.g. [@prop]="exp") or use an attribute without a value (e.g. @prop) instead.',o,Pc.ERROR),this._parseLegacyAnimation(e,t,o,c,ae,u,v,k)):k.push(new Ri(e,this._exprParser.wrapLiteralPrimitive(t,"",c),er.LITERAL_ATTR,o,ae,u))}parsePropertyBinding(e,t,o,c,u,v,k,ae,me,Ve){0===e.length&&this._reportError("Property name is missing in binding",u);let it=!1;e.startsWith(qy)?(it=!0,e=e.substring(8),void 0!==Ve&&(Ve=xh(Ve,new Ge(Ve.start.offset+8,Ve.end.offset)))):Yy(e)&&(it=!0,e=e.substring(1),void 0!==Ve&&(Ve=xh(Ve,new Ge(Ve.start.offset+1,Ve.end.offset)))),it?this._parseLegacyAnimation(e,t,u,v,Ve,k,ae,me):e.startsWith(`${X_}.`)?this._parseAnimation(e,this.parseBinding(t,o,k||u,v),u,Ve,k,ae,me):this._parsePropertyAst(e,this.parseBinding(t,o,k||u,v),c,u,Ve,k,ae,me)}parsePropertyInterpolation(e,t,o,c,u,v,k,ae){const me=this.parseInterpolation(t,c||o,ae);return!!me&&(this._parsePropertyAst(e,me,!1,o,k,c,u,v),!0)}_parsePropertyAst(e,t,o,c,u,v,k,ae){k.push([e,t.source]),ae.push(new Ri(e,t,o?er.TWO_WAY:er.DEFAULT,c,u,v))}_parseAnimation(e,t,o,c,u,v,k){v.push([e,t.source]),k.push(new Ri(e,t,er.ANIMATION,o,c,u))}_parseLegacyAnimation(e,t,o,c,u,v,k,ae){0===e.length&&this._reportError("Animation trigger is missing",o);const me=this.parseBinding(t||"undefined",!1,v||o,c);k.push([e,me.source]),ae.push(new Ri(e,me,er.LEGACY_ANIMATION,o,u,v))}parseBinding(e,t,o,c){try{const u=t?this._exprParser.parseSimpleBinding(e,o,c):this._exprParser.parseBinding(e,o,c);return u&&this.errors.push(...u.errors),u}catch(u){return this._reportError(`${u}`,o),this._exprParser.wrapLiteralPrimitive("ERROR",o,c)}}createBoundElementProperty(e,t,o=!1,c=!0){if(t.isLegacyAnimation)return new Kc(t.name,ji.LegacyAnimation,b.NONE,t.expression,null,t.sourceSpan,t.keySpan,t.valueSpan);let v,u=null,k=null;const ae=t.name.split(".");let me;if(ae.length>1)if("attr"==ae[0]){k=ae.slice(1).join("."),o||this._validatePropertyOrAttributeName(k,t.sourceSpan,!0),me=kf(this._schemaRegistry,e,k,!0);const Ve=k.indexOf(":");if(Ve>-1){const it=k.substring(0,Ve),Gt=k.substring(Ve+1);k=Ts(it,Gt)}v=ji.Attribute}else if("class"==ae[0])k=ae[1],v=ji.Class,me=[b.NONE];else if("style"==ae[0]){u=ae.length>2?ae[2]:null;const Ve=ae[1];if(Ve.startsWith("--"))try{k=hs(Ve)}catch(it){this._reportError(it.message,t.sourceSpan)}else k=Ve;v=ji.Style,me=[b.STYLE]}else ae[0]==X_&&(k=t.name,v=ji.Animation,me=[b.NONE]);if(null===k){const Ve=this._schemaRegistry.getMappedPropName(t.name);k=c?Ve:t.name,me=kf(this._schemaRegistry,e,Ve,!1),v=t.type===er.TWO_WAY?ji.TwoWay:ji.Property,o||this._validatePropertyOrAttributeName(Ve,t.sourceSpan,!1)}return new Kc(k,v,me[0],t.expression,u,t.sourceSpan,t.keySpan,t.valueSpan)}parseEvent(e,t,o,c,u,v,k,ae){0===e.length&&this._reportError("Event name is missing in binding",c),Yy(e)?(e=e.slice(1),void 0!==ae&&(ae=xh(ae,new Ge(ae.start.offset+1,ae.end.offset))),this._parseLegacyAnimationEvent(e,t,c,u,k,ae)):this._parseRegularEvent(e,t,o,c,u,v,k,ae)}calcPossibleSecurityContexts(e,t,o){const c=this._schemaRegistry.getMappedPropName(t);return kf(this._schemaRegistry,e,c,o)}parseEventListenerName(e){const[t,o]=function bo(n,e){return ns(n,":",e)}(e,[null,e]);return{eventName:o,target:t}}parseLegacyAnimationEventName(e){const t=function ra(n,e){return ns(n,".",e)}(e,[e,null]);return{eventName:t[0],phase:null===t[1]?null:t[1].toLowerCase()}}_parseLegacyAnimationEvent(e,t,o,c,u,v){const{eventName:k,phase:ae}=this.parseLegacyAnimationEventName(e),me=this._parseAction(t,c);u.push(new Oo(k,ae,Zi.LegacyAnimation,me,o,c,v)),0===k.length&&this._reportError("Animation event name is missing in binding",o),ae?"start"!==ae&&"done"!==ae&&this._reportError(`The provided animation output phase value "${ae}" for "@${k}" is not supported (use start or done)`,o):this._reportError(`The animation trigger output event (@${k}) is missing its phase value name (start or done are currently supported)`,o)}_parseRegularEvent(e,t,o,c,u,v,k,ae){const{eventName:me,target:Ve}=this.parseEventListenerName(e),it=this.errors.length,Gt=this._parseAction(t,u),yn=this.errors.length===it;v.push([e,Gt.source]),o&&yn&&!this._isAllowedAssignmentEvent(Gt)&&this._reportError("Unsupported expression in a two-way binding",c);let Un=Zi.Regular;o&&(Un=Zi.TwoWay),e.startsWith(`${X_}.`)&&(Un=Zi.Animation),k.push(new Oo(me,Ve,Un,Gt,c,u,ae))}_parseAction(e,t){const o=t&&t.start?t.start.offset:0;try{const c=this._exprParser.parseAction(e,t,o);return c&&this.errors.push(...c.errors),!c||c.ast instanceof On?(this._reportError("Empty expressions are not allowed",t),this._exprParser.wrapLiteralPrimitive("ERROR",t,o)):c}catch(c){return this._reportError(`${c}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",t,o)}}_reportError(e,t,o=Pc.ERROR){this.errors.push(new Vi(t,e,o))}_validatePropertyOrAttributeName(e,t,o){const c=o?this._schemaRegistry.validateAttribute(e):this._schemaRegistry.validateProperty(e);c.error&&this._reportError(c.msg,t,Pc.ERROR)}_isAllowedAssignmentEvent(e){return e instanceof At?this._isAllowedAssignmentEvent(e.ast):e instanceof Rn?this._isAllowedAssignmentEvent(e.expression):e instanceof bi&&1===e.args.length&&e.receiver instanceof A&&"$any"===e.receiver.name&&e.receiver.receiver instanceof hi?this._isAllowedAssignmentEvent(e.args[0]):(e instanceof A||e instanceof dt)&&!pp(e)}}function pp(n){return n instanceof Se||n instanceof En||(n instanceof go?pp(n.expression):(n instanceof A||n instanceof dt||n instanceof bi)&&pp(n.receiver))}function Yy(n){return"@"==n[0]}function kf(n,e,t,o){let c;const[u,v]=e?ko(e,!1):[null,e],k=me=>{const[Ve,it]=ko(me,!1),Gt=Ve??u,yn=Gt?`:${Gt}:${it}`:it;return n.securityContext(yn,t,o)},ae=n.allKnownElementNames();return null===v?c=ae.map(k):(c=[],s.parse(v).forEach(me=>{let Ve=me.element?[me.element]:ae;if(me.element&&!n.hasElement(me.element,[])){const yn=`:${yr}:${me.element}`,Un=`:${Hr}:${me.element}`;n.hasElement(yn,[])?Ve=[yn]:n.hasElement(Un,[])&&(Ve=[Un])}const it=new Set(me.notSelectors.filter(yn=>yn.isElementSelector()).map(yn=>yn.element?.toLowerCase())),Gt=Ve.filter(yn=>{const Un=yn.toLowerCase();return!it.has(Un)&&!it.has(ko(Un)[1])});c.push(...Gt.map(k))})),0===c.length?[b.NONE]:Array.from(new Set(c)).sort()}function xh(n,e){const t=e.start-n.start.offset,o=e.end-n.end.offset;return new mr(n.start.moveBy(t),n.end.moveBy(o),n.fullStart.moveBy(t),n.details)}const Md=new Gu,If="ng-template";function dg(n){return n instanceof Zs}function Dh(n,e,t,o){const c=n.calcPossibleSecurityContexts(e,t,o),u=kf(Md,null,Md.getMappedPropName(t),o),v=u.filter(me=>me!==b.NONE),k=v.length;return k!==u.length&&k>0||v.some(me=>!c.includes(me))?u:c.filter(me=>me!==b.NONE)}function WS(n,e,t,o){let c;const u=e.expression.ast;c=u instanceof Lo?new ms(u.strings,u.expressions.map(v=>kr(v,n,e.sourceSpan)),[]):kr(u,n,e.sourceSpan),n.root.update.push(hd(n.root.xref,t,e.name,c,null,o,!1,!1,null,null,e.sourceSpan))}function tb(n,e,t,o){const c=hd(n.root.xref,zi.Attribute,e,t,null,o,!0,!1,null,null,t.sourceSpan);n.root.update.push(c)}function NE(n,e){let t;if(e.type===Zi.Animation)t=Rv(n.root.xref,new Dc,e.name,null,gg(n.root,e.handler,e.handlerSpan),e.name.endsWith("enter")?"enter":"leave",e.targetOrPhase,!0,e.sourceSpan);else{const[o,c]=e.type!==Zi.LegacyAnimation?[null,e.targetOrPhase]:[e.targetOrPhase,null];t=Zh(n.root.xref,new Dc,e.name,null,gg(n.root,e.handler,e.handlerSpan),o,c,!0,e.sourceSpan)}n.root.create.push(t)}function Tu(n,e){for(const t of e)if(t instanceof io)pg(n,t);else if(t instanceof Ci)LE(n,t);else if(t instanceof Sr)fp(n,t);else if(t instanceof Ys)BE(n,t,null);else if(t instanceof aa)VS(n,t,null);else if(t instanceof Ye)Q_(n,t);else if(t instanceof ks)FE(n,t);else if(t instanceof bc)q_(n,t);else if(t instanceof Ia)WE(n,t);else if(t instanceof ne)VE(n,t);else if(t instanceof Wt)$E(n,t);else if(!(t instanceof Vn))throw new Error(`Unsupported template node: ${t.constructor.name}`)}function pg(n,e){if(void 0!==e.i18n&&!(e.i18n instanceof Zs||e.i18n instanceof Ec))throw Error(`Unhandled i18n metadata type for element: ${e.i18n.constructor.name}`);const t=n.job.allocateXrefId(),o=n.job.getForeignComponent(e);if(o)return void function hp(n,e,t,o){const c=new Map;for(const ae of t.attributes)c.set(ae.name,$t(ae.value));for(const ae of t.inputs)c.set(ae.name,kr(ae.value,n.job,ae.sourceSpan));const u=[],v=[];for(const ae of t.children)ae instanceof ic?u.push(ae):v.push(ae);for(const ae of u){const me=n.job.allocateView(n.xref);for(let Ve=0;Ve<ae.variables.length;Ve++)me.contextVariables.set(ae.variables[Ve].name,Ve);Tu(me,ae.children),n.create.push(Gp(e,me.xref,ae.name,ae.startSourceSpan,ae.sourceSpan))}if(v.length>0){const ae=n.job.allocateView(n.xref);Tu(ae,v),n.create.push(Gp(e,ae.xref,"children",t.startSourceSpan,t.sourceSpan))}const k=n.job.addConst(o.component);n.create.push(function Zg(n,e,t,o){return{kind:Ue.ForeignComponent,xref:n,handle:new Dc,constIndex:e,props:t,sourceSpan:o,...hl,...dr}}(e,k,c,t.startSourceSpan))}(n,t,e,o);const[c,u]=ko(e.name),v=function Hb(n,e,t,o,c,u){return{kind:Ue.ElementStart,xref:e,tag:n,handle:new Dc,attributes:null,localRefs:[],nonBindable:!1,namespace:t,i18nPlaceholder:o,startSourceSpan:c,wholeSourceSpan:u,...hl,...dr}}(u,t,uc(c),e.i18n instanceof Ec?e.i18n:void 0,e.startSourceSpan,e.sourceSpan);n.create.push(v),function fg(n,e,t){let o=new Array,c=new Set;for(const u of t.attributes){const[v,k]=ko(t.name);let ae=v;if(!v)switch(e.namespace){case Ws.SVG:ae=yr;break;case Ws.Math:ae=Hr}const me=Md.securityContext(ae?`:${ae}:${k}`:k,u.name,!0);o.push(hd(e.xref,zi.Attribute,u.name,Of(n.job,u.value,u.i18n),null,me,!0,!1,null,Yu(u.i18n),u.sourceSpan)),u.i18n&&c.add(u.name)}for(const u of t.inputs)c.has(u.name)&&console.error(`On component ${n.job.componentName}, the binding ${u.name} is both an i18n attribute and a property. You may want to remove the property binding. This will become a compilation error in future versions of Angular.`),o.push(hd(e.xref,Z_.get(u.type),u.name,Of(n.job,mp(u.value),u.i18n),u.unit,u.securityContext,!1,!1,null,Yu(u.i18n)??null,u.sourceSpan));n.create.push(o.filter(u=>u?.kind===Ue.ExtractedAttribute)),n.update.push(o.filter(u=>u?.kind===Ue.Binding));for(const u of t.outputs){if(u.type===Zi.LegacyAnimation&&null===u.phase)throw Error("Animation listener should have a phase");u.type===Zi.TwoWay?n.create.push(Kb(e.xref,e.handle,u.name,e.tag,jE(n,u.handler,u.handlerSpan),u.sourceSpan)):u.type===Zi.Animation?n.create.push(Rv(e.xref,e.handle,u.name,e.tag,gg(n,u.handler,u.handlerSpan),u.name.endsWith("enter")?"enter":"leave",u.target,!1,u.sourceSpan)):n.create.push(Zh(e.xref,e.handle,u.name,e.tag,gg(n,u.handler,u.handlerSpan),u.phase,u.target,!1,u.sourceSpan))}null!==o.some(u=>u?.i18nMessage)&&n.create.push(gm(n.job.allocateXrefId(),new Dc,e.xref))}(n,v,e),rb(v,e);let k=null;e.i18n instanceof Zs&&(k=n.job.allocateXrefId(),n.create.push(fm(k,e.i18n,void 0,e.startSourceSpan))),Tu(n,e.children);const ae=function Qd(n,e){return{kind:Ue.ElementEnd,xref:n,sourceSpan:e,...dr}}(t,e.endSourceSpan??e.startSourceSpan);n.create.push(ae),null!==k&&Pn.insertBefore(Yd(k,e.endSourceSpan??e.startSourceSpan),ae)}function LE(n,e){if(void 0!==e.i18n&&!(e.i18n instanceof Zs||e.i18n instanceof Ec))throw Error(`Unhandled i18n metadata type for template: ${e.i18n.constructor.name}`);const t=n.job.allocateView(n.xref);let o=e.tagName,c="";e.tagName&&([c,o]=ko(e.tagName));const u=e.i18n instanceof Ec?e.i18n:void 0,v=uc(c),k=null===o?"":r0(o,v),ae=function nb(n){return ko(n.tagName??"")[1]===If}(e)?Yo.NgTemplate:Yo.Structural,me=Xp(t.xref,ae,o,k,v,u,e.startSourceSpan,e.sourceSpan);n.create.push(me),function ib(n,e,t,o){let c=new Array;for(const u of t.templateAttrs)if(u instanceof ol){const v=Md.securityContext(If,u.name,!0);c.push(mg(n,e.xref,ji.Attribute,u.name,u.value,null,v,!0,o,Yu(u.i18n),u.sourceSpan))}else c.push(mg(n,e.xref,u.type,u.name,mp(u.value),u.unit,u.securityContext,!0,o,Yu(u.i18n),u.sourceSpan));for(const u of t.attributes){const v=Md.securityContext(If,u.name,!0);c.push(mg(n,e.xref,ji.Attribute,u.name,u.value,null,v,!1,o,Yu(u.i18n),u.sourceSpan))}for(const u of t.inputs)c.push(mg(n,e.xref,u.type,u.name,mp(u.value),u.unit,u.securityContext,!1,o,Yu(u.i18n),u.sourceSpan));n.create.push(c.filter(u=>u?.kind===Ue.ExtractedAttribute)),n.update.push(c.filter(u=>u?.kind===Ue.Binding));for(const u of t.outputs){if(u.type===Zi.LegacyAnimation&&null===u.phase)throw Error("Animation listener should have a phase");if(o===Yo.NgTemplate&&(u.type===Zi.TwoWay?n.create.push(Kb(e.xref,e.handle,u.name,e.tag,jE(n,u.handler,u.handlerSpan),u.sourceSpan)):n.create.push(Zh(e.xref,e.handle,u.name,e.tag,gg(n,u.handler,u.handlerSpan),u.phase,u.target,!1,u.sourceSpan))),o===Yo.Structural&&u.type!==Zi.LegacyAnimation){const v=Md.securityContext(If,u.name,!1);n.create.push(nu(e.xref,zi.Property,null,u.name,null,null,null,v))}}null!==c.some(u=>u?.i18nMessage)&&n.create.push(gm(n.job.allocateXrefId(),new Dc,e.xref))}(n,me,e,ae),rb(me,e),Tu(t,e.children);for(const{name:Ve,value:it}of e.variables)t.contextVariables.set(Ve,""!==it?it:"$implicit");if(ae===Yo.NgTemplate&&e.i18n instanceof Zs){const Ve=n.job.allocateXrefId();Pn.insertAfter(fm(Ve,e.i18n,void 0,e.startSourceSpan),t.create.head),Pn.insertBefore(Yd(Ve,e.endSourceSpan??e.startSourceSpan),t.create.tail)}}function fp(n,e){if(void 0!==e.i18n&&!(e.i18n instanceof Ec))throw Error(`Unhandled i18n metadata type for element: ${e.i18n.constructor.name}`);let t=null;e.children.some(u=>!(u instanceof ba||u instanceof Ys&&!(u.value.trim().length>0)))&&(t=n.job.allocateView(n.xref),Tu(t,e.children));const c=function Lv(n,e,t,o,c){return{kind:Ue.Projection,xref:n,handle:new Dc,selector:e,i18nPlaceholder:t,fallbackView:o,projectionSlotIndex:0,attributes:null,localRefs:[],sourceSpan:c,...dr,...hl,numSlotsUsed:null===o?1:2}}(n.job.allocateXrefId(),e.selector,e.i18n,t?.xref??null,e.sourceSpan);for(const u of e.attributes){const v=Md.securityContext(e.name,u.name,!0);n.update.push(hd(c.xref,zi.Attribute,u.name,$t(u.value),null,v,!0,!1,null,Yu(u.i18n),u.sourceSpan))}n.create.push(c)}function BE(n,e,t){n.create.push(qd(n.job.allocateXrefId(),e.value,t,e.sourceSpan))}function VS(n,e,t){let o=e.value;if(o instanceof At&&(o=o.ast),!(o instanceof Lo))throw new Error(`AssertionError: expected Interpolation for BoundText node, got ${o.constructor.name}`);if(void 0!==e.i18n&&!(e.i18n instanceof ws))throw Error(`Unhandled i18n metadata type for text interpolation: ${e.i18n?.constructor.name}`);const c=e.i18n instanceof ws?e.i18n.children.filter(v=>v instanceof Xc).map(v=>v.name):[];if(c.length>0&&c.length!==o.expressions.length)throw Error(`Unexpected number of i18n placeholders (${o.expressions.length}) for BoundText with ${o.expressions.length} expressions`);const u=n.job.allocateXrefId();n.create.push(qd(u,"",t,e.sourceSpan)),n.update.push(function Kh(n,e,t){return{kind:Ue.InterpolateText,target:n,interpolation:e,sourceSpan:t,...Bc,...Fc,...dr}}(u,new ms(o.strings,o.expressions.map(v=>kr(v,n.job,null)),c),e.sourceSpan))}function Q_(n,e){let t=null,o=[];for(let c=0;c<e.branches.length;c++){const u=e.branches[c],v=n.job.allocateView(n.xref),k=_g(n,v.xref,u);let ae;if(null!==u.expressionAlias&&v.contextVariables.set(u.expressionAlias.name,r_),void 0!==u.i18n){if(!(u.i18n instanceof Qc))throw Error(`Unhandled i18n metadata type for if block: ${u.i18n?.constructor.name}`);ae=u.i18n}const Ve=(0===c?Jg:e_)(v.xref,Yo.Block,k,"Conditional",Ws.HTML,ae,u.startSourceSpan,u.sourceSpan);n.create.push(Ve),null===t&&(t=v.xref);const it=u.expression?kr(u.expression,n.job,null):null,Gt=new zp(it,Ve.xref,Ve.handle,u.expressionAlias);o.push(Gt),Tu(v,u.children)}n.update.push(qg(t,null,o,e.sourceSpan))}function FE(n,e){if(0===e.groups.length)return;let t=null,o=[];for(let c=0;c<e.groups.length;c++){const u=e.groups[c],v=n.job.allocateView(n.xref),k=_g(n,v.xref,u);let ae;if(void 0!==u.i18n){if(!(u.i18n instanceof Qc))throw Error(`Unhandled i18n metadata type for switch block: ${u.i18n?.constructor.name}`);ae=u.i18n}const Ve=(0===c?Jg:e_)(v.xref,Yo.Block,k,"Case",Ws.HTML,ae,u.startSourceSpan,u.sourceSpan);n.create.push(Ve),null===t&&(t=v.xref);for(const it of u.cases){const Gt=it.expression?kr(it.expression,n.job,e.startSourceSpan):null,yn=new zp(Gt,Ve.xref,Ve.handle);o.push(yn)}Tu(v,u.children)}n.update.push(qg(t,kr(e.expression,n.job,null),o,e.sourceSpan))}function Af(n,e,t,o,c){if(void 0!==t&&!(t instanceof Qc))throw Error("Unhandled i18n metadata type for defer block");if(void 0===o)return null;const u=n.job.allocateView(n.xref);Tu(u,o);const v=Xp(u.xref,Yo.Block,null,`Defer${e}`,Ws.HTML,t,c,c);return n.create.push(v),v}function q_(n,e){let t=null;if(0===n.job.deferMeta.mode){if(!n.job.deferMeta.blocks.has(e))throw new Error("AssertionError: unable to find a dependency function for this deferred block");t=n.job.deferMeta.blocks.get(e)??null}const o=Af(n,"",e.i18n,e.children,e.sourceSpan),c=Af(n,"Loading",e.loading?.i18n,e.loading?.children,e.loading?.sourceSpan),u=Af(n,"Placeholder",e.placeholder?.i18n,e.placeholder?.children,e.placeholder?.sourceSpan),v=Af(n,"Error",e.error?.i18n,e.error?.children,e.error?.sourceSpan),k=n.job.allocateXrefId(),ae=function Xb(n,e,t,o,c,u){return{kind:Ue.Defer,xref:n,handle:new Dc,mainView:e,mainSlot:t,loadingView:null,loadingSlot:null,loadingConfig:null,loadingMinimumTime:null,loadingAfterTime:null,placeholderView:null,placeholderSlot:null,placeholderConfig:null,placeholderMinimumTime:null,errorView:null,errorSlot:null,ownResolverFn:o,resolverFn:c,flags:null,sourceSpan:u,...dr,...hl,numSlotsUsed:2}}(k,o.xref,o.handle,t,n.job.allDeferrableDepsFn,e.sourceSpan);ae.placeholderView=u?.xref??null,ae.placeholderSlot=u?.handle??null,ae.loadingSlot=c?.handle??null,ae.errorSlot=v?.handle??null,ae.placeholderMinimumTime=e.placeholder?.minimumTime??null,ae.loadingMinimumTime=e.loading?.minimumTime??null,ae.loadingAfterTime=e.loading?.afterTime??null,ae.flags=function UE(n){return Object.keys(n.hydrateTriggers).length>0?1:null}(e),n.create.push(ae);const me=[],Ve=[];Y_("hydrate",e.hydrateTriggers,me,Ve,n,k),Y_("none",e.triggers,me,Ve,n,k),Y_("prefetch",e.prefetchTriggers,me,Ve,n,k),me.some(Gt=>"none"===Gt.modifier)||Ve.some(Gt=>"none"===Gt.modifier)||me.push(_d(k,{kind:No.Idle,timeout:null},"none",null)),n.create.push(me),n.update.push(Ve)}function Y_(n,e,t,o,c,u){if(void 0!==e.idle){const v=_d(u,{kind:No.Idle,timeout:e.idle.timeout??null},n,e.idle.sourceSpan);t.push(v)}if(void 0!==e.immediate){const v=_d(u,{kind:No.Immediate},n,e.immediate.sourceSpan);t.push(v)}if(void 0!==e.timer){const v=_d(u,{kind:No.Timer,delay:e.timer.delay},n,e.timer.sourceSpan);t.push(v)}if(void 0!==e.hover){const v=_d(u,{kind:No.Hover,targetName:e.hover.reference,targetXref:null,targetSlot:null,targetView:null,targetSlotViewSteps:null},n,e.hover.sourceSpan);t.push(v)}if(void 0!==e.interaction){const v=_d(u,{kind:No.Interaction,targetName:e.interaction.reference,targetXref:null,targetSlot:null,targetView:null,targetSlotViewSteps:null},n,e.interaction.sourceSpan);t.push(v)}if(void 0!==e.viewport){const v=_d(u,{kind:No.Viewport,targetName:e.viewport.reference,targetXref:null,targetSlot:null,targetView:null,targetSlotViewSteps:null,options:e.viewport.options?kr(e.viewport.options,c.job,e.viewport.sourceSpan):null},n,e.viewport.sourceSpan);t.push(v)}if(void 0!==e.never){const v=_d(u,{kind:No.Never},n,e.never.sourceSpan);t.push(v)}if(void 0!==e.when){if(e.when.value instanceof Lo)throw new Error("Unexpected interpolation in defer block when trigger");const v=function kv(n,e,t,o){return{kind:Ue.DeferWhen,target:n,expr:e,modifier:t,sourceSpan:o,...dr,...Bc,...Fc}}(u,kr(e.when.value,c.job,e.when.sourceSpan),n,e.when.sourceSpan);o.push(v)}}function WE(n,e){if(!(e.i18n instanceof Zs&&function Jy(n){return dg(n)&&1===n.nodes.length&&n.nodes[0]instanceof Au}(e.i18n)))throw Error(`Unhandled i18n metadata type for ICU: ${e.i18n?.constructor.name}`);{const t=n.job.allocateXrefId();n.create.push(function qb(n,e,t,o){return{kind:Ue.IcuStart,xref:n,message:e,messagePlaceholder:t,context:null,sourceSpan:o,...dr}}(t,e.i18n,Js(e.i18n).name,null));for(const[o,c]of Object.entries({...e.vars,...e.placeholders}))c instanceof aa?VS(n,c,o):BE(n,c,o);n.create.push(function mm(n){return{kind:Ue.IcuEnd,xref:n,...dr}}(t))}}function VE(n,e){const t=n.job.allocateView(n.xref),o=`\u0275$index_${t.xref}`,c=`\u0275$count_${t.xref}`,u=new Set;t.contextVariables.set(e.item.name,e.item.value);for(const _i of e.contextVariables)"$index"===_i.value&&u.add(_i.name),"$index"===_i.name?t.contextVariables.set("$index",_i.value).set(o,_i.value):"$count"===_i.name?t.contextVariables.set("$count",_i.value).set(c,_i.value):t.aliases.add({kind:ta.Alias,name:null,identifier:_i.name,expression:hg(_i,o,c)});let v;v=null===e.trackBy?Xn("$index"):kr(e.trackBy,n.job,Va(e.trackBy.span,e.sourceSpan)),Tu(t,e.children);let k=null,ae=null;null!==e.empty&&(k=n.job.allocateView(n.xref),Tu(k,e.empty.children),ae=_g(n,k.xref,e.empty));const me={$index:u,$implicit:e.item.name};if(void 0!==e.i18n&&!(e.i18n instanceof Qc))throw Error("AssertionError: Unhandled i18n metadata type or @for");if(void 0!==e.empty?.i18n&&!(e.empty.i18n instanceof Qc))throw Error("AssertionError: Unhandled i18n metadata type or @empty");const Ve=e.i18n,it=e.empty?.i18n,Gt=_g(n,t.xref,e),yn=function Yh(n,e,t,o,c,u,v,k,ae,me){return{kind:Ue.RepeaterCreate,attributes:null,xref:n,handle:new Dc,emptyView:e,track:o,trackByFn:null,trackByOps:null,tag:t,emptyTag:u,emptyAttributes:null,functionNameSuffix:"For",namespace:Ws.HTML,nonBindable:!1,localRefs:[],decls:null,vars:null,varNames:c,usesComponentInstance:!1,i18nPlaceholder:v,emptyI18nPlaceholder:k,startSourceSpan:ae,wholeSourceSpan:me,...hl,...dr,...Fc,numSlotsUsed:null===e?2:3}}(t.xref,k?.xref??null,Gt,v,me,ae,Ve,it,e.startSourceSpan,e.sourceSpan);n.create.push(yn);const Un=kr(e.expression,n.job,Va(e.expression.span,e.sourceSpan)),ai=function Ll(n,e,t,o){return{kind:Ue.Repeater,target:n,targetSlot:e,collection:t,sourceSpan:o,...dr,...Bc}}(yn.xref,yn.handle,Un,e.sourceSpan);n.update.push(ai)}function hg(n,e,t){switch(n.value){case"$index":return new fa(e);case"$count":return new fa(t);case"$first":return new fa(e).identical($t(0));case"$last":return new fa(e).identical(new fa(t).minus($t(1)));case"$even":return new fa(e).modulo($t(2)).identical($t(0));case"$odd":return new fa(e).modulo($t(2)).notIdentical($t(0));default:throw new Error(`AssertionError: unknown @for loop variable ${n.value}`)}}function $E(n,e){const t=n.job.allocateXrefId();n.create.push(function Qb(n,e,t){return{kind:Ue.DeclareLet,xref:n,declaredName:e,sourceSpan:t,handle:new Dc,...hl,...dr}}(t,e.name,e.sourceSpan)),n.update.push(function jb(n,e,t,o){return{kind:Ue.StoreLet,target:n,declaredName:e,value:t,sourceSpan:o,...Bc,...Fc,...dr}}(t,e.name,kr(e.value,n.job,e.valueSpan),e.sourceSpan))}function kr(n,e,t){if(n instanceof At)return kr(n.ast,e,t);if(n instanceof A)return n.receiver instanceof hi?new fa(n.name):new _n(kr(n.receiver,e,t),n.name,null,Va(n.span,t));if(n instanceof bi){if(n.receiver instanceof hi)throw new Error("Unexpected ImplicitReceiver");return new Jn(kr(n.receiver,e,t),n.args.map(o=>kr(o,e,t)),void 0,Va(n.span,t))}if(n instanceof nr)return $t(n.value,void 0,Va(n.span,t));if(!(n instanceof Fs)){if(n instanceof Bo){const o=jv.get(n.operation);if(void 0===o)throw new Error(`AssertionError: unknown binary operator ${n.operation}`);return new Bt(o,kr(n.left,e,t),kr(n.right,e,t),void 0,Va(n.span,t))}if(n instanceof yi)return new $u(e.root.xref);if(n instanceof dt)return new Kn(kr(n.receiver,e,t),kr(n.key,e,t),void 0,Va(n.span,t));if(n instanceof cr)throw new Error("AssertionError: Chain in unknown context");if(n instanceof Ho){const o=n.keys.map((c,u)=>{const v=kr(n.values[u],e,t);return"spread"===c.kind?new Mi(v):new mi(c.key,v,c.quoted)});return new Hi(o,void 0,Va(n.span,t))}if(n instanceof ds)return new pn(n.expressions.map(o=>kr(o,e,t)));if(n instanceof gt)return new qr(kr(n.condition,e,t),kr(n.trueExp,e,t),kr(n.falseExp,e,t),void 0,Va(n.span,t));if(n instanceof Rn)return kr(n.expression,e,t);if(n instanceof fr)return new Hd(e.allocateXrefId(),new Dc,n.name,[kr(n.exp,e,t),...n.args.map(o=>kr(o,e,t))]);if(n instanceof En)return new md(kr(n.receiver,e,t),kr(n.key,e,t),Va(n.span,t));if(n instanceof Se)return new fd(kr(n.receiver,e,t),n.name);if(n instanceof Zn)return new Jn(kr(n.receiver,e,t),n.args.map(o=>kr(o,e,t)),null,Va(n.span,t),!1,[],!0);if(n instanceof On)return new wu(Va(n.span,t));if(n instanceof Qs)return function Vr(n,e){return new wr(n,e)}(kr(n.expression,e,t),Va(n.span,t));if(n instanceof hn)return Pr(kr(n.expression,e,t));if(n instanceof Hn)return new cn(kr(n.expression,e,t),void 0,Va(n.span,t));if(n instanceof Pi)return Ad(n,e,t);if(n instanceof ci)return new Ti(kr(n.tag,e,t),Ad(n.template,e,t),void 0,Va(n.span,t));if(n instanceof go)return new pt(kr(n.expression,e,t),void 0,Va(n.span,t));if(n instanceof se)return new Ei(n.body,n.flags,t);if(n instanceof Xs)return new wi(kr(n.expression,e,t));if(n instanceof qe)return function jl(n){const e=new Set(n.params.map(t=>t.name));return Bi(n,t=>{if(t instanceof Ar)for(const o of t.params)e.add(o.name);else if(t instanceof fa&&e.has(t.name))return Xn(t.name);return t},Ur.None)}(Di(n.parameters.map(o=>new Qi(o.name,Y)),kr(n.body,e,t)));throw new Error(`Unhandled expression type "${n.constructor.name}" in file "${t?.start.file.url}"`)}switch(n.operator){case"+":return new zt(ht.Plus,kr(n.expr,e,t),void 0,Va(n.span,t));case"-":return new zt(ht.Minus,kr(n.expr,e,t),void 0,Va(n.span,t));default:throw new Error(`AssertionError: unknown unary operator ${n.operator}`)}}function Ad(n,e,t){return new sr(n.elements.map(o=>new pr(o.text,Va(o.span,t))),n.expressions.map(o=>kr(o,e,t)),Va(n.span,t))}function Of(n,e,t,o){let c;return c=e instanceof Lo?new ms(e.strings,e.expressions.map(u=>kr(u,n,null)),Object.keys(Yu(t)?.placeholders??{})):e instanceof tn?kr(e,n,null):$t(e),c}const Z_=new Map([[ji.Property,zi.Property],[ji.TwoWay,zi.TwoWayProperty],[ji.Attribute,zi.Attribute],[ji.Class,zi.ClassName],[ji.Style,zi.StyleProperty],[ji.LegacyAnimation,zi.LegacyAnimation],[ji.Animation,zi.Animation]]);function Yu(n){if(null==n)return null;if(!(n instanceof Zs))throw Error(`Expected i18n meta to be a Message, but got: ${n.constructor.name}`);return n}function mg(n,e,t,o,c,u,v,k,ae,me,Ve){const it="string"==typeof c;if(ae===Yo.Structural){if(!k)switch(t){case ji.Property:case ji.Class:case ji.Style:return nu(e,zi.Property,null,o,null,null,me,v);case ji.TwoWay:return nu(e,zi.TwoWayProperty,null,o,null,null,me,v)}if(!it&&(t===ji.Attribute||t===ji.LegacyAnimation||t===ji.Animation))return null}let Gt=Z_.get(t);return ae===Yo.NgTemplate&&(t===ji.Class||t===ji.Style||t===ji.Attribute&&!it)&&(Gt=zi.Property),hd(e,Gt,o,Of(n.job,c,me),u,v,it,k,ae,me,Ve)}function gg(n,e,t){e=mp(e);const o=new Array;let c=e instanceof cr?e.expressions:[e];if(0===c.length)throw new Error("Expected listener to have non-empty expression list.");const u=c.map(k=>kr(k,n.job,t)),v=u.pop();return o.push(...u.map(k=>xc(new kn(k,k.sourceSpan)))),o.push(xc(new In(v,v.sourceSpan))),o}function jE(n,e,t){e=mp(e);const o=new Array;if(e instanceof cr){if(1!==e.expressions.length)throw new Error("Expected two-way listener to have a single expression.");e=e.expressions[0]}const c=kr(e,n.job,t),u=new fa("$event"),v=new Hp(c,u);return o.push(xc(new kn(v))),o.push(xc(new In(u))),o}function mp(n){return n instanceof At?n.ast:n}function rb(n,e){!function Ca(n){if(!Array.isArray(n))throw new Error("AssertionError: expected an array")}(n.localRefs);for(const{name:t,value:o}of e.references)n.localRefs.push({name:t,target:o})}function Va(n,e){if(null===e)return null;const t=e.start.moveBy(n.start),o=e.start.moveBy(n.end),c=e.fullStart.moveBy(n.start);return new mr(t,o,c)}function _g(n,e,t){let o=null;for(const c of t.children)if(!(c instanceof ba||c instanceof Wt)){if(null!==o)return null;if(!(c instanceof io&&null===n.job.getForeignComponent(c)||c instanceof Ci&&null!==c.tagName))return null;o=c}if(null!==o){for(const u of o.attributes)if(!u.name.startsWith("animate.")){const v=Md.securityContext(If,u.name,!0);n.update.push(hd(e,zi.Attribute,u.name,$t(u.value),null,v,!0,!1,null,Yu(u.i18n),u.sourceSpan))}for(const u of o.inputs)if(u.type!==ji.LegacyAnimation&&u.type!==ji.Animation&&u.type!==ji.Attribute){const v=Md.securityContext(If,u.name,!0);n.create.push(nu(e,zi.Property,null,u.name,null,null,null,v))}const c=o instanceof io?o.name:o.tagName;return c===If?null:c}return null}let ob=!1;function J_(n,e){return oo(Xn(Al).bitwiseAnd($t(n),null),e)}function HS(n,e,t){const o=[];return void 0!==t&&o.push(...t),n.isSignal&&o.push(new _n(Xn(la),n.propertyName)),o.push(function HE(n,e){if(Array.isArray(n.predicate)){let t=[];return n.predicate.forEach(o=>{const c=o.split(",").map(u=>$t(u.trim()));t.push(...c)}),e.getConstLiteral(Fi(t),!0)}switch(n.predicate.forwardRef){case 0:case 2:return n.predicate.expression;case 1:return Nn(yt.resolveForwardRef).callFn([n.predicate.expression])}}(n,e),$t(function jS(n){return(n.descendants?1:0)|(n.static?2:0)|(n.emitDistinctChangesOnly?4:0)}(n))),n.read&&o.push(n.read),o}const zE=Symbol("queryAdvancePlaceholder");function sb(n){const e=[];let t=0;const o=()=>{t>0&&(e.unshift(Nn(yt.queryAdvance).callFn(1===t?[]:[$t(t)]).toStmt()),t=0)};for(let c=n.length-1;c>=0;c--){const u=n[c];u===zE?t++:(o(),e.unshift(u))}return o(),e}class GS extends ay{constructor(){super(kd)}parse(e,t,o){return super.parse(e,t,o)}}const Hl=/^([^:/?#]+):/,qS=new Set([":svg:script","script"]);function cb(n){let e=null,t=null,o=null,c=!1,u="";for(const ae of n.attrs){const me=ae.name.toLowerCase();"select"==me?e=ae.value:"href"==me?t=ae.value:"rel"==me?o=ae.value:"ngNonBindable"==ae.name?c=!0:"ngProjectAs"==ae.name&&ae.value.length>0&&(u=ae.value)}e||="*";const v=n.name.toLowerCase();let k=$c.OTHER;return qs(v)?k=$c.NG_CONTENT:"style"===v?k=$c.STYLE:qS.has(v)?k=$c.SCRIPT:"link"==v&&"stylesheet"==o&&(k=$c.STYLESHEET),new ZS(k,e,t,c,u)}var $c;!function(n){n[n.NG_CONTENT=0]="NG_CONTENT",n[n.STYLE=1]="STYLE",n[n.STYLESHEET=2]="STYLESHEET",n[n.SCRIPT=3]="SCRIPT",n[n.OTHER=4]="OTHER"}($c||($c={}));class ZS{type;selectAttr;hrefAttr;nonBindable;projectAs;constructor(e,t,o,c,u){this.type=e,this.selectAttr=t,this.hrefAttr=o,this.nonBindable=c,this.projectAs=u}}function JS(n,e){const t=[];if(n.parameters.length<1||n.parameters.length>2)return t.push(new Vi(n.startSourceSpan,'@content block must have one or two parameters, e.g. "@content(header)" or "@content(items; let item, index)"')),{node:null,errors:t};const o=n.parameters[0],c=o.expression.trim();if(c.includes(","))return t.push(new Vi(n.startSourceSpan,"@content block must have exactly one name parameter")),{node:null,errors:t};if(!bs.test(c))return t.push(new Vi(o.sourceSpan,"@content name must be a valid JavaScript identifier")),{node:null,errors:t};const u=function ex(n,e){const t=[];if(n.parameters.length<2)return t;const o=n.parameters[1],u=o.expression.trim().match(Ha);if(!u)return e.push(new Vi(o.sourceSpan,'@content block variables must start with "let", e.g. "let item, index"')),null;const v=u[1].split(",").map(it=>it.trim()),k=u[1],ae=o.expression.indexOf(k),me=o.sourceSpan.start.moveBy(ae);let Ve=0;for(let it of v){if(""===it){e.push(new Vi(o.sourceSpan,"Invalid variable name in @content block"));continue}let Gt;const yn=k.indexOf(it,Ve),Un=me.moveBy(yn);if(it.includes("=")){const ai=it.indexOf("="),_i=it.substring(0,ai).trim(),Wi=new mr(Un,Un.moveBy(it.length));e.push(new Vi(Wi,"@content block variables cannot be assigned a value")),it=_i,Gt=new mr(Un,Un.moveBy(it.length))}else Gt=new mr(Un,Un.moveBy(it.length));bs.test(it)?t.some(ai=>ai.name===it)?(e.push(new Vi(Gt,`Duplicate variable name "${it}" in @content block`)),Ve=yn+it.length):(t.push(new mt(it,"",Gt,Gt)),Ve=yn+it.length):(e.push(new Vi(Gt,`Variable name "${it}" must be a valid JavaScript identifier`)),Ve=yn+it.length)}return t}(n,t);return null===u?{node:null,errors:t}:{node:new ic(c,u,gr(e,n.children,n.children),n.nameSpan,n.sourceSpan,n.startSourceSpan,n.endSourceSpan,n.i18n),errors:t}}const qE=/^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/,tx=/^track\s+([\S\s]*)/,lb=/^(as\s+)(.*)/,Pf=/(\s*)(\S+)(\s*)/,Zu=new Set(["$index","$first","$last","$even","$odd","$count"]);function YE(n){return"empty"===n}function ZE(n){return"else"===n||"else if"===n}function ev(n,e,t,o){const c=function cD(n){const e=[];let t=!1;for(let o=0;o<n.length;o++){const c=n[o];"else"===c.name?(t?e.push(new Vi(c.startSourceSpan,"Conditional can only have one @else block")):n.length>1&&o<n.length-1?e.push(new Vi(c.startSourceSpan,"@else block must be last inside the conditional")):c.parameters.length>0&&e.push(new Vi(c.startSourceSpan,"@else block cannot have parameters")),t=!0):"else if"!==c.name&&e.push(new Vi(c.startSourceSpan,`Unrecognized conditional block @${c.name}`))}return e}(e),u=[],v=Nf(n,c,o);null!==v&&u.push(new Nt(v.expression,gr(t,n.children,n.children),v.expressionAlias,n.sourceSpan,n.startSourceSpan,n.endSourceSpan,n.nameSpan,n.i18n));for(const it of e)if("else if"===it.name){const Gt=Nf(it,c,o);if(null!==Gt){const yn=gr(t,it.children,it.children);u.push(new Nt(Gt.expression,yn,Gt.expressionAlias,it.sourceSpan,it.startSourceSpan,it.endSourceSpan,it.nameSpan,it.i18n))}}else if("else"===it.name){const Gt=gr(t,it.children,it.children);u.push(new Nt(null,Gt,null,it.sourceSpan,it.startSourceSpan,it.endSourceSpan,it.nameSpan,it.i18n))}const k=u.length>0?u[0].startSourceSpan:n.startSourceSpan,ae=u.length>0?u[u.length-1].endSourceSpan:n.endSourceSpan;let me=n.sourceSpan;const Ve=u[u.length-1];return void 0!==Ve&&(me=new mr(k.start,Ve.sourceSpan.end)),{node:new Ye(u,me,n.startSourceSpan,ae,n.nameSpan),errors:c}}function JE(n,e,t,o){const c=[],u=function sD(n,e,t){if(0===n.parameters.length)return e.push(new Vi(n.startSourceSpan,"@for loop does not have an expression")),null;const[o,...c]=n.parameters,u=function RC(n,e){const t=n.expression,o=/^\s$/;let c=0,u=0,v=t.length-1;for(let k=0;k<t.length;k++){const ae=t[k];if("("!==ae){if(o.test(ae))continue;break}u=k+1,c++}if(0===c)return t;for(let k=t.length-1;k>-1;k--){const ae=t[k];if(")"!==ae){if(o.test(ae))continue;break}if(v=k,c--,0===c)break}return 0!==c?(e.push(new Vi(n.sourceSpan,"Unclosed parentheses in expression")),null):t.slice(u,v)}(o,e)?.match(qE);if(!u||0===u[2].trim().length)return e.push(new Vi(o.sourceSpan,'Cannot parse expression. @for loop expression must match the pattern "<identifier> of <expression>"')),null;const[,v,k]=u;Zu.has(v)&&e.push(new Vi(o.sourceSpan,`@for loop item name cannot be one of ${Array.from(Zu).join(", ")}.`));const ae=o.expression.split(" ")[0],me=new mr(o.sourceSpan.start,o.sourceSpan.start.moveBy(ae.length)),Ve={itemName:new mt(v,"$implicit",me,me),trackBy:null,expression:yg(o,t,k),context:Array.from(Zu,it=>{const Gt=new mr(n.startSourceSpan.end,n.startSourceSpan.end);return new mt(it,it,Gt,Gt)})};for(const it of c){const Gt=it.expression.match(Ha);if(null!==Gt){const Un=new mr(it.sourceSpan.start.moveBy(Gt[0].length-Gt[1].length),it.sourceSpan.end);tv(it.sourceSpan,Gt[1],Un,v,Ve.context,e);continue}const yn=it.expression.match(tx);if(null===yn)e.push(new Vi(it.sourceSpan,`Unrecognized @for loop parameter "${it.expression}"`));else if(null!==Ve.trackBy)e.push(new Vi(it.sourceSpan,'@for loop can only have one "track" expression'));else{const Un=yg(it,t,yn[1]);Un.ast instanceof On&&e.push(new Vi(n.startSourceSpan,'@for loop must have a "track" expression'));const ai=new mr(it.sourceSpan.start,it.sourceSpan.start.moveBy(5));Ve.trackBy={expression:Un,keywordSpan:ai}}}return Ve}(n,c,o);let v=null,k=null;for(const ae of e)"empty"===ae.name?null!==k?c.push(new Vi(ae.sourceSpan,"@for loop can only have one @empty block")):ae.parameters.length>0?c.push(new Vi(ae.sourceSpan,"@empty block cannot have parameters")):k=new Ne(gr(t,ae.children,ae.children),ae.sourceSpan,ae.startSourceSpan,ae.endSourceSpan,ae.nameSpan,ae.i18n):c.push(new Vi(ae.sourceSpan,`Unrecognized @for loop block "${ae.name}"`));if(null!==u){const ae=k?.endSourceSpan??n.endSourceSpan,me=new mr(n.sourceSpan.start,ae?.end??n.sourceSpan.end);let Ve,it;null===u.trackBy?(Ve=it=null,c.push(new Vi(n.startSourceSpan,'@for loop must have a "track" expression'))):(Ve=u.trackBy.expression,it=u.trackBy.keywordSpan,function aD(n,e,t){const o=new ub;n.ast.visit(o),o.hasPipe&&t.push(new Vi(e,"Cannot use pipes in track expressions"))}(u.trackBy.expression,u.trackBy.keywordSpan,c)),v=new ne(u.itemName,u.expression,Ve,it,u.context,gr(t,n.children,n.children),k,me,n.sourceSpan,n.startSourceSpan,ae,n.nameSpan,n.i18n)}return{node:v,errors:c}}function Rf(n,e,t){const o=function ew(n){const e=[];let t=!1;if(1!==n.parameters.length)return e.push(new Vi(n.startSourceSpan,"@switch block must have exactly one parameter")),e;for(const o of n.children)if(!(o instanceof Wl||o instanceof Du&&0===o.value.trim().length)){if(!(o instanceof yl)||"case"!==o.name&&"default"!==o.name&&"default never"!==o.name){e.push(new Vi(o.sourceSpan,"@switch block can only contain @case and @default blocks"));continue}"default never"===o.name?(t&&e.push(new Vi(o.startSourceSpan,"@switch block can only have one @default block")),t=!0):"default"===o.name?(t?e.push(new Vi(o.startSourceSpan,"@switch block can only have one @default block")):o.parameters.length>0&&e.push(new Vi(o.startSourceSpan,"@default block cannot have parameters")),t=!0):"case"===o.name&&1!==o.parameters.length&&e.push(new Vi(o.startSourceSpan,"@case block must have exactly one parameter"))}return e}(n),c=n.parameters.length>0?yg(n.parameters[0],t):t.parseBinding("",!1,n.sourceSpan,0),u=[],v=[];let k=[],ae=null,me=null;for(const it of n.children){if(!(it instanceof yl))continue;if(("case"!==it.name||0===it.parameters.length)&&"default"!==it.name&&"default never"!==it.name){v.push(new en(it.name,it.sourceSpan,it.nameSpan));continue}null!==me&&o.push(new Vi(it.sourceSpan,'@default block with "never" parameter must be the last case in a switch'));let yn=null;if("case"===it.name)yn=yg(it.parameters[0],t);else if("default never"===it.name){it.parameters.length>0&&(yn=yg(it.parameters[0],t)),(it.children.length>0||null!==it.endSourceSpan&&it.endSourceSpan.start.offset!==it.endSourceSpan.end.offset)&&o.push(new Vi(it.sourceSpan,'@default block with "never" parameter cannot have a body')),k.length>0&&o.push(new Vi(it.sourceSpan,'A @case block with no body cannot be followed by a @default block with "never" parameter')),me=new z(yn,it.sourceSpan,it.startSourceSpan,it.endSourceSpan,it.nameSpan);continue}const Un=new Gc(yn,it.sourceSpan,it.startSourceSpan,it.endSourceSpan,it.nameSpan);if(k.push(Un),0===it.children.length&&null!==it.endSourceSpan&&it.endSourceSpan.start.offset===it.endSourceSpan.end.offset){null===ae&&(ae=it.sourceSpan);continue}let _i=it.sourceSpan,Wi=it.startSourceSpan;null!==ae&&(_i=new mr(ae.start,it.sourceSpan.end),Wi=new mr(ae.start,it.startSourceSpan.end),ae=null);const Wr=new le(k,gr(e,it.children,it.children),_i,Wi,it.endSourceSpan,it.nameSpan,it.i18n);u.push(Wr),k=[]}return{node:new ks(c,u,v,me,n.sourceSpan,n.startSourceSpan,n.endSourceSpan,n.nameSpan),errors:o}}function tv(n,e,t,o,c,u){const v=e.split(",");let k=t.start;for(const ae of v){const me=ae.split("="),Ve=2===me.length?me[0].trim():"",it=2===me.length?me[1].trim():"";if(0===Ve.length||0===it.length)u.push(new Vi(n,'Invalid @for loop "let" parameter. Parameter should match the pattern "<name> = <variable name>"'));else if(Zu.has(it))if(Ve===o)u.push(new Vi(n,`Invalid @for loop "let" parameter. Variable cannot be called "${o}"`));else if(c.some(Gt=>Gt.name===Ve))u.push(new Vi(n,`Duplicate "let" parameter variable "${it}"`));else{const[,Gt,yn]=me[0].match(Pf)??[],Un=void 0!==Gt&&2===me.length?new mr(k.moveBy(Gt.length),k.moveBy(Gt.length+yn.length)):t;let ai;if(2===me.length){const[,Wi,Wr]=me[1].match(Pf)??[];ai=void 0!==Wi?new mr(k.moveBy(me[0].length+1+Wi.length),k.moveBy(me[0].length+1+Wi.length+Wr.length)):void 0}const _i=new mr(Un.start,ai?.end??Un.end);c.push(new mt(Ve,it,_i,Un,ai))}else u.push(new Vi(n,`Unknown "let" parameter variable "${it}". The allowed variables are: ${Array.from(Zu).join(", ")}`));k=k.moveBy(ae.length+1)}}function yg(n,e,t){let o,c;return"string"==typeof t?(o=Math.max(0,n.expression.lastIndexOf(t)),c=o+t.length):(o=0,c=n.expression.length),e.parseBinding(n.expression.slice(o,c),!1,n.sourceSpan,n.sourceSpan.start.offset+o)}function Nf(n,e,t){if(0===n.parameters.length)return e.push(new Vi(n.startSourceSpan,"Conditional block does not have an expression")),null;const o=yg(n.parameters[0],t);let c=null;for(let u=1;u<n.parameters.length;u++){const v=n.parameters[u],k=v.expression.match(lb);if(null===k)e.push(new Vi(v.sourceSpan,`Unrecognized conditional parameter "${v.expression}"`));else if("if"!==n.name&&"else if"!==n.name)e.push(new Vi(v.sourceSpan,'"as" expression is only allowed on `@if` and `@else if` blocks'));else if(null!==c)e.push(new Vi(v.sourceSpan,'Conditional can only have one "as" expression'));else{const ae=k[2].trim();if(bs.test(ae)){const me=v.sourceSpan.start.moveBy(k[1].length),Ve=new mr(me,me.moveBy(ae.length));c=new mt(ae,ae,Ve,Ve)}else e.push(new Vi(v.sourceSpan,'"as" expression must be a valid JavaScript identifier'))}}return{expression:o,expressionAlias:c}}class ub extends An{hasPipe=!1;visitPipe(){this.hasPipe=!0}}const db=/^\d+\.?\d*(ms|s)?$/,nv=/^\s$/,bg=new Map([[Cn,gi],[91,93],[40,41]]);var $a;function gp({expression:n,sourceSpan:e},t,o){const c=n.indexOf("never"),u=new mr(e.start.moveBy(c),e.start.moveBy(c+5)),v=Eg(n,e),k=rv(n,e);-1===c?o.push(new Vi(e,'Could not find "never" keyword in expression')):ov("never",t,o,new cu(u,e,v,null,k))}function Lf({expression:n,sourceSpan:e},t,o,c){const u=n.indexOf("when"),v=new mr(e.start.moveBy(u),e.start.moveBy(u+4)),k=Eg(n,e),ae=rv(n,e);if(-1===u)c.push(new Vi(e,'Could not find "when" keyword in expression'));else{const me=Uf(n,u+1),Ve=t.parseBinding(n.slice(me),!1,e,e.start.offset+me);ov("when",o,c,new vc(Ve,e,k,v,ae))}}function iv({expression:n,sourceSpan:e},t,o,c,u){const v=n.indexOf("on"),k=new mr(e.start.moveBy(v),e.start.moveBy(v+2)),ae=Eg(n,e),me=rv(n,e);if(-1===v)c.push(new Vi(e,'Could not find "on" keyword in expression'));else{const Ve=Uf(n,v+1),it=n.startsWith("hydrate");new tw(n,t,Ve,e,o,c,it?iw:hb,it,ae,k,me).parse()}}function Eg(n,e){return n.startsWith("prefetch")?new mr(e.start,e.start.moveBy(8)):null}function rv(n,e){return n.startsWith("hydrate")?new mr(e.start,e.start.moveBy(7)):null}!function(n){n.IDLE="idle",n.TIMER="timer",n.INTERACTION="interaction",n.IMMEDIATE="immediate",n.HOVER="hover",n.VIEWPORT="viewport",n.NEVER="never"}($a||($a={}));class tw{expression;bindingParser;start;span;triggers;errors;validator;isHydrationTrigger;prefetchSpan;onSourceSpan;hydrateSpan;index=0;tokens;constructor(e,t,o,c,u,v,k,ae,me,Ve,it){this.expression=e,this.bindingParser=t,this.start=o,this.span=c,this.triggers=u,this.errors=v,this.validator=k,this.isHydrationTrigger=ae,this.prefetchSpan=me,this.onSourceSpan=Ve,this.hydrateSpan=it,this.tokens=(new cp).tokenize(e.slice(o))}parse(){for(;this.tokens.length>0&&this.index<this.tokens.length;){const e=this.token();if(!e.isIdentifier()){this.unexpectedToken(e);break}if(this.isFollowedByOrLast(44))this.consumeTrigger(e,[]),this.advance();else if(this.isFollowedByOrLast(40)){this.advance();const t=this.errors.length,o=this.consumeParameters();if(this.errors.length!==t)break;this.consumeTrigger(e,o),this.advance()}else this.index<this.tokens.length-1&&this.unexpectedToken(this.tokens[this.index+1]);this.advance()}}advance(){this.index++}isFollowedByOrLast(e){return this.index===this.tokens.length-1||this.tokens[this.index+1].isCharacter(e)}token(){return this.tokens[Math.min(this.index,this.tokens.length-1)]}consumeTrigger(e,t){const o=this.span.start.moveBy(this.start+e.index-this.tokens[0].index),c=new mr(o,o.moveBy(e.strValue.length)),u=o.moveBy(this.token().end-e.index),v=0===e.index,k=v?this.onSourceSpan:null,ae=v?this.prefetchSpan:null,me=v?this.hydrateSpan:null,Ve=new mr(v?this.span.start:o,u);try{switch(e.toString()){case $a.IDLE:this.trackTrigger("idle",function _p(n,e,t,o,c,u){if(n.length>1)throw new Error(`"${$a.IDLE}" trigger can only have zero or one parameters`);let v=null;if(n[0]&&(v=wg(n[0].expression),null===v))throw new Error(`Could not parse time value of trigger "${$a.IDLE}"`);return new nd(e,t,o,c,u,v)}(t,c,Ve,ae,k,me));break;case $a.TIMER:this.trackTrigger("timer",function pb(n,e,t,o,c,u){if(1!==n.length)throw new Error(`"${$a.TIMER}" trigger must have exactly one parameter`);const v=wg(n[0].expression);if(null===v)throw new Error(`Could not parse time value of trigger "${$a.TIMER}"`);return new Tl(v,e,t,o,c,u)}(t,c,Ve,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan));break;case $a.INTERACTION:this.trackTrigger("interaction",function nw(n,e,t,o,c,u,v){return v($a.INTERACTION,n),new qo(n[0]?.expression??null,e,t,o,c,u)}(t,c,Ve,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan,this.validator));break;case $a.IMMEDIATE:this.trackTrigger("immediate",function lD(n,e,t,o,c,u){if(n.length>0)throw new Error(`"${$a.IMMEDIATE}" trigger cannot have parameters`);return new _r(e,t,o,c,u)}(t,c,Ve,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan));break;case $a.HOVER:this.trackTrigger("hover",function Bf(n,e,t,o,c,u,v){return v($a.HOVER,n),new Xl(n[0]?.expression??null,e,t,o,c,u)}(t,c,Ve,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan,this.validator));break;case $a.VIEWPORT:this.trackTrigger("viewport",function Ff(n,e,t,o,c,u,v,k,ae,me){let Ve,it;if(me($a.VIEWPORT,o),0===o.length)Ve=it=null;else if(o[0].expression.startsWith("{")){const Gt=t.parseBinding(o[0].expression,!1,u,u.start.offset+n+o[0].start);if(!(Gt.ast instanceof Ho))throw new Error('Options parameter of the "viewport" trigger must be an object literal');if(Gt.ast.keys.some(Un=>"spread"===Un.kind))throw new Error("Spread operator are not allowed in this context");if(Gt.ast.keys.some(Un=>"property"===Un.kind&&"root"===Un.key))throw new Error('The "root" option is not supported in the options parameter of the "viewport" trigger');const yn=Gt.ast.keys.findIndex(Un=>"property"===Un.kind&&"trigger"===Un.key);if(-1===yn)Ve=null,it=Gt.ast;else{const Un=Gt.ast.values[yn],ai=(_i,Wi)=>Wi!==yn;if(!(Un instanceof A&&Un.receiver instanceof hi))throw new Error('"trigger" option of the "viewport" trigger must be an identifier');Ve=Un.name,it=new Ho(Gt.ast.span,Gt.ast.sourceSpan,Gt.ast.keys.filter(ai),Gt.ast.values.filter(ai))}}else Ve=o[0].expression,it=null;if(e&&null!==Ve)throw new Error('"viewport" hydration trigger cannot have a "trigger"');if(it){const Gt=Sg.findDynamicNode(it);if(null!==Gt)throw new Error(`Options of the "viewport" trigger must be an object literal containing only literal values, but "${Gt.constructor.name}" was found`)}return new Ea(Ve,it,c,u,v,k,ae)}(this.start,this.isHydrationTrigger,this.bindingParser,t,c,Ve,this.prefetchSpan,this.onSourceSpan,this.hydrateSpan,this.validator));break;default:throw new Error(`Unrecognized trigger type "${e}"`)}}catch(it){this.error(e,it.message)}}consumeParameters(){const e=[];if(!this.token().isCharacter(40))return this.unexpectedToken(this.token()),e;this.advance();const t=[];let o=[];for(;this.index<this.tokens.length;){const c=this.token();if(c.isCharacter(41)&&0===t.length){o.length&&e.push({expression:this.tokenRangeText(o),start:o[0].index});break}(c.type===ar.Character&&bg.has(c.numValue)&&t.push(bg.get(c.numValue)),t.length>0&&c.isCharacter(t[t.length-1])&&t.pop(),0===t.length&&c.isCharacter(44)&&o.length>0)?(e.push({expression:this.tokenRangeText(o),start:o[0].index}),this.advance(),o=[]):(o.push(c),this.advance())}return(!this.token().isCharacter(41)||t.length>0)&&this.error(this.token(),"Unexpected end of expression"),this.index<this.tokens.length-1&&!this.tokens[this.index+1].isCharacter(44)&&this.unexpectedToken(this.tokens[this.index+1]),e}tokenRangeText(e){return 0===e.length?"":this.expression.slice(this.start+e[0].index,this.start+e[e.length-1].end)}trackTrigger(e,t){ov(e,this.triggers,this.errors,t)}error(e,t){const o=this.span.start.moveBy(this.start+e.index),c=o.moveBy(e.end-e.index);this.errors.push(new Vi(new mr(o,c),t))}unexpectedToken(e){this.error(e,`Unexpected token "${e}"`)}}function ov(n,e,t,o){e[n]?t.push(new Vi(o.sourceSpan,`Duplicate "${n}" trigger is not allowed`)):e[n]=o}function hb(n,e){if(e.length>1)throw new Error(`"${n}" trigger can only have zero or one parameters`)}function iw(n,e){if(n!==$a.VIEWPORT){if(e.length>0)throw new Error(`Hydration trigger "${n}" cannot have parameters`)}else if(e.length>1)throw new Error(`Hydration trigger "${n}" cannot have more than one parameter`)}function Uf(n,e=0){let t=!1;for(let o=e;o<n.length;o++)if(nv.test(n[o]))t=!0;else if(t)return o;return-1}function wg(n){const e=n.match(db);if(!e)return null;const[t,o]=e;return parseFloat(t)*("s"===o?1e3:1)}class Sg extends An{dynamicNode=null;static findDynamicNode(e){const t=new Sg;return t.visit(e),t.dynamicNode}visit(e){e instanceof At||e instanceof nr||e instanceof ds||e instanceof Ho?super.visit(e):this.dynamicNode=e}}const sv=/^prefetch\s+when\s/,fb=/^prefetch\s+on\s/,xg=/^hydrate\s+when\s/,rw=/^hydrate\s+on\s/,av=/^hydrate\s+never(\s*)$/,Dl=/^minimum\s/,cv=/^after\s/,lv=/^when\s/,uv=/^on\s/;function Ju(n){return"placeholder"===n||"loading"===n||"error"===n}function uD(n,e,t,o){const c=[],{placeholder:u,loading:v,error:k}=function dD(n,e,t){let o=null,c=null,u=null;for(const v of n)try{if(!Ju(v.name)){e.push(new Vi(v.startSourceSpan,`Unrecognized block "@${v.name}"`));break}switch(v.name){case"placeholder":null!==o?e.push(new Vi(v.startSourceSpan,"@defer block can only have one @placeholder block")):o=Dg(v,t);break;case"loading":null!==c?e.push(new Vi(v.startSourceSpan,"@defer block can only have one @loading block")):c=Cg(v,t);break;case"error":null!==u?e.push(new Vi(v.startSourceSpan,"@defer block can only have one @error block")):u=dv(v,t)}}catch(k){e.push(new Vi(v.startSourceSpan,k.message))}return{placeholder:o,loading:c,error:u}}(e,c,t),{triggers:ae,prefetchTriggers:me,hydrateTriggers:Ve}=function mb(n,e,t,o){const c={},u={},v={};for(const k of n.parameters)lv.test(k.expression)?Lf(k,e,c,t):uv.test(k.expression)?iv(k,e,c,t):sv.test(k.expression)?Lf(k,e,u,t):fb.test(k.expression)?iv(k,e,u,t):xg.test(k.expression)?Lf(k,e,v,t):rw.test(k.expression)?iv(k,e,v,t):av.test(k.expression)?gp(k,v,t):t.push(new Vi(k.sourceSpan,"Unrecognized trigger"));return v.never&&Object.keys(v).length>1&&t.push(new Vi(n.startSourceSpan,"Cannot specify additional `hydrate` triggers if `hydrate never` is present")),{triggers:c,prefetchTriggers:u,hydrateTriggers:v}}(n,o,c);let it=n.endSourceSpan,Gt=n.sourceSpan.end;if(e.length>0){const ai=e[e.length-1];it=ai.endSourceSpan,Gt=ai.sourceSpan.end}const yn=new mr(n.sourceSpan.start,Gt);return{node:new bc(gr(t,n.children,n.children),ae,me,Ve,u,v,k,n.nameSpan,yn,n.sourceSpan,n.startSourceSpan,it,n.i18n),errors:c}}function Dg(n,e){let t=null;for(const o of n.parameters){if(!Dl.test(o.expression))throw new Error(`Unrecognized parameter in @placeholder block: "${o.expression}"`);{if(null!=t)throw new Error('@placeholder block can only have one "minimum" parameter');const c=wg(o.expression.slice(Uf(o.expression)));if(null===c)throw new Error('Could not parse time value of parameter "minimum"');t=c}}return new Nd(gr(e,n.children,n.children),t,n.nameSpan,n.sourceSpan,n.startSourceSpan,n.endSourceSpan,n.i18n)}function Cg(n,e){let t=null,o=null;for(const c of n.parameters)if(cv.test(c.expression)){if(null!=t)throw new Error('@loading block can only have one "after" parameter');const u=wg(c.expression.slice(Uf(c.expression)));if(null===u)throw new Error('Could not parse time value of parameter "after"');t=u}else{if(!Dl.test(c.expression))throw new Error(`Unrecognized parameter in @loading block: "${c.expression}"`);{if(null!=o)throw new Error('@loading block can only have one "minimum" parameter');const u=wg(c.expression.slice(Uf(c.expression)));if(null===u)throw new Error('Could not parse time value of parameter "minimum"');o=u}}return new Oc(gr(e,n.children,n.children),t,o,n.nameSpan,n.sourceSpan,n.startSourceSpan,n.endSourceSpan,n.i18n)}function dv(n,e){if(n.parameters.length>0)throw new Error("@error block cannot have parameters");return new yc(gr(e,n.children,n.children),n.nameSpan,n.sourceSpan,n.startSourceSpan,n.endSourceSpan,n.i18n)}const gb=/^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/,ie_BANANA_BOX={start:"[(",end:")]"},ie_PROPERTY={start:"[",end:"]"},ie_EVENT={start:"(",end:")"},ot=new Set(["link","style","script","ng-template","ng-container","ng-content"]),Ut=new Set(["ngProjectAs","ngNonBindable"]);class vn{bindingParser;options;errors=[];styles=[];styleUrls=[];ngContentSelectors=[];commentNodes=[];inI18nBlock=!1;processedNodes=new Set;constructor(e,t){this.bindingParser=e,this.options=t}visitElement(e){const t=dg(e.i18n);t&&(this.inI18nBlock&&this.reportError("Cannot mark an element as translatable inside of a translatable section. Please remove the nested i18n marker.",e.sourceSpan),this.inI18nBlock=!0);const o=cb(e);if(o.type===$c.SCRIPT)return null;if(o.type===$c.STYLE){const Wi=function Ji(n){return 1===n.children.length&&n.children[0]instanceof Du?n.children[0].value:null}(e);return null!==Wi&&this.styles.push(Wi),null}if(o.type===$c.STYLESHEET&&function KE(n){if(null==n||0===n.length||"/"==n[0])return!1;const e=n.match(Hl);return null===e||"package"==e[1]||"asset"==e[1]}(o.hrefAttr))return this.styleUrls.push(o.hrefAttr),null;const c=function Mc(n){return"ng-template"===ko(n)[1]}(e.name),{attributes:u,boundEvents:v,references:k,variables:ae,templateVariables:me,elementHasInlineTemplate:Ve,parsedProperties:it,templateParsedProperties:Gt,i18nAttrsMeta:yn}=this.prepareAttributes(e.attrs,c),Un=this.extractDirectives(e);let ai,_i;if(ai=o.nonBindable?gr(ei,e.children).flat(1/0):gr(this,e.children,e.children),o.type===$c.NG_CONTENT){const Wi=o.selectAttr,Wr=e.attrs.map(Go=>this.visitAttribute(Go));_i=new Sr(Wi,Wr,ai,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n),this.ngContentSelectors.push(Wi)}else if(c){const Wi=this.categorizePropertyAttributes(e.name,it,yn);_i=new Ci(e.name,u,Wi.bound,v,Un,[],ai,k,ae,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}else{const Wi=this.categorizePropertyAttributes(e.name,it,yn);if("ng-container"===e.name)for(const Wr of Wi.bound)Wr.type===ji.Attribute&&this.reportError("Attribute bindings are not supported on ng-container. Use property bindings instead.",Wr.sourceSpan);_i=new io(e.name,u,Wi.bound,v,Un,ai,k,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.isVoid,e.i18n)}return this.options.collectCommentNodes&&e.comments.forEach(Wi=>{this.commentNodes.push(new ba(Wi.value||"",Wi.sourceSpan))}),Ve&&(_i=this.wrapInTemplate(_i,Gt,me,yn,c,t)),t&&(this.inI18nBlock=!1),_i}visitAttribute(e){return new ol(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan,e.i18n)}visitText(e){return this.processedNodes.has(e)?null:this._visitTextWithInterpolation(e.value,e.sourceSpan,e.tokens,e.i18n)}visitExpansion(e){if(!e.i18n)return null;if(!dg(e.i18n))throw new Error(`Invalid type "${e.i18n.constructor}" for "i18n" property of ${e.sourceSpan.toString()}. Expected a "Message"`);const t=e.i18n,o={},c={};return Object.keys(t.placeholders).forEach(u=>{const v=t.placeholders[u];if(u.startsWith("VAR_")){const k=u.trim(),ae=this.bindingParser.parseInterpolationExpression(v.text,v.sourceSpan);o[k]=new aa(ae,v.sourceSpan)}else c[u]=this._visitTextWithInterpolation(v.text,v.sourceSpan,null)}),new Ia(o,c,e.sourceSpan,t)}visitExpansionCase(e){return null}visitComment(e){return this.options.collectCommentNodes&&this.commentNodes.push(new ba(e.value||"",e.sourceSpan)),null}visitStartTagComment(e){return this.options.collectCommentNodes&&this.commentNodes.push(new ba(e.value||"",e.sourceSpan)),null}visitLetDeclaration(e,t){const o=this.bindingParser.parseBinding(e.value,!1,e.valueSpan,e.valueSpan.start.offset);return 0===o.errors.length&&o.ast instanceof On&&this.reportError("@let declaration value cannot be empty",e.valueSpan),new Wt(e.name,o,e.sourceSpan,e.nameSpan,e.valueSpan)}visitComponent(e){const t=dg(e.i18n);if(t&&(this.inI18nBlock&&this.reportError("Cannot mark a component as translatable inside of a translatable section. Please remove the nested i18n marker.",e.sourceSpan),this.inI18nBlock=!0),null!==e.tagName&&ot.has(e.tagName))return this.reportError(`Tag name "${e.tagName}" cannot be used as a component tag`,e.startSourceSpan),null;const{attributes:o,boundEvents:c,references:u,templateVariables:v,elementHasInlineTemplate:k,parsedProperties:ae,templateParsedProperties:me,i18nAttrsMeta:Ve}=this.prepareAttributes(e.attrs,!1);this.validateSelectorlessReferences(u);const it=this.extractDirectives(e);let Gt;Gt=e.attrs.find(ai=>"ngNonBindable"===ai.name)?gr(ei,e.children).flat(1/0):gr(this,e.children,e.children);const yn=this.categorizePropertyAttributes(e.tagName,ae,Ve);let Un=new Vn(e.componentName,e.tagName,e.fullName,o,yn.bound,c,it,Gt,u,e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n);return this.options.collectCommentNodes&&e.comments.forEach(ai=>{this.commentNodes.push(new ba(ai.value||"",ai.sourceSpan))}),k&&(Un=this.wrapInTemplate(Un,me,v,Ve,!1,t)),t&&(this.inI18nBlock=!1),Un}visitDirective(){return null}visitBlockParameter(){return null}visitBlock(e,t){const o=Array.isArray(t)?t.indexOf(e):-1;if(-1===o)throw new Error("Visitor invoked incorrectly. Expecting visitBlock to be invoked siblings array as its context");if(this.processedNodes.has(e))return null;let c=null;switch(e.name){case"defer":c=uD(e,this.findConnectedBlocks(o,t,Ju),this,this.bindingParser);break;case"switch":c=Rf(e,this,this.bindingParser);break;case"content":c=JS(e,this);break;case"for":c=JE(e,this.findConnectedBlocks(o,t,YE),this,this.bindingParser);break;case"if":c=ev(e,this.findConnectedBlocks(o,t,ZE),this,this.bindingParser);break;default:let u;Ju(e.name)?(u=`@${e.name} block can only be used after an @defer block.`,this.processedNodes.add(e)):YE(e.name)?(u=`@${e.name} block can only be used after an @for block.`,this.processedNodes.add(e)):ZE(e.name)?(u=`@${e.name} block can only be used after an @if or @else if block.`,this.processedNodes.add(e)):u=`Unrecognized block @${e.name}.`,c={node:new en(e.name,e.sourceSpan,e.nameSpan),errors:[new Vi(e.sourceSpan,u)]}}return this.errors.push(...c.errors),c.node}findConnectedBlocks(e,t,o){const c=[];for(let u=e+1;u<t.length;u++){const v=t[u];if(!(v instanceof Wl)){if(v instanceof Du&&0===v.value.trim().length){this.processedNodes.add(v);continue}if(!(v instanceof yl&&o(v.name)))break;c.push(v),this.processedNodes.add(v)}}return c}categorizePropertyAttributes(e,t,o){const c=[],u=[];return t.forEach(v=>{const k=o[v.name];if(v.isLiteral)u.push(new ol(v.name,v.expression.source||"",v.sourceSpan,v.keySpan,v.valueSpan,k));else{const ae=v.name.toLowerCase().startsWith("attr.on"),me=this.bindingParser.createBoundElementProperty(e,v,!ae,!1);c.push(nc.fromBoundElementProperty(me,k))}}),{bound:c,literal:u}}prepareAttributes(e,t){const o=[],c=[],u=[],v=[],k=[],ae={},me=[],Ve=[];let it=!1;for(const Gt of e){let yn=!1,Un=!1;if(Gt.i18n&&(ae[Gt.name]=Gt.i18n),Gt.name.startsWith("*")){it&&this.reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",Gt.sourceSpan),Un=!0,it=!0;const ai=Gt.value,_i=Gt.name.substring(1),Wi=[],Wr=Gt.valueSpan?Gt.valueSpan.fullStart.offset:Gt.sourceSpan.fullStart.offset+Gt.name.length;this.bindingParser.parseInlineTemplateBinding(_i,ai,Gt.sourceSpan,Wr,[],me,Wi,!0),Ve.push(...Wi.map(Go=>new mt(Go.name,Go.value,Go.sourceSpan,Go.keySpan,Go.valueSpan)))}else yn=this.parseAttribute(t,Gt,[],o,c,u,v);!yn&&!Un&&k.push(this.visitAttribute(Gt))}return{attributes:k,boundEvents:c,references:v,variables:u,templateVariables:Ve,elementHasInlineTemplate:it,parsedProperties:o,templateParsedProperties:me,i18nAttrsMeta:ae}}parseAttribute(e,t,o,c,u,v,k){const ae=t.name,me=t.value,Ve=t.sourceSpan,it=t.valueSpan?t.valueSpan.fullStart.offset:Ve.fullStart.offset;function Gt(Wi,Wr,Go){const As=Wi.start.moveBy(Wr.length),Ep=As.moveBy(Go.length);return new mr(As,Ep,As,Go)}const yn=ae.match(gb);if(yn){if(null!=yn[1]){const Wi=yn[7],Wr=Gt(Ve,yn[1],Wi);this.bindingParser.parsePropertyBinding(Wi,me,!1,!1,Ve,it,t.valueSpan,o,c,Wr)}else if(yn[2])if(e){const Wi=yn[7],Wr=Gt(Ve,yn[2],Wi);this.parseVariable(Wi,me,Ve,Wr,t.valueSpan,v)}else this.reportError('"let-" is only supported on ng-template elements.',Ve);else if(yn[3]){const Wi=yn[7],Wr=Gt(Ve,yn[3],Wi);this.parseReference(Wi,me,Ve,Wr,t.valueSpan,k)}else if(yn[4]){const Wi=[],Wr=yn[7],Go=Gt(Ve,yn[4],Wr);this.bindingParser.parseEvent(Wr,me,!1,Ve,t.valueSpan||Ve,o,Wi,Go),qn(Wi,u)}else if(yn[5]){const Wi=yn[7],Wr=Gt(Ve,yn[5],Wi);this.bindingParser.parsePropertyBinding(Wi,me,!1,!0,Ve,it,t.valueSpan,o,c,Wr),this.parseAssignmentEvent(Wi,me,Ve,t.valueSpan,o,u,Wr,it)}else if(yn[6]){const Wi=Gt(Ve,"",ae);this.bindingParser.parseLiteralAttr(ae,me,Ve,it,t.valueSpan,o,c,Wi)}return!0}let Un=null;if(ae.startsWith(ie_BANANA_BOX.start)?Un=ie_BANANA_BOX:ae.startsWith(ie_PROPERTY.start)?Un=ie_PROPERTY:ae.startsWith(ie_EVENT.start)&&(Un=ie_EVENT),null!==Un&&ae.endsWith(Un.end)&&ae.length>Un.start.length+Un.end.length){const Wi=ae.substring(Un.start.length,ae.length-Un.end.length),Wr=Gt(Ve,Un.start,Wi);if(Un.start===ie_BANANA_BOX.start)this.bindingParser.parsePropertyBinding(Wi,me,!1,!0,Ve,it,t.valueSpan,o,c,Wr),this.parseAssignmentEvent(Wi,me,Ve,t.valueSpan,o,u,Wr,it);else if(Un.start===ie_PROPERTY.start)this.bindingParser.parsePropertyBinding(Wi,me,!1,!1,Ve,it,t.valueSpan,o,c,Wr);else{const Go=[];this.bindingParser.parseEvent(Wi,me,!1,Ve,t.valueSpan||Ve,o,Go,Wr),qn(Go,u)}return!0}const ai=Gt(Ve,"",ae);return this.bindingParser.parsePropertyInterpolation(ae,me,Ve,t.valueSpan,o,c,ai,t.valueTokens??null)}extractDirectives(e){const t=e instanceof Cc?e.tagName:e.name,o=[],c=new Set;for(const u of e.directives){let v=!1;for(const yn of u.attrs)yn.name.startsWith("*")?(v=!0,this.reportError(`Shorthand template syntax "${yn.name}" is not supported inside a directive context`,yn.sourceSpan)):Ut.has(yn.name)&&(v=!0,this.reportError(`Attribute "${yn.name}" is not supported in a directive context`,yn.sourceSpan));if(!v&&c.has(u.name)&&(v=!0,this.reportError(`Cannot apply directive "${u.name}" multiple times on the same element`,u.sourceSpan)),v)continue;const{attributes:k,parsedProperties:ae,boundEvents:me,references:Ve,i18nAttrsMeta:it}=this.prepareAttributes(u.attrs,!1);this.validateSelectorlessReferences(Ve);const{bound:Gt}=this.categorizePropertyAttributes(t,ae,it);for(const yn of Gt)yn.type!==ji.Property&&yn.type!==ji.TwoWay&&(v=!0,this.reportError("Binding is not supported in a directive context",yn.sourceSpan));v||(c.add(u.name),o.push(new si(u.name,k,Gt,me,Ve,u.sourceSpan,u.startSourceSpan,u.endSourceSpan,void 0)))}return o}filterAnimationAttributes(e){return e.filter(t=>!t.name.startsWith("animate."))}filterAnimationInputs(e){return e.filter(t=>t.type!==ji.Animation)}wrapInTemplate(e,t,o,c,u,v){const k=this.categorizePropertyAttributes("ng-template",t,c),ae=[];k.literal.forEach(Gt=>ae.push(Gt)),k.bound.forEach(Gt=>ae.push(Gt));const me={attributes:[],inputs:[],outputs:[]};(e instanceof io||e instanceof Vn)&&(me.attributes.push(...this.filterAnimationAttributes(e.attributes)),me.inputs.push(...this.filterAnimationInputs(e.inputs)),me.outputs.push(...e.outputs));const Ve=u&&v?void 0:e.i18n;let it;return it=e instanceof Vn?e.tagName:e instanceof Ci?null:e.name,new Ci(it,me.attributes,me.inputs,me.outputs,[],ae,[e],[],o,!1,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,Ve)}_visitTextWithInterpolation(e,t,o,c){const u=sp(e),v=this.bindingParser.parseInterpolation(u,t,o);return v?new aa(v,t,c):new Ys(u,t)}parseVariable(e,t,o,c,u,v){e.indexOf("-")>-1?this.reportError('"-" is not allowed in variable names',o):0===e.length&&this.reportError("Variable does not have a name",o),v.push(new mt(e,t,o,c,u))}parseReference(e,t,o,c,u,v){e.indexOf("-")>-1?this.reportError('"-" is not allowed in reference names',o):0===e.length?this.reportError("Reference does not have a name",o):v.some(k=>k.name===e)&&this.reportError(`Reference "#${e}" is defined more than once`,o),v.push(new ca(e,t,o,c,u))}parseAssignmentEvent(e,t,o,c,u,v,k,ae){const me=[];this.bindingParser.parseEvent(`${e}Change`,t,!0,o,c||o,u,me,k),qn(me,v)}validateSelectorlessReferences(e){if(0===e.length)return;const t=new Set;for(const o of e)o.value.length>0?this.reportError("Cannot specify a value for a local reference in this context",o.valueSpan||o.sourceSpan):t.has(o.name)?this.reportError("Duplicate reference names are not allowed",o.sourceSpan):t.add(o.name)}reportError(e,t,o=Pc.ERROR){this.errors.push(new Vi(t,e,o))}}const ei=new class $n{visitElement(e){const t=cb(e);if(t.type===$c.SCRIPT||t.type===$c.STYLE||t.type===$c.STYLESHEET)return null;const o=gr(this,e.children,null);return new io(e.name,gr(this,e.attrs),[],[],[],o,[],e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.isVoid)}visitComment(e){return null}visitAttribute(e){return new ol(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan,e.i18n)}visitText(e){return new Ys(e.value,e.sourceSpan)}visitExpansion(e){return null}visitExpansionCase(e){return null}visitBlock(e,t){const o=[new Ys(e.startSourceSpan.toString(),e.startSourceSpan),...gr(this,e.children)];return null!==e.endSourceSpan&&o.push(new Ys(e.endSourceSpan.toString(),e.endSourceSpan)),o}visitBlockParameter(e,t){return null}visitLetDeclaration(e,t){return new Ys(`@let ${e.name} = ${e.value};`,e.sourceSpan)}visitComponent(e,t){const o=gr(this,e.children,null);return new io(e.fullName,gr(this,e.attrs),[],[],[],o,[],e.isSelfClosing,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,!1)}visitDirective(e,t){return null}};function qn(n,e){e.push(...n.map(t=>za.fromParsedEvent(t)))}const Li=[" ","\n","\r","\t"];function Ir(n,e,t={}){const{preserveWhitespaces:o,enableI18nLegacyMessageIdFormat:c}=t,u=t.enableSelectorless??!1,v=zr(u),ae=(new GS).parse(n,e,{leadingTriviaChars:Li,...t,tokenizeExpansionForms:!0,tokenizeBlocks:t.enableBlockSyntax??!0,tokenizeLet:t.enableLetSyntax??!0,selectorlessEnabled:u});if(!t.alwaysAttemptHtmlToR3AstConversion&&ae.errors&&ae.errors.length>0){const As={preserveWhitespaces:o,errors:ae.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return t.collectCommentNodes&&(As.commentNodes=[]),As}let me=ae.rootNodes;const Ve=!(t.preserveSignificantWhitespace??1),it=new Lw(!o,c,t.preserveSignificantWhitespace,Ve),Gt=it.visitAllWithErrors(me);if(!t.alwaysAttemptHtmlToR3AstConversion&&Gt.errors&&Gt.errors.length>0){const As={preserveWhitespaces:o,errors:Gt.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return t.collectCommentNodes&&(As.commentNodes=[]),As}me=Gt.rootNodes,o||(me=gr(new Wm(!0,void 0,!1),me),it.hasI18nMeta&&(me=gr(new Lw(!1,void 0,!0,Ve),me)));const{nodes:yn,errors:Un,styleUrls:ai,styles:_i,ngContentSelectors:Wi,commentNodes:Wr}=function Qt(n,e,t){const o=new vn(e,t),v={nodes:gr(o,n,n),errors:e.errors.concat(o.errors),styleUrls:o.styleUrls,styles:o.styles,ngContentSelectors:o.ngContentSelectors};return t.collectCommentNodes&&(v.commentNodes=o.commentNodes),v}(me,v,{collectCommentNodes:!!t.collectCommentNodes});Un.push(...ae.errors,...Gt.errors);const Go={preserveWhitespaces:o,errors:Un.length>0?Un:null,nodes:yn,styleUrls:ai,styles:_i,ngContentSelectors:Wi};return t.collectCommentNodes&&(Go.commentNodes=Wr),Go}const Si=new Gu;function zr(n=!1){return new US(new we(new cp,n),Si,[])}const Zo="%COMP%",ro=`_nghost-${Zo}`,Ja=`_ngcontent-${Zo}`;function Aa(n,e,t){const o=new zo,c=ce(n.selector);return o.set("type",n.type.value),c.length>0&&o.set("selectors",da(c)),n.queries.length>0&&o.set("contentQueries",function KS(n,e,t){const o=[],c=[],u=ua(me=>c.push(me),"_t");let v=null,k=null;for(const me of n){const Ve=HS(me,e,[Xn("dirIndex")]);if(me.isSignal?(v??=Nn(yt.contentQuerySignal),v=v.callFn(Ve)):(k??=Nn(yt.contentQuery),k=k.callFn(Ve)),me.isSignal){c.push(zE);continue}const it=u(),Gt=Nn(yt.loadQuery).callFn([]),yn=Nn(yt.queryRefresh).callFn([it.set(Gt)]),Un=Xn(la).prop(me.propertyName).set(me.first?it.prop("first"):it);c.push(yn.and(Un).toStmt())}null!==v&&o.push(new kn(v)),null!==k&&o.push(new kn(k));const ae=t?`${t}_ContentQueries`:null;return Er([new Qi(Al,ln),new Qi(la,Y),new Qi("dirIndex",ln)],[J_(1,o),J_(2,sb(c))],fe,null,ae)}(n.queries,e,n.name)),n.viewQueries.length&&o.set("viewQuery",function zS(n,e,t){const o=[],c=[],u=ua(me=>c.push(me),"_t");let v=null,k=null;n.forEach(me=>{const Ve=HS(me,e);if(me.isSignal?(v??=Nn(yt.viewQuerySignal),v=v.callFn(Ve)):(k??=Nn(yt.viewQuery),k=k.callFn(Ve)),me.isSignal)return void c.push(zE);const it=u(),Gt=Nn(yt.loadQuery).callFn([]),yn=Nn(yt.queryRefresh).callFn([it.set(Gt)]),Un=Xn(la).prop(me.propertyName).set(me.first?it.prop("first"):it);c.push(yn.and(Un).toStmt())}),null!==v&&o.push(new kn(v)),null!==k&&o.push(new kn(k));const ae=t?`${t}_Query`:null;return Er([new Qi(Al,ln),new Qi(la,Y)],[J_(1,o),J_(2,sb(c))],fe,null,ae)}(n.viewQueries,e,n.name)),o.set("hostBindings",function ia(n,e,t,o,c,u,v,k){const ae=t.createBoundHostProperties(n.properties,e),me=t.createDirectiveHostEventAsts(n.listeners,e);n.specialAttributes.styleAttr&&(n.attributes.style=$t(n.specialAttributes.styleAttr)),n.specialAttributes.classAttr&&(n.attributes.class=$t(n.specialAttributes.classAttr));const Ve=function Mf(n,e,t){const o=new vm(n.componentName,t,Ba.DomOnly,n.legacyOptionalChaining);for(const c of n.properties??[]){let u=zi.Property;c.name.startsWith("attr.")&&(c.name=c.name.substring(5),u=zi.Attribute),c.isLegacyAnimation&&(u=zi.LegacyAnimation),c.isAnimation&&(u=zi.Animation),WS(o,c,u,Dh(e,n.componentSelector,c.name,u===zi.Attribute))}for(const[c,u]of Object.entries(n.attributes)??[])tb(o,c,u,Dh(e,n.componentSelector,c,!0));for(const c of n.events??[])NE(o,c);return o}({componentName:u,componentSelector:c,properties:ae,events:me,attributes:n.attributes,legacyOptionalChaining:k},t,o);OE(Ve,xi.Host),v.set("hostAttrs",Ve.root.attributes);const it=Ve.root.vars;return null!==it&&it>0&&v.set("hostVars",$t(it)),function G_(n){if(null===n.root.fnName)throw new Error("AssertionError: host binding function is unnamed");const e=[];for(const u of n.root.create){if(u.kind!==Ue.Statement)throw new Error(`AssertionError: expected all create ops to have been compiled, but got ${Ue[u.kind]}`);e.push(u.statement)}const t=[];for(const u of n.root.update){if(u.kind!==Ue.Statement)throw new Error(`AssertionError: expected all update ops to have been compiled, but got ${Ue[u.kind]}`);t.push(u.statement)}if(0===e.length&&0===t.length)return null;const o=lg(1,e),c=lg(2,t);return Er([new Qi(Al,ln),new Qi(la,Y)],[...o,...c],void 0,void 0,n.root.fnName)}(Ve)}(n.host,n.typeSourceSpan,t,e,n.selector||"",n.name,o,n.legacyOptionalChaining)),o.set("inputs",Ld(n.inputs,!0)),o.set("outputs",Ld(n.outputs)),null!==n.exportAs&&o.set("exportAs",Fi(n.exportAs.map(u=>$t(u)))),!1===n.isStandalone&&o.set("standalone",$t(!1)),n.isSignal&&o.set("signals",$t(!0)),o}function vp(n,e){const t=[],o=e.providers,c=e.viewProviders;if(o||c){const u=[o||new pn([])];c&&u.push(c),t.push(Nn(yt.ProvidersFeature).callFn(u))}if(e.hostDirectives?.length&&t.push(Nn(yt.HostDirectivesFeature).callFn([Hc(e.hostDirectives)])),e.usesInheritance&&t.push(Nn(yt.InheritDefinitionFeature)),e.lifecycle.usesOnChanges&&t.push(Nn(yt.NgOnChangesFeature)),null!==e.controlCreate&&t.push(Nn(yt.ControlFeature).callFn([$t(e.controlCreate.passThroughInput)])),"externalStyles"in e&&e.externalStyles?.length){const u=e.externalStyles.map(v=>$t(v));t.push(Nn(yt.ExternalStylesFeature).callFn([Fi(u)]))}t.length&&n.set("features",Fi(t))}function zl(n,e,t){const o=Aa(n,e,t);vp(o,n);const c=n.name;let u=null;if(1===n.defer.mode&&null!==n.defer.dependenciesFn){const Gt=`${c}_DeferFn`;e.statements.push(new Ot(Gt,n.defer.dependenciesFn,void 0,Gi.Final)),u=Xn(Gt)}const v=n.isStandalone&&!n.hasDirectiveDependencies?Ba.DomOnly:Ba.Full,k=function eb(n,e,t,o,c,u,v,k,ae,me,Ve,it){const Gt=new Su(n,t,o,c,u,v,k,ae,me,Ve,it);return Tu(Gt.root,e),Gt}(n.name,n.template.nodes,e,v,n.relativeContextFilePath,n.i18nUseExternalIds,n.defer,u,n.relativeTemplatePath,function $S(){return ob}(),n.legacyOptionalChaining,n.foreignImports);OE(k,xi.Tmpl);const ae=PE(k,e);if(null!==k.contentSelectors&&o.set("ngContentSelectors",k.contentSelectors),o.set("decls",$t(k.root.decls)),o.set("vars",$t(k.root.vars)),k.consts.length>0&&(k.constsInitializers.length>0?o.set("consts",Di([],[...k.constsInitializers,new In(Fi(k.consts))])):o.set("consts",Fi(k.consts))),o.set("template",ae),3!==n.declarationListEmitMode&&n.declarations.length>0)o.set("dependencies",function Mo(n,e){switch(e){case 0:return n;case 1:return Di([],n);case 2:return Di([],n.prop("map").callFn([Nn(yt.resolveForwardRef)]));case 3:throw new Error("Unsupported with an array of pre-resolved dependencies")}}(Fi(n.declarations.map(Gt=>Gt.type)),n.declarationListEmitMode));else if(3===n.declarationListEmitMode){const Gt=[n.type.value];n.rawImports&&Gt.push(n.rawImports),o.set("dependencies",Nn(yt.getComponentDepsFactory).callFn(Gt))}null===n.encapsulation&&(n.encapsulation=F.Emulated);let me=!!n.externalStyles?.length;if(n.styles&&n.styles.length){const Gt=n.styles.map(ai=>function Ub(n){return n.replace(Kg,(e,t,o,c)=>t||c?(t??"")+hs(o)+(c??""):e)}(ai)),Un=(n.encapsulation==F.Emulated?function fc(n,e,t){const o=new $h;return n.map(c=>o.shimCssText(c,e,t))}(Gt,Ja,ro):Gt).reduce((ai,_i)=>(_i.trim().length>0&&ai.push(e.getConstLiteral($t(_i))),ai),[]);Un.length>0&&(me=!0,o.set("styles",Fi(Un)))}!me&&n.encapsulation===F.Emulated&&(n.encapsulation=F.None),n.encapsulation!==F.Emulated&&o.set("encapsulation",$t(n.encapsulation)),null!==n.animations&&o.set("data",ir([{key:"animation",value:n.animations,quoted:!1}])),null!==n.changeDetection&&("number"==typeof n.changeDetection&&n.changeDetection!==$.OnPush?o.set("changeDetection",$t(n.changeDetection)):"object"==typeof n.changeDetection&&o.set("changeDetection",n.changeDetection));return{expression:Nn(yt.defineComponent).callFn([o.toLiteralMap()],void 0,!0),type:Th(n),statements:[]}}function Th(n){const e=au(n);return e.push(su(n.template.ngContentSelectors)),e.push(ur($t(n.isStandalone))),e.push(Hs(n)),n.isSignal&&e.push(ur($t(n.isSignal))),ur(Nn(yt.ComponentDeclaration,e))}function hc(n){return ur($t(n))}function Pd(n){return ir(Object.keys(n).map(t=>({key:t,value:$t(Array.isArray(n[t])?n[t][0]:n[t]),quoted:!0})))}function su(n){return n.length>0?ur(Fi(n.map(e=>$t(e)))):_t}function au(n){const e=null!==n.selector?n.selector.replace(/\n/g,""):null;return[wo(n.type.type,n.typeArgumentCount),null!==e?hc(e):_t,null!==n.exportAs?su(n.exportAs):_t,ur(kh(n)),ur(Pd(n.outputs)),su(n.queries.map(t=>t.propertyName))]}function kh(n){return ir(Object.keys(n.inputs).map(e=>{const t=n.inputs[e],o=[{key:"alias",value:$t(t.bindingPropertyName),quoted:!0},{key:"required",value:$t(t.required),quoted:!0}];return t.isSignal&&o.push({key:"isSignal",value:$t(t.isSignal),quoted:!0}),{key:e,value:ir(o),quoted:!0}}))}function jc(n){const e=au(n);return e.push(_t),e.push(ur($t(n.isStandalone))),e.push(Hs(n)),n.isSignal&&e.push(ur($t(n.isSignal))),ur(Nn(yt.DirectiveDeclaration,e))}function ku(n,e){const t=zr();return t.createDirectiveHostEventAsts(n.listeners,e),t.createBoundHostProperties(n.properties,e),function Jo(n,e,t){for(const o in n.properties){const c=o.startsWith("attr."),u=c?o.slice(5):o;if(u.toLowerCase().startsWith("on")){const v=c?"attribute":"property",k=`(${u.slice(2)})=...`;let ae=`Binding to event ${v} '${u}' is disallowed for security reasons, please use ${k}`;c||(ae+=`\nIf '${o}' is a directive input, make sure the directive is imported by the current module.`),e.errors.push(new Vi(t,ae))}}}(n,t,e),t.errors}function Hs(n){return n.hostDirectives?.length?ur(Fi(n.hostDirectives.map(e=>ir([{key:"directive",value:Pr(e.directive.type),quoted:!1},{key:"inputs",value:Pd(e.inputs||{}),quoted:!1},{key:"outputs",value:Pd(e.outputs||{}),quoted:!1}])))):_t}function Hc(n){const e=[];let t=!1;for(const o of n){if(o.inputs||o.outputs){const c=[{key:"directive",value:o.directive.type,quoted:!1}];if(o.inputs){const u=zc(o.inputs);u&&c.push({key:"inputs",value:u,quoted:!1})}if(o.outputs){const u=zc(o.outputs);u&&c.push({key:"outputs",value:u,quoted:!1})}e.push(ir(c))}else e.push(o.directive.type);o.isForwardReference&&(t=!0)}return t?new Cr([],[new In(Fi(e))]):Fi(e)}function zc(n){const e=[];for(const t in n)n.hasOwnProperty(t)&&e.push($t(t),$t(n[t]));return e.length>0?Fi(e):null}class Kl extends An{visit(e){e instanceof At?this.visit(e.ast):e.visit(this)}visitElement(e){this.visitAllTemplateNodes(e.attributes),this.visitAllTemplateNodes(e.inputs),this.visitAllTemplateNodes(e.outputs),this.visitAllTemplateNodes(e.directives),this.visitAllTemplateNodes(e.references),this.visitAllTemplateNodes(e.children)}visitTemplate(e){this.visitAllTemplateNodes(e.attributes),this.visitAllTemplateNodes(e.inputs),this.visitAllTemplateNodes(e.outputs),this.visitAllTemplateNodes(e.directives),this.visitAllTemplateNodes(e.templateAttrs),this.visitAllTemplateNodes(e.variables),this.visitAllTemplateNodes(e.references),this.visitAllTemplateNodes(e.children)}visitContent(e){this.visitAllTemplateNodes(e.children)}visitContentBlock(e){this.visitAllTemplateNodes(e.children)}visitBoundAttribute(e){this.visit(e.value)}visitBoundEvent(e){this.visit(e.handler)}visitBoundText(e){this.visit(e.value)}visitIcu(e){Object.keys(e.vars).forEach(t=>this.visit(e.vars[t])),Object.keys(e.placeholders).forEach(t=>this.visit(e.placeholders[t]))}visitDeferredBlock(e){e.visitAll(this)}visitDeferredTrigger(e){e instanceof vc?this.visit(e.value):e instanceof Ea&&null!==e.options&&this.visit(e.options)}visitDeferredBlockPlaceholder(e){this.visitAllTemplateNodes(e.children)}visitDeferredBlockError(e){this.visitAllTemplateNodes(e.children)}visitDeferredBlockLoading(e){this.visitAllTemplateNodes(e.children)}visitSwitchBlock(e){this.visit(e.expression),this.visitAllTemplateNodes(e.groups),e.exhaustiveCheck?.visit(this)}visitSwitchBlockCase(e){e.expression&&this.visit(e.expression)}visitSwitchBlockCaseGroup(e){this.visitAllTemplateNodes(e.cases),this.visitAllTemplateNodes(e.children)}visitSwitchExhaustiveCheck(e){}visitForLoopBlock(e){e.item.visit(this),this.visitAllTemplateNodes(e.contextVariables),this.visit(e.expression),this.visitAllTemplateNodes(e.children),e.empty?.visit(this)}visitForLoopBlockEmpty(e){this.visitAllTemplateNodes(e.children)}visitIfBlock(e){this.visitAllTemplateNodes(e.branches)}visitIfBlockBranch(e){e.expression&&this.visit(e.expression),e.expressionAlias?.visit(this),this.visitAllTemplateNodes(e.children)}visitLetDeclaration(e){this.visit(e.value)}visitComponent(e){this.visitAllTemplateNodes(e.attributes),this.visitAllTemplateNodes(e.inputs),this.visitAllTemplateNodes(e.outputs),this.visitAllTemplateNodes(e.directives),this.visitAllTemplateNodes(e.references),this.visitAllTemplateNodes(e.children)}visitDirective(e){this.visitAllTemplateNodes(e.attributes),this.visitAllTemplateNodes(e.inputs),this.visitAllTemplateNodes(e.outputs),this.visitAllTemplateNodes(e.references)}visitVariable(e){}visitReference(e){}visitTextAttribute(e){}visitText(e){}visitUnknownBlock(e){}visitAllTemplateNodes(e){for(const t of e)this.visit(t)}}var td;!function(n){n[n.Selector=0]="Selector",n[n.HostDirective=1]="HostDirective"}(td||(td={}));class Rd{forwardMap;reverseMap;constructor(e){this.forwardMap=e,this.reverseMap=function _b(n){const e=new Map;for(const[t,o]of n)e.has(o.bindingPropertyName)||e.set(o.bindingPropertyName,[]),e.get(o.bindingPropertyName).push(o);return e}(e)}static empty(){return new Rd(new Map)}static fromMappedObject(e){const t=new Map;for(const o of Object.keys(e)){const c=e[o];let u;u="string"==typeof c?{classPropertyName:o,bindingPropertyName:c,isSignal:!1}:c,t.set(o,u)}return new Rd(t)}static merge(e,t){const o=new Map(e.forwardMap.entries());for(const[c,u]of t.forwardMap)o.set(c,u);return new Rd(o)}get classPropertyNames(){return Array.from(this.forwardMap.keys())}get propertyNames(){return Array.from(this.reverseMap.keys())}hasBindingPropertyName(e){return this.reverseMap.has(e)}getByBindingPropertyName(e){return this.reverseMap.has(e)?this.reverseMap.get(e):null}getByClassPropertyName(e){return this.forwardMap.has(e)?this.forwardMap.get(e):null}toDirectMappedObject(){const e={};for(const[t,o]of this.forwardMap)e[t]=o.bindingPropertyName;return e}toJointMappedObject(e){const t={};for(const[o,c]of this.forwardMap)t[o]=e(c);return t}*[Symbol.iterator](){for(const e of this.forwardMap.values())yield e}}class vb{directiveMatcher;foreignComponentMatcher;constructor(e,t=null){this.directiveMatcher=e,this.foreignComponentMatcher=t}bind(e){if(!e.template&&!e.host)throw new Error("Empty bound targets are not supported");const t=new Map,o=new Map,c=[],u=new Set,v=new Map,k=new Map,ae=new Map,me=new Map,Ve=new Map,it=new Map,Gt=new Set,yn=new Set,Un=[],ai=new Map;if(e.template){const _i=hD.apply(e.template);(function pk(n,e){const t=new Map;function o(u){if(t.has(u.rootNode))return t.get(u.rootNode);const v=u.namedEntities;let k;return k=null!==u.parentScope?new Map([...o(u.parentScope),...v]):new Map(v),t.set(u.rootNode,k),k}const c=[n];for(;c.length>0;){const u=c.pop();for(const v of u.childScopes.values())c.push(v);o(u)}for(const[u,v]of t)e.set(u,new Set(v.values()))})(_i,ae),aw.apply(e.template,this.directiveMatcher,this.foreignComponentMatcher,t,o,c,u,v,k,ai),yb.applyWithScope(e.template,_i,me,Ve,it,Gt,yn,Un)}return e.host&&(t.set(e.host.node,e.host.directives),yb.applyWithScope(e.host.node,hD.apply(e.host.node),me,Ve,it,Gt,yn,Un)),new dk(e,t,o,c,u,v,k,me,Ve,it,ae,Gt,yn,Un,ai)}}let hD=class AC{parentScope;rootNode;namedEntities=new Map;elementLikeInScope=new Set;childScopes=new Map;isDeferred;constructor(e,t){this.parentScope=e,this.rootNode=t,this.isDeferred=!(null===e||!e.isDeferred)||t instanceof bc}static newRootScope(){return new AC(null,null)}static apply(e){const t=AC.newRootScope();return t.ingest(e),t}ingest(e){e instanceof Ci?(e.variables.forEach(t=>this.visitVariable(t)),e.children.forEach(t=>t.visit(this))):e instanceof Nt?(null!==e.expressionAlias&&this.visitVariable(e.expressionAlias),e.children.forEach(t=>t.visit(this))):e instanceof ne?(this.visitVariable(e.item),e.contextVariables.forEach(t=>this.visitVariable(t)),e.children.forEach(t=>t.visit(this))):e instanceof le||e instanceof Ne||e instanceof bc||e instanceof yc||e instanceof Nd||e instanceof Oc||e instanceof ic||e instanceof Sr?e.children.forEach(t=>t.visit(this)):e instanceof Gr||e.forEach(t=>t.visit(this))}visitElement(e){this.visitElementLike(e)}visitTemplate(e){e.directives.forEach(t=>t.visit(this)),e.references.forEach(t=>this.visitReference(t)),this.ingestScopedNode(e)}visitVariable(e){this.maybeDeclare(e)}visitReference(e){this.maybeDeclare(e)}visitDeferredBlock(e){this.ingestScopedNode(e),e.placeholder?.visit(this),e.loading?.visit(this),e.error?.visit(this)}visitDeferredBlockPlaceholder(e){this.ingestScopedNode(e)}visitDeferredBlockError(e){this.ingestScopedNode(e)}visitDeferredBlockLoading(e){this.ingestScopedNode(e)}visitSwitchBlock(e){e.groups.forEach(t=>t.visit(this))}visitSwitchBlockCase(e){}visitSwitchBlockCaseGroup(e){this.ingestScopedNode(e)}visitSwitchExhaustiveCheck(e){}visitForLoopBlock(e){this.ingestScopedNode(e),e.empty?.visit(this)}visitForLoopBlockEmpty(e){this.ingestScopedNode(e)}visitIfBlock(e){e.branches.forEach(t=>t.visit(this))}visitIfBlockBranch(e){this.ingestScopedNode(e)}visitContent(e){this.ingestScopedNode(e)}visitContentBlock(e){this.ingestScopedNode(e)}visitLetDeclaration(e){this.maybeDeclare(e)}visitComponent(e){this.visitElementLike(e)}visitDirective(e){e.references.forEach(t=>this.visitReference(t))}visitBoundAttribute(e){}visitBoundEvent(e){}visitBoundText(e){}visitText(e){}visitTextAttribute(e){}visitIcu(e){}visitDeferredTrigger(e){}visitUnknownBlock(e){}visitElementLike(e){e.directives.forEach(t=>t.visit(this)),e.references.forEach(t=>this.visitReference(t)),e.children.forEach(t=>t.visit(this)),this.elementLikeInScope.add(e)}maybeDeclare(e){this.namedEntities.has(e.name)||this.namedEntities.set(e.name,e)}lookup(e){return this.namedEntities.has(e)?this.namedEntities.get(e):null!==this.parentScope?this.parentScope.lookup(e):null}getChildScope(e){const t=this.childScopes.get(e);if(void 0===t)throw new Error(`Assertion error: child scope for ${e} not found`);return t}ingestScopedNode(e){const t=new AC(this,e);t.ingest(e),this.childScopes.set(e,t)}};class aw{directiveMatcher;foreignMatcher;directives;foreignComponents;eagerDirectives;missingDirectives;bindings;references;conflictingHostDirectiveBindings;isInDeferBlock=!1;constructor(e,t,o,c,u,v,k,ae,me){this.directiveMatcher=e,this.foreignMatcher=t,this.directives=o,this.foreignComponents=c,this.eagerDirectives=u,this.missingDirectives=v,this.bindings=k,this.references=ae,this.conflictingHostDirectiveBindings=me}static apply(e,t,o,c,u,v,k,ae,me,Ve){new aw(t,o,c,u,v,k,ae,me,Ve).ingest(e)}ingest(e){e.forEach(t=>t.visit(this))}visitElement(e){this.visitElementOrTemplate(e)}visitTemplate(e){this.visitElementOrTemplate(e)}visitDeferredBlock(e){const t=this.isInDeferBlock;this.isInDeferBlock=!0,e.children.forEach(o=>o.visit(this)),this.isInDeferBlock=t,e.placeholder?.visit(this),e.loading?.visit(this),e.error?.visit(this)}visitDeferredBlockPlaceholder(e){e.children.forEach(t=>t.visit(this))}visitDeferredBlockError(e){e.children.forEach(t=>t.visit(this))}visitDeferredBlockLoading(e){e.children.forEach(t=>t.visit(this))}visitSwitchBlock(e){e.groups.forEach(t=>t.visit(this))}visitSwitchBlockCase(e){}visitSwitchBlockCaseGroup(e){e.children.forEach(t=>t.visit(this))}visitSwitchExhaustiveCheck(e){}visitForLoopBlock(e){e.item.visit(this),e.contextVariables.forEach(t=>t.visit(this)),e.children.forEach(t=>t.visit(this)),e.empty?.visit(this)}visitForLoopBlockEmpty(e){e.children.forEach(t=>t.visit(this))}visitIfBlock(e){e.branches.forEach(t=>t.visit(this))}visitIfBlockBranch(e){e.expressionAlias?.visit(this),e.children.forEach(t=>t.visit(this))}visitContent(e){e.children.forEach(t=>t.visit(this))}visitContentBlock(e){e.children.forEach(t=>t.visit(this))}visitComponent(e){if(this.directiveMatcher instanceof y){const t=this.directiveMatcher.match(e.componentName);t.length>0?this.trackSelectorlessMatchesAndDirectives(e,t):this.missingDirectives.add(e.componentName)}e.directives.forEach(t=>t.visit(this)),e.children.forEach(t=>t.visit(this))}visitDirective(e){if(this.directiveMatcher instanceof y){const t=this.directiveMatcher.match(e.name);t.length>0?this.trackSelectorlessMatchesAndDirectives(e,t):this.missingDirectives.add(e.name)}}visitElementOrTemplate(e){const t=[];if(this.directiveMatcher instanceof f){const o=Pg(e);this.directiveMatcher.match(o,(c,u)=>t.push(...u)),this.trackSelectorBasedBindingsAndDirectives(e,t)}else e.references.forEach(o=>{""===o.value.trim()&&this.references.set(o,e)});if(this.foreignMatcher&&e instanceof io){const o=this.foreignMatcher.match(e.name);if(o.length>0){if(t.length>0)throw new Error(`Conflict: Element '${e.name}' matches both an Angular directive and a foreign component.`);this.foreignComponents.set(e,o[0])}}e.directives.forEach(o=>o.visit(this)),e.children.forEach(o=>o.visit(this))}trackMatchedDirectives(e,t){if(t.length>0){const o=this.dedupeAndMergeDirectives(e,t);this.directives.set(e,o),this.isInDeferBlock||this.eagerDirectives.push(...o)}}dedupeAndMergeDirectives(e,t){if(0===t.length||t.every(v=>v.matchSource===td.Selector))return t;const o=new Set,c=new Map,u=new Map;for(const v of t)v.matchSource===td.Selector?o.add(v.ref.key):(c.has(v.ref.key)||c.set(v.ref.key,[]),c.get(v.ref.key).push(v));for(const[v,k]of c.entries()){if(o.has(v))continue;if(1===k.length){u.set(v,k[0]);continue}const ae={},me={};for(const Ve of k)this.mergeMapping(e,Ve,"input",ae,Ve.inputs),this.mergeMapping(e,Ve,"output",me,Ve.outputs);u.set(v,{...k[0],inputs:Rd.fromMappedObject(ae),outputs:Rd.fromMappedObject(me)})}return t.reduce((v,k)=>(k.matchSource===td.Selector?v.push(k):u.has(k.ref.key)&&(v.push(u.get(k.ref.key)),u.delete(k.ref.key)),v),[])}mergeMapping(e,t,o,c,u){for(const v of u){const k=c[v.classPropertyName];if(!k){c[v.classPropertyName]=v;continue}if(k.bindingPropertyName===v.bindingPropertyName&&k.classPropertyName===v.classPropertyName&&k.isSignal===v.isSignal)continue;this.conflictingHostDirectiveBindings.has(e)||this.conflictingHostDirectiveBindings.set(e,[]);const ae=this.conflictingHostDirectiveBindings.get(e);let me=ae.find(Ve=>Ve.directive.ref.key===t.ref.key&&Ve.kind===o&&Ve.classPropertyName===v.classPropertyName);me||(me={directive:t,kind:o,classPropertyName:k.classPropertyName,conflictingAliases:new Set([k.bindingPropertyName])},ae.push(me)),me.conflictingAliases.add(v.bindingPropertyName)}}trackSelectorlessMatchesAndDirectives(e,t){if(0===t.length)return;this.trackMatchedDirectives(e,t);const o=(c,u,v)=>{c[v].hasBindingPropertyName(u.name)&&this.bindings.set(u,c)};for(const c of t)e.inputs.forEach(u=>o(c,u,"inputs")),e.attributes.forEach(u=>o(c,u,"inputs")),e.outputs.forEach(u=>o(c,u,"outputs"));e.references.forEach(c=>this.references.set(c,{directive:t[0],node:e}))}trackSelectorBasedBindingsAndDirectives(e,t){this.trackMatchedDirectives(e,t),e.references.forEach(c=>{let u=null;if(""===c.value.trim())u=t.find(v=>v.isComponent)||null;else if(u=t.find(v=>null!==v.exportAs&&v.exportAs.some(k=>k===c.value))||null,null===u)return;null!==u?this.references.set(c,{directive:u,node:e}):this.references.set(c,e)});const o=(c,u)=>{const v=t.find(ae=>ae[u].hasBindingPropertyName(c.name)),k=void 0!==v?v:e;this.bindings.set(c,k)};e.inputs.forEach(c=>o(c,"inputs")),e.attributes.forEach(c=>o(c,"inputs")),e instanceof Ci&&e.templateAttrs.forEach(c=>o(c,"inputs")),e.outputs.forEach(c=>o(c,"outputs"))}visitVariable(e){}visitReference(e){}visitTextAttribute(e){}visitBoundAttribute(e){}visitBoundEvent(e){}visitBoundAttributeOrEvent(e){}visitText(e){}visitBoundText(e){}visitIcu(e){}visitDeferredTrigger(e){}visitUnknownBlock(e){}visitLetDeclaration(e){}}class yb extends Kl{bindings;symbols;usedPipes;eagerPipes;deferBlocks;nestingLevel;scope;rootNode;level;visitNode=e=>e.visit(this);constructor(e,t,o,c,u,v,k,ae,me){super(),this.bindings=e,this.symbols=t,this.usedPipes=o,this.eagerPipes=c,this.deferBlocks=u,this.nestingLevel=v,this.scope=k,this.rootNode=ae,this.level=me}static applyWithScope(e,t,o,c,u,v,k,ae){new yb(o,c,v,k,ae,u,t,e instanceof Ci?e:null,0).ingest(e)}ingest(e){if(e instanceof Ci)e.variables.forEach(this.visitNode),e.children.forEach(this.visitNode),this.nestingLevel.set(e,this.level);else if(e instanceof Nt)null!==e.expressionAlias&&this.visitNode(e.expressionAlias),e.children.forEach(this.visitNode),this.nestingLevel.set(e,this.level);else if(e instanceof ne)this.visitNode(e.item),e.contextVariables.forEach(t=>this.visitNode(t)),e.trackBy?.visit(this),e.children.forEach(this.visitNode),this.nestingLevel.set(e,this.level);else if(e instanceof bc){if(this.scope.rootNode!==e)throw new Error(`Assertion error: resolved incorrect scope for deferred block ${e}`);this.deferBlocks.push([e,this.scope]),e.children.forEach(t=>t.visit(this)),this.nestingLevel.set(e,this.level)}else e instanceof le||e instanceof Ne||e instanceof yc||e instanceof Nd||e instanceof Oc||e instanceof ic||e instanceof Sr?(e.children.forEach(t=>t.visit(this)),this.nestingLevel.set(e,this.level)):e instanceof Gr?this.nestingLevel.set(e,0):e.forEach(this.visitNode)}visitTemplate(e){e.inputs.forEach(this.visitNode),e.outputs.forEach(this.visitNode),e.directives.forEach(this.visitNode),e.templateAttrs.forEach(this.visitNode),e.references.forEach(this.visitNode),this.ingestScopedNode(e)}visitVariable(e){null!==this.rootNode&&this.symbols.set(e,this.rootNode)}visitReference(e){null!==this.rootNode&&this.symbols.set(e,this.rootNode)}visitDeferredBlock(e){this.ingestScopedNode(e),e.triggers.when?.value.visit(this),e.prefetchTriggers.when?.value.visit(this),e.hydrateTriggers.when?.value.visit(this),e.hydrateTriggers.never?.visit(this),e.placeholder&&this.visitNode(e.placeholder),e.loading&&this.visitNode(e.loading),e.error&&this.visitNode(e.error)}visitDeferredBlockPlaceholder(e){this.ingestScopedNode(e)}visitDeferredBlockError(e){this.ingestScopedNode(e)}visitDeferredBlockLoading(e){this.ingestScopedNode(e)}visitSwitchBlockCase(e){e.expression?.visit(this)}visitSwitchBlockCaseGroup(e){e.cases.forEach(t=>t.visit(this)),this.ingestScopedNode(e)}visitSwitchExhaustiveCheck(e){e.expression?.visit(this)}visitForLoopBlock(e){e.expression.visit(this),this.ingestScopedNode(e),e.empty?.visit(this)}visitForLoopBlockEmpty(e){this.ingestScopedNode(e)}visitIfBlockBranch(e){e.expression?.visit(this),this.ingestScopedNode(e)}visitContent(e){this.ingestScopedNode(e)}visitContentBlock(e){this.ingestScopedNode(e)}visitLetDeclaration(e){super.visitLetDeclaration(e),null!==this.rootNode&&this.symbols.set(e,this.rootNode)}visitPipe(e,t){return this.usedPipes.add(e.name),this.scope.isDeferred||this.eagerPipes.add(e.name),super.visitPipe(e,t)}visitPropertyRead(e,t){return this.maybeMap(e,e.name),super.visitPropertyRead(e,t)}visitSafePropertyRead(e,t){return this.maybeMap(e,e.name),super.visitSafePropertyRead(e,t)}ingestScopedNode(e){const t=this.scope.getChildScope(e);new yb(this.bindings,this.symbols,this.usedPipes,this.eagerPipes,this.deferBlocks,this.nestingLevel,t,e,this.level+1).ingest(e)}maybeMap(e,t){if(!(e.receiver instanceof hi))return;const o=this.scope.lookup(t);null!==o&&this.bindings.set(e,o)}}class dk{target;directives;foreignComponents;eagerDirectives;missingDirectives;bindings;references;exprTargets;symbols;nestingLevel;scopedNodeEntities;usedPipes;eagerPipes;conflictingHostDirectiveBindings;deferredBlocks;deferredScopes;constructor(e,t,o,c,u,v,k,ae,me,Ve,it,Gt,yn,Un,ai){this.target=e,this.directives=t,this.foreignComponents=o,this.eagerDirectives=c,this.missingDirectives=u,this.bindings=v,this.references=k,this.exprTargets=ae,this.symbols=me,this.nestingLevel=Ve,this.scopedNodeEntities=it,this.usedPipes=Gt,this.eagerPipes=yn,this.conflictingHostDirectiveBindings=ai,this.deferredBlocks=Un.map(_i=>_i[0]),this.deferredScopes=new Map(Un)}getEntitiesInScope(e){return this.scopedNodeEntities.get(e)??new Set}getDirectivesOfNode(e){return this.directives.get(e)||null}getForeignComponent(e){return this.foreignComponents.get(e)||null}getReferenceTarget(e){return this.references.get(e)||null}getConsumerOfBinding(e){return this.bindings.get(e)||null}getExpressionTarget(e){return this.exprTargets.get(e)||null}getDefinitionNodeOfSymbol(e){return this.symbols.get(e)||null}getNestingLevel(e){return this.nestingLevel.get(e)||0}getUsedDirectives(){const e=new Set;return this.directives.forEach(t=>t.forEach(o=>e.add(o))),Array.from(e.values())}getEagerlyUsedDirectives(){const e=new Set(this.eagerDirectives);return Array.from(e.values())}getUsedPipes(){return Array.from(this.usedPipes)}getEagerlyUsedPipes(){return Array.from(this.eagerPipes)}getDeferBlocks(){return this.deferredBlocks}getDeferredTriggerTarget(e,t){if(!(t instanceof qo||t instanceof Ea||t instanceof Xl))return null;const o=t.reference;if(null===o){let u=null;if(null!==e.placeholder)for(const v of e.placeholder.children)if(!(v instanceof ba)){if(null!==u)return null;v instanceof io&&(u=v)}return u}const c=this.findEntityInScope(e,o);if(c instanceof ca&&this.getDefinitionNodeOfSymbol(c)!==e){const u=this.getReferenceTarget(c);if(null!==u)return this.referenceTargetToElement(u)}if(null!==e.placeholder){const u=this.findEntityInScope(e.placeholder,o),v=u instanceof ca?this.getReferenceTarget(u):null;if(null!==v)return this.referenceTargetToElement(v)}return null}isDeferred(e){for(const t of this.deferredBlocks){if(!this.deferredScopes.has(t))continue;const o=[this.deferredScopes.get(t)];for(;o.length>0;){const c=o.pop();if(c.elementLikeInScope.has(e))return!0;o.push(...c.childScopes.values())}}return!1}referencedDirectiveExists(e){return!this.missingDirectives.has(e)}getConflictingHostDirectiveBindings(e){return this.conflictingHostDirectiveBindings.get(e)||null}findEntityInScope(e,t){const o=this.getEntitiesInScope(e);for(const c of o)if(c.name===t)return c;return null}referenceTargetToElement(e){return e instanceof io?e:e instanceof Ci||e.node instanceof Vn||e.node instanceof si||e.node instanceof Gr?null:this.referenceTargetToElement(e.node)}}class NC{}function LC(n,e){const t=new zo;return t.set("token",n.type.value),t.set("factory",void 0===n.factory?Ft(n.type.value,n.type.value,e):Di([],n.factory.callFn([]))),!1===n.autoProvided&&t.set("autoProvided",$t(!1)),{expression:Nn(yt.defineService).callFn([t.toLiteralMap()],void 0,!0),type:Xe(n.type.type,n.typeArgumentCount),statements:[]}}class fD{jitEvaluator;FactoryTarget=Le;ResourceLoader=NC;elementSchemaRegistry=new Gu;constructor(e=new Pb){this.jitEvaluator=e}compilePipe(e,t,o){const u=im({name:o.name,type:so(o.type),typeArgumentCount:0,pipeName:o.pipeName,pure:o.pure,isStandalone:o.isStandalone});return this.jitExpression(u.expression,e,t,[])}compilePipeDeclaration(e,t,o){const c=function GC(n){return{name:n.type.name,type:so(n.type),typeArgumentCount:0,pipeName:n.name,deps:null,pure:n.pure??!0,isStandalone:n.isStandalone??jo(n.version)}}(o),u=im(c);return this.jitExpression(u.expression,e,t,[])}compileInjectable(e,t,o){const{expression:c,statements:u}=ge({name:o.name,type:so(o.type),typeArgumentCount:o.typeArgumentCount,providedIn:ox(o.providedIn),useClass:hv(o,"useClass"),useFactory:wb(o,"useFactory"),useValue:hv(o,"useValue"),useExisting:hv(o,"useExisting"),deps:o.deps?.map(sx)},!0);return this.jitExpression(c,e,t,u)}compileInjectableDeclaration(e,t,o){const{expression:c,statements:u}=ge({name:o.type.name,type:so(o.type),typeArgumentCount:0,providedIn:ox(o.providedIn),useClass:hv(o,"useClass"),useFactory:wb(o,"useFactory"),useValue:hv(o,"useValue"),useExisting:hv(o,"useExisting"),deps:o.deps?.map(yD)},!0);return this.jitExpression(c,e,t,u)}compileInjector(e,t,o){const u=tm({type:so(o.type),providers:o.providers&&o.providers.length>0?new mn(o.providers):null,imports:o.imports.map(v=>new mn(v))});return this.jitExpression(u.expression,e,t,[])}compileInjectorDeclaration(e,t,o){const c=function XC(n){return{name:n.type.name,type:so(n.type),providers:void 0!==n.providers&&n.providers.length>0?new mn(n.providers):null,imports:void 0!==n.imports?n.imports.map(e=>new mn(e)):[]}}(o),u=tm(c);return this.jitExpression(u.expression,e,t,[])}compileNgModule(e,t,o){const u=ld({kind:xa.Global,type:so(o.type),bootstrap:o.bootstrap.map(so),declarations:o.declarations.map(so),publicDeclarationTypes:null,imports:o.imports.map(so),includeImportTypes:!0,exports:o.exports.map(so),selectorScopeMode:Wd.Inline,containsForwardDecls:!1,schemas:o.schemas?o.schemas.map(so):null,id:o.id?new mn(o.id):null});return this.jitExpression(u.expression,e,t,[])}compileNgModuleDeclaration(e,t,o){const c=function Rb(n){const e=new zo;return e.set("type",new mn(n.type)),void 0!==n.bootstrap&&e.set("bootstrap",new mn(n.bootstrap)),void 0!==n.declarations&&e.set("declarations",new mn(n.declarations)),void 0!==n.imports&&e.set("imports",new mn(n.imports)),void 0!==n.exports&&e.set("exports",new mn(n.exports)),void 0!==n.schemas&&e.set("schemas",new mn(n.schemas)),void 0!==n.id&&e.set("id",new mn(n.id)),Nn(yt.defineNgModule).callFn([e.toLiteralMap()])}(o);return this.jitExpression(c,e,t,[])}compileDirective(e,t,o){const c=ix(o);return this.compileDirectiveFromMeta(e,t,c)}compileDirectiveDeclaration(e,t,o){const u=pv(o,this.createParseSourceSpan("Directive",o.type.name,t));return this.compileDirectiveFromMeta(e,t,u)}compileService(e,t,o){const{expression:c,statements:u}=LC({type:so(o.type),typeArgumentCount:o.typeArgumentCount,autoProvided:o.autoProvided,factory:o.factory?wb(o,"factory"):void 0},!0);return this.jitExpression(c,e,t,u)}compileServiceDeclaration(e,t,o){const{expression:c,statements:u}=LC({type:so(o.type),typeArgumentCount:0,autoProvided:o.autoProvided,factory:o.factory?wb(o,"factory"):void 0},!0);return this.jitExpression(c,e,t,u)}compileDirectiveFromMeta(e,t,o){const c=new Wn,v=function ou(n,e,t){const o=Aa(n,e,t);return vp(o,n),{expression:Nn(yt.defineDirective).callFn([o.toLiteralMap()],void 0,!0),type:jc(n),statements:[]}}(o,c,zr());return this.jitExpression(v.expression,e,t,c.statements)}compileComponent(e,t,o){const{template:c,defer:u}=Eb(o.template,o.name,t,o.preserveWhitespaces,void 0),v={...o,...ix(o),selector:o.selector||this.elementSchemaRegistry.getDefaultComponentElementName(),template:c,declarations:o.declarations.map(hk),declarationListEmitMode:0,defer:u,styles:[...o.styles,...c.styles],encapsulation:o.encapsulation,changeDetection:o.changeDetection??null,animations:null!=o.animations?new mn(o.animations):null,viewProviders:null!=o.viewProviders?new mn(o.viewProviders):null,relativeContextFilePath:"",i18nUseExternalIds:!0,relativeTemplatePath:null,foreignImports:null},k=`ng:///${o.name}.js`;return this.compileComponentFromMeta(e,k,v)}compileComponentDeclaration(e,t,o){const u=function UC(n,e,t){const{template:o,defer:c}=Eb(n.template,n.type.name,t,n.preserveWhitespaces??!1,n.deferBlockDependencies),u=[];if(n.dependencies)for(const k of n.dependencies)switch(k.kind){case"directive":case"component":u.push(rx(k));break;case"pipe":u.push(WC(k));break;case"ngmodule":u.push(VC(k))}else(n.components||n.directives||n.pipes)&&(n.components&&u.push(...n.components.map(k=>rx(k,!0))),n.directives&&u.push(...n.directives.map(k=>rx(k))),n.pipes&&u.push(...function vD(n){return n?Object.keys(n).map(e=>({kind:Zc.Pipe,name:e,type:new mn(n[e])})):[]}(n.pipes)));const v=u.some(({kind:k})=>k===Zc.Directive||k===Zc.NgModule);return{...pv(n,e),template:o,styles:n.styles??[],declarations:u,viewProviders:void 0!==n.viewProviders?new mn(n.viewProviders):null,animations:void 0!==n.animations?new mn(n.animations):null,defer:c,changeDetection:n.changeDetection??$.OnPush,encapsulation:n.encapsulation??F.Emulated,declarationListEmitMode:2,relativeContextFilePath:"",i18nUseExternalIds:!0,relativeTemplatePath:null,hasDirectiveDependencies:v,legacyOptionalChaining:n.legacyOptionalChaining??Fn,foreignImports:null}}(o,this.createParseSourceSpan("Component",o.type.name,t),t);return this.compileComponentFromMeta(e,t,u)}compileComponentFromMeta(e,t,o){const c=new Wn,v=zl(o,c,zr());return this.jitExpression(v.expression,e,t,c.statements)}compileFactory(e,t,o){const c=Gs({name:o.name,type:so(o.type),typeArgumentCount:o.typeArgumentCount,deps:$C(o.deps),target:o.target});return this.jitExpression(c.expression,e,t,c.statements)}compileFactoryDeclaration(e,t,o){const c=Gs({name:o.type.name,type:so(o.type),typeArgumentCount:0,deps:Array.isArray(o.deps)?o.deps.map(yD):o.deps,target:o.target});return this.jitExpression(c.expression,e,t,c.statements)}createParseSourceSpan(e,t,o){return function Ab(n,e,t){const c=new Wh("",`in ${n} ${e} in ${t}`);return new mr(new Us(c,-1,-1,-1),new Us(c,-1,-1,-1))}(e,t,o)}jitExpression(e,t,o,c){const u=[...c,new Ot("$def",e,void 0,Gi.Exported)];return this.jitEvaluator.evaluateStatements(o,u,new Vh(t),!0).$def}}function bb(n){return{...n,isSignal:n.isSignal,predicate:gD(n.predicate),read:n.read?new mn(n.read):null,static:n.static,emitDistinctChangesOnly:n.emitDistinctChangesOnly}}function mD(n){return{propertyName:n.propertyName,first:n.first??!1,predicate:gD(n.predicate),descendants:n.descendants??!1,read:n.read?new mn(n.read):null,static:n.static??!1,emitDistinctChangesOnly:n.emitDistinctChangesOnly??!0,isSignal:!!n.isSignal}}function gD(n){return Array.isArray(n)?n:Ks(new mn(n),1)}function ix(n){const e=function cx(n){return n.reduce((e,t)=>{if("string"==typeof t){const[o,c]=SD(t);e[c]={bindingPropertyName:o,classPropertyName:c,required:!1,isSignal:!1,transformFunction:null}}else e[t.name]={bindingPropertyName:t.alias||t.name,classPropertyName:t.name,required:t.required||!1,isSignal:!1,transformFunction:null!=t.transform?new mn(t.transform):null};return e},{})}(n.inputs||[]),t=lw(n.outputs||[]),o=n.propMetadata,c={},u={};for(const k in o)o.hasOwnProperty(k)&&o[k].forEach(ae=>{zC(ae)?c[k]={bindingPropertyName:ae.alias||k,classPropertyName:k,required:ae.required||!1,isSignal:!!ae.isSignal,transformFunction:null!=ae.transform?new mn(ae.transform):null}:KC(ae)&&(u[k]=ae.alias||k)});const v=n.hostDirectives?.length?n.hostDirectives.map(k=>"function"==typeof k?{directive:so(k),inputs:null,outputs:null,isForwardReference:!1}:{directive:so(k.directive),isForwardReference:!1,inputs:k.inputs?lw(k.inputs):null,outputs:k.outputs?lw(k.outputs):null}):null;return{...n,typeArgumentCount:0,typeSourceSpan:n.typeSourceSpan,type:so(n.type),deps:null,host:{...bD(n.propMetadata,n.typeSourceSpan,n.host)},inputs:{...e,...c},outputs:{...t,...u},queries:n.queries.map(bb),providers:null!=n.providers?new mn(n.providers):null,viewQueries:n.viewQueries.map(bb),hostDirectives:v}}function pv(n,e){const t=n.hostDirectives?.length?n.hostDirectives.map(o=>({directive:so(o.directive),isForwardReference:!1,inputs:o.inputs?_D(o.inputs):null,outputs:o.outputs?_D(o.outputs):null})):null;return{name:n.type.name,type:so(n.type),typeSourceSpan:e,selector:n.selector??null,inputs:n.inputs?ax(n.inputs):{},outputs:n.outputs??{},host:BC(n.host),queries:(n.queries??[]).map(mD),viewQueries:(n.viewQueries??[]).map(mD),providers:void 0!==n.providers?new mn(n.providers):null,exportAs:n.exportAs??null,usesInheritance:n.usesInheritance??!1,controlCreate:n.controlCreate??null,lifecycle:{usesOnChanges:n.usesOnChanges??!1},deps:null,typeArgumentCount:0,isStandalone:n.isStandalone??jo(n.version),isSignal:n.isSignal??!1,hostDirectives:t,legacyOptionalChaining:n.legacyOptionalChaining??Fn}}function BC(n={}){return{attributes:FC(n.attributes??{}),listeners:n.listeners??{},properties:n.properties??{},specialAttributes:{classAttr:n.classAttribute,styleAttr:n.styleAttribute}}}function _D(n){let e=null;for(let t=1;t<n.length;t+=2)e=e||{},e[n[t-1]]=n[t];return e}function FC(n){const e={};for(const t of Object.keys(n))e[t]=new mn(n[t]);return e}function hk(n){return{...n,type:new mn(n.type)}}function rx(n,e=null){return{kind:Zc.Directive,isComponent:e||"component"===n.kind,selector:n.selector,type:new mn(n.type),inputs:n.inputs??[],outputs:n.outputs??[],exportAs:n.exportAs??null}}function WC(n){return{kind:Zc.Pipe,name:n.name,type:new mn(n.type)}}function VC(n){return{kind:Zc.NgModule,type:new mn(n.type)}}function Eb(n,e,t,o,c){const u=Ir(n,t,{preserveWhitespaces:o});if(null!==u.errors){const ae=u.errors.map(me=>me.toString()).join(", ");throw new Error(`Errors during JIT compilation of template for ${e}: ${ae}`)}return{template:u,defer:jC(new vb(null).bind({template:u.nodes}),c)}}function hv(n,e){if(n.hasOwnProperty(e))return Ks(new mn(n[e]),0)}function wb(n,e){if(n.hasOwnProperty(e))return new mn(n[e])}function ox(n){return Ks("function"==typeof n?new mn(n):new ui(n??null),0)}function $C(n){return null==n?null:n.map(sx)}function sx(n){const e=null!=n.attribute,t=null===n.token?null:new mn(n.token);return cw(e?new mn(n.attribute):t,e,n.host,n.optional,n.self,n.skipSelf)}function yD(n){const e=n.attribute??!1;return cw(null===n.token?null:new mn(n.token),e,n.host??!1,n.optional??!1,n.self??!1,n.skipSelf??!1)}function cw(n,e,t,o,c,u){return{token:n,attributeNameType:e?$t("unknown"):null,host:t,optional:o,self:c,skipSelf:u}}function jC(n,e){const t=n.getDeferBlocks(),o=new Map;for(let c=0;c<t.length;c++){const u=e?.[c];o.set(t[c],u?new mn(u):null)}return{mode:0,blocks:o}}function bD(n,e,t){const o=function js(n){const e={},t={},o={},c={};for(const u of Object.keys(n)){const v=n[u];if(u.startsWith("(")&&u.endsWith(")")){if("string"!=typeof v)throw new Error("Event binding must be string");t[u.slice(1,-1)]=v}else if(u.startsWith("[")&&u.endsWith("]")){if("string"!=typeof v)throw new Error("Property binding must be string");o[u.slice(1,-1)]=v}else switch(u){case"class":if("string"!=typeof v)throw new Error("Class binding must be string");c.classAttr=v;break;case"style":if("string"!=typeof v)throw new Error("Style binding must be string");c.styleAttr=v;break;default:e[u]="string"==typeof v?$t(v):v}}return{attributes:e,listeners:t,properties:o,specialAttributes:c}}(t||{});for(const u in n)n.hasOwnProperty(u)&&n[u].forEach(v=>{ED(v)?o.properties[v.hostPropertyName||u]=Ta("this",u):HC(v)&&(o.listeners[v.eventName||u]=`${u}(${(v.args||[]).join(",")})`)});const c=ku(o,e);if(c.length)throw new Error(c.map(u=>u.msg).join("\n"));return o}function ED(n){return"HostBinding"===n.ngMetadataName}function HC(n){return"HostListener"===n.ngMetadataName}function zC(n){return"Input"===n.ngMetadataName}function KC(n){return"Output"===n.ngMetadataName}function ax(n){return Object.keys(n).reduce((e,t)=>{const o=n[t];return"string"==typeof o||Array.isArray(o)?e[t]=function wD(n){return"string"==typeof n?{bindingPropertyName:n,classPropertyName:n,transformFunction:null,required:!1,isSignal:!1}:{bindingPropertyName:n[0],classPropertyName:n[1],transformFunction:n[2]?new mn(n[2]):null,required:!1,isSignal:!1}}(o):e[t]={bindingPropertyName:o.publicName,classPropertyName:t,transformFunction:null!==o.transformFunction?new mn(o.transformFunction):null,required:o.isRequired,isSignal:o.isSignal},e},{})}function lw(n){return n.reduce((e,t)=>{const[o,c]=SD(t);return e[c]=o,e},{})}function SD(n){const[e,t]=n.split(":",2).map(o=>o.trim());return[t??e,e]}class qC{defaultEncapsulation;preserveWhitespaces;strictInjectionParameters;constructor({defaultEncapsulation:e=F.Emulated,preserveWhitespaces:t,strictInjectionParameters:o}={}){this.defaultEncapsulation=e,this.preserveWhitespaces=function YC(n,e=!1){return null===n?e:n}(function xo(n){return void 0===n?null:n}(t)),this.strictInjectionParameters=!0===o}}var Iu;!function(n){n[n.Extract=0]="Extract",n[n.Merge=1]="Merge"}(Iu||(Iu={}));new class tT{closedByParent=!1;implicitNamespacePrefix=null;isVoid=!1;ignoreFirstLf=!1;canSelfClose=!0;preventNamespaceInheritance=!1;requireExtraParent(e){return!1}isClosedByChild(e){return!1}getContentType(){return Qo.PARSABLE_DATA}};new class is{full;major;minor;patch;constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}}("22.1.0");var mv,Mh,vw,yw;!function(n){n.DIAGNOSTIC="D",n.EXPRESSION_TYPE_IDENTIFIER="T"}(mv||(mv={})),function(n){n.DIRECTIVE="DIR",n.HOST_DIRECTIVE="HOSTDIR",n.COMPONENT_COMPLETION="COMPCOMP",n.EVENT_PARAMETER="EP",n.VARIABLE_AS_EXPRESSION="VAE"}(Mh||(Mh={})),function(n){n[n.Error=0]="Error",n[n.Warning=1]="Warning"}(vw||(vw={})),function(n){n[n.UseEmitter=0]="UseEmitter",n[n.CopyClassNodes=1]="CopyClassNodes",n[n.FallbackToAny=2]="FallbackToAny"}(yw||(yw={}));class Mg{static SINGLETON=new Mg;static veWillInferAnyFor(e){const t=Mg.SINGLETON;return e instanceof bi?e.visit(t):e.receiver.visit(t)}visitUnary(e){return e.expr.visit(this)}visitBinary(e){return e.left.visit(this)||e.right.visit(this)}visitChain(){return!1}visitConditional(e){return e.condition.visit(this)||e.trueExp.visit(this)||e.falseExp.visit(this)}visitCall(){return!0}visitSafeCall(){return!1}visitImplicitReceiver(){return!1}visitThisReceiver(){return!1}visitInterpolation(e){return e.expressions.some(t=>t.visit(this))}visitKeyedRead(){return!1}visitLiteralArray(){return!0}visitLiteralMap(){return!0}visitLiteralPrimitive(){return!1}visitPipe(){return!0}visitPrefixNot(e){return e.expression.visit(this)}visitTypeofExpression(e){return e.expression.visit(this)}visitVoidExpression(e){return e.expression.visit(this)}visitNonNullAssert(e){return e.expression.visit(this)}visitPropertyRead(){return!1}visitSafePropertyRead(){return!1}visitSafeKeyedRead(){return!1}visitTemplateLiteral(){return!1}visitTemplateLiteralElement(){return!1}visitTaggedTemplateLiteral(){return!1}visitParenthesizedExpression(e){return e.expression.visit(this)}visitRegularExpressionLiteral(){return!1}visitSpreadElement(e){return e.expression.visit(this)}visitArrowFunction(e,t){return!1}}const ww=["errors","dirty","disabled","disabledReasons","hidden","invalid","name","pending","readonly","touched","max","maxLength","min","minLength","pattern","required"];new Gu;new Gu;!function QC(n){(n.ng||(n.ng={})).\u0275compilerFacade=new fD}(Ro)},70903(st,pe,h){"use strict";h.d(pe,{zoo:()=>Qg,iLQ:()=>NE,hnV:()=>qm,ziy:()=>Gh,cf$:()=>Wp,_ys:()=>Tv,H1s:()=>rl,o8S:()=>fp,nWp:()=>Pe,d80:()=>zk,CkJ:()=>Na,zEX:()=>Cd,Ngq:()=>Rr,Ql9:()=>Fx,OfE:()=>Kk,uAl:()=>Fk,eHC:()=>k_,C7A:()=>Sf,Ocv:()=>Xk,WLR:()=>Dk,aKT:()=>Do,xri:()=>St,g$6:()=>$k,Z$l:()=>jk,tvf:()=>Kc,qBF:()=>Xt,y_5:()=>yo,_qm:()=>bo,pde:()=>Wk,xe9:()=>Ik,NSC:()=>Mo,nI4:()=>Ll,UQu:()=>Hk,Co$:()=>K0,PYt:()=>vf,Ab1:()=>lh,p2C:()=>mi,Xx1:()=>$t,k7i:()=>Vk,nT_:()=>Uk,rOR:()=>Co,sFG:()=>cy,_9s:()=>Um,czy:()=>Np,sWG:()=>Wc,B$B:()=>cs,kll:()=>xo,kdw:()=>Xo,dOL:()=>dg,$Ln:()=>Jy,C4Q:()=>gs,NYb:()=>Mf,giA:()=>Dh,a8H:()=>ms,c1b:()=>I_,gXe:()=>Js,NCX:()=>ml,wr$:()=>gi,gil:()=>od,mal:()=>lm,DUP:()=>bu,iWE:()=>mu,NOj:()=>Fg,PYC:()=>Ap,RPW:()=>ac,p2i:()=>wc,rAh:()=>Bu,B1s:()=>qc,Ol2:()=>wy,FuF:()=>Xw,w6W:()=>Qm,VzW:()=>Qw,mU9:()=>Xm,hnC:()=>by,kBR:()=>Aa,uiO:()=>Xn,YEm:()=>Lo,ltg:()=>On,eZA:()=>DE,TeE:()=>Df,knv:()=>ho,Jt5:()=>ou,fHc:()=>pn,H5s:()=>NS,sgu:()=>nS,vDg:()=>Td,ozJ:()=>cp,OR8:()=>Dd,yLl:()=>z0,cdK:()=>Ey,utN:()=>Uc,RN$:()=>qi,lJT:()=>LE,_jY:()=>qa,phd:()=>Z0,rpG:()=>kk,pl0:()=>Tu,ypd:()=>pg,TFI:()=>Q_,Zhj:()=>eS,cDI:()=>Jw,_9u:()=>Ho,KED:()=>Dw,e6s:()=>Jo,aCM:()=>sc,R1s:()=>ct,cSq:()=>Iy,nM4:()=>My,Vt3:()=>F_,OA$:()=>Jt,Jv_:()=>Ah,R7$:()=>Jg,QR4:()=>Zu,jOp:()=>lb,BMQ:()=>Pf,HbH:()=>WD,AVh:()=>hw,vxM:()=>iv,nVh:()=>gp,wni:()=>hx,C6U:()=>mx,SS7:()=>Ix,VBU:()=>Xu,FsC:()=>xy,$C:()=>X0,EJ8:()=>Dy,tV_:()=>Nn,rXU:()=>_a,Hgh:()=>uv,Zht:()=>gb,iHH:()=>mb,eux:()=>lv,rj2:()=>cv,VwU:()=>ux,Avn:()=>Li,nrm:()=>Dl,eu8:()=>dv,bVm:()=>Cg,qex:()=>Dg,k0s:()=>av,j41:()=>xg,RV6:()=>Ji,xGo:()=>Hi,kS0:()=>vo,QTQ:()=>$s,bIt:()=>Iu,lsd:()=>OD,XpG:()=>ID,nI1:()=>Ox,bMT:()=>Sw,SdG:()=>px,NAR:()=>AD,Y8G:()=>sv,NyB:()=>yp,mGM:()=>Tg,r8f:()=>aC,sdS:()=>PD,Dyx:()=>nw,Z7z:()=>_p,fX1:()=>tw,npT:()=>Jf,n$t:()=>tm,bH3:()=>xT,xc7:()=>pw,DNE:()=>oE,C5r:()=>yC,EFF:()=>KD,JRh:()=>kx,SpI:()=>_w,GBs:()=>fx,wEZ:()=>gx});var m=h(29293),s=h(28939),f=h(16925),P=h(55919),D=h(23054),y=h(65229);const b_JSACTION="jsaction";var G,i;function de(i){return{toString:i}.toString()}(i=G||(G={}))[i.TemplateCreateStart=0]="TemplateCreateStart",i[i.TemplateCreateEnd=1]="TemplateCreateEnd",i[i.TemplateUpdateStart=2]="TemplateUpdateStart",i[i.TemplateUpdateEnd=3]="TemplateUpdateEnd",i[i.LifecycleHookStart=4]="LifecycleHookStart",i[i.LifecycleHookEnd=5]="LifecycleHookEnd",i[i.OutputStart=6]="OutputStart",i[i.OutputEnd=7]="OutputEnd",i[i.BootstrapApplicationStart=8]="BootstrapApplicationStart",i[i.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",i[i.BootstrapComponentStart=10]="BootstrapComponentStart",i[i.BootstrapComponentEnd=11]="BootstrapComponentEnd",i[i.ChangeDetectionStart=12]="ChangeDetectionStart",i[i.ChangeDetectionEnd=13]="ChangeDetectionEnd",i[i.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",i[i.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",i[i.AfterRenderHooksStart=16]="AfterRenderHooksStart",i[i.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",i[i.ComponentStart=18]="ComponentStart",i[i.ComponentEnd=19]="ComponentEnd",i[i.DeferBlockStateStart=20]="DeferBlockStateStart",i[i.DeferBlockStateEnd=21]="DeferBlockStateEnd",i[i.DynamicComponentStart=22]="DynamicComponentStart",i[i.DynamicComponentEnd=23]="DynamicComponentEnd",i[i.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",i[i.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd";class Fe{previousValue;currentValue;firstChange;constructor(r,a,l){this.previousValue=r,this.currentValue=a,this.firstChange=l}isFirstChange(){return this.firstChange}}function He(i,r,a,l){null!==r?r.applyValueToInputSignal(r,l):i[a]=l}let wt=null;const Jt=(()=>{wt=V;const i=()=>V;return i.ngInherit=!0,i})();function V(i){return i.type.prototype.ngOnChanges&&(i.setInput=De),ue}function ue(){const i=It(this),r=i?.current;if(r){const a=i.previous;if(a===s.MZA)i.previous=r;else for(let l in r)a[l]=r[l];i.current=null,this.ngOnChanges(r)}}function De(i,r,a,l,p){const g=this.declaredInputs[l],S=It(i)||function Kt(i,r){return i[rt]=r}(i,{previous:s.MZA,current:null}),L=S.current||(S.current={}),q=S.previous,ke=q[g];L[g]=new Fe(ke&&ke.currentValue,a,q===s.MZA),He(i,r,p,a)}const rt="__ngSimpleChanges__";function It(i){return Object.hasOwn(i,rt)&&i[rt]||null}const Ht=[],ze=()=>{};const bn=function(i,r=null,a){for(let l=0;l<Ht.length;l++){(0,Ht[l])(i,r,a)}};function Tn(i,r,a){const{ngOnChanges:l,ngOnInit:p,ngDoCheck:g}=r.type.prototype;if(l){const S=function ee(){return wt}()(r);(a.preOrderHooks??=[]).push(i,S),(a.preOrderCheckHooks??=[]).push(i,S)}p&&(a.preOrderHooks??=[]).push(0-i,p),g&&((a.preOrderHooks??=[]).push(i,g),(a.preOrderCheckHooks??=[]).push(i,g))}function Lt(i,r){for(let a=r.directiveStart,l=r.directiveEnd;a<l;a++){const g=i.data[a].type.prototype,{ngAfterContentInit:S,ngAfterContentChecked:L,ngAfterViewInit:q,ngAfterViewChecked:ke,ngOnDestroy:Ke}=g;S&&(i.contentHooks??=[]).push(-a,S),L&&((i.contentHooks??=[]).push(a,L),(i.contentCheckHooks??=[]).push(a,L)),q&&(i.viewHooks??=[]).push(-a,q),ke&&((i.viewHooks??=[]).push(a,ke),(i.viewCheckHooks??=[]).push(a,ke)),null!=Ke&&(i.destroyHooks??=[]).push(a,Ke)}}function _e(i,r,a){Et(i,r,3,a)}function Y(i,r,a,l){(3&i[2])===a&&Et(i,r,a,l)}function fe(i,r){let a=i[2];(3&a)===r&&(a&=16383,a+=1,i[2]=a)}function Et(i,r,a,l){const p=void 0!==l?65535&i[17]:0,g=l??-1,S=r.length-1;let L=0;for(let q=p;q<S;q++)if("number"==typeof r[q+1]){if(L=r[q],null!=l&&L>=l)break}else r[q]<0&&(i[17]+=65536),(L<g||-1==g)&&(ln(i,a,r,q),i[17]=(4294901760&i[17])+q+2),q++}function Vt(i,r){bn(G.LifecycleHookStart,i,r);const a=(0,f.Ht)(null);try{r.call(i)}finally{(0,f.Ht)(a),bn(G.LifecycleHookEnd,i,r)}}function ln(i,r,a,l){const p=a[l]<0,g=a[l+1],L=i[p?-a[l]:a[l]];p?i[2]>>14<i[17]>>16&&(3&i[2])===r&&(i[2]+=16384,Vt(L,g)):Vt(L,g)}class je{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(r,a,l,p){this.factory=r,this.name=p,this.canSeeViewProviders=a,this.injectImpl=l}}function ht(i){return null!=i&&"object"==typeof i&&(null===i.insertBeforeIndex||"number"==typeof i.insertBeforeIndex||Array.isArray(i.insertBeforeIndex))}function kt(i){return 3===i||4===i||6===i}function cn(i){return 64===i.charCodeAt(0)}function mn(i,r){if(null!==r&&0!==r.length)if(null===i||0===i.length)i=r.slice();else{let a=-1;for(let l=0;l<r.length;l++){const p=r[l];"number"==typeof p?a=p:0===a||Jn(i,a,p,null,-1===a||2===a?r[++l]:null)}}return i}function Jn(i,r,a,l,p){let g=0,S=i.length;if(-1===r)S=-1;else for(;g<i.length;){const L=i[g++];if("number"==typeof L){if(L===r){S=-1;break}if(L>r){S=g-1;break}}}for(;g<i.length;){const L=i[g];if("number"==typeof L)break;if(L===a)return void(null!==p&&(i[g+1]=p));g++,null!==p&&g++}-1!==S&&(i.splice(S,0,r),g=S+1),i.splice(g++,0,a),null!==p&&i.splice(g++,0,p)}function Ti(i){return-1!==i}function $i(i){return 32767&i}function ui(i,r){let a=function Ei(i){return i>>16}(i),l=r;for(;a>0;)l=l[14],a--;return l}let sr=!0;function pr(i){const r=sr;return sr=i,r}let zn=0;const Qn={};function Mr(i,r){const a=co(i,r);if(-1!==a)return a;const l=r[1];l.firstCreatePass&&(i.injectorIndex=r.length,Fr(l.data,i),Fr(r,null),Fr(l.blueprint,null));const p=lo(i,r),g=i.injectorIndex;if(Ti(p)){const S=$i(p),L=ui(p,r),q=L[1].data;for(let ke=0;ke<8;ke++)r[g+ke]=L[S+ke]|q[S+ke]}return r[g+8]=p,g}function Fr(i,r){i.push(0,0,0,0,0,0,0,0,r)}function co(i,r){return-1===i.injectorIndex||i.parent&&i.parent.injectorIndex===i.injectorIndex||null===r[i.injectorIndex+8]?-1:i.injectorIndex}function lo(i,r){if(i.parent&&-1!==i.parent.injectorIndex)return i.parent.injectorIndex;let a=0,l=null,p=r;for(;null!==p;){if(l=Ki(p),null===l)return-1;if(a++,p=p[14],-1!==l.injectorIndex)return l.injectorIndex|a<<16}return-1}function to(i,r,a){!function pi(i,r,a){let l;"string"==typeof a?l=a.charCodeAt(0)||0:a.hasOwnProperty(s.p9y)&&(l=a[s.p9y]),null==l&&(l=a[s.p9y]=zn++);const p=255&l,g=1<<p;r.data[i+(p>>5)]|=g}(i,r,a)}function es(i,r,a){if(8&a||void 0!==i)return i;(0,s.$Hz)(r,"NodeInjector")}function qr(i,r,a,l){if(8&a&&void 0===l&&(l=null),!(3&a)){const p=i[9],g=(0,s.a2B)(void 0);try{return p?p.get(r,l,8&a):(0,s.tcA)(r,l,8&a)}finally{(0,s.a2B)(g)}}return es(l,r,a)}function uo(i,r,a,l=0,p){if(null!==i){if(2048&r[2]&&!(2&l)){const S=function wi(i,r,a,l,p){let g=i,S=r;for(;null!==g&&null!==S&&2048&S[2]&&!(0,s.EFk)(S);){const L=wr(g,S,a,2|l,Qn);if(L!==Qn)return L;let q=g.parent;if(!q){const ke=S[20];if(ke){const Ke=ke.get(a,Qn,-5&l);if(Ke!==Qn)return Ke}q=Ki(S),S=S[14]}g=q}return p}(i,r,a,l,Qn);if(S!==Qn)return S}const g=wr(i,r,a,l,Qn);if(g!==Qn)return g}return qr(r,a,l,p)}function wr(i,r,a,l,p){const g=function pt(i){if("string"==typeof i)return i.charCodeAt(0)||0;const r=i.hasOwnProperty(s.p9y)?i[s.p9y]:void 0;return"number"==typeof r?r>=0?255&r:Mi:r}(a);if("function"==typeof g){if(!(0,s.ihb)(r,i,l))return 1&l?es(p,a,l):qr(r,a,l,p);try{let S;if(S=g(l),null!=S||8&l)return S;(0,s.$Hz)(a)}finally{(0,s.niQ)()}}else if("number"==typeof g){let S=null,L=co(i,r),q=-1,ke=1&l?r[15][5]:null;for((-1===L||4&l)&&(q=-1===L?lo(i,r):r[L+8],-1!==q&&_n(l,!1)?(S=r[1],L=$i(q),r=ui(q,r)):L=-1);-1!==L;){const Ke=r[1];if(Bt(g,L,Ke.data)){const vt=Qi(L,r,a,S,l,ke);if(vt!==Qn)return vt}q=r[L+8],-1!==q&&_n(l,r[1].data[L+8]===ke)&&Bt(g,L,r)?(S=Ke,L=$i(q),r=ui(q,r)):L=-1}}return p}function Qi(i,r,a,l,p,g){const S=r[1],L=S.data[i+8],Ke=Cr(L,S,a,null==l?(0,s.Qs1)(L)&&sr:l!=S&&!!(3&L.type),1&p&&g===L);return null!==Ke?zt(r,S,Ke,L,p):Qn}function Cr(i,r,a,l,p){const g=i.providerIndexes,S=r.data,L=1048575&g,q=i.directiveStart,ke=i.directiveEnd,Ke=g>>20,qt=p?L+Ke:ke;for(let on=l?L:L+Ke;on<qt;on++){const Mn=S[on];if(on<q&&a===Mn||on>=q&&Mn.type===a)return on}if(p){const on=S[q];if(on&&(0,s.JlV)(on)&&on.type===a)return q}return null}function zt(i,r,a,l,p){let g=i[a];const S=r.data;if(g instanceof je){const L=g;if(L.resolving)throw(0,s.PQT)("");const q=pr(L.canSeeViewProviders);L.resolving=!0;S[a].type||S[a];const vt=L.injectImpl?(0,s.a2B)(L.injectImpl):null;(0,s.ihb)(i,l,0);try{g=i[a]=L.factory(void 0,p,S,i,l),r.firstCreatePass&&a>=l.directiveStart&&Tn(a,S[a],r)}finally{null!==vt&&(0,s.a2B)(vt),pr(q),L.resolving=!1,(0,s.niQ)()}}return g}function Bt(i,r,a){const l=1<<i;return!!(a[r+(i>>5)]&l)}function _n(i,r){return!(2&i||1&i&&r)}function Kn(i){return i._lView}function pn(i){return i._tNode}class mi{_tNode;_lView;constructor(r,a){this._tNode=r,this._lView=a}get(r,a,l){return uo(this._tNode,this._lView,r,(0,s.hjC)(l),a)}}function Mi(){return new mi((0,s.Mx4)(),(0,s.OAn)())}function Hi(i){return de(()=>{const r=i.prototype.constructor,a=r[s.zSs]||hr(r),l=Object.prototype;let p=Object.getPrototypeOf(i.prototype).constructor;for(;p&&p!==l;){const g=p[s.zSs]||hr(p);if(g&&g!==a)return g;p=Object.getPrototypeOf(p)}return g=>new g})}function hr(i){return(0,s.Jzi)(i)?()=>{const r=hr((0,s.nl4)(i));return r&&r()}:(0,s.wGu)(i)}function Ki(i){const r=i[1],a=r.type;return 2===a?r.declTNode:1===a?i[5]:null}function vo(i){return function br(i,r){if("class"===r)return i.classes;if("style"===r)return i.styles;const a=i.attrs;if(a){const l=a.length;let p=0;for(;p<l;){const g=a[p];if(kt(g))break;if(0===g)p+=2;else if("number"==typeof g)for(p++;p<l&&"string"==typeof a[p];)p++;else{if(g===r)return a[p+1];p+=2}}}return null}((0,s.Mx4)(),i)}const tt=new s.nKC("",{factory:()=>new Ot});class Ot{requestIdleCallback=(()=>(typeof requestIdleCallback<"u"?requestIdleCallback:i=>setTimeout(i)).bind(globalThis))();cancelIdleCallback=(()=>(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis))();requestOnIdle(r,a){return this.requestIdleCallback(r,a)}cancelOnIdle(r){return this.cancelIdleCallback(r)}}const sn="__annotations__",kn="__parameters__",In="__prop__metadata__";function ti(i,r,a,l,p){return de(()=>{const g=Yi(r);function S(...L){if(this instanceof S)return g.call(this,...L),this;const q=new S(...L);return function(Ke){return p&&p(Ke,...L),(Ke.hasOwnProperty(sn)?Ke[sn]:Object.defineProperty(Ke,sn,{value:[]})[sn]).push(q),Ke}}return a&&(S.prototype=Object.create(a.prototype)),S.prototype.ngMetadataName=i,S.annotationCls=S,S})}function Yi(i){return function(...a){if(i){const l=i(...a);for(const p in l)this[p]=l[p]}}}function tr(i,r,a){return de(()=>{const l=Yi(r);function p(...g){if(this instanceof p)return l.apply(this,g),this;const S=new p(...g);return L.annotation=S,L;function L(q,ke,Ke){const vt=q.hasOwnProperty(kn)?q[kn]:Object.defineProperty(q,kn,{value:[]})[kn];for(;vt.length<=Ke;)vt.push(null);return(vt[Ke]=vt[Ke]||[]).push(S),q}}return p.prototype.ngMetadataName=i,p.annotationCls=p,p})}function qi(i,r,a,l){return de(()=>{const p=Yi(r);function g(...S){if(this instanceof g)return p.apply(this,S),this;const L=new g(...S);return function q(ke,Ke){if(void 0===ke)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const vt=ke.constructor,qt=vt.hasOwnProperty(In)?vt[In]:Object.defineProperty(vt,In,{value:{}})[In];qt[Ke]=qt.hasOwnProperty(Ke)&&qt[Ke]||[],qt[Ke].unshift(L)}}return a&&(g.prototype=Object.create(a.prototype)),g.prototype.ngMetadataName=i,g.annotationCls=g,g})}function Xn(i){const r=s.laP.ng;if(r&&r.\u0275compilerFacade)return r.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function Nn(i){return{token:i.token,providedIn:!1===i.autoProvided?null:"root",factory:i.factory,value:void 0}}const Tr={\u0275\u0275defineInjectable:s.jDH,\u0275\u0275defineInjector:s.G2t,\u0275\u0275defineService:Nn,\u0275\u0275inject:s.KVO,\u0275\u0275invalidFactoryDep:s.dmw,resolveForwardRef:s.nl4},ur=Function;function Or(i){return"function"==typeof i}const Pr=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Fi=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,ir=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,ts=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Er{_reflect;constructor(r){this._reflect=r||s.laP.Reflect}factory(r){return(...a)=>new r(...a)}_zipTypesAndAnnotations(r,a){let l;l=typeof r>"u"?(0,s.WfI)(a.length):(0,s.WfI)(r.length);for(let p=0;p<l.length;p++)typeof r>"u"?l[p]=[]:r[p]&&r[p]!=Object?l[p]=[r[p]]:l[p]=[],a&&null!=a[p]&&(l[p]=l[p].concat(a[p]));return l}_ownParameters(r,a){if(function Vr(i){return Pr.test(i)||ts.test(i)||Fi.test(i)&&!ir.test(i)}(r.toString()))return null;if(r.parameters&&r.parameters!==a.parameters)return r.parameters;const p=r.ctorParameters;if(p&&p!==a.ctorParameters){const L="function"==typeof p?p():p,q=L.map(Ke=>Ke&&Ke.type),ke=L.map(Ke=>Ke&&Di(Ke.decorators));return this._zipTypesAndAnnotations(q,ke)}const g=r.hasOwnProperty(kn)&&r[kn],S=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",r);return S||g?this._zipTypesAndAnnotations(S,g):(0,s.WfI)(r.length)}parameters(r){if(!Or(r))return[];const a=oo(r);let l=this._ownParameters(r,a);return!l&&a!==Object&&(l=this.parameters(a)),l||[]}_ownAnnotations(r,a){if(r.annotations&&r.annotations!==a.annotations){let l=r.annotations;return"function"==typeof l&&l.annotations&&(l=l.annotations),l}return r.decorators&&r.decorators!==a.decorators?Di(r.decorators):r.hasOwnProperty(sn)?r[sn]:null}annotations(r){if(!Or(r))return[];const a=oo(r),l=this._ownAnnotations(r,a)||[];return(a!==Object?this.annotations(a):[]).concat(l)}_ownPropMetadata(r,a){if(r.propMetadata&&r.propMetadata!==a.propMetadata){let l=r.propMetadata;return"function"==typeof l&&l.propMetadata&&(l=l.propMetadata),l}if(r.propDecorators&&r.propDecorators!==a.propDecorators){const l=r.propDecorators,p={};return Object.keys(l).forEach(g=>{p[g]=Di(l[g])}),p}return r.hasOwnProperty(In)?r[In]:null}propMetadata(r){if(!Or(r))return{};const a=oo(r),l={};if(a!==Object){const g=this.propMetadata(a);Object.keys(g).forEach(S=>{l[S]=g[S]})}const p=this._ownPropMetadata(r,a);return p&&Object.keys(p).forEach(g=>{const S=[];l.hasOwnProperty(g)&&S.push(...l[g]),S.push(...p[g]),l[g]=S}),l}ownPropMetadata(r){return Or(r)&&this._ownPropMetadata(r,oo(r))||{}}hasLifecycleHook(r,a){return r instanceof ur&&a in r.prototype}}function Di(i){return i?i.map(r=>new(0,r.type.annotationCls)(...r.args?r.args:[])):[]}function oo(i){const r=i.prototype?Object.getPrototypeOf(i.prototype):null;return(r?r.constructor:null)||Object}const yo=(0,s.z6V)(tr("Inject",i=>({token:i})),-1),$t=(0,s.z6V)(tr("Optional"),8),cs=(0,s.z6V)(tr("Self"),2),Xo=(0,s.z6V)(tr("SkipSelf"),4),St=(0,s.z6V)(tr("Host"),1),Pe=tr("Attribute",i=>({attributeName:i,__NG_ELEMENT_ID__:()=>vo(i)}));let xt=null;function rn(){return xt=xt||new Er}function Ln(i){return ni(rn().parameters(i))}function ni(i){return i.map(r=>function Sn(i){const r={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(i)&&i.length>0)for(let a=0;a<i.length;a++){const l=i[a];if(void 0===l)continue;const p=Object.getPrototypeOf(l);if(l instanceof $t||"Optional"===p.ngMetadataName)r.optional=!0;else if(l instanceof Xo||"SkipSelf"===p.ngMetadataName)r.skipSelf=!0;else if(l instanceof cs||"Self"===p.ngMetadataName)r.self=!0;else if(l instanceof St||"Host"===p.ngMetadataName)r.host=!0;else if(l instanceof yo)r.token=l.token;else if(l instanceof Pe){if(void 0===l.attributeName)throw new s.buA(-204,!1);r.attribute=l.attributeName}else r.token=l}else void 0===i||Array.isArray(i)&&0===i.length?r.token=null:r.token=i;return r}(r))}function Wn(i,r){let a=null,l=null;i.hasOwnProperty(s.yAH)||Object.defineProperty(i,s.yAH,{get:()=>(null===a&&(a=Xn().compileInjectable(Tr,`ng:///${i.name}/\u0275prov.js`,function no(i,r){const a=r||{providedIn:null},l={name:i.name,type:i,typeArgumentCount:0,providedIn:a.providedIn};return(Xr(a)||yt(a))&&void 0!==a.deps&&(l.deps=ni(a.deps)),Xr(a)?l.useClass=a.useClass:function jt(i){return Ui in i}(a)?l.useValue=a.useValue:yt(a)?l.useFactory=a.useFactory:function mo(i){return void 0!==i.useExisting}(a)&&(l.useExisting=a.useExisting),l}(i,r))),a)}),i.hasOwnProperty(s.zSs)||Object.defineProperty(i,s.zSs,{get:()=>{if(null===l){const p=Xn();l=p.compileFactory(Tr,`ng:///${i.name}/\u0275fac.js`,{name:i.name,type:i,typeArgumentCount:0,deps:Ln(i),target:p.FactoryTarget.Injectable})}return l},configurable:!0})}const Ui=(0,s.kLh)({provide:String,useValue:s.kLh});function Xr(i){return void 0!==i.useClass}function yt(i){return void 0!==i.useFactory}const bo=ti("Injectable",void 0,void 0,0,(i,r)=>Wn(i,r));const xo=ti("Service",void 0,void 0,0,(i,r)=>function ra(i,r){let a=null,l=null;i.hasOwnProperty(s.yAH)||Object.defineProperty(i,s.yAH,{get:()=>(null===a&&(a=Xn().compileService(Tr,`ng:///${i.name}/\u0275prov.js`,function ns(i,r){return{name:i.name,type:i,typeArgumentCount:0,autoProvided:r?.autoProvided,factory:r?.factory}}(i,r))),a)}),i.hasOwnProperty(s.zSs)||Object.defineProperty(i,s.zSs,{get:()=>{if(null===l){const p=Xn();l=p.compileFactory(Tr,`ng:///${i.name}/\u0275fac.js`,{name:i.name,type:i,typeArgumentCount:0,deps:Ln(i),target:p.FactoryTarget.Service})}return l},configurable:!0})}(i,r));function po(){return Eo((0,s.Mx4)(),(0,s.OAn)())}function Eo(i,r){return new Do((0,s.d31)(i,r))}class Do{nativeElement;constructor(r){this.nativeElement=r}static __NG_ELEMENT_ID__=po}function is(i){return i instanceof Do?i.nativeElement:i}function Ro(){return this._results[Symbol.iterator]()}class Co{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new P.B}constructor(r=!1){this._emitDistinctChangesOnly=r}get(r){return this._results[r]}map(r){return this._results.map(r)}filter(r){return this._results.filter(r)}find(r){return this._results.find(r)}reduce(r,a){return this._results.reduce(r,a)}forEach(r){this._results.forEach(r)}some(r){return this._results.some(r)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(r,a){this.dirty=!1;const l=(0,s.Bqz)(r);(this._changesDetected=!(0,s.ng7)(this._results,l,a))&&(this._results=l,this.length=l.length,this.last=l[this.length-1],this.first=l[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(r){this._onDirty=r}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Ro}function Ps(i){return!(128&~i.flags)}var Rr;!function(i){i[i.OnPush=0]="OnPush",i[i.Eager=1]="Eager",i[i.Default=1]="Default"}(Rr||(Rr={}));const oa=new Map;let ls=0;function _c(i){return oa.get(i)||null}function Kr(i){oa.delete(i[19])}class ys{lViewId;nodeIndex;native;component;directives;localRefs;get lView(){return _c(this.lViewId)}constructor(r,a,l){this.lViewId=r,this.nodeIndex=a,this.native=l}}function ho(i){let r=Ta(i);if(r){if((0,s.q$2)(r)){const a=r;let l,p,g;if(Ls(i)){if(l=zs(a,i),-1==l)throw new Error("The provided component was not found in the application");p=i}else if(function Ic(i){return i&&i.constructor&&i.constructor.\u0275dir}(i)){if(l=function os(i,r){let a=i[1].firstChild;for(;a;){const l=a.directiveStart,p=a.directiveEnd;for(let g=l;g<p;g++)if(i[g]===r)return a.index;a=rs(a)}return-1}(a,i),-1==l)throw new Error("The provided directive was not found in the application");g=Ks(l,a)}else if(l=so(a,i),-1==l)return null;const S=(0,s.IvY)(a[l]),L=Ta(S),q=L&&!Array.isArray(L)?L:ja(a,l,S);if(p&&void 0===q.component&&(q.component=p,wo(q.component,q)),g&&void 0===q.directives){q.directives=g;for(let ke=0;ke<g.length;ke++)wo(g[ke],q)}wo(q.native,q),r=q}}else{const a=i;let l=a;for(;l=l.parentNode;){const p=Ta(l);if(p){const g=Array.isArray(p)?p:p.lView;if(!g)return null;const S=so(g,a);if(S>=0){const L=(0,s.IvY)(g[S]),q=ja(g,S,L);wo(L,q),r=q;break}}}}return r||null}function ja(i,r,a){return new ys(i[19],r,a)}function bs(i){let a,r=Ta(i);if((0,s.q$2)(r)){const l=r,p=zs(l,i);a=(0,s.KdJ)(p,l);const g=ja(l,p,a[0]);g.component=i,wo(i,g),wo(g.native,g)}else{const l=r,p=l.lView;a=(0,s.KdJ)(l.nodeIndex,p)}return a}const Ha="__ngContext__";function wo(i,r){(0,s.q$2)(r)?(i[Ha]=r[19],function Rs(i){oa.set(i[19],i)}(r)):i[Ha]=r}function Ta(i){const r=i[Ha];return"number"==typeof r?_c(r):r||null}function Es(i){const r=Ta(i);return r?(0,s.q$2)(r)?r:r.lView:null}function Ls(i){return i&&i.constructor&&i.constructor.\u0275cmp}function so(i,r){const a=i[1];for(let l=27;l<a.bindingStartIndex;l++)if((0,s.IvY)(i[l])===r)return l;return-1}function rs(i){if(i.child)return i.child;if(i.next)return i.next;for(;i.parent&&!i.parent.next;)i=i.parent;return i.parent&&i.parent.next}function zs(i,r){const a=i[1].components;if(a)for(let l=0;l<a.length;l++){const p=a[l];if((0,s.KdJ)(p,i)[8]===r)return p}else if((0,s.KdJ)(27,i)[8]===r)return 27;return-1}function Ks(i,r){const a=r[1].data[i];if(0===a.directiveStart)return s.Mlv;const l=[];for(let p=a.directiveStart;p<a.directiveEnd;p++){const g=r[p];Ls(g)||l.push(g)}return l}function Gs(i){return function Wo(i){let r=(0,s.q$2)(i)?i:Es(i);for(;r&&!(0,s.EFk)(r);)r=(0,s._0$)(r);return r}(i)[8]}function tc(i){return Dt(i[12])}function us(i){return Dt(i[4])}function Dt(i){for(;null!==i&&!(0,s.A0l)(i);)i=i[4];return i}function*Be(i,r){yield[i,r];for(const[a,l]of function*H(i,r){let a=i.child;for(;a;)yield[a,r],a=a.next;if(i.componentOffset>-1){const p=(0,s.KdJ)(i.index,r);if((0,s.q$2)(p)){let S=p[1].firstChild;for(;S;)yield[S,p],S=S.next}}const l=r[i.index];if((0,s.A0l)(l))for(let p=10;p<l.length;p++){const g=l[p];let L=g[1].firstChild;for(;L;)yield[L,g],L=L.next}}(i,r))yield*Be(a,l)}function*ct(i){for(const[r,a]of function*re(i){let a=i[1].firstChild;for(;a;)yield*Be(a,i),a=a.next}(i))r.directiveEnd>r.directiveStart&&(yield[r,a])}function Rt(i){const r=ho(i);if(null===r)return null;if(void 0===r.component){const a=r.lView;if(null===a)return null;r.component=function Bs(i,r){const a=r[1].data[i];return(0,s.Qs1)(a)?r[a.directiveStart+a.componentOffset]:null}(r.nodeIndex,a)}return r.component}function Zt(i){!function nr(i){if(typeof Element<"u"&&!(i instanceof Element))throw new Error("Expecting instance of DOM Element")}(i);const r=ho(i),a=r?r.lView:null;return null===a?null:a[8]}function tn(i){const r=ho(i);let l,a=r?r.lView:null;if(null===a)return null;for(;2===a[1].type&&(l=(0,s._0$)(a));)a=l;return(0,s.EFk)(a)?null:a[8]}function xn(i){const r=Es(i);return null!==r?[Gs(r)]:[]}function On(i){const r=ho(i),a=r?r.lView:null;if(null===a)return s.zZn.NULL;const l=a[1].data[r.nodeIndex];return new mi(l,a)}var cr,gt;function En(i){const r=ho(i),a=null===r?null:r.lView;if(null===a)return[];const l=a[1],p=a[7],g=l.cleanup,S=[];if(g&&p)for(let L=0;L<g.length;){const q=g[L++],ke=g[L++];if("string"==typeof q){const Ke=q,vt=(0,s.IvY)(a[ke]),qt=p[g[L++]],on=g[L++],Mn="boolean"==typeof on||on>=0?"dom":"output",di="boolean"==typeof on&&on;i==vt&&S.push({element:i,name:Ke,callback:qt,useCapture:di,type:Mn})}}return S.sort(fi),S}function fi(i,r){return i.name==r.name?0:i.name<r.name?-1:1}function ds(i){const r={};for(const a in i)if(i.hasOwnProperty(a)){const l=i[a];void 0!==l&&(r[a]=l[0])}return r}let Xs;function Ho(i){Xs=i}function Lo(){if(void 0!==Xs)return Xs;if(typeof document<"u")return document;throw new s.buA(210,!1)}!function(i){i[i.Default=0]="Default",i[i.OnPush=1]="OnPush"}(cr||(cr={})),function(i){i[i.Emulated=0]="Emulated",i[i.None=1]="None"}(gt||(gt={}));const Xt=new s.nKC(""),An=new s.nKC("",{factory:()=>false}),ka=(new s.nKC(""),new s.nKC(""),new s.nKC("",{factory:()=>[]}),new s.nKC("")),ji=new s.nKC("",{factory:()=>new Map}),Kc=new s.nKC(""),Qo={passive:!0,capture:!0},ko=new WeakMap,Gl=new WeakMap,qs=new WeakMap,Mc=["click","keydown"],Ac=["mouseenter","mouseover","focusin"],Ts=new Map;class ba{callbacks=new Set;listener=()=>{for(const r of this.callbacks)r()}}function Ys(i,r){let a=Gl.get(i);if(!a){a=new ba,Gl.set(i,a);for(const l of Mc)i.addEventListener(l,a.listener,Qo)}return a.callbacks.add(r),()=>{const{callbacks:l,listener:p}=a;if(l.delete(r),0===l.size){Gl.delete(i);for(const g of Mc)i.removeEventListener(g,p,Qo)}}}function aa(i,r){let a=ko.get(i);if(!a){a=new ba,ko.set(i,a);for(const l of Ac)i.addEventListener(l,a.listener,Qo)}return a.callbacks.add(r),()=>{const{callbacks:l,listener:p}=a;if(l.delete(r),0===l.size){for(const g of Ac)i.removeEventListener(g,p,Qo);ko.delete(i)}}}function za(i){return i?`${i.rootMargin}/${"number"==typeof i.threshold?i.threshold:i.threshold?.join("\n")}`:""}const cu=(i,r)=>{const a=i;let l=a.getAttribute("ngb")??"";const p=r.get(l)??new Set;p.has(a)||p.add(a),r.set(l,p)};const _r=i=>{i.removeAttribute(b_JSACTION),i.removeAttribute("ngb"),i.__jsaction_fns=void 0},Xl=new s.nKC("",{factory:()=>({})}),Tl=new WeakMap;let yc=(i,r,a,l)=>{};const ks=new s.nKC("");class Gc{registry=new Map;cleanupFns=new Map;jsActionMap=(0,s.WQX)(ji);contract=(0,s.WQX)(Xl);add(r,a){if(this.registry.set(r,a),this.awaitingCallbacks.has(r)){const l=this.awaitingCallbacks.get(r);for(const p of l)p()}}get(r){return this.registry.get(r)??null}has(r){return this.registry.has(r)}cleanup(r){!function nd(i,r){if(i.length>0){let a=[];for(let p of i)r.has(p)&&(a=[...a,...r.get(p)]);new Set(a).forEach(_r)}}(r,this.jsActionMap);for(let a of r)this.registry.delete(a),this.jsActionMap.delete(a),this.invokeTriggerCleanupFns(a),this.hydrating.delete(a),this.awaitingCallbacks.delete(a);0===this.size&&this.contract.instance?.cleanUp()}get size(){return this.registry.size}addCleanupFn(r,a){let l=[];this.cleanupFns.has(r)&&(l=this.cleanupFns.get(r)),l.push(a),this.cleanupFns.set(r,l)}invokeTriggerCleanupFns(r){const a=this.cleanupFns.get(r)??[];for(let l of a)l();this.cleanupFns.delete(r)}hydrating=new Map;awaitingCallbacks=new Map;awaitParentBlock(r,a){const l=this.awaitingCallbacks.get(r)??[];l.push(a),this.awaitingCallbacks.set(r,l)}static \u0275prov=(0,s.jDH)({token:Gc,providedIn:null,factory:()=>new Gc})}function le(i){return!(32&~i.flags)}const z="__nghData__",Ne=((0,s.zw6)(z),"__nghDeferData__"),Ye=(0,s.zw6)(Ne);function Nt(i){return i===z||i===Ne}let Vn=()=>null;function Sr(i,r,a=!1){return Vn(i,r,a)}function mt(i){let r=i._lView;return 2===r[1].type?null:((0,s.EFk)(r)&&(r=r[27]),r)}var Gr;!function(i){i.Hydrated="hydrated",i.Skipped="skipped",i.Mismatched="mismatched"}(Gr||(Gr={}));function rc(i){return i.get(ka,!1,{optional:!0})}function Rh(i,r){const a=function oc(i){const r=i.body.querySelectorAll("[jsaction]"),a=new Set,l=[Ac.join(":;"),Mc.join(":;")].join("|");for(let p of r){const g=p.getAttribute("jsaction"),S=p.getAttribute("ngb");g?.match(l)&&null!==S&&a.add(p)}return a}(i),l=r.get(ji);for(let p of a)cu(p,l)}let Cp=()=>({});function Xf(i){const r=i.get(s.pJN,null,{optional:!0});return null!==r?r.get(Ye,{}):{}}function kp(i){return i.t?.find(a=>function Tp(i){return"object"==typeof i&&5===i.trigger}(a))?.delay??null}function Qf(i){const r=i.t;if(r)for(const a of r){if(2===a)return!0;if("object"==typeof a&&2===a.trigger)return a.intersectionObserverOptions||!0}return null}function Nh(i,r){return i.t?.includes(r)??!1}function id(i){return{data:i,hydrate:{idle:Nh(i,0),immediate:Nh(i,1),timer:kp(i),viewport:Qf(i)}}}function Pu(i){const r=function pu(i){return Cp(i)}(i);let a=new Map;for(let l in r)a.set(l,id(r[l]));return a}function hu(i,r){const a=i.contentQueries;if(null!==a){const l=(0,f.Ht)(null);try{for(let p=0;p<a.length;p+=2){const g=a[p],S=a[p+1];if(-1!==S){const L=i.data[S];(0,s.GA0)(g),L.contentQueries(2,r[S],S)}}}finally{(0,f.Ht)(l)}}}function Ra(i,r,a){(0,s.GA0)(0);const l=(0,f.Ht)(null);try{r(i,a)}finally{(0,f.Ht)(l)}}function Ml(i,r,a){if((0,s.srX)(r)){const l=(0,f.Ht)(null);try{const p=r.directiveStart,g=r.directiveEnd;for(let S=p;S<g;S++){const L=i.data[S];if(L.contentQueries){const q=a[S];L.contentQueries(1,q,S)}}}finally{(0,f.Ht)(l)}}}var Js;!function(i){i[i.Emulated=0]="Emulated",i[i.None=2]="None",i[i.ShadowDom=3]="ShadowDom",i[i.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom"}(Js||(Js={}));const Na={name:"custom-elements"};const li={"http://www.w3.org/2000/svg":"svg","http://www.w3.org/1998/Math/MathML":"math"};let Ai,Po;function Ni(){if(void 0===Ai&&(Ai=null,s.laP.trustedTypes))try{Ai=s.laP.trustedTypes.createPolicy("angular",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return Ai}function $r(i){return Ni()?.createHTML(i)||i}function fs(){if(void 0===Po&&(Po=null,s.laP.trustedTypes))try{Po=s.laP.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return Po}function Is(i){return fs()?.createHTML(i)||i}function Ms(i){return fs()?.createScript(i)||i}function Ka(i){return fs()?.createScriptURL(i)||i}class pa{changingThisBreaksApplicationSecurity;constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${s.ok8})`}}class Nu extends pa{getTypeName(){return"HTML"}}class Lu extends pa{getTypeName(){return"Style"}}class sl extends pa{getTypeName(){return"Script"}}class ha extends pa{getTypeName(){return"URL"}}class ea extends pa{getTypeName(){return"ResourceURL"}}function sc(i){return i instanceof pa?i.changingThisBreaksApplicationSecurity:i}function mu(i,r){const a=function Ga(i){return i instanceof pa&&i.getTypeName()||null}(i);if(null!=a&&a!==r){if("ResourceURL"===a&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${a} (see ${s.ok8})`)}return a===r}function Ap(i){return new Nu(i)}function Bu(i){return new Lu(i)}function wc(i){return new sl(i)}function qc(i){return new ha(i)}function ac(i){return new ea(i)}function ql(i){const r=new Sa(i);return function gu(){try{return!!(new window.DOMParser).parseFromString($r(""),"text/html")}catch{return!1}}()?new wa(r):r}class wa{inertDocumentHelper;constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r="<body><remove></remove>"+r;try{const a=(new window.DOMParser).parseFromString($r(r),"text/html").body;return null===a?this.inertDocumentHelper.getInertBodyElement(r):(a.firstChild?.remove(),a)}catch{return null}}}class Sa{defaultDoc;inertDocument;constructor(r){this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(r){const a=this.inertDocument.createElement("template");return a.innerHTML=$r(r),a}}const rd=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function od(i){return(i=String(i)).match(rd)?i:"unsafe:"+i}function al(i){const r={};for(const a of i.split(","))r[a]=!0;return r}function cc(...i){const r={};for(const a of i)for(const l in a)a.hasOwnProperty(l)&&(r[l]=!0);return r}const qf=al("area,br,col,hr,img,wbr"),Lh=al("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Yf=al("rp,rt"),cl=cc(Yf,Lh),ll=cc(Lh,al("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ol=cc(Yf,al("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ul=cc(qf,ll,Ol,cl),Bd=al("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),jr=al("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Fu=al("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Bh=cc(Bd,jr,Fu),Fd=al("script,style,template");class Ud{sanitizedSomething=!1;buf=[];sanitizeChildren(r){let a=r.firstChild,l=!0,p=[];for(;a;)if(a.nodeType===Node.ELEMENT_NODE?l=this.startElement(a):a.nodeType===Node.TEXT_NODE?this.chars(a.nodeValue):this.sanitizedSomething=!0,l&&a.firstChild)p.push(a),a=Xa(a);else for(;a;){a.nodeType===Node.ELEMENT_NODE&&this.endElement(a);let g=Zf(a);if(g){a=g;break}a=p.pop()}return this.buf.join("")}startElement(r){const a=K(r).toLowerCase();if(!ul.hasOwnProperty(a))return this.sanitizedSomething=!0,!Fd.hasOwnProperty(a);this.buf.push("<"),this.buf.push(a);const l=r.attributes;for(let p=0;p<l.length;p++){const g=l.item(p),S=g.name,L=S.toLowerCase();if(!Bh.hasOwnProperty(L)){this.sanitizedSomething=!0;continue}let q=g.value;Bd[L]&&(q=od(q)),this.buf.push(" ",S,'="',Cn(q),'"')}return this.buf.push(">"),!0}endElement(r){const a=K(r).toLowerCase();ul.hasOwnProperty(a)&&!qf.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))}chars(r){this.buf.push(Cn(r))}}function Zf(i){const r=i.nextSibling;if(r&&i!==r.previousSibling)throw Ie(r);return r}function Xa(i){const r=i.firstChild;if(r&&function Fh(i,r){return(i.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(i,r))throw Ie(r);return r}function K(i){const r=i.nodeName;return"string"==typeof r?r:"FORM"}function Ie(i){return new Error(`Failed to sanitize html because the element is clobbered: ${i.outerHTML}`)}const bt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,an=/([^\#-~ |!])/g;function Cn(i){return i.replace(/&/g,"&").replace(bt,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(an,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let ri;function gi(i,r){let a=null;try{ri=ri||ql(i);let l=r?String(r):"";a=ri.getInertBodyElement(l);let p=5,g=l;do{if(0===p)throw new Error("Failed to sanitize html because the input is unstable");p--,l=g,g=a.innerHTML,a=ri.getInertBodyElement(l)}while(l!==g);return $r((new Ud).sanitizeChildren(Qr(a)||a))}finally{if(a){const l=Qr(a)||a;for(;l.firstChild;)l.firstChild.remove()}}}function Qr(i){return"content"in i&&function Zr(i){return i.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===i.nodeName}(i)?i.content:null}const Fo=/^>|^->|<!--|-->|--!>|<!-$/g,Sc=/(<|>)/g;function _u(i){return i.replace(Fo,r=>r.replace(Sc,"\u200b$1\u200b"))}function Uh(i,r){return i.createText(r)}function sd(i,r,a){i.setValue(r,a)}function Yl(i,r){return i.createComment(_u(r))}function ad(i,r,a){return i.createElement(r,a)}function Us(i,r,a,l,p){i.insertBefore(r,a,l,p)}function Wh(i,r,a){i.appendChild(r,a)}function mr(i,r,a,l,p){null!==l?Us(i,r,a,l,p):Wh(i,r,a)}function Pc(i,r,a,l){i.removeChild(null,r,a,l)}function Rg(i,r,a){const{mergedAttrs:l,classes:p,styles:g}=a;null!==l&&function Qe(i,r,a){let l=0;for(;l<a.length;){const p=a[l];if("number"==typeof p){if(0!==p)break;l++;const g=a[l++],S=a[l++],L=a[l++];i.setAttribute(r,S,L,g)}else{const g=p,S=a[++l];cn(g)?i.setProperty(r,g,S):i.setAttribute(r,g,S),l++}}return l}(i,r,l),null!==p&&function Ob(i,r,a){""===a?i.removeAttribute(r,"class"):i.setAttribute(r,"class",a)}(i,r,p),null!==g&&function Ab(i,r,a){i.setAttribute(r,"style",a)}(i,r,g)}function Ng(i,r=!0){if(":"!=i[0])return[null,i];const a=i.indexOf(":",1);if(-1===a){if(r)throw new Error(`Unsupported format "${i}" expecting ":namespace:name"`);return[null,i]}return[i.slice(1,a),i.slice(a+1)]}function Jf(i,r,a){if(void 0!==r&&void 0!==a&&Wd(r,a)!==s.WPN.HTML)return i;const l=Vh();return l?Is(l.sanitize(s.WPN.HTML,i)||""):mu(i,"HTML")?Is(sc(i)):gi(Lo(),(0,s.eFE)(i))}function Op(i){const r=Vh();return r?r.sanitize(s.WPN.STYLE,i)||"":mu(i,"Style")?sc(i):(0,s.eFE)(i)}function Rc(i){const r=Vh();return r?r.sanitize(s.WPN.URL,i)||"":mu(i,"URL")?sc(i):od((0,s.eFE)(i))}function Pl(i){const r=Vh();if(r)return Ka(r.sanitize(s.WPN.RESOURCE_URL,i)||"");if(mu(i,"ResourceURL"))return Ka(sc(i));throw new s.buA(904,!1)}function Lg(i){const r=Vh();if(r)return Ms(r.sanitize(s.WPN.SCRIPT,i)||"");if(mu(i,"Script"))return Ms(sc(i));throw new s.buA(905,!1)}function tm(i,r,a){return function Pp(i,r){switch(Wd(i,r)){case s.WPN.RESOURCE_URL:return Pl;case s.WPN.URL:return Rc;default:return null}}(r,a)?.(i)??i}function Vh(){const i=(0,s.OAn)();return i&&i[10].sanitizer}function Wd(i,r){const[a,l]=xa(i);return(0,s.wdo)(l,r,a)}function xa(i){const r=Ng(i=i.toLowerCase(),!1);if(r[0])return r;const l=-1===(0,s._px)()?null:(0,s.CpD)();let p=l?.namespace;if("#host"===i&&2===l?.type){const g=(0,s.d31)(l,(0,s.OAn)());if(g.tagName&&(i=g.tagName.toLowerCase()),null==p){const S=g.namespaceURI;p=S&&li[S]}}return[p,i]}const ld=new Set(["href","xlink:href"]),Rb={animate:{to:ld,values:ld,from:ld},set:{to:ld}};function nm(i,r,a){const p=-1===(0,s._px)()?null:(0,s.CpD)();if(p&&2!==p.type)return i;const[g,S]=xa(r);if((0,s.wdo)(S,a,g)!==s.WPN.ATTRIBUTE_NO_BINDING)return i;const q=(0,s.OAn)();if(p)if("iframe"===S){!function cd(i){const r=(0,s.OAn)();i.src="",i.srcdoc=$r(""),Pc(r[11],i)}((0,s.d31)(p,q))}else if("svg"===g){const Ke=Rb[S]?.[a.toLowerCase()];if(Ke){if(function _v(i,r){for(const a of i.getAttributeNames()){if("attributename"!==a.toLowerCase())continue;const l=i.getAttribute(a);if(null!==l&&r.has(l.toLowerCase()))return l}return null}((0,s.d31)(p,q),Ke))throw new s.buA(-910,!1);return i}}throw new s.buA(-910,!1)}new s.nKC("",{factory:()=>false});function om(i){return i.ownerDocument.body}function dl(i){return i instanceof Function?i():i}function Fg(i){if(!(0,s.xUg)(i))throw new s.buA(906,`The ${(0,s.PP7)(i)} is not an Angular component, make sure it has the \`@Component\` decorator.`)}function Wg(i,r,a){let l=i.length;for(;;){const p=i.indexOf(r,a);if(-1===p)return p;if(0===p||i.charCodeAt(p-1)<=32){const g=r.length;if(p+g===l||i.charCodeAt(p+g)<=32)return p}a=p+1}}const Zl="ng-template";function Vg(i,r,a,l){let p=0;if(l){for(;p<r.length&&"string"==typeof r[p];p+=2)if("class"===r[p]&&-1!==Wg(r[p+1].toLowerCase(),a,0))return!0}else if(dd(i))return!1;if(p=r.indexOf(1,p),p>-1){let g;for(;++p<r.length&&"string"==typeof(g=r[p]);)if(g.toLowerCase()===a)return!0}return!1}function dd(i){return 4===i.type&&i.value!==Zl}function Vd(i,r,a){return r===(4!==i.type||a?i.value:Zl)}function Br(i,r,a){let l=4;const p=i.attrs,g=null!==p?function jg(i){for(let r=0;r<i.length;r++){if(kt(i[r]))return r}return i.length}(p):0;let S=!1;for(let L=0;L<r.length;L++){const q=r[L];if("number"!=typeof q){if(!S)if(4&l){if(l=2|1&l,""!==q&&!Vd(i,q,a)||""===q&&1===r.length){if(La(l))return!1;S=!0}}else if(8&l){if(null===p||!Vg(i,p,q,a)){if(La(l))return!1;S=!0}}else{const ke=r[++L],Ke=$g(q,p,dd(i),a);if(-1===Ke){if(La(l))return!1;S=!0;continue}if(""!==ke){let vt;if(vt=Ke>g?"":p[Ke+1].toLowerCase(),2&l&&ke!==vt){if(La(l))return!1;S=!0}}}}else{if(!S&&!La(l)&&!La(q))return!1;if(S&&La(q))continue;S=!1,l=q|1&l}}return La(l)||S}function La(i){return!(1&i)}function $g(i,r,a,l){if(null===r)return-1;let p=0;if(l||!a){let g=!1;for(;p<r.length;){const S=r[p];if(S===i)return p;if(3===S||6===S)g=!0;else{if(1===S||2===S){let L=r[++p];for(;"string"==typeof L;)L=r[++p];continue}if(4===S)break;if(0===S){p+=4;continue}}p+=g?1:2}return-1}return function wv(i,r){let a=i.indexOf(4);if(a>-1)for(a++;a<i.length;){const l=i[a];if("number"==typeof l)return-1;if(l===r)return a;a++}return-1}(r,i)}function pd(i,r,a=!1){for(let l=0;l<r.length;l++)if(Br(i,r[l],a))return!0;return!1}function Qa(i,r){e:for(let a=0;a<r.length;a++){const l=r[a];if(i.length===l.length){for(let p=0;p<i.length;p++)if(i[p]!==l[p])continue e;return!0}}return!1}function Sv(i,r){return i?":not("+r.trim()+")":r}function Hg(i){let r=i[0],a=1,l=2,p="",g=!1;for(;a<i.length;){let S=i[a];if("string"==typeof S)if(2&l){const L=i[++a];p+="["+S+(L.length>0?'="'+L+'"':"")+"]"}else 8&l?p+="."+S:4&l&&(p+=" "+S);else""!==p&&!La(S)&&(r+=Sv(g,p),p=""),l=S,g=g||!La(l);a++}return""!==p&&(r+=Sv(g,p)),r}const Vo={};var Np;let sm;function zg(i,r){return sm(i,r)}!function(i){i[i.Important=1]="Important",i[i.DashCase=2]="DashCase"}(Np||(Np={}));const Lc=new s.nKC("",{factory:()=>!1}),Kg=new s.nKC("",{factory:()=>Ub}),Ub=4e3,yu=typeof document<"u"&&"function"==typeof document?.documentElement?.getAnimations;function am(i){return i[9].get(Lc,false)}function Gg(i){const r=Lp.get(i);if(r){for(const a of r.cleanupFns)a();Lp.delete(i)}$d.delete(i)}const Cv=()=>{},Lp=new WeakMap,$d=new WeakMap,Ue=new WeakMap;function Xi(i){return i?i[14]??i:null}const lc=new WeakSet;function ta(i,r){const a=Ue.get(i);if(a&&a.length>0){const l=a.findIndex(p=>p.el===r);l>-1&&a.splice(l,1)}0===a?.length&&Ue.delete(i)}function Rl(i,r,a){const l=Xi(a),p=Ue.get(i);p?p.some(g=>g.el===r)||p.push({el:r,declarationView:l}):Ue.set(i,[{el:r,declarationView:l}])}function Nl(i){const r=i[26]??={};return r.enter??=new Map}function To(i){const r=i[26]??={};return r.leave??=new Map}function Ws(i){const r="function"==typeof i?i():i;let a=Array.isArray(r)?r:null;return"string"==typeof r&&(a=r.trim().split(/\s+/).filter(l=>l)),a}function Yo(i){return i.composedPath?i.composedPath()[0]:i.target}function Pn(i,r){const a=$d.get(r);return void 0===a||r===Yo(i)&&(void 0!==a.animationName&&i.animationName===a.animationName||void 0!==a.propertyName&&("all"===a.propertyName||i.propertyName===a.propertyName))}function xc(i,r,a){const l=i.get(r.index)??{animateFns:[]};l.animateFns.push(a),i.set(r.index,l)}function Jl(i,r){if(i)for(const a of i)a();for(const a of r)a()}function dr(i,r){const a=To(i).get(r.index);a&&(a.resolvers=void 0)}function Hh(i,r,a,l,p){ta(r,a),Jl(l,p),dr(i,r)}function Bp(i){if(!i)return 0;const r=i.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(i)*r}function pl(i,r){return i.getPropertyValue(r).split(",").map(l=>l.trim())}function Bc(i,r){return void 0!==i&&i.duration>r.duration}function Fc(i){return(null!=i.animationName||null!=i.propertyName)&&i.duration>0}function Fp(i,r){const a=getComputedStyle(i),l=function hl(i){const r=pl(i,"animation-name"),a=pl(i,"animation-delay"),l=pl(i,"animation-duration"),p=pl(i,"animation-iteration-count"),g={animationName:"",propertyName:void 0,duration:0};for(let S=0;S<r.length;S++){const L=Bp(a[S])+Bp(l[S]),q=p[S];L>g.duration&&"infinite"!==q&&(g.animationName=r[S],g.duration=L)}return g}(a),p=function zh(i){const r=pl(i,"transition-property"),a=pl(i,"transition-duration"),l=pl(i,"transition-delay"),p={propertyName:"",duration:0,animationName:void 0};for(let g=0;g<r.length;g++){const S=Bp(l[g])+Bp(a[g]);S>p.duration&&(p.propertyName=r[g],p.duration=S)}return p}(a),g=l.duration>p.duration?l:p;Bc(r.get(i),g)||Fc(g)&&r.set(i,g)}function Up(i,r,a){if(!a)return;const l=i.getAnimations();return 0===l.length?Fp(i,r):function Xg(i,r,a){let l={animationName:void 0,propertyName:void 0,duration:0};for(const p of a){const g=p.effect?.getTiming();if(g?.iterations===1/0)continue;const S="number"==typeof g?.duration?g.duration:0;let L=(g?.delay??0)+S;const q=p.playbackRate;let ke,Ke;void 0!==q&&0!==q&&1!==q&&(L/=Math.abs(q)),p.animationName?Ke=p.animationName:ke=p.transitionProperty,L>=l.duration&&(l={animationName:Ke,propertyName:ke,duration:L})}Bc(r.get(i),l)||Fc(l)&&r.set(i,l)}(i,r,l)}const bu=new Set;var Kh;!function(i){i[i.CHANGE_DETECTION=0]="CHANGE_DETECTION",i[i.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER"}(Kh||(Kh={}));const ms=new s.nKC(""),hd=new Set;function qa(i){hd.has(i)||(hd.add(i),performance?.mark?.("mark_feature_usage",{detail:{feature:i}}))}class Wp{impl=null;execute(){this.impl?.execute()}static \u0275prov=(0,s.jDH)({token:Wp,providedIn:"root",factory:()=>new Wp})}const Qg=[0,1,2,3];class Gh{ngZone=(0,s.WQX)(s.SKi);scheduler=(0,s.WQX)(s.hk6);errorHandler=(0,s.WQX)(s.zcH,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){(0,s.WQX)(ms,{optional:!0})}execute(){const r=this.sequences.size>0;r&&bn(G.AfterRenderHooksStart),this.executing=!0;for(const a of Qg)for(const l of this.sequences)if(!l.erroredOrDestroyed&&l.hooks[a])try{l.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,l.hooks[a])(l.pipelinedValue),l.snapshot))}catch(p){l.erroredOrDestroyed=!0,this.errorHandler?.handleError(p)}this.executing=!1;for(const a of this.sequences)a.afterRun(),a.once&&(this.sequences.delete(a),a.destroy());for(const a of this.deferredRegistrations)this.sequences.add(a);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),r&&bn(G.AfterRenderHooksEnd)}register(r){const{view:a}=r;void 0!==a?((a[25]??=[]).push(r),(0,s.blu)(a),a[2]|=8192):this.executing?this.deferredRegistrations.add(r):this.addSequence(r)}addSequence(r){this.sequences.add(r),this.scheduler.notify(7)}unregister(r){this.executing&&this.sequences.has(r)?(r.erroredOrDestroyed=!0,r.pipelinedValue=void 0,r.once=!0):(this.sequences.delete(r),this.deferredRegistrations.delete(r))}maybeTrace(r,a){return a?a.run(Kh.AFTER_NEXT_RENDER,r):r()}static \u0275prov=(0,s.jDH)({token:Gh,providedIn:"root",factory:()=>new Gh})}class Tv{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(r,a,l,p,g,S=null){this.impl=r,this.hooks=a,this.view=l,this.once=p,this.snapshot=S,this.unregisterOnDestroy=g?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const r=this.view?.[25];r&&(this.view[25]=r.filter(a=>a!==this))}}function lm(i,r){const a=r?.injector??(0,s.WQX)(s.zZn);return qa("NgAfterNextRender"),qg(i,a,r,!0)}function qg(i,r,a,l){const p=r.get(Wp);p.impl??=r.get(Gh);const g=r.get(ms,null,{optional:!0}),S=!0!==a?.manualCleanup?r.get(s.abz):null,L=r.get(s.r4V,null,{optional:!0}),q=new Tv(p.impl,function $b(i){return i instanceof Function?[void 0,void 0,i,void 0]:[i.earlyRead,i.write,i.mixedReadWrite,i.read]}(i),L?.view,l,S,g?.snapshot(null));return p.impl.register(q),q}const Ll={destroy(){}},Vp=new s.nKC("",{factory:()=>{const i=(0,s.WQX)(s.uvJ),r=new Set;return i.onDestroy(()=>r.clear()),{queue:r,isScheduled:!1,scheduler:null,injector:i}}});function kv(i,r,a){const l=i.get(Vp);if(Array.isArray(r))for(const p of r)l.queue.add(p),a?.detachedLeaveAnimationFns?.push(p);else l.queue.add(r),a?.detachedLeaveAnimationFns?.push(r);l.scheduler&&l.scheduler(i)}function jb(i){const r=i.get(Vp);r.isScheduled||(lm(()=>{r.isScheduled=!1;for(let a of r.queue)a();r.queue.clear()},{injector:r.injector}),r.isScheduled=!0)}function um(i){const r=i.get(Vp);r.scheduler=jb,r.scheduler(i)}function Bl(i,r){for(const[a,l]of r)kv(i,l.animateFns)}function Ko(i,r,a,l){const p=i?.[26]?.enter;null!==r&&p&&p.has(a.index)&&Bl(l,p)}function fa(i,r,a,l){try{a.get(s.YEL)}catch{return l(!1)}const p=i?.[26];p?.enter?.has(r.index)&&function Iv(i,r){const a=i.get(Vp);if(Array.isArray(r))for(const l of r)a.queue.delete(l);else a.queue.delete(r)}(a,p.enter.get(r.index).animateFns);const g=function Xh(i,r,a){const l=new Map,p=a?.leave;if(p&&p.has(r.index)&&l.set(r.index,p.get(r.index)),i&&p)for(const[g,S]of p){if(l.has(g))continue;let q=i[1].data[g].parent;for(;q;){if(q===r){l.set(g,S);break}q=q.parent}}return l}(i,r,p);if(0===g.size){let S=!1;if(i){const L=[];Vu(i,r,L),S=L.length>0}if(!S)return l(!1)}i&&bu.add(i[19]),kv(a,()=>function dm(i,r,a,l,p){const g=[];if(a&&a.leave)for(const[S]of l){if(!a.leave.has(S))continue;const L=a.leave.get(S);for(const q of L.animateFns){const{promise:ke}=q();g.push(ke)}a.detachedLeaveAnimationFns=void 0}if(i&&Vu(i,r,g),g.length>0){const S=a||i?.[26];if(S){const L=S.running;L&&g.push(L),S.running=Promise.allSettled(g),function $u(i,r,a){r.then(()=>{i[26]?.running===r&&(i[26].running=void 0,bu.delete(i[19])),a(!0)})}(i,S.running,p)}else Promise.allSettled(g).then(()=>{i&&bu.delete(i[19]),p(!0)})}else i&&bu.delete(i[19]),p(!1)}(i,r,p||void 0,g,l),p||void 0)}function Vu(i,r,a){if(12&r.type){const p=i[r.index];if((0,s.A0l)(p))for(let g=10;g<p.length;g++){const S=p[g];2===S[1].type&&$p(S,a)}}let l=r.child;for(;l;)Vu(i,l,a),l=l.next}function $p(i,r){const a=i[26];if(a&&a.leave)for(const p of a.leave.values())for(const g of p.animateFns){const{promise:S}=g();r.push(S)}let l=i[1].firstChild;for(;l;)Vu(i,l,r),l=l.next}function ju(i,r,a,l,p,g,S,L){if(null!=p){let q,ke=!1;(0,s.A0l)(p)?q=p:(0,s.q$2)(p)&&(ke=!0,p=p[0]);const Ke=(0,s.IvY)(p);0===i&&null!==l?(Ko(L,l,g,a),null==S?Wh(r,l,Ke):Us(r,l,Ke,S||null,!0)):1===i&&null!==l?(Ko(L,l,g,a),Us(r,l,Ke,S||null,!0),function zi(i,r,a){const l=Ue.get(i);if(!l||0===l.length)return;const p=r.parentNode,g=r.previousSibling,S=Xi(a);for(let L=l.length-1;L>=0;L--){const{el:q,declarationView:ke}=l[L],Ke=q.parentNode;q===r?(l.splice(L,1),lc.add(q),q.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(g&&q===g||Ke&&p&&Ke!==p&&(null===S||null===ke||S===ke))&&(l.splice(L,1),q.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),q.parentNode?.removeChild(q))}}(g,Ke,L)):2===i?(L?.[26]?.leave?.has(g.index)&&Rl(g,Ke,L),lc.delete(Ke),fa(L,g,a,vt=>{lc.has(Ke)?lc.delete(Ke):Pc(r,Ke,ke,vt)})):3===i&&(lc.delete(Ke),fa(L,g,a,()=>{r.destroyNode(Ke)})),null!=q&&function Bi(i,r,a,l,p,g,S){const L=l[7],q=(0,s.IvY)(l);if(L!==q&&ju(r,i,a,g,L,p,S),!(4&l[2]))for(let ke=10;ke<l.length;ke++){const Ke=l[ke];Vs(Ke[1],Ke,i,r,g,L)}}(r,i,a,q,g,l,S)}}function jp(i,r){jd(i,r),r[0]=null,r[5]=null}function jd(i,r){r[10].changeDetectionScheduler?.notify(9),Vs(i,r,r[11],2,null,null)}function Hp(i,r){const a=i[9],l=a.indexOf(r);a.splice(l,1)}function Jc(i,r){if((0,s.EPY)(r))return;const a=r[11];a.destroyNode&&Vs(i,r,a,3,null,null),function Qh(i){let r=i[12];if(!r)return Eu(i[1],i);for(;r;){let a=null;if((0,s.q$2)(r))a=r[12];else{const l=r[10];l&&(a=l)}if(!a){for(;r&&!r[4]&&r!==i;)(0,s.q$2)(r)&&Eu(r[1],r),r=r[3];null===r&&(r=i),(0,s.q$2)(r)&&Eu(r[1],r),a=r&&r[4]}r=a}}(r)}function Eu(i,r){if((0,s.EPY)(r))return;const a=(0,f.Ht)(null);try{r[2]&=-129,r[2]|=256,r[24]&&(0,f.XR)(r[24]),function Hd(i,r){let a;if(null!=i&&null!=(a=i.destroyHooks))for(let l=0;l<a.length;l+=2){const p=r[a[l]];if(!(p instanceof je)){const g=a[l+1];if(Array.isArray(g))for(let S=0;S<g.length;S+=2){const L=p[g[S]],q=g[S+1];bn(G.LifecycleHookStart,L,q);try{q.call(L)}finally{bn(G.LifecycleHookEnd,L,q)}}else{bn(G.LifecycleHookStart,p,g);try{g.call(p)}finally{bn(G.LifecycleHookEnd,p,g)}}}}}(i,r),function Hu(i,r){const a=i.cleanup,l=r[7];if(null!==a)for(let S=0;S<a.length-1;S+=2)if("string"==typeof a[S]){const L=a[S+3];L>=0?l[L]():l[-L].unsubscribe(),S+=2}else{const L=l[a[S+1]];a[S].call(L)}null!==l&&(r[7]=null);const p=r[21];if(null!==p){r[21]=null;for(let S=0;S<p.length;S++){(0,p[S])()}}const g=r[23];if(null!==g){r[23]=null;for(const S of g)S.destroy()}}(i,r),1===r[1].type&&r[11].destroy();const l=r[16];if(null!==l&&(0,s.A0l)(r[3])){l!==r[3]&&Hp(l,r);const p=r[18];null!==p&&p.detachView(i)}Kr(r)}finally{(0,f.Ht)(a)}}function zd(i,r,a){return fd(i,r.parent,a)}function fd(i,r,a){let l=r;for(;null!==l&&168&l.type;)l=(r=l).parent;if(null===l)return a[0];if((0,s.Qs1)(l)){const{encapsulation:p}=i.data[l.directiveStart+l.componentOffset];if(p===Js.None||p===Js.Emulated)return null}return(0,s.d31)(l,a)}function md(i,r,a){return Gd(i,r,a)}function Kd(i,r,a){return 40&i.type?(0,s.d31)(i,a):null}let wu,Gd=Kd;function Fl(i,r){Gd=i,wu=r}function eu(i,r,a,l){const p=zd(i,l,r),g=r[11],L=md(l.parent||r[5],l,r);if(null!=p)if(Array.isArray(a))for(let q=0;q<a.length;q++)mr(g,p,a[q],L,!1);else mr(g,p,a,L,!1);void 0!==wu&&wu(g,l,r,a,p)}function tu(i,r){if(null!==r){const a=r.type;if(3&a)return(0,s.d31)(r,i);if(4&a)return gd(-1,i[r.index]);if(8&a){const l=r.child;if(null!==l)return tu(i,l);{const p=i[r.index];return(0,s.A0l)(p)?gd(-1,p):(0,s.IvY)(p)}}if(128&a)return tu(i,r.next);if(32&a)return zg(r,i)()||(0,s.IvY)(i[r.index]);{const l=zp(i,r);if(null!==l){if(Array.isArray(l))return l[0];return tu((0,s._0$)(i[15]),l)}return tu(i,r.next)}}return null}function zp(i,r){if(null!==r){const l=i[15][5],p=r.projection;return l.projection[p]}return null}function gd(i,r){const a=10+i+1;if(a<r.length){const l=r[a],p=l[1].firstChild;if(null!==p)return tu(l,p)}return r[7]}function Kp(i,r,a,l,p,g,S){for(;null!=a;){const L=l[9];if(128===a.type){a=a.next;continue}const q=l[a.index],ke=a.type;if(S&&0===r&&(q&&wo((0,s.IvY)(q),l),a.flags|=2),!le(a))if(8&ke)Kp(i,r,a.child,l,p,g,!1),ju(r,i,L,p,q,a,g,l);else if(32&ke){const Ke=zg(a,l);let vt;for(;vt=Ke();)ju(r,i,L,p,vt,a,g,l);ju(r,i,L,p,q,a,g,l)}else 16&ke?Ss(i,r,l,a,p,g):ju(r,i,L,p,q,a,g,l);a=S?a.projectionNext:a.next}}function Vs(i,r,a,l,p,g){3===i.type?function Ur(i,r,a,l,p){const S=a[1].firstChild,L=S.next,q=(0,s.IvY)(a[S.index]),ke=(0,s.IvY)(a[L.index]),Ke=L.index+1;let vt=a[Ke];if(1===r||0===r)null!==l&&(vt&&vt.hasChildNodes()?Us(i,l,vt,p,!0):(Us(i,l,q,p,!0),Us(i,l,ke,p,!0)));else if(2===r){if(vt||(vt=document.createDocumentFragment(),a[Ke]=vt),q&&q.parentNode===vt)return;let qt=q;for(;null!==qt;){const on=qt.nextSibling;if(vt.appendChild(qt),qt===ke)break;qt=on}}}(a,l,r,p,g):Kp(a,l,i.firstChild,r,p,g,!1)}function Ss(i,r,a,l,p,g){const S=a[15],q=S[5].projection[l.projection];if(Array.isArray(q))for(let ke=0;ke<q.length;ke++){const Ke=q[ke];ju(r,i,a[9],p,Ke,l,g,a)}else{let ke=q;const Ke=S[3];Ps(l)&&(ke.flags|=128),Kp(i,r,ke,Ke,p,g,!0)}}function qh(i,r,a,l,p,g,S,L,q,ke,Ke){const vt=27+l,qt=vt+p,on=function Dc(i,r){const a=[];for(let l=0;l<r;l++)a.push(l<i?null:Vo);return a}(vt,qt),Mn="function"==typeof ke?ke():ke;return on[1]={type:i,blueprint:on,template:a,queries:null,viewQuery:L,declTNode:r,data:on.slice().fill(null,vt),bindingStartIndex:vt,expandoStartIndex:qt,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof g?g():g,pipeRegistry:"function"==typeof S?S():S,firstChild:null,schemas:q,consts:Mn,incompleteFirstPass:!1,ssrId:Ke}}function Av(i){const r=i.tView;return null===r||r.incompleteFirstPass?i.tView=qh(1,null,i.template,i.decls,i.vars,i.directiveDefs,i.pipeDefs,i.viewQuery,i.schemas,i.consts,i.id):r}function Ul(i,r,a,l,p,g,S,L,q,ke,Ke){const vt=r.blueprint.slice();return vt[0]=p,vt[2]=1228|l,(null!==ke||i&&2048&i[2])&&(vt[2]|=2048),(0,s.HUe)(vt),vt[3]=vt[14]=i,vt[8]=a,vt[10]=S||i&&i[10],vt[11]=L||i&&i[11],vt[9]=q||i&&i[9]||null,vt[5]=g,vt[19]=function Ao(){return ls++}(),vt[6]=Ke,vt[20]=ke,vt[15]=2==r.type?i[15]:vt,vt}function Zg(i){let r=16;return i.signals?r=4096:i.onPush&&(r=64),r}function Gp(i,r,a,l){if(0===a)return-1;const p=r.length;for(let g=0;g<a;g++)r.push(l),i.blueprint.push(l),i.data.push(null);return p}function Xp(i,r){return i[12]?i[13][4]=r:i[12]=r,i[13]=r,r}function Jg(i=1){e_((0,s.klJ)(),(0,s.OAn)(),(0,s._px)()+i,!1)}function e_(i,r,a,l){if(!l)if(3&~r[2]){const g=i.preOrderHooks;null!==g&&Y(r,g,0,a)}else{const g=i.preOrderCheckHooks;null!==g&&_e(r,g,a)}(0,s.ypq)(a)}var Yh;function Qd(i,r,a,l){const p=(0,f.Ht)(null);try{const[g,S,L]=i.inputs[a];let q=null;0!==(S&Yh.SignalBased)&&(q=r[g][f.bh]),null!==q&&void 0!==q.transformFn?l=q.transformFn(l):null!==L&&(l=L.call(r,l)),null!==i.setInput?i.setInput(r,q,l,a,g):He(r,q,g,l)}finally{(0,f.Ht)(p)}}function Ov(i,r,a,l,p){const g=(0,s._px)(),S=2&l;try{(0,s.ypq)(-1),S&&r.length>27&&e_(i,r,27,!1);const L=S?G.TemplateUpdateStart:G.TemplateCreateStart;bn(L,p,a),a(l,p)}finally{(0,s.ypq)(g);const L=S?G.TemplateUpdateEnd:G.TemplateCreateEnd;bn(L,p,a)}}function hm(i,r,a){(function Xb(i,r,a){const l=a.directiveStart,p=a.directiveEnd;(0,s.Qs1)(a)&&function Hb(i,r,a){const l=(0,s.d31)(r,i),p=Av(a),g=i[10].rendererFactory,S=Xp(i,Ul(i,p,null,Zg(a),l,r,null,g.createRenderer(l,a),null,null,null));return i[r.index]=S}(r,a,i.data[l+a.componentOffset]),i.firstCreatePass||Mr(a,r);const g=a.initialInputs;for(let S=l;S<p;S++){const L=i.data[S],q=zt(r,i,S,a);if(wo(q,r),null!==g&&qb(r,S-l,q,L,a,g),(0,s.JlV)(L)){(0,s.KdJ)(a.index,r)[8]=zt(r,i,S,a)}}})(i,r,a),!(64&~a.flags)&&function _d(i,r,a){const l=a.directiveStart,p=a.directiveEnd,g=a.index,S=(0,s.Z9v)();try{(0,s.ypq)(g);for(let L=l;L<p;L++){const q=i.data[L],ke=r[L];(0,s.RZ9)(L),(null!==q.hostBindings||0!==q.hostVars||null!==q.hostAttrs)&&Qb(q,ke)}}finally{(0,s.ypq)(-1),(0,s.RZ9)(S)}}(i,r,a)}function qd(i,r,a=s.d31){const l=r.localNames;if(null!==l){let p=r.index+1;for(let g=0;g<l.length;g+=2){const S=l[g+1],L=-1===S?a(r,i):i[S];i[p++]=L}}}function zb(i,r,a,l){const g=l.get(An,false)||a===Js.ShadowDom||a===Js.ExperimentalIsolatedShadowDom,S=i.selectRootElement(r,g);return function Pv(i){Zh(i)}(S),S}!function(i){i[i.None=0]="None",i[i.SignalBased=1]="SignalBased",i[i.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(Yh||(Yh={}));let Zh=()=>null;function t_(i,r,a,l,p,g){qp(i,r[1],r,a,l)?(0,s.Qs1)(i)&&Nv(r,i.index):(3&i.type&&(a=function Gb(i){return"class"===i?"className":"for"===i?"htmlFor":"formaction"===i?"formAction":"innerHtml"===i?"innerHTML":"readonly"===i?"readOnly":"tabindex"===i?"tabIndex":i}(a)),Qp(i,r,a,l,p,g))}function Qp(i,r,a,l,p,g){if(3&i.type){const S=(0,s.d31)(i,r);l=null!=g?g(l,i.value||"",a):l,p.setProperty(S,a,l)}else i.type}function Nv(i,r){const a=(0,s.KdJ)(r,i);16&a[2]||(a[2]|=64)}function Qb(i,r){null!==i.hostBindings&&i.hostBindings(1,r)}function n_(i,r){const a=i.directiveRegistry;let l=null;if(a)for(let p=0;p<a.length;p++){const g=a[p];pd(r,g.selectors,!1)&&(l??=[],(0,s.JlV)(g)?l.unshift(g):l.push(g))}return l}function Yd(i,r,a,l,p,g,S){if(null==g)S?.(g,l||"",p),i.removeAttribute(r,p,a);else{const L=null==S?(0,s.eFE)(g):S(g,l||"",p);i.setAttribute(r,p,L,a)}}function qb(i,r,a,l,p,g){const S=g[r];if(null!==S)for(let L=0;L<S.length;L+=2){Qd(l,a,S[L],S[L+1])}}function mm(i,r,a,l,p){const g=27+a,S=r[1],L=p(S,r,i,l,a);r[g]=L,(0,s.iMd)(i,!0);const q=2===i.type;return q?(Rg(r[11],L,i),(0===(0,s.znI)()||(0,s.yoD)(i))&&wo(L,r),(0,s.Fje)()):wo(L,r),(0,s.SX7)()&&(!q||!le(i))&&eu(S,r,L,i),i}function Zd(i){let r=i;return(0,s.YWB)()?(0,s.Pfq)():(r=r.parent,(0,s.iMd)(r,!1)),r}function gm(i,r,a){return(null===i||(0,s.JlV)(i))&&(a=(0,s.zAe)(a[r.index])),a[11]}function _m(i,r){const a=i[9];if(!a)return;let l;try{l=a.get(s.ZTf,null)}catch{l=null}l?.(r)}function qp(i,r,a,l,p){const g=i.inputs?.[l],S=i.hostDirectiveInputs?.[l];let L=!1;if(S)for(let q=0;q<S.length;q+=2){const ke=S[q],Ke=S[q+1];Qd(r.data[ke],a[ke],Ke,p),L=!0}if(g)for(const q of g){const ke=a[q];Qd(r.data[q],ke,l,p),L=!0}return L}function i_(i,r,a,l,p,g){let S=null,L=null,q=null,ke=!1;const Ke=i.directiveToIndex.get(l.type);if("number"==typeof Ke?S=Ke:[S,L,q]=Ke,null!==L&&null!==q&&i.hostDirectiveInputs?.hasOwnProperty(p)){const vt=i.hostDirectiveInputs[p];for(let qt=0;qt<vt.length;qt+=2){const on=vt[qt];if(on>=L&&on<=q){const Mn=r.data[on],di=vt[qt+1];Qd(Mn,a[on],di,g),ke=!0}else if(on>q)break}}return null!==S&&l.inputs.hasOwnProperty(p)&&(Qd(l,a[S],p,g),ke=!0),ke}function r_(i,r){const a=(0,s.KdJ)(r,i),l=a[1];!function xi(i,r){for(let a=r.length;a<i.blueprint.length;a++)r.push(i.blueprint[a])}(l,a);const p=a[0];null!==p&&null===a[6]&&(a[6]=Sr(p,a[9])),bn(G.ComponentStart);try{Ba(l,a,a[8])}finally{bn(G.ComponentEnd,a[8])}}function Ba(i,r,a){(0,s.ID8)(r);try{const l=i.viewQuery;null!==l&&Ra(1,l,a);const p=i.template;null!==p&&Ov(i,r,p,1,a),i.firstCreatePass&&(i.firstCreatePass=!1),r[18]?.finishViewCreation(i),i.staticContentQueries&&hu(i,r),i.staticViewQueries&&Ra(2,i.viewQuery,a);const g=i.components;null!==g&&function Fv(i,r){for(let a=0;a<r.length;a++)r_(i,r[a])}(r,g)}catch(l){throw i.firstCreatePass&&(i.incompleteFirstPass=!0,i.firstCreatePass=!1),l}finally{r[2]&=-5,(0,s.bll)()}}function Su(i,r,a,l){const p=(0,f.Ht)(null);try{const g=r.tView,q=Ul(i,g,a,4096&i[2]?4096:16,null,r,null,null,l?.injector??null,l?.embeddedViewInjector??null,l?.dehydratedView??null),ke=i[r.index];q[16]=ke;const Ke=i[18];return null!==Ke&&(q[18]=Ke.createEmbeddedView(g)),Ba(g,q,a),q}finally{(0,f.Ht)(p)}}function vd(i,r){return!r||null===r.firstChild||Ps(i)}new s.nKC("");function yd(i,r,a,l,p=!1){if(3===i.type){const g=i.firstChild,S=g.next,L=(0,s.IvY)(r[g.index]),q=(0,s.IvY)(r[S.index]);let ke=L;for(;null!==ke&&(l.push(ke),ke!==q);)ke=ke.nextSibling;return l}for(;null!==a;){if(128===a.type){a=p?a.projectionNext:a.next;continue}const g=r[a.index];if(null!==g)if((0,s.A0l)(g)){const L=g[7];L!==g[0]&&l.push((0,s.IvY)(g)),4&g[2]||Yb(g,l),l.push(L)}else l.push((0,s.IvY)(g));const S=a.type;if(8&S)yd(i,r,a.child,l);else if(32&S){const L=zg(a,r);let q;for(;q=L();)l.push(q)}else if(16&S){const L=zp(r,a);if(Array.isArray(L))l.push(...L);else{const q=(0,s._0$)(r[15]);yd(q[1],q,L,l,!0)}}a=p?a.projectionNext:a.next}return l}function Yb(i,r){for(let a=10;a<i.length;a++){const l=i[a],p=l[1].firstChild;null!==p&&yd(l[1],l,p,r)}}function ym(i){if(null!==i[25]){for(const r of i[25])r.impl.addSequence(r);i[25].length=0}}let o_=[];function Zb(i){return i[24]??function Jb(i){const r=o_.pop()??Object.create(Uv);return r.lView=i,r}(i)}const Uv={...f.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:i=>{(0,s.blu)(i.lView)},consumerOnSignalRead(){this.lView[24]=this}};const Yp={...f.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:i=>{let r=(0,s._0$)(i.lView);for(;r&&!Wv(r[1]);)r=(0,s._0$)(r);r&&(0,s.HAh)(r)},consumerOnSignalRead(){this.lView[24]=this}};function Wv(i){return 2!==i.type}function s_(i){if(null===i[23])return;let r=!0;for(;r;){let a=!1;for(const l of i[23])l.dirty&&(a=!0,null===l.zone||Zone.current===l.zone?l.run():l.zone.run(()=>l.run()));r=a&&!!(8192&i[2])}}function bm(i,r=0){const l=i[10].rendererFactory;l.begin?.();try{!function Vv(i,r){const a=(0,s.yP_)();try{(0,s.cBl)(!0),uc(i,r);let l=0;for(;(0,s.dMS)(i);){if(100===l)throw new s.buA(103,!1);l++,uc(i,1)}}finally{(0,s.cBl)(a)}}(i,r)}finally{l.end?.()}}function $v(i,r,a,l){if((0,s.EPY)(r))return;const p=r[2];(0,s.ID8)(r);let L=!0,q=null,ke=null;Wv(i)?(ke=Zb(r),q=(0,f.Bg)(ke)):null===(0,f.nR)()?(L=!1,ke=function t0(i){const r=i[24]??Object.create(Yp);return r.lView=i,r}(r),q=(0,f.Bg)(ke)):r[24]&&((0,f.XR)(r[24]),r[24]=null);try{(0,s.HUe)(r),(0,s.Kw3)(i.bindingStartIndex),null!==a&&Ov(i,r,a,2,l);const Ke=!(3&~p);if(Ke){const on=i.preOrderCheckHooks;null!==on&&_e(r,on,null)}else{const on=i.preOrderHooks;null!==on&&Y(r,on,0,null),fe(r,0)}if(function Jd(i){for(let r=tc(i);null!==r;r=us(r)){if(!(2&r[2]))continue;const a=r[9];for(let l=0;l<a.length;l++){const p=a[l];(0,s.HAh)(p)}}}(r),s_(r),a_(r,0),null!==i.contentQueries&&hu(i,r),Ke){const on=i.contentCheckHooks;null!==on&&_e(r,on)}else{const on=i.contentHooks;null!==on&&Y(r,on,1),fe(r,1)}!function r0(i,r){const a=i.hostBindingOpCodes;if(null!==a)try{for(let l=0;l<a.length;l++){const p=a[l];if(p<0)(0,s.ypq)(~p);else{const g=p,S=a[++l],L=a[++l];(0,s.vQI)(S,g);const q=r[g];bn(G.HostBindingsUpdateStart,q);try{L(2,q)}finally{bn(G.HostBindingsUpdateEnd,q)}}}}finally{(0,s.ypq)(-1)}}(i,r);const vt=i.components;null!==vt&&ma(r,vt,0);const qt=i.viewQuery;if(null!==qt&&Ra(2,qt,l),Ke){const on=i.viewCheckHooks;null!==on&&_e(r,on)}else{const on=i.viewHooks;null!==on&&Y(r,on,2),fe(r,2)}if(!0===i.firstUpdatePass&&(i.firstUpdatePass=!1),r[22]){for(const on of r[22])on();r[22]=null}ym(r),r[2]&=-73}catch(Ke){throw(0,s.blu)(r),Ke}finally{null!==ke&&((0,f.Wu)(ke,q),L&&function e0(i){i.lView[24]!==i&&(i.lView=null,o_.push(i))}(ke)),(0,s.bll)()}}function a_(i,r){for(let a=tc(i);null!==a;a=us(a))for(let l=10;l<a.length;l++){jv(a[l],r)}}function Jr(i,r,a){bn(G.ComponentStart);const l=(0,s.KdJ)(r,i);try{jv(l,a)}finally{bn(G.ComponentEnd,l[8])}}function jv(i,r){(0,s.F1c)(i)&&uc(i,r)}function uc(i,r){const l=i[1],p=i[2],g=i[24];let S=!!(0===r&&16&p);if(S||=!!(64&p&&0===r),S||=!!(1024&p),S||=!(!g?.dirty||!(0,f.si)(g)),S||=!1,g&&(g.dirty=!1),i[2]&=-9217,S)$v(l,i,l.template,i[8]);else if(8192&p){const L=(0,f.Ht)(null);try{s_(i),a_(i,1);const q=l.components;null!==q&&ma(i,q,1),ym(i)}finally{(0,f.Ht)(L)}}}function ma(i,r,a){for(let l=0;l<r.length;l++)Jr(i,r[l],a)}function dc(i,r){const a=(0,s.yP_)()?64:1088;for(i[10].changeDetectionScheduler?.notify(r);i;){i[2]|=a;const l=(0,s._0$)(i);if((0,s.EFk)(i)&&!l)return i;i=l}return null}function c_(i,r,a,l){return[i,!0,0,r,null,l,null,a,null,null]}function l_(i,r){const a=10+r;if(a<i.length)return i[a]}function el(i,r,a,l=!0){const p=r[1];if(function tf(i,r,a,l){const p=10+l,g=a.length;l>0&&(a[p-1][4]=r),l<g-10?(r[4]=a[p],(0,s.EYC)(a,10+l,r)):(a.push(r),r[4]=null),r[3]=a;const S=r[16];null!==S&&a!==S&&Hv(S,r);const L=r[18];null!==L&&L.insertView(i),(0,s._gW)(r),r[2]|=128}(p,r,i,a),l){const S=gd(a,i),L=r[11],q=L.parentNode(i[7]);null!==q&&function pm(i,r,a,l,p,g){l[0]=p,l[5]=r,Vs(i,l,a,1,p,g)}(p,i[5],L,r,q,S)}const g=r[6];null!==g&&null!==g.firstChild&&(g.firstChild=null)}function Jh(i,r){const a=ef(i,r);return void 0!==a&&Jc(a[1],a),a}function ef(i,r){if(i.length<=10)return;const a=10+r,l=i[a];if(l){const p=l[16];null!==p&&p!==i&&Hp(p,l),r>0&&(i[a-1][4]=l[4]);const g=(0,s.E6O)(i,10+r);jp(l[1],l);const S=g[18];null!==S&&S.detachView(g[1]),l[3]=null,l[4]=null,l[2]&=-129}return l}function Hv(i,r){const a=i[9],l=r[3];if((0,s.q$2)(l))i[2]|=2;else{const p=l[3][15];r[15]!==p&&(i[2]|=2)}null===a?i[9]=[r]:a.push(r)}class ml{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const r=this._lView,a=r[1];return yd(a,r,a.firstChild,[])}constructor(r,a){this._lView=r,this._cdRefInjectingView=a}get context(){return this._lView[8]}set context(r){this._lView[8]=r}get destroyed(){return(0,s.EPY)(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const r=this._lView[3];if((0,s.A0l)(r)){const a=r[8],l=a?a.indexOf(this):-1;l>-1&&(ef(r,l),(0,s.E6O)(a,l))}this._attachedToViewContainer=!1}Jc(this._lView[1],this._lView)}onDestroy(r){(0,s.ik5)(this._lView,r)}markForCheck(){dc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){(0,s._gW)(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,bm(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new s.buA(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const r=(0,s.EFk)(this._lView),a=this._lView[16];null!==a&&!r&&Hp(a,this._lView),jd(this._lView[1],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new s.buA(902,!1);this._appRef=r;const a=(0,s.EFk)(this._lView),l=this._lView[16];null!==l&&!a&&Hv(l,this._lView),(0,s._gW)(this._lView)}}class gs{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=ga;constructor(r,a,l){this._declarationLView=r,this._declarationTContainer=a,this.elementRef=l}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(r,a){return this.createEmbeddedViewImpl(r,a)}createEmbeddedViewImpl(r,a,l){const p=Su(this._declarationLView,this._declarationTContainer,r,{embeddedViewInjector:a,dehydratedView:l});return new ml(p)}}function ga(){return nf((0,s.Mx4)(),(0,s.OAn)())}function nf(i,r){return 4&i.type?new gs(r,i,Eo(i,r)):null}function _l(i,r,a){const l=r.insertBeforeIndex,p=Array.isArray(l)?l[0]:l;return null===p?Kd(i,0,a):(0,s.IvY)(a[p])}function xm(i,r,a,l,p){const g=r.insertBeforeIndex;if(Array.isArray(g)){let S=l,L=null;if(3&r.type||(L=S,S=p),null!==S&&-1===r.componentOffset)for(let q=1;q<g.length;q++){Us(i,S,a[g[q]],L,!1)}}}function Ed(i,r,a,l,p){let g=i.data[r];if(null===g)g=$o(i,r,a,l,p),(0,s.JjR)()&&(g.flags|=32);else if(64&g.type){g.type=a,g.value=l,g.attrs=p;const S=(0,s.Ab)();g.injectorIndex=null===S?-1:S.injectorIndex}return(0,s.iMd)(g,!0),g}function $o(i,r,a,l,p){const g=(0,s.veI)(),S=(0,s.YWB)(),L=S?g:g&&g.parent,q=i.data[r]=Dm(i,L,a,r,l,p);return function l0(i,r,a,l){null===i.firstChild&&(i.firstChild=r),null!==a&&(l?null==a.child&&null!==r.parent&&(a.child=r):null===a.next&&(a.next=r,r.prev=a))}(i,q,g,S),q}function Dm(i,r,a,l,p,g){let S=r?r.injectorIndex:-1,L=0;return(0,s.KtD)()&&(L|=128),{type:a,index:l,insertBeforeIndex:null,injectorIndex:S,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:L,providerIndexes:0,value:p,namespace:(0,s.UaU)(),attrs:g,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:r,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function h_(i,r){if(i.push(r),i.length>1)for(let a=i.length-2;a>=0;a--){const l=i[a];Cm(l)||u0(l,r)&&null===d0(l)&&p0(l,r.index)}}function Cm(i){return!(64&i.type)}function u0(i,r){return Cm(r)||i.index>r.index}function d0(i){const r=i.insertBeforeIndex;return Array.isArray(r)?r[0]:r}function p0(i,r){const a=i.insertBeforeIndex;Array.isArray(a)?a[0]=r:(Fl(_l,xm),i.insertBeforeIndex=r)}function of(i,r){const a=i.data[r];return null===a||"string"==typeof a?null:a.hasOwnProperty("currentCaseLViewIndex")?a:a.value}function Jp(i,r,a){const l=$o(i,a,64,null,null);return h_(r,l),l}function Tm(i,r){const a=r[i.currentCaseLViewIndex];return null===a?a:a<0?~a:a}function qv(i){return i>>>17}function f_(i){return(131070&i)>>>1}function km(i){return-1===i}function tp(i,r,a){i.index=0;const l=Tm(r,a);i.removes=null!==l?r.remove[l]:s.Mlv}function np(i){if(i.index<i.removes.length){const r=i.removes[i.index++];if(r>0)return i.lView[r];{i.stack.push(i.index,i.removes);const a=~r;return tp(i,i.lView[1].data[a],i.lView),np(i)}}return 0===i.stack.length?(i.lView=void 0,null):(i.removes=i.stack.pop(),i.index=i.stack.pop(),np(i))}function eh(){const i={stack:[],index:-1};return function r(a,l){for(i.lView=l;i.stack.length;)i.stack.pop();return tp(i,a.value,l),np.bind(null,i)}}function vl(i){return i.textContent?.trimStart().startsWith("ngh=")?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}let yl=()=>{};let ry=()=>{};function S0(i,r,a){for(const l of a.node.cases[a.case]){const p=r.get(l.index-27);p&&Pc(i,p,!1)}}function Am(i){const r=i[6]??[],l=i[3][11],p=[];for(const g of r)void 0!==g.data.di?p.push(g):oy(g,l);i[6]=p}function x0(i){const{lContainer:r}=i,a=r[6];if(null===a)return;const p=r[3][11];for(const g of a)oy(g,p)}function oy(i,r){let a=0,l=i.firstChild;if(l){const p=i.data.r;for(;a<p;){const g=l.nextSibling;Pc(r,l,!1),l=g,a++}}}function df(i){Am(i);const r=i[0];(0,s.q$2)(r)&&pf(r);for(let a=10;a<i.length;a++)pf(i[a])}function pf(i){!function w0(i){const r=i[6];if(r){const{i18nNodes:a,dehydratedIcuData:l}=r;if(a&&l){const p=i[11];for(const g of l.values())S0(p,a,g)}r.i18nNodes=void 0,r.dehydratedIcuData=void 0}}(i);const r=i[1];for(let a=27;a<r.bindingStartIndex;a++)if((0,s.A0l)(i[a])){df(i[a])}else(0,s.q$2)(i[a])&&pf(i[a])}function Om(i,r,a,l){null!==i&&(a.cleanup(r),df(i.lContainer),function sy(i){const r=i._views;for(const a of r){const l=mt(a);null!==l&&null!==l[0]&&((0,s.q$2)(l)?pf(l):df(l))}}(l))}let Rm=()=>null,b_=()=>null;function op(i,r){return Rm(i,r)}function hf(i,r,a){return b_(i,r,a)}let Fm=class{};class Um{}class cy{destroyNode=null;static __NG_ELEMENT_ID__=()=>function ly(){const i=(0,s.OAn)(),r=(0,s.Mx4)(),a=(0,s.KdJ)(r.index,i);return((0,s.q$2)(a)?a:i)[11]}()}class E_{static \u0275prov=(0,s.jDH)({token:E_,providedIn:"root",factory:()=>null})}function ff(i){return void 0!==i.ngModule}function Dd(i){return!!(0,s.phH)(i)}function sp(i){return!!(0,s.oyA)(i)}function Wm(i){return!!(0,s.HaV)(i)}function mf(i){return!!(0,s.xUg)(i)}function C0(i,r){if((0,s.Jzi)(i)&&!(i=(0,s.nl4)(i)))throw new Error(`Expected forwardRef function, imported from "${(0,s.PP7)(r)}", to return a standalone entity or NgModule but got "${(0,s.PP7)(i)||i}".`);if(null==(0,s.phH)(i)){const a=(0,s.xUg)(i)||(0,s.HaV)(i)||(0,s.oyA)(i);if(null==a)throw ff(i)?new Error(`A module with providers was imported from "${(0,s.PP7)(r)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${(0,s.PP7)(i)}" type, imported from "${(0,s.PP7)(r)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!a.standalone){const l=function D0(i){return(0,s.xUg)(i)?"component":(0,s.HaV)(i)?"directive":(0,s.oyA)(i)?"pipe":"type"}(i);throw new Error(`The "${(0,s.PP7)(i)}" ${l}, imported from "${(0,s.PP7)(r)}", is not standalone. Does the ${l} have the standalone: false flag?`)}}}function zu(i,r){for(const a of i)r.add(a)}const ap=new class uy{ownerNgModule=new WeakMap;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new WeakMap;standaloneComponentsScopeCache=new WeakMap;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const r of this.ngModulesWithSomeUnresolvedDecls){const a=(0,s.phH)(r);if(a?.declarations)for(const l of dl(a.declarations))mf(l)&&this.ownerNgModule.set(l,r)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(r,a){this.resolveNgModulesDecls();const l=(0,s.xUg)(r);if(null===l)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${r}`);if(l.standalone){const p=this.getStandaloneComponentScope(r,a);return p.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...p.compilation.directives,...p.compilation.pipes,...p.compilation.ngModules]}}{if(!this.ownerNgModule.has(r))return{dependencies:[]};const p=this.getNgModuleScope(this.ownerNgModule.get(r));return p.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...p.compilation.directives,...p.compilation.pipes]}}}registerNgModule(r,a){if(!Dd(r))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${r}`);this.ngModulesWithSomeUnresolvedDecls.add(r)}clearScopeCacheFor(r){this.ngModulesScopeCache.delete(r),this.standaloneComponentsScopeCache.delete(r)}getNgModuleScope(r){if(this.ngModulesScopeCache.has(r))return this.ngModulesScopeCache.get(r);const a=this.computeNgModuleScope(r);return this.ngModulesScopeCache.set(r,a),a}computeNgModuleScope(r){const a=(0,s.WbQ)(r),l={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const p of dl(a.imports))if(Dd(p)){const g=this.getNgModuleScope(p);zu(g.exported.directives,l.compilation.directives),zu(g.exported.pipes,l.compilation.pipes)}else{if(!(0,s.QuC)(p)){l.compilation.isPoisoned=!0;break}if(Wm(p)||mf(p))l.compilation.directives.add(p);else{if(!sp(p))throw new s.buA(980,"The standalone imported type is neither a component nor a directive nor a pipe");l.compilation.pipes.add(p)}}if(!l.compilation.isPoisoned)for(const p of dl(a.declarations)){if(Dd(p)||(0,s.QuC)(p)){l.compilation.isPoisoned=!0;break}sp(p)?l.compilation.pipes.add(p):l.compilation.directives.add(p)}for(const p of dl(a.exports))if(Dd(p)){const g=this.getNgModuleScope(p);zu(g.exported.directives,l.exported.directives),zu(g.exported.pipes,l.exported.pipes),zu(g.exported.directives,l.compilation.directives),zu(g.exported.pipes,l.compilation.pipes)}else sp(p)?l.exported.pipes.add(p):l.exported.directives.add(p);return l}getStandaloneComponentScope(r,a){if(this.standaloneComponentsScopeCache.has(r))return this.standaloneComponentsScopeCache.get(r);const l=this.computeStandaloneComponentScope(r,a);return this.standaloneComponentsScopeCache.set(r,l),l}computeStandaloneComponentScope(r,a){const l={compilation:{directives:new Set([r]),pipes:new Set,ngModules:new Set}};for(const p of(0,s.Bqz)(a??[])){const g=(0,s.nl4)(p);try{C0(g,r)}catch{return l.compilation.isPoisoned=!0,l}if(Dd(g)){l.compilation.ngModules.add(g);const S=this.getNgModuleScope(g);if(S.exported.isPoisoned)return l.compilation.isPoisoned=!0,l;zu(S.exported.directives,l.compilation.directives),zu(S.exported.pipes,l.compilation.pipes)}else if(sp(g))l.compilation.pipes.add(g);else{if(!Wm(g)&&!mf(g))return l.compilation.isPoisoned=!0,l;l.compilation.directives.add(g)}}return l}isOrphanComponent(r){const a=(0,s.xUg)(r);return!(!a||a.standalone)&&(this.resolveNgModulesDecls(),!this.ownerNgModule.has(r))}};function ar(i){return i.debugInfo?.className||i.type.name||null}const bl={};class Cd{injector;parentInjector;constructor(r,a){this.injector=r,this.parentInjector=a}get(r,a,l){const p=this.injector.get(r,bl,l);return p!==bl||a===bl?p:this.parentInjector.get(r,a,l)}}function cp(i){return!!Td(i)&&(Array.isArray(i)||!(i instanceof Map)&&Symbol.iterator in i)}function Uc(i,r){if(Array.isArray(i))for(let a=0;a<i.length;a++)r(i[a]);else{const a=i[Symbol.iterator]();let l;for(;!(l=a.next()).done;)r(l.value)}}function Td(i){return null!==i&&("function"==typeof i||"object"==typeof i)}function Vl(i,r,a){return i[r]=a}function lp(i,r){return i[r]}function Uo(i,r,a){if(a===Vo)return!1;const l=i[r];return!Object.is(l,a)&&(i[r]=a,!0)}function Ku(i,r,a,l){const p=Uo(i,r,a);return Uo(i,r+1,l)||p}function eo(i,r,a,l,p){const g=Ku(i,r,a,l);return Uo(i,r+2,p)||g}function nl(i,r,a,l,p,g){const S=Ku(i,r,a,l);return Ku(i,r+2,p,g)||S}function Ua(i,r,a){return function l(p){const g=l.__ngNativeEl__;void 0!==g&&function qo(i,r){if(null==i||"object"!=typeof i)return;let a=Tl.get(i);a||(a=new WeakSet,Tl.set(i,a)),a.add(r)}(p,g);dc((0,s.Qs1)(i)?(0,s.KdJ)(i.index,r):r,5);const L=r[8];let q=il(r,L,a,p),ke=l.__ngNextListenerFn__;for(;ke;)q=il(r,L,ke,p)&&q,ke=ke.__ngNextListenerFn__;return q}}function il(i,r,a,l){const p=(0,f.Ht)(null);try{return bn(G.OutputStart,r,a),!1!==a(l)}catch(g){return _m(i,g),!1}finally{bn(G.OutputEnd,r,a),(0,f.Ht)(p)}}function Vm(i,r,a,l,p,g,S,L){const q=(0,s.yoD)(i);let ke=!1,Ke=null;if(!l&&q&&(Ke=function x_(i,r,a,l){const p=i.cleanup;if(null!=p)for(let g=0;g<p.length-1;g+=2){const S=p[g];if(S===a&&p[g+1]===l){const L=r[7],q=p[g+2];return L&&L.length>q?L[q]:null}"string"==typeof S&&(g+=2)}return null}(r,a,g,i.index)),null!==Ke){(Ke.__ngLastListenerFn__||Ke).__ngNextListenerFn__=S,Ke.__ngLastListenerFn__=S,ke=!0}else{const vt=(0,s.d31)(i,a),qt=l?l(vt):vt;(function ic(i,r,a,l){yc(i,r,a,l)})(a,qt,g,L),l||(L.__ngNativeEl__=vt);const on=p.listen(qt,g,L);if(!function S_(i){return i.startsWith("animation")||i.startsWith("transition")}(g)){$m(l?di=>l((0,s.IvY)(di[i.index])):i.index,r,a,g,L,on,!1)}}return ke}function $m(i,r,a,l,p,g,S){const L=r.firstCreatePass?(0,s.vNG)(r):null,q=(0,s.d_l)(a),ke=q.length;q.push(p,g),L&&L.push(l,i,ke,(ke+1)*(S?-1:1))}function jm(i,r,a,l,p){let g=null,S=null,L=null,q=!1;const ke=i.directiveToIndex.get(a.type);if("number"==typeof ke?g=ke:[g,S,L]=ke,null!==S&&null!==L&&i.hostDirectiveOutputs?.hasOwnProperty(l)){const Ke=i.hostDirectiveOutputs[l];for(let vt=0;vt<Ke.length;vt+=2){const qt=Ke[vt];if(qt>=S&&qt<=L)q=!0,gf(i,r,qt,Ke[vt+1],l,p);else if(qt>L)break}}return a.outputs.hasOwnProperty(l)&&(q=!0,gf(i,r,g,l,l,p)),q}function gf(i,r,a,l,p,g){const S=r[a],L=r[1],vt=S[L.data[a].outputs[l]].subscribe(g);$m(i.index,L,r,p,g,vt,!0)}function W(){const i=(0,s.OAn)(),r=(0,s.klJ)(),a=(0,s.Mx4)();if(r.firstCreatePass&&function un(i,r,a){for(let p=r.directiveStart;p<r.directiveEnd;p++)if(i.data[p].controlDef){r.controlDirectiveIndex=p;break}if(-1===r.controlDirectiveIndex)return;const l=i.data[r.controlDirectiveIndex].controlDef;if(l.passThroughInput&&(r.inputs?.[l.passThroughInput]?.length??0)>1)return void(r.flags|=4096);!function Dn(i,r){for(let a=r.directiveStart;a<r.directiveEnd;a++){const l=i.data[a];if(!r.directiveToIndex||r.directiveToIndex.has(l.type)){if(ii(l,"value"))return r.flags|=1024,void(r.customControlIndex=a);if(ii(l,"checked"))return r.flags|=2048,void(r.customControlIndex=a)}}if(null!==r.hostDirectiveInputs&&null!==r.hostDirectiveOutputs&&null!==r.directiveToIndex){const a=(l,p)=>{const g=r.hostDirectiveInputs[l],S=r.hostDirectiveOutputs[l+"Change"];if(!g||!S)return!1;for(let L=0;L<g.length;L+=2){const q=g[L];for(let ke=0;ke<S.length;ke+=2){if(q===S[ke])for(const vt of r.directiveToIndex.values()){if(!Array.isArray(vt))continue;const[qt,on,Mn]=vt;if(q>=on&&q<=Mn)return r.flags|=p,r.customControlIndex=qt,!0}}}return!1};if(a("value",1024)||a("checked",2048))return}}(i,r)}(r,a),-1===a.controlDirectiveIndex)return;qa("NgSignalForms");const l=i[a.controlDirectiveIndex];r.data[a.controlDirectiveIndex].controlDef.create(l,new Ct(i,r,a))}function nt(){const i=(0,s.OAn)(),r=(0,s.klJ)(),a=(0,s.CpD)();if(-1===a.controlDirectiveIndex)return;const l=r.data[a.controlDirectiveIndex].controlDef,p=i[a.controlDirectiveIndex];l.update(p,new Ct(i,r,a))}class Ct{lView;tView;tNode;hasPassThrough;constructor(r,a,l){this.lView=r,this.tView=a,this.tNode=l,this.hasPassThrough=!!(4096&l.flags)}get customControl(){return-1!==this.tNode.customControlIndex?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return(0,s.d31)(this.tNode,this.lView)}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(r,a){const l=this.tView.data[this.tNode.customControlIndex];jm(this.tNode,this.lView,l,r,Ua(this.tNode,this.lView,a))}listenToCustomControlModel(r){const a=1024&this.tNode.flags?"valueChange":"checkedChange",l=this.tView.data[this.tNode.customControlIndex];jm(this.tNode,this.lView,l,a,Ua(this.tNode,this.lView,r))}listenToDom(r,a){Vm(this.tNode,this.tView,this.lView,void 0,this.lView[11],r,a,Ua(this.tNode,this.lView,a))}setInputOnDirectives(r,a){const l=this.tNode.inputs?.[r],p=this.tNode.hostDirectiveInputs?.[r];if(!l&&!p)return!1;let g=!1;if(l)for(const S of l){if(S===this.tNode.controlDirectiveIndex)continue;Qd(this.tView.data[S],this.lView[S],r,a),g=!0}if(p)for(let S=0;S<p.length;S+=2){const L=p[S];if(L===this.tNode.controlDirectiveIndex)continue;const q=p[S+1];Qd(this.tView.data[L],this.lView[L],q,a),g=!0}return g}setCustomControlModelInput(r){const a=this.tView.data[this.tNode.customControlIndex],l=1024&this.tNode.flags?"value":"checked";i_(this.tNode,this.tView,this.lView,a,l,r)}customControlHasInput(r){if(-1===this.tNode.customControlIndex)return!1;const a=this.tView.data[this.tNode.customControlIndex];return!0===(a.signalFormsInputPresence??=this._buildCustomControlInputCache(a))[r]}_buildCustomControlInputCache(r){const a={};for(const l in r.inputs)a[l]=!0;if(null!==r.hostDirectives){const l=[...r.hostDirectives];for(;l.length>0;){const p=l.shift();if("function"!=typeof p){for(const S in p.inputs)a[p.inputs[S]]=!0;const g=nn(p.directive);null!==g&&l.push(...g);continue}for(const g of p()){if("function"==typeof g)continue;if(g.inputs)for(let L=0;L<g.inputs.length;L+=2){a[g.inputs[L+1]||g.inputs[L]]=!0}const S=nn(g.directive);null!==S&&l.push(...S)}}}return a}}function nn(i){return"function"==typeof i&&"\u0275dir"in i?i.\u0275dir.hostDirectives??null:null}function ii(i,r){return function oi(i,r){return r in i.inputs}(i,r)&&function jn(i,r){return r in i.outputs}(i,r+"Change")}const Ii=Symbol("BINDING");const Wc=new s.nKC("");function Wa(i,r,a){let l=a?i.styles:null,p=a?i.classes:null,g=0;if(null!==r)for(let S=0;S<r.length;S++){const L=r[S];if("number"==typeof L)g=L;else if(1==g)p=(0,s.n$e)(p,L);else if(2==g){const q=L,ke=r[++S];l=(0,s.n$e)(l,q+": "+ke+";")}}a?i.styles=l:i.stylesWithoutHost=l,a?i.classes=p:i.classesWithoutHost=p}function _a(i,r=0){const a=(0,s.OAn)();if(null===a)return(0,s.KVO)(i,r);return uo((0,s.Mx4)(),a,(0,s.nl4)(i),r)}function $s(){throw new Error("invalid")}function Vc(i,r,a,l,p){const g=null===l?null:{"":-1},S=p(i,a);if(null!==S){let L=S,q=null,ke=null;for(const Ke of S)if(null!==Ke.resolveHostDirectives){[L,q,ke]=Ke.resolveHostDirectives(S);break}!function Pw(i,r,a,l,p,g,S){const L=l.length;let q=null;for(let qt=0;qt<L;qt++){const on=l[qt];null===q&&(0,s.JlV)(on)&&(q=on,Gu(i,a,qt)),to(Mr(a,r),i,on.type)}(function Rw(i,r,a){i.flags|=1,i.directiveStart=r,i.directiveEnd=r+a,i.providerIndexes=r})(a,i.data.length,L),q?.viewProvidersResolver&&q.viewProvidersResolver(q);for(let qt=0;qt<L;qt++){const on=l[qt];on.providersResolver&&on.providersResolver(on)}let ke=!1,Ke=!1,vt=Gp(i,r,L,null);L>0&&(a.directiveToIndex=new Map);for(let qt=0;qt<L;qt++){const on=l[qt];if(a.mergedAttrs=mn(a.mergedAttrs,on.hostAttrs),Ux(i,a,r,vt,on),ah(vt,on,p),null!==S&&S.has(on)){const[di,Oi]=S.get(on);a.directiveToIndex.set(on.type,[vt,di+a.directiveStart,Oi+a.directiveStart])}else(null===g||!g.has(on))&&a.directiveToIndex.set(on.type,vt);null!==on.contentQueries&&(a.flags|=4),(null!==on.hostBindings||null!==on.hostAttrs||0!==on.hostVars)&&(a.flags|=64);const Mn=on.type.prototype;!ke&&(Mn.ngOnChanges||Mn.ngOnInit||Mn.ngDoCheck)&&((i.preOrderHooks??=[]).push(a.index),ke=!0),!Ke&&(Mn.ngOnChanges||Mn.ngDoCheck)&&((i.preOrderCheckHooks??=[]).push(a.index),Ke=!0),vt++}!function fo(i,r,a){for(let l=r.directiveStart;l<r.directiveEnd;l++){const p=i.data[l];if(null!==a&&a.has(p)){const g=a.get(p);oh(0,r,g,l),oh(1,r,g,l),dy(r,l,!0)}else rh(0,r,p,l),rh(1,r,p,l),dy(r,l,!1)}}(i,a,g)}(i,r,a,L,g,q,ke)}null!==g&&null!==l&&function ru(i,r,a){const l=i.localNames=[];for(let p=0;p<r.length;p+=2){const g=a[r[p+1]];if(null==g)throw new s.buA(-301,!1);l.push(r[p],g)}}(a,l,g)}function Gu(i,r,a){r.componentOffset=a,(i.components??=[]).push(r.index)}function rh(i,r,a,l){const p=0===i?a.inputs:a.outputs;for(const g in p)if(p.hasOwnProperty(g)){let S;S=0===i?r.inputs??={}:r.outputs??={},S[g]??=[],S[g].push(l),kd(r,g)}}function oh(i,r,a,l){const p=0===i?a.inputs:a.outputs;for(const g in p)if(p.hasOwnProperty(g)){const S=p[g];let L;L=0===i?r.hostDirectiveInputs??={}:r.hostDirectiveOutputs??={},L[S]??=[],L[S].push(l,g),kd(r,S)}}function kd(i,r){"class"===r?i.flags|=8:"style"===r&&(i.flags|=16)}function dy(i,r,a){const{attrs:l,inputs:p,hostDirectiveInputs:g}=i;if(null===l||!a&&null===p||a&&null===g||dd(i))return i.initialInputs??=[],void i.initialInputs.push(null);let S=null,L=0;for(;L<l.length;){const q=l[L];if(0!==q)if(5!==q){if("number"==typeof q)break;if(!a&&p.hasOwnProperty(q)){const ke=p[q];for(const Ke of ke)if(Ke===r){S??=[],S.push(q,l[L+1]);break}}else if(a&&g.hasOwnProperty(q)){const ke=g[q];for(let Ke=0;Ke<ke.length;Ke+=2)if(ke[Ke]===r){S??=[],S.push(ke[Ke+1],l[L+1]);break}}L+=2}else L+=2;else L+=4}i.initialInputs??=[],i.initialInputs.push(S)}function Ux(i,r,a,l,p){i.data[l]=p;const g=p.factory||(p.factory=(0,s.wGu)(p.type,!0)),S=new je(g,(0,s.JlV)(p),_a,null);i.blueprint[l]=S,a[l]=S,function T0(i,r,a,l,p){const g=p.hostBindings;if(g){let S=i.hostBindingOpCodes;null===S&&(S=i.hostBindingOpCodes=[]);const L=~r.index;(function sh(i){let r=i.length;for(;r>0;){const a=i[--r];if("number"==typeof a&&a<0)return a}return 0})(S)!=L&&S.push(L),S.push(a,l,g)}}(i,r,l,Gp(i,a,p.hostVars,Vo),p)}function ah(i,r,a){if(a){if(r.exportAs)for(let l=0;l<r.exportAs.length;l++)a[r.exportAs[l]]=i;(0,s.JlV)(r)&&(a[""]=i)}}function Id(i,r,a,l,p,g,S,L){const q=r[1],ke=q.consts,vt=Ed(q,i,a,l,(0,s.db4)(ke,S));return g&&Vc(q,r,vt,(0,s.db4)(ke,L),p),vt.mergedAttrs=mn(vt.mergedAttrs,vt.attrs),null!==vt.attrs&&Wa(vt,vt.attrs,!1),null!==vt.mergedAttrs&&Wa(vt,vt.mergedAttrs,!0),null!==q.queries&&q.queries.elementStart(q,vt),vt}function C_(i,r){Lt(i,r),(0,s.srX)(r)&&i.queries.elementEnd(r)}function T_(i,r,a,l,p,g){const S=r.consts,q=Ed(r,i,a,l,(0,s.db4)(S,p));if(q.mergedAttrs=mn(q.mergedAttrs,q.attrs),null!=g){const ke=(0,s.db4)(S,g);q.localNames=[];for(let Ke=0;Ke<ke.length;Ke+=2)q.localNames.push(ke[Ke],-1)}return null!==q.attrs&&Wa(q,q.attrs,!1),null!==q.mergedAttrs&&Wa(q,q.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,q),q}const k0=typeof ShadowRoot<"u",Hm=typeof Document<"u";class k_{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function I0(i){return Object.keys(i).map(r=>{const[a,l,p]=i[r],g={propName:a,templateName:r,isSignal:0!==(l&Yh.SignalBased)};return p&&(g.transform=p),g})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function Nw(i){return Object.keys(i).map(r=>({propName:i[r],templateName:r}))}(this.componentDef.outputs),this.cachedOutputs}constructor(r,a){this.componentDef=r,this.ngModule=a,this.componentType=r.type,this.selector=function xv(i){return i.map(Hg).join(",")}(r.selectors),this.ngContentSelectors=r.ngContentSelectors??[],this.isBoundToModule=!!a}create(r,a,l,p,g,S){bn(G.DynamicComponentStart);const L=(0,f.Ht)(null);try{const q=this.componentDef,ke=function Vx(i,r,a){let l=r instanceof s.uvJ?r:r?.injector;return l&&null!==i.getStandaloneInjector&&(l=i.getStandaloneInjector(l)||l),l?new Cd(a,l):a}(q,p||this.ngModule,r),Ke=function Bw(i){const r=i.get(Um,null);if(null===r)throw new s.buA(407,!1);return{rendererFactory:r,sanitizer:i.get(E_,null),changeDetectionScheduler:i.get(s.hk6,null),ngReflect:!1,tracingService:i.get(ms,null,{optional:!0})}}(ke),vt=Ke.tracingService;return vt&&vt.componentCreate?vt.componentCreate(ar(q),()=>this.createComponentRef(Ke,ke,a,l,g,S)):this.createComponentRef(Ke,ke,a,l,g,S)}finally{(0,f.Ht)(L)}}createComponentRef(r,a,l,p,g,S){const L=this.componentDef,q=function A0(i,r,a,l){const p=i?["ng-version","22.1.0"]:function Fb(i){const r=[],a=[];let l=1,p=2;for(;l<i.length;){let g=i[l];if("string"==typeof g)2===p?""!==g&&r.push(g,i[++l]):8===p&&a.push(g);else{if(!La(p))break;p=g}l++}return a.length&&r.push(1,...a),r}(r.selectors[0]);let g=null,S=null,L=0;if(a)for(const Ke of a)L+=Ke[Ii].requiredVars,Ke.create&&(Ke.targetIdx=0,(g??=[]).push(Ke)),Ke.update&&(Ke.targetIdx=0,(S??=[]).push(Ke));if(l)for(let Ke=0;Ke<l.length;Ke++){const vt=l[Ke];if("function"!=typeof vt)for(const qt of vt.bindings){L+=qt[Ii].requiredVars;const on=Ke+1;qt.create&&(qt.targetIdx=on,(g??=[]).push(qt)),qt.update&&(qt.targetIdx=on,(S??=[]).push(qt))}}const q=[r];if(l)for(const Ke of l){const vt="function"==typeof Ke?Ke:Ke.type,qt=(0,s.HaV)(vt);q.push(qt)}return qh(0,null,function O0(i,r){return i||r?a=>{if(1&a&&i)for(const l of i)l.create();if(2&a&&r)for(const l of r)l.update()}:null}(g,S),1,L,q,null,null,null,[p],null)}(p,L,S,g),ke=r.rendererFactory.createRenderer(null,L),Ke=p?zb(ke,p,L.encapsulation,a):function Fw(i,r){const a=function Uw(i){return(i.selectors[0][0]||"div").toLowerCase()}(i);return ad(r,a,"svg"===a?"svg":"math"===a?"math":null)}(L,ke);!function M0(i){if("script"===i?.toLowerCase())throw new s.buA(905,!1)}(Ke?.tagName);const vt=a.get(Wc,null),qt=function Ww(i,r){const a=i.getRootNode?.();return Hm&&a instanceof Document?a.head:a&&k0&&a instanceof ShadowRoot?a:r().head}(Ke,()=>a.get(s.qQL,null)??Lo());vt&&vt.addHost(qt);const on=S?.some(zm)||g?.some(Oi=>"function"!=typeof Oi&&Oi.bindings.some(zm)),Mn=Ul(null,q,null,512|Zg(L),null,null,r,ke,a,null,Sr(Ke,a,!0));vt&&k0&&qt instanceof ShadowRoot&&(0,s.ik5)(Mn,()=>{vt.removeHost(qt)}),Mn[27]=Ke,(0,s.ID8)(Mn);let di=null;try{const Oi=Id(27,Mn,2,"#host",()=>q.directiveRegistry,!0,0);Rg(ke,Ke,Oi),wo(Ke,Mn),hm(q,Mn,Oi),Ml(q,Oi,Mn),C_(q,Oi),void 0!==l&&function $w(i,r,a){const l=i.projection=[];for(let p=0;p<r.length;p++){const g=a[p];l.push(null!=g&&g.length?Array.from(g):null)}}(Oi,this.ngContentSelectors,l),di=(0,s.KdJ)(Oi.index,Mn),Mn[8]=di[8],Ba(q,Mn,null)}catch(Oi){throw null!==di&&Kr(di),Kr(Mn),Oi}finally{bn(G.DynamicComponentEnd),(0,s.bll)()}return new Vw(this.componentType,Mn,!!on)}}function zm(i){const r=i[Ii].kind;return"input"===r||"twoWay"===r}class Vw extends Fm{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(r,a,l){super(),this._rootLView=a,this._hasInputBindings=l,this._tNode=(0,s.XRZ)(a[1],27),this.location=Eo(this._tNode,a),this.instance=(0,s.KdJ)(this._tNode.index,a)[8],this.hostView=this.changeDetectorRef=new ml(a,void 0),this.componentType=r}setInput(r,a){this._hasInputBindings;const l=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(r)&&Object.is(this.previousInputValues.get(r),a))return;const p=this._rootLView;qp(l,p[1],p,r,a);this.previousInputValues.set(r,a);dc((0,s.KdJ)(l.index,p),1)}get injector(){return new mi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(r){this.hostView.onDestroy(r)}}class I_{static __NG_ELEMENT_ID__=jw}function jw(){return P0((0,s.Mx4)(),(0,s.OAn)())}class Km extends I_{_lContainer;_hostTNode;_hostLView;constructor(r,a,l){super(),this._lContainer=r,this._hostTNode=a,this._hostLView=l}get element(){return Eo(this._hostTNode,this._hostLView)}get injector(){return new mi(this._hostTNode,this._hostLView)}get parentInjector(){const r=lo(this._hostTNode,this._hostLView);if(Ti(r)){const a=ui(r,this._hostLView),l=$i(r),p=a[1].data[l+8];return new mi(p,a)}return new mi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const a=py(this._lContainer);return null!==a&&a[r]||null}get length(){return this._lContainer.length-10}createEmbeddedView(r,a,l){let p,g;"number"==typeof l?p=l:null!=l&&(p=l.index,g=l.injector);const S=op(this._lContainer,r.ssrId),L=r.createEmbeddedViewImpl(a||{},g,S);return this.insertImpl(L,p,vd(this._hostTNode,S)),L}createComponent(r,a,l,p,g,S,L){let q;const ke=a||{};q=ke.index,l=ke.injector,p=ke.projectableNodes,g=ke.environmentInjector||ke.ngModuleRef,S=ke.directives,L=ke.bindings;const Ke=new k_((0,s.xUg)(r)),vt=l||this.parentInjector;if(!g&&null==Ke.ngModule){const lr=this.parentInjector.get(s.uvJ,null);lr&&(g=lr)}const qt=(0,s.xUg)(Ke.componentType??{}),on=op(this._lContainer,qt?.id??null),Mn=on?.firstChild??null,di=Ke.create(vt,p,Mn,g,S,L);return this.insertImpl(di.hostView,q,vd(this._hostTNode,on)),di}insert(r,a){return this.insertImpl(r,a,!0)}insertImpl(r,a,l){const p=r._lView;if((0,s.ITl)(p)){const L=this.indexOf(r);if(-1!==L)this.detach(L);else{const q=p[3],ke=new Km(q,q[5],q[3]);ke.detach(ke.indexOf(r))}}const g=this._adjustIndex(a),S=this._lContainer;return el(S,p,g,l),r.attachToViewContainerRef(),(0,s.EYC)(hy(S),g,r),r}move(r,a){return this.insert(r,a)}indexOf(r){const a=py(this._lContainer);return null!==a?a.indexOf(r):-1}remove(r){const a=this._adjustIndex(r,-1),l=ef(this._lContainer,a);l&&((0,s.E6O)(hy(this._lContainer),a),Jc(l[1],l))}detach(r){const a=this._adjustIndex(r,-1),l=ef(this._lContainer,a);return l&&null!=(0,s.E6O)(hy(this._lContainer),a)?new ml(l):null}_adjustIndex(r,a=0){return r??this.length+a}}function py(i){return i[8]}function hy(i){return i[8]||(i[8]=[])}function P0(i,r){let a;const l=r[i.index];return(0,s.A0l)(l)?a=l:(a=c_(l,r,null,i),r[i.index]=a,Xp(r,a)),N0(a,r,i,l),new Km(a,i,r)}let N0=M_,_f=()=>!1;function Hw(i,r,a){return _f(i,r,a)}function M_(i,r,a,l){if(i[7])return;let p;p=8&a.type?(0,s.IvY)(l):function R0(i,r){const a=i[11],l=a.createComment(""),p=(0,s.d31)(r,i),g=a.parentNode(p);return Us(a,g,l,a.nextSibling(p),!1),l}(r,a),i[7]=p}class A_{queryList;matches=null;constructor(r){this.queryList=r}clone(){return new A_(this.queryList)}setDirty(){this.queryList.setDirty()}}class fy{queries;constructor(r=[]){this.queries=r}createEmbeddedView(r){const a=r.queries;if(null!==a){const l=null!==r.contentQueries?r.contentQueries[0]:a.length,p=[];for(let g=0;g<l;g++){const S=a.getByIndex(g),L=this.queries[S.indexInDeclarationView];p.push(L.clone())}return new fy(p)}return null}insertView(r){this.dirtyQueriesWithMatches(r)}detachView(r){this.dirtyQueriesWithMatches(r)}finishViewCreation(r){this.dirtyQueriesWithMatches(r)}dirtyQueriesWithMatches(r){for(let a=0;a<this.queries.length;a++)null!==O_(r,a).matches&&this.queries[a].setDirty()}}class B0{flags;read;predicate;constructor(r,a,l=null){this.flags=a,this.read=l,this.predicate="string"==typeof r?function $l(i){return i.split(",").map(r=>r.trim())}(r):r}}class my{queries;constructor(r=[]){this.queries=r}elementStart(r,a){for(let l=0;l<this.queries.length;l++)this.queries[l].elementStart(r,a)}elementEnd(r){for(let a=0;a<this.queries.length;a++)this.queries[a].elementEnd(r)}embeddedTView(r){let a=null;for(let l=0;l<this.length;l++){const p=null!==a?a.length:0,g=this.getByIndex(l).embeddedTView(r,p);g&&(g.indexInDeclarationView=l,null!==a?a.push(g):a=[g])}return null!==a?new my(a):null}template(r,a){for(let l=0;l<this.queries.length;l++)this.queries[l].template(r,a)}getByIndex(r){return this.queries[r]}get length(){return this.queries.length}track(r){this.queries.push(r)}}class Gm{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(r,a=-1){this.metadata=r,this._declarationNodeIndex=a}elementStart(r,a){this.isApplyingToNode(a)&&this.matchTNode(r,a)}elementEnd(r){this._declarationNodeIndex===r.index&&(this._appliesToNextNode=!1)}template(r,a){this.elementStart(r,a)}embeddedTView(r,a){return this.isApplyingToNode(r)?(this.crossesNgTemplate=!0,this.addMatch(-r.index,a),new Gm(this.metadata)):null}isApplyingToNode(r){if(this._appliesToNextNode&&1&~this.metadata.flags){const a=this._declarationNodeIndex;let l=r.parent;for(;null!==l&&8&l.type&&l.index!==a;)l=l.parent;return a===(null!==l?l.index:-1)}return this._appliesToNextNode}matchTNode(r,a){const l=this.metadata.predicate;if(Array.isArray(l))for(let p=0;p<l.length;p++){const g=l[p];this.matchTNodeWithReadOption(r,a,gy(a,g)),this.matchTNodeWithReadOption(r,a,Cr(a,r,g,!1,!1))}else l===gs?4&a.type&&this.matchTNodeWithReadOption(r,a,-1):this.matchTNodeWithReadOption(r,a,Cr(a,r,l,!1,!1))}matchTNodeWithReadOption(r,a,l){if(null!==l){const p=this.metadata.read;if(null!==p)if(p===Do||p===I_||p===gs&&4&a.type)this.addMatch(a.index,-2);else{const g=Cr(a,r,p,!1,!1);null!==g&&this.addMatch(a.index,g)}else this.addMatch(a.index,l)}}addMatch(r,a){null===this.matches?this.matches=[r,a]:this.matches.push(r,a)}}function gy(i,r){const a=i.localNames;if(null!==a)for(let l=0;l<a.length;l+=2)if(a[l]===r)return a[l+1];return null}function F0(i,r,a,l){return-1===a?function Kw(i,r){return 11&i.type?Eo(i,r):4&i.type?nf(i,r):null}(r,i):-2===a?function Gw(i,r,a){if(a===Do)return Eo(r,i);if(a===gs)return nf(r,i);if(a===I_)return P0(r,i)}(i,r,l):zt(i,i[1],a,r)}function U0(i,r,a,l){const p=r[18].queries[l];if(null===p.matches){const g=i.data,S=a.matches,L=[];for(let q=0;null!==S&&q<S.length;q+=2){const ke=S[q];if(ke<0)L.push(null);else{const Ke=g[ke];L.push(F0(r,Ke,S[q+1],a.metadata.read))}}p.matches=L}return p.matches}function ch(i,r,a,l){const p=i.queries.getByIndex(a),g=p.matches;if(null!==g){const S=U0(i,r,p,a);for(let L=0;L<g.length;L+=2){const q=g[L];if(q>0)l.push(S[L/2]);else{const ke=g[L+1],Ke=r[-q];for(let vt=10;vt<Ke.length;vt++){const qt=Ke[vt];qt[16]===qt[3]&&ch(qt[1],qt,ke,l)}if(null!==Ke[9]){const vt=Ke[9];for(let qt=0;qt<vt.length;qt++){const on=vt[qt];ch(on[1],on,ke,l)}}}}}return l}function _y(i,r){return i[18].queries[r].queryList}function W0(i,r,a){const l=new Co(!(4&~a));return(0,s.B22)(i,r,l,l.destroy),(r[18]??=new fy).queries.push(new A_(l))-1}function vy(i,r,a){const l=(0,s.klJ)();return l.firstCreatePass&&($0(l,new B0(i,r,a),-1),!(2&~r)&&(l.staticViewQueries=!0)),W0(l,(0,s.OAn)(),r)}function V0(i,r,a,l){const p=(0,s.klJ)();if(p.firstCreatePass){const g=(0,s.Mx4)();$0(p,new B0(r,a,l),g.index),function jx(i,r){const a=i.contentQueries||(i.contentQueries=[]),l=a.length?a[a.length-1]:-1;r!==l&&a.push(i.queries.length-1,r)}(p,i),!(2&~a)&&(p.staticContentQueries=!0)}return W0(p,(0,s.OAn)(),a)}function $0(i,r,a){null===i.queries&&(i.queries=new my),i.queries.track(new Gm(r,a))}function O_(i,r){return i.queries.getByIndex(r)}function yy(i,r){const a=i[1],l=O_(a,r);return l.crossesNgTemplate?ch(a,i,r,[]):U0(a,i,l,r)}function wl(i,r,a){let l;const p=(0,f.KZ)(()=>{l._dirtyCounter();const g=function H0(i,r){const a=i._lView,l=i._queryIndex;if(void 0===a||void 0===l||4&a[2])return r?void 0:s.Mlv;const p=_y(a,l),g=yy(a,l);return p.reset(g,is),r?p.first:p._changesDetected||void 0===i._flatValue?i._flatValue=p.toArray():i._flatValue}(l,i);if(r&&void 0===g)throw new s.buA(-951,!1);return g});return l=p[f.bh],l._dirtyCounter=(0,s.vPA)(0),l._flatValue=void 0,p}function Xm(i){return wl(!0,!1)}function by(i){return wl(!0,!0)}function Xw(i){return wl(!1,!1)}function j0(i,r){const a=i[f.bh];a._lView=(0,s.OAn)(),a._queryIndex=r,a._queryList=_y(a._lView,r),a._queryList.onDirty(()=>a._dirtyCounter.update(l=>l+1))}function z0(i){return!!i&&"function"==typeof i.then}function Ey(i){return!!i&&"function"==typeof i.subscribe}let lh=class{},vf=class{};function Qm(i,r){return new yf(i,r??null,[])}class yf extends lh{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(r,a,l,p=!0){super(),this.ngModuleType=r,this._parent=a;const g=(0,s.phH)(r);this._bootstrapComponents=dl(g.bootstrap),this._r3Injector=(0,s.Pz9)(r,a,[{provide:lh,useValue:this},...l],(0,s.AsM)(r),new Set(["environment"])),p&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const r=this._r3Injector;!r.destroyed&&r.destroy(),this.destroyCbs.forEach(a=>a()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class K0 extends vf{moduleType;constructor(r){super(),this.moduleType=r}create(r){return new yf(this.moduleType,r,[])}}function Qw(i,r,a){return new yf(i,r,a,!1)}class qw extends lh{injector;instance=null;constructor(r){super();const a=new s.e5P([...r.providers,{provide:lh,useValue:this}],r.parent||(0,s.WB9)(),r.debugName,new Set(["environment"]));this.injector=a,r.runEnvironmentInitializers&&a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(r){this.injector.onDestroy(r)}}function wy(i,r,a=null){return new qw({providers:i,parent:r,debugName:a,runEnvironmentInitializers:!0}).injector}class P_{_injector;cachedInjectors=new Map;constructor(r){this._injector=r}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const a=(0,s.jXY)(!1,r.type),l=a.length>0?wy([a],this._injector,""):null;this.cachedInjectors.set(r,l)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,s.jDH)({token:P_,providedIn:"environment",factory:()=>new P_((0,s.KVO)(s.uvJ))})}function Xu(i){return de(()=>{const r=R_(i),a={...r,decls:i.decls,vars:i.vars,template:i.template,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,onPush:i.changeDetection!==Rr.Eager,directiveDefs:null,pipeDefs:null,dependencies:r.standalone&&i.dependencies||null,getStandaloneInjector:r.standalone?p=>p.get(P_).getOrCreateStandaloneInjector(a):null,getExternalStyles:null,signals:i.signals??!1,data:i.data||{},encapsulation:i.encapsulation||Js.Emulated,styles:i.styles||s.Mlv,_:null,schemas:i.schemas||null,tView:null,id:""};r.standalone&&qa("NgStandalone"),Cy(a);const l=i.dependencies;return a.directiveDefs=up(l,G0),a.pipeDefs=up(l,s.oyA),a.id=function Zw(i){let r=0;const a="function"==typeof i.consts?"":i.consts,l=[i.selectors,i.ngContentSelectors,i.hostVars,i.hostAttrs,a,i.vars,i.decls,i.encapsulation,i.standalone,i.signals,i.exportAs,JSON.stringify(i.inputs),JSON.stringify(i.outputs),Object.getOwnPropertyNames(i.type.prototype),!!i.contentQueries,!!i.viewQuery];for(const g of l.join("|"))r=Math.imul(31,r)+g.charCodeAt(0)|0;return r+=2147483648,"c"+r}(a),a})}function G0(i){return(0,s.xUg)(i)||(0,s.HaV)(i)}function X0(i){return de(()=>({type:i.type,bootstrap:i.bootstrap||s.Mlv,declarations:i.declarations||s.Mlv,imports:i.imports||s.Mlv,exports:i.exports||s.Mlv,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null}))}function Q0(i,r){if(null==i)return s.MZA;const a={};for(const l in i)if(i.hasOwnProperty(l)){const p=i[l];let g,S,L,q;Array.isArray(p)?(L=p[0],g=p[1],S=p[2]??g,q=p[3]||null):(g=p,S=p,L=Yh.None,q=null),a[g]=[l,L,q],r[g]=S}return a}function Sy(i){if(null==i)return s.MZA;const r={};for(const a in i)i.hasOwnProperty(a)&&(r[i[a]]=a);return r}function xy(i){return de(()=>{const r=R_(i);return Cy(r),r})}function Dy(i){return{type:i.type,name:i.name,factory:null,pure:!1!==i.pure,standalone:i.standalone??!0,onDestroy:i.type.prototype.ngOnDestroy||null}}function R_(i){const r={};return{type:i.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:i.hostBindings||null,hostVars:i.hostVars||0,hostAttrs:i.hostAttrs||null,contentQueries:i.contentQueries||null,declaredInputs:r,inputConfig:i.inputs||s.MZA,exportAs:i.exportAs||null,standalone:i.standalone??!0,signals:!0===i.signals,selectors:i.selectors||s.Mlv,viewQuery:i.viewQuery||null,features:i.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:Q0(i.inputs,r),outputs:Sy(i.outputs),debugInfo:null}}function Cy(i){i.features?.forEach(r=>r(i))}function up(i,r){return i?()=>{const a="function"==typeof i?i():i,l=[];for(const p of a){const g=r(p);null!==g&&l.push(g)}return l}:null}function Jw(i,r,a,l){return de(()=>{const p=i;null!==r&&(p.hasOwnProperty("decorators")&&void 0!==p.decorators?p.decorators.push(...r):p.decorators=r),null!==a&&(p.ctorParameters=a),null!==l&&(p.hasOwnProperty("propDecorators")&&void 0!==p.propDecorators?p.propDecorators={...p.propDecorators,...l}:p.propDecorators=l)})}const qm=new s.nKC("");function Z0(i){return(0,s.EmA)([{provide:qm,multi:!0,useValue:i}])}class rl{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((r,a)=>{this.resolve=r,this.reject=a});appInits=(0,s.WQX)(qm,{optional:!0})??[];injector=(0,s.WQX)(s.zZn);constructor(){}runInitializers(){if(this.initialized)return;const r=[];for(const l of this.appInits){const p=(0,s.N4e)(this.injector,l);if(z0(p))r.push(p);else if(Ey(p)){const g=new Promise((S,L)=>{p.subscribe({complete:S,error:L})});r.push(g)}}const a=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{a()}).catch(l=>{this.reject(l)}),0===r.length&&a(),this.initialized=!0}static \u0275fac=function(a){return new(a||rl)};static \u0275prov=Nn({token:rl,factory:rl.\u0275fac})}let Qu=new Map;const dh=new Set;function eS(i){return J0.apply(this,arguments)}function J0(){return J0=m(function*(i){const r=Qu;Qu=new Map;const a=new Map;function l(g){const S=a.get(g);if(S)return S;const L=i(g).then(q=>function Ty(i,r){return L_.apply(this,arguments)}(g,q));return a.set(g,L),L}const p=Array.from(r).map(function(){var g=m(function*([S,L]){if(L.styleUrl&&L.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");const q=[];L.templateUrl&&q.push(l(L.templateUrl).then(qt=>{L.template=qt}));const ke="string"==typeof L.styles?[L.styles]:L.styles??[];L.styles=ke;let{styleUrl:Ke,styleUrls:vt}=L;if(Ke&&(vt=[Ke],L.styleUrl=void 0),vt?.length){const qt=Promise.all(vt.map(on=>l(on))).then(on=>{ke.push(...on),L.styleUrls=void 0});q.push(qt)}yield Promise.all(q),dh.delete(S)});return function(S){return g.apply(this,arguments)}}());yield Promise.all(p)}),J0.apply(this,arguments)}function tS(i){return!!(i.templateUrl&&!i.hasOwnProperty("template")||i.styleUrls?.length||i.styleUrl)}function nS(){return 0===Qu.size}function L_(){return(L_=m(function*(i,r){if("string"==typeof r)return r;if(void 0!==r.status&&200!==r.status)throw new s.buA(918,!1);return r.text()})).apply(this,arguments)}const B_=new Map;let ky=!0;function Ym(i,r){(function iS(i,r,a){if(r&&r!==a&&ky)throw new s.buA(921,!1)})(0,B_.get(r)||null,i),B_.set(r,i)}function Iy(i){return r=>{r.controlDef={create:(a,l)=>{a?.\u0275ngControlCreate(l)},update:(a,l)=>{a?.\u0275ngControlUpdate?.(l)},passThroughInput:i}}}function My(i){const r=a=>{const l=Array.isArray(i);null===a.hostDirectives?(a.resolveHostDirectives=oS,a.hostDirectives=l?i.map(Zm):[i]):l?a.hostDirectives.unshift(...i.map(Zm)):a.hostDirectives.unshift(i)};return r.ngInherit=!0,r}function oS(i){const r=[];let a=!1,l=null,p=null;for(let g=0;g<i.length;g++){const S=i[g];if(null!==S.hostDirectives){const L=r.length;l??=new Map,p??=new Map,Ay(S,r,l,i),p.set(S,[L,r.length-1])}0===g&&(0,s.JlV)(S)&&(a=!0,r.push(S))}for(let g=a?1:0;g<i.length;g++)r.push(i[g]);return null!==l&&l.forEach((g,S)=>{!function sS(i,r){for(const a in r)if(r.hasOwnProperty(a)){const l=r[a],p=i[a];i[l]=p}}(S.declaredInputs,g.inputs)}),[r,l,p]}function Ay(i,r,a,l){if(null!==i.hostDirectives)for(const p of i.hostDirectives)if("function"==typeof p){const g=p();for(const S of g)tE(Zm(S),r,a,l)}else tE(p,r,a,l)}function tE(i,r,a,l){const p=(0,s.HaV)(i.directive);if(Ay(p,r,a,l),a.has(p)){const g=a.get(p);nE(g,i.inputs,"input"),nE(g,i.outputs,"output")}else l.includes(p)||(a.set(p,i),r.push(p))}function nE(i,r,a){const l="input"===a?i.inputs:i.outputs;Object.keys(r).forEach(p=>{const g=r[p];(!l.hasOwnProperty(p)||l[p]===g)&&(l[p]=g)})}function Zm(i){return"function"==typeof i?{directive:(0,s.nl4)(i),inputs:{},outputs:{}}:{directive:(0,s.nl4)(i.directive),inputs:Oy(i.inputs),outputs:Oy(i.outputs)}}function Oy(i){const r={};if(void 0!==i&&i.length>0)for(let a=0;a<i.length;a+=2)r[i[a]]=i[a+1];return r}function F_(i){let r=function iE(i){return Object.getPrototypeOf(i.prototype).constructor}(i.type),a=!0;const l=[i];for(;r&&r!==Function.prototype&&r!==Object.prototype;){let p;const g=Object.hasOwn(r,s.CQl)?r[s.CQl]:void 0,S=Object.hasOwn(r,s.CZt)?r[s.CZt]:void 0;if((0,s.JlV)(i))p=g??S;else{if(g)throw new s.buA(903,!1);p=S}if(p){if(a){l.push(p);const q=i;q.inputs=Ry(i.inputs),q.declaredInputs=Ry(i.declaredInputs),q.outputs=Ry(i.outputs);const ke=p.hostBindings;ke&&lS(i,ke);const Ke=p.viewQuery,vt=p.contentQueries;if(Ke&&aS(i,Ke),vt&&cS(i,vt),rE(i,p),(0,s.dwj)(i.outputs,p.outputs),(0,s.JlV)(p)&&p.data.animation){const qt=i.data;qt.animation=(qt.animation||[]).concat(p.data.animation)}}const L=p.features;if(L)for(let q=0;q<L.length;q++){const ke=L[q];ke&&ke.ngInherit&&ke(i),ke===F_&&(a=!1)}}r=Object.getPrototypeOf(r)}!function Xx(i){let r=0,a=null;for(let l=i.length-1;l>=0;l--){const p=i[l];p.hostVars=r+=p.hostVars,p.hostAttrs=mn(p.hostAttrs,a=mn(a,p.hostAttrs))}}(l)}function rE(i,r){for(const a in r.inputs){if(!r.inputs.hasOwnProperty(a)||i.inputs.hasOwnProperty(a))continue;const l=r.inputs[a];void 0!==l&&(i.inputs[a]=l,i.declaredInputs[a]=r.declaredInputs[a])}}function Ry(i){return i===s.MZA?{}:i===s.Mlv?[]:i}function aS(i,r){const a=i.viewQuery;i.viewQuery=a?(l,p)=>{r(l,p),a(l,p)}:r}function cS(i,r){const a=i.contentQueries;i.contentQueries=a?(l,p,g)=>{r(l,p,g),a(l,p,g)}:r}function lS(i,r){const a=i.hostBindings;i.hostBindings=a?(l,p)=>{r(l,p),a(l,p)}:r}function uS(i,r,a,l,p,g,S,L){if(a.firstCreatePass){i.mergedAttrs=mn(i.mergedAttrs,i.attrs);const Ke=i.tView=qh(2,i,p,g,S,a.directiveRegistry,a.pipeRegistry,null,a.schemas,a.consts,null);null!==a.queries&&(a.queries.template(a,i),Ke.queries=a.queries.embeddedTView(i))}L&&(i.flags|=L),(0,s.iMd)(i,!1);const q=hh(a,r,i,l);(0,s.SX7)()&&eu(a,r,q,i),wo(q,r);const ke=c_(q,r,q,i);r[l+27]=ke,Xp(r,ke),Hw(ke,i,r)}function ph(i,r,a,l,p,g,S,L,q,ke,Ke){const vt=a+27;let qt;if(r.firstCreatePass){if(qt=Ed(r,vt,4,S||null,L||null),null!=ke){const on=(0,s.db4)(r.consts,ke);qt.localNames=[];for(let Mn=0;Mn<on.length;Mn+=2)qt.localNames.push(on[Mn],-1)}}else qt=r.data[vt];return uS(qt,i,r,a,l,p,g,q),null!=ke&&qd(i,qt,Ke),qt}function oE(i,r,a,l,p,g,S,L){const q=(0,s.OAn)(),ke=(0,s.klJ)();return function Qx(i,r,a,l,p,g,S,L,q,ke,Ke){const vt=a+27;let qt;return r.firstCreatePass?(qt=Ed(r,vt,4,S||null,L||null),(0,s.ckz)()&&Vc(r,i,qt,(0,s.db4)(r.consts,ke),n_),Lt(r,qt)):qt=r.data[vt],uS(qt,i,r,a,l,p,g,q),(0,s.yoD)(qt)&&hm(r,i,qt),null!=ke&&qd(i,qt,Ke),qt}(q,ke,i,r,a,l,p,(0,s.db4)(ke.consts,g),void 0,S,L),oE}let hh=aE;function aE(i,r,a,l){return(0,s.m7n)(!0),r[11].createComment("")}var Da;!function(i){i[i.NOT_STARTED=0]="NOT_STARTED",i[i.IN_PROGRESS=1]="IN_PROGRESS",i[i.COMPLETE=2]="COMPLETE",i[i.FAILED=3]="FAILED"}(Da||(Da={}));var ps,fh;!function(i){i[i.Placeholder=0]="Placeholder",i[i.Loading=1]="Loading",i[i.Complete=2]="Complete",i[i.Error=3]="Error"}(ps||(ps={})),function(i){i[i.Initial=-1]="Initial"}(fh||(fh={}));var lE;function tg(i,r,a){const l=uE(i);null===r[l]&&(r[l]=[]),r[l].push(a)}function U_(i,r){const a=uE(i),l=r[a];if(null!==l){for(const p of l)p();r[a]=null}}function By(i){U_(1,i),U_(0,i),U_(2,i)}function uE(i){let r=4;return 1===i?r=5:2===i&&(r=9),r}function ng(i){return i+1}function Sl(i,r){i[1];return i[ng(r.index)]}function pc(i,r){const a=ng(r.index);return i.data[a]}function Fy(i,r){return r===ps.Placeholder?i.placeholderBlockConfig?.[0]??null:r===ps.Loading?i.loadingBlockConfig?.[0]??null:null}function Uy(i){return i.loadingBlockConfig?.[1]??null}function qu(i,r){if(!i||0===i.length)return r;const a=new Set(i);for(const l of r)a.add(l);return i.length===a.size?i:Array.from(a)}function dE(i){return null!==i&&"object"==typeof i&&"number"==typeof i.primaryTmplIndex}!function(i){i[i.Manual=0]="Manual",i[i.Playthrough=1]="Playthrough"}(lE||(lE={}));class Ef{cachedInjectors=new Map;getOrCreateInjector(r,a,l,p){if(!this.cachedInjectors.has(r)){const g=l.length>0?wy(l,a,p):null;this.cachedInjectors.set(r,g)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,s.jDH)({token:Ef,providedIn:"environment",factory:()=>new Ef})}function W_(i){return(r,a)=>pE(i,r,a)}function pE(i,r,a){const l=a.get(V_),p=a.get(s.SKi);return l.add(i,r,p),()=>l.remove(r)}class V_{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(r,a,l){const p=this.executingCallbacks?this.deferred:this.current;this.addToQueue(p,Date.now()+r,a),this.scheduleTimer(l)}remove(r){const{current:a,deferred:l}=this;-1===this.removeFromQueue(a,r)&&this.removeFromQueue(l,r),0===a.length&&0===l.length&&this.clearTimeout()}addToQueue(r,a,l){let p=r.length;for(let g=0;g<r.length;g+=2)if(r[g]>a){p=g;break}(0,s.llW)(r,p,a,l)}removeFromQueue(r,a){let l=-1;for(let p=0;p<r.length;p+=2)if(r[p+1]===a){l=p;break}return l>-1&&(0,s.gsJ)(r,l,2),l}scheduleTimer(r){const a=()=>{this.clearTimeout(),this.executingCallbacks=!0;const p=[...this.current],g=Date.now();for(let L=0;L<p.length;L+=2){const q=p[L],ke=p[L+1];if(!(q<=g))break;ke()}let S=-1;for(let L=0;L<this.current.length&&this.current[L]<=g;L+=2)S=L+1;if(S>=0&&(0,s.gsJ)(this.current,0,S+1),this.executingCallbacks=!1,this.deferred.length>0){for(let L=0;L<this.deferred.length;L+=2){const q=this.deferred[L],ke=this.deferred[L+1];this.addToQueue(this.current,q,ke)}this.deferred.length=0}this.scheduleTimer(r)};if(this.current.length>0){const p=Date.now(),g=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-g>16){this.clearTimeout();const S=Math.max(g-p,16);this.invokeTimerAt=g,this.timeoutId=r.runOutsideAngular(()=>setTimeout(()=>r.run(a),S))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=(0,s.jDH)({token:V_,providedIn:"root",factory:()=>new V_})}const gS=new s.nKC("");function wf(i,r,a){return i.get(Ef).getOrCreateInjector(r,i,a,"")}function dp(i,r,a,l=!1){const p=a[3],g=p[1];if((0,s.EPY)(p))return;const S=Sl(p,r),L=S[1],q=S[7];if(!(null!==q&&i<q)&&mE(L,i)&&mE(S[0]??-1,i)){const ke=pc(g,r),vt=l||null===Uy(ke)&&null===Fy(ke,ps.Loading)&&!Fy(ke,ps.Placeholder)?fE:ig;try{vt(i,S,a,r,p)}catch(qt){_m(p,qt)}}}function fE(i,r,a,l,p){bn(G.DeferBlockStateStart);const g=function mS(i,r,a){const p=pc(r[1],a);switch(i){case ps.Complete:return p.primaryTmplIndex;case ps.Loading:return p.loadingTmplIndex;case ps.Error:return p.errorTmplIndex;case ps.Placeholder:return p.placeholderTmplIndex;default:return null}}(i,p,l);if(null!==g){r[1]=i;const S=p[1],L=g+27,q=(0,s.XRZ)(S,L),ke=0;let Ke;if(Jh(a,ke),i===ps.Complete){const Mn=pc(S,l),di=Mn.providers;di&&di.length>0&&(Ke=function hE(i,r,a){if(i instanceof Cd){const p=i.injector,S=wf(i.parentInjector,r,a);return new Cd(p,S)}const l=i.get(s.uvJ);if(l!==i){const p=wf(l,r,a);return new Cd(i,p)}return wf(i,r,a)}(p[9],Mn,di))}const{dehydratedView:vt,dehydratedViewIx:qt}=function _S(i,r){const a=i[6]?.findIndex(p=>p.data.s===r[1])??-1;return{dehydratedView:a>-1?i[6][a]:null,dehydratedViewIx:a}}(a,r),on=Su(p,q,null,{injector:Ke,dehydratedView:vt});if(el(a,on,ke,vd(q,vt)),(0,s.HAh)(on),qt>-1&&a[6]?.splice(qt,1),(i===ps.Complete||i===ps.Error)&&Array.isArray(r[8])){for(const Mn of r[8])Mn();r[8]=null}}bn(G.DeferBlockStateEnd)}function Wy(i,r,a,l,p){const g=Date.now(),L=pc(p[1],l);if(null===r[2]||r[2]<=g){r[2]=null;const q=Uy(L),ke=null!==r[3];if(i!==ps.Loading||null===q||ke){i>ps.Loading&&ke&&(r[3](),r[3]=null,r[0]=null),fE(i,r,a,l,p);const Ke=Fy(L,i);null!==Ke&&(r[2]=g+Ke,Vy(Ke,r,l,a,p))}else{r[0]=i;const Ke=Vy(q,r,l,a,p);r[3]=Ke}}else r[0]=i}function Vy(i,r,a,l,p){return pE(i,()=>{const S=r[0];r[2]=null,r[0]=null,null!==S&&dp(S,a,l)},p[9])}function mE(i,r){return i<r}function _h(i,r){const a=i[r.index];dp(ps.Placeholder,r,a)}function gE(i,r,a){i.loadingPromise.then(()=>{i.loadingState===Da.COMPLETE?dp(ps.Complete,r,a):i.loadingState===Da.FAILED&&dp(ps.Error,r,a)})}let ig=null;function vh(i,r){return r[9].get(gS,null,{optional:!0})?.behavior!==lE.Manual}function yh(i,r,a,l){const p=a.get(s.SKi);return function nc(i,r,a,l){const p=za(l);let g=qs.get(i)?.get(p);Ts.has(p)||Ts.set(p,{observer:a(l),count:0});const S=Ts.get(p);if(!g){g=new ba,S.observer.observe(i);let L=qs.get(i);L?L.set(p,g):(L=new Map,qs.set(i,L)),L.set(p,g),S.count++}return g.callbacks.add(r),()=>{if(qs.get(i)?.has(p)){if(g.callbacks.delete(r),0===g.callbacks.size){S.observer.unobserve(i),S.count--;const L=qs.get(i);L&&(L.delete(p),0===L.size&&qs.delete(i))}0===S.count&&(S.observer.disconnect(),Ts.delete(p))}}}(i,()=>p.run(r),g=>p.runOutsideAngular(()=>function ol(i){const r=za(i);return new IntersectionObserver(a=>{for(const l of a)l.isIntersecting&&qs.has(l.target)&&qs.get(l.target)?.get(r)?.listener()},i)}(g)),l)}function bh(i,r,a,l,p,g,S,L){if(!vh(0,i))return;const q=i[9],ke=q.get(s.SKi);let Ke;Ke=function Vb(i,r){const a=r?.injector??(0,s.WQX)(s.zZn);return qa("NgAfterRender"),qg(i,a,r,!1)}({read:function vt(){if((0,s.EPY)(i))return void Ke.destroy();const qt=Sl(i,r),on=qt[1];if(on!==fh.Initial&&on!==ps.Placeholder)return void Ke.destroy();const Mn=function vS(i,r,a){return null==a?i:a>=0?(0,s.jRZ)(a,i):i[r.index][10]??null}(i,r,l);if(!Mn||(Ke.destroy(),(0,s.EPY)(Mn)))return;const di=function vE(i,r){return(0,s.vaC)(27+r,i)}(Mn,a),Oi=p(di,()=>{ke.run(()=>{i!==Mn&&(0,s.DyX)(Mn,Oi),g()})},q,L);i!==Mn&&(0,s.ik5)(Mn,Oi),tg(S,qt,Oi)}},{injector:q})}class Sf{log(r){console.log(r)}warn(r){console.warn(r)}static \u0275fac=function(a){return new(a||Sf)};static \u0275prov=(0,s.jDH)({token:Sf,factory:Sf.\u0275fac,providedIn:"platform"})}let Za=new class $y{resolverToTokenToDependencies=new WeakMap;resolverToProviders=new WeakMap;resolverToEffects=new WeakMap;standaloneInjectorToComponent=new WeakMap;reset(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}};function xf(){return Za}var Hy;!function(i){i[i.Defer=0]="Defer",i[i.For=1]="For"}(Hy||(Hy={}));const DS=[({node:i,lView:r,tView:a,slotIdx:l})=>{const p=r[l];if(!(0,s.A0l)(p))return null;const g=p;if(l!==a.bindingStartIndex-1){const L=a.data[l],q=pc(a,L);if(dE(q)){const ke=(0,s.d31)(L,r),Ke=Sl(r,L);if(!i.contains(ke))return null;const vt=r[9],qt=vt.get(ks,null,{optional:!0}),on=function CS(i){return i.length<=10?null:i[10]}(g),Mn=[],di=function EE(i,r,a){return null===a||null===r[6]||null===i.hydrateTriggers||i.hydrateTriggers.has(7)?"not-configured":a.has(r[6])?"dehydrated":"hydrated"}(q,Ke,qt);if(null!==on)yd(on[1],on,on[1].firstChild,Mn);else if("dehydrated"===di){const Cl=vt.get(s.pJN).get(Ye,{})[Ke[6]].r;let gc=0,wp=g[7].previousSibling;for(;gc<Cl&℘)Mn.unshift(wp),wp=wp.previousSibling,gc++}return{type:Hy.Defer,state:bE(Ke[1]),incrementalHydrationState:di,hasErrorBlock:null!==q.errorTmplIndex,loadingBlock:{exists:null!==q.loadingTmplIndex,minimumTime:q.loadingBlockConfig?.[0]??null,afterTime:q.loadingBlockConfig?.[1]??null},placeholderBlock:{exists:null!==q.placeholderTmplIndex,minimumTime:q.placeholderBlockConfig?.[0]??null},triggers:q.debug?.triggers?Array.from(q.debug.triggers).sort():[],hostNode:g[0],rootNodes:Mn}}}return null},({lView:i,slotIdx:r})=>{const a=i[r];if(!function wE(i){return null!==i&&"object"==typeof i&&"hasEmptyBlock"in i&&"trackByFn"in i&&"function"==typeof i.trackByFn}(a))return null;const l=a,p=l.liveCollection,g=[];if(p)for(let ke=0;ke<p.length;ke++)g.push(p.at(ke));const L=i[r+1],q=[];if((0,s.A0l)(L))for(let ke=10;ke<L.length;ke++){const Ke=L[ke];if((0,s.q$2)(Ke)){const vt=Ke[1],qt=yd(vt,Ke,vt.firstChild,[]);q.push(...qt)}}return{type:Hy.For,items:g,hasEmptyBlock:l.hasEmptyBlock,rootNodes:q,hostNode:L[0],trackExpression:TS(l)}}];function z_(i,r,a=[]){const l=r[1];for(let p=27;p<l.bindingStartIndex;p++){const g=r[p];for(const S of DS){const L=S({node:i,lView:r,tView:l,slotIdx:p});if(L){a.push(L);break}}if((0,s.A0l)(g)){const S=g;(0,s.q$2)(S[0])&&z_(i,S[0],a);for(let L=10;L<S.length;L++)z_(i,S[L],a)}else(0,s.q$2)(g)&&z_(i,g,a)}return a}function bE(i){switch(i){case ps.Complete:return"complete";case ps.Loading:return"loading";case ps.Placeholder:return"placeholder";case ps.Error:return"error";case fh.Initial:return"initial";default:throw new Error(`Unrecognized state ${i}`)}}function TS(i){const r=i.trackByFn;return"\u0275\u0275repeaterTrackByIndex"===r.name?"$index":"\u0275\u0275repeaterTrackByIdentity"===r.name?"item":"function"}function xE(i){const r=new Map,l=function zy(i,r){return(a,l)=>{if(i.has(a)||i.set(a,[l]),!r.has(l))for(const p of i.keys()){const g=i.get(p);let S=(0,s.ebl)(l);if(!S){const ke=l.ngModule;S=(0,s.ebl)(ke)}if(!S)return;const L=g[0];let q=!1;(0,s.xLP)(S.imports,ke=>{q||(q=ke.ngModule===L||ke===L,q&&i.get(p)?.unshift(l))})}r.add(l)}}(r,new Set);return(0,s.brz)(i,l,[],new Set),r}function AS(i){const r=xf().resolverToProviders.get(i)??[];if(function wh(i){return i instanceof s.e5P&&i.scopes.has("platform")}(i))return r;const a=function MS(i){const{standaloneInjectorToComponent:r}=xf();if(r.has(i))return r.get(i);const a=i.get(lh,null,{self:!0,optional:!0});return null===a||null===a.instance?null:a.instance.constructor}(i);if(null===a)return r;const l=xE(a),p=[];for(const g of r){const S=g.provider,L=S.provide;if(L===s.Z63||L===s.B9r)continue;let q=l.get(S)??[];(0,s.xUg)(a)?.standalone&&(q=[a,...q]),p.push({...g,importPath:q})}return p}function Df(i){return i instanceof mi?function SE(i){const r=pn(i),{resolverToProviders:a}=xf();return[...a.get(r)??[],...Array.from((0,s.RiE)()).map(g=>({token:g,isViewProvider:!1,provider:g}))]}(i):i instanceof s.uvJ?AS(i):void(0,s.$8)("getInjectorProviders only supports NodeInjector and EnvironmentInjector")}function DE(i){if(i instanceof mi){const r=Kn(i),a=pn(i);return(0,s.VKj)(a,r),{type:"element",source:(0,s.d31)(a,r)}}return i instanceof s.e5P?{type:"environment",source:i.source??null}:i instanceof s.oTH?{type:"null",source:null}:null}function CE(i){const r=[i];return Ky(i,r),r}function Ky(i,r){const a=function OS(i){if(i instanceof s.e5P)return i.parent;let r,a;if(i instanceof mi)r=pn(i),a=Kn(i);else{if(i instanceof s.oTH)return null;if(i instanceof Cd)return i.parentInjector;(0,s.$8)("getInjectorParent only support injectors of type R3Injector, NodeInjector, NullInjector")}const l=lo(r,a);if(Ti(l)){const p=$i(l),g=ui(l,a),L=g[1].data[p+8];return new mi(L,g)}{const g=a[9].injector?.parent;if(g instanceof mi)return g}return null}(i);if(null===a){if(i instanceof mi){const l=r[0];if(l instanceof mi){const p=function PS(i){let r;i instanceof mi?r=Kn(i):(0,s.$8)("getModuleInjectorOfNodeInjector must be called with a NodeInjector");const a=r[9],l=a instanceof Cd?a.parentInjector:a.parent;return l||(0,s.$8)("NodeInjector must have some connection to the module injector tree"),l}(l);null===p&&(0,s.$8)("NodeInjector must have some connection to the module injector tree"),r.push(p),Ky(p,r)}return r}}else r.push(a),Ky(a,r);return r}function RS(i){return"computed"===i.kind}function TE(i){return"template"===i.kind}function kE(i){return"signal"===i.kind}const Ma=new WeakMap;let sg=0;function cg(i,r=new Map){for(const a of i){if(r.has(a))continue;const l=[];for(let p=a.producers;void 0!==p;p=p.nextProducer){const g=p.producer;l.push(g)}r.set(a,l),cg(l,r)}return r}function NS(i){let r=null;if(!(i instanceof mi||i instanceof s.e5P))return(0,s.$8)("getSignalGraph must be called with a NodeInjector or R3Injector");i instanceof mi&&(r=function IE(i){const r=pn(i);(0,s.R2n)(r);const a=Kn(i);(0,s.MdC)(a);const l=a[r.index];return(0,s.q$2)(l)?l[24]??null:null}(i));const a=function Cf(i){let r=i;return i instanceof mi&&(r=Kn(i)),(xf().resolverToEffects.get(r)??[]).map(p=>p instanceof s.dTm?p[f.bh]:p.signal[f.bh])}(i);return function ag(i){const r=Array.from(i.keys()),a=[],l=[];for(const[p,g]of i.entries()){const S=r.indexOf(p);let L=Ma.get(p);L||(sg++,L=sg.toString(),Ma.set(p,L)),RS(p)?a.push({label:p.debugName,value:p.value,kind:p.kind,epoch:p.version,debuggableFn:p.computation,id:L}):kE(p)?a.push({label:p.debugName,value:p.value,kind:p.kind,epoch:p.version,id:L}):TE(p)?a.push({label:p.debugName??p.lView?.[0]?.tagName?.toLowerCase?.(),kind:p.kind,epoch:p.version,debuggableFn:p.lView?.[8]?.constructor,id:L}):a.push({label:p.debugName,kind:p.kind,epoch:p.version,id:L});for(const q of g)l.push({consumer:S,producer:r.indexOf(q)})}return{nodes:a,edges:l}}(cg(r?[r,...a]:a))}const ME=new WeakMap;function Qy(i){return ME.get(i)}s.Hps;const dg=new s.nKC(""),Jy=new s.nKC(""),eb=new s.nKC("USE_PENDING_TASKS",{providedIn:"root",factory:()=>typeof Zone>"u"});class Mf{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;pendingTasksInternal=(0,s.WQX)(s.rev);_usePendingTasks=(0,s.WQX)(eb);constructor(r,a,l){this._ngZone=r,this.registry=a,(0,s.M6u)()&&(this._destroyRef=(0,s.WQX)(s.abz,{optional:!0})??void 0),tb||(function WS(i){tb=i}(l),l.addToWindow(a)),this._watchAngularEvents(),r.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const r=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}});let a,l;this._ngZone.runOutsideAngular(()=>{this._usePendingTasks&&(a=this.pendingTasksInternal.hasPendingTasksObservable.subscribe(()=>{this.isStable()&&this._ngZone.runOutsideAngular(()=>{this._runCallbacksIfReady()})})),l=this._ngZone.onStable.subscribe({next:()=>{s.SKi.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})}),this._destroyRef?.onDestroy(()=>{r.unsubscribe(),a?.unsubscribe(),l.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks&&(!this._usePendingTasks||!this.pendingTasksInternal.hasPendingTasks)}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb()}});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(a=>!a.updateCb||!a.updateCb(r)||(clearTimeout(a.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,a,l){let p=-1;a&&a>0&&(p=setTimeout(()=>{this._callbacks=this._callbacks.filter(g=>g.timeoutId!==p),r()},a)),this._callbacks.push({doneCb:r,timeoutId:p,updateCb:l})}whenStable(r,a,l){if(l&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,a,l),this._runCallbacksIfReady()}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,a,l){return[]}static \u0275fac=function(a){return new(a||Mf)((0,s.KVO)(s.SKi),(0,s.KVO)(Dh),(0,s.KVO)(Jy))};static \u0275prov=(0,s.jDH)({token:Mf,factory:Mf.\u0275fac})}class Dh{_applications=new Map;registerApplication(r,a){this._applications.set(r,a)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,a=!0){return tb?.findTestabilityInTree(this,r,a)??null}static \u0275fac=function(a){return new(a||Dh)};static \u0275prov=(0,s.jDH)({token:Dh,factory:Dh.\u0275fac,providedIn:"platform"})}let tb;const NE=new s.nKC("");function Tu(){}function pg(){(0,f.KO)(()=>{throw new s.buA(600,"")})}function LE(i,r){return Array.isArray(r)?r.reduce(LE,i):{...i,...r}}class fp{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=(0,s.WQX)(s.ZTf);afterRenderManager=(0,s.WQX)(Wp);zonelessEnabled=(0,s.WQX)(s.Evm);rootEffectScheduler=(0,s.WQX)(s.VML);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new P.B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=(0,s.WQX)(s.rev);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe((0,y.T)(r=>!r))}constructor(){(0,s.WQX)(ms,{optional:!0})}whenStable(){let r;return new Promise(a=>{r=this.isStable.subscribe({next:l=>{l&&a()}})}).finally(()=>{r.unsubscribe()})}_injector=(0,s.WQX)(s.uvJ);_rendererFactory=null;get injector(){return this._injector}bootstrap(r,a){return this.bootstrapImpl(r,a)}bootstrapImpl(r,a,l=s.zZn.NULL){return this._injector.get(s.SKi).run(()=>{if(bn(G.BootstrapComponentStart),!this._injector.get(rl).done){let Oi="";throw new s.buA(405,Oi)}const S=(0,s.xUg)(r),L=this._injector.get(lh),q=new k_(S,L);this.componentTypes.push(r);const{hostElement:ke,directives:Ke,bindings:vt}=function BE(i){return void 0===i||"string"==typeof i||i instanceof Element?{hostElement:i}:i}(a),qt=ke||q.selector,on=q.create(l,[],qt,L.injector,Ke,vt),Mn=on.location.nativeElement,di=on.injector.get(dg,null);return di?.registerApplication(Mn),on.onDestroy(()=>{this.detachView(on.hostView),Q_(this.components,on),di?.unregisterApplication(Mn)}),this._loadComponent(on),bn(G.BootstrapComponentEnd,on),on})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){bn(G.ChangeDetectionStart),null!==this.tracingSnapshot?this.tracingSnapshot.run(Kh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw bn(G.ChangeDetectionEnd),new s.buA(101,!1);const r=(0,f.Ht)(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,(0,f.Ht)(r),this.afterTick.next(),bn(G.ChangeDetectionEnd)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Um,null,{optional:!0}));let r=0;for(;0!==this.dirtyFlags&&r++<10;){bn(G.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{bn(G.ChangeDetectionSyncEnd)}}}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let r=!1;if(7&this.dirtyFlags){const a=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:l}of this.allViews){if(!a&&!(0,s.dMS)(l))continue;bm(l,a&&!this.zonelessEnabled?0:1),r=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}r||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:r})=>(0,s.dMS)(r))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(r){const a=r;this._views.push(a),a.attachToAppRef(this)}detachView(r){const a=r;Q_(this._views,a),a.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView);try{this.tick()}catch(l){this.internalErrorHandler(l)}this.components.push(r),this._injector.get(NE,[]).forEach(l=>l(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Q_(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new s.buA(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(a){return new(a||fp)};static \u0275prov=Nn({token:fp,factory:fp.\u0275fac})}function Q_(i,r){const a=i.indexOf(r);a>-1&&i.splice(a,1)}function FE(i,r,a){const l=r.get(q_);return l.add(i,a),()=>l.remove(i)}function Af(i){return(r,a)=>FE(r,a,i)}class q_{buckets=new Map;callbackBucket=new Map;applicationRef=(0,s.WQX)(fp);ngZone=(0,s.WQX)(s.SKi);idleService=(0,s.WQX)(tt);add(r,a){const l=UE(a);this.callbackBucket.set(r,l);let p=this.buckets.get(l);null==p&&(p={idleId:null,queue:new Set},this.buckets.set(l,p)),p.queue.add(r),this.scheduleBucket(p,a)}remove(r){const a=this.callbackBucket.get(r);if(void 0===a)return;this.callbackBucket.delete(r);const l=this.buckets.get(a);l&&(l.queue.delete(r),0===l.queue.size&&(this.cancelBucket(l),this.buckets.delete(a)))}scheduleBucket(r,a){if(null!==r.idleId)return;const l=UE(a),p=g=>{this.cancelBucket(r);for(const S of r.queue)if(S(),this.applicationRef._tick(),r.queue.delete(S),this.callbackBucket.delete(S),g&&0===g.timeRemaining()&&!g.didTimeout)break;r.queue.size>0?this.scheduleBucket(r,a):this.buckets.delete(l)};r.idleId=this.idleService.requestOnIdle(g=>this.ngZone.run(()=>p(g)),a)}cancelBucket(r){null!==r.idleId&&(this.idleService.cancelOnIdle(r.idleId),r.idleId=null)}ngOnDestroy(){for(const r of this.buckets.values())this.cancelBucket(r);this.buckets.clear(),this.callbackBucket.clear()}static \u0275prov=(0,s.jDH)({token:q_,providedIn:"root",factory:()=>new q_})}function UE(i){return i&&null!=i.timeout?`${i.timeout}`:""}function Y_(i){const r=(0,s.OAn)(),a=(0,s.Mx4)();if(_h(r,a),!vh(0,r))return;const l=r[9];tg(0,Sl(r,a),i(()=>kr(0,r,a),l))}function WE(i){const r=(0,s.OAn)(),a=r[9],l=(0,s.Mx4)(),g=pc(r[1],l);if(g.loadingState===Da.NOT_STARTED){tg(1,Sl(r,l),i(()=>hg(g,r,l),a))}}function VE(i,r,a){const l=r[9],p=Sl(r,a),g=p[6];tg(2,p,i(()=>Ad(l,g),l))}function hg(i,r,a){$E(i,r,a)}function $E(i,r,a){const l=r[9],p=r[1];if(i.loadingState!==Da.NOT_STARTED)return i.loadingPromise??Promise.resolve();const g=Sl(r,a),S=function Dr(i,r){const a=r.primaryTmplIndex+27;return(0,s.XRZ)(i,a)}(p,i);i.loadingState=Da.IN_PROGRESS,U_(1,g);let L=i.dependencyResolverFn;const q=l.get(s.u5s).add();return L?(i.loadingPromise=Promise.allSettled(L()).then(ke=>{let Ke=!1,vt=null;const qt=[],on=[];for(let Mn=0;Mn<ke.length;Mn++){const di=ke[Mn];if("fulfilled"!==di.status){Ke=!0,vt=di.reason instanceof Error?di.reason:new Error(String(di.reason));break}{const Oi=di.value,lr=(0,s.xUg)(Oi)||(0,s.HaV)(Oi);if(lr)qt.push(lr);else{const vi=(0,s.oyA)(Oi);vi&&on.push(vi)}}}if(Ke){if(i.loadingState=Da.FAILED,null===i.errorTmplIndex){let di="";const Oi=new s.buA(-750,di);_m(r,Oi)}}else{i.loadingState=Da.COMPLETE;const Mn=S.tView;if(qt.length>0){Mn.directiveRegistry=qu(Mn.directiveRegistry,qt);const di=qt.map(lr=>lr.type),Oi=(0,s.jXY)(!1,...di);i.providers=Oi}on.length>0&&(Mn.pipeRegistry=qu(Mn.pipeRegistry,on))}}),i.loadingPromise.finally(()=>{i.loadingPromise=null,q()})):(i.loadingPromise=Promise.resolve().then(()=>{i.loadingPromise=null,i.loadingState=Da.COMPLETE,q()}),i.loadingPromise)}function kr(i,r,a){const l=r[1],p=r[a.index];if(!vh(0,r))return;const g=Sl(r,a),S=pc(l,a);switch(By(g),S.loadingState){case Da.NOT_STARTED:dp(ps.Loading,a,p),$E(S,r,a),S.loadingState===Da.IN_PROGRESS&&gE(S,a,p);break;case Da.IN_PROGRESS:dp(ps.Loading,a,p),gE(S,a,p);break;case Da.COMPLETE:dp(ps.Complete,a,p);break;case Da.FAILED:dp(ps.Error,a,p)}}function Ad(i,r,a){return Of.apply(this,arguments)}function Of(){return Of=m(function*(i,r,a){const l=i.get(ks);if(l.hydrating.has(r))return;const{parentBlockPromise:g,hydrationQueue:S}=function Ph(i,r){const a=r.get(ks),p=r.get(s.pJN).get(Ye,{});let g=!1,S=i,L=null;const q=[];for(;!g&&S;){g=a.has(S);const ke=a.hydrating.get(S);if(null===L&&null!=ke){L=ke.promise;break}q.unshift(S),S=p[S].p}return{parentBlockPromise:L,hydrationQueue:q}}(r,i);if(0===S.length)return;null!==g&&S.shift(),function mg(i,r){for(let a of r)i.hydrating.set(a,(0,s.nJn)())}(l,S),null!==g&&(yield g);const L=S[0];l.has(L)?yield Z_(i,S,a):l.awaitParentBlock(L,m(function*(){return yield Z_(i,S,a)}))}),Of.apply(this,arguments)}function Z_(i,r,a){return nb.apply(this,arguments)}function nb(){return nb=m(function*(i,r,a){const l=i.get(ks),p=l.hydrating,g=i.get(s.rev),S=g.add();for(let q=0;q<r.length;q++){const ke=r[q],Ke=l.get(ke);if(null==Ke){fg(q,r,l),ib(r.slice(q),l);break}if(yield jE(Ke),yield gg(i),Yu(Ke)){x0(Ke),ib(r.slice(q),l);break}p.get(ke).resolve()}const L=r[r.length-1];yield p.get(L)?.promise,g.remove(S),a&&a(r),Om(l.get(L),r,l,i.get(fp))}),nb.apply(this,arguments)}function Yu(i){return Sl(i.lView,i.tNode)[1]===ps.Error}function fg(i,r,a){const l=i-1,p=l>-1?a.get(r[l]):null;p&&df(p.lContainer)}function ib(i,r){const a=r.hydrating;for(const l in i)a.get(l)?.reject();r.cleanup(i)}function gg(i){return new Promise(r=>lm(r,{injector:i}))}function jE(i){return mp.apply(this,arguments)}function mp(){return mp=m(function*(i){const{tNode:r,lView:a}=i,l=Sl(a,r);return new Promise(p=>{(function rb(i,r){Array.isArray(i[8])||(i[8]=[]),i[8].push(r)})(l,p),kr(0,a,r)})}),mp.apply(this,arguments)}function Ca(i,r,a){return 0===i?_g(r,a):2!==i||!_g(r,a)}function _g(i,r){const a=i[9],l=pc(i[1],r),p=rc(a),g=function Va(i){return null!=i&&!(1&~i)}(l.flags),L=null!==Sl(i,r)[6];return!(g&&L&&p)}function jl(i,r){const a=pc(i,r);return a.hydrateTriggers??=new Map}function ob(i,r,a){const l=[],p=[],g=[],S=[];for(let[L,q]of r){const ke=a.get(L);if(void 0!==ke){const Ke=q.data.r;let vt=ke;for(let qt=0;qt<Ke;qt++){if(vt=vt.previousSibling,vt.nodeType!==Node.ELEMENT_NODE)continue;const on={el:vt,blockName:L};q.hydrate.idle&&l.push(on),q.hydrate.immediate&&S.push(on),null!==q.hydrate.timer&&(on.delay=q.hydrate.timer,p.push(on)),q.hydrate.viewport&&("boolean"!=typeof q.hydrate.viewport&&(on.intersectionObserverOptions=q.hydrate.viewport),g.push(on))}}}(function oD(i,r){for(const a of r){const l=i.get(ks),g=FE(()=>Ad(i,a.blockName),i);l.addCleanupFn(a.blockName,g)}})(i,l),function jS(i,r){for(const a of r)Ad(i,a.blockName)}(i,S),function $S(i,r){if(r.length>0){const a=i.get(ks);for(let l of r){const p=yh(l.el,()=>Ad(i,l.blockName),i,l.intersectionObserverOptions);a.addCleanupFn(l.blockName,p)}}}(i,g),function J_(i,r){for(const a of r){const l=i.get(ks),p=()=>Ad(i,a.blockName),S=W_(a.delay)(p,i);l.addCleanupFn(a.blockName,S)}}(i,p)}function lb(i,r){const a=(0,s.OAn)();if(Uo(a,(0,s.xbp)(),r)){const p=(0,s.klJ)(),g=(0,s.CpD)();if(qp(g,p,a,i,r))(0,s.Qs1)(g)&&Nv(a,g.index);else{const L=(0,s.d31)(g,a);Yd(a[11],L,null,g.value,i,r,null)}}return lb}function Pf(i,r,a,l){const p=(0,s.OAn)();if(Uo(p,(0,s.xbp)(),r)){(0,s.klJ)();!function fm(i,r,a,l,p,g){const S=(0,s.d31)(i,r);Yd(r[11],S,g,i.value,a,l,p)}((0,s.CpD)(),p,i,r,a,l)}return Pf}function Zu(i){if(qa("NgAnimateEnter"),!yu)return Zu;const r=(0,s.OAn)();if(am(r))return Zu;const a=(0,s.Mx4)(),l=r[9].get(s.SKi);return xc(Nl(r),a,()=>function YE(i,r,a,l){const p=(0,s.d31)(r,i),g=i[11],S=Ws(a),L=[];let q=!1;const ke=vt=>{if(Yo(vt)!==p)return;const qt=vt instanceof AnimationEvent?"animationend":"transitionend";l.runOutsideAngular(()=>{g.listen(p,qt,Ke)})},Ke=vt=>{Yo(vt)===p&&(Pn(vt,p)&&(q=!0),function ZE(i,r,a){const l=Lp.get(r);if(Yo(i)===r&&l&&Pn(i,r)){i.stopPropagation();for(const p of l.classList)a.removeClass(r,p);Gg(r)}}(vt,p,g))};if(S&&S.length>0){l.runOutsideAngular(()=>{L.push(g.listen(p,"animationstart",ke)),L.push(g.listen(p,"transitionstart",ke))}),function Dv(i,r,a){const l=Lp.get(i);if(l){for(const p of r)l.classList.push(p);for(const p of a)l.cleanupFns.push(p)}else Lp.set(i,{classList:r,cleanupFns:a})}(p,S,L);for(const vt of S)g.addClass(p,vt);l.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!q&&(Up(p,$d,yu),!$d.has(p))){for(const vt of S)g.removeClass(p,vt);Gg(p)}})})}}(r,a,i,l)),um(r[9]),Bl(r[9],Nl(r)),Zu}class yg{destroy(r){}updateValue(r,a){}swap(r,a){const l=Math.min(r,a),p=Math.max(r,a),g=this.detach(p);if(p-l>1){const S=this.detach(l);this.attach(l,g),this.attach(p,S)}else this.attach(l,g)}move(r,a){this.attach(a,this.detach(r))}}function Nf(i,r,a,l,p){return i===a&&Object.is(r,l)?1:Object.is(p(i,r),p(a,l))?-1:0}function db(i,r,a,l){return!(void 0===r||!r.has(l))&&(i.attach(a,r.get(l)),r.delete(l),!0)}function nv(i,r,a,l,p){if(db(i,r,l,a(l,p)))i.updateValue(l,p);else{const g=i.create(l,p);i.attach(l,g)}}function bg(i,r,a,l){const p=new Set;for(let g=r;g<=a;g++)p.add(l(g,i.at(g)));return p}class $a{kvMap=new Map;_vMap=void 0;has(r){return this.kvMap.has(r)}delete(r){if(!this.has(r))return!1;const a=this.kvMap.get(r);return void 0!==this._vMap&&this._vMap.has(a)?(this.kvMap.set(r,this._vMap.get(a)),this._vMap.delete(a)):this.kvMap.delete(r),!0}get(r){return this.kvMap.get(r)}set(r,a){if(this.kvMap.has(r)){let l=this.kvMap.get(r);void 0===this._vMap&&(this._vMap=new Map);const p=this._vMap;for(;p.has(l);)l=p.get(l);p.set(l,a)}else this.kvMap.set(r,a)}forEach(r){for(let[a,l]of this.kvMap)if(r(l,a),void 0!==this._vMap){const p=this._vMap;for(;p.has(l);)l=p.get(l),r(l,a)}}}function gp(i,r,a,l,p,g,S,L){qa("NgControlFlow");const q=(0,s.OAn)(),ke=(0,s.klJ)();return ph(q,ke,i,r,a,l,p,(0,s.db4)(ke.consts,g),256,S,L),Lf}function Lf(i,r,a,l,p,g,S,L){qa("NgControlFlow");const q=(0,s.OAn)(),ke=(0,s.klJ)();return ph(q,ke,i,r,a,l,p,(0,s.db4)(ke.consts,g),512,S,L),Lf}function iv(i,r){qa("NgControlFlow");const a=(0,s.OAn)(),l=(0,s.xbp)(),p=a[l]!==Vo?a[l]:-1,g=-1!==p?Ff(a,27+p):void 0;if(Uo(a,l,i)){const L=(0,f.Ht)(null);try{if(void 0!==g&&Jh(g,0),-1!==i){const q=27+i,ke=Ff(a,q),Ke=Sg(a[1],q),vt=hf(ke,Ke,a);el(ke,Su(a,Ke,r,{dehydratedView:vt}),0,vd(Ke,vt))}}finally{(0,f.Ht)(L)}}else if(void 0!==g){const L=l_(g,0);void 0!==L&&(L[8]=r)}}class Eg{lContainer;$implicit;$index;constructor(r,a,l){this.lContainer=r,this.$implicit=a,this.$index=l}get $count(){return this.lContainer.length-10}}function tw(i,r){return r}class ov{hasEmptyBlock;trackByFn;liveCollection;constructor(r,a,l){this.hasEmptyBlock=r,this.trackByFn=a,this.liveCollection=l}}function _p(i,r,a,l,p,g,S,L,q,ke,Ke,vt,qt){qa("NgControlFlow");const on=(0,s.OAn)(),Mn=(0,s.klJ)(),di=void 0!==q,Oi=(0,s.OAn)(),lr=L?S.bind(Oi[15][8]):S,vi=new ov(di,lr);Oi[27+i]=vi,ph(on,Mn,i+1,r,a,l,p,(0,s.db4)(Mn.consts,g),256),di&&ph(on,Mn,i+2,q,ke,Ke,vt,(0,s.db4)(Mn.consts,qt),512)}class Bf extends yg{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(r,a,l){super(),this.lContainer=r,this.hostLView=a,this.templateTNode=l}get length(){return this.lContainer.length-10}at(r){return this.getLView(r)[8].$implicit}attach(r,a){const l=a[6];this.needsIndexUpdate||=r!==this.length,el(this.lContainer,a,r,vd(this.templateTNode,l)),function hb(i,r){if(i.length<=10)return;const a=10+r,l=i[a],p=l?l[26]:void 0;if(l&&p&&p.detachedLeaveAnimationFns&&p.detachedLeaveAnimationFns.length>0){(function Mv(i,r){const a=i.get(Vp);if(r.detachedLeaveAnimationFns){for(const l of r.detachedLeaveAnimationFns)a.queue.delete(l);r.detachedLeaveAnimationFns=void 0}})(l[9],p),bu.delete(l[19]),p.detachedLeaveAnimationFns=void 0}}(this.lContainer,r)}detach(r){return this.needsIndexUpdate||=r!==this.length-1,function iw(i,r){if(i.length<=10)return;const a=10+r,l=i[a],p=l?l[26]:void 0;p&&p.leave&&p.leave.size>0&&(p.detachedLeaveAnimationFns=[])}(this.lContainer,r),function Uf(i,r){return ef(i,r)}(this.lContainer,r)}create(r,a){const l=op(this.lContainer,this.templateTNode.tView.ssrId);return Su(this.hostLView,this.templateTNode,new Eg(this.lContainer,a,r),{dehydratedView:l})}destroy(r){Jc(r[1],r)}updateValue(r,a){this.getLView(r)[8].$implicit=a}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let r=0;r<this.length;r++)this.getLView(r)[8].$index=r}getLView(r){return function wg(i,r){return l_(i,r)}(this.lContainer,r)}}function nw(i){const r=(0,f.Ht)(null),a=(0,s._px)();try{const l=(0,s.OAn)(),p=l[1],g=l[a],S=a+1,L=Ff(l,S);if(void 0===g.liveCollection){const ke=Sg(p,S);g.liveCollection=new Bf(L,l,ke)}else g.liveCollection.reset();const q=g.liveCollection;if(function ub(i,r,a,l){let p,g,S=0,L=i.length-1;if(Array.isArray(r)){(0,f.Ht)(l);let ke=r.length-1;for((0,f.Ht)(null);S<=L&&S<=ke;){const Ke=i.at(S),vt=r[S],qt=Nf(S,Ke,S,vt,a);if(0!==qt){qt<0&&i.updateValue(S,vt),S++;continue}const on=i.at(L),Mn=r[ke],di=Nf(L,on,ke,Mn,a);if(0!==di){di<0&&i.updateValue(L,Mn),L--,ke--;continue}const Oi=a(S,Ke),lr=a(L,on),vi=a(S,vt);if(Object.is(vi,lr)){const _s=a(ke,Mn);Object.is(_s,Oi)?(i.swap(S,L),i.updateValue(L,Mn),ke--,L--):i.move(L,S),i.updateValue(S,vt),S++;continue}if(p??=new $a,g??=bg(i,S,L,a),db(i,p,S,vi))i.updateValue(S,vt),S++,L++;else if(g.has(vi))p.set(Oi,i.detach(S)),L--;else{const _s=i.create(S,r[S]);i.attach(S,_s),S++,L++}}for(;S<=ke;)nv(i,p,a,S,r[S]),S++}else if(null!=r){(0,f.Ht)(l);const ke=r[Symbol.iterator]();(0,f.Ht)(null);let Ke=ke.next();for(;!Ke.done&&S<=L;){const vt=i.at(S),qt=Ke.value,on=Nf(S,vt,S,qt,a);if(0!==on)on<0&&i.updateValue(S,qt),S++,Ke=ke.next();else{p??=new $a,g??=bg(i,S,L,a);const Mn=a(S,qt);if(db(i,p,S,Mn))i.updateValue(S,qt),S++,L++,Ke=ke.next();else if(g.has(Mn)){const di=a(S,vt);p.set(di,i.detach(S)),L--}else i.attach(S,i.create(S,qt)),S++,L++,Ke=ke.next()}}for(;!Ke.done;)nv(i,p,a,i.length,Ke.value),Ke=ke.next()}for(;S<=L;)i.destroy(i.detach(L--));p?.forEach(ke=>{i.destroy(ke)})}(q,i,g.trackByFn,r),q.updateIndexes(),g.hasEmptyBlock){const ke=(0,s.xbp)(),Ke=0===q.length;if(Uo(l,ke,Ke)){const vt=a+2,qt=Ff(l,vt);if(Ke){const on=Sg(p,vt),Mn=hf(qt,on,l);el(qt,Su(l,on,void 0,{dehydratedView:Mn}),0,vd(on,Mn))}else p.firstUpdatePass&&Am(qt),Jh(qt,0)}}}finally{(0,f.Ht)(r)}}function Ff(i,r){return i[r]}function Sg(i,r){return(0,s.XRZ)(i,r)}function sv(i,r,a){const l=(0,s.OAn)();if(Uo(l,(0,s.xbp)(),r)){(0,s.klJ)();t_((0,s.CpD)(),l,i,r,l[11],a)}return sv}function fb(i,r,a,l,p){qp(r,i,a,p?"class":"style",l)}function xg(i,r,a,l){const p=(0,s.OAn)(),g=p[1],S=i+27,L=g.firstCreatePass?Id(S,p,2,r,n_,(0,s.ckz)(),a,l):g.data[S];if((0,s.Qs1)(L)){const q=p[10].tracingService;if(q&&q.componentCreate){const ke=g.data[L.directiveStart+L.componentOffset];return q.componentCreate(ar(ke),()=>(rw(i,r,p,L,l),xg))}}return rw(i,r,p,L,l),xg}function rw(i,r,a,l,p){if(mm(l,a,i,r,Ju),(0,s.yoD)(l)){const g=a[1];hm(g,a,l),Ml(g,l,a)}null!=p&&qd(a,l)}function av(){const i=(0,s.klJ)(),a=Zd((0,s.Mx4)());return i.firstCreatePass&&C_(i,a),(0,s.UhH)(a)&&(0,s.krE)(),(0,s.N79)(),null!=a.classesWithoutHost&&function Oe(i){return!!(8&i.flags)}(a)&&fb(i,a,(0,s.OAn)(),a.classesWithoutHost,!0),null!=a.stylesWithoutHost&&function at(i){return!!(16&i.flags)}(a)&&fb(i,a,(0,s.OAn)(),a.stylesWithoutHost,!1),av}function Dl(i,r,a,l){return xg(i,r,a,l),av(),Dl}function cv(i,r,a,l){const p=(0,s.OAn)(),g=p[1],S=i+27,L=g.firstCreatePass?T_(S,g,2,r,a,l):g.data[S];return mm(L,p,i,r,Ju),null!=l&&qd(p,L),cv}function lv(){const r=Zd((0,s.Mx4)());return(0,s.UhH)(r)&&(0,s.krE)(),(0,s.N79)(),lv}function uv(i,r,a,l){return cv(i,r,a,l),lv(),uv}let Ju=(i,r,a,l,p)=>((0,s.m7n)(!0),ad(r[11],l,(0,s.UaU)()));function Dg(i,r,a){const l=(0,s.OAn)(),p=l[1],g=i+27,S=p.firstCreatePass?Id(g,l,8,"ng-container",n_,(0,s.ckz)(),r,a):p.data[g];if(mm(S,l,i,"ng-container",Od),(0,s.yoD)(S)){const L=l[1];hm(L,l,S),Ml(L,S,l)}return null!=a&&qd(l,S),Dg}function Cg(){const i=(0,s.klJ)(),a=Zd((0,s.Mx4)());return i.firstCreatePass&&C_(i,a),Cg}function dv(i,r,a){return Dg(i,r,a),Cg(),dv}function mb(i,r,a){const l=(0,s.OAn)(),p=l[1],g=i+27,S=p.firstCreatePass?T_(g,p,8,"ng-container",r,a):p.data[g];return mm(S,l,i,"ng-container",Od),null!=a&&qd(l,S),mb}function gb(){Zd((0,s.Mx4)());return Cg}let Od=(i,r,a,l,p)=>((0,s.m7n)(!0),Yl(r[11],""));const nx=Symbol("RENDER"),ow=Symbol("ON_DESTROY"),X=Symbol("CONTENT_ADAPTER"),ie=Symbol("GET_CONTEXT"),Re=new s.nKC("FOREIGN_CONTEXT");class ot extends ml{get head(){const r=this._lView;return r[r[1].firstChild.index]}get tail(){const r=this._lView;return r[r[1].firstChild.next.index]}}class vn{context;constructor(r){this.context=r}get(r,a){return r===Re?this.context:a}}function $n(i,r){const a=(0,s.OAn)(),l=i+27,p=a[l];p[2]|=4;const g=(0,s.klJ)();return[a,p,g.data[l],(0,s.db4)(g.consts,r)]}function Ji(){return(0,s.OAn)()}function Li(i,r,a){const l=(0,s.OAn)();if(Uo(l,(0,s.xbp)(),r)){(0,s.klJ)();Qp((0,s.CpD)(),l,i,r,l[11],a)}return Li}const Si=void 0;var Zo=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Si,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Si,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202fa","h:mm:ss\u202fa","h:mm:ss\u202fa z","h:mm:ss\u202fa zzzz"],["{1}, {0}",Si,Si,Si],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function zr(i){const r=Math.floor(Math.abs(i)),a=i.toString().replace(/^[^.]*\.?/,"").length;return 1===r&&0===a?1:5}];let ro=Object.create(null);function Aa(i){const r=function hc(i){return i.toLowerCase().replace(/_/g,"-")}(i);let a=zl(r);if(a)return a;const l=r.split("-")[0];if(a=zl(l),a)return a;if("en"===l)return Zo;throw new s.buA(701,!1)}function ou(i){return Aa(i)[Mo.PluralCase]}function zl(i){if(!(i in ro)){const r=s.laP.ng&&s.laP.ng.common&&s.laP.ng.common.locales&&s.laP.ng.common.locales[i];return void 0!==r&&(ro[i]=r),r}return ro[i]}const Mo={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};const Pd=["zero","one","two","few","many"];const jc={marker:"element"},ia={marker:"ICU"};var js;!function(i){i[i.SHIFT=2]="SHIFT",i[i.APPEND_EAGERLY=1]="APPEND_EAGERLY",i[i.COMMENT=2]="COMMENT"}(js||(js={}));let ku="en-US";function Jo(i){"string"==typeof i&&(ku=i.toLowerCase().replace(/_/g,"-"))}let as=0,Hs=0;function ed(i,r,a){const l=i[11];switch(a){case Node.COMMENT_NODE:return Yl(l,r);case Node.TEXT_NODE:return Uh(l,r);case Node.ELEMENT_NODE:return ad(l,r,null)}}let Kl=(i,r,a,l)=>((0,s.m7n)(!0),ed(i,a,l));function Ih(i,r,a,l){const p=a[11];let S,g=null;for(let L=0;L<r.length;L++){const q=r[L];if("string"==typeof q){const ke=r[++L];null===a[ke]&&(a[ke]=Kl(a,ke,q,Node.TEXT_NODE))}else if("number"==typeof q)switch(1&q){case 0:const ke=qv(q);let Ke,vt;if(null===g&&(g=ke,S=p.parentNode(l)),ke===g?(Ke=l,vt=S):(Ke=null,vt=(0,s.IvY)(a[ke])),null!==vt){const di=f_(q);Us(p,vt,a[di],Ke,!1);const lr=of(i,di);if(null!==lr&&"object"==typeof lr){const vi=Tm(lr,a);null!==vi&&Ih(i,lr.create[vi],a,a[lr.anchorIdx])}}break;case 1:const qt=q>>>1,on=r[++L],Mn=r[++L];Yd(p,(0,s.vaC)(qt,a),null,null,on,Mn,null)}else switch(q){case ia:const ke=r[++L],Ke=r[++L];if(null===a[Ke]){wo(a[Ke]=Kl(a,Ke,ke,Node.COMMENT_NODE),a)}break;case jc:const vt=r[++L],qt=r[++L];if(null===a[qt]){wo(a[qt]=Kl(a,qt,vt,Node.ELEMENT_NODE),a)}}}}function sw(i,r,a,l,p){for(let g=0;g<a.length;g++){const S=a[g],L=a[++g];if(S&p){let q="";for(let ke=g+1;ke<=g+L;ke++){const Ke=a[ke];if("string"==typeof Ke)q+=Ke;else if("number"==typeof Ke)if(Ke<0)q+=(0,s.eFE)(r[l-Ke]);else{const vt=Ke>>>2;switch(3&Ke){case 1:const qt=a[++ke],on=a[++ke],Mn=i.data[vt];if("string"==typeof Mn)Yd(r[11],r[vt],null,Mn,qt,q,on);else{const Oi=(0,s._px)();(0,s.ypq)(vt);try{t_(Mn,r,qt,q,r[11],on)}finally{(0,s.ypq)(Oi)}}break;case 0:const di=r[vt];null!==di&&sd(r[11],di,q);break;case 2:hD(i,of(i,vt),r,q);break;case 3:vb(i,of(i,vt),l,r)}}}}else{const q=a[g+1];if(q>0&&!(3&~q)){const Ke=of(i,q>>>2);r[Ke.currentCaseLViewIndex]<0&&vb(i,Ke,l,r)}}g+=L}}function vb(i,r,a,l){let p=l[r.currentCaseLViewIndex];if(null!==p){let g=as;p<0&&(p=l[r.currentCaseLViewIndex]=~p,g=-1),sw(i,l,r.update[p],a,g)}}function hD(i,r,a,l){const p=function yb(i,r){let a=i.cases.indexOf(r);if(-1===a)switch(i.type){case 1:{const l=function su(i,r){const a=ou(r)(parseInt(i,10)),l=Pd[a];return void 0!==l?l:"other"}(r,function fc(){return ku}());a=i.cases.indexOf(l),-1===a&&"other"!==l&&(a=i.cases.indexOf("other"));break}case 0:a=i.cases.indexOf("other")}return-1===a?null:a}(r,l);if(Tm(r,a)!==p&&(aw(i,r,a),a[r.currentCaseLViewIndex]=null===p?null:~p,null!==p)){const S=a[r.anchorIdx];S&&Ih(i,r.create[p],a,S),function E0(i,r,a){ry(i,r,a)}(a,r.anchorIdx,p)}}function aw(i,r,a){let l=Tm(r,a);if(null!==l){const p=r.remove[l];for(let g=0;g<p.length;g++){const S=p[g];if(S>0){const L=(0,s.vaC)(S,a);null!==L&&Pc(a[11],L)}else aw(i,of(i,~S),a)}}}const bb=/\ufffd(\d+):?\d*\ufffd/gi,mD=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,gD=/\ufffd(\d+)\ufffd/,ix=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,pv="\ufffd",BC=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,_D=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,FC=/\uE500/g;function rx(i,r,a,l,p,g){const S=(0,s.Ab)(),L=[],q=[],ke=[[]],Ke=[[]];p=function $C(i,r){if(km(r))return ox(i);{const a=i.indexOf(`:${r}${pv}`)+2+r.toString().length,l=i.search(new RegExp(`${pv}\\/\\*\\d+:${r}${pv}`));return ox(i.substring(a,l))}}(p,g);const vt=function UC(i){return i.replace(FC," ")}(p).split(_D);for(let qt=0;qt<vt.length;qt++){let on=vt[qt];if(1&qt){const Mn=47===on.charCodeAt(0),di=on.charCodeAt(Mn?1:0),Oi=27+Number.parseInt(on.substring(Mn?2:1));if(Mn)ke.shift(),Ke.shift(),(0,s.iMd)((0,s.Ab)(),!1);else{const lr=Jp(i,ke[0],Oi);ke.unshift([]),(0,s.iMd)(lr,!0);const vi={kind:2,index:Oi,children:[],type:35===di?0:1};Ke[0].push(vi),Ke.unshift(vi.children)}}else{const Mn=cw(on);for(let di=0;di<Mn.length;di++){let Oi=Mn[di];if(1&di){const lr=Oi;if("object"!=typeof lr)throw new Error(`Unable to parse ICU expression in "${p}" message.`);const _s=vD(i,S,ke[0],a,L,"",!0).index;sx(Ke[0],i,a,q,r,lr,_s)}else{const lr=Oi;""!==lr&&WC(Ke[0],i,S,ke[0],L,q,a,lr)}}}}i.data[l]={create:L,update:q,ast:Ke[0],parentTNodeIndex:r}}function vD(i,r,a,l,p,g,S){const L=Gp(i,l,1,null);let q=L<<js.SHIFT,ke=(0,s.Ab)();r===ke&&(ke=null),null===ke&&(q|=js.APPEND_EAGERLY),S&&(q|=js.COMMENT,function Uu(i){void 0===sm&&(sm=i())}(eh)),p.push(q,null===g?"":g);const Ke=$o(i,L,S?32:1,null===g?"":g,null);h_(a,Ke);const vt=Ke.index;return(0,s.iMd)(Ke,!1),null!==ke&&r!==ke&&function h0(i,r){let a=i.insertBeforeIndex;null===a?(Fl(_l,xm),a=i.insertBeforeIndex=[null,r]):((0,s.Xln)(Array.isArray(a),!0,"Expecting array here"),a.push(r))}(ke,vt),Ke}function WC(i,r,a,l,p,g,S,L){const q=L.match(bb),Ke=vD(r,a,l,S,p,q?null:L,!1).index;q&&Eb(g,L,Ke,null,0,null),i.push({kind:0,index:Ke})}function Eb(i,r,a,l,p,g){const S=i.length,L=S+1;i.push(null,null);const q=S+2,ke=r.split(bb);let Ke=0;for(let vt=0;vt<ke.length;vt++){const qt=ke[vt];if(1&vt){const on=p+parseInt(qt,10);i.push(-1-on),Ke|=wb(on)}else""!==qt&&i.push(qt)}return i.push(a<<2|(l?1:0)),l&&i.push(l,g),i[S]=Ke,i[L]=i.length-q,Ke}function hv(i){let r=0;for(let a=0;a<i.length;a++){const l=i[a];"number"==typeof l&&l<0&&r++}return r}function wb(i){return 1<<Math.min(i,31)}function ox(i){let r,g,a="",l=0,p=!1;for(;null!==(r=BC.exec(i));)p?r[0]===`${pv}/*${g}${pv}`&&(l=r.index,p=!1):(a+=i.substring(l,r.index+r[0].length),g=r[1],p=!0);return a+=i.slice(l),a}function sx(i,r,a,l,p,g,S){let L=0;const q={type:g.type,currentCaseLViewIndex:Gp(r,a,1,null),anchorIdx:S,cases:[],create:[],remove:[],update:[]};(function zC(i,r,a){i.push(wb(r.mainBinding),2,-1-r.mainBinding,a<<2|2)})(l,g,S),function Qv(i,r,a){const l=i.data[r];null===l?i.data[r]=a:l.value=a}(r,S,q);const ke=g.values,Ke=[];for(let vt=0;vt<ke.length;vt++){const qt=ke[vt],on=[];for(let di=0;di<qt.length;di++){const Oi=qt[di];if("string"!=typeof Oi){const lr=on.push(Oi)-1;qt[di]=`\x3c!--\ufffd${lr}\ufffd--\x3e`}}const Mn=[];Ke.push(Mn),L=jC(Mn,r,q,a,l,p,g.cases[vt],qt.join(""),on)|L}L&&function KC(i,r,a){i.push(r,1,a<<2|3)}(l,L,S),i.push({kind:3,index:S,cases:Ke,currentCaseLViewIndex:q.currentCaseLViewIndex})}function yD(i){const r=[],a=[];let l=1,p=0;const g=cw(i=i.replace(ix,function(S,L,q){return l="select"===q?0:1,p=parseInt(L.slice(1),10),""}));for(let S=0;S<g.length;){let L=g[S++].trim();1===l&&(L=L.replace(/\s*(?:=)?(\w+)\s*/,"$1")),L.length&&r.push(L);const q=cw(g[S++]);r.length>a.length&&a.push(q)}return{type:l,mainBinding:p,cases:r,values:a}}function cw(i){if(!i)return[];let r=0;const a=[],l=[],p=/[{}]/g;let g;for(p.lastIndex=0;g=p.exec(i);){const L=g.index;if("}"==g[0]){if(a.pop(),0==a.length){const q=i.substring(r,L);ix.test(q)?l.push(yD(q)):l.push(q),r=L+1}}else{if(0==a.length){const q=i.substring(r,L);l.push(q),r=L+1}a.push("{")}}const S=i.substring(r);return l.push(S),l}function jC(i,r,a,l,p,g,S,L,q){const ke=[],Ke=[],vt=[];a.cases.push(S),a.create.push(ke),a.remove.push(Ke),a.update.push(vt);const on=ql(Lo()).getInertBodyElement(L),Mn=Qr(on)||on;return Mn?bD(i,r,a,l,p,ke,Ke,vt,Mn,g,q,0):0}function bD(i,r,a,l,p,g,S,L,q,ke,Ke,vt){let qt=0,on=q.firstChild;for(;on;){const Mn=Gp(r,l,1,null);switch(on.nodeType){case Node.ELEMENT_NODE:const di=on,Oi=di.tagName.toLowerCase();if(ul.hasOwnProperty(Oi)){ax(g,jc,Oi,ke,Mn),r.data[Mn]=Oi;const Cl=di.attributes;for(let Kf=0;Kf<Cl.length;Kf++){const wp=Cl.item(Kf),MC=wp.name.toLowerCase(),Zk=!!wp.value.match(bb),Rk=di.namespaceURI,Nk=Rk&&li[Rk],Lk=Nk?`:${Nk}:${Oi}`:Oi;if(Zk)Bh.hasOwnProperty(MC)&&Eb(L,wp.value,Mn,wp.name,0,cx(MC,Lk));else if(Bh[MC]){let Jk=wp.value;cx(MC,Lk)?wD(g,Mn,wp.name,"unsafe:blocked"):wD(g,Mn,wp.name,Jk)}}const gc={kind:1,index:Mn,children:[]};i.push(gc),qt=bD(gc.children,r,a,l,p,g,S,L,on,Mn,Ke,vt+1)|qt,ED(S,Mn,vt)}break;case Node.TEXT_NODE:const lr=on.textContent||"",vi=lr.match(bb);ax(g,null,vi?"":lr,ke,Mn),ED(S,Mn,vt),vi&&(qt=Eb(L,lr,Mn,null,0,null)|qt),i.push({kind:0,index:Mn});break;case Node.COMMENT_NODE:const _s=gD.exec(on.textContent||"");if(_s){const gc=Ke[parseInt(_s[1],10)];ax(g,ia,"",ke,Mn),sx(i,r,l,p,ke,gc,Mn),HC(S,Mn,vt)}}on=on.nextSibling}return qt}function ED(i,r,a){0===a&&i.push(r)}function HC(i,r,a){0===a&&(i.push(~r),i.push(r))}function ax(i,r,a,l,p){null!==r&&i.push(r),i.push(a,p,function f0(i,r,a){return i|r<<17|a<<1}(0,l,p))}function wD(i,r,a,l){i.push(r<<1|1,a,l)}function cx(i,r){let a;if(r){const[l,p]=Ng(r,!1);a=(0,s.wdo)(p,i,l)}else a=(0,s.wdo)("*",i);switch(a){case s.WPN.HTML:return Jf;case s.WPN.STYLE:return Op;case s.WPN.SCRIPT:return Lg;case s.WPN.URL:return od;case s.WPN.RESOURCE_URL:return Pl;case s.WPN.ATTRIBUTE_NO_BINDING:return nm;default:return null}}const SD=/\[(\ufffd.+?\ufffd?)\]/,GC=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,XC=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,QC=/{([A-Z0-9_]+)}/g,qC=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,YC=/\/\*/,xD=/\d+\:(\d+)/;function DD(i,r,a=-1){const l=(0,s.klJ)(),p=(0,s.OAn)(),g=27+i,S=(0,s.db4)(l.consts,r),L=(0,s.Ab)();if(l.firstCreatePass&&rx(l,null===L?0:L.index,p,g,S,a),2===l.type){p[15][2]|=32}else p[2]|=32;const q=l.data[g],Ke=fd(l,L===p[5]?null:L,p),vt=L&&8&L.type?p[L.index]:null;(function ny(i,r,a,l){yl(i,r,a,l)})(p,g,L,a),function _b(i,r,a,l){const p=i[11];for(let g=0;g<r.length;g++){const S=r[g++],L=r[g],q=(S&js.COMMENT)===js.COMMENT,ke=(S&js.APPEND_EAGERLY)===js.APPEND_EAGERLY,Ke=S>>>js.SHIFT;let vt=i[Ke],qt=!1;null===vt&&(vt=i[Ke]=Kl(i,Ke,L,q?Node.COMMENT_NODE:Node.TEXT_NODE),qt=(0,s.SX7)()),ke&&null!==a&&qt&&Us(p,a,vt,l,!1)}}(p,q.create,Ke,vt),(0,s.xyx)(!0)}function CD(){(0,s.xyx)(!1)}function Iu(i,r,a){const l=(0,s.OAn)(),p=(0,s.klJ)(),g=(0,s.Mx4)();return dx(p,l,l[11],g,i,r,a),Iu}function ux(i,r,a){const l=(0,s.OAn)(),p=(0,s.klJ)(),g=(0,s.Mx4)();return(3&g.type||a)&&Vm(g,p,l,a,l[11],i,r,Ua(g,l,r)),ux}function dx(i,r,a,l,p,g,S){let L=!0,q=null;if((3&l.type||S)&&(q??=Ua(l,r,g),Vm(l,i,r,S,a,p,g,q)&&(L=!1)),L){const ke=l.outputs?.[p],Ke=l.hostDirectiveOutputs?.[p];if(Ke&&Ke.length)for(let vt=0;vt<Ke.length;vt+=2){const qt=Ke[vt],on=Ke[vt+1];q??=Ua(l,r,g),gf(l,r,qt,on,p,q)}if(ke&&ke.length)for(const vt of ke)q??=Ua(l,r,g),gf(l,r,vt,p,p,q)}}function ID(i=1){return(0,s.jvu)(i)}function MD(i,r){let a=null;const l=function Bb(i){const r=i.attrs;if(null!=r){const a=r.indexOf(5);if(!(1&a))return r[a+1]}return null}(i);for(let p=0;p<r.length;p++){const g=r[p];if("*"!==g){if(null===l?pd(i,g,!0):Qa(l,g))return p}else a=p}return a}function AD(i){const r=(0,s.OAn)()[15][5];if(!r.projection){const a=i?i.length:1,l=r.projection=(0,s.WfI)(a,null),p=l.slice();let g=r.child;for(;null!==g;){if(128!==g.type){const S=i?MD(g,i):0;null!==S&&(p[S]?p[S].projectionNext=g:l[S]=g,p[S]=g)}g=g.next}}}function px(i,r=0,a,l,p,g){const S=(0,s.OAn)(),L=(0,s.klJ)(),q=l?i+1:null;null!==q&&ph(S,L,q,l,p,g,null,a);const ke=Ed(L,27+i,16,null,a||null);null===ke.projection&&(ke.projection=r),(0,s.Pfq)();const vt=!S[6]||(0,s.KtD)();null===S[15][5].projection[ke.projection]&&null!==q?function tT(i,r,a){const l=27+a,p=r.data[l],g=i[l],S=op(g,p.tView.ssrId),L=Su(i,p,void 0,{dehydratedView:S});el(g,L,0,vd(p,S))}(S,L,q):vt&&!le(ke)&&function Yg(i,r,a){Ss(r[11],0,r,a,zd(i,a,r),md(a.parent||r[5],a,r))}(L,S,ke)}function hx(i,r,a,l){return V0(i,r,a,l),hx}function fx(i,r,a){return vy(i,r,a),fx}function Tg(i){const r=(0,s.OAn)(),a=(0,s.klJ)(),l=(0,s.w7Z)();(0,s.GA0)(l+1);const p=O_(a,l);if(i.dirty&&(0,s.vOT)(r)===!(2&~p.metadata.flags)){if(null===p.matches)i.reset([]);else{const g=yy(r,l);i.reset(g,is),i.notifyOnChanges()}return!0}return!1}function OD(){return _y((0,s.OAn)(),(0,s.w7Z)())}function mx(i,r,a,l,p){return j0(r,V0(i,a,l,p)),mx}function gx(i,r,a,l){return j0(i,vy(r,a,l)),gx}function yp(i=1){(0,s.GA0)((0,s.w7Z)()+i)}function PD(i){const r=(0,s.VPL)();return(0,s.Hh6)(r,27+i)}function uw(i,r){return i<<17|r<<2}function Vf(i){return i>>17&32767}function _x(i){return 2|i}function $f(i){return(131068&i)>>2}function vx(i,r){return-131069&i|r<<2}function yx(i){return 1|i}function rT(i,r,a,l,p,g){let S=g?r.classBindings:r.styleBindings,L=Vf(S),q=$f(S);i[l]=a;let Ke,ke=!1;if(Array.isArray(a)){const vt=a;Ke=vt[1],(null===Ke||(0,s.FRF)(vt,Ke)>0)&&(ke=!0)}else Ke=a;if(p)if(0!==q){const qt=Vf(i[L+1]);i[l+1]=uw(qt,L),0!==qt&&(i[qt+1]=vx(i[qt+1],l)),i[L+1]=function iT(i,r){return 131071&i|r<<17}(i[L+1],l)}else i[l+1]=uw(L,0),0!==L&&(i[L+1]=vx(i[L+1],l)),L=l;else i[l+1]=uw(q,0),0===L?L=l:i[q+1]=vx(i[q+1],l),q=l;ke&&(i[l+1]=_x(i[l+1])),ND(i,Ke,l,!0),ND(i,Ke,l,!1),function oT(i,r,a,l,p){const g=p?i.residualClasses:i.residualStyles;null!=g&&"string"==typeof r&&(0,s.FRF)(g,r)>=0&&(a[l+1]=yx(a[l+1]))}(r,Ke,i,l,g),S=uw(L,q),g?r.classBindings=S:r.styleBindings=S}function ND(i,r,a,l){const p=i[a+1],g=null===r;let S=l?Vf(p):$f(p),L=!1;for(;0!==S&&(!1===L||g);){const q=i[S],ke=i[S+1];sT(q,r)&&(L=!0,i[S+1]=l?yx(ke):_x(ke)),S=l?Vf(ke):$f(ke)}L&&(i[a+1]=l?_x(p):yx(p))}function sT(i,r){return null===i||null==r||(Array.isArray(i)?i[1]:i)===r||!(!Array.isArray(i)||"string"!=typeof r)&&(0,s.FRF)(i,r)>=0}const kc={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function LD(i){return i.substring(kc.key,kc.keyEnd)}function aT(i){return i.substring(kc.value,kc.valueEnd)}function dw(i,r){const a=kc.textEnd;return a===r?-1:(r=kc.keyEnd=function wx(i,r,a){for(;r<a&&i.charCodeAt(r)>32;)r++;return r}(i,kc.key=r,a),fv(i,r,a))}function bx(i,r){const a=kc.textEnd;let l=kc.key=fv(i,r,a);return a===l?-1:(l=kc.keyEnd=function lT(i,r,a){let l;for(;r<a&&(45===(l=i.charCodeAt(r))||95===l||(-33&l)>=65&&(-33&l)<=90||l>=48&&l<=57);)r++;return r}(i,l,a),l=BD(i,l,a,58),l=kc.value=fv(i,l,a),l=kc.valueEnd=function uT(i,r,a){let l=-1,p=-1,g=-1,S=r,L=S;for(;S<a;){const q=i.charCodeAt(S++);if(59===q)return L;34===q||39===q?L=S=FD(i,q,S,a):r===S-4&&85===g&&82===p&&76===l&&40===q?L=S=FD(i,41,S,a):q>32&&(L=S),g=p,p=l,l=-33&q}return L}(i,l,a),BD(i,l,a,59))}function Ex(i){kc.key=0,kc.keyEnd=0,kc.value=0,kc.valueEnd=0,kc.textEnd=i.length}function fv(i,r,a){for(;r<a&&i.charCodeAt(r)<=32;)r++;return r}function BD(i,r,a,l){return(r=fv(i,r,a))<a&&r++,r}function FD(i,r,a,l){let p=-1,g=a;for(;g<l;){const S=i.charCodeAt(g++);if(S==r&&92!==p)return g;p=92==S&&92===p?0:S}throw new Error}function pw(i,r,a){return VD(i,r,a,!1),pw}function hw(i,r){return VD(i,r,null,!0),hw}function dT(i,r){for(let a=function cT(i){return Ex(i),bx(i,fv(i,0,kc.textEnd))}(r);a>=0;a=bx(r,a))Sx(i,LD(r),aT(r))}function WD(i){xb(jD,pT,i,!0)}function pT(i,r){for(let a=function kg(i){return Ex(i),dw(i,fv(i,0,kc.textEnd))}(r);a>=0;a=dw(r,a))(0,s.ezK)(i,LD(r),!0)}function VD(i,r,a,l){const p=(0,s.OAn)(),g=(0,s.klJ)(),S=(0,s.b$O)(2);if(g.firstUpdatePass&&hT(g,i,S,l),r!==Vo&&Uo(p,S,r)){HD(g,g.data[(0,s._px)()],p,p[11],i,p[S+1]=function Db(i,r){return null==i||""===i||("string"==typeof r?i+=r:"object"==typeof i&&(i=(0,s.AsM)(sc(i)))),i}(r,a),l,S)}}function xb(i,r,a,l){const p=(0,s.klJ)(),g=(0,s.b$O)(2);p.firstUpdatePass&&hT(p,null,g,l);const S=(0,s.OAn)();if(a!==Vo&&Uo(S,g,a)){const L=p.data[(0,s._px)()];if(gw(L,l)&&!$D(p,g)){let q=l?L.classesWithoutHost:L.stylesWithoutHost;null!==q&&(a=(0,s.n$e)(q,a||"")),fb(p,L,S,a,l)}else!function _T(i,r,a,l,p,g,S,L){p===Vo&&(p=s.Mlv);let q=0,ke=0,Ke=0<p.length?p[0]:null,vt=0<g.length?g[0]:null;for(;null!==Ke||null!==vt;){const qt=q<p.length?p[q+1]:void 0,on=ke<g.length?g[ke+1]:void 0;let di,Mn=null;Ke===vt?(q+=2,ke+=2,qt!==on&&(Mn=vt,di=on)):null===vt||null!==Ke&&Ke<vt?(q+=2,Mn=Ke):(ke+=2,Mn=vt,di=on),null!==Mn&&HD(i,r,a,l,Mn,di,S,L),Ke=q<p.length?p[q]:null,vt=ke<g.length?g[ke]:null}}(p,L,S,S[11],S[g+1],S[g+1]=function gk(i,r,a){if(null==a||""===a)return s.Mlv;const l=[],p=sc(a);if(Array.isArray(p))for(let g=0;g<p.length;g++)i(l,p[g],!0);else if(p instanceof Set)for(const g of p)i(l,g,!0);else if("object"==typeof p)for(const g in p)Object.hasOwn(p,g)&&i(l,g,p[g]);else"string"==typeof p&&r(l,p);return l}(i,r,a),l,g)}}function $D(i,r){return r>=i.expandoStartIndex}function hT(i,r,a,l){const p=i.data;if(null===p[a+1]){const g=p[(0,s._px)()],S=$D(i,a);gw(g,l)&&null===r&&!S&&(r=!1),r=function fT(i,r,a,l){const p=(0,s.MT)(i);let g=l?r.residualClasses:r.residualStyles;if(null===p)0===(l?r.classBindings:r.styleBindings)&&(a=fw(null,i,r,a,l),a=mw(a,r.attrs,l),g=null);else{const S=r.directiveStylingLast;if(-1===S||i[S]!==p)if(a=fw(p,i,r,a,l),null===g){let q=function mk(i,r,a){const l=a?r.classBindings:r.styleBindings;if(0!==$f(l))return i[Vf(l)]}(i,r,l);void 0!==q&&Array.isArray(q)&&(q=fw(null,i,r,q[1],l),q=mw(q,r.attrs,l),function mT(i,r,a,l){const p=a?r.classBindings:r.styleBindings;i[Vf(p)]=l}(i,r,l,q))}else g=function gT(i,r,a){let l;const p=r.directiveEnd;for(let g=1+r.directiveStylingLast;g<p;g++){l=mw(l,i[g].hostAttrs,a)}return mw(l,r.attrs,a)}(i,r,l)}return void 0!==g&&(l?r.residualClasses=g:r.residualStyles=g),a}(p,g,r,l),rT(p,g,r,a,S,l)}}function fw(i,r,a,l,p){let g=null;const S=a.directiveEnd;let L=a.directiveStylingLast;for(-1===L?L=a.directiveStart:L++;L<S&&(g=r[L],l=mw(l,g.hostAttrs,p),g!==i);)L++;return null!==i&&(a.directiveStylingLast=L),l}function mw(i,r,a){const l=a?1:2;let p=-1;if(null!==r)for(let g=0;g<r.length;g++){const S=r[g];"number"==typeof S?p=S:p===l&&(Array.isArray(i)||(i=void 0===i?[]:["",i]),(0,s.ezK)(i,S,!!a||r[++g]))}return void 0===i?null:i}function Sx(i,r,a){(0,s.ezK)(i,r,sc(a))}function jD(i,r,a){const l=String(r);""!==l&&!l.includes(" ")&&(0,s.ezK)(i,l,a)}function HD(i,r,a,l,p,g,S,L){if(!(3&r.type))return;const q=i.data,ke=q[L+1],Ke=function RD(i){return!(1&~i)}(ke)?zD(q,r,a,p,$f(ke),S):void 0;if(!xx(Ke)){xx(g)||function nT(i){return!(2&~i)}(ke)&&(g=zD(q,null,a,p,L,S));!function Xd(i,r,a,l,p){if(r)p?i.addClass(a,l):i.removeClass(a,l);else{let g=-1===l.indexOf("-")?void 0:Np.DashCase;null==p?i.removeStyle(a,l,g):("string"==typeof p&&p.endsWith("!important")&&(p=p.slice(0,-10),g|=Np.Important),i.setStyle(a,l,p,g))}}(l,S,(0,s.vaC)((0,s._px)(),a),p,g)}}function zD(i,r,a,l,p,g){const S=null===r;let L;for(;p>0;){const q=i[p],ke=Array.isArray(q),Ke=ke?q[1]:q,vt=null===Ke;let qt=a[p+1];qt===Vo&&(qt=vt?s.Mlv:void 0);let on=vt?(0,s.K7h)(qt,l):Ke===l?qt:void 0;if(ke&&!xx(on)&&(on=(0,s.K7h)(q,l)),xx(on)&&(L=on,S))return L;const Mn=i[p+1];p=S?Vf(Mn):$f(Mn)}if(null!==r){let q=g?r.residualClasses:r.residualStyles;null!=q&&(L=(0,s.K7h)(q,l))}return L}function xx(i){return void 0!==i}function gw(i,r){return!!(i.flags&(r?8:16))}function KD(i,r=""){const a=(0,s.OAn)(),l=(0,s.klJ)(),p=i+27,g=l.firstCreatePass?Ed(l,p,1,r,null):l.data[p],S=Dx(l,a,g,r);a[p]=S,(0,s.SX7)()&&eu(l,a,S,g),(0,s.iMd)(g,!1)}let Dx=(i,r,a,l)=>((0,s.m7n)(!0),Uh(r[11],l));function GD(i,r){let a=!1,l=(0,s.c$7)();for(let g=1;g<r.length;g+=2)a=Uo(i,l++,r[g])||a;if((0,s.Kw3)(l),!a)return Vo;let p=r[0];for(let g=1;g<r.length;g+=2)p+=(0,s.eFE)(r[g])+(g+1!==r.length?r[g+1]:"");return p}function Cx(i,r,a,l=""){return Uo(i,(0,s.xbp)(),a)?r+(0,s.eFE)(a)+l:Vo}function Tx(i,r,a,l,p,g=""){const L=Ku(i,(0,s.c$7)(),a,p);return(0,s.b$O)(2),L?r+(0,s.eFE)(a)+l+(0,s.eFE)(p)+g:Vo}function XD(i,r,a,l,p,g,S,L=""){const ke=eo(i,(0,s.c$7)(),a,p,S);return(0,s.b$O)(3),ke?r+(0,s.eFE)(a)+l+(0,s.eFE)(p)+g+(0,s.eFE)(S)+L:Vo}function QD(i,r,a,l,p,g,S,L,q,ke=""){const vt=nl(i,(0,s.c$7)(),a,p,S,q);return(0,s.b$O)(4),vt?r+(0,s.eFE)(a)+l+(0,s.eFE)(p)+g+(0,s.eFE)(S)+L+(0,s.eFE)(q)+ke:Vo}function qD(i,r,a,l,p,g,S,L,q,ke,Ke,vt=""){const qt=(0,s.c$7)();let on=nl(i,qt,a,p,S,q);return on=Uo(i,qt+4,Ke)||on,(0,s.b$O)(5),on?r+(0,s.eFE)(a)+l+(0,s.eFE)(p)+g+(0,s.eFE)(S)+L+(0,s.eFE)(q)+ke+(0,s.eFE)(Ke)+vt:Vo}function YD(i,r,a,l,p,g,S,L,q,ke,Ke,vt,qt,on=""){const Mn=(0,s.c$7)();let di=nl(i,Mn,a,p,S,q);return di=Ku(i,Mn+4,Ke,qt)||di,(0,s.b$O)(6),di?r+(0,s.eFE)(a)+l+(0,s.eFE)(p)+g+(0,s.eFE)(S)+L+(0,s.eFE)(q)+ke+(0,s.eFE)(Ke)+vt+(0,s.eFE)(qt)+on:Vo}function yT(i,r,a,l,p,g,S,L,q,ke,Ke,vt,qt,on,Mn,di=""){const Oi=(0,s.c$7)();let lr=nl(i,Oi,a,p,S,q);return lr=eo(i,Oi+4,Ke,qt,Mn)||lr,(0,s.b$O)(7),lr?r+(0,s.eFE)(a)+l+(0,s.eFE)(p)+g+(0,s.eFE)(S)+L+(0,s.eFE)(q)+ke+(0,s.eFE)(Ke)+vt+(0,s.eFE)(qt)+on+(0,s.eFE)(Mn)+di:Vo}function ZD(i,r,a,l,p,g,S,L,q,ke,Ke,vt,qt,on,Mn,di,Oi,lr=""){const vi=(0,s.c$7)();let _s=nl(i,vi,a,p,S,q);return _s=nl(i,vi+4,Ke,qt,Mn,Oi)||_s,(0,s.b$O)(8),_s?r+(0,s.eFE)(a)+l+(0,s.eFE)(p)+g+(0,s.eFE)(S)+L+(0,s.eFE)(q)+ke+(0,s.eFE)(Ke)+vt+(0,s.eFE)(qt)+on+(0,s.eFE)(Mn)+di+(0,s.eFE)(Oi)+lr:Vo}function kx(i){return _w("",i),kx}function _w(i,r,a){const l=(0,s.OAn)(),p=Cx(l,i,r,a);return p!==Vo&&jf(l,(0,s._px)(),p),_w}function jf(i,r,a){const l=(0,s.vaC)(r,i);sd(i[11],l,a)}const sC={};function Ix(i){qa("NgLet");const r=(0,s.klJ)(),a=(0,s.OAn)(),l=i+27,p=Ed(r,l,128,null,null);return(0,s.iMd)(p,!1),(0,s.M_e)(r,a,l,sC),Ix}function xT(i){const r=(0,s.klJ)(),a=(0,s.OAn)(),l=(0,s._px)();return(0,s.M_e)(r,a,l,i),i}function aC(i){const r=(0,s.VPL)(),a=(0,s.Hh6)(r,27+i);if(a===sC)throw new s.buA(314,!1);return a}function cC(i,r,a){const l=(0,s.klJ)();l.firstCreatePass&&Mx(r,l.data,l.blueprint,(0,s.JlV)(i),a)}function Mx(i,r,a,l,p){if(i=(0,s.nl4)(i),Array.isArray(i))for(let g=0;g<i.length;g++)Mx(i[g],r,a,l,p);else{const g=(0,s.klJ)(),S=(0,s.OAn)(),L=(0,s.Mx4)();let q=(0,s.Y3W)(i)?i:(0,s.nl4)(i.provide);const ke=(0,s.Rc9)(i),Ke=1048575&L.providerIndexes,vt=L.directiveStart,qt=L.providerIndexes>>20;if((0,s.Y3W)(i)||!i.multi){const on=new je(ke,p,_a,null),Mn=mv(q,r,p?Ke:Ke+qt,vt);-1===Mn?(to(Mr(L,S),g,q),Cb(g,i,r.length),r.push(q),L.directiveStart++,L.directiveEnd++,p&&(L.providerIndexes+=1048576),a.push(on),S.push(on)):(a[Mn]=on,S[Mn]=on)}else{const on=mv(q,r,Ke+qt,vt),Mn=mv(q,r,Ke,Ke+qt),di=on>=0&&a[on],Oi=Mn>=0&&a[Mn];if(p&&!Oi||!p&&!di){to(Mr(L,S),g,q);const lr=function AT(i,r,a,l,p,g){const S=new je(i,a,_a,null);return S.multi=[],S.index=r,S.componentProviders=0,lC(S,p,l&&!a),S}(p?vw:Mh,a.length,p,l,ke);!p&&Oi&&(a[Mn].providerFactory=lr),Cb(g,i,r.length,0),r.push(q),L.directiveStart++,L.directiveEnd++,p&&(L.providerIndexes+=1048576),a.push(lr),S.push(lr)}else{Cb(g,i,on>-1?on:Mn,lC(a[p?Mn:on],ke,!p&&l))}!p&&l&&Oi&&a[Mn].componentProviders++}}}function Cb(i,r,a,l){const p=(0,s.Y3W)(r),g=(0,s.MME)(r);if(p||g){const q=(g?(0,s.nl4)(r.useClass):r).prototype.ngOnDestroy;if(q){const ke=i.destroyHooks||(i.destroyHooks=[]);if(!p&&r.multi){const Ke=ke.indexOf(a);-1===Ke?ke.push(a,[l,q]):ke[Ke+1].push(l,q)}else ke.push(a,q)}}}function lC(i,r,a){return a&&i.componentProviders++,i.multi.push(r)-1}function mv(i,r,a,l){for(let p=a;p<l;p++)if(r[p]===i)return p;return-1}function Mh(i,r,a,l,p){return yw(this.multi,[])}function vw(i,r,a,l,p){const g=this.multi;let S;if(this.providerFactory){const L=this.providerFactory.componentProviders,q=zt(l,l[1],this.providerFactory.index,p);S=q.slice(0,L),yw(g,S);for(let ke=L;ke<q.length;ke++)S.push(q[ke])}else S=[],yw(g,S);return S}function yw(i,r){for(let a=0;a<i.length;a++){const l=i[a];r.push(l())}return r}function Ah(i,r){return a=>{a.providersResolver=(l,p)=>cC(l,p?p(i):i,!1),r&&(a.viewProvidersResolver=(l,p)=>cC(l,p?p(r):r,!0))}}function bw(i){if("function"==typeof i)return i;const r=(0,s.Bqz)(i);return r.some(s.Jzi)?()=>r.map(s.nl4).map(Mg):r.map(Mg)}function Mg(i){return ff(i)?i.ngModule:i}let mc=()=>null,Ax=()=>{},Ew=!1;function Tb(i,r){const a=i[r];return a===Vo?void 0:a}function hC(i,r,a,l,p,g){const S=r+a;return Uo(i,S,p)?Vl(i,S+1,g?l.call(g,p):l(p)):Tb(i,S+1)}function fC(i,r,a,l,p,g,S){const L=r+a;return Ku(i,L,p,g)?Vl(i,L+2,S?l.call(S,p,g):l(p,g)):Tb(i,L+2)}function ww(i,r,a,l,p,g,S,L){const q=r+a;return eo(i,q,p,g,S)?Vl(i,q+3,L?l.call(L,p,g,S):l(p,g,S)):Tb(i,q+3)}function mC(i,r,a,l,p,g,S,L,q){const ke=r+a;return nl(i,ke,p,g,S,L)?Vl(i,ke+4,q?l.call(q,p,g,S,L):l(p,g,S,L)):Tb(i,ke+4)}function gC(i,r,a,l,p,g){let S=r+a,L=!1;for(let q=0;q<p.length;q++)Uo(i,S++,p[q])&&(L=!0);return L?Vl(i,S,l.apply(g,p)):Tb(i,S)}function Ox(i,r){const a=(0,s.klJ)();let l;const p=i+27;a.firstCreatePass?(l=function jT(i,r){if(r)for(let a=r.length-1;a>=0;a--){const l=r[a];if(i===l.name)return l}}(r,a.pipeRegistry),a.data[p]=l,l.onDestroy&&(a.destroyHooks??=[]).push(p,l.onDestroy)):l=a.data[p];const g=l.factory||(l.factory=(0,s.wGu)(l.type,!0));const L=(0,s.a2B)(_a);try{const q=pr(!1),ke=g();return pr(q),(0,s.M_e)(a,(0,s.OAn)(),p,ke),ke}finally{(0,s.a2B)(L)}}function Sw(i,r,a){const l=i+27,p=(0,s.OAn)(),g=(0,s.Hh6)(p,l);return kb(p,l)?hC(p,(0,s.gxQ)(),r,g.transform,a,g):g.transform(a)}function kb(i,r){return i[1].data[r].pure}function yC(i,r){return nf(i,r)}function xw(i,r,a,l,p){const g=p[1];if(g!==l.tView)for(let S=27;S<g.bindingStartIndex;S++){const L=p[S];if((0,s.A0l)(L)){(0,s.q$2)(L[0])&&xw(i,r,a,l,L[0]);for(let q=10;q<L.length;q++)xw(i,r,a,l,L[q])}else(0,s.q$2)(L)&&xw(i,r,a,l,L)}else(function QT(i,r,a,l,p){const g=p[8];let S=p[0];const L=p[3],q=p[5],ke=p[9].get(s.SKi,null),Ke=()=>{if(l.encapsulation===Js.ShadowDom||l.encapsulation===Js.ExperimentalIsolatedShadowDom){const Mn=S.cloneNode(!1);S.replaceWith(Mn),S=Mn}const vt=Av(a),qt=Ul(L,vt,g,Zg(a),S,q,null,null,null,null,null);(function xC(i,r,a,l){for(let p=27;p<i[1].bindingStartIndex;p++){const g=i[p];if(((0,s.q$2)(g)||(0,s.A0l)(g))&&g[4]===r){g[4]=a;break}}i[12]===r&&(i[12]=a),i[13]===r&&(i[13]=a),a[4]=r[4],r[4]=null,i[l]=a})(L,p,qt,q.index),Jc(p[1],p),pf(p);const on=p[10].rendererFactory;(function SC(i,r){i.componentReplaced?.(r.id)})(on,l),qt[11]=on.createRenderer(S,a),jp(p[1],p),function qT(i){if(null!==i.projection){for(const r of i.projection)ht(r)&&(r.projectionNext=null,r.flags&=-3);i.projection=null}}(q),Ba(vt,qt,g),$v(vt,qt,vt.template,g)};null===ke?Ib(i,r,Ke):ke.run(()=>Ib(i,r,Ke))})(i,r,a,l,p)}function Ib(i,r,a){try{a()}catch(l){const p=l;if(null!==r&&p.message){const g=p.message+(p.stack?"\n"+p.stack:"");i?.hot?.send?.("angular:invalidate",{id:r,message:g,error:!0})}throw l}}const Hf={\u0275\u0275animateEnter:Zu,\u0275\u0275animateEnterListener:function ev(i){if(qa("NgAnimateEnter"),!yu)return ev;const r=(0,s.OAn)();if(am(r))return ev;const a=(0,s.Mx4)();return xc(Nl(r),a,()=>function JE(i,r,a){const l=(0,s.d31)(r,i);a.call(i[8],{target:l,animationComplete:Cv})}(r,a,i)),um(r[9]),Bl(r[9],Nl(r)),ev},\u0275\u0275animateLeave:function Rf(i){if(qa("NgAnimateLeave"),!yu)return Rf;const r=(0,s.OAn)();if(am(r))return Rf;const l=(0,s.Mx4)(),p=r[9].get(s.SKi);return xc(To(r),l,()=>function sD(i,r,a,l){const{promise:p,resolve:g}=(0,s.nJn)(),S=(0,s.d31)(r,i),L=i[11];bu.add(i[19]),(To(i).get(r.index).resolvers??=[]).push(g);const q=Ws(a);return q&&q.length>0?function aD(i,r,a,l,p,g){!function No(i,r){if(!yu)return;const a=Lp.get(i);if(a&&a.classList.length>0&&function Wu(i,r){for(const a of r)if(i.classList.contains(a))return!0;return!1}(i,a.classList))for(const l of a.classList)r.removeClass(i,l);Gg(i)}(i,p);const S=[],L=To(a).get(r.index)?.resolvers;let q,ke=!1;const Ke=vt=>{if((Yo(vt)===i||"animation-fallback"===vt.type)&&("animation-fallback"===vt.type||Pn(vt,i))){if(ke=!0,q&&clearTimeout(q),"animation-fallback"!==vt.type&&vt.stopPropagation(),$d.delete(i),ta(r,i),Array.isArray(r.projection))for(const on of l)p.removeClass(i,on);Jl(L,S),dr(a,r)}};g.runOutsideAngular(()=>{S.push(p.listen(i,"animationend",Ke)),S.push(p.listen(i,"transitionend",Ke))}),Rl(r,i);for(const vt of l)p.addClass(i,vt);g.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(ke)return;Up(i,$d,yu);const vt=$d.get(i);vt?(q=setTimeout(()=>{Ke(new CustomEvent("animation-fallback"))},vt.duration+50),S.push(()=>clearTimeout(q))):(ta(r,i),Jl(L,S),dr(a,r))})})}(S,r,i,q,L,l):g(),{promise:p,resolve:g}}(r,l,i,p)),um(r[9]),Rf},\u0275\u0275animateLeaveListener:function tv(i){if(qa("NgAnimateLeave"),!yu)return tv;const r=(0,s.OAn)(),a=(0,s.Mx4)();bu.add(r[19]);const l=r[9].get(s.SKi),p=r[9].get(Kg);return xc(To(r),a,()=>function cD(i,r,a,l,p){const{promise:g,resolve:S}=(0,s.nJn)(),L=(0,s.d31)(r,i),q=[],ke=i[11],Ke=am(i);(To(i).get(r.index).resolvers??=[]).push(S);const vt=To(i).get(r.index)?.resolvers;if(Ke)Hh(i,r,L,vt,q);else{const qt=setTimeout(()=>Hh(i,r,L,vt,q),p),on={target:L,animationComplete:()=>{Hh(i,r,L,vt,q),clearTimeout(qt)}};Rl(r,L),l.runOutsideAngular(()=>{q.push(ke.listen(L,"animationend",()=>{Hh(i,r,L,vt,q),clearTimeout(qt)},{once:!0}))}),a.call(i[8],on)}return{promise:g,resolve:S}}(r,a,i,l,p)),um(r[9]),tv},\u0275\u0275attribute:Pf,\u0275\u0275defineComponent:Xu,\u0275\u0275defineDirective:xy,\u0275\u0275defineInjectable:s.jDH,\u0275\u0275defineInjector:s.G2t,\u0275\u0275defineNgModule:X0,\u0275\u0275defineService:Nn,\u0275\u0275definePipe:Dy,\u0275\u0275directiveInject:_a,\u0275\u0275getInheritedFactory:Hi,\u0275\u0275inject:s.KVO,\u0275\u0275injectAttribute:vo,\u0275\u0275invalidFactory:$s,\u0275\u0275invalidFactoryDep:s.dmw,\u0275\u0275templateRefExtractor:yC,\u0275\u0275resetView:s.Njj,\u0275\u0275HostDirectivesFeature:My,\u0275\u0275NgOnChangesFeature:Jt,\u0275\u0275ControlFeature:Iy,\u0275\u0275ProvidersFeature:Ah,\u0275\u0275InheritDefinitionFeature:F_,\u0275\u0275ExternalStylesFeature:function Ig(i){return r=>{i.length<1||(r.getExternalStyles=a=>i.map(p=>p+"?ngcomp"+(a?"="+encodeURIComponent(a):"")+"&e="+r.encapsulation))}},\u0275\u0275nextContext:ID,\u0275\u0275namespaceHTML:s.joV,\u0275\u0275namespaceMathML:s.By9,\u0275\u0275namespaceSVG:s.qSk,\u0275\u0275enableBindings:s.cSN,\u0275\u0275disableBindings:s.fuf,\u0275\u0275elementStart:xg,\u0275\u0275elementEnd:av,\u0275\u0275element:Dl,\u0275\u0275foreignComponent:function Qt(i,r,a){const l=(0,s.OAn)(),p=(0,s.klJ)(),g=i+27,S=(0,s.db4)(p.consts,r);let L;p.firstCreatePass?(L=Ed(p,g,4,null,null),(0,s.Pfq)()):(L=p.data[g],(0,s.iMd)(L,!1));const q=l[11],ke=q.createComment("");eu(p,l,ke,L),wo(ke,l);const Ke=c_(ke,l,ke,L);l[g]=Ke,Xp(l,Ke);const vt=function Ut(i,r){const a=i[3],l=i[5],p=a[11],g=qh(3,l,null,3,0,null,null,null,null,null,null),S=g.data[27]=Dm(0,null,2,27,"",null),L=g.data[28]=Dm(0,null,2,28,"",null);g.firstChild=S,S.next=L,L.prev=S;const q=Ul(a,g,null,0,null,null,null,p,null,null,null),ke=q[S.index]=p.createComment(""),Ke=q[L.index]=p.createComment("");q[2]&=-5;const vt=new ot(q);if(el(i,q,r),!ke.parentNode){const qt=document.createDocumentFragment();qt.appendChild(ke),qt.appendChild(Ke),q[L.index+1]=qt}return vt}(Ke,0),qt=uo(L,l,Re,8),[on,Mn]=S[nx](a,qt??void 0),di=vt.tail,Oi=di.parentNode;if(Oi)for(let lr=0;lr<on.length;lr++)Us(q,Oi,on[lr],di,!1);Mn&&vt.onDestroy(Mn)},\u0275\u0275foreignContent:function ei(i,r){const[a,l,p,g]=$n(i,r),S=g[X],L=g[ow],q=g[ie];return S(()=>{const Ke=q?{embeddedViewInjector:new vn(q())}:void 0,vt=Su(a,p,null,Ke);el(l,vt,l.length-10,!1),L(()=>{if(!(0,s.EPY)(vt)){const on=l.indexOf(vt,10);Jh(l,on-10)}});const qt=vt[1];return yd(qt,vt,qt.firstChild,[])})},\u0275\u0275foreignContentFn:function qn(i,r){const[a,l,p,g]=$n(i,r),S=g[X],L=g[ow],q=g[ie];return(...ke)=>S(()=>{const vt=q?{embeddedViewInjector:new vn(q())}:void 0,qt=Su(a,p,ke,vt);el(l,qt,l.length-10,!1),L(()=>{if(!(0,s.EPY)(qt)){const Mn=l.indexOf(qt,10);Jh(l,Mn-10)}});const on=qt[1];return yd(on,qt,on.firstChild,[])})},\u0275\u0275elementContainerStart:Dg,\u0275\u0275elementContainerEnd:Cg,\u0275\u0275domElement:uv,\u0275\u0275domElementStart:cv,\u0275\u0275domElementEnd:lv,\u0275\u0275domElementContainer:function Ch(i,r,a){return mb(i,r,a),gb(),Ch},\u0275\u0275domElementContainerStart:mb,\u0275\u0275domElementContainerEnd:gb,\u0275\u0275domTemplate:function sE(i,r,a,l,p,g,S,L){const q=(0,s.OAn)(),ke=(0,s.klJ)();return ph(q,ke,i,r,a,l,p,(0,s.db4)(ke.consts,g),void 0,S,L),sE},\u0275\u0275domListener:ux,\u0275\u0275elementContainer:dv,\u0275\u0275pureFunction0:function RT(i,r){const a=(0,s.gxQ)()+i,l=(0,s.OAn)();return l[a]===Vo?Vl(l,a,r()):lp(l,a)},\u0275\u0275pureFunction1:function NT(i,r,a){return hC((0,s.OAn)(),(0,s.gxQ)(),i,r,a)},\u0275\u0275pureFunction2:function LT(i,r,a,l){return fC((0,s.OAn)(),(0,s.gxQ)(),i,r,a,l)},\u0275\u0275pureFunction3:function BT(i,r,a,l,p){return ww((0,s.OAn)(),(0,s.gxQ)(),i,r,a,l,p)},\u0275\u0275pureFunction4:function FT(i,r,a,l,p,g,S){return mC((0,s.OAn)(),(0,s.gxQ)(),i,r,a,l,p,g)},\u0275\u0275pureFunction5:function UT(i,r,a,l,p,g,S){const L=(0,s.gxQ)()+i,q=(0,s.OAn)(),ke=nl(q,L,a,l,p,g);return Uo(q,L+4,S)||ke?Vl(q,L+5,r(a,l,p,g,S)):lp(q,L+5)},\u0275\u0275pureFunction6:function pC(i,r,a,l,p,g,S,L){const q=(0,s.gxQ)()+i,ke=(0,s.OAn)(),Ke=nl(ke,q,a,l,p,g);return Ku(ke,q+4,S,L)||Ke?Vl(ke,q+6,r(a,l,p,g,S,L)):lp(ke,q+6)},\u0275\u0275pureFunction7:function WT(i,r,a,l,p,g,S,L,q){const ke=(0,s.gxQ)()+i,Ke=(0,s.OAn)();let vt=nl(Ke,ke,a,l,p,g);return eo(Ke,ke+4,S,L,q)||vt?Vl(Ke,ke+7,r(a,l,p,g,S,L,q)):lp(Ke,ke+7)},\u0275\u0275pureFunction8:function VT(i,r,a,l,p,g,S,L,q,ke){const Ke=(0,s.gxQ)()+i,vt=(0,s.OAn)(),qt=nl(vt,Ke,a,l,p,g);return nl(vt,Ke+4,S,L,q,ke)||qt?Vl(vt,Ke+8,r(a,l,p,g,S,L,q,ke)):lp(vt,Ke+8)},\u0275\u0275pureFunctionV:function $T(i,r,a){return gC((0,s.OAn)(),(0,s.gxQ)(),i,r,a)},\u0275\u0275getCurrentView:Ji,\u0275\u0275restoreView:s.eBV,\u0275\u0275listener:Iu,\u0275\u0275projection:px,\u0275\u0275syntheticHostProperty:function Ir(i,r,a){const l=(0,s.OAn)();if(Uo(l,(0,s.xbp)(),r)){const g=(0,s.klJ)(),S=(0,s.CpD)();Qp(S,l,i,r,gm((0,s.MT)(g.data),S,l),a)}return Ir},\u0275\u0275syntheticHostListener:function lx(i,r){const a=(0,s.Mx4)(),l=(0,s.OAn)(),p=(0,s.klJ)();return dx(p,l,gm((0,s.MT)(p.data),a,l),a,i,r),lx},\u0275\u0275pipeBind1:Sw,\u0275\u0275pipeBind2:function _C(i,r,a,l){const p=i+27,g=(0,s.OAn)(),S=(0,s.Hh6)(g,p);return kb(g,p)?fC(g,(0,s.gxQ)(),r,S.transform,a,l,S):S.transform(a,l)},\u0275\u0275pipeBind3:function KT(i,r,a,l,p){const g=i+27,S=(0,s.OAn)(),L=(0,s.Hh6)(S,g);return kb(S,g)?ww(S,(0,s.gxQ)(),r,L.transform,a,l,p,L):L.transform(a,l,p)},\u0275\u0275pipeBind4:function GT(i,r,a,l,p,g){const S=i+27,L=(0,s.OAn)(),q=(0,s.Hh6)(L,S);return kb(L,S)?mC(L,(0,s.gxQ)(),r,q.transform,a,l,p,g,q):q.transform(a,l,p,g)},\u0275\u0275pipeBindV:function vC(i,r,a){const l=i+27,p=(0,s.OAn)(),g=(0,s.Hh6)(p,l);return kb(p,l)?gC(p,(0,s.gxQ)(),r,g.transform,a,g):g.transform.apply(g,a)},\u0275\u0275projectionDef:AD,\u0275\u0275domProperty:Li,\u0275\u0275ariaProperty:lb,\u0275\u0275property:sv,\u0275\u0275control:function we(){nt()},\u0275\u0275controlCreate:function _(){W()},\u0275\u0275pipe:Ox,\u0275\u0275queryRefresh:Tg,\u0275\u0275queryAdvance:yp,\u0275\u0275viewQuery:fx,\u0275\u0275viewQuerySignal:gx,\u0275\u0275loadQuery:OD,\u0275\u0275contentQuery:hx,\u0275\u0275contentQuerySignal:mx,\u0275\u0275reference:PD,\u0275\u0275classMap:WD,\u0275\u0275styleMap:function UD(i){xb(Sx,dT,i,!1)},\u0275\u0275styleProp:pw,\u0275\u0275classProp:hw,\u0275\u0275advance:Jg,\u0275\u0275template:oE,\u0275\u0275conditional:iv,\u0275\u0275conditionalCreate:gp,\u0275\u0275conditionalBranchCreate:Lf,\u0275\u0275defer:function zE(i,r,a,l,p,g,S,L,q,ke){const Ke=(0,s.OAn)(),vt=(0,s.klJ)(),qt=i+27,on=ph(Ke,vt,i,null,0,0),Mn=Ke[9],di=rc(Mn);if(vt.firstCreatePass){qa("NgDefer");const Kf={primaryTmplIndex:r,loadingTmplIndex:l??null,placeholderTmplIndex:p??null,errorTmplIndex:g??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:a??null,loadingState:Da.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:ke??0};q?.(vt,Kf,L,S),function fS(i,r,a){const l=ng(r);i.data[l]=a}(vt,qt,Kf)}const Oi=Ke[qt];Hw(Oi,on,Ke);let lr=null,vi=null;if(Oi[6]?.length>0){const Kf=Oi[6][0].data;vi=Kf.di??null,lr=Kf.s}const _s=[null,fh.Initial,null,null,null,null,vi,lr,null,null];!function hS(i,r,a){i[1],i[ng(r)]=a}(Ke,qt,_s);let Cl=null;null!==vi&&di&&(Cl=Mn.get(ks),Cl.add(vi,{lView:Ke,tNode:on,lContainer:Oi}));const gc=()=>{By(_s),null!==vi&&Cl?.cleanup([vi])};tg(0,_s,()=>(0,s.DyX)(Ke,gc)),(0,s.ik5)(Ke,gc)},\u0275\u0275deferWhen:function sb(i){const r=(0,s.OAn)(),a=(0,s.CpD)();if(!Ca(0,r,a))return;if(Uo(r,(0,s.xbp)(),i)){const p=(0,f.Ht)(null);try{const g=!!i,L=Sl(r,a)[1];!1===g&&L===fh.Initial?_h(r,a):!0===g&&(L===fh.Initial||L===ps.Placeholder)&&kr(0,r,a)}finally{(0,f.Ht)(p)}}},\u0275\u0275deferOnIdle:function KE(i){Ca(0,(0,s.OAn)(),(0,s.Mx4)())&&Y_(Af({timeout:i}))},\u0275\u0275deferOnImmediate:function ab(){const i=(0,s.OAn)(),r=(0,s.Mx4)();Ca(0,i,r)&&(null===pc(i[1],r).loadingTmplIndex&&_h(i,r),kr(0,i,r))},\u0275\u0275deferOnTimer:function XS(i){Ca(0,(0,s.OAn)(),(0,s.Mx4)())&&Y_(W_(i))},\u0275\u0275deferOnHover:function YS(i,r){const a=(0,s.OAn)(),l=(0,s.Mx4)();Ca(0,a,l)&&(_h(a,l),bh(a,l,i,r,aa,()=>kr(0,a,l),0))},\u0275\u0275deferOnInteraction:function $c(i,r){const a=(0,s.OAn)(),l=(0,s.Mx4)();Ca(0,a,l)&&(_h(a,l),bh(a,l,i,r,Ys,()=>kr(0,a,l),0))},\u0275\u0275deferOnViewport:function ex(i,r,a){const l=(0,s.OAn)(),p=(0,s.Mx4)();Ca(0,l,p)&&(_h(l,p),bh(l,p,i,r,yh,()=>kr(0,l,p),0,a))},\u0275\u0275deferPrefetchWhen:function zS(i){const r=(0,s.OAn)(),a=(0,s.CpD)();if(!Ca(1,r,a))return;if(Uo(r,(0,s.xbp)(),i)){const p=(0,f.Ht)(null);try{const g=!!i,L=pc(r[1],a);!0===g&&L.loadingState===Da.NOT_STARTED&&hg(L,r,a)}finally{(0,f.Ht)(p)}}},\u0275\u0275deferPrefetchOnIdle:function Hl(i){Ca(1,(0,s.OAn)(),(0,s.Mx4)())&&WE(Af({timeout:i}))},\u0275\u0275deferPrefetchOnImmediate:function XE(){const i=(0,s.OAn)(),r=(0,s.Mx4)();if(!Ca(1,i,r))return;const l=pc(i[1],r);l.loadingState===Da.NOT_STARTED&&$E(l,i,r)},\u0275\u0275deferPrefetchOnTimer:function QS(i){Ca(1,(0,s.OAn)(),(0,s.Mx4)())&&WE(W_(i))},\u0275\u0275deferPrefetchOnHover:function vg(i,r){const a=(0,s.OAn)(),l=(0,s.Mx4)();if(!Ca(1,a,l))return;const g=pc(a[1],l);g.loadingState===Da.NOT_STARTED&&bh(a,l,i,r,aa,()=>hg(g,a,l),1)},\u0275\u0275deferPrefetchOnInteraction:function ZS(i,r){const a=(0,s.OAn)(),l=(0,s.Mx4)();if(!Ca(1,a,l))return;const g=pc(a[1],l);g.loadingState===Da.NOT_STARTED&&bh(a,l,i,r,Ys,()=>hg(g,a,l),1)},\u0275\u0275deferPrefetchOnViewport:function qE(i,r,a){const l=(0,s.OAn)(),p=(0,s.Mx4)();if(!Ca(1,l,p))return;const S=pc(l[1],p);S.loadingState===Da.NOT_STARTED&&bh(l,p,i,r,yh,()=>hg(S,l,p),1,a)},\u0275\u0275deferHydrateWhen:function KS(i){const r=(0,s.OAn)(),a=(0,s.CpD)();if(!Ca(2,r,a))return;const l=(0,s.xbp)();if(jl((0,s.klJ)(),a).set(6,null),Uo(r,l,i)){const S=r[9],L=(0,f.Ht)(null);try{if(!0==!!i){Ad(S,Sl(r,a)[6])}}finally{(0,f.Ht)(L)}}},\u0275\u0275deferHydrateNever:function GS(){const i=(0,s.OAn)(),r=(0,s.Mx4)();Ca(2,i,r)&&jl((0,s.klJ)(),r).set(7,null)},\u0275\u0275deferHydrateOnIdle:function GE(i){const r=(0,s.OAn)(),a=(0,s.Mx4)();Ca(2,r,a)&&(jl((0,s.klJ)(),a).set(0,null),VE(Af({timeout:i}),r,a))},\u0275\u0275deferHydrateOnImmediate:function QE(){const i=(0,s.OAn)(),r=(0,s.Mx4)();if(Ca(2,i,r)){jl((0,s.klJ)(),r).set(1,null);Ad(i[9],Sl(i,r)[6])}},\u0275\u0275deferHydrateOnTimer:function qS(i){const r=(0,s.OAn)(),a=(0,s.Mx4)();Ca(2,r,a)&&(jl((0,s.klJ)(),a).set(5,{type:5,delay:i}),VE(W_(i),r,a))},\u0275\u0275deferHydrateOnHover:function cb(){const i=(0,s.OAn)(),r=(0,s.Mx4)();Ca(2,i,r)&&jl((0,s.klJ)(),r).set(4,null)},\u0275\u0275deferHydrateOnInteraction:function JS(){const i=(0,s.OAn)(),r=(0,s.Mx4)();Ca(2,i,r)&&jl((0,s.klJ)(),r).set(3,null)},\u0275\u0275deferHydrateOnViewport:function tx(i){const r=(0,s.OAn)(),a=(0,s.Mx4)();Ca(2,r,a)&&jl((0,s.klJ)(),a).set(2,i?{type:2,intersectionObserverOptions:i}:null)},\u0275\u0275deferEnableTimerScheduling:function _E(i,r,a,l){const p=i.consts;null!=a&&(r.placeholderBlockConfig=(0,s.db4)(p,a)),null!=l&&(r.loadingBlockConfig=(0,s.db4)(p,l)),null===ig&&(ig=Wy)},\u0275\u0275enableIncrementalHydrationRuntime:function PT(){Ew||(Ew=!0,function du(){Cp=Xf}(),qa("NgIncrementalHydration"),mc=()=>new Gc,Ax=(i,r)=>{const a=Pu(i),l=function _0(i,r){const a=i.createNodeIterator(r,NodeFilter.SHOW_COMMENT,{acceptNode:vl});let l;const p=new Map;for(;l=a.nextNode();){const g="ngh=",S=l?.textContent,L=S?.indexOf(g)??-1;if(L>-1){const q=S.substring(L+g.length).trim();p.set(q,l)}}return p}(r,r.body);ob(i,a,l),Rh(r,i)})},\u0275\u0275repeater:nw,\u0275\u0275repeaterCreate:_p,\u0275\u0275repeaterTrackByIndex:function rv(i){return i},\u0275\u0275repeaterTrackByIdentity:tw,\u0275\u0275componentInstance:function ew(){return(0,s.OAn)()[15][8]},\u0275\u0275text:KD,\u0275\u0275textInterpolate:kx,\u0275\u0275textInterpolate1:_w,\u0275\u0275textInterpolate2:function JD(i,r,a,l,p){const g=(0,s.OAn)(),S=Tx(g,i,r,a,l,p);return S!==Vo&&jf(g,(0,s._px)(),S),JD},\u0275\u0275textInterpolate3:function eC(i,r,a,l,p,g,S){const L=(0,s.OAn)(),q=XD(L,i,r,a,l,p,g,S);return q!==Vo&&jf(L,(0,s._px)(),q),eC},\u0275\u0275textInterpolate4:function tC(i,r,a,l,p,g,S,L,q){const ke=(0,s.OAn)(),Ke=QD(ke,i,r,a,l,p,g,S,L,q);return Ke!==Vo&&jf(ke,(0,s._px)(),Ke),tC},\u0275\u0275textInterpolate5:function bT(i,r,a,l,p,g,S,L,q,ke,Ke){const vt=(0,s.OAn)(),qt=qD(vt,i,r,a,l,p,g,S,L,q,ke,Ke);return qt!==Vo&&jf(vt,(0,s._px)(),qt),bT},\u0275\u0275textInterpolate6:function nC(i,r,a,l,p,g,S,L,q,ke,Ke,vt,qt){const on=(0,s.OAn)(),Mn=YD(on,i,r,a,l,p,g,S,L,q,ke,Ke,vt,qt);return Mn!==Vo&&jf(on,(0,s._px)(),Mn),nC},\u0275\u0275textInterpolate7:function ET(i,r,a,l,p,g,S,L,q,ke,Ke,vt,qt,on,Mn){const di=(0,s.OAn)(),Oi=yT(di,i,r,a,l,p,g,S,L,q,ke,Ke,vt,qt,on,Mn);return Oi!==Vo&&jf(di,(0,s._px)(),Oi),ET},\u0275\u0275textInterpolate8:function iC(i,r,a,l,p,g,S,L,q,ke,Ke,vt,qt,on,Mn,di,Oi){const lr=(0,s.OAn)(),vi=ZD(lr,i,r,a,l,p,g,S,L,q,ke,Ke,vt,qt,on,Mn,di,Oi);return vi!==Vo&&jf(lr,(0,s._px)(),vi),iC},\u0275\u0275textInterpolateV:function rC(i){const r=(0,s.OAn)(),a=GD(r,i);return a!==Vo&&jf(r,(0,s._px)(),a),rC},\u0275\u0275i18n:function ZC(i,r,a){DD(i,r,a),CD()},\u0275\u0275i18nAttributes:function TD(i,r){const a=(0,s.klJ)();!function VC(i,r,a){const l=(0,s.Mx4)(),p=l.index,g=[];if(i.firstCreatePass&&null===i.data[r]){for(let S=0;S<a.length;S+=2){const L=a[S],q=a[S+1];if(""!==q){if(mD.test(q))throw new Error(`ICU expressions are not supported in attributes. Message: "${q}".`);const ke=l.namespace?`:${l.namespace}:${l.value}`:l.value;Eb(g,q,p,L,hv(g),cx(L,ke))}}i.data[r]=g}}(a,i+27,(0,s.db4)(a.consts,r))},\u0275\u0275i18nExp:function kD(i){return function Hc(i){i&&(as|=1<<Math.min(Hs,31)),Hs++}(Uo((0,s.OAn)(),(0,s.xbp)(),i)),kD},\u0275\u0275i18nStart:DD,\u0275\u0275i18nEnd:CD,\u0275\u0275i18nApply:function JC(i){!function zc(i,r,a){try{if(Hs>0){const l=i.data[a];sw(i,r,Array.isArray(l)?l:l.update,(0,s.c$7)()-Hs-1,as)}}finally{as=0,Hs=0}}((0,s.klJ)(),(0,s.OAn)(),i+27)},\u0275\u0275i18nPostprocess:function eT(i,r={}){return function Sb(i,r={}){let a=i;if(SD.test(i)){const l={},p=[0];a=a.replace(GC,(g,S,L)=>{const q=S||L,ke=l[q]||[];if(ke.length||(q.split("|").forEach(di=>{const Oi=di.match(xD),lr=Oi?parseInt(Oi[1],10):0,vi=YC.test(di);ke.push([lr,vi,di])}),l[q]=ke),!ke.length)throw new Error(`i18n postprocess: unmatched placeholder - ${q}`);const Ke=p[p.length-1];let vt=0;for(let di=0;di<ke.length;di++)if(ke[di][0]===Ke){vt=di;break}const[qt,on,Mn]=ke[vt];return on?p.pop():Ke!==qt&&p.push(qt),ke.splice(vt,1),Mn})}return Object.keys(r).length&&(a=a.replace(XC,(l,p,g,S,L,q)=>r.hasOwnProperty(g)?`${p}${r[g]}${q}`:l),a=a.replace(QC,(l,p)=>r.hasOwnProperty(p)?r[p]:l),a=a.replace(qC,(l,p)=>{if(r.hasOwnProperty(p)){const g=r[p];if(!g.length)throw new Error(`i18n postprocess: unmatched ICU - ${l} with key: ${p}`);return g.shift()}return l})),a}(i,r)},\u0275\u0275resolveWindow:function $h(i){return i.ownerDocument.defaultView},\u0275\u0275resolveDocument:function yv(i){return i.ownerDocument},\u0275\u0275resolveBody:om,\u0275\u0275setComponentScope:function Ds(i,r,a){const l=i.\u0275cmp;l.directiveDefs=up(r,G0),l.pipeDefs=up(a,s.oyA)},\u0275\u0275setNgModuleScope:function uC(i,r){return de(()=>{const a=(0,s.WbQ)(i);a.declarations=bw(r.declarations||s.Mlv),a.imports=bw(r.imports||s.Mlv),a.exports=bw(r.exports||s.Mlv),r.bootstrap&&(a.bootstrap=bw(r.bootstrap)),ap.registerNgModule(i,r)})},\u0275\u0275registerNgModuleType:Ym,\u0275\u0275getComponentDepsFactory:function bC(i,r){return()=>{try{return ap.getComponentDependencies(i,r).dependencies}catch(a){throw console.error(`Computing dependencies in local compilation mode for the component "${i.name}" failed with the exception:`,a),a}}},\u0275setClassDebugInfo:function XT(i,r){const a=(0,s.xUg)(i);null!==a&&(a.debugInfo=r)},\u0275\u0275declareLet:Ix,\u0275\u0275storeLet:xT,\u0275\u0275arrowFunction:function MT(i,r,a){const l=(0,s.gxQ)()+i,p=(0,s.OAn)();return p[l]===Vo?Vl(p,l,r(a,p)):lp(p,l)},\u0275\u0275readContextLet:aC,\u0275\u0275attachSourceLocations:function DT(i,r){const a=(0,s.klJ)(),l=(0,s.OAn)(),p=l[11],g="data-ng-source-location";for(const[S,L,q,ke]of r){(0,s.XRZ)(a,S+27);const vt=(0,s.vaC)(S+27,l);if(!vt.hasAttribute(g)){const qt=`${i}@o:${L},l:${q},c:${ke}`;p.setAttribute(vt,g,qt)}}},\u0275\u0275interpolate:function vk(i){return Uo((0,s.OAn)(),(0,s.xbp)(),i)?(0,s.eFE)(i):Vo},\u0275\u0275interpolate1:function CT(i,r,a=""){return Cx((0,s.OAn)(),i,r,a)},\u0275\u0275interpolate2:function yk(i,r,a,l,p=""){return Tx((0,s.OAn)(),i,r,a,l,p)},\u0275\u0275interpolate3:function bk(i,r,a,l,p,g,S=""){return XD((0,s.OAn)(),i,r,a,l,p,g,S)},\u0275\u0275interpolate4:function Ek(i,r,a,l,p,g,S,L,q=""){return QD((0,s.OAn)(),i,r,a,l,p,g,S,L,q)},\u0275\u0275interpolate5:function wk(i,r,a,l,p,g,S,L,q,ke,Ke=""){return qD((0,s.OAn)(),i,r,a,l,p,g,S,L,q,ke,Ke)},\u0275\u0275interpolate6:function TT(i,r,a,l,p,g,S,L,q,ke,Ke,vt,qt=""){return YD((0,s.OAn)(),i,r,a,l,p,g,S,L,q,ke,Ke,vt,qt)},\u0275\u0275interpolate7:function Sk(i,r,a,l,p,g,S,L,q,ke,Ke,vt,qt,on,Mn=""){return yT((0,s.OAn)(),i,r,a,l,p,g,S,L,q,ke,Ke,vt,qt,on,Mn)},\u0275\u0275interpolate8:function kT(i,r,a,l,p,g,S,L,q,ke,Ke,vt,qt,on,Mn,di,Oi=""){return ZD((0,s.OAn)(),i,r,a,l,p,g,S,L,q,ke,Ke,vt,qt,on,Mn,di,Oi)},\u0275\u0275interpolateV:function IT(i){return GD((0,s.OAn)(),i)},\u0275\u0275sanitizeHtml:Jf,\u0275\u0275sanitizeStyle:Op,\u0275\u0275sanitizeResourceUrl:Pl,\u0275\u0275sanitizeScript:Lg,\u0275\u0275validateAttribute:nm,\u0275\u0275sanitizeUrl:Rc,\u0275\u0275sanitizeUrlOrResourceUrl:tm,\u0275\u0275trustConstantHtml:function Pb(i){return $r(i[0])},\u0275\u0275trustConstantResourceUrl:function em(i){return function rr(i){return Ni()?.createScriptURL(i)||i}(i[0])},forwardRef:s.Rfq,resolveForwardRef:s.nl4,\u0275\u0275twoWayProperty:function oC(i,r,a){(0,s.n$r)(r)&&(r=r());const l=(0,s.OAn)();if(Uo(l,(0,s.xbp)(),r)){(0,s.klJ)();t_((0,s.CpD)(),l,i,r,l[11],a)}return oC},\u0275\u0275twoWayBindingSet:function wT(i,r){const a=(0,s.n$r)(i);return a&&i.set(r),a},\u0275\u0275twoWayListener:function ST(i,r){const a=(0,s.OAn)(),l=(0,s.klJ)(),p=(0,s.Mx4)();return dx(l,a,a[11],p,i,r),ST},\u0275\u0275replaceMetadata:function wC(i,r,a,l,p=null,g=null){const S=(0,s.xUg)(i);r.apply(null,[i,a,...l]);const{newDef:L,oldDef:q}=function Px(i,r){const a={...i};return{newDef:Object.assign(i,r,{directiveDefs:a.directiveDefs,pipeDefs:a.pipeDefs,setInput:a.setInput,type:a.type}),oldDef:a}}(S,(0,s.xUg)(i));if(i[s.CQl]=L,q.tView){const ke=function Ns(){return oa}().values();for(const Ke of ke)(0,s.EFk)(Ke)&&null===Ke[3]&&xw(p,g,L,q,Ke)}},\u0275\u0275getReplaceMetadataURL:function EC(i,r,a){const l=`./@ng/component?c=${i}&t=${encodeURIComponent(r)}`;return new URL(l,a).href}};let bp=null;function Dw(i){null!==bp&&(i.defaultEncapsulation!==bp.defaultEncapsulation||i.preserveWhitespaces!==bp.preserveWhitespaces)||(bp=i)}const Ag=[];let zf=!1;function DC(i){return Array.isArray(i)?i.every(DC):!!(0,s.nl4)(i)}function ek(i,r={}){(function tk(i,r,a=!1){const l=(0,s.Bqz)(r.declarations||s.Mlv);let p=null;Object.defineProperty(i,s.hmW,{configurable:!0,get:()=>(null===p&&(p=Xn().compileNgModule(Hf,`ng:///${i.name}/\u0275mod.js`,{type:i,bootstrap:(0,s.Bqz)(r.bootstrap||s.Mlv).map(s.nl4),declarations:l.map(s.nl4),imports:(0,s.Bqz)(r.imports||s.Mlv).map(s.nl4).map(o),exports:(0,s.Bqz)(r.exports||s.Mlv).map(s.nl4).map(o),schemas:r.schemas?(0,s.Bqz)(r.schemas):null,id:r.id||null}),p.schemas||(p.schemas=[])),p)});let g=null;Object.defineProperty(i,s.zSs,{get:()=>{if(null===g){const L=Xn();g=L.compileFactory(Hf,`ng:///${i.name}/\u0275fac.js`,{name:i.name,type:i,deps:Ln(i),target:L.FactoryTarget.NgModule,typeArgumentCount:0})}return g},configurable:!1});let S=null;Object.defineProperty(i,s.ONQ,{get:()=>{if(null===S){const L={name:i.name,type:i,providers:r.providers||s.Mlv,imports:[(r.imports||s.Mlv).map(s.nl4),(r.exports||s.Mlv).map(s.nl4)]};S=Xn().compileInjector(Hf,`ng:///${i.name}/\u0275inj.js`,L)}return S},configurable:!1})})(i,r),void 0!==r.id&&Ym(i,r.id),function JT(i,r){Ag.push({moduleType:i,ngModule:r})}(i,r)}function n(i,r){const a=(0,s.Bqz)(r.declarations||s.Mlv),l=t(i);a.forEach(p=>{if((p=(0,s.nl4)(p)).hasOwnProperty(s.CQl)){const g=p;e((0,s.xUg)(g),l)}else!p.hasOwnProperty(s.CZt)&&!p.hasOwnProperty(s.Vx9)&&(p.ngSelectorScope=i)})}function e(i,r){i.directiveDefs=()=>Array.from(r.compilation.directives).map(a=>a.hasOwnProperty(s.CQl)?(0,s.xUg)(a):(0,s.HaV)(a)).filter(a=>!!a),i.pipeDefs=()=>Array.from(r.compilation.pipes).map(a=>(0,s.oyA)(a)),i.schemas=r.schemas,i.tView=null}function t(i){if(Dd(i)){const r=ap.getNgModuleScope(i);return{schemas:(0,s.WbQ)(i).schemas||null,...r}}if((0,s.QuC)(i)){if(null!==((0,s.xUg)(i)||(0,s.HaV)(i)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([i]),pipes:new Set}};if(null!==(0,s.oyA)(i))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([i])}}}throw new Error(`${i.name} does not have a module def (\u0275mod property)`)}function o(i){return ff(i)?i.ngModule:i}let c=0;function u(i,r){let a=null;(function N_(i,r){tS(r)&&(Qu.set(i,r),dh.add(i))})(i,r),Ve(i,r),Object.defineProperty(i,s.CQl,{get:()=>{if(null===a){const l=Xn();if(tS(r)){const Ke=[`Component '${i.name}' is not resolved:`];throw r.templateUrl&&Ke.push(` - templateUrl: ${r.templateUrl}`),r.styleUrls&&r.styleUrls.length&&Ke.push(` - styleUrls: ${JSON.stringify(r.styleUrls)}`),r.styleUrl&&Ke.push(` - styleUrl: ${r.styleUrl}`),Ke.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(Ke.join("\n"))}const p=function YT(){return bp}();let g=r.preserveWhitespaces;void 0===g&&(g=null!==p&&void 0!==p.preserveWhitespaces&&p.preserveWhitespaces);let S=r.encapsulation;void 0===S&&(S=null!==p&&void 0!==p.defaultEncapsulation?p.defaultEncapsulation:Js.Emulated);const L=r.templateUrl||`ng:///${i.name}/template.html`,q=Gt(i,r),ke={...q,typeSourceSpan:l.createParseSourceSpan("Component",i.name,L),template:r.template||"",preserveWhitespaces:g,styles:"string"==typeof r.styles?[r.styles]:r.styles||s.Mlv,animations:r.animations,declarations:[],changeDetection:r.changeDetection,encapsulation:S,viewProviders:r.viewProviders||null,hasDirectiveDependencies:!q.isStandalone||null!=r.imports&&r.imports.length>0};c++;try{if(ke.usesInheritance&&yn(i),a=l.compileComponent(Hf,L,ke),ke.isStandalone){const Ke=(0,s.Bqz)(r.imports||s.Mlv),{directiveDefs:vt,pipeDefs:qt}=function v(i,r){return{directiveDefs:()=>mf(i)?[...ap.getStandaloneComponentScope(i,r).compilation.directives].map(g=>(0,s.xUg)(g)||(0,s.HaV)(g)).filter(g=>null!==g):[],pipeDefs:()=>mf(i)?[...ap.getStandaloneComponentScope(i,r).compilation.pipes].map(g=>(0,s.oyA)(g)).filter(g=>null!==g):[]}}(i,Ke);a.directiveDefs=vt,a.pipeDefs=qt,a.dependencies=()=>Ke.map(s.nl4)}}finally{c--}if(0===c&&function xk(){if(!zf){zf=!0;try{for(let i=Ag.length-1;i>=0;i--){const{moduleType:r,ngModule:a}=Ag[i];a.declarations&&a.declarations.every(DC)&&(Ag.splice(i,1),n(r,a))}}finally{zf=!1}}}(),function k(i){return void 0!==i.ngSelectorScope}(i)){const Ke=t(i.ngSelectorScope);e(a,Ke)}if(r.schemas){if(!ke.isStandalone)throw new Error(`The 'schemas' was specified for the ${(0,s.PP7)(i)} but is only valid on a component that is standalone.`);a.schemas=r.schemas}else ke.isStandalone&&(a.schemas=[])}return a},set:l=>{a=l},configurable:!1})}function ae(i,r){let a=null;Ve(i,r||{}),Object.defineProperty(i,s.CZt,{get:()=>{if(null===a){const l=me(i,r||{});a=Xn().compileDirective(Hf,l.sourceMapUrl,l.metadata)}return a},configurable:!1})}function me(i,r){const a=i&&i.name,l=`ng:///${a}/\u0275dir.js`,p=Xn(),g=Gt(i,r);return g.typeSourceSpan=p.createParseSourceSpan("Directive",a,l),g.usesInheritance&&yn(i),{metadata:g,sourceMapUrl:l}}function Ve(i,r){let a=null;Object.defineProperty(i,s.zSs,{get:()=>{if(null===a){const l=me(i,r),p=Xn();a=p.compileFactory(Hf,`ng:///${i.name}/\u0275fac.js`,{name:l.metadata.name,type:l.metadata.type,typeArgumentCount:0,deps:Ln(i),target:p.FactoryTarget.Directive})}return a},configurable:!1})}function it(i){return Object.getPrototypeOf(i.prototype)===Object.prototype}function Gt(i,r){const a=rn(),l=a.ownPropMetadata(i);return{name:i.name,legacyOptionalChaining:!1,type:i,selector:void 0!==r.selector?r.selector:null,host:r.host||s.MZA,propMetadata:l,inputs:r.inputs||s.Mlv,outputs:r.outputs||s.Mlv,queries:_i(i,l,Wr),lifecycle:{usesOnChanges:a.hasLifecycleHook(i,"ngOnChanges")},controlCreate:a.hasLifecycleHook(i,"\u0275ngControlCreate")?{passThroughInput:null}:null,typeSourceSpan:null,usesInheritance:!it(i),exportAs:Wi(r.exportAs),providers:r.providers||null,viewQueries:_i(i,l,Go),isStandalone:void 0===r.standalone||!!r.standalone,isSignal:!!r.signals,hostDirectives:r.hostDirectives?.map(p=>"function"==typeof p?{directive:p}:p)||null}}function yn(i){const r=Object.prototype;let a=Object.getPrototypeOf(i.prototype).constructor;for(;a&&a!==r;)!(0,s.HaV)(a)&&!(0,s.xUg)(a)&&Lx(a)&&ae(a,null),a=Object.getPrototypeOf(a)}function Un(i){return"string"==typeof i?Ep(i):(0,s.nl4)(i)}function ai(i,r){return{propertyName:i,predicate:Un(r.selector),descendants:r.descendants,first:r.first,read:r.read?r.read:null,static:!!r.static,emitDistinctChangesOnly:!!r.emitDistinctChangesOnly,isSignal:!!r.isSignal}}function _i(i,r,a){const l=[],p=[];for(const g in r)if(r.hasOwnProperty(g)){const S=r[g];S.forEach(L=>{if(a(L)){if(!L.selector)throw new Error(`Can't construct a query for the property "${g}" of "${(0,s.PP7)(i)}" since the query selector wasn't defined.`);if(S.some(As))throw new Error("Cannot combine @Input decorators with query decorators");const q=ai(g,L);q.isSignal?l.push(q):p.push(q)}})}return[...l,...p]}function Wi(i){return void 0===i?null:Ep(i)}function Wr(i){const r=i.ngMetadataName;return"ContentChild"===r||"ContentChildren"===r}function Go(i){const r=i.ngMetadataName;return"ViewChild"===r||"ViewChildren"===r}function As(i){return"Input"===i.ngMetadataName}function Ep(i){return i.split(",").map(r=>r.trim())}const va=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function Lx(i){const r=rn();if(va.some(l=>r.hasLifecycleHook(i,l)))return!0;const a=r.propMetadata(i);for(const l in a){const p=a[l];for(let g=0;g<p.length;g++){const S=p[g],L=S.ngMetadataName;if(As(S)||Wr(S)||Go(S)||"Output"===L||"HostBinding"===L||"HostListener"===L)return!0}}return!1}function TC(i,r){return{type:i,name:i.name,pipeName:r.name,pure:void 0===r.pure||r.pure,isStandalone:void 0===r.standalone||!!r.standalone}}const Dk=ti("Directive",(i={})=>i,void 0,0,(i,r)=>ae(i,r)),Fk=ti("Component",(i={})=>({changeDetection:Rr.Eager,...i}),Dk,0,(i,r)=>u(i,r)),Uk=ti("Pipe",i=>({pure:!0,...i}),void 0,0,(i,r)=>function rk(i,r){let a=null,l=null;Object.defineProperty(i,s.zSs,{get:()=>{if(null===l){const p=TC(i,r),g=Xn(p.type);l=g.compileFactory(Hf,`ng:///${p.name}/\u0275fac.js`,{name:p.name,type:p.type,typeArgumentCount:0,deps:Ln(i),target:g.FactoryTarget.Pipe})}return l},configurable:!1}),Object.defineProperty(i,s.Vx9,{get:()=>{if(null===a){const p=TC(i,r);a=Xn(p.type).compilePipe(Hf,`ng:///${p.name}/\u0275pipe.js`,p)}return a},configurable:!1})}(i,r)),Wk=qi("Input",i=>i?"string"==typeof i?{alias:i}:i:{}),Vk=qi("Output",i=>({alias:i})),$k=qi("HostBinding",i=>({hostPropertyName:i})),jk=qi("HostListener",(i,r)=>({eventName:i,args:r})),Hk=ti("NgModule",i=>i,void 0,0,(i,r)=>ek(i,r));class Bx{applicationErrorHandler=(0,s.WQX)(s.ZTf);appRef=(0,s.WQX)(fp);taskService=(0,s.WQX)(s.rev);ngZone=(0,s.WQX)(s.SKi);zonelessEnabled=(0,s.WQX)(s.Evm);tracing=(0,s.WQX)(ms,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new D.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(s.AbJ):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((0,s.WQX)(s.AQb,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{const r=this.taskService.add();this.runningTick||(this.cleanup(),this.zonelessEnabled&&!this.appRef.includeAllTestViews)?(this.switchToMicrotaskScheduler(),this.taskService.remove(r)):this.taskService.remove(r)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{const r=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})})}notify(r){if(!this.zonelessEnabled&&5===r)return;switch(r){case 0:case 2:case 6:case 13:this.appRef.dirtyFlags|=2;break;case 3:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 12:this.appRef.dirtyFlags|=16;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;const a=this.useMicrotaskScheduler?s.uiq:s.l4E;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>a(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>a(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(s.AbJ+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(a){this.applicationErrorHandler(a)}finally{this.taskService.remove(r),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}static \u0275fac=function(a){return new(a||Bx)};static \u0275prov=Nn({token:Bx,factory:Bx.\u0275fac})}function kk(){return[{provide:s.hk6,useExisting:Bx},{provide:s.SKi,useClass:s.myG},{provide:s.Evm,useValue:!0}]}class Fx{compileModuleSync(r){return new K0(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}static \u0275fac=function(a){return new(a||Fx)};static \u0275prov=Nn({token:Fx,factory:Fx.\u0275fac})}const zk=new s.nKC("");class Kk{}const Ik=new s.nKC("",{factory:()=>(0,s.WQX)(Ik,{optional:!0,skipSelf:!0})||function Gk(){return typeof $localize<"u"&&$localize.locale||"en-US"}()}),Xk=new s.nKC("",{factory:()=>"USD"});new s.nKC(""),new s.nKC("");var Mk;!function(i){i[i.Error=0]="Error",i[i.Warning=1]="Warning",i[i.Ignore=2]="Ignore"}(Mk||(Mk={}))},16925(st,pe,h){"use strict";h.d(pe,{Bg:()=>F,H8:()=>ye,Ht:()=>y,JC:()=>I,KE:()=>x,KO:()=>Ce,KZ:()=>Le,TO:()=>B,Wu:()=>E,XR:()=>Z,a7:()=>te,j2:()=>de,lh:()=>ee,mC:()=>G,mK:()=>U,n5:()=>he,nR:()=>b,si:()=>O});let m=null,s=!1,f=1,P=null;const D=Symbol("SIGNAL");function y(V){const ue=m;return m=V,ue}function b(){return m}function x(){return s}const M={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function U(V){if(s)throw new Error("");if(null===m)return;m.consumerOnSignalRead(V);const ue=m.producersTail;if(void 0!==ue&&ue.producer===V)return;let De;const rt=m.recomputing;if(rt&&(De=void 0!==ue?ue.nextProducer:m.producers,void 0!==De&&De.producer===V))return m.producersTail=De,De.lastReadVersion=V.version,void(De.knownValidAtEpoch=f);const It=V.consumersTail;if(void 0!==It&&It.consumer===m&&(!rt||It.knownValidAtEpoch===f))return;const Kt=j(m),Ht={producer:V,consumer:m,nextProducer:De,prevConsumer:void 0,knownValidAtEpoch:f,lastReadVersion:V.version,nextConsumer:void 0};m.producersTail=Ht,void 0!==ue?ue.nextProducer=Ht:m.producers=Ht,Kt&&Ee(V,Ht)}function I(V){if((!j(V)||V.dirty)&&(V.dirty||V.lastCleanEpoch!==f)){if(!V.producerMustRecompute(V)&&!O(V))return void B(V);V.producerRecomputeValue(V),B(V)}}function T(V){if(void 0===V.consumers)return;const ue=s;s=!0;try{for(let De=V.consumers;void 0!==De;De=De.nextConsumer){const rt=De.consumer;rt.dirty||R(rt)}}finally{s=ue}}function C(){return!1!==m?.consumerAllowSignalWrites}function R(V){V.dirty=!0,T(V),V.consumerMarkedDirty?.(V)}function B(V){V.dirty=!1,V.lastCleanEpoch=f}function F(V){return V&&function $(V){if(V.producersTail?.knownValidAtEpoch===f){let ue=V.producers;for(;void 0!==ue;)ue.knownValidAtEpoch=null,ue=ue.nextProducer}V.producersTail=void 0,V.recomputing=!0}(V),y(V)}function E(V,ue){y(ue),V&&function w(V){V.recomputing=!1;const ue=V.producersTail;let De=void 0!==ue?ue.nextProducer:V.producers;if(void 0!==De){if(j(V))do{De=oe(De)}while(void 0!==De);void 0!==ue?ue.nextProducer=void 0:V.producers=void 0}}(V)}function O(V){for(let ue=V.producers;void 0!==ue;ue=ue.nextProducer){const De=ue.producer,rt=ue.lastReadVersion;if(rt!==De.version||(I(De),rt!==De.version))return!0}return!1}function Z(V){if(j(V)){let ue=V.producers;for(;void 0!==ue;)ue=oe(ue)}V.producers=void 0,V.producersTail=void 0,V.consumers=void 0,V.consumersTail=void 0}function Ee(V,ue){const De=V.consumersTail,rt=j(V);if(void 0!==De?(ue.nextConsumer=De.nextConsumer,De.nextConsumer=ue):(ue.nextConsumer=void 0,V.consumers=ue),ue.prevConsumer=De,V.consumersTail=ue,!rt)for(let It=V.producers;void 0!==It;It=It.nextProducer)Ee(It.producer,It)}function oe(V){const ue=V.producer,De=V.nextProducer,rt=V.nextConsumer,It=V.prevConsumer;if(V.nextConsumer=void 0,V.prevConsumer=void 0,void 0!==rt?rt.prevConsumer=It:ue.consumersTail=It,void 0!==It)It.nextConsumer=rt;else if(ue.consumers=rt,!j(ue)){let Kt=ue.producers;for(;void 0!==Kt;)Kt=oe(Kt)}return De}function j(V){return V.consumerIsAlwaysLive||void 0!==V.consumers}function te(V){P?.(V)}function ye(V,ue){return Object.is(V,ue)}function Le(V,ue){const De=Object.create(Me);De.computation=V,void 0!==ue&&(De.equal=ue);const rt=()=>{if(I(De),U(De),De.value===We)throw De.error;return De.value};return rt[D]=De,te(De),rt}const $e=Symbol("UNSET"),Tt=Symbol("COMPUTING"),We=Symbol("ERRORED"),Me={...M,value:$e,dirty:!0,error:null,equal:ye,kind:"computed",producerMustRecompute:V=>V.value===$e||V.value===Tt,producerRecomputeValue(V){if(V.value===Tt)throw new Error("");const ue=V.value;V.value=Tt;const De=F(V);let rt,It=!1;try{rt=V.computation(),y(null),It=ue!==$e&&ue!==We&&rt!==We&&V.equal(ue,rt)}catch(Kt){rt=We,V.error=Kt}finally{E(V,De)}It?V.value=ue:(V.value=rt,V.version++)}};let xe=function ut(){throw new Error};function Te(V){xe(V)}function Ce(V){xe=V}let et=null;function he(V,ue){const De=Object.create(He);De.value=V,void 0!==ue&&(De.equal=ue);const rt=()=>function be(V){return U(V),V.value}(De);return rt[D]=De,te(De),[rt,Ht=>de(De,Ht),Ht=>G(De,Ht)]}function de(V,ue){C()||Te(V),V.equal(V.value,ue)||(V.value=ue,function wt(V){V.version++,function J(){f++}(),T(V),et?.(V)}(V))}function G(V,ue){C()||Te(V),de(V,ue(V.value))}const He={...M,equal:ye,value:void 0,kind:"signal"};const Jt={...M,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function ee(V){if(V.dirty=!1,V.version>0&&!O(V))return;V.version++;const ue=F(V);try{V.cleanup(),V.fn()}finally{E(V,ue)}}h.d(pe,["Ag",0,$e,"EF",0,We,"Ny",0,Tt,"bh",0,D,"pL",0,M,"s0",0,He,"vX",0,Jt])},28939(st,pe,h){"use strict";h.d(pe,{bc$:()=>wc,sZ2:()=>sc,BIS:()=>qc,hk6:()=>cc,eVN:()=>Xl,qQL:()=>Ra,dUD:()=>C,abz:()=>Ml,Mlv:()=>Er,MZA:()=>Vr,Z63:()=>Di,Ap:()=>R,dTm:()=>Ol,VML:()=>cl,uvJ:()=>xo,zcH:()=>Ms,bkB:()=>ua,VeQ:()=>ql,mY:()=>ac,YEL:()=>oo,B9r:()=>yo,GBX:()=>mo,ZTf:()=>Ka,nKC:()=>Pt,zZn:()=>hu,CQl:()=>Q,CZt:()=>Ae,p9y:()=>mn,zSs:()=>cn,ONQ:()=>Mt,hmW:()=>kt,Vx9:()=>Qe,yAH:()=>ze,SKi:()=>Ft,myG:()=>rr,oTH:()=>$t,Agw:()=>Bu,PLl:()=>Ap,GYQ:()=>Lh,u5s:()=>Xa,rev:()=>la,e5P:()=>po,buA:()=>F,AQb:()=>Yf,WPN:()=>ki,pJN:()=>Sa,xvI:()=>T,RxE:()=>I,r4V:()=>od,ok8:()=>B,Evm:()=>qf,laP:()=>pn,EYC:()=>Xn,AbJ:()=>ge,ng7:()=>Yi,llW:()=>Or,gsJ:()=>ur,iYM:()=>de,PEr:()=>hn,z7f:()=>Fe,LZP:()=>He,Xln:()=>Me,yzR:()=>Fs,TWe:()=>Qs,LIA:()=>We,GWr:()=>he,pbo:()=>ve,bBq:()=>Xs,Af3:()=>Rr,zQk:()=>Hn,oZy:()=>Rn,tF7:()=>wt,ZFY:()=>Kn,cP4:()=>Ho,MdC:()=>Bo,XvL:()=>Ce,KET:()=>ds,Tkx:()=>Pi,iw4:()=>ut,tdH:()=>rd,pr_:()=>ee,IAh:()=>Te,U45:()=>Le,WrV:()=>$e,kNT:()=>Jt,MI:()=>ci,biv:()=>Zn,ZQF:()=>xe,Cv0:()=>Tt,W0r:()=>nr,R2n:()=>fr,O8q:()=>En,VKj:()=>dt,Rom:()=>fi,z6V:()=>kn,wdo:()=>An,n$e:()=>Ee,hjC:()=>ft,Pz9:()=>Pu,PQT:()=>lo,VX4:()=>to,_Z$:()=>Qn,N79:()=>Nd,xLP:()=>qi,QZP:()=>ul,A7J:()=>lt,BI7:()=>_t,U7d:()=>fn,uXy:()=>je,nZS:()=>ln,ihb:()=>xp,ID8:()=>Il,gv8:()=>pa,dwj:()=>O,Bqz:()=>tr,OsK:()=>E,Rfq:()=>te,RiE:()=>Mp,c$7:()=>Zs,gxQ:()=>Lr,ckz:()=>Oc,kLh:()=>w,xUg:()=>Ei,KdJ:()=>ko,db4:()=>Ac,VPL:()=>Sr,MT:()=>Sp,Z9v:()=>Qc,Ab:()=>Wt,w7Z:()=>Og,Mx4:()=>Nt,veI:()=>en,HaV:()=>sr,Agf:()=>ui,znI:()=>Ea,wGu:()=>ti,ebl:()=>Ht,OAn:()=>z,_0$:()=>Oa,UaU:()=>pu,vaC:()=>Zi,d31:()=>Oo,ZRn:()=>ka,phH:()=>Ti,WbQ:()=>$i,WB9:()=>ns,d_l:()=>vc,vNG:()=>cu,oyA:()=>pr,_px:()=>_o,CpD:()=>oc,XRZ:()=>ji,klJ:()=>ne,Fje:()=>ss,b$O:()=>Au,SMZ:()=>Mi,WQX:()=>tt,tcA:()=>_n,jXY:()=>Pe,MME:()=>yt,JlV:()=>yi,Qs1:()=>On,srX:()=>xn,vOT:()=>Gl,YWB:()=>si,EPY:()=>Se,yoD:()=>hi,P3H:()=>ca,Jzi:()=>ye,rFz:()=>mt,JjR:()=>Ec,M6u:()=>Cs,KtD:()=>yc,muV:()=>rt,A0l:()=>tn,q$2:()=>Zt,yP_:()=>Gr,EFk:()=>cr,Hps:()=>Fh,UhH:()=>ic,QuC:()=>Yt,Y3W:()=>jt,n$r:()=>Zf,K7h:()=>Fi,FRF:()=>ir,ezK:()=>Pr,m7n:()=>Qf,niQ:()=>uu,krE:()=>le,bll:()=>vr,Hh6:()=>Kc,EmA:()=>cs,zw6:()=>wa,blu:()=>nc,HAh:()=>ba,WfI:()=>Tr,xbp:()=>ws,jvu:()=>Yr,nJn:()=>Nh,Rc9:()=>Ro,Gvy:()=>Ip,E6O:()=>Nn,DyX:()=>io,eFE:()=>wn,dMS:()=>aa,HUe:()=>Ts,nl4:()=>ce,uxE:()=>gu,N4e:()=>vs,XaM:()=>Oe,uiq:()=>zo,l4E:()=>Ld,Kw3:()=>Pa,vQI:()=>kl,RZ9:()=>rc,GA0:()=>Oh,iMd:()=>Vn,Pfq:()=>Ci,xyx:()=>Xc,a2B:()=>Bt,kcM:()=>Et,DFp:()=>Lt,P2g:()=>Ia,cBl:()=>Nr,ypq:()=>Ph,vPA:()=>ha,HO5:()=>ea,M_e:()=>Qo,B22:()=>nd,ik5:()=>za,AsM:()=>Z,PP7:()=>zn,$8:()=>G,$Hz:()=>qr,zAe:()=>er,IvY:()=>Ri,_gW:()=>ol,$o8:()=>Ga,F1c:()=>qs,ITl:()=>Mc,brz:()=>rn,jRZ:()=>Ys,SX7:()=>kp,jDH:()=>V,G2t:()=>ue,fuf:()=>Gc,cSN:()=>bc,KVO:()=>Gi,dmw:()=>Ze,joV:()=>Xf,By9:()=>Cp,qSk:()=>Rh,Njj:()=>Ye,eBV:()=>Ne});var m=h(16925);let s;function f(){return s}function P(K){const Ie=s;return s=K,Ie}const y=Symbol("NotFound");Error;function x(K){return K===y||"\u0275NotFound"===K?.name}var N=h(5651),M=h(75536),U=h(55919),J=h(23054);class I{full;major;minor;patch;constructor(Ie){this.full=Ie;const bt=Ie.split(".");this.major=bt[0],this.minor=bt[1],this.patch=bt.slice(2).join(".")}}const T=new I("22.1.0"),C=(()=>{const K=T.full;return`https://${K.includes("-next")||K.includes("-rc")||"0.0.0-PLACEHOLDER"===K?"next":`v${T.major}`}.angular.dev`})(),R=`${C}/errors`,B="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class F extends Error{code;constructor(Ie,bt){super(E(Ie,bt)),this.code=Ie}}function E(K,Ie){return`${function $(K){return`NG0${Math.abs(K)}`}(K)}${Ie?": "+Ie:""}`}function w(K){for(let Ie in K)if(K[Ie]===w)return Ie;throw Error("")}function O(K,Ie){for(const bt in Ie)Ie.hasOwnProperty(bt)&&!K.hasOwnProperty(bt)&&(K[bt]=Ie[bt])}function Z(K){if("string"==typeof K)return K;if(Array.isArray(K))return`[${K.map(Z).join(", ")}]`;if(null==K)return""+K;const Ie=K.overriddenName||K.name;if(Ie)return`${Ie}`;const bt=K.toString();if(null==bt)return""+bt;const an=bt.indexOf("\n");return an>=0?bt.slice(0,an):bt}function Ee(K,Ie){return K?Ie?`${K} ${Ie}`:K:Ie||""}const j=w({__forward_ref__:w});function te(K){return K.__forward_ref__=te,K}function ce(K){return ye(K)?K():K}function ye(K){return"function"==typeof K&&K.hasOwnProperty(j)&&K.__forward_ref__===te}function Le(K,Ie){"number"!=typeof K&&G(Ie,typeof K,"number","===")}function $e(K,Ie,bt){Le(K,"Expected a number"),function et(K,Ie,bt){K<=Ie||G(bt,K,Ie,"<=")}(K,bt,"Expected number to be less than or equal to"),ve(K,Ie,"Expected number to be greater than or equal to")}function Tt(K,Ie){"string"!=typeof K&&G(Ie,null===K?"null":typeof K,"string","===")}function We(K,Ie){"function"!=typeof K&&G(Ie,null===K?"null":typeof K,"function","===")}function Me(K,Ie,bt){K!=Ie&&G(bt,K,Ie,"==")}function ut(K,Ie,bt){K==Ie&&G(bt,K,Ie,"!=")}function xe(K,Ie,bt){K!==Ie&&G(bt,K,Ie,"===")}function Te(K,Ie,bt){K===Ie&&G(bt,K,Ie,"!==")}function Ce(K,Ie,bt){K<Ie||G(bt,K,Ie,"<")}function he(K,Ie,bt){K>Ie||G(bt,K,Ie,">")}function ve(K,Ie,bt){K>=Ie||G(bt,K,Ie,">=")}function de(K,Ie){null==K&&G(Ie,K,null,"!=")}function G(K,Ie,bt,an){throw new Error(`ASSERTION ERROR: ${K}`+(null==an?"":` [Expected=> ${bt} ${an} ${Ie} <=Actual]`))}function Fe(K){K instanceof Node||G(`The provided value must be an instance of a DOM Node but got ${Z(K)}`)}function He(K){K instanceof Element||G(`The provided value must be an element but got ${Z(K)}`)}function wt(K,Ie){de(K,"Array must be defined.");const bt=K.length;(Ie<0||Ie>=bt)&&G(`Index expected to be less than ${bt} but got ${Ie}`)}function Jt(K,...Ie){if(-1!==Ie.indexOf(K))return!0;G(`Expected value to be one of ${JSON.stringify(Ie)} but was ${JSON.stringify(K)}.`)}function ee(K){null!==(0,m.nR)()&&G(`${K}() should never be called in a reactive context.`)}function V(K){return{token:K.token,providedIn:K.providedIn||null,factory:K.factory,value:void 0}}function ue(K){return{providers:K.providers||[],imports:K.imports||[]}}function De(K){return function It(K,Ie){return K.hasOwnProperty(Ie)&&K[Ie]||null}(K,ze)}function rt(K){return null!==De(K)}function Ht(K){return K&&K.hasOwnProperty(Mt)?K[Mt]:null}const ze=w({\u0275prov:w}),Mt=w({\u0275inj:w});class Pt{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(Ie,bt){this._desc=Ie,this.\u0275prov=void 0,"number"==typeof bt?this.__NG_ELEMENT_ID__=bt:void 0!==bt&&(this.\u0275prov=V({token:this,providedIn:bt.providedIn||"root",factory:bt.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let bn;function Tn(){return G("getInjectorProfilerContext should never be called in production mode"),bn}function Lt(K){G("setInjectorProfilerContext should never be called in production mode");const Ie=bn;return bn=K,Ie}const _e=[],Y=()=>{};function Et(K){return G("setInjectorProfiler should never be called in production mode"),null!==K?(_e.includes(K)||_e.push(K),()=>function fe(K){const Ie=_e.indexOf(K);-1!==Ie&&_e.splice(Ie,1)}(K)):(_e.length=0,Y)}function Vt(K){G("Injector profiler should never be called in production mode");for(let Ie=0;Ie<_e.length;Ie++){(0,_e[Ie])(K)}}function ln(K,Ie=!1){let bt;G("Injector profiler should never be called in production mode"),bt="function"==typeof K||K instanceof Pt?K:ce(K.provide);let an=K;K instanceof Pt&&(an=K.\u0275prov||K),Vt({type:2,context:Tn(),providerRecord:{token:bt,provider:an,isViewProvider:Ie}})}function fn(K){G("Injector profiler should never be called in production mode"),Vt({type:5,context:Tn(),token:K})}function je(K){G("Injector profiler should never be called in production mode"),Vt({type:1,context:Tn(),instance:{value:K}})}function _t(K,Ie,bt){G("Injector profiler should never be called in production mode"),Vt({type:0,context:Tn(),service:{token:K,value:Ie,flags:bt}})}function lt(K){G("Injector profiler should never be called in production mode"),Vt({type:4,context:Tn(),effectPhase:K})}function Oe(K,Ie,bt){G("runInInjectorProfilerContext should never be called in production mode");const an=Lt({injector:K,token:Ie});try{bt()}finally{Lt(an)}}function at(K){return K&&!!K.\u0275providers}const Q=w({\u0275cmp:w}),Ae=w({\u0275dir:w}),Qe=w({\u0275pipe:w}),kt=w({\u0275mod:w}),cn=w({\u0275fac:w}),mn=w({__NG_ELEMENT_ID__:w}),Jn=w({__NG_ENV_ID__:w});function Ti(K){return Yn(K,"@NgModule"),K[kt]||null}function $i(K){const Ie=Ti(K);if(!Ie)throw new F(915,!1);return Ie}function Ei(K){return Yn(K,"@Component"),K[Q]||null}function ui(K){const Ie=sr(K);if(!Ie)throw new F(916,!1);return Ie}function sr(K){return Yn(K,"@Directive"),K[Ae]||null}function pr(K){return Yn(K,"@Pipe"),K[Qe]||null}function Yn(K,Ie){if(null==K)throw new F(-919,!1)}function Yt(K){const Ie=Ei(K)||sr(K)||pr(K);return null!==Ie&&Ie.standalone}function wn(K){return"string"==typeof K?K:null==K?"":String(K)}function zn(K){return"function"==typeof K?K.name||K.toString():"object"==typeof K&&null!=K&&"function"==typeof K.type?K.type.name||K.type.toString():wn(K)}function Qn(K){const Ie=Ei(K);return null!==Ie&&Ie.debugInfo?function pi(K){return K.filePath&&K.lineNumber?`${K.className} (at ${K.filePath}:${K.lineNumber})`:K.className}(Ie.debugInfo):zn(K)}const Mr=w({ngErrorCode:w}),Fr=w({ngErrorMessage:w}),co=w({ngTokenPath:w});function lo(K,Ie){return Qi("",-200,Ie)}function to(K,Ie){return function wr(K,Ie){const bt=K[co],an=K[Mr],Cn=K[Fr]||K.message;return K.message=function Ar(K,Ie,bt=[],an=null){let Cn="";bt&&bt.length>1&&(Cn=` Path: ${bt.join(" -> ")}.`);const ri=an?` Source: ${an}.`:"";return E(Ie,`${K}${ri}${Cn}`)}(Cn,an,bt,Ie),K}(lo(0,Ie),null)}function qr(K,Ie){throw new F(-201,!1)}function Qi(K,Ie,bt){const an=new F(Ie,K);return an[Mr]=Ie,an[Fr]=K,bt&&(an[co]=bt),an}let zt;function pt(){return zt}function Bt(K){const Ie=zt;return zt=K,Ie}function _n(K,Ie,bt){const an=De(K);return an&&"root"==an.providedIn?void 0===an.value?an.value=an.factory():an.value:8&bt?null:void 0!==Ie?Ie:void qr()}function Kn(K){}const pn=globalThis;function Mi(){return!1}const hr={},wi="__NG_DI_FLAG__";class Ki{injector;constructor(Ie){this.injector=Ie}retrieve(Ie,bt){const an=ft(bt)||0;try{return this.injector.get(Ie,8&an?null:hr,an)}catch(Cn){if(x(Cn))return Cn;throw Cn}}}function vo(K,Ie=0){const bt=f();if(void 0===bt)throw new F(-203,!1);if(null===bt)return _n(K,void 0,Ie);{const an=function Ot(K){return{optional:!!(8&K),host:!!(1&K),self:!!(2&K),skipSelf:!!(4&K)}}(Ie),Cn=bt.retrieve(K,an);if(x(Cn)){if(an.optional)return null;throw Cn}return Cn}}function Gi(K,Ie=0){return(pt()||vo)(ce(K),Ie)}function Ze(K){throw new F(202,!1)}function tt(K,Ie){return Gi(K,ft(Ie))}function ft(K){return typeof K>"u"||"number"==typeof K?K:0|(K.optional&&8)|(K.host&&1)|(K.self&&2)|(K.skipSelf&&4)}function sn(K){const Ie=[];for(let bt=0;bt<K.length;bt++){const an=ce(K[bt]);if(Array.isArray(an)){if(0===an.length)throw new F(900,!1);let Cn,ri=0;for(let gi=0;gi<an.length;gi++){const Qr=an[gi],Zr=In(Qr);"number"==typeof Zr?-1===Zr?Cn=Qr.token:ri|=Zr:Cn=Qr}Ie.push(Gi(Cn,ri))}else Ie.push(Gi(an))}return Ie}function kn(K,Ie){return K[wi]=Ie,K.prototype[wi]=Ie,K}function In(K){return K[wi]}function ti(K,Ie){return K.hasOwnProperty(cn)?K[cn]:null}function Yi(K,Ie,bt){if(K.length!==Ie.length)return!1;for(let an=0;an<K.length;an++){let Cn=K[an],ri=Ie[an];if(bt&&(Cn=bt(Cn),ri=bt(ri)),ri!==Cn)return!1}return!0}function tr(K){return K.flat(Number.POSITIVE_INFINITY)}function qi(K,Ie){K.forEach(bt=>Array.isArray(bt)?qi(bt,Ie):Ie(bt))}function Xn(K,Ie,bt){Ie>=K.length?K.push(bt):K.splice(Ie,0,bt)}function Nn(K,Ie){return Ie>=K.length-1?K.pop():K.splice(Ie,1)[0]}function Tr(K,Ie){const bt=[];for(let an=0;an<K;an++)bt.push(Ie);return bt}function ur(K,Ie,bt){const an=K.length-bt;for(;Ie<an;)K[Ie]=K[Ie+bt],Ie++;for(;bt--;)K.pop()}function Or(K,Ie,bt,an){let Cn=K.length;if(Cn==Ie)K.push(bt,an);else if(1===Cn)K.push(an,K[0]),K[0]=bt;else{for(Cn--,K.push(K[Cn-1],K[Cn]);Cn>Ie;){const ri=Cn-2;K[Cn]=K[ri],Cn--}K[Ie]=bt,K[Ie+1]=an}}function Pr(K,Ie,bt){let an=ir(K,Ie);return an>=0?K[1|an]=bt:(an=~an,Or(K,an,Ie,bt)),an}function Fi(K,Ie){const bt=ir(K,Ie);if(bt>=0)return K[1|bt]}function ir(K,Ie){return function ts(K,Ie,bt){let an=0,Cn=K.length>>bt;for(;Cn!==an;){const ri=an+(Cn-an>>1),gi=K[ri<<bt];if(Ie===gi)return ri<<bt;gi>Ie?Cn=ri:an=ri+1}return~(Cn<<bt)}(K,Ie,1)}const Vr={},Er=[],Di=new Pt(""),oo=new Pt("",-1),yo=new Pt("");class $t{get(Ie,bt=hr){if(bt===hr){const Cn=Qi("",-201);throw Cn.name="\u0275NotFound",Cn}return bt}}function cs(K){return{\u0275providers:K}}function St(...K){return{\u0275providers:Pe(!0,K),\u0275fromNgModule:!0}}function Pe(K,...Ie){const bt=[],an=new Set;let Cn;const ri=gi=>{bt.push(gi)};return qi(Ie,gi=>{const Qr=gi;rn(Qr,ri,[],an)&&(Cn||=[],Cn.push(Qr))}),void 0!==Cn&&xt(Cn,ri),bt}function xt(K,Ie){for(let bt=0;bt<K.length;bt++){const{ngModule:an,providers:Cn}=K[bt];ni(Cn,ri=>{Ie(ri,an)})}}function rn(K,Ie,bt,an){if(!(K=ce(K)))return!1;let Cn=null,ri=Ht(K);const gi=!ri&&Ei(K);if(ri||gi){if(gi&&!gi.standalone)return!1;Cn=K}else{const Zr=K.ngModule;if(ri=Ht(Zr),!ri)return!1;Cn=Zr}const Qr=an.has(Cn);if(gi){if(Qr)return!1;if(an.add(Cn),gi.dependencies){const Zr="function"==typeof gi.dependencies?gi.dependencies():gi.dependencies;for(const Fo of Zr)rn(Fo,Ie,bt,an)}}else{if(!ri)return!1;{if(null!=ri.imports&&!Qr){let Fo;an.add(Cn),qi(ri.imports,Sc=>{rn(Sc,Ie,bt,an)&&(Fo||=[],Fo.push(Sc))}),void 0!==Fo&&xt(Fo,Ie)}if(!Qr){const Fo=ti(Cn)||(()=>new Cn);Ie({provide:Cn,useFactory:Fo,deps:Er},Cn),Ie({provide:yo,useValue:Cn,multi:!0},Cn),Ie({provide:Di,useValue:()=>Gi(Cn),multi:!0},Cn)}const Zr=ri.providers;if(null!=Zr&&!Qr){const Fo=K;ni(Zr,Sc=>{Ie(Sc,Fo)})}}}return Cn!==K&&void 0!==K.providers}function ni(K,Ie){for(let bt of K)at(bt)&&(bt=bt.\u0275providers),Array.isArray(bt)?ni(bt,Ie):Ie(bt)}const Sn=w({provide:String,useValue:w});function Wn(K){return null!==K&&"object"==typeof K&&Sn in K}function Ui(K){return!(!K||!K.useExisting)}function Xr(K){return!(!K||!K.useFactory)}function jt(K){return"function"==typeof K}function yt(K){return!!K.useClass}const mo=new Pt(""),no={},bo={};let ra;function ns(){return void 0===ra&&(ra=new $t),ra}class xo{}class po extends xo{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(Ie,bt,an,Cn){super(),this.parent=bt,this.source=an,this.scopes=Cn,Ps(Ie,gi=>this.processProvider(gi)),this.records.set(oo,jo(void 0,this)),Cn.has("environment")&&this.records.set(xo,jo(void 0,this));const ri=this.records.get(mo);null!=ri&&"string"==typeof ri.value&&this.scopes.add(ri.value),this.injectorDefTypes=new Set(this.get(yo,Er,{self:!0}))}retrieve(Ie,bt){const an=ft(bt)||0;try{return this.get(Ie,hr,an)}catch(Cn){if(x(Cn))return Cn;throw Cn}}destroy(){Co(this),this._destroyed=!0;const Ie=(0,m.Ht)(null);try{for(const an of this._ngOnDestroyHooks)an.ngOnDestroy();const bt=this._onDestroyHooks;this._onDestroyHooks=[];for(const an of bt)an()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),(0,m.Ht)(Ie)}}onDestroy(Ie){return Co(this),this._onDestroyHooks.push(Ie),()=>this.removeOnDestroy(Ie)}runInContext(Ie){Co(this);const bt=P(this),an=Bt(void 0);try{return Ie()}finally{P(bt),Bt(an)}}get(Ie,bt=hr,an){if(Co(this),Ie.hasOwnProperty(Jn))return Ie[Jn](this);const Cn=ft(an);const gi=P(this),Qr=Bt(void 0);try{if(!(4&Cn)){let Fo=this.records.get(Ie);if(void 0===Fo){const Sc=function Os(K){return"function"==typeof K||"object"==typeof K&&"InjectionToken"===K.ngMetadataName}(Ie)&&De(Ie);Fo=Sc&&this.injectableDefInScope(Sc)?jo(Eo(Ie),no):null,this.records.set(Ie,Fo)}if(null!=Fo)return this.hydrate(Ie,Fo,Cn)}const Zr=2&Cn?ns():this.parent;return bt=8&Cn&&bt===hr?null:bt,Zr.get(Ie,bt)}catch(Zr){const Fo=function Cr(K){return K[Mr]}(Zr);throw-200===Fo||-201===Fo?new F(Fo,null):Zr}finally{Bt(Qr),P(gi)}}resolveInjectorInitializers(){const Ie=(0,m.Ht)(null),bt=P(this),an=Bt(void 0);try{const ri=this.get(Di,Er,{self:!0});for(const gi of ri)gi()}finally{P(bt),Bt(an),(0,m.Ht)(Ie)}}toString(){return"R3Injector[...]"}processProvider(Ie){let bt=jt(Ie=ce(Ie))?Ie:ce(Ie&&Ie.provide);const an=function is(K){if(Wn(K))return jo(void 0,K.useValue);return jo(Ro(K),no)}(Ie);if(!jt(Ie)&&!0===Ie.multi){let Cn=this.records.get(bt);Cn||(Cn=jo(void 0,no,!0),Cn.factory=()=>sn(Cn.multi),this.records.set(bt,Cn)),bt=Ie,Cn.multi.push(Ie)}this.records.set(bt,an)}hydrate(Ie,bt,an){const Cn=(0,m.Ht)(null);try{if(bt.value===bo)throw lo();return bt.value===no&&(bt.value=bo,bt.value=bt.factory(void 0,an)),"object"==typeof bt.value&&bt.value&&function ec(K){return null!==K&&"object"==typeof K&&"function"==typeof K.ngOnDestroy}(bt.value)&&this._ngOnDestroyHooks.add(bt.value),bt.value}finally{(0,m.Ht)(Cn)}}injectableDefInScope(Ie){if(!Ie.providedIn)return!1;const bt=ce(Ie.providedIn);return"string"==typeof bt?"any"===bt||this.scopes.has(bt):this.injectorDefTypes.has(bt)}removeOnDestroy(Ie){const bt=this._onDestroyHooks.indexOf(Ie);-1!==bt&&this._onDestroyHooks.splice(bt,1)}}function Eo(K){const Ie=De(K),bt=null!==Ie?Ie.factory:ti(K);if(null!==bt)return bt;if(K instanceof Pt)throw new F(-204,!1);if(K instanceof Function)return function Do(K){if(K.length>0)throw new F(-204,!1);const bt=function Kt(K){return(K?.[ze]??null)||null}(K);return null!==bt?()=>bt.factory(K):()=>new K}(K);throw new F(-204,!1)}function Ro(K,Ie,bt){let an;if(jt(K)){const Cn=ce(K);return ti(Cn)||Eo(Cn)}if(Wn(K))an=()=>ce(K.useValue);else if(Xr(K))an=()=>K.useFactory(...sn(K.deps||[]));else if(Ui(K))an=(Cn,ri)=>Gi(ce(K.useExisting),void 0!==ri&&8&ri?8:void 0);else{const Cn=ce(K&&(K.useClass||K.provide));if(!function hs(K){return!!K.deps}(K))return ti(Cn)||Eo(Cn);an=()=>new Cn(...sn(K.deps))}return an}function Co(K){if(K.destroyed)throw new F(-205,!1)}function jo(K,Ie,bt=!1){return{factory:K,value:Ie,multi:bt?[]:void 0}}function Ps(K,Ie){for(const bt of K)Array.isArray(bt)?Ps(bt,Ie):bt&&at(bt)?Ps(bt.\u0275providers,Ie):Ie(bt)}function vs(K,Ie){let bt;K instanceof po?(Co(K),bt=K):bt=new Ki(K);const Cn=P(bt),ri=Bt(void 0);try{return Ie()}finally{P(Cn),Bt(ri)}}function Cs(){return void 0!==pt()||null!=f()}function Rr(K){if(!Cs())throw new F(-203,!1)}function Zt(K){return Array.isArray(K)&&"object"==typeof K[1]}function tn(K){return Array.isArray(K)&&!0===K[1]}function xn(K){return!!(4&K.flags)}function On(K){return K.componentOffset>-1}function hi(K){return!(1&~K.flags)}function yi(K){return!!K.template}function cr(K){return!!(512&K[2])}function Se(K){return!(256&~K[2])}function dt(K,Ie){fi(K,Ie[1])}function En(K,Ie){const bt=Ie+27;wt(K,bt),Ce(bt,K[1].bindingStartIndex,"TNodes should be created before any bindings")}function fi(K,Ie){fr(K);const bt=Ie.data;for(let an=27;an<bt.length;an++)if(bt[an]===K)return;G("This TNode does not belong to this TView.")}function fr(K){de(K,"TNode must be defined"),K&&"object"==typeof K&&K.hasOwnProperty("directiveStylingLast")||G("Not of type TNode, got: "+K)}function nr(K){de(K,"Expected TIcu to be defined"),"number"!=typeof K.currentCaseLViewIndex&&G("Object is not of TIcu type.")}function ds(K,Ie="Type passed in is not NgModuleType, it does not have '\u0275mod' property."){Ti(K)||G(Ie)}function Xs(K){de(K,"currentTNode should exist!"),de(K.parent,"currentTNode should have a parent")}function Ho(K){de(K,"LContainer must be defined"),Me(tn(K),!0,"Expecting LContainer")}function Bo(K){de(K,"LView must be defined"),Me(Zt(K),!0,"Expecting LView")}function Fs(K,Ie){Me(K.firstCreatePass,!0,Ie||"Should only be called in first create pass.")}function Qs(K,Ie){Me(K.firstUpdatePass,!0,"Should only be called in first update pass.")}function hn(K){(void 0===K.type||null==K.selectors||void 0===K.inputs)&&G("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}function Hn(K,Ie){bi(27,K.bindingStartIndex,Ie)}function Rn(K,Ie){bi(K[1].expandoStartIndex,K.length,Ie)}function bi(K,Ie,bt){K<=bt&&bt<Ie||G(`Index out of range (expecting ${K} <= ${bt} < ${Ie})`)}function Zn(K,Ie){de(K[15],"Component views should exist."),de(K[15][5].projection,"Components with projection nodes (<ng-content>) must have projection slots defined.")}function ci(K,Ie){de(K,"Component views should always have a parent view (component's host view)")}function Pi(K,Ie){Rn(K,Ie),Rn(K,Ie+8),Le(K[Ie+0],"injectorIndex should point to a bloom filter"),Le(K[Ie+1],"injectorIndex should point to a bloom filter"),Le(K[Ie+2],"injectorIndex should point to a bloom filter"),Le(K[Ie+3],"injectorIndex should point to a bloom filter"),Le(K[Ie+4],"injectorIndex should point to a bloom filter"),Le(K[Ie+5],"injectorIndex should point to a bloom filter"),Le(K[Ie+6],"injectorIndex should point to a bloom filter"),Le(K[Ie+7],"injectorIndex should point to a bloom filter"),Le(K[Ie+8],"injectorIndex should point to parent injector")}var ki,K;let go;(K=ki||(ki={}))[K.NONE=0]="NONE",K[K.HTML=1]="HTML",K[K.STYLE=2]="STYLE",K[K.SCRIPT=3]="SCRIPT",K[K.URL=4]="URL",K[K.RESOURCE_URL=5]="RESOURCE_URL",K[K.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING";const At=()=>Object.create(null);function gn(K,Ie,bt){const an=Ie??"";for(const[Cn,ri]of bt){const gi=Cn.toLowerCase();for(const Qr of ri){const Zr=Qr.toLowerCase(),Fo=go[Zr]??=At();(Fo[an]??=At())[gi]=K}}}function An(K,Ie,bt){const Cn=function Xt(){return go||(go=At(),gn(ki.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),gn(ki.STYLE,void 0,[["*",["style"]]]),gn(ki.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),gn(ki.URL,"math",[["*",["href","xlink:href"]]]),gn(ki.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),gn(ki.URL,"svg",[["a",["href","xlink:href"]]]),gn(ki.ATTRIBUTE_NO_BINDING,"svg",[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),gn(ki.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]]]),go)}()[Ie.toLowerCase()];if(!Cn)return ki.NONE;const ri=K.toLowerCase();let gi;if(bt){const Qr=Cn[bt];Qr&&(gi=Qr[ri]??Qr["*"])}if(void 0===gi){const Qr=Cn[""];Qr&&(gi=Qr[ri]??Qr["*"])}return gi??ki.NONE}function Ri(K){for(;Array.isArray(K);)K=K[0];return K}function er(K){for(;Array.isArray(K);){if("object"==typeof K[1])return K;K=K[0]}return null}function Zi(K,Ie){return Ri(Ie[K])}function Oo(K,Ie){return Ri(Ie[K.index])}function ka(K,Ie){const bt=null===K?-1:K.index;return-1!==bt?Ri(Ie[bt]):null}function ji(K,Ie){return K.data[Ie]}function Kc(K,Ie){return K[Ie]}function Qo(K,Ie,bt,an){bt>=K.data.length&&(K.data[bt]=null,K.blueprint[bt]=null),Ie[bt]=an}function ko(K,Ie){const bt=Ie[K];return Zt(bt)?bt:bt[0]}function Gl(K){return!(4&~K[2])}function qs(K){return!(128&~K[2])}function Mc(K){return tn(K[3])}function Ac(K,Ie){return null==Ie?null:K[Ie]}function Ts(K){K[17]=0}function ba(K){1024&K[2]||(K[2]|=1024,qs(K)&&nc(K))}function Ys(K,Ie){for(;K>0;)Ie=Ie[14],K--;return Ie}function aa(K){return!!(9216&K[2]||K[24]?.dirty)}function ol(K){K[10].changeDetectionScheduler?.notify(8),64&K[2]&&(K[2]|=1024),aa(K)&&nc(K)}function nc(K){K[10].changeDetectionScheduler?.notify(0);let Ie=Oa(K);for(;null!==Ie&&!(8192&Ie[2])&&(Ie[2]|=8192,qs(Ie));)Ie=Oa(Ie)}function za(K,Ie){if(Se(K))throw new F(911,!1);null===K[21]&&(K[21]=[]),K[21].push(Ie)}function io(K,Ie){if(null===K[21])return;const bt=K[21].indexOf(Ie);-1!==bt&&K[21].splice(bt,1)}function Oa(K){const Ie=K[3];return tn(Ie)?Ie[3]:Ie}function vc(K){return K[7]??=[]}function cu(K){return K.cleanup??=[]}function nd(K,Ie,bt,an){const Cn=vc(Ie);Cn.push(bt),K.firstCreatePass&&cu(K).push(an,Cn.length-1)}const _r={lFrame:lu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Xl;!function(K){K[K.Off=0]="Off",K[K.Exhaustive=1]="Exhaustive",K[K.OnlyDirtyViews=2]="OnlyDirtyViews"}(Xl||(Xl={}));let Tl=0,qo=!1;function Ea(){return _r.lFrame.elementDepthCount}function ss(){_r.lFrame.elementDepthCount++}function Nd(){_r.lFrame.elementDepthCount--}function Oc(){return _r.bindingsEnabled}function yc(){return null!==_r.skipHydrationRootTNode}function ic(K){return _r.skipHydrationRootTNode===K}function bc(){_r.bindingsEnabled=!0}function Gc(){_r.bindingsEnabled=!1}function le(){_r.skipHydrationRootTNode=null}function z(){return _r.lFrame.lView}function ne(){return _r.lFrame.tView}function Ne(K){return _r.lFrame.contextLView=K,K[8]}function Ye(K){return _r.lFrame.contextLView=null,K}function Nt(){let K=en();for(;null!==K&&64===K.type;)K=K.parent;return K}function en(){return _r.lFrame.currentTNode}function Wt(){const K=_r.lFrame,Ie=K.currentTNode;return K.isParent?Ie:Ie.parent}function Vn(K,Ie){const bt=_r.lFrame;bt.currentTNode=K,bt.isParent=Ie}function si(){return _r.lFrame.isParent}function Ci(){_r.lFrame.isParent=!1}function Sr(){return _r.lFrame.contextLView}function mt(){return G("Must never be called in production mode"),Tl!==Xl.Off}function ca(){return G("Must never be called in production mode"),Tl===Xl.Exhaustive}function Ia(K){G("Must never be called in production mode"),Tl=K}function Gr(){return qo}function Nr(K){const Ie=qo;return qo=K,Ie}function Lr(){const K=_r.lFrame;let Ie=K.bindingRootIndex;return-1===Ie&&(Ie=K.bindingRootIndex=K.tView.bindingStartIndex),Ie}function Zs(){return _r.lFrame.bindingIndex}function Pa(K){return _r.lFrame.bindingIndex=K}function ws(){return _r.lFrame.bindingIndex++}function Au(K){const Ie=_r.lFrame,bt=Ie.bindingIndex;return Ie.bindingIndex=Ie.bindingIndex+K,bt}function Ec(){return _r.lFrame.inI18n}function Xc(K){_r.lFrame.inI18n=K}function kl(K,Ie){const bt=_r.lFrame;bt.bindingIndex=bt.bindingRootIndex=K,rc(Ie)}function Qc(){return _r.lFrame.currentDirectiveIndex}function rc(K){_r.lFrame.currentDirectiveIndex=K}function Sp(K){const Ie=_r.lFrame.currentDirectiveIndex;return-1===Ie?null:K[Ie]}function Og(){return _r.lFrame.currentQueryIndex}function Oh(K){_r.lFrame.currentQueryIndex=K}function Gf(K){const Ie=K[1];return 2===Ie.type?Ie.declTNode:1===Ie.type?K[5]:null}function xp(K,Ie,bt){if(4&bt){let Cn=Ie,ri=K;for(;(Cn=Cn.parent,null===Cn&&!(1&bt))&&(Cn=Gf(ri),!(null===Cn||(ri=ri[14],10&Cn.type))););if(null===Cn)return!1;Ie=Cn,K=ri}const an=_r.lFrame=Dp();return an.currentTNode=Ie,an.lView=K,!0}function Il(K){const Ie=Dp(),bt=K[1];_r.lFrame=Ie,Ie.currentTNode=bt.firstChild,Ie.lView=K,Ie.tView=bt,Ie.contextLView=K,Ie.bindingIndex=bt.bindingStartIndex,Ie.inI18n=!1}function Dp(){const K=_r.lFrame,Ie=null===K?null:K.child;return null===Ie?lu(K):Ie}function lu(K){const Ie={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:K,child:null,inI18n:!1};return null!==K&&(K.child=Ie),Ie}function Ou(){const K=_r.lFrame;return _r.lFrame=K.parent,K.currentTNode=null,K.lView=null,K}const uu=Ou;function vr(){const K=Ou();K.isParent=!0,K.tView=null,K.selectedIndex=-1,K.contextLView=null,K.elementDepthCount=0,K.currentDirectiveIndex=-1,K.currentNamespace=null,K.bindingRootIndex=-1,K.bindingIndex=-1,K.currentQueryIndex=0}function Yr(K){return(_r.lFrame.contextLView=Ys(K,_r.lFrame.contextLView))[8]}function _o(){return _r.lFrame.selectedIndex}function Ph(K){_r.lFrame.selectedIndex=K}function oc(){const K=_r.lFrame;return ji(K.tView,K.selectedIndex)}function Rh(){_r.lFrame.currentNamespace="svg"}function Cp(){_r.lFrame.currentNamespace="math"}function Xf(){!function du(){_r.lFrame.currentNamespace=null}()}function pu(){return _r.lFrame.currentNamespace}let Tp=!0;function kp(){return Tp}function Qf(K){Tp=K}function Nh(){let K,Ie;return{promise:new Promise((an,Cn)=>{K=an,Ie=Cn}),resolve:K,reject:Ie}}function id(K,Ie=null,bt=null,an){const Cn=Pu(K,Ie,bt,an);return Cn.resolveInjectorInitializers(),Cn}function Pu(K,Ie=null,bt=null,an,Cn=new Set){const ri=[bt||Er,St(K)];return new po(ri,Ie||ns(),null,Cn)}const Ql=new Set;function Ip(K){}function Mp(){return Ql}class hu{static THROW_IF_NOT_FOUND=hr;static NULL=new $t;static create(Ie,bt){if(Array.isArray(Ie))return id({name:""},bt,Ie,"");{const an=Ie.name??"";return id({name:an},Ie.parent,Ie.providers,an)}}static \u0275prov=V({token:hu,providedIn:"any",factory:()=>Gi(oo)});static __NG_ELEMENT_ID__=-1}const Ra=new Pt("");class Ml{static __NG_ELEMENT_ID__=Na;static __NG_ENV_ID__=Ie=>Ie}class Js extends Ml{_lView;constructor(Ie){super(),this._lView=Ie}get destroyed(){return Se(this._lView)}onDestroy(Ie){const bt=this._lView;return za(bt,Ie),()=>io(bt,Ie)}}function Na(){return new Js(z())}const Ru=!1,fu=new Pt("");class la{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new N.t(!1);debugTaskTracker=tt(fu,{optional:!0});get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new M.c(Ie=>{Ie.next(!1),Ie.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const Ie=this.taskId++;return this.pendingTasks.add(Ie),this.debugTaskTracker?.add(Ie),Ie}has(Ie){return this.pendingTasks.has(Ie)}remove(Ie){this.pendingTasks.delete(Ie),this.debugTaskTracker?.remove(Ie),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=V({token:la,providedIn:"root",factory:()=>new la})}class Al extends U.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(Ie=!1){super(),this.__isAsync=Ie,Cs()&&(this.destroyRef=tt(Ml,{optional:!0})??void 0,this.pendingTasks=tt(la,{optional:!0})??void 0)}emit(Ie){const bt=(0,m.Ht)(null);try{super.next(Ie)}finally{(0,m.Ht)(bt)}}subscribe(Ie,bt,an){let Cn=Ie,ri=bt||(()=>null),gi=an;if(Ie&&"object"==typeof Ie){const Zr=Ie;Cn=Zr.next?.bind(Zr),ri=Zr.error?.bind(Zr),gi=Zr.complete?.bind(Zr)}this.__isAsync&&(ri=this.wrapInTimeout(ri),Cn&&(Cn=this.wrapInTimeout(Cn)),gi&&(gi=this.wrapInTimeout(gi)));const Qr=super.subscribe({next:Cn,error:ri,complete:gi});return Ie instanceof J.yU&&Ie.add(Qr),Qr}wrapInTimeout(Ie){return bt=>{const an=this.pendingTasks?.add();setTimeout(()=>{try{Ie(bt)}finally{void 0!==an&&this.pendingTasks?.remove(an)}})}}}const ua=Al;function da(...K){}function Ld(K){let Ie,bt;function an(){K=da;try{void 0!==bt&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(bt),void 0!==Ie&&clearTimeout(Ie)}catch{}}return Ie=setTimeout(()=>{K(),an()}),"function"==typeof requestAnimationFrame&&(bt=requestAnimationFrame(()=>{K(),an()})),()=>an()}function zo(K){return queueMicrotask(()=>K()),()=>{K=da}}const Je="isAngularZone",ge=Je+"_ID";let Xe=0;class Ft{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ua(!1);onMicrotaskEmpty=new ua(!1);onStable=new ua(!1);onError=new ua(!1);constructor(Ie){const{enableLongStackTrace:bt=!1,shouldCoalesceEventChangeDetection:an=!1,shouldCoalesceRunChangeDetection:Cn=!1,scheduleInRootZone:ri=Ru}=Ie;if(typeof Zone>"u")throw new F(908,!1);Zone.assertZonePatched();const gi=this;gi._nesting=0,gi._outer=gi._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(gi._inner=gi._inner.fork(new Zone.TaskTrackingZoneSpec)),bt&&Zone.longStackTraceZoneSpec&&(gi._inner=gi._inner.fork(Zone.longStackTraceZoneSpec)),gi.shouldCoalesceEventChangeDetection=!Cn&&an,gi.shouldCoalesceRunChangeDetection=Cn,gi.callbackScheduled=!1,gi.scheduleInRootZone=ri,function li(K){const Ie=()=>{!function Gn(K){if(K.isCheckStableRunning||K.callbackScheduled)return;function Ie(){Ld(()=>{K.callbackScheduled=!1,Ai(K),K.isCheckStableRunning=!0,Fn(K),K.isCheckStableRunning=!1})}K.callbackScheduled=!0,K.scheduleInRootZone?Zone.root.run(()=>{Ie()}):K._outer.run(()=>{Ie()}),Ai(K)}(K)},bt=Xe++;K._inner=K._inner.fork({name:"angular",properties:{[Je]:!0,[ge]:bt,[ge+bt]:!0},onInvokeTask:(an,Cn,ri,gi,Qr,Zr)=>{if(function Po(K){return Is(K,"__ignore_ng_zone__")}(Zr))return an.invokeTask(ri,gi,Qr,Zr);try{return Ni(K),an.invokeTask(ri,gi,Qr,Zr)}finally{(K.shouldCoalesceEventChangeDetection&&"eventTask"===gi.type||K.shouldCoalesceRunChangeDetection)&&Ie(),$r(K)}},onInvoke:(an,Cn,ri,gi,Qr,Zr,Fo)=>{try{return Ni(K),an.invoke(ri,gi,Qr,Zr,Fo)}finally{K.shouldCoalesceRunChangeDetection&&!K.callbackScheduled&&!function fs(K){return Is(K,"__scheduler_tick__")}(Zr)&&Ie(),$r(K)}},onHasTask:(an,Cn,ri,gi)=>{an.hasTask(ri,gi),Cn===ri&&("microTask"==gi.change?(K._hasPendingMicrotasks=gi.microTask,Ai(K),Fn(K)):"macroTask"==gi.change&&(K.hasPendingMacrotasks=gi.macroTask))},onHandleError:(an,Cn,ri,gi)=>(an.handleError(ri,gi),K.runOutsideAngular(()=>K.onError.emit(gi)),!1)})}(gi)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Je)}static assertInAngularZone(){if(!Ft.isInAngularZone())throw new F(909,!1)}static assertNotInAngularZone(){if(Ft.isInAngularZone())throw new F(909,!1)}run(Ie,bt,an){return this._inner.run(Ie,bt,an)}runTask(Ie,bt,an,Cn){const ri=this._inner,gi=ri.scheduleEventTask("NgZoneEvent: "+Cn,Ie,dn,da,da);try{return ri.runTask(gi,bt,an)}finally{ri.cancelTask(gi)}}runGuarded(Ie,bt,an){return this._inner.runGuarded(Ie,bt,an)}runOutsideAngular(Ie){return this._outer.run(Ie)}}const dn={};function Fn(K){if(0==K._nesting&&!K.hasPendingMicrotasks&&!K.isStable)try{K._nesting++,K.onMicrotaskEmpty.emit(null)}finally{if(K._nesting--,!K.hasPendingMicrotasks)try{K.runOutsideAngular(()=>K.onStable.emit(null))}finally{K.isStable=!0}}}function Ai(K){K._hasPendingMicrotasks||(K.shouldCoalesceEventChangeDetection||K.shouldCoalesceRunChangeDetection)&&!0===K.callbackScheduled?K.hasPendingMicrotasks=!0:K.hasPendingMicrotasks=!1}function Ni(K){K._nesting++,K.isStable&&(K.isStable=!1,K.onUnstable.emit(null))}function $r(K){K._nesting--,Fn(K)}class rr{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ua;onMicrotaskEmpty=new ua;onStable=new ua;onError=new ua;run(Ie,bt,an){return Ie.apply(bt,an)}runGuarded(Ie,bt,an){return Ie.apply(bt,an)}runOutsideAngular(Ie){return Ie()}runTask(Ie,bt,an,Cn){return Ie.apply(bt,an)}}function Is(K,Ie){return!(!Array.isArray(K)||1!==K.length)&&!0===K[0]?.data?.[Ie]}class Ms{_console=console;handleError(Ie){this._console.error("ERROR",Ie)}}const Ka=new Pt("",{factory:()=>{const K=tt(Ft),Ie=tt(xo);let bt;return an=>{K.runOutsideAngular(()=>{Ie.destroyed&&!bt?setTimeout(()=>{throw an}):(bt??=Ie.get(Ms),bt.handleError(an))})}}}),pa={provide:Di,useValue:()=>{tt(Ms,{optional:!0})},multi:!0};new Pt("",{factory:()=>{const K=tt(Ra).defaultView;if(!K)return;const Ie=tt(Ka),bt=ri=>{Ie(ri.reason),ri.preventDefault()},an=ri=>{ri.error?Ie(ri.error):Ie(new Error(ri.message,{cause:ri})),ri.preventDefault()},Cn=()=>{K.addEventListener("unhandledrejection",bt),K.addEventListener("error",an)};typeof Zone<"u"?Zone.root.run(Cn):Cn(),tt(Ml).onDestroy(()=>{K.removeEventListener("error",an),K.removeEventListener("unhandledrejection",bt)})}});function ha(K,Ie){const[bt,an,Cn]=(0,m.n5)(K,Ie?.equal),ri=bt;ri[m.bh];return ri.set=an,ri.update=Cn,ri.asReadonly=ea.bind(ri),ri}function ea(){const K=this[m.bh];if(void 0===K.readonlyFn){const Ie=()=>this();Ie[m.bh]=K,K.readonlyFn=Ie}return K.readonlyFn}const sc=new Pt("",{factory:()=>mu}),mu="ng",Ga={provide:Di,multi:!0,useValue:()=>{const K=tt(sc);if(!/^[a-zA-Z0-9\-_]+$/.test(K))throw new F(211,`APP_ID value "${K}" is not alphanumeric. The APP_ID must be a string of alphanumeric characters. (a-zA-Z0-9), hyphens (-) and underscores (_) are allowed.`)}},Ap=new Pt(""),Bu=new Pt("",{providedIn:"platform",factory:()=>"unknown"}),wc=new Pt(""),qc=new Pt("",{factory:()=>tt(Ra).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),ac={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},ql=new Pt("",{factory:()=>ac});function wa(K){return K}class Sa{static \u0275prov=V({token:Sa,providedIn:"root",factory:()=>{const Ie=new Sa;return Ie.store=gu(tt(Ra),tt(sc)),Ie}});store={};onSerializeCallbacks={};get(Ie,bt){return void 0!==this.store[Ie]?this.store[Ie]:bt}set(Ie,bt){this.store[Ie]=bt}remove(Ie){delete this.store[Ie]}hasKey(Ie){return this.store.hasOwnProperty(Ie)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(Ie,bt){this.onSerializeCallbacks[Ie]=bt}toJson(){for(const Ie in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(Ie))try{this.store[Ie]=this.onSerializeCallbacks[Ie]()}catch(bt){console.warn("Exception in onSerialize callback: ",bt)}return JSON.stringify(this.store).replace(/</g,"\\u003C").replace(/\//g,"\\u002F")}}function gu(K,Ie){const bt=K.getElementById(Ie+"-state");if("SCRIPT"===bt?.tagName&&bt.textContent)try{return JSON.parse(bt.textContent)}catch(an){console.warn("Exception while restoring TransferState for app "+Ie,an)}return{}}function rd(K,Ie){if(null!==(0,m.nR)())throw new F(-602,!1)}class od{view;node;constructor(Ie,bt){this.view=Ie,this.node=bt}static __NG_ELEMENT_ID__=al}function al(){return new od(z(),Nt())}class cc{}const qf=new Pt("",{factory:()=>!0}),Lh=new Pt("",{factory:()=>!1}),Yf=new Pt("");class cl{static \u0275prov=V({token:cl,providedIn:"root",factory:()=>new ll})}class ll{dirtyEffectCount=0;queues=new Map;add(Ie){this.enqueue(Ie),this.schedule(Ie)}schedule(Ie){Ie.dirty&&this.dirtyEffectCount++}remove(Ie){const bt=Ie.zone,an=this.queues.get(bt);an.has(Ie)&&(an.delete(Ie),Ie.dirty&&this.dirtyEffectCount--)}enqueue(Ie){const bt=Ie.zone;this.queues.has(bt)||this.queues.set(bt,new Set);const an=this.queues.get(bt);an.has(Ie)||an.add(Ie)}flush(){for(;this.dirtyEffectCount>0;){let Ie=!1;for(const[bt,an]of this.queues)Ie||=null===bt?this.flushQueue(an):bt.run(()=>this.flushQueue(an));Ie||(this.dirtyEffectCount=0)}}flushQueue(Ie){let bt=!1;for(const an of Ie)an.dirty&&(this.dirtyEffectCount--,bt=!0,an.run());return bt}}class Ol{[m.bh];constructor(Ie){this[m.bh]=Ie}destroy(){this[m.bh].destroy()}}function ul(K,Ie){const bt=Ie?.injector??tt(hu);let Cn,an=!0!==Ie?.manualCleanup?bt.get(Ml):null;const ri=bt.get(od,null,{optional:!0}),gi=bt.get(cc);return null!==ri?(Cn=function Bh(K,Ie,bt){const an=Object.create(Fu);return an.view=K,an.zone=typeof Zone<"u"?Zone.current:null,an.notifier=Ie,an.fn=Ud(an,bt),K[23]??=new Set,K[23].add(an),an.consumerMarkedDirty(an),an}(ri.view,gi,K),an instanceof Js&&an._lView===ri.view&&(an=null)):Cn=function Fd(K,Ie,bt){const an=Object.create(jr);return an.fn=Ud(an,K),an.scheduler=Ie,an.notifier=bt,an.zone=typeof Zone<"u"?Zone.current:null,an.scheduler.add(an),an.notifier.notify(12),an}(K,bt.get(cl),gi),Cn.injector=bt,null!==an&&(Cn.onDestroyFns=[an.onDestroy(()=>Cn.destroy())]),new Ol(Cn)}const Bd={...m.vX,cleanupFns:void 0,zone:null,onDestroyFns:null,run(){const K=Nr(!1);try{(0,m.lh)(this)}finally{Nr(K)}},cleanup(){if(!this.cleanupFns?.length)return;const K=(0,m.Ht)(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],(0,m.Ht)(K)}}},jr={...Bd,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if((0,m.XR)(this),null!==this.onDestroyFns)for(const K of this.onDestroyFns)K();this.cleanup(),this.scheduler.remove(this)}},Fu={...Bd,consumerMarkedDirty(){this.view[2]|=8192,nc(this.view),this.notifier.notify(13)},destroy(){if((0,m.XR)(this),null!==this.onDestroyFns)for(const K of this.onDestroyFns)K();this.cleanup(),this.view[23]?.delete(this)}};function Ud(K,Ie){return()=>{Ie(bt=>(K.cleanupFns??=[]).push(bt))}}function Fh(K){return"function"==typeof K&&void 0!==K[m.bh]}function Zf(K){return Fh(K)&&"function"==typeof K.set}class Xa{internalPendingTasks=tt(la);scheduler=tt(cc);errorHandler=tt(Ka);add(){const Ie=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(Ie)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(Ie))}}run(Ie){const bt=this.add();try{Ie().catch(this.errorHandler).finally(bt)}catch(an){this.errorHandler(an),bt()}}static \u0275prov=V({token:Xa,providedIn:"root",factory:()=>new Xa})}},10286(st,pe,h){"use strict";h.d(pe,{Zf:()=>T,EW:()=>F,uu:()=>Z,O8:()=>$});h(29293);var s=h(28939),f=h(16925);function P(He,wt,Jt){const ee=Object.create(b);ee.source=He,ee.computation=wt,null!=Jt&&(ee.equal=Jt);const ue=()=>{if((0,f.JC)(ee),(0,f.mK)(ee),ee.value===f.EF)throw ee.error;return ee.value};return ue[f.bh]=ee,(0,f.a7)(ee),ue}function D(He,wt){(0,f.JC)(He),(0,f.j2)(He,wt),(0,f.TO)(He)}const b={...f.pL,value:f.Ag,dirty:!0,error:null,equal:f.H8,kind:"linkedSignal",producerMustRecompute:He=>He.value===f.Ag||He.value===f.Ny,producerRecomputeValue(He){if(He.value===f.Ny)throw new Error("");const wt=He.value;He.value=f.Ny;const Jt=(0,f.Bg)(He);let ee,V=!1;try{const ue=He.source(),De=wt!==f.Ag&&wt!==f.EF,rt=De?{source:He.sourceValue,value:wt}:void 0;ee=He.computation(ue,rt),He.sourceValue=ue,(0,f.Ht)(null),V=De&&ee!==f.EF&&He.equal(wt,ee)}catch(ue){ee=f.EF,He.error=ue}finally{(0,f.Wu)(He,Jt)}V?He.value=wt:(He.value=ee,He.version++)}};class T{destroyed=!1;listeners=null;errorHandler=(0,s.WQX)(s.zcH,{optional:!0});isEmitting=!1;hasNullListeners=!1;destroyRef=(0,s.WQX)(s.abz);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(wt){if(this.destroyed)throw new s.buA(953,!1);return(this.listeners??=[]).push(wt),{unsubscribe:()=>{const Jt=this.listeners?this.listeners.indexOf(wt):-1;Jt>-1&&(this.isEmitting?(this.hasNullListeners=!0,this.listeners[Jt]=null):this.listeners.splice(Jt,1))}}}emit(wt){if(this.destroyed)return void console.warn((0,s.OsK)(953,!1));if(null===this.listeners)return;this.isEmitting=!0;const Jt=(0,f.Ht)(null);try{for(const ee of this.listeners)try{null!==ee&&ee(wt)}catch(V){this.errorHandler?.handleError(V)}}finally{this.hasNullListeners&&(this.hasNullListeners=!1,this.listeners&&function C(He){let wt=He.length-1;for(;wt>-1;)null===He[wt]&&He.splice(wt,1),wt--}(this.listeners)),(0,f.Ht)(Jt),this.isEmitting=!1}}}new s.nKC("");function F(He,wt){return(0,f.KZ)(He,wt?.equal)}function $(He){return function x(He){const wt=(0,f.Ht)(null);try{return He()}finally{(0,f.Ht)(wt)}}(He)}Error;class w extends Error{_brand;constructor(wt){super(wt)}static IDLE=new w("IDLE");static LOADING=new w("LOADING")}const O=He=>He;function Z(He,wt){if("function"==typeof He){return Ee(P(He,O,wt?.equal),wt?.debugName,wt?.set)}return Ee(P(He.source,He.computation,He.equal),He.debugName,He.set)}function Ee(He,wt,Jt){const ee=He[f.bh],V=He;if(void 0!==Jt){const ue=De=>D(ee,De);V.set=De=>Jt(De,ue),V.update=De=>Jt(De($(He)),ue)}else V.set=ue=>D(ee,ue),V.update=ue=>function y(He,wt){if((0,f.JC)(He),He.value===f.EF)throw He.error;(0,f.mC)(He,wt),(0,f.TO)(He)}(ee,ue);return V.asReadonly=s.HO5.bind(He),V}Error;Error},39962(st,pe,h){"use strict";h.d(pe,{ES_:()=>ns,HJs:()=>Ru,Hbi:()=>rs,Jn2:()=>er,L39:()=>lu,MKu:()=>ci,SmG:()=>da,Udg:()=>Ou,WpR:()=>Eo,_q3:()=>Rn,a0P:()=>Na,gRc:()=>Pi,oH4:()=>yc,uEv:()=>Ph});var ni=h(29293),Sn=h(28939),Wn=h(70903),Ui=h(10286),Xr=h(23054),jt=h(16925);const yt=Symbol("InputSignalNode#UNSET"),mo={...jt.s0,transformFn:void 0,applyValueToInputSignal(Je,ge){(0,jt.j2)(Je,ge)}};function bo(Je,ge){const Xe=Object.create(mo);function Ft(){if((0,jt.mK)(Xe),Xe.value===yt){let dn=null;throw new Sn.buA(-950,dn)}return Xe.value}return Xe.value=Je,Xe.transformFn=ge?.transform,Ft[jt.bh]=Xe,Ft}var ra,Je;(Je=ra||(ra={})).Angular="angular",Je.ACX="acx",Je.Wiz="wiz";class ns{attributeName;constructor(ge){this.attributeName=ge}__NG_ELEMENT_ID__=()=>(0,Wn.kS0)(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}const xo=(()=>{const Je=new Sn.nKC("");return Je.__NG_ELEMENT_ID__=ge=>{const Xe=(0,Sn.Mx4)();if(null===Xe)throw new Sn.buA(-204,!1);if(2&Xe.type)return Xe.value;if(8&ge)return null;throw new Sn.buA(-204,!1)},Je})();function Eo(Je){return function Do(Je){return Je&&"object"==typeof Je&&"default"in Je}(Je)?Je.default:Je}var Co,jo,hs;function Os(Je,ge){return bo(Je,ge)}!function(Je){Je[Je.Directive=0]="Directive",Je[Je.Component=1]="Component",Je[Je.Injectable=2]="Injectable",Je[Je.Pipe=3]="Pipe",Je[Je.NgModule=4]="NgModule",Je[Je.Service=5]="Service"}(Co||(Co={})),function(Je){Je[Je.Directive=0]="Directive",Je[Je.Pipe=1]="Pipe",Je[Je.NgModule=2]="NgModule"}(jo||(jo={})),function(Je){Je[Je.Emulated=0]="Emulated",Je[Je.None=2]="None",Je[Je.ShadowDom=3]="ShadowDom",Je[Je.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom"}(hs||(hs={}));const vs=(Os.required=function Ps(Je){return bo(yt,Je)},Os);function Cs(Je,ge){const Xe=Object.create(mo),Ft=new Ui.Zf;function dn(){return(0,jt.mK)(Xe),Rr(Xe.value),Xe.value}return Xe.value=Je,dn[jt.bh]=Xe,dn.asReadonly=Sn.HO5.bind(dn),dn.set=Fn=>{Xe.equal(Xe.value,Fn)||((0,jt.j2)(Xe,Fn),Ft.emit(Fn))},dn.update=Fn=>{Rr(Xe.value),dn.set(Fn(Xe.value))},dn.subscribe=Ft.subscribe.bind(Ft),dn.destroyRef=Ft.destroyRef,dn}function Rr(Je){if(Je===yt)throw new Sn.buA(952,!1)}function oa(Je,ge){return Cs(Je)}oa.required=function ls(Je){return Cs(yt)};function Rs(Je,ge){return(0,Wn.mU9)(ge)}const Kr=(Rs.required=function _c(Je,ge){return(0,Wn.hnC)(ge)},Rs);function ys(Je,ge){return(0,Wn.mU9)(ge)}const ja=(ys.required=function ho(Je,ge){return(0,Wn.hnC)(ge)},ys);class Ta{}const Es=(0,Wn.RN$)("ContentChildren",(Je,ge={})=>({selector:Je,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:true,...ge}),Ta),Ls=(0,Wn.RN$)("ContentChild",(Je,ge={})=>({selector:Je,first:!0,isViewQuery:!1,descendants:!0,...ge}),Ta),Ic=(0,Wn.RN$)("ViewChildren",(Je,ge={})=>({selector:Je,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:true,...ge}),Ta),so=(0,Wn.RN$)("ViewChild",(Je,ge)=>({selector:Je,first:!0,isViewQuery:!0,descendants:!0,...ge}),Ta);class rs{constructor(ge){}static \u0275fac=function(Xe){return new(Xe||rs)((0,Sn.KVO)(Wn.o8S))};static \u0275mod=(0,Wn.$C)({type:rs});static \u0275inj=(0,Sn.G2t)({})}new Sn.nKC("",{providedIn:"platform",factory:()=>null}),new Sn.nKC("",{providedIn:"platform",factory:()=>null}),new Sn.nKC("",{providedIn:"platform",factory:()=>null});class fr{supports(ge){return(0,Wn.ozJ)(ge)}create(ge){return new ds(ge)}}const nr=(Je,ge)=>ge;class ds{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(ge){this._trackByFn=ge||nr}forEachItem(ge){let Xe;for(Xe=this._itHead;null!==Xe;Xe=Xe._next)ge(Xe)}forEachOperation(ge){let Xe=this._itHead,Ft=this._removalsHead,dn=0,Fn=null;for(;Xe||Ft;){const Gn=!Ft||Xe&&Xe.currentIndex<Bo(Ft,dn,Fn)?Xe:Ft,li=Bo(Gn,dn,Fn),Ai=Gn.currentIndex;if(Gn===Ft)dn--,Ft=Ft._nextRemoved;else if(Xe=Xe._next,null==Gn.previousIndex)dn++;else{Fn||(Fn=[]);const Ni=li-dn,$r=Ai-dn;if(Ni!=$r){for(let Po=0;Po<Ni;Po++){const fs=Po<Fn.length?Fn[Po]:Fn[Po]=0,Is=fs+Po;$r<=Is&&Is<Ni&&(Fn[Po]=fs+1)}Fn[Gn.previousIndex]=$r-Ni}}li!==Ai&&ge(Gn,li,Ai)}}forEachPreviousItem(ge){let Xe;for(Xe=this._previousItHead;null!==Xe;Xe=Xe._nextPrevious)ge(Xe)}forEachAddedItem(ge){let Xe;for(Xe=this._additionsHead;null!==Xe;Xe=Xe._nextAdded)ge(Xe)}forEachMovedItem(ge){let Xe;for(Xe=this._movesHead;null!==Xe;Xe=Xe._nextMoved)ge(Xe)}forEachRemovedItem(ge){let Xe;for(Xe=this._removalsHead;null!==Xe;Xe=Xe._nextRemoved)ge(Xe)}forEachIdentityChange(ge){let Xe;for(Xe=this._identityChangesHead;null!==Xe;Xe=Xe._nextIdentityChange)ge(Xe)}diff(ge){if(null==ge&&(ge=[]),!(0,Wn.ozJ)(ge))throw new Sn.buA(900,!1);return this.check(ge)?this:null}onDestroy(){}check(ge){this._reset();let dn,Fn,Gn,Xe=this._itHead,Ft=!1;if(Array.isArray(ge)){this.length=ge.length;for(let li=0;li<this.length;li++)Fn=ge[li],Gn=this._trackByFn(li,Fn),null!==Xe&&Object.is(Xe.trackById,Gn)?(Ft&&(Xe=this._verifyReinsertion(Xe,Fn,Gn,li)),Object.is(Xe.item,Fn)||this._addIdentityChange(Xe,Fn)):(Xe=this._mismatch(Xe,Fn,Gn,li),Ft=!0),Xe=Xe._next}else dn=0,(0,Wn.utN)(ge,li=>{Gn=this._trackByFn(dn,li),null!==Xe&&Object.is(Xe.trackById,Gn)?(Ft&&(Xe=this._verifyReinsertion(Xe,li,Gn,dn)),Object.is(Xe.item,li)||this._addIdentityChange(Xe,li)):(Xe=this._mismatch(Xe,li,Gn,dn),Ft=!0),Xe=Xe._next,dn++}),this.length=dn;return this._truncate(Xe),this.collection=ge,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let ge;for(ge=this._previousItHead=this._itHead;null!==ge;ge=ge._next)ge._nextPrevious=ge._next;for(ge=this._additionsHead;null!==ge;ge=ge._nextAdded)ge.previousIndex=ge.currentIndex;for(this._additionsHead=this._additionsTail=null,ge=this._movesHead;null!==ge;ge=ge._nextMoved)ge.previousIndex=ge.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(ge,Xe,Ft,dn){let Fn;return null===ge?Fn=this._itTail:(Fn=ge._prev,this._remove(ge)),null!==(ge=null===this._unlinkedRecords?null:this._unlinkedRecords.get(Ft,null))?(Object.is(ge.item,Xe)||this._addIdentityChange(ge,Xe),this._reinsertAfter(ge,Fn,dn)):null!==(ge=null===this._linkedRecords?null:this._linkedRecords.get(Ft,dn))?(Object.is(ge.item,Xe)||this._addIdentityChange(ge,Xe),this._moveAfter(ge,Fn,dn)):ge=this._addAfter(new Xs(Xe,Ft),Fn,dn),ge}_verifyReinsertion(ge,Xe,Ft,dn){let Fn=null===this._unlinkedRecords?null:this._unlinkedRecords.get(Ft,null);return null!==Fn?ge=this._reinsertAfter(Fn,ge._prev,dn):ge.currentIndex!=dn&&(ge.currentIndex=dn,this._addToMoves(ge,dn)),ge}_truncate(ge){for(;null!==ge;){const Xe=ge._next;this._addToRemovals(this._unlink(ge)),ge=Xe}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(ge,Xe,Ft){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(ge);const dn=ge._prevRemoved,Fn=ge._nextRemoved;return null===dn?this._removalsHead=Fn:dn._nextRemoved=Fn,null===Fn?this._removalsTail=dn:Fn._prevRemoved=dn,this._insertAfter(ge,Xe,Ft),this._addToMoves(ge,Ft),ge}_moveAfter(ge,Xe,Ft){return this._unlink(ge),this._insertAfter(ge,Xe,Ft),this._addToMoves(ge,Ft),ge}_addAfter(ge,Xe,Ft){return this._insertAfter(ge,Xe,Ft),null===this._additionsTail?this._additionsTail=this._additionsHead=ge:this._additionsTail=this._additionsTail._nextAdded=ge,ge}_insertAfter(ge,Xe,Ft){const dn=null===Xe?this._itHead:Xe._next;return ge._next=dn,ge._prev=Xe,null===dn?this._itTail=ge:dn._prev=ge,null===Xe?this._itHead=ge:Xe._next=ge,null===this._linkedRecords&&(this._linkedRecords=new Lo),this._linkedRecords.put(ge),ge.currentIndex=Ft,ge}_remove(ge){return this._addToRemovals(this._unlink(ge))}_unlink(ge){null!==this._linkedRecords&&this._linkedRecords.remove(ge);const Xe=ge._prev,Ft=ge._next;return null===Xe?this._itHead=Ft:Xe._next=Ft,null===Ft?this._itTail=Xe:Ft._prev=Xe,ge}_addToMoves(ge,Xe){return ge.previousIndex===Xe||(null===this._movesTail?this._movesTail=this._movesHead=ge:this._movesTail=this._movesTail._nextMoved=ge),ge}_addToRemovals(ge){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Lo),this._unlinkedRecords.put(ge),ge.currentIndex=null,ge._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=ge,ge._prevRemoved=null):(ge._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=ge),ge}_addIdentityChange(ge,Xe){return ge.item=Xe,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=ge:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=ge,ge}}class Xs{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(ge,Xe){this.item=ge,this.trackById=Xe}}class Ho{_head=null;_tail=null;add(ge){null===this._head?(this._head=this._tail=ge,ge._nextDup=null,ge._prevDup=null):(this._tail._nextDup=ge,ge._prevDup=this._tail,ge._nextDup=null,this._tail=ge)}get(ge,Xe){let Ft;for(Ft=this._head;null!==Ft;Ft=Ft._nextDup)if((null===Xe||Xe<=Ft.currentIndex)&&Object.is(Ft.trackById,ge))return Ft;return null}remove(ge){const Xe=ge._prevDup,Ft=ge._nextDup;return null===Xe?this._head=Ft:Xe._nextDup=Ft,null===Ft?this._tail=Xe:Ft._prevDup=Xe,null===this._head}}class Lo{map=new Map;put(ge){const Xe=ge.trackById;let Ft=this.map.get(Xe);Ft||(Ft=new Ho,this.map.set(Xe,Ft)),Ft.add(ge)}get(ge,Xe){const Ft=ge,dn=this.map.get(Ft);return dn?dn.get(ge,Xe):null}remove(ge){const Xe=ge.trackById;return this.map.get(Xe).remove(ge)&&this.map.delete(Xe),ge}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Bo(Je,ge,Xe){const Ft=Je.previousIndex;if(null===Ft)return Ft;let dn=0;return Xe&&Ft<Xe.length&&(dn=Xe[Ft]),Ft+ge+dn}class Fs{supports(ge){return ge instanceof Map||(0,Wn.vDg)(ge)}create(){return new Qs}}class Qs{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(ge){let Xe;for(Xe=this._mapHead;null!==Xe;Xe=Xe._next)ge(Xe)}forEachPreviousItem(ge){let Xe;for(Xe=this._previousMapHead;null!==Xe;Xe=Xe._nextPrevious)ge(Xe)}forEachChangedItem(ge){let Xe;for(Xe=this._changesHead;null!==Xe;Xe=Xe._nextChanged)ge(Xe)}forEachAddedItem(ge){let Xe;for(Xe=this._additionsHead;null!==Xe;Xe=Xe._nextAdded)ge(Xe)}forEachRemovedItem(ge){let Xe;for(Xe=this._removalsHead;null!==Xe;Xe=Xe._nextRemoved)ge(Xe)}diff(ge){if(ge){if(!(ge instanceof Map||(0,Wn.vDg)(ge)))throw new Sn.buA(900,!1)}else ge=new Map;return this.check(ge)?this:null}check(ge){this._reset();let Xe=this._mapHead;if(this._appendAfter=null,this._forEach(ge,(Ft,dn)=>{if(Xe&&Xe.key===dn)this._maybeAddToChanges(Xe,Ft),this._appendAfter=Xe,Xe=Xe._next;else{const Fn=this._getOrCreateRecordForKey(dn,Ft);Xe=this._insertBeforeOrAppend(Xe,Fn)}}),Xe){Xe._prev&&(Xe._prev._next=null),this._removalsHead=Xe;for(let Ft=Xe;null!==Ft;Ft=Ft._nextRemoved)Ft===this._mapHead&&(this._mapHead=null),this._records.delete(Ft.key),Ft._nextRemoved=Ft._next,Ft.previousValue=Ft.currentValue,Ft.currentValue=null,Ft._prev=null,Ft._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(ge,Xe){if(ge){const Ft=ge._prev;return Xe._next=ge,Xe._prev=Ft,ge._prev=Xe,Ft&&(Ft._next=Xe),ge===this._mapHead&&(this._mapHead=Xe),this._appendAfter=ge,ge}return this._appendAfter?(this._appendAfter._next=Xe,Xe._prev=this._appendAfter):this._mapHead=Xe,this._appendAfter=Xe,null}_getOrCreateRecordForKey(ge,Xe){if(this._records.has(ge)){const dn=this._records.get(ge);this._maybeAddToChanges(dn,Xe);const Fn=dn._prev,Gn=dn._next;return Fn&&(Fn._next=Gn),Gn&&(Gn._prev=Fn),dn._next=null,dn._prev=null,dn}const Ft=new hn(ge);return this._records.set(ge,Ft),Ft.currentValue=Xe,this._addToAdditions(Ft),Ft}_reset(){if(this.isDirty){let ge;for(this._previousMapHead=this._mapHead,ge=this._previousMapHead;null!==ge;ge=ge._next)ge._nextPrevious=ge._next;for(ge=this._changesHead;null!==ge;ge=ge._nextChanged)ge.previousValue=ge.currentValue;for(ge=this._additionsHead;null!=ge;ge=ge._nextAdded)ge.previousValue=ge.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(ge,Xe){Object.is(Xe,ge.currentValue)||(ge.previousValue=ge.currentValue,ge.currentValue=Xe,this._addToChanges(ge))}_addToAdditions(ge){null===this._additionsHead?this._additionsHead=this._additionsTail=ge:(this._additionsTail._nextAdded=ge,this._additionsTail=ge)}_addToChanges(ge){null===this._changesHead?this._changesHead=this._changesTail=ge:(this._changesTail._nextChanged=ge,this._changesTail=ge)}_forEach(ge,Xe){ge instanceof Map?ge.forEach(Xe):Object.keys(ge).forEach(Ft=>Xe(ge[Ft],Ft))}}class hn{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(ge){this.key=ge}}function Hn(){return new Rn([new fr])}class Rn{factories;static \u0275prov=(0,Sn.jDH)({token:Rn,providedIn:"root",factory:Hn});constructor(ge){this.factories=ge}static create(ge,Xe){if(null!=Xe){const Ft=Xe.factories.slice();ge=ge.concat(Ft)}return new Rn(ge)}static extend(ge){return{provide:Rn,useFactory:()=>{const Xe=(0,Sn.WQX)(Rn,{optional:!0,skipSelf:!0});return Rn.create(ge,Xe||Hn())}}}find(ge){const Xe=this.factories.find(Ft=>Ft.supports(ge));if(null!=Xe)return Xe;throw new Sn.buA(901,!1)}}function Zn(){return new ci([new Fs])}class ci{static \u0275prov=(0,Sn.jDH)({token:ci,providedIn:"root",factory:Zn});factories;constructor(ge){this.factories=ge}static create(ge,Xe){if(Xe){const Ft=Xe.factories.slice();ge=ge.concat(Ft)}return new ci(ge)}static extend(ge){return{provide:ci,useFactory:()=>{const Xe=(0,Sn.WQX)(ci,{optional:!0,skipSelf:!0});return ci.create(ge,Xe||Zn())}}}find(ge){const Xe=this.factories.find(Ft=>Ft.supports(ge));if(Xe)return Xe;throw new Sn.buA(901,!1)}}class Pi{static __NG_ELEMENT_ID__=ki}function ki(Je){return function go(Je,ge,Xe){if((0,Sn.Qs1)(Je)&&!Xe){const Ft=(0,Sn.KdJ)(Je.index,ge);return new Wn.NCX(Ft,Ft)}if(175&Je.type){const Ft=ge[15];return new Wn.NCX(Ft,ge)}return null}((0,Sn.Mx4)(),(0,Sn.OAn)(),!(16&~Je))}const ya=[new Fs],qe=[new fr];new Rn(qe),new ci(ya);class gn{zone=(0,Sn.WQX)(Sn.SKi);changeDetectionScheduler=(0,Sn.WQX)(Sn.hk6);applicationRef=(0,Sn.WQX)(Wn.o8S);applicationErrorHandler=(0,Sn.WQX)(Sn.ZTf);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(ge){this.applicationErrorHandler(ge)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(Xe){return new(Xe||gn)};static \u0275prov=(0,Wn.tV_)({token:gn,factory:gn.\u0275fac})}const An=new Sn.nKC("",{factory:()=>!1});function er(Je){const ge=Je?.scheduleInRootZone,Xe=function Ri({ngZoneFactory:Je,scheduleInRootZone:ge}){return Je??=()=>new Sn.SKi({...Zi(),scheduleInRootZone:ge}),[{provide:Sn.Evm,useValue:!1},{provide:Sn.SKi,useFactory:Je},{provide:Sn.Z63,multi:!0,useFactory:()=>{const Xe=(0,Sn.WQX)(gn,{optional:!0});return()=>Xe.initialize()}},{provide:Sn.Z63,multi:!0,useFactory:()=>{const Xe=(0,Sn.WQX)(Oo);return()=>{Xe.initialize()}}},{provide:Sn.AQb,useValue:ge??!1}]}({ngZoneFactory:()=>{const Ft=Zi(Je);return Ft.scheduleInRootZone=ge,Ft.shouldCoalesceEventChangeDetection&&(0,Wn._jY)("NgZone_CoalesceEvent"),new Sn.SKi(Ft)},scheduleInRootZone:ge});return(0,Sn.EmA)([{provide:An,useValue:!0},Xe])}function Zi(Je){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:Je?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:Je?.runCoalescing??!1}}class Oo{subscription=new Xr.yU;initialized=!1;zone=(0,Sn.WQX)(Sn.SKi);pendingTasks=(0,Sn.WQX)(Sn.rev);initialize(){if(this.initialized)return;this.initialized=!0;let ge=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(ge=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Sn.SKi.assertNotInAngularZone(),queueMicrotask(()=>{null!==ge&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(ge),ge=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Sn.SKi.assertInAngularZone(),ge??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(Xe){return new(Xe||Oo)};static \u0275prov=(0,Wn.tV_)({token:Oo,factory:Oo.\u0275fac})}function ji(Je){for(let ge=Je.length-1;ge>=0;ge--)if(void 0!==Je[ge])return Je[ge]}class ko{window=null;observer=null;options=(0,Sn.WQX)(Sn.VeQ);lcpImageUrl;start(){if(typeof PerformanceObserver>"u"||this.options?.disableImageSizeWarning&&this.options?.disableImageLazyLoadWarning)return;this.observer=this.initPerformanceObserver();const ge=(0,Wn.YEm)(),Xe=ge.defaultView;if(Xe){this.window=Xe;const Ft=()=>{setTimeout(this.scanImages.bind(this),200)},dn=()=>{"complete"===ge.readyState?Ft():this.window?.addEventListener("load",Ft,{once:!0})};typeof Zone<"u"?Zone.root.run(()=>dn()):dn()}}ngOnDestroy(){this.observer?.disconnect()}initPerformanceObserver(){if(typeof PerformanceObserver>"u")return null;const ge=new PerformanceObserver(Xe=>{const Ft=Xe.getEntries();if(0===Ft.length)return;const Fn=Ft[Ft.length-1].element?.src??"";Fn.startsWith("data:")||Fn.startsWith("blob:")||(this.lcpImageUrl=Fn)});return ge.observe({type:"largest-contentful-paint",buffered:!0}),ge}scanImages(){const ge=(0,Wn.YEm)().querySelectorAll("img");let Xe,Ft=!1;for(let dn=0;dn<ge.length;dn++){const Fn=ge[dn];Fn&&(this.options?.disableImageSizeWarning||!Fn.getAttribute("ng-img")&&this.isOversized(Fn)&&qs(Fn.src),!this.options?.disableImageLazyLoadWarning&&this.lcpImageUrl&&Fn.src===this.lcpImageUrl&&(Xe=!0,("lazy"!==Fn.loading||Fn.getAttribute("ng-img"))&&(Ft=!0)))}Xe&&!Ft&&this.lcpImageUrl&&!this.options?.disableImageLazyLoadWarning&&function Gl(Je){console.warn((0,Sn.OsK)(-913,`An image with src ${Je} is the Largest Contentful Paint (LCP) element but was given a "loading" value of "lazy", which can negatively impact application loading performance. This warning can be addressed by changing the loading value of the LCP image to "eager", or by using the NgOptimizedImage directive's prioritization utilities. For more information about addressing or disabling this warning, see ${Sn.Ap}/NG0913`))}(this.lcpImageUrl)}isOversized(ge){if(!this.window)return!1;const Ft=(ge.src||"").toLowerCase();if([".svg"].some(Ms=>Ft.endsWith(Ms)))return!1;const dn=this.window.getComputedStyle(ge);let Fn=parseFloat(dn.getPropertyValue("width")),Gn=parseFloat(dn.getPropertyValue("height"));const li=dn.getPropertyValue("box-sizing");if("cover"===dn.getPropertyValue("object-fit"))return!1;if("border-box"===li){const Ms=dn.getPropertyValue("padding-top"),Ka=dn.getPropertyValue("padding-right"),pa=dn.getPropertyValue("padding-bottom"),Nu=dn.getPropertyValue("padding-left");Fn-=parseFloat(Ka)+parseFloat(Nu),Gn-=parseFloat(Ms)+parseFloat(pa)}const Ni=ge.naturalWidth,$r=ge.naturalHeight,rr=this.window.devicePixelRatio*Fn,Po=this.window.devicePixelRatio*Gn;return Ni-rr>=1200||$r-Po>=1200}static \u0275fac=function(Xe){return new(Xe||ko)};static \u0275prov=(0,Wn.tV_)({token:ko,factory:ko.\u0275fac})}function qs(Je){console.warn((0,Sn.OsK)(-913,`An image with src ${Je} has intrinsic file dimensions much larger than its rendered size. This can negatively impact application loading performance. For more information about addressing or disabling this warning, see ${Sn.Ap}/NG0913`))}const Mc=new Sn.nKC(""),Ac=new Sn.nKC("");function Ts(Je){return!Je.moduleRef}function ba(Je){const ge=Ts(Je)?Je.r3Injector:Je.moduleRef.injector,Xe=ge.get(Sn.SKi);return Xe.run(()=>{Ts(Je)?Je.r3Injector.resolveInjectorInitializers():Je.moduleRef.resolveInjectorInitializers();const Ft=ge.get(Sn.ZTf);let dn;if(Xe.runOutsideAngular(()=>{dn=Xe.onError.subscribe({next:Ft})}),Ts(Je)){const Fn=()=>ge.destroy(),Gn=Je.platformInjector.get(Mc);Gn.add(Fn),ge.onDestroy(()=>{dn.unsubscribe(),Gn.delete(Fn)})}else{const Fn=()=>Je.moduleRef.destroy(),Gn=Je.platformInjector.get(Mc);Gn.add(Fn),Je.moduleRef.onDestroy(()=>{(0,Wn.TFI)(Je.allPlatformModules,Je.moduleRef),dn.unsubscribe(),Gn.delete(Fn)})}return function nc(Je,ge,Xe){try{const Ft=Xe();return(0,Wn.yLl)(Ft)?Ft.catch(dn=>{throw ge.runOutsideAngular(()=>Je(dn)),dn}):Ft}catch(Ft){throw ge.runOutsideAngular(()=>Je(Ft)),Ft}}(Ft,Xe,()=>{const Fn=ge.get(Sn.rev),Gn=Fn.add(),li=ge.get(Wn.H1s);return li.runInitializers(),li.donePromise.then(()=>{const Ai=ge.get(Wn.xe9,"en-US");if((0,Wn.e6s)(Ai||"en-US"),!ge.get(Ac,!0))return Ts(Je)?ge.get(Wn.o8S):(Je.allPlatformModules.push(Je.moduleRef),Je.moduleRef);if(Ts(Je)){const $r=ge.get(Wn.o8S);return void 0!==Je.rootComponent&&$r.bootstrap(Je.rootComponent),$r}return Ys?.(Je.moduleRef,Je.allPlatformModules),Je.moduleRef}).finally(()=>{Fn.remove(Gn)})})})}let Ys;function aa(){Ys=ol}function ol(Je,ge){const Xe=Je.injector.get(Wn.o8S);if(Je._bootstrapComponents.length>0)Je._bootstrapComponents.forEach(Ft=>Xe.bootstrap(Ft));else{if(!Je.instance.ngDoBootstrap)throw new Sn.buA(-403,!1);Je.instance.ngDoBootstrap(Xe)}ge.push(Je)}class za{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(ge){this._injector=ge}bootstrapModuleFactory(ge,Xe){const Ft=[(0,Wn.rpG)(),...Xe?.applicationProviders??[],Sn.gv8],dn=(0,Wn.VzW)(ge.moduleType,this.injector,Ft);return aa(),ba({moduleRef:dn,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(ge,Xe=[]){const Ft=(0,Wn.lJT)({},Xe);return aa(),function ka(Je,ge,Xe){const Ft=new Wn.Co$(Xe);if(typeof ngJitMode<"u"&&!ngJitMode)return Promise.resolve(Ft);const dn=Je.get(Wn.d80,[]).concat(ge);if((0,Wn.KED)({defaultEncapsulation:ji(dn.map(Ni=>Ni.defaultEncapsulation)),preserveWhitespaces:ji(dn.map(Ni=>Ni.preserveWhitespaces))}),(0,Wn.sgu)())return Promise.resolve(Ft);const Fn=dn.flatMap(Ni=>Ni.providers??[]);if(0===Fn.length)return Promise.resolve(Ft);const Gn=(0,Wn.uiO)({usage:0,kind:"NgModule",type:Xe}),Ai=Sn.zZn.create({providers:Fn}).get(Gn.ResourceLoader);return(0,Wn.Zhj)(Ni=>Promise.resolve(Ai.get(Ni))).then(()=>Ft)}(this.injector,Ft,ge).then(dn=>this.bootstrapModuleFactory(dn,Ft))}onDestroy(ge){this._destroyListeners.push(ge)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Sn.buA(404,!1);this._modules.slice().forEach(Xe=>Xe.destroy()),this._destroyListeners.forEach(Xe=>Xe());const ge=this._injector.get(Mc,null);ge&&(ge.forEach(Xe=>Xe()),ge.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(Xe){return new(Xe||za)((0,Sn.KVO)(Sn.zZn))};static \u0275prov=(0,Sn.jDH)({token:za,factory:za.\u0275fac,providedIn:"platform"})}function io(Je){const ge=(0,Wn.eZA)(Je);if("null"===ge?.type)return{name:"Null Injector",type:"null",providers:[],children:[]};let Xe=[];if(("element"===ge?.type||"environment"===ge?.type)&&(Xe=(0,Wn.TeE)(Je).map(Ft=>({token:Ft.token,value:Je.get(Ft.token,null,{optional:!0,self:!0})}))),"element"===ge?.type){const Ft=(0,Wn.fHc)(Je),dn=Ft?Ft.providerIndexes>>20:0,Fn=Xe.slice(0,dn),Gn=Xe.slice(dn);return{name:Je.constructor.name,type:"element",providers:Gn,viewProviders:Fn,children:[],hostElement:ge.source}}return{name:ge?.source??Je.constructor.name??"Unknown Injector",type:"environment",providers:Xe,children:[]}}"\nExposes the Angular Dependency Injection (DI) graph of the application.\n\nThis tool extracts both the element injector tree (associated with DOM elements and components)\nand the environment injector tree (associated with modules and standalone application roots).\nIt captures the relationship structure and the providers resolved at each level.\n\nReturns:\n- `elementInjectorRoots`: An array of root element injectors (one for each Angular application\n root found). Each node forms a tree hierarchy:\n - `name`: The constructor name of this injector.\n - `type`: 'element'.\n - `providers`: Array of providers configured on this injector.\n - `token`: The DI token.\n - `value`: The resolved value of that provider if it was instantiated.\n - `hostElement`: The DOM element that this injector is associated with.\n - `children`: Array of child element injectors.\n- `environmentInjectorRoot`: The root environment injector. It forms a tree hierarchy of nodes\n representing all environment injectors:\n - `name`: The identifier for the environment injector.\n - `type`: 'environment' or 'null'.\n - `providers`: Array of providers configured on this injector.\n - `token`: The DI token.\n - `value`: The resolved value of that provider if it was instantiated.\n - `children`: Array of child environment injectors.\n ".trim(),function(){var Je=ni(function*(){const Xe=Array.from(document.querySelectorAll("[ng-version]"));if(0===Xe.length)throw new Error("Could not find Angular root element ([ng-version]) on the page.");return function vc(Je){const ge=Je.map(Xe=>{const Ft=(0,Wn.knv)(Xe);if(!Ft?.lView)throw new Error(`Could not find an \`LView\` for root \`<${Xe.tagName.toLowerCase()}>\`, is it an Angular component?`);return Ft.lView});return{elementInjectorRoots:ge.map(Xe=>function cu(Je){if(0!==Je[1].type)throw new Error(`Expected a root LView but got type: \`${Je[1].type}\`.`);const ge=[];for(const[Ft,dn]of(0,Wn.R1s)(Je)){const Gn=io(new Wn.p2C(Ft,dn));for(;ge.length>0;){const[li,Ai,Ni]=ge[ge.length-1],$r=_r(Ft,li),rr=Xl(dn,Ai,li);if($r||rr){Ni.children.push(Gn);break}ge.pop()}ge.push([Ft,dn,Gn])}if(0===ge.length)throw new Error("Expected at least one component/directive in the root `LView`.");const[,,Xe]=ge[0];return Xe}(Xe)),environmentInjectorRoot:nd(ge)}}(Xe)})}();function nd(Je){const ge=new Map;let Xe;function Ft(dn){const Fn=ge.get(dn);if(Fn)return Fn;const Gn=io(dn);ge.set(dn,Gn);const li=function Tl(Je){if(Je instanceof Wn.zEX)return Je.parentInjector;if(Je instanceof Sn.e5P)return Je.parent;if(Je instanceof Sn.oTH)return;throw new Error(`Unknown injector type: "${Je.constructor.name}".`)}(dn);if(li)Ft(li).children.push(Gn);else if(Xe){if(Xe!==Gn)throw new Error("Expected only one root environment injector, but found multiple.",{cause:{firstRoot:Xe,secondRoot:Gn}})}else Xe=Gn;return Gn}for(const dn of Je)for(const[,Fn]of(0,Wn.R1s)(dn))Ft(Fn[9]);if(!Xe)throw new Error("Expected a root environment injector but did not find one.");return Xe}function _r(Je,ge){let Xe=Je;for(;Xe;){if(Xe===ge)return!0;Xe=Xe.parent}return!1}function Xl(Je,ge,Xe){let Ft=Je,dn=null;for(;Ft&&Ft!==ge;)dn=Ft[5],Ft=(0,Sn._0$)(Ft);return Ft===ge&&null!==dn&&_r(dn,Xe)}"\nExposes the Angular signal dependency graph for a given DOM element.\n\nThis tool extracts the reactive dependency graph (signals, computeds, and effects) that\nare transitive dependencies of the effects of that element. It will include signals\nauthored in other components/services and depended upon by the target component, but\nwill *not* include signals only used in descendant components effects.\n\nParams:\n- `target`: The element to get the signal graph for. Must be the host element of an\n Angular component.\n\nReturns:\n- `nodes`: An array of reactive nodes discovered in the context. Each node contains:\n - `kind`: The type of reactive node ('signal', 'computed', 'effect', or 'template'\n for component template effects).\n - `value`: The current evaluated value of the node (if applicable).\n - `label`: The symbol name of the associated signal if available (ex.\n `const foo = signal(0);` has `label: 'foo'`).\n - `epoch`: The internal version number of the node's value.\n- `edges`: An array of dependency links representing which nodes read from which other\n nodes.\n - `consumer`: The index in the `nodes` array of the node that depends on the value.\n - `producer`: The index in the `nodes` array of the node that provides the value.\n\nExample: An edge with `{consumer: 2, producer: 0}` means that `nodes[2]` (e.g. an\n`effect`) reads the value of `nodes[0]` (e.g. a `signal`).\n ".trim(),function(){var Je=ni(function*({target:Xe}){if(!(Xe instanceof HTMLElement))throw new Error('Invalid input: "target" must be an HTMLElement.');const Ft=(0,Wn.ltg)(Xe);if(Ft instanceof Sn.oTH)throw new Error('Invalid input: "target" is not the host element of an Angular component.');const dn=(0,Wn.H5s)(Ft);return{nodes:dn.nodes.map(({id:Fn,debuggableFn:Gn,...li})=>li),edges:dn.edges}})}();let ss=null;function yc(Je,ge,Xe=[]){const Ft=`Platform: ${ge}`,dn=new Sn.nKC(Ft);return(Fn=[])=>{let Gn=ks();if(!Gn){const li=[...Xe,...Fn,{provide:dn,useValue:!0}];Gn=Je?.(li)??function Oc(Je){if(ks())throw new Sn.buA(400,!1);(0,Wn.pl0)(),(0,Wn.ypd)(),ss=Je;const ge=Je.get(za);return ne(Je),ge}(ic(li,Ft))}return function bc(Je){const ge=ks();if(!ge)throw new Sn.buA(-401,!1);return ge}()}}function ic(Je=[],ge){return Sn.zZn.create({name:ge,providers:[{provide:Sn.GBX,useValue:"platform"},{provide:Mc,useValue:new Set([()=>ss=null])},...Je]})}function ks(){return ss?.get(za)??null}function ne(Je){const ge=Je.get(Sn.PLl,null);(0,Sn.N4e)(Je,()=>{ge?.forEach(Xe=>Xe())})}function lu(Je){return"boolean"==typeof Je?Je:null!=Je&&"false"!==Je}function Ou(Je,ge=NaN){return isNaN(parseFloat(Je))||isNaN(Number(Je))?ge:Number(Je)}const uu=Symbol("NOT_SET"),vr=new Set,Yr={...jt.s0,kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:uu,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(null===this.sequence.lastPhase||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(Je){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==uu&&!(0,jt.si)(this))return this.signal;try{for(const dn of this.cleanup??vr)dn()}finally{this.cleanup?.clear()}const ge=[];void 0!==Je&&ge.push(Je),ge.push(this.registerCleanupFn);const Xe=(0,jt.Bg)(this);let Ft;try{Ft=this.userFn.apply(null,ge)}finally{(0,jt.Wu)(this,Xe)}return(this.value===uu||!this.equal(this.value,Ft))&&(this.value=Ft,this.version++),this.signal}};class _o extends Wn._ys{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(ge,Xe,Ft,dn,Fn,Gn=null){super(ge,[void 0,void 0,void 0,void 0],Ft,!1,Fn.get(Sn.abz),Gn),this.scheduler=dn;for(const li of Wn.zoo){const Ai=Xe[li];if(void 0===Ai)continue;const Ni=Object.create(Yr);Ni.sequence=this,Ni.phase=li,Ni.userFn=Ai,Ni.dirty=!0,Ni.signal=()=>((0,jt.mK)(Ni),Ni.value),Ni.signal[jt.bh]=Ni,Ni.registerCleanupFn=$r=>(Ni.cleanup??=new Set).add($r),this.nodes[li]=Ni,this.hooks[li]=$r=>Ni.phaseFn($r)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(null!==this.onDestroyFns)for(const ge of this.onDestroyFns)ge();super.destroy();for(const ge of this.nodes)if(ge)try{for(const Xe of ge.cleanup??vr)Xe()}finally{(0,jt.XR)(ge)}}}function Ph(Je,ge){const Xe=ge?.injector??(0,Sn.WQX)(Sn.zZn),Ft=Xe.get(Sn.hk6),dn=Xe.get(Wn.cf$),Fn=Xe.get(Wn.a8H,null,{optional:!0});dn.impl??=Xe.get(Wn.ziy);let Gn=Je;"function"==typeof Gn&&(Gn={mixedReadWrite:Je});const li=Xe.get(Sn.r4V,null,{optional:!0}),Ai=new _o(dn.impl,[Gn.earlyRead,Gn.write,Gn.mixedReadWrite,Gn.read],li?.view,Ft,Xe,Fn?.snapshot(null));return dn.impl.register(Ai),Ai}const Js=yc(null,"core",[]);function Na(Je,ge){const Xe=(0,Sn.xUg)(Je),Ft=ge.elementInjector||(0,Sn.WB9)();return new Wn.eHC(Xe).create(Ft,ge.projectableNodes,ge.hostElement,ge.environmentInjector,ge.directives,ge.bindings)}function Ru(Je){const ge=(0,Sn.xUg)(Je);if(!ge)return null;const Xe=new Wn.eHC(ge);return{get selector(){return Xe.selector},get type(){return Xe.componentType},get inputs(){return Xe.inputs},get outputs(){return Xe.outputs},get ngContentSelectors(){return Xe.ngContentSelectors},get isStandalone(){return ge.standalone},get isSignal(){return ge.signals}}}function da(){}h.d(pe,["F8v",0,Es,"Uct",0,so,"b2L",0,Ic,"cCO",0,xo,"ebz",0,Kr,"fpN",0,Js,"hFB",0,vs,"kDq",0,Ls,"sbv",0,ja])},13054(st,pe,h){"use strict";h.d(pe,{JD:()=>so,Tk:()=>Qn,Vt:()=>pi,Vx:()=>Mr,X1:()=>cr,YN:()=>yi,cV:()=>Ui,iB:()=>ts,j4:()=>os,k0:()=>oe,vO:()=>oo,w9:()=>Fr,ze:()=>hi});var m=h(39962),s=h(28939),f=h(70903),P=h(10286),D=h(55919),y=h(23054),b=h(31703),x=h(67148),N=h(65229),M=h(93049);class U{_renderer;_elementRef;onChange=A=>{};onTouched=()=>{};constructor(A,Se){this._renderer=A,this._elementRef=Se}setProperty(A,Se){this._renderer.setProperty(this._elementRef.nativeElement,A,Se)}registerOnTouched(A){this.onTouched=A}registerOnChange(A){this.onChange=A}setDisabledState(A){this.setProperty("disabled",A)}static \u0275fac=function(Se){return new(Se||U)(f.rXU(f.sFG),f.rXU(f.aKT))};static \u0275dir=f.FsC({type:U})}class J extends U{static \u0275fac=(()=>{let A;return function(dt){return(A||(A=f.xGo(J)))(dt||J)}})();static \u0275dir=f.FsC({type:J,features:[f.Vt3]})}const I=new s.nKC(""),T={provide:I,useExisting:(0,s.Rfq)(()=>C),multi:!0};class C extends J{writeValue(A){this.setProperty("checked",A)}static \u0275fac=(()=>{let A;return function(dt){return(A||(A=f.xGo(C)))(dt||C)}})();static \u0275dir=f.FsC({type:C,selectors:[["input","type","checkbox","formControlName","",3,"ngNoCva",""],["input","type","checkbox","formControl","",3,"ngNoCva",""],["input","type","checkbox","ngModel","",3,"ngNoCva",""]],hostBindings:function(Se,dt){1&Se&&f.bIt("change",function(fi){return dt.onChange(fi.target.checked)})("blur",function(){return dt.onTouched()})},standalone:!1,features:[f.Jv_([T]),f.Vt3]})}const R={provide:I,useExisting:(0,s.Rfq)(()=>$),multi:!0};const F=new s.nKC("");class $ extends U{_compositionMode;_composing=!1;constructor(A,Se,dt){super(A,Se),this._compositionMode=dt,null==this._compositionMode&&(this._compositionMode=!function B(){const gt=(0,M.rb)()?(0,M.rb)().getUserAgent():"";return/android (\d+)/.test(gt.toLowerCase())}())}writeValue(A){const Se=A??"";this.setProperty("value",Se)}_handleInput(A){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(A)}_compositionStart(){this._composing=!0}_compositionEnd(A){this._composing=!1,this._compositionMode&&this.onChange(A)}static \u0275fac=function(Se){return new(Se||$)(f.rXU(f.sFG),f.rXU(f.aKT),f.rXU(F,8))};static \u0275dir=f.FsC({type:$,selectors:[["input","formControlName","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControlName","",3,"ngNoCva",""],["input","formControl","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControl","",3,"ngNoCva",""],["input","ngModel","",3,"type","checkbox",3,"ngNoCva",""],["textarea","ngModel","",3,"ngNoCva",""],["","ngDefaultControl",""]],hostBindings:function(Se,dt){1&Se&&f.bIt("input",function(fi){return dt._handleInput(fi.target.value)})("blur",function(){return dt.onTouched()})("compositionstart",function(){return dt._compositionStart()})("compositionend",function(fi){return dt._compositionEnd(fi.target.value)})},standalone:!1,features:[f.Jv_([R]),f.Vt3]})}function E(gt){return null==gt||0===w(gt)}function w(gt){return null==gt?null:Array.isArray(gt)||"string"==typeof gt?gt.length:gt instanceof Set?gt.size:null}const O=new s.nKC(""),Z=new s.nKC(""),Ee=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class oe{static min(A){return j(A)}static max(A){return te(A)}static required(A){return ce(A)}static requiredTrue(A){return ye(A)}static email(A){return Le(A)}static minLength(A){return $e(A)}static maxLength(A){return Tt(A)}static pattern(A){return We(A)}static nullValidator(A){return null}static compose(A){return ve(A)}static composeAsync(A){return de(A)}}function j(gt){return A=>{if(null==A.value||null==gt)return null;const Se=parseFloat(A.value);return!isNaN(Se)&&Se<gt?{min:{min:gt,actual:A.value}}:null}}function te(gt){return A=>{if(null==A.value||null==gt)return null;const Se=parseFloat(A.value);return!isNaN(Se)&&Se>gt?{max:{max:gt,actual:A.value}}:null}}function ce(gt){return E(gt.value)?{required:!0}:null}function ye(gt){return!0===gt.value?null:{required:!0}}function Le(gt){return E(gt.value)||Ee.test(gt.value)?null:{email:!0}}function $e(gt){return A=>{const Se=A.value?.length??w(A.value);return null===Se||0===Se?null:Se<gt?{minlength:{requiredLength:gt,actualLength:Se}}:null}}function Tt(gt){return A=>{const Se=A.value?.length??w(A.value);return null!==Se&&Se>gt?{maxlength:{requiredLength:gt,actualLength:Se}}:null}}function We(gt){if(!gt)return Me;let A,Se;return"string"==typeof gt?(Se="","^"!==gt.charAt(0)&&(Se+="^"),Se+=gt,"$"!==gt.charAt(gt.length-1)&&(Se+="$"),A=new RegExp(Se)):(Se=gt.toString(),A=gt),dt=>{if(E(dt.value))return null;const En=dt.value;return A.test(En)?null:{pattern:{requiredPattern:Se,actualValue:En}}}}function Me(gt){return null}function ut(gt){return null!=gt}function xe(gt){return(0,f.yLl)(gt)?(0,x.H)(gt):gt}function Te(gt){let A={};return gt.forEach(Se=>{A=null!=Se?{...A,...Se}:A}),0===Object.keys(A).length?null:A}function Ce(gt,A){return A.map(Se=>Se(gt))}function he(gt){return gt.map(A=>function et(gt){return!gt.validate}(A)?A:Se=>A.validate(Se))}function ve(gt){if(!gt)return null;const A=gt.filter(ut);return 0==A.length?null:function(Se){return Te(Ce(Se,A))}}function be(gt){return null!=gt?ve(he(gt)):null}function de(gt){if(!gt)return null;const A=gt.filter(ut);return 0==A.length?null:function(Se){const dt=Ce(Se,A).map(xe);return(0,b.p)(dt).pipe((0,N.T)(Te))}}function G(gt){return null!=gt?de(he(gt)):null}function Fe(gt,A){return null===gt?[A]:Array.isArray(gt)?[...gt,A]:[gt,A]}function He(gt){return gt._rawValidators}function wt(gt){return gt._rawAsyncValidators}function Jt(gt){return gt?Array.isArray(gt)?gt:[gt]:[]}function ee(gt,A){return Array.isArray(gt)?gt.includes(A):gt===A}function V(gt,A){const Se=Jt(A);return Jt(gt).forEach(En=>{ee(Se,En)||Se.push(En)}),Se}function ue(gt,A){return Jt(A).filter(Se=>!ee(gt,Se))}class De{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(A){this._rawValidators=A||[],this._composedValidatorFn=be(this._rawValidators)}_setAsyncValidators(A){this._rawAsyncValidators=A||[],this._composedAsyncValidatorFn=G(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(A){this._onDestroyCallbacks.push(A)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(A=>A()),this._onDestroyCallbacks=[]}reset(A=void 0){this.control?.reset(A)}hasError(A,Se){return!!this.control&&this.control.hasError(A,Se)}getError(A,Se){return this.control?this.control.getError(A,Se):null}}class rt extends De{name;get formDirective(){return null}get path(){return null}}const lt="VALID",Oe="INVALID",at="PENDING",Q="DISABLED";class Ae{}class Qe extends Ae{value;source;constructor(A,Se){super(),this.value=A,this.source=Se}}class kt extends Ae{pristine;source;constructor(A,Se){super(),this.pristine=A,this.source=Se}}class cn extends Ae{touched;source;constructor(A,Se){super(),this.touched=A,this.source=Se}}class mn extends Ae{status;source;constructor(A,Se){super(),this.status=A,this.source=Se}}class Jn extends Ae{source;constructor(A){super(),this.source=A}}class Ti extends Ae{source;constructor(A){super(),this.source=A}}function $i(gt){return(pr(gt)?gt.validators:gt)||null}function ui(gt,A){return(pr(A)?A.asyncValidators:gt)||null}function pr(gt){return null!=gt&&!Array.isArray(gt)&&"object"==typeof gt}function Yn(gt,A,Se){const dt=gt.controls;if(!(A?Object.keys(dt):dt).length)throw new s.buA(1e3,"");if(!zn(dt,Se))throw new s.buA(1001,"")}function Yt(gt,A,Se){gt._forEachChild((dt,En)=>{if(void 0===Se[En])throw new s.buA(-1002,"")})}class wn{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_hasRequired=(0,s.vPA)(!1);_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(A,Se){this._assignValidators(A),this._assignAsyncValidators(Se)}get validator(){return this._composedValidatorFn}set validator(A){this._rawValidators=this._composedValidatorFn=A,this._updateHasRequiredValidator()}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(A){this._rawAsyncValidators=this._composedAsyncValidatorFn=A}get parent(){return this._parent}get status(){return(0,P.O8)(this.statusReactive)}set status(A){(0,P.O8)(()=>this.statusReactive.set(A))}_status=(0,P.EW)(()=>this.statusReactive());statusReactive=(0,s.vPA)(void 0);get valid(){return this.status===lt}get invalid(){return this.status===Oe}get pending(){return this.status===at}get disabled(){return this.status===Q}get enabled(){return this.status!==Q}errors;get pristine(){return(0,P.O8)(this.pristineReactive)}set pristine(A){(0,P.O8)(()=>this.pristineReactive.set(A))}_pristine=(0,P.EW)(()=>this.pristineReactive());pristineReactive=(0,s.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,P.O8)(this.touchedReactive)}set touched(A){(0,P.O8)(()=>this.touchedReactive.set(A))}_touched=(0,P.EW)(()=>this.touchedReactive());touchedReactive=(0,s.vPA)(!1);get untouched(){return!this.touched}_events=new D.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(A){this._assignValidators(A)}setAsyncValidators(A){this._assignAsyncValidators(A)}addValidators(A){this.setValidators(V(A,this._rawValidators))}addAsyncValidators(A){this.setAsyncValidators(V(A,this._rawAsyncValidators))}removeValidators(A){this.setValidators(ue(A,this._rawValidators))}removeAsyncValidators(A){this.setAsyncValidators(ue(A,this._rawAsyncValidators))}hasValidator(A){return ee(this._rawValidators,A)}hasAsyncValidator(A){return ee(this._rawAsyncValidators,A)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(A={}){const Se=!1===this.touched;this.touched=!0;const dt=A.sourceControl??this;A.onlySelf||this._parent?.markAsTouched({...A,sourceControl:dt}),Se&&!1!==A.emitEvent&&this._events.next(new cn(!0,dt))}markAllAsDirty(A={}){this.markAsDirty({onlySelf:!0,emitEvent:A.emitEvent,sourceControl:this}),this._forEachChild(Se=>Se.markAllAsDirty(A))}markAllAsTouched(A={}){this.markAsTouched({onlySelf:!0,emitEvent:A.emitEvent,sourceControl:this}),this._forEachChild(Se=>Se.markAllAsTouched(A))}markAsUntouched(A={}){const Se=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const dt=A.sourceControl??this;this._forEachChild(En=>{En.markAsUntouched({onlySelf:!0,emitEvent:A.emitEvent,sourceControl:dt})}),A.onlySelf||this._parent?._updateTouched(A,dt),Se&&!1!==A.emitEvent&&this._events.next(new cn(!1,dt))}markAsDirty(A={}){const Se=!0===this.pristine;this.pristine=!1;const dt=A.sourceControl??this;A.onlySelf||this._parent?.markAsDirty({...A,sourceControl:dt}),Se&&!1!==A.emitEvent&&this._events.next(new kt(!1,dt))}markAsPristine(A={}){const Se=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const dt=A.sourceControl??this;this._forEachChild(En=>{En.markAsPristine({onlySelf:!0,emitEvent:A.emitEvent})}),A.onlySelf||this._parent?._updatePristine(A,dt),Se&&!1!==A.emitEvent&&this._events.next(new kt(!0,dt))}markAsPending(A={}){this.status=at;const Se=A.sourceControl??this;!1!==A.emitEvent&&(this._events.next(new mn(this.status,Se)),this.statusChanges.emit(this.status)),A.onlySelf||this._parent?.markAsPending({...A,sourceControl:Se})}disable(A={}){const Se=this._parentMarkedDirty(A.onlySelf);this.status=Q,this.errors=null,this._forEachChild(En=>{En.disable({...A,onlySelf:!0})}),this._updateValue();const dt=A.sourceControl??this;!1!==A.emitEvent&&(this._events.next(new Qe(this.value,dt)),this._events.next(new mn(this.status,dt)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...A,skipPristineCheck:Se},this),this._onDisabledChange.forEach(En=>En(!0))}enable(A={}){const Se=this._parentMarkedDirty(A.onlySelf);this.status=lt,this._forEachChild(dt=>{dt.enable({...A,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:A.emitEvent}),this._updateAncestors({...A,skipPristineCheck:Se},this),this._onDisabledChange.forEach(dt=>dt(!1))}_updateAncestors(A,Se){A.onlySelf||(this._parent?.updateValueAndValidity(A),A.skipPristineCheck||this._parent?._updatePristine({},Se),this._parent?._updateTouched({},Se))}setParent(A){this._parent=A}getRawValue(){return this.value}updateValueAndValidity(A={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const dt=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===lt||this.status===at)&&this._runAsyncValidator(dt,A.emitEvent)}const Se=A.sourceControl??this;!1!==A.emitEvent&&(this._events.next(new Qe(this.value,Se)),this._events.next(new mn(this.status,Se)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),A.onlySelf||this._parent?.updateValueAndValidity({...A,sourceControl:Se})}_updateTreeValidity(A={emitEvent:!0}){this._forEachChild(Se=>Se._updateTreeValidity(A)),this.updateValueAndValidity({onlySelf:!0,emitEvent:A.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Q:lt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(A,Se){if(this.asyncValidator){this.status=at,this._hasOwnPendingAsyncValidator={emitEvent:!1!==Se,shouldHaveEmitted:!1!==A};const dt=xe(this.asyncValidator(this));this._asyncValidationSubscription=dt.subscribe(En=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(En,{emitEvent:Se,shouldHaveEmitted:A})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const A=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,A}return!1}setErrors(A,Se={}){this.errors=A,this._updateControlsErrors(!1!==Se.emitEvent,this,Se.shouldHaveEmitted)}get(A){let Se=A;return null==Se||(Array.isArray(Se)||(Se=Se.split(".")),0===Se.length)?null:Se.reduce((dt,En)=>dt&&dt._find(En),this)}getError(A,Se){const dt=Se?this.get(Se):this;return dt?.errors?dt.errors[A]:null}hasError(A,Se){return!!this.getError(A,Se)}get root(){let A=this;for(;A._parent;)A=A._parent;return A}_updateControlsErrors(A,Se,dt){this.status=this._calculateStatus(),A&&this.statusChanges.emit(this.status),(A||dt)&&this._events.next(new mn(this.status,Se)),this._parent&&this._parent._updateControlsErrors(A,Se,dt)}_initObservables(){this.valueChanges=new s.bkB,this.statusChanges=new s.bkB}_calculateStatus(){return this._allControlsDisabled()?Q:this.errors?Oe:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(at)?at:this._anyControlsHaveStatus(Oe)?Oe:lt}_anyControlsHaveStatus(A){return this._anyControls(Se=>Se.status===A)}_anyControlsDirty(){return this._anyControls(A=>A.dirty)}_anyControlsTouched(){return this._anyControls(A=>A.touched)}_updatePristine(A,Se){const dt=!this._anyControlsDirty(),En=this.pristine!==dt;this.pristine=dt,A.onlySelf||this._parent?._updatePristine(A,Se),En&&this._events.next(new kt(this.pristine,Se))}_updateTouched(A={},Se){this.touched=this._anyControlsTouched(),this._events.next(new cn(this.touched,Se)),A.onlySelf||this._parent?._updateTouched(A,Se)}_onDisabledChange=[];_registerOnCollectionChange(A){this._onCollectionChange=A}_setUpdateStrategy(A){pr(A)&&null!=A.updateOn&&(this._updateOn=A.updateOn)}_parentMarkedDirty(A){return!A&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(A){return null}_assignValidators(A){this._rawValidators=Array.isArray(A)?A.slice():A,this._composedValidatorFn=function Ei(gt){return Array.isArray(gt)?be(gt):gt||null}(this._rawValidators),this._updateHasRequiredValidator()}_assignAsyncValidators(A){this._rawAsyncValidators=Array.isArray(A)?A.slice():A,this._composedAsyncValidatorFn=function sr(gt){return Array.isArray(gt)?G(gt):gt||null}(this._rawAsyncValidators)}_updateHasRequiredValidator(){(0,P.O8)(()=>this._hasRequired.set(this.hasValidator(oe.required)))}}function zn(gt,A){return Object.hasOwn(gt,A)}function Qn(gt){return"INPUT"===gt.tagName||"SELECT"===gt.tagName||"TEXTAREA"===gt.tagName}function pi(gt){if("INPUT"!==gt.tagName)return!1;const A=gt.type;return"number"===A||"range"===A||"date"===A||"month"===A}function Mr(gt){return"INPUT"===gt.tagName||"TEXTAREA"===gt.tagName}function Fr(gt,A,Se,dt){switch(Se){case"name":gt.setAttribute(A,Se,dt);break;case"disabled":case"readonly":case"required":dt?gt.setAttribute(A,Se,""):gt.removeAttribute(A,Se);break;case"max":case"min":case"minLength":case"maxLength":void 0!==dt?gt.setAttribute(A,Se,dt.toString()):gt.removeAttribute(A,Se)}}class co{kind;context;control;message;constructor({kind:A,context:Se,control:dt}){this.kind=A,this.context=Se,this.control=dt}}function lo(gt){return"number"==typeof gt?gt:parseInt(gt,10)}function to(gt){return"number"==typeof gt?gt:parseFloat(gt)}class br{_validator=Me;_onChange;_enabled;ngOnChanges(A){if(this.inputName in A){const Se=this.normalizeInput(A[this.inputName].currentValue);this._enabled=this.enabled(Se),this._validator=this._enabled?this.createValidator(Se):Me,this._onChange?.()}}validate(A){return this._validator(A)}registerOnValidatorChange(A){this._onChange=A}enabled(A){return null!=A}static \u0275fac=function(Se){return new(Se||br)};static \u0275dir=f.FsC({type:br,features:[f.OA$]})}const es={provide:O,useExisting:(0,s.Rfq)(()=>qr),multi:!0};class qr extends br{max;inputName="max";normalizeInput=A=>to(A);createValidator=A=>te(A);static \u0275fac=(()=>{let A;return function(dt){return(A||(A=f.xGo(qr)))(dt||qr)}})();static \u0275dir=f.FsC({type:qr,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Se,dt){2&Se&&f.BMQ("max",dt._enabled?dt.max:null)},inputs:{max:"max"},standalone:!1,features:[f.Jv_([es]),f.Vt3]})}const uo={provide:O,useExisting:(0,s.Rfq)(()=>wr),multi:!0};class wr extends br{min;inputName="min";normalizeInput=A=>to(A);createValidator=A=>j(A);static \u0275fac=(()=>{let A;return function(dt){return(A||(A=f.xGo(wr)))(dt||wr)}})();static \u0275dir=f.FsC({type:wr,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Se,dt){2&Se&&f.BMQ("min",dt._enabled?dt.min:null)},inputs:{min:"min"},standalone:!1,features:[f.Jv_([uo]),f.Vt3]})}const Qi={provide:O,useExisting:(0,s.Rfq)(()=>Ar),multi:!0},Cr={provide:O,useExisting:(0,s.Rfq)(()=>zt),multi:!0};class Ar extends br{required;inputName="required";normalizeInput=m.L39;createValidator=A=>ce;enabled(A){return A}static \u0275fac=(()=>{let A;return function(dt){return(A||(A=f.xGo(Ar)))(dt||Ar)}})();static \u0275dir=f.FsC({type:Ar,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Se,dt){2&Se&&f.BMQ("required",dt._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[f.Jv_([Qi]),f.Vt3]})}class zt extends Ar{createValidator=A=>ye;static \u0275fac=(()=>{let A;return function(dt){return(A||(A=f.xGo(zt)))(dt||zt)}})();static \u0275dir=f.FsC({type:zt,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Se,dt){2&Se&&f.BMQ("required",dt._enabled?"":null)},standalone:!1,features:[f.Jv_([Cr]),f.Vt3]})}const pt={provide:O,useExisting:(0,s.Rfq)(()=>Bt),multi:!0};class Bt extends br{email;inputName="email";normalizeInput=m.L39;createValidator=A=>Le;enabled(A){return A}static \u0275fac=(()=>{let A;return function(dt){return(A||(A=f.xGo(Bt)))(dt||Bt)}})();static \u0275dir=f.FsC({type:Bt,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},standalone:!1,features:[f.Jv_([pt]),f.Vt3]})}const _n={provide:O,useExisting:(0,s.Rfq)(()=>Kn),multi:!0};class Kn extends br{minlength;inputName="minlength";normalizeInput=A=>lo(A);createValidator=A=>$e(A);static \u0275fac=(()=>{let A;return function(dt){return(A||(A=f.xGo(Kn)))(dt||Kn)}})();static \u0275dir=f.FsC({type:Kn,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(Se,dt){2&Se&&f.BMQ("minlength",dt._enabled?dt.minlength:null)},inputs:{minlength:"minlength"},standalone:!1,features:[f.Jv_([_n]),f.Vt3]})}const pn={provide:O,useExisting:(0,s.Rfq)(()=>mi),multi:!0};class mi extends br{maxlength;inputName="maxlength";normalizeInput=A=>lo(A);createValidator=A=>Tt(A);static \u0275fac=(()=>{let A;return function(dt){return(A||(A=f.xGo(mi)))(dt||mi)}})();static \u0275dir=f.FsC({type:mi,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(Se,dt){2&Se&&f.BMQ("maxlength",dt._enabled?dt.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[f.Jv_([pn]),f.Vt3]})}const Mi={provide:O,useExisting:(0,s.Rfq)(()=>Hi),multi:!0};class Hi extends br{pattern;inputName="pattern";normalizeInput=A=>A;createValidator=A=>We(A);static \u0275fac=(()=>{let A;return function(dt){return(A||(A=f.xGo(Hi)))(dt||Hi)}})();static \u0275dir=f.FsC({type:Hi,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(Se,dt){2&Se&&f.BMQ("pattern",dt._enabled?dt.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[f.Jv_([Mi]),f.Vt3]})}const hr=new s.nKC(""),wi=new s.nKC("",{factory:()=>Ki}),Ki="always";function vo(gt,A){return[...A.path,gt]}function Gi(gt,A,Se=Ki){Ot(gt,A),A.valueAccessor.writeValue(gt.value),(gt.disabled||"always"===Se)&&A.valueAccessor.setDisabledState?.(gt.disabled),function kn(gt,A){A.valueAccessor.registerOnChange(Se=>{gt._pendingValue=Se,gt._pendingChange=!0,gt._pendingDirty=!0,"change"===gt.updateOn&&ti(gt,A)})}(gt,A),function Yi(gt,A){const Se=(dt,En)=>{A.valueAccessor.writeValue(dt),En&&A.viewToModelUpdate(dt)};gt.registerOnChange(Se),A._registerOnDestroy(()=>{gt._unregisterOnChange(Se)})}(gt,A),function In(gt,A){A.valueAccessor.registerOnTouched(()=>{gt._pendingTouched=!0,"blur"===gt.updateOn&>._pendingChange&&ti(gt,A),"submit"!==gt.updateOn&>.markAsTouched()})}(gt,A),function ft(gt,A){if(A.valueAccessor.setDisabledState){const Se=dt=>{A.valueAccessor.setDisabledState(dt)};gt.registerOnDisabledChange(Se),A._registerOnDestroy(()=>{gt._unregisterOnDisabledChange(Se)})}}(gt,A)}function Ze(gt,A,Se=!0){const dt=()=>{};A?.valueAccessor?.registerOnChange(dt),A?.valueAccessor?.registerOnTouched(dt),sn(gt,A),gt&&(A._invokeOnDestroyCallbacks(),gt._registerOnCollectionChange(()=>{}))}function tt(gt,A){gt.forEach(Se=>{Se.registerOnValidatorChange&&Se.registerOnValidatorChange(A)})}function Ot(gt,A){const Se=He(gt);null!==A.validator?gt.setValidators(Fe(Se,A.validator)):"function"==typeof Se&>.setValidators([Se]);const dt=wt(gt);null!==A.asyncValidator?gt.setAsyncValidators(Fe(dt,A.asyncValidator)):"function"==typeof dt&>.setAsyncValidators([dt]);const En=()=>gt.updateValueAndValidity();tt(A._rawValidators,En),tt(A._rawAsyncValidators,En)}function sn(gt,A){let Se=!1;if(null!==gt){if(null!==A.validator){const En=He(gt);if(Array.isArray(En)&&En.length>0){const fi=En.filter(fr=>fr!==A.validator);fi.length!==En.length&&(Se=!0,gt.setValidators(fi))}}if(null!==A.asyncValidator){const En=wt(gt);if(Array.isArray(En)&&En.length>0){const fi=En.filter(fr=>fr!==A.asyncValidator);fi.length!==En.length&&(Se=!0,gt.setAsyncValidators(fi))}}}const dt=()=>{};return tt(A._rawValidators,dt),tt(A._rawAsyncValidators,dt),Se}function ti(gt,A){gt._pendingDirty&>.markAsDirty(),gt.setValue(gt._pendingValue,{emitModelToViewChange:!1}),A.viewToModelUpdate(gt._pendingValue),gt._pendingChange=!1}function tr(gt,A){Ot(gt,A)}function Pr(gt,A){if(!gt.hasOwnProperty("model"))return!1;const Se=gt.model;return!!Se.isFirstChange()||!Object.is(A,Se.currentValue)}function ir(gt,A){gt._syncPendingControls(),A.forEach(Se=>{const dt=Se.control;"submit"===dt.updateOn&&dt._pendingChange&&(Se.viewToModelUpdate(dt._pendingValue),dt._pendingChange=!1)})}function ts(gt,A){if(!A)return null;let Se,dt,En;return Array.isArray(A),A.forEach(fi=>{fi.constructor===$?Se=fi:function Fi(gt){return Object.getPrototypeOf(gt.constructor)===J}(fi)?dt=fi:En=fi}),En||dt||Se||null}const Di={provide:hr,useFactory:()=>{const gt=(0,s.WQX)(oo,{self:!0});return{setParseErrors:A=>{gt.setParseErrorSource(A)},set onReset(A){gt.onReset=A}}}};class oo extends De{_parent=null;name=null;valueAccessor=null;isCustomControlBased=!1;userOnReset;resetSubscription;set onReset(A){this.userOnReset=A,this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.control&&(this.resetSubscription=this.control.events.subscribe(Se=>{Se instanceof Ti&&this.control&&this.userOnReset?.(this.control.value)}),this.subscription?.add(this.resetSubscription))}isNativeFormElement=!1;rawValueAccessors;_selectedValueAccessor=null;get selectedValueAccessor(){return this._selectedValueAccessor??=ts(0,this.rawValueAccessors)}parseErrorsValidator=null;renderer;injector;requiredValidatorViaDi;subscription;customControlBindings=null;constructor(A,Se,dt){super(),this.injector=A,this.renderer=Se,this.rawValueAccessors=dt,this.injector?.get(s.abz)?.onDestroy(()=>{this.removeParseErrorsValidator(this.control),this.subscription?.unsubscribe()})}setupCustomControl(){this.subscription?.unsubscribe();const A=this.injector?.get(m.gRc);if(!this.control||!A)return;const Se=A.markForCheck.bind(A);this.subscription=new y.yU,this.subscription.add(this.control.valueChanges.subscribe(Se)),this.subscription.add(this.control.statusChanges.subscribe(Se)),this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.userOnReset&&(this.resetSubscription=this.control.events.subscribe(dt=>{dt instanceof Ti&&this.control&&this.userOnReset?.(this.control.value)}),this.subscription.add(this.resetSubscription)),this.parseErrorsValidator&&this.control.addValidators(this.parseErrorsValidator)}ngControlCreate(A){!A.nativeElement.hasAttribute?.("ngNoCva")&&(this.rawValueAccessors&&this.rawValueAccessors.length>0||null!==this.valueAccessor)||!A.customControl||(this.isCustomControlBased=!0,A.listenToCustomControlModel(En=>{this.control?.setValue(En,{emitModelToViewChange:!1}),this.control?.markAsDirty(),this.viewToModelUpdate(En)}),A.listenToCustomControlOutput("touch",()=>{this.control?.markAsTouched()}),this.customControlBindings={},this.isNativeFormElement=Qn(A.nativeElement),this.requiredValidatorViaDi=this._rawValidators.find(En=>En instanceof Ar))}ngControlUpdate(A,Se){if(!this.isCustomControlBased)return;const dt=this.control,En=this.customControlBindings;Object.is(En.value,dt.value)||(En.value=dt.value,A.setCustomControlModelInput(dt.value)),this.bindControlProperty(A,En,"touched",dt.touched),this.bindControlProperty(A,En,"dirty",dt.dirty),this.bindControlProperty(A,En,"valid",dt.valid),this.bindControlProperty(A,En,"invalid",dt.invalid),this.bindControlProperty(A,En,"pending",dt.pending),this.bindControlProperty(A,En,"disabled",dt.disabled),this.shouldBindRequired&&this.bindControlProperty(A,En,"required",this.isRequired);const fi=dt.errors;if(En.errors!==fi){En.errors=fi;const fr=this._convertErrors(fi);A.setInputOnDirectives("errors",fr)}}get isRequired(){return(this.requiredValidatorViaDi?._enabled||this.control?._hasRequired())??!1}get shouldBindRequired(){return!0}bindControlProperty(A,Se,dt,En){if(Se[dt]===En)return;Se[dt]=En;const fi=A.setInputOnDirectives(dt,En);this.isNativeFormElement&&!fi&&("disabled"===dt||"required"===dt)&&this.renderer&&Fr(this.renderer,A.nativeElement,dt,En)}_convertErrors(A){if(null===A)return[];const Se=this.control;return Object.entries(A).map(([dt,En])=>new co({context:En,kind:dt,control:Se}))}setParseErrorSource(A){if(void 0===A)return;let Se=null;const dt=(0,P.EW)(()=>{const En=A();return 0===En.length?null:En.reduce((fi,fr)=>(fi[fr.kind]=fr,fi),{})});this.parseErrorsValidator=(()=>Se).bind(this),(0,s.QZP)(()=>{Se=dt(),this.control?.updateValueAndValidity({emitEvent:!1})},{injector:this.injector})}removeParseErrorsValidator(A){this.parseErrorsValidator&&(A?.removeValidators(this.parseErrorsValidator),A?.updateValueAndValidity({emitEvent:!1}))}}class yo{_cd;constructor(A){this._cd=A}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}class cs extends yo{constructor(A){super(A)}static \u0275fac=function(Se){return new(Se||cs)(f.rXU(oo,2))};static \u0275dir=f.FsC({type:cs,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Se,dt){2&Se&&f.AVh("ng-untouched",dt.isUntouched)("ng-touched",dt.isTouched)("ng-pristine",dt.isPristine)("ng-dirty",dt.isDirty)("ng-valid",dt.isValid)("ng-invalid",dt.isInvalid)("ng-pending",dt.isPending)},standalone:!1,features:[f.Vt3]})}class Xo extends yo{constructor(A){super(A)}static \u0275fac=function(Se){return new(Se||Xo)(f.rXU(rt,10))};static \u0275dir=f.FsC({type:Xo,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Se,dt){2&Se&&f.AVh("ng-untouched",dt.isUntouched)("ng-touched",dt.isTouched)("ng-pristine",dt.isPristine)("ng-dirty",dt.isDirty)("ng-valid",dt.isValid)("ng-invalid",dt.isInvalid)("ng-pending",dt.isPending)("ng-submitted",dt.isSubmitted)},standalone:!1,features:[f.Vt3]})}class St extends wn{constructor(A,Se,dt){super($i(Se),ui(dt,Se)),this.controls=A,this._initObservables(),this._setUpdateStrategy(Se),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(A,Se){return this._find(A)||(this.controls[A]=Se,Se.setParent(this),Se._registerOnCollectionChange(this._onCollectionChange),Se)}addControl(A,Se,dt={}){this.registerControl(A,Se),this.updateValueAndValidity({emitEvent:dt.emitEvent}),this._onCollectionChange()}removeControl(A,Se={}){const dt=this._find(A);dt&&dt._registerOnCollectionChange(()=>{}),delete this.controls[A],this.updateValueAndValidity({emitEvent:Se.emitEvent}),this._onCollectionChange()}setControl(A,Se,dt={}){const En=this._find(A);En&&En._registerOnCollectionChange(()=>{}),delete this.controls[A],Se&&this.registerControl(A,Se),this.updateValueAndValidity({emitEvent:dt.emitEvent}),this._onCollectionChange()}contains(A){return!0===this._find(A)?.enabled}setValue(A,Se={}){(0,P.O8)(()=>{Yt(this,0,A),Object.keys(A).forEach(dt=>{Yn(this,!0,dt),this.controls[dt].setValue(A[dt],{onlySelf:!0,emitEvent:Se.emitEvent})}),this.updateValueAndValidity(Se)})}patchValue(A,Se={}){null!=A&&(Object.keys(A).forEach(dt=>{const En=this._find(dt);En&&En.patchValue(A[dt],{onlySelf:!0,emitEvent:Se.emitEvent})}),this.updateValueAndValidity(Se))}reset(A={},Se={}){this._forEachChild((dt,En)=>{dt.reset(A?A[En]:null,{...Se,onlySelf:!0})}),this._updatePristine(Se,this),this._updateTouched(Se,this),this.updateValueAndValidity(Se),!1!==Se?.emitEvent&&this._events.next(new Ti(this))}getRawValue(){return this._reduceChildren({},(A,Se,dt)=>(A[dt]=Se.getRawValue(),A))}_syncPendingControls(){let A=this._reduceChildren(!1,(Se,dt)=>!!dt._syncPendingControls()||Se);return A&&this.updateValueAndValidity({onlySelf:!0}),A}_forEachChild(A){Object.keys(this.controls).forEach(Se=>{const dt=this.controls[Se];dt&&A(dt,Se)})}_setUpControls(){this._forEachChild(A=>{A.setParent(this),A._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(A){for(const[Se,dt]of Object.entries(this.controls))if(this.contains(Se)&&A(dt))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Se,dt,En)=>((dt.enabled||this.disabled)&&(Se[En]=dt.value),Se))}_reduceChildren(A,Se){let dt=A;return this._forEachChild((En,fi)=>{dt=Se(dt,En,fi)}),dt}_allControlsDisabled(){for(const A of Object.keys(this.controls))if(this.controls[A].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(A){return zn(this.controls,A)?this.controls[A]:null}}class Ln extends St{}const Sn={provide:rt,useExisting:(0,s.Rfq)(()=>Ui)},Wn=Promise.resolve();class Ui extends rt{callSetDisabledState;get submitted(){return(0,P.O8)(this.submittedReactive)}_submitted=(0,P.EW)(()=>this.submittedReactive());submittedReactive=(0,s.vPA)(!1);_directives=new Set;form;ngSubmit=new s.bkB;options;constructor(A,Se,dt){super(),this.callSetDisabledState=dt,this.form=new St({},be(A),G(Se))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(A){Wn.then(()=>{const Se=this._findContainer(A.path);A.control=Se.registerControl(A.name,A.control),A._setupWithForm(this.callSetDisabledState),A.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(A)})}getControl(A){return this.form.get(A.path)}removeControl(A){Wn.then(()=>{this._findContainer(A.path)?.removeControl(A.name),this._directives.delete(A)})}addFormGroup(A){Wn.then(()=>{const Se=this._findContainer(A.path),dt=new St({});tr(dt,A),Se.registerControl(A.name,dt),dt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(A){Wn.then(()=>{this._findContainer(A.path)?.removeControl?.(A.name)})}getFormGroup(A){return this.form.get(A.path)}updateModel(A,Se){Wn.then(()=>{this.form.get(A.path).setValue(Se)})}setValue(A){this.control.setValue(A)}onSubmit(A){return this.submittedReactive.set(!0),ir(this.form,this._directives),this.ngSubmit.emit(A),this.form._events.next(new Jn(this.control)),"dialog"===A?.target?.method}onReset(){this.resetForm()}resetForm(A=void 0){this.form.reset(A),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(A){return A.pop(),A.length?this.form.get(A):this.form}static \u0275fac=function(Se){return new(Se||Ui)(f.rXU(O,10),f.rXU(Z,10),f.rXU(wi,8))};static \u0275dir=f.FsC({type:Ui,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(Se,dt){1&Se&&f.bIt("submit",function(fi){return dt.onSubmit(fi)})("reset",function(){return dt.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[f.Jv_([Sn]),f.Vt3]})}function Xr(gt,A){const Se=gt.indexOf(A);Se>-1&>.splice(Se,1)}function jt(gt){return"object"==typeof gt&&null!==gt&&2===Object.keys(gt).length&&"value"in gt&&"disabled"in gt}const yt=class extends wn{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(A=null,Se,dt){super($i(Se),ui(dt,Se)),this._applyFormState(A),this._setUpdateStrategy(Se),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),pr(Se)&&(Se.nonNullable||Se.initialValueIsDefault)&&(jt(A)?this.defaultValue=A.value:this.defaultValue=A)}setValue(A,Se={}){(0,P.O8)(()=>{this.value=this._pendingValue=A,this._onChange.length&&!1!==Se.emitModelToViewChange&&this._onChange.forEach(dt=>dt(this.value,!1!==Se.emitViewToModelChange)),this.updateValueAndValidity(Se)})}patchValue(A,Se={}){this.setValue(A,Se)}reset(A=this.defaultValue,Se={}){this._applyFormState(A),this.markAsPristine(Se),this.markAsUntouched(Se),this.setValue(this.value,Se),Se.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,!1!==Se?.emitEvent&&this._events.next(new Ti(this))}_updateValue(){}_anyControls(A){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(A){this._onChange.push(A)}_unregisterOnChange(A){Xr(this._onChange,A)}registerOnDisabledChange(A){this._onDisabledChange.push(A)}_unregisterOnDisabledChange(A){Xr(this._onDisabledChange,A)}_forEachChild(A){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange))&&(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0)}_applyFormState(A){jt(A)?(this.value=this._pendingValue=A.value,A.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=A}};class bo extends rt{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective?.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return vo(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let A;return function(dt){return(A||(A=f.xGo(bo)))(dt||bo)}})();static \u0275dir=f.FsC({type:bo,standalone:!1,features:[f.Vt3]})}const Eo={provide:rt,useExisting:(0,s.Rfq)(()=>Do)};class Do extends bo{name="";constructor(A,Se,dt){super(),this._parent=A,this._setValidators(Se),this._setAsyncValidators(dt)}_checkParentType(){!(this._parent instanceof Do)&&this._parent}static \u0275fac=function(Se){return new(Se||Do)(f.rXU(rt,5),f.rXU(O,10),f.rXU(Z,10))};static \u0275dir=f.FsC({type:Do,selectors:[["","ngModelGroup",""]],inputs:{name:[0,"ngModelGroup","name"]},exportAs:["ngModelGroup"],standalone:!1,features:[f.Jv_([Eo]),f.Vt3]})}const is={provide:oo,useExisting:(0,s.Rfq)(()=>Co)},Ro=Promise.resolve();class Co extends oo{_changeDetectorRef;callSetDisabledState;control=new yt;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new s.bkB;constructor(A,Se,dt,En,fi,fr,nr,ds){super(nr,ds,En),this._changeDetectorRef=fi,this.callSetDisabledState=fr,this._parent=A,this._setValidators(Se),this._setAsyncValidators(dt)}ngOnChanges(A){if(this._checkForErrors(),!this._registered||"name"in A){if(this._registered&&(this._checkName(),this.formDirective)){const Se=A.name.previousValue;this.formDirective.removeControl({name:Se,path:this._getPath(Se)})}this._setUpControl()}"isDisabled"in A&&this._updateDisabled(A),Pr(A,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}\u0275ngControlCreate(A){super.ngControlCreate(A)}\u0275ngControlUpdate(A){super.ngControlUpdate(A,!1)}get shouldBindRequired(){return!1}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(A){this.viewModel=A,this.update.emit(A)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,Gi(this.control,this,this.callSetDisabledState)),this.control.updateValueAndValidity({emitEvent:!1})}_setupWithForm(A){this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,Gi(this.control,this,A))}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(A){Ro.then(()=>{this.control.setValue(A,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(A){const Se=A.isDisabled.currentValue,dt=0!==Se&&(0,m.L39)(Se);Ro.then(()=>{dt&&!this.control.disabled?this.control.disable():!dt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(A){return this._parent?vo(A,this._parent):[A]}static \u0275fac=function(Se){return new(Se||Co)(f.rXU(rt,9),f.rXU(O,10),f.rXU(Z,10),f.rXU(I,10),f.rXU(m.gRc,8),f.rXU(wi,8),f.rXU(s.zZn,8),f.rXU(f.sFG,8))};static \u0275dir=f.FsC({type:Co,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[f.Jv_([is,Di]),f.Vt3,f.OA$,f.cSq(null)]})}class hs{static \u0275fac=function(Se){return new(Se||hs)};static \u0275dir=f.FsC({type:hs,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}const ec={provide:I,useExisting:(0,s.Rfq)(()=>Os),multi:!0};class Os extends J{writeValue(A){const Se=A??"";this.setProperty("value",Se)}registerOnChange(A){this.onChange=Se=>{A(""==Se?null:parseFloat(Se))}}static \u0275fac=(()=>{let A;return function(dt){return(A||(A=f.xGo(Os)))(dt||Os)}})();static \u0275dir=f.FsC({type:Os,selectors:[["input","type","number","formControlName","",3,"ngNoCva",""],["input","type","number","formControl","",3,"ngNoCva",""],["input","type","number","ngModel","",3,"ngNoCva",""]],hostBindings:function(Se,dt){1&Se&&f.bIt("input",function(fi){return dt.onChange(fi.target.value)})("blur",function(){return dt.onTouched()})},standalone:!1,features:[f.Jv_([ec]),f.Vt3]})}const Ps={provide:I,useExisting:(0,s.Rfq)(()=>Rr),multi:!0};class Cs{_accessors=[];add(A,Se){this._accessors.push([A,Se])}remove(A){for(let Se=this._accessors.length-1;Se>=0;--Se)if(this._accessors[Se][1]===A)return void this._accessors.splice(Se,1)}select(A){this._accessors.forEach(Se=>{this._isSameGroup(Se,A)&&Se[1]!==A&&Se[1].fireUncheck(A.value)})}_isSameGroup(A,Se){return!!A[0].control&&(A[0]._parent===Se._control._parent&&A[1].name===Se.name)}static \u0275fac=function(Se){return new(Se||Cs)};static \u0275prov=f.tV_({token:Cs,factory:Cs.\u0275fac})}class Rr extends J{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=(0,s.WQX)(wi,{optional:!0})??Ki;constructor(A,Se,dt,En){super(A,Se),this._registry=dt,this._injector=En}ngOnInit(){this._control=this._injector.get(oo),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(A){this._state=A===this.value,this.setProperty("checked",this._state)}registerOnChange(A){this._fn=A,this.onChange=()=>{A(this.value),this._registry.select(this)}}setDisabledState(A){(this.setDisabledStateFired||A||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",A),this.setDisabledStateFired=!0}fireUncheck(A){this.writeValue(A)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}static \u0275fac=function(Se){return new(Se||Rr)(f.rXU(f.sFG),f.rXU(f.aKT),f.rXU(Cs),f.rXU(s.zZn))};static \u0275dir=f.FsC({type:Rr,selectors:[["input","type","radio","formControlName","",3,"ngNoCva",""],["input","type","radio","formControl","",3,"ngNoCva",""],["input","type","radio","ngModel","",3,"ngNoCva",""]],hostBindings:function(Se,dt){1&Se&&f.bIt("change",function(){return dt.onChange()})("blur",function(){return dt.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[f.Jv_([Ps]),f.Vt3]})}const oa={provide:I,useExisting:(0,s.Rfq)(()=>ls),multi:!0};class ls extends J{writeValue(A){this.setProperty("value",parseFloat(A))}registerOnChange(A){this.onChange=Se=>{A(""==Se?null:parseFloat(Se))}}static \u0275fac=(()=>{let A;return function(dt){return(A||(A=f.xGo(ls)))(dt||ls)}})();static \u0275dir=f.FsC({type:ls,selectors:[["input","type","range","formControlName","",3,"ngNoCva",""],["input","type","range","formControl","",3,"ngNoCva",""],["input","type","range","ngModel","",3,"ngNoCva",""]],hostBindings:function(Se,dt){1&Se&&f.bIt("change",function(fi){return dt.onChange(fi.target.value)})("input",function(fi){return dt.onChange(fi.target.value)})("blur",function(){return dt.onTouched()})},standalone:!1,features:[f.Jv_([oa]),f.Vt3]})}class Ao extends wn{constructor(A,Se,dt){super($i(Se),ui(dt,Se)),this.controls=A,this._initObservables(),this._setUpdateStrategy(Se),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(A){return this.controls[this._adjustIndex(A)]}push(A,Se={}){Array.isArray(A)?A.forEach(dt=>{this.controls.push(dt),this._registerControl(dt)}):(this.controls.push(A),this._registerControl(A)),this.updateValueAndValidity({emitEvent:Se.emitEvent}),this._onCollectionChange()}insert(A,Se,dt={}){this.controls.splice(A,0,Se),this._registerControl(Se),this.updateValueAndValidity({emitEvent:dt.emitEvent})}removeAt(A,Se={}){let dt=this._adjustIndex(A);dt<0&&(dt=0),this.controls[dt]&&this.controls[dt]._registerOnCollectionChange(()=>{}),this.controls.splice(dt,1),this.updateValueAndValidity({emitEvent:Se.emitEvent})}setControl(A,Se,dt={}){let En=this._adjustIndex(A);En<0&&(En=0),this.controls[En]&&this.controls[En]._registerOnCollectionChange(()=>{}),this.controls.splice(En,1),Se&&(this.controls.splice(En,0,Se),this._registerControl(Se)),this.updateValueAndValidity({emitEvent:dt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(A,Se={}){(0,P.O8)(()=>{Yt(this,0,A),A.forEach((dt,En)=>{Yn(this,!1,En),this.at(En).setValue(dt,{onlySelf:!0,emitEvent:Se.emitEvent})}),this.updateValueAndValidity(Se)})}patchValue(A,Se={}){null!=A&&(A.forEach((dt,En)=>{this.at(En)&&this.at(En).patchValue(dt,{onlySelf:!0,emitEvent:Se.emitEvent})}),this.updateValueAndValidity(Se))}reset(A=[],Se={}){this._forEachChild((dt,En)=>{dt.reset(A[En],{...Se,onlySelf:!0})}),this._updatePristine(Se,this),this._updateTouched(Se,this),this.updateValueAndValidity(Se),!1!==Se?.emitEvent&&this._events.next(new Ti(this))}getRawValue(){return this.controls.map(A=>A.getRawValue())}clear(A={}){this.controls.length<1||(this._forEachChild(Se=>Se._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:A.emitEvent}))}_adjustIndex(A){return A<0?A+this.length:A}_syncPendingControls(){let A=this.controls.reduce((Se,dt)=>!!dt._syncPendingControls()||Se,!1);return A&&this.updateValueAndValidity({onlySelf:!0}),A}_forEachChild(A){this.controls.forEach((Se,dt)=>{A(Se,dt)})}_updateValue(){this.value=this.controls.filter(A=>A.enabled||this.disabled).map(A=>A.value)}_anyControls(A){return this.controls.some(Se=>Se.enabled&&A(Se))}_setUpControls(){this._forEachChild(A=>this._registerControl(A))}_allControlsDisabled(){for(const A of this.controls)if(A.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(A){A.setParent(this),A._registerOnCollectionChange(this._onCollectionChange)}_find(A){return this.at(A)??null}}class Kr extends rt{callSetDisabledState;get submitted(){return(0,P.O8)(this._submittedReactive)}set submitted(A){this._submittedReactive.set(A)}_submitted=(0,P.EW)(()=>this._submittedReactive());_submittedReactive=(0,s.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(A,Se,dt){super(),this.callSetDisabledState=dt,this._setValidators(A),this._setAsyncValidators(Se)}ngOnChanges(A){this.onChanges(A)}ngOnDestroy(){this.onDestroy()}onChanges(A){this._checkFormPresent(),A.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(sn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(A){const Se=this.form.get(A.path);return A._setupWithForm(Se,this.callSetDisabledState),Se.updateValueAndValidity({emitEvent:!1}),this.directives.push(A),Se}getControl(A){return this.form.get(A.path)}removeControl(A){Ze(A.control||null,A,!1),function Vr(gt,A){const Se=gt.indexOf(A);Se>-1&>.splice(Se,1)}(this.directives,A)}addFormGroup(A){this._setUpFormContainer(A)}removeFormGroup(A){this._cleanUpFormContainer(A)}getFormGroup(A){return this.form.get(A.path)}getFormArray(A){return this.form.get(A.path)}addFormArray(A){this._setUpFormContainer(A)}removeFormArray(A){this._cleanUpFormContainer(A)}updateModel(A,Se){this.form.get(A.path).setValue(Se)}onReset(){this.resetForm()}resetForm(A=void 0,Se={}){this.form.reset(A,Se),this._submittedReactive.set(!1)}onSubmit(A){return this.submitted=!0,ir(this.form,this.directives),this.ngSubmit.emit(A),this.form._events.next(new Jn(this.control)),"dialog"===A?.target?.method}_updateDomValue(){this.directives.forEach(A=>{const Se=A.control,dt=this.form.get(A.path);Se!==dt&&(Ze(Se||null,A),dt instanceof yt&&A._setupWithForm(dt,this.callSetDisabledState))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(A){const Se=this.form.get(A.path);tr(Se,A),Se.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(A){const Se=this.form?.get(A.path);Se&&function qi(gt,A){return sn(gt,A)}(Se,A)&&Se.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){Ot(this.form,this),this._oldForm&&sn(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(Se){return new(Se||Kr)(f.rXU(O,10),f.rXU(Z,10),f.rXU(wi,8))};static \u0275dir=f.FsC({type:Kr,features:[f.Vt3,f.OA$]})}const Ns={provide:rt,useExisting:(0,s.Rfq)(()=>ys)};class ys extends Kr{form=null;ngSubmit=new s.bkB;get control(){return this.form}static \u0275fac=(()=>{let A;return function(dt){return(A||(A=f.xGo(ys)))(dt||ys)}})();static \u0275dir=f.FsC({type:ys,selectors:[["","formArray",""]],hostBindings:function(Se,dt){1&Se&&f.bIt("submit",function(fi){return dt.onSubmit(fi)})("reset",function(){return dt.onReset()})},inputs:{form:[0,"formArray","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[f.Jv_([Ns]),f.Vt3]})}const ho=new s.nKC(""),ja={provide:oo,useExisting:(0,s.Rfq)(()=>bs)};class bs extends oo{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(A){}model;update=new s.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(A,Se,dt,En,fi,fr,nr){super(nr,fr,dt),this._ngModelWarningConfig=En,this.callSetDisabledState=fi,this._setValidators(A),this._setAsyncValidators(Se)}ngOnChanges(A){if(this._isControlChanged(A)){const Se=A.form.previousValue;Se&&(Ze(Se,this,!1),this.removeParseErrorsValidator(Se)),this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,Gi(this.form,this,this.callSetDisabledState)),this.form.updateValueAndValidity({emitEvent:!1})}Pr(A,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ze(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(A){this.viewModel=A,this.update.emit(A)}_isControlChanged(A){return A.hasOwnProperty("form")}\u0275ngControlCreate(A){super.ngControlCreate(A)}\u0275ngControlUpdate(A){super.ngControlUpdate(A,!0)}static \u0275fac=function(Se){return new(Se||bs)(f.rXU(O,10),f.rXU(Z,10),f.rXU(I,10),f.rXU(ho,8),f.rXU(wi,8),f.rXU(f.sFG,8),f.rXU(s.zZn,8))};static \u0275dir=f.FsC({type:bs,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[f.Jv_([ja,Di]),f.Vt3,f.OA$,f.cSq(null)]})}const Ha={provide:rt,useExisting:(0,s.Rfq)(()=>wo)};class wo extends bo{name=null;constructor(A,Se,dt){super(),this._parent=A,this._setValidators(Se),this._setAsyncValidators(dt)}_checkParentType(){Ls(this._parent)}static \u0275fac=function(Se){return new(Se||wo)(f.rXU(rt,13),f.rXU(O,10),f.rXU(Z,10))};static \u0275dir=f.FsC({type:wo,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[f.Jv_([Ha]),f.Vt3]})}const Ta={provide:rt,useExisting:(0,s.Rfq)(()=>Es)};class Es extends rt{_parent;name=null;constructor(A,Se,dt){super(),this._parent=A,this._setValidators(Se),this._setAsyncValidators(dt)}ngOnInit(){Ls(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return vo(null==this.name?this.name:this.name.toString(),this._parent)}static \u0275fac=function(Se){return new(Se||Es)(f.rXU(rt,13),f.rXU(O,10),f.rXU(Z,10))};static \u0275dir=f.FsC({type:Es,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[f.Jv_([Ta]),f.Vt3]})}function Ls(gt){return!(gt instanceof wo||gt instanceof Kr||gt instanceof Es)}const Ic={provide:oo,useExisting:(0,s.Rfq)(()=>so)};class so extends oo{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(A){}model;update=new s.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(A,Se,dt,En,fi,fr,nr){super(nr,fr,En),this._ngModelWarningConfig=fi,this._parent=A,this._setValidators(Se),this._setAsyncValidators(dt)}_setupWithForm(A,Se){this.control=A,this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,Gi(A,this,Se))}ngOnChanges(A){this._added||this._setUpControl(),Pr(A,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective?.removeControl(this)}viewToModelUpdate(A){this.viewModel=A,this.update.emit(A)}get path(){return vo(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}\u0275ngControlCreate(A){super.ngControlCreate(A)}\u0275ngControlUpdate(A){this.isCustomControlBased&&(this._added||this._setUpControl(),super.ngControlUpdate(A,!0))}static \u0275fac=function(Se){return new(Se||so)(f.rXU(rt,13),f.rXU(O,10),f.rXU(Z,10),f.rXU(I,10),f.rXU(ho,8),f.rXU(f.sFG,8),f.rXU(s.zZn,8))};static \u0275dir=f.FsC({type:so,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[f.Jv_([Ic,Di]),f.Vt3,f.OA$,f.cSq(null)]})}const zs={provide:rt,useExisting:(0,s.Rfq)(()=>os)};class os extends Kr{form=null;ngSubmit=new s.bkB;get control(){return this.form}static \u0275fac=(()=>{let A;return function(dt){return(A||(A=f.xGo(os)))(dt||os)}})();static \u0275dir=f.FsC({type:os,selectors:[["","formGroup",""]],hostBindings:function(Se,dt){1&Se&&f.bIt("submit",function(fi){return dt.onSubmit(fi)})("reset",function(){return dt.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[f.Jv_([zs]),f.Vt3]})}const Ks={provide:I,useExisting:(0,s.Rfq)(()=>Wo),multi:!0};function Bs(gt,A){return null==gt?`${A}`:(A&&"object"==typeof A&&(A="Object"),`${gt}: ${A}`.slice(0,50))}class Wo extends J{value;_optionMap=new Map;_idCounter=0;set compareWith(A){this._compareWith=A}_compareWith=Object.is;appRefInjector=(0,s.WQX)(f.o8S).injector;destroyRef=(0,s.WQX)(s.abz);cdr=(0,s.WQX)(m.gRc);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,(0,f.mal)({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(A){this.cdr.markForCheck(),this.value=A;const dt=Bs(this._getOptionId(A),A);this.setProperty("value",dt)}registerOnChange(A){this.onChange=Se=>{this.value=this._getOptionValue(Se),A(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(A){for(const Se of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Se),A))return Se;return null}_getOptionValue(A){const Se=function sa(gt){return gt.split(":")[0]}(A);return this._optionMap.has(Se)?this._optionMap.get(Se):A}static \u0275fac=(()=>{let A;return function(dt){return(A||(A=f.xGo(Wo)))(dt||Wo)}})();static \u0275dir=f.FsC({type:Wo,selectors:[["select","formControlName","",3,"multiple","",3,"ngNoCva",""],["select","formControl","",3,"multiple","",3,"ngNoCva",""],["select","ngModel","",3,"multiple","",3,"ngNoCva",""]],hostBindings:function(Se,dt){1&Se&&f.bIt("change",function(fi){return dt.onChange(fi.target.value)})("blur",function(){return dt.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[f.Jv_([Ks]),f.Vt3]})}class Gs{_element;_renderer;_select;id;constructor(A,Se,dt){this._element=A,this._renderer=Se,this._select=dt,this._select&&(this.id=this._select._registerOption())}set ngValue(A){null!=this._select&&(this._select._optionMap.set(this.id,A),this._setElementValue(Bs(this.id,A)),this._select._writeValueAfterRender())}set value(A){this._setElementValue(A),this._select?._writeValueAfterRender()}_setElementValue(A){this._renderer.setProperty(this._element.nativeElement,"value",A)}ngOnDestroy(){this._select?._optionMap.delete(this.id),this._select?._writeValueAfterRender()}static \u0275fac=function(Se){return new(Se||Gs)(f.rXU(f.aKT),f.rXU(f.sFG),f.rXU(Wo,9))};static \u0275dir=f.FsC({type:Gs,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}const tc={provide:I,useExisting:(0,s.Rfq)(()=>H),multi:!0};function us(gt,A){return null==gt?`${A}`:("string"==typeof A&&(A=`'${A}'`),A&&"object"==typeof A&&(A="Object"),`${gt}: ${A}`.slice(0,50))}class H extends J{value;_optionMap=new Map;_idCounter=0;set compareWith(A){this._compareWith=A}_compareWith=Object.is;writeValue(A){let Se;if(this.value=A,Array.isArray(A)){const dt=A.map(En=>this._getOptionId(En));Se=(En,fi)=>{En._setSelected(dt.indexOf(fi)>-1)}}else Se=dt=>{dt._setSelected(!1)};this._optionMap.forEach(Se)}registerOnChange(A){this.onChange=Se=>{const dt=[],En=Se.selectedOptions;if(void 0!==En){const fi=En;for(let fr=0;fr<fi.length;fr++){const nr=fi[fr],ds=this._getOptionValue(nr.value);dt.push(ds)}}else{const fi=Se.options;for(let fr=0;fr<fi.length;fr++){const nr=fi[fr];if(nr.selected){const ds=this._getOptionValue(nr.value);dt.push(ds)}}}this.value=dt,A(dt)}}_registerOption(A){const Se=(this._idCounter++).toString();return this._optionMap.set(Se,A),Se}_getOptionId(A){for(const Se of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Se)._value,A))return Se;return null}_getOptionValue(A){const Se=function Dt(gt){return gt.split(":")[0]}(A);return this._optionMap.has(Se)?this._optionMap.get(Se)._value:A}static \u0275fac=(()=>{let A;return function(dt){return(A||(A=f.xGo(H)))(dt||H)}})();static \u0275dir=f.FsC({type:H,selectors:[["select","multiple","","formControlName","",3,"ngNoCva",""],["select","multiple","","formControl","",3,"ngNoCva",""],["select","multiple","","ngModel","",3,"ngNoCva",""]],hostBindings:function(Se,dt){1&Se&&f.bIt("change",function(fi){return dt.onChange(fi.target)})("blur",function(){return dt.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[f.Jv_([tc]),f.Vt3]})}class re{_element;_renderer;_select;id;_value;constructor(A,Se,dt){this._element=A,this._renderer=Se,this._select=dt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(A){null!=this._select&&(this._value=A,this._setElementValue(us(this.id,A)),this._select.writeValue(this._select.value))}set value(A){this._select?(this._value=A,this._setElementValue(us(this.id,A)),this._select.writeValue(this._select.value)):this._setElementValue(A)}_setElementValue(A){this._renderer.setProperty(this._element.nativeElement,"value",A)}_setSelected(A){this._renderer.setProperty(this._element.nativeElement,"selected",A)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(Se){return new(Se||re)(f.rXU(f.aKT),f.rXU(f.sFG),f.rXU(H,9))};static \u0275dir=f.FsC({type:re,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}class Zt{static \u0275fac=function(Se){return new(Se||Zt)};static \u0275mod=f.$C({type:Zt,declarations:[hs,Gs,re,$,Os,ls,C,Wo,H,Rr,cs,Xo,Ar,Kn,mi,Hi,zt,Bt,wr,qr],exports:[hs,Gs,re,$,Os,ls,C,Wo,H,Rr,cs,Xo,Ar,Kn,mi,Hi,zt,Bt,wr,qr]});static \u0275inj=s.G2t({})}function tn(gt){return!!gt&&(void 0!==gt.asyncValidators||void 0!==gt.validators||void 0!==gt.updateOn)}class xn{useNonNullable=!1;get nonNullable(){const A=new xn;return A.useNonNullable=!0,A}group(A,Se=null){const dt=this._reduceControls(A);let En={};return tn(Se)?En=Se:null!==Se&&(En.validators=Se.validator,En.asyncValidators=Se.asyncValidator),new St(dt,En)}record(A,Se=null){const dt=this._reduceControls(A);return new Ln(dt,Se)}control(A,Se,dt){let En={};return this.useNonNullable?(tn(Se)?En=Se:(En.validators=Se,En.asyncValidators=dt),new yt(A,{...En,nonNullable:!0})):new yt(A,Se,dt)}array(A,Se,dt){const En=A.map(fi=>this._createControl(fi));return new Ao(En,Se,dt)}_reduceControls(A){const Se={};return Object.keys(A).forEach(dt=>{Se[dt]=this._createControl(A[dt])}),Se}_createControl(A){if(A instanceof yt)return A;if(A instanceof wn)return A;if(Array.isArray(A)){const Se=A[0],dt=A.length>1?A[1]:null,En=A.length>2?A[2]:null;return this.control(Se,dt,En)}return this.control(A)}static \u0275fac=function(Se){return new(Se||xn)};static \u0275prov=f.tV_({token:xn,factory:xn.\u0275fac})}class hi extends xn{group(A,Se=null){return super.group(A,Se)}control(A,Se,dt){return super.control(A,Se,dt)}array(A,Se,dt){return super.array(A,Se,dt)}static \u0275fac=function(Se){return new(Se||hi)};static \u0275prov=f.tV_({token:hi,factory:hi.\u0275fac})}class yi{static withConfig(A){return{ngModule:yi,providers:[{provide:wi,useValue:A.callSetDisabledState??Ki}]}}static \u0275fac=function(Se){return new(Se||yi)};static \u0275mod=f.$C({type:yi,declarations:[Co,Do,Ui],exports:[Zt,Co,Do,Ui]});static \u0275inj=s.G2t({imports:[Zt]})}class cr{static withConfig(A){return{ngModule:cr,providers:[{provide:ho,useValue:A.warnOnNgModelWithFormControl??"always"},{provide:wi,useValue:A.callSetDisabledState??Ki}]}}static \u0275fac=function(Se){return new(Se||cr)};static \u0275mod=f.$C({type:cr,declarations:[bs,os,ys,so,wo,Es],exports:[Zt,bs,os,ys,so,wo,Es]});static \u0275inj=s.G2t({imports:[Zt]})}h.d(pe,["cz",0,O,"kq",0,I,"xI",0,hr])},69980(st,pe,h){"use strict";h.d(pe,{yg:()=>Rn});var m=h(28939),s=h(70903),f=h(10286),P=h(39962),D=h(13054);h(29293),h(16925);const Pt={list:()=>({reduce:(qe,se)=>void 0===se?qe:[...qe,se],getInitial:()=>[]}),min:()=>({reduce:(qe,se)=>void 0===qe||void 0===se?qe??se:se<qe?se:qe,getInitial:()=>{}}),max:()=>({reduce:(qe,se)=>void 0===qe||void 0===se?qe??se:se>qe?se:qe,getInitial:()=>{}}),or:()=>({reduce:(qe,se)=>qe||se,getInitial:()=>!1}),and:()=>({reduce:(qe,se)=>qe&&se,getInitial:()=>!0}),override:function bn(qe){return{reduce:(se,Ge)=>Ge,getInitial:()=>qe?.()}}};const Tn=Symbol("IS_ASYNC_VALIDATION_RESOURCE");class Lt{reducer;create;brand;[Tn];constructor(se,Ge){this.reducer=se,this.create=Ge}}function _e(qe){return new Lt(qe??Pt.override())}function fe(){return _e()}_e(Pt.or()),fe(),_e(Pt.max()),_e(Pt.max()),fe(),_e(Pt.min()),_e(Pt.min()),_e(Pt.max()),_e(Pt.min()),_e(Pt.list());function Q(qe,se){if(qe===se)return!0;if(!qe||!se||qe.length!==se.length)return!1;for(let Ge=0;Ge<qe.length;Ge++)if(!Object.is(qe[Ge],se[Ge]))return!1;return!0}_e();(0,f.EW)(()=>!1);(0,f.EW)(()=>[]),(0,f.EW)(()=>{throw new m.buA(1905,!1)});(0,f.EW)(()=>[]),(0,f.EW)(()=>!1);new m.nKC("");class Gi{kind="compat";control;fieldTree;context;message;constructor({context:se,kind:Ge,control:At}){this.context=se,this.kind=Ge,this.control=At}}function tt(qe,se){return null===qe?[]:Object.entries(qe).map(([Ge,At])=>new Gi({context:At,kind:Ge,control:se}))}const mo=new m.nKC("");function Do(qe){return void 0===qe?[]:Array.isArray(qe)?qe:[qe]}class Rr{__brand=void 0;kind="";fieldTree;message;constructor(se){se&&Object.assign(this,se)}}class ja extends Rr{kind="parse"}function Rt(qe,se,Ge){const At=(0,f.uu)({source:qe,computation:()=>[],equal:Q});return{errors:At.asReadonly(),setRawValue:An=>{const Ri=Ge(An);At.set(Do(Ri.error)),void 0!==Ri.value&&se(Ri.value),At.set(Do(Ri.error))},reset:()=>{At.set([])}}}class tn{field;constructor(se){this.field=se}control=this;get value(){return this.field().controlValue()}get valid(){return this.field().valid()}get invalid(){return this.field().invalid()}get pending(){return this.field().pending()}get disabled(){return this.field().disabled()}get enabled(){return!this.field().disabled()}get errors(){return function Ze(qe){if(0===qe.length)return null;const se={};for(const Ge of qe)se[Ge.kind]=Ge instanceof Gi?Ge.context:Ge;return se}(this.field().errors())}get pristine(){return!this.field().dirty()}get dirty(){return this.field().dirty()}get touched(){return this.field().touched()}get untouched(){return!this.field().touched()}get status(){if(this.field().disabled())return"DISABLED";if(this.field().valid())return"VALID";if(this.field().invalid())return"INVALID";if(this.field().pending())return"PENDING";throw new m.buA(1910,!1)}valueAccessor=null;hasValidator(se){return se===D.k0.required&&this.field().required()}updateValueAndValidity(){}}const xn={disabled:"disabled",disabledReasons:"disabledReasons",dirty:"dirty",errors:"errors",hidden:"hidden",invalid:"invalid",max:"max",maxLength:"maxLength",min:"min",minLength:"minLength",name:"name",pattern:"pattern",pending:"pending",readonly:"readonly",required:"required",touched:"touched"},On=(()=>{const qe={};for(const se of Object.keys(xn))qe[xn[se]]=se;return qe})();function hi(qe,se){const Ge=On[se];return qe[Ge]?.()}const yi=Object.values(xn);function gt(qe,se,Ge){return qe[se]!==Ge&&(qe[se]=Ge,!0)}function Se(qe,se){switch(qe.type){case"checkbox":return void(qe.checked=se);case"radio":return void(qe.checked=se===qe.value);case"number":case"range":case"datetime-local":if("number"==typeof se)return void dt(qe,se);if(null===se)return void(qe.value="");break;case"date":case"month":case"time":case"week":if(null===se||se instanceof Date)return void(qe.valueAsDate=se);if("number"==typeof se)return void dt(qe,se)}if("INPUT"===qe.tagName&&"text"===qe.type){if("number"==typeof se)return void(qe.value=isNaN(se)?"":String(se));if(null===se)return void(qe.value="")}qe.value=se}function dt(qe,se){isNaN(se)?qe.value="":qe.valueAsNumber=se}function En(qe){return"INPUT"===qe.tagName}function nr(qe,se,Ge){return!(se instanceof Date)||"min"!==qe&&"max"!==qe||"date"!==Ge&&"month"!==Ge?se:function fr(qe,se){const Ge=qe.getUTCFullYear(),At=String(qe.getUTCMonth()+1).padStart(2,"0");return"month"===se?`${Ge}-${At}`:`${Ge}-${At}-${String(qe.getUTCDate()).padStart(2,"0")}`}(se,Ge)}function Xs(qe){return"object"==typeof qe&&null!==qe}function Lo(qe,se,Ge){if("function"!=typeof MutationObserver)return;const At=new MutationObserver(Xt=>{Xt.some(gn=>function Bo(qe){if("childList"===qe.type||"characterData"===qe.type){if(qe.target instanceof Comment)return!1;for(const se of qe.addedNodes)if(!(se instanceof Comment))return!0;for(const se of qe.removedNodes)if(!(se instanceof Comment))return!0;return!1}return"attributes"===qe.type&&qe.target instanceof HTMLOptionElement}(gn))&&se()});At.observe(qe,{attributes:!0,attributeFilter:["value"],characterData:!0,childList:!0,subtree:!0}),Ge.onDestroy(()=>At.disconnect())}function Fs(qe,se,Ge,At){let Xt=!1;const gn=se.nativeFormElement,An=Rt(()=>se.state().value(),er=>se.state().controlValue.set(er),er=>function A(qe,se,Ge){let At;if(En(qe)&&Ge.isBadInput(qe))return{error:new ja};switch(qe.type){case"checkbox":return{value:qe.checked};case"number":case"range":case"datetime-local":if(At=(0,f.O8)(se),"number"==typeof At||null===At)return{value:""===qe.value?null:qe.valueAsNumber};break;case"date":case"month":case"time":case"week":if(At=(0,f.O8)(se),null===At||At instanceof Date)return{value:qe.valueAsDate};if("number"==typeof At)return{value:qe.valueAsNumber}}if("INPUT"===qe.tagName&&"text"===qe.type&&(At??=(0,f.O8)(se),"number"==typeof At||null===At)){if(""===qe.value)return{value:null};const Xt=Number(qe.value);return Number.isNaN(Xt)?{error:new ja}:{value:Xt}}return{value:qe.value}}(gn,se.state().value,At));Ge.set(An.errors),se.onReset=()=>{An.reset();const er=se.state().value();Ri.controlValue=er,Se(gn,er)},qe.listenToDom("input",()=>An.setRawValue(void 0)),qe.listenToDom("blur",()=>se.state().markAsTouched()),En(gn)&&function fi(qe){return"date"===qe.type||"datetime-local"===qe.type||"month"===qe.type||"time"===qe.type||"week"===qe.type}(gn)&&At.watchValidity(se.destroyRef,gn,()=>An.setRawValue(void 0)),se.registerAsBinding(),"SELECT"===gn.tagName&&Lo(gn,()=>{Xt&&(gn.value=se.state().controlValue())},se.destroyRef);const Ri={};return()=>{const er=se.state();for(const Oo of yi){const ka=hi(er,Oo);if(gt(Ri,Oo,ka)&&(qe.setInputOnDirectives(Oo,ka),se.elementAcceptsNativeProperty(Oo))){const ji=nr(Oo,ka,gn.type);(0,D.w9)(se.renderer,gn,Oo,ji)}}const Zi=er.controlValue();gt(Ri,"controlValue",Zi)&&Se(gn,Zi),Xt=!0}}class Qs{static \u0275fac=function(Ge){return new(Ge||Qs)};static \u0275prov=m.jDH({token:Qs,factory:se=>hn.\u0275fac(se),providedIn:"root"})}class hn extends Qs{document=(0,m.WQX)(m.qQL);cspNonce=(0,m.WQX)(m.BIS,{optional:!0});injectedStyles=new WeakMap;watchValidity(se,Ge,At){const Xt=Ge.getRootNode();this.injectedStyles.has(Xt)||this.injectedStyles.set(Xt,this.createTransitionStyle(Xt));const gn=An=>{const Ri=An;("ng-valid"===Ri.animationName||"ng-invalid"===Ri.animationName)&&At()};Ge.addEventListener("animationstart",gn),se.onDestroy(()=>{Ge.removeEventListener("animationstart",gn)})}isBadInput(se){return se.validity?.badInput??!1}createTransitionStyle(se){const Ge=this.document.createElement("style");return this.cspNonce&&(Ge.nonce=this.cspNonce),Ge.textContent="\n @keyframes ng-valid {}\n @keyframes ng-invalid {}\n input:valid, textarea:valid {\n animation: ng-valid 0.001s;\n }\n input:invalid, textarea:invalid {\n animation: ng-invalid 0.001s;\n }\n ",9===se.nodeType?se.head?.appendChild(Ge):se.appendChild(Ge),Ge}ngOnDestroy(){this.injectedStyles.get(this.document)?.remove()}static \u0275fac=(()=>{let se;return function(At){return(se||(se=s.xGo(hn)))(At||hn)}})();static \u0275prov=m.jDH({token:hn,factory:hn.\u0275fac})}const Hn=Symbol(),Rn=new m.nKC("");class bi{field=P.hFB.required({alias:"formField"});state=(0,f.EW)(()=>this.field()());renderer=(0,m.WQX)(s.sFG);destroyRef=(0,m.WQX)(m.abz);injector=(0,m.WQX)(m.zZn);element=(0,m.WQX)(s.aKT).nativeElement;elementIsNativeFormElement=(0,D.Tk)(this.element);elementAcceptsTextualValues=(0,D.Vx)(this.element);_elementAcceptsMinMax;nativeFormElement=this.elementIsNativeFormElement?this.element:void 0;focuser=se=>this.element.focus(se);controlValueAccessors=(0,m.WQX)(D.kq,{optional:!0,self:!0});config=(0,m.WQX)(mo,{optional:!0});validityMonitor=(0,m.WQX)(Qs);parseErrorsSource=(0,m.vPA)(void 0);_interopNgControl;get interopNgControl(){return this._interopNgControl??=new tn(this.state)}parseErrors=(0,f.EW)(()=>this.parseErrorsSource()?.().map(se=>({...se,fieldTree:(0,f.O8)(this.state).fieldTree,formField:this}))??[],{equal:Q});errors=(0,f.EW)(()=>this.state().errors().filter(se=>!se.formField||se.formField===this),{equal:Q});isFieldBinding=!1;resetter=()=>{};parseErrorsResetCallback;setParseErrors(se){this.parseErrorsSource.set(se)}set onReset(se){this.parseErrorsResetCallback=se}get onReset(){return this.parseErrorsResetCallback}get controlValueAccessor(){return this.controlValueAccessors&&0!==this.controlValueAccessors.length?(0,D.iB)(this.interopNgControl,this.controlValueAccessors)??void 0:this.interopNgControl?.valueAccessor??void 0}installClassBindingEffect(){const se=Object.entries(this.config?.classes??{}).map(([At,Xt])=>[At,(0,f.EW)(()=>Xt(this))]);if(0===se.length)return;const Ge={};(0,P.uEv)({write:()=>{for(const[At,Xt]of se){const gn=Xt();gt(Ge,At,gn)&&(gn?this.renderer.addClass(this.element,At):this.renderer.removeClass(this.element,At))}}},{injector:this.injector})}focus(se){this.focuser(se)}reset(){this.resetter(),this.parseErrorsResetCallback?.(this.state().value())}registerAsBinding(se){if(this.isFieldBinding)throw new m.buA(1913,!1);this.isFieldBinding=!0,this.installClassBindingEffect(),se?.focus&&(this.focuser=Ge=>se.focus(Ge)),se?.reset&&(this.resetter=()=>se.reset()),(0,m.QZP)(Ge=>{const At=this.state();At.nodeState.formFieldBindings.update(Xt=>[...Xt,this]),Ge(()=>{At.nodeState.formFieldBindings.update(Xt=>Xt.filter(gn=>gn!==this))})},{injector:this.injector})}[Hn];\u0275ngControlCreate(se){if(!se.hasPassThrough)if(this.controlValueAccessor)this.\u0275ngControlUpdate=function Ho(qe,se){const Ge={};se.controlValueAccessor.registerOnChange(Xt=>{Ge.controlValue=Xt,se.state().controlValue.set(Xt)}),se.controlValueAccessor.registerOnTouched(()=>se.state().markAsTouched());const At=se.injector.get(D.cz,null,{optional:!0,self:!0});if(At){let Xt;for(const er of At)Xs(er)&&er.registerOnValidatorChange&&(Xt??=(0,m.vPA)(0),er.registerOnValidatorChange(()=>{Xt.update(Zi=>Zi+1)}));const gn=At.map(er=>"function"==typeof er?er:er.validate.bind(er)),An=D.k0.compose(gn),Ri=(0,f.EW)(()=>(Xt?.(),tt(An?An(se.interopNgControl.control):null,se.interopNgControl.control)));se.parseErrorsSource.set(Ri)}return se.registerAsBinding({reset:()=>{const Xt=se.state().value();Ge.controlValue=Xt,(0,f.O8)(()=>se.controlValueAccessor.writeValue(Xt))}}),()=>{const Xt=se.state(),gn=Xt.controlValue();gt(Ge,"controlValue",gn)&&(0,f.O8)(()=>se.controlValueAccessor.writeValue(gn));for(const An of yi){const Ri=hi(Xt,An);if(gt(Ge,An,Ri)){const er=qe.setInputOnDirectives(An,Ri);"disabled"===An&&se.controlValueAccessor.setDisabledState?(0,f.O8)(()=>se.controlValueAccessor.setDisabledState(Ri)):!er&&se.elementAcceptsNativeProperty(An)&&(0,D.w9)(se.renderer,se.nativeFormElement,An,Ri)}}}}(se,this);else if(se.customControl)this.\u0275ngControlUpdate=function ds(qe,se){qe.listenToCustomControlModel(At=>se.state().controlValue.set(At)),qe.listenToCustomControlOutput("touch",()=>se.state().markAsTouched()),se.registerAsBinding(qe.customControl);const Ge={};return()=>{const At=se.state(),Xt=At.controlValue();gt(Ge,"controlValue",Xt)&&qe.setCustomControlModelInput(Xt);for(const gn of yi){let An;if(An="errors"===gn?se.errors():hi(At,gn),gt(Ge,gn,An)&&(qe.setInputOnDirectives(gn,An),se.elementAcceptsNativeProperty(gn)&&!qe.customControlHasInput(gn))){const Ri=nr(gn,An,se.nativeFormElement.type);(0,D.w9)(se.renderer,se.nativeFormElement,gn,Ri)}}}}(se,this);else{if(!this.elementIsNativeFormElement)throw new m.buA(1914,!1);this.\u0275ngControlUpdate=Fs(se,this,this.parseErrorsSource,this.validityMonitor)}}\u0275ngControlUpdate;elementAcceptsNativeProperty(se){if(!this.elementIsNativeFormElement)return!1;switch(se){case"min":case"max":return this._elementAcceptsMinMax??=(0,D.Vt)(this.element);case"minLength":case"maxLength":return this.elementAcceptsTextualValues;case"disabled":case"required":case"readonly":case"name":return!0;default:return!1}}static \u0275fac=function(Ge){return new(Ge||bi)};static \u0275dir=s.FsC({type:bi,selectors:[["","formField",""]],inputs:{field:[1,"formField","field"]},exportAs:["formField"],features:[s.Jv_([{provide:Rn,useExisting:bi},{provide:D.vO,useFactory:()=>(0,m.WQX)(bi).interopNgControl},{provide:D.xI,useFactory:()=>(0,m.WQX)(Rn,{self:!0})}]),s.cSq("formField")]})}},38750(st,pe,h){"use strict";h.d(pe,{Rc:()=>y,_J:()=>D});var m=h(38532),s=h(28939);const f=new s.nKC("MATERIAL_ANIMATIONS");let P=null;function D(){return(0,s.WQX)(f,{optional:!0})?.animationsDisabled||"NoopAnimations"===(0,s.WQX)(s.bc$,{optional:!0})?"di-disabled":(P??=(0,s.WQX)(m.D).matchMedia("(prefers-reduced-motion)").matches,P?"reduced-motion":"enabled")}function y(){return"enabled"!==D()}},59315(st,pe,h){"use strict";h.d(pe,{e:()=>f});var m=h(70903);class s{isErrorState(D,y){return!!(D&&D.invalid&&(D.dirty||y&&y.submitted))}isSignalErrorState(D){if(!D)return!1;const y=D().invalid(),b=D().dirty();return y&&b}static \u0275fac=function(y){return new(y||s)};static \u0275prov=m.tV_({token:s,factory:s.\u0275fac,autoProvided:!1})}class f{isErrorState(D,y){return!!(D&&D.invalid&&(D.touched||y&&y.submitted))}isSignalErrorState(D){if(!D)return!1;const y=D().invalid(),b=D().touched();return y&&b}static \u0275fac=function(y){return new(y||f)};static \u0275prov=m.tV_({token:f,factory:f.\u0275fac})}},59074(st,pe,h){"use strict";h.d(pe,{X:()=>s});var m=h(28939);class s{_defaultMatcher;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;ngControl;formField;constructor(P,D,y,b,x){this._defaultMatcher=P,this._parentFormGroup=y,this._parentForm=b,this._stateChanges=x,D?(0,m.Hps)(D.field)&&!D.updateValueAndValidity?(this.formField=D,this.ngControl=null):(this.formField=null,this.ngControl=D):this.ngControl=this.formField=null}updateErrorState(){const P=this.errorState,D=this._getCurrentErrorState(this.matcher||this._defaultMatcher);D!==P&&(this.errorState=D,this._stateChanges.next())}_getCurrentErrorState(P){if(this.formField&&P?.isSignalErrorState)return P.isSignalErrorState(this.formField.field())??!1;const D=this._parentFormGroup||this._parentForm,y=this.ngControl?this.ngControl.control:null;return P?.isErrorState(y,D)??!1}}},3061(st,pe,h){"use strict";h.d(pe,{xb:()=>fn,TL:()=>De,rl:()=>at,qT:()=>fe,MV:()=>rt,nJ:()=>V,JW:()=>Kt,yw:()=>ze});var m=h(1396),s=h(40271),f=h(75952),P=h(36574),D=h(12986),y=h(70903),b=h(39962),x=h(28939),N=h(10286),M=h(23054),U=h(55919),J=h(67527),I=h(29927),T=h(65229),C=h(89207),R=h(84833),B=h(72818),F=h(75536),$=h(98455);class w{_box;_destroyed=new U.B;_resizeSubject=new U.B;_resizeObserver;_elementObservables=new Map;constructor(Ae){this._box=Ae,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(Qe=>this._resizeSubject.next(Qe)))}observe(Ae){return this._elementObservables.has(Ae)||this._elementObservables.set(Ae,new F.c(Qe=>{const kt=this._resizeSubject.subscribe(Qe);return this._resizeObserver?.observe(Ae,{box:this._box}),()=>{this._resizeObserver?.unobserve(Ae),kt.unsubscribe(),this._elementObservables.delete(Ae)}}).pipe((0,R.p)(Qe=>Qe.some(kt=>kt.target===Ae)),(0,$.t)({bufferSize:1,refCount:!0}),(0,B.Q)(this._destroyed))),this._elementObservables.get(Ae)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}class O{_cleanupErrorListener;_observers=new Map;_ngZone=(0,x.WQX)(x.SKi);constructor(){}ngOnDestroy(){for(const[,Ae]of this._observers)Ae.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(Ae,Qe){const kt=Qe?.box||"content-box";return this._observers.has(kt)||this._observers.set(kt,new w(kt)),this._observers.get(kt).observe(Ae)}static \u0275fac=function(Qe){return new(Qe||O)};static \u0275prov=y.tV_({token:O,factory:O.\u0275fac})}var Z=h(38750);const Ee=["notch"],oe=["*"],j=["iconPrefixContainer"],te=["textPrefixContainer"],ce=["iconSuffixContainer"],ye=["textSuffixContainer"],Le=["textField"],$e=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Tt=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function We(Q,Ae){1&Q&&y.nrm(0,"span",21)}function Me(Q,Ae){if(1&Q&&(y.j41(0,"label",20),y.SdG(1,1),y.nVh(2,We,1,0,"span",21),y.k0s()),2&Q){const Qe=y.XpG(2);y.Y8G("floating",Qe._shouldLabelFloat())("monitorResize",Qe._hasOutline())("id",Qe._labelId),y.BMQ("for",Qe._control.disableAutomaticLabeling?null:Qe._control.id),y.R7$(2),y.vxM(!Qe.hideRequiredMarker&&Qe._control.required?2:-1)}}function ut(Q,Ae){if(1&Q&&y.nVh(0,Me,3,5,"label",20),2&Q){const Qe=y.XpG();y.vxM(Qe._hasFloatingLabel()?0:-1)}}function xe(Q,Ae){1&Q&&y.nrm(0,"div",7)}function Te(Q,Ae){}function Ce(Q,Ae){if(1&Q&&y.DNE(0,Te,0,0,"ng-template",13),2&Q){y.XpG(2);const Qe=y.sdS(1);y.Y8G("ngTemplateOutlet",Qe)}}function et(Q,Ae){if(1&Q&&(y.j41(0,"div",9),y.nVh(1,Ce,1,1,null,13),y.k0s()),2&Q){const Qe=y.XpG();y.Y8G("matFormFieldNotchedOutlineOpen",Qe._shouldLabelFloat()),y.R7$(),y.vxM(Qe._forceDisplayInfixLabel()?-1:1)}}function he(Q,Ae){1&Q&&(y.j41(0,"div",10,2),y.SdG(2,2),y.k0s())}function ve(Q,Ae){1&Q&&(y.j41(0,"div",11,3),y.SdG(2,3),y.k0s())}function be(Q,Ae){}function de(Q,Ae){if(1&Q&&y.DNE(0,be,0,0,"ng-template",13),2&Q){y.XpG();const Qe=y.sdS(1);y.Y8G("ngTemplateOutlet",Qe)}}function G(Q,Ae){1&Q&&(y.j41(0,"div",14,4),y.SdG(2,4),y.k0s())}function Fe(Q,Ae){1&Q&&(y.j41(0,"div",15,5),y.SdG(2,5),y.k0s())}function He(Q,Ae){1&Q&&y.nrm(0,"div",16)}function wt(Q,Ae){1&Q&&(y.j41(0,"div",18),y.SdG(1,6),y.k0s())}function Jt(Q,Ae){if(1&Q&&(y.j41(0,"mat-hint",22),y.EFF(1),y.k0s()),2&Q){const Qe=y.XpG(2);y.Y8G("id",Qe._hintLabelId),y.R7$(),y.JRh(Qe.hintLabel)}}function ee(Q,Ae){if(1&Q&&(y.j41(0,"div",19),y.nVh(1,Jt,2,2,"mat-hint",22),y.SdG(2,7),y.nrm(3,"div",23),y.SdG(4,8),y.k0s()),2&Q){const Qe=y.XpG();y.R7$(),y.vxM(Qe.hintLabel?1:-1)}}class V{static \u0275fac=function(Qe){return new(Qe||V)};static \u0275dir=y.FsC({type:V,selectors:[["mat-label"]]})}const ue=new x.nKC("MatError");class De{id=(0,x.WQX)(m.g).getId("mat-mdc-error-");static \u0275fac=function(Qe){return new(Qe||De)};static \u0275dir=y.FsC({type:De,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(Qe,kt){2&Qe&&y.Avn("id",kt.id)},inputs:{id:"id"},features:[y.Jv_([{provide:ue,useExisting:De}])]})}class rt{align="start";id=(0,x.WQX)(m.g).getId("mat-mdc-hint-");static \u0275fac=function(Qe){return new(Qe||rt)};static \u0275dir=y.FsC({type:rt,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Qe,kt){2&Qe&&(y.Avn("id",kt.id),y.BMQ("align",null),y.AVh("mat-mdc-form-field-hint-end","end"===kt.align))},inputs:{align:"align",id:"id"}})}const It=new x.nKC("MatPrefix");class Kt{set _isTextSelector(Ae){this._isText=!0}_isText=!1;static \u0275fac=function(Qe){return new(Qe||Kt)};static \u0275dir=y.FsC({type:Kt,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[y.Jv_([{provide:It,useExisting:Kt}])]})}const Ht=new x.nKC("MatSuffix");class ze{set _isTextSelector(Ae){this._isText=!0}_isText=!1;static \u0275fac=function(Qe){return new(Qe||ze)};static \u0275dir=y.FsC({type:ze,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[y.Jv_([{provide:Ht,useExisting:ze}])]})}const Mt=new x.nKC("FloatingLabelParent");class Pt{_elementRef=(0,x.WQX)(y.aKT);get floating(){return this._floating}set floating(Ae){this._floating=Ae,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(Ae){this._monitorResize=Ae,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=(0,x.WQX)(O);_ngZone=(0,x.WQX)(x.SKi);_parent=(0,x.WQX)(Mt);_resizeSubscription=new M.yU;ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function bn(Q){const Ae=Q;if(null!==Ae.offsetParent)return Ae.scrollWidth;const Qe=Ae.cloneNode(!0);Qe.style.setProperty("position","absolute"),Qe.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Qe);const kt=Qe.scrollWidth;return Qe.remove(),kt}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(Qe){return new(Qe||Pt)};static \u0275dir=y.FsC({type:Pt,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Qe,kt){2&Qe&&y.AVh("mdc-floating-label--float-above",kt.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}const Tn="mdc-line-ripple--active",Lt="mdc-line-ripple--deactivating";class _e{_elementRef=(0,x.WQX)(y.aKT);_cleanupTransitionEnd;constructor(){const Ae=(0,x.WQX)(x.SKi),Qe=(0,x.WQX)(y.sFG);Ae.runOutsideAngular(()=>{this._cleanupTransitionEnd=Qe.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){const Ae=this._elementRef.nativeElement.classList;Ae.remove(Lt),Ae.add(Tn)}deactivate(){this._elementRef.nativeElement.classList.add(Lt)}_handleTransitionEnd=Ae=>{const Qe=this._elementRef.nativeElement.classList,kt=Qe.contains(Lt);"opacity"===Ae.propertyName&&kt&&Qe.remove(Tn,Lt)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(Qe){return new(Qe||_e)};static \u0275dir=y.FsC({type:_e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}class Y{_elementRef=(0,x.WQX)(y.aKT);_ngZone=(0,x.WQX)(x.SKi);open=!1;_notch;ngAfterViewInit(){const Ae=this._elementRef.nativeElement,Qe=Ae.querySelector(".mdc-floating-label");Qe?(Ae.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Qe.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Qe.style.transitionDuration="")}))):Ae.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(Ae){const Qe=this._notch.nativeElement;this.open&&Ae?Qe.style.width=`calc(${Ae}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:Qe.style.width=""}_setMaxWidth(Ae){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${Ae}px)`)}static \u0275fac=function(Qe){return new(Qe||Y)};static \u0275cmp=y.VBU({type:Y,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(Qe,kt){if(1&Qe&&y.GBs(Ee,5),2&Qe){let cn;y.mGM(cn=y.lsd())&&(kt._notch=cn.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Qe,kt){2&Qe&&y.AVh("mdc-notched-outline--notched",kt.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},ngContentSelectors:oe,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(Qe,kt){1&Qe&&(y.NAR(),y.Hgh(0,"div",1),y.rj2(1,"div",2,0),y.SdG(3),y.eux(),y.Hgh(4,"div",3))},encapsulation:2})}class fe{value=null;stateChanges;id;placeholder;ngControl=null;focused=!1;empty=!1;shouldLabelFloat=!1;required=!1;disabled=!1;errorState=!1;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(Qe){return new(Qe||fe)};static \u0275dir=y.FsC({type:fe})}const fn=new x.nKC("MatFormField"),je=new x.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");class at{_elementRef=(0,x.WQX)(y.aKT);_changeDetectorRef=(0,x.WQX)(b.gRc);_platform=(0,x.WQX)(P.O);_idGenerator=(0,x.WQX)(m.g);_ngZone=(0,x.WQX)(x.SKi);_defaults=(0,x.WQX)(je,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=(0,b.ebz)("iconPrefixContainer");_textPrefixContainerSignal=(0,b.ebz)("textPrefixContainer");_iconSuffixContainerSignal=(0,b.ebz)("iconSuffixContainer");_textSuffixContainerSignal=(0,b.ebz)("textSuffixContainer");_prefixSuffixContainers=(0,N.EW)(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(Ae=>Ae?.nativeElement).filter(Ae=>void 0!==Ae));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=(0,b.sbv)(V);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Ae){this._hideRequiredMarker=(0,f.he)(Ae)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Ae){Ae!==this._floatLabel&&(this._floatLabel=Ae,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(Ae){const Qe=Ae||this._defaults?.appearance||"fill";this._appearanceSignal.set(Qe)}_appearanceSignal=(0,x.vPA)("fill");get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Ae){this._subscriptSizing=Ae||this._defaults?.subscriptSizing||"fixed"}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(Ae){this._hintLabel=Ae,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Ae){this._explicitFormFieldControl=Ae}_destroyed=new U.B;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=(0,Z.Rc)();constructor(){const Ae=this._defaults,Qe=(0,x.WQX)(s.dS);Ae&&(Ae.appearance&&(this.appearance=Ae.appearance),this._hideRequiredMarker=!!Ae?.hideRequiredMarker,Ae.color&&(this.color=Ae.color)),(0,x.QZP)(()=>this._currentDirection=Qe.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=(0,N.EW)(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(Ae){const Qe=this._control,kt="mat-mdc-form-field-type-";Ae&&this._elementRef.nativeElement.classList.remove(kt+Ae.controlType),Qe.controlType&&this._elementRef.nativeElement.classList.add(kt+Qe.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=Qe.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=Qe.stateChanges.pipe((0,I.Z)([void 0,void 0]),(0,T.T)(()=>[Qe.errorState,Qe.userAriaDescribedBy]),(0,C.J)(),(0,R.p)(([[cn,mn],[Jn,Ti]])=>cn!==Jn||mn!==Ti)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),Qe.ngControl&&Qe.ngControl.valueChanges&&(this._valueChanges=Qe.ngControl.valueChanges.pipe((0,B.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Ae=>!Ae._isText),this._hasTextPrefix=!!this._prefixChildren.find(Ae=>Ae._isText),this._hasIconSuffix=!!this._suffixChildren.find(Ae=>!Ae._isText),this._hasTextSuffix=!!this._suffixChildren.find(Ae=>Ae._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,J.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){const Ae=this._control.focused;Ae&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!Ae&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",Ae),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",Ae)}_syncOutlineLabelOffset(){(0,b.uEv)({earlyRead:()=>{if("outline"!==this._appearanceSignal())return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(const Ae of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(Ae,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:Ae=>this._writeOutlinedLabelStyles(Ae())})}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=(0,N.EW)(()=>!!this._labelChild());_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(Ae){const Qe=this._control?this._control.ngControl:null;return Qe&&Qe[Ae]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let Ae=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Ae.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getSubscriptMessageType()){const cn=this._hintChildren?this._hintChildren.find(Jn=>"start"===Jn.align):null,mn=this._hintChildren?this._hintChildren.find(Jn=>"end"===Jn.align):null;cn?Ae.push(cn.id):this._hintLabel&&Ae.push(this._hintLabelId),mn&&Ae.push(mn.id)}else this._errorChildren&&Ae.push(...this._errorChildren.map(cn=>cn.id));const Qe=this._control.describedByIds;let kt;if(Qe){const cn=this._describedByIds||Ae;kt=Ae.concat(Qe.filter(mn=>mn&&!cn.includes(mn)))}else kt=Ae;this._control.setDescribedByIds(kt),this._describedByIds=Ae}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;const Ae=this._iconPrefixContainer?.nativeElement,Qe=this._textPrefixContainer?.nativeElement,kt=this._iconSuffixContainer?.nativeElement,cn=this._textSuffixContainer?.nativeElement,mn=Ae?.getBoundingClientRect().width??0,Jn=Qe?.getBoundingClientRect().width??0,Ti=kt?.getBoundingClientRect().width??0,$i=cn?.getBoundingClientRect().width??0;return[`var(--mat-mdc-form-field-label-transform, translateY(-50%) translateX(${`calc(${"rtl"===this._currentDirection?"-1":"1"} * (${`${mn+Jn}px`} + var(--mat-mdc-form-field-label-offset-x, 0px)))`}))`,mn+Jn+Ti+$i]}_writeOutlinedLabelStyles(Ae){if(null!==Ae){const[Qe,kt]=Ae;this._floatingLabel&&(this._floatingLabel.element.style.transform=Qe),null!==kt&&this._notchedOutline?._setMaxWidth(kt)}}_isAttachedToDom(){const Ae=this._elementRef.nativeElement;if(Ae.getRootNode){const Qe=Ae.getRootNode();return Qe&&Qe!==Ae}return document.documentElement.contains(Ae)}static \u0275fac=function(Qe){return new(Qe||at)};static \u0275cmp=y.VBU({type:at,selectors:[["mat-form-field"]],contentQueries:function(Qe,kt,cn){if(1&Qe&&(y.C6U(cn,kt._labelChild,V,5),y.wni(cn,fe,5)(cn,It,5)(cn,Ht,5)(cn,ue,5)(cn,rt,5)),2&Qe){let mn;y.NyB(),y.mGM(mn=y.lsd())&&(kt._formFieldControl=mn.first),y.mGM(mn=y.lsd())&&(kt._prefixChildren=mn),y.mGM(mn=y.lsd())&&(kt._suffixChildren=mn),y.mGM(mn=y.lsd())&&(kt._errorChildren=mn),y.mGM(mn=y.lsd())&&(kt._hintChildren=mn)}},viewQuery:function(Qe,kt){if(1&Qe&&(y.wEZ(kt._iconPrefixContainerSignal,j,5)(kt._textPrefixContainerSignal,te,5)(kt._iconSuffixContainerSignal,ce,5)(kt._textSuffixContainerSignal,ye,5),y.GBs(Le,5)(j,5)(te,5)(ce,5)(ye,5)(Pt,5)(Y,5)(_e,5)),2&Qe){let cn;y.NyB(4),y.mGM(cn=y.lsd())&&(kt._textField=cn.first),y.mGM(cn=y.lsd())&&(kt._iconPrefixContainer=cn.first),y.mGM(cn=y.lsd())&&(kt._textPrefixContainer=cn.first),y.mGM(cn=y.lsd())&&(kt._iconSuffixContainer=cn.first),y.mGM(cn=y.lsd())&&(kt._textSuffixContainer=cn.first),y.mGM(cn=y.lsd())&&(kt._floatingLabel=cn.first),y.mGM(cn=y.lsd())&&(kt._notchedOutline=cn.first),y.mGM(cn=y.lsd())&&(kt._lineRipple=cn.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(Qe,kt){2&Qe&&y.AVh("mat-mdc-form-field-label-always-float",kt._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",kt._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",kt._hasIconSuffix)("mat-form-field-invalid",kt._control.errorState)("mat-form-field-disabled",kt._control.disabled)("mat-form-field-autofilled",kt._control.autofilled)("mat-form-field-appearance-fill","fill"==kt.appearance)("mat-form-field-appearance-outline","outline"==kt.appearance)("mat-form-field-hide-placeholder",kt._hasFloatingLabel()&&!kt._shouldLabelFloat())("mat-primary","accent"!==kt.color&&"warn"!==kt.color)("mat-accent","accent"===kt.color)("mat-warn","warn"===kt.color)("ng-untouched",kt._shouldForward("untouched"))("ng-touched",kt._shouldForward("touched"))("ng-pristine",kt._shouldForward("pristine"))("ng-dirty",kt._shouldForward("dirty"))("ng-valid",kt._shouldForward("valid"))("ng-invalid",kt._shouldForward("invalid"))("ng-pending",kt._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[y.Jv_([{provide:fn,useExisting:at},{provide:Mt,useExisting:at}])],ngContentSelectors:Tt,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(Qe,kt){if(1&Qe&&(y.NAR($e),y.DNE(0,ut,1,1,"ng-template",null,0,y.C5r),y.j41(2,"div",6,1),y.bIt("click",function(mn){return kt._control.onContainerClick(mn)}),y.nVh(4,xe,1,0,"div",7),y.j41(5,"div",8),y.nVh(6,et,2,2,"div",9),y.nVh(7,he,3,0,"div",10),y.nVh(8,ve,3,0,"div",11),y.j41(9,"div",12),y.nVh(10,de,1,1,null,13),y.SdG(11),y.k0s(),y.nVh(12,G,3,0,"div",14),y.nVh(13,Fe,3,0,"div",15),y.k0s(),y.nVh(14,He,1,0,"div",16),y.k0s(),y.j41(15,"div",17),y.nVh(16,wt,2,0,"div",18)(17,ee,5,1,"div",19),y.k0s()),2&Qe){let cn;y.R7$(2),y.AVh("mdc-text-field--filled",!kt._hasOutline())("mdc-text-field--outlined",kt._hasOutline())("mdc-text-field--no-label",!kt._hasFloatingLabel())("mdc-text-field--disabled",kt._control.disabled)("mdc-text-field--invalid",kt._control.errorState),y.R7$(2),y.vxM(kt._hasOutline()||kt._control.disabled?-1:4),y.R7$(2),y.vxM(kt._hasOutline()?6:-1),y.R7$(),y.vxM(kt._hasIconPrefix?7:-1),y.R7$(),y.vxM(kt._hasTextPrefix?8:-1),y.R7$(2),y.vxM(!kt._hasOutline()||kt._forceDisplayInfixLabel()?10:-1),y.R7$(2),y.vxM(kt._hasTextSuffix?12:-1),y.R7$(),y.vxM(kt._hasIconSuffix?13:-1),y.R7$(),y.vxM(kt._hasOutline()?-1:14),y.R7$(),y.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===kt.subscriptSizing);const mn=kt._getSubscriptMessageType();y.R7$(),y.vxM("error"===(cn=mn)?16:"hint"===cn?17:-1)}},dependencies:[Pt,Y,D.T3,_e,rt],styles:['.mdc-text-field {\n display: inline-flex;\n align-items: baseline;\n padding: 0 16px;\n position: relative;\n box-sizing: border-box;\n overflow: hidden;\n will-change: opacity, transform, color;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.mdc-text-field__input {\n width: 100%;\n min-width: 0;\n border: none;\n border-radius: 0;\n background: none;\n padding: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n height: 28px;\n}\n.mdc-text-field__input::-webkit-calendar-picker-indicator, .mdc-text-field__input::-webkit-search-cancel-button {\n display: none;\n}\n.mdc-text-field__input::-ms-clear {\n display: none;\n}\n.mdc-text-field__input:focus {\n outline: none;\n}\n.mdc-text-field__input:invalid {\n box-shadow: none;\n}\n.mdc-text-field__input::placeholder {\n opacity: 0;\n}\n.mdc-text-field__input::-moz-placeholder {\n opacity: 0;\n}\n.mdc-text-field__input::-webkit-input-placeholder {\n opacity: 0;\n}\n.mdc-text-field__input:-ms-input-placeholder {\n opacity: 0;\n}\n.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mdc-text-field--focused .mdc-text-field__input::placeholder {\n opacity: 1;\n}\n.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mdc-text-field--focused .mdc-text-field__input::-moz-placeholder {\n opacity: 1;\n}\n.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder {\n opacity: 1;\n}\n.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder {\n opacity: 1;\n}\n.mdc-text-field--%NS%disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder {\n opacity: 0;\n}\n.mdc-text-field--%NS%disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder {\n opacity: 0;\n}\n.mdc-text-field--%NS%disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder {\n opacity: 0;\n}\n.mdc-text-field--%NS%disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder {\n opacity: 0;\n}\n.mdc-text-field--outlined .mdc-text-field__input, .mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input {\n height: 100%;\n}\n.mdc-text-field--outlined .mdc-text-field__input {\n display: flex;\n border: none !important;\n background-color: transparent;\n}\n.mdc-text-field--disabled .mdc-text-field__input {\n pointer-events: auto;\n}\n.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-text-field__input {\n color: var(--%NS%mat-form-field-filled-input-text-color, var(--%NS%mat-sys-on-surface));\n caret-color: var(--%NS%mat-form-field-filled-caret-color, var(--%NS%mat-sys-primary));\n}\n.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder {\n color: var(--%NS%mat-form-field-filled-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder {\n color: var(--%NS%mat-form-field-filled-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder {\n color: var(--%NS%mat-form-field-filled-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder {\n color: var(--%NS%mat-form-field-filled-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mdc-text-field__input {\n color: var(--%NS%mat-form-field-outlined-input-text-color, var(--%NS%mat-sys-on-surface));\n caret-color: var(--%NS%mat-form-field-outlined-caret-color, var(--%NS%mat-sys-primary));\n}\n.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder {\n color: var(--%NS%mat-form-field-outlined-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder {\n color: var(--%NS%mat-form-field-outlined-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder {\n color: var(--%NS%mat-form-field-outlined-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder {\n color: var(--%NS%mat-form-field-outlined-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mdc-text-field--filled.mdc-text-field--%NS%invalid:not(.mdc-text-field--disabled) .mdc-text-field__input {\n caret-color: var(--%NS%mat-form-field-filled-error-caret-color, var(--%NS%mat-sys-error));\n}\n.mdc-text-field--outlined.mdc-text-field--%NS%invalid:not(.mdc-text-field--disabled) .mdc-text-field__input {\n caret-color: var(--%NS%mat-form-field-outlined-error-caret-color, var(--%NS%mat-sys-error));\n}\n.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input {\n color: var(--%NS%mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input {\n color: var(--%NS%mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n@media (forced-colors: active) {\n .mdc-text-field--disabled .mdc-text-field__input {\n background-color: Window;\n }\n}\n\n.mdc-text-field--filled {\n height: 56px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n border-top-left-radius: var(--%NS%mat-form-field-filled-container-shape, var(--%NS%mat-sys-corner-extra-small));\n border-top-right-radius: var(--%NS%mat-form-field-filled-container-shape, var(--%NS%mat-sys-corner-extra-small));\n}\n.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) {\n background-color: var(--%NS%mat-form-field-filled-container-color, var(--%NS%mat-sys-surface-variant));\n}\n.mdc-text-field--filled.mdc-text-field--disabled {\n background-color: var(--%NS%mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 4%, transparent));\n}\n\n.mdc-text-field--outlined {\n height: 56px;\n overflow: visible;\n padding-right: max(16px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)));\n padding-left: max(16px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)) + 4px);\n}\n[dir=rtl] .mdc-text-field--outlined {\n padding-right: max(16px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)) + 4px);\n padding-left: max(16px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)));\n}\n\n.mdc-floating-label {\n position: absolute;\n left: 0;\n transform-origin: left top;\n line-height: 1.15rem;\n text-align: left;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: text;\n overflow: hidden;\n will-change: transform;\n}\n[dir=rtl] .mdc-floating-label {\n right: 0;\n left: auto;\n transform-origin: right top;\n text-align: right;\n}\n.mdc-text-field .mdc-floating-label {\n top: 50%;\n transform: translateY(-50%);\n pointer-events: none;\n}\n.mdc-notched-outline .mdc-floating-label {\n display: inline-block;\n position: relative;\n max-width: 100%;\n}\n.mdc-text-field--outlined .mdc-floating-label {\n left: 4px;\n right: auto;\n}\n[dir=rtl] .mdc-text-field--outlined .mdc-floating-label {\n left: auto;\n right: 4px;\n}\n.mdc-text-field--filled .mdc-floating-label {\n left: 16px;\n right: auto;\n}\n[dir=rtl] .mdc-text-field--filled .mdc-floating-label {\n left: auto;\n right: 16px;\n}\n.mdc-text-field--disabled .mdc-floating-label {\n cursor: default;\n}\n@media (forced-colors: active) {\n .mdc-text-field--disabled .mdc-floating-label {\n z-index: 1;\n }\n}\n.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label {\n display: none;\n}\n.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-floating-label {\n color: var(--%NS%mat-form-field-filled-label-text-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label {\n color: var(--%NS%mat-form-field-filled-focus-label-text-color, var(--%NS%mat-sys-primary));\n}\n.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label {\n color: var(--%NS%mat-form-field-filled-hover-label-text-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label {\n color: var(--%NS%mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label {\n color: var(--%NS%mat-form-field-filled-error-label-text-color, var(--%NS%mat-sys-error));\n}\n.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label {\n color: var(--%NS%mat-form-field-filled-error-focus-label-text-color, var(--%NS%mat-sys-error));\n}\n.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled).mdc-text-field--%NS%invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label {\n color: var(--%NS%mat-form-field-filled-error-hover-label-text-color, var(--%NS%mat-sys-on-error-container));\n}\n.mdc-text-field--filled .mdc-floating-label {\n font-family: var(--%NS%mat-form-field-filled-label-text-font, var(--%NS%mat-sys-body-large-font));\n font-size: var(--%NS%mat-form-field-filled-label-text-size, var(--%NS%mat-sys-body-large-size));\n font-weight: var(--%NS%mat-form-field-filled-label-text-weight, var(--%NS%mat-sys-body-large-weight));\n letter-spacing: var(--%NS%mat-form-field-filled-label-text-tracking, var(--%NS%mat-sys-body-large-tracking));\n}\n.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mdc-floating-label {\n color: var(--%NS%mat-form-field-outlined-label-text-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label {\n color: var(--%NS%mat-form-field-outlined-focus-label-text-color, var(--%NS%mat-sys-primary));\n}\n.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label {\n color: var(--%NS%mat-form-field-outlined-hover-label-text-color, var(--%NS%mat-sys-on-surface));\n}\n.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label {\n color: var(--%NS%mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label {\n color: var(--%NS%mat-form-field-outlined-error-label-text-color, var(--%NS%mat-sys-error));\n}\n.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label {\n color: var(--%NS%mat-form-field-outlined-error-focus-label-text-color, var(--%NS%mat-sys-error));\n}\n.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--%NS%invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label {\n color: var(--%NS%mat-form-field-outlined-error-hover-label-text-color, var(--%NS%mat-sys-on-error-container));\n}\n.mdc-text-field--outlined .mdc-floating-label {\n font-family: var(--%NS%mat-form-field-outlined-label-text-font, var(--%NS%mat-sys-body-large-font));\n font-size: var(--%NS%mat-form-field-outlined-label-text-size, var(--%NS%mat-sys-body-large-size));\n font-weight: var(--%NS%mat-form-field-outlined-label-text-weight, var(--%NS%mat-sys-body-large-weight));\n letter-spacing: var(--%NS%mat-form-field-outlined-label-text-tracking, var(--%NS%mat-sys-body-large-tracking));\n}\n\n.mdc-floating-label--float-above {\n cursor: auto;\n transform: translateY(-106%) scale(0.75);\n}\n.mdc-text-field--filled .mdc-floating-label--float-above {\n transform: translateY(-106%) scale(0.75);\n}\n.mdc-text-field--outlined .mdc-floating-label--float-above {\n transform: translateY(-37.25px) scale(1);\n font-size: 0.75rem;\n}\n.mdc-notched-outline .mdc-floating-label--float-above {\n text-overflow: clip;\n}\n.mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n max-width: 133.3333333333%;\n}\n.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n transform: translateY(-34.75px) scale(0.75);\n}\n.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n font-size: 1rem;\n}\n\n.mdc-floating-label--%NS%required:not(.mdc-floating-label--hide-required-marker)::after {\n margin-left: 1px;\n margin-right: 0;\n content: "*";\n}\n[dir=rtl] .mdc-floating-label--%NS%required:not(.mdc-floating-label--hide-required-marker)::after {\n margin-left: 0;\n margin-right: 1px;\n}\n\n.mdc-notched-outline {\n display: flex;\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n box-sizing: border-box;\n width: 100%;\n max-width: 100%;\n height: 100%;\n text-align: left;\n pointer-events: none;\n}\n[dir=rtl] .mdc-notched-outline {\n text-align: right;\n}\n.mdc-text-field--outlined .mdc-notched-outline {\n z-index: 1;\n}\n\n.mat-mdc-notch-piece {\n box-sizing: border-box;\n height: 100%;\n pointer-events: none;\n border: none;\n border-top: 1px solid;\n border-bottom: 1px solid;\n}\n.mdc-text-field--focused .mat-mdc-notch-piece {\n border-width: 2px;\n}\n.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece {\n border-color: var(--%NS%mat-form-field-outlined-outline-color, var(--%NS%mat-sys-outline));\n border-width: var(--%NS%mat-form-field-outlined-outline-width, 1px);\n}\n.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece {\n border-color: var(--%NS%mat-form-field-outlined-hover-outline-color, var(--%NS%mat-sys-on-surface));\n}\n.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece {\n border-color: var(--%NS%mat-form-field-outlined-focus-outline-color, var(--%NS%mat-sys-primary));\n}\n.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece {\n border-color: var(--%NS%mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent));\n}\n.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece {\n border-color: var(--%NS%mat-form-field-outlined-error-outline-color, var(--%NS%mat-sys-error));\n}\n.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--%NS%invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece {\n border-color: var(--%NS%mat-form-field-outlined-error-hover-outline-color, var(--%NS%mat-sys-on-error-container));\n}\n.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece {\n border-color: var(--%NS%mat-form-field-outlined-error-focus-outline-color, var(--%NS%mat-sys-error));\n}\n.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece {\n border-width: var(--%NS%mat-form-field-outlined-focus-outline-width, 2px);\n}\n\n.mdc-notched-outline__leading {\n border-left: 1px solid;\n border-right: none;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small));\n border-bottom-left-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small));\n}\n.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading {\n width: max(12px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)));\n}\n[dir=rtl] .mdc-notched-outline__leading {\n border-left: none;\n border-right: 1px solid;\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n border-top-right-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small));\n border-bottom-right-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small));\n}\n\n.mdc-notched-outline__trailing {\n flex-grow: 1;\n border-left: none;\n border-right: 1px solid;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small));\n border-bottom-right-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small));\n}\n[dir=rtl] .mdc-notched-outline__trailing {\n border-left: 1px solid;\n border-right: none;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small));\n border-bottom-left-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small));\n}\n\n.mdc-notched-outline__notch {\n flex: 0 0 auto;\n width: auto;\n}\n.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch {\n max-width: min(var(--%NS%mat-form-field-notch-max-width, 100%), calc(100% - max(12px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small))) * 2));\n}\n.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch {\n max-width: min(100%, calc(100% - max(12px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small))) * 2));\n}\n.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch {\n padding-top: 1px;\n}\n.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch {\n padding-top: 2px;\n}\n.mdc-notched-outline--notched .mdc-notched-outline__notch {\n padding-left: 0;\n padding-right: 8px;\n border-top: none;\n}\n[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch {\n padding-left: 8px;\n padding-right: 0;\n}\n.mdc-notched-outline--no-label .mdc-notched-outline__notch {\n display: none;\n}\n\n.mdc-line-ripple::before, .mdc-line-ripple::after {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n border-bottom-style: solid;\n content: "";\n}\n.mdc-line-ripple::before {\n z-index: 1;\n border-bottom-width: var(--%NS%mat-form-field-filled-active-indicator-height, 1px);\n}\n.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before {\n border-bottom-color: var(--%NS%mat-form-field-filled-active-indicator-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before {\n border-bottom-color: var(--%NS%mat-form-field-filled-hover-active-indicator-color, var(--%NS%mat-sys-on-surface));\n}\n.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before {\n border-bottom-color: var(--%NS%mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before {\n border-bottom-color: var(--%NS%mat-form-field-filled-error-active-indicator-color, var(--%NS%mat-sys-error));\n}\n.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled).mdc-text-field--%NS%invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before {\n border-bottom-color: var(--%NS%mat-form-field-filled-error-hover-active-indicator-color, var(--%NS%mat-sys-on-error-container));\n}\n.mdc-line-ripple::after {\n transform: scaleX(0);\n opacity: 0;\n z-index: 2;\n}\n.mdc-text-field--filled .mdc-line-ripple::after {\n border-bottom-width: var(--%NS%mat-form-field-filled-focus-active-indicator-height, 2px);\n}\n.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after {\n border-bottom-color: var(--%NS%mat-form-field-filled-focus-active-indicator-color, var(--%NS%mat-sys-primary));\n}\n.mdc-text-field--filled.mdc-text-field--%NS%invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after {\n border-bottom-color: var(--%NS%mat-form-field-filled-error-focus-active-indicator-color, var(--%NS%mat-sys-error));\n}\n\n.mdc-line-ripple--%NS%active::after {\n transform: scaleX(1);\n opacity: 1;\n}\n\n.mdc-line-ripple--%NS%deactivating::after {\n opacity: 0;\n}\n\n.mdc-text-field--disabled {\n pointer-events: none;\n}\n\n.mat-mdc-form-field-textarea-control {\n vertical-align: middle;\n resize: vertical;\n box-sizing: border-box;\n height: auto;\n margin: 0;\n padding: 0;\n border: none;\n overflow: auto;\n}\n\n.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font: inherit;\n letter-spacing: inherit;\n text-decoration: inherit;\n text-transform: inherit;\n border: none;\n}\n\n.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n line-height: normal;\n pointer-events: all;\n will-change: auto;\n}\n\n.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label {\n cursor: inherit;\n}\n\n.mdc-text-field--%NS%no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,\n.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control {\n height: auto;\n}\n\n.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color] {\n height: 23px;\n}\n\n.mat-mdc-text-field-wrapper {\n height: auto;\n flex: auto;\n will-change: auto;\n}\n\n.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper {\n padding-left: 0;\n --%NS%mat-mdc-form-field-label-offset-x: -16px;\n}\n\n.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper {\n padding-right: 0;\n}\n\n[dir=rtl] .mat-mdc-text-field-wrapper {\n padding-left: 16px;\n padding-right: 16px;\n}\n[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper {\n padding-left: 0;\n}\n[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper {\n padding-right: 0;\n}\n\n.mat-form-field-disabled .mdc-text-field__input::placeholder {\n color: var(--%NS%mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder {\n color: var(--%NS%mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder {\n color: var(--%NS%mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder {\n color: var(--%NS%mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n\n.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder {\n transition-delay: 40ms;\n transition-duration: 110ms;\n opacity: 1;\n}\n\n.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label {\n left: auto;\n right: auto;\n}\n\n.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input {\n display: inline-block;\n}\n\n.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch {\n padding-top: 0;\n}\n\n.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch {\n border-left: 1px solid transparent;\n}\n\n[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch {\n border-left: none;\n border-right: 1px solid transparent;\n}\n\n.mat-mdc-form-field-infix {\n min-height: var(--%NS%mat-form-field-container-height, 56px);\n padding-top: var(--%NS%mat-form-field-filled-with-label-container-padding-top, 24px);\n padding-bottom: var(--%NS%mat-form-field-filled-with-label-container-padding-bottom, 8px);\n}\n.mdc-text-field--outlined .mat-mdc-form-field-infix, .mdc-text-field--no-label .mat-mdc-form-field-infix {\n padding-top: var(--%NS%mat-form-field-container-vertical-padding, 16px);\n padding-bottom: var(--%NS%mat-form-field-container-vertical-padding, 16px);\n}\n\n.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {\n top: calc(var(--%NS%mat-form-field-container-height, 56px) / 2);\n}\n\n.mdc-text-field--filled .mat-mdc-floating-label {\n display: var(--%NS%mat-form-field-filled-label-display, block);\n}\n\n.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n --%NS%mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--%NS%mat-form-field-container-height, 56px) / 2) * -1))\n scale(var(--%NS%mat-mdc-form-field-floating-label-scale, 0.75));\n transform: var(--%NS%mat-mdc-form-field-label-transform);\n}\n\n@keyframes _mat-form-field-subscript-animation {\n from {\n opacity: 0;\n transform: translateY(-5px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n.mat-mdc-form-field-subscript-wrapper {\n box-sizing: border-box;\n width: 100%;\n position: relative;\n}\n\n.mat-mdc-form-field-hint-wrapper,\n.mat-mdc-form-field-error-wrapper {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n padding: 0 16px;\n opacity: 1;\n transform: translateY(0);\n animation: _mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2);\n}\n\n.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,\n.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper {\n position: static;\n}\n\n.mat-mdc-form-field-bottom-align::before {\n content: "";\n display: inline-block;\n height: 16px;\n}\n\n.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before {\n content: unset;\n}\n\n.mat-mdc-form-field-hint-end {\n order: 1;\n}\n\n.mat-mdc-form-field-hint-wrapper {\n display: flex;\n}\n\n.mat-mdc-form-field-hint-spacer {\n flex: 1 0 1em;\n}\n\n.mat-mdc-form-field-error {\n display: block;\n color: var(--%NS%mat-form-field-error-text-color, var(--%NS%mat-sys-error));\n}\n\n.mat-mdc-form-field-subscript-wrapper,\n.mat-mdc-form-field-bottom-align::before {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: var(--%NS%mat-form-field-subscript-text-font, var(--%NS%mat-sys-body-small-font));\n line-height: var(--%NS%mat-form-field-subscript-text-line-height, var(--%NS%mat-sys-body-small-line-height));\n font-size: var(--%NS%mat-form-field-subscript-text-size, var(--%NS%mat-sys-body-small-size));\n letter-spacing: var(--%NS%mat-form-field-subscript-text-tracking, var(--%NS%mat-sys-body-small-tracking));\n font-weight: var(--%NS%mat-form-field-subscript-text-weight, var(--%NS%mat-sys-body-small-weight));\n}\n\n.mat-mdc-form-field-focus-overlay {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n opacity: 0;\n pointer-events: none;\n background-color: var(--%NS%mat-form-field-state-layer-color, var(--%NS%mat-sys-on-surface));\n}\n.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay {\n opacity: var(--%NS%mat-form-field-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay {\n opacity: var(--%NS%mat-form-field-focus-state-layer-opacity, 0);\n}\n\nselect.mat-mdc-form-field-input-control {\n -moz-appearance: none;\n -webkit-appearance: none;\n background-color: transparent;\n display: inline-flex;\n box-sizing: border-box;\n}\nselect.mat-mdc-form-field-input-control:not(:disabled) {\n cursor: pointer;\n}\nselect.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option {\n color: var(--%NS%mat-form-field-select-option-text-color, var(--%NS%mat-sys-neutral10));\n}\nselect.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled {\n color: var(--%NS%mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--%NS%mat-sys-neutral10) 38%, transparent));\n}\n\n.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after {\n content: "";\n width: 0;\n height: 0;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n border-top: 5px solid;\n position: absolute;\n right: 0;\n top: 50%;\n margin-top: -2.5px;\n pointer-events: none;\n color: var(--%NS%mat-form-field-enabled-select-arrow-color, var(--%NS%mat-sys-on-surface-variant));\n}\n[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after {\n right: auto;\n left: 0;\n}\n.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after {\n color: var(--%NS%mat-form-field-focus-select-arrow-color, var(--%NS%mat-sys-primary));\n}\n.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after {\n color: var(--%NS%mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control {\n padding-right: 15px;\n}\n[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control {\n padding-right: 0;\n padding-left: 15px;\n}\n\n@media (forced-colors: active) {\n .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper {\n outline: solid 1px;\n }\n}\n@media (forced-colors: active) {\n .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper {\n outline-color: GrayText;\n }\n}\n\n@media (forced-colors: active) {\n .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper {\n outline: dashed 3px;\n }\n}\n\n@media (forced-colors: active) {\n .mat-mdc-form-field.mat-focused .mdc-notched-outline {\n border: dashed 3px;\n }\n}\n\n.mat-mdc-form-field-input-control[type=date], .mat-mdc-form-field-input-control[type=datetime], .mat-mdc-form-field-input-control[type=datetime-local], .mat-mdc-form-field-input-control[type=month], .mat-mdc-form-field-input-control[type=week], .mat-mdc-form-field-input-control[type=time] {\n line-height: 1;\n}\n.mat-mdc-form-field-input-control::-webkit-datetime-edit {\n line-height: 1;\n padding: 0;\n margin-bottom: -2px;\n}\n\n.mat-mdc-form-field {\n --%NS%mat-mdc-form-field-floating-label-scale: 0.75;\n display: inline-flex;\n flex-direction: column;\n min-width: 0;\n text-align: left;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: var(--%NS%mat-form-field-container-text-font, var(--%NS%mat-sys-body-large-font));\n line-height: var(--%NS%mat-form-field-container-text-line-height, var(--%NS%mat-sys-body-large-line-height));\n font-size: var(--%NS%mat-form-field-container-text-size, var(--%NS%mat-sys-body-large-size));\n letter-spacing: var(--%NS%mat-form-field-container-text-tracking, var(--%NS%mat-sys-body-large-tracking));\n font-weight: var(--%NS%mat-form-field-container-text-weight, var(--%NS%mat-sys-body-large-weight));\n}\n.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above {\n font-size: calc(var(--%NS%mat-form-field-outlined-label-text-populated-size) * var(--%NS%mat-mdc-form-field-floating-label-scale));\n}\n.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n font-size: var(--%NS%mat-form-field-outlined-label-text-populated-size);\n}\n[dir=rtl] .mat-mdc-form-field {\n text-align: right;\n}\n\n.mat-mdc-form-field-flex {\n display: inline-flex;\n align-items: baseline;\n box-sizing: border-box;\n width: 100%;\n}\n\n.mat-mdc-text-field-wrapper {\n width: 100%;\n z-index: 0;\n}\n\n.mat-mdc-form-field-icon-prefix,\n.mat-mdc-form-field-icon-suffix {\n align-self: center;\n line-height: 0;\n pointer-events: auto;\n position: relative;\n z-index: 1;\n}\n.mat-mdc-form-field-icon-prefix > .mat-icon,\n.mat-mdc-form-field-icon-suffix > .mat-icon {\n padding: 0 12px;\n box-sizing: content-box;\n}\n\n.mat-mdc-form-field-icon-prefix {\n color: var(--%NS%mat-form-field-leading-icon-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-form-field-disabled .mat-mdc-form-field-icon-prefix {\n color: var(--%NS%mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n\n.mat-mdc-form-field-icon-suffix {\n color: var(--%NS%mat-form-field-trailing-icon-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-form-field-disabled .mat-mdc-form-field-icon-suffix {\n color: var(--%NS%mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n.mat-form-field-invalid .mat-mdc-form-field-icon-suffix {\n color: var(--%NS%mat-form-field-error-trailing-icon-color, var(--%NS%mat-sys-error));\n}\n.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix {\n color: var(--%NS%mat-form-field-error-hover-trailing-icon-color, var(--%NS%mat-sys-on-error-container));\n}\n.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix {\n color: var(--%NS%mat-form-field-error-focus-trailing-icon-color, var(--%NS%mat-sys-error));\n}\n\n.mat-mdc-form-field-icon-prefix,\n[dir=rtl] .mat-mdc-form-field-icon-suffix {\n padding: 0 4px 0 0;\n}\n\n.mat-mdc-form-field-icon-suffix,\n[dir=rtl] .mat-mdc-form-field-icon-prefix {\n padding: 0 0 0 4px;\n}\n\n.mat-mdc-form-field-subscript-wrapper .mat-icon,\n.mat-mdc-form-field label .mat-icon {\n width: 1em;\n height: 1em;\n font-size: inherit;\n}\n\n.mat-mdc-form-field-infix {\n flex: auto;\n min-width: 0;\n width: 180px;\n position: relative;\n box-sizing: border-box;\n}\n.mat-mdc-form-field-infix:has(textarea[cols]) {\n width: auto;\n}\n\n.mat-mdc-form-field .mdc-notched-outline__notch {\n margin-left: -1px;\n -webkit-clip-path: inset(-9em -999em -9em 1px);\n clip-path: inset(-9em -999em -9em 1px);\n}\n[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch {\n margin-left: 0;\n margin-right: -1px;\n -webkit-clip-path: inset(-9em 1px -9em -999em);\n clip-path: inset(-9em 1px -9em -999em);\n}\n\n.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label {\n transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input {\n transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder {\n transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder {\n transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder {\n transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder {\n transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder {\n transition-delay: 40ms;\n transition-duration: 110ms;\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder {\n transition-delay: 40ms;\n transition-duration: 110ms;\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder {\n transition-delay: 40ms;\n transition-duration: 110ms;\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder {\n transition-delay: 40ms;\n transition-duration: 110ms;\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--%NS%filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before {\n transition-duration: 75ms;\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after {\n transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,\n.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper {\n animation-duration: 300ms;\n}\n\n.mdc-notched-outline .mdc-floating-label {\n max-width: calc(100% + 1px);\n}\n\n.mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n max-width: calc(133.3333333333% + 1px);\n}\n'],encapsulation:2})}},36960(st,pe,h){"use strict";h.d(pe,{iM:()=>T,iY:()=>C});var m=h(70903),s=h(39962),f=h(28939),P=h(5156),D=h(35482),y=h(82218),b=h(38750),x=h(92320);const N=["*",[["","progressIndicator",""]]],M=["*","[progressIndicator]"];function U(B,F){1&B&&(m.rj2(0,"div",1),m.SdG(1,1),m.eux())}const J=new f.nKC("MAT_BUTTON_CONFIG");function I(B){return null==B?void 0:(0,s.Udg)(B)}class T{_elementRef=(0,f.WQX)(m.aKT);_ngZone=(0,f.WQX)(f.SKi);_animationsDisabled=(0,b.Rc)();_config=(0,f.WQX)(J,{optional:!0});_focusMonitor=(0,f.WQX)(P.FN);_cleanupClick;_renderer=(0,f.WQX)(m.sFG);_rippleLoader=(0,f.WQX)(y.E);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(F){this._disableRipple=F,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(F){this._disabled=F,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(F){this.tabIndex=F}showProgress=(0,s.hFB)(!1,{transform:s.L39});constructor(){(0,f.WQX)(D.l).load(x.A);const F=this._elementRef.nativeElement;this._isAnchor="A"===F.tagName,this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(F,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(F="program",$){F?this._focusMonitor.focusVia(this._elementRef.nativeElement,F,$):this._elementRef.nativeElement.focus($)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:this._isAnchor?this.disabled||null:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor&&this.disabled&&!this.disabledInteractive?-1:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",F=>{this.disabled&&(F.preventDefault(),F.stopImmediatePropagation())}))}static \u0275fac=function($){return new($||T)};static \u0275dir=m.FsC({type:T,hostAttrs:[1,"mat-mdc-button-base"],hostVars:15,hostBindings:function($,E){2&$&&(m.BMQ("disabled",E._getDisabledAttribute())("aria-disabled",E._getAriaDisabled())("tabindex",E._getTabIndex()),m.HbH(E.color?"mat-"+E.color:""),m.AVh("mat-mdc-button-progress-indicator-shown",E.showProgress())("mat-mdc-button-disabled",E.disabled)("mat-mdc-button-disabled-interactive",E.disabledInteractive)("mat-unthemed",!E.color)("_mat-animation-noopable",E._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",s.L39],disabled:[2,"disabled","disabled",s.L39],ariaDisabled:[2,"aria-disabled","ariaDisabled",s.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",s.L39],tabIndex:[2,"tabIndex","tabIndex",I],_tabindex:[2,"tabindex","_tabindex",I],showProgress:[1,"showProgress"]}})}class C extends T{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function($){return new($||C)};static \u0275cmp=m.VBU({type:C,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[m.Vt3],ngContentSelectors:M,decls:5,vars:1,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-button-progress-indicator-container"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function($,E){1&$&&(m.NAR(N),m.Hgh(0,"span",0),m.SdG(1),m.nVh(2,U,2,0,"div",1),m.Hgh(3,"span",2)(4,"span",3)),2&$&&(m.R7$(2),m.vxM(E.showProgress()?2:-1))},styles:['.mat-mdc-icon-button {\n -webkit-user-select: none;\n user-select: none;\n display: inline-block;\n position: relative;\n box-sizing: border-box;\n border: none;\n outline: none;\n background-color: transparent;\n fill: currentColor;\n text-decoration: none;\n cursor: pointer;\n z-index: 0;\n overflow: visible;\n border-radius: var(--%NS%mat-icon-button-container-shape, var(--%NS%mat-sys-corner-full, 50%));\n flex-shrink: 0;\n text-align: center;\n width: var(--%NS%mat-icon-button-state-layer-size, 40px);\n height: var(--%NS%mat-icon-button-state-layer-size, 40px);\n padding: calc(calc(var(--%NS%mat-icon-button-state-layer-size, 40px) - var(--%NS%mat-icon-button-icon-size, 24px)) / 2);\n font-size: var(--%NS%mat-icon-button-icon-size, 24px);\n color: var(--%NS%mat-icon-button-icon-color, var(--%NS%mat-sys-on-surface-variant));\n -webkit-tap-highlight-color: transparent;\n}\n.mat-mdc-icon-button .mat-mdc-button-ripple,\n.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,\n.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n pointer-events: none;\n border-radius: inherit;\n}\n.mat-mdc-icon-button .mat-mdc-button-ripple {\n overflow: hidden;\n}\n.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {\n content: "";\n opacity: 0;\n}\n.mat-mdc-icon-button .mdc-button__label,\n.mat-mdc-icon-button .mat-icon {\n z-index: 1;\n position: relative;\n}\n.mat-mdc-icon-button .mat-focus-indicator {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n border-radius: inherit;\n}\n.mat-mdc-icon-button:focus-visible > .mat-focus-indicator::before {\n content: "";\n border-radius: inherit;\n}\n.mat-mdc-icon-button .mat-ripple-element {\n background-color: var(--%NS%mat-icon-button-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface-variant) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-icon-button-state-layer-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-icon-button-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-icon-button:hover > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-icon-button-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-icon-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-icon-button-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-icon-button:active > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-icon-button-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));\n}\n.mat-mdc-icon-button .mat-mdc-button-touch-target {\n position: absolute;\n top: 50%;\n height: var(--%NS%mat-icon-button-touch-target-size, 48px);\n display: var(--%NS%mat-icon-button-touch-target-display, block);\n left: 50%;\n width: var(--%NS%mat-icon-button-touch-target-size, 48px);\n transform: translate(-50%, -50%);\n}\n.mat-mdc-icon-button._mat-animation-noopable {\n transition: none !important;\n animation: none !important;\n}\n.mat-mdc-icon-button[disabled], .mat-mdc-icon-button.mat-mdc-button-disabled {\n cursor: default;\n pointer-events: none;\n color: var(--%NS%mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n.mat-mdc-icon-button.mat-mdc-button-disabled-interactive {\n pointer-events: auto;\n}\n.mat-mdc-icon-button img,\n.mat-mdc-icon-button svg {\n width: var(--%NS%mat-icon-button-icon-size, 24px);\n height: var(--%NS%mat-icon-button-icon-size, 24px);\n vertical-align: baseline;\n}\n.mat-mdc-icon-button .mat-mdc-button-progress-indicator-container .mdc-circular-progress__determinate-circle-graphic {\n width: inherit;\n height: inherit;\n}\n.mat-mdc-icon-button .mat-mdc-button-progress-indicator-container .mdc-circular-progress__indeterminate-circle-graphic {\n height: 100%;\n}\n.mat-mdc-icon-button .mat-mdc-button-persistent-ripple {\n border-radius: var(--%NS%mat-icon-button-container-shape, var(--%NS%mat-sys-corner-full, 50%));\n}\n.mat-mdc-icon-button[hidden] {\n display: none;\n}\n.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before {\n background: transparent;\n opacity: 1;\n}\n\n.mat-mdc-button-progress-indicator-container {\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n}\n\n.mat-mdc-button-progress-indicator-shown mat-icon {\n visibility: hidden;\n}\n',"@media (forced-colors: active) {\n .mat-mdc-button:not(.mdc-button--outlined),\n .mat-mdc-unelevated-button:not(.mdc-button--outlined),\n .mat-mdc-raised-button:not(.mdc-button--outlined),\n .mat-mdc-outlined-button:not(.mdc-button--outlined),\n .mat-mdc-button-base.mat-tonal-button,\n .mat-mdc-icon-button.mat-mdc-icon-button,\n .mat-mdc-outlined-button .mdc-button__ripple {\n outline: solid 1px;\n }\n}\n"],encapsulation:2})}},18171(st,pe,h){"use strict";h.d(pe,{D7:()=>O,TL:()=>j,jb:()=>oe,wT:()=>Ee});var m=h(1396),s=h(40401),f=h(70903),P=h(39962),D=h(28939),y=h(55919),b=h(34182),x=h(89832),N=h(92320),M=h(6217),U=h(35482);const J=["*",[["mat-option"],["ng-container"]]],I=["*","mat-option, ng-container"],T=["text"],C=[[["mat-icon"]],"*"],R=["mat-icon","*"];function B(te,ce){if(1&te&&f.nrm(0,"mat-pseudo-checkbox",1),2&te){const ye=f.XpG();f.Y8G("disabled",ye.disabled)("state",ye.selected?"checked":"unchecked")}}function F(te,ce){if(1&te&&f.nrm(0,"mat-pseudo-checkbox",3),2&te){const ye=f.XpG();f.Y8G("disabled",ye.disabled)}}function $(te,ce){if(1&te&&(f.j41(0,"span",4),f.EFF(1),f.k0s()),2&te){const ye=f.XpG();f.R7$(),f.SpI("(",ye.group.label,")")}}const E=new D.nKC("MAT_OPTION_PARENT_COMPONENT"),w=new D.nKC("MatOptgroup");class O{label;disabled=!1;_labelId=(0,D.WQX)(m.g).getId("mat-optgroup-label-");_inert;constructor(){const ce=(0,D.WQX)(E,{optional:!0});this._inert=ce?.inertGroups??!1}static \u0275fac=function(ye){return new(ye||O)};static \u0275cmp=f.VBU({type:O,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(ye,Le){2&ye&&f.BMQ("role",Le._inert?null:"group")("aria-disabled",Le._inert?null:Le.disabled.toString())("aria-labelledby",Le._inert?null:Le._labelId)},inputs:{label:"label",disabled:[2,"disabled","disabled",P.L39]},exportAs:["matOptgroup"],features:[f.Jv_([{provide:w,useExisting:O}])],ngContentSelectors:I,decls:5,vars:4,consts:[["role","presentation",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(ye,Le){1&ye&&(f.NAR(J),f.rj2(0,"span",0)(1,"span",1),f.EFF(2),f.SdG(3),f.eux()(),f.SdG(4,1)),2&ye&&(f.AVh("mdc-list-item--disabled",Le.disabled),f.Avn("id",Le._labelId),f.R7$(2),f.SpI("",Le.label," "))},styles:[".mat-mdc-optgroup {\n color: var(--%NS%mat-optgroup-label-text-color, var(--%NS%mat-sys-on-surface-variant));\n font-family: var(--%NS%mat-optgroup-label-text-font, var(--%NS%mat-sys-title-small-font));\n line-height: var(--%NS%mat-optgroup-label-text-line-height, var(--%NS%mat-sys-title-small-line-height));\n font-size: var(--%NS%mat-optgroup-label-text-size, var(--%NS%mat-sys-title-small-size));\n letter-spacing: var(--%NS%mat-optgroup-label-text-tracking, var(--%NS%mat-sys-title-small-tracking));\n font-weight: var(--%NS%mat-optgroup-label-text-weight, var(--%NS%mat-sys-title-small-weight));\n}\n\n.mat-mdc-optgroup-label {\n display: flex;\n position: relative;\n align-items: center;\n justify-content: flex-start;\n overflow: hidden;\n min-height: 48px;\n padding: 0 16px;\n outline: none;\n}\n.mat-mdc-optgroup-label.mdc-list-item--disabled {\n opacity: 0.38;\n}\n.mat-mdc-optgroup-label .mdc-list-item__primary-text {\n font-size: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n line-height: inherit;\n font-family: inherit;\n text-decoration: inherit;\n text-transform: inherit;\n white-space: normal;\n color: inherit;\n}\n"],encapsulation:2})}class Z{source;isUserInput;constructor(ce,ye=!1){this.source=ce,this.isUserInput=ye}}class Ee{_element=(0,D.WQX)(f.aKT);_changeDetectorRef=(0,D.WQX)(P.gRc);_parent=(0,D.WQX)(E,{optional:!0});group=(0,D.WQX)(w,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=(0,D.WQX)(m.g).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(ce){this._disabled.set(ce)}_disabled=(0,D.vPA)(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}onSelectionChange=new D.bkB;_text;_stateChanges=new y.B;constructor(){const ce=(0,D.WQX)(U.l);ce.load(N.A),ce.load(M.Yc),this._signalDisableRipple=!!this._parent&&(0,D.Hps)(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(ce=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),ce&&this._emitSelectionChangeEvent())}deselect(ce=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),ce&&this._emitSelectionChangeEvent())}focus(ce,ye){const Le=this._getHostElement();"function"==typeof Le.focus&&Le.focus(ye)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(ce){(13===ce.keyCode||32===ce.keyCode)&&!(0,s.rp)(ce)&&(this._selectViaInteraction(),ce.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const ce=this.viewValue;ce!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=ce)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(ce=!1){this.onSelectionChange.emit(new Z(this,ce))}static \u0275fac=function(ye){return new(ye||Ee)};static \u0275cmp=f.VBU({type:Ee,selectors:[["mat-option"]],viewQuery:function(ye,Le){if(1&ye&&f.GBs(T,7),2&ye){let $e;f.mGM($e=f.lsd())&&(Le._text=$e.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(ye,Le){1&ye&&f.bIt("click",function(){return Le._selectViaInteraction()})("keydown",function(Tt){return Le._handleKeydown(Tt)}),2&ye&&(f.Avn("id",Le.id),f.BMQ("aria-selected",Le.selected)("aria-disabled",Le.disabled.toString()),f.AVh("mdc-list-item--selected",Le.selected)("mat-mdc-option-multiple",Le.multiple)("mat-mdc-option-active",Le.active)("mdc-list-item--disabled",Le.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",P.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:R,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(ye,Le){1&ye&&(f.NAR(C),f.nVh(0,B,1,2,"mat-pseudo-checkbox",1),f.SdG(1),f.j41(2,"span",2,0),f.SdG(4,1),f.k0s(),f.nVh(5,F,1,1,"mat-pseudo-checkbox",3),f.nVh(6,$,2,1,"span",4),f.nrm(7,"div",5)),2&ye&&(f.vxM(Le.multiple?0:-1),f.R7$(5),f.vxM(Le.multiple||!Le.selected||Le.hideSingleSelectionIndicator?-1:5),f.R7$(),f.vxM(Le.group&&Le.group._inert?6:-1),f.R7$(),f.Y8G("matRippleTrigger",Le._getHostElement())("matRippleDisabled",Le.disabled||Le.disableRipple))},dependencies:[x.w,b.r6],styles:['.mat-mdc-option {\n -webkit-user-select: none;\n user-select: none;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n display: flex;\n position: relative;\n align-items: center;\n justify-content: flex-start;\n overflow: hidden;\n min-height: 48px;\n padding: 0 16px;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n color: var(--%NS%mat-option-label-text-color, var(--%NS%mat-sys-on-surface));\n font-family: var(--%NS%mat-option-label-text-font, var(--%NS%mat-sys-label-large-font));\n line-height: var(--%NS%mat-option-label-text-line-height, var(--%NS%mat-sys-label-large-line-height));\n font-size: var(--%NS%mat-option-label-text-size, var(--%NS%mat-sys-body-large-size));\n letter-spacing: var(--%NS%mat-option-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));\n font-weight: var(--%NS%mat-option-label-text-weight, var(--%NS%mat-sys-body-large-weight));\n}\n.mat-mdc-option:hover:not(.mdc-list-item--disabled) {\n background-color: var(--%NS%mat-option-hover-state-layer-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) calc(var(--%NS%mat-sys-hover-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-option:focus.mdc-list-item, .mat-mdc-option.mat-mdc-option-active.mdc-list-item {\n background-color: var(--%NS%mat-option-focus-state-layer-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) calc(var(--%NS%mat-sys-focus-state-layer-opacity) * 100%), transparent));\n outline: 0;\n}\n.mat-mdc-option.mdc-list-item--%NS%selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) {\n background-color: var(--%NS%mat-option-selected-state-layer-color, var(--%NS%mat-sys-secondary-container));\n}\n.mat-mdc-option.mdc-list-item--%NS%selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) .mdc-list-item__primary-text {\n color: var(--%NS%mat-option-selected-state-label-text-color, var(--%NS%mat-sys-on-secondary-container));\n}\n.mat-mdc-option .mat-pseudo-checkbox {\n --%NS%mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--%NS%mat-option-selected-state-label-text-color, var(--%NS%mat-sys-on-secondary-container));\n}\n.mat-mdc-option.mdc-list-item {\n align-items: center;\n background: transparent;\n}\n.mat-mdc-option.mdc-list-item--disabled {\n cursor: default;\n pointer-events: none;\n}\n.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox, .mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text, .mat-mdc-option.mdc-list-item--disabled > mat-icon {\n opacity: 0.38;\n}\n.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) {\n padding-left: 32px;\n}\n[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) {\n padding-left: 16px;\n padding-right: 32px;\n}\n.mat-mdc-option .mat-icon,\n.mat-mdc-option .mat-pseudo-checkbox-full {\n margin-right: 16px;\n flex-shrink: 0;\n}\n[dir=rtl] .mat-mdc-option .mat-icon,\n[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full {\n margin-right: 0;\n margin-left: 16px;\n}\n.mat-mdc-option .mat-pseudo-checkbox-minimal {\n margin-left: 16px;\n flex-shrink: 0;\n}\n[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal {\n margin-right: 16px;\n margin-left: 0;\n}\n.mat-mdc-option .mat-mdc-option-ripple {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n pointer-events: none;\n}\n.mat-mdc-option .mdc-list-item__primary-text {\n white-space: normal;\n font-size: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n line-height: inherit;\n font-family: inherit;\n text-decoration: inherit;\n text-transform: inherit;\n margin-right: auto;\n}\n[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text {\n margin-right: 0;\n margin-left: auto;\n}\n@media (forced-colors: active) {\n .mat-mdc-option.mdc-list-item--%NS%selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after {\n content: "";\n position: absolute;\n top: 50%;\n right: 16px;\n transform: translateY(-50%);\n width: 10px;\n height: 0;\n border-bottom: solid 10px;\n border-radius: 10px;\n }\n [dir=rtl] .mat-mdc-option.mdc-list-item--%NS%selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after {\n right: auto;\n left: 16px;\n }\n}\n\n.mat-mdc-option-multiple {\n --%NS%mat-list-list-item-selected-container-color: var(--%NS%mat-list-list-item-container-color, transparent);\n}\n\n.mat-mdc-option-active .mat-focus-indicator::before {\n content: "";\n}\n'],encapsulation:2})}function oe(te,ce,ye){if(ye.length){let Le=ce.toArray(),$e=ye.toArray(),Tt=0;for(let We=0;We<te+1;We++)Le[We].group&&Le[We].group===$e[Tt]&&Tt++;return Tt}return 0}function j(te,ce,ye,Le){return te<ye?te:te+ce>ye+Le?Math.max(0,te-Le+ce):ye}h.d(pe,["QC",0,w,"is",0,E])},89832(st,pe,h){"use strict";h.d(pe,{w:()=>f});var m=h(70903),s=h(38750);class f{_animationsDisabled=(0,s.Rc)();state="unchecked";disabled=!1;appearance="full";static \u0275fac=function(y){return new(y||f)};static \u0275cmp=m.VBU({type:f,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(y,b){2&y&&m.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===b.state)("mat-pseudo-checkbox-checked","checked"===b.state)("mat-pseudo-checkbox-disabled",b.disabled)("mat-pseudo-checkbox-minimal","minimal"===b.appearance)("mat-pseudo-checkbox-full","full"===b.appearance)("_mat-animation-noopable",b._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(y,b){},styles:['.mat-pseudo-checkbox {\n border-radius: 2px;\n cursor: pointer;\n display: inline-block;\n vertical-align: middle;\n box-sizing: border-box;\n position: relative;\n flex-shrink: 0;\n transition: border-color 90ms cubic-bezier(0, 0, 0.2, 0.1), background-color 90ms cubic-bezier(0, 0, 0.2, 0.1);\n}\n.mat-pseudo-checkbox::after {\n position: absolute;\n opacity: 0;\n content: "";\n border-bottom: 2px solid currentColor;\n transition: opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);\n}\n.mat-pseudo-checkbox._mat-animation-noopable {\n transition: none !important;\n animation: none !important;\n}\n.mat-pseudo-checkbox._mat-animation-noopable::after {\n transition: none;\n}\n\n.mat-pseudo-checkbox-disabled {\n cursor: default;\n}\n\n.mat-pseudo-checkbox-indeterminate::after {\n left: 1px;\n opacity: 1;\n border-radius: 2px;\n}\n\n.mat-pseudo-checkbox-checked::after {\n left: 1px;\n border-left: 2px solid currentColor;\n transform: rotate(-45deg);\n opacity: 1;\n box-sizing: content-box;\n}\n\n.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after {\n color: var(--%NS%mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--%NS%mat-sys-primary));\n}\n.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after, .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after {\n color: var(--%NS%mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n\n.mat-pseudo-checkbox-full {\n border-color: var(--%NS%mat-pseudo-checkbox-full-unselected-icon-color, var(--%NS%mat-sys-on-surface-variant));\n border-width: 2px;\n border-style: solid;\n}\n.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled {\n border-color: var(--%NS%mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate {\n background-color: var(--%NS%mat-pseudo-checkbox-full-selected-icon-color, var(--%NS%mat-sys-primary));\n border-color: transparent;\n}\n.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after {\n color: var(--%NS%mat-pseudo-checkbox-full-selected-checkmark-color, var(--%NS%mat-sys-on-primary));\n}\n.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled {\n background-color: var(--%NS%mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after {\n color: var(--%NS%mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--%NS%mat-sys-surface));\n}\n\n.mat-pseudo-checkbox {\n width: 18px;\n height: 18px;\n}\n\n.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after {\n width: 14px;\n height: 6px;\n transform-origin: center;\n top: -4.2426406871px;\n left: 0;\n bottom: 0;\n right: 0;\n margin: auto;\n}\n.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after {\n top: 8px;\n width: 16px;\n}\n\n.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after {\n width: 10px;\n height: 4px;\n transform-origin: center;\n top: -2.8284271247px;\n left: 0;\n bottom: 0;\n right: 0;\n margin: auto;\n}\n.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after {\n top: 6px;\n width: 12px;\n}\n'],encapsulation:2})}},34182(st,pe,h){"use strict";h.d(pe,{r6:()=>Z,ug:()=>E});var M,Ee,m=h(36574),s=h(53724),f=h(3290),P=h(70903),D=h(28939),y=h(49621),b=h(48193),x=h(35482),N=h(38750);(Ee=M||(M={}))[Ee.FADING_IN=0]="FADING_IN",Ee[Ee.VISIBLE=1]="VISIBLE",Ee[Ee.FADING_OUT=2]="FADING_OUT",Ee[Ee.HIDDEN=3]="HIDDEN";class U{_renderer;element;config;_animationForciblyDisabledThroughCss;state=M.HIDDEN;constructor(oe,j,te,ce=!1){this._renderer=oe,this.element=j,this.config=te,this._animationForciblyDisabledThroughCss=ce}fadeOut(){this._renderer.fadeOutRipple(this)}}const J=(0,f.B)({passive:!0,capture:!0});class I{_events=new Map;addHandler(oe,j,te,ce){const ye=this._events.get(j);if(ye){const Le=ye.get(te);Le?Le.add(ce):ye.set(te,new Set([ce]))}else this._events.set(j,new Map([[te,new Set([ce])]])),oe.runOutsideAngular(()=>{document.addEventListener(j,this._delegateEventHandler,J)})}removeHandler(oe,j,te){const ce=this._events.get(oe);if(!ce)return;const ye=ce.get(j);ye&&(ye.delete(te),0===ye.size&&ce.delete(j),0===ce.size&&(this._events.delete(oe),document.removeEventListener(oe,this._delegateEventHandler,J)))}_delegateEventHandler=oe=>{const j=(0,s.Fb)(oe);j&&this._events.get(oe.type)?.forEach((te,ce)=>{(ce===j||ce.contains(j))&&te.forEach(ye=>ye.handleEvent(oe))})}}const T={enterDuration:225,exitDuration:150},R=(0,f.B)({passive:!0,capture:!0}),B=["mousedown","touchstart"],F=["mouseup","mouseleave","touchend","touchcancel"];class ${static \u0275fac=function(j){return new(j||$)};static \u0275cmp=P.VBU({type:$,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(j,te){},styles:[".mat-ripple {\n overflow: hidden;\n position: relative;\n}\n.mat-ripple:not(:empty) {\n transform: translateZ(0);\n}\n\n.mat-ripple.mat-ripple-unbounded {\n overflow: visible;\n}\n\n.mat-ripple-element {\n position: absolute;\n border-radius: 50%;\n pointer-events: none;\n transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1);\n transform: scale3d(0, 0, 0);\n background-color: var(--%NS%mat-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 10%, transparent));\n}\n@media (forced-colors: active) {\n .mat-ripple-element {\n display: none;\n }\n}\n.cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element {\n display: none;\n}\n"],encapsulation:2})}class E{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new I;constructor(oe,j,te,ce,ye){this._target=oe,this._ngZone=j,this._platform=ce,ce.isBrowser&&(this._containerElement=(0,b.i8)(te)),ye&&ye.get(x.l).load($)}fadeInRipple(oe,j,te={}){const ce=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),ye={...T,...te.animation};te.centered&&(oe=ce.left+ce.width/2,j=ce.top+ce.height/2);const Le=te.radius||function w(Ee,oe,j){const te=Math.max(Math.abs(Ee-j.left),Math.abs(Ee-j.right)),ce=Math.max(Math.abs(oe-j.top),Math.abs(oe-j.bottom));return Math.sqrt(te*te+ce*ce)}(oe,j,ce),$e=oe-ce.left,Tt=j-ce.top,We=ye.enterDuration,Me=document.createElement("div");Me.classList.add("mat-ripple-element"),Me.style.left=$e-Le+"px",Me.style.top=Tt-Le+"px",Me.style.height=2*Le+"px",Me.style.width=2*Le+"px",null!=te.color&&(Me.style.backgroundColor=te.color),Me.style.transitionDuration=`${We}ms`,this._containerElement.appendChild(Me);const ut=window.getComputedStyle(Me),xe=ut.transitionProperty,Te=ut.transitionDuration,Ce="none"===xe||"0s"===Te||"0s, 0s"===Te||0===ce.width&&0===ce.height,et=new U(this,Me,te,Ce);Me.style.transform="scale3d(1, 1, 1)",et.state=M.FADING_IN,te.persistent||(this._mostRecentTransientRipple=et);let he=null;return!Ce&&(We||ye.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ve=()=>{he&&(he.fallbackTimer=null),clearTimeout(de),this._finishRippleTransition(et)},be=()=>this._destroyRipple(et),de=setTimeout(be,We+100);Me.addEventListener("transitionend",ve),Me.addEventListener("transitioncancel",be),he={onTransitionEnd:ve,onTransitionCancel:be,fallbackTimer:de}}),this._activeRipples.set(et,he),(Ce||!We)&&this._finishRippleTransition(et),et}fadeOutRipple(oe){if(oe.state===M.FADING_OUT||oe.state===M.HIDDEN)return;const j=oe.element,te={...T,...oe.config.animation};j.style.transitionDuration=`${te.exitDuration}ms`,j.style.opacity="0",oe.state=M.FADING_OUT,(oe._animationForciblyDisabledThroughCss||!te.exitDuration)&&this._finishRippleTransition(oe)}fadeOutAll(){this._getActiveRipples().forEach(oe=>oe.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(oe=>{oe.config.persistent||oe.fadeOut()})}setupTriggerEvents(oe){const j=(0,b.i8)(oe);!this._platform.isBrowser||!j||j===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=j,B.forEach(te=>{E._eventManager.addHandler(this._ngZone,te,j,this)}))}handleEvent(oe){"mousedown"===oe.type?this._onMousedown(oe):"touchstart"===oe.type?this._onTouchStart(oe):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{F.forEach(j=>{this._triggerElement.addEventListener(j,this,R)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(oe){oe.state===M.FADING_IN?this._startFadeOutTransition(oe):oe.state===M.FADING_OUT&&this._destroyRipple(oe)}_startFadeOutTransition(oe){const j=oe===this._mostRecentTransientRipple,{persistent:te}=oe.config;oe.state=M.VISIBLE,!te&&(!j||!this._isPointerDown)&&oe.fadeOut()}_destroyRipple(oe){const j=this._activeRipples.get(oe)??null;this._activeRipples.delete(oe),this._activeRipples.size||(this._containerRect=null),oe===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),oe.state=M.HIDDEN,null!==j&&(oe.element.removeEventListener("transitionend",j.onTransitionEnd),oe.element.removeEventListener("transitioncancel",j.onTransitionCancel),null!==j.fallbackTimer&&clearTimeout(j.fallbackTimer)),oe.element.remove()}_onMousedown(oe){const j=(0,y._)(oe),te=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!j&&!te&&(this._isPointerDown=!0,this.fadeInRipple(oe.clientX,oe.clientY,this._target.rippleConfig))}_onTouchStart(oe){if(!this._target.rippleDisabled&&!(0,y.w)(oe)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const j=oe.changedTouches;if(j)for(let te=0;te<j.length;te++)this.fadeInRipple(j[te].clientX,j[te].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(oe=>{const j=oe.state===M.VISIBLE||oe.config.terminateOnPointerUp&&oe.state===M.FADING_IN;!oe.config.persistent&&j&&oe.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const oe=this._triggerElement;oe&&(B.forEach(j=>E._eventManager.removeHandler(j,oe,this)),this._pointerUpEventsRegistered&&(F.forEach(j=>oe.removeEventListener(j,this,R)),this._pointerUpEventsRegistered=!1))}}const O=new D.nKC("mat-ripple-global-options");class Z{_elementRef=(0,D.WQX)(P.aKT);_animationsDisabled=(0,N.Rc)();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(oe){oe&&this.fadeOutAllNonPersistent(),this._disabled=oe,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(oe){this._trigger=oe,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const oe=(0,D.WQX)(D.SKi),j=(0,D.WQX)(m.O),te=(0,D.WQX)(O,{optional:!0}),ce=(0,D.WQX)(D.zZn);this._globalOptions=te||{},this._rippleRenderer=new E(this,oe,this._elementRef,j,ce)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,...this._animationsDisabled?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(oe,j=0,te){return"number"==typeof oe?this._rippleRenderer.fadeInRipple(oe,j,{...this.rippleConfig,...te}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...oe})}static \u0275fac=function(j){return new(j||Z)};static \u0275dir=P.FsC({type:Z,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(j,te){2&j&&P.AVh("mat-ripple-unbounded",te.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}h.d(pe,["$E",0,O,"EX",0,T])},82218(st,pe,h){"use strict";h.d(pe,{E:()=>I});var m=h(70903),s=h(28939),f=h(36574),P=h(53724),D=h(38750),y=h(34182);const b={capture:!0},x=["focus","mousedown","mouseenter","touchstart"],N="mat-ripple-loader-uninitialized",M="mat-ripple-loader-class-name",U="mat-ripple-loader-centered",J="mat-ripple-loader-disabled";class I{_document=(0,s.WQX)(s.qQL);_animationsDisabled=(0,D.Rc)();_globalRippleOptions=(0,s.WQX)(y.$E,{optional:!0});_platform=(0,s.WQX)(f.O);_ngZone=(0,s.WQX)(s.SKi);_injector=(0,s.WQX)(s.zZn);_eventCleanups;_hosts=new Map;constructor(){const C=(0,s.WQX)(m._9s).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>x.map(R=>C.listen(this._document,R,this._onInteraction,b)))}ngOnDestroy(){const C=this._hosts.keys();for(const R of C)this.destroyRipple(R);this._eventCleanups.forEach(R=>R())}configureRipple(C,R){C.setAttribute(N,this._globalRippleOptions?.namespace??""),(R.className||!C.hasAttribute(M))&&C.setAttribute(M,R.className||""),R.centered&&C.setAttribute(U,""),R.disabled&&C.setAttribute(J,"")}setDisabled(C,R){const B=this._hosts.get(C);B?(B.target.rippleDisabled=R,!R&&!B.hasSetUpEvents&&(B.hasSetUpEvents=!0,B.renderer.setupTriggerEvents(C))):R?C.setAttribute(J,""):C.removeAttribute(J)}_onInteraction=C=>{const R=(0,P.Fb)(C);if(R instanceof HTMLElement){const B=R.closest(`[${N}="${this._globalRippleOptions?.namespace??""}"]`);B&&this._createRipple(B)}};_createRipple(C){if(!this._document||this._hosts.has(C))return;C.querySelector(".mat-ripple")?.remove();const R=this._document.createElement("span");R.classList.add("mat-ripple",C.getAttribute(M)),C.append(R);const B=this._globalRippleOptions,F=this._animationsDisabled?0:B?.animation?.enterDuration??y.EX.enterDuration,$=this._animationsDisabled?0:B?.animation?.exitDuration??y.EX.exitDuration,E={rippleDisabled:this._animationsDisabled||B?.disabled||C.hasAttribute(J),rippleConfig:{centered:C.hasAttribute(U),terminateOnPointerUp:B?.terminateOnPointerUp,animation:{enterDuration:F,exitDuration:$}}},w=new y.ug(E,this._ngZone,R,this._platform,this._injector),O=!E.rippleDisabled;O&&w.setupTriggerEvents(C),this._hosts.set(C,{target:E,renderer:w,hasSetUpEvents:O}),C.removeAttribute(N)}destroyRipple(C){const R=this._hosts.get(C);R&&(R.renderer._removeTriggerEvents(),this._hosts.delete(C))}static \u0275fac=function(R){return new(R||I)};static \u0275prov=m.tV_({token:I,factory:I.\u0275fac})}},92175(st,pe,h){"use strict";h.d(pe,{p:()=>D});var m=h(35886),s=h(28939),f=h(70903),P=h(34182);class D{static \u0275fac=function(x){return new(x||D)};static \u0275mod=f.$C({type:D,imports:[P.r6],exports:[P.r6,m.jI]});static \u0275inj=s.G2t({imports:[m.jI]})}},92320(st,pe,h){"use strict";h.d(pe,{A:()=>s});var m=h(70903);class s{static \u0275fac=function(D){return new(D||s)};static \u0275cmp=m.VBU({type:s,selectors:[["structural-styles"]],decls:0,vars:0,template:function(D,y){},styles:['.mat-focus-indicator {\n position: relative;\n}\n.mat-focus-indicator::before {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n box-sizing: border-box;\n pointer-events: none;\n display: var(--%NS%mat-focus-indicator-display, none);\n border-width: var(--%NS%mat-focus-indicator-border-width, 3px);\n border-style: var(--%NS%mat-focus-indicator-border-style, solid);\n border-color: var(--%NS%mat-focus-indicator-border-color, transparent);\n border-radius: var(--%NS%mat-focus-indicator-border-radius, 4px);\n}\n.mat-focus-indicator:focus-visible::before {\n content: "";\n}\n\n@media (forced-colors: active) {\n html {\n --%NS%mat-focus-indicator-display: block;\n --%NS%mat-focus-indicator-fallback-border-style: none;\n }\n}\n'],encapsulation:2})}},83297(st,pe,h){"use strict";h.d(pe,{b6:()=>$e,oV:()=>Le});var m=h(72818),s=h(75952),f=h(48193),P=h(40401),D=h(70903),y=h(39962),b=h(28939),x=h(36574),N=h(87728),M=h(5156),U=h(40271),J=h(51564),I=h(32445),T=h(11874),C=h(38532),R=h(55919),B=h(38750);const F=["tooltip"];const w=new b.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const Tt=(0,b.WQX)(b.zZn);return()=>(0,J.RH)(Tt,{scrollThrottle:20})}}),O=new b.nKC("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})}),Ee="tooltip-panel",oe={passive:!0};class Le{_elementRef=(0,b.WQX)(D.aKT);_ngZone=(0,b.WQX)(b.SKi);_platform=(0,b.WQX)(x.O);_ariaDescriber=(0,b.WQX)(N.vr);_focusMonitor=(0,b.WQX)(M.FN);_dir=(0,b.WQX)(U.dS);_injector=(0,b.WQX)(b.zZn);_viewContainerRef=(0,b.WQX)(D.c1b);_mediaMatcher=(0,b.WQX)(C.D);_document=(0,b.WQX)(b.qQL);_renderer=(0,b.WQX)(D.sFG);_animationsDisabled=(0,B.Rc)();_defaultOptions=(0,b.WQX)(O,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=$e;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(We){We!==this._position&&(this._position=We,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(We){this._positionAtOrigin=(0,s.he)(We),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(We){const Me=(0,s.he)(We);this._disabled!==Me&&(this._disabled=Me,Me?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(We){this._showDelay=(0,f.OE)(We)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(We){this._hideDelay=(0,f.OE)(We),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(We){const Me=this._message;this._message=null!=We?String(We).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(Me)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(We){this._tooltipClass=We,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new R.B;_isDestroyed=!1;constructor(){const We=this._defaultOptions;We&&(this._showDelay=We.showDelay,this._hideDelay=We.hideDelay,We.position&&(this.position=We.position),We.positionAtOrigin&&(this.positionAtOrigin=We.positionAtOrigin),We.touchGestures&&(this.touchGestures=We.touchGestures),We.tooltipClass&&(this.tooltipClass=We.tooltipClass)),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,m.Q)(this._destroyed)).subscribe(We=>{We?"keyboard"===We&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const We=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(Me=>Me()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(We,this.message,"tooltip"),this._focusMonitor.stopMonitoring(We)}show(We=this.showDelay,Me){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const ut=this._createOverlay(Me);this._detach(),this._portal=this._portal||new T.A8(this._tooltipComponent,this._viewContainerRef);const xe=this._tooltipInstance=ut.attach(this._portal).instance;xe._triggerElement=this._elementRef.nativeElement,xe._mouseLeaveHideDelay=this._hideDelay,xe.afterHidden().pipe((0,m.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),xe.show(We)}hide(We=this.hideDelay){const Me=this._tooltipInstance;Me&&(Me.isVisible()?Me.hide(We):(Me._cancelPendingAnimations(),this._detach()))}toggle(We){this._isTooltipVisible()?this.hide():this.show(void 0,We)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(We){if(this._overlayRef){const Te=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!We)&&Te._origin instanceof D.aKT)return this._overlayRef;this._detach()}const Me=this._injector.get(I.R).getAncestorScrollContainers(this._elementRef),ut=`${this._cssClassPrefix}-${Ee}`,xe=(0,J.$M)(this._injector,this.positionAtOrigin&&We||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(Me).withPopoverLocation("global");return xe.positionChanges.pipe((0,m.Q)(this._destroyed)).subscribe(Te=>{this._updateCurrentPositionClass(Te.connectionPair),this._tooltipInstance&&Te.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=(0,J.Y$)(this._injector,{direction:this._dir,positionStrategy:xe,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,ut]:ut,scrollStrategy:this._injector.get(w)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,m.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,m.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,m.Q)(this._destroyed)).subscribe(Te=>{Te.preventDefault(),Te.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe((0,m.Q)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(We){const Me=We.getConfig().positionStrategy,ut=this._getOrigin(),xe=this._getOverlayPosition();Me.withPositions([this._addOffset({...ut.main,...xe.main}),this._addOffset({...ut.fallback,...xe.fallback})])}_addOffset(We){const ut=!this._dir||"ltr"==this._dir.value;return"top"===We.originY?We.offsetY=-8:"bottom"===We.originY?We.offsetY=8:"start"===We.originX?We.offsetX=ut?-8:8:"end"===We.originX&&(We.offsetX=ut?8:-8),We}_getOrigin(){const We=!this._dir||"ltr"==this._dir.value,Me=this.position;let ut;"above"==Me||"below"==Me?ut={originX:"center",originY:"above"==Me?"top":"bottom"}:"before"==Me||"left"==Me&&We||"right"==Me&&!We?ut={originX:"start",originY:"center"}:("after"==Me||"right"==Me&&We||"left"==Me&&!We)&&(ut={originX:"end",originY:"center"});const{x:xe,y:Te}=this._invertPosition(ut.originX,ut.originY);return{main:ut,fallback:{originX:xe,originY:Te}}}_getOverlayPosition(){const We=!this._dir||"ltr"==this._dir.value,Me=this.position;let ut;"above"==Me?ut={overlayX:"center",overlayY:"bottom"}:"below"==Me?ut={overlayX:"center",overlayY:"top"}:"before"==Me||"left"==Me&&We||"right"==Me&&!We?ut={overlayX:"end",overlayY:"center"}:("after"==Me||"right"==Me&&We||"left"==Me&&!We)&&(ut={overlayX:"start",overlayY:"center"});const{x:xe,y:Te}=this._invertPosition(ut.overlayX,ut.overlayY);return{main:ut,fallback:{overlayX:xe,overlayY:Te}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),(0,D.mal)(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(We){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=We instanceof Set?Array.from(We):We,this._tooltipInstance._markForCheck())}_invertPosition(We,Me){return"above"===this.position||"below"===this.position?"top"===Me?Me="bottom":"bottom"===Me&&(Me="top"):"end"===We?We="start":"start"===We&&(We="end"),{x:We,y:Me}}_updateCurrentPositionClass(We){const{overlayY:Me,originX:ut,originY:xe}=We;let Te;if(Te="center"===Me?this._dir&&"rtl"===this._dir.value?"end"===ut?"left":"right":"start"===ut?"left":"right":"bottom"===Me&&"top"===xe?"above":"below",Te!==this._currentPosition){const Ce=this._overlayRef;if(Ce){const et=`${this._cssClassPrefix}-${Ee}-`;Ce.removePanelClass(et+this._currentPosition),Ce.addPanelClass(et+Te)}this._currentPosition=Te}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._addListener("touchstart",We=>{const Me=We.targetTouches?.[0],ut=Me?{x:Me.clientX,y:Me.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,ut)},this._defaultOptions?.touchLongPressShowDelay??500)})):this._addListener("mouseenter",We=>{let Me;this._setupPointerExitEventsIfNeeded(),void 0!==We.x&&void 0!==We.y&&(Me=We),this.show(void 0,Me)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized)if(this._pointerExitEventsInitialized=!0,this._isTouchPlatform()){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const We=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener("touchend",We),this._addListener("touchcancel",We)}}else this._addListener("mouseleave",We=>{const Me=We.relatedTarget;(!Me||!this._overlayRef?.overlayElement.contains(Me))&&this.hide()}),this._addListener("wheel",We=>{if(this._isTooltipVisible()){const Me=this._document.elementFromPoint(We.clientX,We.clientY),ut=this._elementRef.nativeElement;Me!==ut&&!ut.contains(Me)&&this.hide()}})}_addListener(We,Me){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,We,Me,oe))}_isTouchPlatform(){const We=this._defaultOptions?.detectHoverCapability;return"function"==typeof We?!We():!(!this._platform.IOS&&!this._platform.ANDROID)||!!this._platform.isBrowser&&(!!We&&this._mediaMatcher.matchMedia("(any-hover: none)").matches)}_disableNativeGesturesIfNecessary(){const We=this.touchGestures;if("off"!==We){const Me=this._elementRef.nativeElement,ut=Me.style;("on"===We||"INPUT"!==Me.nodeName&&"TEXTAREA"!==Me.nodeName)&&(ut.userSelect=ut.msUserSelect=ut.webkitUserSelect=ut.MozUserSelect="none"),("on"===We||!Me.draggable)&&(ut.webkitUserDrag="none"),ut.touchAction="none",ut.webkitTapHighlightColor="transparent"}}_syncAriaDescription(We){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,We,"tooltip"),this._isDestroyed||(0,D.mal)({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}_overlayEventPredicate=We=>"keydown"!==We.type||this._isTooltipVisible()&&27===We.keyCode&&!(0,P.rp)(We);static \u0275fac=function(Me){return new(Me||Le)};static \u0275dir=D.FsC({type:Le,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(Me,ut){2&Me&&D.AVh("mat-mdc-tooltip-disabled",ut.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}class $e{_changeDetectorRef=(0,b.WQX)(y.gRc);_elementRef=(0,b.WQX)(D.aKT);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=(0,B.Rc)();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new R.B;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";show(We){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},We)}hide(We){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},We)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:We}){(!We||!this._triggerElement.contains(We))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const We=this._elementRef.nativeElement.getBoundingClientRect();return We.height>24&&We.width>=200}_handleAnimationEnd({animationName:We}){(We===this._showAnimation||We===this._hideAnimation)&&this._finalizeAnimation(We===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(We){We?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(We){const Me=this._tooltip.nativeElement,ut=this._showAnimation,xe=this._hideAnimation;if(Me.classList.remove(We?xe:ut),Me.classList.add(We?ut:xe),this._isVisible!==We&&(this._isVisible=We,this._changeDetectorRef.markForCheck()),We&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Te=getComputedStyle(Me);("0s"===Te.getPropertyValue("animation-duration")||"none"===Te.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}We&&this._onShow(),this._animationsDisabled&&(Me.classList.add("_mat-animation-noopable"),this._finalizeAnimation(We))}static \u0275fac=function(Me){return new(Me||$e)};static \u0275cmp=D.VBU({type:$e,selectors:[["mat-tooltip-component"]],viewQuery:function(Me,ut){if(1&Me&&D.GBs(F,7),2&Me){let xe;D.mGM(xe=D.lsd())&&(ut._tooltip=xe.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(Me,ut){1&Me&&D.bIt("mouseleave",function(Te){return ut._handleMouseLeave(Te)})},decls:4,vars:5,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(Me,ut){1&Me&&(D.rj2(0,"div",1,0),D.VwU("animationend",function(Te){return ut._handleAnimationEnd(Te)}),D.rj2(2,"div",2),D.EFF(3),D.eux()()),2&Me&&(D.HbH(ut.tooltipClass),D.AVh("mdc-tooltip--multiline",ut._isMultiline),D.R7$(3),D.JRh(ut.message))},styles:['.mat-mdc-tooltip {\n position: relative;\n transform: scale(0);\n display: inline-flex;\n}\n.mat-mdc-tooltip::before {\n content: "";\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: -1;\n position: absolute;\n}\n.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before {\n top: -8px;\n}\n.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before {\n bottom: -8px;\n}\n.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before {\n left: -8px;\n}\n.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before {\n right: -8px;\n}\n.mat-mdc-tooltip._mat-animation-noopable {\n animation: none;\n transform: scale(1);\n}\n\n.mat-mdc-tooltip-surface {\n word-break: normal;\n overflow-wrap: anywhere;\n padding: 4px 8px;\n min-width: 40px;\n max-width: 200px;\n min-height: 24px;\n max-height: 40vh;\n box-sizing: border-box;\n overflow: hidden;\n text-align: center;\n will-change: transform, opacity;\n background-color: var(--%NS%mat-tooltip-container-color, var(--%NS%mat-sys-inverse-surface));\n color: var(--%NS%mat-tooltip-supporting-text-color, var(--%NS%mat-sys-inverse-on-surface));\n border-radius: var(--%NS%mat-tooltip-container-shape, var(--%NS%mat-sys-corner-extra-small));\n font-family: var(--%NS%mat-tooltip-supporting-text-font, var(--%NS%mat-sys-body-small-font));\n font-size: var(--%NS%mat-tooltip-supporting-text-size, var(--%NS%mat-sys-body-small-size));\n font-weight: var(--%NS%mat-tooltip-supporting-text-weight, var(--%NS%mat-sys-body-small-weight));\n line-height: var(--%NS%mat-tooltip-supporting-text-line-height, var(--%NS%mat-sys-body-small-line-height));\n letter-spacing: var(--%NS%mat-tooltip-supporting-text-tracking, var(--%NS%mat-sys-body-small-tracking));\n}\n.mat-mdc-tooltip-surface::before {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n border: 1px solid transparent;\n border-radius: inherit;\n content: "";\n pointer-events: none;\n}\n.mdc-tooltip--multiline .mat-mdc-tooltip-surface {\n text-align: left;\n}\n[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface {\n text-align: right;\n}\n\n.mat-mdc-tooltip-panel {\n line-height: normal;\n}\n.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive {\n pointer-events: none;\n}\n\n@keyframes mat-mdc-tooltip-show {\n 0% {\n opacity: 0;\n transform: scale(0.8);\n }\n 100% {\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes mat-mdc-tooltip-hide {\n 0% {\n opacity: 1;\n transform: scale(1);\n }\n 100% {\n opacity: 0;\n transform: scale(0.8);\n }\n}\n.mat-mdc-tooltip-show {\n animation: mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards;\n}\n\n.mat-mdc-tooltip-hide {\n animation: mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards;\n}\n'],encapsulation:2})}},11397(st,pe,h){"use strict";h.d(pe,{Hl:()=>Z});var m=h(36960),s=h(28939),f=h(70903),P=h(39962),D=h(35886),y=h(92175);const b=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]],[["","progressIndicator",""]]],x=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]","[progressIndicator]"];function N(Ee,oe){1&Ee&&(f.rj2(0,"div",2),f.SdG(1,3),f.eux())}function M(Ee,oe){1&Ee&&(f.rj2(0,"div",2),f.SdG(1,3),f.eux())}function U(Ee,oe){1&Ee&&(f.rj2(0,"div",2),f.SdG(1,3),f.eux())}const I=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]);class T extends m.iM{get appearance(){return this._appearance}set appearance(oe){this.setAppearance(oe||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();const oe=function C(Ee){return Ee.hasAttribute("mat-raised-button")?"elevated":Ee.hasAttribute("mat-stroked-button")?"outlined":Ee.hasAttribute("mat-flat-button")?"filled":Ee.hasAttribute("mat-button")?"text":null}(this._elementRef.nativeElement);oe&&this.setAppearance(oe)}setAppearance(oe){if(oe===this._appearance)return;const j=this._elementRef.nativeElement.classList,te=this._appearance?I.get(this._appearance):null,ce=I.get(oe);te&&j.remove(...te),j.add(...ce),this._appearance=oe}static \u0275fac=function(j){return new(j||T)};static \u0275cmp=f.VBU({type:T,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[f.Vt3],ngContentSelectors:x,decls:8,vars:5,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-button-progress-indicator-container"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(j,te){1&j&&(f.NAR(b),f.Hgh(0,"span",0),f.SdG(1),f.rj2(2,"span",1),f.SdG(3,1),f.eux(),f.SdG(4,2),f.nVh(5,N,2,0,"div",2),f.Hgh(6,"span",3)(7,"span",4)),2&j&&(f.AVh("mdc-button__ripple",!te._isFab)("mdc-fab__ripple",te._isFab),f.R7$(5),f.vxM(te.showProgress()?5:-1))},styles:['.mat-mdc-button-base {\n text-decoration: none;\n}\n.mat-mdc-button-base .mat-icon {\n min-height: fit-content;\n flex-shrink: 0;\n}\n@media (hover: none) {\n .mat-mdc-button-base:hover > span.mat-mdc-button-persistent-ripple::before {\n opacity: 0;\n }\n}\n\n.mdc-button {\n -webkit-user-select: none;\n user-select: none;\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n min-width: 64px;\n border: none;\n outline: none;\n line-height: inherit;\n -webkit-appearance: none;\n overflow: visible;\n vertical-align: middle;\n background: transparent;\n padding: 0 8px;\n}\n.mdc-button::-moz-focus-inner {\n padding: 0;\n border: 0;\n}\n.mdc-button:active {\n outline: none;\n}\n.mdc-button:hover {\n cursor: pointer;\n}\n.mdc-button:disabled {\n cursor: default;\n pointer-events: none;\n}\n.mdc-button[hidden] {\n display: none;\n}\n.mdc-button .mdc-button__label {\n position: relative;\n}\n\n.mat-mdc-button {\n padding: 0 var(--%NS%mat-button-text-horizontal-padding, 12px);\n height: var(--%NS%mat-button-text-container-height, 40px);\n font-family: var(--%NS%mat-button-text-label-text-font, var(--%NS%mat-sys-label-large-font));\n font-size: var(--%NS%mat-button-text-label-text-size, var(--%NS%mat-sys-label-large-size));\n letter-spacing: var(--%NS%mat-button-text-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));\n text-transform: var(--%NS%mat-button-text-label-text-transform);\n font-weight: var(--%NS%mat-button-text-label-text-weight, var(--%NS%mat-sys-label-large-weight));\n}\n.mat-mdc-button, .mat-mdc-button .mdc-button__ripple {\n border-radius: var(--%NS%mat-button-text-container-shape, var(--%NS%mat-sys-corner-full));\n}\n.mat-mdc-button:not(:disabled) {\n color: var(--%NS%mat-button-text-label-text-color, var(--%NS%mat-sys-primary));\n}\n.mat-mdc-button[disabled], .mat-mdc-button.mat-mdc-button-disabled {\n cursor: default;\n pointer-events: none;\n color: var(--%NS%mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n.mat-mdc-button.mat-mdc-button-disabled-interactive {\n pointer-events: auto;\n}\n.mat-mdc-button:has(.material-icons, mat-icon, [matButtonIcon]) {\n padding: 0 var(--%NS%mat-button-text-with-icon-horizontal-padding, 16px);\n}\n.mat-mdc-button > .mat-icon {\n margin-right: var(--%NS%mat-button-text-icon-spacing, 8px);\n margin-left: var(--%NS%mat-button-text-icon-offset, -4px);\n}\n[dir=rtl] .mat-mdc-button > .mat-icon {\n margin-right: var(--%NS%mat-button-text-icon-offset, -4px);\n margin-left: var(--%NS%mat-button-text-icon-spacing, 8px);\n}\n.mat-mdc-button .mdc-button__label + .mat-icon {\n margin-right: var(--%NS%mat-button-text-icon-offset, -4px);\n margin-left: var(--%NS%mat-button-text-icon-spacing, 8px);\n}\n[dir=rtl] .mat-mdc-button .mdc-button__label + .mat-icon {\n margin-right: var(--%NS%mat-button-text-icon-spacing, 8px);\n margin-left: var(--%NS%mat-button-text-icon-offset, -4px);\n}\n.mat-mdc-button .mat-ripple-element {\n background-color: var(--%NS%mat-button-text-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-button .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-button-text-state-layer-color, var(--%NS%mat-sys-primary));\n}\n.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-button-text-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-button:hover > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-button-text-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-button-text-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-button:active > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-button-text-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));\n}\n.mat-mdc-button .mat-mdc-button-touch-target {\n position: absolute;\n top: 50%;\n height: var(--%NS%mat-button-text-touch-target-size, 48px);\n display: var(--%NS%mat-button-text-touch-target-display, block);\n left: 0;\n right: 0;\n transform: translateY(-50%);\n}\n\n.mat-mdc-unelevated-button {\n transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);\n height: var(--%NS%mat-button-filled-container-height, 40px);\n font-family: var(--%NS%mat-button-filled-label-text-font, var(--%NS%mat-sys-label-large-font));\n font-size: var(--%NS%mat-button-filled-label-text-size, var(--%NS%mat-sys-label-large-size));\n letter-spacing: var(--%NS%mat-button-filled-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));\n text-transform: var(--%NS%mat-button-filled-label-text-transform);\n font-weight: var(--%NS%mat-button-filled-label-text-weight, var(--%NS%mat-sys-label-large-weight));\n padding: 0 var(--%NS%mat-button-filled-horizontal-padding, 24px);\n}\n.mat-mdc-unelevated-button > .mat-icon {\n margin-right: var(--%NS%mat-button-filled-icon-spacing, 8px);\n margin-left: var(--%NS%mat-button-filled-icon-offset, -8px);\n}\n[dir=rtl] .mat-mdc-unelevated-button > .mat-icon {\n margin-right: var(--%NS%mat-button-filled-icon-offset, -8px);\n margin-left: var(--%NS%mat-button-filled-icon-spacing, 8px);\n}\n.mat-mdc-unelevated-button .mdc-button__label + .mat-icon {\n margin-right: var(--%NS%mat-button-filled-icon-offset, -8px);\n margin-left: var(--%NS%mat-button-filled-icon-spacing, 8px);\n}\n[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label + .mat-icon {\n margin-right: var(--%NS%mat-button-filled-icon-spacing, 8px);\n margin-left: var(--%NS%mat-button-filled-icon-offset, -8px);\n}\n.mat-mdc-unelevated-button .mat-ripple-element {\n background-color: var(--%NS%mat-button-filled-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-button-filled-state-layer-color, var(--%NS%mat-sys-on-primary));\n}\n.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-button-filled-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-unelevated-button:hover > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-button-filled-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-unelevated-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-button-filled-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-unelevated-button:active > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-button-filled-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));\n}\n.mat-mdc-unelevated-button .mat-mdc-button-touch-target {\n position: absolute;\n top: 50%;\n height: var(--%NS%mat-button-filled-touch-target-size, 48px);\n display: var(--%NS%mat-button-filled-touch-target-display, block);\n left: 0;\n right: 0;\n transform: translateY(-50%);\n}\n.mat-mdc-unelevated-button:not(:disabled) {\n color: var(--%NS%mat-button-filled-label-text-color, var(--%NS%mat-sys-on-primary));\n background-color: var(--%NS%mat-button-filled-container-color, var(--%NS%mat-sys-primary));\n}\n.mat-mdc-unelevated-button, .mat-mdc-unelevated-button .mdc-button__ripple {\n border-radius: var(--%NS%mat-button-filled-container-shape, var(--%NS%mat-sys-corner-full));\n}\n.mat-mdc-unelevated-button .mat-mdc-button-progress-indicator-container {\n --%NS%mat-progress-spinner-active-indicator-color: var(--%NS%mat-button-filled-progress-active-indicator-color, var(--%NS%mat-sys-on-primary));\n}\n.mat-mdc-unelevated-button[disabled], .mat-mdc-unelevated-button.mat-mdc-button-disabled {\n cursor: default;\n pointer-events: none;\n color: var(--%NS%mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n background-color: var(--%NS%mat-button-filled-disabled-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent));\n}\n.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive {\n pointer-events: auto;\n}\n\n.mat-mdc-raised-button {\n transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);\n box-shadow: var(--%NS%mat-button-protected-container-elevation-shadow, var(--%NS%mat-sys-level1));\n height: var(--%NS%mat-button-protected-container-height, 40px);\n font-family: var(--%NS%mat-button-protected-label-text-font, var(--%NS%mat-sys-label-large-font));\n font-size: var(--%NS%mat-button-protected-label-text-size, var(--%NS%mat-sys-label-large-size));\n letter-spacing: var(--%NS%mat-button-protected-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));\n text-transform: var(--%NS%mat-button-protected-label-text-transform);\n font-weight: var(--%NS%mat-button-protected-label-text-weight, var(--%NS%mat-sys-label-large-weight));\n padding: 0 var(--%NS%mat-button-protected-horizontal-padding, 24px);\n}\n.mat-mdc-raised-button > .mat-icon {\n margin-right: var(--%NS%mat-button-protected-icon-spacing, 8px);\n margin-left: var(--%NS%mat-button-protected-icon-offset, -8px);\n}\n[dir=rtl] .mat-mdc-raised-button > .mat-icon {\n margin-right: var(--%NS%mat-button-protected-icon-offset, -8px);\n margin-left: var(--%NS%mat-button-protected-icon-spacing, 8px);\n}\n.mat-mdc-raised-button .mdc-button__label + .mat-icon {\n margin-right: var(--%NS%mat-button-protected-icon-offset, -8px);\n margin-left: var(--%NS%mat-button-protected-icon-spacing, 8px);\n}\n[dir=rtl] .mat-mdc-raised-button .mdc-button__label + .mat-icon {\n margin-right: var(--%NS%mat-button-protected-icon-spacing, 8px);\n margin-left: var(--%NS%mat-button-protected-icon-offset, -8px);\n}\n.mat-mdc-raised-button .mat-ripple-element {\n background-color: var(--%NS%mat-button-protected-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-button-protected-state-layer-color, var(--%NS%mat-sys-primary));\n}\n.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-button-protected-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-raised-button:hover > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-button-protected-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-raised-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-button-protected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-raised-button:active > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-button-protected-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));\n}\n.mat-mdc-raised-button .mat-mdc-button-touch-target {\n position: absolute;\n top: 50%;\n height: var(--%NS%mat-button-protected-touch-target-size, 48px);\n display: var(--%NS%mat-button-protected-touch-target-display, block);\n left: 0;\n right: 0;\n transform: translateY(-50%);\n}\n.mat-mdc-raised-button:not(:disabled) {\n color: var(--%NS%mat-button-protected-label-text-color, var(--%NS%mat-sys-primary));\n background-color: var(--%NS%mat-button-protected-container-color, var(--%NS%mat-sys-surface));\n}\n.mat-mdc-raised-button, .mat-mdc-raised-button .mdc-button__ripple {\n border-radius: var(--%NS%mat-button-protected-container-shape, var(--%NS%mat-sys-corner-full));\n}\n@media (hover: hover) {\n .mat-mdc-raised-button:hover {\n box-shadow: var(--%NS%mat-button-protected-hover-container-elevation-shadow, var(--%NS%mat-sys-level2));\n }\n}\n.mat-mdc-raised-button:focus {\n box-shadow: var(--%NS%mat-button-protected-focus-container-elevation-shadow, var(--%NS%mat-sys-level1));\n}\n.mat-mdc-raised-button:active, .mat-mdc-raised-button:focus:active {\n box-shadow: var(--%NS%mat-button-protected-pressed-container-elevation-shadow, var(--%NS%mat-sys-level1));\n}\n.mat-mdc-raised-button[disabled], .mat-mdc-raised-button.mat-mdc-button-disabled {\n cursor: default;\n pointer-events: none;\n color: var(--%NS%mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n background-color: var(--%NS%mat-button-protected-disabled-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent));\n}\n.mat-mdc-raised-button[disabled].mat-mdc-button-disabled, .mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled {\n box-shadow: var(--%NS%mat-button-protected-disabled-container-elevation-shadow, var(--%NS%mat-sys-level0));\n}\n.mat-mdc-raised-button.mat-mdc-button-disabled-interactive {\n pointer-events: auto;\n}\n\n.mat-mdc-outlined-button {\n border-style: solid;\n transition: border 280ms cubic-bezier(0.4, 0, 0.2, 1);\n height: var(--%NS%mat-button-outlined-container-height, 40px);\n font-family: var(--%NS%mat-button-outlined-label-text-font, var(--%NS%mat-sys-label-large-font));\n font-size: var(--%NS%mat-button-outlined-label-text-size, var(--%NS%mat-sys-label-large-size));\n letter-spacing: var(--%NS%mat-button-outlined-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));\n text-transform: var(--%NS%mat-button-outlined-label-text-transform);\n font-weight: var(--%NS%mat-button-outlined-label-text-weight, var(--%NS%mat-sys-label-large-weight));\n border-radius: var(--%NS%mat-button-outlined-container-shape, var(--%NS%mat-sys-corner-full));\n border-width: var(--%NS%mat-button-outlined-outline-width, 1px);\n padding: 0 var(--%NS%mat-button-outlined-horizontal-padding, 24px);\n}\n.mat-mdc-outlined-button > .mat-icon {\n margin-right: var(--%NS%mat-button-outlined-icon-spacing, 8px);\n margin-left: var(--%NS%mat-button-outlined-icon-offset, -8px);\n}\n[dir=rtl] .mat-mdc-outlined-button > .mat-icon {\n margin-right: var(--%NS%mat-button-outlined-icon-offset, -8px);\n margin-left: var(--%NS%mat-button-outlined-icon-spacing, 8px);\n}\n.mat-mdc-outlined-button .mdc-button__label + .mat-icon {\n margin-right: var(--%NS%mat-button-outlined-icon-offset, -8px);\n margin-left: var(--%NS%mat-button-outlined-icon-spacing, 8px);\n}\n[dir=rtl] .mat-mdc-outlined-button .mdc-button__label + .mat-icon {\n margin-right: var(--%NS%mat-button-outlined-icon-spacing, 8px);\n margin-left: var(--%NS%mat-button-outlined-icon-offset, -8px);\n}\n.mat-mdc-outlined-button .mat-ripple-element {\n background-color: var(--%NS%mat-button-outlined-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-button-outlined-state-layer-color, var(--%NS%mat-sys-primary));\n}\n.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-button-outlined-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-outlined-button:hover > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-button-outlined-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-outlined-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-button-outlined-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-outlined-button:active > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-button-outlined-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));\n}\n.mat-mdc-outlined-button .mat-mdc-button-touch-target {\n position: absolute;\n top: 50%;\n height: var(--%NS%mat-button-outlined-touch-target-size, 48px);\n display: var(--%NS%mat-button-outlined-touch-target-display, block);\n left: 0;\n right: 0;\n transform: translateY(-50%);\n}\n.mat-mdc-outlined-button:not(:disabled) {\n color: var(--%NS%mat-button-outlined-label-text-color, var(--%NS%mat-sys-primary));\n border-color: var(--%NS%mat-button-outlined-outline-color, var(--%NS%mat-sys-outline));\n}\n.mat-mdc-outlined-button[disabled], .mat-mdc-outlined-button.mat-mdc-button-disabled {\n cursor: default;\n pointer-events: none;\n color: var(--%NS%mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n border-color: var(--%NS%mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent));\n}\n.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive {\n pointer-events: auto;\n}\n\n.mat-tonal-button {\n transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);\n height: var(--%NS%mat-button-tonal-container-height, 40px);\n font-family: var(--%NS%mat-button-tonal-label-text-font, var(--%NS%mat-sys-label-large-font));\n font-size: var(--%NS%mat-button-tonal-label-text-size, var(--%NS%mat-sys-label-large-size));\n letter-spacing: var(--%NS%mat-button-tonal-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));\n text-transform: var(--%NS%mat-button-tonal-label-text-transform);\n font-weight: var(--%NS%mat-button-tonal-label-text-weight, var(--%NS%mat-sys-label-large-weight));\n padding: 0 var(--%NS%mat-button-tonal-horizontal-padding, 24px);\n}\n.mat-tonal-button:not(:disabled) {\n color: var(--%NS%mat-button-tonal-label-text-color, var(--%NS%mat-sys-on-secondary-container));\n background-color: var(--%NS%mat-button-tonal-container-color, var(--%NS%mat-sys-secondary-container));\n}\n.mat-tonal-button, .mat-tonal-button .mdc-button__ripple {\n border-radius: var(--%NS%mat-button-tonal-container-shape, var(--%NS%mat-sys-corner-full));\n}\n.mat-tonal-button[disabled], .mat-tonal-button.mat-mdc-button-disabled {\n cursor: default;\n pointer-events: none;\n color: var(--%NS%mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n background-color: var(--%NS%mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent));\n}\n.mat-tonal-button.mat-mdc-button-disabled-interactive {\n pointer-events: auto;\n}\n.mat-tonal-button > .mat-icon {\n margin-right: var(--%NS%mat-button-tonal-icon-spacing, 8px);\n margin-left: var(--%NS%mat-button-tonal-icon-offset, -8px);\n}\n[dir=rtl] .mat-tonal-button > .mat-icon {\n margin-right: var(--%NS%mat-button-tonal-icon-offset, -8px);\n margin-left: var(--%NS%mat-button-tonal-icon-spacing, 8px);\n}\n.mat-tonal-button .mdc-button__label + .mat-icon {\n margin-right: var(--%NS%mat-button-tonal-icon-offset, -8px);\n margin-left: var(--%NS%mat-button-tonal-icon-spacing, 8px);\n}\n[dir=rtl] .mat-tonal-button .mdc-button__label + .mat-icon {\n margin-right: var(--%NS%mat-button-tonal-icon-spacing, 8px);\n margin-left: var(--%NS%mat-button-tonal-icon-offset, -8px);\n}\n.mat-tonal-button .mat-ripple-element {\n background-color: var(--%NS%mat-button-tonal-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-secondary-container) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-tonal-button .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-button-tonal-state-layer-color, var(--%NS%mat-sys-on-secondary-container));\n}\n.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-button-tonal-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-tonal-button:hover > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-button-tonal-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));\n}\n.mat-tonal-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-button-tonal-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));\n}\n.mat-tonal-button:active > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-button-tonal-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));\n}\n.mat-tonal-button .mat-mdc-button-touch-target {\n position: absolute;\n top: 50%;\n height: var(--%NS%mat-button-tonal-touch-target-size, 48px);\n display: var(--%NS%mat-button-tonal-touch-target-display, block);\n left: 0;\n right: 0;\n transform: translateY(-50%);\n}\n\n.mat-mdc-button,\n.mat-mdc-unelevated-button,\n.mat-mdc-raised-button,\n.mat-mdc-outlined-button,\n.mat-tonal-button {\n -webkit-tap-highlight-color: transparent;\n}\n.mat-mdc-button .mat-mdc-button-ripple,\n.mat-mdc-button .mat-mdc-button-persistent-ripple,\n.mat-mdc-button .mat-mdc-button-persistent-ripple::before,\n.mat-mdc-unelevated-button .mat-mdc-button-ripple,\n.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,\n.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,\n.mat-mdc-raised-button .mat-mdc-button-ripple,\n.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,\n.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,\n.mat-mdc-outlined-button .mat-mdc-button-ripple,\n.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,\n.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,\n.mat-tonal-button .mat-mdc-button-ripple,\n.mat-tonal-button .mat-mdc-button-persistent-ripple,\n.mat-tonal-button .mat-mdc-button-persistent-ripple::before {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n pointer-events: none;\n border-radius: inherit;\n}\n.mat-mdc-button .mat-mdc-button-ripple,\n.mat-mdc-unelevated-button .mat-mdc-button-ripple,\n.mat-mdc-raised-button .mat-mdc-button-ripple,\n.mat-mdc-outlined-button .mat-mdc-button-ripple,\n.mat-tonal-button .mat-mdc-button-ripple {\n overflow: hidden;\n}\n.mat-mdc-button .mat-mdc-button-persistent-ripple::before,\n.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,\n.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,\n.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,\n.mat-tonal-button .mat-mdc-button-persistent-ripple::before {\n content: "";\n opacity: 0;\n}\n.mat-mdc-button .mdc-button__label,\n.mat-mdc-button .mat-icon,\n.mat-mdc-unelevated-button .mdc-button__label,\n.mat-mdc-unelevated-button .mat-icon,\n.mat-mdc-raised-button .mdc-button__label,\n.mat-mdc-raised-button .mat-icon,\n.mat-mdc-outlined-button .mdc-button__label,\n.mat-mdc-outlined-button .mat-icon,\n.mat-tonal-button .mdc-button__label,\n.mat-tonal-button .mat-icon {\n z-index: 1;\n position: relative;\n}\n.mat-mdc-button .mat-focus-indicator,\n.mat-mdc-unelevated-button .mat-focus-indicator,\n.mat-mdc-raised-button .mat-focus-indicator,\n.mat-mdc-outlined-button .mat-focus-indicator,\n.mat-tonal-button .mat-focus-indicator {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n border-radius: inherit;\n}\n.mat-mdc-button:focus-visible > .mat-focus-indicator::before,\n.mat-mdc-unelevated-button:focus-visible > .mat-focus-indicator::before,\n.mat-mdc-raised-button:focus-visible > .mat-focus-indicator::before,\n.mat-mdc-outlined-button:focus-visible > .mat-focus-indicator::before,\n.mat-tonal-button:focus-visible > .mat-focus-indicator::before {\n content: "";\n border-radius: inherit;\n}\n.mat-mdc-button._mat-animation-noopable,\n.mat-mdc-unelevated-button._mat-animation-noopable,\n.mat-mdc-raised-button._mat-animation-noopable,\n.mat-mdc-outlined-button._mat-animation-noopable,\n.mat-tonal-button._mat-animation-noopable {\n transition: none !important;\n animation: none !important;\n}\n.mat-mdc-button > .mat-icon,\n.mat-mdc-unelevated-button > .mat-icon,\n.mat-mdc-raised-button > .mat-icon,\n.mat-mdc-outlined-button > .mat-icon,\n.mat-tonal-button > .mat-icon {\n display: inline-block;\n position: relative;\n vertical-align: top;\n font-size: 1.125rem;\n height: 1.125rem;\n width: 1.125rem;\n}\n\n.mat-mdc-outlined-button .mat-mdc-button-ripple,\n.mat-mdc-outlined-button .mdc-button__ripple {\n top: -1px;\n left: -1px;\n bottom: -1px;\n right: -1px;\n}\n\n.mat-mdc-unelevated-button .mat-focus-indicator::before,\n.mat-tonal-button .mat-focus-indicator::before,\n.mat-mdc-raised-button .mat-focus-indicator::before {\n margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px) * -1);\n}\n\n.mat-mdc-outlined-button .mat-focus-indicator::before {\n margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 3px) * -1);\n}\n\n.mat-mdc-button-progress-indicator-container {\n position: absolute;\n inset-inline-start: 0;\n inset-block-start: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n}\n\n.mat-mdc-button-progress-indicator-shown mat-icon,\n.mat-mdc-button-progress-indicator-shown [matButtonIcon],\n.mat-mdc-button-progress-indicator-shown .mdc-button__label {\n visibility: hidden;\n}\n',"@media (forced-colors: active) {\n .mat-mdc-button:not(.mdc-button--outlined),\n .mat-mdc-unelevated-button:not(.mdc-button--outlined),\n .mat-mdc-raised-button:not(.mdc-button--outlined),\n .mat-mdc-outlined-button:not(.mdc-button--outlined),\n .mat-mdc-button-base.mat-tonal-button,\n .mat-mdc-icon-button.mat-mdc-icon-button,\n .mat-mdc-outlined-button .mdc-button__ripple {\n outline: solid 1px;\n }\n}\n"],encapsulation:2})}const B=new s.nKC("mat-mdc-fab-default-options",{providedIn:"root",factory:()=>F}),F={color:"accent"};class $ extends m.iM{_options=(0,s.WQX)(B,{optional:!0});_isFab=!0;extended=!1;constructor(){super(),this._options=this._options||F,this.color=this._options.color||F.color}static \u0275fac=function(j){return new(j||$)};static \u0275cmp=f.VBU({type:$,selectors:[["button","mat-fab",""],["a","mat-fab",""],["button","matFab",""],["a","matFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mat-mdc-fab"],hostVars:4,hostBindings:function(j,te){2&j&&f.AVh("mdc-fab--extended",te.extended)("mat-mdc-extended-fab",te.extended)},inputs:{extended:[2,"extended","extended",P.L39]},exportAs:["matButton","matAnchor"],features:[f.Vt3],ngContentSelectors:x,decls:8,vars:5,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-button-progress-indicator-container"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(j,te){1&j&&(f.NAR(b),f.Hgh(0,"span",0),f.SdG(1),f.rj2(2,"span",1),f.SdG(3,1),f.eux(),f.SdG(4,2),f.nVh(5,M,2,0,"div",2),f.Hgh(6,"span",3)(7,"span",4)),2&j&&(f.AVh("mdc-button__ripple",!te._isFab)("mdc-fab__ripple",te._isFab),f.R7$(5),f.vxM(te.showProgress()?5:-1))},styles:['.mat-mdc-fab-base {\n -webkit-user-select: none;\n user-select: none;\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 56px;\n height: 56px;\n padding: 0;\n border: none;\n fill: currentColor;\n text-decoration: none;\n cursor: pointer;\n -moz-appearance: none;\n -webkit-appearance: none;\n overflow: visible;\n transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);\n flex-shrink: 0;\n -webkit-tap-highlight-color: transparent;\n}\n.mat-mdc-fab-base .mat-mdc-button-ripple,\n.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,\n.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n pointer-events: none;\n border-radius: inherit;\n}\n.mat-mdc-fab-base .mat-mdc-button-ripple {\n overflow: hidden;\n}\n.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before {\n content: "";\n opacity: 0;\n}\n.mat-mdc-fab-base .mdc-button__label,\n.mat-mdc-fab-base .mat-icon {\n z-index: 1;\n position: relative;\n}\n.mat-mdc-fab-base .mat-focus-indicator {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n}\n.mat-mdc-fab-base:focus-visible > .mat-focus-indicator::before {\n content: "";\n}\n.mat-mdc-fab-base._mat-animation-noopable {\n transition: none !important;\n animation: none !important;\n}\n.mat-mdc-fab-base::before {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n border: 1px solid transparent;\n border-radius: inherit;\n content: "";\n pointer-events: none;\n}\n.mat-mdc-fab-base[hidden] {\n display: none;\n}\n.mat-mdc-fab-base::-moz-focus-inner {\n padding: 0;\n border: 0;\n}\n.mat-mdc-fab-base:active, .mat-mdc-fab-base:focus {\n outline: none;\n}\n.mat-mdc-fab-base:hover {\n cursor: pointer;\n}\n.mat-mdc-fab-base > svg {\n width: 100%;\n}\n.mat-mdc-fab-base .mat-icon, .mat-mdc-fab-base .material-icons {\n transition: transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);\n fill: currentColor;\n will-change: transform;\n}\n.mat-mdc-fab-base .mat-focus-indicator::before {\n margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px) * -1);\n border-radius: calc(var(--%NS%mat-fab-container-shape, var(--%NS%mat-sys-corner-large)) + calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px));\n}\n.mat-mdc-fab-base[disabled], .mat-mdc-fab-base.mat-mdc-button-disabled {\n cursor: default;\n pointer-events: none;\n}\n.mat-mdc-fab-base[disabled], .mat-mdc-fab-base[disabled]:focus, .mat-mdc-fab-base.mat-mdc-button-disabled, .mat-mdc-fab-base.mat-mdc-button-disabled:focus {\n box-shadow: none;\n}\n.mat-mdc-fab-base.mat-mdc-button-disabled-interactive {\n pointer-events: auto;\n}\n\n.mat-mdc-fab {\n background-color: var(--%NS%mat-fab-container-color, var(--%NS%mat-sys-primary-container));\n border-radius: var(--%NS%mat-fab-container-shape, var(--%NS%mat-sys-corner-large));\n color: var(--%NS%mat-fab-foreground-color, var(--%NS%mat-sys-on-primary-container, inherit));\n box-shadow: var(--%NS%mat-fab-container-elevation-shadow, var(--%NS%mat-sys-level3));\n}\n@media (hover: hover) {\n .mat-mdc-fab:hover {\n box-shadow: var(--%NS%mat-fab-hover-container-elevation-shadow, var(--%NS%mat-sys-level4));\n }\n}\n.mat-mdc-fab:focus {\n box-shadow: var(--%NS%mat-fab-focus-container-elevation-shadow, var(--%NS%mat-sys-level3));\n}\n.mat-mdc-fab:active, .mat-mdc-fab:focus:active {\n box-shadow: var(--%NS%mat-fab-pressed-container-elevation-shadow, var(--%NS%mat-sys-level3));\n}\n.mat-mdc-fab[disabled], .mat-mdc-fab.mat-mdc-button-disabled {\n cursor: default;\n pointer-events: none;\n color: var(--%NS%mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n background-color: var(--%NS%mat-fab-disabled-state-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent));\n}\n.mat-mdc-fab.mat-mdc-button-disabled-interactive {\n pointer-events: auto;\n}\n.mat-mdc-fab .mat-mdc-button-touch-target {\n position: absolute;\n top: 50%;\n height: var(--%NS%mat-fab-touch-target-size, 48px);\n display: var(--%NS%mat-fab-touch-target-display, block);\n left: 50%;\n width: var(--%NS%mat-fab-touch-target-size, 48px);\n transform: translate(-50%, -50%);\n}\n.mat-mdc-fab .mat-ripple-element {\n background-color: var(--%NS%mat-fab-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-primary-container) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-fab .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-fab-state-layer-color, var(--%NS%mat-sys-on-primary-container));\n}\n.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-fab-disabled-state-layer-color);\n}\n.mat-mdc-fab:hover > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-fab-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-fab.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-fab.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-fab.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-fab-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-fab:active > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-fab-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));\n}\n\n.mat-mdc-mini-fab {\n width: 40px;\n height: 40px;\n background-color: var(--%NS%mat-fab-small-container-color, var(--%NS%mat-sys-primary-container));\n border-radius: var(--%NS%mat-fab-small-container-shape, var(--%NS%mat-sys-corner-medium));\n color: var(--%NS%mat-fab-small-foreground-color, var(--%NS%mat-sys-on-primary-container, inherit));\n box-shadow: var(--%NS%mat-fab-small-container-elevation-shadow, var(--%NS%mat-sys-level3));\n}\n@media (hover: hover) {\n .mat-mdc-mini-fab:hover {\n box-shadow: var(--%NS%mat-fab-small-hover-container-elevation-shadow, var(--%NS%mat-sys-level4));\n }\n}\n.mat-mdc-mini-fab:focus {\n box-shadow: var(--%NS%mat-fab-small-focus-container-elevation-shadow, var(--%NS%mat-sys-level3));\n}\n.mat-mdc-mini-fab:active, .mat-mdc-mini-fab:focus:active {\n box-shadow: var(--%NS%mat-fab-small-pressed-container-elevation-shadow, var(--%NS%mat-sys-level3));\n}\n.mat-mdc-mini-fab .mat-focus-indicator::before {\n border-radius: calc(var(--%NS%mat-fab-small-container-shape, var(--%NS%mat-sys-corner-medium)) + calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px));\n}\n.mat-mdc-mini-fab[disabled], .mat-mdc-mini-fab.mat-mdc-button-disabled {\n cursor: default;\n pointer-events: none;\n color: var(--%NS%mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n background-color: var(--%NS%mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent));\n}\n.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive {\n pointer-events: auto;\n}\n.mat-mdc-mini-fab .mat-mdc-button-touch-target {\n position: absolute;\n top: 50%;\n height: var(--%NS%mat-fab-small-touch-target-size, 48px);\n display: var(--%NS%mat-fab-small-touch-target-display);\n left: 50%;\n width: var(--%NS%mat-fab-small-touch-target-size, 48px);\n transform: translate(-50%, -50%);\n}\n.mat-mdc-mini-fab .mat-ripple-element {\n background-color: var(--%NS%mat-fab-small-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-primary-container) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-fab-small-state-layer-color, var(--%NS%mat-sys-on-primary-container));\n}\n.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-fab-small-disabled-state-layer-color);\n}\n.mat-mdc-mini-fab:hover > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-fab-small-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-mini-fab.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-mini-fab.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-fab-small-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-mini-fab:active > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-fab-small-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));\n}\n\n.mat-mdc-extended-fab {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n padding-left: 20px;\n padding-right: 20px;\n width: auto;\n max-width: 100%;\n line-height: normal;\n box-shadow: var(--%NS%mat-fab-extended-container-elevation-shadow, var(--%NS%mat-sys-level3));\n height: var(--%NS%mat-fab-extended-container-height, 56px);\n border-radius: var(--%NS%mat-fab-extended-container-shape, var(--%NS%mat-sys-corner-large));\n font-family: var(--%NS%mat-fab-extended-label-text-font, var(--%NS%mat-sys-label-large-font));\n font-size: var(--%NS%mat-fab-extended-label-text-size, var(--%NS%mat-sys-label-large-size));\n font-weight: var(--%NS%mat-fab-extended-label-text-weight, var(--%NS%mat-sys-label-large-weight));\n letter-spacing: var(--%NS%mat-fab-extended-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));\n}\n@media (hover: hover) {\n .mat-mdc-extended-fab:hover {\n box-shadow: var(--%NS%mat-fab-extended-hover-container-elevation-shadow, var(--%NS%mat-sys-level4));\n }\n}\n.mat-mdc-extended-fab:focus {\n box-shadow: var(--%NS%mat-fab-extended-focus-container-elevation-shadow, var(--%NS%mat-sys-level3));\n}\n.mat-mdc-extended-fab:active, .mat-mdc-extended-fab:focus:active {\n box-shadow: var(--%NS%mat-fab-extended-pressed-container-elevation-shadow, var(--%NS%mat-sys-level3));\n}\n.mat-mdc-extended-fab[disabled], .mat-mdc-extended-fab.mat-mdc-button-disabled {\n cursor: default;\n pointer-events: none;\n}\n.mat-mdc-extended-fab[disabled], .mat-mdc-extended-fab[disabled]:focus, .mat-mdc-extended-fab.mat-mdc-button-disabled, .mat-mdc-extended-fab.mat-mdc-button-disabled:focus {\n box-shadow: none;\n}\n.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive {\n pointer-events: auto;\n}\n[dir=rtl] .mat-mdc-extended-fab .mdc-button__label + .mat-icon, [dir=rtl] .mat-mdc-extended-fab .mdc-button__label + .material-icons,\n.mat-mdc-extended-fab > .mat-icon,\n.mat-mdc-extended-fab > .material-icons {\n margin-left: -8px;\n margin-right: 12px;\n}\n.mat-mdc-extended-fab .mdc-button__label + .mat-icon,\n.mat-mdc-extended-fab .mdc-button__label + .material-icons, [dir=rtl] .mat-mdc-extended-fab > .mat-icon, [dir=rtl] .mat-mdc-extended-fab > .material-icons {\n margin-left: 12px;\n margin-right: -8px;\n}\n.mat-mdc-extended-fab .mat-mdc-button-touch-target {\n width: 100%;\n}\n\n.mat-mdc-button-progress-indicator-container {\n position: absolute;\n inset-inline-start: 0;\n margin-block-start: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n}\n\n.mat-mdc-button-progress-indicator-shown mat-icon,\n.mat-mdc-button-progress-indicator-shown [matButtonIcon],\n.mat-mdc-button-progress-indicator-shown .mdc-button__label {\n visibility: hidden;\n}\n'],encapsulation:2})}class E extends m.iM{_options=(0,s.WQX)(B,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||F,this.color=this._options.color||F.color}static \u0275fac=function(j){return new(j||E)};static \u0275cmp=f.VBU({type:E,selectors:[["button","mat-mini-fab",""],["a","mat-mini-fab",""],["button","matMiniFab",""],["a","matMiniFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"],exportAs:["matButton","matAnchor"],features:[f.Vt3],ngContentSelectors:x,decls:8,vars:5,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-button-progress-indicator-container"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(j,te){1&j&&(f.NAR(b),f.Hgh(0,"span",0),f.SdG(1),f.rj2(2,"span",1),f.SdG(3,1),f.eux(),f.SdG(4,2),f.nVh(5,U,2,0,"div",2),f.Hgh(6,"span",3)(7,"span",4)),2&j&&(f.AVh("mdc-button__ripple",!te._isFab)("mdc-fab__ripple",te._isFab),f.R7$(5),f.vxM(te.showProgress()?5:-1))},styles:['.mat-mdc-fab-base {\n -webkit-user-select: none;\n user-select: none;\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 56px;\n height: 56px;\n padding: 0;\n border: none;\n fill: currentColor;\n text-decoration: none;\n cursor: pointer;\n -moz-appearance: none;\n -webkit-appearance: none;\n overflow: visible;\n transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);\n flex-shrink: 0;\n -webkit-tap-highlight-color: transparent;\n}\n.mat-mdc-fab-base .mat-mdc-button-ripple,\n.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,\n.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n pointer-events: none;\n border-radius: inherit;\n}\n.mat-mdc-fab-base .mat-mdc-button-ripple {\n overflow: hidden;\n}\n.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before {\n content: "";\n opacity: 0;\n}\n.mat-mdc-fab-base .mdc-button__label,\n.mat-mdc-fab-base .mat-icon {\n z-index: 1;\n position: relative;\n}\n.mat-mdc-fab-base .mat-focus-indicator {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n}\n.mat-mdc-fab-base:focus-visible > .mat-focus-indicator::before {\n content: "";\n}\n.mat-mdc-fab-base._mat-animation-noopable {\n transition: none !important;\n animation: none !important;\n}\n.mat-mdc-fab-base::before {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n border: 1px solid transparent;\n border-radius: inherit;\n content: "";\n pointer-events: none;\n}\n.mat-mdc-fab-base[hidden] {\n display: none;\n}\n.mat-mdc-fab-base::-moz-focus-inner {\n padding: 0;\n border: 0;\n}\n.mat-mdc-fab-base:active, .mat-mdc-fab-base:focus {\n outline: none;\n}\n.mat-mdc-fab-base:hover {\n cursor: pointer;\n}\n.mat-mdc-fab-base > svg {\n width: 100%;\n}\n.mat-mdc-fab-base .mat-icon, .mat-mdc-fab-base .material-icons {\n transition: transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);\n fill: currentColor;\n will-change: transform;\n}\n.mat-mdc-fab-base .mat-focus-indicator::before {\n margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px) * -1);\n border-radius: calc(var(--%NS%mat-fab-container-shape, var(--%NS%mat-sys-corner-large)) + calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px));\n}\n.mat-mdc-fab-base[disabled], .mat-mdc-fab-base.mat-mdc-button-disabled {\n cursor: default;\n pointer-events: none;\n}\n.mat-mdc-fab-base[disabled], .mat-mdc-fab-base[disabled]:focus, .mat-mdc-fab-base.mat-mdc-button-disabled, .mat-mdc-fab-base.mat-mdc-button-disabled:focus {\n box-shadow: none;\n}\n.mat-mdc-fab-base.mat-mdc-button-disabled-interactive {\n pointer-events: auto;\n}\n\n.mat-mdc-fab {\n background-color: var(--%NS%mat-fab-container-color, var(--%NS%mat-sys-primary-container));\n border-radius: var(--%NS%mat-fab-container-shape, var(--%NS%mat-sys-corner-large));\n color: var(--%NS%mat-fab-foreground-color, var(--%NS%mat-sys-on-primary-container, inherit));\n box-shadow: var(--%NS%mat-fab-container-elevation-shadow, var(--%NS%mat-sys-level3));\n}\n@media (hover: hover) {\n .mat-mdc-fab:hover {\n box-shadow: var(--%NS%mat-fab-hover-container-elevation-shadow, var(--%NS%mat-sys-level4));\n }\n}\n.mat-mdc-fab:focus {\n box-shadow: var(--%NS%mat-fab-focus-container-elevation-shadow, var(--%NS%mat-sys-level3));\n}\n.mat-mdc-fab:active, .mat-mdc-fab:focus:active {\n box-shadow: var(--%NS%mat-fab-pressed-container-elevation-shadow, var(--%NS%mat-sys-level3));\n}\n.mat-mdc-fab[disabled], .mat-mdc-fab.mat-mdc-button-disabled {\n cursor: default;\n pointer-events: none;\n color: var(--%NS%mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n background-color: var(--%NS%mat-fab-disabled-state-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent));\n}\n.mat-mdc-fab.mat-mdc-button-disabled-interactive {\n pointer-events: auto;\n}\n.mat-mdc-fab .mat-mdc-button-touch-target {\n position: absolute;\n top: 50%;\n height: var(--%NS%mat-fab-touch-target-size, 48px);\n display: var(--%NS%mat-fab-touch-target-display, block);\n left: 50%;\n width: var(--%NS%mat-fab-touch-target-size, 48px);\n transform: translate(-50%, -50%);\n}\n.mat-mdc-fab .mat-ripple-element {\n background-color: var(--%NS%mat-fab-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-primary-container) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-fab .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-fab-state-layer-color, var(--%NS%mat-sys-on-primary-container));\n}\n.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-fab-disabled-state-layer-color);\n}\n.mat-mdc-fab:hover > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-fab-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-fab.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-fab.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-fab.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-fab-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-fab:active > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-fab-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));\n}\n\n.mat-mdc-mini-fab {\n width: 40px;\n height: 40px;\n background-color: var(--%NS%mat-fab-small-container-color, var(--%NS%mat-sys-primary-container));\n border-radius: var(--%NS%mat-fab-small-container-shape, var(--%NS%mat-sys-corner-medium));\n color: var(--%NS%mat-fab-small-foreground-color, var(--%NS%mat-sys-on-primary-container, inherit));\n box-shadow: var(--%NS%mat-fab-small-container-elevation-shadow, var(--%NS%mat-sys-level3));\n}\n@media (hover: hover) {\n .mat-mdc-mini-fab:hover {\n box-shadow: var(--%NS%mat-fab-small-hover-container-elevation-shadow, var(--%NS%mat-sys-level4));\n }\n}\n.mat-mdc-mini-fab:focus {\n box-shadow: var(--%NS%mat-fab-small-focus-container-elevation-shadow, var(--%NS%mat-sys-level3));\n}\n.mat-mdc-mini-fab:active, .mat-mdc-mini-fab:focus:active {\n box-shadow: var(--%NS%mat-fab-small-pressed-container-elevation-shadow, var(--%NS%mat-sys-level3));\n}\n.mat-mdc-mini-fab .mat-focus-indicator::before {\n border-radius: calc(var(--%NS%mat-fab-small-container-shape, var(--%NS%mat-sys-corner-medium)) + calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px));\n}\n.mat-mdc-mini-fab[disabled], .mat-mdc-mini-fab.mat-mdc-button-disabled {\n cursor: default;\n pointer-events: none;\n color: var(--%NS%mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n background-color: var(--%NS%mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent));\n}\n.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive {\n pointer-events: auto;\n}\n.mat-mdc-mini-fab .mat-mdc-button-touch-target {\n position: absolute;\n top: 50%;\n height: var(--%NS%mat-fab-small-touch-target-size, 48px);\n display: var(--%NS%mat-fab-small-touch-target-display);\n left: 50%;\n width: var(--%NS%mat-fab-small-touch-target-size, 48px);\n transform: translate(-50%, -50%);\n}\n.mat-mdc-mini-fab .mat-ripple-element {\n background-color: var(--%NS%mat-fab-small-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-primary-container) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));\n}\n.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-fab-small-state-layer-color, var(--%NS%mat-sys-on-primary-container));\n}\n.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {\n background-color: var(--%NS%mat-fab-small-disabled-state-layer-color);\n}\n.mat-mdc-mini-fab:hover > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-fab-small-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-mini-fab.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-mini-fab.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-fab-small-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-mini-fab:active > .mat-mdc-button-persistent-ripple::before {\n opacity: var(--%NS%mat-fab-small-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));\n}\n\n.mat-mdc-extended-fab {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n padding-left: 20px;\n padding-right: 20px;\n width: auto;\n max-width: 100%;\n line-height: normal;\n box-shadow: var(--%NS%mat-fab-extended-container-elevation-shadow, var(--%NS%mat-sys-level3));\n height: var(--%NS%mat-fab-extended-container-height, 56px);\n border-radius: var(--%NS%mat-fab-extended-container-shape, var(--%NS%mat-sys-corner-large));\n font-family: var(--%NS%mat-fab-extended-label-text-font, var(--%NS%mat-sys-label-large-font));\n font-size: var(--%NS%mat-fab-extended-label-text-size, var(--%NS%mat-sys-label-large-size));\n font-weight: var(--%NS%mat-fab-extended-label-text-weight, var(--%NS%mat-sys-label-large-weight));\n letter-spacing: var(--%NS%mat-fab-extended-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));\n}\n@media (hover: hover) {\n .mat-mdc-extended-fab:hover {\n box-shadow: var(--%NS%mat-fab-extended-hover-container-elevation-shadow, var(--%NS%mat-sys-level4));\n }\n}\n.mat-mdc-extended-fab:focus {\n box-shadow: var(--%NS%mat-fab-extended-focus-container-elevation-shadow, var(--%NS%mat-sys-level3));\n}\n.mat-mdc-extended-fab:active, .mat-mdc-extended-fab:focus:active {\n box-shadow: var(--%NS%mat-fab-extended-pressed-container-elevation-shadow, var(--%NS%mat-sys-level3));\n}\n.mat-mdc-extended-fab[disabled], .mat-mdc-extended-fab.mat-mdc-button-disabled {\n cursor: default;\n pointer-events: none;\n}\n.mat-mdc-extended-fab[disabled], .mat-mdc-extended-fab[disabled]:focus, .mat-mdc-extended-fab.mat-mdc-button-disabled, .mat-mdc-extended-fab.mat-mdc-button-disabled:focus {\n box-shadow: none;\n}\n.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive {\n pointer-events: auto;\n}\n[dir=rtl] .mat-mdc-extended-fab .mdc-button__label + .mat-icon, [dir=rtl] .mat-mdc-extended-fab .mdc-button__label + .material-icons,\n.mat-mdc-extended-fab > .mat-icon,\n.mat-mdc-extended-fab > .material-icons {\n margin-left: -8px;\n margin-right: 12px;\n}\n.mat-mdc-extended-fab .mdc-button__label + .mat-icon,\n.mat-mdc-extended-fab .mdc-button__label + .material-icons, [dir=rtl] .mat-mdc-extended-fab > .mat-icon, [dir=rtl] .mat-mdc-extended-fab > .material-icons {\n margin-left: 12px;\n margin-right: -8px;\n}\n.mat-mdc-extended-fab .mat-mdc-button-touch-target {\n width: 100%;\n}\n\n.mat-mdc-button-progress-indicator-container {\n position: absolute;\n inset-inline-start: 0;\n margin-block-start: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n}\n\n.mat-mdc-button-progress-indicator-shown mat-icon,\n.mat-mdc-button-progress-indicator-shown [matButtonIcon],\n.mat-mdc-button-progress-indicator-shown .mdc-button__label {\n visibility: hidden;\n}\n'],encapsulation:2})}class Z{static \u0275fac=function(j){return new(j||Z)};static \u0275mod=f.$C({type:Z,imports:[y.p,T,E,m.iY,$],exports:[D.jI,T,E,m.iY,$]});static \u0275inj=s.G2t({imports:[y.p,D.jI]})}},38144(st,pe,h){"use strict";h.d(pe,{g7:()=>w});var m=h(70903),s=h(28939),f=h(39962),P=h(1396),D=h(13054),y=h(35482);const b=["*"];class x{labelPosition="after";static \u0275fac=function(Ee){return new(Ee||x)};static \u0275cmp=m.VBU({type:x,selectors:[["","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(Ee,oe){2&Ee&&m.AVh("mdc-form-field--align-end","before"===oe.labelPosition)},inputs:{labelPosition:"labelPosition"},ngContentSelectors:b,decls:1,vars:0,template:function(Ee,oe){1&Ee&&(m.NAR(),m.SdG(0))},styles:[".mat-internal-form-field {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n display: inline-flex;\n align-items: center;\n vertical-align: middle;\n}\n.mat-internal-form-field > label, .mat-internal-form-field > .mat-internal-form-field-label {\n margin-left: 0;\n margin-right: auto;\n padding-left: 4px;\n padding-right: 0;\n order: 0;\n}\n[dir=rtl] .mat-internal-form-field > label, [dir=rtl] .mat-internal-form-field > .mat-internal-form-field-label {\n margin-left: auto;\n margin-right: 0;\n padding-left: 0;\n padding-right: 4px;\n}\n\n.mdc-form-field--align-end > label, .mdc-form-field--align-end > .mat-internal-form-field-label {\n margin-left: auto;\n margin-right: 0;\n padding-left: 0;\n padding-right: 4px;\n order: -1;\n}\n[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label, [dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end .mat-internal-form-field-label {\n margin-left: 0;\n margin-right: auto;\n padding-left: 4px;\n padding-right: 0;\n}\n"],encapsulation:2})}var N=h(38750),M=h(92320),U=h(34182),J=h(35886);const I=["input"],T=["label"],C=["*"],R={color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1},B=new s.nKC("mat-checkbox-default-options",{providedIn:"root",factory:()=>R});var F,O;(O=F||(F={}))[O.Init=0]="Init",O[O.Checked=1]="Checked",O[O.Unchecked=2]="Unchecked",O[O.Indeterminate=3]="Indeterminate";class ${source;checked}class E{_elementRef=(0,s.WQX)(m.aKT);_changeDetectorRef=(0,s.WQX)(f.gRc);_ngZone=(0,s.WQX)(s.SKi);_animationsDisabled=(0,N.Rc)();_options=(0,s.WQX)(B,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(Z){const Ee=new $;return Ee.source=this,Ee.checked=Z,Ee}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required=!1;labelPosition="after";name=null;change=new s.bkB;indeterminateChange=new s.bkB;value;disableRipple=!1;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=F.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){(0,s.WQX)(y.l).load(M.A);const Z=(0,s.WQX)(new f.ES_("tabindex"),{optional:!0});this._options=this._options||R,this.color=this._options.color||R.color,this.tabIndex=null==Z?0:parseInt(Z)||0,this.id=this._uniqueId=(0,s.WQX)(P.g).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(Z){Z.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate)}get checked(){return this._checked}set checked(Z){Z!=this.checked&&(this._checked=Z,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(Z){Z!==this.disabled&&(this._disabled=Z,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(Z){const Ee=Z!=this._indeterminate();this._indeterminate.set(Z),Ee&&(Z?this._transitionCheckState(F.Indeterminate):this._transitionCheckState(this.checked?F.Checked:F.Unchecked),this.indeterminateChange.emit(Z)),this._syncIndeterminate(Z)}_indeterminate=(0,s.vPA)(!1);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(Z){this.checked=!!Z}registerOnChange(Z){this._controlValueAccessorChangeFn=Z}registerOnTouched(Z){this._onTouched=Z}setDisabledState(Z){this.disabled=Z}validate(Z){return this.required&&!0!==Z.value?{required:!0}:null}registerOnValidatorChange(Z){this._validatorChangeFn=Z}_transitionCheckState(Z){let Ee=this._currentCheckState,oe=this._getAnimationTargetElement();if(Ee!==Z&&oe&&(this._currentAnimationClass&&oe.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(Ee,Z),this._currentCheckState=Z,this._currentAnimationClass.length>0)){oe.classList.add(this._currentAnimationClass);const j=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{oe.classList.remove(j)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const Z=this._options?.clickAction;this.disabled||"noop"===Z?(this.disabled&&this.disabledInteractive||!this.disabled&&"noop"===Z)&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==Z&&Promise.resolve().then(()=>{this._indeterminate.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?F.Checked:F.Unchecked),this._emitChangeEvent())}_onInteractionEvent(Z){Z.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(Z,Ee){if(this._animationsDisabled)return"";switch(Z){case F.Init:if(Ee===F.Checked)return this._animationClasses.uncheckedToChecked;if(Ee==F.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case F.Unchecked:return Ee===F.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case F.Checked:return Ee===F.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case F.Indeterminate:return Ee===F.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(Z){const Ee=this._inputElement;Ee&&(Ee.nativeElement.indeterminate=Z)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(Z){Z.target&&this._labelElement.nativeElement.contains(Z.target)&&Z.stopPropagation()}static \u0275fac=function(Ee){return new(Ee||E)};static \u0275cmp=m.VBU({type:E,selectors:[["mat-checkbox"]],viewQuery:function(Ee,oe){if(1&Ee&&m.GBs(I,5)(T,5),2&Ee){let j;m.mGM(j=m.lsd())&&(oe._inputElement=j.first),m.mGM(j=m.lsd())&&(oe._labelElement=j.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(Ee,oe){2&Ee&&(m.Avn("id",oe.id),m.BMQ("tabindex",null)("aria-label",null)("aria-labelledby",null),m.HbH(oe.color?"mat-"+oe.color:"mat-accent"),m.AVh("_mat-animation-noopable",oe._animationsDisabled)("mdc-checkbox--disabled",oe.disabled)("mat-mdc-checkbox-disabled",oe.disabled)("mat-mdc-checkbox-checked",oe.checked)("mat-mdc-checkbox-disabled-interactive",oe.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",f.L39],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",f.L39],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",f.L39],tabIndex:[2,"tabIndex","tabIndex",Z=>null==Z?void 0:(0,f.Udg)(Z)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",f.L39],checked:[2,"checked","checked",f.L39],disabled:[2,"disabled","disabled",f.L39],indeterminate:[2,"indeterminate","indeterminate",f.L39]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[m.Jv_([{provide:D.kq,useExisting:(0,s.Rfq)(()=>E),multi:!0},{provide:D.cz,useExisting:E,multi:!0}]),m.OA$],ngContentSelectors:C,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],["aria-hidden","true",1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],["aria-hidden","true",1,"mdc-checkbox__ripple"],["aria-hidden","true",1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","","aria-hidden","true",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(Ee,oe){if(1&Ee&&(m.NAR(),m.j41(0,"div",3),m.bIt("click",function(te){return oe._preventBubblingFromLabel(te)}),m.j41(1,"div",4,0)(3,"div",5),m.bIt("click",function(){return oe._onTouchTargetClick()}),m.k0s(),m.j41(4,"input",6,1),m.bIt("blur",function(){return oe._onBlur()})("click",function(){return oe._onInputClick()})("change",function(te){return oe._onInteractionEvent(te)}),m.k0s(),m.nrm(6,"div",7),m.j41(7,"div",8),s.qSk(),m.j41(8,"svg",9),m.nrm(9,"path",10),m.k0s(),s.joV(),m.nrm(10,"div",11),m.k0s(),m.nrm(11,"div",12),m.k0s(),m.j41(12,"label",13,2),m.SdG(14),m.k0s()()),2&Ee){const j=m.sdS(2);m.Y8G("labelPosition",oe.labelPosition),m.R7$(4),m.AVh("mdc-checkbox--selected",oe.checked),m.Y8G("checked",oe.checked)("indeterminate",oe.indeterminate)("disabled",oe.disabled&&!oe.disabledInteractive)("id",oe.inputId)("required",oe.required)("tabIndex",oe.disabled&&!oe.disabledInteractive?-1:oe.tabIndex),m.BMQ("aria-label",oe.ariaLabel||null)("aria-labelledby",oe.ariaLabelledby)("aria-describedby",oe.ariaDescribedby)("aria-checked",oe.indeterminate?"mixed":null)("aria-controls",oe.ariaControls)("aria-disabled",!(!oe.disabled||!oe.disabledInteractive)||null)("aria-expanded",oe.ariaExpanded)("aria-owns",oe.ariaOwns)("name",oe.name)("value",oe.value),m.R7$(7),m.Y8G("matRippleTrigger",j)("matRippleDisabled",oe.disableRipple||oe.disabled)("matRippleCentered",!0),m.R7$(),m.Y8G("for",oe.inputId)}},dependencies:[U.r6,x],styles:['.mdc-checkbox {\n display: inline-block;\n position: relative;\n flex: 0 0 18px;\n box-sizing: content-box;\n width: 18px;\n height: 18px;\n line-height: 0;\n white-space: nowrap;\n cursor: pointer;\n vertical-align: bottom;\n padding: calc((var(--%NS%mat-checkbox-state-layer-size, 40px) - 18px) / 2);\n margin: calc((var(--%NS%mat-checkbox-state-layer-size, 40px) - var(--%NS%mat-checkbox-state-layer-size, 40px)) / 2);\n}\n.mdc-checkbox:hover > .mdc-checkbox__ripple {\n opacity: var(--%NS%mat-checkbox-unselected-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));\n background-color: var(--%NS%mat-checkbox-unselected-hover-state-layer-color, var(--%NS%mat-sys-on-surface));\n}\n.mdc-checkbox:hover > .mat-mdc-checkbox-ripple > .mat-ripple-element {\n background-color: var(--%NS%mat-checkbox-unselected-hover-state-layer-color, var(--%NS%mat-sys-on-surface));\n}\n.mdc-checkbox .mdc-checkbox__native-control:focus + .mdc-checkbox__ripple {\n opacity: var(--%NS%mat-checkbox-unselected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));\n background-color: var(--%NS%mat-checkbox-unselected-focus-state-layer-color, var(--%NS%mat-sys-on-surface));\n}\n.mdc-checkbox .mdc-checkbox__native-control:focus ~ .mat-mdc-checkbox-ripple .mat-ripple-element {\n background-color: var(--%NS%mat-checkbox-unselected-focus-state-layer-color, var(--%NS%mat-sys-on-surface));\n}\n.mdc-checkbox:active > .mdc-checkbox__native-control + .mdc-checkbox__ripple {\n opacity: var(--%NS%mat-checkbox-unselected-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));\n background-color: var(--%NS%mat-checkbox-unselected-pressed-state-layer-color, var(--%NS%mat-sys-primary));\n}\n.mdc-checkbox:active > .mdc-checkbox__native-control ~ .mat-mdc-checkbox-ripple .mat-ripple-element {\n background-color: var(--%NS%mat-checkbox-unselected-pressed-state-layer-color, var(--%NS%mat-sys-primary));\n}\n.mdc-checkbox:hover > .mdc-checkbox__native-control:checked + .mdc-checkbox__ripple {\n opacity: var(--%NS%mat-checkbox-selected-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));\n background-color: var(--%NS%mat-checkbox-selected-hover-state-layer-color, var(--%NS%mat-sys-primary));\n}\n.mdc-checkbox:hover > .mdc-checkbox__native-control:checked ~ .mat-mdc-checkbox-ripple .mat-ripple-element {\n background-color: var(--%NS%mat-checkbox-selected-hover-state-layer-color, var(--%NS%mat-sys-primary));\n}\n.mdc-checkbox .mdc-checkbox__native-control:focus:checked + .mdc-checkbox__ripple {\n opacity: var(--%NS%mat-checkbox-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));\n background-color: var(--%NS%mat-checkbox-selected-focus-state-layer-color, var(--%NS%mat-sys-primary));\n}\n.mdc-checkbox .mdc-checkbox__native-control:focus:checked ~ .mat-mdc-checkbox-ripple .mat-ripple-element {\n background-color: var(--%NS%mat-checkbox-selected-focus-state-layer-color, var(--%NS%mat-sys-primary));\n}\n.mdc-checkbox:active > .mdc-checkbox__native-control:checked + .mdc-checkbox__ripple {\n opacity: var(--%NS%mat-checkbox-selected-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));\n background-color: var(--%NS%mat-checkbox-selected-pressed-state-layer-color, var(--%NS%mat-sys-on-surface));\n}\n.mdc-checkbox:active > .mdc-checkbox__native-control:checked ~ .mat-mdc-checkbox-ripple .mat-ripple-element {\n background-color: var(--%NS%mat-checkbox-selected-pressed-state-layer-color, var(--%NS%mat-sys-on-surface));\n}\n.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control ~ .mat-mdc-checkbox-ripple .mat-ripple-element,\n.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control + .mdc-checkbox__ripple {\n background-color: var(--%NS%mat-checkbox-unselected-hover-state-layer-color, var(--%NS%mat-sys-on-surface));\n}\n.mdc-checkbox .mdc-checkbox__native-control {\n position: absolute;\n margin: 0;\n padding: 0;\n opacity: 0;\n cursor: inherit;\n z-index: 1;\n width: var(--%NS%mat-checkbox-state-layer-size, 40px);\n height: var(--%NS%mat-checkbox-state-layer-size, 40px);\n top: calc((var(--%NS%mat-checkbox-state-layer-size, 40px) - var(--%NS%mat-checkbox-state-layer-size, 40px)) / 2);\n right: calc((var(--%NS%mat-checkbox-state-layer-size, 40px) - var(--%NS%mat-checkbox-state-layer-size, 40px)) / 2);\n left: calc((var(--%NS%mat-checkbox-state-layer-size, 40px) - var(--%NS%mat-checkbox-state-layer-size, 40px)) / 2);\n}\n\n.mdc-checkbox--disabled {\n cursor: default;\n pointer-events: none;\n}\n\n.mdc-checkbox__background {\n display: inline-flex;\n position: absolute;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 18px;\n height: 18px;\n border: 2px solid currentColor;\n border-radius: 2px;\n background-color: transparent;\n pointer-events: none;\n will-change: background-color, border-color;\n transition: background-color 90ms cubic-bezier(0.4, 0, 0.6, 1), border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);\n -webkit-print-color-adjust: exact;\n color-adjust: exact;\n border-color: var(--%NS%mat-checkbox-unselected-icon-color, var(--%NS%mat-sys-on-surface-variant));\n top: calc((var(--%NS%mat-checkbox-state-layer-size, 40px) - 18px) / 2);\n left: calc((var(--%NS%mat-checkbox-state-layer-size, 40px) - 18px) / 2);\n}\n\n.mdc-checkbox__native-control:enabled:checked ~ .mdc-checkbox__background,\n.mdc-checkbox__native-control:enabled:indeterminate ~ .mdc-checkbox__background {\n border-color: var(--%NS%mat-checkbox-selected-icon-color, var(--%NS%mat-sys-primary));\n background-color: var(--%NS%mat-checkbox-selected-icon-color, var(--%NS%mat-sys-primary));\n}\n\n.mdc-checkbox--disabled .mdc-checkbox__background {\n border-color: var(--%NS%mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n@media (forced-colors: active) {\n .mdc-checkbox--disabled .mdc-checkbox__background {\n border-color: GrayText;\n }\n}\n\n.mdc-checkbox__native-control:disabled:checked ~ .mdc-checkbox__background,\n.mdc-checkbox__native-control:disabled:indeterminate ~ .mdc-checkbox__background {\n background-color: var(--%NS%mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n border-color: transparent;\n}\n@media (forced-colors: active) {\n .mdc-checkbox__native-control:disabled:checked ~ .mdc-checkbox__background,\n .mdc-checkbox__native-control:disabled:indeterminate ~ .mdc-checkbox__background {\n border-color: GrayText;\n }\n}\n\n.mdc-checkbox:hover > .mdc-checkbox__native-control:not(:checked) ~ .mdc-checkbox__background,\n.mdc-checkbox:hover > .mdc-checkbox__native-control:not(:indeterminate) ~ .mdc-checkbox__background {\n border-color: var(--%NS%mat-checkbox-unselected-hover-icon-color, var(--%NS%mat-sys-on-surface));\n background-color: transparent;\n}\n\n.mdc-checkbox:hover > .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,\n.mdc-checkbox:hover > .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {\n border-color: var(--%NS%mat-checkbox-selected-hover-icon-color, var(--%NS%mat-sys-primary));\n background-color: var(--%NS%mat-checkbox-selected-hover-icon-color, var(--%NS%mat-sys-primary));\n}\n\n.mdc-checkbox__native-control:focus:focus:not(:checked) ~ .mdc-checkbox__background,\n.mdc-checkbox__native-control:focus:focus:not(:indeterminate) ~ .mdc-checkbox__background {\n border-color: var(--%NS%mat-checkbox-unselected-focus-icon-color, var(--%NS%mat-sys-on-surface));\n}\n\n.mdc-checkbox__native-control:focus:focus:checked ~ .mdc-checkbox__background,\n.mdc-checkbox__native-control:focus:focus:indeterminate ~ .mdc-checkbox__background {\n border-color: var(--%NS%mat-checkbox-selected-focus-icon-color, var(--%NS%mat-sys-primary));\n background-color: var(--%NS%mat-checkbox-selected-focus-icon-color, var(--%NS%mat-sys-primary));\n}\n\n.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background,\n.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background,\n.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background {\n border-color: var(--%NS%mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n@media (forced-colors: active) {\n .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background,\n .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background,\n .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background {\n border-color: GrayText;\n }\n}\n.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,\n.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {\n background-color: var(--%NS%mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n border-color: transparent;\n}\n\n.mdc-checkbox__checkmark {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n opacity: 0;\n transition: opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);\n color: var(--%NS%mat-checkbox-selected-checkmark-color, var(--%NS%mat-sys-on-primary));\n}\n@media (forced-colors: active) {\n .mdc-checkbox__checkmark {\n color: CanvasText;\n }\n}\n\n.mdc-checkbox--disabled .mdc-checkbox__checkmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark {\n color: var(--%NS%mat-checkbox-disabled-selected-checkmark-color, var(--%NS%mat-sys-surface));\n}\n@media (forced-colors: active) {\n .mdc-checkbox--disabled .mdc-checkbox__checkmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark {\n color: GrayText;\n }\n}\n\n.mdc-checkbox__checkmark-path {\n transition: stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);\n stroke: currentColor;\n stroke-width: 3.12px;\n stroke-dashoffset: 29.7833385;\n stroke-dasharray: 29.7833385;\n}\n\n.mdc-checkbox__mixedmark {\n width: 100%;\n height: 0;\n transform: scaleX(0) rotate(0deg);\n border-width: 1px;\n border-style: solid;\n opacity: 0;\n transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1);\n border-color: var(--%NS%mat-checkbox-selected-checkmark-color, var(--%NS%mat-sys-on-primary));\n}\n@media (forced-colors: active) {\n .mdc-checkbox__mixedmark {\n margin: 0 1px;\n }\n}\n\n.mdc-checkbox--disabled .mdc-checkbox__mixedmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark {\n border-color: var(--%NS%mat-checkbox-disabled-selected-checkmark-color, var(--%NS%mat-sys-surface));\n}\n@media (forced-colors: active) {\n .mdc-checkbox--disabled .mdc-checkbox__mixedmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark {\n border-color: GrayText;\n }\n}\n\n.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,\n.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,\n.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,\n.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background {\n animation-duration: 180ms;\n animation-timing-function: linear;\n}\n\n.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path {\n animation: mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;\n transition: none;\n}\n\n.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark {\n animation: mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;\n transition: none;\n}\n\n.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path {\n animation: mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;\n transition: none;\n}\n\n.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark {\n animation: mdc-checkbox-checked-indeterminate-checkmark 90ms linear;\n transition: none;\n}\n.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark {\n animation: mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;\n transition: none;\n}\n\n.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark {\n animation: mdc-checkbox-indeterminate-checked-checkmark 500ms linear;\n transition: none;\n}\n.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark {\n animation: mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;\n transition: none;\n}\n\n.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark {\n animation: mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;\n transition: none;\n}\n\n.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,\n.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {\n transition: border-color 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1);\n}\n.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path,\n.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path {\n stroke-dashoffset: 0;\n}\n\n.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__checkmark {\n transition: opacity 180ms cubic-bezier(0, 0, 0.2, 1), transform 180ms cubic-bezier(0, 0, 0.2, 1);\n opacity: 1;\n}\n.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__mixedmark {\n transform: scaleX(1) rotate(-45deg);\n}\n\n.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__checkmark {\n transform: rotate(45deg);\n opacity: 0;\n transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1);\n}\n.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__mixedmark {\n transform: scaleX(1) rotate(0deg);\n opacity: 1;\n}\n\n@keyframes mdc-checkbox-unchecked-checked-checkmark-path {\n 0%, 50% {\n stroke-dashoffset: 29.7833385;\n }\n 50% {\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n stroke-dashoffset: 0;\n }\n}\n@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark {\n 0%, 68.2% {\n transform: scaleX(0);\n }\n 68.2% {\n animation-timing-function: cubic-bezier(0, 0, 0, 1);\n }\n 100% {\n transform: scaleX(1);\n }\n}\n@keyframes mdc-checkbox-checked-unchecked-checkmark-path {\n from {\n animation-timing-function: cubic-bezier(0.4, 0, 1, 1);\n opacity: 1;\n stroke-dashoffset: 0;\n }\n to {\n opacity: 0;\n stroke-dashoffset: -29.7833385;\n }\n}\n@keyframes mdc-checkbox-checked-indeterminate-checkmark {\n from {\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n transform: rotate(0deg);\n opacity: 1;\n }\n to {\n transform: rotate(45deg);\n opacity: 0;\n }\n}\n@keyframes mdc-checkbox-indeterminate-checked-checkmark {\n from {\n animation-timing-function: cubic-bezier(0.14, 0, 0, 1);\n transform: rotate(45deg);\n opacity: 0;\n }\n to {\n transform: rotate(360deg);\n opacity: 1;\n }\n}\n@keyframes mdc-checkbox-checked-indeterminate-mixedmark {\n from {\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n transform: rotate(-45deg);\n opacity: 0;\n }\n to {\n transform: rotate(0deg);\n opacity: 1;\n }\n}\n@keyframes mdc-checkbox-indeterminate-checked-mixedmark {\n from {\n animation-timing-function: cubic-bezier(0.14, 0, 0, 1);\n transform: rotate(0deg);\n opacity: 1;\n }\n to {\n transform: rotate(315deg);\n opacity: 0;\n }\n}\n@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark {\n 0% {\n animation-timing-function: linear;\n transform: scaleX(1);\n opacity: 1;\n }\n 32.8%, 100% {\n transform: scaleX(0);\n opacity: 0;\n }\n}\n.mat-mdc-checkbox {\n display: inline-block;\n position: relative;\n -webkit-tap-highlight-color: transparent;\n}\n.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mat-mdc-checkbox-touch-target,\n.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__native-control,\n.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__ripple,\n.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mat-mdc-checkbox-ripple::before,\n.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background,\n.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark,\n.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path,\n.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__mixedmark {\n transition: none !important;\n animation: none !important;\n}\n.mat-mdc-checkbox label {\n cursor: pointer;\n}\n.mat-mdc-checkbox .mat-internal-form-field {\n color: var(--%NS%mat-checkbox-label-text-color, var(--%NS%mat-sys-on-surface));\n font-family: var(--%NS%mat-checkbox-label-text-font, var(--%NS%mat-sys-body-medium-font));\n line-height: var(--%NS%mat-checkbox-label-text-line-height, var(--%NS%mat-sys-body-medium-line-height));\n font-size: var(--%NS%mat-checkbox-label-text-size, var(--%NS%mat-sys-body-medium-size));\n letter-spacing: var(--%NS%mat-checkbox-label-text-tracking, var(--%NS%mat-sys-body-medium-tracking));\n font-weight: var(--%NS%mat-checkbox-label-text-weight, var(--%NS%mat-sys-body-medium-weight));\n}\n.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive {\n pointer-events: auto;\n}\n.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input {\n cursor: default;\n}\n.mat-mdc-checkbox.mat-mdc-checkbox-disabled label {\n cursor: default;\n color: var(--%NS%mat-checkbox-disabled-label-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n@media (forced-colors: active) {\n .mat-mdc-checkbox.mat-mdc-checkbox-disabled label {\n color: GrayText;\n }\n}\n.mat-mdc-checkbox label:empty {\n display: none;\n}\n.mat-mdc-checkbox .mdc-checkbox__ripple {\n opacity: 0;\n}\n\n.mat-mdc-checkbox .mat-mdc-checkbox-ripple,\n.mdc-checkbox__ripple {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n border-radius: 50%;\n pointer-events: none;\n}\n.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),\n.mdc-checkbox__ripple:not(:empty) {\n transform: translateZ(0);\n}\n\n.mat-mdc-checkbox-ripple .mat-ripple-element {\n opacity: 0.1;\n}\n\n.mat-mdc-checkbox-touch-target {\n position: absolute;\n top: 50%;\n left: 50%;\n height: var(--%NS%mat-checkbox-touch-target-size, 48px);\n width: var(--%NS%mat-checkbox-touch-target-size, 48px);\n transform: translate(-50%, -50%);\n display: var(--%NS%mat-checkbox-touch-target-display, block);\n}\n\n.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before {\n border-radius: 50%;\n}\n\n.mdc-checkbox__native-control:focus-visible ~ .mat-focus-indicator::before {\n content: "";\n}\n'],encapsulation:2})}class w{static \u0275fac=function(Ee){return new(Ee||w)};static \u0275mod=m.$C({type:w,imports:[E],exports:[E,J.jI]});static \u0275inj=s.G2t({imports:[E,J.jI]})}},9550(st,pe,h){"use strict";h.d(pe,{YN:()=>ht});var m=h(40401),s=h(70903),f=h(28939),P=h(39962),D=h(13054),y=h(72818),b=h(29927),x=h(34369),N=h(5156),M=h(1396),U=h(54408);class J extends U.l{_origin="program";setFocusOrigin(Oe){return this._origin=Oe,this}setActiveItem(Oe){super.setActiveItem(Oe),this.activeItem&&this.activeItem.focus(this._origin)}}var I=h(35482),T=h(6217),C=h(55919),R=h(67527),B=h(92320),F=h(34182),$=h(38750),E=h(82218),w=h(40271),O=h(35886),Z=h(69980),Ee=h(59315),oe=h(59074),j=h(3061),te=h(92175);const ce=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],ye=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Le(lt,Oe){1<&&(s.j41(0,"span",3),s.SdG(1,1),s.k0s())}function $e(lt,Oe){1<&&(s.j41(0,"span",6),s.SdG(1,2),s.k0s())}function Tt(lt,Oe){1<&&(s.j41(0,"span",3),s.SdG(1,1),s.j41(2,"span",7),f.qSk(),s.j41(3,"svg",8),s.nrm(4,"path",9),s.k0s()()())}function We(lt,Oe){1<&&(s.j41(0,"span",6),s.SdG(1,2),s.k0s())}const Me='.mdc-evolution-chip,\n.mdc-evolution-chip__cell,\n.mdc-evolution-chip__action {\n display: inline-flex;\n align-items: center;\n}\n\n.mdc-evolution-chip {\n position: relative;\n max-width: 100%;\n}\n\n.mdc-evolution-chip__cell,\n.mdc-evolution-chip__action {\n height: 100%;\n}\n\n.mdc-evolution-chip__cell--primary {\n flex-basis: 100%;\n overflow-x: hidden;\n}\n\n.mdc-evolution-chip__cell--trailing {\n flex: 1 0 auto;\n}\n\n.mdc-evolution-chip__action {\n align-items: center;\n background: none;\n border: none;\n box-sizing: content-box;\n cursor: pointer;\n display: inline-flex;\n justify-content: center;\n outline: none;\n padding: 0;\n text-decoration: none;\n color: inherit;\n}\n\n.mdc-evolution-chip__action--presentational {\n cursor: auto;\n}\n\n.mdc-evolution-chip--disabled,\n.mdc-evolution-chip__action:disabled {\n pointer-events: none;\n}\n@media (forced-colors: active) {\n .mdc-evolution-chip--disabled,\n .mdc-evolution-chip__action:disabled {\n forced-color-adjust: none;\n }\n}\n\n.mdc-evolution-chip__action--primary {\n font: inherit;\n letter-spacing: inherit;\n white-space: inherit;\n overflow-x: hidden;\n}\n.mat-mdc-standard-chip .mdc-evolution-chip__action--%NS%primary::before {\n border-width: var(--%NS%mat-chip-outline-width, 1px);\n border-radius: var(--%NS%mat-chip-container-shape-radius, 8px);\n box-sizing: border-box;\n content: "";\n height: 100%;\n left: 0;\n position: absolute;\n pointer-events: none;\n top: 0;\n width: 100%;\n z-index: 1;\n border-style: solid;\n}\n.mat-mdc-standard-chip .mdc-evolution-chip__action--primary {\n padding-left: 12px;\n padding-right: 12px;\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {\n padding-left: 0;\n padding-right: 12px;\n}\n[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {\n padding-left: 12px;\n padding-right: 0;\n}\n.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--%NS%primary::before {\n border-color: var(--%NS%mat-chip-outline-color, var(--%NS%mat-sys-outline));\n}\n.mdc-evolution-chip__action--%NS%primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before {\n border-color: var(--%NS%mat-chip-focus-outline-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--%NS%primary::before {\n border-color: var(--%NS%mat-chip-disabled-outline-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--%NS%primary::before {\n border-width: var(--%NS%mat-chip-flat-selected-outline-width, 0);\n}\n.mat-mdc-basic-chip .mdc-evolution-chip__action--primary {\n font: inherit;\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary {\n padding-left: 0;\n padding-right: 12px;\n}\n[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary {\n padding-left: 12px;\n padding-right: 0;\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {\n padding-left: 12px;\n padding-right: 0;\n}\n[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {\n padding-left: 0;\n padding-right: 12px;\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {\n padding-left: 0;\n padding-right: 0;\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {\n padding-left: 0;\n padding-right: 0;\n}\n[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {\n padding-left: 0;\n padding-right: 0;\n}\n.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {\n padding-left: 0;\n padding-right: 12px;\n}\n[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {\n padding-left: 12px;\n padding-right: 0;\n}\n.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {\n padding-left: 0;\n padding-right: 0;\n}\n[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {\n padding-left: 0;\n padding-right: 0;\n}\n\n.mdc-evolution-chip__action--secondary {\n position: relative;\n overflow: visible;\n}\n.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary {\n color: var(--%NS%mat-chip-with-trailing-icon-trailing-icon-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary {\n color: var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--%NS%mat-sys-on-surface));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {\n padding-left: 8px;\n padding-right: 8px;\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {\n padding-left: 8px;\n padding-right: 8px;\n}\n.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {\n padding-left: 8px;\n padding-right: 8px;\n}\n[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {\n padding-left: 8px;\n padding-right: 8px;\n}\n\n.mdc-evolution-chip__text-label {\n -webkit-user-select: none;\n user-select: none;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.mat-mdc-standard-chip .mdc-evolution-chip__text-label {\n font-family: var(--%NS%mat-chip-label-text-font, var(--%NS%mat-sys-label-large-font));\n line-height: var(--%NS%mat-chip-label-text-line-height, var(--%NS%mat-sys-label-large-line-height));\n font-size: var(--%NS%mat-chip-label-text-size, var(--%NS%mat-sys-label-large-size));\n font-weight: var(--%NS%mat-chip-label-text-weight, var(--%NS%mat-sys-label-large-weight));\n letter-spacing: var(--%NS%mat-chip-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));\n}\n.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label {\n color: var(--%NS%mat-chip-label-text-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--%NS%selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label {\n color: var(--%NS%mat-chip-selected-label-text-color, var(--%NS%mat-sys-on-secondary-container));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label, .mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label {\n color: var(--%NS%mat-chip-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n\n.mdc-evolution-chip__graphic {\n align-items: center;\n display: inline-flex;\n justify-content: center;\n overflow: hidden;\n pointer-events: none;\n position: relative;\n flex: 1 0 auto;\n}\n.mat-mdc-standard-chip .mdc-evolution-chip__graphic {\n width: var(--%NS%mat-chip-with-avatar-avatar-size, 24px);\n height: var(--%NS%mat-chip-with-avatar-avatar-size, 24px);\n font-size: var(--%NS%mat-chip-with-avatar-avatar-size, 24px);\n}\n.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic {\n transition: width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mdc-evolution-chip--%NS%selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic {\n width: 0;\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {\n padding-left: 6px;\n padding-right: 6px;\n}\n.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {\n padding-left: 4px;\n padding-right: 8px;\n}\n[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {\n padding-left: 8px;\n padding-right: 4px;\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {\n padding-left: 6px;\n padding-right: 6px;\n}\n.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {\n padding-left: 4px;\n padding-right: 8px;\n}\n[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {\n padding-left: 8px;\n padding-right: 4px;\n}\n.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic {\n padding-left: 0;\n}\n\n.mdc-evolution-chip__checkmark {\n position: absolute;\n opacity: 0;\n top: 50%;\n left: 50%;\n height: 20px;\n width: 20px;\n}\n.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark {\n color: var(--%NS%mat-chip-with-icon-selected-icon-color, var(--%NS%mat-sys-on-secondary-container));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark {\n color: var(--%NS%mat-chip-with-icon-disabled-icon-color, var(--%NS%mat-sys-on-surface));\n}\n.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark {\n transition: transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);\n transform: translate(-75%, -50%);\n}\n.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark {\n transform: translate(-50%, -50%);\n opacity: 1;\n}\n\n.mdc-evolution-chip__checkmark-svg {\n display: block;\n}\n\n.mdc-evolution-chip__checkmark-path {\n stroke-width: 2px;\n stroke-dasharray: 29.7833385;\n stroke-dashoffset: 29.7833385;\n stroke: currentColor;\n}\n.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path {\n transition: stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path {\n stroke-dashoffset: 0;\n}\n@media (forced-colors: active) {\n .mdc-evolution-chip__checkmark-path {\n stroke: CanvasText !important;\n }\n}\n\n.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing {\n height: 18px;\n width: 18px;\n font-size: 18px;\n}\n.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove {\n opacity: calc(var(--%NS%mat-chip-trailing-action-opacity, 1) * var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38));\n}\n.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus {\n opacity: calc(var(--%NS%mat-chip-trailing-action-focus-opacity, 1) * var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38));\n}\n\n.mat-mdc-standard-chip {\n border-radius: var(--%NS%mat-chip-container-shape-radius, 8px);\n height: var(--%NS%mat-chip-container-height, 32px);\n}\n.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) {\n background-color: var(--%NS%mat-chip-elevated-container-color, transparent);\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--disabled {\n background-color: var(--%NS%mat-chip-elevated-disabled-container-color);\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--%NS%selected:not(.mdc-evolution-chip--disabled) {\n background-color: var(--%NS%mat-chip-elevated-selected-container-color, var(--%NS%mat-sys-secondary-container));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled {\n background-color: var(--%NS%mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent));\n}\n@media (forced-colors: active) {\n .mat-mdc-standard-chip {\n outline: solid 1px;\n }\n}\n\n.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary {\n border-radius: var(--%NS%mat-chip-with-avatar-avatar-shape-radius, 24px);\n width: var(--%NS%mat-chip-with-icon-icon-size, 18px);\n height: var(--%NS%mat-chip-with-icon-icon-size, 18px);\n font-size: var(--%NS%mat-chip-with-icon-icon-size, 18px);\n}\n.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary {\n opacity: 0;\n}\n.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary {\n color: var(--%NS%mat-chip-with-icon-icon-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary {\n color: var(--%NS%mat-chip-with-icon-disabled-icon-color, var(--%NS%mat-sys-on-surface));\n}\n\n.mat-mdc-chip-highlighted {\n --%NS%mat-chip-with-icon-icon-color: var(--%NS%mat-chip-with-icon-selected-icon-color, var(--%NS%mat-sys-on-secondary-container));\n --%NS%mat-chip-elevated-container-color: var(--%NS%mat-chip-elevated-selected-container-color, var(--%NS%mat-sys-secondary-container));\n --%NS%mat-chip-label-text-color: var(--%NS%mat-chip-selected-label-text-color, var(--%NS%mat-sys-on-secondary-container));\n --%NS%mat-chip-outline-width: var(--%NS%mat-chip-flat-selected-outline-width, 0);\n}\n\n.mat-mdc-chip-focus-overlay {\n background: var(--%NS%mat-chip-focus-state-layer-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay {\n background: var(--%NS%mat-chip-selected-focus-state-layer-color, var(--%NS%mat-sys-on-secondary-container));\n}\n.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay {\n background: var(--%NS%mat-chip-hover-state-layer-color, var(--%NS%mat-sys-on-surface-variant));\n opacity: var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover, .mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay {\n background: var(--%NS%mat-chip-selected-hover-state-layer-color, var(--%NS%mat-sys-on-secondary-container));\n opacity: var(--%NS%mat-chip-selected-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay {\n background: var(--%NS%mat-chip-focus-state-layer-color, var(--%NS%mat-sys-on-surface-variant));\n opacity: var(--%NS%mat-chip-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay {\n background: var(--%NS%mat-chip-selected-focus-state-layer-color, var(--%NS%mat-sys-on-secondary-container));\n opacity: var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));\n}\n\n.mdc-evolution-chip--%NS%disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar {\n opacity: var(--%NS%mat-chip-with-avatar-disabled-avatar-opacity, 0.38);\n}\n\n.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing {\n opacity: var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38);\n}\n\n.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark {\n opacity: var(--%NS%mat-chip-with-icon-disabled-icon-opacity, 0.38);\n}\n\n.mat-mdc-standard-chip.mdc-evolution-chip--disabled {\n opacity: var(--%NS%mat-chip-disabled-container-opacity, 1);\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing {\n color: var(--%NS%mat-chip-selected-trailing-icon-color, var(--%NS%mat-sys-on-secondary-container));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing {\n color: var(--%NS%mat-chip-selected-disabled-trailing-icon-color, var(--%NS%mat-sys-on-surface));\n}\n\n.mat-mdc-chip-edit, .mat-mdc-chip-remove {\n opacity: var(--%NS%mat-chip-trailing-action-opacity, 1);\n}\n.mat-mdc-chip-edit:focus, .mat-mdc-chip-remove:focus {\n opacity: var(--%NS%mat-chip-trailing-action-focus-opacity, 1);\n}\n.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after {\n background-color: var(--%NS%mat-chip-trailing-action-state-layer-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-chip-edit:hover::after, .mat-mdc-chip-remove:hover::after {\n opacity: calc(var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)));\n}\n.mat-mdc-chip-edit:focus::after, .mat-mdc-chip-remove:focus::after {\n opacity: calc(var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)));\n}\n\n.mat-mdc-chip-selected .mat-mdc-chip-remove::after,\n.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after {\n background-color: var(--%NS%mat-chip-selected-trailing-action-state-layer-color, var(--%NS%mat-sys-on-secondary-container));\n}\n\n.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:focus::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:focus::after {\n opacity: calc(var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)));\n}\n.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:hover::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:hover::after {\n opacity: calc(var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)));\n}\n\n.mat-mdc-standard-chip {\n -webkit-tap-highlight-color: transparent;\n}\n.mat-mdc-standard-chip .mat-mdc-chip-graphic,\n.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon {\n box-sizing: content-box;\n}\n.mat-mdc-standard-chip._mat-animation-noopable,\n.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,\n.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,\n.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path {\n transition-duration: 1ms;\n animation-duration: 1ms;\n}\n\n.mat-mdc-chip-focus-overlay {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n pointer-events: none;\n opacity: 0;\n border-radius: inherit;\n transition: opacity 150ms linear;\n}\n._mat-animation-noopable .mat-mdc-chip-focus-overlay {\n transition: none;\n}\n.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay {\n display: none;\n}\n\n.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n pointer-events: none;\n border-radius: inherit;\n}\n\n.mat-mdc-chip-avatar {\n text-align: center;\n line-height: 1;\n color: var(--%NS%mat-chip-with-icon-icon-color, currentColor);\n}\n\n.mat-mdc-chip {\n position: relative;\n z-index: 0;\n}\n\n.mat-mdc-chip-action-label {\n text-align: left;\n z-index: 1;\n}\n[dir=rtl] .mat-mdc-chip-action-label {\n text-align: right;\n}\n.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label {\n position: relative;\n}\n.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n pointer-events: none;\n}\n.mat-mdc-chip-action-label .mat-focus-indicator::before {\n margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px) * -1);\n}\n\n.mat-mdc-chip-edit::before, .mat-mdc-chip-remove::before {\n margin: calc(var(--%NS%mat-focus-indicator-border-width, 3px) * -1);\n left: 8px;\n right: 8px;\n}\n.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after {\n content: "";\n display: block;\n opacity: 0;\n position: absolute;\n top: -3px;\n bottom: -3px;\n left: 5px;\n right: 5px;\n border-radius: 50%;\n box-sizing: border-box;\n padding: 12px;\n margin: -12px;\n background-clip: content-box;\n}\n.mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon {\n width: 18px;\n height: 18px;\n font-size: 18px;\n box-sizing: content-box;\n}\n\n.mat-chip-edit-input {\n cursor: text;\n display: inline-block;\n color: inherit;\n outline: 0;\n}\n\n@media (forced-colors: active) {\n .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple) {\n outline-width: 3px;\n }\n}\n\n.mat-mdc-chip-action:focus-visible .mat-focus-indicator::before {\n content: "";\n}\n\n.mdc-evolution-chip__icon, .mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon {\n min-height: fit-content;\n}\n\nimg.mdc-evolution-chip__icon {\n min-height: 0;\n}\n',ut=[[["","matChipEdit",""]],[["mat-chip-avatar"],["","matChipAvatar",""]],[["","matChipEditInput",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],xe=["[matChipEdit]","mat-chip-avatar, [matChipAvatar]","[matChipEditInput]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Te(lt,Oe){1<&&s.nrm(0,"span",0)}function Ce(lt,Oe){1<&&(s.j41(0,"span",1),s.SdG(1),s.k0s())}function et(lt,Oe){1<&&(s.j41(0,"span",3),s.SdG(1,1),s.k0s())}function he(lt,Oe){1<&&s.SdG(0,2)}function ve(lt,Oe){1<&&s.nrm(0,"span",7)}function be(lt,Oe){if(1<&&s.nVh(0,he,1,0)(1,ve,1,0,"span",7),2<){const at=s.XpG();s.vxM(at.contentEditInput?0:1)}}function de(lt,Oe){1<&&s.SdG(0,3)}function G(lt,Oe){1<&&(s.j41(0,"span",6),s.SdG(1,4),s.k0s())}const Fe=["*"],He=".mat-mdc-chip-set {\n display: flex;\n}\n.mat-mdc-chip-set:focus {\n outline: none;\n}\n.mat-mdc-chip-set .mdc-evolution-chip-set__chips {\n min-width: 100%;\n margin-left: -8px;\n margin-right: 0;\n}\n.mat-mdc-chip-set .mdc-evolution-chip {\n margin: 4px 0 4px 8px;\n}\n[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips {\n margin-left: 0;\n margin-right: -8px;\n}\n[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip {\n margin-left: 0;\n margin-right: 8px;\n}\n\n.mdc-evolution-chip-set__chips {\n display: flex;\n flex-flow: wrap;\n min-width: 0;\n}\n\n.mat-mdc-chip-set-stacked {\n flex-direction: column;\n align-items: flex-start;\n}\n.mat-mdc-chip-set-stacked .mat-mdc-chip {\n width: 100%;\n}\n.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic {\n flex-grow: 0;\n}\n.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary {\n flex-basis: 100%;\n justify-content: start;\n}\n\ninput.mat-mdc-chip-input {\n flex: 1 0 150px;\n margin-left: 8px;\n}\n[dir=rtl] input.mat-mdc-chip-input {\n margin-left: 0;\n margin-right: 8px;\n}\n.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder {\n opacity: 1;\n}\n.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder {\n opacity: 1;\n}\n.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder {\n opacity: 1;\n}\n.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder {\n opacity: 1;\n}\n.mat-mdc-chip-set + input.mat-mdc-chip-input {\n margin-left: 0;\n margin-right: 0;\n}\n",wt=new f.nKC("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),Jt=new f.nKC("MatChipAvatar"),ee=new f.nKC("MatChipTrailingIcon"),V=new f.nKC("MatChipEdit"),ue=new f.nKC("MatChipRemove"),De=new f.nKC("MatChip");class rt{_elementRef=(0,f.WQX)(s.aKT);_parentChip=(0,f.WQX)(De);_isPrimary=!0;_isLeading=!1;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(Oe){this._disabled=Oe}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}constructor(){(0,f.WQX)(I.l).load(B.A),"BUTTON"===this._elementRef.nativeElement.nodeName&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}static \u0275fac=function(at){return new(at||rt)};static \u0275dir=s.FsC({type:rt,selectors:[["","matChipContent",""]],hostAttrs:[1,"mat-mdc-chip-action","mdc-evolution-chip__action","mdc-evolution-chip__action--presentational"],hostVars:8,hostBindings:function(at,Q){2&at&&(s.BMQ("disabled",Q._getDisabledAttribute())("aria-disabled",Q.disabled),s.AVh("mdc-evolution-chip__action--primary",Q._isPrimary)("mdc-evolution-chip__action--secondary",!Q._isPrimary)("mdc-evolution-chip__action--trailing",!Q._isPrimary&&!Q._isLeading))},inputs:{disabled:[2,"disabled","disabled",P.L39],tabIndex:[2,"tabIndex","tabIndex",Oe=>null==Oe?-1:(0,P.Udg)(Oe)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}})}class It extends rt{_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled?null:this.tabIndex.toString()}_handleClick(Oe){!this.disabled&&this._isPrimary&&(Oe.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(Oe){(13===Oe.keyCode||32===Oe.keyCode)&&!this.disabled&&this._isPrimary&&!this._parentChip._isEditing&&(Oe.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=(()=>{let Oe;return function(Q){return(Oe||(Oe=s.xGo(It)))(Q||It)}})();static \u0275dir=s.FsC({type:It,selectors:[["","matChipAction",""]],hostVars:3,hostBindings:function(at,Q){1&at&&s.bIt("click",function(Qe){return Q._handleClick(Qe)})("keydown",function(Qe){return Q._handleKeydown(Qe)}),2&at&&(s.BMQ("tabindex",Q._getTabindex()),s.AVh("mdc-evolution-chip__action--presentational",!1))},features:[s.Vt3]})}class Kt{static \u0275fac=function(at){return new(at||Kt)};static \u0275dir=s.FsC({type:Kt,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],features:[s.Jv_([{provide:Jt,useExisting:Kt}])]})}class Ht extends rt{_isPrimary=!1;static \u0275fac=(()=>{let Oe;return function(Q){return(Oe||(Oe=s.xGo(Ht)))(Q||Ht)}})();static \u0275dir=s.FsC({type:Ht,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:["aria-hidden","true",1,"mat-mdc-chip-trailing-icon","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],features:[s.Jv_([{provide:ee,useExisting:Ht}]),s.Vt3]})}class ze extends It{_isPrimary=!1;_isLeading=!0;_handleClick(Oe){this.disabled||(Oe.stopPropagation(),Oe.preventDefault(),this._parentChip._edit(Oe))}_handleKeydown(Oe){(13===Oe.keyCode||32===Oe.keyCode)&&!this.disabled&&(Oe.stopPropagation(),Oe.preventDefault(),this._parentChip._edit(Oe))}static \u0275fac=(()=>{let Oe;return function(Q){return(Oe||(Oe=s.xGo(ze)))(Q||ze)}})();static \u0275dir=s.FsC({type:ze,selectors:[["","matChipEdit",""]],hostAttrs:["role","button",1,"mat-mdc-chip-edit","mat-mdc-chip-avatar","mat-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],hostVars:1,hostBindings:function(at,Q){2&at&&s.BMQ("aria-hidden",null)},features:[s.Jv_([{provide:V,useExisting:ze}]),s.Vt3]})}class Mt extends It{_isPrimary=!1;_handleClick(Oe){this.disabled||(Oe.stopPropagation(),Oe.preventDefault(),this._parentChip.remove())}_handleKeydown(Oe){(13===Oe.keyCode||32===Oe.keyCode)&&!this.disabled&&(Oe.stopPropagation(),Oe.preventDefault(),this._parentChip.remove())}static \u0275fac=(()=>{let Oe;return function(Q){return(Oe||(Oe=s.xGo(Mt)))(Q||Mt)}})();static \u0275dir=s.FsC({type:Mt,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(at,Q){2&at&&s.BMQ("aria-hidden",null)},features:[s.Jv_([{provide:ue,useExisting:Mt}]),s.Vt3]})}class Pt{_changeDetectorRef=(0,f.WQX)(P.gRc);_elementRef=(0,f.WQX)(s.aKT);_tagName=(0,f.WQX)(P.cCO);_ngZone=(0,f.WQX)(f.SKi);_focusMonitor=(0,f.WQX)(N.FN);_globalRippleOptions=(0,f.WQX)(F.$E,{optional:!0});_document=(0,f.WQX)(f.qQL);_onFocus=new C.B;_onBlur=new C.B;_isBasicChip=!1;role=null;_hasFocusInternal=!1;_pendingFocus=!1;_actionChanges;_animationsDisabled=(0,$.Rc)();_allLeadingIcons;_allTrailingIcons;_allEditIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=(0,f.WQX)(M.g).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_chipListDisabled=!1;_hadFocusOnRemove=!1;_textElement;get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(Oe){this._value=Oe}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(Oe){this._disabled=Oe}_disabled=!1;removed=new f.bkB;destroyed=new f.bkB;basicChipAttrName="mat-basic-chip";leadingIcon;editIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=(0,f.WQX)(E.E);_injector=(0,f.WQX)(f.zZn);constructor(){const Oe=(0,f.WQX)(I.l);Oe.load(B.A),Oe.load(T.Yc),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){this._isBasicChip=this._elementRef.nativeElement.hasAttribute(this.basicChipAttrName)||this._tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,R.h)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allEditIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this.destroyed.emit({chip:this}),this.destroyed.complete(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe()}remove(){this.removable&&(this._hadFocusOnRemove=this._hasFocus(),this.removed.emit({chip:this}))}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!this._hasInteractiveActions()||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(Oe){(8===Oe.keyCode&&!Oe.repeat||46===Oe.keyCode)&&(Oe.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(Oe){return this._getActions().find(at=>{const Q=at._elementRef.nativeElement;return Q===Oe||Q.contains(Oe)})}_getActions(){const Oe=[];return this.editIcon&&Oe.push(this.editIcon),this.primaryAction&&Oe.push(this.primaryAction),this.removeIcon&&Oe.push(this.removeIcon),Oe}_handlePrimaryActionInteraction(){}_hasInteractiveActions(){return this._getActions().length>0}_edit(Oe){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Oe=>{const at=null!==Oe;at!==this._hasFocusInternal&&(this._hasFocusInternal=at,at?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}static \u0275fac=function(at){return new(at||Pt)};static \u0275cmp=s.VBU({type:Pt,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(at,Q,Ae){if(1&at&&s.wni(Ae,Jt,5)(Ae,V,5)(Ae,ee,5)(Ae,ue,5)(Ae,Jt,5)(Ae,ee,5)(Ae,V,5)(Ae,ue,5),2&at){let Qe;s.mGM(Qe=s.lsd())&&(Q.leadingIcon=Qe.first),s.mGM(Qe=s.lsd())&&(Q.editIcon=Qe.first),s.mGM(Qe=s.lsd())&&(Q.trailingIcon=Qe.first),s.mGM(Qe=s.lsd())&&(Q.removeIcon=Qe.first),s.mGM(Qe=s.lsd())&&(Q._allLeadingIcons=Qe),s.mGM(Qe=s.lsd())&&(Q._allTrailingIcons=Qe),s.mGM(Qe=s.lsd())&&(Q._allEditIcons=Qe),s.mGM(Qe=s.lsd())&&(Q._allRemoveIcons=Qe)}},viewQuery:function(at,Q){if(1&at&&s.GBs(It,5),2&at){let Ae;s.mGM(Ae=s.lsd())&&(Q.primaryAction=Ae.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(at,Q){1&at&&s.bIt("keydown",function(Qe){return Q._handleKeydown(Qe)}),2&at&&(s.Avn("id",Q.id),s.BMQ("role",Q.role)("aria-label",Q.ariaLabel),s.HbH("mat-"+(Q.color||"primary")),s.AVh("mdc-evolution-chip",!Q._isBasicChip)("mdc-evolution-chip--disabled",Q.disabled)("mdc-evolution-chip--with-trailing-action",Q._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",Q.leadingIcon)("mdc-evolution-chip--with-primary-icon",Q.leadingIcon)("mdc-evolution-chip--with-avatar",Q.leadingIcon)("mat-mdc-chip-with-avatar",Q.leadingIcon)("mat-mdc-chip-highlighted",Q.highlighted)("mat-mdc-chip-disabled",Q.disabled)("mat-mdc-basic-chip",Q._isBasicChip)("mat-mdc-standard-chip",!Q._isBasicChip)("mat-mdc-chip-with-trailing-icon",Q._hasTrailingIcon())("_mat-animation-noopable",Q._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",P.L39],highlighted:[2,"highlighted","highlighted",P.L39],disableRipple:[2,"disableRipple","disableRipple",P.L39],disabled:[2,"disabled","disabled",P.L39]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[s.Jv_([{provide:De,useExisting:Pt}])],ngContentSelectors:ye,decls:8,vars:2,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipContent",""],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(at,Q){1&at&&(s.NAR(ce),s.nrm(0,"span",0),s.j41(1,"span",1)(2,"span",2),s.nVh(3,Le,2,0,"span",3),s.j41(4,"span",4),s.SdG(5),s.nrm(6,"span",5),s.k0s()()(),s.nVh(7,$e,2,0,"span",6)),2&at&&(s.R7$(3),s.vxM(Q.leadingIcon?3:-1),s.R7$(4),s.vxM(Q._hasTrailingIcon()?7:-1))},dependencies:[rt],styles:['.mdc-evolution-chip,\n.mdc-evolution-chip__cell,\n.mdc-evolution-chip__action {\n display: inline-flex;\n align-items: center;\n}\n\n.mdc-evolution-chip {\n position: relative;\n max-width: 100%;\n}\n\n.mdc-evolution-chip__cell,\n.mdc-evolution-chip__action {\n height: 100%;\n}\n\n.mdc-evolution-chip__cell--primary {\n flex-basis: 100%;\n overflow-x: hidden;\n}\n\n.mdc-evolution-chip__cell--trailing {\n flex: 1 0 auto;\n}\n\n.mdc-evolution-chip__action {\n align-items: center;\n background: none;\n border: none;\n box-sizing: content-box;\n cursor: pointer;\n display: inline-flex;\n justify-content: center;\n outline: none;\n padding: 0;\n text-decoration: none;\n color: inherit;\n}\n\n.mdc-evolution-chip__action--presentational {\n cursor: auto;\n}\n\n.mdc-evolution-chip--disabled,\n.mdc-evolution-chip__action:disabled {\n pointer-events: none;\n}\n@media (forced-colors: active) {\n .mdc-evolution-chip--disabled,\n .mdc-evolution-chip__action:disabled {\n forced-color-adjust: none;\n }\n}\n\n.mdc-evolution-chip__action--primary {\n font: inherit;\n letter-spacing: inherit;\n white-space: inherit;\n overflow-x: hidden;\n}\n.mat-mdc-standard-chip .mdc-evolution-chip__action--%NS%primary::before {\n border-width: var(--%NS%mat-chip-outline-width, 1px);\n border-radius: var(--%NS%mat-chip-container-shape-radius, 8px);\n box-sizing: border-box;\n content: "";\n height: 100%;\n left: 0;\n position: absolute;\n pointer-events: none;\n top: 0;\n width: 100%;\n z-index: 1;\n border-style: solid;\n}\n.mat-mdc-standard-chip .mdc-evolution-chip__action--primary {\n padding-left: 12px;\n padding-right: 12px;\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {\n padding-left: 0;\n padding-right: 12px;\n}\n[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {\n padding-left: 12px;\n padding-right: 0;\n}\n.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--%NS%primary::before {\n border-color: var(--%NS%mat-chip-outline-color, var(--%NS%mat-sys-outline));\n}\n.mdc-evolution-chip__action--%NS%primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before {\n border-color: var(--%NS%mat-chip-focus-outline-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--%NS%primary::before {\n border-color: var(--%NS%mat-chip-disabled-outline-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--%NS%primary::before {\n border-width: var(--%NS%mat-chip-flat-selected-outline-width, 0);\n}\n.mat-mdc-basic-chip .mdc-evolution-chip__action--primary {\n font: inherit;\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary {\n padding-left: 0;\n padding-right: 12px;\n}\n[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary {\n padding-left: 12px;\n padding-right: 0;\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {\n padding-left: 12px;\n padding-right: 0;\n}\n[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {\n padding-left: 0;\n padding-right: 12px;\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {\n padding-left: 0;\n padding-right: 0;\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {\n padding-left: 0;\n padding-right: 0;\n}\n[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {\n padding-left: 0;\n padding-right: 0;\n}\n.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {\n padding-left: 0;\n padding-right: 12px;\n}\n[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {\n padding-left: 12px;\n padding-right: 0;\n}\n.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {\n padding-left: 0;\n padding-right: 0;\n}\n[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {\n padding-left: 0;\n padding-right: 0;\n}\n\n.mdc-evolution-chip__action--secondary {\n position: relative;\n overflow: visible;\n}\n.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary {\n color: var(--%NS%mat-chip-with-trailing-icon-trailing-icon-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary {\n color: var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--%NS%mat-sys-on-surface));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {\n padding-left: 8px;\n padding-right: 8px;\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {\n padding-left: 8px;\n padding-right: 8px;\n}\n.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {\n padding-left: 8px;\n padding-right: 8px;\n}\n[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {\n padding-left: 8px;\n padding-right: 8px;\n}\n\n.mdc-evolution-chip__text-label {\n -webkit-user-select: none;\n user-select: none;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.mat-mdc-standard-chip .mdc-evolution-chip__text-label {\n font-family: var(--%NS%mat-chip-label-text-font, var(--%NS%mat-sys-label-large-font));\n line-height: var(--%NS%mat-chip-label-text-line-height, var(--%NS%mat-sys-label-large-line-height));\n font-size: var(--%NS%mat-chip-label-text-size, var(--%NS%mat-sys-label-large-size));\n font-weight: var(--%NS%mat-chip-label-text-weight, var(--%NS%mat-sys-label-large-weight));\n letter-spacing: var(--%NS%mat-chip-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));\n}\n.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label {\n color: var(--%NS%mat-chip-label-text-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--%NS%selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label {\n color: var(--%NS%mat-chip-selected-label-text-color, var(--%NS%mat-sys-on-secondary-container));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label, .mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label {\n color: var(--%NS%mat-chip-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n\n.mdc-evolution-chip__graphic {\n align-items: center;\n display: inline-flex;\n justify-content: center;\n overflow: hidden;\n pointer-events: none;\n position: relative;\n flex: 1 0 auto;\n}\n.mat-mdc-standard-chip .mdc-evolution-chip__graphic {\n width: var(--%NS%mat-chip-with-avatar-avatar-size, 24px);\n height: var(--%NS%mat-chip-with-avatar-avatar-size, 24px);\n font-size: var(--%NS%mat-chip-with-avatar-avatar-size, 24px);\n}\n.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic {\n transition: width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mdc-evolution-chip--%NS%selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic {\n width: 0;\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {\n padding-left: 6px;\n padding-right: 6px;\n}\n.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {\n padding-left: 4px;\n padding-right: 8px;\n}\n[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {\n padding-left: 8px;\n padding-right: 4px;\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {\n padding-left: 6px;\n padding-right: 6px;\n}\n.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {\n padding-left: 4px;\n padding-right: 8px;\n}\n[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {\n padding-left: 8px;\n padding-right: 4px;\n}\n.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic {\n padding-left: 0;\n}\n\n.mdc-evolution-chip__checkmark {\n position: absolute;\n opacity: 0;\n top: 50%;\n left: 50%;\n height: 20px;\n width: 20px;\n}\n.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark {\n color: var(--%NS%mat-chip-with-icon-selected-icon-color, var(--%NS%mat-sys-on-secondary-container));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark {\n color: var(--%NS%mat-chip-with-icon-disabled-icon-color, var(--%NS%mat-sys-on-surface));\n}\n.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark {\n transition: transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);\n transform: translate(-75%, -50%);\n}\n.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark {\n transform: translate(-50%, -50%);\n opacity: 1;\n}\n\n.mdc-evolution-chip__checkmark-svg {\n display: block;\n}\n\n.mdc-evolution-chip__checkmark-path {\n stroke-width: 2px;\n stroke-dasharray: 29.7833385;\n stroke-dashoffset: 29.7833385;\n stroke: currentColor;\n}\n.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path {\n transition: stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path {\n stroke-dashoffset: 0;\n}\n@media (forced-colors: active) {\n .mdc-evolution-chip__checkmark-path {\n stroke: CanvasText !important;\n }\n}\n\n.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing {\n height: 18px;\n width: 18px;\n font-size: 18px;\n}\n.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove {\n opacity: calc(var(--%NS%mat-chip-trailing-action-opacity, 1) * var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38));\n}\n.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus {\n opacity: calc(var(--%NS%mat-chip-trailing-action-focus-opacity, 1) * var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38));\n}\n\n.mat-mdc-standard-chip {\n border-radius: var(--%NS%mat-chip-container-shape-radius, 8px);\n height: var(--%NS%mat-chip-container-height, 32px);\n}\n.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) {\n background-color: var(--%NS%mat-chip-elevated-container-color, transparent);\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--disabled {\n background-color: var(--%NS%mat-chip-elevated-disabled-container-color);\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--%NS%selected:not(.mdc-evolution-chip--disabled) {\n background-color: var(--%NS%mat-chip-elevated-selected-container-color, var(--%NS%mat-sys-secondary-container));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled {\n background-color: var(--%NS%mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent));\n}\n@media (forced-colors: active) {\n .mat-mdc-standard-chip {\n outline: solid 1px;\n }\n}\n\n.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary {\n border-radius: var(--%NS%mat-chip-with-avatar-avatar-shape-radius, 24px);\n width: var(--%NS%mat-chip-with-icon-icon-size, 18px);\n height: var(--%NS%mat-chip-with-icon-icon-size, 18px);\n font-size: var(--%NS%mat-chip-with-icon-icon-size, 18px);\n}\n.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary {\n opacity: 0;\n}\n.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary {\n color: var(--%NS%mat-chip-with-icon-icon-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary {\n color: var(--%NS%mat-chip-with-icon-disabled-icon-color, var(--%NS%mat-sys-on-surface));\n}\n\n.mat-mdc-chip-highlighted {\n --%NS%mat-chip-with-icon-icon-color: var(--%NS%mat-chip-with-icon-selected-icon-color, var(--%NS%mat-sys-on-secondary-container));\n --%NS%mat-chip-elevated-container-color: var(--%NS%mat-chip-elevated-selected-container-color, var(--%NS%mat-sys-secondary-container));\n --%NS%mat-chip-label-text-color: var(--%NS%mat-chip-selected-label-text-color, var(--%NS%mat-sys-on-secondary-container));\n --%NS%mat-chip-outline-width: var(--%NS%mat-chip-flat-selected-outline-width, 0);\n}\n\n.mat-mdc-chip-focus-overlay {\n background: var(--%NS%mat-chip-focus-state-layer-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay {\n background: var(--%NS%mat-chip-selected-focus-state-layer-color, var(--%NS%mat-sys-on-secondary-container));\n}\n.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay {\n background: var(--%NS%mat-chip-hover-state-layer-color, var(--%NS%mat-sys-on-surface-variant));\n opacity: var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover, .mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay {\n background: var(--%NS%mat-chip-selected-hover-state-layer-color, var(--%NS%mat-sys-on-secondary-container));\n opacity: var(--%NS%mat-chip-selected-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity));\n}\n.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay {\n background: var(--%NS%mat-chip-focus-state-layer-color, var(--%NS%mat-sys-on-surface-variant));\n opacity: var(--%NS%mat-chip-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));\n}\n.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay {\n background: var(--%NS%mat-chip-selected-focus-state-layer-color, var(--%NS%mat-sys-on-secondary-container));\n opacity: var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));\n}\n\n.mdc-evolution-chip--%NS%disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar {\n opacity: var(--%NS%mat-chip-with-avatar-disabled-avatar-opacity, 0.38);\n}\n\n.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing {\n opacity: var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38);\n}\n\n.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark {\n opacity: var(--%NS%mat-chip-with-icon-disabled-icon-opacity, 0.38);\n}\n\n.mat-mdc-standard-chip.mdc-evolution-chip--disabled {\n opacity: var(--%NS%mat-chip-disabled-container-opacity, 1);\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing {\n color: var(--%NS%mat-chip-selected-trailing-icon-color, var(--%NS%mat-sys-on-secondary-container));\n}\n.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing {\n color: var(--%NS%mat-chip-selected-disabled-trailing-icon-color, var(--%NS%mat-sys-on-surface));\n}\n\n.mat-mdc-chip-edit, .mat-mdc-chip-remove {\n opacity: var(--%NS%mat-chip-trailing-action-opacity, 1);\n}\n.mat-mdc-chip-edit:focus, .mat-mdc-chip-remove:focus {\n opacity: var(--%NS%mat-chip-trailing-action-focus-opacity, 1);\n}\n.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after {\n background-color: var(--%NS%mat-chip-trailing-action-state-layer-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-chip-edit:hover::after, .mat-mdc-chip-remove:hover::after {\n opacity: calc(var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)));\n}\n.mat-mdc-chip-edit:focus::after, .mat-mdc-chip-remove:focus::after {\n opacity: calc(var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)));\n}\n\n.mat-mdc-chip-selected .mat-mdc-chip-remove::after,\n.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after {\n background-color: var(--%NS%mat-chip-selected-trailing-action-state-layer-color, var(--%NS%mat-sys-on-secondary-container));\n}\n\n.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:focus::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:focus::after {\n opacity: calc(var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)));\n}\n.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:hover::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:hover::after {\n opacity: calc(var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)));\n}\n\n.mat-mdc-standard-chip {\n -webkit-tap-highlight-color: transparent;\n}\n.mat-mdc-standard-chip .mat-mdc-chip-graphic,\n.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon {\n box-sizing: content-box;\n}\n.mat-mdc-standard-chip._mat-animation-noopable,\n.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,\n.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,\n.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path {\n transition-duration: 1ms;\n animation-duration: 1ms;\n}\n\n.mat-mdc-chip-focus-overlay {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n pointer-events: none;\n opacity: 0;\n border-radius: inherit;\n transition: opacity 150ms linear;\n}\n._mat-animation-noopable .mat-mdc-chip-focus-overlay {\n transition: none;\n}\n.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay {\n display: none;\n}\n\n.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n pointer-events: none;\n border-radius: inherit;\n}\n\n.mat-mdc-chip-avatar {\n text-align: center;\n line-height: 1;\n color: var(--%NS%mat-chip-with-icon-icon-color, currentColor);\n}\n\n.mat-mdc-chip {\n position: relative;\n z-index: 0;\n}\n\n.mat-mdc-chip-action-label {\n text-align: left;\n z-index: 1;\n}\n[dir=rtl] .mat-mdc-chip-action-label {\n text-align: right;\n}\n.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label {\n position: relative;\n}\n.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n pointer-events: none;\n}\n.mat-mdc-chip-action-label .mat-focus-indicator::before {\n margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px) * -1);\n}\n\n.mat-mdc-chip-edit::before, .mat-mdc-chip-remove::before {\n margin: calc(var(--%NS%mat-focus-indicator-border-width, 3px) * -1);\n left: 8px;\n right: 8px;\n}\n.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after {\n content: "";\n display: block;\n opacity: 0;\n position: absolute;\n top: -3px;\n bottom: -3px;\n left: 5px;\n right: 5px;\n border-radius: 50%;\n box-sizing: border-box;\n padding: 12px;\n margin: -12px;\n background-clip: content-box;\n}\n.mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon {\n width: 18px;\n height: 18px;\n font-size: 18px;\n box-sizing: content-box;\n}\n\n.mat-chip-edit-input {\n cursor: text;\n display: inline-block;\n color: inherit;\n outline: 0;\n}\n\n@media (forced-colors: active) {\n .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple) {\n outline-width: 3px;\n }\n}\n\n.mat-mdc-chip-action:focus-visible .mat-focus-indicator::before {\n content: "";\n}\n\n.mdc-evolution-chip__icon, .mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon {\n min-height: fit-content;\n}\n\nimg.mdc-evolution-chip__icon {\n min-height: 0;\n}\n'],encapsulation:2})}class Tn extends Pt{_defaultOptions=(0,f.WQX)(wt,{optional:!0});chipListSelectable=!0;_chipListMultiple=!1;_chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get selectable(){return this._selectable&&this.chipListSelectable}set selectable(Oe){this._selectable=Oe,this._changeDetectorRef.markForCheck()}_selectable=!0;get selected(){return this._selected}set selected(Oe){this._setSelectedState(Oe,!1,!0)}_selected=!1;get ariaSelected(){return this.selectable?this.selected.toString():null}basicChipAttrName="mat-basic-chip-option";selectionChange=new f.bkB;ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(Oe=!1){return this._setSelectedState(!this.selected,Oe,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return!!this.leadingIcon||(!this._chipListHideSingleSelectionIndicator||this._chipListMultiple)}_setSelectedState(Oe,at,Q){Oe!==this.selected&&(this._selected=Oe,Q&&this.selectionChange.emit({source:this,isUserInput:at,selected:this.selected}),this._changeDetectorRef.markForCheck())}static \u0275fac=(()=>{let Oe;return function(Q){return(Oe||(Oe=s.xGo(Tn)))(Q||Tn)}})();static \u0275cmp=s.VBU({type:Tn,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(at,Q){2&at&&(s.Avn("id",Q.id),s.BMQ("tabindex",null)("aria-label",null)("aria-description",null)("role",Q.role),s.AVh("mdc-evolution-chip",!Q._isBasicChip)("mdc-evolution-chip--filter",!Q._isBasicChip)("mdc-evolution-chip--selectable",!Q._isBasicChip)("mat-mdc-chip-selected",Q.selected)("mat-mdc-chip-multiple",Q._chipListMultiple)("mat-mdc-chip-disabled",Q.disabled)("mat-mdc-chip-with-avatar",Q.leadingIcon)("mdc-evolution-chip--disabled",Q.disabled)("mdc-evolution-chip--selected",Q.selected)("mdc-evolution-chip--selecting",!Q._animationsDisabled)("mdc-evolution-chip--with-trailing-action",Q._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",Q.leadingIcon)("mdc-evolution-chip--with-primary-graphic",Q._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",Q.leadingIcon)("mat-mdc-chip-highlighted",Q.highlighted)("mat-mdc-chip-with-trailing-icon",Q._hasTrailingIcon()))},inputs:{selectable:[2,"selectable","selectable",P.L39],selected:[2,"selected","selected",P.L39]},outputs:{selectionChange:"selectionChange"},features:[s.Jv_([{provide:Pt,useExisting:Tn},{provide:De,useExisting:Tn}]),s.Vt3],ngContentSelectors:ye,decls:8,vars:6,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(at,Q){1&at&&(s.NAR(ce),s.nrm(0,"span",0),s.j41(1,"span",1)(2,"button",2),s.nVh(3,Tt,5,0,"span",3),s.j41(4,"span",4),s.SdG(5),s.nrm(6,"span",5),s.k0s()()(),s.nVh(7,We,2,0,"span",6)),2&at&&(s.R7$(2),s.Y8G("_allowFocusWhenDisabled",!0),s.BMQ("aria-description",Q.ariaDescription)("aria-label",Q.ariaLabel)("aria-selected",Q.ariaSelected),s.R7$(),s.vxM(Q._hasLeadingGraphic()?3:-1),s.R7$(4),s.vxM(Q._hasTrailingIcon()?7:-1))},dependencies:[It],styles:[Me],encapsulation:2})}class Lt{_elementRef=(0,f.WQX)(s.aKT);_document=(0,f.WQX)(f.qQL);initialize(Oe){this.getNativeElement().focus(),this.setValue(Oe)}getNativeElement(){return this._elementRef.nativeElement}setValue(Oe){this.getNativeElement().textContent=Oe,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const Oe=this._document.createRange();Oe.selectNodeContents(this.getNativeElement()),Oe.collapse(!1);const at=window.getSelection();at.removeAllRanges(),at.addRange(Oe)}static \u0275fac=function(at){return new(at||Lt)};static \u0275dir=s.FsC({type:Lt,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]})}class _e extends Pt{basicChipAttrName="mat-basic-chip-row";_renderer=(0,f.WQX)(s.sFG);_cleanupMousedown;_editStartPending=!1;editable=!1;edited=new f.bkB;defaultEditInput;contentEditInput;_alreadyFocused=!1;_isEditing=!1;constructor(){super(),this.role="row",this._onBlur.pipe((0,y.Q)(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish(),this._alreadyFocused=!1})}ngAfterViewInit(){super.ngAfterViewInit(),this._cleanupMousedown=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"mousedown",()=>{this._alreadyFocused=this._hasFocus()}))}ngOnDestroy(){super.ngOnDestroy(),this._cleanupMousedown?.()}_hasLeadingActionIcon(){return!this._isEditing&&!!this.editIcon}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(Oe){13!==Oe.keyCode||this.disabled?this._isEditing?Oe.stopPropagation():super._handleKeydown(Oe):this._isEditing?(Oe.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(Oe)}_handleClick(Oe){!this.disabled&&this.editable&&!this._isEditing&&this._alreadyFocused&&(Oe.preventDefault(),Oe.stopPropagation(),this._startEditing(Oe))}_handleDoubleclick(Oe){!this.disabled&&this.editable&&this._startEditing(Oe)}_edit(){this._changeDetectorRef.markForCheck(),this._startEditing()}_startEditing(Oe){if(!this.primaryAction||this.removeIcon&&Oe&&this._getSourceAction(Oe.target)===this.removeIcon)return;const at=this.value;this._isEditing=this._editStartPending=!0,(0,s.mal)(()=>{this._getEditInput().initialize(at),setTimeout(()=>this._ngZone.run(()=>this._editStartPending=!1))},{injector:this._injector})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static \u0275fac=function(at){return new(at||_e)};static \u0275cmp=s.VBU({type:_e,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(at,Q,Ae){if(1&at&&s.wni(Ae,Lt,5),2&at){let Qe;s.mGM(Qe=s.lsd())&&(Q.contentEditInput=Qe.first)}},viewQuery:function(at,Q){if(1&at&&s.GBs(Lt,5),2&at){let Ae;s.mGM(Ae=s.lsd())&&(Q.defaultEditInput=Ae.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:29,hostBindings:function(at,Q){1&at&&s.bIt("focus",function(){return Q._handleFocus()})("click",function(Qe){return Q._hasInteractiveActions()?Q._handleClick(Qe):null})("dblclick",function(Qe){return Q._handleDoubleclick(Qe)}),2&at&&(s.Avn("id",Q.id),s.BMQ("tabindex",Q.disabled?null:-1)("aria-label",null)("aria-description",null)("role",Q.role),s.AVh("mat-mdc-chip-with-avatar",Q.leadingIcon)("mat-mdc-chip-disabled",Q.disabled)("mat-mdc-chip-editing",Q._isEditing)("mat-mdc-chip-editable",Q.editable)("mdc-evolution-chip--disabled",Q.disabled)("mdc-evolution-chip--with-leading-action",Q._hasLeadingActionIcon())("mdc-evolution-chip--with-trailing-action",Q._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",Q.leadingIcon)("mdc-evolution-chip--with-primary-icon",Q.leadingIcon)("mdc-evolution-chip--with-avatar",Q.leadingIcon)("mat-mdc-chip-highlighted",Q.highlighted)("mat-mdc-chip-with-trailing-icon",Q._hasTrailingIcon()))},inputs:{editable:"editable"},outputs:{edited:"edited"},features:[s.Jv_([{provide:Pt,useExisting:_e},{provide:De,useExisting:_e}]),s.Vt3],ngContentSelectors:xe,decls:9,vars:8,consts:[[1,"mat-mdc-chip-focus-overlay"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--leading"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"disabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],["matChipEditInput",""]],template:function(at,Q){1&at&&(s.NAR(ut),s.nVh(0,Te,1,0,"span",0),s.nVh(1,Ce,2,0,"span",1),s.j41(2,"span",2),s.nVh(3,et,2,0,"span",3),s.j41(4,"span",4),s.nVh(5,be,2,1)(6,de,1,0),s.nrm(7,"span",5),s.k0s()(),s.nVh(8,G,2,0,"span",6)),2&at&&(s.vxM(Q._isEditing?-1:0),s.R7$(),s.vxM(Q._hasLeadingActionIcon()?1:-1),s.R7$(),s.Y8G("disabled",Q.disabled),s.BMQ("aria-description",Q.ariaDescription)("aria-label",Q.ariaLabel),s.R7$(),s.vxM(Q.leadingIcon?3:-1),s.R7$(2),s.vxM(Q._isEditing?5:6),s.R7$(3),s.vxM(Q._hasTrailingIcon()?8:-1))},dependencies:[It,Lt],styles:[Me],encapsulation:2})}class Y{_elementRef=(0,f.WQX)(s.aKT);_changeDetectorRef=(0,f.WQX)(P.gRc);_dir=(0,f.WQX)(w.dS,{optional:!0});_lastDestroyedFocusedChipIndex=null;_keyManager;_destroyed=new C.B;_defaultRole="presentation";get chipFocusChanges(){return this._getChipStream(Oe=>Oe._onFocus)}get chipDestroyedChanges(){return this._getChipStream(Oe=>Oe.destroyed)}get chipRemovedChanges(){return this._getChipStream(Oe=>Oe.removed)}get disabled(){return this._disabled}set disabled(Oe){this._disabled=Oe,this._syncChipsState()}_disabled=!1;get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}tabIndex=0;set role(Oe){this._explicitRole=Oe}_explicitRole=null;get focused(){return this._hasFocusedChip()}_chips;_chipActions=new s.rOR;ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(Oe=>Oe._hasFocus())}_syncChipsState(){this._chips?.forEach(Oe=>{Oe._chipListDisabled=this._disabled,Oe._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(Oe){this._originatesFromChip(Oe)&&this._keyManager.onKeydown(Oe)}_isValidIndex(Oe){return Oe>=0&&Oe<this._chips.length}_allowFocusEscape(){const Oe=this._elementRef.nativeElement.tabIndex;-1!==Oe&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(()=>this._elementRef.nativeElement.tabIndex=Oe))}_getChipStream(Oe){return this._chips.changes.pipe((0,b.Z)(null),(0,x.n)(()=>(0,R.h)(...this._chips.map(Oe))))}_originatesFromChip(Oe){let at=Oe.target;for(;at&&at!==this._elementRef.nativeElement;){if(at.classList.contains("mat-mdc-chip"))return!0;at=at.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe((0,b.Z)(this._chips)).subscribe(Oe=>{const at=[];Oe.forEach(Q=>Q._getActions().forEach(Ae=>at.push(Ae))),this._chipActions.reset(at),this._chipActions.notifyOnChanges()}),this._keyManager=new J(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(Oe=>this._skipPredicate(Oe)),this.chipFocusChanges.pipe((0,y.Q)(this._destroyed)).subscribe(({chip:Oe})=>{const at=Oe._getSourceAction(document.activeElement);at&&this._keyManager.updateActiveItem(at)}),this._dir?.change.pipe((0,y.Q)(this._destroyed)).subscribe(Oe=>this._keyManager.withHorizontalOrientation(Oe))}_skipPredicate(Oe){return Oe.disabled}_trackChipSetChanges(){this._chips.changes.pipe((0,b.Z)(null),(0,y.Q)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe((0,y.Q)(this._destroyed)).subscribe(Oe=>{const Q=this._chips.toArray().indexOf(Oe.chip),Ae=Oe.chip._hasFocus(),Qe=Oe.chip._hadFocusOnRemove&&this._keyManager.activeItem&&Oe.chip._getActions().includes(this._keyManager.activeItem),kt=Ae||Qe;this._isValidIndex(Q)&&kt&&(this._lastDestroyedFocusedChipIndex=Q)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const Oe=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),at=this._chips.toArray()[Oe];at.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():at.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static \u0275fac=function(at){return new(at||Y)};static \u0275cmp=s.VBU({type:Y,selectors:[["mat-chip-set"]],contentQueries:function(at,Q,Ae){if(1&at&&s.wni(Ae,Pt,5),2&at){let Qe;s.mGM(Qe=s.lsd())&&(Q._chips=Qe)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(at,Q){1&at&&s.bIt("keydown",function(Qe){return Q._handleKeydown(Qe)}),2&at&&s.BMQ("role",Q.role)},inputs:{disabled:[2,"disabled","disabled",P.L39],role:"role",tabIndex:[2,"tabIndex","tabIndex",Oe=>null==Oe?0:(0,P.Udg)(Oe)]},ngContentSelectors:Fe,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(at,Q){1&at&&(s.NAR(),s.rj2(0,"div",0),s.SdG(1),s.eux())},styles:[".mat-mdc-chip-set {\n display: flex;\n}\n.mat-mdc-chip-set:focus {\n outline: none;\n}\n.mat-mdc-chip-set .mdc-evolution-chip-set__chips {\n min-width: 100%;\n margin-left: -8px;\n margin-right: 0;\n}\n.mat-mdc-chip-set .mdc-evolution-chip {\n margin: 4px 0 4px 8px;\n}\n[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips {\n margin-left: 0;\n margin-right: -8px;\n}\n[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip {\n margin-left: 0;\n margin-right: 8px;\n}\n\n.mdc-evolution-chip-set__chips {\n display: flex;\n flex-flow: wrap;\n min-width: 0;\n}\n\n.mat-mdc-chip-set-stacked {\n flex-direction: column;\n align-items: flex-start;\n}\n.mat-mdc-chip-set-stacked .mat-mdc-chip {\n width: 100%;\n}\n.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic {\n flex-grow: 0;\n}\n.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary {\n flex-basis: 100%;\n justify-content: start;\n}\n\ninput.mat-mdc-chip-input {\n flex: 1 0 150px;\n margin-left: 8px;\n}\n[dir=rtl] input.mat-mdc-chip-input {\n margin-left: 0;\n margin-right: 8px;\n}\n.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder {\n opacity: 1;\n}\n.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder {\n opacity: 1;\n}\n.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder {\n opacity: 1;\n}\n.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder {\n opacity: 1;\n}\n.mat-mdc-chip-set + input.mat-mdc-chip-input {\n margin-left: 0;\n margin-right: 0;\n}\n"],encapsulation:2})}class fe{source;value;constructor(Oe,at){this.source=Oe,this.value=at}}const Et={provide:D.kq,useExisting:(0,f.Rfq)(()=>Vt),multi:!0};class Vt extends Y{_onTouched=()=>{};_onChange=()=>{};_defaultRole="listbox";_defaultOptions=(0,f.WQX)(wt,{optional:!0});get multiple(){return this._multiple}set multiple(Oe){this._multiple=Oe,this._syncListboxProperties()}_multiple=!1;get selected(){const Oe=this._chips.toArray().filter(at=>at.selected);return this.multiple?Oe:Oe[0]}ariaOrientation="horizontal";get selectable(){return this._selectable}set selectable(Oe){this._selectable=Oe,this._syncListboxProperties()}_selectable=!0;compareWith=(Oe,at)=>Oe===at;required=!1;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Oe){this._hideSingleSelectionIndicator=Oe,this._syncListboxProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get chipSelectionChanges(){return this._getChipStream(Oe=>Oe.selectionChange)}get chipBlurChanges(){return this._getChipStream(Oe=>Oe._onBlur)}get value(){return this._value}set value(Oe){this._chips&&this._chips.length&&this._setSelectionByValue(Oe,!1),this._value=Oe}_value;change=new f.bkB;_chips=void 0;ngAfterContentInit(){this._chips.changes.pipe((0,b.Z)(null),(0,y.Q)(this._destroyed)).subscribe(()=>{void 0!==this.value&&Promise.resolve().then(()=>{this._setSelectionByValue(this.value,!1)}),this._syncListboxProperties()}),this.chipBlurChanges.pipe((0,y.Q)(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe((0,y.Q)(this._destroyed)).subscribe(Oe=>{this.multiple||this._chips.forEach(at=>{at!==Oe.source&&at._setSelectedState(!1,!1,!1)}),Oe.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;const Oe=this._getFirstSelectedChip();Oe&&!Oe.disabled?Oe.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(Oe){this.value=null!=Oe?Oe:void 0}registerOnChange(Oe){this._onChange=Oe}registerOnTouched(Oe){this._onTouched=Oe}setDisabledState(Oe){this.disabled=Oe}_setSelectionByValue(Oe,at=!0){this._clearSelection(),Array.isArray(Oe)?Oe.forEach(Q=>this._selectValue(Q,at)):this._selectValue(Oe,at)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(Oe){9===Oe.keyCode&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let Oe=null;Oe=Array.isArray(this.selected)?this.selected.map(at=>at.value):this.selected?this.selected.value:void 0,this._value=Oe,this.change.emit(new fe(this,Oe)),this._onChange(Oe),this._changeDetectorRef.markForCheck()}_clearSelection(Oe){this._chips.forEach(at=>{at!==Oe&&at.deselect()})}_selectValue(Oe,at){const Q=this._chips.find(Ae=>null!=Ae.value&&this.compareWith(Ae.value,Oe));return Q&&(at?Q.selectViaInteraction():Q.select()),Q}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(Oe=>{Oe._chipListMultiple=this.multiple,Oe.chipListSelectable=this._selectable,Oe._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,Oe._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(Oe){return!1}static \u0275fac=(()=>{let Oe;return function(Q){return(Oe||(Oe=s.xGo(Vt)))(Q||Vt)}})();static \u0275cmp=s.VBU({type:Vt,selectors:[["mat-chip-listbox"]],contentQueries:function(at,Q,Ae){if(1&at&&s.wni(Ae,Tn,5),2&at){let Qe;s.mGM(Qe=s.lsd())&&(Q._chips=Qe)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:10,hostBindings:function(at,Q){1&at&&s.bIt("focus",function(){return Q.focus()})("blur",function(){return Q._blur()})("keydown",function(Qe){return Q._keydown(Qe)}),2&at&&(s.Avn("tabIndex",Q.disabled||Q.empty?-1:Q.tabIndex),s.BMQ("role",Q.role)("aria-required",Q.role?Q.required:null)("aria-disabled",Q.disabled.toString())("aria-multiselectable",Q.multiple)("aria-orientation",Q.ariaOrientation),s.AVh("mat-mdc-chip-list-disabled",Q.disabled)("mat-mdc-chip-list-required",Q.required))},inputs:{multiple:[2,"multiple","multiple",P.L39],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",P.L39],compareWith:"compareWith",required:[2,"required","required",P.L39],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",P.L39],value:"value"},outputs:{change:"change"},features:[s.Jv_([Et]),s.Vt3],ngContentSelectors:Fe,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(at,Q){1&at&&(s.NAR(),s.rj2(0,"div",0),s.SdG(1),s.eux())},styles:[He],encapsulation:2})}class ln{source;value;constructor(Oe,at){this.source=Oe,this.value=at}}class fn extends Y{ngControl=(0,f.WQX)(D.vO,{optional:!0,self:!0});controlType="mat-chip-grid";_chipInput;_defaultRole="grid";_errorStateTracker;_uid=(0,f.WQX)(M.g).getId("mat-chip-grid-");_ariaDescribedbyIds=[];_onTouched=()=>{};_onChange=()=>{};get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(Oe){this._disabled=Oe,this._syncChipsState(),this.stateChanges.next()}get id(){return this._chipInput?this._chipInput.id:this._uid}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(Oe){this._placeholder=Oe,this.stateChanges.next()}_placeholder="";get focused(){return this._chipInput?.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(D.k0.required)??!1}set required(Oe){this._required=Oe,this.stateChanges.next()}_required;get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(Oe){this._value=Oe}_value=[];get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(Oe){this._errorStateTracker.matcher=Oe}get chipBlurChanges(){return this._getChipStream(Oe=>Oe._onBlur)}change=new f.bkB;valueChange=new f.bkB;_chips=void 0;stateChanges=new C.B;get errorState(){return this._errorStateTracker.errorState}set errorState(Oe){this._errorStateTracker.errorState=Oe}constructor(){super();const Oe=(0,f.WQX)(D.cV,{optional:!0}),at=(0,f.WQX)(D.j4,{optional:!0}),Q=(0,f.WQX)(Ee.e),Ae=(0,f.WQX)(Z.yg,{optional:!0,self:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._errorStateTracker=new oe.X(Q,Ae||this.ngControl,at,Oe,this.stateChanges)}ngAfterContentInit(){this.chipBlurChanges.pipe((0,y.Q)(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),(0,R.h)(this.chipFocusChanges,this._chips.changes).pipe((0,y.Q)(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(Oe){this._chipInput=Oe,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds),this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(Oe){!this.disabled&&!this._originatesFromChip(Oe)&&this.focus()}focus(){if(!this.disabled&&!this._chipInput?.focused){if(!this._chips.length||this._chips.first.disabled){if(!this._chipInput)return;Promise.resolve().then(()=>this._chipInput.focus())}else{const Oe=this._keyManager.activeItem;Oe?Oe.focus():this._keyManager.setFirstItemActive()}this.stateChanges.next()}}get describedByIds(){if(this._chipInput)return this._chipInput.describedByIds||[];const Oe=this._elementRef.nativeElement.getAttribute("aria-describedby");return Oe?Oe.split(" "):[]}setDescribedByIds(Oe){this._ariaDescribedbyIds=Oe,this._chipInput?this._chipInput.setDescribedByIds(Oe):Oe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Oe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}writeValue(Oe){this._value=Oe}registerOnChange(Oe){this._onChange=Oe}registerOnTouched(Oe){this._onTouched=Oe}setDisabledState(Oe){this.disabled=Oe,this.stateChanges.next()}updateErrorState(){this._errorStateTracker.updateErrorState()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput?.focused||super._allowFocusEscape()}_handleKeydown(Oe){const at=Oe.keyCode,Q=this._keyManager.activeItem;if(9===at)this._chipInput?.focused&&(0,m.rp)(Oe,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(Oe.preventDefault(),Q?this._keyManager.setActiveItem(Q):this._focusLastChip()):super._allowFocusEscape();else if(!this._chipInput?.focused)if(38!==at&&40!==at||!Q)super._handleKeydown(Oe);else{const Ae=this._chipActions.filter(cn=>cn._isPrimary===Q._isPrimary&&!this._skipPredicate(cn)),Qe=Ae.indexOf(Q),kt=38===Oe.keyCode?-1:1;Oe.preventDefault(),Qe>-1&&this._isValidIndex(Qe+kt)&&this._keyManager.setActiveItem(Ae[Qe+kt])}this.stateChanges.next()}_redirectDestroyedChipFocus(){null!==this._lastDestroyedFocusedChipIndex&&(super._redirectDestroyedChipFocus(),(!this._chips.length||1===this._chips.length&&this._chips.first.disabled)&&this._keyManager.updateActiveItem(-1))}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const Oe=this._chips.length?this._chips.toArray().map(at=>at.value):[];this._value=Oe,this.change.emit(new ln(this,Oe)),this.valueChange.emit(Oe),this._onChange(Oe),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static \u0275fac=function(at){return new(at||fn)};static \u0275cmp=s.VBU({type:fn,selectors:[["mat-chip-grid"]],contentQueries:function(at,Q,Ae){if(1&at&&s.wni(Ae,_e,5),2&at){let Qe;s.mGM(Qe=s.lsd())&&(Q._chips=Qe)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(at,Q){1&at&&s.bIt("focus",function(){return Q.focus()})("blur",function(){return Q._blur()}),2&at&&(s.BMQ("role",Q.role)("tabindex",Q.disabled||Q._chips&&0===Q._chips.length?-1:Q.tabIndex)("aria-disabled",Q.disabled.toString())("aria-invalid",Q.errorState),s.AVh("mat-mdc-chip-list-disabled",Q.disabled)("mat-mdc-chip-list-invalid",Q.errorState)("mat-mdc-chip-list-required",Q.required))},inputs:{disabled:[2,"disabled","disabled",P.L39],placeholder:"placeholder",required:[2,"required","required",P.L39],value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[s.Jv_([{provide:j.qT,useExisting:fn}]),s.Vt3],ngContentSelectors:Fe,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(at,Q){1&at&&(s.NAR(),s.rj2(0,"div",0),s.SdG(1),s.eux())},styles:[He],encapsulation:2})}class je{_elementRef=(0,f.WQX)(s.aKT);focused=!1;get chipGrid(){return this._chipGrid}set chipGrid(Oe){Oe&&(this._chipGrid=Oe,this._chipGrid.registerInput(this))}_chipGrid;addOnBlur=!1;separatorKeyCodes;chipEnd=new f.bkB;placeholder="";id=(0,f.WQX)(M.g).getId("mat-mdc-chip-list-input-");get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(Oe){this._disabled=Oe}_disabled=!1;readonly=!1;disabledInteractive;get empty(){return!this.inputElement.value}inputElement;constructor(){const Oe=(0,f.WQX)(wt),at=(0,f.WQX)(j.xb,{optional:!0});this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=Oe.separatorKeyCodes,this.disabledInteractive=Oe.inputDisabledInteractive??!1,at&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}_keydown(Oe){this.empty&&8===Oe.keyCode?(Oe.repeat||this._chipGrid._focusLastChip(),Oe.preventDefault()):this._emitChipEnd(Oe)}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._chipGrid.stateChanges.next()}_emitChipEnd(Oe){(!Oe||this._isSeparatorKey(Oe)&&!Oe.repeat)&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),Oe?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value=""}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(Oe){const at=this._elementRef.nativeElement;Oe.length?at.setAttribute("aria-describedby",Oe.join(" ")):at.removeAttribute("aria-describedby")}_isSeparatorKey(Oe){if(!this.separatorKeyCodes)return!1;for(const at of this.separatorKeyCodes){let Q,Ae;"number"==typeof at?(Q=at,Ae=null):(Q=at.keyCode,Ae=at.modifiers);const Qe=Ae?.length?(0,m.rp)(Oe,...Ae):!(0,m.rp)(Oe);if(Q===Oe.keyCode&&Qe)return!0}return!1}_getReadonlyAttribute(){return this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(at){return new(at||je)};static \u0275dir=s.FsC({type:je,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:8,hostBindings:function(at,Q){1&at&&s.bIt("keydown",function(Qe){return Q._keydown(Qe)})("blur",function(){return Q._blur()})("focus",function(){return Q._focus()})("input",function(){return Q._onInput()}),2&at&&(s.Avn("id",Q.id),s.BMQ("disabled",Q.disabled&&!Q.disabledInteractive?"":null)("placeholder",Q.placeholder||null)("aria-invalid",Q._chipGrid&&Q._chipGrid.ngControl?Q._chipGrid.ngControl.invalid:null)("aria-required",Q._chipGrid&&Q._chipGrid.required||null)("aria-disabled",Q.disabled&&Q.disabledInteractive?"true":null)("readonly",Q._getReadonlyAttribute())("required",Q._chipGrid&&Q._chipGrid.required||null))},inputs:{chipGrid:[0,"matChipInputFor","chipGrid"],addOnBlur:[2,"matChipInputAddOnBlur","addOnBlur",P.L39],separatorKeyCodes:[0,"matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:[2,"disabled","disabled",P.L39],readonly:[2,"readonly","readonly",P.L39],disabledInteractive:[2,"matChipInputDisabledInteractive","disabledInteractive",P.L39]},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[s.OA$]})}class ht{static \u0275fac=function(at){return new(at||ht)};static \u0275mod=s.$C({type:ht,imports:[te.p,It,Pt,Kt,ze,Lt,fn,je,Vt,Tn,Mt,_e,Y,Ht],exports:[O.jI,Pt,Kt,ze,Lt,fn,je,Vt,Tn,Mt,_e,Y,Ht]});static \u0275inj=f.G2t({providers:[Ee.e,{provide:wt,useValue:{separatorKeyCodes:[13]}}],imports:[te.p,O.jI]})}},49121(st,pe,h){"use strict";h.d(pe,{Vh:()=>ee,bZ:()=>De,hM:()=>bn,CP:()=>wt});var m=h(51564),s=h(70903),f=h(28939),P=h(39962),D=h(55919),y=h(93767),b=h(11874),x=h(83896),N=h(5156),M=h(36574),U=h(53724),J=h(29927),I=h(56276),T=h(40401),C=h(1396),R=h(40271);function B(Tn,Lt){}class F{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext;bindings}class E extends b.lb{_elementRef=(0,f.WQX)(s.aKT);_focusTrapFactory=(0,f.WQX)(x.GX);_config;_interactivityChecker=(0,f.WQX)(x.Z7);_ngZone=(0,f.WQX)(f.SKi);_focusMonitor=(0,f.WQX)(N.FN);_renderer=(0,f.WQX)(s.sFG);_changeDetectorRef=(0,f.WQX)(P.gRc);_injector=(0,f.WQX)(f.zZn);_platform=(0,f.WQX)(M.O);_document=(0,f.WQX)(f.qQL);_portalOutlet;_focusTrapped=new D.B;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=(0,f.WQX)(F,{optional:!0})||new F,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(Lt){this._ariaLabelledByQueue.push(Lt),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(Lt){const _e=this._ariaLabelledByQueue.indexOf(Lt);_e>-1&&(this._ariaLabelledByQueue.splice(_e,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(Lt){this._portalOutlet.hasAttached();const _e=this._portalOutlet.attachComponentPortal(Lt);return this._contentAttached(),_e}attachTemplatePortal(Lt){this._portalOutlet.hasAttached();const _e=this._portalOutlet.attachTemplatePortal(Lt);return this._contentAttached(),_e}attachDomPortal=Lt=>{this._portalOutlet.hasAttached();const _e=this._portalOutlet.attachDomPortal(Lt);return this._contentAttached(),_e};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Lt,_e){this._interactivityChecker.isFocusable(Lt)||(Lt.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Y=()=>{fe(),Et(),Lt.removeAttribute("tabindex")},fe=this._renderer.listen(Lt,"blur",Y),Et=this._renderer.listen(Lt,"mousedown",Y)})),Lt.focus(_e)}_focusByCssSelector(Lt,_e){let Y=this._elementRef.nativeElement.querySelector(Lt);Y&&this._forceFocus(Y,_e)}_trapFocus(Lt){this._isDestroyed||(0,s.mal)(()=>{const _e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||_e.focus(Lt);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(Lt)||this._focusDialogContainer(Lt);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',Lt);break;default:this._focusByCssSelector(this._config.autoFocus,Lt)}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){const Lt=this._config.restoreFocus;let _e=null;if("string"==typeof Lt?_e=this._document.querySelector(Lt):"boolean"==typeof Lt?_e=Lt?this._elementFocusedBeforeDialogWasOpened:null:Lt&&(_e=Lt),this._config.restoreFocus&&_e&&"function"==typeof _e.focus){const Y=(0,U.vc)(),fe=this._elementRef.nativeElement;(!Y||Y===this._document.body||Y===fe||fe.contains(Y))&&(this._focusMonitor?(this._focusMonitor.focusVia(_e,this._closeInteractionType),this._closeInteractionType=null):_e.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(Lt){this._elementRef.nativeElement.focus?.(Lt)}_containsFocus(){const Lt=this._elementRef.nativeElement,_e=(0,U.vc)();return Lt===_e||Lt.contains(_e)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,U.vc)()))}static \u0275fac=function(_e){return new(_e||E)};static \u0275cmp=s.VBU({type:E,selectors:[["cdk-dialog-container"]],viewQuery:function(_e,Y){if(1&_e&&s.GBs(b.I3,7),2&_e){let fe;s.mGM(fe=s.lsd())&&(Y._portalOutlet=fe.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(_e,Y){2&_e&&s.BMQ("id",Y._config.id||null)("role",Y._config.role)("aria-modal",Y._config.ariaModal)("aria-labelledby",Y._config.ariaLabel?null:Y._ariaLabelledByQueue[0])("aria-label",Y._config.ariaLabel)("aria-describedby",Y._config.ariaDescribedBy||null)},features:[s.Vt3],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(_e,Y){1&_e&&s.DNE(0,B,0,0,"ng-template",0)},dependencies:[b.I3],styles:[".cdk-dialog-container {\n display: block;\n width: 100%;\n height: 100%;\n min-height: inherit;\n max-height: inherit;\n}\n"],encapsulation:2,changeDetection:1})}class w{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new D.B;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(Lt,_e){this.overlayRef=Lt,this.config=_e,this.disableClose=_e.disableClose,this.backdropClick=Lt.backdropClick(),this.keydownEvents=Lt.keydownEvents(),this.outsidePointerEvents=Lt.outsidePointerEvents(),this.id=_e.id,this.keydownEvents.subscribe(Y=>{27===Y.keyCode&&!this.disableClose&&!(0,T.rp)(Y)&&(Y.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=Lt.detachments().subscribe(()=>{!1!==_e.closeOnOverlayDetachments&&this.close()})}close(Lt,_e){if(this._canClose(Lt)){const Y=this.closed;this.containerInstance._closeInteractionType=_e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),Y.next(Lt),Y.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Lt="",_e=""){return this.overlayRef.updateSize({width:Lt,height:_e}),this}addPanelClass(Lt){return this.overlayRef.addPanelClass(Lt),this}removePanelClass(Lt){return this.overlayRef.removePanelClass(Lt),this}_canClose(Lt){const _e=this.config;return!!this.containerInstance&&(!_e.closePredicate||_e.closePredicate(Lt,_e,this.componentInstance))}}const O=new f.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const Tn=(0,f.WQX)(f.zZn);return()=>(0,m.gA)(Tn)}}),Z=new f.nKC("DialogData"),Ee=new f.nKC("DefaultDialogConfig");function oe(Tn){const Lt=(0,f.vPA)(Tn),_e=new f.bkB;return{valueSignal:Lt,get value(){return Lt()},change:_e,ngOnDestroy(){_e.complete()}}}class j{_injector=(0,f.WQX)(f.zZn);_defaultOptions=(0,f.WQX)(Ee,{optional:!0});_parentDialog=(0,f.WQX)(j,{optional:!0,skipSelf:!0});_overlayContainer=(0,f.WQX)(m.Sf);_idGenerator=(0,f.WQX)(C.g);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new D.B;_afterOpenedAtThisLevel=new D.B;_ariaHiddenElements=new Map;_scrollStrategy=(0,f.WQX)(O);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=(0,y.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,J.Z)(void 0)));open(Lt,_e){(_e={...this._defaultOptions||new F,..._e}).id=_e.id||this._idGenerator.getId("cdk-dialog-"),_e.id&&this.getDialogById(_e.id);const fe=this._getOverlayConfig(_e),Et=(0,m.Y$)(this._injector,fe),Vt=new w(Et,_e),ln=this._attachContainer(Et,Vt,_e);if(Vt.containerInstance=ln,!this.openDialogs.length){const fn=this._overlayContainer.getContainerElement();ln._focusTrapped?ln._focusTrapped.pipe((0,I.s)(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(fn)}):this._hideNonDialogContentFromAssistiveTechnology(fn)}return this._attachDialogContent(Lt,Vt,ln,_e),this.openDialogs.push(Vt),Vt.closed.subscribe(()=>this._removeOpenDialog(Vt,!0)),this.afterOpened.next(Vt),Vt}closeAll(){te(this.openDialogs,Lt=>Lt.close())}getDialogById(Lt){return this.openDialogs.find(_e=>_e.id===Lt)}ngOnDestroy(){te(this._openDialogsAtThisLevel,Lt=>{!1===Lt.config.closeOnDestroy&&this._removeOpenDialog(Lt,!1)}),te(this._openDialogsAtThisLevel,Lt=>Lt.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(Lt){const _e=new m.rR({positionStrategy:Lt.positionStrategy||(0,m.uA)().centerHorizontally().centerVertically(),scrollStrategy:Lt.scrollStrategy||this._scrollStrategy(),panelClass:Lt.panelClass,hasBackdrop:Lt.hasBackdrop,direction:Lt.direction,minWidth:Lt.minWidth,minHeight:Lt.minHeight,maxWidth:Lt.maxWidth,maxHeight:Lt.maxHeight,width:Lt.width,height:Lt.height,disposeOnNavigation:Lt.closeOnNavigation,disableAnimations:Lt.disableAnimations});return Lt.backdropClass&&(_e.backdropClass=Lt.backdropClass),_e}_attachContainer(Lt,_e,Y){const fe=Y.injector||Y.viewContainerRef?.injector,Et=[{provide:F,useValue:Y},{provide:w,useValue:_e},{provide:m.yY,useValue:Lt}];let Vt;Y.container?"function"==typeof Y.container?Vt=Y.container:(Vt=Y.container.type,Et.push(...Y.container.providers(Y))):Vt=E;const ln=new b.A8(Vt,Y.viewContainerRef,f.zZn.create({parent:fe||this._injector,providers:Et}));return Lt.attach(ln).instance}_attachDialogContent(Lt,_e,Y,fe){if(Lt instanceof s.C4Q){const Et=this._createInjector(fe,_e,Y,void 0);let Vt={$implicit:fe.data,dialogRef:_e};fe.templateContext&&(Vt={...Vt,..."function"==typeof fe.templateContext?fe.templateContext():fe.templateContext}),Y.attachTemplatePortal(new b.VA(Lt,null,Vt,Et))}else{const Et=this._createInjector(fe,_e,Y,this._injector),Vt=Y.attachComponentPortal(new b.A8(Lt,fe.viewContainerRef,Et,null,fe.bindings));_e.componentRef=Vt,_e.componentInstance=Vt.instance}}_createInjector(Lt,_e,Y,fe){const Et=Lt.injector||Lt.viewContainerRef?.injector,Vt=[{provide:Z,useValue:Lt.data},{provide:w,useValue:_e}];return Lt.providers&&("function"==typeof Lt.providers?Vt.push(...Lt.providers(_e,Lt,Y)):Vt.push(...Lt.providers)),Lt.direction&&(!Et||!Et.get(R.dS,null,{optional:!0}))&&Vt.push({provide:R.dS,useValue:oe(Lt.direction)}),f.zZn.create({parent:Et||fe,providers:Vt})}_removeOpenDialog(Lt,_e){const Y=this.openDialogs.indexOf(Lt);Y>-1&&(this.openDialogs.splice(Y,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((fe,Et)=>{fe?Et.setAttribute("aria-hidden",fe):Et.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),_e&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(Lt){if(Lt.parentElement){const _e=Lt.parentElement.children;for(let Y=_e.length-1;Y>-1;Y--){const fe=_e[Y];fe!==Lt&&"SCRIPT"!==fe.nodeName&&"STYLE"!==fe.nodeName&&!fe.hasAttribute("aria-live")&&!fe.hasAttribute("popover")&&(this._ariaHiddenElements.set(fe,fe.getAttribute("aria-hidden")),fe.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const Lt=this._parentDialog;return Lt?Lt._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(_e){return new(_e||j)};static \u0275prov=s.tV_({token:j,factory:j.\u0275fac})}function te(Tn,Lt){let _e=Tn.length;for(;_e--;)Lt(Tn[_e])}class ce{static \u0275fac=function(_e){return new(_e||ce)};static \u0275mod=s.$C({type:ce,imports:[m.z_,b.jc,x.Pd,E],exports:[b.jc,E]});static \u0275inj=f.G2t({providers:[j],imports:[m.z_,b.jc,x.Pd,b.jc]})}var ye=h(48193),Le=h(38750),$e=h(32540),Tt=h(67527),We=h(84833),Me=h(32445),ut=h(35886);function xe(Tn,Lt){}class Te{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration;bindings}const Ce="mdc-dialog--open",et="mdc-dialog--opening",he="mdc-dialog--closing";class de extends E{_animationStateChanged=new f.bkB;_animationsEnabled=!(0,Le.Rc)();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?Fe(this._config.enterAnimationDuration)??150:0;_exitAnimationDuration=this._animationsEnabled?Fe(this._config.exitAnimationDuration)??75:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(G,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(et,Ce)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Ce),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Ce),this._animationsEnabled?(this._hostElement.style.setProperty(G,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(he)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(Lt){this._actionSectionCount+=Lt,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(et,he)}_waitForAnimationToComplete(Lt,_e){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(_e,Lt)}_requestAnimationFrame(Lt){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(Lt):Lt()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(Lt){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:Lt})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(Lt){const _e=super.attachComponentPortal(Lt);return _e.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),_e}static \u0275fac=(()=>{let Lt;return function(Y){return(Lt||(Lt=s.xGo(de)))(Y||de)}})();static \u0275cmp=s.VBU({type:de,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(_e,Y){2&_e&&(s.Avn("id",Y._config.id),s.BMQ("aria-modal",Y._config.ariaModal)("role",Y._config.role)("aria-labelledby",Y._config.ariaLabel?null:Y._ariaLabelledByQueue[0])("aria-label",Y._config.ariaLabel)("aria-describedby",Y._config.ariaDescribedBy||null),s.AVh("_mat-animation-noopable",!Y._animationsEnabled)("mat-mdc-dialog-container-with-actions",Y._actionSectionCount>0))},features:[s.Vt3],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(_e,Y){1&_e&&(s.j41(0,"div",0)(1,"div",1),s.DNE(2,xe,0,0,"ng-template",2),s.k0s()())},dependencies:[b.I3],styles:['.mat-mdc-dialog-container {\n width: 100%;\n height: 100%;\n display: block;\n box-sizing: border-box;\n max-height: inherit;\n min-height: inherit;\n min-width: inherit;\n max-width: inherit;\n outline: 0;\n}\n\n.cdk-overlay-pane.mat-mdc-dialog-panel {\n max-width: var(--%NS%mat-dialog-container-max-width, 560px);\n min-width: var(--%NS%mat-dialog-container-min-width, 280px);\n}\n@media (max-width: 599px) {\n .cdk-overlay-pane.mat-mdc-dialog-panel {\n max-width: var(--%NS%mat-dialog-container-small-max-width, calc(100vw - 32px));\n }\n}\n\n.mat-mdc-dialog-inner-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-around;\n box-sizing: border-box;\n height: 100%;\n opacity: 0;\n transition: opacity linear var(--%NS%mat-dialog-transition-duration, 0ms);\n max-height: inherit;\n min-height: inherit;\n min-width: inherit;\n max-width: inherit;\n}\n.mdc-dialog--closing .mat-mdc-dialog-inner-container {\n transition: opacity 75ms linear;\n transform: none;\n}\n.mdc-dialog--open .mat-mdc-dialog-inner-container {\n opacity: 1;\n}\n._mat-animation-noopable .mat-mdc-dialog-inner-container {\n transition: none;\n}\n\n.mat-mdc-dialog-surface {\n display: flex;\n flex-direction: column;\n flex-grow: 0;\n flex-shrink: 0;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n position: relative;\n overflow-y: auto;\n outline: 0;\n transform: scale(0.8);\n transition: transform var(--%NS%mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);\n max-height: inherit;\n min-height: inherit;\n min-width: inherit;\n max-width: inherit;\n box-shadow: var(--%NS%mat-dialog-container-elevation-shadow, none);\n border-radius: var(--%NS%mat-dialog-container-shape, var(--%NS%mat-sys-corner-extra-large, 4px));\n background-color: var(--%NS%mat-dialog-container-color, var(--%NS%mat-sys-surface, white));\n}\n[dir=rtl] .mat-mdc-dialog-surface {\n text-align: right;\n}\n.mdc-dialog--open .mat-mdc-dialog-surface, .mdc-dialog--closing .mat-mdc-dialog-surface {\n transform: none;\n}\n._mat-animation-noopable .mat-mdc-dialog-surface {\n transition: none;\n}\n.mat-mdc-dialog-surface::before {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n border: 2px solid transparent;\n border-radius: inherit;\n content: "";\n pointer-events: none;\n}\n\n.mat-mdc-dialog-title {\n display: block;\n position: relative;\n flex-shrink: 0;\n box-sizing: border-box;\n margin: 0 0 1px;\n padding: var(--%NS%mat-dialog-headline-padding, 6px 24px 13px);\n}\n.mat-mdc-dialog-title::before {\n display: inline-block;\n width: 0;\n height: 40px;\n content: "";\n vertical-align: 0;\n}\n[dir=rtl] .mat-mdc-dialog-title {\n text-align: right;\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-title {\n color: var(--%NS%mat-dialog-subhead-color, var(--%NS%mat-sys-on-surface, rgba(0, 0, 0, 0.87)));\n font-family: var(--%NS%mat-dialog-subhead-font, var(--%NS%mat-sys-headline-small-font, inherit));\n line-height: var(--%NS%mat-dialog-subhead-line-height, var(--%NS%mat-sys-headline-small-line-height, 1.5rem));\n font-size: var(--%NS%mat-dialog-subhead-size, var(--%NS%mat-sys-headline-small-size, 1rem));\n font-weight: var(--%NS%mat-dialog-subhead-weight, var(--%NS%mat-sys-headline-small-weight, 400));\n letter-spacing: var(--%NS%mat-dialog-subhead-tracking, var(--%NS%mat-sys-headline-small-tracking, 0.03125em));\n}\n\n.mat-mdc-dialog-content {\n display: block;\n flex-grow: 1;\n box-sizing: border-box;\n margin: 0;\n overflow: auto;\n max-height: 65vh;\n}\n.mat-mdc-dialog-content > :first-child {\n margin-top: 0;\n}\n.mat-mdc-dialog-content > :last-child {\n margin-bottom: 0;\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-content {\n color: var(--%NS%mat-dialog-supporting-text-color, var(--%NS%mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));\n font-family: var(--%NS%mat-dialog-supporting-text-font, var(--%NS%mat-sys-body-medium-font, inherit));\n line-height: var(--%NS%mat-dialog-supporting-text-line-height, var(--%NS%mat-sys-body-medium-line-height, 1.5rem));\n font-size: var(--%NS%mat-dialog-supporting-text-size, var(--%NS%mat-sys-body-medium-size, 1rem));\n font-weight: var(--%NS%mat-dialog-supporting-text-weight, var(--%NS%mat-sys-body-medium-weight, 400));\n letter-spacing: var(--%NS%mat-dialog-supporting-text-tracking, var(--%NS%mat-sys-body-medium-tracking, 0.03125em));\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-content {\n padding: var(--%NS%mat-dialog-content-padding, 20px 24px);\n}\n.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content {\n padding: var(--%NS%mat-dialog-with-actions-content-padding, 20px 24px 0);\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-title + .mat-mdc-dialog-content {\n padding-top: 0;\n}\n\n.mat-mdc-dialog-actions {\n display: flex;\n position: relative;\n flex-shrink: 0;\n flex-wrap: wrap;\n align-items: center;\n box-sizing: border-box;\n min-height: 52px;\n margin: 0;\n border-top: 1px solid transparent;\n padding: var(--%NS%mat-dialog-actions-padding, 16px 24px);\n justify-content: var(--%NS%mat-dialog-actions-alignment, flex-end);\n}\n@media (forced-colors: active) {\n .mat-mdc-dialog-actions {\n border-top-color: CanvasText;\n }\n}\n.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start, .mat-mdc-dialog-actions[align=start] {\n justify-content: start;\n}\n.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center, .mat-mdc-dialog-actions[align=center] {\n justify-content: center;\n}\n.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end, .mat-mdc-dialog-actions[align=end] {\n justify-content: flex-end;\n}\n.mat-mdc-dialog-actions .mat-button-base + .mat-button-base,\n.mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base {\n margin-left: 8px;\n}\n[dir=rtl] .mat-mdc-dialog-actions .mat-button-base + .mat-button-base,\n[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base {\n margin-left: 0;\n margin-right: 8px;\n}\n\n.mat-mdc-dialog-component-host {\n display: contents;\n}\n'],encapsulation:2,changeDetection:1})}const G="--mat-dialog-transition-duration";function Fe(Tn){return null==Tn?null:"number"==typeof Tn?Tn:Tn.endsWith("ms")?(0,ye.OE)(Tn.substring(0,Tn.length-2)):Tn.endsWith("s")?1e3*(0,ye.OE)(Tn.substring(0,Tn.length-1)):"0"===Tn?0:null}var He,Tn;(Tn=He||(He={}))[Tn.OPEN=0]="OPEN",Tn[Tn.CLOSING=1]="CLOSING",Tn[Tn.CLOSED=2]="CLOSED";class wt{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new $e.m(1);_beforeClosed=new $e.m(1);_result;_closeFallbackTimeout;_state=He.OPEN;_closeInteractionType;constructor(Lt,_e,Y){this._ref=Lt,this._config=_e,this._containerInstance=Y,this.disableClose=_e.disableClose,this.id=Lt.id,Lt.addPanelClass("mat-mdc-dialog-panel"),Y._animationStateChanged.pipe((0,We.p)(fe=>"opened"===fe.state),(0,I.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Y._animationStateChanged.pipe((0,We.p)(fe=>"closed"===fe.state),(0,I.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Lt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Tt.h)(this.backdropClick(),this.keydownEvents().pipe((0,We.p)(fe=>27===fe.keyCode&&!this.disableClose&&!(0,T.rp)(fe)))).subscribe(fe=>{this.disableClose||(fe.preventDefault(),Jt(this,"keydown"===fe.type?"keyboard":"mouse"))})}close(Lt){const _e=this._config.closePredicate;_e&&!_e(Lt,this._config,this.componentInstance)||(this._result=Lt,this._containerInstance._animationStateChanged.pipe((0,We.p)(Y=>"closing"===Y.state),(0,I.s)(1)).subscribe(Y=>{this._beforeClosed.next(Lt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),Y.totalTime+100)}),this._state=He.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(Lt){let _e=this._ref.config.positionStrategy;return Lt&&(Lt.left||Lt.right)?Lt.left?_e.left(Lt.left):_e.right(Lt.right):_e.centerHorizontally(),Lt&&(Lt.top||Lt.bottom)?Lt.top?_e.top(Lt.top):_e.bottom(Lt.bottom):_e.centerVertically(),this._ref.updatePosition(),this}updateSize(Lt="",_e=""){return this._ref.updateSize(Lt,_e),this}addPanelClass(Lt){return this._ref.addPanelClass(Lt),this}removePanelClass(Lt){return this._ref.removePanelClass(Lt),this}getState(){return this._state}_finishDialogClose(){this._state=He.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Jt(Tn,Lt,_e){return Tn._closeInteractionType=Lt,Tn.close(_e)}const ee=new f.nKC("MatMdcDialogData"),V=new f.nKC("mat-mdc-dialog-default-options"),ue=new f.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const Tn=(0,f.WQX)(f.zZn);return()=>(0,m.gA)(Tn)}});class De{_defaultOptions=(0,f.WQX)(V,{optional:!0});_scrollStrategy=(0,f.WQX)(ue);_parentDialog=(0,f.WQX)(De,{optional:!0,skipSelf:!0});_idGenerator=(0,f.WQX)(C.g);_injector=(0,f.WQX)(f.zZn);_dialog=(0,f.WQX)(j);_animationsDisabled=(0,Le.Rc)();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new D.B;_afterOpenedAtThisLevel=new D.B;dialogConfigClass=Te;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const Lt=this._parentDialog;return Lt?Lt._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=(0,y.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,J.Z)(void 0)));constructor(){this._dialogRefConstructor=wt,this._dialogContainerType=de,this._dialogDataToken=ee}open(Lt,_e){let Y;(_e={...this._defaultOptions||new Te,..._e}).id=_e.id||this._idGenerator.getId("mat-mdc-dialog-"),_e.scrollStrategy=_e.scrollStrategy||this._scrollStrategy();const fe=this._dialog.open(Lt,{..._e,positionStrategy:(0,m.uA)(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||"0"===_e.enterAnimationDuration?.toLocaleString()||"0"===_e.exitAnimationDuration?.toString(),container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:_e},{provide:F,useValue:_e}]},templateContext:()=>({dialogRef:Y}),providers:(Et,Vt,ln)=>(Y=new this._dialogRefConstructor(Et,_e,ln),Y.updatePosition(_e?.position),[{provide:this._dialogContainerType,useValue:ln},{provide:this._dialogDataToken,useValue:Vt.data},{provide:this._dialogRefConstructor,useValue:Y}])});return Y.componentRef=fe.componentRef,Y.componentInstance=fe.componentInstance,this.openDialogs.push(Y),this.afterOpened.next(Y),Y.afterClosed().subscribe(()=>{const Et=this.openDialogs.indexOf(Y);Et>-1&&(this.openDialogs.splice(Et,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Y}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(Lt){return this.openDialogs.find(_e=>_e.id===Lt)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(Lt){let _e=Lt.length;for(;_e--;)Lt[_e].close()}static \u0275fac=function(_e){return new(_e||De)};static \u0275prov=s.tV_({token:De,factory:De.\u0275fac})}class rt{dialogRef=(0,f.WQX)(wt,{optional:!0});_elementRef=(0,f.WQX)(s.aKT);_dialog=(0,f.WQX)(De);ariaLabel;type="button";dialogResult;_matDialogClose;ngOnInit(){this.dialogRef||(this.dialogRef=Mt(this._elementRef,this._dialog.openDialogs))}ngOnChanges(Lt){const _e=Lt._matDialogClose;_e&&(this.dialogResult=_e.currentValue)}_onButtonClick(Lt){"true"!==this._elementRef.nativeElement.getAttribute("aria-disabled")&&Jt(this.dialogRef,0===Lt.screenX&&0===Lt.screenY?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(_e){return new(_e||rt)};static \u0275dir=s.FsC({type:rt,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(_e,Y){1&_e&&s.bIt("click",function(Et){return Y._onButtonClick(Et)}),2&_e&&s.BMQ("aria-label",Y.ariaLabel||null)("type",Y.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[s.OA$]})}class It{_dialogRef=(0,f.WQX)(wt,{optional:!0});_elementRef=(0,f.WQX)(s.aKT);_dialog=(0,f.WQX)(De);ngOnInit(){this._dialogRef||(this._dialogRef=Mt(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(_e){return new(_e||It)};static \u0275dir=s.FsC({type:It})}class Kt extends It{id=(0,f.WQX)(C.g).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let Lt;return function(Y){return(Lt||(Lt=s.xGo(Kt)))(Y||Kt)}})();static \u0275dir=s.FsC({type:Kt,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(_e,Y){2&_e&&s.Avn("id",Y.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[s.Vt3]})}class Ht{static \u0275fac=function(_e){return new(_e||Ht)};static \u0275dir=s.FsC({type:Ht,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[s.nM4([Me.uv])]})}class ze extends It{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let Lt;return function(Y){return(Lt||(Lt=s.xGo(ze)))(Y||ze)}})();static \u0275dir=s.FsC({type:ze,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(_e,Y){2&_e&&s.AVh("mat-mdc-dialog-actions-align-start","start"===Y.align)("mat-mdc-dialog-actions-align-center","center"===Y.align)("mat-mdc-dialog-actions-align-end","end"===Y.align)},inputs:{align:"align"},features:[s.Vt3]})}function Mt(Tn,Lt){let _e=Tn.nativeElement.parentElement;for(;_e&&!_e.classList.contains("mat-mdc-dialog-container");)_e=_e.parentElement;return _e?Lt.find(Y=>Y.id===_e.id):null}class bn{static \u0275fac=function(_e){return new(_e||bn)};static \u0275mod=s.$C({type:bn,imports:[ce,m.z_,b.jc,de,rt,Kt,ze,Ht],exports:[ut.jI,de,rt,Kt,ze,Ht]});static \u0275inj=f.G2t({providers:[De],imports:[ce,m.z_,b.jc,ut.jI]})}},14520(st,pe,h){"use strict";h.d(pe,{R:()=>y});var m=h(3061),s=h(35886),f=h(71581),P=h(28939),D=h(70903);class y{static \u0275fac=function(N){return new(N||y)};static \u0275mod=D.$C({type:y,imports:[f.w5,m.rl,m.nJ,m.TL,m.MV,m.JW,m.yw],exports:[m.rl,m.nJ,m.MV,m.TL,m.JW,m.yw,s.jI]});static \u0275inj=P.G2t({imports:[f.w5,m.rl,s.jI]})}},76982(st,pe,h){"use strict";h.d(pe,{m_:()=>Me});var m=h(70903),s=h(28939),f=h(39962),P=h(23054),D=h(56276),y=h(6217),b=h(12592),x=h(20410),N=h(47086),M=h(36413),U=h(31703),J=h(22914),I=h(65229),T=h(77280),C=h(97497),R=h(29932);function B(ut){return Error(`Unable to find icon with the name "${ut}"`)}function $(ut){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${ut}".`)}function E(ut){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${ut}".`)}class w{url;svgText;options;svgElement=null;constructor(xe,Te,Ce){this.url=xe,this.svgText=Te,this.options=Ce}}class O{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(xe,Te,Ce,et){this._httpClient=xe,this._sanitizer=Te,this._errorHandler=et,this._document=Ce}addSvgIcon(xe,Te,Ce){return this.addSvgIconInNamespace("",xe,Te,Ce)}addSvgIconLiteral(xe,Te,Ce){return this.addSvgIconLiteralInNamespace("",xe,Te,Ce)}addSvgIconInNamespace(xe,Te,Ce,et){return this._addSvgIconConfig(xe,Te,new w(Ce,null,et))}addSvgIconResolver(xe){return this._resolvers.push(xe),this}addSvgIconLiteralInNamespace(xe,Te,Ce,et){const he=this._sanitizer.sanitize(s.WPN.HTML,Ce);if(!he)throw E(Ce);const ve=(0,y.Mv)(he);return this._addSvgIconConfig(xe,Te,new w("",ve,et))}addSvgIconSet(xe,Te){return this.addSvgIconSetInNamespace("",xe,Te)}addSvgIconSetLiteral(xe,Te){return this.addSvgIconSetLiteralInNamespace("",xe,Te)}addSvgIconSetInNamespace(xe,Te,Ce){return this._addSvgIconSetConfig(xe,new w(Te,null,Ce))}addSvgIconSetLiteralInNamespace(xe,Te,Ce){const et=this._sanitizer.sanitize(s.WPN.HTML,Te);if(!et)throw E(Te);const he=(0,y.Mv)(et);return this._addSvgIconSetConfig(xe,new w("",he,Ce))}registerFontClassAlias(xe,Te=xe){return this._fontCssClassesByAlias.set(xe,Te),this}classNameForFontAlias(xe){return this._fontCssClassesByAlias.get(xe)||xe}setDefaultFontSetClass(...xe){return this._defaultFontSetClass=xe,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(xe){const Te=this._sanitizer.sanitize(s.WPN.RESOURCE_URL,xe);if(!Te)throw $(xe);const Ce=this._cachedIconsByUrl.get(Te);return Ce?(0,N.of)(Z(Ce)):this._loadSvgIconFromConfig(new w(xe,null)).pipe((0,J.M)(et=>this._cachedIconsByUrl.set(Te,et)),(0,I.T)(et=>Z(et)))}getNamedSvgIcon(xe,Te=""){const Ce=Ee(Te,xe);let et=this._svgIconConfigs.get(Ce);if(et)return this._getSvgFromConfig(et);if(et=this._getIconConfigFromResolvers(Te,xe),et)return this._svgIconConfigs.set(Ce,et),this._getSvgFromConfig(et);const he=this._iconSetConfigs.get(Te);return he?this._getSvgFromIconSetConfigs(xe,he):(0,M.$)(B(Ce))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(xe){return xe.svgText?(0,N.of)(Z(this._svgElementFromConfig(xe))):this._loadSvgIconFromConfig(xe).pipe((0,I.T)(Te=>Z(Te)))}_getSvgFromIconSetConfigs(xe,Te){const Ce=this._extractIconWithNameFromAnySet(xe,Te);if(Ce)return(0,N.of)(Ce);const et=Te.filter(he=>!he.svgText).map(he=>this._loadSvgIconSetFromConfig(he).pipe((0,T.W)(ve=>{const de=`Loading icon set URL: ${this._sanitizer.sanitize(s.WPN.RESOURCE_URL,he.url)} failed: ${ve.message}`;return this._errorHandler.handleError(new Error(de)),(0,N.of)(null)})));return(0,U.p)(et).pipe((0,I.T)(()=>{const he=this._extractIconWithNameFromAnySet(xe,Te);if(!he)throw B(xe);return he}))}_extractIconWithNameFromAnySet(xe,Te){for(let Ce=Te.length-1;Ce>=0;Ce--){const et=Te[Ce];if(et.svgText&&et.svgText.toString().indexOf(xe)>-1){const he=this._svgElementFromConfig(et),ve=this._extractSvgIconFromSet(he,xe,et.options);if(ve)return ve}}return null}_loadSvgIconFromConfig(xe){return this._fetchIcon(xe).pipe((0,J.M)(Te=>xe.svgText=Te),(0,I.T)(()=>this._svgElementFromConfig(xe)))}_loadSvgIconSetFromConfig(xe){return xe.svgText?(0,N.of)(null):this._fetchIcon(xe).pipe((0,J.M)(Te=>xe.svgText=Te))}_extractSvgIconFromSet(xe,Te,Ce){const et=xe.querySelector(`[id="${Te}"]`);if(!et)return null;const he=et.cloneNode(!0);if(he.removeAttribute("id"),"svg"===he.nodeName.toLowerCase())return this._setSvgAttributes(he,Ce);if("symbol"===he.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(he),Ce);const ve=this._svgElementFromString((0,y.Mv)("<svg></svg>"));return ve.appendChild(he),this._setSvgAttributes(ve,Ce)}_svgElementFromString(xe){const Te=this._document.createElement("DIV");Te.innerHTML=xe;const Ce=Te.querySelector("svg");if(!Ce)throw Error("<svg> tag not found");return Ce}_toSvgElement(xe){const Te=this._svgElementFromString((0,y.Mv)("<svg></svg>")),Ce=xe.attributes;for(let et=0;et<Ce.length;et++){const{name:he,value:ve}=Ce[et];"id"!==he&&Te.setAttribute(he,ve)}for(let et=0;et<xe.childNodes.length;et++)xe.childNodes[et].nodeType===this._document.ELEMENT_NODE&&Te.appendChild(xe.childNodes[et].cloneNode(!0));return Te}_setSvgAttributes(xe,Te){return xe.setAttribute("fit",""),xe.setAttribute("height","100%"),xe.setAttribute("width","100%"),xe.setAttribute("preserveAspectRatio","xMidYMid meet"),xe.setAttribute("focusable","false"),Te&&Te.viewBox&&xe.setAttribute("viewBox",Te.viewBox),xe}_fetchIcon(xe){const{url:Te,options:Ce}=xe,et=Ce?.withCredentials??!1;if(!this._httpClient)throw function F(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}();if(null==Te)throw Error(`Cannot fetch icon from URL "${Te}".`);const he=this._sanitizer.sanitize(s.WPN.RESOURCE_URL,Te);if(!he)throw $(Te);const ve=this._inProgressUrlFetches.get(he);if(ve)return ve;const be=this._httpClient.get(he,{responseType:"text",withCredentials:et}).pipe((0,I.T)(de=>(0,y.Mv)(de)),(0,C.j)(()=>this._inProgressUrlFetches.delete(he)),(0,R.u)());return this._inProgressUrlFetches.set(he,be),be}_addSvgIconConfig(xe,Te,Ce){return this._svgIconConfigs.set(Ee(xe,Te),Ce),this}_addSvgIconSetConfig(xe,Te){const Ce=this._iconSetConfigs.get(xe);return Ce?Ce.push(Te):this._iconSetConfigs.set(xe,[Te]),this}_svgElementFromConfig(xe){if(!xe.svgElement){const Te=this._svgElementFromString(xe.svgText);this._setSvgAttributes(Te,xe.options),xe.svgElement=Te}return xe.svgElement}_getIconConfigFromResolvers(xe,Te){for(let Ce=0;Ce<this._resolvers.length;Ce++){const et=this._resolvers[Ce](Te,xe);if(et)return oe(et)?new w(et.url,null,et.options):new w(et,null)}}static \u0275fac=function(Te){return new(Te||O)(s.KVO(b.Qq,8),s.KVO(x.up),s.KVO(s.qQL,8),s.KVO(s.zcH))};static \u0275prov=s.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}function Z(ut){return ut.cloneNode(!0)}function Ee(ut,xe){return ut+":"+xe}function oe(ut){return!(!ut.url||!ut.options)}var j=h(35886);const te=["*"],ce=new s.nKC("MAT_ICON_DEFAULT_OPTIONS"),ye=new s.nKC("mat-icon-location",{providedIn:"root",factory:()=>{const ut=(0,s.WQX)(s.qQL),xe=ut?ut.location:null;return{getPathname:()=>xe?xe.pathname+xe.search:""}}}),Le=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],$e=Le.map(ut=>`[${ut}]`).join(", "),Tt=/^url\(['"]?#(.*?)['"]?\)$/;class We{_elementRef=(0,s.WQX)(m.aKT);_iconRegistry=(0,s.WQX)(O);_location=(0,s.WQX)(ye);_errorHandler=(0,s.WQX)(s.zcH);_defaultColor;get color(){return this._color||this._defaultColor}set color(xe){this._color=xe}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(xe){xe!==this._svgIcon&&(xe?this._updateSvgIcon(xe):this._svgIcon&&this._clearSvgElement(),this._svgIcon=xe)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(xe){const Te=this._cleanupFontValue(xe);Te!==this._fontSet&&(this._fontSet=Te,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(xe){const Te=this._cleanupFontValue(xe);Te!==this._fontIcon&&(this._fontIcon=Te,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName=null;_svgNamespace=null;_previousPath;_elementsWithExternalReferences;_currentIconFetch=P.yU.EMPTY;constructor(){const xe=(0,s.WQX)(new f.ES_("aria-hidden"),{optional:!0}),Te=(0,s.WQX)(ce,{optional:!0});Te&&(Te.color&&(this.color=this._defaultColor=Te.color),Te.fontSet&&(this.fontSet=Te.fontSet)),xe||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(xe){if(!xe)return["",""];const Te=xe.split(":");switch(Te.length){case 1:return["",Te[0]];case 2:return Te;default:throw Error(`Invalid icon name: "${xe}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const xe=this._elementsWithExternalReferences;if(xe&&xe.size){const Te=this._location.getPathname();Te!==this._previousPath&&(this._previousPath=Te,this._prependPathToReferences(Te))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(xe){this._clearSvgElement();const Te=this._location.getPathname();this._previousPath=Te,this._cacheChildrenWithExternalReferences(xe),this._prependPathToReferences(Te),this._elementRef.nativeElement.appendChild(xe)}_clearSvgElement(){const xe=this._elementRef.nativeElement;let Te=xe.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Te--;){const Ce=xe.childNodes[Te];(1!==Ce.nodeType||"svg"===Ce.nodeName.toLowerCase())&&Ce.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const xe=this._elementRef.nativeElement,Te=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ce=>Ce.length>0);this._previousFontSetClass.forEach(Ce=>xe.classList.remove(Ce)),Te.forEach(Ce=>xe.classList.add(Ce)),this._previousFontSetClass=Te,this.fontIcon!==this._previousFontIconClass&&!Te.includes("mat-ligature-font")&&(this._previousFontIconClass&&xe.classList.remove(this._previousFontIconClass),this.fontIcon&&xe.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(xe){return"string"==typeof xe?xe.trim().split(" ")[0]:xe}_prependPathToReferences(xe){const Te=this._elementsWithExternalReferences;Te&&Te.forEach((Ce,et)=>{Ce.forEach(he=>{et.setAttribute(he.name,`url('${xe}#${he.value}')`)})})}_cacheChildrenWithExternalReferences(xe){const Te=xe.querySelectorAll($e),Ce=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let et=0;et<Te.length;et++)Le.forEach(he=>{const ve=Te[et],be=ve.getAttribute(he),de=be?be.match(Tt):null;if(de){let G=Ce.get(ve);G||(G=[],Ce.set(ve,G)),G.push({name:he,value:de[1]})}})}_updateSvgIcon(xe){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),xe){const[Te,Ce]=this._splitIconName(xe);Te&&(this._svgNamespace=Te),Ce&&(this._svgName=Ce),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ce,Te).pipe((0,D.s)(1)).subscribe(et=>this._setSvgElement(et),et=>{const he=`Error retrieving icon ${Te}:${Ce}! ${et.message}`;this._errorHandler.handleError(new Error(he))})}}static \u0275fac=function(Te){return new(Te||We)};static \u0275cmp=m.VBU({type:We,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(Te,Ce){2&Te&&(m.BMQ("data-mat-icon-type",Ce._usingFontIcon()?"font":"svg")("data-mat-icon-name",Ce._svgName||Ce.fontIcon)("data-mat-icon-namespace",Ce._svgNamespace||Ce.fontSet)("fontIcon",Ce._usingFontIcon()?Ce.fontIcon:null),m.HbH(Ce.color?"mat-"+Ce.color:""),m.AVh("mat-icon-inline",Ce.inline)("mat-icon-no-color","primary"!==Ce.color&&"accent"!==Ce.color&&"warn"!==Ce.color))},inputs:{color:"color",inline:[2,"inline","inline",f.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:te,decls:1,vars:0,template:function(Te,Ce){1&Te&&(m.NAR(),m.SdG(0))},styles:["mat-icon, mat-icon.mat-primary, mat-icon.mat-accent, mat-icon.mat-warn {\n color: var(--%NS%mat-icon-color, inherit);\n}\n\n.mat-icon {\n -webkit-user-select: none;\n user-select: none;\n background-repeat: no-repeat;\n display: inline-block;\n fill: currentColor;\n height: 24px;\n width: 24px;\n overflow: hidden;\n}\n.mat-icon.mat-icon-inline {\n font-size: inherit;\n height: inherit;\n line-height: inherit;\n width: inherit;\n}\n.mat-icon.mat-ligature-font[fontIcon]::before {\n content: attr(fontIcon);\n}\n\n[dir=rtl] .mat-icon-rtl-mirror {\n transform: scale(-1, 1);\n}\n\n.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,\n.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon {\n display: block;\n}\n.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,\n.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon {\n margin: auto;\n}\n"],encapsulation:2})}class Me{static \u0275fac=function(Te){return new(Te||Me)};static \u0275mod=m.$C({type:Me,imports:[We],exports:[We,j.jI]});static \u0275inj=s.G2t({imports:[j.jI]})}},25710(st,pe,h){"use strict";h.d(pe,{iy:()=>Ee});var m=h(28939),s=h(70903),f=h(39962),P=h(1396),D=h(55919),y=h(32540),b=h(3061),x=h(78406),N=h(18171),M=h(36960),U=h(83297),J=h(81086),I=h(11397);function T(j,te){if(1&j&&(s.j41(0,"mat-option",17),s.EFF(1),s.k0s()),2&j){const ce=te.$implicit;s.Y8G("value",ce),s.R7$(),s.SpI(" ",ce," ")}}function C(j,te){if(1&j){const ce=s.RV6();s.j41(0,"mat-form-field",14)(1,"mat-select",16,0),s.bIt("selectionChange",function(Le){m.eBV(ce);const $e=s.XpG(2);return m.Njj($e._changePageSize(Le.value))}),s.Z7z(3,T,2,2,"mat-option",17,s.fX1),s.k0s(),s.j41(5,"div",18),s.bIt("click",function(){m.eBV(ce);const Le=s.sdS(2);return m.Njj(Le.open())}),s.k0s()()}if(2&j){const ce=s.XpG(2);s.Y8G("appearance",ce._formFieldAppearance)("color",ce.color),s.R7$(),s.Y8G("value",ce.pageSize)("disabled",ce.disabled),s.jOp("aria-labelledby",ce._pageSizeLabelId),s.Y8G("panelClass",ce.selectConfig.panelClass||"")("disableOptionCentering",ce.selectConfig.disableOptionCentering),s.R7$(2),s.Dyx(ce._displayedPageSizeOptions)}}function R(j,te){if(1&j&&(s.j41(0,"div",15),s.EFF(1),s.k0s()),2&j){const ce=s.XpG(2);s.R7$(),s.JRh(ce.pageSize)}}function B(j,te){if(1&j&&(s.j41(0,"div",3)(1,"div",13),s.EFF(2),s.k0s(),s.nVh(3,C,6,7,"mat-form-field",14),s.nVh(4,R,2,1,"div",15),s.k0s()),2&j){const ce=s.XpG();s.R7$(),s.BMQ("id",ce._pageSizeLabelId),s.R7$(),s.SpI(" ",ce._intl.itemsPerPageLabel," "),s.R7$(),s.vxM(ce._displayedPageSizeOptions.length>1?3:-1),s.R7$(),s.vxM(ce._displayedPageSizeOptions.length<=1?4:-1)}}function F(j,te){if(1&j){const ce=s.RV6();s.j41(0,"button",19),s.bIt("click",function(){m.eBV(ce);const Le=s.XpG();return m.Njj(Le._buttonClicked(0,Le._previousButtonsDisabled()))}),m.qSk(),s.j41(1,"svg",8),s.nrm(2,"path",20),s.k0s()()}if(2&j){const ce=s.XpG();s.Y8G("matTooltip",ce._intl.firstPageLabel)("matTooltipDisabled",ce._previousButtonsDisabled())("disabled",ce._previousButtonsDisabled())("tabindex",ce._previousButtonsDisabled()?-1:null),s.BMQ("aria-label",ce._intl.firstPageLabel)}}function $(j,te){if(1&j){const ce=s.RV6();s.j41(0,"button",21),s.bIt("click",function(){m.eBV(ce);const Le=s.XpG();return m.Njj(Le._buttonClicked(Le.getNumberOfPages()-1,Le._nextButtonsDisabled()))}),m.qSk(),s.j41(1,"svg",8),s.nrm(2,"path",22),s.k0s()()}if(2&j){const ce=s.XpG();s.Y8G("matTooltip",ce._intl.lastPageLabel)("matTooltipDisabled",ce._nextButtonsDisabled())("disabled",ce._nextButtonsDisabled())("tabindex",ce._nextButtonsDisabled()?-1:null),s.BMQ("aria-label",ce._intl.lastPageLabel)}}class E{changes=new D.B;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(te,ce,ye)=>{if(0==ye||0==ce)return`0 of ${ye}`;const Le=te*ce;return`${Le+1} \u2013 ${Le<(ye=Math.max(ye,0))?Math.min(Le+ce,ye):Le+ce} of ${ye}`};static \u0275fac=function(ce){return new(ce||E)};static \u0275prov=s.tV_({token:E,factory:E.\u0275fac})}const Z=new m.nKC("MAT_PAGINATOR_DEFAULT_OPTIONS");class Ee{_intl=(0,m.WQX)(E);_changeDetectorRef=(0,m.WQX)(f.gRc);_formFieldAppearance;_pageSizeLabelId=(0,m.WQX)(P.g).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new y.m(1);color;get pageIndex(){return this._pageIndex}set pageIndex(te){this._pageIndex=Math.max(te||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(te){this._length=te||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(te){this._pageSize=Math.max(te||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(te){this._pageSizeOptions=(te||[]).map(ce=>(0,f.Udg)(ce,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new m.bkB;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(){const te=this._intl,ce=(0,m.WQX)(Z,{optional:!0});if(this._intlChanges=te.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),ce){const{pageSize:ye,pageSizeOptions:Le,hidePageSize:$e,showFirstLastButtons:Tt}=ce;null!=ye&&(this._pageSize=ye),null!=Le&&(this._pageSizeOptions=Le),null!=$e&&(this.hidePageSize=$e),null!=Tt&&(this.showFirstLastButtons=Tt)}this._formFieldAppearance=ce?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){this.hasNextPage()&&this._navigate(this.pageIndex+1)}previousPage(){this.hasPreviousPage()&&this._navigate(this.pageIndex-1)}firstPage(){this.hasPreviousPage()&&this._navigate(0)}lastPage(){this.hasNextPage()&&this._navigate(this.getNumberOfPages()-1)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const te=this.getNumberOfPages()-1;return this.pageIndex<te&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(te){const ce=this.pageIndex*this.pageSize,ye=this.pageIndex;this.pageIndex=Math.floor(ce/te)||0,this.pageSize=te,this._emitPageEvent(ye)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._isInitialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((te,ce)=>te-ce),this._changeDetectorRef.markForCheck())}_emitPageEvent(te){this.page.emit({previousPageIndex:te,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}_navigate(te){const ce=this.pageIndex;te!==ce&&(this.pageIndex=te,this._emitPageEvent(ce))}_buttonClicked(te,ce){ce||this._navigate(te)}static \u0275fac=function(ce){return new(ce||Ee)};static \u0275cmp=s.VBU({type:Ee,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",f.Udg],length:[2,"length","length",f.Udg],pageSize:[2,"pageSize","pageSize",f.Udg],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",f.L39],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",f.L39],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",f.L39]},outputs:{page:"page"},exportAs:["matPaginator"],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-atomic","true","aria-live","polite","role","status",1,"mat-mdc-paginator-range-label"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["aria-hidden","true",1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(ce,ye){1&ce&&(s.j41(0,"div",1)(1,"div",2),s.nVh(2,B,5,4,"div",3),s.j41(3,"div",4)(4,"div",5),s.EFF(5),s.k0s(),s.nVh(6,F,3,5,"button",6),s.j41(7,"button",7),s.bIt("click",function(){return ye._buttonClicked(ye.pageIndex-1,ye._previousButtonsDisabled())}),m.qSk(),s.j41(8,"svg",8),s.nrm(9,"path",9),s.k0s()(),m.joV(),s.j41(10,"button",10),s.bIt("click",function(){return ye._buttonClicked(ye.pageIndex+1,ye._nextButtonsDisabled())}),m.qSk(),s.j41(11,"svg",8),s.nrm(12,"path",11),s.k0s()(),s.nVh(13,$,3,5,"button",12),s.k0s()()()),2&ce&&(s.R7$(2),s.vxM(ye.hidePageSize?-1:2),s.R7$(3),s.SpI(" ",ye._intl.getRangeLabel(ye.pageIndex,ye.pageSize,ye.length)," "),s.R7$(),s.vxM(ye.showFirstLastButtons?6:-1),s.R7$(),s.Y8G("matTooltip",ye._intl.previousPageLabel)("matTooltipDisabled",ye._previousButtonsDisabled())("disabled",ye._previousButtonsDisabled())("tabindex",ye._previousButtonsDisabled()?-1:null),s.BMQ("aria-label",ye._intl.previousPageLabel),s.R7$(3),s.Y8G("matTooltip",ye._intl.nextPageLabel)("matTooltipDisabled",ye._nextButtonsDisabled())("disabled",ye._nextButtonsDisabled())("tabindex",ye._nextButtonsDisabled()?-1:null),s.BMQ("aria-label",ye._intl.nextPageLabel),s.R7$(3),s.vxM(ye.showFirstLastButtons?13:-1))},dependencies:[b.rl,x.VO,N.wT,M.iY,U.oV],styles:[".mat-mdc-paginator {\n display: block;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n color: var(--%NS%mat-paginator-container-text-color, var(--%NS%mat-sys-on-surface));\n background-color: var(--%NS%mat-paginator-container-background-color, var(--%NS%mat-sys-surface));\n font-family: var(--%NS%mat-paginator-container-text-font, var(--%NS%mat-sys-body-small-font));\n line-height: var(--%NS%mat-paginator-container-text-line-height, var(--%NS%mat-sys-body-small-line-height));\n font-size: var(--%NS%mat-paginator-container-text-size, var(--%NS%mat-sys-body-small-size));\n font-weight: var(--%NS%mat-paginator-container-text-weight, var(--%NS%mat-sys-body-small-weight));\n letter-spacing: var(--%NS%mat-paginator-container-text-tracking, var(--%NS%mat-sys-body-small-tracking));\n --%NS%mat-form-field-container-height: var(--%NS%mat-paginator-form-field-container-height, 40px);\n --%NS%mat-form-field-container-vertical-padding: var(--%NS%mat-paginator-form-field-container-vertical-padding, 8px);\n}\n.mat-mdc-paginator .mat-mdc-select-value {\n font-size: var(--%NS%mat-paginator-select-trigger-text-size, var(--%NS%mat-sys-body-small-size));\n}\n.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper {\n display: none;\n}\n.mat-mdc-paginator .mat-mdc-select {\n line-height: 1.5;\n}\n\n.mat-mdc-paginator-outer-container {\n display: flex;\n}\n\n.mat-mdc-paginator-container {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n padding: 0 8px;\n flex-wrap: wrap;\n width: 100%;\n min-height: var(--%NS%mat-paginator-container-size, 56px);\n}\n\n.mat-mdc-paginator-page-size {\n display: flex;\n align-items: baseline;\n margin-right: 8px;\n}\n[dir=rtl] .mat-mdc-paginator-page-size {\n margin-right: 0;\n margin-left: 8px;\n}\n\n.mat-mdc-paginator-page-size-label {\n margin: 0 4px;\n}\n\n.mat-mdc-paginator-page-size-select {\n margin: 0 4px;\n width: var(--%NS%mat-paginator-page-size-select-width, 84px);\n}\n\n.mat-mdc-paginator-range-label {\n margin: 0 32px 0 24px;\n}\n\n.mat-mdc-paginator-range-actions {\n display: flex;\n align-items: center;\n}\n\n.mat-mdc-paginator-icon {\n display: inline-block;\n width: 28px;\n fill: var(--%NS%mat-paginator-enabled-icon-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon {\n fill: var(--%NS%mat-paginator-disabled-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n[dir=rtl] .mat-mdc-paginator-icon {\n transform: rotate(180deg);\n}\n\n@media (forced-colors: active) {\n .mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon,\n .mat-mdc-paginator-icon {\n fill: currentColor;\n }\n .mat-mdc-paginator-range-actions .mat-mdc-icon-button {\n outline: solid 1px;\n }\n .mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled] {\n color: GrayText;\n }\n}\n.mat-mdc-paginator-touch-target {\n display: var(--%NS%mat-paginator-touch-target-display, block);\n position: absolute;\n top: 50%;\n left: 50%;\n width: var(--%NS%mat-paginator-page-size-select-width, 84px);\n height: var(--%NS%mat-paginator-page-size-select-touch-target-height, 48px);\n background-color: transparent;\n transform: translate(-50%, -50%);\n cursor: pointer;\n}\n"],encapsulation:2})}class oe{static \u0275fac=function(ce){return new(ce||oe)};static \u0275mod=s.$C({type:oe,imports:[I.Hl,x.Ve,J.u,Ee],exports:[Ee]});static \u0275inj=m.G2t({imports:[I.Hl,x.Ve,J.u,Ee]})}},79380(st,pe,h){"use strict";h.d(pe,{PO:()=>U});var m=h(28939),s=h(70903),f=h(39962),P=h(38750),D=h(35886);function y(J,I){1&J&&s.Hgh(0,"div",2)}const b=new m.nKC("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");new m.nKC("mat-progress-bar-location",{providedIn:"root",factory:()=>{const J=(0,m.WQX)(m.qQL),I=J?J.location:null;return{getPathname:()=>I?I.pathname+I.search:""}}});class N{_elementRef=(0,m.WQX)(s.aKT);_ngZone=(0,m.WQX)(m.SKi);_changeDetectorRef=(0,m.WQX)(f.gRc);_renderer=(0,m.WQX)(s.sFG);_cleanupTransitionEnd;constructor(){const I=(0,P._J)(),T=(0,m.WQX)(b,{optional:!0});this._isNoopAnimation="di-disabled"===I,"reduced-motion"===I&&this._elementRef.nativeElement.classList.add("mat-progress-bar-reduced-motion"),T&&(T.color&&(this.color=this._defaultColor=T.color),this.mode=T.mode||this.mode)}_isNoopAnimation;get color(){return this._color||this._defaultColor}set color(I){this._color=I}_color;_defaultColor="primary";get value(){return this._value}set value(I){this._value=M(I||0),this._changeDetectorRef.markForCheck()}_value=0;get bufferValue(){return this._bufferValue||0}set bufferValue(I){this._bufferValue=M(I||0),this._changeDetectorRef.markForCheck()}_bufferValue=0;animationEnd=new m.bkB;get mode(){return this._mode}set mode(I){this._mode=I,this._changeDetectorRef.markForCheck()}_mode="determinate";ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupTransitionEnd=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._transitionendHandler)})}ngOnDestroy(){this._cleanupTransitionEnd?.()}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}_transitionendHandler=I=>{0===this.animationEnd.observers.length||!I.target||!I.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))};static \u0275fac=function(T){return new(T||N)};static \u0275cmp=s.VBU({type:N,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(T,C){2&T&&(s.BMQ("aria-valuenow",C._isIndeterminate()?null:C.value)("mode",C.mode),s.HbH("mat-"+C.color),s.AVh("_mat-animation-noopable",C._isNoopAnimation)("mdc-linear-progress--animation-ready",!C._isNoopAnimation)("mdc-linear-progress--indeterminate",C._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",f.Udg],bufferValue:[2,"bufferValue","bufferValue",f.Udg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(T,C){1&T&&(s.rj2(0,"div",0),s.Hgh(1,"div",1),s.nVh(2,y,1,0,"div",2),s.eux(),s.rj2(3,"div",3),s.Hgh(4,"span",4),s.eux(),s.rj2(5,"div",5),s.Hgh(6,"span",4),s.eux()),2&T&&(s.R7$(),s.xc7("flex-basis",C._getBufferBarFlexBasis()),s.R7$(),s.vxM("buffer"===C.mode?2:-1),s.R7$(),s.xc7("transform",C._getPrimaryBarTransform()))},styles:[".mat-mdc-progress-bar {\n --%NS%mat-progress-bar-animation-multiplier: 1;\n display: block;\n text-align: start;\n}\n.mat-mdc-progress-bar[mode=query] {\n transform: scaleX(-1);\n}\n.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,\n.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,\n.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,\n.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner {\n animation: none;\n}\n.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,\n.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar {\n transition: transform 1ms;\n}\n\n.mat-progress-bar-reduced-motion {\n --%NS%mat-progress-bar-animation-multiplier: 2;\n}\n\n.mdc-linear-progress {\n position: relative;\n width: 100%;\n transform: translateZ(0);\n outline: 1px solid transparent;\n overflow-x: hidden;\n transition: opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n height: max(var(--%NS%mat-progress-bar-track-height, 4px), var(--%NS%mat-progress-bar-active-indicator-height, 4px));\n}\n@media (forced-colors: active) {\n .mdc-linear-progress {\n outline-color: CanvasText;\n }\n}\n\n.mdc-linear-progress__bar {\n position: absolute;\n top: 0;\n bottom: 0;\n margin: auto 0;\n width: 100%;\n animation: none;\n transform-origin: top left;\n transition: transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n height: var(--%NS%mat-progress-bar-active-indicator-height, 4px);\n}\n.mdc-linear-progress--indeterminate .mdc-linear-progress__bar {\n transition: none;\n}\n[dir=rtl] .mdc-linear-progress__bar {\n right: 0;\n transform-origin: center right;\n}\n\n.mdc-linear-progress__bar-inner {\n display: inline-block;\n position: absolute;\n width: 100%;\n animation: none;\n border-top-style: solid;\n border-color: var(--%NS%mat-progress-bar-active-indicator-color, var(--%NS%mat-sys-primary));\n border-top-width: var(--%NS%mat-progress-bar-active-indicator-height, 4px);\n}\n\n.mdc-linear-progress__buffer {\n display: flex;\n position: absolute;\n top: 0;\n bottom: 0;\n margin: auto 0;\n width: 100%;\n overflow: hidden;\n height: var(--%NS%mat-progress-bar-track-height, 4px);\n border-radius: var(--%NS%mat-progress-bar-track-shape, var(--%NS%mat-sys-corner-none));\n}\n\n.mdc-linear-progress__buffer-dots {\n background-image: radial-gradient(circle, var(--%NS%mat-progress-bar-track-color, var(--%NS%mat-sys-surface-variant)) calc(var(--%NS%mat-progress-bar-track-height, 4px) / 2), transparent 0);\n background-repeat: repeat-x;\n background-size: calc(calc(var(--%NS%mat-progress-bar-track-height, 4px) / 2) * 5);\n background-position: left;\n flex: auto;\n transform: rotate(180deg);\n animation: mdc-linear-progress-buffering calc(250ms * var(--%NS%mat-progress-bar-animation-multiplier)) infinite linear;\n}\n@media (forced-colors: active) {\n .mdc-linear-progress__buffer-dots {\n background-color: ButtonBorder;\n }\n}\n[dir=rtl] .mdc-linear-progress__buffer-dots {\n animation: mdc-linear-progress-buffering-reverse calc(250ms * var(--%NS%mat-progress-bar-animation-multiplier)) infinite linear;\n transform: rotate(0);\n}\n\n.mdc-linear-progress__buffer-bar {\n flex: 0 1 100%;\n transition: flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n background-color: var(--%NS%mat-progress-bar-track-color, var(--%NS%mat-sys-surface-variant));\n}\n\n.mdc-linear-progress__primary-bar {\n transform: scaleX(0);\n}\n.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar {\n left: -145.166611%;\n}\n.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar {\n animation: mdc-linear-progress-primary-indeterminate-translate calc(2s * var(--%NS%mat-progress-bar-animation-multiplier)) infinite linear;\n}\n.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar > .mdc-linear-progress__bar-inner {\n animation: mdc-linear-progress-primary-indeterminate-scale calc(2s * var(--%NS%mat-progress-bar-animation-multiplier)) infinite linear;\n}\n[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar {\n animation-name: mdc-linear-progress-primary-indeterminate-translate-reverse;\n}\n[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar {\n right: -145.166611%;\n left: auto;\n}\n\n.mdc-linear-progress__secondary-bar {\n display: none;\n}\n.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar {\n left: -54.888891%;\n display: block;\n}\n.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar {\n animation: mdc-linear-progress-secondary-indeterminate-translate calc(2s * var(--%NS%mat-progress-bar-animation-multiplier)) infinite linear;\n}\n.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar > .mdc-linear-progress__bar-inner {\n animation: mdc-linear-progress-secondary-indeterminate-scale calc(2s * var(--%NS%mat-progress-bar-animation-multiplier)) infinite linear;\n}\n[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar {\n animation-name: mdc-linear-progress-secondary-indeterminate-translate-reverse;\n}\n[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar {\n right: -54.888891%;\n left: auto;\n}\n\n@keyframes mdc-linear-progress-buffering {\n from {\n transform: rotate(180deg) translateX(calc(var(--%NS%mat-progress-bar-track-height, 4px) * -2.5));\n }\n}\n@keyframes mdc-linear-progress-primary-indeterminate-translate {\n 0% {\n transform: translateX(0);\n }\n 20% {\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n transform: translateX(0);\n }\n 59.15% {\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n transform: translateX(83.67142%);\n }\n 100% {\n transform: translateX(200.611057%);\n }\n}\n@keyframes mdc-linear-progress-primary-indeterminate-scale {\n 0% {\n transform: scaleX(0.08);\n }\n 36.65% {\n animation-timing-function: cubic-bezier(0.334731, 0.12482, 0.785844, 1);\n transform: scaleX(0.08);\n }\n 69.15% {\n animation-timing-function: cubic-bezier(0.06, 0.11, 0.6, 1);\n transform: scaleX(0.661479);\n }\n 100% {\n transform: scaleX(0.08);\n }\n}\n@keyframes mdc-linear-progress-secondary-indeterminate-translate {\n 0% {\n animation-timing-function: cubic-bezier(0.15, 0, 0.515058, 0.409685);\n transform: translateX(0);\n }\n 25% {\n animation-timing-function: cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);\n transform: translateX(37.651913%);\n }\n 48.35% {\n animation-timing-function: cubic-bezier(0.4, 0.627035, 0.6, 0.902026);\n transform: translateX(84.386165%);\n }\n 100% {\n transform: translateX(160.277782%);\n }\n}\n@keyframes mdc-linear-progress-secondary-indeterminate-scale {\n 0% {\n animation-timing-function: cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);\n transform: scaleX(0.08);\n }\n 19.15% {\n animation-timing-function: cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);\n transform: scaleX(0.457104);\n }\n 44.15% {\n animation-timing-function: cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);\n transform: scaleX(0.72796);\n }\n 100% {\n transform: scaleX(0.08);\n }\n}\n@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse {\n 0% {\n transform: translateX(0);\n }\n 20% {\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n transform: translateX(0);\n }\n 59.15% {\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n transform: translateX(-83.67142%);\n }\n 100% {\n transform: translateX(-200.611057%);\n }\n}\n@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse {\n 0% {\n animation-timing-function: cubic-bezier(0.15, 0, 0.515058, 0.409685);\n transform: translateX(0);\n }\n 25% {\n animation-timing-function: cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);\n transform: translateX(-37.651913%);\n }\n 48.35% {\n animation-timing-function: cubic-bezier(0.4, 0.627035, 0.6, 0.902026);\n transform: translateX(-84.386165%);\n }\n 100% {\n transform: translateX(-160.277782%);\n }\n}\n@keyframes mdc-linear-progress-buffering-reverse {\n from {\n transform: translateX(-10px);\n }\n}\n"],encapsulation:2})}function M(J,I=0,T=100){return Math.max(I,Math.min(T,J))}class U{static \u0275fac=function(T){return new(T||U)};static \u0275mod=s.$C({type:U,imports:[N],exports:[N,D.jI]});static \u0275inj=m.G2t({imports:[D.jI]})}},58272(st,pe,h){"use strict";h.d(pe,{D6:()=>T});var m=h(28939),s=h(70903),f=h(39962),P=h(12986),D=h(38750),y=h(35886);const b=["determinateSpinner"];function x(C,R){if(1&C&&(m.qSk(),s.j41(0,"svg",11),s.nrm(1,"circle",12),s.k0s()),2&C){const B=s.XpG();s.BMQ("viewBox",B._viewBox()),s.R7$(),s.xc7("stroke-dasharray",B._strokeCircumference(),"px")("stroke-dashoffset",B._strokeCircumference()/2,"px")("stroke-width",B._circleStrokeWidth(),"%"),s.BMQ("r",B._circleRadius())}}const N=new m.nKC("mat-progress-spinner-default-options",{providedIn:"root",factory:()=>({diameter:M})}),M=100;class J{_elementRef=(0,m.WQX)(s.aKT);_noopAnimations;get color(){return this._color||this._defaultColor}set color(R){this._color=R}_color;_defaultColor="primary";_determinateCircle;constructor(){const R=(0,m.WQX)(N),B=(0,D._J)(),F=this._elementRef.nativeElement;this._noopAnimations="di-disabled"===B&&!!R&&!R._forceAnimations,this.mode="mat-spinner"===F.nodeName.toLowerCase()?"indeterminate":"determinate",!this._noopAnimations&&"reduced-motion"===B&&F.classList.add("mat-progress-spinner-reduced-motion"),R&&(R.color&&(this.color=this._defaultColor=R.color),R.diameter&&(this.diameter=R.diameter),R.strokeWidth&&(this.strokeWidth=R.strokeWidth))}mode;get value(){return"determinate"===this.mode?this._value:0}set value(R){this._value=Math.max(0,Math.min(100,R||0))}_value=0;get diameter(){return this._diameter}set diameter(R){this._diameter=R||0}_diameter=M;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(R){this._strokeWidth=R||0}_strokeWidth;_circleRadius(){return(this.diameter-10)/2}_viewBox(){const R=2*this._circleRadius()+this.strokeWidth;return`0 0 ${R} ${R}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(B){return new(B||J)};static \u0275cmp=s.VBU({type:J,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(B,F){if(1&B&&s.GBs(b,5),2&B){let $;s.mGM($=s.lsd())&&(F._determinateCircle=$.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(B,F){2&B&&(s.BMQ("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===F.mode?F.value:null)("mode",F.mode),s.HbH("mat-"+F.color),s.xc7("width",F.diameter,"px")("height",F.diameter,"px")("--%NS%mat-progress-spinner-size",F.diameter+"px")("--%NS%mat-progress-spinner-active-indicator-width",F.diameter+"px"),s.AVh("_mat-animation-noopable",F._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===F.mode))},inputs:{color:"color",mode:"mode",value:[2,"value","value",f.Udg],diameter:[2,"diameter","diameter",f.Udg],strokeWidth:[2,"strokeWidth","strokeWidth",f.Udg]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(B,F){if(1&B&&(s.DNE(0,x,2,8,"ng-template",null,0,s.C5r),s.j41(2,"div",2,1),m.qSk(),s.j41(4,"svg",3),s.nrm(5,"circle",4),s.k0s()(),m.joV(),s.j41(6,"div",5)(7,"div",6)(8,"div",7),s.eu8(9,8),s.k0s(),s.j41(10,"div",9),s.eu8(11,8),s.k0s(),s.j41(12,"div",10),s.eu8(13,8),s.k0s()()()),2&B){const $=s.sdS(1);s.R7$(4),s.BMQ("viewBox",F._viewBox()),s.R7$(),s.xc7("stroke-dasharray",F._strokeCircumference(),"px")("stroke-dashoffset",F._strokeDashOffset(),"px")("stroke-width",F._circleStrokeWidth(),"%"),s.BMQ("r",F._circleRadius()),s.R7$(4),s.Y8G("ngTemplateOutlet",$),s.R7$(2),s.Y8G("ngTemplateOutlet",$),s.R7$(2),s.Y8G("ngTemplateOutlet",$)}},dependencies:[P.T3],styles:[".mat-mdc-progress-spinner {\n --%NS%mat-progress-spinner-animation-multiplier: 1;\n display: block;\n overflow: hidden;\n line-height: 0;\n position: relative;\n direction: ltr;\n transition: opacity 250ms cubic-bezier(0.4, 0, 0.6, 1);\n}\n.mat-mdc-progress-spinner circle {\n stroke-width: var(--%NS%mat-progress-spinner-active-indicator-width, 4px);\n}\n.mat-mdc-progress-spinner._mat-animation-noopable, .mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle {\n transition: none !important;\n}\n.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,\n.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,\n.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container {\n animation: none !important;\n}\n.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle {\n stroke-dasharray: 0 !important;\n}\n@media (forced-colors: active) {\n .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,\n .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle {\n stroke: currentColor;\n stroke: CanvasText;\n }\n}\n\n.mat-progress-spinner-reduced-motion {\n --%NS%mat-progress-spinner-animation-multiplier: 1.25;\n}\n\n.mdc-circular-progress__determinate-container,\n.mdc-circular-progress__indeterminate-circle-graphic,\n.mdc-circular-progress__indeterminate-container,\n.mdc-circular-progress__spinner-layer {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n\n.mdc-circular-progress__determinate-container {\n transform: rotate(-90deg);\n}\n.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container {\n opacity: 0;\n}\n\n.mdc-circular-progress__indeterminate-container {\n font-size: 0;\n letter-spacing: 0;\n white-space: nowrap;\n opacity: 0;\n}\n.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container {\n opacity: 1;\n animation: mdc-circular-progress-container-rotate calc(1568.2352941176ms * var(--%NS%mat-progress-spinner-animation-multiplier)) linear infinite;\n}\n\n.mdc-circular-progress__determinate-circle-graphic,\n.mdc-circular-progress__indeterminate-circle-graphic {\n fill: transparent;\n}\n\n.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,\n.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic {\n stroke: var(--%NS%mat-progress-spinner-active-indicator-color, var(--%NS%mat-sys-primary));\n}\n@media (forced-colors: active) {\n .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,\n .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic {\n stroke: CanvasText;\n }\n}\n\n.mdc-circular-progress__determinate-circle {\n transition: stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.mdc-circular-progress__gap-patch {\n position: absolute;\n top: 0;\n left: 47.5%;\n box-sizing: border-box;\n width: 5%;\n height: 100%;\n overflow: hidden;\n}\n\n.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic {\n left: -900%;\n width: 2000%;\n transform: rotate(180deg);\n}\n.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic {\n width: 200%;\n}\n.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic {\n left: -100%;\n}\n.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic {\n animation: mdc-circular-progress-left-spin calc(1333ms * var(--%NS%mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both;\n}\n.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic {\n animation: mdc-circular-progress-right-spin calc(1333ms * var(--%NS%mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both;\n}\n\n.mdc-circular-progress__circle-clipper {\n display: inline-flex;\n position: relative;\n width: 50%;\n height: 100%;\n overflow: hidden;\n}\n\n.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer {\n animation: mdc-circular-progress-spinner-layer-rotate calc(5332ms * var(--%NS%mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both;\n}\n\n@keyframes mdc-circular-progress-container-rotate {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes mdc-circular-progress-spinner-layer-rotate {\n 12.5% {\n transform: rotate(135deg);\n }\n 25% {\n transform: rotate(270deg);\n }\n 37.5% {\n transform: rotate(405deg);\n }\n 50% {\n transform: rotate(540deg);\n }\n 62.5% {\n transform: rotate(675deg);\n }\n 75% {\n transform: rotate(810deg);\n }\n 87.5% {\n transform: rotate(945deg);\n }\n 100% {\n transform: rotate(1080deg);\n }\n}\n@keyframes mdc-circular-progress-left-spin {\n from {\n transform: rotate(265deg);\n }\n 50% {\n transform: rotate(130deg);\n }\n to {\n transform: rotate(265deg);\n }\n}\n@keyframes mdc-circular-progress-right-spin {\n from {\n transform: rotate(-265deg);\n }\n 50% {\n transform: rotate(-130deg);\n }\n to {\n transform: rotate(-265deg);\n }\n}\n"],encapsulation:2})}const I=J;class T{static \u0275fac=function(B){return new(B||T)};static \u0275mod=s.$C({type:T,imports:[J,I],exports:[J,I,y.jI]});static \u0275inj=m.G2t({imports:[y.jI]})}},78406(st,pe,h){"use strict";h.d(pe,{VO:()=>rt,Ve:()=>Kt});var m=h(1396),s=h(83896),f=h(54408);class P extends f.l{setActiveItem(ze){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(ze),this.activeItem&&this.activeItem.setActiveStyles()}}var D=h(40271),y=h(35886),b=h(55919);class x{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected=null;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new b.B;bulk={select:ze=>this._select(ze),deselect:ze=>this._deselect(ze),setSelection:ze=>this._setSelection(ze)};constructor(ze=!1,Mt,Pt=!0,bn){this._multiple=ze,this._emitChanges=Pt,this.compareWith=bn,Mt&&Mt.length&&(ze?Mt.forEach(Tn=>this._markSelected(Tn)):this._markSelected(Mt[0]),this._selectedToEmit.length=0)}select(...ze){return this._select(ze)}deselect(...ze){return this._deselect(ze)}setSelection(...ze){return this._setSelection(ze)}toggle(ze){return this.isSelected(ze)?this.deselect(ze):this.select(ze)}clear(ze=!0){this._unmarkAll();const Mt=this._hasQueuedChanges();return ze&&this._emitChangeEvent(),Mt}isSelected(ze){return this._selection.has(this._getConcreteValue(ze))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(ze){this._multiple&&this.selected&&this._selected.sort(ze)}isMultipleSelection(){return this._multiple}_select(ze){this._verifyValueAssignment(ze),ze.forEach(Pt=>this._markSelected(Pt));const Mt=this._hasQueuedChanges();return this._emitChangeEvent(),Mt}_deselect(ze){this._verifyValueAssignment(ze),ze.forEach(Pt=>this._unmarkSelected(Pt));const Mt=this._hasQueuedChanges();return this._emitChangeEvent(),Mt}_setSelection(ze){this._verifyValueAssignment(ze);const Mt=this.selected,Pt=new Set(ze.map(Tn=>this._getConcreteValue(Tn)));ze.forEach(Tn=>this._markSelected(Tn)),Mt.filter(Tn=>!Pt.has(this._getConcreteValue(Tn,Pt))).forEach(Tn=>this._unmarkSelected(Tn));const bn=this._hasQueuedChanges();return this._emitChangeEvent(),bn}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(ze){ze=this._getConcreteValue(ze),this.isSelected(ze)||(this._multiple||this._unmarkAll(),this.isSelected(ze)||this._selection.add(ze),this._emitChanges&&this._selectedToEmit.push(ze))}_unmarkSelected(ze){ze=this._getConcreteValue(ze),this.isSelected(ze)&&(this._selection.delete(ze),this._emitChanges&&this._deselectedToEmit.push(ze))}_unmarkAll(){this.isEmpty()||this._selection.forEach(ze=>this._unmarkSelected(ze))}_verifyValueAssignment(ze){ze.length>1&&this._multiple}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(ze,Mt){if(this.compareWith){Mt=Mt??this._selection;for(let Pt of Mt)if(this.compareWith(ze,Pt))return Pt;return ze}return ze}}var M=h(40401),U=h(51564),J=h(32445),I=h(70903),T=h(28939),C=h(39962),R=h(13054),B=h(53724),F=h(69980),$=h(93767),E=h(67527),w=h(29927),O=h(34369),Z=h(84833),Ee=h(65229),oe=h(72818),j=h(56276),te=h(3061),ce=h(38750),ye=h(18171),Le=h(59315),$e=h(59074),Tt=h(14520),We=h(92175),Me=h(89832);class ut{static \u0275fac=function(Mt){return new(Mt||ut)};static \u0275mod=I.$C({type:ut,imports:[Me.w],exports:[Me.w,y.jI]});static \u0275inj=T.G2t({imports:[y.jI]})}class xe{static \u0275fac=function(Mt){return new(Mt||xe)};static \u0275mod=I.$C({type:xe,imports:[We.p,ut,ye.wT,ye.D7],exports:[ye.wT,ye.D7,y.jI]});static \u0275inj=T.G2t({imports:[We.p,ut,ye.wT,y.jI]})}const Te=["trigger"],Ce=["panel"],et=[[["mat-select-trigger"]],"*"],he=["mat-select-trigger","*"];function ve(Ht,ze){if(1&Ht&&(I.j41(0,"span",4),I.EFF(1),I.k0s()),2&Ht){const Mt=I.XpG();I.R7$(),I.JRh(Mt.placeholder)}}function be(Ht,ze){1&Ht&&I.SdG(0)}function de(Ht,ze){if(1&Ht&&(I.j41(0,"span",11),I.EFF(1),I.k0s()),2&Ht){const Mt=I.XpG(2);I.R7$(),I.JRh(Mt.triggerValue)}}function G(Ht,ze){if(1&Ht&&(I.j41(0,"span",5),I.nVh(1,be,1,0)(2,de,2,1,"span",11),I.k0s()),2&Ht){const Mt=I.XpG();I.R7$(),I.vxM(Mt.customTrigger?1:2)}}function Fe(Ht,ze){if(1&Ht){const Mt=I.RV6();I.j41(0,"div",12,1),I.bIt("keydown",function(bn){T.eBV(Mt);const Tn=I.XpG();return T.Njj(Tn._handleKeydown(bn))}),I.SdG(2,1),I.k0s()}if(2&Ht){const Mt=I.XpG();I.HbH(Mt.panelClass),I.AVh("mat-select-panel-animations-enabled",!Mt._animationsDisabled)("mat-primary","primary"===Mt._parentFormField?.color)("mat-accent","accent"===Mt._parentFormField?.color)("mat-warn","warn"===Mt._parentFormField?.color)("mat-undefined",!Mt._parentFormField?.color),I.BMQ("id",Mt.id+"-panel")("aria-multiselectable",Mt.multiple)("aria-label",Mt.ariaLabel||null)("aria-labelledby",Mt._getPanelAriaLabelledby())}}const ee=new T.nKC("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const Ht=(0,T.WQX)(T.zZn);return()=>(0,U.RH)(Ht)}}),V=new T.nKC("MAT_SELECT_CONFIG"),ue=new T.nKC("MatSelectTrigger");class De{source;value;constructor(ze,Mt){this.source=ze,this.value=Mt}}class rt{_viewportRuler=(0,T.WQX)(J.Xj);_changeDetectorRef=(0,T.WQX)(C.gRc);_elementRef=(0,T.WQX)(I.aKT);_dir=(0,T.WQX)(D.dS,{optional:!0});_idGenerator=(0,T.WQX)(m.g);_renderer=(0,T.WQX)(I.sFG);_parentFormField=(0,T.WQX)(te.xb,{optional:!0});ngControl=(0,T.WQX)(R.vO,{self:!0,optional:!0});_liveAnnouncer=(0,T.WQX)(s.Ai);_defaultOptions=(0,T.WQX)(V,{optional:!0});_animationsDisabled=(0,ce.Rc)();_popoverLocation;_initialized=new b.B;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(ze){const Mt=this.options.toArray()[ze];if(Mt){const Pt=this.panel.nativeElement,bn=(0,ye.jb)(ze,this.options,this.optionGroups),Tn=Mt._getHostElement();Pt.scrollTop=0===ze&&1===bn?0:(0,ye.TL)(Tn.offsetTop,Tn.offsetHeight,Pt.scrollTop,Pt.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(ze){return new De(this,ze)}_scrollStrategyFactory=(0,T.WQX)(ee);_panelOpen=!1;_compareWith=(ze,Mt)=>ze===Mt;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new b.B;_errorStateTracker;stateChanges=new b.B;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(ze){this._disableRipple.set(ze)}_disableRipple=(0,T.vPA)(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(ze){this._hideSingleSelectionIndicator=ze,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(ze){this._placeholder=ze,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(R.k0.required)??!1}set required(ze){this._required=ze,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(ze){this._selectionModel,this._multiple=ze}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(ze){this._compareWith=ze,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(ze){this._assignValue(ze)&&this._onChange(ze)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(ze){this._errorStateTracker.matcher=ze}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(ze){this._id=ze||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(ze){this._errorStateTracker.errorState=ze}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=(0,$.v)(()=>{const ze=this.options;return ze?ze.changes.pipe((0,w.Z)(ze),(0,O.n)(()=>(0,E.h)(...ze.map(Mt=>Mt.onSelectionChange)))):this._initialized.pipe((0,O.n)(()=>this.optionSelectionChanges))});openedChange=new T.bkB;_openedStream=this.openedChange.pipe((0,Z.p)(ze=>ze),(0,Ee.T)(()=>{}));_closedStream=this.openedChange.pipe((0,Z.p)(ze=>!ze),(0,Ee.T)(()=>{}));selectionChange=new T.bkB;valueChange=new T.bkB;constructor(){const ze=(0,T.WQX)(Le.e),Mt=(0,T.WQX)(R.cV,{optional:!0}),Pt=(0,T.WQX)(R.j4,{optional:!0}),bn=(0,T.WQX)(new C.ES_("tabindex"),{optional:!0}),Tn=(0,T.WQX)(U.ao,{optional:!0}),Lt=(0,T.WQX)(F.yg,{optional:!0,self:!0});this.ngControl&&(this.ngControl.valueAccessor=this),null!=this._defaultOptions?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new $e.X(ze,Lt||this.ngControl,Pt,Mt,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=null==bn?0:parseInt(bn)||0,this._popoverLocation=!1===Tn?.usePopover?null:"inline",this.id=this.id}ngOnInit(){this._selectionModel=new x(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe((0,oe.Q)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe((0,oe.Q)(this._destroy)).subscribe(ze=>{ze.added.forEach(Mt=>Mt.select()),ze.removed.forEach(Mt=>Mt.deselect())}),this.options.changes.pipe((0,w.Z)(null),(0,oe.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const ze=this._getTriggerAriaLabelledby(),Mt=this.ngControl;if(ze!==this._triggerAriaLabelledBy){const Pt=this._elementRef.nativeElement;this._triggerAriaLabelledBy=ze,ze?Pt.setAttribute("aria-labelledby",ze):Pt.removeAttribute("aria-labelledby")}Mt&&(this._previousControl!==Mt.control&&(void 0!==this._previousControl&&null!==Mt.disabled&&Mt.disabled!==this.disabled&&(this.disabled=Mt.disabled),this._previousControl=Mt.control),this.updateErrorState())}ngOnChanges(ze){(ze.disabled||ze.userAriaDescribedBy)&&this.stateChanges.next(),ze.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval),ze.panelClass&&this.panelClass instanceof Set&&(this.panelClass=Array.from(this.panelClass))}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._panelOpen=!0,this._overlayDir.positionChange.pipe((0,j.s)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel)return void this._detachOverlay();this._cleanupDetach?.(),this._cleanupDetach=()=>{Mt(),clearTimeout(Pt),this._cleanupDetach=void 0};const ze=this.panel.nativeElement,Mt=this._renderer.listen(ze,"animationend",bn=>{"_mat-select-exit"===bn.animationName&&(this._cleanupDetach?.(),this._detachOverlay())}),Pt=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);ze.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(ze){this._assignValue(ze)}registerOnChange(ze){this._onChange=ze}registerOnTouched(ze){this._onTouched=ze}setDisabledState(ze){this.disabled=ze,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const ze=this._selectionModel.selected.map(Mt=>Mt.viewValue);return this._isRtl()&&ze.reverse(),ze.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(ze){this.disabled||(this.panelOpen?this._handleOpenKeydown(ze):this._handleClosedKeydown(ze))}_handleClosedKeydown(ze){const Mt=ze.keyCode,Pt=40===Mt||38===Mt||37===Mt||39===Mt,bn=13===Mt||32===Mt,Tn=this._keyManager;if(!Tn.isTyping()&&bn&&!(0,M.rp)(ze)||(this.multiple||ze.altKey)&&Pt)ze.preventDefault(),this.open();else if(!this.multiple){const Lt=this.selected;Tn.onKeydown(ze);const _e=this.selected;_e&&Lt!==_e&&this._liveAnnouncer.announce(_e.viewValue,1e4)}}_handleOpenKeydown(ze){const Mt=this._keyManager,Pt=ze.keyCode,bn=40===Pt||38===Pt,Tn=Mt.isTyping();if(bn&&ze.altKey)ze.preventDefault(),this.close();else if(Tn||13!==Pt&&32!==Pt||!Mt.activeItem||(0,M.rp)(ze))if(!Tn&&this._multiple&&65===Pt&&ze.ctrlKey){ze.preventDefault();const Lt=this.options.some(_e=>!_e.disabled&&!_e.selected);this.options.forEach(_e=>{_e.disabled||(Lt?_e.select():_e.deselect())})}else{const Lt=Mt.activeItemIndex;Mt.onKeydown(ze),this._multiple&&bn&&ze.shiftKey&&Mt.activeItem&&Mt.activeItemIndex!==Lt&&Mt.activeItem._selectViaInteraction()}else ze.preventDefault(),Mt.activeItem._selectViaInteraction()}_handleOverlayKeydown(ze){27===ze.keyCode&&!(0,M.rp)(ze)&&(ze.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(ze){if(this.options.forEach(Mt=>Mt.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&ze)Array.isArray(ze),ze.forEach(Mt=>this._selectOptionByValue(Mt)),this._sortValues();else{const Mt=this._selectOptionByValue(ze);Mt?this._keyManager.updateActiveItem(Mt):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(ze){const Mt=this.options.find(Pt=>{if(this._selectionModel.isSelected(Pt))return!1;try{return(null!=Pt.value||this.canSelectNullableOptions)&&this._compareWith(Pt.value,ze)}catch{return!1}});return Mt&&this._selectionModel.select(Mt),Mt}_assignValue(ze){return!!(ze!==this._value||this._multiple&&Array.isArray(ze))&&(this.options&&this._setSelectionByValue(ze),this._value=ze,!0)}_skipPredicate=ze=>!this.panelOpen&&ze.disabled;_getOverlayWidth(ze){return"auto"===this.panelWidth?(ze instanceof U.$Q?ze.elementRef:ze||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const ze of this.options)ze._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new P(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const ze=(0,E.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,oe.Q)(ze)).subscribe(Mt=>{this._onSelect(Mt.source,Mt.isUserInput),Mt.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,E.h)(...this.options.map(Mt=>Mt._stateChanges)).pipe((0,oe.Q)(ze)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(ze,Mt){const Pt=this._selectionModel.isSelected(ze);this.canSelectNullableOptions||null!=ze.value||this._multiple?(Pt!==ze.selected&&(ze.selected?this._selectionModel.select(ze):this._selectionModel.deselect(ze)),Mt&&this._keyManager.setActiveItem(ze),this.multiple&&(this._sortValues(),Mt&&this.focus())):(ze.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(ze.value)),Pt!==this._selectionModel.isSelected(ze)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const ze=this.options.toArray();this._selectionModel.sort((Mt,Pt)=>this.sortComparator?this.sortComparator(Mt,Pt,ze):ze.indexOf(Mt)-ze.indexOf(Pt)),this.stateChanges.next()}}_propagateChanges(ze){let Mt;Mt=this.multiple?this.selected.map(Pt=>Pt.value):this.selected?this.selected.value:ze,this._value=Mt,this.valueChange.emit(Mt),this._onChange(Mt),this.selectionChange.emit(this._getChangeEvent(Mt)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let ze=-1;for(let Mt=0;Mt<this.options.length;Mt++)if(!this.options.get(Mt).disabled){ze=Mt;break}this._keyManager.setActiveItem(ze)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(ze){this._elementRef.nativeElement.focus(ze)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const ze=this._parentFormField?.getLabelId()||null,Mt=ze?ze+" ":"";return this.ariaLabelledby?Mt+this.ariaLabelledby:ze}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let ze=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(ze+=" "+this.ariaLabelledby),ze||(ze=this._valueId),ze}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(ze){const Mt=this._elementRef.nativeElement;ze.length?Mt.setAttribute("aria-describedby",ze.join(" ")):Mt.removeAttribute("aria-describedby")}onContainerClick(ze){const Mt=(0,B.Fb)(ze);Mt&&("MAT-OPTION"===Mt.tagName||Mt.classList.contains("cdk-overlay-backdrop")||Mt.closest(".mat-mdc-select-panel"))||(this.focus(),this.open())}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(Mt){return new(Mt||rt)};static \u0275cmp=I.VBU({type:rt,selectors:[["mat-select"]],contentQueries:function(Mt,Pt,bn){if(1&Mt&&I.wni(bn,ue,5)(bn,ye.wT,5)(bn,ye.QC,5),2&Mt){let Tn;I.mGM(Tn=I.lsd())&&(Pt.customTrigger=Tn.first),I.mGM(Tn=I.lsd())&&(Pt.options=Tn),I.mGM(Tn=I.lsd())&&(Pt.optionGroups=Tn)}},viewQuery:function(Mt,Pt){if(1&Mt&&I.GBs(Te,5)(Ce,5)(U.WB,5),2&Mt){let bn;I.mGM(bn=I.lsd())&&(Pt.trigger=bn.first),I.mGM(bn=I.lsd())&&(Pt.panel=bn.first),I.mGM(bn=I.lsd())&&(Pt._overlayDir=bn.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(Mt,Pt){1&Mt&&I.bIt("keydown",function(Tn){return Pt._handleKeydown(Tn)})("focus",function(){return Pt._onFocus()})("blur",function(){return Pt._onBlur()}),2&Mt&&(I.BMQ("id",Pt.id)("tabindex",Pt.disabled?-1:Pt.tabIndex)("aria-controls",Pt.panelOpen?Pt.id+"-panel":null)("aria-expanded",Pt.panelOpen)("aria-label",Pt.ariaLabel||null)("aria-required",Pt.required.toString())("aria-disabled",Pt.disabled.toString())("aria-invalid",Pt.errorState)("aria-activedescendant",Pt._getAriaActiveDescendant()),I.AVh("mat-mdc-select-disabled",Pt.disabled)("mat-mdc-select-invalid",Pt.errorState)("mat-mdc-select-required",Pt.required)("mat-mdc-select-empty",Pt.empty)("mat-mdc-select-multiple",Pt.multiple)("mat-select-open",Pt.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",C.L39],disableRipple:[2,"disableRipple","disableRipple",C.L39],tabIndex:[2,"tabIndex","tabIndex",ze=>null==ze?0:(0,C.Udg)(ze)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",C.L39],placeholder:"placeholder",required:[2,"required","required",C.L39],multiple:[2,"multiple","multiple",C.L39],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",C.L39],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",C.Udg],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",C.L39]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[I.Jv_([{provide:te.qT,useExisting:rt},{provide:ye.is,useExisting:rt}]),I.OA$],ngContentSelectors:he,decls:11,vars:10,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions","cdkConnectedOverlayUsePopover"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",1,"mat-mdc-select-panel","mdc-menu-surface","mdc-menu-surface--open",3,"keydown"]],template:function(Mt,Pt){if(1&Mt&&(I.NAR(et),I.j41(0,"div",2,0),I.bIt("click",function(){return Pt.open()}),I.j41(3,"div",3),I.nVh(4,ve,2,1,"span",4)(5,G,3,1,"span",5),I.k0s(),I.j41(6,"div",6)(7,"div",7),T.qSk(),I.j41(8,"svg",8),I.nrm(9,"path",9),I.k0s()()()(),I.DNE(10,Fe,3,16,"ng-template",10),I.bIt("detach",function(){return Pt.close()})("backdropClick",function(){return Pt.close()})("overlayKeydown",function(Tn){return Pt._handleOverlayKeydown(Tn)})),2&Mt){const bn=I.sdS(1);I.R7$(3),I.BMQ("id",Pt._valueId),I.R7$(),I.vxM(Pt.empty?4:5),I.R7$(6),I.Y8G("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",Pt._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Pt._scrollStrategy)("cdkConnectedOverlayOrigin",Pt._preferredOverlayOrigin||bn)("cdkConnectedOverlayPositions",Pt._positions)("cdkConnectedOverlayWidth",Pt._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)("cdkConnectedOverlayUsePopover",Pt._popoverLocation)}},dependencies:[U.$Q,U.WB],styles:['@keyframes _mat-select-enter {\n from {\n opacity: 0;\n transform: scaleY(0.8);\n }\n to {\n opacity: 1;\n transform: none;\n }\n}\n@keyframes _mat-select-exit {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n.mat-mdc-select {\n display: inline-block;\n width: 100%;\n outline: none;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n color: var(--%NS%mat-select-enabled-trigger-text-color, var(--%NS%mat-sys-on-surface));\n font-family: var(--%NS%mat-select-trigger-text-font, var(--%NS%mat-sys-body-large-font));\n line-height: var(--%NS%mat-select-trigger-text-line-height, var(--%NS%mat-sys-body-large-line-height));\n font-size: var(--%NS%mat-select-trigger-text-size, var(--%NS%mat-sys-body-large-size));\n font-weight: var(--%NS%mat-select-trigger-text-weight, var(--%NS%mat-sys-body-large-weight));\n letter-spacing: var(--%NS%mat-select-trigger-text-tracking, var(--%NS%mat-sys-body-large-tracking));\n}\n\ndiv.mat-mdc-select-panel {\n box-shadow: var(--%NS%mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));\n}\n\n.mat-mdc-select-disabled {\n color: var(--%NS%mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n.mat-mdc-select-disabled .mat-mdc-select-placeholder {\n color: var(--%NS%mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n\n.mat-mdc-select-trigger {\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n position: relative;\n box-sizing: border-box;\n width: 100%;\n}\n.mat-mdc-select-disabled .mat-mdc-select-trigger {\n -webkit-user-select: none;\n user-select: none;\n cursor: default;\n}\n\n.mat-mdc-select-value {\n width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.mat-mdc-select-value-text {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.mat-mdc-select-arrow-wrapper {\n height: 24px;\n flex-shrink: 0;\n display: inline-flex;\n align-items: center;\n}\n.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper {\n transform: none;\n}\n\n.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,\n.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after {\n color: var(--%NS%mat-select-invalid-arrow-color, var(--%NS%mat-sys-error));\n}\n\n.mat-mdc-select-arrow {\n width: 10px;\n height: 5px;\n position: relative;\n color: var(--%NS%mat-select-enabled-arrow-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow {\n color: var(--%NS%mat-select-focused-arrow-color, var(--%NS%mat-sys-primary));\n}\n.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow {\n color: var(--%NS%mat-select-disabled-arrow-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));\n}\n.mat-select-open .mat-mdc-select-arrow {\n transform: rotate(180deg);\n}\n.mat-form-field-animations-enabled .mat-mdc-select-arrow {\n transition: transform 80ms linear;\n}\n.mat-mdc-select-arrow svg {\n fill: currentColor;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n@media (forced-colors: active) {\n .mat-mdc-select-arrow svg {\n fill: CanvasText;\n }\n .mat-mdc-select-disabled .mat-mdc-select-arrow svg {\n fill: GrayText;\n }\n}\n\ndiv.mat-mdc-select-panel {\n width: 100%;\n max-height: 275px;\n outline: 0;\n overflow: auto;\n padding: 8px 0;\n box-sizing: border-box;\n transform-origin: top center;\n border-radius: 0 0 4px 4px;\n position: relative;\n background-color: var(--%NS%mat-select-panel-background-color, var(--%NS%mat-sys-surface-container));\n}\n.mat-mdc-select-panel-above div.mat-mdc-select-panel {\n border-radius: 4px 4px 0 0;\n transform-origin: bottom center;\n}\n@media (forced-colors: active) {\n div.mat-mdc-select-panel {\n outline: solid 1px;\n }\n}\n\n.mat-select-panel-animations-enabled {\n animation: _mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1);\n}\n.mat-select-panel-animations-enabled.mat-select-panel-exit {\n animation: _mat-select-exit 100ms linear;\n}\n\n.mat-mdc-select-placeholder {\n transition: color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);\n color: var(--%NS%mat-select-placeholder-text-color, var(--%NS%mat-sys-on-surface-variant));\n}\n.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder, ._mat-animation-noopable .mat-mdc-select-placeholder {\n transition: none;\n}\n.mat-form-field-hide-placeholder .mat-mdc-select-placeholder {\n color: transparent;\n -webkit-text-fill-color: transparent;\n transition: none;\n display: block;\n}\n\n.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper {\n cursor: pointer;\n}\n.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label {\n max-width: calc(100% - 18px);\n}\n.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above {\n max-width: calc(100% / 0.75 - 24px);\n}\n.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch {\n max-width: calc(100% - 60px);\n}\n.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch {\n max-width: calc(100% - 24px);\n}\n\n.mat-mdc-select-min-line:empty::before {\n content: " ";\n white-space: pre;\n width: 1px;\n display: inline-block;\n visibility: hidden;\n}\n\n.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper {\n transform: var(--%NS%mat-select-arrow-transform, translateY(-8px));\n}\n'],encapsulation:2})}class It{static \u0275fac=function(Mt){return new(Mt||It)};static \u0275dir=I.FsC({type:It,selectors:[["mat-select-trigger"]],features:[I.Jv_([{provide:ue,useExisting:It}])]})}class Kt{static \u0275fac=function(Mt){return new(Mt||Kt)};static \u0275mod=I.$C({type:Kt,imports:[U.z_,xe,rt,It],exports:[y.jI,J.Gj,Tt.R,rt,It,xe]});static \u0275inj=T.G2t({imports:[U.z_,xe,y.jI,J.Gj,Tt.R,xe]})}},5989(st,pe,h){"use strict";h.d(pe,{B4:()=>Z,NQ:()=>j});var m=h(28939),s=h(70903),f=h(39962),P=h(55919),D=h(32540),y=h(67527),b=h(87728),x=h(5156),N=h(35482),M=h(50783),U=h(38750),J=h(92320),I=h(35886);const T=["*",[["","matSortHeaderIcon",""]]],C=["*","[matSortHeaderIcon]"];function R(ce,ye){1&ce&&(m.qSk(),s.rj2(0,"svg",3),s.Hgh(1,"path",4),s.eux())}function B(ce,ye){1&ce&&(s.rj2(0,"div",2),s.SdG(1,1,null,R,2,0),s.eux())}const O=new m.nKC("MAT_SORT_DEFAULT_OPTIONS");class Z{_defaultOptions;_initializedStream=new D.m(1);sortables=new Map;_stateChanges=new P.B;active;start="asc";get direction(){return this._direction}set direction(ye){this._direction=ye}_direction="";disableClear;disabled=!1;sortChange=new m.bkB;initialized=this._initializedStream;constructor(ye){this._defaultOptions=ye}register(ye){this.sortables.set(ye.id,ye)}deregister(ye){this.sortables.delete(ye.id)}sort(ye){this.active!=ye.id?(this.active=ye.id,this.direction=ye.start?ye.start:this.start):this.direction=this.getNextSortDirection(ye),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(ye){if(!ye)return"";const Le=ye?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear;let $e=function Ee(ce,ye){let Le=["asc","desc"];return"desc"==ce&&Le.reverse(),ye||Le.push(""),Le}(ye.start||this.start,Le),Tt=$e.indexOf(this.direction)+1;return Tt>=$e.length&&(Tt=0),$e[Tt]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static \u0275fac=function(Le){return new(Le||Z)(s.rXU(O,8))};static \u0275dir=s.FsC({type:Z,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",f.L39],disabled:[2,"matSortDisabled","disabled",f.L39]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[s.OA$]})}class oe{_sort=(0,m.WQX)(Z,{optional:!0});_columnDef=(0,m.WQX)(M.AL,{optional:!0});_changeDetectorRef=(0,m.WQX)(f.gRc);_focusMonitor=(0,m.WQX)(x.FN);_elementRef=(0,m.WQX)(s.aKT);_ariaDescriber=(0,m.WQX)(b.vr,{optional:!0});_renderChanges;_animationsDisabled=(0,U.Rc)();_recentlyCleared=(0,m.vPA)(null);_sortButton;id;arrowPosition="after";start;disabled=!1;get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(ye){this._updateSortActionDescription(ye)}_sortActionDescription="Sort";disableClear;constructor(){(0,m.WQX)(N.l).load(J.A);const ye=(0,m.WQX)(O,{optional:!0});this._sort,ye?.arrowPosition&&(this.arrowPosition=ye?.arrowPosition)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._sort.register(this),this._renderChanges=(0,y.h)(this._sort._stateChanges,this._sort.sortChange).subscribe(()=>this._changeDetectorRef.markForCheck()),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(()=>{Promise.resolve().then(()=>this._recentlyCleared.set(null))})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._renderChanges?.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_toggleOnInteraction(){if(!this._isDisabled()){const ye=this._isSorted(),Le=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(ye&&!this._isSorted()?Le:null)}}_handleKeydown(ye){(32===ye.keyCode||13===ye.keyCode)&&(ye.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(ye){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,ye)),this._sortActionDescription=ye}static \u0275fac=function(Le){return new(Le||oe)};static \u0275cmp=s.VBU({type:oe,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(Le,$e){1&Le&&s.bIt("click",function(){return $e._toggleOnInteraction()})("keydown",function(We){return $e._handleKeydown(We)})("mouseleave",function(){return $e._recentlyCleared.set(null)}),2&Le&&(s.BMQ("aria-sort",$e._getAriaSortAttribute()),s.AVh("mat-sort-header-disabled",$e._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",f.L39],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",f.L39]},exportAs:["matSortHeader"],ngContentSelectors:C,decls:4,vars:17,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],["viewBox","0 -960 960 960","focusable","false","aria-hidden","true"],["d","M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z"]],template:function(Le,$e){1&Le&&(s.NAR(T),s.rj2(0,"div",0)(1,"div",1),s.SdG(2),s.eux(),s.nVh(3,B,3,0,"div",2),s.eux()),2&Le&&(s.AVh("mat-sort-header-sorted",$e._isSorted())("mat-sort-header-position-before","before"===$e.arrowPosition)("mat-sort-header-descending","desc"===$e._sort.direction)("mat-sort-header-ascending","asc"===$e._sort.direction)("mat-sort-header-recently-cleared-ascending","asc"===$e._recentlyCleared())("mat-sort-header-recently-cleared-descending","desc"===$e._recentlyCleared())("mat-sort-header-animations-disabled",$e._animationsDisabled),s.BMQ("tabindex",$e._isDisabled()?null:0)("role",$e._isDisabled()?null:"button"),s.R7$(3),s.vxM($e._renderArrow()?3:-1))},styles:[".mat-sort-header {\n cursor: pointer;\n}\n\n.mat-sort-header-disabled {\n cursor: default;\n}\n\n.mat-sort-header-container {\n display: flex;\n align-items: center;\n letter-spacing: normal;\n outline: 0;\n}\n[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container, [mat-sort-header].cdk-program-focused .mat-sort-header-container {\n border-bottom: var(--%NS%mat-focus-indicator-fallback-border-style, solid) 1px currentColor;\n}\n.mat-sort-header-container::before {\n margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 4px) * -1);\n}\n\n.mat-sort-header-content {\n display: flex;\n align-items: center;\n}\n\n.mat-sort-header-position-before {\n flex-direction: row-reverse;\n}\n\n@keyframes _mat-sort-header-recently-cleared-ascending {\n from {\n transform: translateY(0);\n opacity: 1;\n }\n to {\n transform: translateY(-25%);\n opacity: 0;\n }\n}\n@keyframes _mat-sort-header-recently-cleared-descending {\n from {\n transform: translateY(0) rotate(180deg);\n opacity: 1;\n }\n to {\n transform: translateY(25%) rotate(180deg);\n opacity: 0;\n }\n}\n.mat-sort-header-arrow {\n height: 12px;\n width: 12px;\n position: relative;\n transition: transform 225ms cubic-bezier(0.4, 0, 0.2, 1), opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);\n opacity: 0;\n overflow: visible;\n color: var(--%NS%mat-sort-arrow-color, var(--%NS%mat-sys-on-surface));\n}\n.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow, .mat-sort-header.cdk-program-focused .mat-sort-header-arrow, .mat-sort-header:hover .mat-sort-header-arrow {\n opacity: 0.54;\n}\n.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow {\n opacity: 1;\n}\n.mat-sort-header-descending .mat-sort-header-arrow {\n transform: rotate(180deg);\n}\n.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow {\n transform: translateY(-25%);\n}\n.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow {\n transition: none;\n animation: _mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards;\n}\n.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow {\n transition: none;\n animation: _mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards;\n}\n.mat-sort-header-animations-disabled .mat-sort-header-arrow {\n transition-duration: 0ms;\n animation-duration: 0ms;\n}\n.mat-sort-header-arrow > svg, .mat-sort-header-arrow [matSortHeaderIcon] {\n width: 24px;\n height: 24px;\n fill: currentColor;\n position: absolute;\n top: 50%;\n left: 50%;\n margin: -12px 0 0 -12px;\n transform: translateZ(0);\n}\n.mat-sort-header-arrow, [dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow {\n margin: 0 0 0 6px;\n}\n.mat-sort-header-position-before .mat-sort-header-arrow, [dir=rtl] .mat-sort-header-arrow {\n margin: 0 6px 0 0;\n}\n"],encapsulation:2})}class j{static \u0275fac=function(Le){return new(Le||j)};static \u0275mod=s.$C({type:j,imports:[Z,oe],exports:[Z,oe,I.jI]});static \u0275inj=m.G2t({imports:[I.jI]})}class te{changes=new P.B;static \u0275fac=function(Le){return new(Le||te)};static \u0275prov=s.tV_({token:te,factory:te.\u0275fac})}},31259(st,pe,h){"use strict";h.d(pe,{I6:()=>be,tP:()=>he});var m=h(28939),s=h(70903),f=h(39962),P=h(50783),D=h(55919),y=h(5651),b=h(75889),x=h(67527),N=h(47086),M=h(52247),U=h(48193),J=h(65229),I=h(35886);const T=[[["caption"]],[["colgroup"],["col"]],"*"],C=["caption","colgroup, col","*"];function R(de,G){1&de&&s.SdG(0,2)}function B(de,G){1&de&&(s.j41(0,"thead",0),s.eu8(1,1),s.k0s(),s.j41(2,"tbody",2),s.eu8(3,3)(4,4),s.k0s(),s.j41(5,"tfoot",0),s.eu8(6,5),s.k0s())}function F(de,G){1&de&&s.eu8(0,1)(1,3)(2,4)(3,5)}function $(de,G){if(1&de&&(s.j41(0,"th",3),s.EFF(1),s.k0s()),2&de){const Fe=s.XpG();s.xc7("text-align",Fe.justify),s.R7$(),s.SpI(" ",Fe.headerText," ")}}function E(de,G){if(1&de&&(s.j41(0,"td",4),s.EFF(1),s.k0s()),2&de){const Fe=G.$implicit,He=s.XpG();s.xc7("text-align",He.justify),s.R7$(),s.SpI(" ",He.dataAccessor(Fe,He.name)," ")}}class w{static \u0275fac=function(Fe){return new(Fe||w)};static \u0275dir=s.FsC({type:w,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]]})}class O extends P.Rk{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let G;return function(He){return(G||(G=s.xGo(O)))(He||O)}})();static \u0275cmp=s.VBU({type:O,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(Fe,He){2&Fe&&s.AVh("mat-table-fixed-layout",He.fixedLayout)},exportAs:["matTable"],features:[s.Jv_([{provide:P.Rk,useExisting:O},{provide:P.EZ,useExisting:O},{provide:P.ZM,useValue:null}]),s.Vt3],ngContentSelectors:C,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Fe,He){1&Fe&&(s.NAR(T),s.SdG(0),s.SdG(1,1),s.nVh(2,R,1,0),s.nVh(3,B,7,0)(4,F,4,0)),2&Fe&&(s.R7$(2),s.vxM(He._isServer?2:-1),s.R7$(),s.vxM(He._isNativeHtmlTable?3:4))},dependencies:[P.pe,P.yT,P.RT,P.lH],styles:[".mat-mdc-table-sticky {\n position: sticky !important;\n}\n\nmat-table {\n display: block;\n}\n\nmat-header-row {\n min-height: var(--%NS%mat-table-header-container-height, 56px);\n}\n\nmat-row {\n min-height: var(--%NS%mat-table-row-item-container-height, 52px);\n}\n\nmat-footer-row {\n min-height: var(--%NS%mat-table-footer-container-height, 52px);\n}\n\nmat-row, mat-header-row, mat-footer-row {\n display: flex;\n border-width: 0;\n border-bottom-width: 1px;\n border-style: solid;\n align-items: center;\n box-sizing: border-box;\n}\n\nmat-cell:first-of-type, mat-header-cell:first-of-type, mat-footer-cell:first-of-type {\n padding-left: 24px;\n}\n[dir=rtl] mat-cell:first-of-type:not(:only-of-type), [dir=rtl] mat-header-cell:first-of-type:not(:only-of-type), [dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type) {\n padding-left: 0;\n padding-right: 24px;\n}\nmat-cell:last-of-type, mat-header-cell:last-of-type, mat-footer-cell:last-of-type {\n padding-right: 24px;\n}\n[dir=rtl] mat-cell:last-of-type:not(:only-of-type), [dir=rtl] mat-header-cell:last-of-type:not(:only-of-type), [dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type) {\n padding-right: 0;\n padding-left: 24px;\n}\n\nmat-cell, mat-header-cell, mat-footer-cell {\n flex: 1;\n display: flex;\n align-items: center;\n overflow: hidden;\n word-wrap: break-word;\n min-height: inherit;\n}\n\n.mat-mdc-table {\n min-width: 100%;\n border: 0;\n border-spacing: 0;\n table-layout: auto;\n white-space: normal;\n background-color: var(--%NS%mat-table-background-color, var(--%NS%mat-sys-surface));\n}\n\n.mat-table-fixed-layout {\n table-layout: fixed;\n}\n\n.mdc-data-table__cell {\n box-sizing: border-box;\n overflow: hidden;\n text-align: start;\n text-overflow: ellipsis;\n}\n\n.mdc-data-table__cell,\n.mdc-data-table__header-cell {\n padding: 0 16px;\n}\n\n.mat-mdc-header-row {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n height: var(--%NS%mat-table-header-container-height, 56px);\n color: var(--%NS%mat-table-header-headline-color, var(--%NS%mat-sys-on-surface, rgba(0, 0, 0, 0.87)));\n font-family: var(--%NS%mat-table-header-headline-font, var(--%NS%mat-sys-title-small-font, Roboto, sans-serif));\n line-height: var(--%NS%mat-table-header-headline-line-height, var(--%NS%mat-sys-title-small-line-height));\n font-size: var(--%NS%mat-table-header-headline-size, var(--%NS%mat-sys-title-small-size, 14px));\n font-weight: var(--%NS%mat-table-header-headline-weight, var(--%NS%mat-sys-title-small-weight, 500));\n}\n\n.mat-mdc-row {\n height: var(--%NS%mat-table-row-item-container-height, 52px);\n color: var(--%NS%mat-table-row-item-label-text-color, var(--%NS%mat-sys-on-surface, rgba(0, 0, 0, 0.87)));\n}\n\n.mat-mdc-row,\n.mdc-data-table__content {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: var(--%NS%mat-table-row-item-label-text-font, var(--%NS%mat-sys-body-medium-font, Roboto, sans-serif));\n line-height: var(--%NS%mat-table-row-item-label-text-line-height, var(--%NS%mat-sys-body-medium-line-height));\n font-size: var(--%NS%mat-table-row-item-label-text-size, var(--%NS%mat-sys-body-medium-size, 14px));\n font-weight: var(--%NS%mat-table-row-item-label-text-weight, var(--%NS%mat-sys-body-medium-weight));\n}\n\n.mat-mdc-footer-row {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n height: var(--%NS%mat-table-footer-container-height, 52px);\n color: var(--%NS%mat-table-row-item-label-text-color, var(--%NS%mat-sys-on-surface, rgba(0, 0, 0, 0.87)));\n font-family: var(--%NS%mat-table-footer-supporting-text-font, var(--%NS%mat-sys-body-medium-font, Roboto, sans-serif));\n line-height: var(--%NS%mat-table-footer-supporting-text-line-height, var(--%NS%mat-sys-body-medium-line-height));\n font-size: var(--%NS%mat-table-footer-supporting-text-size, var(--%NS%mat-sys-body-medium-size, 14px));\n font-weight: var(--%NS%mat-table-footer-supporting-text-weight, var(--%NS%mat-sys-body-medium-weight));\n letter-spacing: var(--%NS%mat-table-footer-supporting-text-tracking, var(--%NS%mat-sys-body-medium-tracking));\n}\n\n.mat-mdc-header-cell {\n border-bottom-color: var(--%NS%mat-table-row-item-outline-color, var(--%NS%mat-sys-outline, rgba(0, 0, 0, 0.12)));\n border-bottom-width: var(--%NS%mat-table-row-item-outline-width, 1px);\n border-bottom-style: solid;\n letter-spacing: var(--%NS%mat-table-header-headline-tracking, var(--%NS%mat-sys-title-small-tracking));\n font-weight: inherit;\n line-height: inherit;\n box-sizing: border-box;\n text-overflow: ellipsis;\n overflow: hidden;\n outline: none;\n text-align: start;\n}\n.mdc-data-table__row:last-child > .mat-mdc-header-cell {\n border-bottom: none;\n}\n\n.mat-mdc-cell {\n border-bottom-color: var(--%NS%mat-table-row-item-outline-color, var(--%NS%mat-sys-outline, rgba(0, 0, 0, 0.12)));\n border-bottom-width: var(--%NS%mat-table-row-item-outline-width, 1px);\n border-bottom-style: solid;\n letter-spacing: var(--%NS%mat-table-row-item-label-text-tracking, var(--%NS%mat-sys-body-medium-tracking));\n line-height: inherit;\n}\n.mdc-data-table__row:last-child > .mat-mdc-cell {\n border-bottom: none;\n}\n\n.mat-mdc-footer-cell {\n letter-spacing: var(--%NS%mat-table-row-item-label-text-tracking, var(--%NS%mat-sys-body-medium-tracking));\n}\n\nmat-row.mat-mdc-row,\nmat-header-row.mat-mdc-header-row,\nmat-footer-row.mat-mdc-footer-row {\n border-bottom: none;\n}\n\n.mat-mdc-table tbody,\n.mat-mdc-table tfoot,\n.mat-mdc-table thead,\n.mat-mdc-cell,\n.mat-mdc-footer-cell,\n.mat-mdc-header-row,\n.mat-mdc-row,\n.mat-mdc-footer-row,\n.mat-mdc-table .mat-mdc-header-cell {\n background: inherit;\n}\n\n.mat-mdc-table mat-header-row.mat-mdc-header-row,\n.mat-mdc-table mat-row.mat-mdc-row,\n.mat-mdc-table mat-footer-row.mat-mdc-footer-cell {\n height: unset;\n}\n\nmat-header-cell.mat-mdc-header-cell,\nmat-cell.mat-mdc-cell,\nmat-footer-cell.mat-mdc-footer-cell {\n align-self: stretch;\n}\n"],encapsulation:2,changeDetection:1})}class Z extends P.cO{static \u0275fac=(()=>{let G;return function(He){return(G||(G=s.xGo(Z)))(He||Z)}})();static \u0275dir=s.FsC({type:Z,selectors:[["","matCellDef",""]],features:[s.Jv_([{provide:P.cO,useExisting:Z}]),s.Vt3]})}class Ee extends P.n5{static \u0275fac=(()=>{let G;return function(He){return(G||(G=s.xGo(Ee)))(He||Ee)}})();static \u0275dir=s.FsC({type:Ee,selectors:[["","matHeaderCellDef",""]],features:[s.Jv_([{provide:P.n5,useExisting:Ee}]),s.Vt3]})}class oe extends P.L_{static \u0275fac=(()=>{let G;return function(He){return(G||(G=s.xGo(oe)))(He||oe)}})();static \u0275dir=s.FsC({type:oe,selectors:[["","matFooterCellDef",""]],features:[s.Jv_([{provide:P.L_,useExisting:oe}]),s.Vt3]})}class j extends P.AL{get name(){return this._name}set name(G){this._setNameInput(G)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let G;return function(He){return(G||(G=s.xGo(j)))(He||j)}})();static \u0275dir=s.FsC({type:j,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[s.Jv_([{provide:P.AL,useExisting:j}]),s.Vt3]})}class te extends P.sY{static \u0275fac=(()=>{let G;return function(He){return(G||(G=s.xGo(te)))(He||te)}})();static \u0275dir=s.FsC({type:te,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[s.Vt3]})}class ce extends P.c7{static \u0275fac=(()=>{let G;return function(He){return(G||(G=s.xGo(ce)))(He||ce)}})();static \u0275dir=s.FsC({type:ce,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[s.Vt3]})}class ye extends P.VP{static \u0275fac=(()=>{let G;return function(He){return(G||(G=s.xGo(ye)))(He||ye)}})();static \u0275dir=s.FsC({type:ye,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[s.Vt3]})}class $e extends P.hi{static \u0275fac=(()=>{let G;return function(He){return(G||(G=s.xGo($e)))(He||$e)}})();static \u0275dir=s.FsC({type:$e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",f.L39]},features:[s.Jv_([{provide:P.hi,useExisting:$e}]),s.Vt3]})}class Tt extends P.df{static \u0275fac=(()=>{let G;return function(He){return(G||(G=s.xGo(Tt)))(He||Tt)}})();static \u0275dir=s.FsC({type:Tt,selectors:[["","matFooterRowDef",""]],inputs:{columns:[0,"matFooterRowDef","columns"],sticky:[2,"matFooterRowDefSticky","sticky",f.L39]},features:[s.Jv_([{provide:P.df,useExisting:Tt}]),s.Vt3]})}class We extends P.oh{static \u0275fac=(()=>{let G;return function(He){return(G||(G=s.xGo(We)))(He||We)}})();static \u0275dir=s.FsC({type:We,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[s.Jv_([{provide:P.oh,useExisting:We}]),s.Vt3]})}class Me extends P.wA{static \u0275fac=(()=>{let G;return function(He){return(G||(G=s.xGo(Me)))(He||Me)}})();static \u0275cmp=s.VBU({type:Me,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[s.Jv_([{provide:P.wA,useExisting:Me}]),s.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Fe,He){1&Fe&&s.eu8(0,0)},dependencies:[P.I8],encapsulation:2,changeDetection:1})}class ut extends P.Y${static \u0275fac=(()=>{let G;return function(He){return(G||(G=s.xGo(ut)))(He||ut)}})();static \u0275cmp=s.VBU({type:ut,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[s.Jv_([{provide:P.Y$,useExisting:ut}]),s.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Fe,He){1&Fe&&s.eu8(0,0)},dependencies:[P.I8],encapsulation:2,changeDetection:1})}class xe extends P.hc{static \u0275fac=(()=>{let G;return function(He){return(G||(G=s.xGo(xe)))(He||xe)}})();static \u0275cmp=s.VBU({type:xe,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[s.Jv_([{provide:P.hc,useExisting:xe}]),s.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Fe,He){1&Fe&&s.eu8(0,0)},dependencies:[P.I8],encapsulation:2,changeDetection:1})}class Te extends P.u4{_cellSelector="td, mat-cell, [mat-cell], .mat-cell";constructor(){super(),this._contentClassNames.push("mat-mdc-no-data-row","mat-mdc-row","mdc-data-table__row"),this._cellClassNames.push("mat-mdc-cell","mdc-data-table__cell","mat-no-data-cell")}static \u0275fac=function(Fe){return new(Fe||Te)};static \u0275dir=s.FsC({type:Te,selectors:[["ng-template","matNoDataRow",""]],features:[s.Jv_([{provide:P.u4,useExisting:Te}]),s.Vt3]})}class Ce extends P.ki{static \u0275fac=(()=>{let G;return function(He){return(G||(G=s.xGo(Ce)))(He||Ce)}})();static \u0275cmp=s.VBU({type:Ce,selectors:[["mat-text-column"]],features:[s.Vt3],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(Fe,He){1&Fe&&(s.qex(0,0),s.DNE(1,$,2,3,"th",1)(2,E,2,3,"td",2),s.bVm())},dependencies:[j,Ee,te,Z,ye],encapsulation:2,changeDetection:1})}class he{static \u0275fac=function(Fe){return new(Fe||he)};static \u0275mod=s.$C({type:he,imports:[P.N0,O,w,Ee,$e,j,Z,We,oe,Tt,te,ye,ce,Me,xe,ut,Te,Ce],exports:[I.jI,O,w,Ee,$e,j,Z,We,oe,Tt,te,ye,ce,Me,xe,ut,Te,Ce]});static \u0275inj=m.G2t({imports:[P.N0,I.jI]})}class be extends M.q{_data;_renderData=new y.t([]);_filter=new y.t("");_internalPageChanges=new D.B;_renderChangesSubscription=null;filteredData;get data(){return this._data.value}set data(G){G=Array.isArray(G)?G:[],this._data.next(G),this._renderChangesSubscription||this._filterData(G)}get filter(){return this._filter.value}set filter(G){this._filter.next(G),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(G){this._sort=G,this._updateChangeSubscription()}_sort;get paginator(){return this._paginator}set paginator(G){this._paginator=G,this._updateChangeSubscription()}_paginator;sortingDataAccessor=(G,Fe)=>{const He=G[Fe];if((0,U.o1)(He)){const wt=Number(He);return wt<9007199254740991?wt:He}return He};sortData=(G,Fe)=>{const He=Fe.active,wt=Fe.direction;return He&&""!=wt?G.sort((Jt,ee)=>{let V=this.sortingDataAccessor(Jt,He),ue=this.sortingDataAccessor(ee,He);const De=typeof V,rt=typeof ue;De!==rt&&("number"===De&&(V+=""),"number"===rt&&(ue+=""));let It=0;return null!=V&&null!=ue?V>ue?It=1:V<ue&&(It=-1):null!=V?It=1:null!=ue&&(It=-1),It*("asc"==wt?1:-1)}):G};filterPredicate=(G,Fe)=>{const He=Fe.trim().toLowerCase();return Object.values(G).some(wt=>`${wt}`.toLowerCase().includes(He))};constructor(G=[]){super(),this._data=new y.t(G),this._updateChangeSubscription()}_updateChangeSubscription(){const G=this._sort?(0,x.h)(this._sort.sortChange,this._sort.initialized):(0,N.of)(null),Fe=this._paginator?(0,x.h)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,N.of)(null),He=this._data,wt=(0,b.z)([He,this._filter]).pipe((0,J.T)(([V])=>this._filterData(V))),Jt=(0,b.z)([wt,G]).pipe((0,J.T)(([V])=>this._orderData(V))),ee=(0,b.z)([Jt,Fe]).pipe((0,J.T)(([V])=>this._pageData(V)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=ee.subscribe(V=>this._renderData.next(V))}_filterData(G){return this.filteredData=null==this.filter||""===this.filter?G:G.filter(Fe=>this.filterPredicate(Fe,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(G){return this.sort?this.sortData(G.slice(),this.sort):G}_pageData(G){if(!this.paginator)return G;const Fe=this.paginator.pageIndex*this.paginator.pageSize;return G.slice(Fe,Fe+this.paginator.pageSize)}_updatePaginator(G){Promise.resolve().then(()=>{const Fe=this.paginator;if(Fe&&(Fe.length=G,Fe.pageIndex>0)){const He=Math.ceil(Fe.length/Fe.pageSize)-1||0,wt=Math.min(Fe.pageIndex,He);wt!==Fe.pageIndex&&(Fe.pageIndex=wt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},81086(st,pe,h){"use strict";h.d(pe,{u:()=>x});var m=h(83297),s=h(28939),f=h(70903),P=h(83896),D=h(35886),y=h(51564),b=h(32445);class x{static \u0275fac=function(U){return new(U||x)};static \u0275mod=f.$C({type:x,imports:[P.Pd,y.z_,m.oV,m.b6],exports:[m.oV,m.b6,D.jI,b.Gj]});static \u0275inj=s.G2t({imports:[P.Pd,y.z_,D.jI,b.Gj]})}},52890(st,pe,h){"use strict";var s=h(28939),f=h(70903),P=h(39962),D=h(60262),y=h(6569);const x=[{provide:f.Ql9,useFactory:()=>new f.Ql9}];function U(R){for(let B=R.length-1;B>=0;B--)if(void 0!==R[B])return R[B]}function J(R){const B=[];return R.forEach(F=>F&&B.push(...F)),B}class I extends D.WHm{get(B){let F,$;const E=new Promise((O,Z)=>{F=O,$=Z}),w=new XMLHttpRequest;return w.open("GET",B,!0),w.responseType="text",w.onload=function(){const O=w.response;let Z=w.status;0===Z&&(Z=O?200:0),200<=Z&&Z<=300?F(O):$(`Failed to load ${B}`)},w.onerror=function(){$(`Failed to load ${B}`)},w.send(),E}static \u0275fac=(()=>{let B;return function($){return(B||(B=f.xGo(I)))($||I)}})();static \u0275prov=s.jDH({token:I,factory:I.\u0275fac})}const T=[{provide:f.d80,useValue:{providers:[{provide:D.WHm,useClass:I,deps:[]}]},multi:!0},{provide:f.OfE,useClass:class N{_defaultOptions;constructor(B){const F={defaultEncapsulation:f.gXe.Emulated};this._defaultOptions=[F,...B]}createCompiler(B=[]){const F=function M(R){return{defaultEncapsulation:U(R.map(B=>B.defaultEncapsulation)),providers:J(R.map(B=>B.providers)),preserveWhitespaces:U(R.map(B=>B.preserveWhitespaces))}}(this._defaultOptions.concat(B));return s.zZn.create({providers:[x,{provide:D.udt,useFactory:()=>new D.udt({defaultEncapsulation:F.defaultEncapsulation,preserveWhitespaces:F.preserveWhitespaces}),deps:[]},F.providers]}).get(f.Ql9)}},deps:[f.d80]}],C=(0,P.oH4)(y.sG,"browserDynamic",T);h.d(pe,["x7",0,C])},6569(st,pe,h){"use strict";h.d(pe,{Bb:()=>Ce});var D=h(87514),y=h(28939),b=h(12986),x=h(93049),N=h(1382),M=h(70903),U=h(39962),J=h(44217);class I extends x.qj{supportsDOMEvents=!0;static makeCurrent(){(0,x.ig)(new I)}onAndCancel(he,ve,be,de){return he.addEventListener(ve,be,de),()=>{he.removeEventListener(ve,be,de)}}dispatchEvent(he,ve){he.dispatchEvent(ve)}remove(he){he.remove()}createElement(he,ve){return(ve=ve||this.getDefaultDocument()).createElement(he)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(he){return he.nodeType===Node.ELEMENT_NODE}isShadowRoot(he){return he instanceof DocumentFragment}getGlobalEventTarget(he,ve){return"window"===ve?window:"document"===ve?he:"body"===ve?he.body:null}getBaseHref(he){const ve=function C(){return T=T||document.head.querySelector("base"),T?T.getAttribute("href"):null}();return null==ve?null:function R(et){return new URL(et,document.baseURI).pathname}(ve)}resetBaseElement(){T=null}getUserAgent(){return window.navigator.userAgent}getCookie(he){return(0,N.b)(document.cookie,he)}}let T=null;const F=["alt","control","meta","shift"],$={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},E={alt:et=>et.altKey,control:et=>et.ctrlKey,meta:et=>et.metaKey,shift:et=>et.shiftKey};class w extends J.Hl{constructor(he){super(he)}supports(he){return null!=w.parseEventName(he)}addEventListener(he,ve,be,de){const G=w.parseEventName(ve),Fe=w.eventCallback(G.fullKey,be,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,x.rb)().onAndCancel(he,G.domEventName,Fe,de))}static parseEventName(he){const ve=he.toLowerCase().split("."),be=ve.shift();if(0===ve.length||"keydown"!==be&&"keyup"!==be)return null;const de=w._normalizeKey(ve.pop());let G="",Fe=ve.indexOf("code");if(Fe>-1&&(ve.splice(Fe,1),G="code."),F.forEach(wt=>{const Jt=ve.indexOf(wt);Jt>-1&&(ve.splice(Jt,1),G+=wt+".")}),G+=de,0!=ve.length||0===de.length)return null;const He={};return He.domEventName=be,He.fullKey=G,He}static matchEventFullKeyCode(he,ve){let be=$[he.key]||he.key,de="";return ve.indexOf("code.")>-1&&(be=he.code,de="code."),!(null==be||!be)&&(be=be.toLowerCase()," "===be?be="space":"."===be&&(be="dot"),F.forEach(G=>{if(G!==be){(0,E[G])(he)&&(de+=G+".")}}),de+=be,de===ve)}static eventCallback(he,ve,be){return de=>{w.matchEventFullKeyCode(de,he)&&be.runGuarded(()=>ve(de))}}static _normalizeKey(he){return"esc"===he?"escape":he}static \u0275fac=function(ve){return new(ve||w)(y.KVO(y.qQL))};static \u0275prov=y.jDH({token:w,factory:w.\u0275fac})}const We=[{provide:y.Agw,useValue:D.AJ},{provide:y.PLl,useValue:function Le(){I.makeCurrent()},multi:!0},{provide:y.qQL,useFactory:function Tt(){return(0,M._9u)(document),document}}],Me=(0,U.oH4)(U.fpN,"browser",We),xe=(new y.nKC(""),[{provide:M.$Ln,useClass:class B{addToWindow(he){y.laP.getAngularTestability=(be,de=!0)=>{const G=he.findTestabilityInTree(be,de);if(null==G)throw new y.buA(5103,!1);return G},y.laP.getAllAngularTestabilities=()=>he.getAllTestabilities(),y.laP.getAllAngularRootElements=()=>he.getAllRootElements();y.laP.frameworkStabilizers||(y.laP.frameworkStabilizers=[]),y.laP.frameworkStabilizers.push(be=>{const de=y.laP.getAllAngularTestabilities();let G=de.length;const Fe=function(){G--,0==G&&be()};de.forEach(He=>{He.whenStable(Fe)})})}findTestabilityInTree(he,ve,be){if(null==ve)return null;return he.getTestability(ve)??(be?(0,x.rb)().isShadowRoot(ve)?this.findTestabilityInTree(he,ve.host,!0):this.findTestabilityInTree(he,ve.parentElement,!0):null)}}},{provide:M.dOL,useClass:M.NYb,deps:[y.SKi,M.giA,M.$Ln]},{provide:M.NYb,useClass:M.NYb,deps:[y.SKi,M.giA,M.$Ln]}]),Te=[{provide:y.GBX,useValue:"root"},{provide:y.zcH,useFactory:function $e(){return new y.zcH}},{provide:J.Q5,useClass:J.jd,multi:!0},{provide:J.Q5,useClass:w,multi:!0},J.mE,{provide:M.sWG,useClass:J.CI},{provide:J.CI,useExisting:M.sWG},J.EU,{provide:M._9s,useExisting:J.mE},[]];class Ce{constructor(){}static \u0275fac=function(ve){return new(ve||Ce)};static \u0275mod=M.$C({type:Ce,exports:[b.MD,U.Hbi]});static \u0275inj=y.G2t({providers:[...Te,...xe],imports:[b.MD,U.Hbi]})}h.d(pe,["sG",0,Me])},44217(st,pe,h){"use strict";h.d(pe,{CI:()=>C,EU:()=>N,Hl:()=>y,jd:()=>b,mE:()=>$e});var f=h(28939),P=h(93049),D=h(70903);class y{_doc;constructor(he){this._doc=he}manager}class b extends y{constructor(he){super(he)}supports(he){return!0}addEventListener(he,ve,be,de){return he.addEventListener(ve,be,de),()=>this.removeEventListener(he,ve,be,de)}removeEventListener(he,ve,be,de){return he.removeEventListener(ve,be,de)}static \u0275fac=function(ve){return new(ve||b)(f.KVO(f.qQL))};static \u0275prov=f.jDH({token:b,factory:b.\u0275fac})}const x=new f.nKC("");class N{_zone;_plugins;_eventNameToPlugin=new Map;constructor(he,ve){this._zone=ve,he.forEach(G=>{G.manager=this});const be=he.filter(G=>!(G instanceof b));this._plugins=be.slice().reverse();const de=he.find(G=>G instanceof b);de&&this._plugins.push(de)}addEventListener(he,ve,be,de){return this._findPluginFor(ve).addEventListener(he,ve,be,de)}getZone(){return this._zone}_findPluginFor(he){let ve=this._eventNameToPlugin.get(he);if(ve)return ve;if(ve=this._plugins.find(de=>de.supports(he)),!ve)throw new f.buA(-5101,!1);return this._eventNameToPlugin.set(he,ve),ve}static \u0275fac=function(ve){return new(ve||N)(f.KVO(x),f.KVO(f.SKi))};static \u0275prov=f.jDH({token:N,factory:N.\u0275fac})}const M="ng-app-id";function U(et){for(const he of et)he.remove()}function J(et,he){const ve=he.createElement("style");return ve.textContent=et,ve}function T(et,he){const ve=he.createElement("link");return ve.setAttribute("rel","stylesheet"),ve.setAttribute("href",et),ve}class C{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(he,ve,be,de={}){this.doc=he,this.appId=ve,this.nonce=be,function I(et,he,ve,be){const de=et.head?.querySelectorAll(`style[${M}="${he}"],link[${M}="${he}"]`);if(!de||0===de.length)return!1;for(const G of de)G.removeAttribute(M),G instanceof HTMLLinkElement?be.set(G.href.slice(G.href.lastIndexOf("/")+1),{usage:0,elements:[G]}):G.textContent&&ve.set(G.textContent,{usage:0,elements:[G]});return!0}(he,ve,this.inline,this.external)&&this.hosts.add(he.head)}addStyles(he,ve){for(const be of he)this.addUsage(be,this.inline,J);ve?.forEach(be=>this.addUsage(be,this.external,T))}removeStyles(he,ve){for(const be of he)this.removeUsage(be,this.inline);ve?.forEach(be=>this.removeUsage(be,this.external))}addUsage(he,ve,be){const de=ve.get(he);de?de.usage++:ve.set(he,{usage:1,elements:[...this.hosts].map(G=>this.addElement(G,be(he,this.doc)))})}removeUsage(he,ve){const be=ve.get(he);be&&(be.usage--,be.usage<=0&&(U(be.elements),ve.delete(he)))}ngOnDestroy(){for(const[,{elements:he}]of[...this.inline,...this.external])U(he);this.hosts.clear()}addHost(he){if(!this.hosts.has(he)){this.hosts.add(he);for(const[ve,{elements:be}]of this.inline)be.push(this.addElement(he,J(ve,this.doc)));for(const[ve,{elements:be}]of this.external)be.push(this.addElement(he,T(ve,this.doc)))}}removeHost(he){this.hosts.delete(he);for(const ve of[...this.inline.values(),...this.external.values()]){const be=[];for(const de of ve.elements)de.parentNode===he?de.remove():be.push(de);ve.elements=be}}addElement(he,ve){return this.nonce&&ve.setAttribute("nonce",this.nonce),he.appendChild(ve)}static \u0275fac=function(ve){return new(ve||C)(f.KVO(f.qQL),f.KVO(f.sZ2),f.KVO(f.BIS,8),f.KVO(f.Agw))};static \u0275prov=f.jDH({token:C,factory:C.\u0275fac})}const R={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},B=/%COMP%/g,E="%COMP%",w=`_nghost-${E}`,O=`_ngcontent-${E}`,Ee=new f.nKC("",{factory:()=>true}),oe=new f.nKC("");function ye(et,he){return he.map(ve=>ve.replace(B,et))}class $e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;cssVarNamespace;constructor(he,ve,be,de,G,Fe,He=null,wt=null,Jt=null){this.eventManager=he,this.sharedStylesHost=ve,this.appId=be,this.removeStylesOnCompDestroy=de,this.doc=G,this.ngZone=Fe,this.nonce=He,this.tracingService=wt,this.cssVarNamespace=Jt??"",this.defaultRenderer=new Tt(he,G,Fe,this.tracingService,this.cssVarNamespace)}createRenderer(he,ve){if(!he||!ve)return this.defaultRenderer;const be=this.getOrCreateRenderer(he,ve);return be instanceof Ce?be.applyToHost(he):be instanceof Te&&be.applyStyles(),be}getOrCreateRenderer(he,ve){const be=this.rendererByCompId;let de=be.get(ve.id);if(!de){const G=this.doc,Fe=this.ngZone,He=this.eventManager,wt=this.sharedStylesHost,Jt=this.removeStylesOnCompDestroy,ee=this.tracingService;switch(ve.encapsulation){case D.gXe.Emulated:de=new Ce(He,wt,ve,this.appId,Jt,G,Fe,ee,this.cssVarNamespace);break;case D.gXe.ShadowDom:return new xe(He,he,ve,G,Fe,this.nonce,ee,this.cssVarNamespace,wt);case D.gXe.ExperimentalIsolatedShadowDom:return new xe(He,he,ve,G,Fe,this.nonce,ee,this.cssVarNamespace);default:de=new Te(He,wt,ve,Jt,G,Fe,ee,this.cssVarNamespace)}be.set(ve.id,de)}return de}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(he){this.rendererByCompId.delete(he)}static \u0275fac=function(ve){return new(ve||$e)(f.KVO(N),f.KVO(D.sWG),f.KVO(f.sZ2),f.KVO(Ee),f.KVO(f.qQL),f.KVO(f.SKi),f.KVO(f.BIS),f.KVO(D.a8H,8),f.KVO(oe,8))};static \u0275prov=f.jDH({token:$e,factory:$e.\u0275fac})}class Tt{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(he,ve,be,de,G=""){this.eventManager=he,this.doc=ve,this.ngZone=be,this.tracingService=de,this.cssVarNamespace=G}destroy(){}destroyNode=null;createElement(he,ve){return ve?this.doc.createElementNS(R[ve]||ve,he):this.doc.createElement(he)}createComment(he){return this.doc.createComment(he)}createText(he){return this.doc.createTextNode(he)}appendChild(he,ve){(ut(he)?he.content:he).appendChild(ve)}insertBefore(he,ve,be){he&&(ut(he)?he.content:he).insertBefore(ve,be)}removeChild(he,ve){ve.remove()}selectRootElement(he,ve){let be="string"==typeof he?this.doc.querySelector(he):he;if(!be)throw new f.buA(-5104,!1);return ve||(be.textContent=""),be}parentNode(he){return he.parentNode}nextSibling(he){return he.nextSibling}setAttribute(he,ve,be,de){if(de){ve=de+":"+ve;const G=R[de];G?he.setAttributeNS(G,ve,be):he.setAttribute(ve,be)}else he.setAttribute(ve,be)}removeAttribute(he,ve,be){if(be){const de=R[be];de?he.removeAttributeNS(de,ve):he.removeAttribute(`${be}:${ve}`)}else he.removeAttribute(ve)}addClass(he,ve){he.classList.add(ve)}removeClass(he,ve){he.classList.remove(ve)}setStyle(he,ve,be,de){const G=ve.startsWith("--");G&&(ve=ve.replace("%NS%",this.cssVarNamespace)),G||de&(D.czy.DashCase|D.czy.Important)?he.style.setProperty(ve,be,de&D.czy.Important?"important":""):he.style[ve]=be}removeStyle(he,ve,be){const de=ve.startsWith("--");de&&(ve=ve.replace("%NS%",this.cssVarNamespace)),de||be&D.czy.DashCase?he.style.removeProperty(ve):he.style[ve]=""}setProperty(he,ve,be){null!=he&&(he[ve]=be)}setValue(he,ve){he.nodeValue=ve}listen(he,ve,be,de){if("string"==typeof he&&!(he=(0,P.rb)().getGlobalEventTarget(this.doc,he)))throw new f.buA(-5102,!1);let G=this.decoratePreventDefault(be);return this.tracingService?.wrapEventListener&&(G=this.tracingService.wrapEventListener(he,ve,G)),this.eventManager.addEventListener(he,ve,G,de)}decoratePreventDefault(he){return ve=>{if("__ngUnwrap__"===ve)return he;!1===he(ve)&&ve.preventDefault()}}}function ut(et){return"TEMPLATE"===et.tagName&&void 0!==et.content}class xe extends Tt{hostEl;sharedStylesHost;shadowRoot;constructor(he,ve,be,de,G,Fe,He,wt,Jt){super(he,de,G,He,wt),this.hostEl=ve,this.sharedStylesHost=Jt,this.shadowRoot=ve.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let ee=be.styles;ee=ye(be.id,ee).map(ue=>ue.replace(/%NS%/g,wt));for(const ue of ee){const De=document.createElement("style");Fe&&De.setAttribute("nonce",Fe),De.textContent=ue,this.shadowRoot.appendChild(De)}const V=be.getExternalStyles?.();if(V)for(const ue of V){const De=T(ue,de);Fe&&De.setAttribute("nonce",Fe),this.shadowRoot.appendChild(De)}}nodeOrShadowRoot(he){return he===this.hostEl?this.shadowRoot:he}appendChild(he,ve){return super.appendChild(this.nodeOrShadowRoot(he),ve)}insertBefore(he,ve,be){return super.insertBefore(this.nodeOrShadowRoot(he),ve,be)}removeChild(he,ve){return super.removeChild(null,ve)}parentNode(he){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(he)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}}class Te extends Tt{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(he,ve,be,de,G,Fe,He,wt,Jt){super(he,G,Fe,He,wt),this.sharedStylesHost=ve,this.removeStylesOnCompDestroy=de;let ee=be.styles;const V=Jt?ye(Jt,ee):ee;this.styles=V.map(ue=>ue.replace(/%NS%/g,wt)),this.styleUrls=be.getExternalStyles?.(Jt)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===D.DUP.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class Ce extends Te{contentAttr;hostAttr;constructor(he,ve,be,de,G,Fe,He,wt,Jt){const ee=de+"-"+be.id;super(he,ve,be,G,Fe,He,wt,Jt,ee),this.contentAttr=function te(et){return O.replace(B,et)}(ee),this.hostAttr=function ce(et){return w.replace(B,et)}(ee)}applyToHost(he){this.applyStyles(),this.setAttribute(he,this.hostAttr,"")}createElement(he,ve){const be=super.createElement(he,ve);return super.setAttribute(be,this.contentAttr,""),be}}h.d(pe,["Q5",0,x,"at",0,oe])},32929(st,pe,h){"use strict";h.d(pe,{wb:()=>Wo});var m=h(28939),s=h(70903),f=h(45512);function y(Dt){return new m.buA(3e3,!1)}function R(Dt){return new m.buA(3002,!1)}function ve(Dt){switch(Dt.length){case 0:return new f.sf;case 1:return Dt[0];default:return new f.PZ(Dt)}}function be(Dt,H,re=new Map,Be=new Map){const ct=[],Rt=[];let Zt=-1,tn=null;if(H.forEach(xn=>{const On=xn.get("offset"),hi=On==Zt,yi=hi&&tn||new Map;xn.forEach((cr,gt)=>{let A=gt,Se=cr;if("offset"!==gt)switch(A=Dt.normalizePropertyName(A,ct),Se){case"!":Se=re.get(gt);break;case"*":Se=Be.get(gt);break;default:Se=Dt.normalizeStyleValue(gt,A,Se,ct)}yi.set(A,Se)}),hi||Rt.push(yi),tn=yi,Zt=On}),ct.length)throw function ye(Dt){return new m.buA(3502,!1)}();return Rt}function de(Dt,H,re,Be){switch(H){case"start":Dt.onStart(()=>Be(re&&G(re,"start",Dt)));break;case"done":Dt.onDone(()=>Be(re&&G(re,"done",Dt)));break;case"destroy":Dt.onDestroy(()=>Be(re&&G(re,"destroy",Dt)))}}function G(Dt,H,re){const Be=re.totalTime,ct=!!re.disabled,Rt=Fe(Dt.element,Dt.triggerName,Dt.fromState,Dt.toState,H||Dt.phaseName,Be??Dt.totalTime,ct),Zt=Dt._data;return null!=Zt&&(Rt._data=Zt),Rt}function Fe(Dt,H,re,Be,ct="",Rt=0,Zt){return{element:Dt,triggerName:H,fromState:re,toState:Be,phaseName:ct,totalTime:Rt,disabled:!!Zt}}function He(Dt,H,re){let Be=Dt.get(H);return Be||Dt.set(H,Be=re),Be}function wt(Dt){const H=Dt.indexOf(":");return[Dt.substring(1,H),Dt.slice(H+1)]}const Jt=typeof document>"u"?null:document.documentElement;function ee(Dt){const H=Dt.parentNode||Dt.host||null;return H===Jt?null:H}let ue=null,De=!1;function rt(Dt){ue||(ue=function Kt(){return typeof document<"u"?document.body:null}()||{},De=!!ue.style&&"WebkitAppearance"in ue.style);let H=!0;return ue.style&&!function V(Dt){return"ebkit"==Dt.substring(1,6)}(Dt)&&(H=Dt in ue.style,!H&&De&&(H="Webkit"+Dt.charAt(0).toUpperCase()+Dt.slice(1)in ue.style)),H}function Ht(Dt,H){for(;H;){if(H===Dt)return!0;H=ee(H)}return!1}function ze(Dt,H,re){if(re)return Array.from(Dt.querySelectorAll(H));const Be=Dt.querySelector(H);return Be?[Be]:[]}const Tn="ng-enter",Lt="ng-leave",_e="ng-trigger",Y=".ng-trigger",fe="ng-animating",Et=".ng-animating";function Vt(Dt){if("number"==typeof Dt)return Dt;const H=Dt.match(/^(-?[\.\d]+)(m?s)/);return!H||H.length<2?0:ln(parseFloat(H[1]),H[2])}function ln(Dt,H){return"s"===H?1e3*Dt:Dt}function fn(Dt,H,re){return Dt.hasOwnProperty("duration")?Dt:function _t(Dt,H,re){let Be,ct=0,Rt="";if("string"==typeof Dt){const Zt=Dt.match(je);if(null===Zt)return H.push(y()),{duration:0,delay:0,easing:""};Be=ln(parseFloat(Zt[1]),Zt[2]);const tn=Zt[3];null!=tn&&(ct=ln(parseFloat(tn),Zt[4]));const xn=Zt[5];xn&&(Rt=xn)}else Be=Dt;if(!re){let Zt=!1,tn=H.length;Be<0&&(H.push(function b(){return new m.buA(3100,!1)}()),Zt=!0),ct<0&&(H.push(function x(){return new m.buA(3101,!1)}()),Zt=!0),Zt&&H.splice(tn,0,y())}return{duration:Be,delay:ct,easing:Rt}}(Dt,H,re)}const je=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Oe(Dt,H,re){H.forEach((Be,ct)=>{const Rt=Jn(ct);re&&!re.has(ct)&&re.set(ct,Dt.style[Rt]),Dt.style[Rt]=Be})}function at(Dt,H){H.forEach((re,Be)=>{const ct=Jn(Be);Dt.style[ct]=""})}function Q(Dt){return Array.isArray(Dt)?1==Dt.length?Dt[0]:(0,f.K2)(Dt):Dt}function Ae(Dt,H,re){const Be=H.params||{},ct=kt(Dt);ct.length&&ct.forEach(Rt=>{Be.hasOwnProperty(Rt)||re.push(function N(Dt){return new m.buA(3001,!1)}())})}const Qe=new RegExp("{{\\s*(.+?)\\s*}}","g");function kt(Dt){let H=[];if("string"==typeof Dt){let re;for(;re=Qe.exec(Dt);)H.push(re[1]);Qe.lastIndex=0}return H}function cn(Dt,H,re){const Be=`${Dt}`,ct=Be.replace(Qe,(Rt,Zt)=>{let tn=H[Zt];return null==tn&&(re.push(function M(Dt){return new m.buA(3003,!1)}()),tn=""),tn.toString()});return ct==Be?Dt:ct}const mn=/-+([a-z0-9])/g;function Jn(Dt){return Dt.replace(mn,(...H)=>H[1].toUpperCase())}function ui(Dt,H,re){switch(H.type){case f.If.Trigger:return Dt.visitTrigger(H,re);case f.If.State:return Dt.visitState(H,re);case f.If.Transition:return Dt.visitTransition(H,re);case f.If.Sequence:return Dt.visitSequence(H,re);case f.If.Group:return Dt.visitGroup(H,re);case f.If.Animate:return Dt.visitAnimate(H,re);case f.If.Keyframes:return Dt.visitKeyframes(H,re);case f.If.Style:return Dt.visitStyle(H,re);case f.If.Reference:return Dt.visitReference(H,re);case f.If.AnimateChild:return Dt.visitAnimateChild(H,re);case f.If.AnimateRef:return Dt.visitAnimateRef(H,re);case f.If.Query:return Dt.visitQuery(H,re);case f.If.Stagger:return Dt.visitStagger(H,re);default:throw function U(Dt){return new m.buA(3004,!1)}(H.type)}}function sr(Dt,H){return window.getComputedStyle(Dt)[H]}class Qn{validateStyleProperty(H){return rt(H)}containsElement(H,re){return Ht(H,re)}getParentElement(H){return ee(H)}query(H,re,Be){return ze(H,re,Be)}computeStyle(H,re,Be){return Be||""}animate(H,re,Be,ct,Rt,Zt=[],tn){return new f.sf(Be,ct)}static \u0275fac=function(re){return new(re||Qn)};static \u0275prov=m.jDH({token:Qn,factory:Qn.\u0275fac})}class pi{static NOOP=new Qn}class Mr{}const co=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class lo extends Mr{normalizePropertyName(H,re){return Jn(H)}normalizeStyleValue(H,re,Be,ct){let Rt="";const Zt=Be.toString().trim();if(co.has(re)&&0!==Be&&"0"!==Be)if("number"==typeof Be)Rt="px";else{const tn=Be.match(/^[+-]?[\d\.]+([a-z]*)$/);tn&&0==tn[1].length&&ct.push(function J(Dt,H){return new m.buA(3005,!1)}())}return Zt+Rt}}function Qi(Dt,H){const re=[];return"string"==typeof Dt?Dt.split(/\s*,\s*/).forEach(Be=>function Cr(Dt,H,re){if(":"==Dt[0]){const xn=function Ar(Dt,H){switch(Dt){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(re,Be)=>parseFloat(Be)>parseFloat(re);case":decrement":return(re,Be)=>parseFloat(Be)<parseFloat(re);default:return H.push(function oe(Dt){return new m.buA(3016,!1)}()),"* => *"}}(Dt,re);if("function"==typeof xn)return void H.push(xn);Dt=xn}const Be=Dt.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==Be||Be.length<4)return re.push(function Ee(Dt){return new m.buA(3015,!1)}()),H;const ct=Be[1],Rt=Be[2],Zt=Be[3];H.push(Bt(ct,Zt));const tn="*"==ct&&"*"==Zt;"<"==Rt[0]&&!tn&&H.push(Bt(Zt,ct))}(Be,re,H)):re.push(Dt),re}const zt=new Set(["true","1"]),pt=new Set(["false","0"]);function Bt(Dt,H){const re=zt.has(Dt)||pt.has(Dt),Be=zt.has(H)||pt.has(H);return(ct,Rt)=>{let Zt="*"==Dt||Dt==ct,tn="*"==H||H==Rt;return!Zt&&re&&"boolean"==typeof ct&&(Zt=ct?zt.has(Dt):pt.has(Dt)),!tn&&Be&&"boolean"==typeof Rt&&(tn=Rt?zt.has(H):pt.has(H)),Zt&&tn}}const _n=":self",Kn=new RegExp("s*:selfs*,?","g");function pn(Dt,H,re,Be){return new Mi(Dt).build(H,re,Be)}class Mi{_driver;constructor(H){this._driver=H}build(H,re,Be){const ct=new wi(re);return this._resetContextStyleTimingState(ct),ui(this,Q(H),ct)}_resetContextStyleTimingState(H){H.currentQuerySelector="",H.collectedStyles=new Map,H.collectedStyles.set("",new Map),H.currentTime=0}visitTrigger(H,re){let Be=re.queryCount=0,ct=re.depCount=0;const Rt=[],Zt=[];return"@"==H.name.charAt(0)&&re.errors.push(function I(){return new m.buA(3006,!1)}()),H.definitions.forEach(tn=>{if(this._resetContextStyleTimingState(re),tn.type==f.If.State){const xn=tn,On=xn.name;On.toString().split(/\s*,\s*/).forEach(hi=>{xn.name=hi,Rt.push(this.visitState(xn,re))}),xn.name=On}else if(tn.type==f.If.Transition){const xn=this.visitTransition(tn,re);Be+=xn.queryCount,ct+=xn.depCount,Zt.push(xn)}else re.errors.push(function T(){return new m.buA(3007,!1)}())}),{type:f.If.Trigger,name:H.name,states:Rt,transitions:Zt,queryCount:Be,depCount:ct,options:null}}visitState(H,re){const Be=this.visitStyle(H.styles,re),ct=H.options&&H.options.params||null;if(Be.containsDynamicStyles){const Rt=new Set,Zt=ct||{};Be.styles.forEach(tn=>{tn instanceof Map&&tn.forEach(xn=>{kt(xn).forEach(On=>{Zt.hasOwnProperty(On)||Rt.add(On)})})}),Rt.size&&re.errors.push(function C(Dt,H){return new m.buA(3008,!1)}(H.name,Rt.values()))}return{type:f.If.State,name:H.name,style:Be,options:ct?{params:ct}:null}}visitTransition(H,re){re.queryCount=0,re.depCount=0;const Be=ui(this,Q(H.animation),re),ct=Qi(H.expr,re.errors);return{type:f.If.Transition,matchers:ct,animation:Be,queryCount:re.queryCount,depCount:re.depCount,options:Gi(H.options)}}visitSequence(H,re){return{type:f.If.Sequence,steps:H.steps.map(Be=>ui(this,Be,re)),options:Gi(H.options)}}visitGroup(H,re){const Be=re.currentTime;let ct=0;const Rt=H.steps.map(Zt=>{re.currentTime=Be;const tn=ui(this,Zt,re);return ct=Math.max(ct,re.currentTime),tn});return re.currentTime=ct,{type:f.If.Group,steps:Rt,options:Gi(H.options)}}visitAnimate(H,re){const Be=function vo(Dt,H){if(Dt.hasOwnProperty("duration"))return Dt;if("number"==typeof Dt){return Ze(fn(Dt,H).duration,0,"")}const re=Dt;if(re.split(/\s+/).some(Rt=>"{"==Rt.charAt(0)&&"{"==Rt.charAt(1))){const Rt=Ze(0,0,"");return Rt.dynamic=!0,Rt.strValue=re,Rt}const ct=fn(re,H);return Ze(ct.duration,ct.delay,ct.easing)}(H.timings,re.errors);re.currentAnimateTimings=Be;let ct,Rt=H.styles?H.styles:(0,f.iF)({});if(Rt.type==f.If.Keyframes)ct=this.visitKeyframes(Rt,re);else{let Zt=H.styles,tn=!1;if(!Zt){tn=!0;const On={};Be.easing&&(On.easing=Be.easing),Zt=(0,f.iF)(On)}re.currentTime+=Be.duration+Be.delay;const xn=this.visitStyle(Zt,re);xn.isEmptyStep=tn,ct=xn}return re.currentAnimateTimings=null,{type:f.If.Animate,timings:Be,style:ct,options:null}}visitStyle(H,re){const Be=this._makeStyleAst(H,re);return this._validateStyleAst(Be,re),Be}_makeStyleAst(H,re){const Be=[],ct=Array.isArray(H.styles)?H.styles:[H.styles];for(let tn of ct)"string"==typeof tn?"*"===tn?Be.push(tn):re.errors.push(R()):Be.push(new Map(Object.entries(tn)));let Rt=!1,Zt=null;return Be.forEach(tn=>{if(tn instanceof Map&&(tn.has("easing")&&(Zt=tn.get("easing"),tn.delete("easing")),!Rt))for(let xn of tn.values())if(xn.toString().indexOf("{{")>=0){Rt=!0;break}}),{type:f.If.Style,styles:Be,easing:Zt,offset:H.offset,containsDynamicStyles:Rt,options:null}}_validateStyleAst(H,re){const Be=re.currentAnimateTimings;let ct=re.currentTime,Rt=re.currentTime;Be&&Rt>0&&(Rt-=Be.duration+Be.delay),H.styles.forEach(Zt=>{"string"!=typeof Zt&&Zt.forEach((tn,xn)=>{const On=re.collectedStyles.get(re.currentQuerySelector),hi=On.get(xn);let yi=!0;hi&&(Rt!=ct&&Rt>=hi.startTime&&ct<=hi.endTime&&(re.errors.push(function B(Dt,H,re,Be,ct){return new m.buA(3010,!1)}(0,hi.startTime,hi.endTime)),yi=!1),Rt=hi.startTime),yi&&On.set(xn,{startTime:Rt,endTime:ct}),re.options&&Ae(tn,re.options,re.errors)})})}visitKeyframes(H,re){const Be={type:f.If.Keyframes,styles:[],options:null};if(!re.currentAnimateTimings)return re.errors.push(function F(){return new m.buA(3011,!1)}()),Be;let Rt=0;const Zt=[];let tn=!1,xn=!1,On=0;const hi=H.steps.map(En=>{const fi=this._makeStyleAst(En,re);let fr=null!=fi.offset?fi.offset:function Ki(Dt){if("string"==typeof Dt)return null;let H=null;if(Array.isArray(Dt))Dt.forEach(re=>{if(re instanceof Map&&re.has("offset")){const Be=re;H=parseFloat(Be.get("offset")),Be.delete("offset")}});else if(Dt instanceof Map&&Dt.has("offset")){const re=Dt;H=parseFloat(re.get("offset")),re.delete("offset")}return H}(fi.styles),nr=0;return null!=fr&&(Rt++,nr=fi.offset=fr),xn=xn||nr<0||nr>1,tn=tn||nr<On,On=nr,Zt.push(nr),fi});xn&&re.errors.push(function $(){return new m.buA(3012,!1)}()),tn&&re.errors.push(function E(){return new m.buA(3200,!1)}());const yi=H.steps.length;let cr=0;Rt>0&&Rt<yi?re.errors.push(function w(){return new m.buA(3202,!1)}()):0==Rt&&(cr=1/(yi-1));const gt=yi-1,A=re.currentTime,Se=re.currentAnimateTimings,dt=Se.duration;return hi.forEach((En,fi)=>{const fr=cr>0?fi==gt?1:cr*fi:Zt[fi],nr=fr*dt;re.currentTime=A+Se.delay+nr,Se.duration=nr,this._validateStyleAst(En,re),En.offset=fr,Be.styles.push(En)}),Be}visitReference(H,re){return{type:f.If.Reference,animation:ui(this,Q(H.animation),re),options:Gi(H.options)}}visitAnimateChild(H,re){return re.depCount++,{type:f.If.AnimateChild,options:Gi(H.options)}}visitAnimateRef(H,re){return{type:f.If.AnimateRef,animation:this.visitReference(H.animation,re),options:Gi(H.options)}}visitQuery(H,re){const Be=re.currentQuerySelector,ct=H.options||{};re.queryCount++,re.currentQuery=H;const[Rt,Zt]=function Hi(Dt){const H=!!Dt.split(/\s*,\s*/).find(re=>re==_n);return H&&(Dt=Dt.replace(Kn,"")),Dt=Dt.replace(/@\*/g,Y).replace(/@\w+/g,re=>Y+"-"+re.slice(1)).replace(/:animating/g,Et),[Dt,H]}(H.selector);re.currentQuerySelector=Be.length?Be+" "+Rt:Rt,He(re.collectedStyles,re.currentQuerySelector,new Map);const tn=ui(this,Q(H.animation),re);return re.currentQuery=null,re.currentQuerySelector=Be,{type:f.If.Query,selector:Rt,limit:ct.limit||0,optional:!!ct.optional,includeSelf:Zt,animation:tn,originalSelector:H.selector,options:Gi(H.options)}}visitStagger(H,re){re.currentQuery||re.errors.push(function O(){return new m.buA(3013,!1)}());const Be="full"===H.timings?{duration:0,delay:0,easing:"full"}:fn(H.timings,re.errors,!0);return{type:f.If.Stagger,animation:ui(this,Q(H.animation),re),timings:Be,options:null}}}class wi{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(H){this.errors=H}}function Gi(Dt){return Dt?(Dt={...Dt}).params&&(Dt.params=function hr(Dt){return Dt?{...Dt}:null}(Dt.params)):Dt={},Dt}function Ze(Dt,H,re){return{duration:Dt,delay:H,easing:re}}function tt(Dt,H,re,Be,ct,Rt,Zt=null,tn=!1){return{type:1,element:Dt,keyframes:H,preStyleProps:re,postStyleProps:Be,duration:ct,delay:Rt,totalTime:ct+Rt,easing:Zt,subTimeline:tn}}class ft{_map=new Map;get(H){return this._map.get(H)||[]}append(H,re){let Be=this._map.get(H);Be||this._map.set(H,Be=[]),Be.push(...re)}has(H){return this._map.has(H)}clear(){this._map.clear()}}const kn=new RegExp(":enter","g"),ti=new RegExp(":leave","g");function Yi(Dt,H,re,Be,ct,Rt=new Map,Zt=new Map,tn,xn,On=[]){return(new tr).buildKeyframes(Dt,H,re,Be,ct,Rt,Zt,tn,xn,On)}class tr{buildKeyframes(H,re,Be,ct,Rt,Zt,tn,xn,On,hi=[]){On=On||new ft;const yi=new Xn(H,re,On,ct,Rt,hi,[]);yi.options=xn;const cr=xn.delay?Vt(xn.delay):0;yi.currentTimeline.delayNextStep(cr),yi.currentTimeline.setStyles([Zt],null,yi.errors,xn),ui(this,Be,yi);const gt=yi.timelines.filter(A=>A.containsAnimation());if(gt.length&&tn.size){let A;for(let Se=gt.length-1;Se>=0;Se--){const dt=gt[Se];if(dt.element===re){A=dt;break}}A&&!A.allowOnlyTimelineStyles()&&A.setStyles([tn],null,yi.errors,xn)}return gt.length?gt.map(A=>A.buildKeyframes()):[tt(re,[],[],[],0,cr,"",!1)]}visitTrigger(H,re){}visitState(H,re){}visitTransition(H,re){}visitAnimateChild(H,re){const Be=re.subInstructions.get(re.element);if(Be){const ct=re.createSubContext(H.options),Rt=re.currentTimeline.currentTime,Zt=this._visitSubInstructions(Be,ct,ct.options);Rt!=Zt&&re.transformIntoNewTimeline(Zt)}re.previousNode=H}visitAnimateRef(H,re){const Be=re.createSubContext(H.options);Be.transformIntoNewTimeline(),this._applyAnimationRefDelays([H.options,H.animation.options],re,Be),this.visitReference(H.animation,Be),re.transformIntoNewTimeline(Be.currentTimeline.currentTime),re.previousNode=H}_applyAnimationRefDelays(H,re,Be){for(const ct of H){const Rt=ct?.delay;if(Rt){const Zt="number"==typeof Rt?Rt:Vt(cn(Rt,ct?.params??{},re.errors));Be.delayNextStep(Zt)}}}_visitSubInstructions(H,re,Be){let Rt=re.currentTimeline.currentTime;const Zt=null!=Be.duration?Vt(Be.duration):null,tn=null!=Be.delay?Vt(Be.delay):null;return 0!==Zt&&H.forEach(xn=>{const On=re.appendInstructionToTimeline(xn,Zt,tn);Rt=Math.max(Rt,On.duration+On.delay)}),Rt}visitReference(H,re){re.updateOptions(H.options,!0),ui(this,H.animation,re),re.previousNode=H}visitSequence(H,re){const Be=re.subContextCount;let ct=re;const Rt=H.options;if(Rt&&(Rt.params||Rt.delay)&&(ct=re.createSubContext(Rt),ct.transformIntoNewTimeline(),null!=Rt.delay)){ct.previousNode.type==f.If.Style&&(ct.currentTimeline.snapshotCurrentStyles(),ct.previousNode=qi);const Zt=Vt(Rt.delay);ct.delayNextStep(Zt)}H.steps.length&&(H.steps.forEach(Zt=>ui(this,Zt,ct)),ct.currentTimeline.applyStylesToKeyframe(),ct.subContextCount>Be&&ct.transformIntoNewTimeline()),re.previousNode=H}visitGroup(H,re){const Be=[];let ct=re.currentTimeline.currentTime;const Rt=H.options&&H.options.delay?Vt(H.options.delay):0;H.steps.forEach(Zt=>{const tn=re.createSubContext(H.options);Rt&&tn.delayNextStep(Rt),ui(this,Zt,tn),ct=Math.max(ct,tn.currentTimeline.currentTime),Be.push(tn.currentTimeline)}),Be.forEach(Zt=>re.currentTimeline.mergeTimelineCollectedStyles(Zt)),re.transformIntoNewTimeline(ct),re.previousNode=H}_visitTiming(H,re){if(H.dynamic){const Be=H.strValue;return fn(re.params?cn(Be,re.params,re.errors):Be,re.errors)}return{duration:H.duration,delay:H.delay,easing:H.easing}}visitAnimate(H,re){const Be=re.currentAnimateTimings=this._visitTiming(H.timings,re),ct=re.currentTimeline;Be.delay&&(re.incrementTime(Be.delay),ct.snapshotCurrentStyles());const Rt=H.style;Rt.type==f.If.Keyframes?this.visitKeyframes(Rt,re):(re.incrementTime(Be.duration),this.visitStyle(Rt,re),ct.applyStylesToKeyframe()),re.currentAnimateTimings=null,re.previousNode=H}visitStyle(H,re){const Be=re.currentTimeline,ct=re.currentAnimateTimings;!ct&&Be.hasCurrentStyleProperties()&&Be.forwardFrame();const Rt=ct&&ct.easing||H.easing;H.isEmptyStep?Be.applyEmptyStep(Rt):Be.setStyles(H.styles,Rt,re.errors,re.options),re.previousNode=H}visitKeyframes(H,re){const Be=re.currentAnimateTimings,ct=re.currentTimeline.duration,Rt=Be.duration,tn=re.createSubContext().currentTimeline;tn.easing=Be.easing,H.styles.forEach(xn=>{const On=xn.offset||0;tn.forwardTime(On*Rt),tn.setStyles(xn.styles,xn.easing,re.errors,re.options),tn.applyStylesToKeyframe()}),re.currentTimeline.mergeTimelineCollectedStyles(tn),re.transformIntoNewTimeline(ct+Rt),re.previousNode=H}visitQuery(H,re){const Be=re.currentTimeline.currentTime,ct=H.options||{},Rt=ct.delay?Vt(ct.delay):0;Rt&&(re.previousNode.type===f.If.Style||0==Be&&re.currentTimeline.hasCurrentStyleProperties())&&(re.currentTimeline.snapshotCurrentStyles(),re.previousNode=qi);let Zt=Be;const tn=re.invokeQuery(H.selector,H.originalSelector,H.limit,H.includeSelf,!!ct.optional,re.errors);re.currentQueryTotal=tn.length;let xn=null;tn.forEach((On,hi)=>{re.currentQueryIndex=hi;const yi=re.createSubContext(H.options,On);Rt&&yi.delayNextStep(Rt),On===re.element&&(xn=yi.currentTimeline),ui(this,H.animation,yi),yi.currentTimeline.applyStylesToKeyframe();const cr=yi.currentTimeline.currentTime;Zt=Math.max(Zt,cr)}),re.currentQueryIndex=0,re.currentQueryTotal=0,re.transformIntoNewTimeline(Zt),xn&&(re.currentTimeline.mergeTimelineCollectedStyles(xn),re.currentTimeline.snapshotCurrentStyles()),re.previousNode=H}visitStagger(H,re){const Be=re.parentContext,ct=re.currentTimeline,Rt=H.timings,Zt=Math.abs(Rt.duration),tn=Zt*(re.currentQueryTotal-1);let xn=Zt*re.currentQueryIndex;switch(Rt.duration<0?"reverse":Rt.easing){case"reverse":xn=tn-xn;break;case"full":xn=Be.currentStaggerTime}const hi=re.currentTimeline;xn&&hi.delayNextStep(xn);const yi=hi.currentTime;ui(this,H.animation,re),re.previousNode=H,Be.currentStaggerTime=ct.currentTime-yi+(ct.startTime-Be.currentTimeline.startTime)}}const qi={};class Xn{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=qi;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(H,re,Be,ct,Rt,Zt,tn,xn){this._driver=H,this.element=re,this.subInstructions=Be,this._enterClassName=ct,this._leaveClassName=Rt,this.errors=Zt,this.timelines=tn,this.currentTimeline=xn||new Nn(this._driver,re,0),tn.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(H,re){if(!H)return;const Be=H;let ct=this.options;null!=Be.duration&&(ct.duration=Vt(Be.duration)),null!=Be.delay&&(ct.delay=Vt(Be.delay));const Rt=Be.params;if(Rt){let Zt=ct.params;Zt||(Zt=this.options.params={}),Object.keys(Rt).forEach(tn=>{(!re||!Zt.hasOwnProperty(tn))&&(Zt[tn]=cn(Rt[tn],Zt,this.errors))})}}_copyOptions(){const H={};if(this.options){const re=this.options.params;if(re){const Be=H.params={};Object.keys(re).forEach(ct=>{Be[ct]=re[ct]})}}return H}createSubContext(H=null,re,Be){const ct=re||this.element,Rt=new Xn(this._driver,ct,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(ct,Be||0));return Rt.previousNode=this.previousNode,Rt.currentAnimateTimings=this.currentAnimateTimings,Rt.options=this._copyOptions(),Rt.updateOptions(H),Rt.currentQueryIndex=this.currentQueryIndex,Rt.currentQueryTotal=this.currentQueryTotal,Rt.parentContext=this,this.subContextCount++,Rt}transformIntoNewTimeline(H){return this.previousNode=qi,this.currentTimeline=this.currentTimeline.fork(this.element,H),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(H,re,Be){const ct={duration:re??H.duration,delay:this.currentTimeline.currentTime+(Be??0)+H.delay,easing:""},Rt=new Tr(this._driver,H.element,H.keyframes,H.preStyleProps,H.postStyleProps,ct,H.stretchStartingKeyframe);return this.timelines.push(Rt),ct}incrementTime(H){this.currentTimeline.forwardTime(this.currentTimeline.duration+H)}delayNextStep(H){H>0&&this.currentTimeline.delayNextStep(H)}invokeQuery(H,re,Be,ct,Rt,Zt){let tn=[];if(ct&&tn.push(this.element),H.length>0){H=(H=H.replace(kn,"."+this._enterClassName)).replace(ti,"."+this._leaveClassName);const xn=1!=Be;let On=this._driver.query(this.element,H,xn);0!==Be&&(On=Be<0?On.slice(On.length+Be,On.length):On.slice(0,Be)),tn.push(...On)}return!Rt&&0==tn.length&&Zt.push(function Z(Dt){return new m.buA(3014,!1)}()),tn}}class Nn{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(H,re,Be,ct){this._driver=H,this.element=re,this.startTime=Be,this._elementTimelineStylesLookup=ct,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(re),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(re,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(H){const re=1===this._keyframes.size&&this._pendingStyles.size;this.duration||re?(this.forwardTime(this.currentTime+H),re&&this.snapshotCurrentStyles()):this.startTime+=H}fork(H,re){return this.applyStylesToKeyframe(),new Nn(this._driver,H,re||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(H){this.applyStylesToKeyframe(),this.duration=H,this._loadKeyframe()}_updateStyle(H,re){this._localTimelineStyles.set(H,re),this._globalTimelineStyles.set(H,re),this._styleSummary.set(H,{time:this.currentTime,value:re})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(H){H&&this._previousKeyframe.set("easing",H);for(let[re,Be]of this._globalTimelineStyles)this._backFill.set(re,Be||"*"),this._currentKeyframe.set(re,"*");this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(H,re,Be,ct){re&&this._previousKeyframe.set("easing",re);const Rt=ct&&ct.params||{},Zt=function Or(Dt,H){const re=new Map;let Be;return Dt.forEach(ct=>{if("*"===ct){Be??=H.keys();for(let Rt of Be)re.set(Rt,"*")}else for(let[Rt,Zt]of ct)re.set(Rt,Zt)}),re}(H,this._globalTimelineStyles);for(let[tn,xn]of Zt){const On=cn(xn,Rt,Be);this._pendingStyles.set(tn,On),this._localTimelineStyles.has(tn)||this._backFill.set(tn,this._globalTimelineStyles.get(tn)??"*"),this._updateStyle(tn,On)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((H,re)=>{this._currentKeyframe.set(re,H)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((H,re)=>{this._currentKeyframe.has(re)||this._currentKeyframe.set(re,H)}))}snapshotCurrentStyles(){for(let[H,re]of this._localTimelineStyles)this._pendingStyles.set(H,re),this._updateStyle(H,re)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const H=[];for(let re in this._currentKeyframe)H.push(re);return H}mergeTimelineCollectedStyles(H){H._styleSummary.forEach((re,Be)=>{const ct=this._styleSummary.get(Be);(!ct||re.time>ct.time)&&this._updateStyle(Be,re.value)})}buildKeyframes(){this.applyStylesToKeyframe();const H=new Set,re=new Set,Be=1===this._keyframes.size&&0===this.duration;let ct=[];this._keyframes.forEach((tn,xn)=>{const On=new Map([...this._backFill,...tn]);On.forEach((hi,yi)=>{"!"===hi?H.add(yi):"*"===hi&&re.add(yi)}),Be||On.set("offset",xn/this.duration),ct.push(On)});const Rt=[...H.values()],Zt=[...re.values()];if(Be){const tn=ct[0],xn=new Map(tn);tn.set("offset",0),xn.set("offset",1),ct=[tn,xn]}return tt(this.element,ct,Rt,Zt,this.duration,this.startTime,this.easing,!1)}}class Tr extends Nn{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(H,re,Be,ct,Rt,Zt,tn=!1){super(H,re,Zt.delay),this.keyframes=Be,this.preStyleProps=ct,this.postStyleProps=Rt,this._stretchStartingKeyframe=tn,this.timings={duration:Zt.duration,delay:Zt.delay,easing:Zt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let H=this.keyframes,{delay:re,duration:Be,easing:ct}=this.timings;if(this._stretchStartingKeyframe&&re){const Rt=[],Zt=Be+re,tn=re/Zt,xn=new Map(H[0]);xn.set("offset",0),Rt.push(xn);const On=new Map(H[0]);On.set("offset",ur(tn)),Rt.push(On);const hi=H.length-1;for(let yi=1;yi<=hi;yi++){let cr=new Map(H[yi]);const A=re+cr.get("offset")*Be;cr.set("offset",ur(A/Zt)),Rt.push(cr)}Be=Zt,re=0,ct="",H=Rt}return tt(this.element,H,this.preStyleProps,this.postStyleProps,Be,re,ct,!0)}}function ur(Dt,H=3){const re=Math.pow(10,H-1);return Math.round(Dt*re)/re}function Pr(Dt,H,re,Be,ct,Rt,Zt,tn,xn,On,hi,yi,cr){return{type:0,element:Dt,triggerName:H,isRemovalTransition:ct,fromState:re,fromStyles:Rt,toState:Be,toStyles:Zt,timelines:tn,queriedElements:xn,preStyleProps:On,postStyleProps:hi,totalTime:yi,errors:cr}}const Fi={};class ir{_triggerName;ast;_stateStyles;constructor(H,re,Be){this._triggerName=H,this.ast=re,this._stateStyles=Be}match(H,re,Be,ct){return function Vr(Dt,H,re,Be,ct){return Dt.some(Rt=>Rt(H,re,Be,ct))}(this.ast.matchers,H,re,Be,ct)}buildStyles(H,re,Be){let ct=this._stateStyles.get("*");return void 0!==H&&(ct=this._stateStyles.get(H?.toString())||ct),ct?ct.buildStyles(re,Be):new Map}build(H,re,Be,ct,Rt,Zt,tn,xn,On,hi){const yi=[],cr=this.ast.options&&this.ast.options.params||Fi,gt=tn&&tn.params||Fi,A=this.buildStyles(Be,gt,yi),Se=xn&&xn.params||Fi,dt=this.buildStyles(ct,Se,yi),En=new Set,fi=new Map,fr=new Map,nr="void"===ct,ds={params:Er(Se,cr),delay:this.ast.options?.delay},Xs=hi?[]:Yi(H,re,this.ast.animation,Rt,Zt,A,dt,ds,On,yi);let Ho=0;return Xs.forEach(Lo=>{Ho=Math.max(Lo.duration+Lo.delay,Ho)}),yi.length?Pr(re,this._triggerName,Be,ct,nr,A,dt,[],[],fi,fr,Ho,yi):(Xs.forEach(Lo=>{const Bo=Lo.element,Fs=He(fi,Bo,new Set);Lo.preStyleProps.forEach(hn=>Fs.add(hn));const Qs=He(fr,Bo,new Set);Lo.postStyleProps.forEach(hn=>Qs.add(hn)),Bo!==re&&En.add(Bo)}),Pr(re,this._triggerName,Be,ct,nr,A,dt,Xs,[...En.values()],fi,fr,Ho))}}function Er(Dt,H){const re={...H};return Object.entries(Dt).forEach(([Be,ct])=>{null!=ct&&(re[Be]=ct)}),re}class Di{styles;defaultParams;normalizer;constructor(H,re,Be){this.styles=H,this.defaultParams=re,this.normalizer=Be}buildStyles(H,re){const Be=new Map,ct=Er(H,this.defaultParams);return this.styles.styles.forEach(Rt=>{"string"!=typeof Rt&&Rt.forEach((Zt,tn)=>{Zt&&(Zt=cn(Zt,ct,re));const xn=this.normalizer.normalizePropertyName(tn,re);Zt=this.normalizer.normalizeStyleValue(tn,xn,Zt,re),Be.set(tn,Zt)})}),Be}}class yo{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(H,re,Be){this.name=H,this.ast=re,this._normalizer=Be,re.states.forEach(ct=>{const Rt=ct.options&&ct.options.params||{};this.states.set(ct.name,new Di(ct.style,Rt,Be))}),cs(this.states,"true","1"),cs(this.states,"false","0"),re.transitions.forEach(ct=>{this.transitionFactories.push(new ir(H,ct,this.states))}),this.fallbackTransition=function $t(Dt,H,re){const Be=[(Zt,tn)=>!0],ct={type:f.If.Sequence,steps:[],options:null},Rt={type:f.If.Transition,animation:ct,matchers:Be,options:null,queryCount:0,depCount:0};return new ir(Dt,Rt,H)}(H,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(H,re,Be,ct){return this.transitionFactories.find(Zt=>Zt.match(H,re,Be,ct))||null}matchStyles(H,re,Be){return this.fallbackTransition.buildStyles(H,re,Be)}}function cs(Dt,H,re){Dt.has(H)?Dt.has(re)||Dt.set(re,Dt.get(H)):Dt.has(re)&&Dt.set(H,Dt.get(re))}const Xo=new ft;class St{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(H,re,Be){this.bodyNode=H,this._driver=re,this._normalizer=Be}register(H,re){const Be=[],Rt=pn(this._driver,re,Be,[]);if(Be.length)throw function Le(Dt){return new m.buA(3503,!1)}();this._animations.set(H,Rt)}_buildPlayer(H,re,Be){const ct=H.element,Rt=be(this._normalizer,H.keyframes,re,Be);return this._driver.animate(ct,Rt,H.duration,H.delay,H.easing,[],!0)}create(H,re,Be={}){const ct=[],Rt=this._animations.get(H);let Zt;const tn=new Map;if(Rt?(Zt=Yi(this._driver,re,Rt,Tn,Lt,new Map,new Map,Be,Xo,ct),Zt.forEach(hi=>{const yi=He(tn,hi.element,new Map);hi.postStyleProps.forEach(cr=>yi.set(cr,null))})):(ct.push(function $e(){return new m.buA(3300,!1)}()),Zt=[]),ct.length)throw function Tt(Dt){return new m.buA(3504,!1)}();tn.forEach((hi,yi)=>{hi.forEach((cr,gt)=>{hi.set(gt,this._driver.computeStyle(yi,gt,"*"))})});const On=ve(Zt.map(hi=>{const yi=tn.get(hi.element);return this._buildPlayer(hi,new Map,yi)}));return this._playersById.set(H,On),On.onDestroy(()=>this.destroy(H)),this.players.push(On),On}destroy(H){const re=this._getPlayer(H);re.destroy(),this._playersById.delete(H);const Be=this.players.indexOf(re);Be>=0&&this.players.splice(Be,1)}_getPlayer(H){const re=this._playersById.get(H);if(!re)throw function We(Dt){return new m.buA(3301,!1)}();return re}listen(H,re,Be,ct){const Rt=Fe(re,"","","");return de(this._getPlayer(H),Be,Rt,ct),()=>{}}command(H,re,Be,ct){if("register"==Be)return void this.register(H,ct[0]);if("create"==Be){const Zt=ct[0]||{};return void this.create(H,re,Zt)}const Rt=this._getPlayer(H);switch(Be){case"play":Rt.play();break;case"pause":Rt.pause();break;case"reset":Rt.reset();break;case"restart":Rt.restart();break;case"finish":Rt.finish();break;case"init":Rt.init();break;case"setPosition":Rt.setPosition(parseFloat(ct[0]));break;case"destroy":this.destroy(H)}}}const Pe="ng-animate-queued",rn="ng-animate-disabled",Wn=[],Ui={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Xr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},jt="__ng_removed";class yt{namespaceId;value;options;get params(){return this.options.params}constructor(H,re=""){this.namespaceId=re;const Be=H&&H.hasOwnProperty("value"),ct=Be?H.value:H;if(this.value=function po(Dt){return Dt??null}(ct),Be){const{value:Rt,...Zt}=H;this.options=Zt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(H){const re=H.params;if(re){const Be=this.options.params;Object.keys(re).forEach(ct=>{null==Be[ct]&&(Be[ct]=re[ct])})}}}const mo="void",no=new yt(mo);class bo{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(H,re,Be){this.id=H,this.hostElement=re,this._engine=Be,this._hostClassName="ng-tns-"+H,jo(re,this._hostClassName)}listen(H,re,Be,ct){if(!this._triggers.has(re))throw function Me(Dt,H){return new m.buA(3302,!1)}();if(null==Be||0==Be.length)throw function ut(Dt){return new m.buA(3303,!1)}();if(!function Do(Dt){return"start"==Dt||"done"==Dt}(Be))throw function xe(Dt,H){return new m.buA(3400,!1)}();const Rt=He(this._elementListeners,H,[]),Zt={name:re,phase:Be,callback:ct};Rt.push(Zt);const tn=He(this._engine.statesByElement,H,new Map);return tn.has(re)||(jo(H,_e),jo(H,_e+"-"+re),tn.set(re,no)),()=>{this._engine.afterFlush(()=>{const xn=Rt.indexOf(Zt);xn>=0&&Rt.splice(xn,1),this._triggers.has(re)||tn.delete(re)})}}register(H,re){return!this._triggers.has(H)&&(this._triggers.set(H,re),!0)}_getTrigger(H){const re=this._triggers.get(H);if(!re)throw function Te(Dt){return new m.buA(3401,!1)}();return re}trigger(H,re,Be,ct=!0){const Rt=this._getTrigger(re),Zt=new ns(this.id,re,H);let tn=this._engine.statesByElement.get(H);tn||(jo(H,_e),jo(H,_e+"-"+re),this._engine.statesByElement.set(H,tn=new Map));let xn=tn.get(re);const On=new yt(Be,this.id);if(!(Be&&Be.hasOwnProperty("value"))&&xn&&On.absorbOptions(xn.options),tn.set(re,On),xn||(xn=no),On.value!==mo&&xn.value===On.value){if(!function vs(Dt,H){const re=Object.keys(Dt),Be=Object.keys(H);if(re.length!=Be.length)return!1;for(let ct=0;ct<re.length;ct++){const Rt=re[ct];if(!H.hasOwnProperty(Rt)||Dt[Rt]!==H[Rt])return!1}return!0}(xn.params,On.params)){const Se=[],dt=Rt.matchStyles(xn.value,xn.params,Se),En=Rt.matchStyles(On.value,On.params,Se);Se.length?this._engine.reportError(Se):this._engine.afterFlush(()=>{at(H,dt),Oe(H,En)})}return}const cr=He(this._engine.playersByElement,H,[]);cr.forEach(Se=>{Se.namespaceId==this.id&&Se.triggerName==re&&Se.queued&&Se.destroy()});let gt=Rt.matchTransition(xn.value,On.value,H,On.params),A=!1;if(!gt){if(!ct)return;gt=Rt.fallbackTransition,A=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:H,triggerName:re,transition:gt,fromState:xn,toState:On,player:Zt,isFallbackTransition:A}),A||(jo(H,Pe),Zt.onStart(()=>{hs(H,Pe)})),Zt.onDone(()=>{let Se=this.players.indexOf(Zt);Se>=0&&this.players.splice(Se,1);const dt=this._engine.playersByElement.get(H);if(dt){let En=dt.indexOf(Zt);En>=0&&dt.splice(En,1)}}),this.players.push(Zt),cr.push(Zt),Zt}deregister(H){this._triggers.delete(H),this._engine.statesByElement.forEach(re=>re.delete(H)),this._elementListeners.forEach((re,Be)=>{this._elementListeners.set(Be,re.filter(ct=>ct.name!=H))})}clearElementCache(H){this._engine.statesByElement.delete(H),this._elementListeners.delete(H);const re=this._engine.playersByElement.get(H);re&&(re.forEach(Be=>Be.destroy()),this._engine.playersByElement.delete(H))}_signalRemovalForInnerTriggers(H,re){const Be=this._engine.driver.query(H,Y,!0);Be.forEach(ct=>{if(ct[jt])return;const Rt=this._engine.fetchNamespacesByElement(ct);Rt.size?Rt.forEach(Zt=>Zt.triggerLeaveAnimation(ct,re,!1,!0)):this.clearElementCache(ct)}),this._engine.afterFlushAnimationsDone(()=>Be.forEach(ct=>this.clearElementCache(ct)))}triggerLeaveAnimation(H,re,Be,ct){const Rt=this._engine.statesByElement.get(H),Zt=new Map;if(Rt){const tn=[];if(Rt.forEach((xn,On)=>{if(Zt.set(On,xn.value),this._triggers.has(On)){const hi=this.trigger(H,On,mo,ct);hi&&tn.push(hi)}}),tn.length)return this._engine.markElementAsRemoved(this.id,H,!0,re,Zt),Be&&ve(tn).onDone(()=>this._engine.processLeaveNode(H)),!0}return!1}prepareLeaveAnimationListeners(H){const re=this._elementListeners.get(H),Be=this._engine.statesByElement.get(H);if(re&&Be){const ct=new Set;re.forEach(Rt=>{const Zt=Rt.name;if(ct.has(Zt))return;ct.add(Zt);const xn=this._triggers.get(Zt).fallbackTransition,On=Be.get(Zt)||no,hi=new yt(mo),yi=new ns(this.id,Zt,H);this._engine.totalQueuedPlayers++,this._queue.push({element:H,triggerName:Zt,transition:xn,fromState:On,toState:hi,player:yi,isFallbackTransition:!0})})}}removeNode(H,re){const Be=this._engine;if(H.childElementCount&&this._signalRemovalForInnerTriggers(H,re),this.triggerLeaveAnimation(H,re,!0))return;let ct=!1;if(Be.totalAnimations){const Rt=Be.players.length?Be.playersByQueriedElement.get(H):[];if(Rt&&Rt.length)ct=!0;else{let Zt=H;for(;Zt=Zt.parentNode;)if(Be.statesByElement.get(Zt)){ct=!0;break}}}if(this.prepareLeaveAnimationListeners(H),ct)Be.markElementAsRemoved(this.id,H,!1,re);else{const Rt=H[jt];(!Rt||Rt===Ui)&&(Be.afterFlush(()=>this.clearElementCache(H)),Be.destroyInnerAnimations(H),Be._onRemovalComplete(H,re))}}insertNode(H,re){jo(H,this._hostClassName)}drainQueuedTransitions(H){const re=[];return this._queue.forEach(Be=>{const ct=Be.player;if(ct.destroyed)return;const Rt=Be.element,Zt=this._elementListeners.get(Rt);Zt&&Zt.forEach(tn=>{if(tn.name==Be.triggerName){const xn=Fe(Rt,Be.triggerName,Be.fromState.value,Be.toState.value);xn._data=H,de(Be.player,tn.phase,xn,tn.callback)}}),ct.markedForDestroy?this._engine.afterFlush(()=>{ct.destroy()}):re.push(Be)}),this._queue=[],re.sort((Be,ct)=>{const Rt=Be.transition.ast.depCount,Zt=ct.transition.ast.depCount;return 0==Rt||0==Zt?Rt-Zt:this._engine.driver.containsElement(Be.element,ct.element)?1:-1})}destroy(H){this.players.forEach(re=>re.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,H)}}class ra{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(H,re)=>{};_onRemovalComplete(H,re){this.onRemovalComplete(H,re)}constructor(H,re,Be){this.bodyNode=H,this.driver=re,this._normalizer=Be}get queuedPlayers(){const H=[];return this._namespaceList.forEach(re=>{re.players.forEach(Be=>{Be.queued&&H.push(Be)})}),H}createNamespace(H,re){const Be=new bo(H,re,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,re)?this._balanceNamespaceList(Be,re):(this.newHostElements.set(re,Be),this.collectEnterElement(re)),this._namespaceLookup[H]=Be}_balanceNamespaceList(H,re){const Be=this._namespaceList,ct=this.namespacesByHostElement;if(Be.length-1>=0){let Zt=!1,tn=this.driver.getParentElement(re);for(;tn;){const xn=ct.get(tn);if(xn){const On=Be.indexOf(xn);Be.splice(On+1,0,H),Zt=!0;break}tn=this.driver.getParentElement(tn)}Zt||Be.unshift(H)}else Be.push(H);return ct.set(re,H),H}register(H,re){let Be=this._namespaceLookup[H];return Be||(Be=this.createNamespace(H,re)),Be}registerTrigger(H,re,Be){let ct=this._namespaceLookup[H];ct&&ct.register(re,Be)&&this.totalAnimations++}destroy(H,re){H&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const Be=this._fetchNamespace(H);this.namespacesByHostElement.delete(Be.hostElement);const ct=this._namespaceList.indexOf(Be);ct>=0&&this._namespaceList.splice(ct,1),Be.destroy(re),delete this._namespaceLookup[H]}))}_fetchNamespace(H){return this._namespaceLookup[H]}fetchNamespacesByElement(H){const re=new Set,Be=this.statesByElement.get(H);if(Be)for(let ct of Be.values())if(ct.namespaceId){const Rt=this._fetchNamespace(ct.namespaceId);Rt&&re.add(Rt)}return re}trigger(H,re,Be,ct){if(Eo(re)){const Rt=this._fetchNamespace(H);if(Rt)return Rt.trigger(re,Be,ct),!0}return!1}insertNode(H,re,Be,ct){if(!Eo(re))return;const Rt=re[jt];if(Rt&&Rt.setForRemoval){Rt.setForRemoval=!1,Rt.setForMove=!0;const Zt=this.collectedLeaveElements.indexOf(re);Zt>=0&&this.collectedLeaveElements.splice(Zt,1)}if(H){const Zt=this._fetchNamespace(H);Zt&&Zt.insertNode(re,Be)}ct&&this.collectEnterElement(re)}collectEnterElement(H){this.collectedEnterElements.push(H)}markElementAsDisabled(H,re){re?this.disabledNodes.has(H)||(this.disabledNodes.add(H),jo(H,rn)):this.disabledNodes.has(H)&&(this.disabledNodes.delete(H),hs(H,rn))}removeNode(H,re,Be){if(Eo(re)){const ct=H?this._fetchNamespace(H):null;ct?ct.removeNode(re,Be):this.markElementAsRemoved(H,re,!1,Be);const Rt=this.namespacesByHostElement.get(re);Rt&&Rt.id!==H&&Rt.removeNode(re,Be)}else this._onRemovalComplete(re,Be)}markElementAsRemoved(H,re,Be,ct,Rt){this.collectedLeaveElements.push(re),re[jt]={namespaceId:H,setForRemoval:ct,hasAnimation:Be,removedBeforeQueried:!1,previousTriggersValues:Rt}}listen(H,re,Be,ct,Rt){return Eo(re)?this._fetchNamespace(H).listen(re,Be,ct,Rt):()=>{}}_buildInstruction(H,re,Be,ct,Rt){return H.transition.build(this.driver,H.element,H.fromState.value,H.toState.value,Be,ct,H.fromState.options,H.toState.options,re,Rt)}destroyInnerAnimations(H){let re=this.driver.query(H,Y,!0);re.forEach(Be=>this.destroyActiveAnimationsForElement(Be)),0!=this.playersByQueriedElement.size&&(re=this.driver.query(H,Et,!0),re.forEach(Be=>this.finishActiveQueriedAnimationOnElement(Be)))}destroyActiveAnimationsForElement(H){const re=this.playersByElement.get(H);re&&re.forEach(Be=>{Be.queued?Be.markedForDestroy=!0:Be.destroy()})}finishActiveQueriedAnimationOnElement(H){const re=this.playersByQueriedElement.get(H);re&&re.forEach(Be=>Be.finish())}whenRenderingDone(){return new Promise(H=>{if(this.players.length)return ve(this.players).onDone(()=>H());H()})}processLeaveNode(H){const re=H[jt];if(re&&re.setForRemoval){if(H[jt]=Ui,re.namespaceId){this.destroyInnerAnimations(H);const Be=this._fetchNamespace(re.namespaceId);Be&&Be.clearElementCache(H)}this._onRemovalComplete(H,re.setForRemoval)}H.classList?.contains(rn)&&this.markElementAsDisabled(H,!1),this.driver.query(H,".ng-animate-disabled",!0).forEach(Be=>{this.markElementAsDisabled(Be,!1)})}flush(H=-1){let re=[];if(this.newHostElements.size&&(this.newHostElements.forEach((Be,ct)=>this._balanceNamespaceList(Be,ct)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let Be=0;Be<this.collectedEnterElements.length;Be++){jo(this.collectedEnterElements[Be],"ng-star-inserted")}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const Be=[];try{re=this._flushAnimations(Be,H)}finally{for(let ct=0;ct<Be.length;ct++)Be[ct]()}}else for(let Be=0;Be<this.collectedLeaveElements.length;Be++){const ct=this.collectedLeaveElements[Be];this.processLeaveNode(ct)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(Be=>Be()),this._flushFns=[],this._whenQuietFns.length){const Be=this._whenQuietFns;this._whenQuietFns=[],re.length?ve(re).onDone(()=>{Be.forEach(ct=>ct())}):Be.forEach(ct=>ct())}}reportError(H){throw function Ce(Dt){return new m.buA(3402,!1)}()}_flushAnimations(H,re){const Be=new ft,ct=[],Rt=new Map,Zt=[],tn=new Map,xn=new Map,On=new Map,hi=new Set;this.disabledNodes.forEach(Zn=>{hi.add(Zn);const ci=this.driver.query(Zn,".ng-animate-queued",!0);for(let Pi=0;Pi<ci.length;Pi++)hi.add(ci[Pi])});const yi=this.bodyNode,cr=Array.from(this.statesByElement.keys()),gt=Co(cr,this.collectedEnterElements),A=new Map;let Se=0;gt.forEach((Zn,ci)=>{const Pi=Tn+Se++;A.set(ci,Pi),Zn.forEach(ki=>jo(ki,Pi))});const dt=[],En=new Set,fi=new Set;for(let Zn=0;Zn<this.collectedLeaveElements.length;Zn++){const ci=this.collectedLeaveElements[Zn],Pi=ci[jt];Pi&&Pi.setForRemoval&&(dt.push(ci),En.add(ci),Pi.hasAnimation?this.driver.query(ci,".ng-star-inserted",!0).forEach(ki=>En.add(ki)):fi.add(ci))}const fr=new Map,nr=Co(cr,Array.from(En));nr.forEach((Zn,ci)=>{const Pi=Lt+Se++;fr.set(ci,Pi),Zn.forEach(ki=>jo(ki,Pi))}),H.push(()=>{gt.forEach((Zn,ci)=>{const Pi=A.get(ci);Zn.forEach(ki=>hs(ki,Pi))}),nr.forEach((Zn,ci)=>{const Pi=fr.get(ci);Zn.forEach(ki=>hs(ki,Pi))}),dt.forEach(Zn=>{this.processLeaveNode(Zn)})});const ds=[],Xs=[];for(let Zn=this._namespaceList.length-1;Zn>=0;Zn--)this._namespaceList[Zn].drainQueuedTransitions(re).forEach(Pi=>{const ki=Pi.player,go=Pi.element;if(ds.push(ki),this.collectedEnterElements.length){const gn=go[jt];if(gn&&gn.setForMove){if(gn.previousTriggersValues&&gn.previousTriggersValues.has(Pi.triggerName)){const An=gn.previousTriggersValues.get(Pi.triggerName),Ri=this.statesByElement.get(Pi.element);if(Ri&&Ri.has(Pi.triggerName)){const er=Ri.get(Pi.triggerName);er.value=An,Ri.set(Pi.triggerName,er)}}return void ki.destroy()}}const ya=!yi||!this.driver.containsElement(yi,go),qe=fr.get(go),se=A.get(go),Ge=this._buildInstruction(Pi,Be,se,qe,ya);if(Ge.errors&&Ge.errors.length)return void Xs.push(Ge);if(ya)return ki.onStart(()=>at(go,Ge.fromStyles)),ki.onDestroy(()=>Oe(go,Ge.toStyles)),void ct.push(ki);if(Pi.isFallbackTransition)return ki.onStart(()=>at(go,Ge.fromStyles)),ki.onDestroy(()=>Oe(go,Ge.toStyles)),void ct.push(ki);const At=[];Ge.timelines.forEach(gn=>{gn.stretchStartingKeyframe=!0,this.disabledNodes.has(gn.element)||At.push(gn)}),Ge.timelines=At,Be.append(go,Ge.timelines);const Xt={instruction:Ge,player:ki,element:go};Zt.push(Xt),Ge.queriedElements.forEach(gn=>He(tn,gn,[]).push(ki)),Ge.preStyleProps.forEach((gn,An)=>{if(gn.size){let Ri=xn.get(An);Ri||xn.set(An,Ri=new Set),gn.forEach((er,Zi)=>Ri.add(Zi))}}),Ge.postStyleProps.forEach((gn,An)=>{let Ri=On.get(An);Ri||On.set(An,Ri=new Set),gn.forEach((er,Zi)=>Ri.add(Zi))})});if(Xs.length){const Zn=[];Xs.forEach(ci=>{Zn.push(function et(Dt,H){return new m.buA(3505,!1)}(ci.triggerName,ci.errors))}),ds.forEach(ci=>ci.destroy()),this.reportError(Zn)}const Ho=new Map,Lo=new Map;Zt.forEach(Zn=>{const ci=Zn.element;Be.has(ci)&&(Lo.set(ci,ci),this._beforeAnimationBuild(Zn.player.namespaceId,Zn.instruction,Ho))}),ct.forEach(Zn=>{const ci=Zn.element;this._getPreviousPlayers(ci,!1,Zn.namespaceId,Zn.triggerName,null).forEach(ki=>{He(Ho,ci,[]).push(ki),ki.destroy()})});const Bo=dt.filter(Zn=>Cs(Zn,xn,On)),Fs=new Map;Ro(Fs,this.driver,fi,On,"*").forEach(Zn=>{Cs(Zn,xn,On)&&Bo.push(Zn)});const hn=new Map;gt.forEach((Zn,ci)=>{Ro(hn,this.driver,new Set(Zn),xn,"!")}),Bo.forEach(Zn=>{const ci=Fs.get(Zn),Pi=hn.get(Zn);Fs.set(Zn,new Map([...ci?.entries()??[],...Pi?.entries()??[]]))});const Hn=[],Rn=[],bi={};Zt.forEach(Zn=>{const{element:ci,player:Pi,instruction:ki}=Zn;if(Be.has(ci)){if(hi.has(ci))return Pi.onDestroy(()=>Oe(ci,ki.toStyles)),Pi.disabled=!0,Pi.overrideTotalTime(ki.totalTime),void ct.push(Pi);let go=bi;if(Lo.size>1){let qe=ci;const se=[];for(;qe=qe.parentNode;){const Ge=Lo.get(qe);if(Ge){go=Ge;break}se.push(qe)}se.forEach(Ge=>Lo.set(Ge,go))}const ya=this._buildAnimation(Pi.namespaceId,ki,Ho,Rt,hn,Fs);if(Pi.setRealPlayer(ya),go===bi)Hn.push(Pi);else{const qe=this.playersByElement.get(go);qe&&qe.length&&(Pi.parentPlayer=ve(qe)),ct.push(Pi)}}else at(ci,ki.fromStyles),Pi.onDestroy(()=>Oe(ci,ki.toStyles)),Rn.push(Pi),hi.has(ci)&&ct.push(Pi)}),Rn.forEach(Zn=>{const ci=Rt.get(Zn.element);if(ci&&ci.length){const Pi=ve(ci);Zn.setRealPlayer(Pi)}}),ct.forEach(Zn=>{Zn.parentPlayer?Zn.syncPlayerEvents(Zn.parentPlayer):Zn.destroy()});for(let Zn=0;Zn<dt.length;Zn++){const ci=dt[Zn],Pi=ci[jt];if(hs(ci,Lt),Pi&&Pi.hasAnimation)continue;let ki=[];if(tn.size){let ya=tn.get(ci);ya&&ya.length&&ki.push(...ya);let qe=this.driver.query(ci,Et,!0);for(let se=0;se<qe.length;se++){let Ge=tn.get(qe[se]);Ge&&Ge.length&&ki.push(...Ge)}}const go=ki.filter(ya=>!ya.destroyed);go.length?ec(this,ci,go):this.processLeaveNode(ci)}return dt.length=0,Hn.forEach(Zn=>{this.players.push(Zn),Zn.onDone(()=>{Zn.destroy();const ci=this.players.indexOf(Zn);this.players.splice(ci,1)}),Zn.play()}),Hn}afterFlush(H){this._flushFns.push(H)}afterFlushAnimationsDone(H){this._whenQuietFns.push(H)}_getPreviousPlayers(H,re,Be,ct,Rt){let Zt=[];if(re){const tn=this.playersByQueriedElement.get(H);tn&&(Zt=tn)}else{const tn=this.playersByElement.get(H);if(tn){const xn=!Rt||Rt==mo;tn.forEach(On=>{On.queued||!xn&&On.triggerName!=ct||Zt.push(On)})}}return(Be||ct)&&(Zt=Zt.filter(tn=>!(Be&&Be!=tn.namespaceId||ct&&ct!=tn.triggerName))),Zt}_beforeAnimationBuild(H,re,Be){const ct=re.triggerName,Rt=re.element,Zt=re.isRemovalTransition?void 0:H,tn=re.isRemovalTransition?void 0:ct;for(const xn of re.timelines){const On=xn.element,hi=On!==Rt,yi=He(Be,On,[]);this._getPreviousPlayers(On,hi,Zt,tn,re.toState).forEach(gt=>{const A=gt.getRealPlayer();A.beforeDestroy&&A.beforeDestroy(),gt.destroy(),yi.push(gt)})}at(Rt,re.fromStyles)}_buildAnimation(H,re,Be,ct,Rt,Zt){const tn=re.triggerName,xn=re.element,On=[],hi=new Set,yi=new Set,cr=re.timelines.map(A=>{const Se=A.element;hi.add(Se);const dt=Se[jt];if(dt&&dt.removedBeforeQueried)return new f.sf(A.duration,A.delay);const En=Se!==xn,fi=function Os(Dt){const H=[];return Ps(Dt,H),H}((Be.get(Se)||Wn).map(Ho=>Ho.getRealPlayer())).filter(Ho=>{const Lo=Ho;return!!Lo.element&&Lo.element===Se}),fr=Rt.get(Se),nr=Zt.get(Se),ds=be(this._normalizer,A.keyframes,fr,nr),Xs=this._buildPlayer(A,ds,fi);if(A.subTimeline&&ct&&yi.add(Se),En){const Ho=new ns(H,tn,Se);Ho.setRealPlayer(Xs),On.push(Ho)}return Xs});On.forEach(A=>{He(this.playersByQueriedElement,A.element,[]).push(A),A.onDone(()=>function xo(Dt,H,re){let Be=Dt.get(H);if(Be){if(Be.length){const ct=Be.indexOf(re);Be.splice(ct,1)}0==Be.length&&Dt.delete(H)}return Be}(this.playersByQueriedElement,A.element,A))}),hi.forEach(A=>jo(A,fe));const gt=ve(cr);return gt.onDestroy(()=>{hi.forEach(A=>hs(A,fe)),Oe(xn,re.toStyles)}),yi.forEach(A=>{He(ct,A,[]).push(gt)}),gt}_buildPlayer(H,re,Be){return re.length>0?this.driver.animate(H.element,re,H.duration,H.delay,H.easing,Be):new f.sf(H.duration,H.delay)}}class ns{namespaceId;triggerName;element;_player=new f.sf;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(H,re,Be){this.namespaceId=H,this.triggerName=re,this.element=Be}setRealPlayer(H){this._containsRealPlayer||(this._player=H,this._queuedCallbacks.forEach((re,Be)=>{re.forEach(ct=>de(H,Be,void 0,ct))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(H.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(H){this.totalTime=H}syncPlayerEvents(H){const re=this._player;re.triggerCallback&&H.onStart(()=>re.triggerCallback("start")),H.onDone(()=>this.finish()),H.onDestroy(()=>this.destroy())}_queueEvent(H,re){He(this._queuedCallbacks,H,[]).push(re)}onDone(H){this.queued&&this._queueEvent("done",H),this._player.onDone(H)}onStart(H){this.queued&&this._queueEvent("start",H),this._player.onStart(H)}onDestroy(H){this.queued&&this._queueEvent("destroy",H),this._player.onDestroy(H)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(H){this.queued||this._player.setPosition(H)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(H){const re=this._player;re.triggerCallback&&re.triggerCallback(H)}}function Eo(Dt){return Dt&&1===Dt.nodeType}function is(Dt,H){const re=Dt.style.display;return Dt.style.display=H??"none",re}function Ro(Dt,H,re,Be,ct){const Rt=[];re.forEach(xn=>Rt.push(is(xn)));const Zt=[];Be.forEach((xn,On)=>{const hi=new Map;xn.forEach(yi=>{const cr=H.computeStyle(On,yi,ct);hi.set(yi,cr),(!cr||0==cr.length)&&(On[jt]=Xr,Zt.push(On))}),Dt.set(On,hi)});let tn=0;return re.forEach(xn=>is(xn,Rt[tn++])),Zt}function Co(Dt,H){const re=new Map;if(Dt.forEach(tn=>re.set(tn,[])),0==H.length)return re;const ct=new Set(H),Rt=new Map;function Zt(tn){if(!tn)return 1;let xn=Rt.get(tn);if(xn)return xn;const On=tn.parentNode;return xn=re.has(On)?On:ct.has(On)?1:Zt(On),Rt.set(tn,xn),xn}return H.forEach(tn=>{const xn=Zt(tn);1!==xn&&re.get(xn).push(tn)}),re}function jo(Dt,H){Dt.classList?.add(H)}function hs(Dt,H){Dt.classList?.remove(H)}function ec(Dt,H,re){ve(re).onDone(()=>Dt.processLeaveNode(H))}function Ps(Dt,H){for(let re=0;re<Dt.length;re++){const Be=Dt[re];Be instanceof f.PZ?Ps(Be.players,H):H.push(Be)}}function Cs(Dt,H,re){const Be=re.get(Dt);if(!Be)return!1;let ct=H.get(Dt);return ct?Be.forEach(Rt=>ct.add(Rt)):H.set(Dt,Be),re.delete(Dt),!0}class Rr{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(H,re)=>{};constructor(H,re,Be){this._driver=re,this._normalizer=Be,this._transitionEngine=new ra(H.body,re,Be),this._timelineEngine=new St(H.body,re,Be),this._transitionEngine.onRemovalComplete=(ct,Rt)=>this.onRemovalComplete(ct,Rt)}registerTrigger(H,re,Be,ct,Rt){const Zt=H+"-"+ct;let tn=this._triggerCache[Zt];if(!tn){const xn=[],On=[],hi=pn(this._driver,Rt,xn,On);if(xn.length)throw function ce(Dt,H){return new m.buA(3404,!1)}();tn=function oo(Dt,H,re){return new yo(Dt,H,re)}(ct,hi,this._normalizer),this._triggerCache[Zt]=tn}this._transitionEngine.registerTrigger(re,ct,tn)}register(H,re){this._transitionEngine.register(H,re)}destroy(H,re){this._transitionEngine.destroy(H,re)}onInsert(H,re,Be,ct){this._transitionEngine.insertNode(H,re,Be,ct)}onRemove(H,re,Be){this._transitionEngine.removeNode(H,re,Be)}disableAnimations(H,re){this._transitionEngine.markElementAsDisabled(H,re)}process(H,re,Be,ct){if("@"==Be.charAt(0)){const[Rt,Zt]=wt(Be),tn=ct;this._timelineEngine.command(Rt,re,Zt,tn)}else this._transitionEngine.trigger(H,re,Be,ct)}listen(H,re,Be,ct,Rt){if("@"==Be.charAt(0)){const[Zt,tn]=wt(Be);return this._timelineEngine.listen(Zt,re,tn,Rt)}return this._transitionEngine.listen(H,re,Be,ct,Rt)}flush(H=-1){this._transitionEngine.flush(H)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(H){this._transitionEngine.afterFlushAnimationsDone(H)}}class ls{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(H,re,Be){this._element=H,this._startStyles=re,this._endStyles=Be;let ct=ls.initialStylesByElement.get(H);ct||ls.initialStylesByElement.set(H,ct=new Map),this._initialStyles=ct}start(){this._state<1&&(this._startStyles&&Oe(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Oe(this._element,this._initialStyles),this._endStyles&&(Oe(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ls.initialStylesByElement.delete(this._element),this._startStyles&&(at(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(at(this._element,this._endStyles),this._endStyles=null),Oe(this._element,this._initialStyles),this._state=3)}}function Ao(Dt){let H=null;return Dt.forEach((re,Be)=>{(function Rs(Dt){return"display"===Dt||"position"===Dt})(Be)&&(H=H||new Map,H.set(Be,re))}),H}class _c{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(H,re,Be,ct){this.element=H,this.keyframes=re,this.options=Be,this._specialStyles=ct,this._duration=Be.duration,this._delay=Be.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;const H=this.keyframes,re=this._triggerWebAnimation(this.element,H,this.options);if(!re)return this._onFinish(),null;this.domPlayer=re,this._finalKeyframe=H.length?H[H.length-1]:new Map;const Be=()=>this._onFinish();return re.addEventListener("finish",Be),this.onDestroy(()=>{re.removeEventListener("finish",Be)}),re}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(H){const re=[];return H.forEach(Be=>{re.push(Object.fromEntries(Be))}),re}_triggerWebAnimation(H,re,Be){const ct=this._convertKeyframesToObject(re);try{return H.animate(ct,Be)}catch{return null}}onStart(H){this._originalOnStartFns.push(H),this._onStartFns.push(H)}onDone(H){this._originalOnDoneFns.push(H),this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}play(){const H=this._buildPlayer();H&&(this.hasStarted()||(this._onStartFns.forEach(re=>re()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),H.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}setPosition(H){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=H*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){const H=new Map;this.hasStarted()&&this._finalKeyframe.forEach((Be,ct)=>{"offset"!==ct&&H.set(ct,this._finished?Be:sr(this.element,ct))}),this.currentSnapshot=H}triggerCallback(H){const re="start"===H?this._onStartFns:this._onDoneFns;re.forEach(Be=>Be()),re.length=0}}class Kr{validateStyleProperty(H){return!0}validateAnimatableStyleProperty(H){return!0}containsElement(H,re){return Ht(H,re)}getParentElement(H){return ee(H)}query(H,re,Be){return ze(H,re,Be)}computeStyle(H,re,Be){return sr(H,re)}animate(H,re,Be,ct,Rt,Zt=[]){const xn={duration:Be,delay:ct,fill:0==ct?"both":"forwards"};Rt&&(xn.easing=Rt);const On=new Map,hi=Zt.filter(gt=>gt instanceof _c);(function $i(Dt,H){return 0===Dt||0===H})(Be,ct)&&hi.forEach(gt=>{gt.currentSnapshot.forEach((A,Se)=>On.set(Se,A))});let yi=function ht(Dt){return Dt.length?Dt[0]instanceof Map?Dt:Dt.map(H=>new Map(Object.entries(H))):[]}(re).map(gt=>new Map(gt));yi=function Ei(Dt,H,re){if(re.size&&H.length){let Be=H[0],ct=[];if(re.forEach((Rt,Zt)=>{Be.has(Zt)||ct.push(Zt),Be.set(Zt,Rt)}),ct.length)for(let Rt=1;Rt<H.length;Rt++){let Zt=H[Rt];ct.forEach(tn=>Zt.set(tn,sr(Dt,tn)))}}return H}(H,yi,On);const cr=function oa(Dt,H){let re=null,Be=null;return Array.isArray(H)&&H.length?(re=Ao(H[0]),H.length>1&&(Be=Ao(H[H.length-1]))):H instanceof Map&&(re=Ao(H)),re||Be?new ls(Dt,re,Be):null}(H,yi);return new _c(H,yi,xn,cr)}}const ja="@.disabled";class bs{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(H,re,Be,ct){this.namespaceId=H,this.delegate=re,this.engine=Be,this._onDestroy=ct}get data(){return this.delegate.data}destroyNode(H){this.delegate.destroyNode?.(H)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(H,re){return this.delegate.createElement(H,re)}createComment(H){return this.delegate.createComment(H)}createText(H){return this.delegate.createText(H)}appendChild(H,re){this.delegate.appendChild(H,re),this.engine.onInsert(this.namespaceId,re,H,!1)}insertBefore(H,re,Be,ct=!0){this.delegate.insertBefore(H,re,Be),this.engine.onInsert(this.namespaceId,re,H,ct)}removeChild(H,re,Be,ct){ct?this.delegate.removeChild(H,re,Be,ct):this.parentNode(re)&&this.engine.onRemove(this.namespaceId,re,this.delegate)}selectRootElement(H,re){return this.delegate.selectRootElement(H,re)}parentNode(H){return this.delegate.parentNode(H)}nextSibling(H){return this.delegate.nextSibling(H)}setAttribute(H,re,Be,ct){this.delegate.setAttribute(H,re,Be,ct)}removeAttribute(H,re,Be){this.delegate.removeAttribute(H,re,Be)}addClass(H,re){this.delegate.addClass(H,re)}removeClass(H,re){this.delegate.removeClass(H,re)}setStyle(H,re,Be,ct){this.delegate.setStyle(H,re,Be,ct)}removeStyle(H,re,Be){this.delegate.removeStyle(H,re,Be)}setProperty(H,re,Be){"@"==re.charAt(0)&&re==ja?this.disableAnimations(H,!!Be):this.delegate.setProperty(H,re,Be)}setValue(H,re){this.delegate.setValue(H,re)}listen(H,re,Be,ct){return this.delegate.listen(H,re,Be,ct)}disableAnimations(H,re){this.engine.disableAnimations(H,re)}}class Ha extends bs{factory;constructor(H,re,Be,ct,Rt){super(re,Be,ct,Rt),this.factory=H,this.namespaceId=re}setProperty(H,re,Be){"@"==re.charAt(0)?"."==re.charAt(1)&&re==ja?(Be=void 0===Be||!!Be,this.disableAnimations(H,Be)):this.engine.process(this.namespaceId,H,re.slice(1),Be):this.delegate.setProperty(H,re,Be)}listen(H,re,Be,ct){if("@"==re.charAt(0)){const Rt=function wo(Dt){switch(Dt){case"body":return document.body;case"document":return document;case"window":return window;default:return Dt}}(H);let Zt=re.slice(1),tn="";return"@"!=Zt.charAt(0)&&([Zt,tn]=function Ta(Dt){const H=Dt.indexOf("."),re=Dt.substring(0,H),Be=Dt.slice(H+1);return[re,Be]}(Zt)),this.engine.listen(this.namespaceId,Rt,Zt,tn,xn=>{const On=xn._data||-1;this.factory.scheduleListenerCallback(On,Be,xn)})}return this.delegate.listen(H,re,Be,ct)}}class Es{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(H,re,Be){this.delegate=H,this.engine=re,this._zone=Be,re.onRemovalComplete=(ct,Rt)=>{Rt?.removeChild(null,ct)}}createRenderer(H,re){const ct=this.delegate.createRenderer(H,re);if(!H||!re?.data?.animation){const On=this._rendererCache;let hi=On.get(ct);if(!hi){const yi=()=>On.delete(ct);hi=new bs("",ct,this.engine,yi),On.set(ct,hi)}return hi}const Rt=re.id,Zt=re.id+"-"+this._currentId;this._currentId++,this.engine.register(Zt,H);const tn=On=>{Array.isArray(On)?On.forEach(tn):this.engine.registerTrigger(Rt,Zt,H,On.name,On)};return re.data.animation.forEach(tn),new Ha(this,Zt,ct,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(H,re,Be){if(H>=0&&H<this._microtaskId)return void this._zone.run(()=>re(Be));const ct=this._animationCallbacksBuffer;0==ct.length&&queueMicrotask(()=>{this._zone.run(()=>{ct.forEach(Rt=>{const[Zt,tn]=Rt;Zt(tn)}),this._animationCallbacksBuffer=[]})}),ct.push([re,Be])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(H){this.engine.flush(),this.delegate.componentReplaced?.(H)}}var Ls=h(44217),Ic=h(6569);class rs extends Rr{constructor(H,re,Be){super(H,re,Be)}ngOnDestroy(){this.flush()}static \u0275fac=function(re){return new(re||rs)(m.KVO(m.qQL),m.KVO(pi),m.KVO(Mr))};static \u0275prov=m.jDH({token:rs,factory:rs.\u0275fac})}const Ks=[{provide:Mr,useFactory:function zs(){return new lo}},{provide:Rr,useClass:rs},{provide:s._9s,useFactory:function os(){return new Es((0,m.WQX)(Ls.mE),(0,m.WQX)(Rr),(0,m.WQX)(m.SKi))}}],Bs=[{provide:pi,useClass:Qn},{provide:m.bc$,useValue:"NoopAnimations"},...Ks],sa=[{provide:pi,useFactory:()=>new Kr},{provide:m.bc$,useFactory:()=>"BrowserAnimations"},...Ks];class Wo{static withConfig(H){return{ngModule:Wo,providers:H.disableAnimations?Bs:sa}}static \u0275fac=function(re){return new(re||Wo)};static \u0275mod=s.$C({type:Wo,exports:[Ic.Bb]});static \u0275inj=m.G2t({providers:sa,imports:[Ic.Bb]})}class tc{static \u0275fac=function(re){return new(re||tc)};static \u0275mod=s.$C({type:tc,exports:[Ic.Bb]});static \u0275inj=m.G2t({providers:Bs,imports:[Ic.Bb]})}},20410(st,pe,h){"use strict";h.d(pe,{I5:()=>Te,hE:()=>Tt,nB:()=>Ce,up:()=>De});var $=h(28939),E=h(93049),w=h(70903),O=h(44217);class Z{_doc=(0,$.WQX)($.qQL);_dom=(0,E.rb)();_cachedHead;addTag(Ht,ze=!1){return Ht?this._getOrCreateElement(Ht,ze):null}addTags(Ht,ze=!1){return Ht.filter(Mt=>!!Mt).map(Mt=>this._getOrCreateElement(Mt,ze))}getTag(Ht){if(!Ht)return null;const ze=this._doc.querySelector(Ee(Ht));return Le(ze)?ze:null}getTags(Ht){if(!Ht)return[];const ze=this._doc.querySelectorAll(Ee(Ht));return ze?Array.from(ze).filter(Mt=>Le(Mt)):[]}updateTag(Ht,ze){ze??=j(Ht);const Mt=this.getTag(ze);return Mt?(oe(Ht,Mt),Mt):this._getOrCreateElement(Ht,!0)}removeTag(Ht){this.removeTagElement(this.getTag(Ht))}removeTagElement(Ht){Ht&&this._dom.remove(Ht)}_getOrCreateElement(Ht,ze=!1){if(!ze){const bn=j(Ht),Tn=this.getTags(bn).filter(Lt=>function ce(Kt,Ht){return Object.keys(Kt).every(ze=>Ht.getAttribute(ye(ze))===Kt[ze])}(Ht,Lt))[0];if(void 0!==Tn)return Tn}const Mt=this._dom.createElement("meta");return oe(Ht,Mt),this._doc.getElementsByTagName("head")[0].appendChild(Mt),Mt}static \u0275fac=function(ze){return new(ze||Z)};static \u0275prov=w.tV_({token:Z,factory:Z.\u0275fac})}function Ee(Kt){return`meta[${Kt}]`}function oe(Kt,Ht){Object.keys(Kt).forEach(ze=>Ht.setAttribute(ye(ze),Kt[ze]))}function j(Kt){const Ht=Kt.name?"name":"property";return`${Ht}=${function te(Kt){return`"${Kt.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}(String(Kt[Ht]))}`}function ye(Kt){return $e[Kt]||Kt}function Le(Kt){return"meta"===Kt?.nodeName.toLowerCase()}const $e={httpEquiv:"http-equiv"};class Tt{_doc;constructor(Ht){this._doc=Ht}getTitle(){return this._doc.title}setTitle(Ht){this._doc.title=Ht||""}static \u0275fac=function(ze){return new(ze||Tt)($.KVO($.qQL))};static \u0275prov=$.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"root"})}function We(Kt,Ht){if(typeof COMPILED>"u"||!COMPILED){($.laP.ng=$.laP.ng||{})[Kt]=Ht}}class Me{msPerTick;numTicks;constructor(Ht,ze){this.msPerTick=Ht,this.numTicks=ze}}class ut{appRef;constructor(Ht){this.appRef=Ht.injector.get(w.o8S)}timeChangeDetection(Ht){const ze=Ht&&Ht.record,Mt="Change Detection";ze&&"profile"in console&&"function"==typeof console.profile&&console.profile(Mt);const Pt=performance.now();let bn=0;for(;bn<5||performance.now()-Pt<500;)this.appRef.tick(),bn++;const Tn=performance.now();ze&&"profileEnd"in console&&"function"==typeof console.profileEnd&&console.profileEnd(Mt);const Lt=(Tn-Pt)/bn;return console.log(`ran ${bn} change detection cycles`),console.log(`${Lt.toFixed(2)} ms per check`),new Me(Lt,bn)}}const xe="profiler";function Te(Kt){return We(xe,new ut(Kt)),Kt}function Ce(){We(xe,null)}class ve{namespacePrefix=(0,$.WQX)(O.at,{optional:!0})??"";namespace(Ht){return this.namespacePrefix?`--${this.namespacePrefix}${Ht.substring(2)}`:Ht}static \u0275fac=function(ze){return new(ze||ve)};static \u0275prov=w.tV_({token:ve,factory:ve.\u0275fac})}var be,Kt;(Kt=be||(be={}))[Kt.NoHttpTransferCache=0]="NoHttpTransferCache",Kt[Kt.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",Kt[Kt.I18nSupport=2]="I18nSupport",Kt[Kt.EventReplay=3]="EventReplay",Kt[Kt.IncrementalHydration=4]="IncrementalHydration",Kt[Kt.NoIncrementalHydration=5]="NoIncrementalHydration";class De{static \u0275fac=function(ze){return new(ze||De)};static \u0275prov=$.jDH({token:De,factory:function(ze){let Mt=null;return Mt=ze?new(ze||De):$.KVO(rt),Mt},providedIn:"root"})}class rt extends De{_doc=(0,$.WQX)($.qQL);sanitize(Ht,ze){if(null==ze)return null;switch(Ht){case $.WPN.NONE:return ze;case $.WPN.HTML:return(0,w.iWE)(ze,"HTML")?(0,w.aCM)(ze):(0,w.wr$)(this._doc,String(ze)).toString();case $.WPN.STYLE:return(0,w.iWE)(ze,"Style")?(0,w.aCM)(ze):ze;case $.WPN.SCRIPT:if((0,w.iWE)(ze,"Script"))return(0,w.aCM)(ze);throw new $.buA(5200,!1);case $.WPN.URL:return(0,w.iWE)(ze,"URL")?(0,w.aCM)(ze):(0,w.gil)(String(ze));case $.WPN.RESOURCE_URL:if((0,w.iWE)(ze,"ResourceURL"))return(0,w.aCM)(ze);throw new $.buA(-5201,!1);default:throw new $.buA(5202,!1)}}bypassSecurityTrustHtml(Ht){return(0,w.PYC)(Ht)}bypassSecurityTrustStyle(Ht){return(0,w.rAh)(Ht)}bypassSecurityTrustScript(Ht){return(0,w.p2i)(Ht)}bypassSecurityTrustUrl(Ht){return(0,w.B1s)(Ht)}bypassSecurityTrustResourceUrl(Ht){return(0,w.RPW)(Ht)}static \u0275fac=function(ze){return new(ze||rt)};static \u0275prov=w.tV_({token:rt,factory:rt.\u0275fac})}},54570(st,pe,h){"use strict";h.d(pe,{nX:()=>ni,Xl:()=>Ui,j5:()=>ir,kv:()=>ts,Pu:()=>Ys,Zp:()=>yo,nU:()=>je,ah:()=>Yi,wU:()=>hr,c1:()=>po,XR:()=>Oa,Cq:()=>ft,X1:()=>Ze,wF:()=>Gi,L6:()=>kn,lW:()=>sn,mo:()=>tt,Z:()=>vo,J2:()=>vc,J_:()=>Kc,bw:()=>Qo,gx:()=>qi,tD:()=>Eo,Ix:()=>ks,D$:()=>ko,n3:()=>ns,n1:()=>Xr,OY:()=>Fi,fN:()=>yc,Sd:()=>fn,el:()=>_e,bK:()=>aa,gk:()=>bc,Lg:()=>ol,tE:()=>rt,$m:()=>Kt,bX:()=>Ot,wO:()=>Mr,Us:()=>Di,E:()=>It,we:()=>Do});var m=h(29293),s=h(28939),f=h(44881),P=h(70903),D=h(10286),y=h(39962),b=h(79781),x=h(67148),N=h(47086),M=h(5651),U=h(75889),J=h(7201),I=h(75536),T=h(44754),C=h(93767),R=h(66204),B=h(89630),F=h(36413),$=h(55919),E=h(23054),w=h(56084),O=h(65229),Z=h(34369),Ee=h(56276),oe=h(29927),j=h(84833),te=h(72818),ce=h(86623),ye=h(18997),Le=h(22914),$e=h(22425),Tt=h(41109);function We(le){return le<=0?()=>B.w:(0,$e.N)((z,ne)=>{let Ne=[];z.subscribe((0,Tt._)(ne,Ye=>{Ne.push(Ye),le<Ne.length&&Ne.shift()},()=>{for(const Ye of Ne)ne.next(Ye);ne.complete()},void 0,()=>{Ne=null}))})}var Me=h(77280),ut=h(97497),xe=h(20410);const Te="primary",Ce=Symbol("RouteTitle");class et{params;constructor(z){this.params=z||{}}has(z){return Object.prototype.hasOwnProperty.call(this.params,z)}get(z){if(this.has(z)){const ne=this.params[z];return Array.isArray(ne)?ne[0]:ne}return null}getAll(z){if(this.has(z)){const ne=this.params[z];return Array.isArray(ne)?ne:[ne]}return[]}get keys(){return Object.keys(this.params)}}function he(le){return new et(le)}function ve(le,z,ne){for(let Ne=0;Ne<le.length;Ne++){const Ye=le[Ne],Nt=z[Ne];if(":"===Ye[0])ne[Ye.substring(1)]=Nt;else if(Ye!==Nt.path)return!1}return!0}function be(le,z,ne){const Ne=ne.path.split("/"),Ye=Ne.indexOf("**");if(-1===Ye){if(Ne.length>le.length||"full"===ne.pathMatch&&(z.hasChildren()||Ne.length<le.length))return null;const Vn={},si=le.slice(0,Ne.length);return ve(Ne,si,Vn)?{consumed:si,posParams:Vn}:null}if(Ye!==Ne.lastIndexOf("**"))return null;const Nt=Ne.slice(0,Ye),en=Ne.slice(Ye+1);if(Nt.length+en.length>le.length||"full"===ne.pathMatch&&z.hasChildren()&&"**"!==ne.path)return null;const Wt={};return ve(Nt,le.slice(0,Nt.length),Wt)&&ve(en,le.slice(le.length-en.length),Wt)?{consumed:le,posParams:Wt}:null}function de(le){return new Promise((z,ne)=>{le.pipe((0,w.$)()).subscribe({next:Ne=>z(Ne),error:Ne=>ne(Ne)})})}function Fe(le,z){const ne=le?He(le):void 0,Ne=z?He(z):void 0;if(!ne||!Ne||ne.length!=Ne.length)return!1;let Ye;for(let Nt=0;Nt<ne.length;Nt++)if(Ye=ne[Nt],!wt(le[Ye],z[Ye]))return!1;return!0}function He(le){return[...Object.keys(le),...Object.getOwnPropertySymbols(le)]}function wt(le,z){if(Array.isArray(le)&&Array.isArray(z)){if(le.length!==z.length)return!1;const ne=[...le].sort(),Ne=[...z].sort();return ne.every((Ye,Nt)=>Ne[Nt]===Ye)}return le===z}function ee(le){return(0,b.A)(le)?le:(0,P.yLl)(le)?(0,x.H)(Promise.resolve(le)):(0,N.of)(le)}function V(le){return(0,b.A)(le)?de(le):Promise.resolve(le)}const ue={exact:function Mt(le,z,ne){if(!Vt(le.segments,z.segments)||!Lt(le.segments,z.segments,ne)||le.numberOfChildren!==z.numberOfChildren)return!1;for(const Ne in z.children)if(!le.children[Ne]||!Mt(le.children[Ne],z.children[Ne],ne))return!1;return!0},subset:bn},De={exact:function ze(le,z){return Fe(le,z)},subset:function Pt(le,z){return Object.keys(z).length<=Object.keys(le).length&&Object.keys(z).every(ne=>wt(le[ne],z[ne]))},ignored:()=>!0},rt={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},It={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Kt(le,z,ne){const Ne=le instanceof _e?le:z.parseUrl(le);return(0,D.EW)(()=>Ht(z.lastSuccessfulNavigation()?.finalUrl??new _e,Ne,{...It,...ne}))}function Ht(le,z,ne){return ue[ne.paths](le.root,z.root,ne.matrixParams)&&De[ne.queryParams](le.queryParams,z.queryParams)&&!("exact"===ne.fragment&&le.fragment!==z.fragment)}function bn(le,z,ne){return Tn(le,z,z.segments,ne)}function Tn(le,z,ne,Ne){if(le.segments.length>ne.length){const Ye=le.segments.slice(0,ne.length);return!(!Vt(Ye,ne)||z.hasChildren()||!Lt(Ye,ne,Ne))}if(le.segments.length===ne.length){if(!Vt(le.segments,ne)||!Lt(le.segments,ne,Ne))return!1;for(const Ye in z.children)if(!le.children[Ye]||!bn(le.children[Ye],z.children[Ye],Ne))return!1;return!0}{const Ye=ne.slice(0,le.segments.length),Nt=ne.slice(le.segments.length);return!!(Vt(le.segments,Ye)&&Lt(le.segments,Ye,Ne)&&le.children[Te])&&Tn(le.children[Te],z,Nt,Ne)}}function Lt(le,z,ne){return z.every((Ne,Ye)=>De[ne](le[Ye].parameters,Ne.parameters))}class _e{root;queryParams;fragment;_queryParamMap;constructor(z=new Y([],{}),ne={},Ne=null){this.root=z,this.queryParams=ne,this.fragment=Ne}get queryParamMap(){return this._queryParamMap??=he(this.queryParams),this._queryParamMap}toString(){return _t.serialize(this)}}class Y{segments;children;parent=null;constructor(z,ne){this.segments=z,this.children=ne,Object.values(ne).forEach(Ne=>Ne.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ht(this)}}class fe{path;parameters;_parameterMap;constructor(z,ne){this.path=z,this.parameters=ne}get parameterMap(){return this._parameterMap??=he(this.parameters),this._parameterMap}toString(){return cn(this)}}function Vt(le,z){return le.length===z.length&&le.every((ne,Ne)=>ne.path===z[Ne].path)}class fn{static \u0275fac=function(ne){return new(ne||fn)};static \u0275prov=P.tV_({token:fn,factory:()=>new je})}class je{parse(z){const ne=new wn(z);return new _e(ne.parseRootSegment(),ne.parseQueryParams(),ne.parseFragment())}serialize(z){const ne=`/${lt(z.root,!0)}`,Ne=function Jn(le){const z=Object.entries(le).map(([ne,Ne])=>Array.isArray(Ne)?Ne.map(Ye=>`${at(ne)}=${at(Ye)}`).join("&"):`${at(ne)}=${at(Ne)}`).filter(ne=>ne);return z.length?`?${z.join("&")}`:""}(z.queryParams);return`${ne}${Ne}${"string"==typeof z.fragment?`#${function Q(le){return encodeURI(le)}(z.fragment)}`:""}`}}const _t=new je;function ht(le){return le.segments.map(z=>cn(z)).join("/")}function lt(le,z){if(!le.hasChildren())return ht(le);if(z){const ne=le.children[Te]?lt(le.children[Te],!1):"",Ne=[];return Object.entries(le.children).forEach(([Ye,Nt])=>{Ye!==Te&&Ne.push(`${Ye}:${lt(Nt,!1)}`)}),Ne.length>0?`${ne}(${Ne.join("//")})`:ne}{const ne=function ln(le,z){let ne=[];return Object.entries(le.children).forEach(([Ne,Ye])=>{Ne===Te&&(ne=ne.concat(z(Ye,Ne)))}),Object.entries(le.children).forEach(([Ne,Ye])=>{Ne!==Te&&(ne=ne.concat(z(Ye,Ne)))}),ne}(le,(Ne,Ye)=>Ye===Te?[lt(le.children[Te],!1)]:[`${Ye}:${lt(Ne,!1)}`]);return 1===Object.keys(le.children).length&&null!=le.children[Te]?`${ht(le)}/${ne[0]}`:`${ht(le)}/(${ne.join("//")})`}}function Oe(le){return encodeURIComponent(le).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function at(le){return Oe(le).replace(/%3B/gi,";")}function Ae(le){return Oe(le).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qe(le){return decodeURIComponent(le)}function kt(le){return Qe(le.replace(/\+/g,"%20"))}function cn(le){return`${Ae(le.path)}${function mn(le){return Object.entries(le).map(([z,ne])=>`;${Ae(z)}=${Ae(ne)}`).join("")}(le.parameters)}`}const Ti=/^[^\/()?;#]+/;function $i(le){const z=le.match(Ti);return z?z[0]:""}const Ei=/^[^\/()?;=#]+/;const sr=/^[^=?&#]+/;const Yn=/^[^&#]+/;class wn{url;remaining;constructor(z){this.url=z,this.remaining=z}parseRootSegment(){for(;this.consumeOptional("/"););return""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Y([],{}):new Y([],this.parseChildren())}parseQueryParams(){const z={};if(this.consumeOptional("?"))do{this.parseQueryParam(z)}while(this.consumeOptional("&"));return z}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(z=0){if(z>50)throw new s.buA(4010,!1);if(""===this.remaining)return{};this.consumeOptional("/");const ne=[];for(this.peekStartsWith("(")||ne.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),ne.push(this.parseSegment());let Ne={};this.peekStartsWith("/(")&&(this.capture("/"),Ne=this.parseParens(!0,z));let Ye={};return this.peekStartsWith("(")&&(Ye=this.parseParens(!1,z)),(ne.length>0||Object.keys(Ne).length>0)&&(Ye[Te]=new Y(ne,Ne)),Ye}parseSegment(){const z=$i(this.remaining);if(""===z&&this.peekStartsWith(";"))throw new s.buA(4009,!1);return this.capture(z),new fe(Qe(z),this.parseMatrixParams())}parseMatrixParams(){const z={};for(;this.consumeOptional(";");)this.parseParam(z);return z}parseParam(z){const ne=function ui(le){const z=le.match(Ei);return z?z[0]:""}(this.remaining);if(!ne)return;this.capture(ne);let Ne="";if(this.consumeOptional("=")){const Ye=$i(this.remaining);Ye&&(Ne=Ye,this.capture(Ne))}z[Qe(ne)]=Qe(Ne)}parseQueryParam(z){const ne=function pr(le){const z=le.match(sr);return z?z[0]:""}(this.remaining);if(!ne)return;this.capture(ne);let Ne="";if(this.consumeOptional("=")){const en=function Yt(le){const z=le.match(Yn);return z?z[0]:""}(this.remaining);en&&(Ne=en,this.capture(Ne))}const Ye=kt(ne),Nt=kt(Ne);if(Object.hasOwn(z,Ye)){let en=z[Ye];Array.isArray(en)||(en=[en],z[Ye]=en),en.push(Nt)}else z[Ye]=Nt}parseParens(z,ne){const Ne=Object.create(null);for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Ye=$i(this.remaining),Nt=this.remaining[Ye.length];if("/"!==Nt&&")"!==Nt&&";"!==Nt)throw new s.buA(4010,!1);let en;Ye.indexOf(":")>-1?(en=Ye.slice(0,Ye.indexOf(":")),this.capture(en),this.capture(":")):z&&(en=Te);const Wt=this.parseChildren(ne+1);Ne[en??Te]=1===Object.keys(Wt).length&&Wt[Te]?Wt[Te]:new Y([],Wt),this.consumeOptional("//")}return Ne}peekStartsWith(z){return this.remaining.startsWith(z)}consumeOptional(z){return!!this.peekStartsWith(z)&&(this.remaining=this.remaining.substring(z.length),!0)}capture(z){if(!this.consumeOptional(z))throw new s.buA(4011,!1)}}function zn(le){return le.segments.length>0?new Y([],{[Te]:le}):le}function Qn(le){const z=Object.create(null);for(const[Ne,Ye]of Object.entries(le.children)){const Nt=Qn(Ye);if(Ne===Te&&0===Nt.segments.length&&Nt.hasChildren())for(const[en,Wt]of Object.entries(Nt.children))z[en]=Wt;else(Nt.segments.length>0||Nt.hasChildren())&&(z[Ne]=Nt)}return function pi(le){if(1===le.numberOfChildren&&le.children[Te]){const z=le.children[Te];return new Y(le.segments.concat(z.segments),z.children)}return le}(new Y(le.segments,z))}function Mr(le){return le instanceof _e}function co(le){let z;const Ne=function ne(Nt){const en={};for(const Vn of Nt.children){const si=ne(Vn);en[Vn.outlet]=si}const Wt=new Y(Nt.url,en);return Nt===le&&(z=Wt),Wt}(le.root),Ye=zn(Ne);return z??Ye}function lo(le,z,ne,Ne,Ye){let Nt=le;for(;Nt.parent;)Nt=Nt.parent;if(0===z.length)return qr(Nt,Nt,Nt,ne,Ne,Ye);const en=function Qi(le){if("string"==typeof le[0]&&1===le.length&&"/"===le[0])return new wr(!0,0,le);let z=0,ne=!1;const Ne=le.reduce((Ye,Nt,en)=>{if("object"==typeof Nt&&null!=Nt){if(Nt.outlets){const Wt={};return Object.entries(Nt.outlets).forEach(([Vn,si])=>{Wt[Vn]="string"==typeof si?si.split("/"):si}),[...Ye,{outlets:Wt}]}if(Nt.segmentPath)return[...Ye,Nt.segmentPath]}return"string"!=typeof Nt?[...Ye,Nt]:0===en?(Nt.split("/").forEach((Wt,Vn)=>{0==Vn&&"."===Wt||(0==Vn&&""===Wt?ne=!0:".."===Wt?z++:""!=Wt&&Ye.push(Wt))}),Ye):[...Ye,Nt]},[]);return new wr(ne,z,Ne)}(z);if(en.toRoot())return qr(Nt,Nt,new Y([],{}),ne,Ne,Ye);const Wt=function Ar(le,z,ne){if(le.isAbsolute)return new Cr(z,!0,0);if(!ne)return new Cr(z,!1,NaN);if(null===ne.parent)return new Cr(ne,!0,0);const Ne=to(le.commands[0])?0:1,Ye=ne.segments.length-1+Ne;return function zt(le,z,ne){let Ne=le,Ye=z,Nt=ne;for(;Nt>Ye;){if(Nt-=Ye,Ne=Ne.parent,!Ne)throw new s.buA(4005,!1);Ye=Ne.segments.length}return new Cr(Ne,!1,Ye-Nt)}(ne,Ye,le.numberOfDoubleDots)}(en,Nt,le),Vn=Wt.processChildren?_n(Wt.segmentGroup,Wt.index,en.commands):Bt(Wt.segmentGroup,Wt.index,en.commands);return qr(Nt,Wt.segmentGroup,Vn,ne,Ne,Ye)}function to(le){return"object"==typeof le&&null!=le&&!le.outlets&&!le.segmentPath}function br(le){return"object"==typeof le&&null!=le&&le.outlets}function es(le,z,ne){le||="\u0275";const Ne=new _e;return Ne.queryParams={[le]:z},ne.parse(ne.serialize(Ne)).queryParams[le]}function qr(le,z,ne,Ne,Ye,Nt){const en={};for(const[si,Ci]of Object.entries(Ne??{}))en[si]=Array.isArray(Ci)?Ci.map(Sr=>es(si,Sr,Nt)):es(si,Ci,Nt);let Wt;Wt=le===z?ne:uo(le,z,ne);const Vn=zn(Qn(Wt));return new _e(Vn,en,Ye)}function uo(le,z,ne){const Ne=Object.create(null);return Object.entries(le.children).forEach(([Ye,Nt])=>{Ne[Ye]=Nt===z?ne:uo(Nt,z,ne)}),new Y(le.segments,Ne)}class wr{isAbsolute;numberOfDoubleDots;commands;constructor(z,ne,Ne){if(this.isAbsolute=z,this.numberOfDoubleDots=ne,this.commands=Ne,z&&Ne.length>0&&to(Ne[0]))throw new s.buA(4003,!1);const Ye=Ne.find(br);if(Ye&&Ye!==function Jt(le){return le.length>0?le[le.length-1]:null}(Ne))throw new s.buA(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Cr{segmentGroup;processChildren;index;constructor(z,ne,Ne){this.segmentGroup=z,this.processChildren=ne,this.index=Ne}}function Bt(le,z,ne){if(le??=new Y([],{}),0===le.segments.length&&le.hasChildren())return _n(le,z,ne);const Ne=function Kn(le,z,ne){let Ne=0,Ye=z;const Nt={match:!1,pathIndex:0,commandIndex:0};for(;Ye<le.segments.length;){if(Ne>=ne.length)return Nt;const en=le.segments[Ye],Wt=ne[Ne];if(br(Wt))break;const Vn=`${Wt}`,si=Ne<ne.length-1?ne[Ne+1]:null;if(Ye>0&&void 0===Vn)break;if(Vn&&si&&"object"==typeof si&&void 0===si.outlets){if(!Hi(Vn,si,en))return Nt;Ne+=2}else{if(!Hi(Vn,{},en))return Nt;Ne++}Ye++}return{match:!0,pathIndex:Ye,commandIndex:Ne}}(le,z,ne),Ye=ne.slice(Ne.commandIndex);if(Ne.match&&Ne.pathIndex<le.segments.length){const Nt=new Y(le.segments.slice(0,Ne.pathIndex),{});return Nt.children[Te]=new Y(le.segments.slice(Ne.pathIndex),le.children),_n(Nt,0,Ye)}return Ne.match&&0===Ye.length?new Y(le.segments,{}):Ne.match&&!le.hasChildren()?pn(le,z,ne):Ne.match?_n(le,0,Ye):pn(le,z,ne)}function _n(le,z,ne){if(0===ne.length)return new Y(le.segments,{});{const Ne=function pt(le){return br(le[0])?le[0].outlets:{[Te]:le}}(ne),Ye=Object.create(null);if(Object.keys(Ne).some(Nt=>Nt!==Te)&&le.children[Te]&&1===le.numberOfChildren&&0===le.children[Te].segments.length){const Nt=_n(le.children[Te],z,ne);return new Y(le.segments,Nt.children)}return Object.entries(Ne).forEach(([Nt,en])=>{"string"==typeof en&&(en=[en]),null!==en&&(Ye[Nt]=Bt(le.children[Nt],z,en))}),Object.entries(le.children).forEach(([Nt,en])=>{void 0===Ne[Nt]&&(Ye[Nt]=en)}),new Y(le.segments,Ye)}}function pn(le,z,ne){const Ne=le.segments.slice(0,z);let Ye=0;for(;Ye<ne.length;){const Nt=ne[Ye];if(br(Nt)){const Vn=mi(Nt.outlets);return new Y(Ne,Vn)}if(0===Ye&&to(ne[0])){const Vn=le.segments[z];Ne.push(new fe(Vn.path,Mi(ne[0]))),Ye++;continue}const en=br(Nt)?Nt.outlets[Te]:`${Nt}`,Wt=Ye<ne.length-1?ne[Ye+1]:null;en&&Wt&&to(Wt)?(Ne.push(new fe(en,Mi(Wt))),Ye+=2):(Ne.push(new fe(en,{})),Ye++)}return new Y(Ne,{})}function mi(le){const z={};return Object.entries(le).forEach(([ne,Ne])=>{"string"==typeof Ne&&(Ne=[Ne]),null!==Ne&&(z[ne]=pn(new Y([],{}),0,Ne))}),z}function Mi(le){const z={};return Object.entries(le).forEach(([ne,Ne])=>z[ne]=`${Ne}`),z}function Hi(le,z,ne){return le==ne.path&&Fe(z,ne.parameters)}const hr="imperative";var wi,le,Ze,tt;(le=wi||(wi={}))[le.NavigationStart=0]="NavigationStart",le[le.NavigationEnd=1]="NavigationEnd",le[le.NavigationCancel=2]="NavigationCancel",le[le.NavigationError=3]="NavigationError",le[le.RoutesRecognized=4]="RoutesRecognized",le[le.ResolveStart=5]="ResolveStart",le[le.ResolveEnd=6]="ResolveEnd",le[le.GuardsCheckStart=7]="GuardsCheckStart",le[le.GuardsCheckEnd=8]="GuardsCheckEnd",le[le.RouteConfigLoadStart=9]="RouteConfigLoadStart",le[le.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",le[le.ChildActivationStart=11]="ChildActivationStart",le[le.ChildActivationEnd=12]="ChildActivationEnd",le[le.ActivationStart=13]="ActivationStart",le[le.ActivationEnd=14]="ActivationEnd",le[le.Scroll=15]="Scroll",le[le.NavigationSkipped=16]="NavigationSkipped";class Ki{id;url;constructor(z,ne){this.id=z,this.url=ne}}class vo extends Ki{type=wi.NavigationStart;navigationTrigger;restoredState;constructor(z,ne,Ne="imperative",Ye=null){super(z,ne),this.navigationTrigger=Ne,this.restoredState=Ye}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Gi extends Ki{urlAfterRedirects;type=wi.NavigationEnd;constructor(z,ne,Ne){super(z,ne),this.urlAfterRedirects=Ne}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}!function(le){le[le.Redirect=0]="Redirect",le[le.SupersededByNewNavigation=1]="SupersededByNewNavigation",le[le.NoDataFromResolver=2]="NoDataFromResolver",le[le.GuardRejected=3]="GuardRejected",le[le.Aborted=4]="Aborted"}(Ze||(Ze={})),function(le){le[le.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",le[le.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy"}(tt||(tt={}));class ft extends Ki{reason;code;type=wi.NavigationCancel;constructor(z,ne,Ne,Ye){super(z,ne),this.reason=Ne,this.code=Ye}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}function Ot(le){return le instanceof ft&&(le.code===Ze.Redirect||le.code===Ze.SupersededByNewNavigation)}class sn extends Ki{reason;code;type=wi.NavigationSkipped;constructor(z,ne,Ne,Ye){super(z,ne),this.reason=Ne,this.code=Ye}}class kn extends Ki{error;target;type=wi.NavigationError;constructor(z,ne,Ne,Ye){super(z,ne),this.error=Ne,this.target=Ye}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class In extends Ki{urlAfterRedirects;state;type=wi.RoutesRecognized;constructor(z,ne,Ne,Ye){super(z,ne),this.urlAfterRedirects=Ne,this.state=Ye}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ti extends Ki{urlAfterRedirects;state;type=wi.GuardsCheckStart;constructor(z,ne,Ne,Ye){super(z,ne),this.urlAfterRedirects=Ne,this.state=Ye}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yi extends Ki{urlAfterRedirects;state;shouldActivate;type=wi.GuardsCheckEnd;constructor(z,ne,Ne,Ye,Nt){super(z,ne),this.urlAfterRedirects=Ne,this.state=Ye,this.shouldActivate=Nt}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class tr extends Ki{urlAfterRedirects;state;type=wi.ResolveStart;constructor(z,ne,Ne,Ye){super(z,ne),this.urlAfterRedirects=Ne,this.state=Ye}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qi extends Ki{urlAfterRedirects;state;type=wi.ResolveEnd;constructor(z,ne,Ne,Ye){super(z,ne),this.urlAfterRedirects=Ne,this.state=Ye}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xn{route;type=wi.RouteConfigLoadStart;constructor(z){this.route=z}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Nn{route;type=wi.RouteConfigLoadEnd;constructor(z){this.route=z}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Tr{snapshot;type=wi.ChildActivationStart;constructor(z){this.snapshot=z}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ur{snapshot;type=wi.ChildActivationEnd;constructor(z){this.snapshot=z}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Or{snapshot;type=wi.ActivationStart;constructor(z){this.snapshot=z}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pr{snapshot;type=wi.ActivationEnd;constructor(z){this.snapshot=z}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Fi{routerEvent;position;anchor;scrollBehavior;type=wi.Scroll;constructor(z,ne,Ne,Ye){this.routerEvent=z,this.position=ne,this.anchor=Ne,this.scrollBehavior=Ye}toString(){const z=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${z}')`}}class ir{}class ts{}class Vr{url;navigationBehaviorOptions;constructor(z,ne){this.url=z,this.navigationBehaviorOptions=ne}}function Di(le){switch(le.type){case wi.ActivationEnd:return`ActivationEnd(path: '${le.snapshot.routeConfig?.path||""}')`;case wi.ActivationStart:return`ActivationStart(path: '${le.snapshot.routeConfig?.path||""}')`;case wi.ChildActivationEnd:return`ChildActivationEnd(path: '${le.snapshot.routeConfig?.path||""}')`;case wi.ChildActivationStart:return`ChildActivationStart(path: '${le.snapshot.routeConfig?.path||""}')`;case wi.GuardsCheckEnd:return`GuardsCheckEnd(id: ${le.id}, url: '${le.url}', urlAfterRedirects: '${le.urlAfterRedirects}', state: ${le.state}, shouldActivate: ${le.shouldActivate})`;case wi.GuardsCheckStart:return`GuardsCheckStart(id: ${le.id}, url: '${le.url}', urlAfterRedirects: '${le.urlAfterRedirects}', state: ${le.state})`;case wi.NavigationCancel:return`NavigationCancel(id: ${le.id}, url: '${le.url}')`;case wi.NavigationSkipped:return`NavigationSkipped(id: ${le.id}, url: '${le.url}')`;case wi.NavigationEnd:return`NavigationEnd(id: ${le.id}, url: '${le.url}', urlAfterRedirects: '${le.urlAfterRedirects}')`;case wi.NavigationError:return`NavigationError(id: ${le.id}, url: '${le.url}', error: ${le.error})`;case wi.NavigationStart:return`NavigationStart(id: ${le.id}, url: '${le.url}')`;case wi.ResolveEnd:return`ResolveEnd(id: ${le.id}, url: '${le.url}', urlAfterRedirects: '${le.urlAfterRedirects}', state: ${le.state})`;case wi.ResolveStart:return`ResolveStart(id: ${le.id}, url: '${le.url}', urlAfterRedirects: '${le.urlAfterRedirects}', state: ${le.state})`;case wi.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${le.route.path})`;case wi.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${le.route.path})`;case wi.RoutesRecognized:return`RoutesRecognized(id: ${le.id}, url: '${le.url}', urlAfterRedirects: '${le.urlAfterRedirects}', state: ${le.state})`;case wi.Scroll:const z=le.position?`${le.position[0]}, ${le.position[1]}`:null;return`Scroll(anchor: '${le.anchor}', position: '${z}')`}}class oo{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(z){this.rootInjector=z,this.children=new yo(this.rootInjector)}}class yo{rootInjector;contexts=new Map;constructor(z){this.rootInjector=z}onChildOutletCreated(z,ne){const Ne=this.getOrCreateContext(z);Ne.outlet=ne,this.contexts.set(z,Ne)}onChildOutletDestroyed(z){const ne=this.getContext(z);ne&&(ne.outlet=null,ne.attachRef=null)}onOutletDeactivated(){const z=this.contexts;return this.contexts=new Map,z}onOutletReAttached(z){this.contexts=z}getOrCreateContext(z){let ne=this.getContext(z);return ne||(ne=new oo(this.rootInjector),this.contexts.set(z,ne)),ne}getContext(z){return this.contexts.get(z)||null}static \u0275fac=function(ne){return new(ne||yo)(s.KVO(s.uvJ))};static \u0275prov=s.jDH({token:yo,factory:yo.\u0275fac,providedIn:"root"})}class $t{_root;constructor(z){this._root=z}get root(){return this._root.value}parent(z){const ne=this.pathFromRoot(z);return ne.length>1?ne[ne.length-2]:null}children(z){const ne=cs(z,this._root);return ne?ne.children.map(Ne=>Ne.value):[]}firstChild(z){const ne=cs(z,this._root);return ne&&ne.children.length>0?ne.children[0].value:null}siblings(z){const ne=Xo(z,this._root);return ne.length<2?[]:ne[ne.length-2].children.map(Ye=>Ye.value).filter(Ye=>Ye!==z)}pathFromRoot(z){return Xo(z,this._root).map(ne=>ne.value)}}function cs(le,z){if(le===z.value)return z;for(const ne of z.children){const Ne=cs(le,ne);if(Ne)return Ne}return null}function Xo(le,z){if(le===z.value)return[z];for(const ne of z.children){const Ne=Xo(le,ne);if(Ne.length)return Ne.unshift(z),Ne}return[]}class St{value;children;constructor(z,ne){this.value=z,this.children=ne}toString(){return`TreeNode(${this.value})`}}function Pe(le){const z={};return le&&le.children.forEach(ne=>z[ne.value.outlet]=ne),z}class xt extends $t{snapshot;constructor(z,ne){super(z),this.snapshot=ne,jt(this,z)}toString(){return this.snapshot.toString()}}function rn(le,z){const ne=function Ln(le,z){const ne={},Ne={},Ye={},en=new Ui([],ne,Ye,"",Ne,Te,le,null,{},z);return new Xr("",new St(en,[]))}(le,z),Ne=new M.t([new fe("",{})]),Ye=new M.t({}),Nt=new M.t({}),en=new M.t({}),Wt=new M.t(""),Vn=new ni(Ne,Ye,en,Wt,Nt,Te,le,ne.root);return Vn.snapshot=ne.root,new xt(new St(Vn,[]),ne)}class ni{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;_localInjector;constructor(z,ne,Ne,Ye,Nt,en,Wt,Vn){this.urlSubject=z,this.paramsSubject=ne,this.queryParamsSubject=Ne,this.fragmentSubject=Ye,this.dataSubject=Nt,this.outlet=en,this.component=Wt,this._futureSnapshot=Vn,this.title=this.dataSubject?.pipe((0,O.T)(si=>si[Ce]))??(0,N.of)(void 0),this.url=z,this.params=ne,this.queryParams=Ne,this.fragment=Ye,this.data=Nt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,O.T)(z=>he(z))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,O.T)(z=>he(z))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Wn(le,z,ne){let Ne;const{routeConfig:Ye}=le;return Ne=null===z||"always"!==ne&&""!==Ye?.path&&(z.component||z.routeConfig?.loadComponent)?{params:{...le.params},data:{...le.data},resolve:{...le.data,...le._resolvedData??{}}}:{params:{...z.params,...le.params},data:{...z.data,...le.data},resolve:{...le.data,...z.data,...Ye?.data,...le._resolvedData}},Ye&&bo(Ye)&&(Ne.resolve[Ce]=Ye.title),Ne}class Ui{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Ce]}constructor(z,ne,Ne,Ye,Nt,en,Wt,Vn,si,Ci){this.url=z,this.params=ne,this.queryParams=Ne,this.fragment=Ye,this.data=Nt,this.outlet=en,this.component=Wt,this.routeConfig=Vn,this._resolve=si,this._environmentInjector=Ci}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=he(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=he(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Ne=>Ne.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Xr extends $t{url;constructor(z,ne){super(ne),this.url=z,jt(this,ne)}toString(){return yt(this._root)}}function jt(le,z){z.value._routerState=le,z.children.forEach(ne=>jt(le,ne))}function yt(le){const z=le.children.length>0?` { ${le.children.map(yt).join(", ")} } `:"";return`${le.value}${z}`}function mo(le){if(le.snapshot){const z=le.snapshot,ne=le._futureSnapshot;le.snapshot=ne,Fe(z.queryParams,ne.queryParams)||le.queryParamsSubject.next(ne.queryParams),z.fragment!==ne.fragment&&le.fragmentSubject.next(ne.fragment),Fe(z.params,ne.params)||le.paramsSubject.next(ne.params),function G(le,z){if(le.length!==z.length)return!1;for(let ne=0;ne<le.length;++ne)if(!Fe(le[ne],z[ne]))return!1;return!0}(z.url,ne.url)||le.urlSubject.next(ne.url),Fe(z.data,ne.data)||le.dataSubject.next(ne.data)}else le.snapshot=le._futureSnapshot,le.dataSubject.next(le._futureSnapshot.data)}function no(le,z){const ne=Fe(le.params,z.params)&&function Et(le,z){return Vt(le,z)&&le.every((ne,Ne)=>Fe(ne.parameters,z[Ne].parameters))}(le.url,z.url),Ne=!le.parent!=!z.parent;return ne&&!Ne&&(!le.parent||no(le.parent,z.parent))}function bo(le){return"string"==typeof le.title||null===le.title}const ra=new s.nKC("");class ns{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Te;activateEvents=new s.bkB;deactivateEvents=new s.bkB;attachEvents=new s.bkB;detachEvents=new s.bkB;routerOutletData=(0,y.hFB)();parentContexts=(0,s.WQX)(yo);location=(0,s.WQX)(P.c1b);changeDetector=(0,s.WQX)(y.gRc);inputBinder=(0,s.WQX)(po,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(z){if(z.name){const{firstChange:ne,previousValue:Ne}=z.name;if(ne)return;this.isTrackedInParentContexts(Ne)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Ne)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(z){return this.parentContexts.getContext(z)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const z=this.parentContexts.getContext(this.name);z?.route&&(z.attachRef?this.attach(z.attachRef,z.route):this.activateWith(z.route,z.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new s.buA(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new s.buA(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new s.buA(4012,!1);this.location.detach();const z=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(z.instance),z}attach(z,ne){this.activated=z,this._activatedRoute=ne,this.location.insert(z.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(z.instance)}deactivate(){if(this.activated){const z=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(z)}}activateWith(z,ne){if(this.isActivated)throw new s.buA(4013,!1);this._activatedRoute=z;const Ne=this.location,Nt=z.snapshot.component,en=this.parentContexts.getOrCreateContext(this.name).children,Wt=new xo(z,en,Ne.injector,this.routerOutletData);this.activated=Ne.createComponent(Nt,{index:Ne.length,injector:Wt,environmentInjector:ne}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(ne){return new(ne||ns)};static \u0275dir=P.FsC({type:ns,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[P.OA$]})}class xo{route;childContexts;parent;outletData;constructor(z,ne,Ne,Ye){this.route=z,this.childContexts=ne,this.parent=Ne,this.outletData=Ye}get(z,ne){return z===ni?this.route:z===yo?this.childContexts:z===ra?this.outletData:this.parent.get(z,ne)}}const po=new s.nKC("");class Eo{options;outletDataSubscriptions=new Map;outletSeenKeys=new Map;constructor(z){this.options=z,this.options.queryParams??=!0}bindActivatedRouteToOutletComponent(z){this.unsubscribeFromRouteData(z),this.subscribeToRouteData(z)}unsubscribeFromRouteData(z){this.outletDataSubscriptions.get(z)?.unsubscribe(),this.outletDataSubscriptions.delete(z),this.outletSeenKeys.delete(z)}subscribeToRouteData(z){const{activatedRoute:ne}=z,Ne=(0,U.z)([this.options.queryParams?ne.queryParams:(0,N.of)({}),ne.params,ne.data]).pipe((0,Z.n)(([Ye,Nt,en],Wt)=>(en={...Ye,...Nt,...en},0===Wt?(0,N.of)(en):Promise.resolve(en)))).subscribe(Ye=>{if(!z.isActivated||!z.activatedComponentRef||z.activatedRoute!==ne||null===ne.component)return void this.unsubscribeFromRouteData(z);const Nt=(0,y.HJs)(ne.component);if(!Nt)return void this.unsubscribeFromRouteData(z);let en=this.outletSeenKeys.get(z);en||(en=new Set,this.outletSeenKeys.set(z,en));for(const Vn of Object.keys(Ye))en.add(Vn);const Wt=this.options.unmatchedInputBehavior??"alwaysUndefined";for(const{templateName:Vn}of Nt.inputs){const si=Ye[Vn];(void 0!==si||"alwaysUndefined"===Wt||en.has(Vn))&&z.activatedComponentRef.setInput(Vn,si)}});this.outletDataSubscriptions.set(z,Ne)}static \u0275fac=function(ne){P.QTQ()};static \u0275prov=s.jDH({token:Eo,factory:Eo.\u0275fac})}class Do{static \u0275fac=function(ne){return new(ne||Do)};static \u0275cmp=P.VBU({type:Do,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(ne,Ne){1&ne&&P.nrm(0,"router-outlet")},dependencies:[ns],encapsulation:2,changeDetection:1})}function is(le){const z=le.children&&le.children.map(is),ne=z?{...le,children:z}:{...le};return!ne.component&&!ne.loadComponent&&(z||ne.loadChildren)&&ne.outlet&&ne.outlet!==Te&&(ne.component=Do),ne}function Co(le,z,ne,Ne){if(ne&&le.shouldReuseRoute(z.value,ne.value.snapshot)){const Ye=ne.value;Ye._futureSnapshot=z.value;const Nt=function jo(le,z,ne,Ne){return z.children.map(Ye=>{for(const Nt of ne.children)if(le.shouldReuseRoute(Ye.value,Nt.value.snapshot))return Co(le,Ye,Nt,Ne);return Co(le,Ye,void 0,Ne)})}(le,z,ne,Ne);return new St(Ye,Nt)}{if(le.shouldAttach(z.value)){const en=le.retrieve(z.value);if(null!==en){const Wt=en.route;return Wt.value._futureSnapshot=z.value,Wt.children=z.children.map(Vn=>Co(le,Vn,void 0,Ne)),Wt}}const Ye=function hs(le){return new ni(new M.t(le.url),new M.t(le.params),new M.t(le.queryParams),new M.t(le.fragment),new M.t(le.data),le.outlet,le.component,le)}(z.value);Ne.add(Ye);const Nt=z.children.map(en=>Co(le,en,void 0,Ne));return new St(Ye,Nt)}}class ec{redirectTo;navigationBehaviorOptions;constructor(z,ne){this.redirectTo=z,this.navigationBehaviorOptions=ne}}const Os="ngNavigationCancelingError";function Ps(le,z){const{redirectTo:ne,navigationBehaviorOptions:Ne}=Mr(z)?{redirectTo:z,navigationBehaviorOptions:void 0}:z,Ye=vs(!1,Ze.Redirect);return Ye.url=ne,Ye.navigationBehaviorOptions=Ne,Ye}function vs(le,z){const ne=new Error(`NavigationCancelingError: ${le||""}`);return ne[Os]=!0,ne.cancellationCode=z,ne}function Rr(le){return!!le&&le[Os]}class ls{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(z,ne,Ne,Ye,Nt){this.routeReuseStrategy=z,this.futureState=ne,this.currState=Ne,this.forwardEvent=Ye,this.inputBindingEnabled=Nt}activate(z){const ne=this.futureState._root,Ne=this.currState?this.currState._root:null;this.deactivateChildRoutes(ne,Ne,z),mo(this.futureState.root),this.activateChildRoutes(ne,Ne,z)}deactivateChildRoutes(z,ne,Ne){const Ye=Pe(ne);z.children.forEach(Nt=>{const en=Nt.value.outlet;this.deactivateRoutes(Nt,Ye[en],Ne),delete Ye[en]}),Object.values(Ye).forEach(Nt=>{this.deactivateRouteAndItsChildren(Nt,Ne)})}deactivateRoutes(z,ne,Ne){const Ye=z.value,Nt=ne?ne.value:null;if(Ye===Nt)if(Ye.component){const en=Ne.getContext(Ye.outlet);en&&this.deactivateChildRoutes(z,ne,en.children)}else this.deactivateChildRoutes(z,ne,Ne);else Nt&&this.deactivateRouteAndItsChildren(ne,Ne)}deactivateRouteAndItsChildren(z,ne){z.value.component&&this.routeReuseStrategy.shouldDetach(z.value.snapshot)?this.detachAndStoreRouteSubtree(z,ne):this.deactivateRouteAndOutlet(z,ne)}detachAndStoreRouteSubtree(z,ne){const Ne=ne.getContext(z.value.outlet),Ye=Ne&&z.value.component?Ne.children:ne,Nt=Pe(z);for(const en of Object.values(Nt))this.deactivateRouteAndItsChildren(en,Ye);if(Ne&&Ne.outlet){const en=Ne.outlet.detach(),Wt=Ne.children.onOutletDeactivated();this.routeReuseStrategy.store(z.value.snapshot,{componentRef:en,route:z,contexts:Wt})}}deactivateRouteAndOutlet(z,ne){const Ne=ne.getContext(z.value.outlet),Ye=Ne&&z.value.component?Ne.children:ne,Nt=Pe(z);for(const en of Object.values(Nt))this.deactivateRouteAndItsChildren(en,Ye);Ne&&(Ne.outlet&&(Ne.outlet.deactivate(),Ne.children.onOutletDeactivated()),Ne.attachRef=null,Ne.route=null),z.value._localInjector?.destroy()}activateChildRoutes(z,ne,Ne){const Ye=Pe(ne);z.children.forEach(Nt=>{this.activateRoutes(Nt,Ye[Nt.value.outlet],Ne),this.forwardEvent(new Pr(Nt.value.snapshot))}),z.children.length&&this.forwardEvent(new ur(z.value.snapshot))}activateRoutes(z,ne,Ne){const Ye=z.value,Nt=ne?ne.value:null;if(mo(Ye),Ye===Nt)if(Ye.component){const en=Ne.getOrCreateContext(Ye.outlet);this.activateChildRoutes(z,ne,en.children)}else this.activateChildRoutes(z,ne,Ne);else if(Ye.component){const en=Ne.getOrCreateContext(Ye.outlet);if(this.routeReuseStrategy.shouldAttach(Ye.snapshot)){const Wt=this.routeReuseStrategy.retrieve(Ye.snapshot);this.routeReuseStrategy.store(Ye.snapshot,null),en.children.onOutletReAttached(Wt.contexts),en.attachRef=Wt.componentRef,en.route=Wt.route.value,en.outlet&&en.outlet.attach(Wt.componentRef,Wt.route.value),mo(Wt.route.value),this.activateChildRoutes(z,null,en.children)}else en.attachRef=null,en.route=Ye,en.outlet&&en.outlet.activateWith(Ye,en.injector),this.activateChildRoutes(z,null,en.children)}else this.activateChildRoutes(z,null,Ne)}}class Ao{path;route;constructor(z){this.path=z,this.route=this.path[this.path.length-1]}}class Rs{component;route;constructor(z,ne){this.component=z,this.route=ne}}function _c(le,z,ne){const Ne=le._root;return ys(Ne,z?z._root:null,ne,[Ne.value])}function Ns(le,z){const ne=Symbol(),Ne=z.get(le,ne);return Ne===ne?"function"!=typeof le||(0,s.muV)(le)?z.get(le):le:Ne}function ys(le,z,ne,Ne,Ye={canDeactivateChecks:[],canActivateChecks:[]}){const Nt=Pe(z);return le.children.forEach(en=>{(function ho(le,z,ne,Ne,Ye={canDeactivateChecks:[],canActivateChecks:[]}){const Nt=le.value,en=z?z.value:null,Wt=ne?ne.getContext(le.value.outlet):null;if(en&&Nt.routeConfig===en.routeConfig){const Vn=function ja(le,z,ne){if("function"==typeof ne)return(0,s.N4e)(z._environmentInjector,()=>ne(le,z));switch(ne){case"pathParamsChange":return!Vt(le.url,z.url);case"pathParamsOrQueryParamsChange":return!Vt(le.url,z.url)||!Fe(le.queryParams,z.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!no(le,z)||!Fe(le.queryParams,z.queryParams);default:return!no(le,z)}}(en,Nt,Nt.routeConfig.runGuardsAndResolvers);Vn?Ye.canActivateChecks.push(new Ao(Ne)):(Nt.data=en.data,Nt._resolvedData=en._resolvedData),Nt.component?ys(le,z,Wt?Wt.children:null,Ne,Ye):ys(le,z,ne,Ne,Ye),Vn&&Wt&&Wt.outlet&&Wt.outlet.isActivated&&Ye.canDeactivateChecks.push(new Rs(Wt.outlet.component,en))}else en&&bs(z,Wt,Ye),Ye.canActivateChecks.push(new Ao(Ne)),Nt.component?ys(le,null,Wt?Wt.children:null,Ne,Ye):ys(le,null,ne,Ne,Ye);return Ye})(en,Nt[en.value.outlet],ne,Ne.concat([en.value]),Ye),delete Nt[en.value.outlet]}),Object.entries(Nt).forEach(([en,Wt])=>bs(Wt,ne.getContext(en),Ye)),Ye}function bs(le,z,ne){const Ne=Pe(le),Ye=le.value;Object.entries(Ne).forEach(([Nt,en])=>{Ye.component?bs(en,z?z.children.getContext(Nt):null,ne):bs(en,z,ne)}),Ye.component&&z&&z.outlet&&z.outlet.isActivated?ne.canDeactivateChecks.push(new Rs(z.outlet.component,Ye)):ne.canDeactivateChecks.push(new Rs(null,Ye))}function Ha(le){return"function"==typeof le}function rs(le){return le instanceof J.G||"EmptyError"===le?.name}const zs=Symbol("INITIAL_VALUE");function os(){return(0,Z.n)(le=>(0,U.z)(le.map(z=>z.pipe((0,Ee.s)(1),(0,oe.Z)(zs)))).pipe((0,O.T)(z=>{for(const ne of z)if(!0!==ne){if(ne===zs)return zs;if(!1===ne||Ks(ne))return ne}return!0}),(0,j.p)(z=>z!==zs),(0,Ee.s)(1)))}function Ks(le){return Mr(le)||le instanceof ec}function Bs(le){return le.aborted?(0,N.of)(void 0).pipe((0,Ee.s)(1)):new I.c(z=>{const ne=()=>{z.next(),z.complete()};return le.addEventListener("abort",ne),()=>le.removeEventListener("abort",ne)})}function sa(le){return(0,te.Q)(Bs(le))}function Wo(le){return(0,ce.Z)(z=>{const{targetSnapshot:ne,currentSnapshot:Ne,guards:{canActivateChecks:Ye,canDeactivateChecks:Nt}}=z;return 0===Nt.length&&0===Ye.length?(0,N.of)({...z,guardsResult:!0}):function Gs(le,z,ne){return(0,x.H)(le).pipe((0,ce.Z)(Ne=>function Be(le,z,ne,Ne){const Ye=z&&z.routeConfig?z.routeConfig.canDeactivate:null;if(!Ye||0===Ye.length)return(0,N.of)(!0);const Nt=Ye.map(en=>{const Wt=z._environmentInjector,Vn=Ns(en,Wt);return ee(function Ic(le){return le&&Ha(le.canDeactivate)}(Vn)?Vn.canDeactivate(le,z,ne,Ne):(0,s.N4e)(Wt,()=>Vn(le,z,ne,Ne))).pipe((0,w.$)())});return(0,N.of)(Nt).pipe(os())}(Ne.component,Ne.route,ne,z)),(0,w.$)(Ne=>!0!==Ne,!0))}(Nt,ne,Ne).pipe((0,ce.Z)(en=>en&&function wo(le){return"boolean"==typeof le}(en)?function tc(le,z,ne){return(0,x.H)(z).pipe((0,ye.H)(Ne=>(0,T.x)(function Dt(le,z){return null!==le&&z&&z(new Tr(le)),(0,N.of)(!0)}(Ne.route.parent,ne),function us(le,z){return null!==le&&z&&z(new Or(le)),(0,N.of)(!0)}(Ne.route,ne),function re(le,z){const ne=z[z.length-1],Ye=z.slice(0,z.length-1).reverse().map(Nt=>function Kr(le){const z=le.routeConfig?le.routeConfig.canActivateChild:null;return z&&0!==z.length?{node:le,guards:z}:null}(Nt)).filter(Nt=>null!==Nt).map(Nt=>(0,C.v)(()=>{const en=Nt.guards.map(Wt=>{const Vn=Nt.node._environmentInjector,si=Ns(Wt,Vn);return ee(function Ls(le){return le&&Ha(le.canActivateChild)}(si)?si.canActivateChild(ne,le):(0,s.N4e)(Vn,()=>si(ne,le))).pipe((0,w.$)())});return(0,N.of)(en).pipe(os())}));return(0,N.of)(Ye).pipe(os())}(le,Ne.path),function H(le,z){const ne=z.routeConfig?z.routeConfig.canActivate:null;if(!ne||0===ne.length)return(0,N.of)(!0);const Ne=ne.map(Ye=>(0,C.v)(()=>{const Nt=z._environmentInjector,en=Ns(Ye,Nt);return ee(function Es(le){return le&&Ha(le.canActivate)}(en)?en.canActivate(z,le):(0,s.N4e)(Nt,()=>en(z,le))).pipe((0,w.$)())}));return(0,N.of)(Ne).pipe(os())}(le,Ne.route))),(0,w.$)(Ne=>!0!==Ne,!0))}(ne,Ye,le):(0,N.of)(en)),(0,O.T)(en=>({...z,guardsResult:en})))})}function ct(le,z,ne,Ne,Ye){const Nt=z.canLoad;if(void 0===Nt||0===Nt.length)return(0,N.of)(!0);const en=Nt.map(Wt=>{const Vn=Ns(Wt,le),Ci=ee(function Ta(le){return le&&Ha(le.canLoad)}(Vn)?Vn.canLoad(z,ne):(0,s.N4e)(le,()=>Vn(z,ne)));return Ye?Ci.pipe(sa(Ye)):Ci});return(0,N.of)(en).pipe(os(),Rt(Ne))}function Rt(le){return(0,R.F)((0,Le.M)(z=>{if("boolean"!=typeof z)throw Ps(0,z)}),(0,O.T)(z=>!0===z))}function Zt(le,z,ne,Ne,Ye,Nt){const en=z.canMatch;if(!en||0===en.length)return(0,N.of)(!0);const Wt=en.map(Vn=>{const si=Ns(Vn,le);return ee(function so(le){return le&&Ha(le.canMatch)}(si)?si.canMatch(z,ne,Ye):(0,s.N4e)(le,()=>si(z,ne,Ye))).pipe(sa(Nt))});return(0,N.of)(Wt).pipe(os(),Rt())}class tn extends Error{segmentGroup;constructor(z){super(),this.segmentGroup=z||null,Object.setPrototypeOf(this,tn.prototype)}}class xn extends Error{urlTree;constructor(z){super(),this.urlTree=z,Object.setPrototypeOf(this,xn.prototype)}}function On(le){throw new s.buA(4e3,!1)}class yi{urlSerializer;urlTree;constructor(z,ne){this.urlSerializer=z,this.urlTree=ne}lineralizeSegments(z,ne){return m(function*(){let Ne=[],Ye=ne.root;for(;;){if(Ne=Ne.concat(Ye.segments),0===Ye.numberOfChildren)return Ne;if(Ye.numberOfChildren>1||!Ye.children[Te])throw On(z.redirectTo);Ye=Ye.children[Te]}})()}applyRedirectCommands(z,ne,Ne,Ye,Nt){var en=this;return m(function*(){const Wt=yield function cr(le,z,ne){if("string"==typeof le)return Promise.resolve(le);const Ne=le;return de(ee((0,s.N4e)(ne,()=>Ne(z))))}(ne,Ye,Nt);if(Wt instanceof _e)throw new xn(Wt);const Vn=en.applyRedirectCreateUrlTree(Wt,en.urlSerializer.parse(Wt),z,Ne);if("/"===Wt[0])throw new xn(Vn);return Vn})()}applyRedirectCreateUrlTree(z,ne,Ne,Ye){const Nt=this.createSegmentGroup(z,ne.root,Ne,Ye);return new _e(Nt,this.createQueryParams(ne.queryParams,this.urlTree.queryParams),ne.fragment)}createQueryParams(z,ne){const Ne={};return Object.entries(z).forEach(([Ye,Nt])=>{if("string"==typeof Nt&&":"===Nt[0]){const Wt=Nt.substring(1);Ne[Ye]=ne[Wt]}else Ne[Ye]=Nt}),Ne}createSegmentGroup(z,ne,Ne,Ye){const Nt=this.createSegments(z,ne.segments,Ne,Ye);let en=Object.create(null);return Object.entries(ne.children).forEach(([Wt,Vn])=>{en[Wt]=this.createSegmentGroup(z,Vn,Ne,Ye)}),new Y(Nt,en)}createSegments(z,ne,Ne,Ye){return ne.map(Nt=>":"===Nt.path[0]?this.findPosParam(z,Nt,Ye):this.findOrReturn(Nt,Ne))}findPosParam(z,ne,Ne){const Ye=Ne[ne.path.substring(1)];if(!Ye)throw new s.buA(4001,!1);return Ye}findOrReturn(z,ne){let Ne=0;for(const Ye of ne){if(Ye.path===z.path)return ne.splice(Ne),Ye;Ne++}return z}}function fi(le){return le.outlet||Te}function fr(le,z){const ne=le.filter(Ne=>fi(Ne)===z);return ne.push(...le.filter(Ne=>fi(Ne)!==z)),ne}const nr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ds(le){return{routeConfig:le.routeConfig,url:le.url,params:le.params,queryParams:le.queryParams,fragment:le.fragment,data:le.data,outlet:le.outlet,title:le.title,paramMap:le.paramMap,queryParamMap:le.queryParamMap}}function Xs(le,z,ne,Ne,Ye,Nt,en){const Wt=Ho(le,z,ne);if(!Wt.matched)return(0,N.of)(Wt);const Vn=ds(Nt(Wt));return Ne=function gt(le,z){return le.providers&&!le._injector&&(le._injector=(0,P.Ol2)(le.providers,z,`Route: ${le.path}`)),le._injector??z}(z,Ne),Zt(Ne,z,ne,0,Vn,en).pipe((0,O.T)(si=>!0===si?Wt:{...nr}))}function Ho(le,z,ne){if(""===z.path)return"full"===z.pathMatch&&(le.hasChildren()||ne.length>0)?{...nr}:{matched:!0,consumedSegments:[],remainingSegments:ne,parameters:{},positionalParamSegments:{}};const Ye=(z.matcher||be)(ne,le,z);if(!Ye)return{...nr};const Nt={};Object.entries(Ye.posParams??{}).forEach(([Wt,Vn])=>{Nt[Wt]=Vn.path});const en=Ye.consumed.length>0?{...Nt,...Ye.consumed[Ye.consumed.length-1].parameters}:Nt;return{matched:!0,consumedSegments:Ye.consumed,remainingSegments:ne.slice(Ye.consumed.length),parameters:en,positionalParamSegments:Ye.posParams??{}}}function Lo(le,z,ne,Ne,Ye){return ne.length>0&&function Qs(le,z,ne,Ne){return ne.some(Ye=>!(!Hn(le,z,Ye)||fi(Ye)===Te)&&!(void 0!==Ne&&fi(Ye)===Ne))}(le,ne,Ne,Ye)?{segmentGroup:new Y(z,Fs(Ne,new Y(ne,le.children))),slicedSegments:[]}:0===ne.length&&function hn(le,z,ne){return ne.some(Ne=>Hn(le,z,Ne))}(le,ne,Ne)?{segmentGroup:new Y(le.segments,Bo(le,ne,Ne,le.children)),slicedSegments:ne}:{segmentGroup:new Y(le.segments,le.children),slicedSegments:ne}}function Bo(le,z,ne,Ne){const Ye={};for(const Nt of ne)if(Hn(le,z,Nt)&&!Ne[fi(Nt)]){const en=new Y([],{});Ye[fi(Nt)]=en}return{...Ne,...Ye}}function Fs(le,z){const ne={};ne[Te]=z;for(const Ne of le)if(""===Ne.path&&fi(Ne)!==Te){const Ye=new Y([],{});ne[fi(Ne)]=Ye}return ne}function Hn(le,z,ne){return(!(le.hasChildren()||z.length>0)||"full"!==ne.pathMatch)&&""===ne.path}class bi{}function ci(){return ci=m(function*(le,z,ne,Ne,Ye,Nt,en,Wt){return new ki(le,z,ne,Ne,Ye,en,Nt,Wt).recognize()}),ci.apply(this,arguments)}class ki{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(z,ne,Ne,Ye,Nt,en,Wt,Vn){this.injector=z,this.configLoader=ne,this.rootComponentType=Ne,this.config=Ye,this.urlTree=Nt,this.paramsInheritanceStrategy=en,this.urlSerializer=Wt,this.abortSignal=Vn,this.applyRedirects=new yi(this.urlSerializer,this.urlTree)}noMatchError(z){return new s.buA(4002,`'${z.segmentGroup}'`)}recognize(){var z=this;return m(function*(){const ne=Lo(z.urlTree.root,[],[],z.config).segmentGroup,{children:Ne,rootSnapshot:Ye}=yield z.match(ne),Nt=new St(Ye,Ne),en=new Xr("",Nt),Wt=function Fr(le,z,ne=null,Ne=null,Ye=new je){return lo(co(le),z,ne,Ne,Ye)}(Ye,[],z.urlTree.queryParams,z.urlTree.fragment);return Wt.queryParams=z.urlTree.queryParams,en.url=z.urlSerializer.serialize(Wt),{state:en,tree:Wt}})()}match(z){var ne=this;return m(function*(){const Ne=new Ui([],Object.freeze({}),Object.freeze({...ne.urlTree.queryParams}),ne.urlTree.fragment,Object.freeze({}),Te,ne.rootComponentType,null,{},ne.injector);try{return{children:yield ne.processSegmentGroup(ne.injector,ne.config,z,Te,Ne),rootSnapshot:Ne}}catch(Ye){if(Ye instanceof xn)return ne.urlTree=Ye.urlTree,ne.match(Ye.urlTree.root);throw Ye instanceof tn?ne.noMatchError(Ye):Ye}})()}processSegmentGroup(z,ne,Ne,Ye,Nt){var en=this;return m(function*(){if(0===Ne.segments.length&&Ne.hasChildren())return en.processChildren(z,ne,Ne,Nt);const Wt=yield en.processSegment(z,ne,Ne,Ne.segments,Ye,!0,Nt);return Wt instanceof St?[Wt]:[]})()}processChildren(z,ne,Ne,Ye){var Nt=this;return m(function*(){const en=[];for(const si of Object.keys(Ne.children))"primary"===si?en.unshift(si):en.push(si);let Wt=[];for(const si of en){const Ci=Ne.children[si],Sr=fr(ne,si),mt=yield Nt.processSegmentGroup(z,Sr,Ci,si,Ye);Wt.push(...mt)}const Vn=qe(Wt);return function go(le){le.sort((z,ne)=>z.value.outlet===Te?-1:ne.value.outlet===Te?1:z.value.outlet.localeCompare(ne.value.outlet))}(Vn),Vn})()}processSegment(z,ne,Ne,Ye,Nt,en,Wt){var Vn=this;return m(function*(){for(const si of ne)try{return yield Vn.processSegmentAgainstRoute(si._injector??z,ne,si,Ne,Ye,Nt,en,Wt)}catch(Ci){if(Ci instanceof tn||rs(Ci))continue;throw Ci}if(function Rn(le,z,ne){return 0===z.length&&!le.children[ne]}(Ne,Ye,Nt))return new bi;throw new tn(Ne)})()}processSegmentAgainstRoute(z,ne,Ne,Ye,Nt,en,Wt,Vn){var si=this;return m(function*(){if(fi(Ne)!==en&&(en===Te||!Hn(Ye,Nt,Ne)))throw new tn(Ye);if(void 0===Ne.redirectTo)return si.matchSegmentAgainstRoute(z,Ye,Ne,Nt,en,Vn);if(si.allowRedirects&&Wt)return si.expandSegmentAgainstRouteUsingRedirect(z,Ye,ne,Ne,Nt,en,Vn);throw new tn(Ye)})()}expandSegmentAgainstRouteUsingRedirect(z,ne,Ne,Ye,Nt,en,Wt){var Vn=this;return m(function*(){const{matched:si,parameters:Ci,consumedSegments:Sr,positionalParamSegments:mt,remainingSegments:ca}=Ho(ne,Ye,Nt);if(!si)throw new tn(ne);"string"==typeof Ye.redirectTo&&"/"===Ye.redirectTo[0]&&(Vn.absoluteRedirectCount++,Vn.absoluteRedirectCount>31&&(Vn.allowRedirects=!1));const Ia=Vn.createSnapshot(z,Ye,Nt,Ci,Wt);if(Vn.abortSignal.aborted)throw new Error(Vn.abortSignal.reason);const Gr=yield Vn.applyRedirects.applyRedirectCommands(Sr,Ye.redirectTo,mt,ds(Ia),z),Nr=yield Vn.applyRedirects.lineralizeSegments(Ye,Gr);return Vn.processSegment(z,Ne,ne,Nr.concat(ca),en,!1,Wt)})()}createSnapshot(z,ne,Ne,Ye,Nt){const en=new Ui(Ne,Ye,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Ge(le){return le.data||{}}(ne),fi(ne),ne.component??ne._loadedComponent??null,ne,function At(le){return le.resolve||{}}(ne),z),Wt=Wn(en,Nt,this.paramsInheritanceStrategy);return en.params=Object.freeze(Wt.params),en.data=Object.freeze(Wt.data),en}matchSegmentAgainstRoute(z,ne,Ne,Ye,Nt,en){var Wt=this;return m(function*(){if(Wt.abortSignal.aborted)throw new Error(Wt.abortSignal.reason);const si=yield de(Xs(ne,Ne,Ye,z,Wt.urlSerializer,ws=>Wt.createSnapshot(z,Ne,ws.consumedSegments,ws.parameters,en),Wt.abortSignal));if("**"===Ne.path&&(ne.children={}),!si?.matched)throw new tn(ne);z=Ne._injector??z;const{routes:Ci}=yield Wt.getChildConfig(z,Ne,Ye),Sr=Ne._loadedInjector??z,{parameters:mt,consumedSegments:ca,remainingSegments:Ia}=si,Gr=Wt.createSnapshot(z,Ne,ca,mt,en),{segmentGroup:Nr,slicedSegments:Lr}=Lo(ne,ca,Ia,Ci,Nt);if(0===Lr.length&&Nr.hasChildren()){const ws=yield Wt.processChildren(Sr,Ci,Nr,Gr);return new St(Gr,ws)}if(0===Ci.length&&0===Lr.length)return new St(Gr,[]);const Zs=fi(Ne)===Nt,Pa=yield Wt.processSegment(Sr,Ci,Nr,Lr,Zs?Te:Nt,!0,Gr);return new St(Gr,Pa instanceof St?[Pa]:[])})()}getChildConfig(z,ne,Ne){var Ye=this;return m(function*(){if(ne.children)return{routes:ne.children,injector:z};if(ne.loadChildren){if(void 0!==ne._loadedRoutes){const en=ne._loadedNgModuleFactory;return en&&!ne._loadedInjector&&(ne._loadedInjector=en.create(z).injector),{routes:ne._loadedRoutes,injector:ne._loadedInjector}}if(Ye.abortSignal.aborted)throw new Error(Ye.abortSignal.reason);if(yield de(ct(z,ne,Ne,Ye.urlSerializer,Ye.abortSignal))){const en=yield Ye.configLoader.loadChildren(z,ne);return ne._loadedRoutes=en.routes,ne._loadedInjector=en.injector,ne._loadedNgModuleFactory=en.factory,en}throw function hi(le){throw vs(!1,Ze.GuardRejected)}()}return{routes:[],injector:z}})()}}function ya(le){const z=le.value.routeConfig;return z&&""===z.path}function qe(le){const z=[],ne=new Set;for(const Ne of le){if(!ya(Ne)){z.push(Ne);continue}const Ye=z.find(Nt=>Ne.value.routeConfig===Nt.value.routeConfig);void 0!==Ye?(Ye.children.push(...Ne.children),ne.add(Ye)):z.push(Ne)}for(const Ne of ne){const Ye=qe(Ne.children);z.push(new St(Ne.value,Ye))}return z.filter(Ne=>!ne.has(Ne))}function Xt(le,z,ne,Ne,Ye,Nt,en){return(0,ce.Z)(function(){var Wt=m(function*(Vn){const{state:si,tree:Ci}=yield function Zn(le,z,ne,Ne,Ye,Nt,en,Wt){return ci.apply(this,arguments)}(le,z,ne,Ne,Vn.extractedUrl,Ye,Nt,en);return{...Vn,targetSnapshot:si,urlAfterRedirects:Ci}});return function(Vn){return Wt.apply(this,arguments)}}())}function gn(le){return(0,ce.Z)(z=>{const{targetSnapshot:ne,guards:{canActivateChecks:Ne}}=z;if(!Ne.length)return(0,N.of)(z);const Ye=new Set(Ne.map(Wt=>Wt.route)),Nt=new Set;for(const Wt of Ye)if(!Nt.has(Wt))for(const Vn of An(Wt))Nt.add(Vn);let en=0;return(0,x.H)(Nt).pipe((0,ye.H)(Wt=>Ye.has(Wt)?function Ri(le,z,ne){const Ne=le.routeConfig,Ye=le._resolve;return void 0!==Ne?.title&&!bo(Ne)&&(Ye[Ce]=Ne.title),(0,C.v)(()=>(le.data=Wn(le,le.parent,ne).resolve,function er(le,z,ne){const Ne=He(le);if(0===Ne.length)return(0,N.of)({});const Ye={};return(0,x.H)(Ne).pipe((0,ce.Z)(Nt=>function Zi(le,z,ne){const Ne=z._environmentInjector,Ye=Ns(le,Ne),Nt=Ye.resolve?Ye.resolve(z,ne):(0,s.N4e)(Ne,()=>Ye(z,ne));return ee(Nt)}(le[Nt],z,ne).pipe((0,w.$)(),(0,Le.M)(en=>{if(en instanceof ec)throw Ps(new je,en);Ye[Nt]=en}))),We(1),(0,O.T)(()=>Ye),(0,Me.W)(Nt=>rs(Nt)?B.w:(0,F.$)(Nt)))}(Ye,le,z).pipe((0,O.T)(Nt=>(le._resolvedData=Nt,le.data={...le.data,...Nt},null)))))}(Wt,ne,le):(Wt.data=Wn(Wt,Wt.parent,le).resolve,(0,N.of)(void 0))),(0,Le.M)(()=>en++),We(1),(0,ce.Z)(Wt=>en===Nt.size?(0,N.of)(z):B.w))})}function An(le){const z=le.children.map(ne=>An(ne)).flat();return[le,...z]}function Oo(le){return(0,Z.n)(z=>{const ne=le(z);return ne?(0,x.H)(ne).pipe((0,O.T)(()=>z)):(0,N.of)(z)})}class ka{buildTitle(z){let ne,Ne=z.root;for(;void 0!==Ne;)ne=this.getResolvedTitleForRoute(Ne)??ne,Ne=Ne.children.find(Ye=>Ye.outlet===Te);return ne}getResolvedTitleForRoute(z){return z.data[Ce]}static \u0275fac=function(ne){return new(ne||ka)};static \u0275prov=P.tV_({token:ka,factory:()=>(0,s.WQX)(ji)})}class ji extends ka{title;constructor(z){super(),this.title=z}updateTitle(z){const ne=this.buildTitle(z);void 0!==ne&&this.title.setTitle(ne)}static \u0275fac=function(ne){return new(ne||ji)(s.KVO(xe.hE))};static \u0275prov=s.jDH({token:ji,factory:ji.\u0275fac,providedIn:"root"})}const Kc=new s.nKC("",{factory:()=>({})}),Qo=new s.nKC("");class ko{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,s.WQX)(P.Ql9);loadComponent(z,ne){var Ne=this;return m(function*(){if(Ne.componentLoaders.get(ne))return Ne.componentLoaders.get(ne);if(ne._loadedComponent)return Promise.resolve(ne._loadedComponent);Ne.onLoadStartListener&&Ne.onLoadStartListener(ne);const Ye=m(function*(){try{const Nt=yield V((0,s.N4e)(z,()=>ne.loadComponent())),en=yield Mc((0,y.WpR)(Nt));return Ne.onLoadEndListener&&Ne.onLoadEndListener(ne),ne._loadedComponent=en,en}finally{Ne.componentLoaders.delete(ne)}})();return Ne.componentLoaders.set(ne,Ye),Ye})()}loadChildren(z,ne){var Ne=this;if(this.childrenLoaders.get(ne))return this.childrenLoaders.get(ne);if(ne._loadedRoutes)return Promise.resolve({routes:ne._loadedRoutes,injector:ne._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(ne);const Ye=m(function*(){try{const Nt=yield function Gl(le,z,ne,Ne){return qs.apply(this,arguments)}(ne,Ne.compiler,z,Ne.onLoadEndListener);return ne._loadedRoutes=Nt.routes,ne._loadedInjector=Nt.injector,ne._loadedNgModuleFactory=Nt.factory,Nt}finally{Ne.childrenLoaders.delete(ne)}})();return this.childrenLoaders.set(ne,Ye),Ye}static \u0275fac=function(ne){return new(ne||ko)};static \u0275prov=P.tV_({token:ko,factory:ko.\u0275fac})}function qs(){return qs=m(function*(le,z,ne,Ne){const Ye=yield V((0,s.N4e)(ne,()=>le.loadChildren())),Nt=yield Mc((0,y.WpR)(Ye));let en;en=Nt instanceof P.PYt||Array.isArray(Nt)?Nt:yield z.compileModuleAsync(Nt),Ne&&Ne(le);let Wt,Vn,Ci,si=!1;return Array.isArray(en)?(Vn=en,!0):(Wt=en.create(ne).injector,Ci=en,Vn=Wt.get(Qo,[],{optional:!0,self:!0}).flat()),{routes:Vn.map(is),injector:Wt,factory:Ci}}),qs.apply(this,arguments)}function Mc(le){return Ac.apply(this,arguments)}function Ac(){return Ac=m(function*(le){if((typeof ngJitMode>"u"||ngJitMode)&&"function"==typeof fetch)try{yield(0,P.Zhj)(fetch)}catch(z){console.error(z)}return le}),Ac.apply(this,arguments)}class Ts{static \u0275fac=function(ne){return new(ne||Ts)};static \u0275prov=P.tV_({token:Ts,factory:()=>(0,s.WQX)(ba)})}class ba{shouldProcessUrl(z){return!0}extract(z){return z}merge(z,ne){return z}static \u0275fac=function(ne){return new(ne||ba)};static \u0275prov=P.tV_({token:ba,factory:ba.\u0275fac})}const Ys=new s.nKC(""),aa=new s.nKC("");function ol(le,z,ne){const Ne=le.get(aa),Ye=le.get(s.qQL);if(!Ye.startViewTransition||Ne.skipNextTransition)return Ne.skipNextTransition=!1,new Promise(si=>setTimeout(si));let Nt;const en=new Promise(si=>{Nt=si}),Wt=Ye.startViewTransition(()=>(Nt(),function nc(le){return new Promise(z=>{(0,P.mal)({read:()=>setTimeout(z)},{injector:le})})}(le)));Wt.updateCallbackDone.catch(si=>{}),Wt.ready.catch(si=>{}),Wt.finished.catch(si=>{});const{onViewTransitionCreated:Vn}=Ne;return Vn&&(0,s.N4e)(le,()=>Vn({transition:Wt,from:z,to:ne})),en}const za=new s.nKC(""),io=()=>{},Oa=new s.nKC("");class vc{currentNavigation=(0,s.vPA)(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=(0,s.vPA)(null);events=new $.B;transitionAbortWithErrorSubject=new $.B;configLoader=(0,s.WQX)(ko);environmentInjector=(0,s.WQX)(s.uvJ);destroyRef=(0,s.WQX)(s.abz);urlSerializer=(0,s.WQX)(fn);rootContexts=(0,s.WQX)(yo);location=(0,s.WQX)(f.aZ);inputBindingEnabled=null!==(0,s.WQX)(po,{optional:!0});titleStrategy=(0,s.WQX)(ka);options=(0,s.WQX)(Kc,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"always";urlHandlingStrategy=(0,s.WQX)(Ts);createViewTransition=(0,s.WQX)(Ys,{optional:!0});navigationErrorHandler=(0,s.WQX)(Oa,{optional:!0});activatedRouteInjectorFeature=(0,s.WQX)(za,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,N.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=Ne=>this.events.next(new Nn(Ne)),this.configLoader.onLoadStartListener=Ne=>this.events.next(new Xn(Ne)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(z){const ne=++this.navigationId;(0,D.O8)(()=>{this.transitions?.next({...z,extractedUrl:this.urlHandlingStrategy.extract(z.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:ne,routesRecognizeHandler:{},beforeActivateHandler:{}})})}setupNavigations(z){return this.transitions=new M.t(null),this.transitions.pipe((0,j.p)(ne=>null!==ne),(0,Z.n)(ne=>{let Ne=!0,Ye=!1;const Nt=new AbortController,en=()=>!Ye&&this.currentTransition?.id===ne.id;return(0,N.of)(ne).pipe((0,Z.n)(Wt=>{if(this.navigationId>ne.id)return this.cancelNavigationTransition(ne,"",Ze.SupersededByNewNavigation),B.w;this.currentTransition=ne;const Vn=this.lastSuccessfulNavigation();this.currentNavigation.set({id:Wt.id,initialUrl:Wt.rawUrl,extractedUrl:Wt.extractedUrl,targetBrowserUrl:"string"==typeof Wt.extras.browserUrl?this.urlSerializer.parse(Wt.extras.browserUrl):Wt.extras.browserUrl,trigger:Wt.source,extras:Wt.extras,previousNavigation:Vn?{...Vn,previousNavigation:null}:null,abort:()=>Nt.abort(),routesRecognizeHandler:Wt.routesRecognizeHandler,beforeActivateHandler:Wt.beforeActivateHandler});const si=!z.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),Ci=Wt.extras.onSameUrlNavigation??z.onSameUrlNavigation;if(!si&&"reload"!==Ci)return this.events.next(new sn(Wt.id,this.urlSerializer.serialize(Wt.rawUrl),"",tt.IgnoredSameUrlNavigation)),Wt.resolve(!1),B.w;if(this.urlHandlingStrategy.shouldProcessUrl(Wt.rawUrl))return(0,N.of)(Wt).pipe((0,Z.n)(Sr=>(this.events.next(new vo(Sr.id,this.urlSerializer.serialize(Sr.extractedUrl),Sr.source,Sr.restoredState)),Sr.id!==this.navigationId?B.w:Promise.resolve(Sr))),Xt(this.environmentInjector,this.configLoader,this.rootComponentType,z.config,this.urlSerializer,this.paramsInheritanceStrategy,Nt.signal),(0,Le.M)(Sr=>{ne.targetSnapshot=Sr.targetSnapshot,ne.urlAfterRedirects=Sr.urlAfterRedirects,this.currentNavigation.update(mt=>(mt.finalUrl=Sr.urlAfterRedirects,mt)),this.events.next(new ts)}),(0,Z.n)(Sr=>(0,x.H)(ne.routesRecognizeHandler.deferredHandle??(0,N.of)(void 0)).pipe((0,O.T)(()=>Sr))),(0,Le.M)(()=>{const Sr=new In(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects),Wt.targetSnapshot);this.events.next(Sr)}));if(si&&this.urlHandlingStrategy.shouldProcessUrl(Wt.currentRawUrl)){const{id:Sr,extractedUrl:mt,source:ca,restoredState:Ia,extras:Gr}=Wt,Nr=new vo(Sr,this.urlSerializer.serialize(mt),ca,Ia);this.events.next(Nr);const Lr=rn(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=ne={...Wt,targetSnapshot:Lr,urlAfterRedirects:mt,extras:{...Gr,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(Zs=>(Zs.finalUrl=mt,Zs)),(0,N.of)(ne)}return this.events.next(new sn(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),"",tt.IgnoredByUrlHandlingStrategy)),Wt.resolve(!1),B.w}),(0,O.T)(Wt=>{const Vn=new ti(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects),Wt.targetSnapshot);return this.events.next(Vn),this.currentTransition=ne={...Wt,guards:_c(Wt.targetSnapshot,Wt.currentSnapshot,this.rootContexts)},ne}),Wo(Wt=>this.events.next(Wt)),(0,Z.n)(Wt=>{if(ne.guardsResult=Wt.guardsResult,Wt.guardsResult&&"boolean"!=typeof Wt.guardsResult)throw Ps(this.urlSerializer,Wt.guardsResult);const Vn=new Yi(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects),Wt.targetSnapshot,!!Wt.guardsResult);if(this.events.next(Vn),!en())return B.w;if(!Wt.guardsResult)return this.cancelNavigationTransition(Wt,"",Ze.GuardRejected),B.w;if(0===Wt.guards.canActivateChecks.length)return(0,N.of)(Wt);const si=new tr(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects),Wt.targetSnapshot);if(this.events.next(si),!en())return B.w;let Ci=!1;return(0,N.of)(Wt).pipe(gn(this.paramsInheritanceStrategy),(0,Le.M)({next:()=>{Ci=!0;const Sr=new qi(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects),Wt.targetSnapshot);this.events.next(Sr)},complete:()=>{Ci||this.cancelNavigationTransition(Wt,"",Ze.NoDataFromResolver)}}))}),Oo(Wt=>{const Vn=Ci=>{const Sr=[];if(Ci.routeConfig?._loadedComponent)Ci.component=Ci.routeConfig?._loadedComponent;else if(Ci.routeConfig?.loadComponent){const mt=Ci._environmentInjector;Sr.push(this.configLoader.loadComponent(mt,Ci.routeConfig).then(ca=>{Ci.component=ca}))}for(const mt of Ci.children)Sr.push(...Vn(mt));return Sr},si=Vn(Wt.targetSnapshot.root);return 0===si.length?(0,N.of)(Wt):(0,x.H)(Promise.all(si).then(()=>Wt))}),(0,Z.n)(Wt=>{const{newlyCreatedRoutes:Vn,state:si}=function Ro(le,z,ne){const Ne=new Set,Ye=Co(le,z._root,ne?ne._root:void 0,Ne);return{newlyCreatedRoutes:Ne,state:new xt(Ye,z)}}(z.routeReuseStrategy,Wt.targetSnapshot,Wt.currentRouterState);return this.currentTransition=ne=Wt={...Wt,targetRouterState:si,newlyCreatedRoutes:Vn},this.currentNavigation.update(Ci=>(Ci.targetRouterState=si,Ci)),(0,N.of)(Wt)}),this.activatedRouteInjectorFeature?.operator()??(Wt=>Wt),Oo(()=>this.afterPreactivation()),(0,Z.n)(()=>{const{currentSnapshot:Wt,targetSnapshot:Vn}=ne,si=this.createViewTransition?.(this.environmentInjector,Wt.root,Vn.root);return si?(0,x.H)(si).pipe((0,O.T)(()=>ne)):(0,N.of)(ne)}),(0,Ee.s)(1),(0,Z.n)(Wt=>{Ne=!1,this.events.next(new ir);const Vn=ne.beforeActivateHandler.deferredHandle;return Vn?(0,x.H)(Vn.then(()=>Wt)):(0,N.of)(Wt)}),(0,Le.M)(Wt=>{new ls(z.routeReuseStrategy,ne.targetRouterState,ne.currentRouterState,Vn=>this.events.next(Vn),this.inputBindingEnabled).activate(this.rootContexts),Wt.newlyCreatedRoutes?.clear(),en()&&(Ye=!0,this.currentNavigation.update(Vn=>(Vn.abort=io,Vn)),this.lastSuccessfulNavigation.set((0,D.O8)(this.currentNavigation)),this.events.next(new Gi(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects))),this.titleStrategy?.updateTitle(Wt.targetRouterState.snapshot),Wt.resolve(!0))}),(0,te.Q)(Bs(Nt.signal).pipe((0,j.p)(()=>!Ye&&Ne),(0,Le.M)(()=>{this.cancelNavigationTransition(ne,Nt.signal.reason+"",Ze.Aborted)}))),(0,Le.M)({complete:()=>{Ye=!0}}),(0,te.Q)(this.transitionAbortWithErrorSubject.pipe((0,Le.M)(Wt=>{throw Wt}))),(0,ut.j)(()=>{Nt.abort(),Ye||this.cancelNavigationTransition(ne,"",Ze.SupersededByNewNavigation),this.currentTransition?.id===ne.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,Me.W)(Wt=>{if(Ye=!0,nd(ne),this.destroyed)return ne.resolve(!1),B.w;if(Rr(Wt))this.events.next(new ft(ne.id,this.urlSerializer.serialize(ne.extractedUrl),Wt.message,Wt.cancellationCode)),function Cs(le){return Rr(le)&&Mr(le.url)}(Wt)?this.events.next(new Vr(Wt.url,Wt.navigationBehaviorOptions)):ne.resolve(!1);else{const Vn=new kn(ne.id,this.urlSerializer.serialize(ne.extractedUrl),Wt,ne.targetSnapshot??void 0);try{const si=(0,s.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(Vn));if(!(si instanceof ec))throw this.events.next(Vn),Wt;{const{message:Ci,cancellationCode:Sr}=Ps(this.urlSerializer,si);this.events.next(new ft(ne.id,this.urlSerializer.serialize(ne.extractedUrl),Ci,Sr)),this.events.next(new Vr(si.redirectTo,si.navigationBehaviorOptions))}}catch(si){this.options.resolveNavigationPromiseOnError?ne.resolve(!1):ne.reject(si)}}return B.w}))}))}cancelNavigationTransition(z,ne,Ne){nd(z);const Ye=new ft(z.id,this.urlSerializer.serialize(z.extractedUrl),ne,Ne);this.events.next(Ye),z.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const z=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),ne=(0,D.O8)(this.currentNavigation),Ne=ne?.targetBrowserUrl??ne?.extractedUrl;return z.toString()!==Ne?.toString()&&!ne?.extras.skipLocationChange}static \u0275fac=function(ne){return new(ne||vc)};static \u0275prov=P.tV_({token:vc,factory:vc.\u0275fac})}function cu(le){return le!==hr}function nd(le){if(le.newlyCreatedRoutes)for(const z of le.newlyCreatedRoutes)z._localInjector?.destroy()}const _r=new s.nKC("");class ss{static \u0275fac=function(ne){return new(ne||ss)};static \u0275prov=P.tV_({token:ss,factory:()=>(0,s.WQX)(Oc)})}class Nd{shouldDetach(z){return!1}store(z,ne){}shouldAttach(z){return!1}retrieve(z){return null}shouldReuseRoute(z,ne){return z.routeConfig===ne.routeConfig}shouldDestroyInjector(z){return!0}}class Oc extends Nd{static \u0275fac=function(ne){return new(ne||Oc)};static \u0275prov=P.tV_({token:Oc,factory:Oc.\u0275fac})}class yc{urlSerializer=(0,s.WQX)(fn);options=(0,s.WQX)(Kc,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,s.WQX)(f.aZ);urlHandlingStrategy=(0,s.WQX)(Ts);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new _e;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:z,initialUrl:ne,targetBrowserUrl:Ne}){const Ye=void 0!==z?this.urlHandlingStrategy.merge(z,ne):ne,Nt=Ne??Ye;return Nt instanceof _e?this.urlSerializer.serialize(Nt):Nt}routerUrlState(z){return void 0===z?.targetBrowserUrl||void 0===z?.finalUrl?{}:{\u0275routerUrl:this.urlSerializer.serialize(z.finalUrl)}}commitTransition({targetRouterState:z,finalUrl:ne,initialUrl:Ne}){ne&&z?(this.currentUrlTree=ne,this.rawUrlTree=this.urlHandlingStrategy.merge(ne,Ne),this.routerState=z):this.rawUrlTree=Ne}routerState=rn(null,(0,s.WQX)(s.uvJ));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(ne){return new(ne||yc)};static \u0275prov=P.tV_({token:yc,factory:()=>(0,s.WQX)(ic)})}class ic extends yc{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(z){return this.location.subscribe(ne=>{"popstate"===ne.type&&setTimeout(()=>{z(ne.url,ne.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(z,ne){z instanceof vo?this.updateStateMemento():z instanceof sn?this.commitTransition(ne):z instanceof In?"eager"===this.urlUpdateStrategy&&(ne.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(ne),ne)):z instanceof ir?(this.commitTransition(ne),"deferred"===this.urlUpdateStrategy&&!ne.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(ne),ne)):z instanceof ft&&!Ot(z)?this.restoreHistory(ne):z instanceof kn?this.restoreHistory(ne,!0):z instanceof Gi&&(this.lastSuccessfulId=z.id,this.currentPageId=this.browserPageId)}setBrowserUrl(z,ne){const{extras:Ne,id:Ye}=ne,{replaceUrl:Nt,state:en}=Ne;if(this.location.isCurrentPathEqualTo(z)||Nt){const Wt=this.browserPageId,Vn={...en,...this.generateNgRouterState(Ye,Wt,ne)};this.location.replaceState(z,"",Vn)}else{const Wt={...en,...this.generateNgRouterState(Ye,this.browserPageId+1,ne)};this.location.go(z,"",Wt)}}restoreHistory(z,ne=!1){if("computed"===this.canceledNavigationResolution){const Ne=this.browserPageId,Ye=this.currentPageId-Ne;0!==Ye?this.location.historyGo(Ye):this.getCurrentUrlTree()===z.finalUrl&&0===Ye&&(this.resetInternalState(z),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(ne&&this.resetInternalState(z),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:z}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,z??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(z,ne,Ne){return"computed"===this.canceledNavigationResolution?{navigationId:z,\u0275routerPageId:ne,...this.routerUrlState(Ne)}:{navigationId:z,...this.routerUrlState(Ne)}}static \u0275fac=function(ne){return new(ne||ic)};static \u0275prov=P.tV_({token:ic,factory:ic.\u0275fac})}function bc(le,z){le.events.pipe((0,j.p)(ne=>ne instanceof Gi||ne instanceof ft||ne instanceof kn||ne instanceof sn),(0,O.T)(ne=>ne instanceof Gi||ne instanceof sn?0:ne instanceof ft&&(ne.code===Ze.Redirect||ne.code===Ze.SupersededByNewNavigation)?2:1),(0,j.p)(ne=>2!==ne),(0,Ee.s)(1)).subscribe(()=>{z()})}class ks{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,s.WQX)(P.C7A);stateManager=(0,s.WQX)(yc);options=(0,s.WQX)(Kc,{optional:!0})||{};pendingTasks=(0,s.WQX)(s.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,s.WQX)(vc);urlSerializer=(0,s.WQX)(fn);location=(0,s.WQX)(f.aZ);urlHandlingStrategy=(0,s.WQX)(Ts);injector=(0,s.WQX)(s.uvJ);_events=new $.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,s.WQX)(ss);injectorCleanup=(0,s.WQX)(_r,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,s.WQX)(Qo,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,s.WQX)(po,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:z=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new E.yU;subscribeToNavigationEvents(){const z=this.navigationTransitions.events.subscribe(ne=>{try{const Ne=this.navigationTransitions.currentTransition,Ye=(0,D.O8)(this.navigationTransitions.currentNavigation);if(null!==Ne&&null!==Ye)if(this.stateManager.handleRouterEvent(ne,Ye),ne instanceof ft&&ne.code!==Ze.Redirect&&ne.code!==Ze.SupersededByNewNavigation)this.navigated=!0;else if(ne instanceof Gi)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(ne instanceof Vr){const Nt=ne.navigationBehaviorOptions,en=this.urlHandlingStrategy.merge(ne.url,Ne.currentRawUrl),Wt={scroll:Ne.extras.scroll,browserUrl:Ne.extras.browserUrl,info:Ne.extras.info,skipLocationChange:Ne.extras.skipLocationChange,replaceUrl:Ne.extras.replaceUrl||"eager"===this.urlUpdateStrategy||cu(Ne.source),...Nt};this.scheduleNavigation(en,hr,null,Wt,{resolve:Ne.resolve,reject:Ne.reject,promise:Ne.promise})}(function Er(le){return!(le instanceof ir||le instanceof Vr||le instanceof ts)})(ne)&&this._events.next(ne)}catch(Ne){this.navigationTransitions.transitionAbortWithErrorSubject.next(Ne)}});this.eventsSubscription.add(z)}resetRootComponentType(z){this.routerState.root.component=z,this.navigationTransitions.rootComponentType=z}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),hr,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((z,ne,Ne,Ye)=>{this.navigateToSyncWithBrowser(z,Ne,ne,Ye)})}navigateToSyncWithBrowser(z,ne,Ne,Ye){const Nt=Ne?.navigationId?Ne:null,en=Ne?.\u0275routerUrl??z;if(Ne?.\u0275routerUrl&&(Ye={...Ye,browserUrl:z}),Ne){const Vn={...Ne};delete Vn.navigationId,delete Vn.\u0275routerPageId,delete Vn.\u0275routerUrl,0!==Object.keys(Vn).length&&(Ye.state=Vn)}const Wt=this.parseUrl(en);this.scheduleNavigation(Wt,ne,Nt,Ye).catch(Vn=>{this.disposed||this.injector.get(s.ZTf)(Vn)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,D.O8)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(z){this.config=z.map(is),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(z,ne={}){const{relativeTo:Ne,queryParams:Ye,fragment:Nt,queryParamsHandling:en,preserveFragment:Wt}=ne,Vn=Wt?this.currentUrlTree.fragment:Nt;let Ci,si=null;switch(en??this.options.defaultQueryParamsHandling){case"merge":si={...this.currentUrlTree.queryParams,...Ye};break;case"preserve":si=this.currentUrlTree.queryParams;break;default:si=Ye||null}null!==si&&(si=this.removeEmptyProps(si));try{Ci=co(Ne?Ne.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof z[0]||"/"!==z[0][0])&&(z=[]),Ci=this.currentUrlTree.root}return lo(Ci,z,si,Vn??null,this.urlSerializer)}navigateByUrl(z,ne={skipLocationChange:!1}){const Ne=Mr(z)?z:this.parseUrl(z),Ye=this.urlHandlingStrategy.merge(Ne,this.rawUrlTree);return this.scheduleNavigation(Ye,hr,null,ne)}navigate(z,ne={skipLocationChange:!1}){return function Gc(le){for(let z=0;z<le.length;z++)if(null==le[z])throw new s.buA(4008,!1)}(z),this.navigateByUrl(this.createUrlTree(z,ne),ne)}serializeUrl(z){return this.urlSerializer.serialize(z)}parseUrl(z){try{return this.urlSerializer.parse(z)}catch{return this.console.warn((0,s.OsK)(4018,!1)),this.urlSerializer.parse("/")}}isActive(z,ne){let Ne;if(Ne=!0===ne?{...rt}:!1===ne?{...It}:{...It,...ne},Mr(z))return Ht(this.currentUrlTree,z,Ne);const Ye=this.parseUrl(z);return Ht(this.currentUrlTree,Ye,Ne)}removeEmptyProps(z){return Object.entries(z).reduce((ne,[Ne,Ye])=>(null!=Ye&&(ne[Ne]=Ye),ne),{})}scheduleNavigation(z,ne,Ne,Ye,Nt){if(this.disposed)return Promise.resolve(!1);let en,Wt,Vn;Nt?(en=Nt.resolve,Wt=Nt.reject,Vn=Nt.promise):Vn=new Promise((Ci,Sr)=>{en=Ci,Wt=Sr});const si=this.pendingTasks.add();return bc(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(si))}),this.navigationTransitions.handleNavigationRequest({source:ne,restoredState:Ne,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:z,extras:Ye,resolve:en,reject:Wt,promise:Vn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Vn.catch(Promise.reject.bind(Promise))}static \u0275fac=function(ne){return new(ne||ks)};static \u0275prov=P.tV_({token:ks,factory:ks.\u0275fac})}},94862(st,pe,h){"use strict";h.d(pe,{Kp:()=>Fe,iI:()=>mn});var w=h(29293),O=h(44881),Z=h(87514),Ee=h(12986),oe=h(93049),j=h(5870),te=h(39962),ce=h(28939),ye=h(70903),Le=h(10286),$e=h(54570),Tt=h(55919),We=h(67148),Me=h(47086),ut=h(77280),xe=h(18997),Te=h(84833),Ce=h(19472),et=h(86623);class he{router=(0,ce.WQX)($e.Ix);stateManager=(0,ce.WQX)($e.fN);fragment=(0,ce.vPA)("");queryParams=(0,ce.vPA)({});path=(0,ce.vPA)("");serializer=(0,ce.WQX)($e.Sd);constructor(){this.updateState(),this.router.events?.subscribe(Yt=>{Yt instanceof $e.wF&&this.updateState()})}updateState(){const{fragment:Yt,root:wn,queryParams:zn}=this.stateManager.getCurrentUrlTree();this.fragment.set(Yt),this.queryParams.set(zn),this.path.set(this.serializer.serialize(new $e.el(wn)))}static \u0275fac=function(wn){return new(wn||he)};static \u0275prov=ye.tV_({token:he,factory:he.\u0275fac})}class ve{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=(0,ce.WQX)(new te.ES_("href"),{optional:!0});reactiveHref=(0,Le.uu)(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return(0,Le.O8)(this.reactiveHref)}set href(Yt){this.reactiveHref.set(Yt)}set target(Yt){this._target.set(Yt)}get target(){return(0,Le.O8)(this._target)}_target=(0,ce.vPA)(void 0);set queryParams(Yt){this._queryParams.set(Yt)}get queryParams(){return(0,Le.O8)(this._queryParams)}_queryParams=(0,ce.vPA)(void 0,{equal:()=>!1});set fragment(Yt){this._fragment.set(Yt)}get fragment(){return(0,Le.O8)(this._fragment)}_fragment=(0,ce.vPA)(void 0);set queryParamsHandling(Yt){this._queryParamsHandling.set(Yt)}get queryParamsHandling(){return(0,Le.O8)(this._queryParamsHandling)}_queryParamsHandling=(0,ce.vPA)(void 0);set state(Yt){this._state.set(Yt)}get state(){return(0,Le.O8)(this._state)}_state=(0,ce.vPA)(void 0,{equal:()=>!1});set info(Yt){this._info.set(Yt)}get info(){return(0,Le.O8)(this._info)}_info=(0,ce.vPA)(void 0,{equal:()=>!1});set relativeTo(Yt){this._relativeTo.set(Yt)}get relativeTo(){return(0,Le.O8)(this._relativeTo)}_relativeTo=(0,ce.vPA)(void 0);set preserveFragment(Yt){this._preserveFragment.set(Yt)}get preserveFragment(){return(0,Le.O8)(this._preserveFragment)}_preserveFragment=(0,ce.vPA)(!1);set skipLocationChange(Yt){this._skipLocationChange.set(Yt)}get skipLocationChange(){return(0,Le.O8)(this._skipLocationChange)}_skipLocationChange=(0,ce.vPA)(!1);set replaceUrl(Yt){this._replaceUrl.set(Yt)}get replaceUrl(){return(0,Le.O8)(this._replaceUrl)}_replaceUrl=(0,ce.vPA)(!1);browserUrl=(0,te.hFB)(void 0);isAnchorElement;onChanges=new Tt.B;applicationErrorHandler=(0,ce.WQX)(ce.ZTf);options=(0,ce.WQX)($e.J_,{optional:!0});reactiveRouterState=(0,ce.WQX)(he);constructor(Yt,wn,zn,Qn,pi,Mr){this.router=Yt,this.route=wn,this.tabIndexAttribute=zn,this.renderer=Qn,this.el=pi,this.locationStrategy=Mr;const Fr=pi.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Fr||"area"===Fr||!("object"!=typeof customElements||!customElements.get(Fr)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(Yt){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Yt)}ngOnChanges(Yt){this.onChanges.next(this)}routerLinkInput=(0,ce.vPA)(null);set routerLink(Yt){null==Yt?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):((0,$e.wO)(Yt)?this.routerLinkInput.set(Yt):this.routerLinkInput.set(Array.isArray(Yt)?Yt:[Yt]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(Yt,wn,zn,Qn,pi){const Mr=this._urlTree();if(null===Mr||this.isAnchorElement&&(0!==Yt||wn||zn||Qn||pi||"string"==typeof this.target&&"_self"!=this.target))return!0;const Fr=this.browserUrl(),co={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info,...void 0!==Fr&&{browserUrl:Fr}};return this.router.navigateByUrl(Mr,co)?.catch(lo=>{this.applicationErrorHandler(lo)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(Yt,wn){const zn=this.renderer,Qn=this.el.nativeElement;null!==wn?zn.setAttribute(Qn,Yt,wn):zn.removeAttribute(Qn,Yt)}_urlTree=(0,Le.EW)(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();const Yt=zn=>"preserve"===zn||"merge"===zn;(Yt(this._queryParamsHandling())||Yt(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();const wn=this.routerLinkInput();return null!==wn&&this.router.createUrlTree?(0,$e.wO)(wn)?wn:this.router.createUrlTree(wn,{relativeTo:void 0!==this._relativeTo()?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()}):null},{equal:(Yt,wn)=>this.computeHref(Yt)===this.computeHref(wn)});get urlTree(){return(0,Le.O8)(this._urlTree)}computeHref(Yt){return null!==Yt&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(Yt))??"":null}static \u0275fac=function(wn){return new(wn||ve)(ye.rXU($e.Ix),ye.rXU($e.nX),ye.kS0("tabindex"),ye.rXU(ye.sFG),ye.rXU(ye.aKT),ye.rXU(O.hb))};static \u0275dir=ye.FsC({type:ve,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(wn,zn){1&wn&&ye.bIt("click",function(pi){return zn.onClick(pi.button,pi.ctrlKey,pi.shiftKey,pi.altKey,pi.metaKey)}),2&wn&&ye.BMQ("href",zn.reactiveHref(),ye.n$t)("target",zn._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",te.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",te.L39],replaceUrl:[2,"replaceUrl","replaceUrl",te.L39],browserUrl:[1,"browserUrl"],routerLink:"routerLink"},features:[ye.OA$]})}class be{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new ce.bkB;link=(0,ce.WQX)(ve,{optional:!0});constructor(Yt,wn,zn,Qn){this.router=Yt,this.element=wn,this.renderer=zn,this.cdr=Qn,this.routerEventsSubscription=Yt.events.subscribe(pi=>{pi instanceof $e.wF&&this.update()})}ngAfterContentInit(){(0,Me.of)(this.links.changes,(0,Me.of)(null)).pipe((0,Ce.U)()).subscribe(Yt=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const Yt=[...this.links.toArray(),this.link].filter(wn=>!!wn).map(wn=>wn.onChanges);this.linkInputChangesSubscription=(0,We.H)(Yt).pipe((0,Ce.U)()).subscribe(wn=>{this._isActive!==this.isLinkActive(this.router)(wn)&&this.update()})}set routerLinkActive(Yt){if(null==Yt)return void(this.classes=[]);const wn=Array.isArray(Yt)?Yt:Yt.split(" ");this.classes=wn.filter(zn=>!!zn)}ngOnChanges(Yt){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||null===this.routerLinkActiveOptions&&!this._isActive||queueMicrotask(()=>{const Yt=this.hasActiveLinks();this.classes.forEach(wn=>{Yt?this.renderer.addClass(this.element.nativeElement,wn):this.renderer.removeClass(this.element.nativeElement,wn)}),Yt&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==Yt&&(this._isActive=Yt,this.cdr.markForCheck(),this.isActiveChange.emit(Yt))})}isLinkActive(Yt){const wn=this.routerLinkActiveOptions;if(null===wn)return()=>!1;let zn;return zn=void 0===wn?{...$e.E}:function de(Yn){const Yt=Yn;return!!(Yt.paths||Yt.matrixParams||Yt.queryParams||Yt.fragment)}(wn)?wn:wn.exact?{...$e.tE}:{...$e.E},Qn=>{const pi=Qn.urlTree;return!!pi&&(0,Le.O8)((0,$e.$m)(pi,Yt,zn))}}hasActiveLinks(){const Yt=this.isLinkActive(this.router);return this.link&&Yt(this.link)||this.links.some(Yt)}static \u0275fac=function(wn){return new(wn||be)(ye.rXU($e.Ix),ye.rXU(ye.aKT),ye.rXU(ye.sFG),ye.rXU(te.gRc))};static \u0275dir=ye.FsC({type:be,selectors:[["","routerLinkActive",""]],contentQueries:function(wn,zn,Qn){if(1&wn&&ye.wni(Qn,ve,5),2&wn){let pi;ye.mGM(pi=ye.lsd())&&(zn.links=pi)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[ye.OA$]})}class G{}class Fe{preload(Yt,wn){return wn().pipe((0,ut.W)(()=>(0,Me.of)(null)))}static \u0275fac=function(wn){return new(wn||Fe)};static \u0275prov=ye.tV_({token:Fe,factory:Fe.\u0275fac})}class He{preload(Yt,wn){return(0,Me.of)(null)}static \u0275fac=function(wn){return new(wn||He)};static \u0275prov=ye.tV_({token:He,factory:He.\u0275fac})}class wt{router;injector;preloadingStrategy;loader;subscription;constructor(Yt,wn,zn,Qn){this.router=Yt,this.injector=wn,this.preloadingStrategy=zn,this.loader=Qn}setUpPreloading(){this.subscription=this.router.events.pipe((0,Te.p)(Yt=>Yt instanceof $e.wF),(0,xe.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(Yt,wn){const zn=[];for(const Qn of wn){Qn.providers&&!Qn._injector&&(Qn._injector=(0,ye.Ol2)(Qn.providers,Yt,""));const pi=Qn._injector??Yt;Qn._loadedNgModuleFactory&&!Qn._loadedInjector&&(Qn._loadedInjector=Qn._loadedNgModuleFactory.create(pi).injector);const Mr=Qn._loadedInjector??pi;(Qn.loadChildren&&!Qn._loadedRoutes&&void 0===Qn.canLoad||Qn.loadComponent&&!Qn._loadedComponent)&&zn.push(this.preloadConfig(pi,Qn)),(Qn.children||Qn._loadedRoutes)&&zn.push(this.processRoutes(Mr,Qn.children??Qn._loadedRoutes))}return(0,We.H)(zn).pipe((0,Ce.U)())}preloadConfig(Yt,wn){return this.preloadingStrategy.preload(wn,()=>{if(Yt.destroyed)return(0,Me.of)(null);let zn;zn=wn.loadChildren&&void 0===wn.canLoad?(0,We.H)(this.loader.loadChildren(Yt,wn)):(0,Me.of)(null);const Qn=zn.pipe((0,et.Z)(pi=>null===pi?(0,Me.of)(void 0):(wn._loadedRoutes=pi.routes,wn._loadedInjector=pi.injector,wn._loadedNgModuleFactory=pi.factory,this.processRoutes(pi.injector??Yt,pi.routes))));if(wn.loadComponent&&!wn._loadedComponent){const pi=this.loader.loadComponent(Yt,wn);return(0,We.H)([Qn,pi]).pipe((0,Ce.U)())}return Qn})}static \u0275fac=function(wn){return new(wn||wt)(ce.KVO($e.Ix),ce.KVO(ce.uvJ),ce.KVO(G),ce.KVO($e.D$))};static \u0275prov=ce.jDH({token:wt,factory:wt.\u0275fac,providedIn:"root"})}const Jt=new ce.nKC("");class ee{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=$e.wU;restoredId=0;store={};isHydrating=(0,ce.WQX)(ye.qBF,{optional:!0})??!1;urlSerializer=(0,ce.WQX)($e.Sd);zone=(0,ce.WQX)(ce.SKi);viewportScroller=(0,ce.WQX)(Z.Xr);transitions=(0,ce.WQX)($e.J2);constructor(Yt){this.options=Yt,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&(0,ce.WQX)(ye.o8S).whenStable().then(()=>{this.isHydrating=!1})}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(Yt=>{Yt instanceof $e.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Yt.navigationTrigger,this.restoredId=Yt.restoredState?Yt.restoredState.navigationId:0):Yt instanceof $e.wF?(this.lastId=Yt.id,this.scheduleScrollEvent(Yt,this.urlSerializer.parse(Yt.urlAfterRedirects).fragment)):Yt instanceof $e.lW&&Yt.code===$e.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Yt,this.urlSerializer.parse(Yt.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Yt=>{if(!(Yt instanceof $e.OY)||"manual"===Yt.scrollBehavior)return;const wn={behavior:"instant"};Yt.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],wn):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Yt.position,wn):Yt.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Yt.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(Yt,wn){var zn=this;if(this.isHydrating)return;const Qn=(0,Le.O8)(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(w(function*(){yield new Promise(pi=>{setTimeout(pi),typeof requestAnimationFrame<"u"&&requestAnimationFrame(pi)}),zn.zone.run(()=>{zn.transitions.events.next(new $e.OY(Yt,"popstate"===zn.lastSource?zn.store[zn.restoredId]:null,wn,Qn))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(wn){ye.QTQ()};static \u0275prov=ce.jDH({token:ee,factory:ee.\u0275fac})}class rt extends $e.fN{injector=(0,ce.WQX)(ce.uvJ);navigation=(0,ce.WQX)(j.U);inMemoryScrollingEnabled=null!==(0,ce.WQX)(Jt,{optional:!0});base=new URL((0,ce.WQX)(oe.Vw).href).origin;appRootUrl=new URL(this.location.prepareExternalUrl?.("/")??"/",this.base);precommitHandlerSupported=(0,ce.WQX)(j.f);activeHistoryEntry=this.navigation.currentEntry;currentNavigation={};nonRouterCurrentEntryChangeSubject=new Tt.B;nonRouterEntryChangeListener;get registered(){return void 0!==this.nonRouterEntryChangeListener&&!this.nonRouterEntryChangeListener.closed}constructor(){super();const Yt=wn=>{this.handleNavigate(wn)};this.navigation.addEventListener("navigate",Yt),(0,ce.WQX)(ce.abz).onDestroy(()=>this.navigation.removeEventListener("navigate",Yt))}registerNonRouterCurrentEntryChangeListener(Yt){return this.activeHistoryEntry=this.navigation.currentEntry,this.nonRouterEntryChangeListener=this.nonRouterCurrentEntryChangeSubject.subscribe(({path:wn,state:zn})=>{Yt(wn,zn,"popstate",this.precommitHandlerSupported?{}:{replaceUrl:!0})}),this.nonRouterEntryChangeListener}handleRouterEvent(Yt,wn){var zn=this;return w(function*(){if(zn.currentNavigation={...zn.currentNavigation,routerTransition:wn},Yt instanceof $e.Z)zn.updateStateMemento(),zn.precommitHandlerSupported&&zn.maybeCreateNavigationForTransition(wn);else if(Yt instanceof $e.lW)zn.finishNavigation(),zn.commitTransition(wn);else if(Yt instanceof $e.kv)wn.routesRecognizeHandler.deferredHandle=new Promise(function(){var Qn=w(function*(pi){if("eager"===zn.urlUpdateStrategy)try{zn.maybeCreateNavigationForTransition(wn),yield zn.currentNavigation.commitUrl?.()}catch{return}pi()});return function(pi){return Qn.apply(this,arguments)}}());else if(Yt instanceof $e.j5)wn.beforeActivateHandler.deferredHandle=new Promise(function(){var Qn=w(function*(pi){if("deferred"===zn.urlUpdateStrategy)try{zn.maybeCreateNavigationForTransition(wn),yield zn.currentNavigation.commitUrl?.()}catch{return}zn.commitTransition(wn),pi()});return function(pi){return Qn.apply(this,arguments)}}());else if(Yt instanceof $e.Cq||Yt instanceof $e.L6){if(Yt instanceof $e.Cq&&Yt.code===$e.X1.Redirect&&zn.currentNavigation.commitUrl)return;zn.cancel(wn,Yt)}else if(Yt instanceof $e.wF){const{resolveHandler:Qn,removeAbortListener:pi}=zn.currentNavigation;zn.currentNavigation={},pi?.(),zn.activeHistoryEntry=zn.navigation.currentEntry,(0,ye.mal)({read:()=>Qn?.()},{injector:zn.injector})}})()}maybeCreateNavigationForTransition(Yt){const{navigationEvent:wn,commitUrl:zn}=this.currentNavigation;if(zn||wn&&"traverse"===wn.navigationType&&this.eventAndRouterDestinationsMatch(wn,Yt))return;this.currentNavigation.removeAbortListener?.();const Qn=this.createBrowserPath(Yt);this.navigate(Qn,Yt)}navigate(Yt,wn){const zn=wn.extras.skipLocationChange?this.navigation.currentEntry.url:this.location.prepareExternalUrl(Yt),Qn={...wn.extras.state,...this.generateNgRouterState(wn)};!this.navigation.transition&&this.currentNavigation.navigationEvent&&(wn.extras.replaceUrl=!1);const Mr=this.location.isCurrentPathEqualTo(zn)||wn.extras.replaceUrl||wn.extras.skipLocationChange?"replace":"push";It(this.navigation.navigate(zn,{state:Qn,history:Mr,info:{\u0275routerInfo:{intercept:!0}}}))}finishNavigation(){this.currentNavigation.commitUrl?.(),this.currentNavigation?.resolveHandler?.(),this.currentNavigation={}}cancel(Yt,wn){var zn=this;return w(function*(){zn.currentNavigation.rejectNavigateEvent?.();const Qn={};if(zn.currentNavigation=Qn,(0,$e.bX)(wn))return;const pi="computed"===zn.canceledNavigationResolution&&zn.navigation.currentEntry.key!==zn.activeHistoryEntry.key;if(zn.resetInternalState(Yt.finalUrl,pi),zn.navigation.currentEntry.id!==zn.activeHistoryEntry.id&&!(wn instanceof $e.Cq&&wn.code===$e.X1.Aborted&&(yield Promise.resolve(),zn.currentNavigation!==Qn)))if(pi)It(zn.navigation.traverseTo(zn.activeHistoryEntry.key,{info:{\u0275routerInfo:{intercept:!1}}}));else{const Mr=zn.urlSerializer.serialize(zn.getCurrentUrlTree()),Fr=zn.location.prepareExternalUrl(Mr);It(zn.navigation.navigate(Fr,{state:zn.activeHistoryEntry.getState(),history:"replace",info:{\u0275routerInfo:{intercept:!1}}}))}})()}resetInternalState(Yt,wn){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=wn?this.stateMemento.rawUrlTree:this.urlHandlingStrategy.merge(this.currentUrlTree,Yt??this.rawUrlTree)}handleNavigate(Yt){var wn=this;if(!Yt.canIntercept||"reload"===Yt.navigationType)return;const zn=Yt?.info?.\u0275routerInfo;if(zn&&!zn.intercept)return;const Qn=!!zn;if(!Qn){const{pathname:uo,origin:wr}=new URL(Yt.destination.url),{pathname:Qi,origin:Cr}=this.appRootUrl,Ar=Qi.endsWith("/")?Qi:Qi+"/";if(wr!==Cr||uo!==Qi&&!uo.startsWith(Ar))return;if(this.currentNavigation.routerTransition?.abort(),!this.registered)return void this.finishNavigation()}this.currentNavigation={...this.currentNavigation},this.currentNavigation.navigationEvent=Yt;const pi=()=>{this.currentNavigation.routerTransition?.abort()};Yt.signal.addEventListener("abort",pi),this.currentNavigation.removeAbortListener=()=>Yt.signal.removeEventListener("abort",pi);const Fr={scroll:this.inMemoryScrollingEnabled?"manual":this.currentNavigation.routerTransition?.extras.scroll??"after-transition"},{promise:co,resolve:lo,reject:to}=(0,ce.nJn)(),{promise:br,resolve:es,reject:qr}=(0,ce.nJn)();if(this.currentNavigation.rejectNavigateEvent=()=>{Yt.signal.removeEventListener("abort",pi),qr(),to()},this.currentNavigation.resolveHandler=()=>{this.currentNavigation.removeAbortListener?.(),lo()},co.catch(()=>{}),br.catch(()=>{}),Fr.handler=()=>co,this.deferredCommitSupported(Yt)){const uo=new Promise(wr=>{Fr.precommitHandler=Qi=>("traverse"===this.navigation.transition?.navigationType?wr(()=>{}):wr(Qi.redirect.bind(Qi)),br)});this.currentNavigation.commitUrl=w(function*(){wn.currentNavigation.commitUrl=void 0;const wr=wn.currentNavigation.routerTransition;if(wr&&!wr.extras.skipLocationChange){const Qi=wn.createBrowserPath(wr),Cr=wn.location.isCurrentPathEqualTo(Qi)||wr.extras.replaceUrl?"replace":"push",Ar={...wr.extras.state,...wn.generateNgRouterState(wr)},zt=wn.location.prepareExternalUrl(Qi);(yield uo)(zt,{state:Ar,history:Cr})}return es(),yield wn.navigation.transition?.committed})}Yt.intercept(Fr),Qn||this.handleNavigateEventTriggeredOutsideRouterAPIs(Yt)}handleNavigateEventTriggeredOutsideRouterAPIs(Yt){const wn=Yt.destination.url.substring(this.appRootUrl.href.length-1),zn=Yt.destination.getState();this.nonRouterCurrentEntryChangeSubject.next({path:wn,state:zn})}eventAndRouterDestinationsMatch(Yt,wn){const zn=this.createBrowserPath(wn),Qn=new URL(Yt.destination.url),pi=new URL(this.location.prepareExternalUrl(zn),Qn.origin);Qn.searchParams.sort(),pi.searchParams.sort();const{pathname:Mr,search:Fr,hash:co}=pi,{pathname:lo,search:to,hash:br}=Qn;return Fr===to&&co===br&&O.aZ.stripTrailingSlash(Mr)===O.aZ.stripTrailingSlash(lo)}generateNgRouterState(Yt){return{...this.routerUrlState(Yt),navigationId:Yt.id}}deferredCommitSupported(Yt){return this.precommitHandlerSupported&&Yt.cancelable}static \u0275fac=function(wn){return new(wn||rt)};static \u0275prov=ye.tV_({token:rt,factory:rt.\u0275fac})}function It(Yn){return Yn.finished?.catch(()=>{}),Yn.committed?.catch(()=>{}),Yn}function Pt(){return(0,ce.WQX)($e.Ix).routerState.root}function bn(Yn,Yt){return{\u0275kind:Yn,\u0275providers:Yt}}function _e(){const Yn=(0,ce.WQX)(ce.zZn);return Yt=>{const wn=Yn.get(ye.o8S);if(Yt!==wn.components[0])return;const zn=Yn.get($e.Ix),Qn=Yn.get(Y);1===Yn.get(fe)&&zn.initialNavigation(),Yn.get(fn,null,{optional:!0})?.setUpPreloading(),Yn.get(Jt,null,{optional:!0})?.init(),zn.resetRootComponentType(wn.componentTypes[0]),Qn.closed||(Qn.next(),Qn.complete(),Qn.unsubscribe())}}const Y=new ce.nKC("",{factory:()=>new Tt.B}),fe=new ce.nKC("",{factory:()=>1});const fn=new ce.nKC("");function at(Yn={}){return bn(8,[{provide:$e.c1,useFactory:()=>new $e.tD(Yn)}])}function Q(Yn){(0,ye._jY)("NgRouterViewTransitions");return bn(9,[{provide:$e.Pu,useValue:$e.Lg},{provide:$e.bK,useValue:{skipNextTransition:!!Yn?.skipInitialTransition,...Yn}}])}$e.n3,$e.we,new ce.nKC("");const cn=[O.aZ,{provide:$e.Sd,useClass:$e.nU},$e.Ix,$e.Zp,{provide:$e.nX,useFactory:Pt},$e.D$];class mn{constructor(){}static forRoot(Yt,wn){return{ngModule:mn,providers:[cn,[],{provide:$e.bw,multi:!0,useValue:Yt},[],wn?.errorHandler?{provide:$e.XR,useValue:wn.errorHandler}:[],{provide:$e.J_,useValue:wn||{}},wn?.useHash?{provide:O.hb,useClass:Ee.fw}:{provide:O.hb,useClass:O.Sm},{provide:Jt,useFactory:()=>{const Yn=(0,ce.WQX)(Z.Xr),Yt=(0,ce.WQX)($e.J_);return Yt.scrollOffset&&Yn.setOffset(Yt.scrollOffset),new ee(Yt)}},wn?.preloadingStrategy?(Yn=wn.preloadingStrategy,bn(0,[{provide:fn,useExisting:wt},{provide:G,useExisting:Yn}])).\u0275providers:[],wn?.initialNavigation?ui(wn):[],wn?.bindToComponentInputs?at("object"==typeof wn.bindToComponentInputs?wn.bindToComponentInputs:{}).\u0275providers:[],wn?.enableViewTransitions?Q().\u0275providers:[],[{provide:sr,useFactory:_e},{provide:ye.iLQ,multi:!0,useExisting:sr}]]};var Yn}static forChild(Yt){return{ngModule:mn,providers:[{provide:$e.bw,multi:!0,useValue:Yt}]}}static \u0275fac=function(wn){return new(wn||mn)};static \u0275mod=ye.$C({type:mn,imports:[$e.n3,ve,be,$e.we],exports:[$e.n3,ve,be,$e.we]});static \u0275inj=ce.G2t({})}function ui(Yn){return["disabled"===Yn.initialNavigation?bn(3,[(0,ye.phd)(()=>{(0,ce.WQX)($e.Ix).setUpLocationChangeListener()}),{provide:fe,useValue:2}]).\u0275providers:[],"enabledBlocking"===Yn.initialNavigation?bn(2,[{provide:ye.tvf,useValue:!0},{provide:fe,useValue:0},(0,ye.phd)(()=>{const Yt=(0,ce.WQX)(ce.zZn);return Yt.get(oe.hj,Promise.resolve()).then(()=>new Promise(zn=>{const Qn=Yt.get($e.Ix),pi=Yt.get(Y);(0,$e.gk)(Qn,()=>{zn(!0)}),Yt.get($e.J2).afterPreactivation=()=>(zn(!0),pi.closed?(0,Me.of)(void 0):pi),Qn.initialNavigation()}))})]).\u0275providers:[]]}const sr=new ce.nKC("")},7831(st,pe,h){"use strict";h.d(pe,{mg:()=>Ee,n2:()=>w});var m=h(28939),s=h(70903),f=h(12986),P=h(87514),D=h(75536),y=h(55919),b=h(75889),x=h(47086),N=h(87746),M=h(65229),U=h(98455),J=h(29927),I=h(34369),T=h(56276),C=h(22914);function R(oe,j){if(1&oe&&(s.j41(0,"div",3),s.nrm(1,"div",4),s.k0s()),2&oe){const te=s.XpG(2);s.R7$(),s.xc7("width",te.diameter)("height",te.diameter)}}function B(oe,j){if(1&oe&&s.nrm(0,"div",5),2&oe){const te=s.XpG().ngIf,ce=s.XpG();s.xc7("background",ce.color)("height",ce.height)("width",te+"%")}}function F(oe,j){if(1&oe&&(s.qex(0),s.DNE(1,R,2,4,"div",1)(2,B,1,6,"div",2),s.bVm()),2&oe){const te=s.XpG();s.R7$(),s.Y8G("ngIf",te.includeSpinner),s.R7$(),s.Y8G("ngIf",te.includeBar)}}class ${constructor(j={}){this.config=j,this.state={action:null,value:0,initialValue:0},this.requests=null,this.disabled=!1,this.stream$=new y.B,this._value$=null,this.timer$=te=>{let ce=(0,x.of)(te);switch(te.action){case"start":case"increment":case"set":"start"===te.action&&0===this.config.latencyThreshold&&0===te.value&&(te.value=te.initialValue),this.requests>0&&(ce=(0,N.O)(this.config.latencyThreshold,250).pipe((0,M.T)(ye=>({...te,value:0===ye?this.state.value||te.initialValue:this._increment()}))));break;case"complete":case"stop":ce=0===te.value?(0,x.of)({...te}):(0,N.O)(0,500).pipe((0,T.s)(2),(0,M.T)(ye=>({value:0===ye?100:0})))}return ce.pipe((0,M.T)(ye=>({...ye,action:"set"})),(0,C.M)(ye=>this.next(ye,!1)))},this.config={latencyThreshold:0,...j}}get value$(){return this._value$?this._value$:this._value$=this.stream$.pipe((0,J.Z)(this.state),(0,I.n)(j=>this.timer$(j)),(0,U.t)(),(0,M.T)(j=>j.value))}start(j=2){this.disabled||this.next({action:"start",initialValue:j})}stop(){this.next({action:"stop"})}complete(){this.next({action:"complete"})}disable(){this.disabled=!0}set(j){this.next({action:"set",value:j})}increment(j=0){this.next({action:"increment",value:j})}next(j,te=!0){switch(j.action){case"start":this.requests=(this.requests||0)+1;break;case"complete":if(this.requests=(this.requests||1)-1,this.requests>0)return;break;case"stop":this.requests=0;break;case"increment":j.value=this._increment(j.value)}this.state={...this.state,action:null,...j},te&&this.stream$.next(this.state)}_increment(j=0){const te=this.state.value;return te>=99&&(j=0),0===j&&(j=te>=0&&te<25?3*Math.random()+3:te>=25&&te<65?3*Math.random():te>=65&&te<90?2*Math.random():te>=90&&te<99?.5:0),j+te}}const E=new m.nKC("LOADING_BAR_CONFIG");class w{constructor(j,te={},ce){this.platformId=j,this.config=te,this.zone=ce,this.refs={},this.streams$=new y.B,this.value$=this.streams$.pipe((0,J.Z)(null),(0,I.n)(()=>(0,b.z)(Object.keys(this.refs).map(ye=>this.refs[ye].value$))),function O(oe){return oe?j=>new D.c(te=>j.subscribe(ce=>oe.run(()=>te.next(ce)),ce=>oe.run(()=>te.error(ce)),()=>oe.run(()=>te.complete()))):j=>j}(this.zone),(0,M.T)(ye=>Math.max(0,...ye)))}get progress$(){return this.value$}start(j=2){this.useRef().start(j)}set(j){this.useRef().set(j)}increment(j){this.useRef().increment(j)}complete(){this.useRef().complete()}stop(){this.useRef().stop()}useRef(j="default"){return this.refs[j]||(this.refs[j]=new $(this.config),this.streams$.next(),(0,P.UE)(this.platformId)||this.refs[j].disable()),this.refs[j]}}w.\u0275fac=function(j){return new(j||w)(m.KVO(m.Agw),m.KVO(E,8),m.KVO(m.SKi,8))},w.\u0275prov=m.jDH({token:w,factory:w.\u0275fac,providedIn:"root"});class Z{constructor(j){this.loader=j,this.includeSpinner=!0,this.includeBar=!0,this.fixed=!0,this.color="#29d"}get value$(){return this.ref?this.loader.useRef(this.ref).value$:this.loader.value$}}Z.\u0275fac=function(j){return new(j||Z)(s.rXU(w))},Z.\u0275cmp=s.VBU({type:Z,selectors:[["ngx-loading-bar"]],hostVars:3,hostBindings:function(j,te){2&j&&(s.BMQ("fixed",te.fixed),s.xc7("color",te.color))},inputs:{includeSpinner:"includeSpinner",includeBar:"includeBar",fixed:"fixed",color:"color",value:"value",ref:"ref",height:"height",diameter:"diameter"},standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["class","ngx-spinner",4,"ngIf"],["class","ngx-bar",3,"background","height","width",4,"ngIf"],[1,"ngx-spinner"],[1,"ngx-spinner-icon"],[1,"ngx-bar"]],template:function(j,te){1&j&&(s.DNE(0,F,3,2,"ng-container",0),s.nI1(1,"async")),2&j&&s.Y8G("ngIf",null!=te.value?te.value:s.bMT(1,1,te.value$))},dependencies:[f.bT,f.Jj],styles:["[_nghost-%COMP%]{position:relative;display:block;pointer-events:none}[_nghost-%COMP%] .ngx-spinner[_ngcontent-%COMP%]{transition:.35s linear all;display:block;position:absolute;top:5px;left:0px}[_nghost-%COMP%] .ngx-spinner[_ngcontent-%COMP%] .ngx-spinner-icon[_ngcontent-%COMP%]{width:14px;height:14px;border:solid 2px transparent;border-top-color:inherit;border-left-color:inherit;border-radius:50%;-webkit-animation:_ngcontent-%COMP%_loading-bar-spinner .4s linear infinite;animation:_ngcontent-%COMP%_loading-bar-spinner .4s linear infinite}[_nghost-%COMP%] .ngx-bar[_ngcontent-%COMP%]{transition:width .35s;position:absolute;top:0;left:0;width:100%;height:2px;border-bottom-right-radius:1px;border-top-right-radius:1px}[dir=rtl] [_nghost-%COMP%] .ngx-bar[_ngcontent-%COMP%]{right:0;left:unset}[fixed=true][_nghost-%COMP%]{z-index:10002}[fixed=true][_nghost-%COMP%] .ngx-bar[_ngcontent-%COMP%]{position:fixed}[fixed=true][_nghost-%COMP%] .ngx-spinner[_ngcontent-%COMP%]{position:fixed;top:10px;left:10px}[dir=rtl] [fixed=true][_nghost-%COMP%] .ngx-spinner[_ngcontent-%COMP%]{right:10px;left:unset}@-webkit-keyframes _ngcontent-%COMP%_loading-bar-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_loading-bar-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]});class Ee{}Ee.\u0275fac=function(j){return new(j||Ee)},Ee.\u0275mod=s.$C({type:Ee,declarations:[Z],imports:[f.MD],exports:[Z]}),Ee.\u0275inj=m.G2t({imports:[[f.MD]]})},53786(st,pe,h){"use strict";h.d(pe,{B4:()=>Z,D9:()=>We,Mm:()=>Tt,Mw:()=>j,Sd:()=>O,Wr:()=>T,c$:()=>$e,er:()=>R,h:()=>Me,kJ:()=>Ee,t0:()=>oe});var m=h(39962),s=h(28939),f=h(70903),P=h(79781),D=h(44754),y=h(93767),b=h(31703),x=h(47086),N=h(18997),M=h(65229),U=h(98455),J=h(34369),I=h(56276);class T{}class C extends T{getTranslation(xe){return(0,x.of)({})}static \u0275fac=(()=>{let xe;return function(Ce){return(xe||(xe=f.xGo(C)))(Ce||C)}})();static \u0275prov=s.jDH({token:C,factory:C.\u0275fac})}class R{}class B{handle(xe){return xe.key}static \u0275fac=function(Te){return new(Te||B)};static \u0275prov=s.jDH({token:B,factory:B.\u0275fac})}function F(ut,xe){if(ut===xe)return!0;if(null===ut||null===xe)return!1;if(ut!=ut&&xe!=xe)return!0;let et,he,ve,Te=typeof ut;if(Te==typeof xe&&"object"==Te){if(!Array.isArray(ut)){if(Array.isArray(xe))return!1;for(he in ve=Object.create(null),ut){if(!F(ut[he],xe[he]))return!1;ve[he]=!0}for(he in xe)if(!(he in ve)&&typeof xe[he]<"u")return!1;return!0}if(!Array.isArray(xe))return!1;if((et=ut.length)==xe.length){for(he=0;he<et;he++)if(!F(ut[he],xe[he]))return!1;return!0}}return!1}function $(ut){return typeof ut<"u"&&null!==ut}function E(ut){return ut&&"object"==typeof ut&&!Array.isArray(ut)}function w(ut,xe){let Te=Object.assign({},ut);return E(ut)&&E(xe)&&Object.keys(xe).forEach(Ce=>{E(xe[Ce])?Ce in ut?Te[Ce]=w(ut[Ce],xe[Ce]):Object.assign(Te,{[Ce]:xe[Ce]}):Object.assign(Te,{[Ce]:xe[Ce]})}),Te}class O{}class Z extends O{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(xe,Te){let Ce;return Ce="string"==typeof xe?this.interpolateString(xe,Te):"function"==typeof xe?this.interpolateFunction(xe,Te):xe,Ce}getValue(xe,Te){let Ce="string"==typeof Te?Te.split("."):[Te];Te="";do{Te+=Ce.shift(),!$(xe)||!$(xe[Te])||"object"!=typeof xe[Te]&&Ce.length?Ce.length?Te+=".":xe=void 0:(xe=xe[Te],Te="")}while(Ce.length);return xe}interpolateFunction(xe,Te){return xe(Te)}interpolateString(xe,Te){return Te?xe.replace(this.templateMatcher,(Ce,et)=>{let he=this.getValue(Te,et);return $(he)?he:Ce}):xe}static \u0275fac=(()=>{let xe;return function(Ce){return(xe||(xe=f.xGo(Z)))(Ce||Z)}})();static \u0275prov=s.jDH({token:Z,factory:Z.\u0275fac})}class Ee{}class oe extends Ee{compile(xe,Te){return xe}compileTranslations(xe,Te){return xe}static \u0275fac=(()=>{let xe;return function(Ce){return(xe||(xe=f.xGo(oe)))(Ce||oe)}})();static \u0275prov=s.jDH({token:oe,factory:oe.\u0275fac})}class j{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new s.bkB;onLangChange=new s.bkB;onDefaultLangChange=new s.bkB}const te=new s.nKC("USE_STORE"),ce=new s.nKC("USE_DEFAULT_LANG"),ye=new s.nKC("DEFAULT_LANGUAGE"),Le=new s.nKC("USE_EXTEND");class $e{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new s.bkB;_onLangChange=new s.bkB;_onDefaultLangChange=new s.bkB;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(xe){this.isolate?this._defaultLang=xe:this.store.defaultLang=xe}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(xe){this.isolate?this._currentLang=xe:this.store.currentLang=xe}get langs(){return this.isolate?this._langs:this.store.langs}set langs(xe){this.isolate?this._langs=xe:this.store.langs=xe}get translations(){return this.isolate?this._translations:this.store.translations}set translations(xe){this.isolate?this._translations=xe:this.store.translations=xe}constructor(xe,Te,Ce,et,he,ve=!0,be=!1,de=!1,G){this.store=xe,this.currentLoader=Te,this.compiler=Ce,this.parser=et,this.missingTranslationHandler=he,this.useDefaultLang=ve,this.isolate=be,this.extend=de,G&&this.setDefaultLang(G)}setDefaultLang(xe){if(xe===this.defaultLang)return;let Te=this.retrieveTranslations(xe);typeof Te<"u"?(null==this.defaultLang&&(this.defaultLang=xe),Te.pipe((0,I.s)(1)).subscribe(Ce=>{this.changeDefaultLang(xe)})):this.changeDefaultLang(xe)}getDefaultLang(){return this.defaultLang}use(xe){if(xe===this.currentLang)return(0,x.of)(this.translations[xe]);let Te=this.retrieveTranslations(xe);return typeof Te<"u"?(this.currentLang||(this.currentLang=xe),Te.pipe((0,I.s)(1)).subscribe(Ce=>{this.changeLang(xe)}),Te):(this.changeLang(xe),(0,x.of)(this.translations[xe]))}retrieveTranslations(xe){let Te;return(typeof this.translations[xe]>"u"||this.extend)&&(this._translationRequests[xe]=this._translationRequests[xe]||this.getTranslation(xe),Te=this._translationRequests[xe]),Te}getTranslation(xe){this.pending=!0;const Te=this.currentLoader.getTranslation(xe).pipe((0,U.t)(1),(0,I.s)(1));return this.loadingTranslations=Te.pipe((0,M.T)(Ce=>this.compiler.compileTranslations(Ce,xe)),(0,U.t)(1),(0,I.s)(1)),this.loadingTranslations.subscribe({next:Ce=>{this.translations[xe]=this.extend&&this.translations[xe]?{...Ce,...this.translations[xe]}:Ce,this.updateLangs(),this.pending=!1},error:Ce=>{this.pending=!1}}),Te}setTranslation(xe,Te,Ce=!1){Te=this.compiler.compileTranslations(Te,xe),(Ce||this.extend)&&this.translations[xe]?this.translations[xe]=w(this.translations[xe],Te):this.translations[xe]=Te,this.updateLangs(),this.onTranslationChange.emit({lang:xe,translations:this.translations[xe]})}getLangs(){return this.langs}addLangs(xe){xe.forEach(Te=>{-1===this.langs.indexOf(Te)&&this.langs.push(Te)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(xe,Te,Ce){let et;if(Te instanceof Array){let he={},ve=!1;for(let be of Te)he[be]=this.getParsedResult(xe,be,Ce),(0,P.A)(he[be])&&(ve=!0);if(ve){const be=Te.map(de=>(0,P.A)(he[de])?he[de]:(0,x.of)(he[de]));return(0,b.p)(be).pipe((0,M.T)(de=>{let G={};return de.forEach((Fe,He)=>{G[Te[He]]=Fe}),G}))}return he}if(xe&&(et=this.parser.interpolate(this.parser.getValue(xe,Te),Ce)),typeof et>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(et=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],Te),Ce)),typeof et>"u"){let he={key:Te,translateService:this};typeof Ce<"u"&&(he.interpolateParams=Ce),et=this.missingTranslationHandler.handle(he)}return typeof et<"u"?et:Te}get(xe,Te){if(!$(xe)||!xe.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,N.H)(Ce=>(Ce=this.getParsedResult(Ce,xe,Te),(0,P.A)(Ce)?Ce:(0,x.of)(Ce))));{let Ce=this.getParsedResult(this.translations[this.currentLang],xe,Te);return(0,P.A)(Ce)?Ce:(0,x.of)(Ce)}}getStreamOnTranslationChange(xe,Te){if(!$(xe)||!xe.length)throw new Error('Parameter "key" required');return(0,D.x)((0,y.v)(()=>this.get(xe,Te)),this.onTranslationChange.pipe((0,J.n)(Ce=>{const et=this.getParsedResult(Ce.translations,xe,Te);return"function"==typeof et.subscribe?et:(0,x.of)(et)})))}stream(xe,Te){if(!$(xe)||!xe.length)throw new Error('Parameter "key" required');return(0,D.x)((0,y.v)(()=>this.get(xe,Te)),this.onLangChange.pipe((0,J.n)(Ce=>{const et=this.getParsedResult(Ce.translations,xe,Te);return(0,P.A)(et)?et:(0,x.of)(et)})))}instant(xe,Te){if(!$(xe)||!xe.length)throw new Error('Parameter "key" required');let Ce=this.getParsedResult(this.translations[this.currentLang],xe,Te);if((0,P.A)(Ce)){if(xe instanceof Array){let et={};return xe.forEach((he,ve)=>{et[xe[ve]]=xe[ve]}),et}return xe}return Ce}set(xe,Te,Ce=this.currentLang){this.translations[Ce][xe]=this.compiler.compile(Te,Ce),this.updateLangs(),this.onTranslationChange.emit({lang:Ce,translations:this.translations[Ce]})}changeLang(xe){this.currentLang=xe,this.onLangChange.emit({lang:xe,translations:this.translations[xe]}),null==this.defaultLang&&this.changeDefaultLang(xe)}changeDefaultLang(xe){this.defaultLang=xe,this.onDefaultLangChange.emit({lang:xe,translations:this.translations[xe]})}reloadLang(xe){return this.resetLang(xe),this.getTranslation(xe)}resetLang(xe){this._translationRequests[xe]=void 0,this.translations[xe]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let xe=window.navigator.languages?window.navigator.languages[0]:null;return xe=xe||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof xe>"u"?void 0:(-1!==xe.indexOf("-")&&(xe=xe.split("-")[0]),-1!==xe.indexOf("_")&&(xe=xe.split("_")[0]),xe)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let xe=window.navigator.languages?window.navigator.languages[0]:null;return xe=xe||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,xe}static \u0275fac=function(Te){return new(Te||$e)(s.KVO(j),s.KVO(T),s.KVO(Ee),s.KVO(O),s.KVO(R),s.KVO(ce),s.KVO(te),s.KVO(Le),s.KVO(ye))};static \u0275prov=s.jDH({token:$e,factory:$e.\u0275fac})}class Tt{translateService;element;_ref;key;lastParams;currentParams;onLangChangeSub;onDefaultLangChangeSub;onTranslationChangeSub;set translate(xe){xe&&(this.key=xe,this.checkNodes())}set translateParams(xe){F(this.currentParams,xe)||(this.currentParams=xe,this.checkNodes(!0))}constructor(xe,Te,Ce){this.translateService=xe,this.element=Te,this._ref=Ce,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(et=>{et.lang===this.translateService.currentLang&&this.checkNodes(!0,et.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(et=>{this.checkNodes(!0,et.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(et=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(xe=!1,Te){let Ce=this.element.nativeElement.childNodes;Ce.length||(this.setContent(this.element.nativeElement,this.key),Ce=this.element.nativeElement.childNodes);for(let et=0;et<Ce.length;++et){let he=Ce[et];if(3===he.nodeType){let ve;if(xe&&(he.lastKey=null),$(he.lookupKey))ve=he.lookupKey;else if(this.key)ve=this.key;else{let be=this.getContent(he),de=be.trim();de.length&&(he.lookupKey=de,be!==he.currentValue?(ve=de,he.originalContent=be||he.originalContent):he.originalContent?ve=he.originalContent.trim():be!==he.currentValue&&(ve=de,he.originalContent=be||he.originalContent))}this.updateValue(ve,he,Te)}}}updateValue(xe,Te,Ce){if(xe){if(Te.lastKey===xe&&this.lastParams===this.currentParams)return;this.lastParams=this.currentParams;let et=he=>{he!==xe&&(Te.lastKey=xe),Te.originalContent||(Te.originalContent=this.getContent(Te)),Te.currentValue=$(he)?he:Te.originalContent||xe,this.setContent(Te,this.key?Te.currentValue:Te.originalContent.replace(xe,Te.currentValue)),this._ref.markForCheck()};if($(Ce)){let he=this.translateService.getParsedResult(Ce,xe,this.currentParams);(0,P.A)(he)?he.subscribe({next:et}):et(he)}else this.translateService.get(xe,this.currentParams).subscribe(et)}}getContent(xe){return $(xe.textContent)?xe.textContent:xe.data}setContent(xe,Te){$(xe.textContent)?xe.textContent=Te:xe.data=Te}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}static \u0275fac=function(Te){return new(Te||Tt)(f.rXU($e),f.rXU(f.aKT),f.rXU(m.gRc))};static \u0275dir=f.FsC({type:Tt,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"},standalone:!1})}class We{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(xe,Te){this.translate=xe,this._ref=Te}updateValue(xe,Te,Ce){let et=he=>{this.value=void 0!==he?he:xe,this.lastKey=xe,this._ref.markForCheck()};if(Ce){let he=this.translate.getParsedResult(Ce,xe,Te);(0,P.A)(he.subscribe)?he.subscribe(et):et(he)}this.translate.get(xe,Te).subscribe(et)}transform(xe,...Te){if(!xe||!xe.length)return xe;if(F(xe,this.lastKey)&&F(Te,this.lastParams))return this.value;let Ce;if($(Te[0])&&Te.length)if("string"==typeof Te[0]&&Te[0].length){let et=Te[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{Ce=JSON.parse(et)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${Te[0]}`)}}else"object"==typeof Te[0]&&!Array.isArray(Te[0])&&(Ce=Te[0]);return this.lastKey=xe,this.lastParams=Te,this.updateValue(xe,Ce),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(et=>{this.lastKey&&et.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(xe,Ce,et.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(et=>{this.lastKey&&(this.lastKey=null,this.updateValue(xe,Ce,et.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(xe,Ce))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(Te){return new(Te||We)(f.rXU($e,16),f.rXU(m.gRc,16))};static \u0275pipe=f.EJ8({name:"translate",type:We,pure:!1,standalone:!1});static \u0275prov=s.jDH({token:We,factory:We.\u0275fac})}class Me{static forRoot(xe={}){return{ngModule:Me,providers:[xe.loader||{provide:T,useClass:C},xe.compiler||{provide:Ee,useClass:oe},xe.parser||{provide:O,useClass:Z},xe.missingTranslationHandler||{provide:R,useClass:B},j,{provide:te,useValue:xe.isolate},{provide:ce,useValue:xe.useDefaultLang},{provide:Le,useValue:xe.extend},{provide:ye,useValue:xe.defaultLanguage},$e]}}static forChild(xe={}){return{ngModule:Me,providers:[xe.loader||{provide:T,useClass:C},xe.compiler||{provide:Ee,useClass:oe},xe.parser||{provide:O,useClass:Z},xe.missingTranslationHandler||{provide:R,useClass:B},{provide:te,useValue:xe.isolate},{provide:ce,useValue:xe.useDefaultLang},{provide:Le,useValue:xe.extend},{provide:ye,useValue:xe.defaultLanguage},$e]}}static \u0275fac=function(Te){return new(Te||Me)};static \u0275mod=f.$C({type:Me,declarations:[We,Tt],exports:[We,Tt]});static \u0275inj=s.G2t({})}h.d(pe,["$G",0,ce,"Nm",0,ye,"Tx",0,Le,"qT",0,te])},88670(st,pe,h){"use strict";h.d(pe,{s:()=>m});class m{http;prefix;suffix;constructor(f,P="/assets/i18n/",D=".json"){this.http=f,this.prefix=P,this.suffix=D}getTranslation(f){return this.http.get(`${this.prefix}${f}${this.suffix}`)}}},13916(st,pe,h){"use strict";h.d(pe,{Ts:()=>xg});var m=h(24763),s=h(26672),f=h(85746),P=h(44199);function y(X){const ie=X.protocol?`${X.protocol}:`:"",Re=X.port?`:${X.port}`:"";return`${ie}//${X.host}${Re}${X.path?`/${X.path}`:""}/api/`}function N(X,ie,Re){return ie||`${function b(X){return`${y(X)}${X.projectId}/envelope/`}(X)}?${function x(X,ie){const Re={sentry_version:"7"};return X.publicKey&&(Re.sentry_key=X.publicKey),ie&&(Re.sentry_client=`${ie.name}/${ie.version}`),new URLSearchParams(Re).toString()}(X,Re)}`}var U=h(41145),J=h(82226);function I(X={}){const ie=J.jf.document,Re=ie?.head||ie?.body;if(!Re)return void(U.T&&f.Yz.error("[showReportDialog] Global document not defined"));const ot=(0,s.o5)(),Qt=(0,s.KU)()?.getDsn();if(!Qt)return void(U.T&&f.Yz.error("[showReportDialog] DSN not configured"));const vn={...X,user:{...ot.getUser(),...X.user},eventId:X.eventId||(0,m.Q)()},$n=J.jf.document.createElement("script");$n.async=!0,$n.crossOrigin="anonymous",$n.src=function M(X,ie){const Re=(0,P.AD)(X);if(!Re)return"";const ot=`${y(Re)}embed/error-page/`;let Ut=`dsn=${(0,P.SB)(Re)}`;for(const Qt in ie)if("dsn"!==Qt&&"onClose"!==Qt)if("user"===Qt){const vn=ie.user;if(!vn)continue;vn.name&&(Ut+=`&name=${encodeURIComponent(vn.name)}`),vn.email&&(Ut+=`&email=${encodeURIComponent(vn.email)}`)}else Ut+=`&${encodeURIComponent(Qt)}=${encodeURIComponent(ie[Qt])}`;return`${ot}?${Ut}`}(Qt,vn);const{onLoad:ei,onClose:qn}=vn;if(ei&&($n.onload=ei),qn){const Ji=Li=>{if("__sentry_reportdialog_closed__"===Li.data)try{qn()}finally{J.jf.removeEventListener("message",Ji)}};J.jf.addEventListener("message",Ji)}Re.appendChild($n)}var T=h(11942),C=h(90746),R=h(84765),B=h(72627);let F=null;function E(){F=R.O.onerror,R.O.onerror=function(X,ie,Re,ot,Ut){const Qt={column:ot,error:Ut,line:Re,msg:X,url:ie};return(0,B.aj)("error",Qt),!!F&&F.apply(this,arguments)},R.O.onerror.__SENTRY_INSTRUMENTED__=!0}let w=null;function Z(){w=R.O.onunhandledrejection,R.O.onunhandledrejection=function(X){const ie=X;return(0,B.aj)("unhandledrejection",ie),!w||w.apply(this,arguments)},R.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var Ee=h(30352),oe=h(20734),j=h(47031),te=h(46581);const Le=(0,C._C)((X={})=>{const ie={onerror:!0,onunhandledrejection:!0,...X};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(Re){ie.onerror&&(function $e(X){!function $(X){(0,B.s5)("error",X),(0,B.AS)("error",E)}(ie=>{const{stackParser:Re,attachStacktrace:ot}=Te();if((0,s.KU)()!==X||(0,J.jN)())return;const{msg:Ut,url:Qt,line:vn,column:$n,error:ei}=ie,qn=function ut(X,ie,Re,ot){const Ut=X.exception=X.exception||{},Qt=Ut.values=Ut.values||[],vn=Qt[0]=Qt[0]||{},$n=vn.stacktrace=vn.stacktrace||{},ei=$n.frames=$n.frames||[];return 0===ei.length&&ei.push({colno:ot,lineno:Re,filename:Ce(ie)??(0,oe.$N)(),function:"?",in_app:!0}),X}((0,te.H7)(Re,ei||Ut,void 0,ot,!1),Qt,vn,$n);qn.level="error",(0,m.r)(qn,{originalException:ei,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}(Re),xe("onerror")),ie.onunhandledrejection&&(function Tt(X){!function O(X){const ie="unhandledrejection";(0,B.s5)(ie,X),(0,B.AS)(ie,Z)}(ie=>{const{stackParser:Re,attachStacktrace:ot}=Te();if((0,s.KU)()!==X||(0,J.jN)())return;const Ut=function We(X){if((0,Ee.sO)(X))return X;try{if("reason"in X)return X.reason;if("detail"in X&&"reason"in X.detail)return X.detail.reason}catch{}return X}(ie),Qt=(0,Ee.sO)(Ut)?function Me(X){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(X)}`}]}}}(Ut):(0,te.H7)(Re,Ut,void 0,ot,!0);Qt.level="error",(0,m.r)(Qt,{originalException:Ut,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}(Re),xe("onunhandledrejection"))}}});function xe(X){U.T&&f.Yz.log(`Global Handler attached: ${X}`)}function Te(){return(0,s.KU)()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function Ce(X){if((0,Ee.Kg)(X)&&0!==X.length)return X.startsWith("data:")?`<${(0,j.zm)(X,!1)}>`:X}var et=h(34969),he=h(49779);function fe(X,ie){const Re=X.attributes??(X.attributes={});Object.entries(ie).forEach(([ot,Ut])=>{null!=Ut&&!(ot in Re)&&(Re[ot]=Ut)})}const yl="url.full",Cc="url.path",iy="url.template",ar=(0,C._C)(()=>({name:"HttpContext",preprocessEvent(X){if(!J.jf.navigator&&!J.jf.location&&!J.jf.document)return;const ie=(0,J.AP)(),Re={...ie.headers,...X.request?.headers};X.request={...ie,...X.request,headers:Re}},processSegmentSpan(X){const ie=X.attributes?.[he.uT];if(!J.jf.navigator&&!J.jf.location&&!J.jf.document)return;const Re=(0,J.AP)();fe(X,{[yl]:"http.client"!==ie?Re.url:void 0,"http.request.header.user_agent":Re.headers["User-Agent"],"http.request.header.referer":Re.headers.Referer})}})),cp=(0,C._C)(()=>({name:"CultureContext",preprocessEvent(X){const ie=El();ie&&(X.contexts={...X.contexts,culture:{...ie,...X.contexts?.culture}})},processSegmentSpan(X){const ie=El();ie&&fe(X,{"culture.locale":ie.locale,"culture.timezone":ie.timezone,"culture.calendar":ie.calendar})}}));function El(){try{const X=J.jf.Intl;if(!X)return;const ie=X.DateTimeFormat().resolvedOptions();return{locale:ie.locale,timezone:ie.timeZone,calendar:ie.calendar}}catch{return}}var Uc=h(92050);function Td(X,ie,Re){Uc.j.document&&Uc.j.addEventListener(X,ie,Re)}function w_(X,ie,Re){Uc.j.document&&Uc.j.removeEventListener(X,ie,Re)}var Uo=h(40573);const Ku=(0,C._C)((X={})=>{const ie=X.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(typeof J.jf.document>"u")return void(U.T&&f.Yz.warn("Using the `browserSessionIntegration` in non-browser environments is not supported."));(0,m.J0)({ignoreDuration:!0});let Re=!1;(X=>{const ie=Uc.j.requestIdleCallback||Uc.j.setTimeout;"hidden"===Uc.j.document?.visibilityState?X():(X=(X=>{let ie=!1;return()=>{ie||(X(),ie=!0)}})(X),Td("visibilitychange",X,{once:!0,capture:!0}),Td("pagehide",X,{once:!0,capture:!0}),ie(()=>{X(),w_("visibilitychange",X,{capture:!0}),w_("pagehide",X,{capture:!0})}))})(()=>{Re||((0,m.J5)(),Re=!0)});const ot=(0,s.rm)();let Ut=ot.getUser();ot.addScopeListener(Qt=>{const vn=Qt.getUser();(Ut?.id!==vn?.id||Ut?.ip_address!==vn?.ip_address)&&(Ut=vn,Re&&(0,m.J5)())}),"route"===ie&&(0,Uo._)(({from:Qt,to:vn})=>{Qt!==vn&&((0,m.J0)({ignoreDuration:!0}),(0,m.J5)(),Re=!0)})}}});var eo=h(23602);function nl(X){const ie=[];X.message&&ie.push(X.message);try{const Re=X.exception.values[X.exception.values.length-1];Re?.value&&(ie.push(Re.value),Re.type&&ie.push(`${Re.type}: ${Re.value}`))}catch{}return ie}var Ua=h(63392),il=h(16525);const Vm=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],x_=(0,C._C)((X={})=>{let ie;return{name:"EventFilters",setup(Re){const ot=Re.getOptions();ie=D_(X,ot)},processEvent(Re,ot,Ut){if(!ie){const Qt=Ut.getOptions();ie=D_(X,Qt)}return function jm(X,ie){if(X.type){if("transaction"===X.type&&function d(X,ie){if(!ie?.length)return!1;const Re=X.transaction;return!!Re&&(0,il.Xr)(Re,ie)}(X,ie.ignoreTransactions))return eo.T&&f.Yz.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,Ua.$X)(X)}`),!0}else{if(function gf(X,ie){return!!ie?.length&&nl(X).some(Re=>(0,il.Xr)(Re,ie))}(X,ie.ignoreErrors))return eo.T&&f.Yz.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,Ua.$X)(X)}`),!0;if(function Ct(X){return!!X.exception?.values?.length&&(!X.message&&!X.exception.values.some(ie=>ie.stacktrace||ie.type&&"Error"!==ie.type||ie.value))}(X))return eo.T&&f.Yz.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${(0,Ua.$X)(X)}`),!0;if(function _(X,ie){if(!ie?.length)return!1;const Re=nt(X);return!!Re&&(0,il.Xr)(Re,ie)}(X,ie.denyUrls))return eo.T&&f.Yz.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,Ua.$X)(X)}.\nUrl: ${nt(X)}`),!0;if(!function W(X,ie){if(!ie?.length)return!0;const Re=nt(X);return!Re||(0,il.Xr)(Re,ie)}(X,ie.allowUrls))return eo.T&&f.Yz.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,Ua.$X)(X)}.\nUrl: ${nt(X)}`),!0}return!1}(Re,ie)?null:Re}}}),$m=(0,C._C)((X={})=>({...x_(X),name:"InboundFilters"}));function D_(X={},ie={}){return{allowUrls:[...X.allowUrls||[],...ie.allowUrls||[]],denyUrls:[...X.denyUrls||[],...ie.denyUrls||[]],ignoreErrors:[...X.ignoreErrors||[],...ie.ignoreErrors||[],...X.disableErrorDefaults?[]:Vm],ignoreTransactions:[...X.ignoreTransactions||[],...ie.ignoreTransactions||[]]}}function nt(X){try{const Re=[...X.exception?.values??[]].reverse().find(ot=>void 0===ot.mechanism?.parent_id&&ot.stacktrace?.frames?.length)?.stacktrace?.frames;return Re?function we(X=[]){for(let ie=X.length-1;ie>=0;ie--){const Re=X[ie];if(Re&&"<anonymous>"!==Re.filename&&"[native code]"!==Re.filename)return Re.filename||null}return null}(Re):null}catch{return eo.T&&f.Yz.error(`Cannot extract url for event ${(0,Ua.$X)(X)}`),null}}var nn=h(52867);const Dn=new WeakMap,oi=(0,C._C)(()=>({name:"FunctionToString",setupOnce(){const X=Function.prototype.toString;try{Function.prototype.toString=function(...ie){const Re=(0,nn.sp)(this);let ot;try{Dn.has((0,s.KU)())&&void 0!==Re&&(ot=Re)}catch{}return X.apply(ot??this,ie)}}catch{}},setup(X){Dn.set(X,!0)}}));var jn=h(75937);const yr=(0,C._C)(()=>({name:"ConversationId",setup(X){X.on("spanStart",ie=>{const Re=(0,s.o5)().getScopeData(),ot=(0,s.rm)().getScopeData(),Ut=Re.conversationId||ot.conversationId;if(Ut){const{op:Qt,data:vn,description:$n}=(0,jn.et)(ie);if(!Qt?.startsWith("gen_ai.")&&!vn["ai.operationId"]&&!$n?.startsWith("ai."))return;ie.setAttribute(he.Fy,Ut)}})}}));var Hr=h(58629);const Io=(0,C._C)(()=>{let X;return{name:"Dedupe",processEvent(ie){if(ie.type)return ie;try{if(function Wc(X,ie){return!!ie&&!(!function Wa(X,ie){const Re=X.message,ot=ie.message;return!(!Re&&!ot||Re&&!ot||!Re&&ot||Re!==ot||!Vc(X,ie)||!$s(X,ie))}(X,ie)&&!function _a(X,ie){const Re=ru(ie),ot=ru(X);return!!(Re&&ot&&Re.type===ot.type&&Re.value===ot.value&&Vc(X,ie)&&$s(X,ie))}(X,ie))}(ie,X))return eo.T&&f.Yz.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return X=ie}}});function $s(X,ie){let Re=(0,Hr.RV)(X),ot=(0,Hr.RV)(ie);if(!Re&&!ot)return!0;if(Re&&!ot||!Re&&ot||ot.length!==Re.length)return!1;for(let Ut=0;Ut<ot.length;Ut++){const Qt=ot[Ut],vn=Re[Ut];if(Qt.filename!==vn.filename||Qt.lineno!==vn.lineno||Qt.colno!==vn.colno||Qt.function!==vn.function)return!1}return!0}function Vc(X,ie){let Re=X.fingerprint,ot=ie.fingerprint;if(!Re&&!ot)return!0;if(Re&&!ot||!Re&&ot)return!1;try{return Re.join("")===ot.join("")}catch{return!1}}function ru(X){return X.exception?.values?.[0]}var Gu=h(87450);function Pw(X,ie){!0===ie.debug&&(eo.T?f.Yz.enable():(0,f.pq)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,s.o5)().update(ie.initialScope);const ot=new X(ie);return function fo(X){(0,s.o5)().setClient(X)}(ot),ot.init(),ot}var rh=h(29293),oh=h(64657),kd=h(41807);function T0(X){return!!X&&"function"==typeof X&&"_streamed"in X&&!!X._streamed}var sh=h(50240),ah=h(99043);function Id(X,ie=[]){return[X,ie]}function C_(X,ie){const[Re,ot]=X;return[Re,[...ot,ie]]}function T_(X,ie){const Re=X[1];for(const ot of Re){if(ie(ot,ot[0].type))return!0}return!1}function Hm(X){const ie=(0,sh.Se)(R.O);return ie.encodePolyfill?ie.encodePolyfill(X):(new TextEncoder).encode(X)}function Nw(X){const[ie,Re]=X;let ot=JSON.stringify(ie);function Ut(Qt){"string"==typeof ot?ot="string"==typeof Qt?ot+Qt:[Hm(ot),Qt]:ot.push("string"==typeof Qt?Hm(Qt):Qt)}for(const Qt of Re){const[vn,$n]=Qt;if(Ut(`\n${JSON.stringify(vn)}\n`),"string"==typeof $n||$n instanceof Uint8Array)Ut($n);else{let ei;try{ei=JSON.stringify($n)}catch{ei=JSON.stringify((0,Gu.S8)($n))}Ut(ei)}}return"string"==typeof ot?ot:function Lw(X){const ie=X.reduce((Ut,Qt)=>Ut+Qt.length,0),Re=new Uint8Array(ie);let ot=0;for(const Ut of X)Re.set(Ut,ot),ot+=Ut.length;return Re}(ot)}function Bw(X){return[{type:"span"},X]}function Fw(X){const ie="string"==typeof X.data?Hm(X.data):X.data;return[{type:"attachment",length:ie.length,filename:X.filename,content_type:X.contentType,attachment_type:X.attachmentType},ie]}const M0={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function k_(X){return function Uw(X){return X in M0}(X)?M0[X]:X}function A0(X){if(!X?.sdk)return;const{name:ie,version:Re}=X.sdk;return{name:ie,version:Re}}function O0(X){f.Yz.log(`Ignoring span ${X.op} - ${X.description} because it matches \`ignoreSpans\`.`)}function zm(X,ie){if(!ie?.length)return!1;for(const Re of ie){if(I_(Re)){if(X.description&&(0,il._c)(X.description,Re))return eo.T&&O0(X),!0;continue}const ot=!!Re.attributes&&Object.keys(Re.attributes).length>0;if(!Re.name&&!Re.op&&!ot)continue;const Ut=!Re.name||X.description&&(0,il._c)(X.description,Re.name),Qt=!Re.op||X.op&&(0,il._c)(X.op,Re.op),vn=!Re.attributes||Object.entries(Re.attributes).every(([$n,ei])=>Vw(X.attributes?.[$n],ei));if(Ut&&Qt&&vn)return eo.T&&O0(X),!0}return!1}function Vw(X,ie){return"string"==typeof X&&("string"==typeof ie||ie instanceof RegExp)?(0,il._c)(X,ie):Array.isArray(X)&&Array.isArray(ie)?X.length===ie.length&&X.every((Re,ot)=>Re===ie[ot]):X===ie}function $w(X,ie){const Re=ie.parent_span_id,ot=ie.span_id;if(Re)for(const Ut of X)Ut.parent_span_id===ot&&(Ut.parent_span_id=Re)}function I_(X){return"string"==typeof X||X instanceof RegExp}function py(X,ie,Re,ot){const Ut=A0(Re),Qt=X.type&&"replay_event"!==X.type?X.type:"event";!function jw(X,ie){if(!ie)return X;const Re=X.sdk||{};return X.sdk={...Re,name:Re.name||ie.name,version:Re.version||ie.version,integrations:[...X.sdk?.integrations||[],...ie.integrations||[]],packages:[...X.sdk?.packages||[],...ie.packages||[]],settings:X.sdk?.settings||ie.settings?{...X.sdk?.settings,...ie.settings}:void 0},X}(X,Re?.sdk);const vn=function Ww(X,ie,Re,ot){const Ut=X.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:X.event_id,sent_at:new Date((0,ah.Wk)()).toISOString(),...ie&&{sdk:ie},...!!Re&&ot&&{dsn:(0,P.SB)(ot)},...Ut&&{trace:Ut}}}(X,Ut,ot,ie);return delete X.sdkProcessingMetadata,Id(vn,[[{type:Qt},X]])}function N0(){return!function P0(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}()&&"[object process]"===Object.prototype.toString.call(typeof process<"u"?process:0)}function M_(){return typeof window<"u"&&(!N0()||function L0(){return"renderer"===R.O.process?.type}())}function zw(X,ie){const Re=ie?"auto":"never";return[{type:"log",item_count:X.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...M_()&&{ingest_settings:{infer_ip:Re,infer_user_agent:Re}},items:X}]}function O_(X,ie){const Re=ie??yy(X)??[];if(0===Re.length)return;const ot=X.getOptions(),Ut=function $x(X,ie,Re,ot,Ut){const Qt={};return ie?.sdk&&(Qt.sdk={name:ie.sdk.name,version:ie.sdk.version}),Re&&ot&&(Qt.dsn=(0,P.SB)(ot)),Id(Qt,[zw(X,Ut)])}(Re,ot._metadata,ot.tunnel,X.getDsn(),X.getDataCollectionOptions().userInfo);wl().set(X,[]),X.emit("flushLogs"),X.sendEnvelope(Ut)}function yy(X){return wl().get(X)}function wl(){return(0,sh.BY)("clientToLogBufferMap",()=>new WeakMap)}function Xw(X,ie){const Re=ie?"auto":"never";return[{type:"trace_metric",item_count:X.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...M_()&&{ingest_settings:{infer_ip:Re,infer_user_agent:Re}},items:X}]}function xy(X,ie){const Re=ie??Dy(X)??[];if(0===Re.length)return;const ot=X.getOptions(),Ut=function j0(X,ie,Re,ot,Ut){const Qt={};return ie?.sdk&&(Qt.sdk={name:ie.sdk.name,version:ie.sdk.version}),Re&&ot&&(Qt.dsn=(0,P.SB)(ot)),Id(Qt,[Xw(X,Ut)])}(Re,ot._metadata,ot.tunnel,X.getDsn(),X.getDataCollectionOptions().userInfo);R_().set(X,[]),X.emit("flushMetrics"),X.sendEnvelope(Ut)}function Dy(X){return R_().get(X)}function R_(){return(0,sh.BY)("clientToMetricBufferMap",()=>new WeakMap)}var Cy=h(41088);function up(X){return"stream"===X.getOptions().traceLifecycle}function Yw(X){const ie={trace_id:X.trace_id,span_id:X.span_id,parent_span_id:X.parent_span_id,name:X.description||"",start_timestamp:X.start_timestamp,end_timestamp:X.timestamp||X.start_timestamp,status:X.status&&"ok"!==X.status&&"cancelled"!==X.status?"error":"ok",is_segment:!1,attributes:{...X.data},links:X.links};return(0,jn.PL)(ie)}var uh=h(68089);var Hx=h(71174);function Y0(X){if("boolean"==typeof X)return Number(X);const ie="string"==typeof X?parseFloat(X):X;return"number"!=typeof ie||isNaN(ie)||ie<0||ie>1?void 0:ie}var Jw=h(92967),qm=h(78874);function Z0(X){return"object"==typeof X&&"function"==typeof X.unref&&X.unref(),X}const rl=Symbol.for("SentryBufferFullError");function Qu(X=100){const ie=new Set;function ot(vn){ie.delete(vn)}return{get $(){return Array.from(ie)},add:function Ut(vn){if(!function Re(){return ie.size<X}())return(0,qm.xg)(rl);const $n=vn();return ie.add($n),$n.then(()=>ot($n),()=>ot($n)),$n},drain:function Qt(vn){if(!ie.size)return(0,qm.XW)(!0);const $n=Promise.allSettled(Array.from(ie)).then(()=>!0);if(!vn)return $n;const ei=[$n,new Promise(qn=>Z0(setTimeout(()=>qn(!1),vn)))];return Promise.race(ei)}}}const N_=["forwarded","-ip","remote-","via","-user"];const Kx={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5};function nS(X){const ie=null!=X.dataCollection?Kx:function zx(X){return!0===X?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:N_},httpHeaders:{request:{deny:N_},response:{deny:N_}},httpBodies:[],urlQueryParams:{deny:N_},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7}}(X.sendDefaultPii),Re=X.dataCollection??{};return{userInfo:Re.userInfo??ie.userInfo,cookies:Re.cookies??ie.cookies,httpHeaders:{request:Re.httpHeaders?.request??ie.httpHeaders.request,response:Re.httpHeaders?.response??ie.httpHeaders.response},httpBodies:Re.httpBodies??ie.httpBodies,urlQueryParams:Re.urlQueryParams??Re.queryParams??ie.urlQueryParams,graphQL:{document:Re.graphQL?.document??ie.graphQL.document,variables:Re.graphQL?.variables??ie.graphQL.variables},genAI:{inputs:Re.genAI?.inputs??ie.genAI.inputs,outputs:Re.genAI?.outputs??ie.genAI.outputs},databaseQueryData:Re.databaseQueryData??ie.databaseQueryData,stackFrameVariables:Re.stackFrameVariables??ie.stackFrameVariables,frameContextLines:Re.frameContextLines??ie.frameContextLines}}const Ty="Not capturing exception because it's already been captured.",L_="Discarded session because of missing or non-string release",B_=Symbol.for("SentryInternalError"),ky=Symbol.for("SentryDoNotSendEventError");function Ym(X){return{message:X,[B_]:!0}}function eE(X){return{message:X,[ky]:!0}}function rS(X){return(0,Ee.Z4)(X)&&B_ in X}function Iy(X){return(0,Ee.Z4)(X)&&ky in X}function My(X,ie,Re,ot,Ut){let vn,Qt=0,$n=!1;X.on(Re,()=>{Qt=0,clearTimeout(vn),$n=!1}),X.on(ie,ei=>{if(Qt+=ot(ei),Qt>=8e5)Ut(X);else if(!$n){const qn=X.getOptions()._flushInterval??5e3;qn>0&&($n=!0,vn=Z0(setTimeout(()=>{Ut(X)},qn)))}}),X.on("flush",()=>{Ut(X)})}class oS{constructor(ie){if(this._options=ie,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Qu(ie.transportOptions?.bufferSize??64),this._dataCollection=nS(ie),ie.dsn?this._dsn=(0,P.AD)(ie.dsn):eo.T&&f.Yz.warn("No DSN provided, client will not send events."),this._dsn){const ot=N(this._dsn,ie.tunnel,ie._metadata?ie._metadata.sdk:void 0);this._transport=ie.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...ie.transportOptions,url:ot})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&My(this,"afterCaptureLog","flushLogs",Gx,O_),(this._options.enableMetrics??this._options._experiments?.enableMetrics??1)&&My(this,"afterCaptureMetric","flushMetrics",sS,xy)}captureException(ie,Re,ot){const Ut=(0,Ua.eJ)();if((0,Ua.GR)(ie))return eo.T&&f.Yz.log(Ty),Ut;const Qt={event_id:Ut,...Re};return this._process(()=>this.eventFromException(ie,Qt).then(vn=>this._captureEvent(vn,Qt,ot)).then(vn=>vn),"error"),Qt.event_id}captureMessage(ie,Re,ot,Ut){const Qt={event_id:(0,Ua.eJ)(),...ot},vn=(0,Ee.NF)(ie)?ie:String(ie),$n=(0,Ee.sO)(ie),ei=$n?this.eventFromMessage(vn,Re,Qt):this.eventFromException(ie,Qt);return this._process(()=>ei.then(qn=>this._captureEvent(qn,Qt,Ut)),$n?"unknown":"error"),Qt.event_id}captureEvent(ie,Re,ot){const Ut=(0,Ua.eJ)();if(Re?.originalException&&(0,Ua.GR)(Re.originalException))return eo.T&&f.Yz.log(Ty),Ut;const Qt={event_id:Ut,...Re},vn=ie.sdkProcessingMetadata||{},$n=vn.capturedSpanScope,ei=vn.capturedSpanIsolationScope,qn=Ay(ie.type);return this._process(()=>this._captureEvent(ie,Qt,$n||ot,ei),qn),Qt.event_id}captureSession(ie){this.sendSession(ie),(0,Cy.qO)(ie,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(ie){var Re=this;return rh(function*(){const ot=Re._transport;if(Re.emit("flush"),!ot)return!0;const Ut=yield Re._isClientDoneProcessing(ie),Qt=yield ot.flush(ie);return Ut&&Qt})()}close(ie){var Re=this;return rh(function*(){const ot=yield Re.flush(ie);return Re.getOptions().enabled=!1,Re.emit("close"),ot})()}getEventProcessors(){return this._eventProcessors}addEventProcessor(ie){this._eventProcessors.push(ie)}init(){(this._isEnabled()||this._options.integrations.some(({name:ie})=>ie.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(ie){return this._integrations[ie]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(ie){const Re=this._integrations[ie.name];!Re&&ie.beforeSetup&&ie.beforeSetup(this),(0,C.qm)(this,ie,this._integrations),Re||(0,C.lc)(this,[ie])}sendEvent(ie,Re={}){this.emit("beforeSendEvent",ie,Re);const ot=function Zw(X,ie){if("transaction"!==X.type||!X.spans?.length||!X.sdkProcessingMetadata?.hasGenAiSpans||!1===ie.getOptions().streamGenAiSpans||up(ie))return;const Re=[],ot=[];for(const Qt of X.spans)Qt.op?.startsWith("gen_ai.")?Re.push(Yw(Qt)):ot.push(Qt);if(0===Re.length)return;X.spans=ot;const Ut=ie.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:Re.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...M_()&&{ingest_settings:{infer_ip:Ut,infer_user_agent:Ut}},items:Re}]}(ie,this);let Ut=py(ie,this._dsn,this._options._metadata,this._options.tunnel);for(const Qt of Re.attachments||[])Ut=C_(Ut,Fw(Qt));ot&&(Ut=C_(Ut,ot)),this.sendEnvelope(Ut).then(Qt=>this.emit("afterSendEvent",ie,Qt))}sendSession(ie){const{release:Re,environment:ot=oh.U}=this._options;if("aggregates"in ie){const Qt=ie.attrs||{};if(!Qt.release&&!Re)return void(eo.T&&f.Yz.warn(L_));Qt.release=Qt.release||Re,Qt.environment=Qt.environment||ot,ie.attrs=Qt}else{if(!ie.release&&!Re)return void(eo.T&&f.Yz.warn(L_));ie.release=ie.release||Re,ie.environment=ie.environment||ot}this.emit("beforeSendSession",ie);const Ut=function Km(X,ie,Re,ot){const Ut=A0(Re);return Id({sent_at:new Date((0,ah.Wk)()).toISOString(),...Ut&&{sdk:Ut},...!!ot&&ie&&{dsn:(0,P.SB)(ie)}},["aggregates"in X?[{type:"sessions"},X]:[{type:"session"},X.toJSON()]])}(ie,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(Ut)}recordDroppedEvent(ie,Re,ot=1){if(this._options.sendClientReports){const Ut=`${ie}:${Re}`;eo.T&&f.Yz.log(`Recording outcome: "${Ut}"${ot>1?` (${ot} times)`:""}`),this._outcomes[Ut]=(this._outcomes[Ut]||0)+ot}}on(ie,Re){const ot=this._hooks[ie]=this._hooks[ie]||new Set,Ut=(...Qt)=>Re(...Qt);return ot.add(Ut),()=>{ot.delete(Ut)}}emit(ie,...Re){const ot=this._hooks[ie];ot&&ot.forEach(Ut=>Ut(...Re))}sendEnvelope(ie){var Re=this;return rh(function*(){if(Re.emit("beforeEnvelope",ie),Re._isEnabled()&&Re._transport)try{return yield Re._transport.send(ie)}catch(ot){return eo.T&&f.Yz.error("Error while sending envelope:",ot),{}}return eo.T&&f.Yz.error("Transport disabled"),{}})()}registerCleanup(ie){}dispose(){}_setupIntegrations(){const{integrations:ie}=this._options;this._integrations=(0,C.P$)(this,ie),(0,C.lc)(this,ie)}_updateSessionFromEvent(ie,Re){let ot="fatal"===Re.level,Ut=!1;const Qt=Re.exception?.values;if(Qt){Ut=!0,ot=!1;for(const ei of Qt)if(!1===ei.mechanism?.handled){ot=!0;break}}const vn="ok"===ie.status;(vn&&0===ie.errors||vn&&ot)&&((0,Cy.qO)(ie,{...ot&&{status:"crashed"},errors:ie.errors||Number(Ut||ot)}),this.captureSession(ie))}_isClientDoneProcessing(ie){var Re=this;return rh(function*(){let ot=0;for(;!ie||ot<ie;){if(yield new Promise(Ut=>setTimeout(Ut,1)),!Re._numProcessing)return!0;ot++}return!1})()}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(ie,Re,ot,Ut){const Qt=this.getOptions(),vn=this.getIntegrationNames();return!Re.integrations&&vn.length&&(Re.integrations=vn),this.emit("preprocessEvent",ie,Re),ie.type||Ut.setLastEventId(ie.event_id||Re.event_id),(0,Jw.mG)(Qt,ie,Re,ot,this,Ut).then($n=>{if(null===$n)return $n;this.emit("postprocessEvent",$n,Re),$n.contexts={trace:{...$n.contexts?.trace,...(0,s.vn)(ot)},...$n.contexts};const ei=(0,kd.ao)(this,ot);return $n.sdkProcessingMetadata={dynamicSamplingContext:ei,...$n.sdkProcessingMetadata},$n})}_captureEvent(ie,Re={},ot=(0,s.o5)(),Ut=(0,s.rm)()){return eo.T&&Zm(ie)&&f.Yz.log(`Captured error event \`${nl(ie)[0]||"<unknown>"}\``),this._processEvent(ie,Re,ot,Ut).then(Qt=>Qt.event_id,Qt=>{eo.T&&(Iy(Qt)?f.Yz.log(Qt.message):rS(Qt)?f.Yz.warn(Qt.message):f.Yz.warn(Qt))})}_processEvent(ie,Re,ot,Ut){const Qt=this.getOptions(),{sampleRate:vn}=Qt,$n=Oy(ie),ei=Zm(ie),Ji=`before send for type \`${ie.type||"error"}\``,Li=typeof vn>"u"?void 0:Y0(vn);if(ei&&"number"==typeof Li&&(0,ah.hY)()>Li)return this.recordDroppedEvent("sample_rate","error"),(0,qm.xg)(eE(`Discarding event because it's not included in the random sample (sampling rate = ${vn})`));const Ir=Ay(ie.type);return this._prepareEvent(ie,Re,ot,Ut).then(Si=>{if(null===Si)throw this.recordDroppedEvent("event_processor",Ir),eE("An event processor returned `null`, will not send event.");if(!0===Re.data?.__sentry__)return Si;const Zo=function nE(X,ie,Re,ot){const{beforeSend:Ut,beforeSendTransaction:Qt,ignoreSpans:vn}=ie,$n=!T0(ie.beforeSendSpan)&&ie.beforeSendSpan;let ei=Re;if(Zm(ei)&&Ut)return Ut(ei,ot);if(Oy(ei)){if($n||vn){const qn=function dh(X){const{trace_id:ie,parent_span_id:Re,span_id:ot,status:Ut,origin:Qt,data:vn,op:$n}=X.contexts?.trace??{};return{data:vn??{},description:X.transaction,op:$n,parent_span_id:Re,span_id:ot??"",start_timestamp:X.start_timestamp??0,status:Ut,timestamp:X.timestamp,trace_id:ie??"",origin:Qt,profile_id:vn?.[he.E1],exclusive_time:vn?.[he.jG],measurements:X.measurements,is_segment:!0}}(ei);if(vn?.length&&zm({description:qn.description,op:qn.op,attributes:qn.data},vn))return null;if($n){const Ji=$n(qn);Ji?ei=(0,Hx.h)(Re,function eS(X){return{type:"transaction",timestamp:X.timestamp,start_timestamp:X.start_timestamp,transaction:X.description,contexts:{trace:{trace_id:X.trace_id,span_id:X.span_id,parent_span_id:X.parent_span_id,op:X.op,status:X.status,origin:X.origin,data:{...X.data,...X.profile_id&&{[he.E1]:X.profile_id},...X.exclusive_time&&{[he.jG]:X.exclusive_time}}}},measurements:X.measurements}}(Ji)):(0,jn.xl)()}if(ei.spans){const Ji=[],Li=ei.spans;for(const Si of Li)if(vn?.length&&zm({description:Si.description,op:Si.op,attributes:Si.data},vn))$w(Li,Si);else if($n){const zr=$n(Si);zr?Ji.push(zr):((0,jn.xl)(),Ji.push(Si))}else Ji.push(Si);const Ir=ei.spans.length-Ji.length;Ir&&X.recordDroppedEvent("before_send","span",Ir),ei.spans=Ji}}if(Qt){if(ei.spans){const qn=ei.spans.length;ei.sdkProcessingMetadata={...Re.sdkProcessingMetadata,spanCountBeforeProcessing:qn}}return Qt(ei,ot)}}return ei}(this,Qt,Si,Re);return function tE(X,ie){const Re=`${ie} must return \`null\` or a valid event.`;if((0,Ee.Qg)(X))return X.then(ot=>{if(!(0,Ee.Qd)(ot)&&null!==ot)throw Ym(Re);return ot},ot=>{throw Ym(`${ie} rejected with ${ot}`)});if(!(0,Ee.Qd)(X)&&null!==X)throw Ym(Re);return X}(Zo,Ji)}).then(Si=>{if(null===Si){if(this.recordDroppedEvent("before_send",Ir),$n){const Ja=1+(ie.spans||[]).length;this.recordDroppedEvent("before_send","span",Ja)}throw eE(`${Ji} returned \`null\`, will not send event.`)}const zr=ot.getSession()||Ut.getSession();if(ei&&zr&&this._updateSessionFromEvent(zr,Si),$n){const Aa=(Si.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(Si.spans?Si.spans.length:0);Aa>0&&this.recordDroppedEvent("before_send","span",Aa)}const Zo=Si.transaction_info;if($n&&Zo&&Si.transaction!==ie.transaction){const ro="custom";Si.transaction_info={...Zo,source:ro}}return this.sendEvent(Si,Re),Si}).then(null,Si=>{throw Iy(Si)||rS(Si)?Si:(this.captureException(Si,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:Si}),Ym(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${Si}`))})}_process(ie,Re){this._numProcessing++,this._promiseBuffer.add(ie).then(ot=>(this._numProcessing--,ot),ot=>(this._numProcessing--,ot===rl&&this.recordDroppedEvent("queue_overflow",Re),ot))}_clearOutcomes(){const ie=this._outcomes;return this._outcomes={},Object.entries(ie).map(([Re,ot])=>{const[Ut,Qt]=Re.split(":");return{reason:Ut,category:Qt,quantity:ot}})}_flushOutcomes(){eo.T&&f.Yz.log("Flushing outcomes...");const ie=this._clearOutcomes();if(0===ie.length)return void(eo.T&&f.Yz.log("No outcomes to send"));if(!this._dsn)return void(eo.T&&f.Yz.log("No dsn provided, will not send outcomes"));eo.T&&f.Yz.log("Sending outcomes:",ie);const Re=function q0(X,ie,Re){return Id(ie?{dsn:ie}:{},[[{type:"client_report"},{timestamp:Re||(0,uh.lu)(),discarded_events:X}]])}(ie,this._options.tunnel&&(0,P.SB)(this._dsn));this.sendEnvelope(Re)}}function Ay(X){return"replay_event"===X?"replay":X||"error"}function Zm(X){return void 0===X.type}function Oy(X){return"transaction"===X.type}function sS(X){let ie=0;return X.name&&(ie+=2*X.name.length),ie+=8,ie+Py(X.attributes)}function Gx(X){let ie=0;return X.message&&(ie+=2*X.message.length),ie+Py(X.attributes)}function Py(X){if(!X)return 0;let ie=0;return Object.values(X).forEach(Re=>{Array.isArray(Re)?ie+=Re.length*iE(Re[0]):(0,Ee.sO)(Re)?ie+=iE(Re):ie+=100}),ie}function iE(X){return"string"==typeof X?2*X.length:"number"==typeof X?8:"boolean"==typeof X?4:0}var F_=h(28922);function rE(X,ie,Re=[ie],ot="npm"){const Ut=(X._metadata=X._metadata||{}).sdk=X._metadata.sdk||{};Ut.name||(Ut.name=`sentry.javascript.${ie}`,Ut.packages=Re.map(Qt=>({name:`${ot}:@sentry/${Qt}`,version:F_.M})),Ut.version=F_.M)}function Ry(X){"aggregates"in X?void 0===X.attrs?.ip_address&&(X.attrs={...X.attrs,ip_address:"{{auto}}"}):void 0===X.ipAddress&&(X.ipAddress="{{auto}}")}class aS extends oS{constructor(ie){const Re=function cS(X){return{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:J.jf.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...X}}(ie);rE(Re,"browser",["browser"],J.jf.SENTRY_SDK_SOURCE||"npm"),super(Re);const{userInfo:Ut}=this.getDataCollectionOptions();Re._metadata?.sdk&&(Re._metadata.sdk.settings={infer_ip:Ut?"auto":"never",...Re._metadata.sdk.settings});const{sendClientReports:Qt}=this._options;J.jf.document&&J.jf.document.addEventListener("visibilitychange",()=>{"hidden"===J.jf.document.visibilityState&&(Qt&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),Ut&&this.on("beforeSendSession",Ry)}eventFromException(ie,Re){return(0,te.u)(this._options.stackParser,ie,Re,this._options.attachStacktrace)}eventFromMessage(ie,Re="info",ot){return(0,te.qv)(this._options.stackParser,ie,Re,ot,this._options.attachStacktrace)}_prepareEvent(ie,Re,ot,Ut){return ie.platform=ie.platform||"javascript",super._prepareEvent(ie,Re,ot,Ut)}}var lS=h(28248);function hh(X,ie,Re,ot){const Ut={filename:X,function:"<anonymous>"===ie?"?":ie,in_app:!0};return void 0!==Re&&(Ut.lineno=Re),void 0!==ot&&(Ut.colno=ot),Ut}const aE=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,dS=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,qx=/\((\S*)(?::(\d+))(?::(\d+))\)/,Da=/at (.+?) ?\(data:(.+?),/,ps=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,fh=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,tg=[[30,X=>{const ie=X.match(Da);if(ie)return{filename:`<data:${ie[2]}>`,function:ie[1]};const Re=aE.exec(X);if(Re){const[,Ut,Qt,vn]=Re;return hh(Ut,"?",+Qt,+vn)}const ot=dS.exec(X);if(ot){if(0===ot[2]?.indexOf("eval")){const $n=qx.exec(ot[2]);$n&&(ot[2]=$n[1],ot[3]=$n[2],ot[4]=$n[3])}const[Qt,vn]=By(ot[1]||"?",ot[2]);return hh(vn,Qt,ot[3]?+ot[3]:void 0,ot[4]?+ot[4]:void 0)}}],[50,X=>{const ie=ps.exec(X);if(ie){if(ie[3]&&ie[3].indexOf(" > eval")>-1){const Qt=fh.exec(ie[3]);Qt&&(ie[1]=ie[1]||"eval",ie[3]=Qt[1],ie[4]=Qt[2],ie[5]="")}let ot=ie[3],Ut=ie[1]||"?";return[Ut,ot]=By(Ut,ot),hh(ot,Ut,ie[4]?+ie[4]:void 0,ie[5]?+ie[5]:void 0)}}]],U_=(0,Hr.gd)(...tg),By=(X,ie)=>{const Re=-1!==X.indexOf("safari-extension"),ot=-1!==X.indexOf("safari-web-extension");return Re||ot?[-1!==X.indexOf("@")?X.split("@")[0]:"?",Re?`safari-extension:${ie}`:`safari-web-extension:${ie}`]:[X,ie]};function pc(X,{statusCode:ie,headers:Re},ot=(0,ah.Wk)()){const Ut={...X},Qt=Re?.["x-sentry-rate-limits"],vn=Re?.["retry-after"];if(Qt)for(const $n of Qt.trim().split(",")){const[ei,qn,,,Ji]=$n.split(":",5),Li=parseInt(ei,10),Ir=1e3*(isNaN(Li)?60:Li);if(qn)for(const Si of qn.split(";"))"metric_bucket"===Si?(!Ji||Ji.split(";").includes("custom"))&&(Ut[Si]=ot+Ir):Ut[Si]=ot+Ir;else Ut.all=ot+Ir}else vn?Ut.all=ot+function ng(X,ie=(0,ah.Wk)()){const Re=parseInt(`${X}`,10);if(!isNaN(Re))return 1e3*Re;const ot=Date.parse(`${X}`);return isNaN(ot)?6e4:ot-ie}(vn,ot):429===ie&&(Ut.all=ot+6e4);return Ut}function mS(X,ie,Re=Qu(X.bufferSize||64)){let ot={};return{send:function Qt(vn){const $n=[];if(T_(vn,(Li,Ir)=>{const Si=k_(Ir);!function hS(X,ie,Re=(0,ah.Wk)()){return function Sl(X,ie){return X[ie]||X.all||0}(X,ie)>Re}(ot,Si)?$n.push(Li):X.recordDroppedEvent("ratelimit_backoff",Si)}),0===$n.length)return Promise.resolve({});const ei=Id(vn[0],$n),qn=Li=>{!function k0(X,ie){return T_(X,(Re,ot)=>ie.includes(ot))}(ei,["client_report"])?T_(ei,(Ir,Si)=>{X.recordDroppedEvent(Li,k_(Si))}):eo.T&&f.Yz.warn(`Dropping client report. Will not send outcomes (reason: ${Li}).`)};return Re.add(()=>ie({body:Nw(ei)}).then(Li=>413===Li.statusCode?(eo.T&&f.Yz.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),qn("send_error"),Li):(eo.T&&void 0!==Li.statusCode&&(Li.statusCode<200||Li.statusCode>=300)&&f.Yz.warn(`Sentry responded with status code ${Li.statusCode} to sent event.`),ot=pc(ot,Li),Li),Li=>{throw qn("network_error"),eo.T&&f.Yz.error("Encountered error running transport request:",Li),Li})).then(Li=>Li,Li=>{if(Li===rl)return eo.T&&f.Yz.error("Skipped sending event because buffer is full."),qn("queue_overflow"),Promise.resolve({});throw Li})},flush:vn=>Re.drain(vn)}}var Fy=h(77920);const Uy=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,qu={};function Dr(X){const ie=qu[X];if(ie)return ie;let Re=Uc.j[X];if((0,Fy.a3)(Re))return qu[X]=Re.bind(Uc.j);const ot=Uc.j.document;if(ot&&"function"==typeof ot.createElement)try{const Ut=ot.createElement("iframe");Ut.hidden=!0,ot.head.appendChild(Ut);const Qt=Ut.contentWindow;Qt?.[X]&&(Re=Qt[X]),ot.head.removeChild(Ut)}catch(Ut){Uy&&f.Yz.warn(`Could not create sandbox iframe for ${X} check, bailing to window.${X}: `,Ut)}return Re&&(qu[X]=Re.bind(Uc.j))}function Ef(X,ie=Dr("fetch")){let Re=0,ot=0;function Qt(){return Qt=rh(function*(vn){const $n=vn.body.length;Re+=$n,ot++;const ei={body:vn.body,method:"POST",referrerPolicy:"strict-origin",headers:X.headers,keepalive:Re<=6e4&&ot<15,...X.fetchOptions};try{const qn=yield ie(X.url,ei);return{statusCode:qn.status,headers:{"x-sentry-rate-limits":qn.headers.get("X-Sentry-Rate-Limits"),"retry-after":qn.headers.get("Retry-After")}}}catch(qn){throw function eD(X){qu[X]=void 0}("fetch"),qn}finally{Re-=$n,ot--}}),Qt.apply(this,arguments)}return mS(X,function Ut(vn){return Qt.apply(this,arguments)},Qu(X.bufferSize||40))}var pE=h(11143);const V_=/^HTML(\w*)Element$/;function nD(X){if(typeof window<"u"&&X===window)return"[Window]";if(typeof document<"u"&&X===document)return"[Document]";if(function W_(X){if(typeof Element>"u")return!1;try{return X instanceof Element}catch{return!1}}(X)){const ie=function gS(X){const ie=Object.getPrototypeOf(X);return ie?.constructor?ie.constructor.name:"null prototype"}(X);if(V_.test(ie))return`[HTMLElement: ${(0,pE.H)(X)}]`}}function wf(){return!!function hE(){if(typeof J.jf.window>"u")return!1;const X=J.jf;if(X.nw||!(X.chrome||X.browser)?.runtime?.id)return!1;const Re=(0,oe.$N)();return!(J.jf===J.jf.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(Re))}()&&(U.T&&(0,f.pq)(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0)}function _S(X={}){const ie=!X.skipBrowserExtensionCheck&&wf();let Re=null==X.defaultIntegrations?function dp(X){return[$m(),oi(),yr(),(0,lS.G)(),(0,T.F)(),Le(),(0,et.p)(),Io(),ar(),cp(),Ku()]}():X.defaultIntegrations;const ot={...X,enabled:!ie&&X.enabled,stackParser:(0,Hr.vk)(X.stackParser||U_),integrations:(0,C.mH)({integrations:X.integrations,defaultIntegrations:Re}),transport:X.transport||Ef};return(0,Gu.Ip)(nD),Pw(aS,ot)}function Vy(X){try{return new URL(X,Uc.j.location.origin).toString()}catch{return X}}const H_={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};const cg={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function Ad(X,ie,Re){const{url:ot,isRedirect:Ut}=Re||{};X.emit("beforeStartNavigationSpan",ie,{isRedirect:Ut,url:ot}),X.emit("startNavigationSpan",ie,{isRedirect:Ut,url:ot});const Qt=(0,s.o5)();return Qt.setTransactionName(ie.name),ot&&!Ut&&Qt.setSDKProcessingMetadata({normalizedRequest:{...(0,J.AP)(),url:ot}}),fg(X)}const Yu="_sentry_idleSpan";function fg(X){return X[Yu]}var jE=h(79679),mp=h(73456),rb=h(99741);var jl=h(62604),ob=h(70477);function sb(X){if(!X||0===X.length)return;const ie={};return X.forEach(Re=>{const ot=Re.attributes||{},Ut=ot[he.Sn],Qt=ot[he.xc];"string"==typeof Ut&&"number"==typeof Qt&&(ie[Re.name]={value:Qt,unit:Ut})}),ie}function KE(){return(0,sh.Se)((0,sh.EU)()).segmentSpanCaptureStrategy}var Hl=h(88);class ab{constructor(ie={}){this._traceId=ie.traceId||(0,ob.e)(),this._spanId=ie.spanId||(0,ob.Z)(),this._startTime=ie.startTimestamp||(0,uh.zf)(),this._links=ie.links,this._attributes={},this.setAttributes({[he.JD]:"manual",[he.uT]:ie.op,...ie.attributes}),this._name=ie.name,ie.parentSpanId&&(this._parentSpanId=ie.parentSpanId),"sampled"in ie&&(this._sampled=ie.sampled),ie.endTimestamp&&(this._endTime=ie.endTimestamp),this._events=[],this._isStandaloneSpan=ie.isStandalone,this._endTime&&this._onSpanEnded()}addLink(ie){return this._frozen||(this._links?this._links.push(ie):this._links=[ie]),this}addLinks(ie){return this._frozen||(this._links?this._links.push(...ie):this._links=ie),this}recordException(ie,Re){}spanContext(){const{_spanId:ie,_traceId:Re,_sampled:ot}=this;return{spanId:ie,traceId:Re,traceFlags:ot?1:0}}setAttribute(ie,Re){return this._frozen||(void 0===Re?delete this._attributes[ie]:this._attributes[ie]=Re,ie===he.i_&&void 0!==Re&&(0,Hl.ZO)(this)&&(0,Hl.jF)(this)),this}setAttributes(ie){return Object.keys(ie).forEach(Re=>this.setAttribute(Re,ie[Re])),this}updateStartTime(ie){this._frozen||(this._startTime=(0,jn.cI)(ie))}setStatus(ie){return this._frozen||(this._status=ie),this}updateName(ie){return this._frozen||(this._name=ie,(0,Hl.ZO)(this)||this.setAttribute(he.i_,"custom")),this}end(ie){this._endTime||(this._endTime=(0,jn.cI)(ie),function Va(X){if(!eo.T)return;const{description:ie="< unknown name >",op:Re="< unknown op >"}=(0,jn.et)(X),{spanId:ot}=X.spanContext(),vn=`[Tracing] Finishing "${Re}" ${(0,jn.zU)(X)===X?"root ":""}span "${ie}" with ID ${ot}`;f.Yz.log(vn)}(this),this._onSpanEnded()),this._frozen=(0,Hl.rh)(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[he.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,jn.yW)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[he.JD],profile_id:this._attributes[he.E1],exclusive_time:this._attributes[he.jG],measurements:sb(this._events),is_segment:this._isStandaloneSpan&&(0,jn.zU)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,jn.zU)(this).spanContext().spanId:void 0,links:(0,jn.uU)(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===(0,jn.zU)(this),status:(0,jn.dZ)(this._status),attributes:(0,jn.fy)(this._attributes,this._status),links:(0,jn.HQ)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(ie,Re,ot){if(this._frozen)return this;eo.T&&f.Yz.log("[Tracing] Adding an event to span:",ie);const Ut=XE(Re)?Re:ot||(0,uh.zf)(),Qt=XE(Re)?{}:Re||{},vn={name:ie,time:(0,jn.cI)(Ut),attributes:Qt};return this._events.push(vn),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const ie=(0,s.KU)();ie&&(ie.emit("spanEnd",this),this._isStandaloneSpan||ie.emit("afterSpanEnd",this));const Re=(0,jn.zU)(this),ot=this._isStandaloneSpan||this===Re;if(this._isStandaloneSpan)return void(this._sampled?function QS(X){const ie=(0,s.KU)();if(!ie)return;const Re=X[1];if(!Re||0===Re.length)return void ie.recordDroppedEvent("before_send","span");ie.sendEnvelope(X)}(function hy(X,ie){const ot=(0,kd.k1)(X[0]),Ut=ie?.getDsn(),Qt=ie?.getOptions().tunnel,vn={sent_at:new Date((0,ah.Wk)()).toISOString(),...function Re(Si){return!!Si.trace_id&&!!Si.public_key}(ot)&&{trace:ot},...!!Qt&&Ut&&{dsn:(0,P.SB)(Ut)}},{beforeSendSpan:$n,ignoreSpans:ei}=ie?.getOptions()||{},qn=ei?.length?X.filter(Si=>{const zr=(0,jn.et)(Si);return!zm({description:zr.description,op:zr.op,attributes:zr.data},ei)}):X,Ji=X.length-qn.length;Ji&&ie?.recordDroppedEvent("before_send","span",Ji);const Li=$n?Si=>{const zr=(0,jn.et)(Si);return(T0($n)?zr:$n(zr))||((0,jn.xl)(),zr)}:jn.et,Ir=[];for(const Si of qn){const zr=Li(Si);zr&&Ir.push(Bw(zr))}return Id(vn,Ir)}([this],ie)):(eo.T&&f.Yz.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),ie&&ie.recordDroppedEvent("sample_rate","span")));if(!ot){const vn=KE();if(vn){const $n=(0,Hl.Lb)(this).scope||(0,s.o5)();vn.onChildSpanEnded(this,Re,ei=>this._convertSpanToTransaction(ei),$n)}return}if(ie&&up(ie))return void ie.emit("afterSegmentSpanEnd",this);const Ut=(0,Hl.Lb)(this).scope||(0,s.o5)(),Qt=KE();if(Qt)Qt.onSegmentSpanEnded(vn=>this._convertSpanToTransaction(vn),Ut);else{const vn=this._convertSpanToTransaction();vn&&Ut.captureEvent(vn)}}_convertSpanToTransaction(ie={}){if(!QE((0,jn.et)(this)))return;this._name||(eo.T&&f.Yz.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:Re,isolationScope:ot}=(0,Hl.Lb)(this),Ut=Re?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;ie.onSpanCaptured?.(this);const Qt=[];for(const Li of(0,jn.xO)(this)){if(Li===this||XS(Li)||ie.isSpanAlreadyCaptured?.(Li))continue;const Ir=(0,jn.et)(Li);QE(Ir)&&(ie.onSpanCaptured?.(Li),Qt.push(Ir))}const vn=this._attributes[he.i_];delete this._attributes[he.Le];let $n=!1;Qt.forEach(Li=>{delete Li.data[he.Le],Li.op?.startsWith("gen_ai.")&&($n=!0)});const ei={contexts:{trace:(0,jn.Ck)(this)},spans:Qt.length>1e3?Qt.sort((Li,Ir)=>Li.start_timestamp-Ir.start_timestamp).slice(0,1e3):Qt,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:Re,capturedSpanIsolationScope:ot,dynamicSamplingContext:(0,kd.k1)(this),hasGenAiSpans:$n},request:Ut,...vn&&{transaction_info:{source:vn}}},qn=sb(this._events);return qn&&Object.keys(qn).length&&(eo.T&&f.Yz.log("[Measurements] Adding measurements to transaction event",JSON.stringify(qn,void 0,2)),ei.measurements=qn),ei}}function XE(X){return X&&"number"==typeof X||X instanceof Date||Array.isArray(X)}function QE(X){return!!(X.start_timestamp&&X.timestamp&&X.span_id&&X.trace_id)}function XS(X){return X instanceof ab&&X.isStandaloneSpan()}const Rf="__SENTRY_SUPPRESS_TRACING__";function tv(X){const ie=gp();return ie.startInactiveSpan?ie.startInactiveSpan(X):ew(X)}function ew(X){const ie=$a(X),{forceTransaction:Re,parentSpan:ot}=X;return(X.scope?Qt=>(0,s.v4)(X.scope,Qt):void 0!==ot?Qt=>Nf(ot,Qt):Qt=>Qt())(()=>{const Qt=(0,s.o5)(),vn=Eg(Qt,ot),$n=(0,s.KU)();return X.onlyIfParent&&!vn?nv(Qt,$n):bg({parentSpan:vn,spanArguments:ie,forceTransaction:Re,scope:Qt})})}function Nf(X,ie){const Re=gp();return Re.withActiveSpan?Re.withActiveSpan(X,ie):(0,s.v4)(ot=>((0,rb.r)(ot,X||void 0),ie(ot)))}function ub(X=(0,s.o5)()){const ie=gp();return ie.isTracingSuppressed?ie.isTracingSuppressed(X):!0===X.getScopeData().sdkProcessingMetadata[Rf]}function nv(X,ie){ie?.recordDroppedEvent("no_parent_span","span");const Re=new jl.w({traceId:X.getPropagationContext().traceId});return(0,Hl.d_)(Re,X,(0,s.rm)()),Re}function bg({parentSpan:X,spanArguments:ie,forceTransaction:Re,scope:ot}){const Ut=(0,s.rm)();if(!(0,mp.f)()){const $n={...Ut.getPropagationContext(),...ot.getPropagationContext()},ei=X?X.spanContext().traceId:$n.traceId,qn=new jl.w({traceId:ei});return X&&!Re&&(0,jn.Hu)(X,qn),(0,Hl.d_)(qn,ot,Ut),qn}const Qt=(0,s.KU)();if(function tw(X,ie){const Re=X?.getOptions().ignoreSpans;return!!(X&&up(X)&&Re?.length)&&zm({description:ie.name||"",op:ie.attributes?.[he.uT]||ie.op,attributes:ie.attributes},Re)}(Qt,ie)){ub(ot)||Qt?.recordDroppedEvent("ignored","span");const $n=new jl.w({dropReason:"ignored",traceId:X?.spanContext().traceId??ot.getPropagationContext().traceId});return X&&!Re&&(0,jn.Hu)(X,$n),(0,Hl.d_)($n,ot,Ut),$n}let vn;if(X&&!Re)vn=function iv(X,ie,Re,ot){const{spanId:Ut,traceId:Qt}=X.spanContext(),vn=ub(ie),$n=!vn&&(0,jn.pK)(X),ei=$n?new ab({...Re,parentSpanId:Ut,traceId:Qt,sampled:$n}):new jl.w({traceId:Qt});(0,jn.Hu)(X,ei),(0,Hl.d_)(ei,ie,ot);const qn=(0,s.KU)();return qn&&(up(qn)&&(0,jl.h)(ei)&&((0,jl.h)(X)&&X.dropReason?(ei.dropReason=X.dropReason,qn.recordDroppedEvent(X.dropReason,"span")):vn||(ei.dropReason="sample_rate",qn.recordDroppedEvent("sample_rate","span"))),qn.emit("spanStart",ei),Re.endTimestamp&&(qn.emit("spanEnd",ei),qn.emit("afterSpanEnd",ei))),ei}(X,ot,ie,Ut),(0,jn.Hu)(X,vn);else if(X){const $n=(0,kd.k1)(X),{traceId:ei,spanId:qn}=X.spanContext(),Ji=(0,jn.pK)(X);vn=Lf({traceId:ei,parentSpanId:qn,...ie},ot,Ut,Ji),(0,kd.LZ)(vn,$n)}else{const{traceId:$n,dsc:ei,parentSpanId:qn,sampled:Ji}={...Ut.getPropagationContext(),...ot.getPropagationContext()};vn=Lf({traceId:$n,parentSpanId:qn,...ie},ot,Ut,Ji),ei&&(0,kd.LZ)(vn,ei)}return function Ca(X){if(!eo.T)return;const{description:ie="< unknown name >",op:Re="< unknown op >",parent_span_id:ot}=(0,jn.et)(X),{spanId:Ut}=X.spanContext(),Qt=(0,jn.pK)(X),vn=(0,jn.zU)(X),$n=vn===X,ei=`[Tracing] Starting ${Qt?"sampled":"unsampled"} ${$n?"root ":""}span`,qn=[`op: ${Re}`,`name: ${ie}`,`ID: ${Ut}`];if(ot&&qn.push(`parent ID: ${ot}`),!$n){const{op:Ji,description:Li}=(0,jn.et)(vn);qn.push(`root ID: ${vn.spanContext().spanId}`),Ji&&qn.push(`root op: ${Ji}`),Li&&qn.push(`root description: ${Li}`)}f.Yz.log(`${ei}\n ${qn.join("\n ")}`)}(vn),vn}function $a(X){const Re={isStandalone:(X.experimental||{}).standalone,...X};if(X.startTime){const ot={...Re};return ot.startTimestamp=(0,jn.cI)(X.startTime),delete ot.startTime,ot}return Re}function gp(){const X=(0,sh.EU)();return(0,jE.h)(X)}function Lf(X,ie,Re,ot){const Ut=(0,s.KU)(),Qt=Ut?.getOptions()||{},{name:vn=""}=X,$n={spanAttributes:{...X.attributes},spanName:vn,parentSampled:ot};Ut?.emit("beforeSampling",$n,{decision:!1});const ei=$n.parentSampled??ot,qn=$n.spanAttributes,Ji=ie.getPropagationContext(),Li=ub(ie),[Ir,Si,zr]=Li?[!1]:function _g(X,ie,Re){if(!(0,mp.f)(X))return[!1];let ot,Ut;"function"==typeof X.tracesSampler?(Ut=X.tracesSampler({...ie,inheritOrSampleWith:$n=>"number"==typeof ie.parentSampleRate?ie.parentSampleRate:"boolean"==typeof ie.parentSampled?Number(ie.parentSampled):$n}),ot=!0):void 0!==ie.parentSampled?Ut=ie.parentSampled:typeof X.tracesSampleRate<"u"&&(Ut=X.tracesSampleRate,ot=!0);const Qt=Y0(Ut);if(void 0===Qt)return eo.T&&f.Yz.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(Ut)} of type ${JSON.stringify(typeof Ut)}.`),[!1];if(!Qt)return eo.T&&f.Yz.log("[Tracing] Discarding transaction because "+("function"==typeof X.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),[!1,Qt,ot];const vn=Re<Qt;return vn||eo.T&&f.Yz.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(Ut)})`),[vn,Qt,ot]}(Qt,{name:vn,parentSampled:ei,attributes:qn,normalizedRequest:Re.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:Y0(Ji.dsc?.sample_rate)},Ji.sampleRand),Zo=new ab({...X,attributes:{[he.i_]:"custom",[he.sy]:void 0!==Si&&zr?Si:void 0,...qn},sampled:Ir});return!Ir&&Ut&&!Li&&(eo.T&&f.Yz.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),Ut.recordDroppedEvent("sample_rate",up(Ut)?"span":"transaction")),(0,Hl.d_)(Zo,ie,Re),Ut&&Ut.emit("spanStart",Zo),Zo}function Eg(X,ie){if(ie)return ie;if(null===ie)return;const Re=(0,rb.f)(X);if(!Re)return;const ot=(0,s.KU)();return(ot?ot.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,jn.zU)(Re):Re}var _p=h(28939),pb=h(70903),lD=h(12592),Bf=h(54570),nw=h(23054),Ff=h(84833),hb=h(22914);const sv=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function xg(X){const ie={defaultIntegrations:[$m(),oi(),yr(),(0,T.F)(),Le(),(0,et.p)(),Io(),ar(),cp(),Ku()],...X};return rE(ie,"angular"),function rw(){const ie=_p.xvI?.major&&parseInt(_p.xvI.major,10);ie&&(ie<14&&sv&&f.Yz.warn(`This Sentry SDK does not officially support Angular ${ie}.`,"This SDK only supports Angular 14 and above.","If you're using lower Angular versions, check the Angular Version Compatibility table in our docs: https://docs.sentry.io/platforms/javascript/guides/angular/#angular-version-compatibility.","Otherwise, please consider upgrading your Angular version."),(0,m.o)("angular",{version:ie}))}(),_S(ie)}const av=typeof Zone<"u"&&Zone.root?.run;function Dl(X){return av?Zone.root.run(X):X()}function uv(X){if(X instanceof Error)return!0;if(null===X||"object"!=typeof X)return!1;const ie=X;return(0,Ee.Kg)(ie.name)&&(0,Ee.Kg)(ie.message)&&(void 0===ie.stack||(0,Ee.Kg)(ie.stack))}class Ju{constructor(ie){this._options={logErrors:!0,...ie}}ngOnDestroy(){this._removeAfterSendEventListener&&this._removeAfterSendEventListener()}handleError(ie){const Re=this._extractError(ie)||"Handled unknown error",ot=Dl(()=>m.Cp(Re,{mechanism:{type:"auto.function.angular.error_handler",handled:!1}}));if(this._options.logErrors&&(0,f.pq)(()=>console.error(Re)),this._options.showDialog){const Ut=s.KU();Ut&&!this._removeAfterSendEventListener?this._removeAfterSendEventListener=Ut.on("afterSendEvent",Qt=>{!Qt.type&&Qt.event_id&&Dl(()=>{I({...this._options.dialogOptions,eventId:Qt.event_id})})}):Ut||Dl(()=>{I({...this._options.dialogOptions,eventId:ot})})}}_extractError(ie){if(this._options.extractor){const Re=this._defaultExtractor.bind(this);return this._options.extractor(ie,Re)}return this._defaultExtractor(ie)}_defaultExtractor(ie){const Re=function cv(X){return X?.ngOriginalError?X.ngOriginalError:X}(ie);return Re instanceof lD.yz?function lv(X){return uv(X.error)?X.error:typeof ErrorEvent<"u"&&X.error instanceof ErrorEvent&&X.error.message?X.error.message:"string"==typeof X.error?`Server returned code ${X.status} with body "${X.error}"`:X.message}(Re):"string"==typeof Re||uv(Re)?Re:null}}Ju.\u0275fac=function(ie){return new(ie||Ju)(_p.KVO("errorHandlerOptions"))},Ju.\u0275prov=_p.jDH({token:Ju,factory:Ju.\u0275fac,providedIn:"root"});const Dg="ui.angular.init";let dv;class Ch{constructor(ie){this._router=ie,this.navStart$=this._router.events.pipe((0,Ff.p)(Re=>Re instanceof Bf.Z),(0,hb.M)(Re=>{if(!dv)return void(sv&&f.Yz.error("Angular integration has tracing enabled, but Tracing integration is not configured"));this._routingSpan&&(this._routingSpan.end(),this._routingSpan=null);const ot=(0,s.KU)(),Ut=(0,j.f)(Re.url);return ot?(this._isPageloadOngoing()?this._pageloadOngoing=!1:Dl(()=>{Ad(ot,{name:Ut,attributes:{[he.JD]:"auto.navigation.angular",[he.i_]:"url"}},{url:Vy(Re.url)})}),void(this._routingSpan=Dl(()=>tv({name:`${Re.url}`,op:"ui.angular.routing",attributes:{[he.JD]:"auto.ui.angular",[he.i_]:"url",url:Ut,...Re.navigationTrigger&&{navigationTrigger:Re.navigationTrigger}}}))||null)):void 0})),this.resEnd$=this._router.events.pipe((0,Ff.p)(Re=>Re instanceof Bf.gx),(0,hb.M)(Re=>{const ot=function ow(X){const ie=[];let Re=X?.firstChild;for(;Re;){const Ut=Re?.routeConfig&&Re.routeConfig.path;if(null==Ut)break;ie.push(Ut),Re=Re.firstChild}const ot=ie.filter(Ut=>Ut).join("/");return ot?`/${ot}/`:"/"}(Re.state.root);ot&&(0,s.o5)().setTransactionName(ot);const Ut=(0,jn.Bk)(),Qt=Ut&&(0,jn.zU)(Ut);!function gb(X,ie,Re){if(!Re)return;const{data:ot,op:Ut}=(0,jn.et)(Re);if(!ot||"url"===ot[he.i_]){Re.updateName(X);const Qt=Vy(ie);Re.setAttributes({[he.JD]:`auto.${Ut}.angular`,[he.i_]:"route",[yl]:Qt,[Cc]:(0,j.kg)(Qt)?.pathname,[iy]:X})}}(ot,Re.urlAfterRedirects,Qt)})),this.navEnd$=this._router.events.pipe((0,Ff.p)(Re=>Re instanceof Bf.wF||Re instanceof Bf.Cq||Re instanceof Bf.L6),(0,hb.M)(()=>{this._routingSpan&&(Dl(()=>{this._routingSpan.end()}),this._routingSpan=null)})),this._routingSpan=null,this._pageloadOngoing=!0,this._subscription=new nw.yU,this._subscription.add(this.navStart$.subscribe()),this._subscription.add(this.resEnd$.subscribe()),this._subscription.add(this.navEnd$.subscribe())}ngOnDestroy(){this._subscription.unsubscribe()}_isPageloadOngoing(){if(!this._pageloadOngoing)return!1;const ie=(0,jn.Bk)();if(!ie)return this._pageloadOngoing=!1,!1;const Re=(0,jn.zU)(ie);return this._pageloadOngoing="pageload"===(0,jn.et)(Re).op,this._pageloadOngoing}}Ch.\u0275fac=function(ie){return new(ie||Ch)(_p.KVO(Bf.Ix))},Ch.\u0275prov=_p.jDH({token:Ch,factory:Ch.\u0275fac,providedIn:"root"});class Od{constructor(ie){this._host=ie}ngOnInit(){this.componentName||(this.componentName=this._host.nativeElement.tagName.toLowerCase()),(0,jn.Bk)()&&(this._tracingSpan=Dl(()=>tv({name:`<${this.componentName}>`,op:Dg,attributes:{[he.JD]:"auto.ui.angular.trace_directive"}})))}ngAfterViewInit(){const ie=this._tracingSpan;ie&&Dl(()=>ie.end())}}Od.\u0275fac=function(ie){return new(ie||Od)(pb.rXU(pb.aKT))},Od.\u0275dir=pb.FsC({type:Od,selectors:[["","trace",""]],inputs:{componentName:[0,"trace","componentName"]},standalone:!1});class Wf{}Wf.\u0275fac=function(ie){return new(ie||Wf)},Wf.\u0275mod=pb.$C({type:Wf,declarations:[Od],exports:[Od]}),Wf.\u0275inj=_p.G2t({})},11143(st,pe,h){"use strict";h.d(pe,{H:()=>D});var m=h(30352);const f={};try{typeof Node<"u"&&(f.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),typeof Element<"u"&&(f.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,f.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,f.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,f.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<"u"&&(f.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function P(b,x,N){const M=f[x];if(M)try{return M.call(b,N)}catch{}const U=b[x];return"function"==typeof U?U.call(b,N):U}function D(b,x={}){if(!b)return"<unknown>";try{let N=b;const M=5,U=[];let J=0,I=0;const T=" > ",C=T.length;let R;const B=Array.isArray(x)?x:x.keyAttrs,F=!Array.isArray(x)&&x.maxStringLength||80;for(;N&&J++<M&&(R=y(N,B),!("html"===R||J>1&&I+U.length*C+R.length>=F));)U.push(R),I+=R.length,N=P(N,"parentNode");return U.reverse().join(T)}catch{return"<unknown>"}}function y(b,x){const N=[],M=P(b,"tagName");if(!M)return"";if(typeof HTMLElement<"u"&&b instanceof HTMLElement){const J=P(b,"dataset");if(J){if(J.sentryComponent)return J.sentryComponent;if(J.sentryElement)return J.sentryElement}}N.push(M.toLowerCase());const U=x?.length?x.filter(J=>P(b,"getAttribute",J)).map(J=>[J,P(b,"getAttribute",J)]):null;if(U?.length)U.forEach(J=>{N.push(`[${J[0]}="${J[1]}"]`)});else{const J=P(b,"id");J&&N.push(`#${J}`);const I=P(b,"className");if(I&&(0,m.Kg)(I)){const T=I.split(/\s+/);for(const C of T)N.push(`.${C}`)}}for(const J of["aria-label","type","name","title","alt"]){const I=P(b,"getAttribute",J);I&&N.push(`[${J}="${I}"]`)}return N.join("")}},40573(st,pe,h){"use strict";h.d(pe,{_:()=>y});var m=h(72627),s=h(52867),f=h(77920),P=h(92050);let D;function y(N){const M="history";(0,m.s5)(M,N),(0,m.AS)(M,b)}function b(){function N(M){return function(...U){const J=U.length>2?U[2]:void 0;if(J){const I=D,T=function x(N){try{return new URL(N,P.j.location.origin).toString()}catch{return N}}(String(J));if(D=T,I===T)return M.apply(this,U);const C={from:I,to:T};(0,m.aj)("history",C)}return M.apply(this,U)}}P.j.addEventListener("popstate",()=>{const M=P.j.location.href,U=D;if(D=M,U===M)return;const J={from:U,to:M};(0,m.aj)("history",J)}),(0,f.NJ)()&&((0,s.GS)(P.j.history,"pushState",N),(0,s.GS)(P.j.history,"replaceState",N))}},92050(st,pe,h){"use strict";const s=h(84765).O;h.d(pe,["j",0,s])},41145(st,pe,h){"use strict";const m=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;h.d(pe,["T",0,m])},46581(st,pe,h){"use strict";h.d(pe,{u:()=>ut,qv:()=>xe,H7:()=>Te,K8:()=>oe});var m=h(26672),s=h(87450),f=h(30352);function T(be){return function I(be){return(0,f.bJ)(be)&&"__sentry_fetch_url_host__"in be&&"string"==typeof be.__sentry_fetch_url_host__}(be)?`${be.message} (${be.__sentry_fetch_url_host__})`:be.message}var O=h(63392),Z=h(78874),Ee=h(52867);function oe(be,de){const G=ce(be,de),Fe={type:We(de),value:Me(de)};return G.length&&(Fe.stacktrace={frames:G}),void 0===Fe.type&&""===Fe.value&&(Fe.value="Unrecoverable error caught"),Fe}function j(be,de,G,Fe){const wt=(0,m.KU)()?.getOptions().normalizeDepth,Jt=function ve(be){return Object.values(be).find(de=>de instanceof Error)}(de),ee={__serialized__:(0,s.cd)(de,wt)};if(Jt)return{exception:{values:[oe(be,Jt)]},extra:ee};const V={exception:{values:[{type:(0,f.xH)(de)?de.constructor.name:Fe?"UnhandledRejection":"Error",value:et(de,{isUnhandledRejection:Fe})}]},extra:ee};if(G){const ue=ce(be,G);ue.length&&(V.exception.values[0].stacktrace={frames:ue})}return V}function te(be,de){return{exception:{values:[oe(be,de)]}}}function ce(be,de){const G=de.stacktrace||de.stack||"",Fe=function Le(be){return be&&ye.test(be.message)?1:0}(de),He=function $e(be){return"number"==typeof be.framesToPop?be.framesToPop:0}(de);try{return be(G,Fe,He)}catch{}return[]}const ye=/Minified React error #\d+;/i;function Tt(be){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"&&be instanceof WebAssembly.Exception}function We(be){const de=be?.name;return!de&&Tt(be)?be.message&&Array.isArray(be.message)&&2==be.message.length?be.message[0]:"WebAssembly.Exception":de}function Me(be){const de=be?.message;return Tt(be)?Array.isArray(be.message)&&2==be.message.length?be.message[1]:"wasm exception":de?de.error&&"string"==typeof de.error.message?T(de.error):T(be):"No error message"}function ut(be,de,G,Fe){const wt=Te(be,de,G?.syntheticException||void 0,Fe);return(0,O.M6)(wt),wt.level="error",G?.event_id&&(wt.event_id=G.event_id),(0,Z.XW)(wt)}function xe(be,de,G="info",Fe,He){const Jt=Ce(be,de,Fe?.syntheticException||void 0,He);return Jt.level=G,Fe?.event_id&&(Jt.event_id=Fe.event_id),(0,Z.XW)(Jt)}function Te(be,de,G,Fe,He){let wt;if((0,f.T2)(de)&&de.error)return te(be,de.error);if((0,f.BD)(de)||(0,f.W6)(de)){const Jt=de;if("stack"in de){wt=te(be,de);const ee=wt.exception?.values?.[0];if(Fe&&G&&ee&&!ee.stacktrace){const V=ce(be,G);V.length&&(ee.stacktrace={frames:V},(0,O.M6)(wt,{synthetic:!0}))}}else{const ee=Jt.name||((0,f.BD)(Jt)?"DOMError":"DOMException"),V=Jt.message?`${ee}: ${Jt.message}`:ee;wt=Ce(be,V,G,Fe),(0,O.gO)(wt,V)}return"code"in Jt&&(wt.tags={...wt.tags,"DOMException.code":`${Jt.code}`}),wt}return(0,f.bJ)(de)?te(be,de):(0,f.Qd)(de)||(0,f.xH)(de)?(wt=j(be,de,G,He),(0,O.M6)(wt,{synthetic:!0}),wt):(wt=Ce(be,de,G,Fe),(0,O.gO)(wt,`${de}`,void 0),(0,O.M6)(wt,{synthetic:!0}),wt)}function Ce(be,de,G,Fe){const He={};if(Fe&&G){const wt=ce(be,G);wt.length&&(He.exception={values:[{value:de,stacktrace:{frames:wt}}]}),(0,O.M6)(He,{synthetic:!0})}if((0,f.NF)(de)){const{__sentry_template_string__:wt,__sentry_template_values__:Jt}=de;return He.logentry={message:wt,params:Jt},He}return He.message=de,He}function et(be,{isUnhandledRejection:de}){const G=(0,Ee.HF)(be),Fe=de?"promise rejection":"exception";return(0,f.T2)(be)?`Event \`ErrorEvent\` captured as ${Fe} with message \`${be.message}\``:(0,f.xH)(be)?`Event \`${function he(be){try{const de=Object.getPrototypeOf(be);return de?de.constructor.name:void 0}catch{}}(be)}\` (type=${be.type}) captured as ${Fe}`:`Object captured as ${Fe} with keys: ${G}`}},82226(st,pe,h){"use strict";h.d(pe,{AP:()=>J,LV:()=>U,jN:()=>N});var m=h(24763),s=h(26672),f=h(84765),P=h(63392),D=h(52867),y=h(20734);const b=f.O;let x=0;function N(){return x>0}function U(I,T={}){if(!function C(B){return"function"==typeof B}(I))return I;try{if(Object.prototype.hasOwnProperty.call(I,"__sentry_wrapped__")){const F=I.__sentry_wrapped__;return"function"==typeof F?F:I}if((0,D.sp)(I))return I}catch{return I}const R=function(...B){f.O._sentryWrappedDepth=(f.O._sentryWrappedDepth||0)+1;try{const F=B.map($=>U($,T));return I.apply(this,F)}catch(F){throw function M(){x++,setTimeout(()=>{x--})}(),(0,s.v4)($=>{$.addEventProcessor(E=>(T.mechanism&&((0,P.gO)(E,void 0,void 0),(0,P.M6)(E,T.mechanism)),E.extra={...E.extra,arguments:B},E)),(0,m.Cp)(F)}),F}finally{f.O._sentryWrappedDepth=(f.O._sentryWrappedDepth||0)-1}};try{for(const B in I)Object.prototype.hasOwnProperty.call(I,B)&&(R[B]=I[B])}catch{}(0,D.pO)(R,I),(0,D.my)(I,"__sentry_wrapped__",R);try{Object.getOwnPropertyDescriptor(R,"name").configurable&&Object.defineProperty(R,"name",{get:()=>I.name})}catch{}return R}function J(){const I=(0,y.$N)(),{referrer:T}=b.document||{},{userAgent:C}=b.navigator||{};return{url:I,headers:{...T&&{Referer:T},...C&&{"User-Agent":C}}}}h.d(pe,["jf",0,b])},11942(st,pe,h){"use strict";h.d(pe,{F:()=>Lt});var m=h(23602),s=h(85746),f=h(52867),P=h(16525),D=h(84765),y=h(72627);const b=new Set([]);const M=new Set;function U(){"console"in D.O&&s.Ow.forEach(function(je){M.has(je)||!(je in D.O.console)||(M.add(je),(0,f.GS)(D.O.console,je,function(_t){return s.Z9[je]=_t,function(...ht){const lt=ht[0],Oe=s.Z9[je],at=b.size&&"string"==typeof lt&&(0,P.Xr)(lt,b);at||(0,y.aj)("console",{args:ht,level:je}),(!at||m.T&&s.Yz.isEnabled())&&Oe?.apply(D.O.console,ht)}}))})}var J=h(29293),I=h(26672),T=h(30352),C=h(77920),R=h(68089);function Ee(je,_t=!1){_t&&!(0,C.m7)()||(0,f.GS)(D.O,"fetch",function(ht){return function(...lt){const Oe=new Error,{method:at,url:Q}=function Le(je){if(0===je.length)return{method:"GET",url:""};if(2===je.length){const[ht,lt]=je;return{url:ye(ht),method:ce(lt,"method")?String(lt.method).toUpperCase():(0,T.ks)(ht)&&ce(ht,"method")?String(ht.method).toUpperCase():"GET"}}const _t=je[0];return{url:ye(_t),method:ce(_t,"method")?String(_t.method).toUpperCase():"GET"}}(lt),Ae={args:lt,fetchData:{method:at,url:Q},startTimestamp:1e3*(0,R.zf)(),virtualError:Oe,headers:$e(lt)};return je||(0,y.aj)("fetch",{...Ae}),ht.apply(D.O,lt).then(function(){var Qe=J(function*(kt){return je?je(kt):(0,y.aj)("fetch",{...Ae,endTimestamp:1e3*(0,R.zf)(),response:kt}),kt});return function(kt){return Qe.apply(this,arguments)}}(),Qe=>{(0,y.aj)("fetch",{...Ae,endTimestamp:1e3*(0,R.zf)(),error:Qe}),(0,T.bJ)(Qe)&&void 0===Qe.stack&&(Qe.stack=Oe.stack,(0,f.my)(Qe,"framesToPop",1));const cn=(0,I.KU)()?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==cn&&Qe instanceof TypeError&&("Failed to fetch"===Qe.message||"Load failed"===Qe.message||"NetworkError when attempting to fetch resource."===Qe.message))try{const Ti=new URL(Ae.fetchData.url).host;"always"===cn?Qe.message=`${Qe.message} (${Ti})`:(0,f.my)(Qe,"__sentry_fetch_url_host__",Ti)}catch{}throw Qe})}})}function ce(je,_t){return(0,T.Z4)(je)&&!!je[_t]}function ye(je){return"string"==typeof je?je:je?ce(je,"url")?je.url:je.toString?je.toString():"":""}function $e(je){const[_t,ht]=je;try{if("object"==typeof ht&&null!==ht&&"headers"in ht&&ht.headers)return new Headers(ht.headers);if((0,T.ks)(_t))return new Headers(_t.headers)}catch{}}var Tt=h(90746);const We=100;function Me(je,_t){const ht=(0,I.KU)(),lt=(0,I.rm)();if(!ht)return;const{beforeBreadcrumb:Oe=null,maxBreadcrumbs:at=We}=ht.getOptions();if(at<=0)return;const Ae={timestamp:(0,R.lu)(),...je},Qe=Oe?(0,s.pq)(()=>Oe(Ae,_t)):Ae;null!==Qe&&(ht.emit&&ht.emit("beforeAddBreadcrumb",Qe,_t),lt.addBreadcrumb(Qe,at))}var ut=h(63392),xe=h(20734);function Te(je){return"warn"===je?"warning":["fatal","error","warning","log","info","debug"].includes(je)?je:"log"}function Ce(je){if(void 0!==je)return je>=400&&je<500?"warning":je>=500?"error":void 0}var et=h(47031),he=h(92050);let be,de,G;function He(){if(!he.j.document)return;const je=y.aj.bind(null,"dom"),_t=ee(je,!0);he.j.document.addEventListener("click",_t,!1),he.j.document.addEventListener("keypress",_t,!1),["EventTarget","Node"].forEach(ht=>{const Oe=he.j[ht]?.prototype;Oe?.hasOwnProperty?.("addEventListener")&&((0,f.GS)(Oe,"addEventListener",function(at){return function(Q,Ae,Qe){if("click"===Q||"keypress"==Q)try{const kt=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},cn=kt[Q]=kt[Q]||{refCount:0};if(!cn.handler){const mn=ee(je);cn.handler=mn,at.call(this,Q,mn,Qe)}cn.refCount++}catch{}return at.call(this,Q,Ae,Qe)}}),(0,f.GS)(Oe,"removeEventListener",function(at){return function(Q,Ae,Qe){if("click"===Q||"keypress"==Q)try{const kt=this.__sentry_instrumentation_handlers__||{},cn=kt[Q];cn&&(cn.refCount--,cn.refCount<=0&&(at.call(this,Q,cn.handler,Qe),cn.handler=void 0,delete kt[Q]),0===Object.keys(kt).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return at.call(this,Q,Ae,Qe)}}))})}function ee(je,_t=!1){return ht=>{if(!ht||ht._sentryCaptured)return;const lt=function V(je){try{return je.target}catch{return null}}(ht);if(function Jt(je,_t){return!("keypress"!==je||_t?.tagName&&("INPUT"===_t.tagName||"TEXTAREA"===_t.tagName||_t.isContentEditable))}(ht.type,lt))return;(0,f.my)(ht,"_sentryCaptured",!0),lt&&!lt._sentryId&&(0,f.my)(lt,"_sentryId",(0,ut.eJ)());const Oe="keypress"===ht.type?"input":ht.type;(function wt(je){if(je.type!==de)return!1;try{if(!je.target||je.target._sentryId!==G)return!1}catch{}return!0})(ht)||(je({event:ht,name:Oe,global:_t}),de=ht.type,G=lt?lt._sentryId:void 0),clearTimeout(be),be=he.j.setTimeout(()=>{G=void 0,de=void 0},1e3)}}const ue="__sentry_xhr_v3__";function rt(){if(!he.j.XMLHttpRequest)return;const je=XMLHttpRequest.prototype;je.open=new Proxy(je.open,{apply(_t,ht,lt){const Oe=new Error,at=1e3*(0,R.zf)(),Q=(0,T.Kg)(lt[0])?lt[0].toUpperCase():void 0,Ae=function It(je){if((0,T.Kg)(je))return je;try{return je.toString()}catch{}}(lt[1]);if(!Q||!Ae)return _t.apply(ht,lt);ht[ue]={method:Q,url:Ae,request_headers:{}},"POST"===Q&&Ae.match(/sentry_key/)&&(ht.__sentry_own_request__=!0);const Qe=()=>{const kt=ht[ue];if(kt&&4===ht.readyState){try{kt.status_code=ht.status}catch{}const cn={endTimestamp:1e3*(0,R.zf)(),startTimestamp:at,xhr:ht,virtualError:Oe};(0,y.aj)("xhr",cn),ht.removeEventListener("readystatechange",Qe)}};return"onreadystatechange"in ht&&"function"==typeof ht.onreadystatechange?ht.onreadystatechange=new Proxy(ht.onreadystatechange,{apply:(kt,cn,mn)=>(Qe(),kt.apply(cn,mn))}):ht.addEventListener("readystatechange",Qe),ht.setRequestHeader=new Proxy(ht.setRequestHeader,{apply(kt,cn,mn){const[Jn,Ti]=mn,$i=cn[ue];return $i&&(0,T.Kg)(Jn)&&(0,T.Kg)(Ti)&&($i.request_headers[Jn.toLowerCase()]=Ti),kt.apply(cn,mn)}}),_t.apply(ht,lt)}}),je.send=new Proxy(je.send,{apply(_t,ht,lt){const Oe=ht[ue];if(!Oe)return _t.apply(ht,lt);void 0!==lt[0]&&(Oe.body=lt[0]);const at={startTimestamp:1e3*(0,R.zf)(),xhr:ht};return(0,y.aj)("xhr",at),_t.apply(ht,lt)}})}var Kt=h(40573),Ht=h(11143),ze=h(41145),Mt=h(82226);const Pt=1024,Lt=(0,Tt._C)((je={})=>{const _t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...je};return{name:"Breadcrumbs",setup(ht){_t.console&&function x(je){const _t="console",ht=(0,y.s5)(_t,je);return(0,y.AS)(_t,U),ht}(function fe(je){return function(ht){if((0,I.KU)()!==je)return;const lt={category:"console",data:{arguments:ht.args,logger:"console"},level:Te(ht.level),message:(0,P.gt)(ht.args," ")};if("assert"===ht.level){if(!1!==ht.args[0])return;lt.message=`Assertion failed: ${(0,P.gt)(ht.args.slice(1)," ")||"console.assert"}`,lt.data.arguments=ht.args.slice(1)}Me(lt,{input:ht.args,level:ht.level})}}(ht)),_t.dom&&function Fe(je){(0,y.s5)("dom",je),(0,y.AS)("dom",He)}(function Y(je,_t){return function(lt){if((0,I.KU)()!==je)return;let Oe,at,Q="object"==typeof _t?_t.serializeAttribute:void 0,Ae="object"==typeof _t&&"number"==typeof _t.maxStringLength?_t.maxStringLength:void 0;Ae&&Ae>Pt&&(ze.T&&s.Yz.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${Ae} was configured. Sentry will use 1024 instead.`),Ae=Pt),"string"==typeof Q&&(Q=[Q]);try{const kt=lt.event,cn=function fn(je){return!!je&&!!je.target}(kt)?kt.target:kt;Oe=(0,Ht.H)(cn,{keyAttrs:Q,maxStringLength:Ae}),at=(0,xe.xE)(cn)}catch{Oe="<unknown>"}if(0===Oe.length)return;const Qe={category:`ui.${lt.name}`,message:Oe};at&&(Qe.data={"ui.component_name":at}),Me(Qe,{event:lt.event,name:lt.name,global:lt.global})}}(ht,_t.dom)),_t.xhr&&function De(je){(0,y.s5)("xhr",je),(0,y.AS)("xhr",rt)}(function Et(je){return function(ht){if((0,I.KU)()!==je)return;const{startTimestamp:lt,endTimestamp:Oe}=ht,at=ht.xhr[ue];if(!lt||!Oe||!at)return;const{method:Q,url:Ae,status_code:Qe,body:kt}=at,cn={method:Q,url:Ae,status_code:Qe},mn={xhr:ht.xhr,input:kt,startTimestamp:lt,endTimestamp:Oe},Jn={category:"xhr",data:cn,type:"http",level:Ce(Qe)};je.emit("beforeOutgoingRequestBreadcrumb",Jn,mn),Me(Jn,mn)}}(ht)),_t.fetch&&function O(je,_t){const lt=(0,y.s5)("fetch",je);return(0,y.AS)("fetch",()=>Ee(void 0,_t)),lt}(function Vt(je){return function(ht){if((0,I.KU)()!==je)return;const{startTimestamp:lt,endTimestamp:Oe}=ht;if(Oe&&(!ht.fetchData.url.match(/sentry_key/)||"POST"!==ht.fetchData.method))if(ht.error){const at={data:ht.error,input:ht.args,startTimestamp:lt,endTimestamp:Oe},Q={category:"fetch",data:ht.fetchData,level:"error",type:"http"};je.emit("beforeOutgoingRequestBreadcrumb",Q,at),Me(Q,at)}else{const at=ht.response,Q={...ht.fetchData,status_code:at?.status},Ae={input:ht.args,response:at,startTimestamp:lt,endTimestamp:Oe},Qe={category:"fetch",data:Q,type:"http",level:Ce(Q.status_code)};je.emit("beforeOutgoingRequestBreadcrumb",Qe,Ae),Me(Qe,Ae)}}}(ht)),_t.history&&(0,Kt._)(function ln(je){return function(ht){if((0,I.KU)()!==je)return;let lt=ht.from,Oe=ht.to;const at=(0,et.Dl)(Mt.jf.location.href);let Q=lt?(0,et.Dl)(lt):void 0;const Ae=(0,et.Dl)(Oe);Q?.path||(Q=at),at.protocol===Ae.protocol&&at.host===Ae.host&&(Oe=Ae.relative),at.protocol===Q.protocol&&at.host===Q.host&&(lt=Q.relative),Me({category:"navigation",data:{from:lt,to:Oe}})}}(ht)),_t.sentry&&ht.on("beforeSendEvent",function _e(je){return function(ht){(0,I.KU)()===je&&Me({category:"sentry."+("transaction"===ht.type?"transaction":"event"),event_id:ht.event_id,level:ht.level,message:(0,ut.$X)(ht)},{event:ht})}}(ht))}}})},28248(st,pe,h){"use strict";var m=h(90746),s=h(52867),f=h(58629),P=h(82226);const D="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),x=(0,m._C)((C={})=>{const R={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...C};return{name:"BrowserApiErrors",setupOnce(){R.setTimeout&&(0,s.GS)(P.jf,"setTimeout",N),R.setInterval&&(0,s.GS)(P.jf,"setInterval",N),R.requestAnimationFrame&&(0,s.GS)(P.jf,"requestAnimationFrame",M),R.XMLHttpRequest&&"XMLHttpRequest"in P.jf&&(0,s.GS)(XMLHttpRequest.prototype,"send",U);const B=R.eventTarget;B&&(Array.isArray(B)?B:D).forEach($=>function J(C,R){const F=P.jf[C]?.prototype;F?.hasOwnProperty?.("addEventListener")&&((0,s.GS)(F,"addEventListener",function($){return function(E,w,O){try{(function I(C){return"function"==typeof C.handleEvent})(w)&&(w.handleEvent=(0,P.LV)(w.handleEvent,{mechanism:{data:{handler:(0,f.qQ)(w),target:C},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return R.unregisterOriginalCallbacks&&function T(C,R,B){C&&"object"==typeof C&&"removeEventListener"in C&&"function"==typeof C.removeEventListener&&C.removeEventListener(R,B)}(this,E,w),$.apply(this,[E,(0,P.LV)(w,{mechanism:{data:{handler:(0,f.qQ)(w),target:C},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),O])}}),(0,s.GS)(F,"removeEventListener",function($){return function(E,w,O){try{if(Object.prototype.hasOwnProperty.call(w,"__sentry_wrapped__")){const Z=w.__sentry_wrapped__;Z&&$.call(this,E,Z,O)}}catch{}return $.call(this,E,w,O)}}))}($,R))}}});function N(C){return function(...R){const B=R[0];return R[0]=(0,P.LV)(B,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,f.qQ)(C)}`}}),C.apply(this,R)}}function M(C){return function(R){return C.apply(this,[(0,P.LV)(R,{mechanism:{data:{handler:(0,f.qQ)(C)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function U(C){return function(...R){const B=this;return["onload","onerror","onprogress","onreadystatechange"].forEach($=>{$ in B&&"function"==typeof B[$]&&(0,s.GS)(B,$,function(E){const w={mechanism:{data:{handler:(0,f.qQ)(E)},handled:!1,type:`auto.browser.browserapierrors.xhr.${$}`}},O=(0,s.sp)(E);return O&&(w.mechanism.data.handler=(0,f.qQ)(O)),(0,P.LV)(E,w)})}),C.apply(this,R)}}h.d(pe,["G",0,x])},34969(st,pe,h){"use strict";h.d(pe,{p:()=>I});var m=h(30352);function s(T,C,R,B,F,$){if(!F.exception?.values||!$||!(0,m.tH)($.originalException,Error))return;const E=F.exception.values.length>0?F.exception.values[F.exception.values.length-1]:void 0;E&&(F.exception.values=f(T,C,B,$.originalException,R,F.exception.values,E,0))}function f(T,C,R,B,F,$,E,w){if($.length>=R+1)return $;let O=[...$];if((0,m.tH)(B[F],Error)){D(E,w,B);const Z=T(C,B[F]),Ee=O.length;y(Z,F,Ee,w),O=f(T,C,R,B[F],F,[Z,...O],Z,Ee)}return P(B)&&B.errors.forEach((Z,Ee)=>{if((0,m.tH)(Z,Error)){D(E,w,B);const oe=T(C,Z),j=O.length;y(oe,`errors[${Ee}]`,j,w),O=f(T,C,R,Z,F,[oe,...O],oe,j)}}),O}function P(T){return Array.isArray(T.errors)}function D(T,C,R){T.mechanism={handled:!0,type:"auto.core.linked_errors",...P(R)&&{is_exception_group:!0},...T.mechanism,exception_id:C}}function y(T,C,R,B){T.mechanism={handled:!0,...T.mechanism,type:"chained",source:C,exception_id:R,parent_id:B}}var b=h(90746),x=h(46581);const I=(0,b._C)((T={})=>{const C=T.limit||5,R=T.key||"cause";return{name:"LinkedErrors",preprocessEvent(B,F,$){const E=$.getOptions();s(x.K8,E.stackParser,R,C,B,F)}}})},79679(st,pe,h){"use strict";h.d(pe,{h:()=>$});var m=h(50240),s=h(61164);const D=E=>E instanceof Promise&&!E[y],y=Symbol("chained PromiseLike"),x=(E,w)=>{if(!w)return E;let O=!1;for(const Z in E){if(Z in w)continue;O=!0;const Ee=E[Z];"function"==typeof Ee?Object.defineProperty(w,Z,{value:(...oe)=>Ee.apply(E,oe),enumerable:!0,configurable:!0,writable:!0}):w[Z]=Ee}return O&&Object.assign(w,{[y]:!0}),w};var N=h(30352);class M{constructor(w,O){let Z,Ee;Z=w||new s.H,Ee=O||new s.H,this._stack=[{scope:Z}],this._isolationScope=Ee}withScope(w){const O=this._pushScope();let Z;try{Z=w(O)}catch(Ee){throw this._popScope(),Ee}return(0,N.Qg)(Z)?((E,w,O)=>{const Z=E.then(Ee=>(w(Ee),Ee),Ee=>{throw O(Ee),Ee});return D(Z)&&D(E)?Z:x(E,Z)})(Z,()=>this._popScope(),()=>this._popScope()):(this._popScope(),Z)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const w=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:w}),w}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function U(){const E=(0,m.EU)(),w=(0,m.Se)(E);return w.stack=w.stack||new M(function f(){return(0,m.BY)("defaultCurrentScope",()=>new s.H)}(),function P(){return(0,m.BY)("defaultIsolationScope",()=>new s.H)}())}function J(E){return U().withScope(E)}function I(E,w){const O=U();return O.withScope(()=>(O.getStackTop().scope=E,w(E)))}function T(E){return U().withScope(()=>E(U().getIsolationScope()))}function $(E){const w=(0,m.Se)(E);return w.acs?w.acs:function C(){return{withIsolationScope:T,withScope:J,withSetScope:I,withSetIsolationScope:(E,w)=>T(w),getCurrentScope:()=>U().getScope(),getIsolationScope:()=>U().getIsolationScope()}}()}},50240(st,pe,h){"use strict";h.d(pe,{BY:()=>D,EU:()=>f,Se:()=>P});var m=h(28922),s=h(84765);function f(){return P(s.O),s.O}function P(y){const b=y.__SENTRY__=y.__SENTRY__||{};return b.version=b.version||m.M,b[m.M]=b[m.M]||{}}function D(y,b,x=s.O){const N=x.__SENTRY__=x.__SENTRY__||{},M=N[m.M]=N[m.M]||{};return M[y]||(M[y]=b())}},64657(st,pe,h){"use strict";h.d(pe,["U",0,"production"])},26672(st,pe,h){"use strict";h.d(pe,{KU:()=>R,m6:()=>I,o5:()=>U,rm:()=>J,v4:()=>T,vn:()=>B});var f=h(79679),P=h(50240),D=h(61164),y=h(70477);let b;function U(){const F=(0,P.EU)();return(0,f.h)(F).getCurrentScope()}function J(){const F=(0,P.EU)();return(0,f.h)(F).getIsolationScope()}function I(){return(0,P.BY)("globalScope",()=>new D.H)}function T(...F){const $=(0,P.EU)(),E=(0,f.h)($);if(2===F.length){const[w,O]=F;return w?E.withSetScope(w,O):E.withScope(O)}return E.withScope(F[0])}function R(){return U().getClient()}function B(F){const $=function N(){return b?.()}();if($)return{trace_id:$.traceId,span_id:$.spanId};const E=F.getPropagationContext(),{traceId:w,parentSpanId:O,propagationSpanId:Z}=E,Ee={trace_id:w,span_id:Z||(0,y.Z)()};return O&&(Ee.parent_span_id=O),Ee}},23602(st,pe,h){"use strict";const m=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;h.d(pe,["T",0,m])},24763(st,pe,h){"use strict";h.d(pe,{Cp:()=>B,J0:()=>et,J5:()=>be,Q:()=>ye,o:()=>E,r:()=>$});var J=h(26672),I=h(41088),T=h(92967),C=h(51486),R=h(84765);function B(de,G){return(0,J.o5)().captureException(de,(0,T.li)(G))}function $(de,G){return(0,J.o5)().captureEvent(de,G)}function E(de,G){(0,J.rm)().setContext(de,G)}function ye(){return(0,J.rm)().lastEventId()}function et(de){const G=(0,J.rm)(),{user:Fe}=(0,C.Om)(G,(0,J.o5)()),{userAgent:He}=R.O.navigator||{},wt=(0,I.fj)({user:Fe,...He&&{userAgent:He},...de}),Jt=G.getSession();return"ok"===Jt?.status&&(0,I.qO)(Jt,{status:"exited"}),he(),G.setSession(wt),wt}function he(){const de=(0,J.rm)(),Fe=(0,J.o5)().getSession()||de.getSession();Fe&&(0,I.Vu)(Fe),ve(),de.setSession()}function ve(){const de=(0,J.rm)(),G=(0,J.KU)(),Fe=de.getSession();Fe&&G&&G.captureSession(Fe)}function be(de=!1){de?he():ve()}},72627(st,pe,h){"use strict";h.d(pe,{AS:()=>x,aj:()=>N,s5:()=>y});var m=h(23602),s=h(85746),f=h(58629);const P={},D={};function y(M,U){return P[M]=P[M]||[],P[M].push(U),()=>{const J=P[M];if(J){const I=J.indexOf(U);-1!==I&&J.splice(I,1)}}}function x(M,U){if(!D[M]){D[M]=!0;try{U()}catch(J){m.T&&s.Yz.error(`Error while instrumenting ${M}`,J)}}}function N(M,U){const J=M&&P[M];if(J)for(const I of J)try{I(U)}catch(T){m.T&&s.Yz.error(`Error while triggering instrumentation handler.\nType: ${M}\nName: ${(0,f.qQ)(I)}\nError:`,T)}}},90746(st,pe,h){"use strict";h.d(pe,{P$:()=>N,_C:()=>I,lc:()=>M,mH:()=>x,qm:()=>U});var P=h(23602),D=h(85746);const y=[];function x(C){const R=C.defaultIntegrations||[],B=C.integrations;let F;if(R.forEach($=>{$.isDefaultInstance=!0}),Array.isArray(B))F=[...R,...B];else if("function"==typeof B){const $=B(R);F=Array.isArray($)?$:[$]}else F=R;return function b(C){const R={};return C.forEach(B=>{const{name:F}=B,$=R[F];$&&!$.isDefaultInstance&&B.isDefaultInstance||(R[F]=B)}),Object.values(R)}(F)}function N(C,R){const B={};return R.forEach(F=>{F?.beforeSetup&&F.beforeSetup(C)}),R.forEach(F=>{F&&U(C,F,B)}),B}function M(C,R){for(const B of R)B?.afterAllSetup&&B.afterAllSetup(C)}function U(C,R,B){if(B[R.name])P.T&&D.Yz.log(`Integration skipped because it was already installed: ${R.name}`);else{if(B[R.name]=R,!y.includes(R.name)&&"function"==typeof R.setupOnce&&(R.setupOnce(),y.push(R.name)),R.setup&&"function"==typeof R.setup&&R.setup(C),"function"==typeof R.preprocessEvent){const F=R.preprocessEvent.bind(R);C.on("preprocessEvent",($,E)=>F($,E,C))}if("function"==typeof R.processEvent){const F=R.processEvent.bind(R),$=Object.assign((E,w)=>F(E,w,C),{id:R.name});C.addEventProcessor($)}["processSpan","processSegmentSpan"].forEach(F=>{const $=R[F];"function"==typeof $&&C.on(F,E=>$.call(R,E,C))}),P.T&&D.Yz.log(`Integration installed: ${R.name}`)}}function I(C){return C}},61164(st,pe,h){"use strict";h.d(pe,{H:()=>I});var m=h(23602),s=h(41088),f=h(85746),P=h(30352),D=h(71174),y=h(63392),b=h(70477),x=h(99043),N=h(99741),M=h(16525),U=h(68089);class I{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,b.e)(),sampleRand:(0,x.hY)()}}clone(){const C=new I;return C._breadcrumbs=[...this._breadcrumbs],C._tags={...this._tags},C._attributes={...this._attributes},C._extra={...this._extra},C._contexts={...this._contexts},this._contexts.flags&&(C._contexts.flags={values:[...this._contexts.flags.values]}),C._user=this._user,C._level=this._level,C._session=this._session,C._transactionName=this._transactionName,C._fingerprint=this._fingerprint,C._eventProcessors=[...this._eventProcessors],C._attachments=[...this._attachments],C._sdkProcessingMetadata={...this._sdkProcessingMetadata},C._propagationContext={...this._propagationContext},C._client=this._client,C._lastEventId=this._lastEventId,C._conversationId=this._conversationId,(0,N.r)(C,(0,N.f)(this)),C}setClient(C){this._client=C}setLastEventId(C){this._lastEventId=C}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(C){this._scopeListeners.push(C)}addEventProcessor(C){return this._eventProcessors.push(C),this}setUser(C){return this._user=C||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,s.qO)(this._session,{user:C}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(C){return this._conversationId=C||void 0,this._notifyScopeListeners(),this}setTags(C){return this._tags={...this._tags,...C},this._notifyScopeListeners(),this}setTag(C,R){return this.setTags({[C]:R})}setAttributes(C){return this._attributes={...this._attributes,...C},this._notifyScopeListeners(),this}setAttribute(C,R){return this.setAttributes({[C]:R})}removeAttribute(C){return C in this._attributes&&(delete this._attributes[C],this._notifyScopeListeners()),this}setExtras(C){return this._extra={...this._extra,...C},this._notifyScopeListeners(),this}setExtra(C,R){return this._extra={...this._extra,[C]:R},this._notifyScopeListeners(),this}setFingerprint(C){return this._fingerprint=C,this._notifyScopeListeners(),this}setLevel(C){return this._level=C,this._notifyScopeListeners(),this}setTransactionName(C){return this._transactionName=C,this._notifyScopeListeners(),this}setContext(C,R){return null===R?delete this._contexts[C]:this._contexts[C]=R,this._notifyScopeListeners(),this}setSession(C){return C?this._session=C:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(C){if(!C)return this;const R="function"==typeof C?C(this):C,B=R instanceof I?R.getScopeData():(0,P.Qd)(R)?C:void 0,{tags:F,attributes:$,extra:E,user:w,contexts:O,level:Z,fingerprint:Ee=[],propagationContext:oe,conversationId:j}=B||{};return this._tags={...this._tags,...F},this._attributes={...this._attributes,...$},this._extra={...this._extra,...E},this._contexts={...this._contexts,...O},w&&Object.keys(w).length&&(this._user=w),Z&&(this._level=Z),Ee.length&&(this._fingerprint=Ee),oe&&(this._propagationContext=oe),j&&(this._conversationId=j),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,(0,N.r)(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,b.e)(),sampleRand:(0,x.hY)()}),this._notifyScopeListeners(),this}addBreadcrumb(C,R){const B="number"==typeof R?R:100;if(B<=0)return this;const F={timestamp:(0,U.lu)(),...C,message:C.message?(0,M.xv)(C.message,2048):C.message};return this._breadcrumbs.push(F),this._breadcrumbs.length>B&&(this._breadcrumbs=this._breadcrumbs.slice(-B),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(C){return this._attachments.push(C),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,N.f)(this),conversationId:this._conversationId}}setSDKProcessingMetadata(C){return this._sdkProcessingMetadata=(0,D.h)(this._sdkProcessingMetadata,C,2),this}setPropagationContext(C){return this._propagationContext=C,this}getPropagationContext(){return this._propagationContext}captureException(C,R){const B=R?.event_id||(0,y.eJ)();if(!this._client)return m.T&&f.Yz.warn("No client configured on scope - will not capture exception!"),B;const F=new Error("Sentry syntheticException");return this._client.captureException(C,{originalException:C,syntheticException:F,...R,event_id:B},this),B}captureMessage(C,R,B){const F=B?.event_id||(0,y.eJ)();if(!this._client)return m.T&&f.Yz.warn("No client configured on scope - will not capture message!"),F;const $=B?.syntheticException??new Error(C);return this._client.captureMessage(C,R,{originalException:C,syntheticException:$,...B,event_id:F},this),F}captureEvent(C,R){const B=C.event_id||R?.event_id||(0,y.eJ)();return this._client?(this._client.captureEvent(C,{...R,event_id:B},this),B):(m.T&&f.Yz.warn("No client configured on scope - will not capture event!"),B)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(C=>{C(this)}),this._notifyingListeners=!1)}}},49779(st,pe,h){"use strict";h.d(pe,["E1",0,"sentry.profile_id","Ef",0,"sentry.previous_trace_sample_rate","Ft",0,"sentry.status.message","Fy",0,"gen_ai.conversation.id","JD",0,"sentry.origin","Le",0,"sentry.custom_span_name","Sn",0,"sentry.measurement_unit","i_",0,"sentry.source","jG",0,"sentry.exclusive_time","sy",0,"sentry.sample_rate","uT",0,"sentry.op","xc",0,"sentry.measurement_value"])},41088(st,pe,h){"use strict";h.d(pe,{Vu:()=>D,fj:()=>f,qO:()=>P});var m=h(63392),s=h(68089);function f(b){const x=(0,s.zf)(),N={sid:(0,m.eJ)(),init:!0,timestamp:x,started:x,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function y(b){return{sid:`${b.sid}`,init:b.init,started:new Date(1e3*b.started).toISOString(),timestamp:new Date(1e3*b.timestamp).toISOString(),status:b.status,errors:b.errors,did:"number"==typeof b.did||"string"==typeof b.did?`${b.did}`:void 0,duration:b.duration,abnormal_mechanism:b.abnormal_mechanism,attrs:{release:b.release,environment:b.environment,ip_address:b.ipAddress,user_agent:b.userAgent}}}(N)};return b&&P(N,b),N}function P(b,x={}){if(x.user&&(!b.ipAddress&&x.user.ip_address&&(b.ipAddress=x.user.ip_address),!b.did&&!x.did&&(b.did=x.user.id||x.user.email||x.user.username)),b.timestamp=x.timestamp||(0,s.zf)(),x.abnormal_mechanism&&(b.abnormal_mechanism=x.abnormal_mechanism),x.ignoreDuration&&(b.ignoreDuration=x.ignoreDuration),x.sid&&(b.sid=32===x.sid.length?x.sid:(0,m.eJ)()),void 0!==x.init&&(b.init=x.init),!b.did&&x.did&&(b.did=`${x.did}`),"number"==typeof x.started&&(b.started=x.started),b.ignoreDuration)b.duration=void 0;else if("number"==typeof x.duration)b.duration=x.duration;else{const N=b.timestamp-b.started;b.duration=N>=0?N:0}x.release&&(b.release=x.release),x.environment&&(b.environment=x.environment),!b.ipAddress&&x.ipAddress&&(b.ipAddress=x.ipAddress),!b.userAgent&&x.userAgent&&(b.userAgent=x.userAgent),"number"==typeof x.errors&&(b.errors=x.errors),x.status&&(b.status=x.status)}function D(b,x){let N={};x?N={status:x}:"ok"===b.status&&(N={status:"exited"}),P(b,N)}},41807(st,pe,h){"use strict";h.d(pe,{LZ:()=>Ee,ao:()=>j,k1:()=>te});var m=h(64657),s=h(26672),f=h(49779),P=h(30352);const b="sentry-";function J(ye){if(ye&&((0,P.Kg)(ye)||Array.isArray(ye)))return Array.isArray(ye)?ye.reduce((Le,$e)=>{const Tt=I($e);return Object.entries(Tt).forEach(([We,Me])=>{Le[We]=Me}),Le},{}):I(ye)}function I(ye){return ye.split(",").map(Le=>{const $e=Le.indexOf("=");if(-1===$e)return[];return[Le.slice(0,$e),Le.slice($e+1)].map(Me=>{try{return decodeURIComponent(Me.trim())}catch{return}})}).reduce((Le,[$e,Tt])=>($e&&Tt&&(Le[$e]=Tt),Le),{})}var R=h(44199),B=h(73456),F=h(52867),$=h(75937),E=h(62604),w=h(88);const Z="_frozenDsc";function Ee(ye,Le){const $e=ye;(0,F.my)($e,Z,Le)}function oe(ye,Le){const $e=Le.getOptions(),{publicKey:Tt}=Le.getDsn()||{},We={environment:$e.environment||m.U,release:$e.release,public_key:Tt,trace_id:ye,org_id:(0,R.ul)(Le)};return Le.emit("createDsc",We),We}function j(ye,Le){const $e=Le.getPropagationContext();return $e.dsc||oe($e.traceId,ye)}function te(ye){const Le=(0,s.KU)();if(!Le)return{};const $e=(0,$.zU)(ye),Tt=(0,$.et)($e),We=Tt.data,Me=$e.spanContext().traceState,ut=Me?.get("sentry.sample_rate")??We[f.sy]??We[f.Ef];function xe(Fe){return("number"==typeof ut||"string"==typeof ut)&&(Fe.sample_rate=`${ut}`),Fe}const Te=$e[Z];if(Te)return xe(Te);const Ce=(0,E.h)($e),et=Ce&&"ignored"===$e.dropReason;if(Ce&&(!(0,B.f)(Le.getOptions())||et)){const Fe=(0,w.Lb)($e).scope;if(Fe){const He={...j(Le,Fe)};return et&&(He.sampled="false"),xe(He)}}const he=Me?.get("sentry.dsc"),ve=he&&function M(ye){const Le=J(ye);if(!Le)return;const $e=Object.entries(Le).reduce((Tt,[We,Me])=>(We.startsWith(b)&&(Tt[We.slice(7)]=Me),Tt),{});return Object.keys($e).length>0?$e:void 0}(he);if(ve)return xe(ve);const be=oe(ye.spanContext().traceId,Le),de=We[f.i_]??We["sentry.segment.name.source"],G=Tt.description;return"url"!==de&&G&&(be.transaction=G),(0,B.f)()&&(be.sampled=String((0,$.pK)($e)),be.sample_rand=Me?.get("sentry.sample_rand")??(0,w.Lb)($e).scope?.getPropagationContext().sampleRand.toString()),xe(be),Le.emit("createDsc",be,$e),be}},62604(st,pe,h){"use strict";h.d(pe,{h:()=>D,w:()=>P});var m=h(52867),s=h(70477);const f=Symbol.for("sentry.nonRecordingSpan");class P{constructor(b={}){this._traceId=b.traceId||(0,s.e)(),this._spanId=b.spanId||(0,s.Z)(),this.dropReason=b.dropReason,(0,m.my)(this,f,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(b){}setAttribute(b,x){return this}setAttributes(b){return this}setStatus(b){return this}updateName(b){return this}isRecording(){return!1}addEvent(b,x,N){return this}addLink(b){return this}addLinks(b){return this}recordException(b,x){}}function D(y){return!!y&&!0===y[f]}},88(st,pe,h){"use strict";h.d(pe,{Lb:()=>M,ZO:()=>J,d_:()=>N,jF:()=>I,rh:()=>R});var s=h(52867),f=h(52699);const P="_sentryScope",D="_sentryIsolationScope",y=Symbol.for("sentry.otelSourceInference"),b=Symbol.for("sentry.otelSourceExplicitlySet"),x=Symbol.for("sentry.tracerProviderSpan");function N(B,F,$){B&&((0,s.my)(B,D,(0,f.Z)($)),(0,s.my)(B,P,F))}function M(B){const F=B;return{scope:F[P],isolationScope:(0,f.q)(F[D])}}function J(B){return!0===B[y]}function I(B){(0,s.my)(B,b,!0)}function R(B){return!0===B[x]}},20734(st,pe,h){"use strict";h.d(pe,{$N:()=>b,xE:()=>x});const f=h(84765).O;function b(){try{return f.document.location.href}catch{return""}}function x(N,M=5){if(!f.HTMLElement)return null;let U=N;for(let J=0;J<M;J++){if(!U)return null;if(U instanceof HTMLElement){if(U.dataset.sentryComponent)return U.dataset.sentryComponent;if(U.dataset.sentryElement)return U.dataset.sentryElement}U=U.parentNode}return null}},85746(st,pe,h){"use strict";h.d(pe,{pq:()=>b});var m=h(50240),s=h(23602),f=h(84765);const y={};function b(B){if(!("console"in f.O))return B();const F=f.O.console,$={},E=Object.keys(y);E.forEach(w=>{const O=y[w];$[w]=F[w],F[w]=O});try{return B()}finally{E.forEach(w=>{F[w]=$[w]})}}function M(){return C().enabled}function T(B,...F){s.T&&M()&&b(()=>{f.O.console[B](`Sentry Logger [${B}]:`,...F)})}function C(){return s.T?(0,m.BY)("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const R={enable:function x(){C().enabled=!0},disable:function N(){C().enabled=!1},isEnabled:M,log:function U(...B){T("log",...B)},warn:function J(...B){T("warn",...B)},error:function I(...B){T("error",...B)}};h.d(pe,["Ow",0,["debug","info","warn","error","log","assert","trace"],"Yz",0,R,"Z9",0,y])},44199(st,pe,h){"use strict";h.d(pe,{AD:()=>J,SB:()=>y,ul:()=>U});var m=h(23602),s=h(85746);const f=/^o(\d+)\./,P=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function y(I,T=!1){const{host:C,path:R,pass:B,port:F,projectId:$,protocol:E,publicKey:w}=I;return`${E}://${w}${T&&B?`:${B}`:""}@${C}${F?`:${F}`:""}/${R&&`${R}/`}${$}`}function x(I){return{protocol:I.protocol,publicKey:I.publicKey||"",pass:I.pass||"",host:I.host,port:I.port||"",path:I.path||"",projectId:I.projectId}}function U(I){const T=I.getOptions(),{host:C}=I.getDsn()||{};let R;return T.orgId?R=String(T.orgId):C&&(R=function M(I){return I.match(f)?.[1]}(C)),R}function J(I){const T="string"==typeof I?function b(I){const T=P.exec(I);if(!T)return void(0,s.pq)(()=>{console.error(`Invalid Sentry Dsn: ${I}`)});const[C,R,B="",F="",$="",E=""]=T.slice(1);let w="",O=E;const Z=O.split("/");if(Z.length>1&&(w=Z.slice(0,-1).join("/"),O=Z.pop()),O){const Ee=O.match(/^\d+/);Ee&&(O=Ee[0])}return x({host:F,pass:B,path:w,projectId:O,port:$,protocol:C,publicKey:R})}(I):x(I);if(T&&function N(I){if(!m.T)return!0;const{port:T,projectId:C,protocol:R}=I;return!(["protocol","publicKey","host","projectId"].find($=>!I[$]&&(s.Yz.error(`Invalid Sentry Dsn: ${$} missing`),!0))||(C.match(/^\d+$/)?function D(I){return"http"===I||"https"===I}(R)?T&&isNaN(parseInt(T,10))&&(s.Yz.error(`Invalid Sentry Dsn: Invalid port ${T}`),1):(s.Yz.error(`Invalid Sentry Dsn: Invalid protocol ${R}`),1):(s.Yz.error(`Invalid Sentry Dsn: Invalid projectId ${C}`),1)))}(T))return T}},73456(st,pe,h){"use strict";h.d(pe,{f:()=>s});var m=h(26672);function s(f){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const P=f||(0,m.KU)()?.getOptions();return!(!P||null==P.tracesSampleRate&&!P.tracesSampler)}},30352(st,pe,h){"use strict";h.d(pe,{BD:()=>D,Kg:()=>b,NF:()=>x,Qd:()=>M,Qg:()=>C,T2:()=>P,W6:()=>y,Z4:()=>U,bJ:()=>s,gd:()=>T,ks:()=>$,sO:()=>N,tH:()=>B,xH:()=>J});const m=Object.prototype.toString;function s(E){switch(m.call(E)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return B(E,Error)}}function f(E,w){return m.call(E)===`[object ${w}]`}function P(E){return f(E,"ErrorEvent")}function D(E){return f(E,"DOMError")}function y(E){return f(E,"DOMException")}function b(E){return f(E,"String")}function x(E){return"object"==typeof E&&null!==E&&"__sentry_template_string__"in E&&"__sentry_template_values__"in E}function N(E){return null===E||x(E)||"object"!=typeof E&&"function"!=typeof E}function M(E){return f(E,"Object")}function U(E){return"object"==typeof E&&null!==E}function J(E){return typeof Event<"u"&&B(E,Event)}function T(E){return f(E,"RegExp")}function C(E){return!(!E?.then||"function"!=typeof E.then)}function B(E,w){try{return E instanceof w}catch{return!1}}function $(E){return typeof Request<"u"&&B(E,Request)}},71174(st,pe,h){"use strict";function m(s,f,P=2){if(!f||"object"!=typeof f||P<=0)return f;if(s&&0===Object.keys(f).length)return s;const D={...s};for(const y in f)Object.prototype.hasOwnProperty.call(f,y)&&(D[y]=m(D[y],f[y],P-1));return D}h.d(pe,{h:()=>m})},63392(st,pe,h){"use strict";h.d(pe,{$X:()=>M,GR:()=>B,M6:()=>J,eJ:()=>x,gO:()=>U});var s=h(52867),f=h(99043),P=h(84765);let y;function x($=function D(){const $=P.O;return $.crypto||$.msCrypto}()){try{if($?.randomUUID)return(0,f.Qw)(()=>$.randomUUID()).replace(/-/g,"")}catch{}return y||(y="10000000100040008000100000000000"),y.replace(/[018]/g,E=>(E^(15&function b(){return 16*(0,f.hY)()}())>>E/4).toString(16))}function N($){return $.exception?.values?.[0]}function M($){const{message:E,event_id:w}=$;if(E)return E;const O=N($);return O?O.type&&O.value?`${O.type}: ${O.value}`:O.type||O.value||w||"<unknown>":w||"<unknown>"}function U($,E,w){const O=$.exception=$.exception||{},Z=O.values=O.values||[],Ee=Z[0]=Z[0]||{};Ee.value||(Ee.value=E||""),Ee.type||(Ee.type=w||"Error")}function J($,E){const w=N($);if(!w)return;const Z=w.mechanism;if(w.mechanism={type:"generic",handled:!0,...Z,...E},E&&"data"in E){const Ee={...Z?.data,...E.data};w.mechanism.data=Ee}}function B($){if(function F($){try{return $.__sentry_captured__}catch{}}($))return!0;try{(0,s.my)($,"__sentry_captured__",!0)}catch{}return!1}},87450(st,pe,h){"use strict";h.d(pe,{S8:()=>J,cd:()=>I,Ip:()=>U,ng:()=>C});const s=Symbol.for("sentry.skipNormalization"),f=Symbol.for("sentry.overrideNormalizationDepth");var x=h(52867),N=h(58629);let M;function U(w){M=w}function J(w,O=100,Z=1/0){try{return T("",w,O,Z)}catch(Ee){return{ERROR:`**non-serializable** (${Ee})`}}}function I(w,O=3,Z=102400){const Ee=J(w,O);return function F(w){return function B(w){return~-encodeURI(w).split(/%..|./).length}(JSON.stringify(w))}(Ee)>Z?I(w,O-1,Z):Ee}function T(w,O,Z=1/0,Ee=1/0,oe=function E(){const w=new WeakSet;function O(Ee){return!!w.has(Ee)||(w.add(Ee),!1)}function Z(Ee){w.delete(Ee)}return[O,Z]}()){const[j,te]=oe;if(null==O||["boolean","string"].includes(typeof O)||"number"==typeof O&&Number.isFinite(O))return O;const ce=C(w,O);if(!ce.startsWith("[object "))return ce;if(function y(w){return!!w[s]}(O))return O;const ye=function b(w){const O=w[f];return"number"==typeof O?O:void 0}(O),Le=void 0!==ye?ye:Z;if(0===Le)return ce.replace("object ","");if(j(O))return"[Circular ~]";const $e=O;if($e&&"function"==typeof $e.toJSON)try{return T("",$e.toJSON(),Le-1,Ee,oe)}catch{}const Tt=Array.isArray(O)?[]:{};let We=0;const Me=(0,x.W4)(O);for(const ut in Me){if(!Object.prototype.hasOwnProperty.call(Me,ut))continue;if(We>=Ee){Tt[ut]="[MaxProperties ~]";break}const xe=Me[ut];Tt[ut]=T(ut,xe,Le-1,Ee,oe),We++}return te(O),Tt}function C(w,O){try{if(M){const Ee=M(O);if(Ee)return Ee}return typeof global<"u"&&O===global?"[Global]":"number"!=typeof O||Number.isFinite(O)?"function"==typeof O?`[Function: ${(0,N.qQ)(O)}]`:"symbol"==typeof O?`[${String(O)}]`:"bigint"==typeof O?`[BigInt: ${String(O)}]`:`[object ${function R(w){const O=Object.getPrototypeOf(w);return O?.constructor?O.constructor.name:"null prototype"}(O)}]`:`[${O}]`}catch(Z){return`**non-serializable** (${Z})`}}},52867(st,pe,h){"use strict";h.d(pe,{GS:()=>D,HF:()=>J,W4:()=>M,my:()=>y,pO:()=>b,sp:()=>N});var s=h(23602),f=h(85746),P=h(30352);function D(B,F,$){if(!(F in B))return;const E=B[F];if("function"!=typeof E)return;const w=$(E);"function"==typeof w&&b(w,E);try{B[F]=w}catch{s.T&&f.Yz.log(`Failed to replace method "${F}" in object`,B)}}function y(B,F,$){try{Object.defineProperty(B,F,{value:$,writable:!0,configurable:!0})}catch{s.T&&f.Yz.log(`Failed to add non-enumerable property "${String(F)}" to object`,B)}}function b(B,F){try{const $=F.prototype||{};B.prototype=F.prototype=$,y(B,"__sentry_original__",F)}catch{}}function N(B){return B.__sentry_original__}function M(B){if((0,P.bJ)(B))return{message:B.message,name:B.name,stack:B.stack,...U(B)};if((0,P.xH)(B)){const{type:F,target:$,currentTarget:E,detail:w}=B;return{type:F,target:$,currentTarget:E,...w?{detail:w}:{},...U(B)}}return B}function U(B){return(0,P.Z4)(B)?Object.fromEntries(Object.entries(B)):{}}function J(B){const F=Object.keys(M(B));return F.sort(),F[0]?F.join(", "):"[object has no keys]"}},92967(st,pe,h){"use strict";h.d(pe,{li:()=>ye,mG:()=>O});var m=h(64657),s=h(23602),f=h(85746),P=h(30352),D=h(78874);function y(We,Me,ut,xe=0){try{const Te=b(Me,ut,We,xe);return(0,P.Qg)(Te)?Te:(0,D.XW)(Te)}catch(Te){return(0,D.xg)(Te)}}function b(We,Me,ut,xe){const Te=ut[xe];if(!We||!Te)return We;const Ce=Te({...We},Me);return s.T&&null===Ce&&f.Yz.log(`Event processor "${Te.id||"?"}" dropped event`),(0,P.Qg)(Ce)?Ce.then(et=>b(et,Me,ut,xe+1)):b(Ce,Me,ut,xe+1)}var x=h(61164),N=h(84765);let U,J,I,T;function C(We){const Me=N.O._sentryDebugIds,ut=N.O._debugIds;if(!Me&&!ut)return{};const xe=Me?Object.keys(Me):[],Te=ut?Object.keys(ut):[];if(T&&xe.length===J&&Te.length===I)return T;J=xe.length,I=Te.length,T={},U||(U={});const Ce=(et,he)=>{for(const ve of et){const be=he[ve],de=U?.[ve];if(de&&T&&be)T[de[0]]=be,U&&(U[ve]=[de[0],be]);else if(be){const G=We(ve);for(let Fe=G.length-1;Fe>=0;Fe--){const wt=G[Fe]?.filename;if(wt&&T&&U){T[wt]=be,U[ve]=[wt,be];break}}}}};return Me&&Ce(xe,Me),ut&&Ce(Te,ut),T}var B=h(63392),F=h(87450),$=h(51486),E=h(16525),w=h(68089);function O(We,Me,ut,xe,Te,Ce){const{normalizeDepth:et=3,normalizeMaxBreadth:he=1e3}=We,ve={...Me,event_id:Me.event_id||ut.event_id||(0,B.eJ)(),timestamp:Me.timestamp||(0,w.lu)()},be=ut.integrations||We.integrations.map(V=>V.name);(function Z(We,Me){const{environment:ut,release:xe,dist:Te,maxValueLength:Ce}=Me;We.environment=We.environment||ut||m.U,!We.release&&xe&&(We.release=xe),!We.dist&&Te&&(We.dist=Te);const et=We.request;et?.url&&Ce&&(et.url=(0,E.xv)(et.url,Ce)),Ce&&We.exception?.values?.forEach(he=>{he.value&&(he.value=(0,E.xv)(he.value,Ce))})})(ve,We),function j(We,Me){Me.length>0&&(We.sdk=We.sdk||{},We.sdk.integrations=[...We.sdk.integrations||[],...Me])}(ve,be),Te&&Te.emit("applyFrameMetadata",Me),void 0===Me.type&&function Ee(We,Me){const ut=C(Me);We.exception?.values?.forEach(xe=>{xe.stacktrace?.frames?.forEach(Te=>{Te.filename&&(Te.debug_id=ut[Te.filename])})})}(ve,We.stackParser);const de=function ce(We,Me){if(!Me)return We;const ut=We?We.clone():new x.H;return ut.update(Me),ut}(xe,ut.captureContext);ut.mechanism&&(0,B.M6)(ve,ut.mechanism);const G=Te?Te.getEventProcessors():[],Fe=(0,$.Om)(Ce,de),He=[...ut.attachments||[],...Fe.attachments];He.length&&(ut.attachments=He),(0,$.e2)(ve,Fe);const wt=[...G,...Fe.eventProcessors];return(ut.data&&!0===ut.data.__sentry__?(0,D.XW)(ve):y(wt,ve,ut)).then(V=>(V&&function oe(We){const Me={};if(We.exception?.values?.forEach(xe=>{xe.stacktrace?.frames?.forEach(Te=>{Te.debug_id&&(Te.abs_path?Me[Te.abs_path]=Te.debug_id:Te.filename&&(Me[Te.filename]=Te.debug_id),delete Te.debug_id)})}),0===Object.keys(Me).length)return;We.debug_meta=We.debug_meta||{},We.debug_meta.images=We.debug_meta.images||[];const ut=We.debug_meta.images;Object.entries(Me).forEach(([xe,Te])=>{ut.push({type:"sourcemap",code_file:xe,debug_id:Te})})}(V),"number"==typeof et&&et>0?function te(We,Me,ut){if(!We)return null;const xe={...We,...We.breadcrumbs&&{breadcrumbs:We.breadcrumbs.map(Te=>({...Te,...Te.data&&{data:(0,F.S8)(Te.data,Me,ut)}}))},...We.user&&{user:(0,F.S8)(We.user,Me,ut)},...We.contexts&&{contexts:(0,F.S8)(We.contexts,Me,ut)},...We.extra&&{extra:(0,F.S8)(We.extra,Me,ut)}};return We.contexts?.trace&&xe.contexts&&(xe.contexts.trace=We.contexts.trace,We.contexts.trace.data&&(xe.contexts.trace.data=(0,F.S8)(We.contexts.trace.data,Me,ut))),We.spans&&(xe.spans=We.spans.map(Te=>({...Te,...Te.data&&{data:(0,F.S8)(Te.data,Me,ut)}}))),We.contexts?.flags&&xe.contexts&&(xe.contexts.flags=(0,F.S8)(We.contexts.flags,3,ut)),xe}(V,et,he):V))}function ye(We){if(We)return function Le(We){return We instanceof x.H||"function"==typeof We}(We)||function Tt(We){return Object.keys(We).some(Me=>$e.includes(Me))}(We)?{captureContext:We}:We}const $e=["user","level","extra","contexts","tags","fingerprint","propagationContext"]},70477(st,pe,h){"use strict";h.d(pe,{Z:()=>f,e:()=>s});var m=h(63392);function s(){return(0,m.eJ)()}function f(){return(0,m.eJ)().substring(16)}},99043(st,pe,h){"use strict";h.d(pe,{Qw:()=>f,Wk:()=>D,hY:()=>P});var m=h(84765);let s;function f(y){if(void 0!==s)return s?s(y):y();const b=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),x=m.O;return b in x&&"function"==typeof x[b]?(s=x[b],s(y)):(s=null,y())}function P(){return f(()=>Math.random())}function D(){return f(()=>Date.now())}},51486(st,pe,h){"use strict";h.d(pe,{Om:()=>x,e2:()=>D});var m=h(26672),s=h(41807),f=h(71174),P=h(75937);function D(T,C){const{fingerprint:R,span:B,breadcrumbs:F,sdkProcessingMetadata:$}=C;(function N(T,C){const{extra:R,tags:B,user:F,contexts:$,level:E,transactionName:w}=C;Object.keys(R).length&&(T.extra={...R,...T.extra}),Object.keys(B).length&&(T.tags={...B,...T.tags}),Object.keys(F).length&&(T.user={...F,...T.user}),Object.keys($).length&&(T.contexts={...$,...T.contexts}),E&&(T.level=E),w&&"transaction"!==T.type&&(T.transaction=w)})(T,C),B&&function J(T,C){T.contexts={trace:(0,P.kX)(C),...T.contexts},T.sdkProcessingMetadata={dynamicSamplingContext:(0,s.k1)(C),...T.sdkProcessingMetadata};const R=(0,P.zU)(C),B=(0,P.et)(R).description;B&&!T.transaction&&"transaction"===T.type&&(T.transaction=B)}(T,B),function I(T,C){T.fingerprint=T.fingerprint?Array.isArray(T.fingerprint)?T.fingerprint:[T.fingerprint]:[],C&&(T.fingerprint=T.fingerprint.concat(C)),T.fingerprint.length||delete T.fingerprint}(T,R),function M(T,C){const R=[...T.breadcrumbs||[],...C];T.breadcrumbs=R.length?R:void 0}(T,F),function U(T,C){T.sdkProcessingMetadata={...T.sdkProcessingMetadata,...C}}(T,$)}function y(T,C){const{extra:R,tags:B,attributes:F,user:$,contexts:E,level:w,sdkProcessingMetadata:O,breadcrumbs:Z,fingerprint:Ee,eventProcessors:oe,attachments:j,propagationContext:te,transactionName:ce,span:ye}=C;b(T,"extra",R),b(T,"tags",B),b(T,"attributes",F),b(T,"user",$),b(T,"contexts",E),T.sdkProcessingMetadata=(0,f.h)(T.sdkProcessingMetadata,O,2),w&&(T.level=w),ce&&(T.transactionName=ce),ye&&(T.span=ye),Z.length&&(T.breadcrumbs=[...T.breadcrumbs,...Z]),Ee.length&&(T.fingerprint=[...T.fingerprint,...Ee]),oe.length&&(T.eventProcessors=[...T.eventProcessors,...oe]),j.length&&(T.attachments=[...T.attachments,...j]),T.propagationContext={...T.propagationContext,...te}}function b(T,C,R){T[C]=(0,f.h)(T[C],R,1)}function x(T,C){const R=(0,m.m6)().getScopeData();return T&&y(R,T.getScopeData()),C&&y(R,C.getScopeData()),R}},99741(st,pe,h){"use strict";h.d(pe,{f:()=>D,r:()=>P});var m=h(52867),s=h(52699);const f="_sentrySpan";function P(y,b){b?(0,m.my)(y,f,(0,s.Z)(b)):delete y[f]}function D(y){return(0,s.q)(y[f])}},75937(st,pe,h){"use strict";h.d(pe,{Hu:()=>Fe,fy:()=>be,uU:()=>ye,Bk:()=>V,zU:()=>Jt,dZ:()=>ve,xO:()=>wt,yW:()=>he,HQ:()=>Le,xl:()=>ue,pK:()=>et,cI:()=>$e,et:()=>We,kX:()=>j,Ck:()=>oe,PL:()=>xe});var m=h(79679);function P(rt,It){const{value:Kt,unit:Ht}=function f(rt){return"object"==typeof rt&&null!=rt&&!Array.isArray(rt)&&Object.keys(rt).includes("value")}(rt)?rt:{value:rt,unit:void 0},ze=function x(rt){if(Array.isArray(rt))return{value:rt,type:"array"};const It="string"==typeof rt?"string":"boolean"==typeof rt?"boolean":"number"!=typeof rt||Number.isNaN(rt)?null:Number.isInteger(rt)?"integer":"double";if(It)return{value:rt,type:It}}(Kt),Mt=Ht&&"string"==typeof Ht?{unit:Ht}:{};if(ze)return{...ze,...Mt};if(!It||"skip-undefined"===It&&void 0===Kt)return;let Pt="";try{Pt=JSON.stringify(Kt)??""}catch{}return{value:Pt,type:"string",...Mt}}function D(rt,It=!1){const Kt={};for(const[Ht,ze]of Object.entries(rt??{})){const Mt=P(ze,It);Mt&&(Kt[Ht]=Mt)}return Kt}var N=h(50240),M=h(26672),U=h(49779),J=h(88),I=h(52867),T=h(70477),C=h(68089),R=h(85746),B=h(99741);let Ee=!1;function oe(rt){const{spanId:It,traceId:Kt}=rt.spanContext(),{data:Ht,op:ze,parent_span_id:Mt,status:Pt,origin:bn,links:Tn}=We(rt);return{parent_span_id:Mt,span_id:It,trace_id:Kt,data:Ht,op:ze,status:Pt,origin:bn,links:Tn}}function j(rt){const{spanId:It,traceId:Kt,isRemote:Ht}=rt.spanContext(),ze=Ht?It:We(rt).parent_span_id,Mt=(0,J.Lb)(rt).scope;return{parent_span_id:ze,span_id:Ht?Mt?.getPropagationContext().propagationSpanId||(0,T.Z)():It,trace_id:Kt}}function ye(rt){if(rt&&rt.length>0)return rt.map(({context:{spanId:It,traceId:Kt,traceFlags:Ht,...ze},attributes:Mt})=>({span_id:It,trace_id:Kt,sampled:1===Ht,attributes:Mt,...ze}))}function Le(rt){if(rt?.length)return rt.map(({context:{spanId:It,traceId:Kt,traceFlags:Ht},attributes:ze})=>({span_id:It,trace_id:Kt,sampled:1===Ht,attributes:ze}))}function $e(rt){return"number"==typeof rt?Tt(rt):Array.isArray(rt)?rt[0]+rt[1]/1e9:rt instanceof Date?Tt(rt.getTime()):(0,C.zf)()}function Tt(rt){return rt>9999999999?rt/1e3:rt}function We(rt){if(Ce(rt))return rt.getSpanJSON();const{spanId:It,traceId:Kt}=rt.spanContext();if(Te(rt)){const{attributes:Ht,startTime:ze,name:Mt,endTime:Pt,status:bn,links:Tn}=rt;return{span_id:It,trace_id:Kt,data:Ht,description:Mt,parent_span_id:ut(rt),start_timestamp:$e(ze),timestamp:$e(Pt)||void 0,status:he(bn),op:Ht[U.uT],origin:Ht[U.JD],links:ye(Tn)}}return{span_id:It,trace_id:Kt,start_timestamp:0,data:{}}}function ut(rt){return"parentSpanId"in rt?rt.parentSpanId:"parentSpanContext"in rt?rt.parentSpanContext?.spanId:void 0}function xe(rt){return{...rt,attributes:D(rt.attributes),links:rt.links?.map(It=>({...It,attributes:D(It.attributes)}))}}function Te(rt){const It=rt;return!!(It.attributes&&It.startTime&&It.name&&It.endTime&&It.status)}function Ce(rt){return"function"==typeof rt.getSpanJSON}function et(rt){const{traceFlags:It}=rt.spanContext();return 1===It}function he(rt){if(rt&&0!==rt.code)return 1===rt.code?"ok":rt.message||"internal_error"}function ve(rt){return rt&&1!==rt.code&&0!==rt.code&&"cancelled"!==rt.message?"error":"ok"}function be(rt,It){const Kt="error"===ve(It)?It?.message:void 0;return{...Kt&&{[U.Ft]:Kt},...rt}}const de="_sentryChildSpans",G="_sentryRootSpan";function Fe(rt,It){const Kt=rt[G]||rt;(0,I.my)(It,G,Kt),rt[de]?rt[de].add(It):(0,I.my)(rt,de,new Set([It]))}function wt(rt){const It=new Set;return function Kt(Ht){if(!It.has(Ht)&&et(Ht)){It.add(Ht);const ze=Ht[de]?Array.from(Ht[de]):[];for(const Mt of ze)Kt(Mt)}}(rt),Array.from(It)}const Jt=ee;function ee(rt){return rt[G]||rt}function V(){const rt=(0,N.EU)(),It=(0,m.h)(rt);return It.getActiveSpan?It.getActiveSpan():(0,B.f)((0,M.o5)())}function ue(){Ee||((0,R.pq)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),Ee=!0)}},58629(st,pe,h){"use strict";h.d(pe,{RV:()=>U,gd:()=>D,qQ:()=>M,vk:()=>y});const f=/\(error: (.*)\)/,P=/captureMessage|captureException/;function D(...I){const T=I.sort((C,R)=>C[0]-R[0]).map(C=>C[1]);return(C,R=0,B=0)=>{const F=[],$=C.split("\n");for(let E=R;E<$.length;E++){let w=$[E];w.length>1024&&(w=w.slice(0,1024));const O=f.test(w)?w.replace(f,"$1"):w;if(!O.includes("Error: ")){for(const Z of T){const Ee=Z(O);if(Ee){F.push(Ee);break}}if(F.length>=50+B)break}}return function b(I){if(!I.length)return[];const T=Array.from(I);return/sentryWrapped/.test(x(T).function||"")&&T.pop(),T.reverse(),P.test(x(T).function||"")&&(T.pop(),P.test(x(T).function||"")&&T.pop()),T.slice(0,50).map(C=>({...C,filename:C.filename||x(T).filename,function:C.function||"?"}))}(F.slice(B))}}function y(I){return Array.isArray(I)?D(...I):I}function x(I){return I[I.length-1]||{}}const N="<anonymous>";function M(I){try{return I&&"function"==typeof I&&I.name||N}catch{return N}}function U(I){const T=I.exception;if(T){const C=[];try{return T.values.forEach(R=>{R.stacktrace.frames&&C.push(...R.stacktrace.frames)}),C}catch{return}}}},16525(st,pe,h){"use strict";h.d(pe,{Xr:()=>x,_c:()=>b,gt:()=>y,xv:()=>P});var m=h(30352),s=h(87450);function P(N,M=0){return"string"!=typeof N||0===M||N.length<=M?N:`${N.slice(0,M)}...`}function y(N,M){if(!Array.isArray(N))return"";const U=[];for(let J=0;J<N.length;J++){const I=N[J];(0,m.sO)(I)?U.push(String(I)):I instanceof Error?U.push(I.message?`${I.name}: ${I.message}`:I.name):U.push((0,s.ng)(void 0,I))}return U.join(M)}function b(N,M,U=!1){return!!(0,m.Kg)(N)&&((0,m.gd)(M)?M.test(N):(0,m.Kg)(M)?U?N===M:N.includes(M):"function"==typeof M&&M(N))}function x(N,M=[],U=!1){for(const J of M)if(b(N,J,U))return!0;return!1}},77920(st,pe,h){"use strict";h.d(pe,{NJ:()=>x,a3:()=>U,m7:()=>J});var m=h(23602),s=h(85746);const P=h(84765).O;function x(){return"history"in P&&!!P.history}function M(){if(!("fetch"in P))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function U(C){return C&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(C.toString())}function J(){if("string"==typeof EdgeRuntime)return!0;if(!M())return!1;if(U(P.fetch))return!0;let C=!1;const R=P.document;if(R&&"function"==typeof R.createElement)try{const B=R.createElement("iframe");B.hidden=!0,R.head.appendChild(B),B.contentWindow?.fetch&&(C=U(B.contentWindow.fetch)),R.head.removeChild(B)}catch(B){m.T&&s.Yz.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",B)}return C}},78874(st,pe,h){"use strict";h.d(pe,{XW:()=>D,xg:()=>y});var m=h(30352);function D(x){return new b(N=>{N(x)})}function y(x){return new b((N,M)=>{M(x)})}class b{constructor(N){this._state=0,this._handlers=[],this._runExecutor(N)}then(N,M){return new b((U,J)=>{this._handlers.push([!1,I=>{if(N)try{U(N(I))}catch(T){J(T)}else U(I)},I=>{if(M)try{U(M(I))}catch(T){J(T)}else J(I)}]),this._executeHandlers()})}catch(N){return this.then(M=>M,N)}finally(N){return new b((M,U)=>{let J,I;return this.then(T=>{I=!1,J=T,N&&N()},T=>{I=!0,J=T,N&&N()}).then(()=>{I?U(J):M(J)})})}_executeHandlers(){if(0===this._state)return;const N=this._handlers.slice();this._handlers=[],N.forEach(M=>{M[0]||(1===this._state&&M[1](this._value),2===this._state&&M[2](this._value),M[0]=!0)})}_runExecutor(N){const M=(I,T)=>{if(0===this._state){if((0,m.Qg)(T))return void T.then(U,J);this._state=I,this._value=T,this._executeHandlers()}},U=I=>{M(1,I)},J=I=>{M(2,I)};try{N(U,J)}catch(I){J(I)}}}},68089(st,pe,h){"use strict";h.d(pe,{lu:()=>b,zf:()=>M});var P=h(99043),D=h(84765);function b(){return(0,P.Wk)()/1e3}let N;function M(){return(N??(N=function x(){const{performance:T}=D.O;if(!T?.now||!T.timeOrigin)return b;const C=T.timeOrigin;return()=>(C+(0,P.Qw)(()=>T.now()))/1e3}()))()}},47031(st,pe,h){"use strict";h.d(pe,{Dl:()=>U,f:()=>J,kg:()=>b,zm:()=>T});function b(C,R){const B=C.indexOf("://")<=0&&0!==C.indexOf("//"),F=R??(B?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(C,F))return;const $=new URL(C,F);return B?{isRelative:B,pathname:$.pathname,search:$.search,hash:$.hash}:$}catch{}}function U(C){if(!C)return{};const R=C.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!R)return{};const B=R[6]||"",F=R[8]||"";return{host:R[4],path:R[5],protocol:R[2],search:B,hash:F,relative:R[5]+B+F}}function J(C){return C.split(/[?#]/,1)[0]}function T(C,R=!0){if(C.startsWith("data:")){const B=C.match(/^data:([^;,]+)/),F=B?B[1]:"text/plain",$=C.includes(";base64,"),E=C.indexOf(",");let w="";if(R&&-1!==E){const O=C.slice(E+1);w=O.length>10?`${O.slice(0,10)}... [truncated]`:O}return`data:${F}${$?",base64":""}${w?`,${w}`:""}`}return C}},28922(st,pe,h){"use strict";h.d(pe,["M",0,"10.69.0"])},52699(st,pe,h){"use strict";h.d(pe,{Z:()=>s,q:()=>f});var m=h(84765);function s(P){try{const D=m.O.WeakRef;if("function"==typeof D)return new D(P)}catch{}return P}function f(P){if(P){if("object"==typeof P&&"deref"in P&&"function"==typeof P.deref)try{return P.deref()}catch{return}return P}}},84765(st,pe,h){"use strict";const m=globalThis;h.d(pe,["O",0,m])},86151(st,pe,h){"use strict";h.r(pe),h.d(pe,{MultiToken:()=>br,Options:()=>co,State:()=>R,createTokenClass:()=>es,find:()=>vo,init:()=>wi,multi:()=>Cr,options:()=>to,regexp:()=>Ti,registerCustomProtocol:()=>hr,registerPlugin:()=>Hi,registerTokenPlugin:()=>Mi,reset:()=>mi,stringToArray:()=>Qn,test:()=>Gi,text:()=>Cr,tokenize:()=>Ki});const f="numeric",P="ascii",D="alpha",y="asciinumeric",b="alphanumeric",x="domain",N="emoji",M="scheme",U="slashscheme",J="whitespace";function I(Ze,tt){return Ze in tt||(tt[Ze]=[]),tt[Ze]}function T(Ze,tt,ft){tt[f]&&(tt[y]=!0,tt[b]=!0),tt[P]&&(tt[y]=!0,tt[D]=!0),tt[y]&&(tt[b]=!0),tt[D]&&(tt[b]=!0),tt[b]&&(tt[x]=!0),tt[N]&&(tt[x]=!0);for(const Ot in tt){const sn=I(Ot,ft);sn.indexOf(Ze)<0&&sn.push(Ze)}}function R(Ze=null){this.j={},this.jr=[],this.jd=null,this.t=Ze}R.groups={},R.prototype={accepts(){return!!this.t},go(Ze){const tt=this,ft=tt.j[Ze];if(ft)return ft;for(let Ot=0;Ot<tt.jr.length;Ot++){const sn=tt.jr[Ot][0],kn=tt.jr[Ot][1];if(kn&&sn.test(Ze))return kn}return tt.jd},has(Ze,tt=!1){return tt?Ze in this.j:!!this.go(Ze)},ta(Ze,tt,ft,Ot){for(let sn=0;sn<Ze.length;sn++)this.tt(Ze[sn],tt,ft,Ot)},tr(Ze,tt,ft,Ot){let sn;return Ot=Ot||R.groups,tt&&tt.j?sn=tt:(sn=new R(tt),ft&&Ot&&T(tt,ft,Ot)),this.jr.push([Ze,sn]),sn},ts(Ze,tt,ft,Ot){let sn=this;const kn=Ze.length;if(!kn)return sn;for(let In=0;In<kn-1;In++)sn=sn.tt(Ze[In]);return sn.tt(Ze[kn-1],tt,ft,Ot)},tt(Ze,tt,ft,Ot){Ot=Ot||R.groups;if(tt&&tt.j)return this.j[Ze]=tt,tt;const kn=tt;let In,ti=this.go(Ze);if(ti?(In=new R,Object.assign(In.j,ti.j),In.jr.push.apply(In.jr,ti.jr),In.jd=ti.jd,In.t=ti.t):In=new R,kn){if(Ot)if(In.t&&"string"==typeof In.t){const Yi=Object.assign(function C(Ze,tt){const ft={};for(const Ot in tt)tt[Ot].indexOf(Ze)>=0&&(ft[Ot]=!0);return ft}(In.t,Ot),ft);T(kn,Yi,Ot)}else ft&&T(kn,ft,Ot);In.t=kn}return this.j[Ze]=In,In}};const B=(Ze,tt,ft,Ot,sn)=>Ze.ta(tt,ft,Ot,sn),F=(Ze,tt,ft,Ot,sn)=>Ze.tr(tt,ft,Ot,sn),$=(Ze,tt,ft,Ot,sn)=>Ze.ts(tt,ft,Ot,sn),E=(Ze,tt,ft,Ot,sn)=>Ze.tt(tt,ft,Ot,sn),w="WORD",O="UWORD",Z="ASCIINUMERICAL",Ee="ALPHANUMERICAL",oe="LOCALHOST",j="TLD",te="UTLD",ce="SCHEME",ye="SLASH_SCHEME",We="OPENBRACE",Me="CLOSEBRACE",ut="OPENBRACKET",xe="CLOSEBRACKET",Te="OPENPAREN",Ce="CLOSEPAREN",et="OPENANGLEBRACKET",he="CLOSEANGLEBRACKET",ve="FULLWIDTHLEFTPAREN",be="FULLWIDTHRIGHTPAREN",de="LEFTCORNERBRACKET",G="RIGHTCORNERBRACKET",Fe="LEFTWHITECORNERBRACKET",He="RIGHTWHITECORNERBRACKET",wt="FULLWIDTHLESSTHAN",Jt="FULLWIDTHGREATERTHAN",ee="AMPERSAND",V="APOSTROPHE",ue="ASTERISK",De="AT",rt="BACKSLASH",It="BACKTICK",Kt="CARET",Ht="COLON",ze="COMMA",Mt="DOLLAR",Pt="DOT",bn="EQUALS",Tn="EXCLAMATION",Lt="HYPHEN",_e="PERCENT",Y="PIPE",fe="PLUS",Et="POUND",Vt="QUERY",ln="QUOTE",fn="FULLWIDTHMIDDLEDOT",je="SEMI",_t="SLASH",ht="TILDE",lt="UNDERSCORE",at="SYM";var Q=Object.freeze({__proto__:null,ALPHANUMERICAL:Ee,AMPERSAND:ee,APOSTROPHE:V,ASCIINUMERICAL:Z,ASTERISK:ue,AT:De,BACKSLASH:rt,BACKTICK:It,CARET:Kt,CLOSEANGLEBRACKET:he,CLOSEBRACE:Me,CLOSEBRACKET:xe,CLOSEPAREN:Ce,COLON:Ht,COMMA:ze,DOLLAR:Mt,DOT:Pt,EMOJI:"EMOJI",EQUALS:bn,EXCLAMATION:Tn,FULLWIDTHGREATERTHAN:Jt,FULLWIDTHLEFTPAREN:ve,FULLWIDTHLESSTHAN:wt,FULLWIDTHMIDDLEDOT:fn,FULLWIDTHRIGHTPAREN:be,HYPHEN:Lt,LEFTCORNERBRACKET:de,LEFTWHITECORNERBRACKET:Fe,LOCALHOST:oe,NL:"NL",NUM:"NUM",OPENANGLEBRACKET:et,OPENBRACE:We,OPENBRACKET:ut,OPENPAREN:Te,PERCENT:_e,PIPE:Y,PLUS:fe,POUND:Et,QUERY:Vt,QUOTE:ln,RIGHTCORNERBRACKET:G,RIGHTWHITECORNERBRACKET:He,SCHEME:ce,SEMI:je,SLASH:_t,SLASH_SCHEME:ye,SYM:at,TILDE:ht,TLD:j,UNDERSCORE:lt,UTLD:te,UWORD:O,WORD:w,WS:"WS"});const Ae=/[a-z]/,Qe=new RegExp("\\p{L}","u"),kt=new RegExp("\\p{Emoji}","u"),mn=/\d/,Jn=/\s/;var Ti=Object.freeze({__proto__:null,ASCII_LETTER:Ae,DIGIT:mn,EMOJI:kt,EMOJI_VARIATION:/\ufe0f/,LETTER:Qe,SPACE:Jn});let Yn=null,Yt=null;function zn(Ze,tt){const ft=Qn(tt.replace(/[A-Z]/g,ti=>ti.toLowerCase())),Ot=ft.length,sn=[];let kn=0,In=0;for(;In<Ot;){let ti=Ze,Yi=null,tr=0,qi=null,Xn=-1,Nn=-1;for(;In<Ot&&(Yi=ti.go(ft[In]));)ti=Yi,ti.accepts()?(Xn=0,Nn=0,qi=ti):Xn>=0&&(Xn+=ft[In].length,Nn++),tr+=ft[In].length,kn+=ft[In].length,In++;kn-=Xn,In-=Nn,tr-=Xn,sn.push({t:qi.t,v:tt.slice(kn-tr,kn),s:kn-tr,e:kn})}return sn}function Qn(Ze){const tt=[],ft=Ze.length;let Ot=0;for(;Ot<ft;){let kn,sn=Ze.charCodeAt(Ot),In=sn<55296||sn>56319||Ot+1===ft||(kn=Ze.charCodeAt(Ot+1))<56320||kn>57343?Ze[Ot]:Ze.slice(Ot,Ot+2);tt.push(In),Ot+=In.length}return tt}function pi(Ze,tt,ft,Ot,sn){let kn;const In=tt.length;for(let ti=0;ti<In-1;ti++){const Yi=tt[ti];Ze.j[Yi]?kn=Ze.j[Yi]:(kn=new R(Ot),kn.jr=sn.slice(),Ze.j[Yi]=kn),Ze=kn}return kn=new R(ft),kn.jr=sn.slice(),Ze.j[tt[In-1]]=kn,kn}function Mr(Ze){const tt=[],ft=[];let Ot=0;for(;Ot<Ze.length;){let kn=0;for(;"0123456789".indexOf(Ze[Ot+kn])>=0;)kn++;if(kn>0){tt.push(ft.join(""));for(let In=parseInt(Ze.substring(Ot,Ot+kn),10);In>0;In--)ft.pop();Ot+=kn}else ft.push(Ze[Ot]),Ot++}return tt}const Fr={defaultProtocol:"http",events:null,format:lo,formatHref:lo,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function co(Ze,tt=null){let ft=Object.assign({},Fr);Ze&&(ft=Object.assign(ft,Ze instanceof co?Ze.o:Ze));const Ot=ft.ignoreTags,sn=[];for(let kn=0;kn<Ot.length;kn++)sn.push(Ot[kn].toUpperCase());this.o=ft,tt&&(this.defaultRender=tt),this.ignoreTags=sn}function lo(Ze){return Ze}co.prototype={o:Fr,ignoreTags:[],defaultRender:Ze=>Ze,check(Ze){return this.get("validate",Ze.toString(),Ze)},get(Ze,tt,ft){const Ot=null!=tt;let sn=this.o[Ze];return sn&&("object"==typeof sn?(sn=ft.t in sn?sn[ft.t]:Fr[Ze],"function"==typeof sn&&Ot&&(sn=sn(tt,ft))):"function"==typeof sn&&Ot&&(sn=sn(tt,ft.t,ft)),sn)},getObj(Ze,tt,ft){let Ot=this.o[Ze];return"function"==typeof Ot&&null!=tt&&(Ot=Ot(tt,ft.t,ft)),Ot},render(Ze){const tt=Ze.render(this);return(this.get("render",null,Ze)||this.defaultRender)(tt,Ze.t,Ze)}};var to=Object.freeze({__proto__:null,Options:co,defaults:Fr});function br(Ze,tt){this.t="token",this.v=Ze,this.tk=tt}function es(Ze,tt){class ft extends br{constructor(sn,kn){super(sn,kn),this.t=Ze}}for(const Ot in tt)ft.prototype[Ot]=tt[Ot];return ft.t=Ze,ft}br.prototype={isLink:!1,toString(){return this.v},toHref(Ze){return this.toString()},toFormattedString(Ze){const tt=this.toString(),ft=Ze.get("truncate",tt,this),Ot=Ze.get("format",tt,this);return ft&&Ot.length>ft?Ot.substring(0,ft)+"\u2026":Ot},toFormattedHref(Ze){return Ze.get("formatHref",this.toHref(Ze.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(Ze=Fr.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(Ze),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(Ze){return{type:this.t,value:this.toFormattedString(Ze),isLink:this.isLink,href:this.toFormattedHref(Ze),start:this.startIndex(),end:this.endIndex()}},validate(Ze){return Ze.get("validate",this.toString(),this)},render(Ze){const tt=this,ft=this.toHref(Ze.get("defaultProtocol")),Ot=Ze.get("formatHref",ft,this),sn=Ze.get("tagName",ft,tt),kn=this.toFormattedString(Ze),In={},ti=Ze.get("className",ft,tt),Yi=Ze.get("target",ft,tt),tr=Ze.get("rel",ft,tt),qi=Ze.getObj("attributes",ft,tt),Xn=Ze.getObj("events",ft,tt);return In.href=Ot,ti&&(In.class=ti),Yi&&(In.target=Yi),tr&&(In.rel=tr),qi&&Object.assign(In,qi),{tagName:sn,attributes:In,content:kn,eventListeners:Xn}}};const qr=es("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),uo=es("text"),wr=es("nl"),Qi=es("url",{isLink:!0,toHref(Ze=Fr.defaultProtocol){return this.hasProtocol()?this.v:`${Ze}://${this.v}`},hasProtocol(){const Ze=this.tk;return Ze.length>=2&&Ze[0].t!==oe&&Ze[1].t===Ht}});var Cr=Object.freeze({__proto__:null,Base:br,Email:qr,MultiToken:br,Nl:wr,Text:uo,Url:Qi,createTokenClass:es});const Ar=Ze=>new R(Ze);function Bt(Ze,tt,ft){const Ot=ft[0].s,sn=ft[ft.length-1].e;return new Ze(tt.slice(Ot,sn),ft)}const _n=typeof console<"u"&&console&&console.warn||(()=>{}),Kn="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",pn={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function mi(){return R.groups={},pn.scanner=null,pn.parser=null,pn.tokenQueue=[],pn.pluginQueue=[],pn.customSchemes=[],pn.initialized=!1,pn}function Mi(Ze,tt){if("function"!=typeof tt)throw new Error(`linkifyjs: Invalid token plugin ${tt} (expects function)`);for(let ft=0;ft<pn.tokenQueue.length;ft++)if(Ze===pn.tokenQueue[ft][0])return _n(`linkifyjs: token plugin "${Ze}" already registered - will be overwritten`),void(pn.tokenQueue[ft]=[Ze,tt]);pn.tokenQueue.push([Ze,tt]),pn.initialized&&_n(`linkifyjs: already initialized - will not register token plugin "${Ze}" ${Kn}`)}function Hi(Ze,tt){if("function"!=typeof tt)throw new Error(`linkifyjs: Invalid plugin ${tt} (expects function)`);for(let ft=0;ft<pn.pluginQueue.length;ft++)if(Ze===pn.pluginQueue[ft][0])return _n(`linkifyjs: plugin "${Ze}" already registered - will be overwritten`),void(pn.pluginQueue[ft]=[Ze,tt]);pn.pluginQueue.push([Ze,tt]),pn.initialized&&_n(`linkifyjs: already initialized - will not register plugin "${Ze}" ${Kn}`)}function hr(Ze,tt=!1){if(pn.initialized&&_n(`linkifyjs: already initialized - will not register custom scheme "${Ze}" ${Kn}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(Ze))throw new Error('linkifyjs: incorrect scheme format.\n1. Must only contain digits, lowercase ASCII letters or "-"\n2. Cannot start or end with "-"\n3. "-" cannot repeat');pn.customSchemes.push([Ze,tt])}function wi(){pn.scanner=function wn(Ze=[]){const tt={};R.groups=tt;const ft=new R;null==Yn&&(Yn=Mr("aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5m\xf6gensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2")),null==Yt&&(Yt=Mr("\u03b5\u03bb1\u03c52\u0431\u04331\u0435\u043b3\u0434\u0435\u0442\u04384\u0435\u044e2\u043a\u0430\u0442\u043e\u043b\u0438\u043a6\u043e\u043c3\u043c\u043a\u04342\u043e\u043d1\u0441\u043a\u0432\u04306\u043e\u043d\u043b\u0430\u0439\u043d5\u0440\u04333\u0440\u0443\u04412\u04442\u0441\u0430\u0439\u04423\u0440\u04313\u0443\u043a\u04403\u049b\u0430\u04373\u0570\u0561\u05753\u05d9\u05e9\u05e8\u05d0\u05dc5\u05e7\u05d5\u05dd3\u0627\u0628\u0648\u0638\u0628\u064a5\u0631\u0627\u0645\u0643\u06485\u0644\u0627\u0631\u062f\u06464\u0628\u062d\u0631\u064a\u06465\u062c\u0632\u0627\u0626\u06315\u0633\u0639\u0648\u062f\u064a\u06296\u0639\u0644\u064a\u0627\u06465\u0645\u063a\u0631\u06285\u0645\u0627\u0631\u0627\u062a5\u06cc\u0631\u0627\u06465\u0628\u0627\u0631\u062a2\u0632\u0627\u06314\u064a\u062a\u06433\u06be\u0627\u0631\u062a5\u062a\u0648\u0646\u06334\u0633\u0648\u062f\u0627\u06463\u0631\u064a\u06295\u0634\u0628\u0643\u06294\u0639\u0631\u0627\u06422\u06282\u0645\u0627\u06464\u0641\u0644\u0633\u0637\u064a\u06466\u0642\u0637\u06313\u0643\u0627\u062b\u0648\u0644\u064a\u06436\u0648\u06453\u0645\u0635\u06312\u0644\u064a\u0633\u064a\u06275\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u06277\u0642\u06394\u0647\u0645\u0631\u0627\u06475\u067e\u0627\u06a9\u0633\u062a\u0627\u06467\u0680\u0627\u0631\u062a4\u0915\u0949\u092e3\u0928\u0947\u091f3\u092d\u093e\u0930\u09240\u092e\u094d3\u094b\u09245\u0938\u0902\u0917\u0920\u09285\u09ac\u09be\u0982\u09b2\u09be5\u09ad\u09be\u09b0\u09a42\u09f0\u09a44\u0a2d\u0a3e\u0a30\u0a244\u0aad\u0abe\u0ab0\u0aa44\u0b2d\u0b3e\u0b30\u0b244\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe6\u0bb2\u0b99\u0bcd\u0b95\u0bc86\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd11\u0c2d\u0c3e\u0c30\u0c24\u0c4d5\u0cad\u0cbe\u0cb0\u0ca44\u0d2d\u0d3e\u0d30\u0d24\u0d025\u0dbd\u0d82\u0d9a\u0dcf4\u0e04\u0e2d\u0e213\u0e44\u0e17\u0e223\u0ea5\u0eb2\u0ea73\u10d2\u10d42\u307f\u3093\u306a3\u30a2\u30de\u30be\u30f34\u30af\u30e9\u30a6\u30c94\u30b0\u30fc\u30b0\u30eb4\u30b3\u30e02\u30b9\u30c8\u30a23\u30bb\u30fc\u30eb3\u30d5\u30a1\u30c3\u30b7\u30e7\u30f36\u30dd\u30a4\u30f3\u30c84\u4e16\u754c2\u4e2d\u4fe11\u56fd1\u570b1\u6587\u7f513\u4e9a\u9a6c\u900a3\u4f01\u4e1a2\u4f5b\u5c712\u4fe1\u606f2\u5065\u5eb72\u516b\u53662\u516c\u53f81\u76ca2\u53f0\u6e7e1\u70632\u5546\u57ce1\u5e971\u68072\u5609\u91cc0\u5927\u9152\u5e975\u5728\u7ebf2\u5927\u62ff2\u5929\u4e3b\u65593\u5a31\u4e502\u5bb6\u96fb2\u5e7f\u4e1c2\u5fae\u535a2\u6148\u55842\u6211\u7231\u4f603\u624b\u673a2\u62db\u80582\u653f\u52a11\u5e9c2\u65b0\u52a0\u57612\u95fb2\u65f6\u5c1a2\u66f8\u7c4d2\u673a\u67842\u6de1\u9a6c\u95213\u6e38\u620f2\u6fb3\u95802\u70b9\u770b2\u79fb\u52a82\u7ec4\u7ec7\u673a\u67844\u7f51\u57401\u5e971\u7ad91\u7edc2\u8054\u901a2\u8c37\u6b4c2\u8d2d\u72692\u901a\u8ca92\u96c6\u56e22\u96fb\u8a0a\u76c8\u79d14\u98de\u5229\u6d663\u98df\u54c12\u9910\u53852\u9999\u683c\u91cc\u62c93\u6e2f2\ub2f7\ub1371\ucef42\uc0bc\uc1312\ud55c\uad6d2")),E(ft,"'",V),E(ft,"{",We),E(ft,"}",Me),E(ft,"[",ut),E(ft,"]",xe),E(ft,"(",Te),E(ft,")",Ce),E(ft,"<",et),E(ft,">",he),E(ft,"\uff08",ve),E(ft,"\uff09",be),E(ft,"\u300c",de),E(ft,"\u300d",G),E(ft,"\u300e",Fe),E(ft,"\u300f",He),E(ft,"\uff1c",wt),E(ft,"\uff1e",Jt),E(ft,"&",ee),E(ft,"*",ue),E(ft,"@",De),E(ft,"`",It),E(ft,"^",Kt),E(ft,":",Ht),E(ft,",",ze),E(ft,"$",Mt),E(ft,".",Pt),E(ft,"=",bn),E(ft,"!",Tn),E(ft,"-",Lt),E(ft,"%",_e),E(ft,"|",Y),E(ft,"+",fe),E(ft,"#",Et),E(ft,"?",Vt),E(ft,'"',ln),E(ft,"/",_t),E(ft,";",je),E(ft,"~",ht),E(ft,"_",lt),E(ft,"\\",rt),E(ft,"\u30fb",fn);const Ot=F(ft,mn,"NUM",{[f]:!0});F(Ot,mn,Ot);const sn=F(Ot,Ae,Z,{[y]:!0}),kn=F(Ot,Qe,Ee,{[b]:!0}),In=F(ft,Ae,w,{[P]:!0});F(In,mn,sn),F(In,Ae,In),F(sn,mn,sn),F(sn,Ae,sn);const ti=F(ft,Qe,O,{[D]:!0});F(ti,Ae),F(ti,mn,kn),F(ti,Qe,ti),F(kn,mn,kn),F(kn,Ae),F(kn,Qe,kn);const Yi=E(ft,"\n","NL",{[J]:!0}),tr=E(ft,"\r","WS",{[J]:!0}),qi=F(ft,Jn,"WS",{[J]:!0});E(ft,"\ufffc",qi),E(tr,"\n",Yi),E(tr,"\ufffc",qi),F(tr,Jn,qi),E(qi,"\r"),E(qi,"\n"),F(qi,Jn,qi),E(qi,"\ufffc",qi);const Xn=F(ft,kt,"EMOJI",{[N]:!0});E(Xn,"#"),F(Xn,kt,Xn),E(Xn,"\ufe0f",Xn);const Nn=E(Xn,"\u200d");E(Nn,"#"),F(Nn,kt,Xn);const Tr=[[Ae,In],[mn,sn]],ur=[[Ae,null],[Qe,ti],[mn,kn]];for(let Or=0;Or<Yn.length;Or++)pi(ft,Yn[Or],j,w,Tr);for(let Or=0;Or<Yt.length;Or++)pi(ft,Yt[Or],te,O,ur);T(j,{tld:!0,ascii:!0},tt),T(te,{utld:!0,alpha:!0},tt),pi(ft,"file",ce,w,Tr),pi(ft,"mailto",ce,w,Tr),pi(ft,"http",ye,w,Tr),pi(ft,"https",ye,w,Tr),pi(ft,"ftp",ye,w,Tr),pi(ft,"ftps",ye,w,Tr),T(ce,{scheme:!0,ascii:!0},tt),T(ye,{slashscheme:!0,ascii:!0},tt),Ze=Ze.sort((Or,Pr)=>Or[0]>Pr[0]?1:-1);for(let Or=0;Or<Ze.length;Or++){const Pr=Ze[Or][0],ir=Ze[Or][1]?{[M]:!0}:{[U]:!0};Pr.indexOf("-")>=0?ir[x]=!0:Ae.test(Pr)?mn.test(Pr)?ir[y]=!0:ir[P]=!0:ir[f]=!0,$(ft,Pr,Pr,ir)}return $(ft,"localhost",oe,{ascii:!0}),ft.jd=new R(at),{start:ft,tokens:Object.assign({groups:tt},Q)}}(pn.customSchemes);for(let Ze=0;Ze<pn.tokenQueue.length;Ze++)pn.tokenQueue[Ze][1]({scanner:pn.scanner});pn.parser=function zt({groups:Ze}){const tt=Ze.domain.concat([ee,ue,De,rt,It,Kt,Mt,bn,Lt,"NUM",_e,Y,fe,Et,_t,at,ht,lt]),ft=[V,Ht,ze,Pt,Tn,_e,Vt,ln,je,et,he,We,Me,xe,ut,Te,Ce,ve,be,de,G,Fe,He,wt,Jt],Ot=[ee,V,ue,rt,It,Kt,Mt,bn,Lt,We,Me,_e,Y,fe,Et,Vt,_t,at,ht,lt],sn=Ar(),kn=E(sn,ht);B(kn,Ot,kn),B(kn,Ze.domain,kn);const In=Ar(),ti=Ar(),Yi=Ar();B(sn,Ze.domain,In),B(sn,Ze.scheme,ti),B(sn,Ze.slashscheme,Yi),B(In,Ot,kn),B(In,Ze.domain,In);const tr=E(In,De);E(kn,De,tr),E(ti,De,tr),E(Yi,De,tr);const qi=E(kn,Pt);B(qi,Ot,kn),B(qi,Ze.domain,kn);const Xn=Ar();B(tr,Ze.domain,Xn),B(Xn,Ze.domain,Xn);const Nn=E(Xn,Pt);B(Nn,Ze.domain,Xn);const Tr=Ar(qr);B(Nn,Ze.tld,Tr),B(Nn,Ze.utld,Tr),E(tr,oe,Tr);const ur=E(Xn,Lt);E(ur,Lt,ur),B(ur,Ze.domain,Xn),B(Tr,Ze.domain,Xn),E(Tr,Pt,Nn),E(Tr,Lt,ur);const Or=E(In,Lt),Pr=E(In,Pt);E(Or,Lt,Or),B(Or,Ze.domain,In),B(Pr,Ot,kn),B(Pr,Ze.domain,In);const Fi=Ar(Qi);B(Pr,Ze.tld,Fi),B(Pr,Ze.utld,Fi),B(Fi,Ze.domain,In),B(Fi,Ot,kn),E(Fi,Pt,Pr),E(Fi,Lt,Or),E(Fi,De,tr);const ir=E(Fi,Ht),ts=Ar(Qi);B(ir,Ze.numeric,ts);const Vr=Ar(Qi),Er=Ar();B(Vr,tt,Vr),B(Vr,ft,Er),B(Er,tt,Vr),B(Er,ft,Er),E(Fi,_t,Vr),E(ts,_t,Vr);const Di=E(ti,Ht),oo=E(Yi,Ht),yo=E(oo,_t),$t=E(yo,_t);B(ti,Ze.domain,In),E(ti,Pt,Pr),E(ti,Lt,Or),B(Yi,Ze.domain,In),E(Yi,Pt,Pr),E(Yi,Lt,Or),B(Di,Ze.domain,Vr),E(Di,_t,Vr),E(Di,Vt,Vr),B($t,Ze.domain,Vr),B($t,tt,Vr),E($t,_t,Vr);const cs=[[We,Me],[ut,xe],[Te,Ce],[et,he],[ve,be],[de,G],[Fe,He],[wt,Jt]];for(let Xo=0;Xo<cs.length;Xo++){const[St,Pe]=cs[Xo],xt=E(Vr,St);E(Er,St,xt);const rn=Ar(Qi);B(xt,tt,rn);const Ln=Ar();B(xt,ft,Ln),E(xt,Pe,Vr),B(rn,tt,rn),B(rn,ft,Ln),B(Ln,tt,rn),B(Ln,ft,Ln),E(rn,Pe,Vr),E(Ln,Pe,Vr)}return E(sn,oe,Fi),E(sn,"NL",wr),{start:sn,tokens:Q}}(pn.scanner.tokens);for(let Ze=0;Ze<pn.pluginQueue.length;Ze++)pn.pluginQueue[Ze][1]({scanner:pn.scanner,parser:pn.parser});return pn.initialized=!0,pn}function Ki(Ze){return pn.initialized||wi(),function pt(Ze,tt,ft){let Ot=ft.length,sn=0,kn=[],In=[];for(;sn<Ot;){let ti=Ze,Yi=null,tr=null,qi=0,Xn=null,Nn=-1;for(;sn<Ot&&!(Yi=ti.go(ft[sn].t));)In.push(ft[sn++]);for(;sn<Ot&&(tr=Yi||ti.go(ft[sn].t));)Yi=null,ti=tr,ti.accepts()?(Nn=0,Xn=ti):Nn>=0&&Nn++,sn++,qi++;if(Nn<0)sn-=qi,sn<Ot&&(In.push(ft[sn]),sn++);else{In.length>0&&(kn.push(Bt(uo,tt,In)),In=[]),sn-=Nn,qi-=Nn;const Tr=Xn.t,ur=ft.slice(sn-qi,sn);kn.push(Bt(Tr,tt,ur))}}return In.length>0&&kn.push(Bt(uo,tt,In)),kn}(pn.parser.start,Ze,zn(pn.scanner.start,Ze))}function vo(Ze,tt=null,ft=null){if(tt&&"object"==typeof tt){if(ft)throw Error(`linkifyjs: Invalid link type ${tt}; must be a string`);ft=tt,tt=null}const Ot=new co(ft),sn=Ki(Ze),kn=[];for(let In=0;In<sn.length;In++){const ti=sn[In];ti.isLink&&(!tt||ti.t===tt)&&Ot.check(ti)&&kn.push(ti.toFormattedObject(Ot))}return kn}function Gi(Ze,tt=null){const ft=Ki(Ze);return 1===ft.length&&ft[0].isLink&&(!tt||ft[0].t===tt)}Ki.scan=zn},76785(st,pe,h){"use strict";h.d(pe,{FQ:()=>N,WW:()=>y});var m=h(28939),s=h(12986),f=h(70903);const P=new m.nKC("WindowToken",typeof window<"u"&&window.document?{providedIn:"root",factory:()=>window}:{providedIn:"root",factory:()=>{}});var D=h(55919);class y{constructor(U,J,I){this.ngZone=U,this.document=J,this.window=I,this.copySubject=new D.B,this.copyResponse$=this.copySubject.asObservable(),this.config={}}configure(U){this.config=U}copy(U){if(!this.isSupported||!U)return this.pushCopyResponse({isSuccess:!1,content:U});const J=this.copyFromContent(U);return J?this.pushCopyResponse({content:U,isSuccess:J}):this.pushCopyResponse({isSuccess:!1,content:U})}get isSupported(){return!!this.document.queryCommandSupported&&!!this.document.queryCommandSupported("copy")&&!!this.window}isTargetValid(U){if(U instanceof HTMLInputElement||U instanceof HTMLTextAreaElement){if(U.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');return!0}throw new Error("Target should be input or textarea")}copyFromInputElement(U,J=!0){try{this.selectTarget(U);const I=this.copyText();return this.clearSelection(J?U:void 0,this.window),I&&this.isCopySuccessInIE11()}catch{return!1}}isCopySuccessInIE11(){const U=this.window.clipboardData;return!(U&&U.getData&&!U.getData("Text"))}copyFromContent(U,J=this.document.body){if(this.tempTextArea&&!J.contains(this.tempTextArea)&&this.destroy(this.tempTextArea.parentElement||void 0),!this.tempTextArea){this.tempTextArea=this.createTempTextArea(this.document,this.window);try{J.appendChild(this.tempTextArea)}catch{throw new Error("Container should be a Dom element")}}this.tempTextArea.value=U;const I=this.copyFromInputElement(this.tempTextArea,!1);return this.config.cleanUpAfterCopy&&this.destroy(this.tempTextArea.parentElement||void 0),I}destroy(U=this.document.body){this.tempTextArea&&(U.removeChild(this.tempTextArea),this.tempTextArea=void 0)}selectTarget(U){return U.select(),U.setSelectionRange(0,U.value.length),U.value.length}copyText(){return this.document.execCommand("copy")}clearSelection(U,J){U&&U.focus(),J.getSelection()?.removeAllRanges()}createTempTextArea(U,J){const I="rtl"===U.documentElement.getAttribute("dir");let T;T=U.createElement("textarea"),T.style.fontSize="12pt",T.style.border="0",T.style.padding="0",T.style.margin="0",T.style.position="absolute",T.style[I?"right":"left"]="-9999px";const C=J.pageYOffset||U.documentElement.scrollTop;return T.style.top=C+"px",T.setAttribute("readonly",""),T}pushCopyResponse(U){this.copySubject.observers.length>0&&this.ngZone.run(()=>{this.copySubject.next(U)})}pushCopyReponse(U){this.pushCopyResponse(U)}}y.\u0275fac=function(U){return new(U||y)(m.KVO(m.SKi),m.KVO(m.qQL),m.KVO(P,8))},y.\u0275prov=m.jDH({token:y,factory:y.\u0275fac,providedIn:"root"});class b{constructor(U,J,I,T){this.ngZone=U,this.host=J,this.renderer=I,this.clipboardSrv=T,this.cbOnSuccess=new m.bkB,this.cbOnError=new m.bkB,this.onClick=C=>{this.clipboardSrv.isSupported?this.targetElm&&this.clipboardSrv.isTargetValid(this.targetElm)?this.handleResult(this.clipboardSrv.copyFromInputElement(this.targetElm),this.targetElm.value,C):this.cbContent&&this.handleResult(this.clipboardSrv.copyFromContent(this.cbContent,this.container),this.cbContent,C):this.handleResult(!1,void 0,C)}}ngOnInit(){this.ngZone.runOutsideAngular(()=>{this.clickListener=this.renderer.listen(this.host.nativeElement,"click",this.onClick)})}ngOnDestroy(){this.clickListener&&this.clickListener(),this.clipboardSrv.destroy(this.container)}handleResult(U,J,I){let T={isSuccess:U,content:J,successMessage:this.cbSuccessMsg,event:I};U?this.cbOnSuccess.observed&&this.ngZone.run(()=>{this.cbOnSuccess.emit(T)}):this.cbOnError.observed&&this.ngZone.run(()=>{this.cbOnError.emit(T)}),this.clipboardSrv.pushCopyResponse(T)}}b.\u0275fac=function(U){return new(U||b)(f.rXU(m.SKi),f.rXU(f.aKT),f.rXU(f.sFG),f.rXU(y))},b.\u0275dir=f.FsC({type:b,selectors:[["","ngxClipboard",""]],inputs:{targetElm:[0,"ngxClipboard","targetElm"],container:"container",cbContent:"cbContent",cbSuccessMsg:"cbSuccessMsg"},outputs:{cbOnSuccess:"cbOnSuccess",cbOnError:"cbOnError"},standalone:!1});class x{constructor(U,J,I){this._clipboardService=U,this._viewContainerRef=J,this._templateRef=I}ngOnInit(){this._clipboardService.isSupported&&this._viewContainerRef.createEmbeddedView(this._templateRef)}}x.\u0275fac=function(U){return new(U||x)(f.rXU(y),f.rXU(f.c1b),f.rXU(f.C4Q))},x.\u0275dir=f.FsC({type:x,selectors:[["","ngxClipboardIfSupported",""]],standalone:!1});class N{}N.\u0275fac=function(U){return new(U||N)},N.\u0275mod=f.$C({type:N,declarations:[b,x],imports:[s.MD],exports:[b,x]}),N.\u0275inj=m.G2t({imports:[s.MD]})},12407(st,pe,h){"use strict";h.d(pe,{_B:()=>Ce,tw:()=>Tt,y8:()=>ut});var m=h(28939),s=h(70903),f=h(39962),P=h(10286),D=h(55919),y=h(20410);function b(be,de){if(1&be){const G=s.RV6();s.rj2(0,"button",2),s.VwU("click",function(){m.eBV(G);const He=s.XpG();return m.Njj(He.remove())}),s.rj2(1,"span",3),s.EFF(2,"\xd7"),s.eux()()}}function x(be,de){if(1&be&&(s.iHH(0),s.EFF(1),s.Zht()),2&be){const G=s.XpG(2);s.R7$(),s.SpI("[",G.duplicatesCount+1,"]")}}function N(be,de){if(1&be&&(s.rj2(0,"div"),s.EFF(1),s.nVh(2,x,2,1,"ng-container"),s.eux()),2&be){const G=s.XpG(),Fe=s.r8f(0);s.HbH(Fe.titleClass),s.BMQ("aria-label",G.title()),s.R7$(),s.SpI(" ",G.title()," "),s.R7$(),s.vxM(G.duplicatesCount?2:-1)}}function M(be,de){if(1&be&&s.Hgh(0,"div",6),2&be){const G=s.XpG(2),Fe=s.r8f(0);s.HbH(Fe.messageClass),s.Avn("innerHTML",G.message(),s.npT)}}function U(be,de){if(1&be&&(s.rj2(0,"div",7),s.EFF(1),s.eux()),2&be){const G=s.XpG(2),Fe=s.r8f(0);s.HbH(Fe.messageClass),s.BMQ("aria-label",G.message()),s.R7$(),s.SpI(" ",G.message()," ")}}function J(be,de){if(1&be&&s.nVh(0,M,1,3,"div",4)(1,U,2,4,"div",5),2&be){s.XpG();const G=s.r8f(0);s.vxM(G.enableHtml?0:1)}}function I(be,de){if(1&be&&(s.rj2(0,"div"),s.Hgh(1,"div",8),s.eux()),2&be){const G=s.XpG();s.R7$(),s.xc7("width",G.width()+"%")}}function T(be,de){if(1&be){const G=s.RV6();s.rj2(0,"button",2),s.VwU("click",function(){m.eBV(G);const He=s.XpG();return m.Njj(He.remove())}),s.rj2(1,"span",3),s.EFF(2,"\xd7"),s.eux()()}}function C(be,de){if(1&be&&(s.iHH(0),s.EFF(1),s.Zht()),2&be){const G=s.XpG(2);s.R7$(),s.SpI("[",G.duplicatesCount+1,"]")}}function R(be,de){if(1&be&&(s.rj2(0,"div"),s.EFF(1),s.nVh(2,C,2,1,"ng-container"),s.eux()),2&be){const G=s.XpG(),Fe=s.r8f(0);s.HbH(Fe.titleClass),s.BMQ("aria-label",G.title()),s.R7$(),s.SpI(" ",G.title()," "),s.R7$(),s.vxM(G.duplicatesCount?2:-1)}}function B(be,de){if(1&be&&s.Hgh(0,"div",6),2&be){const G=s.XpG(2),Fe=s.r8f(0);s.HbH(Fe.messageClass),s.Avn("innerHTML",G.message(),s.npT)}}function F(be,de){if(1&be&&(s.rj2(0,"div",7),s.EFF(1),s.eux()),2&be){const G=s.XpG(2),Fe=s.r8f(0);s.HbH(Fe.messageClass),s.BMQ("aria-label",G.message()),s.R7$(),s.SpI(" ",G.message()," ")}}function $(be,de){if(1&be&&s.nVh(0,B,1,3,"div",4)(1,F,2,4,"div",5),2&be){s.XpG();const G=s.r8f(0);s.vxM(G.enableHtml?0:1)}}function E(be,de){if(1&be&&(s.rj2(0,"div"),s.Hgh(1,"div",8),s.eux()),2&be){const G=s.XpG();s.R7$(),s.xc7("width",G.width()+"%")}}class O{toastId;config;message;title;toastType;toastRef;_onTap=new D.B;_onAction=new D.B;constructor(de,G,Fe,He,wt,Jt){this.toastId=de,this.config=G,this.message=Fe,this.title=He,this.toastType=wt,this.toastRef=Jt,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(de){this._onAction.next(de)}onAction(){return this._onAction.asObservable()}}const Z={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},Ee=new m.nKC("ToastConfig");class oe{_attachedHost;component;viewContainerRef;injector;constructor(de,G){this.component=de,this.injector=G}attach(de,G){return this._attachedHost=de,de.attach(this,G)}detach(){const de=this._attachedHost;if(de)return this._attachedHost=void 0,de.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(de){this._attachedHost=de}}class j{_attachedPortal;_disposeFn;attach(de,G){return this._attachedPortal=de,this.attachComponentPortal(de,G)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(de){this._disposeFn=de}}class te extends j{_hostDomElement;_appRef;constructor(de,G){super(),this._hostDomElement=de,this._appRef=G}attachComponentPortal(de,G){const Fe=(0,f.a0P)(de.component,{environmentInjector:this._appRef.injector,elementInjector:de.injector});return this._appRef.attachView(Fe.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Fe.hostView),Fe.destroy()}),G?this._hostDomElement.insertBefore(this._getComponentRootNode(Fe),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(Fe)),Fe}_getComponentRootNode(de){return de.hostView.rootNodes[0]}}class ce{_document=(0,m.WQX)(m.qQL);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const de=this._document.createElement("div");de.classList.add("overlay-container"),de.setAttribute("aria-live","polite"),this._document.body.appendChild(de),this._containerElement=de}static \u0275fac=function(G){return new(G||ce)};static \u0275prov=m.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}class ye{_portalHost;constructor(de){this._portalHost=de}attach(de,G=!0){return this._portalHost.attach(de,G)}detach(){return this._portalHost.detach()}}class Le{_overlayContainer=(0,m.WQX)(ce);_appRef=(0,m.WQX)(s.o8S);_document=(0,m.WQX)(m.qQL);_paneElements=new Map;create(de,G){return this._createOverlayRef(this.getPaneElement(de,G))}getPaneElement(de="",G){return this._paneElements.get(G)||this._paneElements.set(G,{}),this._paneElements.get(G)[de]||(this._paneElements.get(G)[de]=this._createPaneElement(de,G)),this._paneElements.get(G)[de]}_createPaneElement(de,G){const Fe=this._document.createElement("div");return Fe.id="toast-container",Fe.classList.add(de),Fe.classList.add("toast-container"),G?G.getContainerElement().appendChild(Fe):this._overlayContainer.getContainerElement().appendChild(Fe),Fe}_createPortalHost(de){return new te(de,this._appRef)}_createOverlayRef(de){return new ye(this._createPortalHost(de))}static \u0275fac=function(G){return new(G||Le)};static \u0275prov=m.jDH({token:Le,factory:Le.\u0275fac,providedIn:"root"})}class $e{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new D.B;_activate=new D.B;_manualClose=new D.B;_resetTimeout=new D.B;_countDuplicate=new D.B;constructor(de){this._overlayRef=de}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.closed}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(de,G){de&&this._resetTimeout.next(),G&&this._countDuplicate.next(++this.duplicatesCount)}}class Tt{overlay=(0,m.WQX)(Le);_injector=(0,m.WQX)(m.zZn);sanitizer=(0,m.WQX)(y.up);ngZone=(0,m.WQX)(m.SKi);toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(){const de=(0,m.WQX)(Ee);this.toastrConfig={...de.default,...de.config},de.config.iconClasses&&(this.toastrConfig.iconClasses={...de.default.iconClasses,...de.config.iconClasses})}show(de,G,Fe={},He=""){return this._preBuildNotification(He,de,G,this.applyConfig(Fe))}success(de,G,Fe={}){const He=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(He,de,G,this.applyConfig(Fe))}error(de,G,Fe={}){const He=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(He,de,G,this.applyConfig(Fe))}info(de,G,Fe={}){const He=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(He,de,G,this.applyConfig(Fe))}warning(de,G,Fe={}){const He=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(He,de,G,this.applyConfig(Fe))}clear(de){for(const G of this.toasts)if(void 0!==de){if(G.toastId===de)return void G.toastRef.manualClose()}else G.toastRef.manualClose()}remove(de){const G=this._findToast(de);if(!G||(G.activeToast.toastRef.close(),this.toasts.splice(G.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const Fe=this.toasts[this.currentlyActive].toastRef;Fe.isInactive()||(this.currentlyActive=this.currentlyActive+1,Fe.activate())}return!0}findDuplicate(de="",G="",Fe,He){const{includeTitleDuplicates:wt}=this.toastrConfig;for(const Jt of this.toasts){const ee=wt&&Jt.title===de;if((!wt||ee)&&Jt.message===G)return Jt.toastRef.onDuplicate(Fe,He),Jt}return null}applyConfig(de={}){return{...this.toastrConfig,...de}}_findToast(de){for(let G=0;G<this.toasts.length;G++)if(this.toasts[G].toastId===de)return{index:G,activeToast:this.toasts[G]};return null}_preBuildNotification(de,G,Fe,He){return He.onActivateTick?this.ngZone.run(()=>this._buildNotification(de,G,Fe,He)):this._buildNotification(de,G,Fe,He)}_buildNotification(de,G,Fe,He){if(!He.toastComponent)throw new Error("toastComponent required");const wt=this.findDuplicate(Fe,G,this.toastrConfig.resetTimeoutOnDuplicate&&He.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Fe||G)&&this.toastrConfig.preventDuplicates&&null!==wt)return wt;this.previousToastMessage=G;let Jt=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(Jt=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const ee=this.overlay.create(He.positionClass,this.overlayContainer);this.index=this.index+1;let V=G;G&&He.enableHtml&&(V=this.sanitizer.sanitize(m.WPN.HTML,G));const ue=new $e(ee),De=new O(this.index,He,V,Fe,de,ue),rt=[{provide:O,useValue:De}],It=m.zZn.create({providers:rt,parent:this._injector}),Kt=new oe(He.toastComponent,It),Ht=ee.attach(Kt,He.newestOnTop);ue.componentInstance=Ht.instance;const ze={toastId:this.index,title:Fe||"",message:G||"",toastRef:ue,onShown:ue.afterActivate(),onHidden:ue.afterClosed(),onTap:De.onTap(),onAction:De.onAction(),portal:Ht};return Jt||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{ze.toastRef.activate()})),this.toasts.push(ze),ze}static \u0275fac=function(G){return new(G||Tt)};static \u0275prov=m.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"root"})}class We{ngZone=(0,m.WQX)(m.SKi);setInterval(de,G){return this.ngZone?this.ngZone.runOutsideAngular(()=>window.setInterval(()=>this.runInsideAngular(de),G)):window.setInterval(()=>de(),G)}setTimeout(de,G){return this.ngZone?this.ngZone.runOutsideAngular(()=>window.setTimeout(()=>this.runInsideAngular(de),G)):window.setTimeout(()=>de(),G)}runInsideAngular(de){this.ngZone?this.ngZone.run(()=>de()):de()}static \u0275fac=function(G){return new(G||We)};static \u0275prov=m.jDH({token:We,factory:We.\u0275fac,providedIn:"root"})}class Me{toastPackage=(0,m.WQX)(O);toastrService=(0,m.WQX)(Tt);appRef=(0,m.WQX)(s.o8S);timeoutsService=(0,m.WQX)(We);duplicatesCount;hideTime;width=(0,m.vPA)(-1);state=(0,m.vPA)("inactive");displayStyle=(0,P.EW)(()=>"inactive"===this.state()?"none":void 0);message=(0,P.EW)(()=>this.toastPackage.message);title=(0,P.EW)(()=>this.toastPackage.title);options=(0,P.uu)(()=>this.toastPackage.config);originalTimeout=(0,P.EW)(()=>this.toastPackage.config.timeOut);toastClasses=(0,P.EW)(()=>`${this.toastPackage.toastType} ${this.toastPackage.config.toastClass}`);timeout;intervalId;afterActivateSubscription;manualClosedSubscription;timeoutResetSubscription;countDuplicateSubscription;constructor(){this.afterActivateSubscription=this.toastPackage.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.manualClosedSubscription=this.toastPackage.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.timeoutResetSubscription=this.toastPackage.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.countDuplicateSubscription=this.toastPackage.toastRef.countDuplicate().subscribe(de=>{this.duplicatesCount=de})}ngOnDestroy(){this.afterActivateSubscription.unsubscribe(),this.manualClosedSubscription.unsubscribe(),this.timeoutResetSubscription.unsubscribe(),this.countDuplicateSubscription.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){const de=this.options();this.state.set("active"),!0!==de.disableTimeOut&&"timeOut"!==de.disableTimeOut&&de.timeOut&&(this.timeout=this.timeoutsService.setTimeout(()=>this.remove(),de.timeOut),this.hideTime=(new Date).getTime()+de.timeOut,de.progressBar&&(this.intervalId=this.timeoutsService.setInterval(()=>this.updateProgress(),10)))}updateProgress(){const de=this.options();if(0===this.width()||100===this.width()||!de.timeOut)return;const G=(new Date).getTime(),Fe=this.hideTime-G;this.width.set(Fe/de.timeOut*100),"increasing"===de.progressAnimation&&this.width.update(He=>100-He),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){const de=this.options();clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.update(G=>({...G,timeOut:this.originalTimeout()})),this.timeout=this.timeoutsService.setTimeout(()=>this.remove(),this.originalTimeout()),this.hideTime=(new Date).getTime()+(this.originalTimeout()||0),this.width.set(-1),de.progressBar&&(this.intervalId=this.timeoutsService.setInterval(()=>this.updateProgress(),10))}remove(){"removed"!==this.state()&&(clearTimeout(this.timeout),this.state.set("removed"),this.timeout=this.timeoutsService.setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){"removed"!==this.state()&&(this.toastPackage.triggerTap(),this.options().tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state()&&"extendedTimeOut"!==this.options().disableTimeOut&&(clearTimeout(this.timeout),this.options.update(de=>({...de,timeOut:0})),this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){const de=this.options();if(!0===de.disableTimeOut||"extendedTimeOut"===de.disableTimeOut||0===de.extendedTimeOut||"removed"===this.state())return;const G=de.extendedTimeOut;this.timeout=this.timeoutsService.setTimeout(()=>this.remove(),G),this.options.update(Fe=>({...Fe,timeOut:G})),this.hideTime=(new Date).getTime()+(G||0),this.width.set(-1),de.progressBar&&(this.intervalId=this.timeoutsService.setInterval(()=>this.updateProgress(),10))}static \u0275fac=function(G){return new(G||Me)};static \u0275cmp=s.VBU({type:Me,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(G,Fe){1&G&&s.bIt("mouseenter",function(){return Fe.stickAround()})("mouseleave",function(){return Fe.delayedHideToast()})("click",function(){return Fe.tapToast()}),2&G&&(s.HbH(Fe.toastClasses()),s.xc7("display",Fe.displayStyle()))},decls:5,vars:5,consts:[["type","button","aria-label","Close",1,"toast-close-button"],[3,"class"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"class","innerHTML"],["role","alert",3,"class"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(G,Fe){if(1&G&&(s.SS7(0),s.nVh(1,b,3,0,"button",0),s.nVh(2,N,3,5,"div",1),s.nVh(3,J,2,1),s.nVh(4,I,2,2,"div")),2&G){const He=s.bH3(Fe.options());s.R7$(),s.vxM(He.closeButton?1:-1),s.R7$(),s.vxM(Fe.title()?2:-1),s.R7$(),s.vxM(Fe.message()?3:-1),s.R7$(),s.vxM(He.progressBar?4:-1)}},encapsulation:2})}class ut extends Me{params={easeTime:this.toastPackage.config.easeTime,easing:"ease-in"};elementRef=(0,m.WQX)(s.aKT);remove(){"removed"!==this.state()&&(clearTimeout(this.timeout),this.state.set("removed"),this.elementRef.nativeElement.classList.add("toast-out"),this.timeout=this.timeoutsService.setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.params.easeTime))}static \u0275fac=(()=>{let de;return function(Fe){return(de||(de=s.xGo(ut)))(Fe||ut)}})();static \u0275cmp=s.VBU({type:ut,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(G,Fe){1&G&&s.QR4("toast-in"),2&G&&s.xc7("--%NS%animation-easing",Fe.params.easing)("--%NS%animation-duration",Fe.params.easeTime+"ms")},features:[s.Vt3],decls:5,vars:5,consts:[["type","button","aria-label","Close",1,"toast-close-button"],[3,"class"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"class","innerHTML"],["role","alert",3,"class"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(G,Fe){if(1&G&&(s.SS7(0),s.nVh(1,T,3,0,"button",0),s.nVh(2,R,3,5,"div",1),s.nVh(3,$,2,1),s.nVh(4,E,2,2,"div")),2&G){const He=s.bH3(Fe.options());s.R7$(),s.vxM(He.closeButton?1:-1),s.R7$(),s.vxM(Fe.title()?2:-1),s.R7$(),s.vxM(Fe.message()?3:-1),s.R7$(),s.vxM(He.progressBar?4:-1)}},styles:[".toast-in[_nghost-%COMP%]{animation:_ngcontent-%COMP%_toast-animation var(--%NS%animation-duration) var(--%NS%animation-easing)}.toast-out[_nghost-%COMP%]{animation:_ngcontent-%COMP%_toast-animation var(--%NS%animation-duration) var(--%NS%animation-easing) reverse forwards}@keyframes _ngcontent-%COMP%_toast-animation{0%{opacity:0}to{opacity:1}}"]})}const xe={...Z,toastComponent:ut},Te=(be={})=>{const de=[{provide:Ee,useValue:{default:xe,config:be}}];return(0,m.EmA)(de)};class Ce{static forRoot(de={}){return{ngModule:Ce,providers:[Te(de)]}}static \u0275fac=function(G){return new(G||Ce)};static \u0275mod=s.$C({type:Ce,imports:[ut],exports:[ut]});static \u0275inj=m.G2t({})}},31635(st,pe,h){"use strict";h.d(pe,{AQ:()=>O,Cg:()=>D,N3:()=>w,Sn:()=>U,sH:()=>J,xN:()=>Ee});function D(Ce,et,he,ve){var G,be=arguments.length,de=be<3?et:null===ve?ve=Object.getOwnPropertyDescriptor(et,he):ve;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)de=Reflect.decorate(Ce,et,he,ve);else for(var Fe=Ce.length-1;Fe>=0;Fe--)(G=Ce[Fe])&&(de=(be<3?G(de):be>3?G(et,he,de):G(et,he))||de);return be>3&&de&&Object.defineProperty(et,he,de),de}function U(Ce,et){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(Ce,et)}function J(Ce,et,he,ve){return new(he||(he=Promise))(function(de,G){function Fe(Jt){try{wt(ve.next(Jt))}catch(ee){G(ee)}}function He(Jt){try{wt(ve.throw(Jt))}catch(ee){G(ee)}}function wt(Jt){Jt.done?de(Jt.value):function be(de){return de instanceof he?de:new he(function(G){G(de)})}(Jt.value).then(Fe,He)}wt((ve=ve.apply(Ce,et||[])).next())})}Object.create;function R(Ce){var et="function"==typeof Symbol&&Symbol.iterator,he=et&&Ce[et],ve=0;if(he)return he.call(Ce);if(Ce&&"number"==typeof Ce.length)return{next:function(){return Ce&&ve>=Ce.length&&(Ce=void 0),{value:Ce&&Ce[ve++],done:!Ce}}};throw new TypeError(et?"Object is not iterable.":"Symbol.iterator is not defined.")}function w(Ce){return this instanceof w?(this.v=Ce,this):new w(Ce)}function O(Ce,et,he){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var be,ve=he.apply(Ce,et||[]),de=[];return be=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Fe("next"),Fe("throw"),Fe("return",function G(ue){return function(De){return Promise.resolve(De).then(ue,ee)}}),be[Symbol.asyncIterator]=function(){return this},be;function Fe(ue,De){ve[ue]&&(be[ue]=function(rt){return new Promise(function(It,Kt){de.push([ue,rt,It,Kt])>1||He(ue,rt)})},De&&(be[ue]=De(be[ue])))}function He(ue,De){try{!function wt(ue){ue.value instanceof w?Promise.resolve(ue.value.v).then(Jt,ee):V(de[0][2],ue)}(ve[ue](De))}catch(rt){V(de[0][3],rt)}}function Jt(ue){He("next",ue)}function ee(ue){He("throw",ue)}function V(ue,De){ue(De),de.shift(),de.length&&He(de[0][0],de[0][1])}}function Ee(Ce){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var he,et=Ce[Symbol.asyncIterator];return et?et.call(Ce):(Ce=R(Ce),he={},ve("next"),ve("throw"),ve("return"),he[Symbol.asyncIterator]=function(){return this},he);function ve(de){he[de]=Ce[de]&&function(G){return new Promise(function(Fe,He){(function be(de,G,Fe,He){Promise.resolve(He).then(function(wt){de({value:wt,done:Fe})},G)})(Fe,He,(G=Ce[de](G)).done,G.value)})}}}Object.create}}]);Back to Directory