@drayman/elements 1.25.0 → 1.26.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (()=>{var SD={959:(K,me,B)=>{"use strict";K.exports=B(606)},550:(K,me,B)=>{"use strict";var te,Pe,Ge,J=B(539),le="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-";function Le(){Ge=!1}function Y(Ae){if(Ae){if(Ae!==te){if(Ae.length!==le.length)throw new Error("Custom alphabet for shortid must be "+le.length+" unique characters. You submitted "+Ae.length+" characters: "+Ae);var pt=Ae.split("").filter(function(Kn,Er,Ts){return Er!==Ts.lastIndexOf(Kn)});if(pt.length)throw new Error("Custom alphabet for shortid must be "+le.length+" unique characters. These characters were not unique: "+pt.join(", "));te=Ae,Le()}}else te!==le&&(te=le,Le())}function Ee(){return Ge||(Ge=function Si(){te||Y(le);for(var Er,Ae=te.split(""),pt=[],Kn=J.nextValue();Ae.length>0;)Kn=J.nextValue(),Er=Math.floor(Kn*Ae.length),pt.push(Ae.splice(Er,1)[0]);return pt.join("")}())}K.exports={get:function za(){return te||le},characters:function ft(Ae){return Y(Ae),te},seed:function _e(Ae){J.seed(Ae),Pe!==Ae&&(Le(),Pe=Ae)},lookup:function As(Ae){return Ee()[Ae]},shuffled:Ee}},119:(K,me,B)=>{"use strict";var Ge,Le,J=B(535);B(550),K.exports=function Y(ft){var _e="",Si=Math.floor(.001*(Date.now()-1567752802062));return Si===Le?Ge++:(Ge=0,Le=Si),_e+=J(7),_e+=J(ft),Ge>0&&(_e+=J(Ge)),_e+J(Si)}},535:(K,me,B)=>{"use strict";var J=B(550),le=B(68),te=B(152);K.exports=function Pe(Ge){for(var Y,Le=0,ft="";!Y;)ft+=te(le,J.get(),1),Y=Ge<Math.pow(16,Le+1),Le++;return ft}},606:(K,me,B)=>{"use strict";var J=B(550),le=B(119),te=B(777),Pe=B(1)||0;function ft(){return le(Pe)}K.exports=ft,K.exports.generate=ft,K.exports.seed=function Ge(_e){return J.seed(_e),K.exports},K.exports.worker=function Le(_e){return Pe=_e,K.exports},K.exports.characters=function Y(_e){return void 0!==_e&&J.characters(_e),J.shuffled()},K.exports.isValid=te},777:(K,me,B)=>{"use strict";var J=B(550);K.exports=function le(te){return!(!te||"string"!=typeof te||te.length<6||new RegExp("[^"+J.get().replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&")+"]").test(te))}},68:K=>{"use strict";var me="object"==typeof window&&(window.crypto||window.msCrypto);K.exports=me&&me.getRandomValues?function(J){return me.getRandomValues(new Uint8Array(J))}:function(J){for(var le=[],te=0;te<J;te++)le.push(Math.floor(256*Math.random()));return le}},539:K=>{"use strict";var me=1;K.exports={nextValue:function B(){return(me=(9301*me+49297)%233280)/233280},seed:function J(le){me=le}}},1:K=>{"use strict";K.exports=0},152:K=>{K.exports=function(me,B,J){for(var le=(2<<Math.log(B.length-1)/Math.LN2)-1,te=-~(1.6*le*J/B.length),Pe="";;)for(var Ge=me(te),Le=te;Le--;)if((Pe+=B[Ge[Le]&le]||"").length===+J)return Pe}}},dh={};function hh(K){var me=dh[K];if(void 0!==me)return me.exports;var B=dh[K]={exports:{}};return SD[K](B,B.exports,hh),B.exports}(()=>{"use strict";function K(n){return"function"==typeof n}let me=!1;const B={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else me&&console.log("RxJS: Back to a better error behavior. Thank you. <3");me=n},get useDeprecatedSynchronousErrorHandling(){return me}};function J(n){setTimeout(()=>{throw n},0)}const le={closed:!0,next(n){},error(n){if(B.useDeprecatedSynchronousErrorHandling)throw n;J(n)},complete(){}},te=Array.isArray||(n=>n&&"number"==typeof n.length);function Pe(n){return null!==n&&"object"==typeof n}const Le=(()=>{function n(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((t,i)=>`${i+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return n.prototype=Object.create(Error.prototype),n})();class Y{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:t,_ctorUnsubscribe:i,_unsubscribe:r,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof Y)t.remove(this);else if(null!==t)for(let o=0;o<t.length;++o)t[o].remove(this);if(K(r)){i&&(this._unsubscribe=void 0);try{r.call(this)}catch(o){e=o instanceof Le?ft(o.errors):[o]}}if(te(s)){let o=-1,a=s.length;for(;++o<a;){const l=s[o];if(Pe(l))try{l.unsubscribe()}catch(c){e=e||[],c instanceof Le?e=e.concat(ft(c.errors)):e.push(c)}}}if(e)throw new Le(e)}add(e){let t=e;if(!e)return Y.EMPTY;switch(typeof e){case"function":t=new Y(e);case"object":if(t===this||t.closed||"function"!=typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if(!(t instanceof Y)){const s=t;t=new Y,t._subscriptions=[s]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:i}=t;if(null===i)t._parentOrParents=this;else if(i instanceof Y){if(i===this)return t;t._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return t;i.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[t]:r.push(t),t}remove(e){const t=this._subscriptions;if(t){const i=t.indexOf(e);-1!==i&&t.splice(i,1)}}}var n;function ft(n){return n.reduce((e,t)=>e.concat(t instanceof Le?t.errors:t),[])}Y.EMPTY=((n=new Y).closed=!0,n);const _e="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class Ee extends Y{constructor(e,t,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=le;break;case 1:if(!e){this.destination=le;break}if("object"==typeof e){e instanceof Ee?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new As(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new As(this,e,t,i)}}[_e](){return this}static create(e,t,i){const r=new Ee(e,t,i);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class As extends Ee{constructor(e,t,i,r){super(),this._parentSubscriber=e;let s,o=this;K(t)?s=t:t&&(s=t.next,i=t.error,r=t.complete,t!==le&&(o=Object.create(t),K(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=s,this._error=i,this._complete=r}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;B.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:i}=B;if(this._error)i&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)i?(t.syncErrorValue=e,t.syncErrorThrown=!0):J(e),this.unsubscribe();else{if(this.unsubscribe(),i)throw e;J(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);B.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(i){if(this.unsubscribe(),B.useDeprecatedSynchronousErrorHandling)throw i;J(i)}}__tryOrSetError(e,t,i){if(!B.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,i)}catch(r){return B.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(J(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const pt="function"==typeof Symbol&&Symbol.observable||"@@observable";function Kn(n){return n}let ye=(()=>{class n{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(t){const i=new n;return i.source=this,i.operator=t,i}subscribe(t,i,r){const{operator:s}=this,o=function Ae(n,e,t){if(n){if(n instanceof Ee)return n;if(n[_e])return n[_e]()}return n||e||t?new Ee(n,e,t):new Ee(le)}(t,i,r);if(o.add(s?s.call(o,this.source):this.source||B.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),B.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){B.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=i),function za(n){for(;n;){const{closed:e,destination:t,isStopped:i}=n;if(e||i)return!1;n=t&&t instanceof Ee?t:null}return!0}(t)?t.error(i):console.warn(i)}}forEach(t,i){return new(i=fh(i))((r,s)=>{let o;o=this.subscribe(a=>{try{t(a)}catch(l){s(l),o&&o.unsubscribe()}},s,r)})}_subscribe(t){const{source:i}=this;return i&&i.subscribe(t)}[pt](){return this}pipe(...t){return 0===t.length?this:function Ts(n){return 0===n.length?Kn:1===n.length?n[0]:function(t){return n.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=fh(t))((i,r)=>{let s;this.subscribe(o=>s=o,o=>r(o),()=>i(s))})}}return n.create=e=>new n(e),n})();function fh(n){if(n||(n=B.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const Yn=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class ph extends Y{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const i=t.indexOf(this.subscriber);-1!==i&&t.splice(i,1)}}class gh extends Ee{constructor(e){super(e),this.destination=e}}let We=(()=>{class n extends ye{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[_e](){return new gh(this)}lift(t){const i=new mh(this,this);return i.operator=t,i}next(t){if(this.closed)throw new Yn;if(!this.isStopped){const{observers:i}=this,r=i.length,s=i.slice();for(let o=0;o<r;o++)s[o].next(t)}}error(t){if(this.closed)throw new Yn;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:i}=this,r=i.length,s=i.slice();for(let o=0;o<r;o++)s[o].error(t);this.observers.length=0}complete(){if(this.closed)throw new Yn;this.isStopped=!0;const{observers:t}=this,i=t.length,r=t.slice();for(let s=0;s<i;s++)r[s].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new Yn;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new Yn;return this.hasError?(t.error(this.thrownError),Y.EMPTY):this.isStopped?(t.complete(),Y.EMPTY):(this.observers.push(t),new ph(this,t))}asObservable(){const t=new ye;return t.source=this,t}}return n.create=(e,t)=>new mh(e,t),n})();class mh extends We{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):Y.EMPTY}}function Is(n){return n&&"function"==typeof n.schedule}function Mi(n,e){return function(i){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new MD(n,e))}}class MD{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new AD(e,this.project,this.thisArg))}}class AD extends Ee{constructor(e,t,i){super(e),this.project=t,this.count=0,this.thisArg=i||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(t)}}const _h=n=>e=>{for(let t=0,i=n.length;t<i&&!e.closed;t++)e.next(n[t]);e.complete()},ks=function ID(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),yh=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function vh(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const bh=n=>{if(n&&"function"==typeof n[pt])return(n=>e=>{const t=n[pt]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)})(n);if(yh(n))return _h(n);if(vh(n))return(n=>e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,J),e))(n);if(n&&"function"==typeof n[ks])return(n=>e=>{const t=n[ks]();for(;;){let i;try{i=t.next()}catch(r){return e.error(r),e}if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof t.return&&e.add(()=>{t.return&&t.return()}),e})(n);{const t=`You provided ${Pe(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(t)}};function Ga(n,e){return new ye(t=>{const i=new Y;let r=0;return i.add(e.schedule(function(){r!==n.length?(t.next(n[r++]),t.closed||i.add(this.schedule())):t.complete()})),i})}function xs(n,e){return e?function LD(n,e){if(null!=n){if(function ND(n){return n&&"function"==typeof n[pt]}(n))return function OD(n,e){return new ye(t=>{const i=new Y;return i.add(e.schedule(()=>{const r=n[pt]();i.add(r.subscribe({next(s){i.add(e.schedule(()=>t.next(s)))},error(s){i.add(e.schedule(()=>t.error(s)))},complete(){i.add(e.schedule(()=>t.complete()))}}))})),i})}(n,e);if(vh(n))return function FD(n,e){return new ye(t=>{const i=new Y;return i.add(e.schedule(()=>n.then(r=>{i.add(e.schedule(()=>{t.next(r),i.add(e.schedule(()=>t.complete()))}))},r=>{i.add(e.schedule(()=>t.error(r)))}))),i})}(n,e);if(yh(n))return Ga(n,e);if(function PD(n){return n&&"function"==typeof n[ks]}(n)||"string"==typeof n)return function RD(n,e){if(!n)throw new Error("Iterable cannot be null");return new ye(t=>{const i=new Y;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=n[ks](),i.add(e.schedule(function(){if(t.closed)return;let s,o;try{const a=r.next();s=a.value,o=a.done}catch(a){return void t.error(a)}o?t.complete():(t.next(s),this.schedule())}))})),i})}(n,e)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}(n,e):n instanceof ye?n:new ye(bh(n))}class Os extends Ee{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Fs extends Ee{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function Rs(n,e){if(!e.closed)return n instanceof ye?n.subscribe(e):bh(n)(e)}function Dh(n,e,t=Number.POSITIVE_INFINITY){return"function"==typeof e?i=>i.pipe(Dh((r,s)=>xs(n(r,s)).pipe(Mi((o,a)=>e(r,o,s,a))),t)):("number"==typeof e&&(t=e),i=>i.lift(new VD(n,t)))}class VD{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new BD(e,this.project,this.concurrent))}}class BD extends Fs{constructor(e,t,i=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const i=this.index++;try{t=this.project(e,i)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}_innerSub(e){const t=new Os(this),i=this.destination;i.add(t);const r=Rs(e,t);r!==t&&i.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function jD(n=Number.POSITIVE_INFINITY){return Dh(Kn,n)}function Ch(n,e){return e?Ga(n,e):new ye(_h(n))}function Wa(...n){let e=Number.POSITIVE_INFINITY,t=null,i=n[n.length-1];return Is(i)?(t=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(e=n.pop())):"number"==typeof i&&(e=n.pop()),null===t&&1===n.length&&n[0]instanceof ye?n[0]:jD(e)(Ch(n,t))}function Eh(){return function(e){return e.lift(new HD(e))}}class HD{constructor(e){this.connectable=e}call(e,t){const{connectable:i}=this;i._refCount++;const r=new $D(e,i),s=t.subscribe(r);return r.closed||(r.connection=i.connect()),s}}class $D extends Ee{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:i}=this,r=e._connection;this.connection=null,r&&(!i||r===i)&&r.unsubscribe()}}class UD extends ye{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new Y,e.add(this.source.subscribe(new GD(this.getSubject(),this))),e.closed&&(this._connection=null,e=Y.EMPTY)),e}refCount(){return Eh()(this)}}const zD=(()=>{const n=UD.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}})();class GD extends gh{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}class KD{constructor(e,t){this.subjectFactory=e,this.selector=t}call(e,t){const{selector:i}=this,r=this.subjectFactory(),s=i(r).subscribe(e);return s.add(t.subscribe(r)),s}}function YD(){return new We}function ce(n){for(let e in n)if(n[e]===ce)return e;throw Error("Could not find renamed property on target object.")}function qa(n,e){for(const t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function ne(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(ne).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const e=n.toString();if(null==e)return""+e;const t=e.indexOf("\n");return-1===t?e:e.substring(0,t)}function Ka(n,e){return null==n||""===n?null===e?"":e:null==e||""===e?n:n+" "+e}const QD=ce({__forward_ref__:ce});function re(n){return n.__forward_ref__=re,n.toString=function(){return ne(this())},n}function $(n){return wh(n)?n():n}function wh(n){return"function"==typeof n&&n.hasOwnProperty(QD)&&n.__forward_ref__===re}class S extends Error{constructor(e,t){super(function Ya(n,e){return`NG0${Math.abs(n)}${e?": "+e:""}`}(e,t)),this.code=e}}function P(n){return"string"==typeof n?n:null==n?"":String(n)}function qe(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():P(n)}function Ns(n,e){const t=e?` in ${e}`:"";throw new S(-201,`No provider for ${qe(n)} found${t}`)}function mt(n,e){null==n&&function ie(n,e,t,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${t} ${i} ${e} <=Actual]`))}(e,n,null,"!=")}function x(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Ke(n){return{providers:n.providers||[],imports:n.imports||[]}}function Za(n){return Sh(n,Ps)||Sh(n,Ah)}function Sh(n,e){return n.hasOwnProperty(e)?n[e]:null}function Mh(n){return n&&(n.hasOwnProperty(Qa)||n.hasOwnProperty(rC))?n[Qa]:null}const Ps=ce({\u0275prov:ce}),Qa=ce({\u0275inj:ce}),Ah=ce({ngInjectableDef:ce}),rC=ce({ngInjectorDef:ce});var j=(()=>((j=j||{})[j.Default=0]="Default",j[j.Host=1]="Host",j[j.Self=2]="Self",j[j.SkipSelf=4]="SkipSelf",j[j.Optional=8]="Optional",j))();let Xa;function xn(n){const e=Xa;return Xa=n,e}function Th(n,e,t){const i=Za(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&j.Optional?null:void 0!==e?e:void Ns(ne(n),"Injector")}function On(n){return{toString:n}.toString()}var Ht=(()=>((Ht=Ht||{})[Ht.OnPush=0]="OnPush",Ht[Ht.Default=1]="Default",Ht))(),$t=(()=>(function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}($t||($t={})),$t))();const oC="undefined"!=typeof globalThis&&globalThis,aC="undefined"!=typeof window&&window,lC="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,se=oC||"undefined"!=typeof global&&global||aC||lC,Ai={},ue=[],Ls=ce({\u0275cmp:ce}),Ja=ce({\u0275dir:ce}),el=ce({\u0275pipe:ce}),Ih=ce({\u0275mod:ce}),bn=ce({\u0275fac:ce}),wr=ce({__NG_ELEMENT_ID__:ce});let cC=0;function Vs(n){return On(()=>{const t={},i={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===Ht.OnPush,directiveDefs:null,pipeDefs:null,selectors:n.selectors||ue,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||$t.Emulated,id:"c",styles:n.styles||ue,_:null,setInput:null,schemas:n.schemas||null,tView:null},r=n.directives,s=n.features,o=n.pipes;return i.id+=cC++,i.inputs=Fh(n.inputs,t),i.outputs=Fh(n.outputs),s&&s.forEach(a=>a(i)),i.directiveDefs=r?()=>("function"==typeof r?r():r).map(kh):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(xh):null,i})}function kh(n){return Ye(n)||function Fn(n){return n[Ja]||null}(n)}function xh(n){return function Zn(n){return n[el]||null}(n)}const Oh={};function Xe(n){return On(()=>{const e={type:n.type,bootstrap:n.bootstrap||ue,declarations:n.declarations||ue,imports:n.imports||ue,exports:n.exports||ue,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null};return null!=n.id&&(Oh[n.id]=n.type),e})}function Fh(n,e){if(null==n)return Ai;const t={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),t[r]=i,e&&(e[r]=s)}return t}const N=Vs;function Ye(n){return n[Ls]||null}function kt(n,e){const t=n[Ih]||null;if(!t&&!0===e)throw new Error(`Type ${ne(n)} does not have '\u0275mod' property.`);return t}const H=11;function nn(n){return Array.isArray(n)&&"object"==typeof n[1]}function zt(n){return Array.isArray(n)&&!0===n[1]}function il(n){return 0!=(8&n.flags)}function $s(n){return 2==(2&n.flags)}function Us(n){return 1==(1&n.flags)}function Gt(n){return null!==n.template}function gC(n){return 0!=(512&n[2])}function ei(n,e){return n.hasOwnProperty(bn)?n[bn]:null}class Nh{constructor(e,t,i){this.previousValue=e,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function rn(){return Ph}function Ph(n){return n.type.prototype.ngOnChanges&&(n.setInput=vC),yC}function yC(){const n=Vh(this),e=null==n?void 0:n.current;if(e){const t=n.previous;if(t===Ai)n.previous=e;else for(let i in e)t[i]=e[i];n.current=null,this.ngOnChanges(e)}}function vC(n,e,t,i){const r=Vh(n)||function bC(n,e){return n[Lh]=e}(n,{previous:Ai,current:null}),s=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[t],l=o[a];s[a]=new Nh(l&&l.currentValue,e,o===Ai),n[i]=e}rn.ngInherit=!0;const Lh="__ngSimpleChanges__";function Vh(n){return n[Lh]||null}let ll;function Se(n){return!!n.listen}const Bh={createRenderer:(n,e)=>function cl(){return void 0!==ll?ll:"undefined"!=typeof document?document:void 0}()};function xe(n){for(;Array.isArray(n);)n=n[0];return n}function zs(n,e){return xe(e[n])}function yt(n,e){return xe(e[n.index])}function ul(n,e){return n.data[e]}function vt(n,e){const t=e[n];return nn(t)?t:t[0]}function jh(n){return 4==(4&n[2])}function dl(n){return 128==(128&n[2])}function Rn(n,e){return null==e?null:n[e]}function Hh(n){n[18]=0}function hl(n,e){n[5]+=e;let t=n,i=n[3];for(;null!==i&&(1===e&&1===t[5]||-1===e&&0===t[5]);)i[5]+=e,t=i,i=i[3]}const L={lFrame:Zh(null),bindingsEnabled:!0};function Uh(){return L.bindingsEnabled}function y(){return L.lFrame.lView}function Q(){return L.lFrame.tView}function Ve(){let n=zh();for(;null!==n&&64===n.type;)n=n.parent;return n}function zh(){return L.lFrame.currentTNode}function sn(n,e){const t=L.lFrame;t.currentTNode=n,t.isParent=e}function fl(){return L.lFrame.isParent}function pl(){L.lFrame.isParent=!1}function Fi(){return L.lFrame.bindingIndex++}function VC(n,e){const t=L.lFrame;t.bindingIndex=t.bindingRootIndex=n,gl(e)}function gl(n){L.lFrame.currentDirectiveIndex=n}function qh(){return L.lFrame.currentQueryIndex}function _l(n){L.lFrame.currentQueryIndex=n}function jC(n){const e=n[1];return 2===e.type?e.declTNode:1===e.type?n[6]:null}function Kh(n,e,t){if(t&j.SkipSelf){let r=e,s=n;for(;!(r=r.parent,null!==r||t&j.Host||(r=jC(s),null===r||(s=s[15],10&r.type))););if(null===r)return!1;e=r,n=s}const i=L.lFrame=Yh();return i.currentTNode=e,i.lView=n,!0}function Ws(n){const e=Yh(),t=n[1];L.lFrame=e,e.currentTNode=t.firstChild,e.lView=n,e.tView=t,e.contextLView=n,e.bindingIndex=t.bindingStartIndex,e.inI18n=!1}function Yh(){const n=L.lFrame,e=null===n?null:n.child;return null===e?Zh(n):e}function Zh(n){const e={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:n,child:null,inI18n:!1};return null!==n&&(n.child=e),e}function Qh(){const n=L.lFrame;return L.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Xh=Qh;function qs(){const n=Qh();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function rt(){return L.lFrame.selectedIndex}function Nn(n){L.lFrame.selectedIndex=n}function ve(){const n=L.lFrame;return ul(n.tView,n.selectedIndex)}function Ks(n,e){for(let t=e.directiveStart,i=e.directiveEnd;t<i;t++){const s=n.data[t].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=s;o&&(n.contentHooks||(n.contentHooks=[])).push(-t,o),a&&((n.contentHooks||(n.contentHooks=[])).push(t,a),(n.contentCheckHooks||(n.contentCheckHooks=[])).push(t,a)),l&&(n.viewHooks||(n.viewHooks=[])).push(-t,l),c&&((n.viewHooks||(n.viewHooks=[])).push(t,c),(n.viewCheckHooks||(n.viewCheckHooks=[])).push(t,c)),null!=u&&(n.destroyHooks||(n.destroyHooks=[])).push(t,u)}}function Ys(n,e,t){tf(n,e,3,t)}function Zs(n,e,t,i){(3&n[2])===t&&tf(n,e,t,i)}function yl(n,e){let t=n[2];(3&t)===e&&(t&=2047,t+=1,n[2]=t)}function tf(n,e,t,i){const s=null!=i?i:-1,o=e.length-1;let a=0;for(let l=void 0!==i?65535&n[18]:0;l<o;l++)if("number"==typeof e[l+1]){if(a=e[l],null!=i&&a>=i)break}else e[l]<0&&(n[18]+=65536),(a<s||-1==s)&&(qC(n,t,e,l),n[18]=(4294901760&n[18])+l+2),l++}function qC(n,e,t,i){const r=t[i]<0,s=t[i+1],a=n[r?-t[i]:t[i]];if(r){if(n[2]>>11<n[18]>>16&&(3&n[2])===e){n[2]+=2048;try{s.call(a)}finally{}}}else try{s.call(a)}finally{}}class Ir{constructor(e,t,i){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function Qs(n,e,t){const i=Se(n);let r=0;for(;r<t.length;){const s=t[r];if("number"==typeof s){if(0!==s)break;r++;const o=t[r++],a=t[r++],l=t[r++];i?n.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=s,a=t[++r];bl(o)?i&&n.setProperty(e,o,a):i?n.setAttribute(e,o,a):e.setAttribute(o,a),r++}}return r}function nf(n){return 3===n||4===n||6===n}function bl(n){return 64===n.charCodeAt(0)}function Xs(n,e){if(null!==e&&0!==e.length)if(null===n||0===n.length)n=e.slice();else{let t=-1;for(let i=0;i<e.length;i++){const r=e[i];"number"==typeof r?t=r:0===t||rf(n,t,r,null,-1===t||2===t?e[++i]:null)}}return n}function rf(n,e,t,i,r){let s=0,o=n.length;if(-1===e)o=-1;else for(;s<n.length;){const a=n[s++];if("number"==typeof a){if(a===e){o=-1;break}if(a>e){o=s-1;break}}}for(;s<n.length;){const a=n[s];if("number"==typeof a)break;if(a===t){if(null===i)return void(null!==r&&(n[s+1]=r));if(i===n[s+1])return void(n[s+2]=r)}s++,null!==i&&s++,null!==r&&s++}-1!==o&&(n.splice(o,0,e),s=o+1),n.splice(s++,0,t),null!==i&&n.splice(s++,0,i),null!==r&&n.splice(s++,0,r)}function sf(n){return-1!==n}function Ri(n){return 32767&n}function Ni(n,e){let t=function XC(n){return n>>16}(n),i=e;for(;t>0;)i=i[15],t--;return i}let Dl=!0;function Js(n){const e=Dl;return Dl=n,e}let JC=0;function xr(n,e){const t=El(n,e);if(-1!==t)return t;const i=e[1];i.firstCreatePass&&(n.injectorIndex=e.length,Cl(i.data,n),Cl(e,null),Cl(i.blueprint,null));const r=eo(n,e),s=n.injectorIndex;if(sf(r)){const o=Ri(r),a=Ni(r,e),l=a[1].data;for(let c=0;c<8;c++)e[s+c]=a[o+c]|l[o+c]}return e[s+8]=r,s}function Cl(n,e){n.push(0,0,0,0,0,0,0,0,e)}function El(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===e[n.injectorIndex+8]?-1:n.injectorIndex}function eo(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let t=0,i=null,r=e;for(;null!==r;){const s=r[1],o=s.type;if(i=2===o?s.declTNode:1===o?r[6]:null,null===i)return-1;if(t++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return-1}function to(n,e,t){!function eE(n,e,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(wr)&&(i=t[wr]),null==i&&(i=t[wr]=JC++);const r=255&i;e.data[n+(r>>5)]|=1<<r}(n,e,t)}function cf(n,e,t){if(t&j.Optional)return n;Ns(e,"NodeInjector")}function uf(n,e,t,i){if(t&j.Optional&&void 0===i&&(i=null),0==(t&(j.Self|j.Host))){const r=n[9],s=xn(void 0);try{return r?r.get(e,i,t&j.Optional):Th(e,i,t&j.Optional)}finally{xn(s)}}return cf(i,e,t)}function df(n,e,t,i=j.Default,r){if(null!==n){const s=function rE(n){if("string"==typeof n)return n.charCodeAt(0)||0;const e=n.hasOwnProperty(wr)?n[wr]:void 0;return"number"==typeof e?e>=0?255&e:nE:e}(t);if("function"==typeof s){if(!Kh(e,n,i))return i&j.Host?cf(r,t,i):uf(e,t,i,r);try{const o=s(i);if(null!=o||i&j.Optional)return o;Ns(t)}finally{Xh()}}else if("number"==typeof s){let o=null,a=El(n,e),l=-1,c=i&j.Host?e[16][6]:null;for((-1===a||i&j.SkipSelf)&&(l=-1===a?eo(n,e):e[a+8],-1!==l&&pf(i,!1)?(o=e[1],a=Ri(l),e=Ni(l,e)):a=-1);-1!==a;){const u=e[1];if(ff(s,a,u.data)){const d=iE(a,e,t,o,i,c);if(d!==hf)return d}l=e[a+8],-1!==l&&pf(i,e[1].data[a+8]===c)&&ff(s,a,e)?(o=u,a=Ri(l),e=Ni(l,e)):a=-1}}}return uf(e,t,i,r)}const hf={};function nE(){return new Pi(Ve(),y())}function iE(n,e,t,i,r,s){const o=e[1],a=o.data[n+8],u=no(a,o,t,null==i?$s(a)&&Dl:i!=o&&0!=(3&a.type),r&j.Host&&s===a);return null!==u?Or(e,o,u,a):hf}function no(n,e,t,i,r){const s=n.providerIndexes,o=e.data,a=1048575&s,l=n.directiveStart,u=s>>20,h=r?a+u:n.directiveEnd;for(let f=i?a:a+u;f<h;f++){const p=o[f];if(f<l&&t===p||f>=l&&p.type===t)return f}if(r){const f=o[l];if(f&&Gt(f)&&f.type===t)return l}return null}function Or(n,e,t,i){let r=n[t];const s=e.data;if(function KC(n){return n instanceof Ir}(r)){const o=r;o.resolving&&function XD(n,e){const t=e?`. Dependency path: ${e.join(" > ")} > ${n}`:"";throw new S(-200,`Circular dependency in DI detected for ${n}${t}`)}(qe(s[t]));const a=Js(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?xn(o.injectImpl):null;Kh(n,i,j.Default);try{r=n[t]=o.factory(void 0,s,n,i),e.firstCreatePass&&t>=i.directiveStart&&function WC(n,e,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=e.type.prototype;if(i){const o=Ph(e);(t.preOrderHooks||(t.preOrderHooks=[])).push(n,o),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,o)}r&&(t.preOrderHooks||(t.preOrderHooks=[])).push(0-n,r),s&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n,s),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,s))}(t,s[t],e)}finally{null!==l&&xn(l),Js(a),o.resolving=!1,Xh()}}return r}function ff(n,e,t){return!!(t[e+(n>>5)]&1<<n)}function pf(n,e){return!(n&j.Self||n&j.Host&&e)}class Pi{constructor(e,t){this._tNode=e,this._lView=t}get(e,t,i){return df(this._tNode,this._lView,e,i,t)}}function Ue(n){return On(()=>{const e=n.prototype.constructor,t=e[bn]||wl(e),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const s=r[bn]||wl(r);if(s&&s!==t)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function wl(n){return wh(n)?()=>{const e=wl($(n));return e&&e()}:ei(n)}class I{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=x({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}function Ft(n,e){void 0===e&&(e=n);for(let t=0;t<n.length;t++){let i=n[t];Array.isArray(i)?(e===n&&(e=n.slice(0,t)),Ft(i,e)):e!==n&&e.push(i)}return e}function on(n,e){n.forEach(t=>Array.isArray(t)?on(t,e):e(t))}function mf(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function ro(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function Nr(n,e){const t=[];for(let i=0;i<n;i++)t.push(e);return t}function bt(n,e,t){let i=Hi(n,e);return i>=0?n[1|i]=t:(i=~i,function lE(n,e,t,i){let r=n.length;if(r==e)n.push(t,i);else if(1===r)n.push(i,n[0]),n[0]=t;else{for(r--,n.push(n[r-1],n[r]);r>e;)n[r]=n[r-2],r--;n[e]=t,n[e+1]=i}}(n,i,e,t)),i}function Al(n,e){const t=Hi(n,e);if(t>=0)return n[1|t]}function Hi(n,e){return function vf(n,e,t){let i=0,r=n.length>>t;for(;r!==i;){const s=i+(r-i>>1),o=n[s<<t];if(e===o)return s<<t;o>e?r=s:i=s+1}return~(r<<t)}(n,e,1)}const Pr={},oo="ngTempTokenPath",gE=/\n/gm,Df="__source",_E=ce({provide:String,useValue:ce});let Lr;function Cf(n){const e=Lr;return Lr=n,e}function yE(n,e=j.Default){if(void 0===Lr)throw new S(203,"");return null===Lr?Th(n,void 0,e):Lr.get(n,e&j.Optional?null:void 0,e)}function v(n,e=j.Default){return(function sC(){return Xa}()||yE)($(n),e)}const kl=v;function xl(n){const e=[];for(let t=0;t<n.length;t++){const i=$(n[t]);if(Array.isArray(i)){if(0===i.length)throw new S(900,"");let r,s=j.Default;for(let o=0;o<i.length;o++){const a=i[o],l=vE(a);"number"==typeof l?-1===l?r=a.token:s|=l:r=a}e.push(v(r,s))}else e.push(v(i))}return e}function vE(n){return n.__NG_DI_FLAG__}var Dt=(()=>((Dt=Dt||{})[Dt.Important=1]="Important",Dt[Dt.DashCase=2]="DashCase",Dt))();const kf="__ngContext__";function et(n,e){n[kf]=e}function Nl(n){const e=function jr(n){return n[kf]||null}(n);return e?Array.isArray(e)?e:e.lView:null}function Ll(n,e){return undefined(n,e)}function Hr(n){const e=n[3];return zt(e)?e[3]:e}function Vl(n){return Lf(n[13])}function Bl(n){return Lf(n[4])}function Lf(n){for(;null!==n&&!zt(n);)n=n[4];return n}function Ui(n,e,t,i,r){if(null!=i){let s,o=!1;zt(i)?s=i:nn(i)&&(o=!0,i=i[0]);const a=xe(i);0===n&&null!==t?null==r?Uf(e,t,a):ti(e,t,a,r||null,!0):1===n&&null!==t?ti(e,t,a,r||null,!0):2===n?function Wl(n,e,t){const i=uo(n,e);i&&function ZE(n,e,t,i){Se(n)?n.removeChild(e,t,i):e.removeChild(t)}(n,i,e,t)}(e,a,o):3===n&&e.destroyNode(a),null!=s&&function JE(n,e,t,i,r){const s=t[7];s!==xe(t)&&Ui(e,n,i,s,r);for(let a=10;a<t.length;a++){const l=t[a];$r(l[1],l,n,e,i,s)}}(e,n,s,t,r)}}function Hl(n,e,t){if(Se(n))return n.createElement(e,t);{const i=null!==t?function wC(n){const e=n.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(t):null;return null===i?n.createElement(e):n.createElementNS(i,e)}}function Bf(n,e){const t=n[9],i=t.indexOf(e),r=e[3];1024&e[2]&&(e[2]&=-1025,hl(r,-1)),t.splice(i,1)}function $l(n,e){if(n.length<=10)return;const t=10+e,i=n[t];if(i){const r=i[17];null!==r&&r!==n&&Bf(r,i),e>0&&(n[t-1][4]=i[4]);const s=ro(n,10+e);!function $E(n,e){$r(n,e,e[H],2,null,null),e[0]=null,e[6]=null}(i[1],i);const o=s[19];null!==o&&o.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function jf(n,e){if(!(256&e[2])){const t=e[H];Se(t)&&t.destroyNode&&$r(n,e,t,3,null,null),function GE(n){let e=n[13];if(!e)return Ul(n[1],n);for(;e;){let t=null;if(nn(e))t=e[13];else{const i=e[10];i&&(t=i)}if(!t){for(;e&&!e[4]&&e!==n;)nn(e)&&Ul(e[1],e),e=e[3];null===e&&(e=n),nn(e)&&Ul(e[1],e),t=e&&e[4]}e=t}}(e)}}function Ul(n,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function YE(n,e){let t;if(null!=n&&null!=(t=n.destroyHooks))for(let i=0;i<t.length;i+=2){const r=e[t[i]];if(!(r instanceof Ir)){const s=t[i+1];if(Array.isArray(s))for(let o=0;o<s.length;o+=2){const a=r[s[o]],l=s[o+1];try{l.call(a)}finally{}}else try{s.call(r)}finally{}}}}(n,e),function KE(n,e){const t=n.cleanup,i=e[7];let r=-1;if(null!==t)for(let s=0;s<t.length-1;s+=2)if("string"==typeof t[s]){const o=t[s+1],a="function"==typeof o?o(e):xe(e[o]),l=i[r=t[s+2]],c=t[s+3];"boolean"==typeof c?a.removeEventListener(t[s],l,c):c>=0?i[r=c]():i[r=-c].unsubscribe(),s+=2}else{const o=i[r=t[s+1]];t[s].call(o)}if(null!==i){for(let s=r+1;s<i.length;s++)i[s]();e[7]=null}}(n,e),1===e[1].type&&Se(e[H])&&e[H].destroy();const t=e[17];if(null!==t&&zt(e[3])){t!==e[3]&&Bf(t,e);const i=e[19];null!==i&&i.detachView(n)}}}function Hf(n,e,t){return function $f(n,e,t){let i=e;for(;null!==i&&40&i.type;)i=(e=i).parent;if(null===i)return t[0];if(2&i.flags){const r=n.data[i.directiveStart].encapsulation;if(r===$t.None||r===$t.Emulated)return null}return yt(i,t)}(n,e.parent,t)}function ti(n,e,t,i,r){Se(n)?n.insertBefore(e,t,i,r):e.insertBefore(t,i,r)}function Uf(n,e,t){Se(n)?n.appendChild(e,t):e.appendChild(t)}function zf(n,e,t,i,r){null!==i?ti(n,e,t,i,r):Uf(n,e,t)}function uo(n,e){return Se(n)?n.parentNode(e):e.parentNode}function Gf(n,e,t){return qf(n,e,t)}let qf=function Wf(n,e,t){return 40&n.type?yt(n,t):null};function ho(n,e,t,i){const r=Hf(n,i,e),s=e[H],a=Gf(i.parent||e[6],i,e);if(null!=r)if(Array.isArray(t))for(let l=0;l<t.length;l++)zf(s,r,t[l],a,!1);else zf(s,r,t,a,!1)}function fo(n,e){if(null!==e){const t=e.type;if(3&t)return yt(e,n);if(4&t)return Gl(-1,n[e.index]);if(8&t){const i=e.child;if(null!==i)return fo(n,i);{const r=n[e.index];return zt(r)?Gl(-1,r):xe(r)}}if(32&t)return Ll(e,n)()||xe(n[e.index]);{const i=Yf(n,e);return null!==i?Array.isArray(i)?i[0]:fo(Hr(n[16]),i):fo(n,e.next)}}return null}function Yf(n,e){return null!==e?n[16][6].projection[e.projection]:null}function Gl(n,e){const t=10+n+1;if(t<e.length){const i=e[t],r=i[1].firstChild;if(null!==r)return fo(i,r)}return e[7]}function ql(n,e,t,i,r,s,o){for(;null!=t;){const a=i[t.index],l=t.type;if(o&&0===e&&(a&&et(xe(a),i),t.flags|=4),64!=(64&t.flags))if(8&l)ql(n,e,t.child,i,r,s,!1),Ui(e,n,r,a,s);else if(32&l){const c=Ll(t,i);let u;for(;u=c();)Ui(e,n,r,u,s);Ui(e,n,r,a,s)}else 16&l?Zf(n,e,i,t,r,s):Ui(e,n,r,a,s);t=o?t.projectionNext:t.next}}function $r(n,e,t,i,r,s){ql(t,i,n.firstChild,e,r,s,!1)}function Zf(n,e,t,i,r,s){const o=t[16],l=o[6].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)Ui(e,n,r,l[c],s);else ql(n,e,l,o[3],r,s,!0)}function Qf(n,e,t){Se(n)?n.setAttribute(e,"style",t):e.style.cssText=t}function Kl(n,e,t){Se(n)?""===t?n.removeAttribute(e,"class"):n.setAttribute(e,"class",t):e.className=t}function nc(n){return n.ngOriginalError}function xw(n,...e){n.error(...e)}class Wr{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),i=function kw(n){return n&&n.ngErrorLogger||xw}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t)}_findOriginalError(e){let t=e&&nc(e);for(;t&&nc(t);)t=nc(t);return t||null}}const Vw=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(se))();function ln(n){return n instanceof Function?n():n}function hp(n,e,t){let i=n.length;for(;;){const r=n.indexOf(e,t);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const s=e.length;if(r+s===i||n.charCodeAt(r+s)<=32)return r}t=r+1}}const fp="ng-template";function $w(n,e,t){let i=0;for(;i<n.length;){let r=n[i++];if(t&&"class"===r){if(r=n[i],-1!==hp(r.toLowerCase(),e,0))return!0}else if(1===r){for(;i<n.length&&"string"==typeof(r=n[i++]);)if(r.toLowerCase()===e)return!0;return!1}}return!1}function pp(n){return 4===n.type&&n.value!==fp}function Uw(n,e,t){return e===(4!==n.type||t?n.value:fp)}function zw(n,e,t){let i=4;const r=n.attrs||[],s=function qw(n){for(let e=0;e<n.length;e++)if(nf(n[e]))return e;return n.length}(r);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&i){if(i=2|1&i,""!==l&&!Uw(n,l,t)||""===l&&1===e.length){if(Wt(i))return!1;o=!0}}else{const c=8&i?l:e[++a];if(8&i&&null!==n.attrs){if(!$w(n.attrs,c,t)){if(Wt(i))return!1;o=!0}continue}const d=Gw(8&i?"class":l,r,pp(n),t);if(-1===d){if(Wt(i))return!1;o=!0;continue}if(""!==c){let h;h=d>s?"":r[d+1].toLowerCase();const f=8&i?h:null;if(f&&-1!==hp(f,c,0)||2&i&&c!==h){if(Wt(i))return!1;o=!0}}}}else{if(!o&&!Wt(i)&&!Wt(l))return!1;if(o&&Wt(l))continue;o=!1,i=l|1&i}}return Wt(i)||o}function Wt(n){return 0==(1&n)}function Gw(n,e,t,i){if(null===e)return-1;let r=0;if(i||!t){let s=!1;for(;r<e.length;){const o=e[r];if(o===n)return r;if(3===o||6===o)s=!0;else{if(1===o||2===o){let a=e[++r];for(;"string"==typeof a;)a=e[++r];continue}if(4===o)break;if(0===o){r+=4;continue}}r+=s?1:2}return-1}return function Kw(n,e){let t=n.indexOf(4);if(t>-1)for(t++;t<n.length;){const i=n[t];if("number"==typeof i)return-1;if(i===e)return t;t++}return-1}(e,n)}function gp(n,e,t=!1){for(let i=0;i<e.length;i++)if(zw(n,e[i],t))return!0;return!1}function Yw(n,e){e:for(let t=0;t<e.length;t++){const i=e[t];if(n.length===i.length){for(let r=0;r<n.length;r++)if(n[r]!==i[r])continue e;return!0}}return!1}function mp(n,e){return n?":not("+e.trim()+")":e}function Zw(n){let e=n[0],t=1,i=2,r="",s=!1;for(;t<n.length;){let o=n[t];if("string"==typeof o)if(2&i){const a=n[++t];r+="["+o+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""!==r&&!Wt(o)&&(e+=mp(s,r),r=""),i=o,s=s||!Wt(i);t++}return""!==r&&(e+=mp(s,r)),e}const V={};function qr(n){_p(Q(),y(),rt()+n,!1)}function _p(n,e,t,i){if(!i)if(3==(3&e[2])){const s=n.preOrderCheckHooks;null!==s&&Ys(e,s,t)}else{const s=n.preOrderHooks;null!==s&&Zs(e,s,0,t)}Nn(t)}function yo(n,e){return n<<17|e<<2}function qt(n){return n>>17&32767}function ic(n){return 2|n}function En(n){return(131068&n)>>2}function rc(n,e){return-131069&n|e<<2}function sc(n){return 1|n}function Tp(n,e){const t=n.contentQueries;if(null!==t)for(let i=0;i<t.length;i+=2){const r=t[i],s=t[i+1];if(-1!==s){const o=n.data[s];_l(r),o.contentQueries(2,e[s],s)}}}function Kr(n,e,t,i,r,s,o,a,l,c){const u=e.blueprint.slice();return u[0]=r,u[2]=140|i,Hh(u),u[3]=u[15]=n,u[8]=t,u[10]=o||n&&n[10],u[H]=a||n&&n[H],u[12]=l||n&&n[12]||null,u[9]=c||n&&n[9]||null,u[6]=s,u[16]=2==e.type?n[16]:u,u}function Gi(n,e,t,i,r){let s=n.data[e];if(null===s)s=function pc(n,e,t,i,r){const s=zh(),o=fl(),l=n.data[e]=function pS(n,e,t,i,r,s){return{type:t,index:i,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?s:s&&s.parent,t,e,i,r);return null===n.firstChild&&(n.firstChild=l),null!==s&&(o?null==s.child&&null!==l.parent&&(s.child=l):null===s.next&&(s.next=l)),l}(n,e,t,i,r),function LC(){return L.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=t,s.value=i,s.attrs=r;const o=function Tr(){const n=L.lFrame,e=n.currentTNode;return n.isParent?e:e.parent}();s.injectorIndex=null===o?-1:o.injectorIndex}return sn(s,!0),s}function Wi(n,e,t,i){if(0===t)return-1;const r=e.length;for(let s=0;s<t;s++)e.push(i),n.blueprint.push(i),n.data.push(null);return r}function Yr(n,e,t){Ws(e);try{const i=n.viewQuery;null!==i&&Ec(1,i,t);const r=n.template;null!==r&&Ip(n,e,r,1,t),n.firstCreatePass&&(n.firstCreatePass=!1),n.staticContentQueries&&Tp(n,e),n.staticViewQueries&&Ec(2,n.viewQuery,t);const s=n.components;null!==s&&function dS(n,e){for(let t=0;t<e.length;t++)OS(n,e[t])}(e,s)}catch(i){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),i}finally{e[2]&=-5,qs()}}function qi(n,e,t,i){const r=e[2];if(256!=(256&r)){Ws(e);try{Hh(e),function Gh(n){return L.lFrame.bindingIndex=n}(n.bindingStartIndex),null!==t&&Ip(n,e,t,2,i);const o=3==(3&r);if(o){const c=n.preOrderCheckHooks;null!==c&&Ys(e,c,null)}else{const c=n.preOrderHooks;null!==c&&Zs(e,c,0,null),yl(e,0)}if(function kS(n){for(let e=Vl(n);null!==e;e=Bl(e)){if(!e[2])continue;const t=e[9];for(let i=0;i<t.length;i++){const r=t[i],s=r[3];0==(1024&r[2])&&hl(s,1),r[2]|=1024}}}(e),function IS(n){for(let e=Vl(n);null!==e;e=Bl(e))for(let t=10;t<e.length;t++){const i=e[t],r=i[1];dl(i)&&qi(r,i,r.template,i[8])}}(e),null!==n.contentQueries&&Tp(n,e),o){const c=n.contentCheckHooks;null!==c&&Ys(e,c)}else{const c=n.contentHooks;null!==c&&Zs(e,c,1),yl(e,1)}!function cS(n,e){const t=n.hostBindingOpCodes;if(null!==t)try{for(let i=0;i<t.length;i++){const r=t[i];if(r<0)Nn(~r);else{const s=r,o=t[++i],a=t[++i];VC(o,s),a(2,e[s])}}}finally{Nn(-1)}}(n,e);const a=n.components;null!==a&&function uS(n,e){for(let t=0;t<e.length;t++)xS(n,e[t])}(e,a);const l=n.viewQuery;if(null!==l&&Ec(2,l,i),o){const c=n.viewCheckHooks;null!==c&&Ys(e,c)}else{const c=n.viewHooks;null!==c&&Zs(e,c,2),yl(e,2)}!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),e[2]&=-73,1024&e[2]&&(e[2]&=-1025,hl(e[3],-1))}finally{qs()}}}function hS(n,e,t,i){const r=e[10],o=jh(e);try{!o&&r.begin&&r.begin(),o&&Yr(n,e,i),qi(n,e,t,i)}finally{!o&&r.end&&r.end()}}function Ip(n,e,t,i,r){const s=rt(),o=2&i;try{Nn(-1),o&&e.length>20&&_p(n,e,20,!1),t(i,r)}finally{Nn(s)}}function xp(n){const e=n.tView;return null===e||e.incompleteFirstPass?n.tView=Do(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts):e}function Do(n,e,t,i,r,s,o,a,l,c){const u=20+i,d=u+r,h=function fS(n,e){const t=[];for(let i=0;i<e;i++)t.push(i<n?null:V);return t}(u,d),f="function"==typeof c?c():c;return h[1]={type:n,blueprint:h,template:t,queries:null,viewQuery:a,declTNode:e,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:d,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 s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:f,incompleteFirstPass:!1}}function Rp(n,e,t,i){const r=zp(e);null===t?r.push(i):(r.push(t),n.firstCreatePass&&Gp(n).push(i,r.length-1))}function Np(n,e,t){for(let i in n)if(n.hasOwnProperty(i)){const r=n[i];(t=null===t?{}:t).hasOwnProperty(i)?t[i].push(e,r):t[i]=[e,r]}return t}function Ct(n,e,t,i,r,s,o,a){const l=yt(e,t);let u,c=e.inputs;!a&&null!=c&&(u=c[i])?(Kp(n,t,u,i,r),$s(e)&&function _S(n,e){const t=vt(e,n);16&t[2]||(t[2]|=64)}(t,e.index)):3&e.type&&(i=function mS(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(i),r=null!=o?o(r,e.value||"",i):r,Se(s)?s.setProperty(l,i,r):bl(i)||(l.setProperty?l.setProperty(i,r):l[i]=r))}function Lp(n,e,t,i,r,s){const o=s.hostBindings;if(o){let a=n.hostBindingOpCodes;null===a&&(a=n.hostBindingOpCodes=[]);const l=~e.index;(function bS(n){let e=n.length;for(;e>0;){const t=n[--e];if("number"==typeof t&&t<0)return t}return 0})(a)!=l&&a.push(l),a.push(i,r,o)}}function Vp(n,e){null!==n.hostBindings&&n.hostBindings(1,e)}function Bp(n,e){e.flags|=2,(n.components||(n.components=[])).push(e.index)}function SS(n,e,t){if(t){if(e.exportAs)for(let i=0;i<e.exportAs.length;i++)t[e.exportAs[i]]=n;Gt(e)&&(t[""]=n)}}function jp(n,e,t){n.flags|=1,n.directiveStart=e,n.directiveEnd=e+t,n.providerIndexes=e}function Hp(n,e,t,i,r){n.data[i]=r;const s=r.factory||(r.factory=ei(r.type)),o=new Ir(s,Gt(r),null);n.blueprint[i]=o,t[i]=o,Lp(n,e,0,i,Wi(n,t,r.hostVars,V),r)}function MS(n,e,t){const i=yt(e,n),r=xp(t),s=n[10],o=Co(n,Kr(n,r,null,t.onPush?64:16,i,e,s,s.createRenderer(i,t),null,null));n[e.index]=o}function cn(n,e,t,i,r,s){const o=yt(n,e);!function yc(n,e,t,i,r,s,o){if(null==s)Se(n)?n.removeAttribute(e,r,t):e.removeAttribute(r);else{const a=null==o?P(s):o(s,i||"",r);Se(n)?n.setAttribute(e,r,a,t):t?e.setAttributeNS(t,r,a):e.setAttribute(r,a)}}(e[H],o,s,n.value,t,i,r)}function AS(n,e,t,i,r,s){const o=s[e];if(null!==o){const a=i.setInput;for(let l=0;l<o.length;){const c=o[l++],u=o[l++],d=o[l++];null!==a?i.setInput(t,d,c,u):t[u]=d}}}function TS(n,e){let t=null,i=0;for(;i<e.length;){const r=e[i];if(0!==r)if(5!==r){if("number"==typeof r)break;n.hasOwnProperty(r)&&(null===t&&(t=[]),t.push(r,n[r],e[i+1])),i+=2}else i+=2;else i+=4}return t}function xS(n,e){const t=vt(e,n);if(dl(t)){const i=t[1];80&t[2]?qi(i,t,i.template,t[8]):t[5]>0&&vc(t)}}function vc(n){for(let i=Vl(n);null!==i;i=Bl(i))for(let r=10;r<i.length;r++){const s=i[r];if(1024&s[2]){const o=s[1];qi(o,s,o.template,s[8])}else s[5]>0&&vc(s)}const t=n[1].components;if(null!==t)for(let i=0;i<t.length;i++){const r=vt(t[i],n);dl(r)&&r[5]>0&&vc(r)}}function OS(n,e){const t=vt(e,n),i=t[1];(function FS(n,e){for(let t=e.length;t<n.blueprint.length;t++)e.push(n.blueprint[t])})(i,t),Yr(i,t,t[8])}function Co(n,e){return n[13]?n[14][4]=e:n[13]=e,n[14]=e,e}function bc(n){for(;n;){n[2]|=64;const e=Hr(n);if(gC(n)&&!e)return n;n=e}return null}function Up(n){!function Dc(n){for(let e=0;e<n.components.length;e++){const t=n.components[e],i=Nl(t),r=i[1];hS(r,i,r.template,t)}}(n[8])}function Ec(n,e,t){_l(0),e(n,t)}const NS=(()=>Promise.resolve(null))();function zp(n){return n[7]||(n[7]=[])}function Gp(n){return n.cleanup||(n.cleanup=[])}function qp(n,e){const t=n[9],i=t?t.get(Wr,null):null;i&&i.handleError(e)}function Kp(n,e,t,i,r){for(let s=0;s<t.length;){const o=t[s++],a=t[s++],l=e[o],c=n.data[o];null!==c.setInput?c.setInput(l,r,i,a):l[a]=r}}function wn(n,e,t){const i=zs(e,n);!function Vf(n,e,t){Se(n)?n.setValue(e,t):e.textContent=t}(n[H],i,t)}function Eo(n,e,t){let i=t?n.styles:null,r=t?n.classes:null,s=0;if(null!==e)for(let o=0;o<e.length;o++){const a=e[o];"number"==typeof a?s=a:1==s?r=Ka(r,a):2==s&&(i=Ka(i,a+": "+e[++o]+";"))}t?n.styles=i:n.stylesWithoutHost=i,t?n.classes=r:n.classesWithoutHost=r}const wc=new I("INJECTOR",-1);class Yp{get(e,t=Pr){if(t===Pr){const i=new Error(`NullInjectorError: No provider for ${ne(e)}!`);throw i.name="NullInjectorError",i}return t}}const Sc=new I("Set Injector scope."),Zr={},VS={};let Mc;function Zp(){return void 0===Mc&&(Mc=new Yp),Mc}function Qp(n,e=null,t=null,i){const r=Xp(n,e,t,i);return r._resolveInjectorDefTypes(),r}function Xp(n,e=null,t=null,i){return new BS(n,t,e||Zp(),i)}class BS{constructor(e,t,i,r=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];t&&on(t,a=>this.processProvider(a,e,t)),on([e],a=>this.processInjectorType(a,[],s)),this.records.set(wc,Ki(void 0,this));const o=this.records.get(Sc);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof e?null:ne(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=Pr,i=j.Default){this.assertNotDestroyed();const r=Cf(this),s=xn(void 0);try{if(!(i&j.SkipSelf)){let a=this.records.get(e);if(void 0===a){const l=function qS(n){return"function"==typeof n||"object"==typeof n&&n instanceof I}(e)&&Za(e);a=l&&this.injectableDefInScope(l)?Ki(Ac(e),Zr):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(i&j.Self?Zp():this.parent).get(e,t=i&j.Optional&&t===Pr?null:t)}catch(o){if("NullInjectorError"===o.name){if((o[oo]=o[oo]||[]).unshift(ne(e)),r)throw o;return function bE(n,e,t,i){const r=n[oo];throw e[Df]&&r.unshift(e[Df]),n.message=function DE(n,e,t,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.substr(2):n;let r=ne(e);if(Array.isArray(e))r=e.map(ne).join(" -> ");else if("object"==typeof e){let s=[];for(let o in e)if(e.hasOwnProperty(o)){let a=e[o];s.push(o+":"+("string"==typeof a?JSON.stringify(a):ne(a)))}r=`{${s.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${n.replace(gE,"\n ")}`}("\n"+n.message,r,t,i),n.ngTokenPath=r,n[oo]=null,n}(o,e,"R3InjectorError",this.source)}throw o}finally{xn(s),Cf(r)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((i,r)=>e.push(ne(r))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processInjectorType(e,t,i){if(!(e=$(e)))return!1;let r=Mh(e);const s=null==r&&e.ngModule||void 0,o=void 0===s?e:s,a=-1!==i.indexOf(o);if(void 0!==s&&(r=Mh(s)),null==r)return!1;if(null!=r.imports&&!a){let u;i.push(o);try{on(r.imports,d=>{this.processInjectorType(d,t,i)&&(void 0===u&&(u=[]),u.push(d))})}finally{}if(void 0!==u)for(let d=0;d<u.length;d++){const{ngModule:h,providers:f}=u[d];on(f,p=>this.processProvider(p,h,f||ue))}}this.injectorDefTypes.add(o);const l=ei(o)||(()=>new o);this.records.set(o,Ki(l,Zr));const c=r.providers;if(null!=c&&!a){const u=e;on(c,d=>this.processProvider(d,u,c))}return void 0!==s&&void 0!==e.providers}processProvider(e,t,i){let r=Yi(e=$(e))?e:$(e&&e.provide);const s=function HS(n,e,t){return eg(n)?Ki(void 0,n.useValue):Ki(Jp(n),Zr)}(e);if(Yi(e)||!0!==e.multi)this.records.get(r);else{let o=this.records.get(r);o||(o=Ki(void 0,Zr,!0),o.factory=()=>xl(o.multi),this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,s)}hydrate(e,t){return t.value===Zr&&(t.value=VS,t.value=t.factory()),"object"==typeof t.value&&t.value&&function WS(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(t.value)&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){if(!e.providedIn)return!1;const t=$(e.providedIn);return"string"==typeof t?"any"===t||t===this.scope:this.injectorDefTypes.has(t)}}function Ac(n){const e=Za(n),t=null!==e?e.factory:ei(n);if(null!==t)return t;if(n instanceof I)throw new S(204,!1);if(n instanceof Function)return function jS(n){const e=n.length;if(e>0)throw Nr(e,"?"),new S(204,!1);const t=function nC(n){const e=n&&(n[Ps]||n[Ah]);if(e){const t=function iC(n){if(n.hasOwnProperty("name"))return n.name;const e=(""+n).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${t}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${t}" class.`),e}return null}(n);return null!==t?()=>t.factory(n):()=>new n}(n);throw new S(204,!1)}function Jp(n,e,t){let i;if(Yi(n)){const r=$(n);return ei(r)||Ac(r)}if(eg(n))i=()=>$(n.useValue);else if(function US(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...xl(n.deps||[]));else if(function $S(n){return!(!n||!n.useExisting)}(n))i=()=>v($(n.useExisting));else{const r=$(n&&(n.useClass||n.provide));if(!function GS(n){return!!n.deps}(n))return ei(r)||Ac(r);i=()=>new r(...xl(n.deps))}return i}function Ki(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function eg(n){return null!==n&&"object"==typeof n&&_E in n}function Yi(n){return"function"==typeof n}let ot=(()=>{class n{static create(t,i){var r;if(Array.isArray(t))return Qp({name:""},i,t,"");{const s=null!==(r=t.name)&&void 0!==r?r:"";return Qp({name:s},t.parent,t.providers,s)}}}return n.THROW_IF_NOT_FOUND=Pr,n.NULL=new Yp,n.\u0275prov=x({token:n,providedIn:"any",factory:()=>v(wc)}),n.__NG_ELEMENT_ID__=-1,n})();function tM(n,e){Ks(Nl(n)[1],Ve())}function ee(n){let e=function hg(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),t=!0;const i=[n];for(;e;){let r;if(Gt(n))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new S(903,"");r=e.\u0275dir}if(r){if(t){i.push(r);const o=n;o.inputs=kc(n.inputs),o.declaredInputs=kc(n.declaredInputs),o.outputs=kc(n.outputs);const a=r.hostBindings;a&&sM(n,a);const l=r.viewQuery,c=r.contentQueries;if(l&&iM(n,l),c&&rM(n,c),qa(n.inputs,r.inputs),qa(n.declaredInputs,r.declaredInputs),qa(n.outputs,r.outputs),Gt(r)&&r.data.animation){const u=n.data;u.animation=(u.animation||[]).concat(r.data.animation)}}const s=r.features;if(s)for(let o=0;o<s.length;o++){const a=s[o];a&&a.ngInherit&&a(n),a===ee&&(t=!1)}}e=Object.getPrototypeOf(e)}!function nM(n){let e=0,t=null;for(let i=n.length-1;i>=0;i--){const r=n[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Xs(r.hostAttrs,t=Xs(t,r.hostAttrs))}}(i)}function kc(n){return n===Ai?{}:n===ue?[]:n}function iM(n,e){const t=n.viewQuery;n.viewQuery=t?(i,r)=>{e(i,r),t(i,r)}:e}function rM(n,e){const t=n.contentQueries;n.contentQueries=t?(i,r,s)=>{e(i,r,s),t(i,r,s)}:e}function sM(n,e){const t=n.hostBindings;n.hostBindings=t?(i,r)=>{e(i,r),t(i,r)}:e}let wo=null;function Zi(){if(!wo){const n=se.Symbol;if(n&&n.iterator)wo=n.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const i=e[t];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(wo=i)}}}return wo}function tt(n,e,t){return!Object.is(n[e],t)&&(n[e]=t,!0)}function Nt(n,e,t,i){const r=y();return tt(r,Fi(),e)&&(Q(),cn(ve(),r,n,e,t,i)),Nt}function Oc(n){return function Oi(n,e){return n[e]}(function PC(){return L.lFrame.contextLView}(),20+n)}function b(n,e=j.Default){const t=y();return null===t?v(n,e):df(Ve(),t,$(n),e)}function Jr(n,e,t){const i=y();return tt(i,Fi(),e)&&Ct(Q(),ve(),i,n,e,i[H],t,!1),Jr}function Lc(n,e,t,i,r){const o=r?"class":"style";Kp(n,t,e.inputs[o],o,i)}function dn(n,e,t,i){const r=y(),s=Q(),o=20+n,a=r[H],l=r[o]=Hl(a,e,function GC(){return L.lFrame.currentNamespace}()),c=s.firstCreatePass?function NM(n,e,t,i,r,s,o){const a=e.consts,c=Gi(e,n,2,r,Rn(a,s));return function _c(n,e,t,i){let r=!1;if(Uh()){const s=function ES(n,e,t){const i=n.directiveRegistry;let r=null;if(i)for(let s=0;s<i.length;s++){const o=i[s];gp(t,o.selectors,!1)&&(r||(r=[]),to(xr(t,e),n,o.type),Gt(o)?(Bp(n,t),r.unshift(o)):r.push(o))}return r}(n,e,t),o=null===i?null:{"":-1};if(null!==s){r=!0,jp(t,n.data.length,s.length);for(let u=0;u<s.length;u++){const d=s[u];d.providersResolver&&d.providersResolver(d)}let a=!1,l=!1,c=Wi(n,e,s.length,null);for(let u=0;u<s.length;u++){const d=s[u];t.mergedAttrs=Xs(t.mergedAttrs,d.hostAttrs),Hp(n,t,e,c,d),SS(c,d,o),null!==d.contentQueries&&(t.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(t.flags|=128);const h=d.type.prototype;!a&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t.index),a=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t.index),l=!0),c++}!function gS(n,e){const i=e.directiveEnd,r=n.data,s=e.attrs,o=[];let a=null,l=null;for(let c=e.directiveStart;c<i;c++){const u=r[c],d=u.inputs,h=null===s||pp(e)?null:TS(d,s);o.push(h),a=Np(d,c,a),l=Np(u.outputs,c,l)}null!==a&&(a.hasOwnProperty("class")&&(e.flags|=16),a.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=o,e.inputs=a,e.outputs=l}(n,t)}o&&function wS(n,e,t){if(e){const i=n.localNames=[];for(let r=0;r<e.length;r+=2){const s=t[e[r+1]];if(null==s)throw new S(-301,!1);i.push(e[r],s)}}}(t,i,o)}return t.mergedAttrs=Xs(t.mergedAttrs,t.attrs),r}(e,t,c,Rn(a,o)),null!==c.attrs&&Eo(c,c.attrs,!1),null!==c.mergedAttrs&&Eo(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(o,s,r,0,e,t,i):s.data[o];sn(c,!0);const u=c.mergedAttrs;null!==u&&Qs(a,l,u);const d=c.classes;null!==d&&Kl(a,l,d);const h=c.styles;return null!==h&&Qf(a,l,h),64!=(64&c.flags)&&ho(s,r,l,c),0===function kC(){return L.lFrame.elementDepthCount}()&&et(l,r),function xC(){L.lFrame.elementDepthCount++}(),Us(c)&&(function gc(n,e,t){!Uh()||(function DS(n,e,t,i){const r=t.directiveStart,s=t.directiveEnd;n.firstCreatePass||xr(t,e),et(i,e);const o=t.initialInputs;for(let a=r;a<s;a++){const l=n.data[a],c=Gt(l);c&&MS(e,t,l);const u=Or(e,n,a,t);et(u,e),null!==o&&AS(0,a-r,u,l,0,o),c&&(vt(t.index,e)[8]=u)}}(n,e,t,yt(t,e)),128==(128&t.flags)&&function CS(n,e,t){const i=t.directiveStart,r=t.directiveEnd,o=t.index,a=function BC(){return L.lFrame.currentDirectiveIndex}();try{Nn(o);for(let l=i;l<r;l++){const c=n.data[l],u=e[l];gl(l),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&Vp(c,u)}}finally{Nn(-1),gl(a)}}(n,e,t))}(s,r,c),function kp(n,e,t){if(il(e)){const r=e.directiveEnd;for(let s=e.directiveStart;s<r;s++){const o=n.data[s];o.contentQueries&&o.contentQueries(1,t[s],s)}}}(s,c,r)),null!==i&&function mc(n,e,t=yt){const i=e.localNames;if(null!==i){let r=e.index+1;for(let s=0;s<i.length;s+=2){const o=i[s+1],a=-1===o?t(e,n):n[o];n[r++]=a}}}(r,c),dn}function hn(){let n=Ve();fl()?pl():(n=n.parent,sn(n,!1));const e=n;!function OC(){L.lFrame.elementDepthCount--}();const t=Q();return t.firstCreatePass&&(Ks(t,n),il(n)&&t.queries.elementEnd(n)),null!=e.classesWithoutHost&&function ZC(n){return 0!=(16&n.flags)}(e)&&Lc(t,e,y(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function QC(n){return 0!=(32&n.flags)}(e)&&Lc(t,e,y(),e.stylesWithoutHost,!1),hn}function ar(n,e,t,i){return dn(n,e,t,i),hn(),ar}function Ao(n){return!!n&&"function"==typeof n.then}const Rg=function Fg(n){return!!n&&"function"==typeof n.subscribe};function Et(n,e,t,i){const r=y(),s=Q(),o=Ve();return function Pg(n,e,t,i,r,s,o,a){const l=Us(i),u=n.firstCreatePass&&Gp(n),d=e[8],h=zp(e);let f=!0;if(3&i.type||a){const _=yt(i,e),D=a?a(_):_,m=h.length,C=a?T=>a(xe(T[i.index])):i.index;if(Se(t)){let T=null;if(!a&&l&&(T=function VM(n,e,t,i){const r=n.cleanup;if(null!=r)for(let s=0;s<r.length-1;s+=2){const o=r[s];if(o===t&&r[s+1]===i){const a=e[7],l=r[s+2];return a.length>l?a[l]:null}"string"==typeof o&&(s+=2)}return null}(n,e,r,i.index)),null!==T)(T.__ngLastListenerFn__||T).__ngNextListenerFn__=s,T.__ngLastListenerFn__=s,f=!1;else{s=jc(i,e,d,s,!1);const z=t.listen(D,r,s);h.push(s,z),u&&u.push(r,C,m,m+1)}}else s=jc(i,e,d,s,!0),D.addEventListener(r,s,o),h.push(s),u&&u.push(r,C,m,o)}else s=jc(i,e,d,s,!1);const p=i.outputs;let g;if(f&&null!==p&&(g=p[r])){const _=g.length;if(_)for(let D=0;D<_;D+=2){const ge=e[g[D]][g[D+1]].subscribe(s),De=h.length;h.push(s,ge),u&&u.push(r,i.index,De,-(De+1))}}}(s,r,r[H],o,n,e,!!t,i),Et}function Lg(n,e,t,i){try{return!1!==t(i)}catch(r){return qp(n,r),!1}}function jc(n,e,t,i,r){return function s(o){if(o===Function)return i;const a=2&n.flags?vt(n.index,e):e;0==(32&e[2])&&bc(a);let l=Lg(e,0,i,o),c=s.__ngNextListenerFn__;for(;c;)l=Lg(e,0,c,o)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(o.preventDefault(),o.returnValue=!1),l}}function jM(n,e){let t=null;const i=function Ww(n){const e=n.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(n);for(let r=0;r<e.length;r++){const s=e[r];if("*"!==s){if(null===i?gp(n,s,!0):Yw(i,s))return r}else t=r}return t}function Yg(n,e,t,i,r){const s=n[t+1],o=null===e;let a=i?qt(s):En(s),l=!1;for(;0!==a&&(!1===l||o);){const u=n[a+1];UM(n[a],e)&&(l=!0,n[a+1]=i?sc(u):ic(u)),a=i?qt(u):En(u)}l&&(n[t+1]=i?ic(s):sc(s))}function UM(n,e){return null===n||null==e||(Array.isArray(n)?n[1]:n)===e||!(!Array.isArray(n)||"string"!=typeof e)&&Hi(n,e)>=0}function ri(n,e){return function Yt(n,e,t,i){const r=y(),s=Q(),o=function Cn(n){const e=L.lFrame,t=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,t}(2);s.firstUpdatePass&&function rm(n,e,t,i){const r=n.data;if(null===r[t+1]){const s=r[rt()],o=function im(n,e){return e>=n.expandoStartIndex}(n,t);(function lm(n,e){return 0!=(n.flags&(e?16:32))})(s,i)&&null===e&&!o&&(e=!1),e=function XM(n,e,t,i){const r=function ml(n){const e=L.lFrame.currentDirectiveIndex;return-1===e?null:n[e]}(n);let s=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(t=es(t=$c(null,n,e,t,i),e.attrs,i),s=null);else{const o=e.directiveStylingLast;if(-1===o||n[o]!==r)if(t=$c(r,n,e,t,i),null===s){let l=function JM(n,e,t){const i=t?e.classBindings:e.styleBindings;if(0!==En(i))return n[qt(i)]}(n,e,i);void 0!==l&&Array.isArray(l)&&(l=$c(null,n,e,l[1],i),l=es(l,e.attrs,i),function e0(n,e,t,i){n[qt(t?e.classBindings:e.styleBindings)]=i}(n,e,i,l))}else s=function t0(n,e,t){let i;const r=e.directiveEnd;for(let s=1+e.directiveStylingLast;s<r;s++)i=es(i,n[s].hostAttrs,t);return es(i,e.attrs,t)}(n,e,i)}return void 0!==s&&(i?e.residualClasses=s:e.residualStyles=s),t}(r,s,e,i),function HM(n,e,t,i,r,s){let o=s?e.classBindings:e.styleBindings,a=qt(o),l=En(o);n[i]=t;let u,c=!1;if(Array.isArray(t)){const d=t;u=d[1],(null===u||Hi(d,u)>0)&&(c=!0)}else u=t;if(r)if(0!==l){const h=qt(n[a+1]);n[i+1]=yo(h,a),0!==h&&(n[h+1]=rc(n[h+1],i)),n[a+1]=function Jw(n,e){return 131071&n|e<<17}(n[a+1],i)}else n[i+1]=yo(a,0),0!==a&&(n[a+1]=rc(n[a+1],i)),a=i;else n[i+1]=yo(l,0),0===a?a=i:n[l+1]=rc(n[l+1],i),l=i;c&&(n[i+1]=ic(n[i+1])),Yg(n,u,i,!0),Yg(n,u,i,!1),function $M(n,e,t,i,r){const s=r?n.residualClasses:n.residualStyles;null!=s&&"string"==typeof e&&Hi(s,e)>=0&&(t[i+1]=sc(t[i+1]))}(e,u,n,i,s),o=yo(a,l),s?e.classBindings=o:e.styleBindings=o}(r,s,e,t,o,i)}}(s,n,o,i),e!==V&&tt(r,o,e)&&function om(n,e,t,i,r,s,o,a){if(!(3&e.type))return;const l=n.data,c=l[a+1];To(function bp(n){return 1==(1&n)}(c)?am(l,e,t,r,En(c),o):void 0)||(To(s)||function vp(n){return 2==(2&n)}(c)&&(s=am(l,null,t,r,a,o)),function ew(n,e,t,i,r){const s=Se(n);if(e)r?s?n.addClass(t,i):t.classList.add(i):s?n.removeClass(t,i):t.classList.remove(i);else{let o=-1===i.indexOf("-")?void 0:Dt.DashCase;if(null==r)s?n.removeStyle(t,i,o):t.style.removeProperty(i);else{const a="string"==typeof r&&r.endsWith("!important");a&&(r=r.slice(0,-10),o|=Dt.Important),s?n.setStyle(t,i,r,o):t.style.setProperty(i,r,a?"important":"")}}}(i,o,zs(rt(),t),r,s))}(s,s.data[rt()],r,r[H],n,r[o+1]=function s0(n,e){return null==n||("string"==typeof e?n+=e:"object"==typeof n&&(n=ne(function Ln(n){return n instanceof class tp{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}?n.changingThisBreaksApplicationSecurity:n}(n)))),n}(e,t),i,o)}(n,e,null,!0),ri}function $c(n,e,t,i,r){let s=null;const o=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a<o&&(s=e[a],i=es(i,s.hostAttrs,r),s!==n);)a++;return null!==n&&(t.directiveStylingLast=a),i}function es(n,e,t){const i=t?1:2;let r=-1;if(null!==e)for(let s=0;s<e.length;s++){const o=e[s];"number"==typeof o?r=o:r===i&&(Array.isArray(n)||(n=void 0===n?[]:["",n]),bt(n,o,!!t||e[++s]))}return void 0===n?null:n}function am(n,e,t,i,r,s){const o=null===e;let a;for(;r>0;){const l=n[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=t[r+1];h===V&&(h=d?ue:void 0);let f=d?Al(h,i):u===i?h:void 0;if(c&&!To(f)&&(f=Al(l,i)),To(f)&&(a=f,o))return a;const p=n[r+1];r=o?qt(p):En(p)}if(null!==e){let l=s?e.residualClasses:e.residualStyles;null!=l&&(a=Al(l,i))}return a}function To(n){return void 0!==n}function Uc(n,e=""){const t=y(),i=Q(),r=n+20,s=i.firstCreatePass?Gi(i,r,1,e,null):i.data[r],o=t[r]=function jl(n,e){return Se(n)?n.createText(e):n.createTextNode(e)}(t[H],e);ho(i,t,o,s),sn(s,!1)}function zc(n){return Gc("",n,""),zc}function Gc(n,e,t){const i=y(),r=function Xi(n,e,t,i){return tt(n,Fi(),t)?e+P(t)+i:V}(i,n,e,t);return r!==V&&wn(i,rt(),r),Gc}function Wc(n,e,t){const i=y();return tt(i,Fi(),e)&&Ct(Q(),ve(),i,n,e,i[H],t,!0),Wc}const Io="en-US";let Im=Io;function Yc(n,e,t,i,r){if(n=$(n),Array.isArray(n))for(let s=0;s<n.length;s++)Yc(n[s],e,t,i,r);else{const s=Q(),o=y();let a=Yi(n)?n:$(n.provide),l=Jp(n);const c=Ve(),u=1048575&c.providerIndexes,d=c.directiveStart,h=c.providerIndexes>>20;if(Yi(n)||!n.multi){const f=new Ir(l,r,b),p=Qc(a,e,r?u:u+h,d);-1===p?(to(xr(c,o),s,a),Zc(s,n,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),t.push(f),o.push(f)):(t[p]=f,o[p]=f)}else{const f=Qc(a,e,u+h,d),p=Qc(a,e,u,u+h),g=f>=0&&t[f],_=p>=0&&t[p];if(r&&!_||!r&&!g){to(xr(c,o),s,a);const D=function wA(n,e,t,i,r){const s=new Ir(n,t,b);return s.multi=[],s.index=e,s.componentProviders=0,Jm(s,r,i&&!t),s}(r?EA:CA,t.length,r,i,l);!r&&_&&(t[p].providerFactory=D),Zc(s,n,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),t.push(D),o.push(D)}else Zc(s,n,f>-1?f:p,Jm(t[r?p:f],l,!r&&i));!r&&i&&_&&t[p].componentProviders++}}}function Zc(n,e,t,i){const r=Yi(e),s=function zS(n){return!!n.useClass}(e);if(r||s){const l=(s?$(e.useClass):e).prototype.ngOnDestroy;if(l){const c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&e.multi){const u=c.indexOf(t);-1===u?c.push(t,[i,l]):c[u+1].push(i,l)}else c.push(t,l)}}}function Jm(n,e,t){return t&&n.componentProviders++,n.multi.push(e)-1}function Qc(n,e,t,i){for(let r=t;r<i;r++)if(e[r]===n)return r;return-1}function CA(n,e,t,i){return Xc(this.multi,[])}function EA(n,e,t,i){const r=this.multi;let s;if(this.providerFactory){const o=this.providerFactory.componentProviders,a=Or(t,t[1],this.providerFactory.index,i);s=a.slice(0,o),Xc(r,s);for(let l=o;l<a.length;l++)s.push(a[l])}else s=[],Xc(r,s);return s}function Xc(n,e){for(let t=0;t<n.length;t++)e.push((0,n[t])());return e}function he(n,e=[]){return t=>{t.providersResolver=(i,r)=>function DA(n,e,t){const i=Q();if(i.firstCreatePass){const r=Gt(n);Yc(t,i.data,i.blueprint,r,!0),Yc(e,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,e)}}class e_{}class AA{resolveComponentFactory(e){throw function MA(n){const e=Error(`No component factory found for ${ne(n)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=n,e}(e)}}let oi=(()=>{class n{}return n.NULL=new AA,n})();function TA(){return dr(Ve(),y())}function dr(n,e){return new Ze(yt(n,e))}let Ze=(()=>{class n{constructor(t){this.nativeElement=t}}return n.__NG_ELEMENT_ID__=TA,n})();function IA(n){return n instanceof Ze?n.nativeElement:n}class ss{}let ai=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function xA(){const n=y(),t=vt(Ve().index,n);return function kA(n){return n[H]}(nn(t)?t:n)}(),n})(),OA=(()=>{class n{}return n.\u0275prov=x({token:n,providedIn:"root",factory:()=>null}),n})();class li{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const FA=new li("13.4.0"),Jc={};function Ro(n,e,t,i,r=!1){for(;null!==t;){const s=e[t.index];if(null!==s&&i.push(xe(s)),zt(s))for(let a=10;a<s.length;a++){const l=s[a],c=l[1].firstChild;null!==c&&Ro(l[1],l,c,i)}const o=t.type;if(8&o)Ro(n,e,t.child,i);else if(32&o){const a=Ll(t,e);let l;for(;l=a();)i.push(l)}else if(16&o){const a=Yf(e,t);if(Array.isArray(a))i.push(...a);else{const l=Hr(e[16]);Ro(l[1],l,a,i,!0)}}t=r?t.projectionNext:t.next}return i}class os{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,t=e[1];return Ro(t,e,t.firstChild,[])}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(zt(e)){const t=e[8],i=t?t.indexOf(this):-1;i>-1&&($l(e,i),ro(t,i))}this._attachedToViewContainer=!1}jf(this._lView[1],this._lView)}onDestroy(e){Rp(this._lView[1],this._lView,null,e)}markForCheck(){bc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function Cc(n,e,t){const i=e[10];i.begin&&i.begin();try{qi(n,e,n.template,t)}catch(r){throw qp(e,r),r}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function zE(n,e){$r(n,e,e[H],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new S(902,"");this._appRef=e}}class RA extends os{constructor(e){super(e),this._view=e}detectChanges(){Up(this._view)}checkNoChanges(){}get context(){return null}}class n_ extends oi{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Ye(e);return new eu(t,this.ngModule)}}function i_(n){const e=[];for(let t in n)n.hasOwnProperty(t)&&e.push({propName:n[t],templateName:t});return e}class eu extends e_{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=function Qw(n){return n.map(Zw).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return i_(this.componentDef.inputs)}get outputs(){return i_(this.componentDef.outputs)}create(e,t,i,r){const s=(r=r||this.ngModule)?function PA(n,e){return{get:(t,i,r)=>{const s=n.get(t,Jc,r);return s!==Jc||i===Jc?s:e.get(t,i,r)}}}(e,r.injector):e,o=s.get(ss,Bh),a=s.get(OA,null),l=o.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",u=i?function Fp(n,e,t){if(Se(n))return n.selectRootElement(e,t===$t.ShadowDom);let i="string"==typeof e?n.querySelector(e):e;return i.textContent="",i}(l,i,this.componentDef.encapsulation):Hl(o.createRenderer(null,this.componentDef),c,function NA(n){const e=n.toLowerCase();return"svg"===e?"svg":"math"===e?"math":null}(c)),d=this.componentDef.onPush?576:528,h=function dg(n,e){return{components:[],scheduler:n||Vw,clean:NS,playerHandler:e||null,flags:0}}(),f=Do(0,null,null,1,0,null,null,null,null,null),p=Kr(null,f,h,d,null,null,o,l,a,s);let g,_;Ws(p);try{const D=function cg(n,e,t,i,r,s){const o=t[1];t[20]=n;const l=Gi(o,20,2,"#host",null),c=l.mergedAttrs=e.hostAttrs;null!==c&&(Eo(l,c,!0),null!==n&&(Qs(r,n,c),null!==l.classes&&Kl(r,n,l.classes),null!==l.styles&&Qf(r,n,l.styles)));const u=i.createRenderer(n,e),d=Kr(t,xp(e),null,e.onPush?64:16,t[20],l,i,u,s||null,null);return o.firstCreatePass&&(to(xr(l,t),o,e.type),Bp(o,l),jp(l,t.length,1)),Co(t,d),t[20]=d}(u,this.componentDef,p,o,l);if(u)if(i)Qs(l,u,["ng-version",FA.full]);else{const{attrs:m,classes:C}=function Xw(n){const e=[],t=[];let i=1,r=2;for(;i<n.length;){let s=n[i];if("string"==typeof s)2===r?""!==s&&e.push(s,n[++i]):8===r&&t.push(s);else{if(!Wt(r))break;r=s}i++}return{attrs:e,classes:t}}(this.componentDef.selectors[0]);m&&Qs(l,u,m),C&&C.length>0&&Kl(l,u,C.join(" "))}if(_=ul(f,20),void 0!==t){const m=_.projection=[];for(let C=0;C<this.ngContentSelectors.length;C++){const T=t[C];m.push(null!=T?Array.from(T):null)}}g=function ug(n,e,t,i,r){const s=t[1],o=function vS(n,e,t){const i=Ve();n.firstCreatePass&&(t.providersResolver&&t.providersResolver(t),Hp(n,i,e,Wi(n,e,1,null),t));const r=Or(e,n,i.directiveStart,i);et(r,e);const s=yt(i,e);return s&&et(s,e),r}(s,t,e);if(i.components.push(o),n[8]=o,r&&r.forEach(l=>l(o,e)),e.contentQueries){const l=Ve();e.contentQueries(1,o,l.directiveStart)}const a=Ve();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Nn(a.index),Lp(t[1],a,0,a.directiveStart,a.directiveEnd,e),Vp(e,o)),o}(D,this.componentDef,p,h,[tM]),Yr(f,p,null)}finally{qs()}return new VA(this.componentType,g,dr(_,p),p,_)}}class VA extends class SA{}{constructor(e,t,i,r,s){super(),this.location=i,this._rootLView=r,this._tNode=s,this.instance=t,this.hostView=this.changeDetectorRef=new RA(r),this.componentType=e}get injector(){return new Pi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}class hr{}const fr=new Map;class o_ extends hr{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new n_(this);const i=kt(e);this._bootstrapComponents=ln(i.bootstrap),this._r3Injector=Xp(e,t,[{provide:hr,useValue:this},{provide:oi,useValue:this.componentFactoryResolver}],ne(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=ot.THROW_IF_NOT_FOUND,i=j.Default){return e===ot||e===hr||e===wc?this:this._r3Injector.get(e,t,i)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class tu extends class jA{}{constructor(e){super(),this.moduleType=e,null!==kt(e)&&function HA(n){const e=new Set;!function t(i){const r=kt(i,!0),s=r.id;null!==s&&(function r_(n,e,t){if(e&&e!==t)throw new Error(`Duplicate module registered for ${n} - ${ne(e)} vs ${ne(e.name)}`)}(s,fr.get(s),i),fr.set(s,i));const o=ln(r.imports);for(const a of o)e.has(a)||(e.add(a),t(a))}(n)}(e)}create(e){return new o_(this.moduleType,e)}}function a_(n,e,t,i){return function l_(n,e,t,i,r,s){const o=e+t;return tt(n,o,r)?function un(n,e,t){return n[e]=t}(n,o+1,s?i.call(s,r):i(r)):function as(n,e){const t=n[e];return t===V?void 0:t}(n,o+1)}(y(),function it(){const n=L.lFrame;let e=n.bindingRootIndex;return-1===e&&(e=n.bindingRootIndex=n.tView.bindingStartIndex),e}(),n,e,t,i)}function nu(n){return e=>{setTimeout(n,void 0,e)}}const Te=class rT extends We{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,i){var r,s,o;let a=e,l=t||(()=>null),c=i;if(e&&"object"==typeof e){const d=e;a=null===(r=d.next)||void 0===r?void 0:r.bind(d),l=null===(s=d.error)||void 0===s?void 0:s.bind(d),c=null===(o=d.complete)||void 0===o?void 0:o.bind(d)}this.__isAsync&&(l=nu(l),a&&(a=nu(a)),c&&(c=nu(c)));const u=super.subscribe({next:a,error:l,complete:c});return e instanceof Y&&e.add(u),u}};function sT(){return this._results[Zi()]()}class iu{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Zi(),i=iu.prototype;i[t]||(i[t]=sT)}get changes(){return this._changes||(this._changes=new Te)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){const i=this;i.dirty=!1;const r=Ft(e);(this._changesDetected=!function oE(n,e,t){if(n.length!==e.length)return!1;for(let i=0;i<n.length;i++){let r=n[i],s=e[i];if(t&&(r=t(r),s=t(s)),s!==r)return!1}return!0}(i._results,r,t))&&(i._results=r,i.length=r.length,i.last=r[this.length-1],i.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Sn=(()=>{class n{}return n.__NG_ELEMENT_ID__=lT,n})();const oT=Sn,aT=class extends oT{constructor(e,t,i){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=i}createEmbeddedView(e){const t=this._declarationTContainer.tViews,i=Kr(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(i[19]=s.createEmbeddedView(t)),Yr(t,i,e),new os(i)}};function lT(){return No(Ve(),y())}function No(n,e){return 4&n.type?new aT(e,n,dr(n,e)):null}let gn=(()=>{class n{}return n.__NG_ELEMENT_ID__=cT,n})();function cT(){return g_(Ve(),y())}const uT=gn,f_=class extends uT{constructor(e,t,i){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=i}get element(){return dr(this._hostTNode,this._hostLView)}get injector(){return new Pi(this._hostTNode,this._hostLView)}get parentInjector(){const e=eo(this._hostTNode,this._hostLView);if(sf(e)){const t=Ni(e,this._hostLView),i=Ri(e);return new Pi(t[1].data[i+8],t)}return new Pi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=p_(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,i){const r=e.createEmbeddedView(t||{});return this.insert(r,i),r}createComponent(e,t,i,r,s){const o=e&&!function Rr(n){return"function"==typeof n}(e);let a;if(o)a=t;else{const d=t||{};a=d.index,i=d.injector,r=d.projectableNodes,s=d.ngModuleRef}const l=o?e:new eu(Ye(e)),c=i||this.parentInjector;if(!s&&null==l.ngModule){const h=(o?c:this.parentInjector).get(hr,null);h&&(s=h)}const u=l.create(c,r,void 0,s);return this.insert(u.hostView,a),u}insert(e,t){const i=e._lView,r=i[1];if(function IC(n){return zt(n[3])}(i)){const u=this.indexOf(e);if(-1!==u)this.detach(u);else{const d=i[3],h=new f_(d,d[6],d[3]);h.detach(h.indexOf(e))}}const s=this._adjustIndex(t),o=this._lContainer;!function WE(n,e,t,i){const r=10+i,s=t.length;i>0&&(t[r-1][4]=e),i<s-10?(e[4]=t[r],mf(t,10+i,e)):(t.push(e),e[4]=null),e[3]=t;const o=e[17];null!==o&&t!==o&&function qE(n,e){const t=n[9];e[16]!==e[3][3][16]&&(n[2]=!0),null===t?n[9]=[e]:t.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(n),e[2]|=128}(r,i,o,s);const a=Gl(s,o),l=i[H],c=uo(l,o[7]);return null!==c&&function UE(n,e,t,i,r,s){i[0]=r,i[6]=e,$r(n,i,t,1,r,s)}(r,o[6],l,i,c,a),e.attachToViewContainerRef(),mf(ru(o),s,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=p_(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),i=$l(this._lContainer,t);i&&(ro(ru(this._lContainer),t),jf(i[1],i))}detach(e){const t=this._adjustIndex(e,-1),i=$l(this._lContainer,t);return i&&null!=ro(ru(this._lContainer),t)?new os(i):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}};function p_(n){return n[8]}function ru(n){return n[8]||(n[8]=[])}function g_(n,e){let t;const i=e[n.index];if(zt(i))t=i;else{let r;if(8&n.type)r=xe(i);else{const s=e[H];r=s.createComment("");const o=yt(n,e);ti(s,uo(s,o),r,function QE(n,e){return Se(n)?n.nextSibling(e):e.nextSibling}(s,o),!1)}e[n.index]=t=function $p(n,e,t,i){return new Array(n,!0,!1,e,null,0,i,t,null,null)}(i,e,r,n),Co(e,t)}return new f_(t,n,e)}class su{constructor(e){this.queryList=e,this.matches=null}clone(){return new su(this.queryList)}setDirty(){this.queryList.setDirty()}}class ou{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const i=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let s=0;s<i;s++){const o=t.getByIndex(s);r.push(this.queries[o.indexInDeclarationView].clone())}return new ou(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==b_(e,t).matches&&this.queries[t].setDirty()}}class m_{constructor(e,t,i=null){this.predicate=e,this.flags=t,this.read=i}}class au{constructor(e=[]){this.queries=e}elementStart(e,t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let i=0;i<this.length;i++){const r=null!==t?t.length:0,s=this.getByIndex(i).embeddedTView(e,r);s&&(s.indexInDeclarationView=i,null!==t?t.push(s):t=[s])}return null!==t?new au(t):null}template(e,t){for(let i=0;i<this.queries.length;i++)this.queries[i].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class lu{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new lu(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let i=e.parent;for(;null!==i&&8&i.type&&i.index!==t;)i=i.parent;return t===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const s=i[r];this.matchTNodeWithReadOption(e,t,fT(t,s)),this.matchTNodeWithReadOption(e,t,no(t,e,s,!1,!1))}else i===Sn?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,no(t,e,i,!1,!1))}matchTNodeWithReadOption(e,t,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===Ze||r===gn||r===Sn&&4&t.type)this.addMatch(t.index,-2);else{const s=no(t,e,r,!1,!1);null!==s&&this.addMatch(t.index,s)}else this.addMatch(t.index,i)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function fT(n,e){const t=n.localNames;if(null!==t)for(let i=0;i<t.length;i+=2)if(t[i]===e)return t[i+1];return null}function gT(n,e,t,i){return-1===t?function pT(n,e){return 11&n.type?dr(n,e):4&n.type?No(n,e):null}(e,n):-2===t?function mT(n,e,t){return t===Ze?dr(e,n):t===Sn?No(e,n):t===gn?g_(e,n):void 0}(n,e,i):Or(n,n[1],t,e)}function __(n,e,t,i){const r=e[19].queries[i];if(null===r.matches){const s=n.data,o=t.matches,a=[];for(let l=0;l<o.length;l+=2){const c=o[l];a.push(c<0?null:gT(e,s[c],o[l+1],t.metadata.read))}r.matches=a}return r.matches}function cu(n,e,t,i){const r=n.queries.getByIndex(t),s=r.matches;if(null!==s){const o=__(n,e,r,t);for(let a=0;a<s.length;a+=2){const l=s[a];if(l>0)i.push(o[a/2]);else{const c=s[a+1],u=e[-l];for(let d=10;d<u.length;d++){const h=u[d];h[17]===h[3]&&cu(h[1],h,c,i)}if(null!==u[9]){const d=u[9];for(let h=0;h<d.length;h++){const f=d[h];cu(f[1],f,c,i)}}}}}return i}function uu(n){const e=y(),t=Q(),i=qh();_l(i+1);const r=b_(t,i);if(n.dirty&&jh(e)===(2==(2&r.metadata.flags))){if(null===r.matches)n.reset([]);else{const s=r.crossesNgTemplate?cu(t,e,i,[]):__(t,e,r,i);n.reset(s,IA),n.notifyOnChanges()}return!0}return!1}function du(n,e,t){const i=Q();i.firstCreatePass&&(function v_(n,e,t){null===n.queries&&(n.queries=new au),n.queries.track(new lu(e,t))}(i,new m_(n,e,t),-1),2==(2&e)&&(i.staticViewQueries=!0)),function y_(n,e,t){const i=new iu(4==(4&t));Rp(n,e,i,i.destroy),null===e[19]&&(e[19]=new ou),e[19].queries.push(new su(i))}(i,y(),e)}function hu(){return function yT(n,e){return n[19].queries[e].queryList}(y(),qh())}function b_(n,e){return n.queries.getByIndex(e)}function Vo(...n){}const L_=new I("Application Initializer");let yu=(()=>{class n{constructor(t){this.appInits=t,this.resolve=Vo,this.reject=Vo,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const t=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r<this.appInits.length;r++){const s=this.appInits[r]();if(Ao(s))t.push(s);else if(Rg(s)){const o=new Promise((a,l)=>{s.subscribe({complete:a,error:l})});t.push(o)}}Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}}return n.\u0275fac=function(t){return new(t||n)(v(L_,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const us=new I("AppId",{providedIn:"root",factory:function V_(){return`${vu()}${vu()}${vu()}`}});function vu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const B_=new I("Platform Initializer"),bu=new I("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),LT=new I("appBootstrapListener"),Mn=new I("LocaleId",{providedIn:"root",factory:()=>kl(Mn,j.Optional|j.SkipSelf)||function VT(){return"undefined"!=typeof $localize&&$localize.locale||Io}()}),$T=(()=>Promise.resolve(0))();function Du(n){"undefined"==typeof Zone?$T.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class oe{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Te(!1),this.onMicrotaskEmpty=new Te(!1),this.onStable=new Te(!1),this.onError=new Te(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function UT(){let n=se.requestAnimationFrame,e=se.cancelAnimationFrame;if("undefined"!=typeof Zone&&n&&e){const t=n[Zone.__symbol__("OriginalDelegate")];t&&(n=t);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function WT(n){const e=()=>{!function GT(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(se,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Eu(n),n.isCheckStableRunning=!0,Cu(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Eu(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,s,o,a)=>{try{return j_(n),t.invokeTask(r,s,o,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||n.shouldCoalesceRunChangeDetection)&&e(),H_(n)}},onInvoke:(t,i,r,s,o,a,l)=>{try{return j_(n),t.invoke(r,s,o,a,l)}finally{n.shouldCoalesceRunChangeDetection&&e(),H_(n)}},onHasTask:(t,i,r,s)=>{t.hasTask(r,s),i===r&&("microTask"==s.change?(n._hasPendingMicrotasks=s.microTask,Eu(n),Cu(n)):"macroTask"==s.change&&(n.hasPendingMacrotasks=s.macroTask))},onHandleError:(t,i,r,s)=>(t.handleError(r,s),n.runOutsideAngular(()=>n.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!oe.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(oe.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,i){return this._inner.run(e,t,i)}runTask(e,t,i,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,e,zT,Vo,Vo);try{return s.runTask(o,t,i)}finally{s.cancelTask(o)}}runGuarded(e,t,i){return this._inner.runGuarded(e,t,i)}runOutsideAngular(e){return this._outer.run(e)}}const zT={};function Cu(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function Eu(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function j_(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function H_(n){n._nesting--,Cu(n)}class qT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Te,this.onMicrotaskEmpty=new Te,this.onStable=new Te,this.onError=new Te}run(e,t,i){return e.apply(t,i)}runGuarded(e,t,i){return e.apply(t,i)}runOutsideAngular(e){return e()}runTask(e,t,i,r){return e.apply(t,i)}}let wu=(()=>{class n{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{oe.assertNotInAngularZone(),Du(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Du(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),t(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:t,timeoutId:s,updateCb:r})}whenStable(t,i,r){if(r&&!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(t,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,i,r){return[]}}return n.\u0275fac=function(t){return new(t||n)(v(oe))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),KT=(()=>{class n{constructor(){this._applications=new Map,Su.addToWindow(this)}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return Su.findTestabilityInTree(this,t,i)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();class YT{addToWindow(e){}findTestabilityInTree(e,t,i){return null}}let Su=new YT,ci=null;const $_=new I("AllowMultipleToken"),U_=new I("PlatformOnDestroy");function z_(n,e,t=[]){const i=`Platform: ${e}`,r=new I(i);return(s=[])=>{let o=Mu();if(!o||o.injector.get($_,!1)){const a=[...t,...s,{provide:r,useValue:!0}];n?n(a):function JT(n){if(ci&&!ci.get($_,!1))throw new S(400,"");ci=n;const e=n.get(G_),t=n.get(B_,null);t&&t.forEach(i=>i())}(function tI(n=[],e){return ot.create({name:e,providers:[{provide:Sc,useValue:"platform"},{provide:U_,useValue:()=>ci=null},...n]})}(a,i))}return function eI(n){const e=Mu();if(!e)throw new S(401,"");return e}()}}function Mu(){var n;return null!==(n=null==ci?void 0:ci.get(G_))&&void 0!==n?n:null}let G_=(()=>{class n{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const a=function nI(n,e){let t;return t="noop"===n?new qT:("zone.js"===n?void 0:n)||new oe({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),t}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),l=[{provide:oe,useValue:a}];return a.run(()=>{const c=ot.create({providers:l,parent:this.injector,name:t.moduleType.name}),u=t.create(c),d=u.injector.get(Wr,null);if(!d)throw new S(402,"");return a.runOutsideAngular(()=>{const h=a.onError.subscribe({next:f=>{d.handleError(f)}});u.onDestroy(()=>{Au(this._modules,u),h.unsubscribe()})}),function iI(n,e,t){try{const i=t();return Ao(i)?i.catch(r=>{throw e.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw e.runOutsideAngular(()=>n.handleError(i)),i}}(d,a,()=>{const h=u.injector.get(yu);return h.runInitializers(),h.donePromise.then(()=>(function k0(n){mt(n,"Expected localeId to be defined"),"string"==typeof n&&(Im=n.toLowerCase().replace(/_/g,"-"))}(u.injector.get(Mn,Io)||Io),this._moduleDoBootstrap(u),u))})})}bootstrapModule(t,i=[]){const r=W_({},i);return function QT(n,e,t){const i=new tu(t);return Promise.resolve(i)}(0,0,t).then(s=>this.bootstrapModuleFactory(s,r))}_moduleDoBootstrap(t){const i=t.injector.get(Bo);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new S(403,"");t.instance.ngDoBootstrap(i)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,"");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(U_,null);null==t||t(),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(t){return new(t||n)(v(ot))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function W_(n,e){return Array.isArray(e)?e.reduce(W_,n):Object.assign(Object.assign({},n),e)}let Bo=(()=>{class n{constructor(t,i,r,s){this._zone=t,this._injector=i,this._exceptionHandler=r,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new ye(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),a=new ye(l=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{oe.assertNotInAngularZone(),Du(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{oe.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{c.unsubscribe(),u.unsubscribe()}});this.isStable=Wa(o,a.pipe(function ZD(){return n=>Eh()(function qD(n,e){return function(i){let r;if(r="function"==typeof n?n:function(){return n},"function"==typeof e)return i.lift(new KD(r,e));const s=Object.create(i,zD);return s.source=i,s.subjectFactory=r,s}}(YD)(n))}()))}bootstrap(t,i){if(!this._initStatus.done)throw new S(405,"");let r;r=t instanceof e_?t:this._injector.get(oi).resolveComponentFactory(t),this.componentTypes.push(r.componentType);const s=function XT(n){return n.isBoundToModule}(r)?void 0:this._injector.get(hr),a=r.create(ot.NULL,[],i||r.selector,s),l=a.location.nativeElement,c=a.injector.get(wu,null),u=c&&a.injector.get(KT);return c&&u&&u.registerApplication(l,c),a.onDestroy(()=>{this.detachView(a.hostView),Au(this.components,a),u&&u.unregisterApplication(l)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new S(101,"");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Au(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(LT,[]).concat(this._bootstrapListeners).forEach(r=>r(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return n.\u0275fac=function(t){return new(t||n)(v(oe),v(ot),v(Wr),v(yu))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Au(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}let K_=!0,jo=(()=>{class n{}return n.__NG_ELEMENT_ID__=oI,n})();function oI(n){return function aI(n,e,t){if($s(n)&&!t){const i=vt(n.index,e);return new os(i,i)}return 47&n.type?new os(e[16],e):null}(Ve(),y(),16==(16&n))}const bI=z_(null,"core",[]);let DI=(()=>{class n{constructor(t){}}return n.\u0275fac=function(t){return new(t||n)(v(Bo))},n.\u0275mod=Xe({type:n}),n.\u0275inj=Ke({}),n})(),zo=null;function mn(){return zo}const ae=new I("DocumentToken"),Dy="browser";let Cx=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=Ke({}),n})();class Ku extends class Mx extends class wI{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function EI(n){zo||(zo=n)}(new Ku)}onAndCancel(e,t,i){return e.addEventListener(t,i,!1),()=>{e.removeEventListener(t,i,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=function Ax(){return ms=ms||document.querySelector("base"),ms?ms.getAttribute("href"):null}();return null==t?null:function Tx(n){na=na||document.createElement("a"),na.setAttribute("href",n);const e=na.pathname;return"/"===e.charAt(0)?e:`/${e}`}(t)}resetBaseElement(){ms=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return function pk(n,e){e=encodeURIComponent(e);for(const t of n.split(";")){const i=t.indexOf("="),[r,s]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===e)return decodeURIComponent(s)}return null}(document.cookie,e)}}let na,ms=null;const Iy=new I("TRANSITION_ID"),kx=[{provide:L_,useFactory:function Ix(n,e,t){return()=>{t.get(yu).donePromise.then(()=>{const i=mn(),r=e.querySelectorAll(`style[ng-transition="${n}"]`);for(let s=0;s<r.length;s++)i.remove(r[s])})}},deps:[Iy,ae,ot],multi:!0}];class Yu{static init(){!function ZT(n){Su=n}(new Yu)}addToWindow(e){se.getAngularTestability=(i,r=!0)=>{const s=e.findTestabilityInTree(i,r);if(null==s)throw new Error("Could not find testability for element.");return s},se.getAllAngularTestabilities=()=>e.getAllTestabilities(),se.getAllAngularRootElements=()=>e.getAllRootElements(),se.frameworkStabilizers||(se.frameworkStabilizers=[]),se.frameworkStabilizers.push(i=>{const r=se.getAllAngularTestabilities();let s=r.length,o=!1;const a=function(l){o=o||l,s--,0==s&&i(o)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(e,t,i){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:i?mn().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}let xx=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const ia=new I("EventManagerPlugins");let ra=(()=>{class n{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>r.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}addGlobalEventListener(t,i,r){return this._findPluginFor(i).addGlobalEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){const i=this._eventNameToPlugin.get(t);if(i)return i;const r=this._plugins;for(let s=0;s<r.length;s++){const o=r[s];if(o.supports(t))return this._eventNameToPlugin.set(t,o),o}throw new Error(`No event manager plugin found for event ${t}`)}}return n.\u0275fac=function(t){return new(t||n)(v(ia),v(oe))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class ky{constructor(e){this._doc=e}addGlobalEventListener(e,t,i){const r=mn().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,i)}}let xy=(()=>{class n{constructor(){this._stylesSet=new Set}addStyles(t){const i=new Set;t.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),_s=(()=>{class n extends xy{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,i,r){t.forEach(s=>{const o=this._doc.createElement("style");o.textContent=s,r.push(i.appendChild(o))})}addHost(t){const i=[];this._addStylesToHost(this._stylesSet,t,i),this._hostNodes.set(t,i)}removeHost(t){const i=this._hostNodes.get(t);i&&i.forEach(Oy),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(t,r,i)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(Oy))}}return n.\u0275fac=function(t){return new(t||n)(v(ae))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();function Oy(n){mn().remove(n)}const Zu={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/MathML/"},Qu=/%COMP%/g;function sa(n,e,t){for(let i=0;i<e.length;i++){let r=e[i];Array.isArray(r)?sa(n,r,t):(r=r.replace(Qu,n),t.push(r))}return t}function Ny(n){return e=>{if("__ngUnwrap__"===e)return n;!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}let oa=(()=>{class n{constructor(t,i,r){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Xu(t)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;switch(i.encapsulation){case $t.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new Lx(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(t),r}case 1:case $t.ShadowDom:return new Vx(this.eventManager,this.sharedStylesHost,t,i);default:if(!this.rendererByCompId.has(i.id)){const r=sa(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(t){return new(t||n)(v(ra),v(_s),v(us))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class Xu{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,t){return t?document.createElementNS(Zu[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,i){e&&e.insertBefore(t,i)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let i="string"==typeof e?document.querySelector(e):e;if(!i)throw new Error(`The selector "${e}" did not match any elements`);return t||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,i,r){if(r){t=r+":"+t;const s=Zu[r];s?e.setAttributeNS(s,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){const r=Zu[i];r?e.removeAttributeNS(r,t):e.removeAttribute(`${i}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,i,r){r&(Dt.DashCase|Dt.Important)?e.style.setProperty(t,i,r&Dt.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){i&Dt.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,i){e[t]=i}setValue(e,t){e.nodeValue=t}listen(e,t,i){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Ny(i)):this.eventManager.addEventListener(e,t,Ny(i))}}class Lx extends Xu{constructor(e,t,i,r){super(e),this.component=i;const s=sa(r+"-"+i.id,i.styles,[]);t.addStyles(s),this.contentAttr=function Rx(n){return"_ngcontent-%COMP%".replace(Qu,n)}(r+"-"+i.id),this.hostAttr=function Nx(n){return"_nghost-%COMP%".replace(Qu,n)}(r+"-"+i.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const i=super.createElement(e,t);return super.setAttribute(i,this.contentAttr,""),i}}class Vx extends Xu{constructor(e,t,i,r){super(e),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=sa(r.id,r.styles,[]);for(let o=0;o<s.length;o++){const a=document.createElement("style");a.textContent=s[o],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,i){return super.insertBefore(this.nodeOrShadowRoot(e),t,i)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let Bx=(()=>{class n extends ky{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}}return n.\u0275fac=function(t){return new(t||n)(v(ae))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const Ly=["alt","control","meta","shift"],Hx={"\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"},Vy={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},$x={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let Ux=(()=>{class n extends ky{constructor(t){super(t)}supports(t){return null!=n.parseEventName(t)}addEventListener(t,i,r){const s=n.parseEventName(i),o=n.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>mn().onAndCancel(t,s.domEventName,o))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const s=n._normalizeKey(i.pop());let o="";if(Ly.forEach(l=>{const c=i.indexOf(l);c>-1&&(i.splice(c,1),o+=l+".")}),o+=s,0!=i.length||0===s.length)return null;const a={};return a.domEventName=r,a.fullKey=o,a}static getEventFullKey(t){let i="",r=function zx(n){let e=n.key;if(null==e){if(e=n.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===n.location&&Vy.hasOwnProperty(e)&&(e=Vy[e]))}return Hx[e]||e}(t);return r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),Ly.forEach(s=>{s!=r&&$x[s](t)&&(i+=s+".")}),i+=r,i}static eventCallback(t,i,r){return s=>{n.getEventFullKey(s)===t&&r.runGuarded(()=>i(s))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return n.\u0275fac=function(t){return new(t||n)(v(ae))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const Kx=z_(bI,"browser",[{provide:bu,useValue:Dy},{provide:B_,useValue:function Gx(){Ku.makeCurrent(),Yu.init()},multi:!0},{provide:ae,useFactory:function qx(){return function SC(n){ll=n}(document),document},deps:[]}]),Yx=[{provide:Sc,useValue:"root"},{provide:Wr,useFactory:function Wx(){return new Wr},deps:[]},{provide:ia,useClass:Bx,multi:!0,deps:[ae,oe,bu]},{provide:ia,useClass:Ux,multi:!0,deps:[ae]},{provide:oa,useClass:oa,deps:[ra,_s,us]},{provide:ss,useExisting:oa},{provide:xy,useExisting:_s},{provide:_s,useClass:_s,deps:[ae]},{provide:wu,useClass:wu,deps:[oe]},{provide:ra,useClass:ra,deps:[ia,oe]},{provide:class wx{},useClass:xx,deps:[]}];let By=(()=>{class n{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:n,providers:[{provide:us,useValue:t.appId},{provide:Iy,useExisting:us},kx]}}}return n.\u0275fac=function(t){return new(t||n)(v(n,12))},n.\u0275mod=Xe({type:n}),n.\u0275inj=Ke({providers:Yx,imports:[Cx,DI]}),n})();function hi(n){return null!=n&&"false"!=`${n}`}function $y(n,e=0){return function oO(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):e}function fi(n){return n instanceof Ze?n.nativeElement:n}function ed(...n){let e=n[n.length-1];return Is(e)?(n.pop(),Ga(n,e)):Ch(n)}"undefined"!=typeof window&&window;class uO extends Y{constructor(e,t){super()}schedule(e,t=0){return this}}class aa extends uO{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const i=this.id,r=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(r,i,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,i=0){return setInterval(e.flush.bind(e,this),i)}recycleAsyncId(e,t,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(e,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let r,i=!1;try{this.work(e)}catch(s){i=!0,r=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),r}_unsubscribe(){const e=this.id,t=this.scheduler,i=t.actions,r=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&i.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}let Wy=(()=>{class n{constructor(t,i=n.now){this.SchedulerAction=t,this.now=i}schedule(t,i=0,r){return new this.SchedulerAction(this,t).schedule(r,i)}}return n.now=()=>Date.now(),n})();class Jt extends Wy{constructor(e,t=Wy.now){super(e,()=>Jt.delegate&&Jt.delegate!==this?Jt.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,i){return Jt.delegate&&Jt.delegate!==this?Jt.delegate.schedule(e,t,i):super.schedule(e,t,i)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let i;this.active=!0;do{if(i=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,i){for(;e=t.shift();)e.unsubscribe();throw i}}}new class hO extends Jt{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let i,r=-1,s=t.length;e=e||t.shift();do{if(i=e.execute(e.state,e.delay))break}while(++r<s&&(e=t.shift()));if(this.active=!1,i){for(;++r<s&&(e=t.shift());)e.unsubscribe();throw i}}}(class dO extends aa{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,i=0){return null!==i&&i>0?super.requestAsyncId(e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(e,t,i);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}});let pO=1;const gO=Promise.resolve(),la={};function qy(n){return n in la&&(delete la[n],!0)}const Ky={setImmediate(n){const e=pO++;return la[e]=!0,gO.then(()=>qy(e)&&n()),e},clearImmediate(n){qy(n)}},td=(new class _O extends Jt{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let i,r=-1,s=t.length;e=e||t.shift();do{if(i=e.execute(e.state,e.delay))break}while(++r<s&&(e=t.shift()));if(this.active=!1,i){for(;++r<s&&(e=t.shift());)e.unsubscribe();throw i}}}(class mO extends aa{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,i=0){return null!==i&&i>0?super.requestAsyncId(e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=Ky.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(e,t,i);0===e.actions.length&&(Ky.clearImmediate(t),e.scheduled=void 0)}}),new Jt(aa));class wO{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new SO(e,this.predicate,this.thisArg))}}class SO extends Ee{constructor(e,t,i){super(e),this.predicate=t,this.thisArg=i,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(i){return void this.destination.error(i)}t&&this.destination.next(e)}}let nd;try{nd="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){nd=!1}let ys,rd,Tn=(()=>{class n{constructor(t){this._platformId=t,this.isBrowser=this._platformId?function wk(n){return n===Dy}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!nd)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(t){return new(t||n)(v(bu))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function id(n){return function MO(){if(null==ys&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ys=!0}))}finally{ys=ys||!1}return ys}()?n:!!n.capture}function gi(n){return n.composedPath?n.composedPath()[0]:n.target}function sd(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}let ev=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=Ke({}),n})();Object.create(Error.prototype);const zO=new ye(n=>n.complete());class YO{constructor(e){this.notifier=e}call(e,t){const i=new ZO(e),r=Rs(this.notifier,new Os(i));return r&&!i.seenValue?(i.add(r),t.subscribe(i)):i}}class ZO extends Fs{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}let ld=(()=>{class n{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){var t;null===(t=this._containerElement)||void 0===t||t.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||sd()){const r=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let s=0;s<r.length;s++)r[s].remove()}const i=this._document.createElement("div");i.classList.add(t),sd()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}}return n.\u0275fac=function(t){return new(t||n)(v(ae),v(Tn))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const mF=new class gF extends Jt{}(class pF extends aa{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(e,t,i):e.flush(this)}});function yF({error:n,subscriber:e}){e.error(n)}class Vt{constructor(e,t,i){this.kind=e,this.value=t,this.error=i,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,i){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return i&&i()}}accept(e,t,i){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,i)}toObservable(){switch(this.kind){case"N":return ed(this.value);case"E":return function _F(n,e){return new ye(e?t=>e.schedule(yF,0,{error:n,subscriber:t}):t=>t.error(n))}(this.error);case"C":return function tv(n){return n?function GO(n){return new ye(e=>n.schedule(()=>e.complete()))}(n):zO}()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new Vt("N",e):Vt.undefinedValueNotification}static createError(e){return new Vt("E",void 0,e)}static createComplete(){return Vt.completeNotification}}Vt.completeNotification=new Vt("C"),Vt.undefinedValueNotification=new Vt("N",void 0);class ua extends Ee{constructor(e,t,i=0){super(e),this.scheduler=t,this.delay=i}static dispatch(e){const{notification:t,destination:i}=e;t.observe(i),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(ua.dispatch,this.delay,new bF(e,this.destination)))}_next(e){this.scheduleMessage(Vt.createNext(e))}_error(e){this.scheduleMessage(Vt.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(Vt.createComplete()),this.unsubscribe()}}class bF{constructor(e,t){this.notification=e,this.destination=t}}class DF extends We{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),super.next(e)}nextTimeWindow(e){this._events.push(new CF(this._getNow(),e)),this._trimBufferThenGetEvents(),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,i=t?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,s=i.length;let o;if(this.closed)throw new Yn;if(this.isStopped||this.hasError?o=Y.EMPTY:(this.observers.push(e),o=new ph(this,e)),r&&e.add(e=new ua(e,r)),t)for(let a=0;a<s&&!e.closed;a++)e.next(i[a]);else for(let a=0;a<s&&!e.closed;a++)e.next(i[a].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),o}_getNow(){return(this.scheduler||mF).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,i=this._windowTime,r=this._events,s=r.length;let o=0;for(;o<s&&!(e-r[o].time<i);)o++;return s>t&&(o=Math.max(o,s-t)),o>0&&r.splice(0,o),r}}class CF{constructor(e,t){this.time=e,this.value=t}}function dv(n,e){return"function"==typeof e?t=>t.pipe(dv((i,r)=>xs(n(i,r)).pipe(Mi((s,o)=>e(i,s,r,o))))):t=>t.lift(new EF(n))}class EF{constructor(e){this.project=e}call(e,t){return t.subscribe(new wF(e,this.project))}}class wF extends Fs{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const i=this.index++;try{t=this.project(e,i)}catch(r){return void this.destination.error(r)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const i=new Os(this),r=this.destination;r.add(i),this.innerSubscription=Rs(e,i),this.innerSubscription!==i&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;(!e||e.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}const da={schedule(n,e){const t=setTimeout(n,e);return()=>clearTimeout(t)},scheduleBeforeRender(n){if("undefined"==typeof window)return da.schedule(n,0);if(void 0===window.requestAnimationFrame)return da.schedule(n,16);const e=window.requestAnimationFrame(n);return()=>window.cancelAnimationFrame(e)}};let cd;function FF(n,e,t){let i=t;return function MF(n){return!!n&&n.nodeType===Node.ELEMENT_NODE}(n)&&e.some((r,s)=>!("*"===r||!function TF(n,e){if(!cd){const t=Element.prototype;cd=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return n.nodeType===Node.ELEMENT_NODE&&cd.call(n,e)}(n,r)||(i=s,0))),i}class NF{constructor(e,t){this.componentFactory=t.get(oi).resolveComponentFactory(e)}create(e){return new PF(this.componentFactory,e)}}class PF{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new DF(1),this.events=this.eventEmitters.pipe(dv(i=>Wa(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(oe),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=da.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(e){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){this.runInZone(()=>{null!==this.componentRef?function IF(n,e){return n===e||n!=n&&e!=e}(t,this.getInputValue(e))&&(void 0!==t||!this.unchangedInputs.has(e))||(this.recordInputChange(e,t),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=t,this.scheduleDetectChanges()):this.initialInputValues.set(e,t)})}initializeComponent(e){const t=ot.create({providers:[],parent:this.injector}),i=function OF(n,e){const t=n.childNodes,i=e.map(()=>[]);let r=-1;e.some((s,o)=>"*"===s&&(r=o,!0));for(let s=0,o=t.length;s<o;++s){const a=t[s],l=FF(a,e,r);-1!==l&&i[l].push(a)}return i}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,i,e),this.viewChangeDetectorRef=this.componentRef.injector.get(jo),this.implementsOnChanges=function AF(n){return"function"==typeof n}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Bo).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e))}),this.initialInputValues.clear()}initializeOutputs(e){const t=this.componentFactory.outputs.map(({propName:i,templateName:r})=>e.instance[i].pipe(Mi(o=>({name:r,value:o}))));this.eventEmitters.next(t)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=da.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,t){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const i=this.inputChanges[e];if(i)return void(i.currentValue=t);const r=this.unchangedInputs.has(e),s=r?void 0:this.getInputValue(e);this.inputChanges[e]=new Nh(s,t,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class LF extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function ha(n,e){return new ye(t=>{const i=n.length;if(0===i)return void t.complete();const r=new Array(i);let s=0,o=0;for(let a=0;a<i;a++){const l=xs(n[a]);let c=!1;t.add(l.subscribe({next:u=>{c||(c=!0,o++),r[a]=u},error:u=>t.error(u),complete:()=>{s++,(s===i||!c)&&(o===i&&t.next(e?e.reduce((u,d,h)=>(u[d]=r[h],u),{}):r),t.complete())}}))}})}let hv=(()=>{class n{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return n.\u0275fac=function(t){return new(t||n)(b(ai),b(Ze))},n.\u0275dir=N({type:n}),n})(),_i=(()=>{class n extends hv{}return n.\u0275fac=function(){let e;return function(i){return(e||(e=Ue(n)))(i||n)}}(),n.\u0275dir=N({type:n,features:[ee]}),n})();const en=new I("NgValueAccessor"),HF={provide:en,useExisting:re(()=>ud),multi:!0},UF=new I("CompositionEventMode");let ud=(()=>{class n extends hv{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function $F(){const n=mn()?mn().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return n.\u0275fac=function(t){return new(t||n)(b(ai),b(Ze),b(UF,8))},n.\u0275dir=N({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,i){1&t&&Et("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[he([HF]),ee]}),n})();const Qe=new I("NgValidators"),$n=new I("NgAsyncValidators");function Ev(n){return null!=n}function wv(n){const e=Ao(n)?xs(n):n;return Rg(e),e}function Sv(n){let e={};return n.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function Mv(n,e){return e.map(t=>t(n))}function Av(n){return n.map(e=>function GF(n){return!n.validate}(e)?e:t=>e.validate(t))}function dd(n){return null!=n?function Tv(n){if(!n)return null;const e=n.filter(Ev);return 0==e.length?null:function(t){return Sv(Mv(t,e))}}(Av(n)):null}function hd(n){return null!=n?function Iv(n){if(!n)return null;const e=n.filter(Ev);return 0==e.length?null:function(t){return function BF(...n){if(1===n.length){const e=n[0];if(te(e))return ha(e,null);if(Pe(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return ha(t.map(i=>e[i]),t)}}if("function"==typeof n[n.length-1]){const e=n.pop();return ha(n=1===n.length&&te(n[0])?n[0]:n,null).pipe(Mi(t=>e(...t)))}return ha(n,null)}(Mv(t,e).map(wv)).pipe(Mi(Sv))}}(Av(n)):null}function kv(n,e){return null===n?[e]:Array.isArray(n)?[...n,e]:[n,e]}function xv(n){return n._rawValidators}function Ov(n){return n._rawAsyncValidators}function fd(n){return n?Array.isArray(n)?n:[n]:[]}function pa(n,e){return Array.isArray(n)?n.includes(e):n===e}function Fv(n,e){const t=fd(e);return fd(n).forEach(r=>{pa(t,r)||t.push(r)}),t}function Rv(n,e){return fd(e).filter(t=>!pa(n,t))}class Un extends class Nv{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=dd(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=hd(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let Lv=(()=>{class n extends class Pv{constructor(e){this._cd=e}is(e){var t,i,r;return"submitted"===e?!!(null===(t=this._cd)||void 0===t?void 0:t.submitted):!!(null===(r=null===(i=this._cd)||void 0===i?void 0:i.control)||void 0===r?void 0:r[e])}}{constructor(t){super(t)}}return n.\u0275fac=function(t){return new(t||n)(b(Un,2))},n.\u0275dir=N({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,i){2&t&&ri("ng-untouched",i.is("untouched"))("ng-touched",i.is("touched"))("ng-pristine",i.is("pristine"))("ng-dirty",i.is("dirty"))("ng-valid",i.is("valid"))("ng-invalid",i.is("invalid"))("ng-pending",i.is("pending"))},features:[ee]}),n})();function vs(n,e){(function md(n,e){const t=xv(n);null!==e.validator?n.setValidators(kv(t,e.validator)):"function"==typeof t&&n.setValidators([t]);const i=Ov(n);null!==e.asyncValidator?n.setAsyncValidators(kv(i,e.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();ya(e._rawValidators,r),ya(e._rawAsyncValidators,r)})(n,e),e.valueAccessor.writeValue(n.value),function eR(n,e){e.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&Bv(n,e)})}(n,e),function nR(n,e){const t=(i,r)=>{e.valueAccessor.writeValue(i),r&&e.viewToModelUpdate(i)};n.registerOnChange(t),e._registerOnDestroy(()=>{n._unregisterOnChange(t)})}(n,e),function tR(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&Bv(n,e),"submit"!==n.updateOn&&n.markAsTouched()})}(n,e),function JF(n,e){if(e.valueAccessor.setDisabledState){const t=i=>{e.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(t),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}(n,e)}function _a(n,e,t=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),function va(n,e){let t=!1;if(null!==n){if(null!==e.validator){const r=xv(n);if(Array.isArray(r)&&r.length>0){const s=r.filter(o=>o!==e.validator);s.length!==r.length&&(t=!0,n.setValidators(s))}}if(null!==e.asyncValidator){const r=Ov(n);if(Array.isArray(r)&&r.length>0){const s=r.filter(o=>o!==e.asyncValidator);s.length!==r.length&&(t=!0,n.setAsyncValidators(s))}}}const i=()=>{};return ya(e._rawValidators,i),ya(e._rawAsyncValidators,i),t}(n,e),n&&(e._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function ya(n,e){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Bv(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function vd(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}const bs="VALID",ba="INVALID",mr="PENDING",Ds="DISABLED";function Dd(n){return(Da(n)?n.validators:n)||null}function Uv(n){return Array.isArray(n)?dd(n):n||null}function Cd(n,e){return(Da(e)?e.asyncValidators:n)||null}function zv(n){return Array.isArray(n)?hd(n):n||null}function Da(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const Ed=n=>n instanceof Md;function Wv(n){return(n=>n instanceof Sd)(n)?n.value:n.getRawValue()}function qv(n,e){const t=Ed(n),i=n.controls;if(!(t?Object.keys(i):i).length)throw new S(1e3,"");if(!i[e])throw new S(1001,"")}function Kv(n,e){Ed(n),n._forEachChild((i,r)=>{if(void 0===e[r])throw new S(1002,"")})}class wd{constructor(e,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=Uv(this._rawValidators),this._composedAsyncValidatorFn=zv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===bs}get invalid(){return this.status===ba}get pending(){return this.status==mr}get disabled(){return this.status===Ds}get enabled(){return this.status!==Ds}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=Uv(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=zv(e)}addValidators(e){this.setValidators(Fv(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Fv(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Rv(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Rv(e,this._rawAsyncValidators))}hasValidator(e){return pa(this._rawValidators,e)}hasAsyncValidator(e){return pa(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=mr,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=Ds,this.errors=null,this._forEachChild(i=>{i.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=bs,this._forEachChild(i=>{i.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===bs||this.status===mr)&&this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ds:bs}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=mr,this._hasOwnPendingAsyncValidator=!0;const t=wv(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function oR(n,e,t){if(null==e||(Array.isArray(e)||(e=e.split(t)),Array.isArray(e)&&0===e.length))return null;let i=n;return e.forEach(r=>{i=Ed(i)?i.controls.hasOwnProperty(r)?i.controls[r]:null:(n=>n instanceof lR)(i)&&i.at(r)||null}),i}(this,e,".")}getError(e,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new Te,this.statusChanges=new Te}_calculateStatus(){return this._allControlsDisabled()?Ds:this.errors?ba:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(mr)?mr:this._anyControlsHaveStatus(ba)?ba:bs}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Da(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Sd extends wd{constructor(e=null,t,i){super(Dd(t),Cd(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Da(t)&&t.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(e)?e.value:e)}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){vd(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){vd(this._onDisabledChange,e)}_forEachChild(e){}_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(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class Md extends wd{constructor(e,t,i){super(Dd(t),Cd(i,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,i={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){Kv(this,e),Object.keys(e).forEach(i=>{qv(this,i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(i=>{this.controls[i]&&this.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((i,r)=>{i.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,i)=>(e[i]=Wv(t),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&e(i,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const i=this.controls[t];if(this.contains(t)&&e(i))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,i)=>((t.enabled||this.disabled)&&(e[i]=t.value),e))}_reduceChildren(e,t){let i=e;return this._forEachChild((r,s)=>{i=t(i,r,s)}),i}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class lR extends wd{constructor(e,t,i){super(Dd(t),Cd(i,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[e]}push(e,t={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,i={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){Kv(this,e),e.forEach((i,r)=>{qv(this,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((i,r)=>{i.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>Wv(e))}clear(e={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_syncPendingControls(){let e=this.controls.reduce((t,i)=>!!i._syncPendingControls()||t,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((t,i)=>{e(t,i)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}let eb=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=Ke({}),n})();const Td=new I("NgModelWithFormControlWarning"),_R={provide:Un,useExisting:re(()=>Id)};let Id=(()=>{class n extends Un{constructor(t,i,r,s){super(),this._ngModelWarningConfig=s,this.update=new Te,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(i),this.valueAccessor=function yd(n,e){if(!e)return null;let t,i,r;return Array.isArray(e),e.forEach(s=>{s.constructor===ud?t=s:function sR(n){return Object.getPrototypeOf(n.constructor)===_i}(s)?i=s:r=s}),r||i||t||null}(0,r)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const i=t.form.previousValue;i&&_a(i,this,!1),vs(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}(function _d(n,e){if(!n.hasOwnProperty("model"))return!1;const t=n.model;return!!t.isFirstChange()||!Object.is(e,t.currentValue)})(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&_a(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(t){return new(t||n)(b(Qe,10),b($n,10),b(en,10),b(Td,8))},n.\u0275dir=N({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[he([_R]),ee,rn]}),n})(),gb=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=Ke({imports:[[eb]]}),n})(),LR=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=Ke({imports:[gb]}),n})(),VR=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:Td,useValue:t.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=Ke({imports:[gb]}),n})();class BR extends We{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Yn;return this._value}next(e){super.next(this._value=e)}}class WR{constructor(e){this.total=e}call(e,t){return t.subscribe(new qR(e,this.total))}}class qR extends Ee{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}class YR{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new ZR(e,this.compare,this.keySelector))}}class ZR extends Ee{constructor(e,t,i){super(e),this.keySelector=i,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:r}=this;t=r?r(e):e}catch(r){return this.destination.error(r)}let i=!1;if(this.hasKey)try{const{compare:r}=this;i=r(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=t,this.destination.next(e))}}function bb(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function Db(n){const e=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}const rN=new I("cdk-input-modality-detector-options"),sN={ignoreKeys:[18,17,224,91,16]},_r=id({passive:!0,capture:!0});let oN=(()=>{class n{constructor(t,i,r,s){this._platform=t,this._mostRecentTarget=null,this._modality=new BR(null),this._lastTouchMs=0,this._onKeydown=o=>{var a,l;(null===(l=null===(a=this._options)||void 0===a?void 0:a.ignoreKeys)||void 0===l?void 0:l.some(c=>c===o.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=gi(o))},this._onMousedown=o=>{Date.now()-this._lastTouchMs<650||(this._modality.next(bb(o)?"keyboard":"mouse"),this._mostRecentTarget=gi(o))},this._onTouchstart=o=>{Db(o)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=gi(o))},this._options=Object.assign(Object.assign({},sN),s),this.modalityDetected=this._modality.pipe(function GR(n){return e=>e.lift(new WR(n))}(1)),this.modalityChanged=this.modalityDetected.pipe(function KR(n,e){return t=>t.lift(new YR(n,e))}()),t.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,_r),r.addEventListener("mousedown",this._onMousedown,_r),r.addEventListener("touchstart",this._onTouchstart,_r)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,_r),document.removeEventListener("mousedown",this._onMousedown,_r),document.removeEventListener("touchstart",this._onTouchstart,_r))}}return n.\u0275fac=function(t){return new(t||n)(v(Tn),v(oe),v(ae),v(rN,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const lN=new I("cdk-focus-monitor-default-options"),Ca=id({passive:!0,capture:!0});let cN=(()=>{class n{constructor(t,i,r,s,o){this._ngZone=t,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new We,this._rootNodeFocusAndBlurListener=a=>{const l=gi(a),c="focus"===a.type?this._onFocus:this._onBlur;for(let u=l;u;u=u.parentElement)c.call(this,a,u)},this._document=s,this._detectionMode=(null==o?void 0:o.detectionMode)||0}monitor(t,i=!1){const r=fi(t);if(!this._platform.isBrowser||1!==r.nodeType)return ed(null);const s=function IO(n){if(function TO(){if(null==rd){const n="undefined"!=typeof document?document.head:null;rd=!(!n||!n.createShadowRoot&&!n.attachShadow)}return rd}()){const e=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}(r)||this._getDocument(),o=this._elementInfo.get(r);if(o)return i&&(o.checkChildren=!0),o.subject;const a={checkChildren:i,subject:new We,rootNode:s};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){const i=fi(t),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(t,i,r){const s=fi(t);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof s.focus&&s.focus(r))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(t){return 1===this._detectionMode||!!(null==t?void 0:t.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused","touch"===i),t.classList.toggle("cdk-keyboard-focused","keyboard"===i),t.classList.toggle("cdk-mouse-focused","mouse"===i),t.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,i){const r=this._elementInfo.get(i),s=gi(t);!r||!r.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),r)}_onBlur(t,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(r.subject,null))}_emitOrigin(t,i){this._ngZone.run(()=>t.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const i=t.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ca),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ca)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(function nv(n){return e=>e.lift(new YO(n))}(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(t){const i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ca),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ca),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,r){this._setClasses(t,i),this._emitOrigin(r.subject,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){const i=[];return this._elementInfo.forEach((r,s)=>{(s===t||r.checkChildren&&s.contains(t))&&i.push([s,r])}),i}}return n.\u0275fac=function(t){return new(t||n)(v(oe),v(Tn),v(oN),v(ae,8),v(lN,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Eb="cdk-high-contrast-black-on-white",wb="cdk-high-contrast-white-on-black",Ld="cdk-high-contrast-active";let uN=(()=>{class n{constructor(t,i){this._platform=t,this._document=i}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(t):null,s=(r&&r.backgroundColor||"").replace(/ /g,"");switch(t.remove(),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(Ld),t.remove(Eb),t.remove(wb),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?(t.add(Ld),t.add(Eb)):2===i&&(t.add(Ld),t.add(wb))}}}return n.\u0275fac=function(t){return new(t||n)(v(Tn),v(ae))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Sb{}const In="*";function Mb(n,e=null){return{type:2,steps:n,options:e}}function Ab(n){return{type:6,styles:n,offset:null}}function Tb(n){Promise.resolve(null).then(n)}class Es{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(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(){Tb(()=>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}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class Ib{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,i=0,r=0;const s=this.players.length;0==s?Tb(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++t==s&&this._onFinish()}),o.onDestroy(()=>{++i==s&&this._onDestroy()}),o.onStart(()=>{++r==s&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,a.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 t=e*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const e=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}const q=!1;function kb(n){return new S(3e3,q)}function GN(){return"undefined"!=typeof window&&void 0!==window.document}function Bd(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function zn(n){switch(n.length){case 0:return new Es;case 1:return n[0];default:return new Ib(n)}}function xb(n,e,t,i,r={},s={}){const o=[],a=[];let l=-1,c=null;if(i.forEach(u=>{const d=u.offset,h=d==l,f=h&&c||{};Object.keys(u).forEach(p=>{let g=p,_=u[p];if("offset"!==p)switch(g=e.normalizePropertyName(g,o),_){case"!":_=r[p];break;case In:_=s[p];break;default:_=e.normalizeStyleValue(p,g,_,o)}f[g]=_}),h||a.push(f),c=f,l=d}),o.length)throw function RN(n){return new S(3502,q)}();return a}function jd(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&Hd(t,"start",n)));break;case"done":n.onDone(()=>i(t&&Hd(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&Hd(t,"destroy",n)))}}function Hd(n,e,t){const i=t.totalTime,s=$d(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,null==i?n.totalTime:i,!!t.disabled),o=n._data;return null!=o&&(s._data=o),s}function $d(n,e,t,i,r="",s=0,o){return{element:n,triggerName:e,fromState:t,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function wt(n,e,t){let i;return n instanceof Map?(i=n.get(e),i||n.set(e,i=t)):(i=n[e],i||(i=n[e]=t)),i}function Ob(n){const e=n.indexOf(":");return[n.substring(1,e),n.substr(e+1)]}let Ud=(n,e)=>!1,Fb=(n,e,t)=>[],Rb=null;function zd(n){const e=n.parentNode||n.host;return e===Rb?null:e}(Bd()||"undefined"!=typeof Element)&&(GN()?(Rb=(()=>document.documentElement)(),Ud=(n,e)=>{for(;e;){if(e===n)return!0;e=zd(e)}return!1}):Ud=(n,e)=>n.contains(e),Fb=(n,e,t)=>{if(t)return Array.from(n.querySelectorAll(e));const i=n.querySelector(e);return i?[i]:[]});let vi=null,Nb=!1;function Pb(n){vi||(vi=function qN(){return"undefined"!=typeof document?document.body:null}()||{},Nb=!!vi.style&&"WebkitAppearance"in vi.style);let e=!0;return vi.style&&!function WN(n){return"ebkit"==n.substring(1,6)}(n)&&(e=n in vi.style,!e&&Nb&&(e="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in vi.style)),e}const Lb=Ud,Vb=Fb;let Bb=(()=>{class n{validateStyleProperty(t){return Pb(t)}matchesElement(t,i){return!1}containsElement(t,i){return Lb(t,i)}getParentElement(t){return zd(t)}query(t,i,r){return Vb(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,s,o,a=[],l){return new Es(r,s)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),Gd=(()=>{class n{}return n.NOOP=new Bb,n})();const Wd="ng-enter",wa="ng-leave",Sa="ng-trigger",Ma=".ng-trigger",Hb="ng-animating",qd=".ng-animating";function bi(n){if("number"==typeof n)return n;const e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Kd(parseFloat(e[1]),e[2])}function Kd(n,e){return"s"===e?1e3*n:n}function Aa(n,e,t){return n.hasOwnProperty("duration")?n:function ZN(n,e,t){let r,s=0,o="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push(kb()),{duration:0,delay:0,easing:""};r=Kd(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(s=Kd(parseFloat(l),a[4]));const c=a[5];c&&(o=c)}else r=n;if(!t){let a=!1,l=e.length;r<0&&(e.push(function hN(){return new S(3100,q)}()),a=!0),s<0&&(e.push(function fN(){return new S(3101,q)}()),a=!0),a&&e.splice(l,0,kb())}return{duration:r,delay:s,easing:o}}(n,e,t)}function yr(n,e={}){return Object.keys(n).forEach(t=>{e[t]=n[t]}),e}function Gn(n,e,t={}){if(e)for(let i in n)t[i]=n[i];else yr(n,t);return t}function Ub(n,e,t){return t?e+":"+t+";":""}function zb(n){let e="";for(let t=0;t<n.style.length;t++){const i=n.style.item(t);e+=Ub(0,i,n.style.getPropertyValue(i))}for(const t in n.style)n.style.hasOwnProperty(t)&&!t.startsWith("_")&&(e+=Ub(0,JN(t),n.style[t]));n.setAttribute("style",e)}function _n(n,e,t){n.style&&(Object.keys(e).forEach(i=>{const r=Zd(i);t&&!t.hasOwnProperty(i)&&(t[i]=n.style[r]),n.style[r]=e[i]}),Bd()&&zb(n))}function Di(n,e){n.style&&(Object.keys(e).forEach(t=>{const i=Zd(t);n.style[i]=""}),Bd()&&zb(n))}function ws(n){return Array.isArray(n)?1==n.length?n[0]:Mb(n):n}const Yd=new RegExp("{{\\s*(.+?)\\s*}}","g");function Gb(n){let e=[];if("string"==typeof n){let t;for(;t=Yd.exec(n);)e.push(t[1]);Yd.lastIndex=0}return e}function Ta(n,e,t){const i=n.toString(),r=i.replace(Yd,(s,o)=>{let a=e[o];return e.hasOwnProperty(o)||(t.push(function gN(n){return new S(3003,q)}()),a=""),a.toString()});return r==i?n:r}function Ia(n){const e=[];let t=n.next();for(;!t.done;)e.push(t.value),t=n.next();return e}const XN=/-+([a-z0-9])/g;function Zd(n){return n.replace(XN,(...e)=>e[1].toUpperCase())}function JN(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function St(n,e,t){switch(e.type){case 7:return n.visitTrigger(e,t);case 0:return n.visitState(e,t);case 1:return n.visitTransition(e,t);case 2:return n.visitSequence(e,t);case 3:return n.visitGroup(e,t);case 4:return n.visitAnimate(e,t);case 5:return n.visitKeyframes(e,t);case 6:return n.visitStyle(e,t);case 8:return n.visitReference(e,t);case 9:return n.visitAnimateChild(e,t);case 10:return n.visitAnimateRef(e,t);case 11:return n.visitQuery(e,t);case 12:return n.visitStagger(e,t);default:throw function mN(n){return new S(3004,q)}()}}function Wb(n,e){return window.getComputedStyle(n)[e]}function sP(n,e){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function oP(n,e,t){if(":"==n[0]){const l=function aP(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i)<parseFloat(t);default:return e.push(function kN(n){return new S(3016,q)}()),"* => *"}}(n,t);if("function"==typeof l)return void e.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function IN(n){return new S(3015,q)}()),e;const r=i[1],s=i[2],o=i[3];e.push(qb(r,o));"<"==s[0]&&!("*"==r&&"*"==o)&&e.push(qb(o,r))}(i,t,e)):t.push(n),t}const Fa=new Set(["true","1"]),Ra=new Set(["false","0"]);function qb(n,e){const t=Fa.has(n)||Ra.has(n),i=Fa.has(e)||Ra.has(e);return(r,s)=>{let o="*"==n||n==r,a="*"==e||e==s;return!o&&t&&"boolean"==typeof r&&(o=r?Fa.has(n):Ra.has(n)),!a&&i&&"boolean"==typeof s&&(a=s?Fa.has(e):Ra.has(e)),o&&a}}const lP=new RegExp("s*:selfs*,?","g");function Qd(n,e,t,i){return new cP(n).build(e,t,i)}class cP{constructor(e){this._driver=e}build(e,t,i){const r=new hP(t);this._resetContextStyleTimingState(r);const s=St(this,ws(e),r);return r.unsupportedCSSPropertiesFound.size&&r.unsupportedCSSPropertiesFound.keys(),s}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,r=t.depCount=0;const s=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push(function yN(){return new S(3006,q)}()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,s.push(this.visitState(l,t))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,o.push(l)}else t.errors.push(function vN(){return new S(3007,q)}())}),{type:7,name:e.name,states:s,transitions:o,queryCount:i,depCount:r,options:null}}visitState(e,t){const i=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(i.containsDynamicStyles){const s=new Set,o=r||{};i.styles.forEach(a=>{if(Na(a)){const l=a;Object.keys(l).forEach(c=>{Gb(l[c]).forEach(u=>{o.hasOwnProperty(u)||s.add(u)})})}}),s.size&&(Ia(s.values()),t.errors.push(function bN(n,e){return new S(3008,q)}()))}return{type:0,name:e.name,style:i,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const i=St(this,ws(e.animation),t);return{type:1,matchers:sP(e.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:Ci(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(i=>St(this,i,t)),options:Ci(e.options)}}visitGroup(e,t){const i=t.currentTime;let r=0;const s=e.steps.map(o=>{t.currentTime=i;const a=St(this,o,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:3,steps:s,options:Ci(e.options)}}visitAnimate(e,t){const i=function pP(n,e){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return Xd(Aa(n,e).duration,0,"");const t=n;if(t.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=Xd(0,0,"");return s.dynamic=!0,s.strValue=t,s}const r=Aa(t,e);return Xd(r.duration,r.delay,r.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;let r,s=e.styles?e.styles:Ab({});if(5==s.type)r=this.visitKeyframes(s,t);else{let o=e.styles,a=!1;if(!o){a=!0;const c={};i.easing&&(c.easing=i.easing),o=Ab(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(o,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(e,t){const i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){const i=[];Array.isArray(e.styles)?e.styles.forEach(o=>{"string"==typeof o?o==In?i.push(o):t.errors.push(function DN(n){return new S(3002,q)}()):i.push(o)}):i.push(e.styles);let r=!1,s=null;return i.forEach(o=>{if(Na(o)){const a=o,l=a.easing;if(l&&(s=l,delete a.easing),!r)for(let c in a)if(a[c].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:i,easing:s,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const i=t.currentAnimateTimings;let r=t.currentTime,s=t.currentTime;i&&s>0&&(s-=i.duration+i.delay),e.styles.forEach(o=>{"string"!=typeof o&&Object.keys(o).forEach(a=>{if(!this._driver.validateStyleProperty(a))return delete o[a],void t.unsupportedCSSPropertiesFound.add(a);const l=t.collectedStyles[t.currentQuerySelector],c=l[a];let u=!0;c&&(s!=r&&s>=c.startTime&&r<=c.endTime&&(t.errors.push(function CN(n,e,t,i,r){return new S(3010,q)}()),u=!1),s=c.startTime),u&&(l[a]={startTime:s,endTime:r}),t.options&&function QN(n,e,t){const i=e.params||{},r=Gb(n);r.length&&r.forEach(s=>{i.hasOwnProperty(s)||t.push(function pN(n){return new S(3001,q)}())})}(o[a],t.options,t.errors)})})}visitKeyframes(e,t){const i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function EN(){return new S(3011,q)}()),i;let s=0;const o=[];let a=!1,l=!1,c=0;const u=e.steps.map(D=>{const m=this._makeStyleAst(D,t);let C=null!=m.offset?m.offset:function fP(n){if("string"==typeof n)return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(Na(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}});else if(Na(n)&&n.hasOwnProperty("offset")){const t=n;e=parseFloat(t.offset),delete t.offset}return e}(m.styles),T=0;return null!=C&&(s++,T=m.offset=C),l=l||T<0||T>1,a=a||T<c,c=T,o.push(T),m});l&&t.errors.push(function wN(){return new S(3012,q)}()),a&&t.errors.push(function SN(){return new S(3200,q)}());const d=e.steps.length;let h=0;s>0&&s<d?t.errors.push(function MN(){return new S(3202,q)}()):0==s&&(h=1/(d-1));const f=d-1,p=t.currentTime,g=t.currentAnimateTimings,_=g.duration;return u.forEach((D,m)=>{const C=h>0?m==f?1:h*m:o[m],T=C*_;t.currentTime=p+g.delay+T,g.duration=T,this._validateStyleAst(D,t),D.offset=C,i.styles.push(D)}),i}visitReference(e,t){return{type:8,animation:St(this,ws(e.animation),t),options:Ci(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:Ci(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:Ci(e.options)}}visitQuery(e,t){const i=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[s,o]=function uP(n){const e=!!n.split(/\s*,\s*/).find(t=>":self"==t);return e&&(n=n.replace(lP,"")),n=n.replace(/@\*/g,Ma).replace(/@\w+/g,t=>Ma+"-"+t.substr(1)).replace(/:animating/g,qd),[n,e]}(e.selector);t.currentQuerySelector=i.length?i+" "+s:s,wt(t.collectedStyles,t.currentQuerySelector,{});const a=St(this,ws(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:11,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:Ci(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function AN(){return new S(3013,q)}());const i="full"===e.timings?{duration:0,delay:0,easing:"full"}:Aa(e.timings,t.errors,!0);return{type:12,animation:St(this,ws(e.animation),t),timings:i,options:null}}}class hP{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Na(n){return!Array.isArray(n)&&"object"==typeof n}function Ci(n){return n?(n=yr(n)).params&&(n.params=function dP(n){return n?yr(n):null}(n.params)):n={},n}function Xd(n,e,t){return{duration:n,delay:e,easing:t}}function Jd(n,e,t,i,r,s,o=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}class Pa{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const _P=new RegExp(":enter","g"),vP=new RegExp(":leave","g");function eh(n,e,t,i,r,s={},o={},a,l,c=[]){return(new bP).buildKeyframes(n,e,t,i,r,s,o,a,l,c)}class bP{buildKeyframes(e,t,i,r,s,o,a,l,c,u=[]){c=c||new Pa;const d=new th(e,t,c,r,s,u,[]);d.options=l,d.currentTimeline.setStyles([o],null,d.errors,l),St(this,i,d);const h=d.timelines.filter(f=>f.containsAnimation());if(Object.keys(a).length){let f;for(let p=h.length-1;p>=0;p--){const g=h[p];if(g.element===t){f=g;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([a],null,d.errors,l)}return h.length?h.map(f=>f.buildKeyframes()):[Jd(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(e.options),s=t.currentTimeline.currentTime,o=this._visitSubInstructions(i,r,r.options);s!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){const i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,i){let s=t.currentTimeline.currentTime;const o=null!=i.duration?bi(i.duration):null,a=null!=i.delay?bi(i.delay):null;return 0!==o&&e.forEach(l=>{const c=t.appendInstructionToTimeline(l,o,a);s=Math.max(s,c.duration+c.delay)}),s}visitReference(e,t){t.updateOptions(e.options,!0),St(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const i=t.subContextCount;let r=t;const s=e.options;if(s&&(s.params||s.delay)&&(r=t.createSubContext(s),r.transformIntoNewTimeline(),null!=s.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=La);const o=bi(s.delay);r.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>St(this,o,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const i=[];let r=t.currentTimeline.currentTime;const s=e.options&&e.options.delay?bi(e.options.delay):0;e.steps.forEach(o=>{const a=t.createSubContext(e.options);s&&a.delayNextStep(s),St(this,o,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const i=e.strValue;return Aa(t.params?Ta(i,t.params,t.errors):i,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const i=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const s=e.style;5==s.type?this.visitKeyframes(s,t):(t.incrementTime(i.duration),this.visitStyle(s,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.getCurrentStyleProperties().length&&i.forwardFrame();const s=r&&r.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(s):i.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,s=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,e.styles.forEach(l=>{a.forwardTime((l.offset||0)*s),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+s),t.previousNode=e}visitQuery(e,t){const i=t.currentTimeline.currentTime,r=e.options||{},s=r.delay?bi(r.delay):0;s&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=La);let o=i;const a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{t.currentQueryIndex=u;const d=t.createSubContext(e.options,c);s&&d.delayNextStep(s),c===t.element&&(l=d.currentTimeline),St(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,d.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const i=t.parentContext,r=t.currentTimeline,s=e.timings,o=Math.abs(s.duration),a=o*(t.currentQueryTotal-1);let l=o*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const u=t.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;St(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=r.currentTime-d+(r.startTime-i.currentTimeline.startTime)}}const La={};class th{constructor(e,t,i,r,s,o,a,l){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=La,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Va(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const i=e;let r=this.options;null!=i.duration&&(r.duration=bi(i.duration)),null!=i.delay&&(r.delay=bi(i.delay));const s=i.params;if(s){let o=r.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!t||!o.hasOwnProperty(a))&&(o[a]=Ta(s[a],o,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const i=e.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return e}createSubContext(e=null,t,i){const r=t||this.element,s=new th(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=La,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){const r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+e.delay,easing:""},s=new DP(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,r,s,o){let a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace(_P,"."+this._enterClassName)).replace(vP,"."+this._leaveClassName);let c=this._driver.query(this.element,e,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!s&&0==a.length&&o.push(function TN(n){return new S(3014,q)}()),a}}class Va{constructor(e,t,i,r){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new Va(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||In,this._currentKeyframe[t]=In}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,r){t&&(this._previousKeyframe.easing=t);const s=r&&r.params||{},o=function CP(n,e){const t={};let i;return n.forEach(r=>{"*"===r?(i=i||Object.keys(e),i.forEach(s=>{t[s]=In})):Gn(r,!1,t)}),t}(e,this._globalTimelineStyles);Object.keys(o).forEach(a=>{const l=Ta(o[a],s,i);this._pendingStyles[a]=l,this._localTimelineStyles.hasOwnProperty(a)||(this._backFill[a]=this._globalTimelineStyles.hasOwnProperty(a)?this._globalTimelineStyles[a]:In),this._updateStyle(a,l)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(i=>{this._currentKeyframe[i]=e[i]}),Object.keys(this._localTimelineStyles).forEach(i=>{this._currentKeyframe.hasOwnProperty(i)||(this._currentKeyframe[i]=this._localTimelineStyles[i])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const i=this._styleSummary[t],r=e._styleSummary[t];(!i||r.time>i.time)&&this._updateStyle(t,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=Gn(a,!0);Object.keys(c).forEach(u=>{const d=c[u];"!"==d?e.add(u):d==In&&t.add(u)}),i||(c.offset=l/this.duration),r.push(c)});const s=e.size?Ia(e.values()):[],o=t.size?Ia(t.values()):[];if(i){const a=r[0],l=yr(a);a.offset=0,l.offset=1,r=[a,l]}return Jd(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}}class DP extends Va{constructor(e,t,i,r,s,o,a=!1){super(e,t,o.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const s=[],o=i+t,a=t/o,l=Gn(e[0],!1);l.offset=0,s.push(l);const c=Gn(e[0],!1);c.offset=Zb(a),s.push(c);const u=e.length-1;for(let d=1;d<=u;d++){let h=Gn(e[d],!1);h.offset=Zb((t+h.offset*i)/o),s.push(h)}i=o,t=0,r="",e=s}return Jd(this.element,e,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function Zb(n,e=3){const t=Math.pow(10,e-1);return Math.round(n*t)/t}class nh{}class EP extends nh{normalizePropertyName(e,t){return Zd(e)}normalizeStyleValue(e,t,i,r){let s="";const o=i.toString().trim();if(wP[t]&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function _N(n,e){return new S(3005,q)}())}return o+s}}const wP=(()=>function SP(n){const e={};return n.forEach(t=>e[t]=!0),e}("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".split(",")))();function Qb(n,e,t,i,r,s,o,a,l,c,u,d,h){return{type:0,element:n,triggerName:e,isRemovalTransition:r,fromState:t,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const ih={};class Xb{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,r){return function MP(n,e,t,i,r){return n.some(s=>s(e,t,i,r))}(this.ast.matchers,e,t,i,r)}buildStyles(e,t,i){const r=this._stateStyles["*"],s=this._stateStyles[e],o=r?r.buildStyles(t,i):{};return s?s.buildStyles(t,i):o}build(e,t,i,r,s,o,a,l,c,u){const d=[],h=this.ast.options&&this.ast.options.params||ih,p=this.buildStyles(i,a&&a.params||ih,d),g=l&&l.params||ih,_=this.buildStyles(r,g,d),D=new Set,m=new Map,C=new Map,T="void"===r,z={params:Object.assign(Object.assign({},h),g)},ge=u?[]:eh(e,t,this.ast.animation,s,o,p,_,z,c,d);let De=0;if(ge.forEach(At=>{De=Math.max(At.duration+At.delay,De)}),d.length)return Qb(t,this._triggerName,i,r,T,p,_,[],[],m,C,De,d);ge.forEach(At=>{const Tt=At.element,br=wt(m,Tt,{});At.preStyleProps.forEach(tn=>br[tn]=!0);const kn=wt(C,Tt,{});At.postStyleProps.forEach(tn=>kn[tn]=!0),Tt!==t&&D.add(Tt)});const Mt=Ia(D.values());return Qb(t,this._triggerName,i,r,T,p,_,ge,Mt,m,C,De)}}class AP{constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){const i={},r=yr(this.defaultParams);return Object.keys(e).forEach(s=>{const o=e[s];null!=o&&(r[s]=o)}),this.styles.styles.forEach(s=>{if("string"!=typeof s){const o=s;Object.keys(o).forEach(a=>{let l=o[a];l.length>1&&(l=Ta(l,r,t));const c=this.normalizer.normalizePropertyName(a,t);l=this.normalizer.normalizeStyleValue(a,c,l,t),i[c]=l})}}),i}}class IP{constructor(e,t,i){this.name=e,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states={},t.states.forEach(r=>{this.states[r.name]=new AP(r.style,r.options&&r.options.params||{},i)}),Jb(this.states,"true","1"),Jb(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new Xb(e,r,this.states))}),this.fallbackTransition=function kP(n,e,t){return new Xb(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(o,a)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,r){return this.transitionFactories.find(o=>o.match(e,t,i,r))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}}function Jb(n,e,t){n.hasOwnProperty(e)?n.hasOwnProperty(t)||(n[t]=n[e]):n.hasOwnProperty(t)&&(n[e]=n[t])}const xP=new Pa;class OP{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(e,t){const i=[],s=Qd(this._driver,t,i,[]);if(i.length)throw function NN(n){return new S(3503,q)}();this._animations[e]=s}_buildPlayer(e,t,i){const r=e.element,s=xb(0,this._normalizer,0,e.keyframes,t,i);return this._driver.animate(r,s,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){const r=[],s=this._animations[e];let o;const a=new Map;if(s?(o=eh(this._driver,t,s,Wd,wa,{},{},i,xP,r),o.forEach(u=>{const d=wt(a,u.element,{});u.postStyleProps.forEach(h=>d[h]=null)})):(r.push(function PN(){return new S(3300,q)}()),o=[]),r.length)throw function LN(n){return new S(3504,q)}();a.forEach((u,d)=>{Object.keys(u).forEach(h=>{u[h]=this._driver.computeStyle(d,h,In)})});const c=zn(o.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,{},d)}));return this._playersById[e]=c,c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw function VN(n){return new S(3301,q)}();return t}listen(e,t,i,r){const s=$d(t,"","","");return jd(this._getPlayer(e),i,s,r),()=>{}}command(e,t,i,r){if("register"==i)return void this.register(e,r[0]);if("create"==i)return void this.create(e,t,r[0]||{});const s=this._getPlayer(e);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const eD="ng-animate-queued",rh="ng-animate-disabled",LP=[],tD={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},VP={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Bt="__ng_removed";class sh{constructor(e,t=""){this.namespaceId=t;const i=e&&e.hasOwnProperty("value");if(this.value=function $P(n){return null!=n?n:null}(i?e.value:e),i){const s=yr(e);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const i=this.options.params;Object.keys(t).forEach(r=>{null==i[r]&&(i[r]=t[r])})}}}const Ss="void",oh=new sh(Ss);class BP{constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,jt(t,this._hostClassName)}listen(e,t,i,r){if(!this._triggers.hasOwnProperty(t))throw function BN(n,e){return new S(3302,q)}();if(null==i||0==i.length)throw function jN(n){return new S(3303,q)}();if(!function UP(n){return"start"==n||"done"==n}(i))throw function HN(n,e){return new S(3400,q)}();const s=wt(this._elementListeners,e,[]),o={name:t,phase:i,callback:r};s.push(o);const a=wt(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(jt(e,Sa),jt(e,Sa+"-"+t),a[t]=oh),()=>{this._engine.afterFlush(()=>{const l=s.indexOf(o);l>=0&&s.splice(l,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw function $N(n){return new S(3401,q)}();return t}trigger(e,t,i,r=!0){const s=this._getTrigger(t),o=new ah(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(jt(e,Sa),jt(e,Sa+"-"+t),this._engine.statesByElement.set(e,a={}));let l=a[t];const c=new sh(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a[t]=c,l||(l=oh),c.value!==Ss&&l.value===c.value){if(!function WP(n,e){const t=Object.keys(n),i=Object.keys(e);if(t.length!=i.length)return!1;for(let r=0;r<t.length;r++){const s=t[r];if(!e.hasOwnProperty(s)||n[s]!==e[s])return!1}return!0}(l.params,c.params)){const g=[],_=s.matchStyles(l.value,l.params,g),D=s.matchStyles(c.value,c.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{Di(e,_),_n(e,D)})}return}const h=wt(this._engine.playersByElement,e,[]);h.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let f=s.matchTransition(l.value,c.value,e,c.params),p=!1;if(!f){if(!r)return;f=s.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:f,fromState:l,toState:c,player:o,isFallbackTransition:p}),p||(jt(e,eD),o.onStart(()=>{vr(e,eD)})),o.onDone(()=>{let g=this.players.indexOf(o);g>=0&&this.players.splice(g,1);const _=this._engine.playersByElement.get(e);if(_){let D=_.indexOf(o);D>=0&&_.splice(D,1)}}),this.players.push(o),h.push(o),o}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,i)=>{delete t[e]}),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const i=this._engine.driver.query(e,Ma,!0);i.forEach(r=>{if(r[Bt])return;const s=this._engine.fetchNamespacesByElement(r);s.size?s.forEach(o=>o.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,t,i,r){const s=this._engine.statesByElement.get(e),o=new Map;if(s){const a=[];if(Object.keys(s).forEach(l=>{if(o.set(l,s[l].value),this._triggers[l]){const c=this.trigger(e,l,Ss,r);c&&a.push(c)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),i&&zn(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){const r=new Set;t.forEach(s=>{const o=s.name;if(r.has(o))return;r.add(o);const l=this._triggers[o].fallbackTransition,c=i[o]||oh,u=new sh(Ss),d=new ah(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,t){const i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(i.totalAnimations){const s=i.players.length?i.playersByQueriedElement.get(e):[];if(s&&s.length)r=!0;else{let o=e;for(;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,t);else{const s=e[Bt];(!s||s===tD)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){jt(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const s=i.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==i.triggerName){const l=$d(s,i.triggerName,i.fromState.value,i.toState.value);l._data=e,jd(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const s=i.transition.ast.depCount,o=r.transition.ast.depCount;return 0==s||0==o?s-o:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(i=>i.element===e)||t,t}}class jP{constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,s)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){const i=new BP(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){const i=this._namespaceList,r=this.namespacesByHostElement,s=i.length-1;if(s>=0){let o=!1;if(void 0!==this.driver.getParentElement){let a=this.driver.getParentElement(t);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}}else for(let a=s;a>=0;a--)if(this.driver.containsElement(i[a].hostElement,t)){i.splice(a+1,0,e),o=!0;break}o||i.unshift(e)}else i.push(e);return r.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let r=this._namespaceLookup[e];r&&r.register(t,i)&&this.totalAnimations++}destroy(e,t){if(!e)return;const i=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[e];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,i=this.statesByElement.get(e);if(i){const r=Object.keys(i);for(let s=0;s<r.length;s++){const o=i[r[s]].namespaceId;if(o){const a=this._fetchNamespace(o);a&&t.add(a)}}}return t}trigger(e,t,i,r){if(Ba(t)){const s=this._fetchNamespace(e);if(s)return s.trigger(t,i,r),!0}return!1}insertNode(e,t,i,r){if(!Ba(t))return;const s=t[Bt];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){const o=this._fetchNamespace(e);o&&o.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),jt(e,rh)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),vr(e,rh))}removeNode(e,t,i,r){if(Ba(t)){const s=e?this._fetchNamespace(e):null;if(s?s.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),i){const o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,i,r,s){this.collectedLeaveElements.push(t),t[Bt]={namespaceId:e,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,t,i,r,s){return Ba(t)?this._fetchNamespace(e).listen(t,i,r,s):()=>{}}_buildInstruction(e,t,i,r,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,r,e.fromState.options,e.toState.options,t,s)}destroyInnerAnimations(e){let t=this.driver.query(e,Ma,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,qd,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return zn(this.players).onDone(()=>e());e()})}processLeaveNode(e){var t;const i=e[Bt];if(i&&i.setForRemoval){if(e[Bt]=tD,i.namespaceId){this.destroyInnerAnimations(e);const r=this._fetchNamespace(i.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,i.setForRemoval)}(null===(t=e.classList)||void 0===t?void 0:t.contains(rh))&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)jt(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{t=this._flushAnimations(i,e)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?zn(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(e){throw function UN(n){return new S(3402,q)}()}_flushAnimations(e,t){const i=new Pa,r=[],s=new Map,o=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(M=>{u.add(M);const k=this.driver.query(M,".ng-animate-queued",!0);for(let R=0;R<k.length;R++)u.add(k[R])});const d=this.bodyNode,h=Array.from(this.statesByElement.keys()),f=rD(h,this.collectedEnterElements),p=new Map;let g=0;f.forEach((M,k)=>{const R=Wd+g++;p.set(k,R),M.forEach(X=>jt(X,R))});const _=[],D=new Set,m=new Set;for(let M=0;M<this.collectedLeaveElements.length;M++){const k=this.collectedLeaveElements[M],R=k[Bt];R&&R.setForRemoval&&(_.push(k),D.add(k),R.hasAnimation?this.driver.query(k,".ng-star-inserted",!0).forEach(X=>D.add(X)):m.add(k))}const C=new Map,T=rD(h,Array.from(D));T.forEach((M,k)=>{const R=wa+g++;C.set(k,R),M.forEach(X=>jt(X,R))}),e.push(()=>{f.forEach((M,k)=>{const R=p.get(k);M.forEach(X=>vr(X,R))}),T.forEach((M,k)=>{const R=C.get(k);M.forEach(X=>vr(X,R))}),_.forEach(M=>{this.processLeaveNode(M)})});const z=[],ge=[];for(let M=this._namespaceList.length-1;M>=0;M--)this._namespaceList[M].drainQueuedTransitions(t).forEach(R=>{const X=R.player,ze=R.element;if(z.push(X),this.collectedEnterElements.length){const ut=ze[Bt];if(ut&&ut.setForMove){if(ut.previousTriggersValues&&ut.previousTriggersValues.has(R.triggerName)){const Ei=ut.previousTriggersValues.get(R.triggerName),qn=this.statesByElement.get(R.element);qn&&qn[R.triggerName]&&(qn[R.triggerName].value=Ei)}return void X.destroy()}}const yn=!d||!this.driver.containsElement(d,ze),It=C.get(ze),Wn=p.get(ze),Ce=this._buildInstruction(R,i,Wn,It,yn);if(Ce.errors&&Ce.errors.length)return void ge.push(Ce);if(yn)return X.onStart(()=>Di(ze,Ce.fromStyles)),X.onDestroy(()=>_n(ze,Ce.toStyles)),void r.push(X);if(R.isFallbackTransition)return X.onStart(()=>Di(ze,Ce.fromStyles)),X.onDestroy(()=>_n(ze,Ce.toStyles)),void r.push(X);const wD=[];Ce.timelines.forEach(ut=>{ut.stretchStartingKeyframe=!0,this.disabledNodes.has(ut.element)||wD.push(ut)}),Ce.timelines=wD,i.append(ze,Ce.timelines),o.push({instruction:Ce,player:X,element:ze}),Ce.queriedElements.forEach(ut=>wt(a,ut,[]).push(X)),Ce.preStyleProps.forEach((ut,Ei)=>{const qn=Object.keys(ut);if(qn.length){let wi=l.get(Ei);wi||l.set(Ei,wi=new Set),qn.forEach(uh=>wi.add(uh))}}),Ce.postStyleProps.forEach((ut,Ei)=>{const qn=Object.keys(ut);let wi=c.get(Ei);wi||c.set(Ei,wi=new Set),qn.forEach(uh=>wi.add(uh))})});if(ge.length){const M=[];ge.forEach(k=>{M.push(function zN(n,e){return new S(3505,q)}())}),z.forEach(k=>k.destroy()),this.reportError(M)}const De=new Map,Mt=new Map;o.forEach(M=>{const k=M.element;i.has(k)&&(Mt.set(k,k),this._beforeAnimationBuild(M.player.namespaceId,M.instruction,De))}),r.forEach(M=>{const k=M.element;this._getPreviousPlayers(k,!1,M.namespaceId,M.triggerName,null).forEach(X=>{wt(De,k,[]).push(X),X.destroy()})});const At=_.filter(M=>oD(M,l,c)),Tt=new Map;iD(Tt,this.driver,m,c,In).forEach(M=>{oD(M,l,c)&&At.push(M)});const kn=new Map;f.forEach((M,k)=>{iD(kn,this.driver,new Set(M),l,"!")}),At.forEach(M=>{const k=Tt.get(M),R=kn.get(M);Tt.set(M,Object.assign(Object.assign({},k),R))});const tn=[],Dr=[],Cr={};o.forEach(M=>{const{element:k,player:R,instruction:X}=M;if(i.has(k)){if(u.has(k))return R.onDestroy(()=>_n(k,X.toStyles)),R.disabled=!0,R.overrideTotalTime(X.totalTime),void r.push(R);let ze=Cr;if(Mt.size>1){let It=k;const Wn=[];for(;It=It.parentNode;){const Ce=Mt.get(It);if(Ce){ze=Ce;break}Wn.push(It)}Wn.forEach(Ce=>Mt.set(Ce,ze))}const yn=this._buildAnimation(R.namespaceId,X,De,s,kn,Tt);if(R.setRealPlayer(yn),ze===Cr)tn.push(R);else{const It=this.playersByElement.get(ze);It&&It.length&&(R.parentPlayer=zn(It)),r.push(R)}}else Di(k,X.fromStyles),R.onDestroy(()=>_n(k,X.toStyles)),Dr.push(R),u.has(k)&&r.push(R)}),Dr.forEach(M=>{const k=s.get(M.element);if(k&&k.length){const R=zn(k);M.setRealPlayer(R)}}),r.forEach(M=>{M.parentPlayer?M.syncPlayerEvents(M.parentPlayer):M.destroy()});for(let M=0;M<_.length;M++){const k=_[M],R=k[Bt];if(vr(k,wa),R&&R.hasAnimation)continue;let X=[];if(a.size){let yn=a.get(k);yn&&yn.length&&X.push(...yn);let It=this.driver.query(k,qd,!0);for(let Wn=0;Wn<It.length;Wn++){let Ce=a.get(It[Wn]);Ce&&Ce.length&&X.push(...Ce)}}const ze=X.filter(yn=>!yn.destroyed);ze.length?zP(this,k,ze):this.processLeaveNode(k)}return _.length=0,tn.forEach(M=>{this.players.push(M),M.onDone(()=>{M.destroy();const k=this.players.indexOf(M);this.players.splice(k,1)}),M.play()}),tn}elementContainsData(e,t){let i=!1;const r=t[Bt];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(t)&&(i=!0),this.playersByQueriedElement.has(t)&&(i=!0),this.statesByElement.has(t)&&(i=!0),this._fetchNamespace(e).elementContainsData(t)||i}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,r,s){let o=[];if(t){const a=this.playersByQueriedElement.get(e);a&&(o=a)}else{const a=this.playersByElement.get(e);if(a){const l=!s||s==Ss;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||o.push(c)})}}return(i||r)&&(o=o.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),o}_beforeAnimationBuild(e,t,i){const s=t.element,o=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const c=l.element,u=c!==s,d=wt(i,c,[]);this._getPreviousPlayers(c,u,o,a,t.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),d.push(f)})}Di(s,t.fromStyles)}_buildAnimation(e,t,i,r,s,o){const a=t.triggerName,l=t.element,c=[],u=new Set,d=new Set,h=t.timelines.map(p=>{const g=p.element;u.add(g);const _=g[Bt];if(_&&_.removedBeforeQueried)return new Es(p.duration,p.delay);const D=g!==l,m=function GP(n){const e=[];return sD(n,e),e}((i.get(g)||LP).map(De=>De.getRealPlayer())).filter(De=>!!De.element&&De.element===g),C=s.get(g),T=o.get(g),z=xb(0,this._normalizer,0,p.keyframes,C,T),ge=this._buildPlayer(p,z,m);if(p.subTimeline&&r&&d.add(g),D){const De=new ah(e,a,g);De.setRealPlayer(ge),c.push(De)}return ge});c.forEach(p=>{wt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function HP(n,e,t){let i;if(n instanceof Map){if(i=n.get(e),i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&n.delete(e)}}else if(i=n[e],i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&delete n[e]}return i}(this.playersByQueriedElement,p.element,p))}),u.forEach(p=>jt(p,Hb));const f=zn(h);return f.onDestroy(()=>{u.forEach(p=>vr(p,Hb)),_n(l,t.toStyles)}),d.forEach(p=>{wt(r,p,[]).push(f)}),f}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new Es(e.duration,e.delay)}}class ah{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new Es,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(i=>jd(e,t,void 0,i))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){wt(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function Ba(n){return n&&1===n.nodeType}function nD(n,e){const t=n.style.display;return n.style.display=null!=e?e:"none",t}function iD(n,e,t,i,r){const s=[];t.forEach(l=>s.push(nD(l)));const o=[];i.forEach((l,c)=>{const u={};l.forEach(d=>{const h=u[d]=e.computeStyle(c,d,r);(!h||0==h.length)&&(c[Bt]=VP,o.push(c))}),n.set(c,u)});let a=0;return t.forEach(l=>nD(l,s[a++])),o}function rD(n,e){const t=new Map;if(n.forEach(a=>t.set(a,[])),0==e.length)return t;const r=new Set(e),s=new Map;function o(a){if(!a)return 1;let l=s.get(a);if(l)return l;const c=a.parentNode;return l=t.has(c)?c:r.has(c)?1:o(c),s.set(a,l),l}return e.forEach(a=>{const l=o(a);1!==l&&t.get(l).push(a)}),t}function jt(n,e){var t;null===(t=n.classList)||void 0===t||t.add(e)}function vr(n,e){var t;null===(t=n.classList)||void 0===t||t.remove(e)}function zP(n,e,t){zn(t).onDone(()=>n.processLeaveNode(e))}function sD(n,e){for(let t=0;t<n.length;t++){const i=n[t];i instanceof Ib?sD(i.players,e):e.push(i)}}function oD(n,e,t){const i=t.get(n);if(!i)return!1;let r=e.get(n);return r?i.forEach(s=>r.add(s)):e.set(n,i),t.delete(n),!0}class ja{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,s)=>{},this._transitionEngine=new jP(e,t,i),this._timelineEngine=new OP(e,t,i),this._transitionEngine.onRemovalComplete=(r,s)=>this.onRemovalComplete(r,s)}registerTrigger(e,t,i,r,s){const o=e+"-"+r;let a=this._triggerCache[o];if(!a){const l=[],u=Qd(this._driver,s,l,[]);if(l.length)throw function FN(n,e){return new S(3404,q)}();a=function TP(n,e,t){return new IP(n,e,t)}(r,u,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,r,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,r){this._transitionEngine.insertNode(e,t,i,r)}onRemove(e,t,i,r){this._transitionEngine.removeNode(e,t,r||!1,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,r){if("@"==i.charAt(0)){const[s,o]=Ob(i);this._timelineEngine.command(s,t,o,r)}else this._transitionEngine.trigger(e,t,i,r)}listen(e,t,i,r,s){if("@"==i.charAt(0)){const[o,a]=Ob(i);return this._timelineEngine.listen(o,t,a,s)}return this._transitionEngine.listen(e,t,i,r,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let KP=(()=>{class n{constructor(t,i,r){this._element=t,this._startStyles=i,this._endStyles=r,this._state=0;let s=n.initialStylesByElement.get(t);s||n.initialStylesByElement.set(t,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&_n(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(_n(this._element,this._initialStyles),this._endStyles&&(_n(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Di(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Di(this._element,this._endStyles),this._endStyles=null),_n(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function lh(n){let e=null;const t=Object.keys(n);for(let i=0;i<t.length;i++){const r=t[i];YP(r)&&(e=e||{},e[r]=n[r])}return e}function YP(n){return"display"===n||"position"===n}class aD{constructor(e,t,i,r){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,i){return e.animate(t,i)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&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(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};if(this.hasStarted()){const t=this._finalKeyframe;Object.keys(t).forEach(i=>{"offset"!=i&&(e[i]=this._finished?t[i]:Wb(this.element,i))})}this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class ZP{validateStyleProperty(e){return Pb(e)}matchesElement(e,t){return!1}containsElement(e,t){return Lb(e,t)}getParentElement(e){return zd(e)}query(e,t,i){return Vb(e,t,i)}computeStyle(e,t,i){return window.getComputedStyle(e)[t]}animate(e,t,i,r,s,o=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};s&&(l.easing=s);const c={},u=o.filter(h=>h instanceof aD);(function eP(n,e){return 0===n||0===e})(i,r)&&u.forEach(h=>{let f=h.currentSnapshot;Object.keys(f).forEach(p=>c[p]=f[p])}),t=function tP(n,e,t){const i=Object.keys(t);if(i.length&&e.length){let s=e[0],o=[];if(i.forEach(a=>{s.hasOwnProperty(a)||o.push(a),s[a]=t[a]}),o.length)for(var r=1;r<e.length;r++){let a=e[r];o.forEach(function(l){a[l]=Wb(n,l)})}}return e}(e,t=t.map(h=>Gn(h,!1)),c);const d=function qP(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=lh(e[0]),e.length>1&&(i=lh(e[e.length-1]))):e&&(t=lh(e)),t||i?new KP(n,t,i):null}(e,t);return new aD(e,t,l,d)}}let QP=(()=>{class n extends Sb{constructor(t,i){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(i.body,{id:"0",encapsulation:$t.None,styles:[],data:{animation:[]}})}build(t){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(t)?Mb(t):t;return lD(this._renderer,null,i,"register",[r]),new XP(i,this._renderer)}}return n.\u0275fac=function(t){return new(t||n)(v(ss),v(ae))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class XP extends class dN{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new JP(this._id,e,t||{},this._renderer)}}class JP{constructor(e,t,i,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return lD(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function lD(n,e,t,i,r){return n.setProperty(e,`@@${t}:${i}`,r)}const cD="@.disabled";let e1=(()=>{class n{constructor(t,i,r){this.delegate=t,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(s,o)=>{const a=null==o?void 0:o.parentNode(s);a&&o.removeChild(a,s)}}createRenderer(t,i){const s=this.delegate.createRenderer(t,i);if(!(t&&i&&i.data&&i.data.animation)){let u=this._rendererCache.get(s);return u||(u=new uD("",s,this.engine),this._rendererCache.set(s,u)),u}const o=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,t);const l=u=>{Array.isArray(u)?u.forEach(l):this.engine.registerTrigger(o,a,t,u.name,u)};return i.data.animation.forEach(l),new t1(this,a,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,i,r){t>=0&&t<this._microtaskId?this._zone.run(()=>i(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{const[o,a]=s;o(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}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()}}return n.\u0275fac=function(t){return new(t||n)(v(ss),v(ja),v(oe))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class uD{constructor(e,t,i){this.namespaceId=e,this.delegate=t,this.engine=i,this.destroyNode=this.delegate.destroyNode?r=>t.destroyNode(r):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i,r=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate,i)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,r){this.delegate.setAttribute(e,t,i,r)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,r){this.delegate.setStyle(e,t,i,r)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){"@"==t.charAt(0)&&t==cD?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i){return this.delegate.listen(e,t,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class t1 extends uD{constructor(e,t,i,r){super(t,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==cD?this.disableAnimations(e,i=void 0===i||!!i):this.engine.process(this.namespaceId,e,t.substr(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i){if("@"==t.charAt(0)){const r=function n1(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(e);let s=t.substr(1),o="";return"@"!=s.charAt(0)&&([s,o]=function r1(n){const e=n.indexOf(".");return[n.substring(0,e),n.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,r,s,o,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(e,t,i)}}let s1=(()=>{class n extends ja{constructor(t,i,r){super(t.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(t){return new(t||n)(v(ae),v(Gd),v(nh))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const $a=new I("AnimationModuleType"),dD=[{provide:Sb,useClass:QP},{provide:nh,useFactory:function o1(){return new EP}},{provide:ja,useClass:s1},{provide:ss,useFactory:function a1(n,e,t){return new e1(n,e,t)},deps:[oa,ja,oe]}],hD=[{provide:Gd,useFactory:()=>new ZP},{provide:$a,useValue:"BrowserAnimations"},...dD],l1=[{provide:Gd,useClass:Bb},{provide:$a,useValue:"NoopAnimations"},...dD];let c1=(()=>{class n{static withConfig(t){return{ngModule:n,providers:t.disableAnimations?l1:hD}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=Ke({providers:hD,imports:[By]}),n})();const d1=new I("mat-sanity-checks",{providedIn:"root",factory:function u1(){return!0}});let Ua=(()=>{class n{constructor(t,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!sd()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}}return n.\u0275fac=function(t){return new(t||n)(v(uN),v(d1,8),v(ae))},n.\u0275mod=Xe({type:n}),n.\u0275inj=Ke({imports:[[ev],ev]}),n})();function h1(n){return class extends n{constructor(...e){super(...e),this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=hi(e)}}}function f1(n,e){return class extends n{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const i=t||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function p1(n){return class extends n{constructor(...e){super(...e),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=hi(e)}}}function g1(n,e=0){return class extends n{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?$y(t):this.defaultTabIndex}}}class _1{constructor(e,t,i){this._renderer=e,this.element=t,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const pD={enterDuration:225,exitDuration:150},ch=id({passive:!0}),gD=["mousedown","touchstart"],mD=["mouseup","mouseleave","touchend","touchcancel"];class v1{constructor(e,t,i,r){this._target=e,this._ngZone=t,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=fi(i))}fadeInRipple(e,t,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},pD),i.animation);i.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);const o=i.radius||function D1(n,e,t){const i=Math.max(Math.abs(n-t.left),Math.abs(n-t.right)),r=Math.max(Math.abs(e-t.top),Math.abs(e-t.bottom));return Math.sqrt(i*i+r*r)}(e,t,r),a=e-r.left,l=t-r.top,c=s.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=a-o+"px",u.style.top=l-o+"px",u.style.height=2*o+"px",u.style.width=2*o+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u),function b1(n){window.getComputedStyle(n).getPropertyValue("opacity")}(u),u.style.transform="scale(1)";const d=new _1(this,u,i);return d.state=0,this._activeRipples.add(d),i.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone(()=>{const h=d===this._mostRecentTransientRipple;d.state=1,!i.persistent&&(!h||!this._isPointerDown)&&d.fadeOut()},c),d}fadeOutRipple(e){const t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!t)return;const i=e.element,r=Object.assign(Object.assign({},pD),e.config.animation);i.style.transitionDuration=`${r.exitDuration}ms`,i.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(()=>{e.state=3,i.remove()},r.exitDuration)}fadeOutAll(){this._activeRipples.forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){const t=fi(e);!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(gD))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(mD),this._pointerUpEventsRegistered=!0)}_onMousedown(e){const t=bb(e),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!t&&!i&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!Db(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=e.changedTouches;for(let i=0;i<t.length;i++)this.fadeInRipple(t[i].clientX,t[i].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(e=>{!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}_runTimeoutOutsideZone(e,t=0){this._ngZone.runOutsideAngular(()=>setTimeout(e,t))}_registerEvents(e){this._ngZone.runOutsideAngular(()=>{e.forEach(t=>{this._triggerElement.addEventListener(t,this,ch)})})}_removeTriggerEvents(){this._triggerElement&&(gD.forEach(e=>{this._triggerElement.removeEventListener(e,this,ch)}),this._pointerUpEventsRegistered&&mD.forEach(e=>{this._triggerElement.removeEventListener(e,this,ch)}))}}const C1=new I("mat-ripple-global-options");let _D=(()=>{class n{constructor(t,i,r,s,o){this._elementRef=t,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new v1(this,i,t,r)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}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:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{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(t,i=0,r){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,i,Object.assign(Object.assign({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return n.\u0275fac=function(t){return new(t||n)(b(Ze),b(oe),b(Tn),b(C1,8),b($a,8))},n.\u0275dir=N({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,i){2&t&&ri("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),E1=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=Ke({imports:[[Ua],Ua]}),n})();function yD(n,e=td){return t=>t.lift(new w1(n,e))}class w1{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new S1(e,this.dueTime,this.scheduler))}}class S1 extends Ee{constructor(e,t,i){super(e),this.dueTime=t,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(M1,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function M1(n){n.debouncedNext()}let vD=(()=>{class n{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),A1=(()=>{class n{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,i)=>this._cleanupObserver(i))}observe(t){const i=fi(t);return new ye(r=>{const o=this._observeElement(i).subscribe(r);return()=>{o.unsubscribe(),this._unobserveElement(i)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const i=new We,r=this._mutationObserverFactory.create(s=>i.next(s));r&&r.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:r,stream:i,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:i,stream:r}=this._observedElements.get(t);i&&i.disconnect(),r.complete(),this._observedElements.delete(t)}}}return n.\u0275fac=function(t){return new(t||n)(v(vD))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),T1=(()=>{class n{constructor(t,i,r){this._contentObserver=t,this._elementRef=i,this._ngZone=r,this.event=new Te,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=hi(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=$y(t),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(yD(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(b(A1),b(Ze),b(oe))},n.\u0275dir=N({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),I1=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=Ke({providers:[vD]}),n})();const k1=["input"],x1=function(n){return{enterDuration:n}},O1=["*"],F1=new I("mat-checkbox-default-options",{providedIn:"root",factory:bD});function bD(){return{color:"accent",clickAction:"check-indeterminate"}}let R1=0;const DD=bD(),N1={provide:en,useExisting:re(()=>CD),multi:!0};class P1{}const L1=g1(f1(p1(h1(class{constructor(n){this._elementRef=n}}))));let CD=(()=>{class n extends L1{constructor(t,i,r,s,o,a,l){super(t),this._changeDetectorRef=i,this._focusMonitor=r,this._ngZone=s,this._animationMode=a,this._options=l,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++R1,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new Te,this.indeterminateChange=new Te,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||DD,this.color=this.defaultColor=this._options.color||DD.color,this.tabIndex=parseInt(o)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=hi(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(t){const i=hi(t);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const i=hi(t);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const i=t!=this._indeterminate;this._indeterminate=hi(t),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let i=this._currentCheckState,r=this._elementRef.nativeElement;if(i!==t&&(this._currentAnimationClass.length>0&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);const s=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(s)},1e3)})}}_emitChangeEvent(){const t=new P1;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_onInputClick(t){var i;const r=null===(i=this._options)||void 0===i?void 0:i.clickAction;t.stopPropagation(),this.disabled||"noop"===r?!this.disabled&&"noop"===r&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==r&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t,i){t?this._focusMonitor.focusVia(this._inputElement,t,i):this._inputElement.nativeElement.focus(i)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,i){if("NoopAnimations"===this._animationMode)return"";let r="";switch(t){case 0:if(1===i)r="unchecked-checked";else{if(3!=i)return"";r="unchecked-indeterminate"}break;case 2:r=1===i?"unchecked-checked":"unchecked-indeterminate";break;case 1:r=2===i?"checked-unchecked":"checked-indeterminate";break;case 3:r=1===i?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${r}`}_syncIndeterminate(t){const i=this._inputElement;i&&(i.nativeElement.indeterminate=t)}}return n.\u0275fac=function(t){return new(t||n)(b(Ze),b(jo),b(cN),b(oe),function io(n){return function tE(n,e){if("class"===e)return n.classes;if("style"===e)return n.styles;const t=n.attrs;if(t){const i=t.length;let r=0;for(;r<i;){const s=t[r];if(nf(s))break;if(0===s)r+=2;else if("number"==typeof s)for(r++;r<i&&"string"==typeof t[r];)r++;else{if(s===e)return t[r+1];r+=2}}}return null}(Ve(),n)}("tabindex"),b($a,8),b(F1,8))},n.\u0275cmp=Vs({type:n,selectors:[["mat-checkbox"]],viewQuery:function(t,i){if(1&t&&(du(k1,5),du(_D,5)),2&t){let r;uu(r=hu())&&(i._inputElement=r.first),uu(r=hu())&&(i.ripple=r.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(t,i){2&t&&(Wc("id",i.id),Nt("tabindex",null)("aria-label",null)("aria-labelledby",null),ri("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before","before"==i.labelPosition)("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[he([N1]),ee],ngContentSelectors:O1,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,i){if(1&t&&(function Vg(n){const e=y()[16][6];if(!e.projection){const i=e.projection=Nr(n?n.length:1,null),r=i.slice();let s=e.child;for(;null!==s;){const o=n?jM(s,n):0;null!==o&&(r[o]?r[o].projectionNext=s:i[o]=s,r[o]=s),s=s.next}}}(),dn(0,"label",0,1)(2,"span",2)(3,"input",3,4),Et("change",function(s){return i._onInteractionEvent(s)})("click",function(s){return i._onInputClick(s)}),hn(),dn(5,"span",5),ar(6,"span",6),hn(),ar(7,"span",7),dn(8,"span",8),function Jh(){L.lFrame.currentNamespace="svg"}(),dn(9,"svg",9),ar(10,"path",10),hn(),function ef(){!function zC(){L.lFrame.currentNamespace=null}()}(),ar(11,"span",11),hn()(),dn(12,"span",12,13),Et("cdkObserveContent",function(){return i._onLabelTextChange()}),dn(14,"span",14),Uc(15,"\xa0"),hn(),function Bg(n,e=0,t){const i=y(),r=Q(),s=Gi(r,20+n,16,null,t||null);null===s.projection&&(s.projection=e),pl(),64!=(64&s.flags)&&function XE(n,e,t){Zf(e[H],0,e,t,Hf(n,t,e),Gf(t.parent||e[6],t,e))}(r,i,s)}(16),hn()()),2&t){const r=Oc(1),s=Oc(13);Nt("for",i.inputId),qr(2),ri("mat-checkbox-inner-container-no-side-margin",!s.textContent||!s.textContent.trim()),qr(1),Jr("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),Nt("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-checked",i._getAriaChecked())("aria-describedby",i.ariaDescribedby),qr(2),Jr("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",a_(19,x1,"NoopAnimations"===i._animationMode?0:150))}},directives:[_D,T1],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),n})(),ED=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=Ke({}),n})(),j1=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=Ke({imports:[[E1,Ua,I1,ED],Ua,ED]}),n})(),H1=(()=>{class n{constructor(t){this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container",i=this._document.querySelectorAll(`.${t}`);if(null==i?void 0:i.length)this._containerElement=i[0];else{const r=this._document.createElement("div");r.classList.add(t),this._document.body.appendChild(r),this._containerElement=r}}}return n.\u0275fac=function(t){return new(t||n)(v(ae))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),$1=(()=>{class n{constructor(){this.errorStateMatcher={isErrorState:()=>!!this.error||!this.valueCanBeChanged&&this.formControl.dirty},this.formControl=new Sd(""),this.onEnter$=new We,this.valueCanBeChanged=!1}ngOnInit(){this.onEnter$.pipe(yD(100)).subscribe(()=>{var t;this.shouldValueChange(this.formControl.value)&&(null===(t=this.onEnter)||void 0===t||t.call(this,{value:this.modifyValueBeforeChange(this.formControl.value)}))}),this.valueChanges$=this.formControl.valueChanges.pipe(function Qy(n,e){return function(i){return i.lift(new wO(n,e))}}(t=>(this.valueCanBeChanged=this.shouldValueChange(t),this.valueCanBeChanged))).subscribe(t=>{this.updateOnBlur||this.triggerValueChange(t)})}triggerValueChange(t){this.onValueChange&&this.onValueChange({value:this.modifyValueBeforeChange(t)})}onEnterKeydown(t){this.onEnter$.next()}onBlur(){this.updateOnBlur&&this.shouldValueChange(this.formControl.value)&&this.triggerValueChange(this.formControl.value)}ngOnChanges(t){var i;this.disabled?this.formControl.disable({emitEvent:!1}):this.formControl.enable({emitEvent:!1}),t.value&&!(null===(i=this.input)||void 0===i?void 0:i.focused)&&this.formControl.setValue(this.value,{emitEvent:!1})}modifyValueBeforeChange(t){return t}shouldValueChange(t){return!0}ngOnDestroy(){this.valueChanges$&&this.valueChanges$.unsubscribe(),this.onEnter$&&this.onEnter$.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();var U1=hh(959);let z1=(()=>{class n extends $1{constructor(){super(...arguments),this.id=(0,U1.generate)()}ngOnChanges(t){this.updateOnBlur=!1,super.ngOnChanges(t)}}return n.\u0275fac=function(){let e;return function(i){return(e||(e=Ue(n)))(i||n)}}(),n.\u0275cmp=Vs({type:n,selectors:[["drayman-checkbox-internal"]],inputs:{onValueChange:"onValueChange",value:"value",label:"label",disabled:"disabled",placeholder:"placeholder",helpText:"helpText",error:"error",updateOnBlur:"updateOnBlur"},features:[ee,rn],decls:2,vars:3,consts:[[3,"id","formControl"]],template:function(t,i){1&t&&(dn(0,"mat-checkbox",0),Uc(1),hn()),2&t&&(Jr("id",i.id)("formControl",i.formControl),qr(1),zc(i.label))},directives:[CD,Lv,Id],styles:[""]}),n})(),G1=(()=>{class n{constructor(t){this.injector=t}ngDoBootstrap(){const t=function VF(n,e){const t=function xF(n,e){return e.get(oi).resolveComponentFactory(n).inputs}(n,e.injector),i=e.strategyFactory||new NF(n,e.injector),r=function kF(n){const e={};return n.forEach(({propName:t,templateName:i})=>{e[function SF(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}(i)]=t}),e}(t);class s extends LF{constructor(a){super(),this.injector=a}get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=i.create(this.injector||e.injector);t.forEach(({propName:l})=>{if(!this.hasOwnProperty(l))return;const c=this[l];delete this[l],a.setInputValue(l,c)})}return this._ngElementStrategy}attributeChangedCallback(a,l,c,u){this.ngElementStrategy.setInputValue(r[a],c)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return s.observedAttributes=Object.keys(r),t.forEach(({propName:o})=>{Object.defineProperty(s.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(a){this.ngElementStrategy.setInputValue(o,a)},configurable:!0,enumerable:!0})}),s}(z1,{injector:this.injector});customElements.define("drayman-checkbox",t)}}return n.\u0275fac=function(t){return new(t||n)(v(ot))},n.\u0275mod=Xe({type:n}),n.\u0275inj=Ke({providers:[{provide:ld,useClass:H1}],imports:[[By,c1,j1,VR,LR]]}),n})();(function sI(){K_=!1})(),Kx().bootstrapModule(G1).catch(n=>console.error(n))})()})();
1
+ (()=>{var SD={959:(K,me,B)=>{"use strict";K.exports=B(606)},550:(K,me,B)=>{"use strict";var te,Pe,We,J=B(539),ae="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-";function Le(){We=!1}function Y(Ae){if(Ae){if(Ae!==te){if(Ae.length!==ae.length)throw new Error("Custom alphabet for shortid must be "+ae.length+" unique characters. You submitted "+Ae.length+" characters: "+Ae);var pt=Ae.split("").filter(function(Kn,Er,Ts){return Er!==Ts.lastIndexOf(Kn)});if(pt.length)throw new Error("Custom alphabet for shortid must be "+ae.length+" unique characters. These characters were not unique: "+pt.join(", "));te=Ae,Le()}}else te!==ae&&(te=ae,Le())}function Ee(){return We||(We=function wi(){te||Y(ae);for(var Er,Ae=te.split(""),pt=[],Kn=J.nextValue();Ae.length>0;)Kn=J.nextValue(),Er=Math.floor(Kn*Ae.length),pt.push(Ae.splice(Er,1)[0]);return pt.join("")}())}K.exports={get:function za(){return te||ae},characters:function ft(Ae){return Y(Ae),te},seed:function _e(Ae){J.seed(Ae),Pe!==Ae&&(Le(),Pe=Ae)},lookup:function As(Ae){return Ee()[Ae]},shuffled:Ee}},119:(K,me,B)=>{"use strict";var We,Le,J=B(535);B(550),K.exports=function Y(ft){var _e="",wi=Math.floor(.001*(Date.now()-1567752802062));return wi===Le?We++:(We=0,Le=wi),_e+=J(7),_e+=J(ft),We>0&&(_e+=J(We)),_e+J(wi)}},535:(K,me,B)=>{"use strict";var J=B(550),ae=B(68),te=B(152);K.exports=function Pe(We){for(var Y,Le=0,ft="";!Y;)ft+=te(ae,J.get(),1),Y=We<Math.pow(16,Le+1),Le++;return ft}},606:(K,me,B)=>{"use strict";var J=B(550),ae=B(119),te=B(777),Pe=B(1)||0;function ft(){return ae(Pe)}K.exports=ft,K.exports.generate=ft,K.exports.seed=function We(_e){return J.seed(_e),K.exports},K.exports.worker=function Le(_e){return Pe=_e,K.exports},K.exports.characters=function Y(_e){return void 0!==_e&&J.characters(_e),J.shuffled()},K.exports.isValid=te},777:(K,me,B)=>{"use strict";var J=B(550);K.exports=function ae(te){return!(!te||"string"!=typeof te||te.length<6||new RegExp("[^"+J.get().replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&")+"]").test(te))}},68:K=>{"use strict";var me="object"==typeof window&&(window.crypto||window.msCrypto);K.exports=me&&me.getRandomValues?function(J){return me.getRandomValues(new Uint8Array(J))}:function(J){for(var ae=[],te=0;te<J;te++)ae.push(Math.floor(256*Math.random()));return ae}},539:K=>{"use strict";var me=1;K.exports={nextValue:function B(){return(me=(9301*me+49297)%233280)/233280},seed:function J(ae){me=ae}}},1:K=>{"use strict";K.exports=0},152:K=>{K.exports=function(me,B,J){for(var ae=(2<<Math.log(B.length-1)/Math.LN2)-1,te=-~(1.6*ae*J/B.length),Pe="";;)for(var We=me(te),Le=te;Le--;)if((Pe+=B[We[Le]&ae]||"").length===+J)return Pe}}},dh={};function hh(K){var me=dh[K];if(void 0!==me)return me.exports;var B=dh[K]={exports:{}};return SD[K](B,B.exports,hh),B.exports}(()=>{"use strict";function K(n){return"function"==typeof n}let me=!1;const B={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else me&&console.log("RxJS: Back to a better error behavior. Thank you. <3");me=n},get useDeprecatedSynchronousErrorHandling(){return me}};function J(n){setTimeout(()=>{throw n},0)}const ae={closed:!0,next(n){},error(n){if(B.useDeprecatedSynchronousErrorHandling)throw n;J(n)},complete(){}},te=Array.isArray||(n=>n&&"number"==typeof n.length);function Pe(n){return null!==n&&"object"==typeof n}const Le=(()=>{function n(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((t,i)=>`${i+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return n.prototype=Object.create(Error.prototype),n})();class Y{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:t,_ctorUnsubscribe:i,_unsubscribe:r,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof Y)t.remove(this);else if(null!==t)for(let o=0;o<t.length;++o)t[o].remove(this);if(K(r)){i&&(this._unsubscribe=void 0);try{r.call(this)}catch(o){e=o instanceof Le?ft(o.errors):[o]}}if(te(s)){let o=-1,a=s.length;for(;++o<a;){const l=s[o];if(Pe(l))try{l.unsubscribe()}catch(c){e=e||[],c instanceof Le?e=e.concat(ft(c.errors)):e.push(c)}}}if(e)throw new Le(e)}add(e){let t=e;if(!e)return Y.EMPTY;switch(typeof e){case"function":t=new Y(e);case"object":if(t===this||t.closed||"function"!=typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if(!(t instanceof Y)){const s=t;t=new Y,t._subscriptions=[s]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:i}=t;if(null===i)t._parentOrParents=this;else if(i instanceof Y){if(i===this)return t;t._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return t;i.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[t]:r.push(t),t}remove(e){const t=this._subscriptions;if(t){const i=t.indexOf(e);-1!==i&&t.splice(i,1)}}}var n;function ft(n){return n.reduce((e,t)=>e.concat(t instanceof Le?t.errors:t),[])}Y.EMPTY=((n=new Y).closed=!0,n);const _e="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class Ee extends Y{constructor(e,t,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=ae;break;case 1:if(!e){this.destination=ae;break}if("object"==typeof e){e instanceof Ee?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new As(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new As(this,e,t,i)}}[_e](){return this}static create(e,t,i){const r=new Ee(e,t,i);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class As extends Ee{constructor(e,t,i,r){super(),this._parentSubscriber=e;let s,o=this;K(t)?s=t:t&&(s=t.next,i=t.error,r=t.complete,t!==ae&&(o=Object.create(t),K(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=s,this._error=i,this._complete=r}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;B.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:i}=B;if(this._error)i&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)i?(t.syncErrorValue=e,t.syncErrorThrown=!0):J(e),this.unsubscribe();else{if(this.unsubscribe(),i)throw e;J(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);B.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(i){if(this.unsubscribe(),B.useDeprecatedSynchronousErrorHandling)throw i;J(i)}}__tryOrSetError(e,t,i){if(!B.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,i)}catch(r){return B.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(J(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const pt="function"==typeof Symbol&&Symbol.observable||"@@observable";function Kn(n){return n}let ye=(()=>{class n{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(t){const i=new n;return i.source=this,i.operator=t,i}subscribe(t,i,r){const{operator:s}=this,o=function Ae(n,e,t){if(n){if(n instanceof Ee)return n;if(n[_e])return n[_e]()}return n||e||t?new Ee(n,e,t):new Ee(ae)}(t,i,r);if(o.add(s?s.call(o,this.source):this.source||B.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),B.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){B.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=i),function za(n){for(;n;){const{closed:e,destination:t,isStopped:i}=n;if(e||i)return!1;n=t&&t instanceof Ee?t:null}return!0}(t)?t.error(i):console.warn(i)}}forEach(t,i){return new(i=fh(i))((r,s)=>{let o;o=this.subscribe(a=>{try{t(a)}catch(l){s(l),o&&o.unsubscribe()}},s,r)})}_subscribe(t){const{source:i}=this;return i&&i.subscribe(t)}[pt](){return this}pipe(...t){return 0===t.length?this:function Ts(n){return 0===n.length?Kn:1===n.length?n[0]:function(t){return n.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=fh(t))((i,r)=>{let s;this.subscribe(o=>s=o,o=>r(o),()=>i(s))})}}return n.create=e=>new n(e),n})();function fh(n){if(n||(n=B.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const Yn=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class ph extends Y{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const i=t.indexOf(this.subscriber);-1!==i&&t.splice(i,1)}}class gh extends Ee{constructor(e){super(e),this.destination=e}}let qe=(()=>{class n extends ye{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[_e](){return new gh(this)}lift(t){const i=new mh(this,this);return i.operator=t,i}next(t){if(this.closed)throw new Yn;if(!this.isStopped){const{observers:i}=this,r=i.length,s=i.slice();for(let o=0;o<r;o++)s[o].next(t)}}error(t){if(this.closed)throw new Yn;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:i}=this,r=i.length,s=i.slice();for(let o=0;o<r;o++)s[o].error(t);this.observers.length=0}complete(){if(this.closed)throw new Yn;this.isStopped=!0;const{observers:t}=this,i=t.length,r=t.slice();for(let s=0;s<i;s++)r[s].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new Yn;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new Yn;return this.hasError?(t.error(this.thrownError),Y.EMPTY):this.isStopped?(t.complete(),Y.EMPTY):(this.observers.push(t),new ph(this,t))}asObservable(){const t=new ye;return t.source=this,t}}return n.create=(e,t)=>new mh(e,t),n})();class mh extends qe{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):Y.EMPTY}}function Is(n){return n&&"function"==typeof n.schedule}function Si(n,e){return function(i){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new MD(n,e))}}class MD{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new AD(e,this.project,this.thisArg))}}class AD extends Ee{constructor(e,t,i){super(e),this.project=t,this.count=0,this.thisArg=i||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(t)}}const _h=n=>e=>{for(let t=0,i=n.length;t<i&&!e.closed;t++)e.next(n[t]);e.complete()},ks=function ID(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),yh=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function vh(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const bh=n=>{if(n&&"function"==typeof n[pt])return(n=>e=>{const t=n[pt]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)})(n);if(yh(n))return _h(n);if(vh(n))return(n=>e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,J),e))(n);if(n&&"function"==typeof n[ks])return(n=>e=>{const t=n[ks]();for(;;){let i;try{i=t.next()}catch(r){return e.error(r),e}if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof t.return&&e.add(()=>{t.return&&t.return()}),e})(n);{const t=`You provided ${Pe(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(t)}};function Ga(n,e){return new ye(t=>{const i=new Y;let r=0;return i.add(e.schedule(function(){r!==n.length?(t.next(n[r++]),t.closed||i.add(this.schedule())):t.complete()})),i})}function xs(n,e){return e?function LD(n,e){if(null!=n){if(function ND(n){return n&&"function"==typeof n[pt]}(n))return function OD(n,e){return new ye(t=>{const i=new Y;return i.add(e.schedule(()=>{const r=n[pt]();i.add(r.subscribe({next(s){i.add(e.schedule(()=>t.next(s)))},error(s){i.add(e.schedule(()=>t.error(s)))},complete(){i.add(e.schedule(()=>t.complete()))}}))})),i})}(n,e);if(vh(n))return function FD(n,e){return new ye(t=>{const i=new Y;return i.add(e.schedule(()=>n.then(r=>{i.add(e.schedule(()=>{t.next(r),i.add(e.schedule(()=>t.complete()))}))},r=>{i.add(e.schedule(()=>t.error(r)))}))),i})}(n,e);if(yh(n))return Ga(n,e);if(function PD(n){return n&&"function"==typeof n[ks]}(n)||"string"==typeof n)return function RD(n,e){if(!n)throw new Error("Iterable cannot be null");return new ye(t=>{const i=new Y;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=n[ks](),i.add(e.schedule(function(){if(t.closed)return;let s,o;try{const a=r.next();s=a.value,o=a.done}catch(a){return void t.error(a)}o?t.complete():(t.next(s),this.schedule())}))})),i})}(n,e)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}(n,e):n instanceof ye?n:new ye(bh(n))}class Os extends Ee{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Fs extends Ee{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function Rs(n,e){if(!e.closed)return n instanceof ye?n.subscribe(e):bh(n)(e)}function Dh(n,e,t=Number.POSITIVE_INFINITY){return"function"==typeof e?i=>i.pipe(Dh((r,s)=>xs(n(r,s)).pipe(Si((o,a)=>e(r,o,s,a))),t)):("number"==typeof e&&(t=e),i=>i.lift(new VD(n,t)))}class VD{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new BD(e,this.project,this.concurrent))}}class BD extends Fs{constructor(e,t,i=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const i=this.index++;try{t=this.project(e,i)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}_innerSub(e){const t=new Os(this),i=this.destination;i.add(t);const r=Rs(e,t);r!==t&&i.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function jD(n=Number.POSITIVE_INFINITY){return Dh(Kn,n)}function Ch(n,e){return e?Ga(n,e):new ye(_h(n))}function Wa(...n){let e=Number.POSITIVE_INFINITY,t=null,i=n[n.length-1];return Is(i)?(t=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(e=n.pop())):"number"==typeof i&&(e=n.pop()),null===t&&1===n.length&&n[0]instanceof ye?n[0]:jD(e)(Ch(n,t))}function Eh(){return function(e){return e.lift(new HD(e))}}class HD{constructor(e){this.connectable=e}call(e,t){const{connectable:i}=this;i._refCount++;const r=new $D(e,i),s=t.subscribe(r);return r.closed||(r.connection=i.connect()),s}}class $D extends Ee{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:i}=this,r=e._connection;this.connection=null,r&&(!i||r===i)&&r.unsubscribe()}}class UD extends ye{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new Y,e.add(this.source.subscribe(new GD(this.getSubject(),this))),e.closed&&(this._connection=null,e=Y.EMPTY)),e}refCount(){return Eh()(this)}}const zD=(()=>{const n=UD.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}})();class GD extends gh{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}class KD{constructor(e,t){this.subjectFactory=e,this.selector=t}call(e,t){const{selector:i}=this,r=this.subjectFactory(),s=i(r).subscribe(e);return s.add(t.subscribe(r)),s}}function YD(){return new qe}function le(n){for(let e in n)if(n[e]===le)return e;throw Error("Could not find renamed property on target object.")}function qa(n,e){for(const t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function ne(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(ne).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const e=n.toString();if(null==e)return""+e;const t=e.indexOf("\n");return-1===t?e:e.substring(0,t)}function Ka(n,e){return null==n||""===n?null===e?"":e:null==e||""===e?n:n+" "+e}const QD=le({__forward_ref__:le});function re(n){return n.__forward_ref__=re,n.toString=function(){return ne(this())},n}function $(n){return wh(n)?n():n}function wh(n){return"function"==typeof n&&n.hasOwnProperty(QD)&&n.__forward_ref__===re}class S extends Error{constructor(e,t){super(function Ya(n,e){return`NG0${Math.abs(n)}${e?": "+e:""}`}(e,t)),this.code=e}}function P(n){return"string"==typeof n?n:null==n?"":String(n)}function Ke(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():P(n)}function Ns(n,e){const t=e?` in ${e}`:"";throw new S(-201,`No provider for ${Ke(n)} found${t}`)}function mt(n,e){null==n&&function ie(n,e,t,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${t} ${i} ${e} <=Actual]`))}(e,n,null,"!=")}function x(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function $e(n){return{providers:n.providers||[],imports:n.imports||[]}}function Za(n){return Sh(n,Ps)||Sh(n,Ah)}function Sh(n,e){return n.hasOwnProperty(e)?n[e]:null}function Mh(n){return n&&(n.hasOwnProperty(Qa)||n.hasOwnProperty(rC))?n[Qa]:null}const Ps=le({\u0275prov:le}),Qa=le({\u0275inj:le}),Ah=le({ngInjectableDef:le}),rC=le({ngInjectorDef:le});var j=(()=>((j=j||{})[j.Default=0]="Default",j[j.Host=1]="Host",j[j.Self=2]="Self",j[j.SkipSelf=4]="SkipSelf",j[j.Optional=8]="Optional",j))();let Xa;function xn(n){const e=Xa;return Xa=n,e}function Th(n,e,t){const i=Za(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&j.Optional?null:void 0!==e?e:void Ns(ne(n),"Injector")}function On(n){return{toString:n}.toString()}var Ht=(()=>((Ht=Ht||{})[Ht.OnPush=0]="OnPush",Ht[Ht.Default=1]="Default",Ht))(),$t=(()=>(function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}($t||($t={})),$t))();const oC="undefined"!=typeof globalThis&&globalThis,aC="undefined"!=typeof window&&window,lC="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,se=oC||"undefined"!=typeof global&&global||aC||lC,Mi={},ce=[],Ls=le({\u0275cmp:le}),Ja=le({\u0275dir:le}),el=le({\u0275pipe:le}),Ih=le({\u0275mod:le}),bn=le({\u0275fac:le}),wr=le({__NG_ELEMENT_ID__:le});let cC=0;function Vs(n){return On(()=>{const t={},i={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===Ht.OnPush,directiveDefs:null,pipeDefs:null,selectors:n.selectors||ce,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||$t.Emulated,id:"c",styles:n.styles||ce,_:null,setInput:null,schemas:n.schemas||null,tView:null},r=n.directives,s=n.features,o=n.pipes;return i.id+=cC++,i.inputs=Fh(n.inputs,t),i.outputs=Fh(n.outputs),s&&s.forEach(a=>a(i)),i.directiveDefs=r?()=>("function"==typeof r?r():r).map(kh):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(xh):null,i})}function kh(n){return Ze(n)||function Fn(n){return n[Ja]||null}(n)}function xh(n){return function Zn(n){return n[el]||null}(n)}const Oh={};function Ye(n){return On(()=>{const e={type:n.type,bootstrap:n.bootstrap||ce,declarations:n.declarations||ce,imports:n.imports||ce,exports:n.exports||ce,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null};return null!=n.id&&(Oh[n.id]=n.type),e})}function Fh(n,e){if(null==n)return Mi;const t={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),t[r]=i,e&&(e[r]=s)}return t}const N=Vs;function Ze(n){return n[Ls]||null}function kt(n,e){const t=n[Ih]||null;if(!t&&!0===e)throw new Error(`Type ${ne(n)} does not have '\u0275mod' property.`);return t}const H=11;function nn(n){return Array.isArray(n)&&"object"==typeof n[1]}function zt(n){return Array.isArray(n)&&!0===n[1]}function il(n){return 0!=(8&n.flags)}function $s(n){return 2==(2&n.flags)}function Us(n){return 1==(1&n.flags)}function Gt(n){return null!==n.template}function gC(n){return 0!=(512&n[2])}function ei(n,e){return n.hasOwnProperty(bn)?n[bn]:null}class Nh{constructor(e,t,i){this.previousValue=e,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function rn(){return Ph}function Ph(n){return n.type.prototype.ngOnChanges&&(n.setInput=vC),yC}function yC(){const n=Vh(this),e=null==n?void 0:n.current;if(e){const t=n.previous;if(t===Mi)n.previous=e;else for(let i in e)t[i]=e[i];n.current=null,this.ngOnChanges(e)}}function vC(n,e,t,i){const r=Vh(n)||function bC(n,e){return n[Lh]=e}(n,{previous:Mi,current:null}),s=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[t],l=o[a];s[a]=new Nh(l&&l.currentValue,e,o===Mi),n[i]=e}rn.ngInherit=!0;const Lh="__ngSimpleChanges__";function Vh(n){return n[Lh]||null}let ll;function Se(n){return!!n.listen}const Bh={createRenderer:(n,e)=>function cl(){return void 0!==ll?ll:"undefined"!=typeof document?document:void 0}()};function xe(n){for(;Array.isArray(n);)n=n[0];return n}function zs(n,e){return xe(e[n])}function yt(n,e){return xe(e[n.index])}function ul(n,e){return n.data[e]}function vt(n,e){const t=e[n];return nn(t)?t:t[0]}function jh(n){return 4==(4&n[2])}function dl(n){return 128==(128&n[2])}function Rn(n,e){return null==e?null:n[e]}function Hh(n){n[18]=0}function hl(n,e){n[5]+=e;let t=n,i=n[3];for(;null!==i&&(1===e&&1===t[5]||-1===e&&0===t[5]);)i[5]+=e,t=i,i=i[3]}const L={lFrame:Zh(null),bindingsEnabled:!0};function Uh(){return L.bindingsEnabled}function y(){return L.lFrame.lView}function Q(){return L.lFrame.tView}function Ve(){let n=zh();for(;null!==n&&64===n.type;)n=n.parent;return n}function zh(){return L.lFrame.currentTNode}function sn(n,e){const t=L.lFrame;t.currentTNode=n,t.isParent=e}function fl(){return L.lFrame.isParent}function pl(){L.lFrame.isParent=!1}function Oi(){return L.lFrame.bindingIndex++}function VC(n,e){const t=L.lFrame;t.bindingIndex=t.bindingRootIndex=n,gl(e)}function gl(n){L.lFrame.currentDirectiveIndex=n}function qh(){return L.lFrame.currentQueryIndex}function _l(n){L.lFrame.currentQueryIndex=n}function jC(n){const e=n[1];return 2===e.type?e.declTNode:1===e.type?n[6]:null}function Kh(n,e,t){if(t&j.SkipSelf){let r=e,s=n;for(;!(r=r.parent,null!==r||t&j.Host||(r=jC(s),null===r||(s=s[15],10&r.type))););if(null===r)return!1;e=r,n=s}const i=L.lFrame=Yh();return i.currentTNode=e,i.lView=n,!0}function Ws(n){const e=Yh(),t=n[1];L.lFrame=e,e.currentTNode=t.firstChild,e.lView=n,e.tView=t,e.contextLView=n,e.bindingIndex=t.bindingStartIndex,e.inI18n=!1}function Yh(){const n=L.lFrame,e=null===n?null:n.child;return null===e?Zh(n):e}function Zh(n){const e={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:n,child:null,inI18n:!1};return null!==n&&(n.child=e),e}function Qh(){const n=L.lFrame;return L.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Xh=Qh;function qs(){const n=Qh();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function rt(){return L.lFrame.selectedIndex}function Nn(n){L.lFrame.selectedIndex=n}function ve(){const n=L.lFrame;return ul(n.tView,n.selectedIndex)}function Ks(n,e){for(let t=e.directiveStart,i=e.directiveEnd;t<i;t++){const s=n.data[t].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=s;o&&(n.contentHooks||(n.contentHooks=[])).push(-t,o),a&&((n.contentHooks||(n.contentHooks=[])).push(t,a),(n.contentCheckHooks||(n.contentCheckHooks=[])).push(t,a)),l&&(n.viewHooks||(n.viewHooks=[])).push(-t,l),c&&((n.viewHooks||(n.viewHooks=[])).push(t,c),(n.viewCheckHooks||(n.viewCheckHooks=[])).push(t,c)),null!=u&&(n.destroyHooks||(n.destroyHooks=[])).push(t,u)}}function Ys(n,e,t){tf(n,e,3,t)}function Zs(n,e,t,i){(3&n[2])===t&&tf(n,e,t,i)}function yl(n,e){let t=n[2];(3&t)===e&&(t&=2047,t+=1,n[2]=t)}function tf(n,e,t,i){const s=null!=i?i:-1,o=e.length-1;let a=0;for(let l=void 0!==i?65535&n[18]:0;l<o;l++)if("number"==typeof e[l+1]){if(a=e[l],null!=i&&a>=i)break}else e[l]<0&&(n[18]+=65536),(a<s||-1==s)&&(qC(n,t,e,l),n[18]=(4294901760&n[18])+l+2),l++}function qC(n,e,t,i){const r=t[i]<0,s=t[i+1],a=n[r?-t[i]:t[i]];if(r){if(n[2]>>11<n[18]>>16&&(3&n[2])===e){n[2]+=2048;try{s.call(a)}finally{}}}else try{s.call(a)}finally{}}class Ir{constructor(e,t,i){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function Qs(n,e,t){const i=Se(n);let r=0;for(;r<t.length;){const s=t[r];if("number"==typeof s){if(0!==s)break;r++;const o=t[r++],a=t[r++],l=t[r++];i?n.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=s,a=t[++r];bl(o)?i&&n.setProperty(e,o,a):i?n.setAttribute(e,o,a):e.setAttribute(o,a),r++}}return r}function nf(n){return 3===n||4===n||6===n}function bl(n){return 64===n.charCodeAt(0)}function Xs(n,e){if(null!==e&&0!==e.length)if(null===n||0===n.length)n=e.slice();else{let t=-1;for(let i=0;i<e.length;i++){const r=e[i];"number"==typeof r?t=r:0===t||rf(n,t,r,null,-1===t||2===t?e[++i]:null)}}return n}function rf(n,e,t,i,r){let s=0,o=n.length;if(-1===e)o=-1;else for(;s<n.length;){const a=n[s++];if("number"==typeof a){if(a===e){o=-1;break}if(a>e){o=s-1;break}}}for(;s<n.length;){const a=n[s];if("number"==typeof a)break;if(a===t){if(null===i)return void(null!==r&&(n[s+1]=r));if(i===n[s+1])return void(n[s+2]=r)}s++,null!==i&&s++,null!==r&&s++}-1!==o&&(n.splice(o,0,e),s=o+1),n.splice(s++,0,t),null!==i&&n.splice(s++,0,i),null!==r&&n.splice(s++,0,r)}function sf(n){return-1!==n}function Fi(n){return 32767&n}function Ri(n,e){let t=function XC(n){return n>>16}(n),i=e;for(;t>0;)i=i[15],t--;return i}let Dl=!0;function Js(n){const e=Dl;return Dl=n,e}let JC=0;function xr(n,e){const t=El(n,e);if(-1!==t)return t;const i=e[1];i.firstCreatePass&&(n.injectorIndex=e.length,Cl(i.data,n),Cl(e,null),Cl(i.blueprint,null));const r=eo(n,e),s=n.injectorIndex;if(sf(r)){const o=Fi(r),a=Ri(r,e),l=a[1].data;for(let c=0;c<8;c++)e[s+c]=a[o+c]|l[o+c]}return e[s+8]=r,s}function Cl(n,e){n.push(0,0,0,0,0,0,0,0,e)}function El(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===e[n.injectorIndex+8]?-1:n.injectorIndex}function eo(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let t=0,i=null,r=e;for(;null!==r;){const s=r[1],o=s.type;if(i=2===o?s.declTNode:1===o?r[6]:null,null===i)return-1;if(t++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return-1}function to(n,e,t){!function eE(n,e,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(wr)&&(i=t[wr]),null==i&&(i=t[wr]=JC++);const r=255&i;e.data[n+(r>>5)]|=1<<r}(n,e,t)}function cf(n,e,t){if(t&j.Optional)return n;Ns(e,"NodeInjector")}function uf(n,e,t,i){if(t&j.Optional&&void 0===i&&(i=null),0==(t&(j.Self|j.Host))){const r=n[9],s=xn(void 0);try{return r?r.get(e,i,t&j.Optional):Th(e,i,t&j.Optional)}finally{xn(s)}}return cf(i,e,t)}function df(n,e,t,i=j.Default,r){if(null!==n){const s=function rE(n){if("string"==typeof n)return n.charCodeAt(0)||0;const e=n.hasOwnProperty(wr)?n[wr]:void 0;return"number"==typeof e?e>=0?255&e:nE:e}(t);if("function"==typeof s){if(!Kh(e,n,i))return i&j.Host?cf(r,t,i):uf(e,t,i,r);try{const o=s(i);if(null!=o||i&j.Optional)return o;Ns(t)}finally{Xh()}}else if("number"==typeof s){let o=null,a=El(n,e),l=-1,c=i&j.Host?e[16][6]:null;for((-1===a||i&j.SkipSelf)&&(l=-1===a?eo(n,e):e[a+8],-1!==l&&pf(i,!1)?(o=e[1],a=Fi(l),e=Ri(l,e)):a=-1);-1!==a;){const u=e[1];if(ff(s,a,u.data)){const d=iE(a,e,t,o,i,c);if(d!==hf)return d}l=e[a+8],-1!==l&&pf(i,e[1].data[a+8]===c)&&ff(s,a,e)?(o=u,a=Fi(l),e=Ri(l,e)):a=-1}}}return uf(e,t,i,r)}const hf={};function nE(){return new Ni(Ve(),y())}function iE(n,e,t,i,r,s){const o=e[1],a=o.data[n+8],u=no(a,o,t,null==i?$s(a)&&Dl:i!=o&&0!=(3&a.type),r&j.Host&&s===a);return null!==u?Or(e,o,u,a):hf}function no(n,e,t,i,r){const s=n.providerIndexes,o=e.data,a=1048575&s,l=n.directiveStart,u=s>>20,h=r?a+u:n.directiveEnd;for(let f=i?a:a+u;f<h;f++){const p=o[f];if(f<l&&t===p||f>=l&&p.type===t)return f}if(r){const f=o[l];if(f&&Gt(f)&&f.type===t)return l}return null}function Or(n,e,t,i){let r=n[t];const s=e.data;if(function KC(n){return n instanceof Ir}(r)){const o=r;o.resolving&&function XD(n,e){const t=e?`. Dependency path: ${e.join(" > ")} > ${n}`:"";throw new S(-200,`Circular dependency in DI detected for ${n}${t}`)}(Ke(s[t]));const a=Js(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?xn(o.injectImpl):null;Kh(n,i,j.Default);try{r=n[t]=o.factory(void 0,s,n,i),e.firstCreatePass&&t>=i.directiveStart&&function WC(n,e,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=e.type.prototype;if(i){const o=Ph(e);(t.preOrderHooks||(t.preOrderHooks=[])).push(n,o),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,o)}r&&(t.preOrderHooks||(t.preOrderHooks=[])).push(0-n,r),s&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n,s),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,s))}(t,s[t],e)}finally{null!==l&&xn(l),Js(a),o.resolving=!1,Xh()}}return r}function ff(n,e,t){return!!(t[e+(n>>5)]&1<<n)}function pf(n,e){return!(n&j.Self||n&j.Host&&e)}class Ni{constructor(e,t){this._tNode=e,this._lView=t}get(e,t,i){return df(this._tNode,this._lView,e,i,t)}}function ze(n){return On(()=>{const e=n.prototype.constructor,t=e[bn]||wl(e),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const s=r[bn]||wl(r);if(s&&s!==t)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function wl(n){return wh(n)?()=>{const e=wl($(n));return e&&e()}:ei(n)}class I{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=x({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}function Ft(n,e){void 0===e&&(e=n);for(let t=0;t<n.length;t++){let i=n[t];Array.isArray(i)?(e===n&&(e=n.slice(0,t)),Ft(i,e)):e!==n&&e.push(i)}return e}function on(n,e){n.forEach(t=>Array.isArray(t)?on(t,e):e(t))}function mf(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function ro(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function Nr(n,e){const t=[];for(let i=0;i<n;i++)t.push(e);return t}function bt(n,e,t){let i=ji(n,e);return i>=0?n[1|i]=t:(i=~i,function lE(n,e,t,i){let r=n.length;if(r==e)n.push(t,i);else if(1===r)n.push(i,n[0]),n[0]=t;else{for(r--,n.push(n[r-1],n[r]);r>e;)n[r]=n[r-2],r--;n[e]=t,n[e+1]=i}}(n,i,e,t)),i}function Al(n,e){const t=ji(n,e);if(t>=0)return n[1|t]}function ji(n,e){return function vf(n,e,t){let i=0,r=n.length>>t;for(;r!==i;){const s=i+(r-i>>1),o=n[s<<t];if(e===o)return s<<t;o>e?r=s:i=s+1}return~(r<<t)}(n,e,1)}const Pr={},oo="ngTempTokenPath",gE=/\n/gm,Df="__source",_E=le({provide:String,useValue:le});let Lr;function Cf(n){const e=Lr;return Lr=n,e}function yE(n,e=j.Default){if(void 0===Lr)throw new S(203,"");return null===Lr?Th(n,void 0,e):Lr.get(n,e&j.Optional?null:void 0,e)}function v(n,e=j.Default){return(function sC(){return Xa}()||yE)($(n),e)}const kl=v;function xl(n){const e=[];for(let t=0;t<n.length;t++){const i=$(n[t]);if(Array.isArray(i)){if(0===i.length)throw new S(900,"");let r,s=j.Default;for(let o=0;o<i.length;o++){const a=i[o],l=vE(a);"number"==typeof l?-1===l?r=a.token:s|=l:r=a}e.push(v(r,s))}else e.push(v(i))}return e}function vE(n){return n.__NG_DI_FLAG__}var Dt=(()=>((Dt=Dt||{})[Dt.Important=1]="Important",Dt[Dt.DashCase=2]="DashCase",Dt))();const kf="__ngContext__";function et(n,e){n[kf]=e}function Nl(n){const e=function jr(n){return n[kf]||null}(n);return e?Array.isArray(e)?e:e.lView:null}function Ll(n,e){return undefined(n,e)}function Hr(n){const e=n[3];return zt(e)?e[3]:e}function Vl(n){return Lf(n[13])}function Bl(n){return Lf(n[4])}function Lf(n){for(;null!==n&&!zt(n);)n=n[4];return n}function $i(n,e,t,i,r){if(null!=i){let s,o=!1;zt(i)?s=i:nn(i)&&(o=!0,i=i[0]);const a=xe(i);0===n&&null!==t?null==r?Uf(e,t,a):ti(e,t,a,r||null,!0):1===n&&null!==t?ti(e,t,a,r||null,!0):2===n?function Wl(n,e,t){const i=uo(n,e);i&&function ZE(n,e,t,i){Se(n)?n.removeChild(e,t,i):e.removeChild(t)}(n,i,e,t)}(e,a,o):3===n&&e.destroyNode(a),null!=s&&function JE(n,e,t,i,r){const s=t[7];s!==xe(t)&&$i(e,n,i,s,r);for(let a=10;a<t.length;a++){const l=t[a];$r(l[1],l,n,e,i,s)}}(e,n,s,t,r)}}function Hl(n,e,t){if(Se(n))return n.createElement(e,t);{const i=null!==t?function wC(n){const e=n.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(t):null;return null===i?n.createElement(e):n.createElementNS(i,e)}}function Bf(n,e){const t=n[9],i=t.indexOf(e),r=e[3];1024&e[2]&&(e[2]&=-1025,hl(r,-1)),t.splice(i,1)}function $l(n,e){if(n.length<=10)return;const t=10+e,i=n[t];if(i){const r=i[17];null!==r&&r!==n&&Bf(r,i),e>0&&(n[t-1][4]=i[4]);const s=ro(n,10+e);!function $E(n,e){$r(n,e,e[H],2,null,null),e[0]=null,e[6]=null}(i[1],i);const o=s[19];null!==o&&o.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function jf(n,e){if(!(256&e[2])){const t=e[H];Se(t)&&t.destroyNode&&$r(n,e,t,3,null,null),function GE(n){let e=n[13];if(!e)return Ul(n[1],n);for(;e;){let t=null;if(nn(e))t=e[13];else{const i=e[10];i&&(t=i)}if(!t){for(;e&&!e[4]&&e!==n;)nn(e)&&Ul(e[1],e),e=e[3];null===e&&(e=n),nn(e)&&Ul(e[1],e),t=e&&e[4]}e=t}}(e)}}function Ul(n,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function YE(n,e){let t;if(null!=n&&null!=(t=n.destroyHooks))for(let i=0;i<t.length;i+=2){const r=e[t[i]];if(!(r instanceof Ir)){const s=t[i+1];if(Array.isArray(s))for(let o=0;o<s.length;o+=2){const a=r[s[o]],l=s[o+1];try{l.call(a)}finally{}}else try{s.call(r)}finally{}}}}(n,e),function KE(n,e){const t=n.cleanup,i=e[7];let r=-1;if(null!==t)for(let s=0;s<t.length-1;s+=2)if("string"==typeof t[s]){const o=t[s+1],a="function"==typeof o?o(e):xe(e[o]),l=i[r=t[s+2]],c=t[s+3];"boolean"==typeof c?a.removeEventListener(t[s],l,c):c>=0?i[r=c]():i[r=-c].unsubscribe(),s+=2}else{const o=i[r=t[s+1]];t[s].call(o)}if(null!==i){for(let s=r+1;s<i.length;s++)i[s]();e[7]=null}}(n,e),1===e[1].type&&Se(e[H])&&e[H].destroy();const t=e[17];if(null!==t&&zt(e[3])){t!==e[3]&&Bf(t,e);const i=e[19];null!==i&&i.detachView(n)}}}function Hf(n,e,t){return function $f(n,e,t){let i=e;for(;null!==i&&40&i.type;)i=(e=i).parent;if(null===i)return t[0];if(2&i.flags){const r=n.data[i.directiveStart].encapsulation;if(r===$t.None||r===$t.Emulated)return null}return yt(i,t)}(n,e.parent,t)}function ti(n,e,t,i,r){Se(n)?n.insertBefore(e,t,i,r):e.insertBefore(t,i,r)}function Uf(n,e,t){Se(n)?n.appendChild(e,t):e.appendChild(t)}function zf(n,e,t,i,r){null!==i?ti(n,e,t,i,r):Uf(n,e,t)}function uo(n,e){return Se(n)?n.parentNode(e):e.parentNode}function Gf(n,e,t){return qf(n,e,t)}let qf=function Wf(n,e,t){return 40&n.type?yt(n,t):null};function ho(n,e,t,i){const r=Hf(n,i,e),s=e[H],a=Gf(i.parent||e[6],i,e);if(null!=r)if(Array.isArray(t))for(let l=0;l<t.length;l++)zf(s,r,t[l],a,!1);else zf(s,r,t,a,!1)}function fo(n,e){if(null!==e){const t=e.type;if(3&t)return yt(e,n);if(4&t)return Gl(-1,n[e.index]);if(8&t){const i=e.child;if(null!==i)return fo(n,i);{const r=n[e.index];return zt(r)?Gl(-1,r):xe(r)}}if(32&t)return Ll(e,n)()||xe(n[e.index]);{const i=Yf(n,e);return null!==i?Array.isArray(i)?i[0]:fo(Hr(n[16]),i):fo(n,e.next)}}return null}function Yf(n,e){return null!==e?n[16][6].projection[e.projection]:null}function Gl(n,e){const t=10+n+1;if(t<e.length){const i=e[t],r=i[1].firstChild;if(null!==r)return fo(i,r)}return e[7]}function ql(n,e,t,i,r,s,o){for(;null!=t;){const a=i[t.index],l=t.type;if(o&&0===e&&(a&&et(xe(a),i),t.flags|=4),64!=(64&t.flags))if(8&l)ql(n,e,t.child,i,r,s,!1),$i(e,n,r,a,s);else if(32&l){const c=Ll(t,i);let u;for(;u=c();)$i(e,n,r,u,s);$i(e,n,r,a,s)}else 16&l?Zf(n,e,i,t,r,s):$i(e,n,r,a,s);t=o?t.projectionNext:t.next}}function $r(n,e,t,i,r,s){ql(t,i,n.firstChild,e,r,s,!1)}function Zf(n,e,t,i,r,s){const o=t[16],l=o[6].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)$i(e,n,r,l[c],s);else ql(n,e,l,o[3],r,s,!0)}function Qf(n,e,t){Se(n)?n.setAttribute(e,"style",t):e.style.cssText=t}function Kl(n,e,t){Se(n)?""===t?n.removeAttribute(e,"class"):n.setAttribute(e,"class",t):e.className=t}function nc(n){return n.ngOriginalError}function xw(n,...e){n.error(...e)}class Wr{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),i=function kw(n){return n&&n.ngErrorLogger||xw}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t)}_findOriginalError(e){let t=e&&nc(e);for(;t&&nc(t);)t=nc(t);return t||null}}const Vw=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(se))();function ln(n){return n instanceof Function?n():n}function hp(n,e,t){let i=n.length;for(;;){const r=n.indexOf(e,t);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const s=e.length;if(r+s===i||n.charCodeAt(r+s)<=32)return r}t=r+1}}const fp="ng-template";function $w(n,e,t){let i=0;for(;i<n.length;){let r=n[i++];if(t&&"class"===r){if(r=n[i],-1!==hp(r.toLowerCase(),e,0))return!0}else if(1===r){for(;i<n.length&&"string"==typeof(r=n[i++]);)if(r.toLowerCase()===e)return!0;return!1}}return!1}function pp(n){return 4===n.type&&n.value!==fp}function Uw(n,e,t){return e===(4!==n.type||t?n.value:fp)}function zw(n,e,t){let i=4;const r=n.attrs||[],s=function qw(n){for(let e=0;e<n.length;e++)if(nf(n[e]))return e;return n.length}(r);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&i){if(i=2|1&i,""!==l&&!Uw(n,l,t)||""===l&&1===e.length){if(Wt(i))return!1;o=!0}}else{const c=8&i?l:e[++a];if(8&i&&null!==n.attrs){if(!$w(n.attrs,c,t)){if(Wt(i))return!1;o=!0}continue}const d=Gw(8&i?"class":l,r,pp(n),t);if(-1===d){if(Wt(i))return!1;o=!0;continue}if(""!==c){let h;h=d>s?"":r[d+1].toLowerCase();const f=8&i?h:null;if(f&&-1!==hp(f,c,0)||2&i&&c!==h){if(Wt(i))return!1;o=!0}}}}else{if(!o&&!Wt(i)&&!Wt(l))return!1;if(o&&Wt(l))continue;o=!1,i=l|1&i}}return Wt(i)||o}function Wt(n){return 0==(1&n)}function Gw(n,e,t,i){if(null===e)return-1;let r=0;if(i||!t){let s=!1;for(;r<e.length;){const o=e[r];if(o===n)return r;if(3===o||6===o)s=!0;else{if(1===o||2===o){let a=e[++r];for(;"string"==typeof a;)a=e[++r];continue}if(4===o)break;if(0===o){r+=4;continue}}r+=s?1:2}return-1}return function Kw(n,e){let t=n.indexOf(4);if(t>-1)for(t++;t<n.length;){const i=n[t];if("number"==typeof i)return-1;if(i===e)return t;t++}return-1}(e,n)}function gp(n,e,t=!1){for(let i=0;i<e.length;i++)if(zw(n,e[i],t))return!0;return!1}function Yw(n,e){e:for(let t=0;t<e.length;t++){const i=e[t];if(n.length===i.length){for(let r=0;r<n.length;r++)if(n[r]!==i[r])continue e;return!0}}return!1}function mp(n,e){return n?":not("+e.trim()+")":e}function Zw(n){let e=n[0],t=1,i=2,r="",s=!1;for(;t<n.length;){let o=n[t];if("string"==typeof o)if(2&i){const a=n[++t];r+="["+o+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""!==r&&!Wt(o)&&(e+=mp(s,r),r=""),i=o,s=s||!Wt(i);t++}return""!==r&&(e+=mp(s,r)),e}const V={};function qr(n){_p(Q(),y(),rt()+n,!1)}function _p(n,e,t,i){if(!i)if(3==(3&e[2])){const s=n.preOrderCheckHooks;null!==s&&Ys(e,s,t)}else{const s=n.preOrderHooks;null!==s&&Zs(e,s,0,t)}Nn(t)}function yo(n,e){return n<<17|e<<2}function qt(n){return n>>17&32767}function ic(n){return 2|n}function En(n){return(131068&n)>>2}function rc(n,e){return-131069&n|e<<2}function sc(n){return 1|n}function Tp(n,e){const t=n.contentQueries;if(null!==t)for(let i=0;i<t.length;i+=2){const r=t[i],s=t[i+1];if(-1!==s){const o=n.data[s];_l(r),o.contentQueries(2,e[s],s)}}}function Kr(n,e,t,i,r,s,o,a,l,c){const u=e.blueprint.slice();return u[0]=r,u[2]=140|i,Hh(u),u[3]=u[15]=n,u[8]=t,u[10]=o||n&&n[10],u[H]=a||n&&n[H],u[12]=l||n&&n[12]||null,u[9]=c||n&&n[9]||null,u[6]=s,u[16]=2==e.type?n[16]:u,u}function zi(n,e,t,i,r){let s=n.data[e];if(null===s)s=function pc(n,e,t,i,r){const s=zh(),o=fl(),l=n.data[e]=function pS(n,e,t,i,r,s){return{type:t,index:i,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?s:s&&s.parent,t,e,i,r);return null===n.firstChild&&(n.firstChild=l),null!==s&&(o?null==s.child&&null!==l.parent&&(s.child=l):null===s.next&&(s.next=l)),l}(n,e,t,i,r),function LC(){return L.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=t,s.value=i,s.attrs=r;const o=function Tr(){const n=L.lFrame,e=n.currentTNode;return n.isParent?e:e.parent}();s.injectorIndex=null===o?-1:o.injectorIndex}return sn(s,!0),s}function Gi(n,e,t,i){if(0===t)return-1;const r=e.length;for(let s=0;s<t;s++)e.push(i),n.blueprint.push(i),n.data.push(null);return r}function Yr(n,e,t){Ws(e);try{const i=n.viewQuery;null!==i&&Ec(1,i,t);const r=n.template;null!==r&&Ip(n,e,r,1,t),n.firstCreatePass&&(n.firstCreatePass=!1),n.staticContentQueries&&Tp(n,e),n.staticViewQueries&&Ec(2,n.viewQuery,t);const s=n.components;null!==s&&function dS(n,e){for(let t=0;t<e.length;t++)OS(n,e[t])}(e,s)}catch(i){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),i}finally{e[2]&=-5,qs()}}function Wi(n,e,t,i){const r=e[2];if(256!=(256&r)){Ws(e);try{Hh(e),function Gh(n){return L.lFrame.bindingIndex=n}(n.bindingStartIndex),null!==t&&Ip(n,e,t,2,i);const o=3==(3&r);if(o){const c=n.preOrderCheckHooks;null!==c&&Ys(e,c,null)}else{const c=n.preOrderHooks;null!==c&&Zs(e,c,0,null),yl(e,0)}if(function kS(n){for(let e=Vl(n);null!==e;e=Bl(e)){if(!e[2])continue;const t=e[9];for(let i=0;i<t.length;i++){const r=t[i],s=r[3];0==(1024&r[2])&&hl(s,1),r[2]|=1024}}}(e),function IS(n){for(let e=Vl(n);null!==e;e=Bl(e))for(let t=10;t<e.length;t++){const i=e[t],r=i[1];dl(i)&&Wi(r,i,r.template,i[8])}}(e),null!==n.contentQueries&&Tp(n,e),o){const c=n.contentCheckHooks;null!==c&&Ys(e,c)}else{const c=n.contentHooks;null!==c&&Zs(e,c,1),yl(e,1)}!function cS(n,e){const t=n.hostBindingOpCodes;if(null!==t)try{for(let i=0;i<t.length;i++){const r=t[i];if(r<0)Nn(~r);else{const s=r,o=t[++i],a=t[++i];VC(o,s),a(2,e[s])}}}finally{Nn(-1)}}(n,e);const a=n.components;null!==a&&function uS(n,e){for(let t=0;t<e.length;t++)xS(n,e[t])}(e,a);const l=n.viewQuery;if(null!==l&&Ec(2,l,i),o){const c=n.viewCheckHooks;null!==c&&Ys(e,c)}else{const c=n.viewHooks;null!==c&&Zs(e,c,2),yl(e,2)}!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),e[2]&=-73,1024&e[2]&&(e[2]&=-1025,hl(e[3],-1))}finally{qs()}}}function hS(n,e,t,i){const r=e[10],o=jh(e);try{!o&&r.begin&&r.begin(),o&&Yr(n,e,i),Wi(n,e,t,i)}finally{!o&&r.end&&r.end()}}function Ip(n,e,t,i,r){const s=rt(),o=2&i;try{Nn(-1),o&&e.length>20&&_p(n,e,20,!1),t(i,r)}finally{Nn(s)}}function xp(n){const e=n.tView;return null===e||e.incompleteFirstPass?n.tView=Do(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts):e}function Do(n,e,t,i,r,s,o,a,l,c){const u=20+i,d=u+r,h=function fS(n,e){const t=[];for(let i=0;i<e;i++)t.push(i<n?null:V);return t}(u,d),f="function"==typeof c?c():c;return h[1]={type:n,blueprint:h,template:t,queries:null,viewQuery:a,declTNode:e,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:d,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 s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:f,incompleteFirstPass:!1}}function Rp(n,e,t,i){const r=zp(e);null===t?r.push(i):(r.push(t),n.firstCreatePass&&Gp(n).push(i,r.length-1))}function Np(n,e,t){for(let i in n)if(n.hasOwnProperty(i)){const r=n[i];(t=null===t?{}:t).hasOwnProperty(i)?t[i].push(e,r):t[i]=[e,r]}return t}function Ct(n,e,t,i,r,s,o,a){const l=yt(e,t);let u,c=e.inputs;!a&&null!=c&&(u=c[i])?(Kp(n,t,u,i,r),$s(e)&&function _S(n,e){const t=vt(e,n);16&t[2]||(t[2]|=64)}(t,e.index)):3&e.type&&(i=function mS(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(i),r=null!=o?o(r,e.value||"",i):r,Se(s)?s.setProperty(l,i,r):bl(i)||(l.setProperty?l.setProperty(i,r):l[i]=r))}function Lp(n,e,t,i,r,s){const o=s.hostBindings;if(o){let a=n.hostBindingOpCodes;null===a&&(a=n.hostBindingOpCodes=[]);const l=~e.index;(function bS(n){let e=n.length;for(;e>0;){const t=n[--e];if("number"==typeof t&&t<0)return t}return 0})(a)!=l&&a.push(l),a.push(i,r,o)}}function Vp(n,e){null!==n.hostBindings&&n.hostBindings(1,e)}function Bp(n,e){e.flags|=2,(n.components||(n.components=[])).push(e.index)}function SS(n,e,t){if(t){if(e.exportAs)for(let i=0;i<e.exportAs.length;i++)t[e.exportAs[i]]=n;Gt(e)&&(t[""]=n)}}function jp(n,e,t){n.flags|=1,n.directiveStart=e,n.directiveEnd=e+t,n.providerIndexes=e}function Hp(n,e,t,i,r){n.data[i]=r;const s=r.factory||(r.factory=ei(r.type)),o=new Ir(s,Gt(r),null);n.blueprint[i]=o,t[i]=o,Lp(n,e,0,i,Gi(n,t,r.hostVars,V),r)}function MS(n,e,t){const i=yt(e,n),r=xp(t),s=n[10],o=Co(n,Kr(n,r,null,t.onPush?64:16,i,e,s,s.createRenderer(i,t),null,null));n[e.index]=o}function cn(n,e,t,i,r,s){const o=yt(n,e);!function yc(n,e,t,i,r,s,o){if(null==s)Se(n)?n.removeAttribute(e,r,t):e.removeAttribute(r);else{const a=null==o?P(s):o(s,i||"",r);Se(n)?n.setAttribute(e,r,a,t):t?e.setAttributeNS(t,r,a):e.setAttribute(r,a)}}(e[H],o,s,n.value,t,i,r)}function AS(n,e,t,i,r,s){const o=s[e];if(null!==o){const a=i.setInput;for(let l=0;l<o.length;){const c=o[l++],u=o[l++],d=o[l++];null!==a?i.setInput(t,d,c,u):t[u]=d}}}function TS(n,e){let t=null,i=0;for(;i<e.length;){const r=e[i];if(0!==r)if(5!==r){if("number"==typeof r)break;n.hasOwnProperty(r)&&(null===t&&(t=[]),t.push(r,n[r],e[i+1])),i+=2}else i+=2;else i+=4}return t}function xS(n,e){const t=vt(e,n);if(dl(t)){const i=t[1];80&t[2]?Wi(i,t,i.template,t[8]):t[5]>0&&vc(t)}}function vc(n){for(let i=Vl(n);null!==i;i=Bl(i))for(let r=10;r<i.length;r++){const s=i[r];if(1024&s[2]){const o=s[1];Wi(o,s,o.template,s[8])}else s[5]>0&&vc(s)}const t=n[1].components;if(null!==t)for(let i=0;i<t.length;i++){const r=vt(t[i],n);dl(r)&&r[5]>0&&vc(r)}}function OS(n,e){const t=vt(e,n),i=t[1];(function FS(n,e){for(let t=e.length;t<n.blueprint.length;t++)e.push(n.blueprint[t])})(i,t),Yr(i,t,t[8])}function Co(n,e){return n[13]?n[14][4]=e:n[13]=e,n[14]=e,e}function bc(n){for(;n;){n[2]|=64;const e=Hr(n);if(gC(n)&&!e)return n;n=e}return null}function Up(n){!function Dc(n){for(let e=0;e<n.components.length;e++){const t=n.components[e],i=Nl(t),r=i[1];hS(r,i,r.template,t)}}(n[8])}function Ec(n,e,t){_l(0),e(n,t)}const NS=(()=>Promise.resolve(null))();function zp(n){return n[7]||(n[7]=[])}function Gp(n){return n.cleanup||(n.cleanup=[])}function qp(n,e){const t=n[9],i=t?t.get(Wr,null):null;i&&i.handleError(e)}function Kp(n,e,t,i,r){for(let s=0;s<t.length;){const o=t[s++],a=t[s++],l=e[o],c=n.data[o];null!==c.setInput?c.setInput(l,r,i,a):l[a]=r}}function wn(n,e,t){const i=zs(e,n);!function Vf(n,e,t){Se(n)?n.setValue(e,t):e.textContent=t}(n[H],i,t)}function Eo(n,e,t){let i=t?n.styles:null,r=t?n.classes:null,s=0;if(null!==e)for(let o=0;o<e.length;o++){const a=e[o];"number"==typeof a?s=a:1==s?r=Ka(r,a):2==s&&(i=Ka(i,a+": "+e[++o]+";"))}t?n.styles=i:n.stylesWithoutHost=i,t?n.classes=r:n.classesWithoutHost=r}const wc=new I("INJECTOR",-1);class Yp{get(e,t=Pr){if(t===Pr){const i=new Error(`NullInjectorError: No provider for ${ne(e)}!`);throw i.name="NullInjectorError",i}return t}}const Sc=new I("Set Injector scope."),Zr={},VS={};let Mc;function Zp(){return void 0===Mc&&(Mc=new Yp),Mc}function Qp(n,e=null,t=null,i){const r=Xp(n,e,t,i);return r._resolveInjectorDefTypes(),r}function Xp(n,e=null,t=null,i){return new BS(n,t,e||Zp(),i)}class BS{constructor(e,t,i,r=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];t&&on(t,a=>this.processProvider(a,e,t)),on([e],a=>this.processInjectorType(a,[],s)),this.records.set(wc,qi(void 0,this));const o=this.records.get(Sc);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof e?null:ne(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=Pr,i=j.Default){this.assertNotDestroyed();const r=Cf(this),s=xn(void 0);try{if(!(i&j.SkipSelf)){let a=this.records.get(e);if(void 0===a){const l=function qS(n){return"function"==typeof n||"object"==typeof n&&n instanceof I}(e)&&Za(e);a=l&&this.injectableDefInScope(l)?qi(Ac(e),Zr):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(i&j.Self?Zp():this.parent).get(e,t=i&j.Optional&&t===Pr?null:t)}catch(o){if("NullInjectorError"===o.name){if((o[oo]=o[oo]||[]).unshift(ne(e)),r)throw o;return function bE(n,e,t,i){const r=n[oo];throw e[Df]&&r.unshift(e[Df]),n.message=function DE(n,e,t,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.substr(2):n;let r=ne(e);if(Array.isArray(e))r=e.map(ne).join(" -> ");else if("object"==typeof e){let s=[];for(let o in e)if(e.hasOwnProperty(o)){let a=e[o];s.push(o+":"+("string"==typeof a?JSON.stringify(a):ne(a)))}r=`{${s.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${n.replace(gE,"\n ")}`}("\n"+n.message,r,t,i),n.ngTokenPath=r,n[oo]=null,n}(o,e,"R3InjectorError",this.source)}throw o}finally{xn(s),Cf(r)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((i,r)=>e.push(ne(r))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processInjectorType(e,t,i){if(!(e=$(e)))return!1;let r=Mh(e);const s=null==r&&e.ngModule||void 0,o=void 0===s?e:s,a=-1!==i.indexOf(o);if(void 0!==s&&(r=Mh(s)),null==r)return!1;if(null!=r.imports&&!a){let u;i.push(o);try{on(r.imports,d=>{this.processInjectorType(d,t,i)&&(void 0===u&&(u=[]),u.push(d))})}finally{}if(void 0!==u)for(let d=0;d<u.length;d++){const{ngModule:h,providers:f}=u[d];on(f,p=>this.processProvider(p,h,f||ce))}}this.injectorDefTypes.add(o);const l=ei(o)||(()=>new o);this.records.set(o,qi(l,Zr));const c=r.providers;if(null!=c&&!a){const u=e;on(c,d=>this.processProvider(d,u,c))}return void 0!==s&&void 0!==e.providers}processProvider(e,t,i){let r=Ki(e=$(e))?e:$(e&&e.provide);const s=function HS(n,e,t){return eg(n)?qi(void 0,n.useValue):qi(Jp(n),Zr)}(e);if(Ki(e)||!0!==e.multi)this.records.get(r);else{let o=this.records.get(r);o||(o=qi(void 0,Zr,!0),o.factory=()=>xl(o.multi),this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,s)}hydrate(e,t){return t.value===Zr&&(t.value=VS,t.value=t.factory()),"object"==typeof t.value&&t.value&&function WS(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(t.value)&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){if(!e.providedIn)return!1;const t=$(e.providedIn);return"string"==typeof t?"any"===t||t===this.scope:this.injectorDefTypes.has(t)}}function Ac(n){const e=Za(n),t=null!==e?e.factory:ei(n);if(null!==t)return t;if(n instanceof I)throw new S(204,!1);if(n instanceof Function)return function jS(n){const e=n.length;if(e>0)throw Nr(e,"?"),new S(204,!1);const t=function nC(n){const e=n&&(n[Ps]||n[Ah]);if(e){const t=function iC(n){if(n.hasOwnProperty("name"))return n.name;const e=(""+n).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${t}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${t}" class.`),e}return null}(n);return null!==t?()=>t.factory(n):()=>new n}(n);throw new S(204,!1)}function Jp(n,e,t){let i;if(Ki(n)){const r=$(n);return ei(r)||Ac(r)}if(eg(n))i=()=>$(n.useValue);else if(function US(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...xl(n.deps||[]));else if(function $S(n){return!(!n||!n.useExisting)}(n))i=()=>v($(n.useExisting));else{const r=$(n&&(n.useClass||n.provide));if(!function GS(n){return!!n.deps}(n))return ei(r)||Ac(r);i=()=>new r(...xl(n.deps))}return i}function qi(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function eg(n){return null!==n&&"object"==typeof n&&_E in n}function Ki(n){return"function"==typeof n}let dt=(()=>{class n{static create(t,i){var r;if(Array.isArray(t))return Qp({name:""},i,t,"");{const s=null!==(r=t.name)&&void 0!==r?r:"";return Qp({name:s},t.parent,t.providers,s)}}}return n.THROW_IF_NOT_FOUND=Pr,n.NULL=new Yp,n.\u0275prov=x({token:n,providedIn:"any",factory:()=>v(wc)}),n.__NG_ELEMENT_ID__=-1,n})();function tM(n,e){Ks(Nl(n)[1],Ve())}function ee(n){let e=function hg(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),t=!0;const i=[n];for(;e;){let r;if(Gt(n))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new S(903,"");r=e.\u0275dir}if(r){if(t){i.push(r);const o=n;o.inputs=kc(n.inputs),o.declaredInputs=kc(n.declaredInputs),o.outputs=kc(n.outputs);const a=r.hostBindings;a&&sM(n,a);const l=r.viewQuery,c=r.contentQueries;if(l&&iM(n,l),c&&rM(n,c),qa(n.inputs,r.inputs),qa(n.declaredInputs,r.declaredInputs),qa(n.outputs,r.outputs),Gt(r)&&r.data.animation){const u=n.data;u.animation=(u.animation||[]).concat(r.data.animation)}}const s=r.features;if(s)for(let o=0;o<s.length;o++){const a=s[o];a&&a.ngInherit&&a(n),a===ee&&(t=!1)}}e=Object.getPrototypeOf(e)}!function nM(n){let e=0,t=null;for(let i=n.length-1;i>=0;i--){const r=n[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Xs(r.hostAttrs,t=Xs(t,r.hostAttrs))}}(i)}function kc(n){return n===Mi?{}:n===ce?[]:n}function iM(n,e){const t=n.viewQuery;n.viewQuery=t?(i,r)=>{e(i,r),t(i,r)}:e}function rM(n,e){const t=n.contentQueries;n.contentQueries=t?(i,r,s)=>{e(i,r,s),t(i,r,s)}:e}function sM(n,e){const t=n.hostBindings;n.hostBindings=t?(i,r)=>{e(i,r),t(i,r)}:e}let wo=null;function Yi(){if(!wo){const n=se.Symbol;if(n&&n.iterator)wo=n.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const i=e[t];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(wo=i)}}}return wo}function tt(n,e,t){return!Object.is(n[e],t)&&(n[e]=t,!0)}function Nt(n,e,t,i){const r=y();return tt(r,Oi(),e)&&(Q(),cn(ve(),r,n,e,t,i)),Nt}function Oc(n){return function xi(n,e){return n[e]}(function PC(){return L.lFrame.contextLView}(),20+n)}function b(n,e=j.Default){const t=y();return null===t?v(n,e):df(Ve(),t,$(n),e)}function Jr(n,e,t){const i=y();return tt(i,Oi(),e)&&Ct(Q(),ve(),i,n,e,i[H],t,!1),Jr}function Lc(n,e,t,i,r){const o=r?"class":"style";Kp(n,t,e.inputs[o],o,i)}function dn(n,e,t,i){const r=y(),s=Q(),o=20+n,a=r[H],l=r[o]=Hl(a,e,function GC(){return L.lFrame.currentNamespace}()),c=s.firstCreatePass?function NM(n,e,t,i,r,s,o){const a=e.consts,c=zi(e,n,2,r,Rn(a,s));return function _c(n,e,t,i){let r=!1;if(Uh()){const s=function ES(n,e,t){const i=n.directiveRegistry;let r=null;if(i)for(let s=0;s<i.length;s++){const o=i[s];gp(t,o.selectors,!1)&&(r||(r=[]),to(xr(t,e),n,o.type),Gt(o)?(Bp(n,t),r.unshift(o)):r.push(o))}return r}(n,e,t),o=null===i?null:{"":-1};if(null!==s){r=!0,jp(t,n.data.length,s.length);for(let u=0;u<s.length;u++){const d=s[u];d.providersResolver&&d.providersResolver(d)}let a=!1,l=!1,c=Gi(n,e,s.length,null);for(let u=0;u<s.length;u++){const d=s[u];t.mergedAttrs=Xs(t.mergedAttrs,d.hostAttrs),Hp(n,t,e,c,d),SS(c,d,o),null!==d.contentQueries&&(t.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(t.flags|=128);const h=d.type.prototype;!a&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t.index),a=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t.index),l=!0),c++}!function gS(n,e){const i=e.directiveEnd,r=n.data,s=e.attrs,o=[];let a=null,l=null;for(let c=e.directiveStart;c<i;c++){const u=r[c],d=u.inputs,h=null===s||pp(e)?null:TS(d,s);o.push(h),a=Np(d,c,a),l=Np(u.outputs,c,l)}null!==a&&(a.hasOwnProperty("class")&&(e.flags|=16),a.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=o,e.inputs=a,e.outputs=l}(n,t)}o&&function wS(n,e,t){if(e){const i=n.localNames=[];for(let r=0;r<e.length;r+=2){const s=t[e[r+1]];if(null==s)throw new S(-301,!1);i.push(e[r],s)}}}(t,i,o)}return t.mergedAttrs=Xs(t.mergedAttrs,t.attrs),r}(e,t,c,Rn(a,o)),null!==c.attrs&&Eo(c,c.attrs,!1),null!==c.mergedAttrs&&Eo(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(o,s,r,0,e,t,i):s.data[o];sn(c,!0);const u=c.mergedAttrs;null!==u&&Qs(a,l,u);const d=c.classes;null!==d&&Kl(a,l,d);const h=c.styles;return null!==h&&Qf(a,l,h),64!=(64&c.flags)&&ho(s,r,l,c),0===function kC(){return L.lFrame.elementDepthCount}()&&et(l,r),function xC(){L.lFrame.elementDepthCount++}(),Us(c)&&(function gc(n,e,t){!Uh()||(function DS(n,e,t,i){const r=t.directiveStart,s=t.directiveEnd;n.firstCreatePass||xr(t,e),et(i,e);const o=t.initialInputs;for(let a=r;a<s;a++){const l=n.data[a],c=Gt(l);c&&MS(e,t,l);const u=Or(e,n,a,t);et(u,e),null!==o&&AS(0,a-r,u,l,0,o),c&&(vt(t.index,e)[8]=u)}}(n,e,t,yt(t,e)),128==(128&t.flags)&&function CS(n,e,t){const i=t.directiveStart,r=t.directiveEnd,o=t.index,a=function BC(){return L.lFrame.currentDirectiveIndex}();try{Nn(o);for(let l=i;l<r;l++){const c=n.data[l],u=e[l];gl(l),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&Vp(c,u)}}finally{Nn(-1),gl(a)}}(n,e,t))}(s,r,c),function kp(n,e,t){if(il(e)){const r=e.directiveEnd;for(let s=e.directiveStart;s<r;s++){const o=n.data[s];o.contentQueries&&o.contentQueries(1,t[s],s)}}}(s,c,r)),null!==i&&function mc(n,e,t=yt){const i=e.localNames;if(null!==i){let r=e.index+1;for(let s=0;s<i.length;s+=2){const o=i[s+1],a=-1===o?t(e,n):n[o];n[r++]=a}}}(r,c),dn}function hn(){let n=Ve();fl()?pl():(n=n.parent,sn(n,!1));const e=n;!function OC(){L.lFrame.elementDepthCount--}();const t=Q();return t.firstCreatePass&&(Ks(t,n),il(n)&&t.queries.elementEnd(n)),null!=e.classesWithoutHost&&function ZC(n){return 0!=(16&n.flags)}(e)&&Lc(t,e,y(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function QC(n){return 0!=(32&n.flags)}(e)&&Lc(t,e,y(),e.stylesWithoutHost,!1),hn}function or(n,e,t,i){return dn(n,e,t,i),hn(),or}function Ao(n){return!!n&&"function"==typeof n.then}const Rg=function Fg(n){return!!n&&"function"==typeof n.subscribe};function Et(n,e,t,i){const r=y(),s=Q(),o=Ve();return function Pg(n,e,t,i,r,s,o,a){const l=Us(i),u=n.firstCreatePass&&Gp(n),d=e[8],h=zp(e);let f=!0;if(3&i.type||a){const _=yt(i,e),D=a?a(_):_,m=h.length,C=a?T=>a(xe(T[i.index])):i.index;if(Se(t)){let T=null;if(!a&&l&&(T=function VM(n,e,t,i){const r=n.cleanup;if(null!=r)for(let s=0;s<r.length-1;s+=2){const o=r[s];if(o===t&&r[s+1]===i){const a=e[7],l=r[s+2];return a.length>l?a[l]:null}"string"==typeof o&&(s+=2)}return null}(n,e,r,i.index)),null!==T)(T.__ngLastListenerFn__||T).__ngNextListenerFn__=s,T.__ngLastListenerFn__=s,f=!1;else{s=jc(i,e,d,s,!1);const z=t.listen(D,r,s);h.push(s,z),u&&u.push(r,C,m,m+1)}}else s=jc(i,e,d,s,!0),D.addEventListener(r,s,o),h.push(s),u&&u.push(r,C,m,o)}else s=jc(i,e,d,s,!1);const p=i.outputs;let g;if(f&&null!==p&&(g=p[r])){const _=g.length;if(_)for(let D=0;D<_;D+=2){const ge=e[g[D]][g[D+1]].subscribe(s),De=h.length;h.push(s,ge),u&&u.push(r,i.index,De,-(De+1))}}}(s,r,r[H],o,n,e,!!t,i),Et}function Lg(n,e,t,i){try{return!1!==t(i)}catch(r){return qp(n,r),!1}}function jc(n,e,t,i,r){return function s(o){if(o===Function)return i;const a=2&n.flags?vt(n.index,e):e;0==(32&e[2])&&bc(a);let l=Lg(e,0,i,o),c=s.__ngNextListenerFn__;for(;c;)l=Lg(e,0,c,o)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(o.preventDefault(),o.returnValue=!1),l}}function jM(n,e){let t=null;const i=function Ww(n){const e=n.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(n);for(let r=0;r<e.length;r++){const s=e[r];if("*"!==s){if(null===i?gp(n,s,!0):Yw(i,s))return r}else t=r}return t}function Yg(n,e,t,i,r){const s=n[t+1],o=null===e;let a=i?qt(s):En(s),l=!1;for(;0!==a&&(!1===l||o);){const u=n[a+1];UM(n[a],e)&&(l=!0,n[a+1]=i?sc(u):ic(u)),a=i?qt(u):En(u)}l&&(n[t+1]=i?ic(s):sc(s))}function UM(n,e){return null===n||null==e||(Array.isArray(n)?n[1]:n)===e||!(!Array.isArray(n)||"string"!=typeof e)&&ji(n,e)>=0}function ri(n,e){return function Yt(n,e,t,i){const r=y(),s=Q(),o=function Cn(n){const e=L.lFrame,t=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,t}(2);s.firstUpdatePass&&function rm(n,e,t,i){const r=n.data;if(null===r[t+1]){const s=r[rt()],o=function im(n,e){return e>=n.expandoStartIndex}(n,t);(function lm(n,e){return 0!=(n.flags&(e?16:32))})(s,i)&&null===e&&!o&&(e=!1),e=function XM(n,e,t,i){const r=function ml(n){const e=L.lFrame.currentDirectiveIndex;return-1===e?null:n[e]}(n);let s=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(t=es(t=$c(null,n,e,t,i),e.attrs,i),s=null);else{const o=e.directiveStylingLast;if(-1===o||n[o]!==r)if(t=$c(r,n,e,t,i),null===s){let l=function JM(n,e,t){const i=t?e.classBindings:e.styleBindings;if(0!==En(i))return n[qt(i)]}(n,e,i);void 0!==l&&Array.isArray(l)&&(l=$c(null,n,e,l[1],i),l=es(l,e.attrs,i),function e0(n,e,t,i){n[qt(t?e.classBindings:e.styleBindings)]=i}(n,e,i,l))}else s=function t0(n,e,t){let i;const r=e.directiveEnd;for(let s=1+e.directiveStylingLast;s<r;s++)i=es(i,n[s].hostAttrs,t);return es(i,e.attrs,t)}(n,e,i)}return void 0!==s&&(i?e.residualClasses=s:e.residualStyles=s),t}(r,s,e,i),function HM(n,e,t,i,r,s){let o=s?e.classBindings:e.styleBindings,a=qt(o),l=En(o);n[i]=t;let u,c=!1;if(Array.isArray(t)){const d=t;u=d[1],(null===u||ji(d,u)>0)&&(c=!0)}else u=t;if(r)if(0!==l){const h=qt(n[a+1]);n[i+1]=yo(h,a),0!==h&&(n[h+1]=rc(n[h+1],i)),n[a+1]=function Jw(n,e){return 131071&n|e<<17}(n[a+1],i)}else n[i+1]=yo(a,0),0!==a&&(n[a+1]=rc(n[a+1],i)),a=i;else n[i+1]=yo(l,0),0===a?a=i:n[l+1]=rc(n[l+1],i),l=i;c&&(n[i+1]=ic(n[i+1])),Yg(n,u,i,!0),Yg(n,u,i,!1),function $M(n,e,t,i,r){const s=r?n.residualClasses:n.residualStyles;null!=s&&"string"==typeof e&&ji(s,e)>=0&&(t[i+1]=sc(t[i+1]))}(e,u,n,i,s),o=yo(a,l),s?e.classBindings=o:e.styleBindings=o}(r,s,e,t,o,i)}}(s,n,o,i),e!==V&&tt(r,o,e)&&function om(n,e,t,i,r,s,o,a){if(!(3&e.type))return;const l=n.data,c=l[a+1];To(function bp(n){return 1==(1&n)}(c)?am(l,e,t,r,En(c),o):void 0)||(To(s)||function vp(n){return 2==(2&n)}(c)&&(s=am(l,null,t,r,a,o)),function ew(n,e,t,i,r){const s=Se(n);if(e)r?s?n.addClass(t,i):t.classList.add(i):s?n.removeClass(t,i):t.classList.remove(i);else{let o=-1===i.indexOf("-")?void 0:Dt.DashCase;if(null==r)s?n.removeStyle(t,i,o):t.style.removeProperty(i);else{const a="string"==typeof r&&r.endsWith("!important");a&&(r=r.slice(0,-10),o|=Dt.Important),s?n.setStyle(t,i,r,o):t.style.setProperty(i,r,a?"important":"")}}}(i,o,zs(rt(),t),r,s))}(s,s.data[rt()],r,r[H],n,r[o+1]=function s0(n,e){return null==n||("string"==typeof e?n+=e:"object"==typeof n&&(n=ne(function Ln(n){return n instanceof class tp{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}?n.changingThisBreaksApplicationSecurity:n}(n)))),n}(e,t),i,o)}(n,e,null,!0),ri}function $c(n,e,t,i,r){let s=null;const o=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a<o&&(s=e[a],i=es(i,s.hostAttrs,r),s!==n);)a++;return null!==n&&(t.directiveStylingLast=a),i}function es(n,e,t){const i=t?1:2;let r=-1;if(null!==e)for(let s=0;s<e.length;s++){const o=e[s];"number"==typeof o?r=o:r===i&&(Array.isArray(n)||(n=void 0===n?[]:["",n]),bt(n,o,!!t||e[++s]))}return void 0===n?null:n}function am(n,e,t,i,r,s){const o=null===e;let a;for(;r>0;){const l=n[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=t[r+1];h===V&&(h=d?ce:void 0);let f=d?Al(h,i):u===i?h:void 0;if(c&&!To(f)&&(f=Al(l,i)),To(f)&&(a=f,o))return a;const p=n[r+1];r=o?qt(p):En(p)}if(null!==e){let l=s?e.residualClasses:e.residualStyles;null!=l&&(a=Al(l,i))}return a}function To(n){return void 0!==n}function Uc(n,e=""){const t=y(),i=Q(),r=n+20,s=i.firstCreatePass?zi(i,r,1,e,null):i.data[r],o=t[r]=function jl(n,e){return Se(n)?n.createText(e):n.createTextNode(e)}(t[H],e);ho(i,t,o,s),sn(s,!1)}function zc(n){return Gc("",n,""),zc}function Gc(n,e,t){const i=y(),r=function Qi(n,e,t,i){return tt(n,Oi(),t)?e+P(t)+i:V}(i,n,e,t);return r!==V&&wn(i,rt(),r),Gc}function Wc(n,e,t){const i=y();return tt(i,Oi(),e)&&Ct(Q(),ve(),i,n,e,i[H],t,!0),Wc}const Io="en-US";let Im=Io;function Yc(n,e,t,i,r){if(n=$(n),Array.isArray(n))for(let s=0;s<n.length;s++)Yc(n[s],e,t,i,r);else{const s=Q(),o=y();let a=Ki(n)?n:$(n.provide),l=Jp(n);const c=Ve(),u=1048575&c.providerIndexes,d=c.directiveStart,h=c.providerIndexes>>20;if(Ki(n)||!n.multi){const f=new Ir(l,r,b),p=Qc(a,e,r?u:u+h,d);-1===p?(to(xr(c,o),s,a),Zc(s,n,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),t.push(f),o.push(f)):(t[p]=f,o[p]=f)}else{const f=Qc(a,e,u+h,d),p=Qc(a,e,u,u+h),g=f>=0&&t[f],_=p>=0&&t[p];if(r&&!_||!r&&!g){to(xr(c,o),s,a);const D=function wA(n,e,t,i,r){const s=new Ir(n,t,b);return s.multi=[],s.index=e,s.componentProviders=0,Jm(s,r,i&&!t),s}(r?EA:CA,t.length,r,i,l);!r&&_&&(t[p].providerFactory=D),Zc(s,n,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),t.push(D),o.push(D)}else Zc(s,n,f>-1?f:p,Jm(t[r?p:f],l,!r&&i));!r&&i&&_&&t[p].componentProviders++}}}function Zc(n,e,t,i){const r=Ki(e),s=function zS(n){return!!n.useClass}(e);if(r||s){const l=(s?$(e.useClass):e).prototype.ngOnDestroy;if(l){const c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&e.multi){const u=c.indexOf(t);-1===u?c.push(t,[i,l]):c[u+1].push(i,l)}else c.push(t,l)}}}function Jm(n,e,t){return t&&n.componentProviders++,n.multi.push(e)-1}function Qc(n,e,t,i){for(let r=t;r<i;r++)if(e[r]===n)return r;return-1}function CA(n,e,t,i){return Xc(this.multi,[])}function EA(n,e,t,i){const r=this.multi;let s;if(this.providerFactory){const o=this.providerFactory.componentProviders,a=Or(t,t[1],this.providerFactory.index,i);s=a.slice(0,o),Xc(r,s);for(let l=o;l<a.length;l++)s.push(a[l])}else s=[],Xc(r,s);return s}function Xc(n,e){for(let t=0;t<n.length;t++)e.push((0,n[t])());return e}function de(n,e=[]){return t=>{t.providersResolver=(i,r)=>function DA(n,e,t){const i=Q();if(i.firstCreatePass){const r=Gt(n);Yc(t,i.data,i.blueprint,r,!0),Yc(e,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,e)}}class e_{}class AA{resolveComponentFactory(e){throw function MA(n){const e=Error(`No component factory found for ${ne(n)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=n,e}(e)}}let oi=(()=>{class n{}return n.NULL=new AA,n})();function TA(){return ur(Ve(),y())}function ur(n,e){return new Qe(yt(n,e))}let Qe=(()=>{class n{constructor(t){this.nativeElement=t}}return n.__NG_ELEMENT_ID__=TA,n})();function IA(n){return n instanceof Qe?n.nativeElement:n}class ss{}let ai=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function xA(){const n=y(),t=vt(Ve().index,n);return function kA(n){return n[H]}(nn(t)?t:n)}(),n})(),OA=(()=>{class n{}return n.\u0275prov=x({token:n,providedIn:"root",factory:()=>null}),n})();class li{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const FA=new li("13.4.0"),Jc={};function Ro(n,e,t,i,r=!1){for(;null!==t;){const s=e[t.index];if(null!==s&&i.push(xe(s)),zt(s))for(let a=10;a<s.length;a++){const l=s[a],c=l[1].firstChild;null!==c&&Ro(l[1],l,c,i)}const o=t.type;if(8&o)Ro(n,e,t.child,i);else if(32&o){const a=Ll(t,e);let l;for(;l=a();)i.push(l)}else if(16&o){const a=Yf(e,t);if(Array.isArray(a))i.push(...a);else{const l=Hr(e[16]);Ro(l[1],l,a,i,!0)}}t=r?t.projectionNext:t.next}return i}class os{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,t=e[1];return Ro(t,e,t.firstChild,[])}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(zt(e)){const t=e[8],i=t?t.indexOf(this):-1;i>-1&&($l(e,i),ro(t,i))}this._attachedToViewContainer=!1}jf(this._lView[1],this._lView)}onDestroy(e){Rp(this._lView[1],this._lView,null,e)}markForCheck(){bc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function Cc(n,e,t){const i=e[10];i.begin&&i.begin();try{Wi(n,e,n.template,t)}catch(r){throw qp(e,r),r}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function zE(n,e){$r(n,e,e[H],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new S(902,"");this._appRef=e}}class RA extends os{constructor(e){super(e),this._view=e}detectChanges(){Up(this._view)}checkNoChanges(){}get context(){return null}}class n_ extends oi{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Ze(e);return new eu(t,this.ngModule)}}function i_(n){const e=[];for(let t in n)n.hasOwnProperty(t)&&e.push({propName:n[t],templateName:t});return e}class eu extends e_{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=function Qw(n){return n.map(Zw).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return i_(this.componentDef.inputs)}get outputs(){return i_(this.componentDef.outputs)}create(e,t,i,r){const s=(r=r||this.ngModule)?function PA(n,e){return{get:(t,i,r)=>{const s=n.get(t,Jc,r);return s!==Jc||i===Jc?s:e.get(t,i,r)}}}(e,r.injector):e,o=s.get(ss,Bh),a=s.get(OA,null),l=o.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",u=i?function Fp(n,e,t){if(Se(n))return n.selectRootElement(e,t===$t.ShadowDom);let i="string"==typeof e?n.querySelector(e):e;return i.textContent="",i}(l,i,this.componentDef.encapsulation):Hl(o.createRenderer(null,this.componentDef),c,function NA(n){const e=n.toLowerCase();return"svg"===e?"svg":"math"===e?"math":null}(c)),d=this.componentDef.onPush?576:528,h=function dg(n,e){return{components:[],scheduler:n||Vw,clean:NS,playerHandler:e||null,flags:0}}(),f=Do(0,null,null,1,0,null,null,null,null,null),p=Kr(null,f,h,d,null,null,o,l,a,s);let g,_;Ws(p);try{const D=function cg(n,e,t,i,r,s){const o=t[1];t[20]=n;const l=zi(o,20,2,"#host",null),c=l.mergedAttrs=e.hostAttrs;null!==c&&(Eo(l,c,!0),null!==n&&(Qs(r,n,c),null!==l.classes&&Kl(r,n,l.classes),null!==l.styles&&Qf(r,n,l.styles)));const u=i.createRenderer(n,e),d=Kr(t,xp(e),null,e.onPush?64:16,t[20],l,i,u,s||null,null);return o.firstCreatePass&&(to(xr(l,t),o,e.type),Bp(o,l),jp(l,t.length,1)),Co(t,d),t[20]=d}(u,this.componentDef,p,o,l);if(u)if(i)Qs(l,u,["ng-version",FA.full]);else{const{attrs:m,classes:C}=function Xw(n){const e=[],t=[];let i=1,r=2;for(;i<n.length;){let s=n[i];if("string"==typeof s)2===r?""!==s&&e.push(s,n[++i]):8===r&&t.push(s);else{if(!Wt(r))break;r=s}i++}return{attrs:e,classes:t}}(this.componentDef.selectors[0]);m&&Qs(l,u,m),C&&C.length>0&&Kl(l,u,C.join(" "))}if(_=ul(f,20),void 0!==t){const m=_.projection=[];for(let C=0;C<this.ngContentSelectors.length;C++){const T=t[C];m.push(null!=T?Array.from(T):null)}}g=function ug(n,e,t,i,r){const s=t[1],o=function vS(n,e,t){const i=Ve();n.firstCreatePass&&(t.providersResolver&&t.providersResolver(t),Hp(n,i,e,Gi(n,e,1,null),t));const r=Or(e,n,i.directiveStart,i);et(r,e);const s=yt(i,e);return s&&et(s,e),r}(s,t,e);if(i.components.push(o),n[8]=o,r&&r.forEach(l=>l(o,e)),e.contentQueries){const l=Ve();e.contentQueries(1,o,l.directiveStart)}const a=Ve();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Nn(a.index),Lp(t[1],a,0,a.directiveStart,a.directiveEnd,e),Vp(e,o)),o}(D,this.componentDef,p,h,[tM]),Yr(f,p,null)}finally{qs()}return new VA(this.componentType,g,ur(_,p),p,_)}}class VA extends class SA{}{constructor(e,t,i,r,s){super(),this.location=i,this._rootLView=r,this._tNode=s,this.instance=t,this.hostView=this.changeDetectorRef=new RA(r),this.componentType=e}get injector(){return new Ni(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}class dr{}const hr=new Map;class o_ extends dr{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new n_(this);const i=kt(e);this._bootstrapComponents=ln(i.bootstrap),this._r3Injector=Xp(e,t,[{provide:dr,useValue:this},{provide:oi,useValue:this.componentFactoryResolver}],ne(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=dt.THROW_IF_NOT_FOUND,i=j.Default){return e===dt||e===dr||e===wc?this:this._r3Injector.get(e,t,i)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class tu extends class jA{}{constructor(e){super(),this.moduleType=e,null!==kt(e)&&function HA(n){const e=new Set;!function t(i){const r=kt(i,!0),s=r.id;null!==s&&(function r_(n,e,t){if(e&&e!==t)throw new Error(`Duplicate module registered for ${n} - ${ne(e)} vs ${ne(e.name)}`)}(s,hr.get(s),i),hr.set(s,i));const o=ln(r.imports);for(const a of o)e.has(a)||(e.add(a),t(a))}(n)}(e)}create(e){return new o_(this.moduleType,e)}}function a_(n,e,t,i){return function l_(n,e,t,i,r,s){const o=e+t;return tt(n,o,r)?function un(n,e,t){return n[e]=t}(n,o+1,s?i.call(s,r):i(r)):function as(n,e){const t=n[e];return t===V?void 0:t}(n,o+1)}(y(),function it(){const n=L.lFrame;let e=n.bindingRootIndex;return-1===e&&(e=n.bindingRootIndex=n.tView.bindingStartIndex),e}(),n,e,t,i)}function nu(n){return e=>{setTimeout(n,void 0,e)}}const Te=class rT extends qe{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,i){var r,s,o;let a=e,l=t||(()=>null),c=i;if(e&&"object"==typeof e){const d=e;a=null===(r=d.next)||void 0===r?void 0:r.bind(d),l=null===(s=d.error)||void 0===s?void 0:s.bind(d),c=null===(o=d.complete)||void 0===o?void 0:o.bind(d)}this.__isAsync&&(l=nu(l),a&&(a=nu(a)),c&&(c=nu(c)));const u=super.subscribe({next:a,error:l,complete:c});return e instanceof Y&&e.add(u),u}};function sT(){return this._results[Yi()]()}class iu{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Yi(),i=iu.prototype;i[t]||(i[t]=sT)}get changes(){return this._changes||(this._changes=new Te)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){const i=this;i.dirty=!1;const r=Ft(e);(this._changesDetected=!function oE(n,e,t){if(n.length!==e.length)return!1;for(let i=0;i<n.length;i++){let r=n[i],s=e[i];if(t&&(r=t(r),s=t(s)),s!==r)return!1}return!0}(i._results,r,t))&&(i._results=r,i.length=r.length,i.last=r[this.length-1],i.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Sn=(()=>{class n{}return n.__NG_ELEMENT_ID__=lT,n})();const oT=Sn,aT=class extends oT{constructor(e,t,i){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=i}createEmbeddedView(e){const t=this._declarationTContainer.tViews,i=Kr(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(i[19]=s.createEmbeddedView(t)),Yr(t,i,e),new os(i)}};function lT(){return No(Ve(),y())}function No(n,e){return 4&n.type?new aT(e,n,ur(n,e)):null}let gn=(()=>{class n{}return n.__NG_ELEMENT_ID__=cT,n})();function cT(){return g_(Ve(),y())}const uT=gn,f_=class extends uT{constructor(e,t,i){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=i}get element(){return ur(this._hostTNode,this._hostLView)}get injector(){return new Ni(this._hostTNode,this._hostLView)}get parentInjector(){const e=eo(this._hostTNode,this._hostLView);if(sf(e)){const t=Ri(e,this._hostLView),i=Fi(e);return new Ni(t[1].data[i+8],t)}return new Ni(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=p_(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,i){const r=e.createEmbeddedView(t||{});return this.insert(r,i),r}createComponent(e,t,i,r,s){const o=e&&!function Rr(n){return"function"==typeof n}(e);let a;if(o)a=t;else{const d=t||{};a=d.index,i=d.injector,r=d.projectableNodes,s=d.ngModuleRef}const l=o?e:new eu(Ze(e)),c=i||this.parentInjector;if(!s&&null==l.ngModule){const h=(o?c:this.parentInjector).get(dr,null);h&&(s=h)}const u=l.create(c,r,void 0,s);return this.insert(u.hostView,a),u}insert(e,t){const i=e._lView,r=i[1];if(function IC(n){return zt(n[3])}(i)){const u=this.indexOf(e);if(-1!==u)this.detach(u);else{const d=i[3],h=new f_(d,d[6],d[3]);h.detach(h.indexOf(e))}}const s=this._adjustIndex(t),o=this._lContainer;!function WE(n,e,t,i){const r=10+i,s=t.length;i>0&&(t[r-1][4]=e),i<s-10?(e[4]=t[r],mf(t,10+i,e)):(t.push(e),e[4]=null),e[3]=t;const o=e[17];null!==o&&t!==o&&function qE(n,e){const t=n[9];e[16]!==e[3][3][16]&&(n[2]=!0),null===t?n[9]=[e]:t.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(n),e[2]|=128}(r,i,o,s);const a=Gl(s,o),l=i[H],c=uo(l,o[7]);return null!==c&&function UE(n,e,t,i,r,s){i[0]=r,i[6]=e,$r(n,i,t,1,r,s)}(r,o[6],l,i,c,a),e.attachToViewContainerRef(),mf(ru(o),s,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=p_(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),i=$l(this._lContainer,t);i&&(ro(ru(this._lContainer),t),jf(i[1],i))}detach(e){const t=this._adjustIndex(e,-1),i=$l(this._lContainer,t);return i&&null!=ro(ru(this._lContainer),t)?new os(i):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}};function p_(n){return n[8]}function ru(n){return n[8]||(n[8]=[])}function g_(n,e){let t;const i=e[n.index];if(zt(i))t=i;else{let r;if(8&n.type)r=xe(i);else{const s=e[H];r=s.createComment("");const o=yt(n,e);ti(s,uo(s,o),r,function QE(n,e){return Se(n)?n.nextSibling(e):e.nextSibling}(s,o),!1)}e[n.index]=t=function $p(n,e,t,i){return new Array(n,!0,!1,e,null,0,i,t,null,null)}(i,e,r,n),Co(e,t)}return new f_(t,n,e)}class su{constructor(e){this.queryList=e,this.matches=null}clone(){return new su(this.queryList)}setDirty(){this.queryList.setDirty()}}class ou{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const i=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let s=0;s<i;s++){const o=t.getByIndex(s);r.push(this.queries[o.indexInDeclarationView].clone())}return new ou(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==b_(e,t).matches&&this.queries[t].setDirty()}}class m_{constructor(e,t,i=null){this.predicate=e,this.flags=t,this.read=i}}class au{constructor(e=[]){this.queries=e}elementStart(e,t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let i=0;i<this.length;i++){const r=null!==t?t.length:0,s=this.getByIndex(i).embeddedTView(e,r);s&&(s.indexInDeclarationView=i,null!==t?t.push(s):t=[s])}return null!==t?new au(t):null}template(e,t){for(let i=0;i<this.queries.length;i++)this.queries[i].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class lu{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new lu(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let i=e.parent;for(;null!==i&&8&i.type&&i.index!==t;)i=i.parent;return t===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const s=i[r];this.matchTNodeWithReadOption(e,t,fT(t,s)),this.matchTNodeWithReadOption(e,t,no(t,e,s,!1,!1))}else i===Sn?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,no(t,e,i,!1,!1))}matchTNodeWithReadOption(e,t,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===Qe||r===gn||r===Sn&&4&t.type)this.addMatch(t.index,-2);else{const s=no(t,e,r,!1,!1);null!==s&&this.addMatch(t.index,s)}else this.addMatch(t.index,i)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function fT(n,e){const t=n.localNames;if(null!==t)for(let i=0;i<t.length;i+=2)if(t[i]===e)return t[i+1];return null}function gT(n,e,t,i){return-1===t?function pT(n,e){return 11&n.type?ur(n,e):4&n.type?No(n,e):null}(e,n):-2===t?function mT(n,e,t){return t===Qe?ur(e,n):t===Sn?No(e,n):t===gn?g_(e,n):void 0}(n,e,i):Or(n,n[1],t,e)}function __(n,e,t,i){const r=e[19].queries[i];if(null===r.matches){const s=n.data,o=t.matches,a=[];for(let l=0;l<o.length;l+=2){const c=o[l];a.push(c<0?null:gT(e,s[c],o[l+1],t.metadata.read))}r.matches=a}return r.matches}function cu(n,e,t,i){const r=n.queries.getByIndex(t),s=r.matches;if(null!==s){const o=__(n,e,r,t);for(let a=0;a<s.length;a+=2){const l=s[a];if(l>0)i.push(o[a/2]);else{const c=s[a+1],u=e[-l];for(let d=10;d<u.length;d++){const h=u[d];h[17]===h[3]&&cu(h[1],h,c,i)}if(null!==u[9]){const d=u[9];for(let h=0;h<d.length;h++){const f=d[h];cu(f[1],f,c,i)}}}}}return i}function uu(n){const e=y(),t=Q(),i=qh();_l(i+1);const r=b_(t,i);if(n.dirty&&jh(e)===(2==(2&r.metadata.flags))){if(null===r.matches)n.reset([]);else{const s=r.crossesNgTemplate?cu(t,e,i,[]):__(t,e,r,i);n.reset(s,IA),n.notifyOnChanges()}return!0}return!1}function du(n,e,t){const i=Q();i.firstCreatePass&&(function v_(n,e,t){null===n.queries&&(n.queries=new au),n.queries.track(new lu(e,t))}(i,new m_(n,e,t),-1),2==(2&e)&&(i.staticViewQueries=!0)),function y_(n,e,t){const i=new iu(4==(4&t));Rp(n,e,i,i.destroy),null===e[19]&&(e[19]=new ou),e[19].queries.push(new su(i))}(i,y(),e)}function hu(){return function yT(n,e){return n[19].queries[e].queryList}(y(),qh())}function b_(n,e){return n.queries.getByIndex(e)}function Vo(...n){}const L_=new I("Application Initializer");let yu=(()=>{class n{constructor(t){this.appInits=t,this.resolve=Vo,this.reject=Vo,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const t=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r<this.appInits.length;r++){const s=this.appInits[r]();if(Ao(s))t.push(s);else if(Rg(s)){const o=new Promise((a,l)=>{s.subscribe({complete:a,error:l})});t.push(o)}}Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}}return n.\u0275fac=function(t){return new(t||n)(v(L_,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const us=new I("AppId",{providedIn:"root",factory:function V_(){return`${vu()}${vu()}${vu()}`}});function vu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const B_=new I("Platform Initializer"),bu=new I("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),LT=new I("appBootstrapListener"),Mn=new I("LocaleId",{providedIn:"root",factory:()=>kl(Mn,j.Optional|j.SkipSelf)||function VT(){return"undefined"!=typeof $localize&&$localize.locale||Io}()}),$T=(()=>Promise.resolve(0))();function Du(n){"undefined"==typeof Zone?$T.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class he{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Te(!1),this.onMicrotaskEmpty=new Te(!1),this.onStable=new Te(!1),this.onError=new Te(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function UT(){let n=se.requestAnimationFrame,e=se.cancelAnimationFrame;if("undefined"!=typeof Zone&&n&&e){const t=n[Zone.__symbol__("OriginalDelegate")];t&&(n=t);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function WT(n){const e=()=>{!function GT(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(se,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Eu(n),n.isCheckStableRunning=!0,Cu(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Eu(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,s,o,a)=>{try{return j_(n),t.invokeTask(r,s,o,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||n.shouldCoalesceRunChangeDetection)&&e(),H_(n)}},onInvoke:(t,i,r,s,o,a,l)=>{try{return j_(n),t.invoke(r,s,o,a,l)}finally{n.shouldCoalesceRunChangeDetection&&e(),H_(n)}},onHasTask:(t,i,r,s)=>{t.hasTask(r,s),i===r&&("microTask"==s.change?(n._hasPendingMicrotasks=s.microTask,Eu(n),Cu(n)):"macroTask"==s.change&&(n.hasPendingMacrotasks=s.macroTask))},onHandleError:(t,i,r,s)=>(t.handleError(r,s),n.runOutsideAngular(()=>n.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!he.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(he.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,i){return this._inner.run(e,t,i)}runTask(e,t,i,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,e,zT,Vo,Vo);try{return s.runTask(o,t,i)}finally{s.cancelTask(o)}}runGuarded(e,t,i){return this._inner.runGuarded(e,t,i)}runOutsideAngular(e){return this._outer.run(e)}}const zT={};function Cu(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function Eu(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function j_(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function H_(n){n._nesting--,Cu(n)}class qT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Te,this.onMicrotaskEmpty=new Te,this.onStable=new Te,this.onError=new Te}run(e,t,i){return e.apply(t,i)}runGuarded(e,t,i){return e.apply(t,i)}runOutsideAngular(e){return e()}runTask(e,t,i,r){return e.apply(t,i)}}let wu=(()=>{class n{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{he.assertNotInAngularZone(),Du(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Du(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),t(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:t,timeoutId:s,updateCb:r})}whenStable(t,i,r){if(r&&!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(t,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,i,r){return[]}}return n.\u0275fac=function(t){return new(t||n)(v(he))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),KT=(()=>{class n{constructor(){this._applications=new Map,Su.addToWindow(this)}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return Su.findTestabilityInTree(this,t,i)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();class YT{addToWindow(e){}findTestabilityInTree(e,t,i){return null}}let Su=new YT,ci=null;const $_=new I("AllowMultipleToken"),U_=new I("PlatformOnDestroy");function z_(n,e,t=[]){const i=`Platform: ${e}`,r=new I(i);return(s=[])=>{let o=Mu();if(!o||o.injector.get($_,!1)){const a=[...t,...s,{provide:r,useValue:!0}];n?n(a):function JT(n){if(ci&&!ci.get($_,!1))throw new S(400,"");ci=n;const e=n.get(G_),t=n.get(B_,null);t&&t.forEach(i=>i())}(function tI(n=[],e){return dt.create({name:e,providers:[{provide:Sc,useValue:"platform"},{provide:U_,useValue:()=>ci=null},...n]})}(a,i))}return function eI(n){const e=Mu();if(!e)throw new S(401,"");return e}()}}function Mu(){var n;return null!==(n=null==ci?void 0:ci.get(G_))&&void 0!==n?n:null}let G_=(()=>{class n{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const a=function nI(n,e){let t;return t="noop"===n?new qT:("zone.js"===n?void 0:n)||new he({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),t}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),l=[{provide:he,useValue:a}];return a.run(()=>{const c=dt.create({providers:l,parent:this.injector,name:t.moduleType.name}),u=t.create(c),d=u.injector.get(Wr,null);if(!d)throw new S(402,"");return a.runOutsideAngular(()=>{const h=a.onError.subscribe({next:f=>{d.handleError(f)}});u.onDestroy(()=>{Au(this._modules,u),h.unsubscribe()})}),function iI(n,e,t){try{const i=t();return Ao(i)?i.catch(r=>{throw e.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw e.runOutsideAngular(()=>n.handleError(i)),i}}(d,a,()=>{const h=u.injector.get(yu);return h.runInitializers(),h.donePromise.then(()=>(function k0(n){mt(n,"Expected localeId to be defined"),"string"==typeof n&&(Im=n.toLowerCase().replace(/_/g,"-"))}(u.injector.get(Mn,Io)||Io),this._moduleDoBootstrap(u),u))})})}bootstrapModule(t,i=[]){const r=W_({},i);return function QT(n,e,t){const i=new tu(t);return Promise.resolve(i)}(0,0,t).then(s=>this.bootstrapModuleFactory(s,r))}_moduleDoBootstrap(t){const i=t.injector.get(Bo);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new S(403,"");t.instance.ngDoBootstrap(i)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,"");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(U_,null);null==t||t(),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(t){return new(t||n)(v(dt))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function W_(n,e){return Array.isArray(e)?e.reduce(W_,n):Object.assign(Object.assign({},n),e)}let Bo=(()=>{class n{constructor(t,i,r,s){this._zone=t,this._injector=i,this._exceptionHandler=r,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new ye(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),a=new ye(l=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{he.assertNotInAngularZone(),Du(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{he.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{c.unsubscribe(),u.unsubscribe()}});this.isStable=Wa(o,a.pipe(function ZD(){return n=>Eh()(function qD(n,e){return function(i){let r;if(r="function"==typeof n?n:function(){return n},"function"==typeof e)return i.lift(new KD(r,e));const s=Object.create(i,zD);return s.source=i,s.subjectFactory=r,s}}(YD)(n))}()))}bootstrap(t,i){if(!this._initStatus.done)throw new S(405,"");let r;r=t instanceof e_?t:this._injector.get(oi).resolveComponentFactory(t),this.componentTypes.push(r.componentType);const s=function XT(n){return n.isBoundToModule}(r)?void 0:this._injector.get(dr),a=r.create(dt.NULL,[],i||r.selector,s),l=a.location.nativeElement,c=a.injector.get(wu,null),u=c&&a.injector.get(KT);return c&&u&&u.registerApplication(l,c),a.onDestroy(()=>{this.detachView(a.hostView),Au(this.components,a),u&&u.unregisterApplication(l)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new S(101,"");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Au(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(LT,[]).concat(this._bootstrapListeners).forEach(r=>r(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return n.\u0275fac=function(t){return new(t||n)(v(he),v(dt),v(Wr),v(yu))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Au(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}let K_=!0,jo=(()=>{class n{}return n.__NG_ELEMENT_ID__=oI,n})();function oI(n){return function aI(n,e,t){if($s(n)&&!t){const i=vt(n.index,e);return new os(i,i)}return 47&n.type?new os(e[16],e):null}(Ve(),y(),16==(16&n))}const bI=z_(null,"core",[]);let DI=(()=>{class n{constructor(t){}}return n.\u0275fac=function(t){return new(t||n)(v(Bo))},n.\u0275mod=Ye({type:n}),n.\u0275inj=$e({}),n})(),zo=null;function mn(){return zo}const oe=new I("DocumentToken"),Dy="browser";let Cx=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Ye({type:n}),n.\u0275inj=$e({}),n})();class Ku extends class Mx extends class wI{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function EI(n){zo||(zo=n)}(new Ku)}onAndCancel(e,t,i){return e.addEventListener(t,i,!1),()=>{e.removeEventListener(t,i,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=function Ax(){return ms=ms||document.querySelector("base"),ms?ms.getAttribute("href"):null}();return null==t?null:function Tx(n){na=na||document.createElement("a"),na.setAttribute("href",n);const e=na.pathname;return"/"===e.charAt(0)?e:`/${e}`}(t)}resetBaseElement(){ms=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return function pk(n,e){e=encodeURIComponent(e);for(const t of n.split(";")){const i=t.indexOf("="),[r,s]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===e)return decodeURIComponent(s)}return null}(document.cookie,e)}}let na,ms=null;const Iy=new I("TRANSITION_ID"),kx=[{provide:L_,useFactory:function Ix(n,e,t){return()=>{t.get(yu).donePromise.then(()=>{const i=mn(),r=e.querySelectorAll(`style[ng-transition="${n}"]`);for(let s=0;s<r.length;s++)i.remove(r[s])})}},deps:[Iy,oe,dt],multi:!0}];class Yu{static init(){!function ZT(n){Su=n}(new Yu)}addToWindow(e){se.getAngularTestability=(i,r=!0)=>{const s=e.findTestabilityInTree(i,r);if(null==s)throw new Error("Could not find testability for element.");return s},se.getAllAngularTestabilities=()=>e.getAllTestabilities(),se.getAllAngularRootElements=()=>e.getAllRootElements(),se.frameworkStabilizers||(se.frameworkStabilizers=[]),se.frameworkStabilizers.push(i=>{const r=se.getAllAngularTestabilities();let s=r.length,o=!1;const a=function(l){o=o||l,s--,0==s&&i(o)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(e,t,i){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:i?mn().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}let xx=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const ia=new I("EventManagerPlugins");let ra=(()=>{class n{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>r.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}addGlobalEventListener(t,i,r){return this._findPluginFor(i).addGlobalEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){const i=this._eventNameToPlugin.get(t);if(i)return i;const r=this._plugins;for(let s=0;s<r.length;s++){const o=r[s];if(o.supports(t))return this._eventNameToPlugin.set(t,o),o}throw new Error(`No event manager plugin found for event ${t}`)}}return n.\u0275fac=function(t){return new(t||n)(v(ia),v(he))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class ky{constructor(e){this._doc=e}addGlobalEventListener(e,t,i){const r=mn().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,i)}}let xy=(()=>{class n{constructor(){this._stylesSet=new Set}addStyles(t){const i=new Set;t.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),_s=(()=>{class n extends xy{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,i,r){t.forEach(s=>{const o=this._doc.createElement("style");o.textContent=s,r.push(i.appendChild(o))})}addHost(t){const i=[];this._addStylesToHost(this._stylesSet,t,i),this._hostNodes.set(t,i)}removeHost(t){const i=this._hostNodes.get(t);i&&i.forEach(Oy),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(t,r,i)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(Oy))}}return n.\u0275fac=function(t){return new(t||n)(v(oe))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();function Oy(n){mn().remove(n)}const Zu={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/MathML/"},Qu=/%COMP%/g;function sa(n,e,t){for(let i=0;i<e.length;i++){let r=e[i];Array.isArray(r)?sa(n,r,t):(r=r.replace(Qu,n),t.push(r))}return t}function Ny(n){return e=>{if("__ngUnwrap__"===e)return n;!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}let oa=(()=>{class n{constructor(t,i,r){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Xu(t)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;switch(i.encapsulation){case $t.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new Lx(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(t),r}case 1:case $t.ShadowDom:return new Vx(this.eventManager,this.sharedStylesHost,t,i);default:if(!this.rendererByCompId.has(i.id)){const r=sa(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(t){return new(t||n)(v(ra),v(_s),v(us))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class Xu{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,t){return t?document.createElementNS(Zu[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,i){e&&e.insertBefore(t,i)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let i="string"==typeof e?document.querySelector(e):e;if(!i)throw new Error(`The selector "${e}" did not match any elements`);return t||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,i,r){if(r){t=r+":"+t;const s=Zu[r];s?e.setAttributeNS(s,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){const r=Zu[i];r?e.removeAttributeNS(r,t):e.removeAttribute(`${i}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,i,r){r&(Dt.DashCase|Dt.Important)?e.style.setProperty(t,i,r&Dt.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){i&Dt.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,i){e[t]=i}setValue(e,t){e.nodeValue=t}listen(e,t,i){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Ny(i)):this.eventManager.addEventListener(e,t,Ny(i))}}class Lx extends Xu{constructor(e,t,i,r){super(e),this.component=i;const s=sa(r+"-"+i.id,i.styles,[]);t.addStyles(s),this.contentAttr=function Rx(n){return"_ngcontent-%COMP%".replace(Qu,n)}(r+"-"+i.id),this.hostAttr=function Nx(n){return"_nghost-%COMP%".replace(Qu,n)}(r+"-"+i.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const i=super.createElement(e,t);return super.setAttribute(i,this.contentAttr,""),i}}class Vx extends Xu{constructor(e,t,i,r){super(e),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=sa(r.id,r.styles,[]);for(let o=0;o<s.length;o++){const a=document.createElement("style");a.textContent=s[o],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,i){return super.insertBefore(this.nodeOrShadowRoot(e),t,i)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let Bx=(()=>{class n extends ky{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}}return n.\u0275fac=function(t){return new(t||n)(v(oe))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const Ly=["alt","control","meta","shift"],Hx={"\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"},Vy={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},$x={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let Ux=(()=>{class n extends ky{constructor(t){super(t)}supports(t){return null!=n.parseEventName(t)}addEventListener(t,i,r){const s=n.parseEventName(i),o=n.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>mn().onAndCancel(t,s.domEventName,o))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const s=n._normalizeKey(i.pop());let o="";if(Ly.forEach(l=>{const c=i.indexOf(l);c>-1&&(i.splice(c,1),o+=l+".")}),o+=s,0!=i.length||0===s.length)return null;const a={};return a.domEventName=r,a.fullKey=o,a}static getEventFullKey(t){let i="",r=function zx(n){let e=n.key;if(null==e){if(e=n.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===n.location&&Vy.hasOwnProperty(e)&&(e=Vy[e]))}return Hx[e]||e}(t);return r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),Ly.forEach(s=>{s!=r&&$x[s](t)&&(i+=s+".")}),i+=r,i}static eventCallback(t,i,r){return s=>{n.getEventFullKey(s)===t&&r.runGuarded(()=>i(s))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return n.\u0275fac=function(t){return new(t||n)(v(oe))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const Kx=z_(bI,"browser",[{provide:bu,useValue:Dy},{provide:B_,useValue:function Gx(){Ku.makeCurrent(),Yu.init()},multi:!0},{provide:oe,useFactory:function qx(){return function SC(n){ll=n}(document),document},deps:[]}]),Yx=[{provide:Sc,useValue:"root"},{provide:Wr,useFactory:function Wx(){return new Wr},deps:[]},{provide:ia,useClass:Bx,multi:!0,deps:[oe,he,bu]},{provide:ia,useClass:Ux,multi:!0,deps:[oe]},{provide:oa,useClass:oa,deps:[ra,_s,us]},{provide:ss,useExisting:oa},{provide:xy,useExisting:_s},{provide:_s,useClass:_s,deps:[oe]},{provide:wu,useClass:wu,deps:[he]},{provide:ra,useClass:ra,deps:[ia,he]},{provide:class wx{},useClass:xx,deps:[]}];let By=(()=>{class n{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:n,providers:[{provide:us,useValue:t.appId},{provide:Iy,useExisting:us},kx]}}}return n.\u0275fac=function(t){return new(t||n)(v(n,12))},n.\u0275mod=Ye({type:n}),n.\u0275inj=$e({providers:Yx,imports:[Cx,DI]}),n})();function pr(n){return null!=n&&"false"!=`${n}`}function $y(n,e=0){return function oO(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):e}function hi(n){return n instanceof Qe?n.nativeElement:n}function ed(...n){let e=n[n.length-1];return Is(e)?(n.pop(),Ga(n,e)):Ch(n)}"undefined"!=typeof window&&window;class uO extends Y{constructor(e,t){super()}schedule(e,t=0){return this}}class aa extends uO{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const i=this.id,r=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(r,i,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,i=0){return setInterval(e.flush.bind(e,this),i)}recycleAsyncId(e,t,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(e,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let r,i=!1;try{this.work(e)}catch(s){i=!0,r=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),r}_unsubscribe(){const e=this.id,t=this.scheduler,i=t.actions,r=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&i.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}let Wy=(()=>{class n{constructor(t,i=n.now){this.SchedulerAction=t,this.now=i}schedule(t,i=0,r){return new this.SchedulerAction(this,t).schedule(r,i)}}return n.now=()=>Date.now(),n})();class Jt extends Wy{constructor(e,t=Wy.now){super(e,()=>Jt.delegate&&Jt.delegate!==this?Jt.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,i){return Jt.delegate&&Jt.delegate!==this?Jt.delegate.schedule(e,t,i):super.schedule(e,t,i)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let i;this.active=!0;do{if(i=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,i){for(;e=t.shift();)e.unsubscribe();throw i}}}new class hO extends Jt{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let i,r=-1,s=t.length;e=e||t.shift();do{if(i=e.execute(e.state,e.delay))break}while(++r<s&&(e=t.shift()));if(this.active=!1,i){for(;++r<s&&(e=t.shift());)e.unsubscribe();throw i}}}(class dO extends aa{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,i=0){return null!==i&&i>0?super.requestAsyncId(e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(e,t,i);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}});let pO=1;const gO=Promise.resolve(),la={};function qy(n){return n in la&&(delete la[n],!0)}const Ky={setImmediate(n){const e=pO++;return la[e]=!0,gO.then(()=>qy(e)&&n()),e},clearImmediate(n){qy(n)}},td=(new class _O extends Jt{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let i,r=-1,s=t.length;e=e||t.shift();do{if(i=e.execute(e.state,e.delay))break}while(++r<s&&(e=t.shift()));if(this.active=!1,i){for(;++r<s&&(e=t.shift());)e.unsubscribe();throw i}}}(class mO extends aa{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,i=0){return null!==i&&i>0?super.requestAsyncId(e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=Ky.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(e,t,i);0===e.actions.length&&(Ky.clearImmediate(t),e.scheduled=void 0)}}),new Jt(aa));class wO{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new SO(e,this.predicate,this.thisArg))}}class SO extends Ee{constructor(e,t,i){super(e),this.predicate=t,this.thisArg=i,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(i){return void this.destination.error(i)}t&&this.destination.next(e)}}let nd;try{nd="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){nd=!1}let ys,rd,Tn=(()=>{class n{constructor(t){this._platformId=t,this.isBrowser=this._platformId?function wk(n){return n===Dy}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!nd)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(t){return new(t||n)(v(bu))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),MO=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Ye({type:n}),n.\u0275inj=$e({}),n})();function id(n){return function AO(){if(null==ys&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ys=!0}))}finally{ys=ys||!1}return ys}()?n:!!n.capture}function pi(n){return n.composedPath?n.composedPath()[0]:n.target}function sd(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}let ev=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Ye({type:n}),n.\u0275inj=$e({}),n})();Object.create(Error.prototype);const GO=new ye(n=>n.complete());class ZO{constructor(e){this.notifier=e}call(e,t){const i=new QO(e),r=Rs(this.notifier,new Os(i));return r&&!i.seenValue?(i.add(r),t.subscribe(i)):i}}class QO extends Fs{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}let ld=(()=>{class n{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){var t;null===(t=this._containerElement)||void 0===t||t.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||sd()){const r=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let s=0;s<r.length;s++)r[s].remove()}const i=this._document.createElement("div");i.classList.add(t),sd()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}}return n.\u0275fac=function(t){return new(t||n)(v(oe),v(Tn))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const _F=new class mF extends Jt{}(class gF extends aa{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(e,t,i):e.flush(this)}});function vF({error:n,subscriber:e}){e.error(n)}class Vt{constructor(e,t,i){this.kind=e,this.value=t,this.error=i,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,i){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return i&&i()}}accept(e,t,i){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,i)}toObservable(){switch(this.kind){case"N":return ed(this.value);case"E":return function yF(n,e){return new ye(e?t=>e.schedule(vF,0,{error:n,subscriber:t}):t=>t.error(n))}(this.error);case"C":return function tv(n){return n?function WO(n){return new ye(e=>n.schedule(()=>e.complete()))}(n):GO}()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new Vt("N",e):Vt.undefinedValueNotification}static createError(e){return new Vt("E",void 0,e)}static createComplete(){return Vt.completeNotification}}Vt.completeNotification=new Vt("C"),Vt.undefinedValueNotification=new Vt("N",void 0);class ua extends Ee{constructor(e,t,i=0){super(e),this.scheduler=t,this.delay=i}static dispatch(e){const{notification:t,destination:i}=e;t.observe(i),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(ua.dispatch,this.delay,new DF(e,this.destination)))}_next(e){this.scheduleMessage(Vt.createNext(e))}_error(e){this.scheduleMessage(Vt.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(Vt.createComplete()),this.unsubscribe()}}class DF{constructor(e,t){this.notification=e,this.destination=t}}class CF extends qe{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),super.next(e)}nextTimeWindow(e){this._events.push(new EF(this._getNow(),e)),this._trimBufferThenGetEvents(),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,i=t?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,s=i.length;let o;if(this.closed)throw new Yn;if(this.isStopped||this.hasError?o=Y.EMPTY:(this.observers.push(e),o=new ph(this,e)),r&&e.add(e=new ua(e,r)),t)for(let a=0;a<s&&!e.closed;a++)e.next(i[a]);else for(let a=0;a<s&&!e.closed;a++)e.next(i[a].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),o}_getNow(){return(this.scheduler||_F).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,i=this._windowTime,r=this._events,s=r.length;let o=0;for(;o<s&&!(e-r[o].time<i);)o++;return s>t&&(o=Math.max(o,s-t)),o>0&&r.splice(0,o),r}}class EF{constructor(e,t){this.time=e,this.value=t}}function dv(n,e){return"function"==typeof e?t=>t.pipe(dv((i,r)=>xs(n(i,r)).pipe(Si((s,o)=>e(i,s,r,o))))):t=>t.lift(new wF(n))}class wF{constructor(e){this.project=e}call(e,t){return t.subscribe(new SF(e,this.project))}}class SF extends Fs{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const i=this.index++;try{t=this.project(e,i)}catch(r){return void this.destination.error(r)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const i=new Os(this),r=this.destination;r.add(i),this.innerSubscription=Rs(e,i),this.innerSubscription!==i&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;(!e||e.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}const da={schedule(n,e){const t=setTimeout(n,e);return()=>clearTimeout(t)},scheduleBeforeRender(n){if("undefined"==typeof window)return da.schedule(n,0);if(void 0===window.requestAnimationFrame)return da.schedule(n,16);const e=window.requestAnimationFrame(n);return()=>window.cancelAnimationFrame(e)}};let cd;function RF(n,e,t){let i=t;return function AF(n){return!!n&&n.nodeType===Node.ELEMENT_NODE}(n)&&e.some((r,s)=>!("*"===r||!function IF(n,e){if(!cd){const t=Element.prototype;cd=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return n.nodeType===Node.ELEMENT_NODE&&cd.call(n,e)}(n,r)||(i=s,0))),i}class PF{constructor(e,t){this.componentFactory=t.get(oi).resolveComponentFactory(e)}create(e){return new LF(this.componentFactory,e)}}class LF{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new CF(1),this.events=this.eventEmitters.pipe(dv(i=>Wa(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(he),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=da.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(e){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){this.runInZone(()=>{null!==this.componentRef?function kF(n,e){return n===e||n!=n&&e!=e}(t,this.getInputValue(e))&&(void 0!==t||!this.unchangedInputs.has(e))||(this.recordInputChange(e,t),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=t,this.scheduleDetectChanges()):this.initialInputValues.set(e,t)})}initializeComponent(e){const t=dt.create({providers:[],parent:this.injector}),i=function FF(n,e){const t=n.childNodes,i=e.map(()=>[]);let r=-1;e.some((s,o)=>"*"===s&&(r=o,!0));for(let s=0,o=t.length;s<o;++s){const a=t[s],l=RF(a,e,r);-1!==l&&i[l].push(a)}return i}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,i,e),this.viewChangeDetectorRef=this.componentRef.injector.get(jo),this.implementsOnChanges=function TF(n){return"function"==typeof n}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Bo).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e))}),this.initialInputValues.clear()}initializeOutputs(e){const t=this.componentFactory.outputs.map(({propName:i,templateName:r})=>e.instance[i].pipe(Si(o=>({name:r,value:o}))));this.eventEmitters.next(t)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=da.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,t){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const i=this.inputChanges[e];if(i)return void(i.currentValue=t);const r=this.unchangedInputs.has(e),s=r?void 0:this.getInputValue(e);this.inputChanges[e]=new Nh(s,t,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class VF extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function ha(n,e){return new ye(t=>{const i=n.length;if(0===i)return void t.complete();const r=new Array(i);let s=0,o=0;for(let a=0;a<i;a++){const l=xs(n[a]);let c=!1;t.add(l.subscribe({next:u=>{c||(c=!0,o++),r[a]=u},error:u=>t.error(u),complete:()=>{s++,(s===i||!c)&&(o===i&&t.next(e?e.reduce((u,d,h)=>(u[d]=r[h],u),{}):r),t.complete())}}))}})}let hv=(()=>{class n{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return n.\u0275fac=function(t){return new(t||n)(b(ai),b(Qe))},n.\u0275dir=N({type:n}),n})(),mi=(()=>{class n extends hv{}return n.\u0275fac=function(){let e;return function(i){return(e||(e=ze(n)))(i||n)}}(),n.\u0275dir=N({type:n,features:[ee]}),n})();const en=new I("NgValueAccessor"),$F={provide:en,useExisting:re(()=>ud),multi:!0},zF=new I("CompositionEventMode");let ud=(()=>{class n extends hv{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function UF(){const n=mn()?mn().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return n.\u0275fac=function(t){return new(t||n)(b(ai),b(Qe),b(zF,8))},n.\u0275dir=N({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,i){1&t&&Et("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[de([$F]),ee]}),n})();const Xe=new I("NgValidators"),$n=new I("NgAsyncValidators");function Ev(n){return null!=n}function wv(n){const e=Ao(n)?xs(n):n;return Rg(e),e}function Sv(n){let e={};return n.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function Mv(n,e){return e.map(t=>t(n))}function Av(n){return n.map(e=>function WF(n){return!n.validate}(e)?e:t=>e.validate(t))}function dd(n){return null!=n?function Tv(n){if(!n)return null;const e=n.filter(Ev);return 0==e.length?null:function(t){return Sv(Mv(t,e))}}(Av(n)):null}function hd(n){return null!=n?function Iv(n){if(!n)return null;const e=n.filter(Ev);return 0==e.length?null:function(t){return function jF(...n){if(1===n.length){const e=n[0];if(te(e))return ha(e,null);if(Pe(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return ha(t.map(i=>e[i]),t)}}if("function"==typeof n[n.length-1]){const e=n.pop();return ha(n=1===n.length&&te(n[0])?n[0]:n,null).pipe(Si(t=>e(...t)))}return ha(n,null)}(Mv(t,e).map(wv)).pipe(Si(Sv))}}(Av(n)):null}function kv(n,e){return null===n?[e]:Array.isArray(n)?[...n,e]:[n,e]}function xv(n){return n._rawValidators}function Ov(n){return n._rawAsyncValidators}function fd(n){return n?Array.isArray(n)?n:[n]:[]}function pa(n,e){return Array.isArray(n)?n.includes(e):n===e}function Fv(n,e){const t=fd(e);return fd(n).forEach(r=>{pa(t,r)||t.push(r)}),t}function Rv(n,e){return fd(e).filter(t=>!pa(n,t))}class Un extends class Nv{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=dd(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=hd(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let Lv=(()=>{class n extends class Pv{constructor(e){this._cd=e}is(e){var t,i,r;return"submitted"===e?!!(null===(t=this._cd)||void 0===t?void 0:t.submitted):!!(null===(r=null===(i=this._cd)||void 0===i?void 0:i.control)||void 0===r?void 0:r[e])}}{constructor(t){super(t)}}return n.\u0275fac=function(t){return new(t||n)(b(Un,2))},n.\u0275dir=N({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,i){2&t&&ri("ng-untouched",i.is("untouched"))("ng-touched",i.is("touched"))("ng-pristine",i.is("pristine"))("ng-dirty",i.is("dirty"))("ng-valid",i.is("valid"))("ng-invalid",i.is("invalid"))("ng-pending",i.is("pending"))},features:[ee]}),n})();function vs(n,e){(function md(n,e){const t=xv(n);null!==e.validator?n.setValidators(kv(t,e.validator)):"function"==typeof t&&n.setValidators([t]);const i=Ov(n);null!==e.asyncValidator?n.setAsyncValidators(kv(i,e.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();ya(e._rawValidators,r),ya(e._rawAsyncValidators,r)})(n,e),e.valueAccessor.writeValue(n.value),function tR(n,e){e.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&Bv(n,e)})}(n,e),function iR(n,e){const t=(i,r)=>{e.valueAccessor.writeValue(i),r&&e.viewToModelUpdate(i)};n.registerOnChange(t),e._registerOnDestroy(()=>{n._unregisterOnChange(t)})}(n,e),function nR(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&Bv(n,e),"submit"!==n.updateOn&&n.markAsTouched()})}(n,e),function eR(n,e){if(e.valueAccessor.setDisabledState){const t=i=>{e.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(t),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}(n,e)}function _a(n,e,t=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),function va(n,e){let t=!1;if(null!==n){if(null!==e.validator){const r=xv(n);if(Array.isArray(r)&&r.length>0){const s=r.filter(o=>o!==e.validator);s.length!==r.length&&(t=!0,n.setValidators(s))}}if(null!==e.asyncValidator){const r=Ov(n);if(Array.isArray(r)&&r.length>0){const s=r.filter(o=>o!==e.asyncValidator);s.length!==r.length&&(t=!0,n.setAsyncValidators(s))}}}const i=()=>{};return ya(e._rawValidators,i),ya(e._rawAsyncValidators,i),t}(n,e),n&&(e._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function ya(n,e){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Bv(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function vd(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}const bs="VALID",ba="INVALID",mr="PENDING",Ds="DISABLED";function Dd(n){return(Da(n)?n.validators:n)||null}function Uv(n){return Array.isArray(n)?dd(n):n||null}function Cd(n,e){return(Da(e)?e.asyncValidators:n)||null}function zv(n){return Array.isArray(n)?hd(n):n||null}function Da(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const Ed=n=>n instanceof Md;function Wv(n){return(n=>n instanceof Sd)(n)?n.value:n.getRawValue()}function qv(n,e){const t=Ed(n),i=n.controls;if(!(t?Object.keys(i):i).length)throw new S(1e3,"");if(!i[e])throw new S(1001,"")}function Kv(n,e){Ed(n),n._forEachChild((i,r)=>{if(void 0===e[r])throw new S(1002,"")})}class wd{constructor(e,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=Uv(this._rawValidators),this._composedAsyncValidatorFn=zv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===bs}get invalid(){return this.status===ba}get pending(){return this.status==mr}get disabled(){return this.status===Ds}get enabled(){return this.status!==Ds}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=Uv(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=zv(e)}addValidators(e){this.setValidators(Fv(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Fv(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Rv(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Rv(e,this._rawAsyncValidators))}hasValidator(e){return pa(this._rawValidators,e)}hasAsyncValidator(e){return pa(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=mr,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=Ds,this.errors=null,this._forEachChild(i=>{i.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=bs,this._forEachChild(i=>{i.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===bs||this.status===mr)&&this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ds:bs}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=mr,this._hasOwnPendingAsyncValidator=!0;const t=wv(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function aR(n,e,t){if(null==e||(Array.isArray(e)||(e=e.split(t)),Array.isArray(e)&&0===e.length))return null;let i=n;return e.forEach(r=>{i=Ed(i)?i.controls.hasOwnProperty(r)?i.controls[r]:null:(n=>n instanceof cR)(i)&&i.at(r)||null}),i}(this,e,".")}getError(e,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new Te,this.statusChanges=new Te}_calculateStatus(){return this._allControlsDisabled()?Ds:this.errors?ba:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(mr)?mr:this._anyControlsHaveStatus(ba)?ba:bs}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Da(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Sd extends wd{constructor(e=null,t,i){super(Dd(t),Cd(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Da(t)&&t.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(e)?e.value:e)}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){vd(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){vd(this._onDisabledChange,e)}_forEachChild(e){}_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(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class Md extends wd{constructor(e,t,i){super(Dd(t),Cd(i,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,i={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){Kv(this,e),Object.keys(e).forEach(i=>{qv(this,i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(i=>{this.controls[i]&&this.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((i,r)=>{i.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,i)=>(e[i]=Wv(t),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&e(i,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const i=this.controls[t];if(this.contains(t)&&e(i))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,i)=>((t.enabled||this.disabled)&&(e[i]=t.value),e))}_reduceChildren(e,t){let i=e;return this._forEachChild((r,s)=>{i=t(i,r,s)}),i}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class cR extends wd{constructor(e,t,i){super(Dd(t),Cd(i,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[e]}push(e,t={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,i={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){Kv(this,e),e.forEach((i,r)=>{qv(this,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((i,r)=>{i.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>Wv(e))}clear(e={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_syncPendingControls(){let e=this.controls.reduce((t,i)=>!!i._syncPendingControls()||t,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((t,i)=>{e(t,i)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}let eb=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Ye({type:n}),n.\u0275inj=$e({}),n})();const Td=new I("NgModelWithFormControlWarning"),yR={provide:Un,useExisting:re(()=>Id)};let Id=(()=>{class n extends Un{constructor(t,i,r,s){super(),this._ngModelWarningConfig=s,this.update=new Te,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(i),this.valueAccessor=function yd(n,e){if(!e)return null;let t,i,r;return Array.isArray(e),e.forEach(s=>{s.constructor===ud?t=s:function oR(n){return Object.getPrototypeOf(n.constructor)===mi}(s)?i=s:r=s}),r||i||t||null}(0,r)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const i=t.form.previousValue;i&&_a(i,this,!1),vs(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}(function _d(n,e){if(!n.hasOwnProperty("model"))return!1;const t=n.model;return!!t.isFirstChange()||!Object.is(e,t.currentValue)})(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&_a(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(t){return new(t||n)(b(Xe,10),b($n,10),b(en,10),b(Td,8))},n.\u0275dir=N({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[de([yR]),ee,rn]}),n})(),gb=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Ye({type:n}),n.\u0275inj=$e({imports:[[eb]]}),n})(),VR=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Ye({type:n}),n.\u0275inj=$e({imports:[gb]}),n})(),BR=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:Td,useValue:t.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Ye({type:n}),n.\u0275inj=$e({imports:[gb]}),n})();class jR extends qe{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Yn;return this._value}next(e){super.next(this._value=e)}}class qR{constructor(e){this.total=e}call(e,t){return t.subscribe(new KR(e,this.total))}}class KR extends Ee{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}class ZR{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new QR(e,this.compare,this.keySelector))}}class QR extends Ee{constructor(e,t,i){super(e),this.keySelector=i,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:r}=this;t=r?r(e):e}catch(r){return this.destination.error(r)}let i=!1;if(this.hasKey)try{const{compare:r}=this;i=r(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=t,this.destination.next(e))}}function bb(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function Db(n){const e=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}const sN=new I("cdk-input-modality-detector-options"),oN={ignoreKeys:[18,17,224,91,16]},_r=id({passive:!0,capture:!0});let aN=(()=>{class n{constructor(t,i,r,s){this._platform=t,this._mostRecentTarget=null,this._modality=new jR(null),this._lastTouchMs=0,this._onKeydown=o=>{var a,l;(null===(l=null===(a=this._options)||void 0===a?void 0:a.ignoreKeys)||void 0===l?void 0:l.some(c=>c===o.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=pi(o))},this._onMousedown=o=>{Date.now()-this._lastTouchMs<650||(this._modality.next(bb(o)?"keyboard":"mouse"),this._mostRecentTarget=pi(o))},this._onTouchstart=o=>{Db(o)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=pi(o))},this._options=Object.assign(Object.assign({},oN),s),this.modalityDetected=this._modality.pipe(function WR(n){return e=>e.lift(new qR(n))}(1)),this.modalityChanged=this.modalityDetected.pipe(function YR(n,e){return t=>t.lift(new ZR(n,e))}()),t.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,_r),r.addEventListener("mousedown",this._onMousedown,_r),r.addEventListener("touchstart",this._onTouchstart,_r)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,_r),document.removeEventListener("mousedown",this._onMousedown,_r),document.removeEventListener("touchstart",this._onTouchstart,_r))}}return n.\u0275fac=function(t){return new(t||n)(v(Tn),v(he),v(oe),v(sN,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const cN=new I("cdk-focus-monitor-default-options"),Ca=id({passive:!0,capture:!0});let uN=(()=>{class n{constructor(t,i,r,s,o){this._ngZone=t,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new qe,this._rootNodeFocusAndBlurListener=a=>{const l=pi(a),c="focus"===a.type?this._onFocus:this._onBlur;for(let u=l;u;u=u.parentElement)c.call(this,a,u)},this._document=s,this._detectionMode=(null==o?void 0:o.detectionMode)||0}monitor(t,i=!1){const r=hi(t);if(!this._platform.isBrowser||1!==r.nodeType)return ed(null);const s=function kO(n){if(function IO(){if(null==rd){const n="undefined"!=typeof document?document.head:null;rd=!(!n||!n.createShadowRoot&&!n.attachShadow)}return rd}()){const e=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}(r)||this._getDocument(),o=this._elementInfo.get(r);if(o)return i&&(o.checkChildren=!0),o.subject;const a={checkChildren:i,subject:new qe,rootNode:s};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){const i=hi(t),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(t,i,r){const s=hi(t);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof s.focus&&s.focus(r))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(t){return 1===this._detectionMode||!!(null==t?void 0:t.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused","touch"===i),t.classList.toggle("cdk-keyboard-focused","keyboard"===i),t.classList.toggle("cdk-mouse-focused","mouse"===i),t.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,i){const r=this._elementInfo.get(i),s=pi(t);!r||!r.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),r)}_onBlur(t,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(r.subject,null))}_emitOrigin(t,i){this._ngZone.run(()=>t.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const i=t.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ca),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ca)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(function nv(n){return e=>e.lift(new ZO(n))}(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(t){const i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ca),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ca),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,r){this._setClasses(t,i),this._emitOrigin(r.subject,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){const i=[];return this._elementInfo.forEach((r,s)=>{(s===t||r.checkChildren&&s.contains(t))&&i.push([s,r])}),i}}return n.\u0275fac=function(t){return new(t||n)(v(he),v(Tn),v(aN),v(oe,8),v(cN,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Eb="cdk-high-contrast-black-on-white",wb="cdk-high-contrast-white-on-black",Ld="cdk-high-contrast-active";let dN=(()=>{class n{constructor(t,i){this._platform=t,this._document=i}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(t):null,s=(r&&r.backgroundColor||"").replace(/ /g,"");switch(t.remove(),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(Ld),t.remove(Eb),t.remove(wb),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?(t.add(Ld),t.add(Eb)):2===i&&(t.add(Ld),t.add(wb))}}}return n.\u0275fac=function(t){return new(t||n)(v(Tn),v(oe))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Sb{}const In="*";function Mb(n,e=null){return{type:2,steps:n,options:e}}function Ab(n){return{type:6,styles:n,offset:null}}function Tb(n){Promise.resolve(null).then(n)}class Es{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(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(){Tb(()=>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}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class Ib{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,i=0,r=0;const s=this.players.length;0==s?Tb(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++t==s&&this._onFinish()}),o.onDestroy(()=>{++i==s&&this._onDestroy()}),o.onStart(()=>{++r==s&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,a.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 t=e*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const e=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}const q=!1;function kb(n){return new S(3e3,q)}function WN(){return"undefined"!=typeof window&&void 0!==window.document}function Bd(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function zn(n){switch(n.length){case 0:return new Es;case 1:return n[0];default:return new Ib(n)}}function xb(n,e,t,i,r={},s={}){const o=[],a=[];let l=-1,c=null;if(i.forEach(u=>{const d=u.offset,h=d==l,f=h&&c||{};Object.keys(u).forEach(p=>{let g=p,_=u[p];if("offset"!==p)switch(g=e.normalizePropertyName(g,o),_){case"!":_=r[p];break;case In:_=s[p];break;default:_=e.normalizeStyleValue(p,g,_,o)}f[g]=_}),h||a.push(f),c=f,l=d}),o.length)throw function NN(n){return new S(3502,q)}();return a}function jd(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&Hd(t,"start",n)));break;case"done":n.onDone(()=>i(t&&Hd(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&Hd(t,"destroy",n)))}}function Hd(n,e,t){const i=t.totalTime,s=$d(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,null==i?n.totalTime:i,!!t.disabled),o=n._data;return null!=o&&(s._data=o),s}function $d(n,e,t,i,r="",s=0,o){return{element:n,triggerName:e,fromState:t,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function wt(n,e,t){let i;return n instanceof Map?(i=n.get(e),i||n.set(e,i=t)):(i=n[e],i||(i=n[e]=t)),i}function Ob(n){const e=n.indexOf(":");return[n.substring(1,e),n.substr(e+1)]}let Ud=(n,e)=>!1,Fb=(n,e,t)=>[],Rb=null;function zd(n){const e=n.parentNode||n.host;return e===Rb?null:e}(Bd()||"undefined"!=typeof Element)&&(WN()?(Rb=(()=>document.documentElement)(),Ud=(n,e)=>{for(;e;){if(e===n)return!0;e=zd(e)}return!1}):Ud=(n,e)=>n.contains(e),Fb=(n,e,t)=>{if(t)return Array.from(n.querySelectorAll(e));const i=n.querySelector(e);return i?[i]:[]});let yi=null,Nb=!1;function Pb(n){yi||(yi=function KN(){return"undefined"!=typeof document?document.body:null}()||{},Nb=!!yi.style&&"WebkitAppearance"in yi.style);let e=!0;return yi.style&&!function qN(n){return"ebkit"==n.substring(1,6)}(n)&&(e=n in yi.style,!e&&Nb&&(e="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in yi.style)),e}const Lb=Ud,Vb=Fb;let Bb=(()=>{class n{validateStyleProperty(t){return Pb(t)}matchesElement(t,i){return!1}containsElement(t,i){return Lb(t,i)}getParentElement(t){return zd(t)}query(t,i,r){return Vb(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,s,o,a=[],l){return new Es(r,s)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),Gd=(()=>{class n{}return n.NOOP=new Bb,n})();const Wd="ng-enter",wa="ng-leave",Sa="ng-trigger",Ma=".ng-trigger",Hb="ng-animating",qd=".ng-animating";function vi(n){if("number"==typeof n)return n;const e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Kd(parseFloat(e[1]),e[2])}function Kd(n,e){return"s"===e?1e3*n:n}function Aa(n,e,t){return n.hasOwnProperty("duration")?n:function QN(n,e,t){let r,s=0,o="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push(kb()),{duration:0,delay:0,easing:""};r=Kd(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(s=Kd(parseFloat(l),a[4]));const c=a[5];c&&(o=c)}else r=n;if(!t){let a=!1,l=e.length;r<0&&(e.push(function fN(){return new S(3100,q)}()),a=!0),s<0&&(e.push(function pN(){return new S(3101,q)}()),a=!0),a&&e.splice(l,0,kb())}return{duration:r,delay:s,easing:o}}(n,e,t)}function yr(n,e={}){return Object.keys(n).forEach(t=>{e[t]=n[t]}),e}function Gn(n,e,t={}){if(e)for(let i in n)t[i]=n[i];else yr(n,t);return t}function Ub(n,e,t){return t?e+":"+t+";":""}function zb(n){let e="";for(let t=0;t<n.style.length;t++){const i=n.style.item(t);e+=Ub(0,i,n.style.getPropertyValue(i))}for(const t in n.style)n.style.hasOwnProperty(t)&&!t.startsWith("_")&&(e+=Ub(0,eP(t),n.style[t]));n.setAttribute("style",e)}function _n(n,e,t){n.style&&(Object.keys(e).forEach(i=>{const r=Zd(i);t&&!t.hasOwnProperty(i)&&(t[i]=n.style[r]),n.style[r]=e[i]}),Bd()&&zb(n))}function bi(n,e){n.style&&(Object.keys(e).forEach(t=>{const i=Zd(t);n.style[i]=""}),Bd()&&zb(n))}function ws(n){return Array.isArray(n)?1==n.length?n[0]:Mb(n):n}const Yd=new RegExp("{{\\s*(.+?)\\s*}}","g");function Gb(n){let e=[];if("string"==typeof n){let t;for(;t=Yd.exec(n);)e.push(t[1]);Yd.lastIndex=0}return e}function Ta(n,e,t){const i=n.toString(),r=i.replace(Yd,(s,o)=>{let a=e[o];return e.hasOwnProperty(o)||(t.push(function mN(n){return new S(3003,q)}()),a=""),a.toString()});return r==i?n:r}function Ia(n){const e=[];let t=n.next();for(;!t.done;)e.push(t.value),t=n.next();return e}const JN=/-+([a-z0-9])/g;function Zd(n){return n.replace(JN,(...e)=>e[1].toUpperCase())}function eP(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function St(n,e,t){switch(e.type){case 7:return n.visitTrigger(e,t);case 0:return n.visitState(e,t);case 1:return n.visitTransition(e,t);case 2:return n.visitSequence(e,t);case 3:return n.visitGroup(e,t);case 4:return n.visitAnimate(e,t);case 5:return n.visitKeyframes(e,t);case 6:return n.visitStyle(e,t);case 8:return n.visitReference(e,t);case 9:return n.visitAnimateChild(e,t);case 10:return n.visitAnimateRef(e,t);case 11:return n.visitQuery(e,t);case 12:return n.visitStagger(e,t);default:throw function _N(n){return new S(3004,q)}()}}function Wb(n,e){return window.getComputedStyle(n)[e]}function oP(n,e){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function aP(n,e,t){if(":"==n[0]){const l=function lP(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i)<parseFloat(t);default:return e.push(function xN(n){return new S(3016,q)}()),"* => *"}}(n,t);if("function"==typeof l)return void e.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function kN(n){return new S(3015,q)}()),e;const r=i[1],s=i[2],o=i[3];e.push(qb(r,o));"<"==s[0]&&!("*"==r&&"*"==o)&&e.push(qb(o,r))}(i,t,e)):t.push(n),t}const Fa=new Set(["true","1"]),Ra=new Set(["false","0"]);function qb(n,e){const t=Fa.has(n)||Ra.has(n),i=Fa.has(e)||Ra.has(e);return(r,s)=>{let o="*"==n||n==r,a="*"==e||e==s;return!o&&t&&"boolean"==typeof r&&(o=r?Fa.has(n):Ra.has(n)),!a&&i&&"boolean"==typeof s&&(a=s?Fa.has(e):Ra.has(e)),o&&a}}const cP=new RegExp("s*:selfs*,?","g");function Qd(n,e,t,i){return new uP(n).build(e,t,i)}class uP{constructor(e){this._driver=e}build(e,t,i){const r=new fP(t);this._resetContextStyleTimingState(r);const s=St(this,ws(e),r);return r.unsupportedCSSPropertiesFound.size&&r.unsupportedCSSPropertiesFound.keys(),s}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,r=t.depCount=0;const s=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push(function vN(){return new S(3006,q)}()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,s.push(this.visitState(l,t))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,o.push(l)}else t.errors.push(function bN(){return new S(3007,q)}())}),{type:7,name:e.name,states:s,transitions:o,queryCount:i,depCount:r,options:null}}visitState(e,t){const i=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(i.containsDynamicStyles){const s=new Set,o=r||{};i.styles.forEach(a=>{if(Na(a)){const l=a;Object.keys(l).forEach(c=>{Gb(l[c]).forEach(u=>{o.hasOwnProperty(u)||s.add(u)})})}}),s.size&&(Ia(s.values()),t.errors.push(function DN(n,e){return new S(3008,q)}()))}return{type:0,name:e.name,style:i,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const i=St(this,ws(e.animation),t);return{type:1,matchers:oP(e.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:Di(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(i=>St(this,i,t)),options:Di(e.options)}}visitGroup(e,t){const i=t.currentTime;let r=0;const s=e.steps.map(o=>{t.currentTime=i;const a=St(this,o,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:3,steps:s,options:Di(e.options)}}visitAnimate(e,t){const i=function gP(n,e){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return Xd(Aa(n,e).duration,0,"");const t=n;if(t.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=Xd(0,0,"");return s.dynamic=!0,s.strValue=t,s}const r=Aa(t,e);return Xd(r.duration,r.delay,r.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;let r,s=e.styles?e.styles:Ab({});if(5==s.type)r=this.visitKeyframes(s,t);else{let o=e.styles,a=!1;if(!o){a=!0;const c={};i.easing&&(c.easing=i.easing),o=Ab(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(o,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(e,t){const i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){const i=[];Array.isArray(e.styles)?e.styles.forEach(o=>{"string"==typeof o?o==In?i.push(o):t.errors.push(function CN(n){return new S(3002,q)}()):i.push(o)}):i.push(e.styles);let r=!1,s=null;return i.forEach(o=>{if(Na(o)){const a=o,l=a.easing;if(l&&(s=l,delete a.easing),!r)for(let c in a)if(a[c].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:i,easing:s,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const i=t.currentAnimateTimings;let r=t.currentTime,s=t.currentTime;i&&s>0&&(s-=i.duration+i.delay),e.styles.forEach(o=>{"string"!=typeof o&&Object.keys(o).forEach(a=>{if(!this._driver.validateStyleProperty(a))return delete o[a],void t.unsupportedCSSPropertiesFound.add(a);const l=t.collectedStyles[t.currentQuerySelector],c=l[a];let u=!0;c&&(s!=r&&s>=c.startTime&&r<=c.endTime&&(t.errors.push(function EN(n,e,t,i,r){return new S(3010,q)}()),u=!1),s=c.startTime),u&&(l[a]={startTime:s,endTime:r}),t.options&&function XN(n,e,t){const i=e.params||{},r=Gb(n);r.length&&r.forEach(s=>{i.hasOwnProperty(s)||t.push(function gN(n){return new S(3001,q)}())})}(o[a],t.options,t.errors)})})}visitKeyframes(e,t){const i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function wN(){return new S(3011,q)}()),i;let s=0;const o=[];let a=!1,l=!1,c=0;const u=e.steps.map(D=>{const m=this._makeStyleAst(D,t);let C=null!=m.offset?m.offset:function pP(n){if("string"==typeof n)return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(Na(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}});else if(Na(n)&&n.hasOwnProperty("offset")){const t=n;e=parseFloat(t.offset),delete t.offset}return e}(m.styles),T=0;return null!=C&&(s++,T=m.offset=C),l=l||T<0||T>1,a=a||T<c,c=T,o.push(T),m});l&&t.errors.push(function SN(){return new S(3012,q)}()),a&&t.errors.push(function MN(){return new S(3200,q)}());const d=e.steps.length;let h=0;s>0&&s<d?t.errors.push(function AN(){return new S(3202,q)}()):0==s&&(h=1/(d-1));const f=d-1,p=t.currentTime,g=t.currentAnimateTimings,_=g.duration;return u.forEach((D,m)=>{const C=h>0?m==f?1:h*m:o[m],T=C*_;t.currentTime=p+g.delay+T,g.duration=T,this._validateStyleAst(D,t),D.offset=C,i.styles.push(D)}),i}visitReference(e,t){return{type:8,animation:St(this,ws(e.animation),t),options:Di(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:Di(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:Di(e.options)}}visitQuery(e,t){const i=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[s,o]=function dP(n){const e=!!n.split(/\s*,\s*/).find(t=>":self"==t);return e&&(n=n.replace(cP,"")),n=n.replace(/@\*/g,Ma).replace(/@\w+/g,t=>Ma+"-"+t.substr(1)).replace(/:animating/g,qd),[n,e]}(e.selector);t.currentQuerySelector=i.length?i+" "+s:s,wt(t.collectedStyles,t.currentQuerySelector,{});const a=St(this,ws(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:11,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:Di(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function TN(){return new S(3013,q)}());const i="full"===e.timings?{duration:0,delay:0,easing:"full"}:Aa(e.timings,t.errors,!0);return{type:12,animation:St(this,ws(e.animation),t),timings:i,options:null}}}class fP{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Na(n){return!Array.isArray(n)&&"object"==typeof n}function Di(n){return n?(n=yr(n)).params&&(n.params=function hP(n){return n?yr(n):null}(n.params)):n={},n}function Xd(n,e,t){return{duration:n,delay:e,easing:t}}function Jd(n,e,t,i,r,s,o=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}class Pa{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const yP=new RegExp(":enter","g"),bP=new RegExp(":leave","g");function eh(n,e,t,i,r,s={},o={},a,l,c=[]){return(new DP).buildKeyframes(n,e,t,i,r,s,o,a,l,c)}class DP{buildKeyframes(e,t,i,r,s,o,a,l,c,u=[]){c=c||new Pa;const d=new th(e,t,c,r,s,u,[]);d.options=l,d.currentTimeline.setStyles([o],null,d.errors,l),St(this,i,d);const h=d.timelines.filter(f=>f.containsAnimation());if(Object.keys(a).length){let f;for(let p=h.length-1;p>=0;p--){const g=h[p];if(g.element===t){f=g;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([a],null,d.errors,l)}return h.length?h.map(f=>f.buildKeyframes()):[Jd(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(e.options),s=t.currentTimeline.currentTime,o=this._visitSubInstructions(i,r,r.options);s!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){const i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,i){let s=t.currentTimeline.currentTime;const o=null!=i.duration?vi(i.duration):null,a=null!=i.delay?vi(i.delay):null;return 0!==o&&e.forEach(l=>{const c=t.appendInstructionToTimeline(l,o,a);s=Math.max(s,c.duration+c.delay)}),s}visitReference(e,t){t.updateOptions(e.options,!0),St(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const i=t.subContextCount;let r=t;const s=e.options;if(s&&(s.params||s.delay)&&(r=t.createSubContext(s),r.transformIntoNewTimeline(),null!=s.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=La);const o=vi(s.delay);r.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>St(this,o,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const i=[];let r=t.currentTimeline.currentTime;const s=e.options&&e.options.delay?vi(e.options.delay):0;e.steps.forEach(o=>{const a=t.createSubContext(e.options);s&&a.delayNextStep(s),St(this,o,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const i=e.strValue;return Aa(t.params?Ta(i,t.params,t.errors):i,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const i=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const s=e.style;5==s.type?this.visitKeyframes(s,t):(t.incrementTime(i.duration),this.visitStyle(s,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.getCurrentStyleProperties().length&&i.forwardFrame();const s=r&&r.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(s):i.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,s=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,e.styles.forEach(l=>{a.forwardTime((l.offset||0)*s),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+s),t.previousNode=e}visitQuery(e,t){const i=t.currentTimeline.currentTime,r=e.options||{},s=r.delay?vi(r.delay):0;s&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=La);let o=i;const a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{t.currentQueryIndex=u;const d=t.createSubContext(e.options,c);s&&d.delayNextStep(s),c===t.element&&(l=d.currentTimeline),St(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,d.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const i=t.parentContext,r=t.currentTimeline,s=e.timings,o=Math.abs(s.duration),a=o*(t.currentQueryTotal-1);let l=o*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const u=t.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;St(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=r.currentTime-d+(r.startTime-i.currentTimeline.startTime)}}const La={};class th{constructor(e,t,i,r,s,o,a,l){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=La,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Va(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const i=e;let r=this.options;null!=i.duration&&(r.duration=vi(i.duration)),null!=i.delay&&(r.delay=vi(i.delay));const s=i.params;if(s){let o=r.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!t||!o.hasOwnProperty(a))&&(o[a]=Ta(s[a],o,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const i=e.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return e}createSubContext(e=null,t,i){const r=t||this.element,s=new th(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=La,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){const r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+e.delay,easing:""},s=new CP(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,r,s,o){let a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace(yP,"."+this._enterClassName)).replace(bP,"."+this._leaveClassName);let c=this._driver.query(this.element,e,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!s&&0==a.length&&o.push(function IN(n){return new S(3014,q)}()),a}}class Va{constructor(e,t,i,r){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new Va(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||In,this._currentKeyframe[t]=In}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,r){t&&(this._previousKeyframe.easing=t);const s=r&&r.params||{},o=function EP(n,e){const t={};let i;return n.forEach(r=>{"*"===r?(i=i||Object.keys(e),i.forEach(s=>{t[s]=In})):Gn(r,!1,t)}),t}(e,this._globalTimelineStyles);Object.keys(o).forEach(a=>{const l=Ta(o[a],s,i);this._pendingStyles[a]=l,this._localTimelineStyles.hasOwnProperty(a)||(this._backFill[a]=this._globalTimelineStyles.hasOwnProperty(a)?this._globalTimelineStyles[a]:In),this._updateStyle(a,l)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(i=>{this._currentKeyframe[i]=e[i]}),Object.keys(this._localTimelineStyles).forEach(i=>{this._currentKeyframe.hasOwnProperty(i)||(this._currentKeyframe[i]=this._localTimelineStyles[i])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const i=this._styleSummary[t],r=e._styleSummary[t];(!i||r.time>i.time)&&this._updateStyle(t,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=Gn(a,!0);Object.keys(c).forEach(u=>{const d=c[u];"!"==d?e.add(u):d==In&&t.add(u)}),i||(c.offset=l/this.duration),r.push(c)});const s=e.size?Ia(e.values()):[],o=t.size?Ia(t.values()):[];if(i){const a=r[0],l=yr(a);a.offset=0,l.offset=1,r=[a,l]}return Jd(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}}class CP extends Va{constructor(e,t,i,r,s,o,a=!1){super(e,t,o.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const s=[],o=i+t,a=t/o,l=Gn(e[0],!1);l.offset=0,s.push(l);const c=Gn(e[0],!1);c.offset=Zb(a),s.push(c);const u=e.length-1;for(let d=1;d<=u;d++){let h=Gn(e[d],!1);h.offset=Zb((t+h.offset*i)/o),s.push(h)}i=o,t=0,r="",e=s}return Jd(this.element,e,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function Zb(n,e=3){const t=Math.pow(10,e-1);return Math.round(n*t)/t}class nh{}class wP extends nh{normalizePropertyName(e,t){return Zd(e)}normalizeStyleValue(e,t,i,r){let s="";const o=i.toString().trim();if(SP[t]&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function yN(n,e){return new S(3005,q)}())}return o+s}}const SP=(()=>function MP(n){const e={};return n.forEach(t=>e[t]=!0),e}("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".split(",")))();function Qb(n,e,t,i,r,s,o,a,l,c,u,d,h){return{type:0,element:n,triggerName:e,isRemovalTransition:r,fromState:t,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const ih={};class Xb{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,r){return function AP(n,e,t,i,r){return n.some(s=>s(e,t,i,r))}(this.ast.matchers,e,t,i,r)}buildStyles(e,t,i){const r=this._stateStyles["*"],s=this._stateStyles[e],o=r?r.buildStyles(t,i):{};return s?s.buildStyles(t,i):o}build(e,t,i,r,s,o,a,l,c,u){const d=[],h=this.ast.options&&this.ast.options.params||ih,p=this.buildStyles(i,a&&a.params||ih,d),g=l&&l.params||ih,_=this.buildStyles(r,g,d),D=new Set,m=new Map,C=new Map,T="void"===r,z={params:Object.assign(Object.assign({},h),g)},ge=u?[]:eh(e,t,this.ast.animation,s,o,p,_,z,c,d);let De=0;if(ge.forEach(At=>{De=Math.max(At.duration+At.delay,De)}),d.length)return Qb(t,this._triggerName,i,r,T,p,_,[],[],m,C,De,d);ge.forEach(At=>{const Tt=At.element,br=wt(m,Tt,{});At.preStyleProps.forEach(tn=>br[tn]=!0);const kn=wt(C,Tt,{});At.postStyleProps.forEach(tn=>kn[tn]=!0),Tt!==t&&D.add(Tt)});const Mt=Ia(D.values());return Qb(t,this._triggerName,i,r,T,p,_,ge,Mt,m,C,De)}}class TP{constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){const i={},r=yr(this.defaultParams);return Object.keys(e).forEach(s=>{const o=e[s];null!=o&&(r[s]=o)}),this.styles.styles.forEach(s=>{if("string"!=typeof s){const o=s;Object.keys(o).forEach(a=>{let l=o[a];l.length>1&&(l=Ta(l,r,t));const c=this.normalizer.normalizePropertyName(a,t);l=this.normalizer.normalizeStyleValue(a,c,l,t),i[c]=l})}}),i}}class kP{constructor(e,t,i){this.name=e,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states={},t.states.forEach(r=>{this.states[r.name]=new TP(r.style,r.options&&r.options.params||{},i)}),Jb(this.states,"true","1"),Jb(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new Xb(e,r,this.states))}),this.fallbackTransition=function xP(n,e,t){return new Xb(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(o,a)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,r){return this.transitionFactories.find(o=>o.match(e,t,i,r))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}}function Jb(n,e,t){n.hasOwnProperty(e)?n.hasOwnProperty(t)||(n[t]=n[e]):n.hasOwnProperty(t)&&(n[e]=n[t])}const OP=new Pa;class FP{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(e,t){const i=[],s=Qd(this._driver,t,i,[]);if(i.length)throw function PN(n){return new S(3503,q)}();this._animations[e]=s}_buildPlayer(e,t,i){const r=e.element,s=xb(0,this._normalizer,0,e.keyframes,t,i);return this._driver.animate(r,s,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){const r=[],s=this._animations[e];let o;const a=new Map;if(s?(o=eh(this._driver,t,s,Wd,wa,{},{},i,OP,r),o.forEach(u=>{const d=wt(a,u.element,{});u.postStyleProps.forEach(h=>d[h]=null)})):(r.push(function LN(){return new S(3300,q)}()),o=[]),r.length)throw function VN(n){return new S(3504,q)}();a.forEach((u,d)=>{Object.keys(u).forEach(h=>{u[h]=this._driver.computeStyle(d,h,In)})});const c=zn(o.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,{},d)}));return this._playersById[e]=c,c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw function BN(n){return new S(3301,q)}();return t}listen(e,t,i,r){const s=$d(t,"","","");return jd(this._getPlayer(e),i,s,r),()=>{}}command(e,t,i,r){if("register"==i)return void this.register(e,r[0]);if("create"==i)return void this.create(e,t,r[0]||{});const s=this._getPlayer(e);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const eD="ng-animate-queued",rh="ng-animate-disabled",VP=[],tD={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},BP={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Bt="__ng_removed";class sh{constructor(e,t=""){this.namespaceId=t;const i=e&&e.hasOwnProperty("value");if(this.value=function UP(n){return null!=n?n:null}(i?e.value:e),i){const s=yr(e);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const i=this.options.params;Object.keys(t).forEach(r=>{null==i[r]&&(i[r]=t[r])})}}}const Ss="void",oh=new sh(Ss);class jP{constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,jt(t,this._hostClassName)}listen(e,t,i,r){if(!this._triggers.hasOwnProperty(t))throw function jN(n,e){return new S(3302,q)}();if(null==i||0==i.length)throw function HN(n){return new S(3303,q)}();if(!function zP(n){return"start"==n||"done"==n}(i))throw function $N(n,e){return new S(3400,q)}();const s=wt(this._elementListeners,e,[]),o={name:t,phase:i,callback:r};s.push(o);const a=wt(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(jt(e,Sa),jt(e,Sa+"-"+t),a[t]=oh),()=>{this._engine.afterFlush(()=>{const l=s.indexOf(o);l>=0&&s.splice(l,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw function UN(n){return new S(3401,q)}();return t}trigger(e,t,i,r=!0){const s=this._getTrigger(t),o=new ah(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(jt(e,Sa),jt(e,Sa+"-"+t),this._engine.statesByElement.set(e,a={}));let l=a[t];const c=new sh(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a[t]=c,l||(l=oh),c.value!==Ss&&l.value===c.value){if(!function qP(n,e){const t=Object.keys(n),i=Object.keys(e);if(t.length!=i.length)return!1;for(let r=0;r<t.length;r++){const s=t[r];if(!e.hasOwnProperty(s)||n[s]!==e[s])return!1}return!0}(l.params,c.params)){const g=[],_=s.matchStyles(l.value,l.params,g),D=s.matchStyles(c.value,c.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{bi(e,_),_n(e,D)})}return}const h=wt(this._engine.playersByElement,e,[]);h.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let f=s.matchTransition(l.value,c.value,e,c.params),p=!1;if(!f){if(!r)return;f=s.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:f,fromState:l,toState:c,player:o,isFallbackTransition:p}),p||(jt(e,eD),o.onStart(()=>{vr(e,eD)})),o.onDone(()=>{let g=this.players.indexOf(o);g>=0&&this.players.splice(g,1);const _=this._engine.playersByElement.get(e);if(_){let D=_.indexOf(o);D>=0&&_.splice(D,1)}}),this.players.push(o),h.push(o),o}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,i)=>{delete t[e]}),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const i=this._engine.driver.query(e,Ma,!0);i.forEach(r=>{if(r[Bt])return;const s=this._engine.fetchNamespacesByElement(r);s.size?s.forEach(o=>o.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,t,i,r){const s=this._engine.statesByElement.get(e),o=new Map;if(s){const a=[];if(Object.keys(s).forEach(l=>{if(o.set(l,s[l].value),this._triggers[l]){const c=this.trigger(e,l,Ss,r);c&&a.push(c)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),i&&zn(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){const r=new Set;t.forEach(s=>{const o=s.name;if(r.has(o))return;r.add(o);const l=this._triggers[o].fallbackTransition,c=i[o]||oh,u=new sh(Ss),d=new ah(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,t){const i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(i.totalAnimations){const s=i.players.length?i.playersByQueriedElement.get(e):[];if(s&&s.length)r=!0;else{let o=e;for(;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,t);else{const s=e[Bt];(!s||s===tD)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){jt(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const s=i.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==i.triggerName){const l=$d(s,i.triggerName,i.fromState.value,i.toState.value);l._data=e,jd(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const s=i.transition.ast.depCount,o=r.transition.ast.depCount;return 0==s||0==o?s-o:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(i=>i.element===e)||t,t}}class HP{constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,s)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){const i=new jP(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){const i=this._namespaceList,r=this.namespacesByHostElement,s=i.length-1;if(s>=0){let o=!1;if(void 0!==this.driver.getParentElement){let a=this.driver.getParentElement(t);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}}else for(let a=s;a>=0;a--)if(this.driver.containsElement(i[a].hostElement,t)){i.splice(a+1,0,e),o=!0;break}o||i.unshift(e)}else i.push(e);return r.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let r=this._namespaceLookup[e];r&&r.register(t,i)&&this.totalAnimations++}destroy(e,t){if(!e)return;const i=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[e];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,i=this.statesByElement.get(e);if(i){const r=Object.keys(i);for(let s=0;s<r.length;s++){const o=i[r[s]].namespaceId;if(o){const a=this._fetchNamespace(o);a&&t.add(a)}}}return t}trigger(e,t,i,r){if(Ba(t)){const s=this._fetchNamespace(e);if(s)return s.trigger(t,i,r),!0}return!1}insertNode(e,t,i,r){if(!Ba(t))return;const s=t[Bt];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){const o=this._fetchNamespace(e);o&&o.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),jt(e,rh)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),vr(e,rh))}removeNode(e,t,i,r){if(Ba(t)){const s=e?this._fetchNamespace(e):null;if(s?s.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),i){const o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,i,r,s){this.collectedLeaveElements.push(t),t[Bt]={namespaceId:e,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,t,i,r,s){return Ba(t)?this._fetchNamespace(e).listen(t,i,r,s):()=>{}}_buildInstruction(e,t,i,r,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,r,e.fromState.options,e.toState.options,t,s)}destroyInnerAnimations(e){let t=this.driver.query(e,Ma,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,qd,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return zn(this.players).onDone(()=>e());e()})}processLeaveNode(e){var t;const i=e[Bt];if(i&&i.setForRemoval){if(e[Bt]=tD,i.namespaceId){this.destroyInnerAnimations(e);const r=this._fetchNamespace(i.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,i.setForRemoval)}(null===(t=e.classList)||void 0===t?void 0:t.contains(rh))&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)jt(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{t=this._flushAnimations(i,e)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?zn(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(e){throw function zN(n){return new S(3402,q)}()}_flushAnimations(e,t){const i=new Pa,r=[],s=new Map,o=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(M=>{u.add(M);const k=this.driver.query(M,".ng-animate-queued",!0);for(let R=0;R<k.length;R++)u.add(k[R])});const d=this.bodyNode,h=Array.from(this.statesByElement.keys()),f=rD(h,this.collectedEnterElements),p=new Map;let g=0;f.forEach((M,k)=>{const R=Wd+g++;p.set(k,R),M.forEach(X=>jt(X,R))});const _=[],D=new Set,m=new Set;for(let M=0;M<this.collectedLeaveElements.length;M++){const k=this.collectedLeaveElements[M],R=k[Bt];R&&R.setForRemoval&&(_.push(k),D.add(k),R.hasAnimation?this.driver.query(k,".ng-star-inserted",!0).forEach(X=>D.add(X)):m.add(k))}const C=new Map,T=rD(h,Array.from(D));T.forEach((M,k)=>{const R=wa+g++;C.set(k,R),M.forEach(X=>jt(X,R))}),e.push(()=>{f.forEach((M,k)=>{const R=p.get(k);M.forEach(X=>vr(X,R))}),T.forEach((M,k)=>{const R=C.get(k);M.forEach(X=>vr(X,R))}),_.forEach(M=>{this.processLeaveNode(M)})});const z=[],ge=[];for(let M=this._namespaceList.length-1;M>=0;M--)this._namespaceList[M].drainQueuedTransitions(t).forEach(R=>{const X=R.player,Ge=R.element;if(z.push(X),this.collectedEnterElements.length){const ct=Ge[Bt];if(ct&&ct.setForMove){if(ct.previousTriggersValues&&ct.previousTriggersValues.has(R.triggerName)){const Ci=ct.previousTriggersValues.get(R.triggerName),qn=this.statesByElement.get(R.element);qn&&qn[R.triggerName]&&(qn[R.triggerName].value=Ci)}return void X.destroy()}}const yn=!d||!this.driver.containsElement(d,Ge),It=C.get(Ge),Wn=p.get(Ge),Ce=this._buildInstruction(R,i,Wn,It,yn);if(Ce.errors&&Ce.errors.length)return void ge.push(Ce);if(yn)return X.onStart(()=>bi(Ge,Ce.fromStyles)),X.onDestroy(()=>_n(Ge,Ce.toStyles)),void r.push(X);if(R.isFallbackTransition)return X.onStart(()=>bi(Ge,Ce.fromStyles)),X.onDestroy(()=>_n(Ge,Ce.toStyles)),void r.push(X);const wD=[];Ce.timelines.forEach(ct=>{ct.stretchStartingKeyframe=!0,this.disabledNodes.has(ct.element)||wD.push(ct)}),Ce.timelines=wD,i.append(Ge,Ce.timelines),o.push({instruction:Ce,player:X,element:Ge}),Ce.queriedElements.forEach(ct=>wt(a,ct,[]).push(X)),Ce.preStyleProps.forEach((ct,Ci)=>{const qn=Object.keys(ct);if(qn.length){let Ei=l.get(Ci);Ei||l.set(Ci,Ei=new Set),qn.forEach(uh=>Ei.add(uh))}}),Ce.postStyleProps.forEach((ct,Ci)=>{const qn=Object.keys(ct);let Ei=c.get(Ci);Ei||c.set(Ci,Ei=new Set),qn.forEach(uh=>Ei.add(uh))})});if(ge.length){const M=[];ge.forEach(k=>{M.push(function GN(n,e){return new S(3505,q)}())}),z.forEach(k=>k.destroy()),this.reportError(M)}const De=new Map,Mt=new Map;o.forEach(M=>{const k=M.element;i.has(k)&&(Mt.set(k,k),this._beforeAnimationBuild(M.player.namespaceId,M.instruction,De))}),r.forEach(M=>{const k=M.element;this._getPreviousPlayers(k,!1,M.namespaceId,M.triggerName,null).forEach(X=>{wt(De,k,[]).push(X),X.destroy()})});const At=_.filter(M=>oD(M,l,c)),Tt=new Map;iD(Tt,this.driver,m,c,In).forEach(M=>{oD(M,l,c)&&At.push(M)});const kn=new Map;f.forEach((M,k)=>{iD(kn,this.driver,new Set(M),l,"!")}),At.forEach(M=>{const k=Tt.get(M),R=kn.get(M);Tt.set(M,Object.assign(Object.assign({},k),R))});const tn=[],Dr=[],Cr={};o.forEach(M=>{const{element:k,player:R,instruction:X}=M;if(i.has(k)){if(u.has(k))return R.onDestroy(()=>_n(k,X.toStyles)),R.disabled=!0,R.overrideTotalTime(X.totalTime),void r.push(R);let Ge=Cr;if(Mt.size>1){let It=k;const Wn=[];for(;It=It.parentNode;){const Ce=Mt.get(It);if(Ce){Ge=Ce;break}Wn.push(It)}Wn.forEach(Ce=>Mt.set(Ce,Ge))}const yn=this._buildAnimation(R.namespaceId,X,De,s,kn,Tt);if(R.setRealPlayer(yn),Ge===Cr)tn.push(R);else{const It=this.playersByElement.get(Ge);It&&It.length&&(R.parentPlayer=zn(It)),r.push(R)}}else bi(k,X.fromStyles),R.onDestroy(()=>_n(k,X.toStyles)),Dr.push(R),u.has(k)&&r.push(R)}),Dr.forEach(M=>{const k=s.get(M.element);if(k&&k.length){const R=zn(k);M.setRealPlayer(R)}}),r.forEach(M=>{M.parentPlayer?M.syncPlayerEvents(M.parentPlayer):M.destroy()});for(let M=0;M<_.length;M++){const k=_[M],R=k[Bt];if(vr(k,wa),R&&R.hasAnimation)continue;let X=[];if(a.size){let yn=a.get(k);yn&&yn.length&&X.push(...yn);let It=this.driver.query(k,qd,!0);for(let Wn=0;Wn<It.length;Wn++){let Ce=a.get(It[Wn]);Ce&&Ce.length&&X.push(...Ce)}}const Ge=X.filter(yn=>!yn.destroyed);Ge.length?GP(this,k,Ge):this.processLeaveNode(k)}return _.length=0,tn.forEach(M=>{this.players.push(M),M.onDone(()=>{M.destroy();const k=this.players.indexOf(M);this.players.splice(k,1)}),M.play()}),tn}elementContainsData(e,t){let i=!1;const r=t[Bt];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(t)&&(i=!0),this.playersByQueriedElement.has(t)&&(i=!0),this.statesByElement.has(t)&&(i=!0),this._fetchNamespace(e).elementContainsData(t)||i}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,r,s){let o=[];if(t){const a=this.playersByQueriedElement.get(e);a&&(o=a)}else{const a=this.playersByElement.get(e);if(a){const l=!s||s==Ss;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||o.push(c)})}}return(i||r)&&(o=o.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),o}_beforeAnimationBuild(e,t,i){const s=t.element,o=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const c=l.element,u=c!==s,d=wt(i,c,[]);this._getPreviousPlayers(c,u,o,a,t.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),d.push(f)})}bi(s,t.fromStyles)}_buildAnimation(e,t,i,r,s,o){const a=t.triggerName,l=t.element,c=[],u=new Set,d=new Set,h=t.timelines.map(p=>{const g=p.element;u.add(g);const _=g[Bt];if(_&&_.removedBeforeQueried)return new Es(p.duration,p.delay);const D=g!==l,m=function WP(n){const e=[];return sD(n,e),e}((i.get(g)||VP).map(De=>De.getRealPlayer())).filter(De=>!!De.element&&De.element===g),C=s.get(g),T=o.get(g),z=xb(0,this._normalizer,0,p.keyframes,C,T),ge=this._buildPlayer(p,z,m);if(p.subTimeline&&r&&d.add(g),D){const De=new ah(e,a,g);De.setRealPlayer(ge),c.push(De)}return ge});c.forEach(p=>{wt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function $P(n,e,t){let i;if(n instanceof Map){if(i=n.get(e),i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&n.delete(e)}}else if(i=n[e],i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&delete n[e]}return i}(this.playersByQueriedElement,p.element,p))}),u.forEach(p=>jt(p,Hb));const f=zn(h);return f.onDestroy(()=>{u.forEach(p=>vr(p,Hb)),_n(l,t.toStyles)}),d.forEach(p=>{wt(r,p,[]).push(f)}),f}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new Es(e.duration,e.delay)}}class ah{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new Es,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(i=>jd(e,t,void 0,i))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){wt(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function Ba(n){return n&&1===n.nodeType}function nD(n,e){const t=n.style.display;return n.style.display=null!=e?e:"none",t}function iD(n,e,t,i,r){const s=[];t.forEach(l=>s.push(nD(l)));const o=[];i.forEach((l,c)=>{const u={};l.forEach(d=>{const h=u[d]=e.computeStyle(c,d,r);(!h||0==h.length)&&(c[Bt]=BP,o.push(c))}),n.set(c,u)});let a=0;return t.forEach(l=>nD(l,s[a++])),o}function rD(n,e){const t=new Map;if(n.forEach(a=>t.set(a,[])),0==e.length)return t;const r=new Set(e),s=new Map;function o(a){if(!a)return 1;let l=s.get(a);if(l)return l;const c=a.parentNode;return l=t.has(c)?c:r.has(c)?1:o(c),s.set(a,l),l}return e.forEach(a=>{const l=o(a);1!==l&&t.get(l).push(a)}),t}function jt(n,e){var t;null===(t=n.classList)||void 0===t||t.add(e)}function vr(n,e){var t;null===(t=n.classList)||void 0===t||t.remove(e)}function GP(n,e,t){zn(t).onDone(()=>n.processLeaveNode(e))}function sD(n,e){for(let t=0;t<n.length;t++){const i=n[t];i instanceof Ib?sD(i.players,e):e.push(i)}}function oD(n,e,t){const i=t.get(n);if(!i)return!1;let r=e.get(n);return r?i.forEach(s=>r.add(s)):e.set(n,i),t.delete(n),!0}class ja{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,s)=>{},this._transitionEngine=new HP(e,t,i),this._timelineEngine=new FP(e,t,i),this._transitionEngine.onRemovalComplete=(r,s)=>this.onRemovalComplete(r,s)}registerTrigger(e,t,i,r,s){const o=e+"-"+r;let a=this._triggerCache[o];if(!a){const l=[],u=Qd(this._driver,s,l,[]);if(l.length)throw function RN(n,e){return new S(3404,q)}();a=function IP(n,e,t){return new kP(n,e,t)}(r,u,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,r,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,r){this._transitionEngine.insertNode(e,t,i,r)}onRemove(e,t,i,r){this._transitionEngine.removeNode(e,t,r||!1,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,r){if("@"==i.charAt(0)){const[s,o]=Ob(i);this._timelineEngine.command(s,t,o,r)}else this._transitionEngine.trigger(e,t,i,r)}listen(e,t,i,r,s){if("@"==i.charAt(0)){const[o,a]=Ob(i);return this._timelineEngine.listen(o,t,a,s)}return this._transitionEngine.listen(e,t,i,r,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let YP=(()=>{class n{constructor(t,i,r){this._element=t,this._startStyles=i,this._endStyles=r,this._state=0;let s=n.initialStylesByElement.get(t);s||n.initialStylesByElement.set(t,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&_n(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(_n(this._element,this._initialStyles),this._endStyles&&(_n(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(bi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(bi(this._element,this._endStyles),this._endStyles=null),_n(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function lh(n){let e=null;const t=Object.keys(n);for(let i=0;i<t.length;i++){const r=t[i];ZP(r)&&(e=e||{},e[r]=n[r])}return e}function ZP(n){return"display"===n||"position"===n}class aD{constructor(e,t,i,r){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,i){return e.animate(t,i)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&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(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};if(this.hasStarted()){const t=this._finalKeyframe;Object.keys(t).forEach(i=>{"offset"!=i&&(e[i]=this._finished?t[i]:Wb(this.element,i))})}this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class QP{validateStyleProperty(e){return Pb(e)}matchesElement(e,t){return!1}containsElement(e,t){return Lb(e,t)}getParentElement(e){return zd(e)}query(e,t,i){return Vb(e,t,i)}computeStyle(e,t,i){return window.getComputedStyle(e)[t]}animate(e,t,i,r,s,o=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};s&&(l.easing=s);const c={},u=o.filter(h=>h instanceof aD);(function tP(n,e){return 0===n||0===e})(i,r)&&u.forEach(h=>{let f=h.currentSnapshot;Object.keys(f).forEach(p=>c[p]=f[p])}),t=function nP(n,e,t){const i=Object.keys(t);if(i.length&&e.length){let s=e[0],o=[];if(i.forEach(a=>{s.hasOwnProperty(a)||o.push(a),s[a]=t[a]}),o.length)for(var r=1;r<e.length;r++){let a=e[r];o.forEach(function(l){a[l]=Wb(n,l)})}}return e}(e,t=t.map(h=>Gn(h,!1)),c);const d=function KP(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=lh(e[0]),e.length>1&&(i=lh(e[e.length-1]))):e&&(t=lh(e)),t||i?new YP(n,t,i):null}(e,t);return new aD(e,t,l,d)}}let XP=(()=>{class n extends Sb{constructor(t,i){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(i.body,{id:"0",encapsulation:$t.None,styles:[],data:{animation:[]}})}build(t){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(t)?Mb(t):t;return lD(this._renderer,null,i,"register",[r]),new JP(i,this._renderer)}}return n.\u0275fac=function(t){return new(t||n)(v(ss),v(oe))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class JP extends class hN{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new e1(this._id,e,t||{},this._renderer)}}class e1{constructor(e,t,i,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return lD(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function lD(n,e,t,i,r){return n.setProperty(e,`@@${t}:${i}`,r)}const cD="@.disabled";let t1=(()=>{class n{constructor(t,i,r){this.delegate=t,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(s,o)=>{const a=null==o?void 0:o.parentNode(s);a&&o.removeChild(a,s)}}createRenderer(t,i){const s=this.delegate.createRenderer(t,i);if(!(t&&i&&i.data&&i.data.animation)){let u=this._rendererCache.get(s);return u||(u=new uD("",s,this.engine),this._rendererCache.set(s,u)),u}const o=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,t);const l=u=>{Array.isArray(u)?u.forEach(l):this.engine.registerTrigger(o,a,t,u.name,u)};return i.data.animation.forEach(l),new n1(this,a,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,i,r){t>=0&&t<this._microtaskId?this._zone.run(()=>i(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{const[o,a]=s;o(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}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()}}return n.\u0275fac=function(t){return new(t||n)(v(ss),v(ja),v(he))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class uD{constructor(e,t,i){this.namespaceId=e,this.delegate=t,this.engine=i,this.destroyNode=this.delegate.destroyNode?r=>t.destroyNode(r):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i,r=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate,i)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,r){this.delegate.setAttribute(e,t,i,r)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,r){this.delegate.setStyle(e,t,i,r)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){"@"==t.charAt(0)&&t==cD?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i){return this.delegate.listen(e,t,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class n1 extends uD{constructor(e,t,i,r){super(t,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==cD?this.disableAnimations(e,i=void 0===i||!!i):this.engine.process(this.namespaceId,e,t.substr(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i){if("@"==t.charAt(0)){const r=function r1(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(e);let s=t.substr(1),o="";return"@"!=s.charAt(0)&&([s,o]=function s1(n){const e=n.indexOf(".");return[n.substring(0,e),n.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,r,s,o,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(e,t,i)}}let o1=(()=>{class n extends ja{constructor(t,i,r){super(t.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(t){return new(t||n)(v(oe),v(Gd),v(nh))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const $a=new I("AnimationModuleType"),dD=[{provide:Sb,useClass:XP},{provide:nh,useFactory:function a1(){return new wP}},{provide:ja,useClass:o1},{provide:ss,useFactory:function l1(n,e,t){return new t1(n,e,t)},deps:[oa,ja,he]}],hD=[{provide:Gd,useFactory:()=>new QP},{provide:$a,useValue:"BrowserAnimations"},...dD],c1=[{provide:Gd,useClass:Bb},{provide:$a,useValue:"NoopAnimations"},...dD];let u1=(()=>{class n{static withConfig(t){return{ngModule:n,providers:t.disableAnimations?c1:hD}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Ye({type:n}),n.\u0275inj=$e({providers:hD,imports:[By]}),n})();const h1=new I("mat-sanity-checks",{providedIn:"root",factory:function d1(){return!0}});let Ua=(()=>{class n{constructor(t,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!sd()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}}return n.\u0275fac=function(t){return new(t||n)(v(dN),v(h1,8),v(oe))},n.\u0275mod=Ye({type:n}),n.\u0275inj=$e({imports:[[ev],ev]}),n})();function f1(n){return class extends n{constructor(...e){super(...e),this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=pr(e)}}}function p1(n,e){return class extends n{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const i=t||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function g1(n){return class extends n{constructor(...e){super(...e),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=pr(e)}}}function m1(n,e=0){return class extends n{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?$y(t):this.defaultTabIndex}}}class y1{constructor(e,t,i){this._renderer=e,this.element=t,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const pD={enterDuration:225,exitDuration:150},ch=id({passive:!0}),gD=["mousedown","touchstart"],mD=["mouseup","mouseleave","touchend","touchcancel"];class b1{constructor(e,t,i,r){this._target=e,this._ngZone=t,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=hi(i))}fadeInRipple(e,t,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},pD),i.animation);i.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);const o=i.radius||function C1(n,e,t){const i=Math.max(Math.abs(n-t.left),Math.abs(n-t.right)),r=Math.max(Math.abs(e-t.top),Math.abs(e-t.bottom));return Math.sqrt(i*i+r*r)}(e,t,r),a=e-r.left,l=t-r.top,c=s.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=a-o+"px",u.style.top=l-o+"px",u.style.height=2*o+"px",u.style.width=2*o+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u),function D1(n){window.getComputedStyle(n).getPropertyValue("opacity")}(u),u.style.transform="scale(1)";const d=new y1(this,u,i);return d.state=0,this._activeRipples.add(d),i.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone(()=>{const h=d===this._mostRecentTransientRipple;d.state=1,!i.persistent&&(!h||!this._isPointerDown)&&d.fadeOut()},c),d}fadeOutRipple(e){const t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!t)return;const i=e.element,r=Object.assign(Object.assign({},pD),e.config.animation);i.style.transitionDuration=`${r.exitDuration}ms`,i.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(()=>{e.state=3,i.remove()},r.exitDuration)}fadeOutAll(){this._activeRipples.forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){const t=hi(e);!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(gD))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(mD),this._pointerUpEventsRegistered=!0)}_onMousedown(e){const t=bb(e),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!t&&!i&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!Db(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=e.changedTouches;for(let i=0;i<t.length;i++)this.fadeInRipple(t[i].clientX,t[i].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(e=>{!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}_runTimeoutOutsideZone(e,t=0){this._ngZone.runOutsideAngular(()=>setTimeout(e,t))}_registerEvents(e){this._ngZone.runOutsideAngular(()=>{e.forEach(t=>{this._triggerElement.addEventListener(t,this,ch)})})}_removeTriggerEvents(){this._triggerElement&&(gD.forEach(e=>{this._triggerElement.removeEventListener(e,this,ch)}),this._pointerUpEventsRegistered&&mD.forEach(e=>{this._triggerElement.removeEventListener(e,this,ch)}))}}const E1=new I("mat-ripple-global-options");let _D=(()=>{class n{constructor(t,i,r,s,o){this._elementRef=t,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new b1(this,i,t,r)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}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:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{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(t,i=0,r){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,i,Object.assign(Object.assign({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return n.\u0275fac=function(t){return new(t||n)(b(Qe),b(he),b(Tn),b(E1,8),b($a,8))},n.\u0275dir=N({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,i){2&t&&ri("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),w1=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Ye({type:n}),n.\u0275inj=$e({imports:[[Ua,MO],Ua]}),n})();function yD(n,e=td){return t=>t.lift(new S1(n,e))}class S1{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new M1(e,this.dueTime,this.scheduler))}}class M1 extends Ee{constructor(e,t,i){super(e),this.dueTime=t,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(A1,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function A1(n){n.debouncedNext()}let vD=(()=>{class n{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),T1=(()=>{class n{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,i)=>this._cleanupObserver(i))}observe(t){const i=hi(t);return new ye(r=>{const o=this._observeElement(i).subscribe(r);return()=>{o.unsubscribe(),this._unobserveElement(i)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const i=new qe,r=this._mutationObserverFactory.create(s=>i.next(s));r&&r.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:r,stream:i,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:i,stream:r}=this._observedElements.get(t);i&&i.disconnect(),r.complete(),this._observedElements.delete(t)}}}return n.\u0275fac=function(t){return new(t||n)(v(vD))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),I1=(()=>{class n{constructor(t,i,r){this._contentObserver=t,this._elementRef=i,this._ngZone=r,this.event=new Te,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=pr(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=$y(t),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(yD(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(b(T1),b(Qe),b(he))},n.\u0275dir=N({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),k1=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Ye({type:n}),n.\u0275inj=$e({providers:[vD]}),n})();const x1=["input"],O1=function(n){return{enterDuration:n}},F1=["*"],R1=new I("mat-checkbox-default-options",{providedIn:"root",factory:bD});function bD(){return{color:"accent",clickAction:"check-indeterminate"}}let N1=0;const DD=bD(),P1={provide:en,useExisting:re(()=>CD),multi:!0};class L1{}const V1=m1(p1(g1(f1(class{constructor(n){this._elementRef=n}}))));let CD=(()=>{class n extends V1{constructor(t,i,r,s,o,a,l){super(t),this._changeDetectorRef=i,this._focusMonitor=r,this._ngZone=s,this._animationMode=a,this._options=l,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++N1,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new Te,this.indeterminateChange=new Te,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||DD,this.color=this.defaultColor=this._options.color||DD.color,this.tabIndex=parseInt(o)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=pr(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const i=pr(t);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const i=t!=this._indeterminate;this._indeterminate=pr(t),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let i=this._currentCheckState,r=this._elementRef.nativeElement;if(i!==t&&(this._currentAnimationClass.length>0&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);const s=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(s)},1e3)})}}_emitChangeEvent(){const t=new L1;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(t){var i;const r=null===(i=this._options)||void 0===i?void 0:i.clickAction;t.stopPropagation(),this.disabled||"noop"===r?!this.disabled&&"noop"===r&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==r&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t,i){t?this._focusMonitor.focusVia(this._inputElement,t,i):this._inputElement.nativeElement.focus(i)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,i){if("NoopAnimations"===this._animationMode)return"";let r="";switch(t){case 0:if(1===i)r="unchecked-checked";else{if(3!=i)return"";r="unchecked-indeterminate"}break;case 2:r=1===i?"unchecked-checked":"unchecked-indeterminate";break;case 1:r=2===i?"checked-unchecked":"checked-indeterminate";break;case 3:r=1===i?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${r}`}_syncIndeterminate(t){const i=this._inputElement;i&&(i.nativeElement.indeterminate=t)}}return n.\u0275fac=function(t){return new(t||n)(b(Qe),b(jo),b(uN),b(he),function io(n){return function tE(n,e){if("class"===e)return n.classes;if("style"===e)return n.styles;const t=n.attrs;if(t){const i=t.length;let r=0;for(;r<i;){const s=t[r];if(nf(s))break;if(0===s)r+=2;else if("number"==typeof s)for(r++;r<i&&"string"==typeof t[r];)r++;else{if(s===e)return t[r+1];r+=2}}}return null}(Ve(),n)}("tabindex"),b($a,8),b(R1,8))},n.\u0275cmp=Vs({type:n,selectors:[["mat-checkbox"]],viewQuery:function(t,i){if(1&t&&(du(x1,5),du(_D,5)),2&t){let r;uu(r=hu())&&(i._inputElement=r.first),uu(r=hu())&&(i.ripple=r.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,i){2&t&&(Wc("id",i.id),Nt("tabindex",null),ri("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before","before"==i.labelPosition)("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[de([P1]),ee],ngContentSelectors:F1,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,i){if(1&t&&(function Vg(n){const e=y()[16][6];if(!e.projection){const i=e.projection=Nr(n?n.length:1,null),r=i.slice();let s=e.child;for(;null!==s;){const o=n?jM(s,n):0;null!==o&&(r[o]?r[o].projectionNext=s:i[o]=s,r[o]=s),s=s.next}}}(),dn(0,"label",0,1)(2,"span",2)(3,"input",3,4),Et("change",function(s){return i._onInteractionEvent(s)})("click",function(s){return i._onInputClick(s)}),hn(),dn(5,"span",5),or(6,"span",6),hn(),or(7,"span",7),dn(8,"span",8),function Jh(){L.lFrame.currentNamespace="svg"}(),dn(9,"svg",9),or(10,"path",10),hn(),function ef(){!function zC(){L.lFrame.currentNamespace=null}()}(),or(11,"span",11),hn()(),dn(12,"span",12,13),Et("cdkObserveContent",function(){return i._onLabelTextChange()}),dn(14,"span",14),Uc(15,"\xa0"),hn(),function Bg(n,e=0,t){const i=y(),r=Q(),s=zi(r,20+n,16,null,t||null);null===s.projection&&(s.projection=e),pl(),64!=(64&s.flags)&&function XE(n,e,t){Zf(e[H],0,e,t,Hf(n,t,e),Gf(t.parent||e[6],t,e))}(r,i,s)}(16),hn()()),2&t){const r=Oc(1),s=Oc(13);Nt("for",i.inputId),qr(2),ri("mat-checkbox-inner-container-no-side-margin",!s.textContent||!s.textContent.trim()),qr(1),Jr("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),Nt("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-checked",i._getAriaChecked())("aria-describedby",i.ariaDescribedby),qr(2),Jr("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",a_(19,O1,"NoopAnimations"===i._animationMode?0:150))}},directives:[_D,I1],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),n})(),ED=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Ye({type:n}),n.\u0275inj=$e({}),n})(),H1=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Ye({type:n}),n.\u0275inj=$e({imports:[[w1,Ua,k1,ED],Ua,ED]}),n})(),$1=(()=>{class n{constructor(t){this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container",i=this._document.querySelectorAll(`.${t}`);if(null==i?void 0:i.length)this._containerElement=i[0];else{const r=this._document.createElement("div");r.classList.add(t),this._document.body.appendChild(r),this._containerElement=r}}}return n.\u0275fac=function(t){return new(t||n)(v(oe))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),U1=(()=>{class n{constructor(){this.errorStateMatcher={isErrorState:()=>!!this.error||!this.valueCanBeChanged&&this.formControl.dirty},this.formControl=new Sd(""),this.onEnter$=new qe,this.valueCanBeChanged=!1}ngOnInit(){this.onEnter$.pipe(yD(100)).subscribe(()=>{var t;this.shouldValueChange(this.formControl.value)&&(null===(t=this.onEnter)||void 0===t||t.call(this,{value:this.modifyValueBeforeChange(this.formControl.value)}))}),this.valueChanges$=this.formControl.valueChanges.pipe(function Qy(n,e){return function(i){return i.lift(new wO(n,e))}}(t=>(this.valueCanBeChanged=this.shouldValueChange(t),this.valueCanBeChanged))).subscribe(t=>{this.updateOnBlur||this.triggerValueChange(t)})}triggerValueChange(t){this.onValueChange&&this.onValueChange({value:this.modifyValueBeforeChange(t)})}onEnterKeydown(t){this.onEnter$.next()}onBlur(){this.updateOnBlur&&this.shouldValueChange(this.formControl.value)&&this.triggerValueChange(this.formControl.value)}ngOnChanges(t){var i;this.disabled?this.formControl.disable({emitEvent:!1}):this.formControl.enable({emitEvent:!1}),t.value&&!(null===(i=this.input)||void 0===i?void 0:i.focused)&&this.formControl.setValue(this.value,{emitEvent:!1})}modifyValueBeforeChange(t){return t}shouldValueChange(t){return!0}ngOnDestroy(){this.valueChanges$&&this.valueChanges$.unsubscribe(),this.onEnter$&&this.onEnter$.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();var z1=hh(959);let G1=(()=>{class n extends U1{constructor(){super(...arguments),this.id=(0,z1.generate)()}ngOnChanges(t){this.updateOnBlur=!1,super.ngOnChanges(t)}}return n.\u0275fac=function(){let e;return function(i){return(e||(e=ze(n)))(i||n)}}(),n.\u0275cmp=Vs({type:n,selectors:[["drayman-checkbox-internal"]],inputs:{onValueChange:"onValueChange",value:"value",label:"label",disabled:"disabled",placeholder:"placeholder",helpText:"helpText",error:"error",updateOnBlur:"updateOnBlur"},features:[ee,rn],decls:2,vars:3,consts:[[3,"id","formControl"]],template:function(t,i){1&t&&(dn(0,"mat-checkbox",0),Uc(1),hn()),2&t&&(Jr("id",i.id)("formControl",i.formControl),qr(1),zc(i.label))},directives:[CD,Lv,Id],styles:[""]}),n})(),W1=(()=>{class n{constructor(t){this.injector=t}ngDoBootstrap(){const t=function BF(n,e){const t=function OF(n,e){return e.get(oi).resolveComponentFactory(n).inputs}(n,e.injector),i=e.strategyFactory||new PF(n,e.injector),r=function xF(n){const e={};return n.forEach(({propName:t,templateName:i})=>{e[function MF(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}(i)]=t}),e}(t);class s extends VF{constructor(a){super(),this.injector=a}get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=i.create(this.injector||e.injector);t.forEach(({propName:l})=>{if(!this.hasOwnProperty(l))return;const c=this[l];delete this[l],a.setInputValue(l,c)})}return this._ngElementStrategy}attributeChangedCallback(a,l,c,u){this.ngElementStrategy.setInputValue(r[a],c)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return s.observedAttributes=Object.keys(r),t.forEach(({propName:o})=>{Object.defineProperty(s.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(a){this.ngElementStrategy.setInputValue(o,a)},configurable:!0,enumerable:!0})}),s}(G1,{injector:this.injector});customElements.define("drayman-checkbox",t)}}return n.\u0275fac=function(t){return new(t||n)(v(dt))},n.\u0275mod=Ye({type:n}),n.\u0275inj=$e({providers:[{provide:ld,useClass:$1}],imports:[[By,u1,H1,BR,VR]]}),n})();(function sI(){K_=!1})(),Kx().bootstrapModule(W1).catch(n=>console.error(n))})()})();