@drayman/elements 1.40.0 → 1.41.0

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
- (()=>{"use strict";function ws(n){return"function"==typeof n}let Ya=!1;const Pt={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 Ya&&console.log("RxJS: Back to a better error behavior. Thank you. <3");Ya=n},get useDeprecatedSynchronousErrorHandling(){return Ya}};function _i(n){setTimeout(()=>{throw n},0)}const Ms={closed:!0,next(n){},error(n){if(Pt.useDeprecatedSynchronousErrorHandling)throw n;_i(n)},complete(){}},mr=Array.isArray||(n=>n&&"number"==typeof n.length);function Za(n){return null!==n&&"object"==typeof n}const Ss=(()=>{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 ae{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 ae)t.remove(this);else if(null!==t)for(let o=0;o<t.length;++o)t[o].remove(this);if(ws(r)){i&&(this._unsubscribe=void 0);try{r.call(this)}catch(o){e=o instanceof Ss?dh(o.errors):[o]}}if(mr(s)){let o=-1,a=s.length;for(;++o<a;){const l=s[o];if(Za(l))try{l.unsubscribe()}catch(c){e=e||[],c instanceof Ss?e=e.concat(dh(c.errors)):e.push(c)}}}if(e)throw new Ss(e)}add(e){let t=e;if(!e)return ae.EMPTY;switch(typeof e){case"function":t=new ae(e);case"object":if(t===this||t.closed||"function"!=typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if(!(t instanceof ae)){const s=t;t=new ae,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 ae){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 dh(n){return n.reduce((e,t)=>e.concat(t instanceof Ss?t.errors:t),[])}ae.EMPTY=((n=new ae).closed=!0,n);const As="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class je extends ae{constructor(e,t,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=Ms;break;case 1:if(!e){this.destination=Ms;break}if("object"==typeof e){e instanceof je?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new hh(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new hh(this,e,t,i)}}[As](){return this}static create(e,t,i){const r=new je(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 hh extends je{constructor(e,t,i,r){super(),this._parentSubscriber=e;let s,o=this;ws(t)?s=t:t&&(s=t.next,i=t.error,r=t.complete,t!==Ms&&(o=Object.create(t),ws(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;Pt.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}=Pt;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):_i(e),this.unsubscribe();else{if(this.unsubscribe(),i)throw e;_i(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);Pt.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(),Pt.useDeprecatedSynchronousErrorHandling)throw i;_i(i)}}__tryOrSetError(e,t,i){if(!Pt.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,i)}catch(r){return Pt.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(_i(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const _r="function"==typeof Symbol&&Symbol.observable||"@@observable";function fh(n){return n}let de=(()=>{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 xD(n,e,t){if(n){if(n instanceof je)return n;if(n[As])return n[As]()}return n||e||t?new je(n,e,t):new je(Ms)}(t,i,r);if(o.add(s?s.call(o,this.source):this.source||Pt.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),Pt.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){Pt.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=i),function FD(n){for(;n;){const{closed:e,destination:t,isStopped:i}=n;if(e||i)return!1;n=t&&t instanceof je?t:null}return!0}(t)?t.error(i):console.warn(i)}}forEach(t,i){return new(i=gh(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)}[_r](){return this}pipe(...t){return 0===t.length?this:function ph(n){return 0===n.length?fh:1===n.length?n[0]:function(t){return n.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=gh(t))((i,r)=>{let s;this.subscribe(o=>s=o,o=>r(o),()=>i(s))})}}return n.create=e=>new n(e),n})();function gh(n){if(n||(n=Pt.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const yi=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class mh extends ae{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 _h extends je{constructor(e){super(e),this.destination=e}}let ke=(()=>{class n extends de{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[As](){return new _h(this)}lift(t){const i=new yh(this,this);return i.operator=t,i}next(t){if(this.closed)throw new yi;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 yi;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 yi;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 yi;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new yi;return this.hasError?(t.error(this.thrownError),ae.EMPTY):this.isStopped?(t.complete(),ae.EMPTY):(this.observers.push(t),new mh(this,t))}asObservable(){const t=new de;return t.source=this,t}}return n.create=(e,t)=>new yh(e,t),n})();class yh extends ke{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):ae.EMPTY}}function yr(n){return n&&"function"==typeof n.schedule}function vi(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 OD(n,e))}}class OD{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new RD(e,this.project,this.thisArg))}}class RD extends je{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 vh=n=>e=>{for(let t=0,i=n.length;t<i&&!e.closed;t++)e.next(n[t]);e.complete()},Ts=function kD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),bh=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function Dh(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const Ch=n=>{if(n&&"function"==typeof n[_r])return(n=>e=>{const t=n[_r]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)})(n);if(bh(n))return vh(n);if(Dh(n))return(n=>e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,_i),e))(n);if(n&&"function"==typeof n[Ts])return(n=>e=>{const t=n[Ts]();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 ${Za(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(t)}};function Qa(n,e){return new de(t=>{const i=new ae;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 Is(n,e){return e?function UD(n,e){if(null!=n){if(function HD(n){return n&&"function"==typeof n[_r]}(n))return function VD(n,e){return new de(t=>{const i=new ae;return i.add(e.schedule(()=>{const r=n[_r]();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(Dh(n))return function BD(n,e){return new de(t=>{const i=new ae;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(bh(n))return Qa(n,e);if(function $D(n){return n&&"function"==typeof n[Ts]}(n)||"string"==typeof n)return function jD(n,e){if(!n)throw new Error("Iterable cannot be null");return new de(t=>{const i=new ae;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=n[Ts](),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 de?n:new de(Ch(n))}class Fs extends je{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 xs extends je{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function Os(n,e){if(!e.closed)return n instanceof de?n.subscribe(e):Ch(n)(e)}function Eh(n,e,t=Number.POSITIVE_INFINITY){return"function"==typeof e?i=>i.pipe(Eh((r,s)=>Is(n(r,s)).pipe(vi((o,a)=>e(r,o,s,a))),t)):("number"==typeof e&&(t=e),i=>i.lift(new zD(n,t)))}class zD{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new GD(e,this.project,this.concurrent))}}class GD extends xs{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 Fs(this),i=this.destination;i.add(t);const r=Os(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 wh(n=Number.POSITIVE_INFINITY){return Eh(fh,n)}function Mh(n,e){return e?Qa(n,e):new de(vh(n))}function Rs(...n){let e=Number.POSITIVE_INFINITY,t=null,i=n[n.length-1];return yr(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 de?n[0]:wh(e)(Mh(n,t))}function Sh(){return function(e){return e.lift(new WD(e))}}class WD{constructor(e){this.connectable=e}call(e,t){const{connectable:i}=this;i._refCount++;const r=new qD(e,i),s=t.subscribe(r);return r.closed||(r.connection=i.connect()),s}}class qD extends je{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 KD extends de{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 ae,e.add(this.source.subscribe(new ZD(this.getSubject(),this))),e.closed&&(this._connection=null,e=ae.EMPTY)),e}refCount(){return Sh()(this)}}const YD=(()=>{const n=KD.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 ZD extends _h{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 JD{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 eC(){return new ke}function te(n){for(let e in n)if(n[e]===te)return e;throw Error("Could not find renamed property on target object.")}function Xa(n,e){for(const t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function Q(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(Q).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 Ja(n,e){return null==n||""===n?null===e?"":e:null==e||""===e?n:n+" "+e}const nC=te({__forward_ref__:te});function ie(n){return n.__forward_ref__=ie,n.toString=function(){return Q(this())},n}function H(n){return Ah(n)?n():n}function Ah(n){return"function"==typeof n&&n.hasOwnProperty(nC)&&n.__forward_ref__===ie}class M extends Error{constructor(e,t){super(function el(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 He(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 M(-201,`No provider for ${He(n)} found${t}`)}function dt(n,e){null==n&&function X(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 Pe(n){return{providers:n.providers||[],imports:n.imports||[]}}function tl(n){return Th(n,ks)||Th(n,Fh)}function Th(n,e){return n.hasOwnProperty(e)?n[e]:null}function Ih(n){return n&&(n.hasOwnProperty(nl)||n.hasOwnProperty(cC))?n[nl]:null}const ks=te({\u0275prov:te}),nl=te({\u0275inj:te}),Fh=te({ngInjectableDef:te}),cC=te({ngInjectorDef:te});var B=(()=>((B=B||{})[B.Default=0]="Default",B[B.Host=1]="Host",B[B.Self=2]="Self",B[B.SkipSelf=4]="SkipSelf",B[B.Optional=8]="Optional",B))();let il;function In(n){const e=il;return il=n,e}function xh(n,e,t){const i=tl(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&B.Optional?null:void 0!==e?e:void Ns(Q(n),"Injector")}function Fn(n){return{toString:n}.toString()}var Lt=(()=>((Lt=Lt||{})[Lt.OnPush=0]="OnPush",Lt[Lt.Default=1]="Default",Lt))(),Vt=(()=>(function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(Vt||(Vt={})),Vt))();const dC="undefined"!=typeof globalThis&&globalThis,hC="undefined"!=typeof window&&window,fC="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,J=dC||"undefined"!=typeof global&&global||hC||fC,bi={},ne=[],Ps=te({\u0275cmp:te}),rl=te({\u0275dir:te}),sl=te({\u0275pipe:te}),Oh=te({\u0275mod:te}),gn=te({\u0275fac:te}),vr=te({__NG_ELEMENT_ID__:te});let pC=0;function Ls(n){return Fn(()=>{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===Lt.OnPush,directiveDefs:null,pipeDefs:null,selectors:n.selectors||ne,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||Vt.Emulated,id:"c",styles:n.styles||ne,_:null,setInput:null,schemas:n.schemas||null,tView:null},r=n.directives,s=n.features,o=n.pipes;return i.id+=pC++,i.inputs=Ph(n.inputs,t),i.outputs=Ph(n.outputs),s&&s.forEach(a=>a(i)),i.directiveDefs=r?()=>("function"==typeof r?r():r).map(Rh):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(Nh):null,i})}function Rh(n){return Ue(n)||function xn(n){return n[rl]||null}(n)}function Nh(n){return function Gn(n){return n[sl]||null}(n)}const kh={};function $e(n){return Fn(()=>{const e={type:n.type,bootstrap:n.bootstrap||ne,declarations:n.declarations||ne,imports:n.imports||ne,exports:n.exports||ne,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null};return null!=n.id&&(kh[n.id]=n.type),e})}function Ph(n,e){if(null==n)return bi;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 O=Ls;function Ue(n){return n[Ps]||null}function Mt(n,e){const t=n[Oh]||null;if(!t&&!0===e)throw new Error(`Type ${Q(n)} does not have '\u0275mod' property.`);return t}const j=11;function Qt(n){return Array.isArray(n)&&"object"==typeof n[1]}function jt(n){return Array.isArray(n)&&!0===n[1]}function ll(n){return 0!=(8&n.flags)}function Hs(n){return 2==(2&n.flags)}function $s(n){return 1==(1&n.flags)}function Ht(n){return null!==n.template}function bC(n){return 0!=(512&n[2])}function Yn(n,e){return n.hasOwnProperty(gn)?n[gn]:null}class Vh{constructor(e,t,i){this.previousValue=e,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function Xt(){return Bh}function Bh(n){return n.type.prototype.ngOnChanges&&(n.setInput=wC),EC}function EC(){const n=Hh(this),e=null==n?void 0:n.current;if(e){const t=n.previous;if(t===bi)n.previous=e;else for(let i in e)t[i]=e[i];n.current=null,this.ngOnChanges(e)}}function wC(n,e,t,i){const r=Hh(n)||function MC(n,e){return n[jh]=e}(n,{previous:bi,current:null}),s=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[t],l=o[a];s[a]=new Vh(l&&l.currentValue,e,o===bi),n[i]=e}Xt.ngInherit=!0;const jh="__ngSimpleChanges__";function Hh(n){return n[jh]||null}let fl;function ve(n){return!!n.listen}const $h={createRenderer:(n,e)=>function pl(){return void 0!==fl?fl:"undefined"!=typeof document?document:void 0}()};function Me(n){for(;Array.isArray(n);)n=n[0];return n}function Us(n,e){return Me(e[n])}function ft(n,e){return Me(e[n.index])}function gl(n,e){return n.data[e]}function pt(n,e){const t=e[n];return Qt(t)?t:t[0]}function Uh(n){return 4==(4&n[2])}function ml(n){return 128==(128&n[2])}function On(n,e){return null==e?null:n[e]}function zh(n){n[18]=0}function _l(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:Jh(null),bindingsEnabled:!0};function Wh(){return L.bindingsEnabled}function y(){return L.lFrame.lView}function q(){return L.lFrame.tView}function yl(n){return L.lFrame.contextLView=n,n[8]}function Fe(){let n=qh();for(;null!==n&&64===n.type;)n=n.parent;return n}function qh(){return L.lFrame.currentTNode}function Jt(n,e){const t=L.lFrame;t.currentTNode=n,t.isParent=e}function vl(){return L.lFrame.isParent}function bl(){L.lFrame.isParent=!1}function Si(){return L.lFrame.bindingIndex++}function $C(n,e){const t=L.lFrame;t.bindingIndex=t.bindingRootIndex=n,Dl(e)}function Dl(n){L.lFrame.currentDirectiveIndex=n}function Zh(){return L.lFrame.currentQueryIndex}function El(n){L.lFrame.currentQueryIndex=n}function zC(n){const e=n[1];return 2===e.type?e.declTNode:1===e.type?n[6]:null}function Qh(n,e,t){if(t&B.SkipSelf){let r=e,s=n;for(;!(r=r.parent,null!==r||t&B.Host||(r=zC(s),null===r||(s=s[15],10&r.type))););if(null===r)return!1;e=r,n=s}const i=L.lFrame=Xh();return i.currentTNode=e,i.lView=n,!0}function Gs(n){const e=Xh(),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 Xh(){const n=L.lFrame,e=null===n?null:n.child;return null===e?Jh(n):e}function Jh(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 ef(){const n=L.lFrame;return L.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const tf=ef;function Ws(){const n=ef();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 Xe(){return L.lFrame.selectedIndex}function Rn(n){L.lFrame.selectedIndex=n}function he(){const n=L.lFrame;return gl(n.tView,n.selectedIndex)}function qs(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 Ks(n,e,t){nf(n,e,3,t)}function Ys(n,e,t,i){(3&n[2])===t&&nf(n,e,t,i)}function wl(n,e){let t=n[2];(3&t)===e&&(t&=2047,t+=1,n[2]=t)}function nf(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)&&(JC(n,t,e,l),n[18]=(4294901760&n[18])+l+2),l++}function JC(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 wr{constructor(e,t,i){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function Zs(n,e,t){const i=ve(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];Sl(o)?i&&n.setProperty(e,o,a):i?n.setAttribute(e,o,a):e.setAttribute(o,a),r++}}return r}function rf(n){return 3===n||4===n||6===n}function Sl(n){return 64===n.charCodeAt(0)}function Qs(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||sf(n,t,r,null,-1===t||2===t?e[++i]:null)}}return n}function sf(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 af(n){return-1!==n}function Ai(n){return 32767&n}function Ti(n,e){let t=function rE(n){return n>>16}(n),i=e;for(;t>0;)i=i[15],t--;return i}let Al=!0;function Xs(n){const e=Al;return Al=n,e}let sE=0;function Sr(n,e){const t=Il(n,e);if(-1!==t)return t;const i=e[1];i.firstCreatePass&&(n.injectorIndex=e.length,Tl(i.data,n),Tl(e,null),Tl(i.blueprint,null));const r=Js(n,e),s=n.injectorIndex;if(af(r)){const o=Ai(r),a=Ti(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 Tl(n,e){n.push(0,0,0,0,0,0,0,0,e)}function Il(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===e[n.injectorIndex+8]?-1:n.injectorIndex}function Js(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 eo(n,e,t){!function oE(n,e,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(vr)&&(i=t[vr]),null==i&&(i=t[vr]=sE++);const r=255&i;e.data[n+(r>>5)]|=1<<r}(n,e,t)}function uf(n,e,t){if(t&B.Optional)return n;Ns(e,"NodeInjector")}function df(n,e,t,i){if(t&B.Optional&&void 0===i&&(i=null),0==(t&(B.Self|B.Host))){const r=n[9],s=In(void 0);try{return r?r.get(e,i,t&B.Optional):xh(e,i,t&B.Optional)}finally{In(s)}}return uf(i,e,t)}function hf(n,e,t,i=B.Default,r){if(null!==n){const s=function uE(n){if("string"==typeof n)return n.charCodeAt(0)||0;const e=n.hasOwnProperty(vr)?n[vr]:void 0;return"number"==typeof e?e>=0?255&e:lE:e}(t);if("function"==typeof s){if(!Qh(e,n,i))return i&B.Host?uf(r,t,i):df(e,t,i,r);try{const o=s(i);if(null!=o||i&B.Optional)return o;Ns(t)}finally{tf()}}else if("number"==typeof s){let o=null,a=Il(n,e),l=-1,c=i&B.Host?e[16][6]:null;for((-1===a||i&B.SkipSelf)&&(l=-1===a?Js(n,e):e[a+8],-1!==l&&gf(i,!1)?(o=e[1],a=Ai(l),e=Ti(l,e)):a=-1);-1!==a;){const u=e[1];if(pf(s,a,u.data)){const d=cE(a,e,t,o,i,c);if(d!==ff)return d}l=e[a+8],-1!==l&&gf(i,e[1].data[a+8]===c)&&pf(s,a,e)?(o=u,a=Ai(l),e=Ti(l,e)):a=-1}}}return df(e,t,i,r)}const ff={};function lE(){return new Ii(Fe(),y())}function cE(n,e,t,i,r,s){const o=e[1],a=o.data[n+8],u=to(a,o,t,null==i?Hs(a)&&Al:i!=o&&0!=(3&a.type),r&B.Host&&s===a);return null!==u?Ar(e,o,u,a):ff}function to(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&&Ht(f)&&f.type===t)return l}return null}function Ar(n,e,t,i){let r=n[t];const s=e.data;if(function eE(n){return n instanceof wr}(r)){const o=r;o.resolving&&function iC(n,e){const t=e?`. Dependency path: ${e.join(" > ")} > ${n}`:"";throw new M(-200,`Circular dependency in DI detected for ${n}${t}`)}(He(s[t]));const a=Xs(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?In(o.injectImpl):null;Qh(n,i,B.Default);try{r=n[t]=o.factory(void 0,s,n,i),e.firstCreatePass&&t>=i.directiveStart&&function XC(n,e,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=e.type.prototype;if(i){const o=Bh(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&&In(l),Xs(a),o.resolving=!1,tf()}}return r}function pf(n,e,t){return!!(t[e+(n>>5)]&1<<n)}function gf(n,e){return!(n&B.Self||n&B.Host&&e)}class Ii{constructor(e,t){this._tNode=e,this._lView=t}get(e,t,i){return hf(this._tNode,this._lView,e,i,t)}}function ze(n){return Fn(()=>{const e=n.prototype.constructor,t=e[gn]||Fl(e),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const s=r[gn]||Fl(r);if(s&&s!==t)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function Fl(n){return Ah(n)?()=>{const e=Fl(H(n));return e&&e()}:Yn(n)}class T{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 Tt(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)),Tt(i,e)):e!==n&&e.push(i)}return e}function en(n,e){n.forEach(t=>Array.isArray(t)?en(t,e):e(t))}function _f(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function io(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function Fr(n,e){const t=[];for(let i=0;i<n;i++)t.push(e);return t}function gt(n,e,t){let i=Ni(n,e);return i>=0?n[1|i]=t:(i=~i,function pE(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 Rl(n,e){const t=Ni(n,e);if(t>=0)return n[1|t]}function Ni(n,e){return function bf(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 xr={},so="ngTempTokenPath",DE=/\n/gm,Cf="__source",EE=te({provide:String,useValue:te});let Or;function Ef(n){const e=Or;return Or=n,e}function wE(n,e=B.Default){if(void 0===Or)throw new M(203,"");return null===Or?xh(n,void 0,e):Or.get(n,e&B.Optional?null:void 0,e)}function D(n,e=B.Default){return(function uC(){return il}()||wE)(H(n),e)}const Pl=D;function Ll(n){const e=[];for(let t=0;t<n.length;t++){const i=H(n[t]);if(Array.isArray(i)){if(0===i.length)throw new M(900,"");let r,s=B.Default;for(let o=0;o<i.length;o++){const a=i[o],l=ME(a);"number"==typeof l?-1===l?r=a.token:s|=l:r=a}e.push(D(r,s))}else e.push(D(i))}return e}function ME(n){return n.__NG_DI_FLAG__}var mt=(()=>((mt=mt||{})[mt.Important=1]="Important",mt[mt.DashCase=2]="DashCase",mt))();const xf="__ngContext__";function We(n,e){n[xf]=e}function Hl(n){const e=function kr(n){return n[xf]||null}(n);return e?Array.isArray(e)?e:e.lView:null}function Ul(n,e){return undefined(n,e)}function Pr(n){const e=n[3];return jt(e)?e[3]:e}function zl(n){return Vf(n[13])}function Gl(n){return Vf(n[4])}function Vf(n){for(;null!==n&&!jt(n);)n=n[4];return n}function Pi(n,e,t,i,r){if(null!=i){let s,o=!1;jt(i)?s=i:Qt(i)&&(o=!0,i=i[0]);const a=Me(i);0===n&&null!==t?null==r?zf(e,t,a):Zn(e,t,a,r||null,!0):1===n&&null!==t?Zn(e,t,a,r||null,!0):2===n?function Xl(n,e,t){const i=co(n,e);i&&function nw(n,e,t,i){ve(n)?n.removeChild(e,t,i):e.removeChild(t)}(n,i,e,t)}(e,a,o):3===n&&e.destroyNode(a),null!=s&&function sw(n,e,t,i,r){const s=t[7];s!==Me(t)&&Pi(e,n,i,s,r);for(let a=10;a<t.length;a++){const l=t[a];Lr(l[1],l,n,e,i,s)}}(e,n,s,t,r)}}function ql(n,e,t){if(ve(n))return n.createElement(e,t);{const i=null!==t?function IC(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 jf(n,e){const t=n[9],i=t.indexOf(e),r=e[3];1024&e[2]&&(e[2]&=-1025,_l(r,-1)),t.splice(i,1)}function Kl(n,e){if(n.length<=10)return;const t=10+e,i=n[t];if(i){const r=i[17];null!==r&&r!==n&&jf(r,i),e>0&&(n[t-1][4]=i[4]);const s=io(n,10+e);!function KE(n,e){Lr(n,e,e[j],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 Hf(n,e){if(!(256&e[2])){const t=e[j];ve(t)&&t.destroyNode&&Lr(n,e,t,3,null,null),function QE(n){let e=n[13];if(!e)return Yl(n[1],n);for(;e;){let t=null;if(Qt(e))t=e[13];else{const i=e[10];i&&(t=i)}if(!t){for(;e&&!e[4]&&e!==n;)Qt(e)&&Yl(e[1],e),e=e[3];null===e&&(e=n),Qt(e)&&Yl(e[1],e),t=e&&e[4]}e=t}}(e)}}function Yl(n,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function tw(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 wr)){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 ew(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):Me(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&&ve(e[j])&&e[j].destroy();const t=e[17];if(null!==t&&jt(e[3])){t!==e[3]&&jf(t,e);const i=e[19];null!==i&&i.detachView(n)}}}function $f(n,e,t){return function Uf(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===Vt.None||r===Vt.Emulated)return null}return ft(i,t)}(n,e.parent,t)}function Zn(n,e,t,i,r){ve(n)?n.insertBefore(e,t,i,r):e.insertBefore(t,i,r)}function zf(n,e,t){ve(n)?n.appendChild(e,t):e.appendChild(t)}function Gf(n,e,t,i,r){null!==i?Zn(n,e,t,i,r):zf(n,e,t)}function co(n,e){return ve(n)?n.parentNode(e):e.parentNode}function Wf(n,e,t){return Kf(n,e,t)}let Kf=function qf(n,e,t){return 40&n.type?ft(n,t):null};function uo(n,e,t,i){const r=$f(n,i,e),s=e[j],a=Wf(i.parent||e[6],i,e);if(null!=r)if(Array.isArray(t))for(let l=0;l<t.length;l++)Gf(s,r,t[l],a,!1);else Gf(s,r,t,a,!1)}function ho(n,e){if(null!==e){const t=e.type;if(3&t)return ft(e,n);if(4&t)return Ql(-1,n[e.index]);if(8&t){const i=e.child;if(null!==i)return ho(n,i);{const r=n[e.index];return jt(r)?Ql(-1,r):Me(r)}}if(32&t)return Ul(e,n)()||Me(n[e.index]);{const i=Zf(n,e);return null!==i?Array.isArray(i)?i[0]:ho(Pr(n[16]),i):ho(n,e.next)}}return null}function Zf(n,e){return null!==e?n[16][6].projection[e.projection]:null}function Ql(n,e){const t=10+n+1;if(t<e.length){const i=e[t],r=i[1].firstChild;if(null!==r)return ho(i,r)}return e[7]}function Jl(n,e,t,i,r,s,o){for(;null!=t;){const a=i[t.index],l=t.type;if(o&&0===e&&(a&&We(Me(a),i),t.flags|=4),64!=(64&t.flags))if(8&l)Jl(n,e,t.child,i,r,s,!1),Pi(e,n,r,a,s);else if(32&l){const c=Ul(t,i);let u;for(;u=c();)Pi(e,n,r,u,s);Pi(e,n,r,a,s)}else 16&l?Qf(n,e,i,t,r,s):Pi(e,n,r,a,s);t=o?t.projectionNext:t.next}}function Lr(n,e,t,i,r,s){Jl(t,i,n.firstChild,e,r,s,!1)}function Qf(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++)Pi(e,n,r,l[c],s);else Jl(n,e,l,o[3],r,s,!0)}function Xf(n,e,t){ve(n)?n.setAttribute(e,"style",t):e.style.cssText=t}function ec(n,e,t){ve(n)?""===t?n.removeAttribute(e,"class"):n.setAttribute(e,"class",t):e.className=t}function lc(n){return n.ngOriginalError}function Lw(n,...e){n.error(...e)}class Hr{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),i=function Pw(n){return n&&n.ngErrorLogger||Lw}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t)}_findOriginalError(e){let t=e&&lc(e);for(;t&&lc(t);)t=lc(t);return t||null}}const zw=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(J))();function nn(n){return n instanceof Function?n():n}function fp(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 pp="ng-template";function Kw(n,e,t){let i=0;for(;i<n.length;){let r=n[i++];if(t&&"class"===r){if(r=n[i],-1!==fp(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 gp(n){return 4===n.type&&n.value!==pp}function Yw(n,e,t){return e===(4!==n.type||t?n.value:pp)}function Zw(n,e,t){let i=4;const r=n.attrs||[],s=function Jw(n){for(let e=0;e<n.length;e++)if(rf(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&&!Yw(n,l,t)||""===l&&1===e.length){if($t(i))return!1;o=!0}}else{const c=8&i?l:e[++a];if(8&i&&null!==n.attrs){if(!Kw(n.attrs,c,t)){if($t(i))return!1;o=!0}continue}const d=Qw(8&i?"class":l,r,gp(n),t);if(-1===d){if($t(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!==fp(f,c,0)||2&i&&c!==h){if($t(i))return!1;o=!0}}}}else{if(!o&&!$t(i)&&!$t(l))return!1;if(o&&$t(l))continue;o=!1,i=l|1&i}}return $t(i)||o}function $t(n){return 0==(1&n)}function Qw(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 eM(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 mp(n,e,t=!1){for(let i=0;i<e.length;i++)if(Zw(n,e[i],t))return!0;return!1}function tM(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 _p(n,e){return n?":not("+e.trim()+")":e}function nM(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&&!$t(o)&&(e+=_p(s,r),r=""),i=o,s=s||!$t(i);t++}return""!==r&&(e+=_p(s,r)),e}const V={};function be(n){yp(q(),y(),Xe()+n,!1)}function yp(n,e,t,i){if(!i)if(3==(3&e[2])){const s=n.preOrderCheckHooks;null!==s&&Ks(e,s,t)}else{const s=n.preOrderHooks;null!==s&&Ys(e,s,0,t)}Rn(t)}function _o(n,e){return n<<17|e<<2}function Ut(n){return n>>17&32767}function cc(n){return 2|n}function yn(n){return(131068&n)>>2}function uc(n,e){return-131069&n|e<<2}function dc(n){return 1|n}function Ip(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];El(r),o.contentQueries(2,e[s],s)}}}function $r(n,e,t,i,r,s,o,a,l,c){const u=e.blueprint.slice();return u[0]=r,u[2]=140|i,zh(u),u[3]=u[15]=n,u[8]=t,u[10]=o||n&&n[10],u[j]=a||n&&n[j],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 Vi(n,e,t,i,r){let s=n.data[e];if(null===s)s=function bc(n,e,t,i,r){const s=qh(),o=vl(),l=n.data[e]=function bM(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 HC(){return L.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=t,s.value=i,s.attrs=r;const o=function Er(){const n=L.lFrame,e=n.currentTNode;return n.isParent?e:e.parent}();s.injectorIndex=null===o?-1:o.injectorIndex}return Jt(s,!0),s}function Bi(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 Ur(n,e,t){Gs(e);try{const i=n.viewQuery;null!==i&&Ic(1,i,t);const r=n.template;null!==r&&Fp(n,e,r,1,t),n.firstCreatePass&&(n.firstCreatePass=!1),n.staticContentQueries&&Ip(n,e),n.staticViewQueries&&Ic(2,n.viewQuery,t);const s=n.components;null!==s&&function _M(n,e){for(let t=0;t<e.length;t++)VM(n,e[t])}(e,s)}catch(i){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),i}finally{e[2]&=-5,Ws()}}function ji(n,e,t,i){const r=e[2];if(256!=(256&r)){Gs(e);try{zh(e),function Kh(n){return L.lFrame.bindingIndex=n}(n.bindingStartIndex),null!==t&&Fp(n,e,t,2,i);const o=3==(3&r);if(o){const c=n.preOrderCheckHooks;null!==c&&Ks(e,c,null)}else{const c=n.preOrderHooks;null!==c&&Ys(e,c,0,null),wl(e,0)}if(function PM(n){for(let e=zl(n);null!==e;e=Gl(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])&&_l(s,1),r[2]|=1024}}}(e),function kM(n){for(let e=zl(n);null!==e;e=Gl(e))for(let t=10;t<e.length;t++){const i=e[t],r=i[1];ml(i)&&ji(r,i,r.template,i[8])}}(e),null!==n.contentQueries&&Ip(n,e),o){const c=n.contentCheckHooks;null!==c&&Ks(e,c)}else{const c=n.contentHooks;null!==c&&Ys(e,c,1),wl(e,1)}!function gM(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)Rn(~r);else{const s=r,o=t[++i],a=t[++i];$C(o,s),a(2,e[s])}}}finally{Rn(-1)}}(n,e);const a=n.components;null!==a&&function mM(n,e){for(let t=0;t<e.length;t++)LM(n,e[t])}(e,a);const l=n.viewQuery;if(null!==l&&Ic(2,l,i),o){const c=n.viewCheckHooks;null!==c&&Ks(e,c)}else{const c=n.viewHooks;null!==c&&Ys(e,c,2),wl(e,2)}!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),e[2]&=-73,1024&e[2]&&(e[2]&=-1025,_l(e[3],-1))}finally{Ws()}}}function yM(n,e,t,i){const r=e[10],o=Uh(e);try{!o&&r.begin&&r.begin(),o&&Ur(n,e,i),ji(n,e,t,i)}finally{!o&&r.end&&r.end()}}function Fp(n,e,t,i,r){const s=Xe(),o=2&i;try{Rn(-1),o&&e.length>20&&yp(n,e,20,!1),t(i,r)}finally{Rn(s)}}function xp(n,e,t){if(ll(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)}}}function Dc(n,e,t){!Wh()||(function AM(n,e,t,i){const r=t.directiveStart,s=t.directiveEnd;n.firstCreatePass||Sr(t,e),We(i,e);const o=t.initialInputs;for(let a=r;a<s;a++){const l=n.data[a],c=Ht(l);c&&OM(e,t,l);const u=Ar(e,n,a,t);We(u,e),null!==o&&RM(0,a-r,u,l,0,o),c&&(pt(t.index,e)[8]=u)}}(n,e,t,ft(t,e)),128==(128&t.flags)&&function TM(n,e,t){const i=t.directiveStart,r=t.directiveEnd,o=t.index,a=function UC(){return L.lFrame.currentDirectiveIndex}();try{Rn(o);for(let l=i;l<r;l++){const c=n.data[l],u=e[l];Dl(l),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&Bp(c,u)}}finally{Rn(-1),Dl(a)}}(n,e,t))}function Cc(n,e,t=ft){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}}}function Op(n){const e=n.tView;return null===e||e.incompleteFirstPass?n.tView=bo(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts):e}function bo(n,e,t,i,r,s,o,a,l,c){const u=20+i,d=u+r,h=function vM(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 kp(n,e,t,i){const r=Gp(e);null===t?r.push(i):(r.push(t),n.firstCreatePass&&Wp(n).push(i,r.length-1))}function Pp(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 _t(n,e,t,i,r,s,o,a){const l=ft(e,t);let u,c=e.inputs;!a&&null!=c&&(u=c[i])?(Yp(n,t,u,i,r),Hs(e)&&function EM(n,e){const t=pt(e,n);16&t[2]||(t[2]|=64)}(t,e.index)):3&e.type&&(i=function CM(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,ve(s)?s.setProperty(l,i,r):Sl(i)||(l.setProperty?l.setProperty(i,r):l[i]=r))}function Ec(n,e,t,i){let r=!1;if(Wh()){const s=function IM(n,e,t){const i=n.directiveRegistry;let r=null;if(i)for(let s=0;s<i.length;s++){const o=i[s];mp(t,o.selectors,!1)&&(r||(r=[]),eo(Sr(t,e),n,o.type),Ht(o)?(jp(n,t),r.unshift(o)):r.push(o))}return r}(n,e,t),o=null===i?null:{"":-1};if(null!==s){r=!0,Hp(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=Bi(n,e,s.length,null);for(let u=0;u<s.length;u++){const d=s[u];t.mergedAttrs=Qs(t.mergedAttrs,d.hostAttrs),$p(n,t,e,c,d),xM(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 DM(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||gp(e)?null:NM(d,s);o.push(h),a=Pp(d,c,a),l=Pp(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 FM(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 M(-301,!1);i.push(e[r],s)}}}(t,i,o)}return t.mergedAttrs=Qs(t.mergedAttrs,t.attrs),r}function Vp(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 SM(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 Bp(n,e){null!==n.hostBindings&&n.hostBindings(1,e)}function jp(n,e){e.flags|=2,(n.components||(n.components=[])).push(e.index)}function xM(n,e,t){if(t){if(e.exportAs)for(let i=0;i<e.exportAs.length;i++)t[e.exportAs[i]]=n;Ht(e)&&(t[""]=n)}}function Hp(n,e,t){n.flags|=1,n.directiveStart=e,n.directiveEnd=e+t,n.providerIndexes=e}function $p(n,e,t,i,r){n.data[i]=r;const s=r.factory||(r.factory=Yn(r.type)),o=new wr(s,Ht(r),null);n.blueprint[i]=o,t[i]=o,Vp(n,e,0,i,Bi(n,t,r.hostVars,V),r)}function OM(n,e,t){const i=ft(e,n),r=Op(t),s=n[10],o=Do(n,$r(n,r,null,t.onPush?64:16,i,e,s,s.createRenderer(i,t),null,null));n[e.index]=o}function rn(n,e,t,i,r,s){const o=ft(n,e);!function wc(n,e,t,i,r,s,o){if(null==s)ve(n)?n.removeAttribute(e,r,t):e.removeAttribute(r);else{const a=null==o?P(s):o(s,i||"",r);ve(n)?n.setAttribute(e,r,a,t):t?e.setAttributeNS(t,r,a):e.setAttribute(r,a)}}(e[j],o,s,n.value,t,i,r)}function RM(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 NM(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 Up(n,e,t,i){return new Array(n,!0,!1,e,null,0,i,t,null,null)}function LM(n,e){const t=pt(e,n);if(ml(t)){const i=t[1];80&t[2]?ji(i,t,i.template,t[8]):t[5]>0&&Mc(t)}}function Mc(n){for(let i=zl(n);null!==i;i=Gl(i))for(let r=10;r<i.length;r++){const s=i[r];if(1024&s[2]){const o=s[1];ji(o,s,o.template,s[8])}else s[5]>0&&Mc(s)}const t=n[1].components;if(null!==t)for(let i=0;i<t.length;i++){const r=pt(t[i],n);ml(r)&&r[5]>0&&Mc(r)}}function VM(n,e){const t=pt(e,n),i=t[1];(function BM(n,e){for(let t=e.length;t<n.blueprint.length;t++)e.push(n.blueprint[t])})(i,t),Ur(i,t,t[8])}function Do(n,e){return n[13]?n[14][4]=e:n[13]=e,n[14]=e,e}function Sc(n){for(;n;){n[2]|=64;const e=Pr(n);if(bC(n)&&!e)return n;n=e}return null}function zp(n){!function Ac(n){for(let e=0;e<n.components.length;e++){const t=n.components[e],i=Hl(t),r=i[1];yM(r,i,r.template,t)}}(n[8])}function Ic(n,e,t){El(0),e(n,t)}const HM=(()=>Promise.resolve(null))();function Gp(n){return n[7]||(n[7]=[])}function Wp(n){return n.cleanup||(n.cleanup=[])}function Kp(n,e){const t=n[9],i=t?t.get(Hr,null):null;i&&i.handleError(e)}function Yp(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 vn(n,e,t){const i=Us(e,n);!function Bf(n,e,t){ve(n)?n.setValue(e,t):e.textContent=t}(n[j],i,t)}function Co(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=Ja(r,a):2==s&&(i=Ja(i,a+": "+e[++o]+";"))}t?n.styles=i:n.stylesWithoutHost=i,t?n.classes=r:n.classesWithoutHost=r}const Fc=new T("INJECTOR",-1);class Zp{get(e,t=xr){if(t===xr){const i=new Error(`NullInjectorError: No provider for ${Q(e)}!`);throw i.name="NullInjectorError",i}return t}}const xc=new T("Set Injector scope."),zr={},zM={};let Oc;function Qp(){return void 0===Oc&&(Oc=new Zp),Oc}function Xp(n,e=null,t=null,i){const r=Jp(n,e,t,i);return r._resolveInjectorDefTypes(),r}function Jp(n,e=null,t=null,i){return new GM(n,t,e||Qp(),i)}class GM{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&&en(t,a=>this.processProvider(a,e,t)),en([e],a=>this.processInjectorType(a,[],s)),this.records.set(Fc,Hi(void 0,this));const o=this.records.get(xc);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof e?null:Q(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=xr,i=B.Default){this.assertNotDestroyed();const r=Ef(this),s=In(void 0);try{if(!(i&B.SkipSelf)){let a=this.records.get(e);if(void 0===a){const l=function JM(n){return"function"==typeof n||"object"==typeof n&&n instanceof T}(e)&&tl(e);a=l&&this.injectableDefInScope(l)?Hi(Rc(e),zr):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(i&B.Self?Qp():this.parent).get(e,t=i&B.Optional&&t===xr?null:t)}catch(o){if("NullInjectorError"===o.name){if((o[so]=o[so]||[]).unshift(Q(e)),r)throw o;return function SE(n,e,t,i){const r=n[so];throw e[Cf]&&r.unshift(e[Cf]),n.message=function AE(n,e,t,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.substr(2):n;let r=Q(e);if(Array.isArray(e))r=e.map(Q).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):Q(a)))}r=`{${s.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${n.replace(DE,"\n ")}`}("\n"+n.message,r,t,i),n.ngTokenPath=r,n[so]=null,n}(o,e,"R3InjectorError",this.source)}throw o}finally{In(s),Ef(r)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((i,r)=>e.push(Q(r))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processInjectorType(e,t,i){if(!(e=H(e)))return!1;let r=Ih(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=Ih(s)),null==r)return!1;if(null!=r.imports&&!a){let u;i.push(o);try{en(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];en(f,p=>this.processProvider(p,h,f||ne))}}this.injectorDefTypes.add(o);const l=Yn(o)||(()=>new o);this.records.set(o,Hi(l,zr));const c=r.providers;if(null!=c&&!a){const u=e;en(c,d=>this.processProvider(d,u,c))}return void 0!==s&&void 0!==e.providers}processProvider(e,t,i){let r=$i(e=H(e))?e:H(e&&e.provide);const s=function qM(n,e,t){return tg(n)?Hi(void 0,n.useValue):Hi(eg(n),zr)}(e);if($i(e)||!0!==e.multi)this.records.get(r);else{let o=this.records.get(r);o||(o=Hi(void 0,zr,!0),o.factory=()=>Ll(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=zM,t.value=t.factory()),"object"==typeof t.value&&t.value&&function XM(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=H(e.providedIn);return"string"==typeof t?"any"===t||t===this.scope:this.injectorDefTypes.has(t)}}function Rc(n){const e=tl(n),t=null!==e?e.factory:Yn(n);if(null!==t)return t;if(n instanceof T)throw new M(204,!1);if(n instanceof Function)return function WM(n){const e=n.length;if(e>0)throw Fr(e,"?"),new M(204,!1);const t=function aC(n){const e=n&&(n[ks]||n[Fh]);if(e){const t=function lC(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 M(204,!1)}function eg(n,e,t){let i;if($i(n)){const r=H(n);return Yn(r)||Rc(r)}if(tg(n))i=()=>H(n.useValue);else if(function YM(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...Ll(n.deps||[]));else if(function KM(n){return!(!n||!n.useExisting)}(n))i=()=>D(H(n.useExisting));else{const r=H(n&&(n.useClass||n.provide));if(!function QM(n){return!!n.deps}(n))return Yn(r)||Rc(r);i=()=>new r(...Ll(n.deps))}return i}function Hi(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function tg(n){return null!==n&&"object"==typeof n&&EE in n}function $i(n){return"function"==typeof n}let st=(()=>{class n{static create(t,i){var r;if(Array.isArray(t))return Xp({name:""},i,t,"");{const s=null!==(r=t.name)&&void 0!==r?r:"";return Xp({name:s},t.parent,t.providers,s)}}}return n.THROW_IF_NOT_FOUND=xr,n.NULL=new Zp,n.\u0275prov=x({token:n,providedIn:"any",factory:()=>D(Fc)}),n.__NG_ELEMENT_ID__=-1,n})();function aS(n,e){qs(Hl(n)[1],Fe())}function Y(n){let e=function fg(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),t=!0;const i=[n];for(;e;){let r;if(Ht(n))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new M(903,"");r=e.\u0275dir}if(r){if(t){i.push(r);const o=n;o.inputs=Pc(n.inputs),o.declaredInputs=Pc(n.declaredInputs),o.outputs=Pc(n.outputs);const a=r.hostBindings;a&&dS(n,a);const l=r.viewQuery,c=r.contentQueries;if(l&&cS(n,l),c&&uS(n,c),Xa(n.inputs,r.inputs),Xa(n.declaredInputs,r.declaredInputs),Xa(n.outputs,r.outputs),Ht(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===Y&&(t=!1)}}e=Object.getPrototypeOf(e)}!function lS(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=Qs(r.hostAttrs,t=Qs(t,r.hostAttrs))}}(i)}function Pc(n){return n===bi?{}:n===ne?[]:n}function cS(n,e){const t=n.viewQuery;n.viewQuery=t?(i,r)=>{e(i,r),t(i,r)}:e}function uS(n,e){const t=n.contentQueries;n.contentQueries=t?(i,r,s)=>{e(i,r,s),t(i,r,s)}:e}function dS(n,e){const t=n.hostBindings;n.hostBindings=t?(i,r)=>{e(i,r),t(i,r)}:e}let Eo=null;function Ui(){if(!Eo){const n=J.Symbol;if(n&&n.iterator)Eo=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&&(Eo=i)}}}return Eo}function qe(n,e,t){return!Object.is(n[e],t)&&(n[e]=t,!0)}function yt(n,e,t,i){const r=y();return qe(r,Si(),e)&&(q(),rn(he(),r,n,e,t,i)),yt}function ot(n,e,t,i,r,s,o,a){const l=y(),c=q(),u=n+20,d=c.firstCreatePass?function yS(n,e,t,i,r,s,o,a,l){const c=e.consts,u=Vi(e,n,4,o||null,On(c,a));Ec(e,t,u,On(c,l)),qs(e,u);const d=u.tViews=bo(2,u,i,r,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c);return null!==e.queries&&(e.queries.template(e,u),d.queries=e.queries.embeddedTView(u)),u}(u,c,l,e,t,i,r,s,o):c.data[u];Jt(d,!1);const h=l[j].createComment("");uo(c,l,h,d),We(h,l),Do(l,l[u]=Up(h,l,h,d)),$s(d)&&Dc(c,l,d),null!=o&&Cc(l,d,a)}function v(n,e=B.Default){const t=y();return null===t?D(n,e):hf(Fe(),t,H(n),e)}function fe(n,e,t){const i=y();return qe(i,Si(),e)&&_t(q(),he(),i,n,e,i[j],t,!1),fe}function $c(n,e,t,i,r){const o=r?"class":"style";Yp(n,t,e.inputs[o],o,i)}function pe(n,e,t,i){const r=y(),s=q(),o=20+n,a=r[j],l=r[o]=ql(a,e,function QC(){return L.lFrame.currentNamespace}()),c=s.firstCreatePass?function HS(n,e,t,i,r,s,o){const a=e.consts,c=Vi(e,n,2,r,On(a,s));return Ec(e,t,c,On(a,o)),null!==c.attrs&&Co(c,c.attrs,!1),null!==c.mergedAttrs&&Co(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(o,s,r,0,e,t,i):s.data[o];Jt(c,!0);const u=c.mergedAttrs;null!==u&&Zs(a,l,u);const d=c.classes;null!==d&&ec(a,l,d);const h=c.styles;return null!==h&&Xf(a,l,h),64!=(64&c.flags)&&uo(s,r,l,c),0===function kC(){return L.lFrame.elementDepthCount}()&&We(l,r),function PC(){L.lFrame.elementDepthCount++}(),$s(c)&&(Dc(s,r,c),xp(s,c,r)),null!==i&&Cc(r,c),pe}function De(){let n=Fe();vl()?bl():(n=n.parent,Jt(n,!1));const e=n;!function LC(){L.lFrame.elementDepthCount--}();const t=q();return t.firstCreatePass&&(qs(t,n),ll(n)&&t.queries.elementEnd(n)),null!=e.classesWithoutHost&&function nE(n){return 0!=(16&n.flags)}(e)&&$c(t,e,y(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function iE(n){return 0!=(32&n.flags)}(e)&&$c(t,e,y(),e.stylesWithoutHost,!1),De}function er(n,e,t,i){return pe(n,e,t,i),De(),er}function qr(n,e,t){const i=y(),r=q(),s=n+20,o=r.firstCreatePass?function $S(n,e,t,i,r){const s=e.consts,o=On(s,i),a=Vi(e,n,8,"ng-container",o);return null!==o&&Co(a,o,!0),Ec(e,t,a,On(s,r)),null!==e.queries&&e.queries.elementStart(e,a),a}(s,r,i,e,t):r.data[s];Jt(o,!0);const a=i[s]=i[j].createComment("");return uo(r,i,a,o),We(a,i),$s(o)&&(Dc(r,i,o),xp(r,o,i)),null!=t&&Cc(i,o),qr}function Kr(){let n=Fe();const e=q();return vl()?bl():(n=n.parent,Jt(n,!1)),e.firstCreatePass&&(qs(e,n),ll(n)&&e.queries.elementEnd(n)),Kr}function Uc(){return y()}function So(n){return!!n&&"function"==typeof n.then}const kg=function Ng(n){return!!n&&"function"==typeof n.subscribe};function Ke(n,e,t,i){const r=y(),s=q(),o=Fe();return function Lg(n,e,t,i,r,s,o,a){const l=$s(i),u=n.firstCreatePass&&Wp(n),d=e[8],h=Gp(e);let f=!0;if(3&i.type||a){const _=ft(i,e),b=a?a(_):_,m=h.length,C=a?I=>a(Me(I[i.index])):i.index;if(ve(t)){let I=null;if(!a&&l&&(I=function US(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!==I)(I.__ngLastListenerFn__||I).__ngNextListenerFn__=s,I.__ngLastListenerFn__=s,f=!1;else{s=zc(i,e,d,s,!1);const U=t.listen(b,r,s);h.push(s,U),u&&u.push(r,C,m,m+1)}}else s=zc(i,e,d,s,!0),b.addEventListener(r,s,o),h.push(s),u&&u.push(r,C,m,o)}else s=zc(i,e,d,s,!1);const p=i.outputs;let g;if(f&&null!==p&&(g=p[r])){const _=g.length;if(_)for(let b=0;b<_;b+=2){const ue=e[g[b]][g[b+1]].subscribe(s),me=h.length;h.push(s,ue),u&&u.push(r,i.index,me,-(me+1))}}}(s,r,r[j],o,n,e,!!t,i),Ke}function Vg(n,e,t,i){try{return!1!==t(i)}catch(r){return Kp(n,r),!1}}function zc(n,e,t,i,r){return function s(o){if(o===Function)return i;const a=2&n.flags?pt(n.index,e):e;0==(32&e[2])&&Sc(a);let l=Vg(e,0,i,o),c=s.__ngNextListenerFn__;for(;c;)l=Vg(e,0,c,o)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(o.preventDefault(),o.returnValue=!1),l}}function Ft(n=1){return function GC(n){return(L.lFrame.contextLView=function WC(n,e){for(;n>0;)e=e[15],n--;return e}(n,L.lFrame.contextLView))[8]}(n)}function zS(n,e){let t=null;const i=function Xw(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?mp(n,s,!0):tM(i,s))return r}else t=r}return t}function bn(n,e=0,t){const i=y(),r=q(),s=Vi(r,20+n,16,null,t||null);null===s.projection&&(s.projection=e),bl(),64!=(64&s.flags)&&function rw(n,e,t){Qf(e[j],0,e,t,$f(n,t,e),Wf(t.parent||e[6],t,e))}(r,i,s)}function Yg(n,e,t,i,r){const s=n[t+1],o=null===e;let a=i?Ut(s):yn(s),l=!1;for(;0!==a&&(!1===l||o);){const u=n[a+1];qS(n[a],e)&&(l=!0,n[a+1]=i?dc(u):cc(u)),a=i?Ut(u):yn(u)}l&&(n[t+1]=i?cc(s):dc(s))}function qS(n,e){return null===n||null==e||(Array.isArray(n)?n[1]:n)===e||!(!Array.isArray(n)||"string"!=typeof e)&&Ni(n,e)>=0}function Dn(n,e){return function Gt(n,e,t,i){const r=y(),s=q(),o=function _n(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[Xe()],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 n0(n,e,t,i){const r=function Cl(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=Yr(t=Wc(null,n,e,t,i),e.attrs,i),s=null);else{const o=e.directiveStylingLast;if(-1===o||n[o]!==r)if(t=Wc(r,n,e,t,i),null===s){let l=function r0(n,e,t){const i=t?e.classBindings:e.styleBindings;if(0!==yn(i))return n[Ut(i)]}(n,e,i);void 0!==l&&Array.isArray(l)&&(l=Wc(null,n,e,l[1],i),l=Yr(l,e.attrs,i),function s0(n,e,t,i){n[Ut(t?e.classBindings:e.styleBindings)]=i}(n,e,i,l))}else s=function o0(n,e,t){let i;const r=e.directiveEnd;for(let s=1+e.directiveStylingLast;s<r;s++)i=Yr(i,n[s].hostAttrs,t);return Yr(i,e.attrs,t)}(n,e,i)}return void 0!==s&&(i?e.residualClasses=s:e.residualStyles=s),t}(r,s,e,i),function GS(n,e,t,i,r,s){let o=s?e.classBindings:e.styleBindings,a=Ut(o),l=yn(o);n[i]=t;let u,c=!1;if(Array.isArray(t)){const d=t;u=d[1],(null===u||Ni(d,u)>0)&&(c=!0)}else u=t;if(r)if(0!==l){const h=Ut(n[a+1]);n[i+1]=_o(h,a),0!==h&&(n[h+1]=uc(n[h+1],i)),n[a+1]=function sM(n,e){return 131071&n|e<<17}(n[a+1],i)}else n[i+1]=_o(a,0),0!==a&&(n[a+1]=uc(n[a+1],i)),a=i;else n[i+1]=_o(l,0),0===a?a=i:n[l+1]=uc(n[l+1],i),l=i;c&&(n[i+1]=cc(n[i+1])),Yg(n,u,i,!0),Yg(n,u,i,!1),function WS(n,e,t,i,r){const s=r?n.residualClasses:n.residualStyles;null!=s&&"string"==typeof e&&Ni(s,e)>=0&&(t[i+1]=dc(t[i+1]))}(e,u,n,i,s),o=_o(a,l),s?e.classBindings=o:e.styleBindings=o}(r,s,e,t,o,i)}}(s,n,o,i),e!==V&&qe(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];Ao(function Dp(n){return 1==(1&n)}(c)?am(l,e,t,r,yn(c),o):void 0)||(Ao(s)||function bp(n){return 2==(2&n)}(c)&&(s=am(l,null,t,r,a,o)),function ow(n,e,t,i,r){const s=ve(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:mt.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|=mt.Important),s?n.setStyle(t,i,r,o):t.style.setProperty(i,r,a?"important":"")}}}(i,o,Us(Xe(),t),r,s))}(s,s.data[Xe()],r,r[j],n,r[o+1]=function c0(n,e){return null==n||("string"==typeof e?n+=e:"object"==typeof n&&(n=Q(function kn(n){return n instanceof class np{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),Dn}function Wc(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=Yr(i,s.hostAttrs,r),s!==n);)a++;return null!==n&&(t.directiveStylingLast=a),i}function Yr(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]),gt(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?ne:void 0);let f=d?Rl(h,i):u===i?h:void 0;if(c&&!Ao(f)&&(f=Rl(l,i)),Ao(f)&&(a=f,o))return a;const p=n[r+1];r=o?Ut(p):yn(p)}if(null!==e){let l=s?e.residualClasses:e.residualStyles;null!=l&&(a=Rl(l,i))}return a}function Ao(n){return void 0!==n}function Jn(n,e=""){const t=y(),i=q(),r=n+20,s=i.firstCreatePass?Vi(i,r,1,e,null):i.data[r],o=t[r]=function Wl(n,e){return ve(n)?n.createText(e):n.createTextNode(e)}(t[j],e);uo(i,t,o,s),Jt(s,!1)}function nr(n){return To("",n,""),nr}function To(n,e,t){const i=y(),r=function Gi(n,e,t,i){return qe(n,Si(),t)?e+P(t)+i:V}(i,n,e,t);return r!==V&&vn(i,Xe(),r),To}function qc(n,e,t){const i=y();return qe(i,Si(),e)&&_t(q(),he(),i,n,e,i[j],t,!0),qc}const Io="en-US";let Im=Io;function Zc(n,e,t,i,r){if(n=H(n),Array.isArray(n))for(let s=0;s<n.length;s++)Zc(n[s],e,t,i,r);else{const s=q(),o=y();let a=$i(n)?n:H(n.provide),l=eg(n);const c=Fe(),u=1048575&c.providerIndexes,d=c.directiveStart,h=c.providerIndexes>>20;if($i(n)||!n.multi){const f=new wr(l,r,v),p=Xc(a,e,r?u:u+h,d);-1===p?(eo(Sr(c,o),s,a),Qc(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=Xc(a,e,u+h,d),p=Xc(a,e,u,u+h),g=f>=0&&t[f],_=p>=0&&t[p];if(r&&!_||!r&&!g){eo(Sr(c,o),s,a);const b=function TA(n,e,t,i,r){const s=new wr(n,t,v);return s.multi=[],s.index=e,s.componentProviders=0,Jm(s,r,i&&!t),s}(r?AA:SA,t.length,r,i,l);!r&&_&&(t[p].providerFactory=b),Qc(s,n,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),t.push(b),o.push(b)}else Qc(s,n,f>-1?f:p,Jm(t[r?p:f],l,!r&&i));!r&&i&&_&&t[p].componentProviders++}}}function Qc(n,e,t,i){const r=$i(e),s=function ZM(n){return!!n.useClass}(e);if(r||s){const l=(s?H(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 Xc(n,e,t,i){for(let r=t;r<i;r++)if(e[r]===n)return r;return-1}function SA(n,e,t,i){return Jc(this.multi,[])}function AA(n,e,t,i){const r=this.multi;let s;if(this.providerFactory){const o=this.providerFactory.componentProviders,a=Ar(t,t[1],this.providerFactory.index,i);s=a.slice(0,o),Jc(r,s);for(let l=o;l<a.length;l++)s.push(a[l])}else s=[],Jc(r,s);return s}function Jc(n,e){for(let t=0;t<n.length;t++)e.push((0,n[t])());return e}function ee(n,e=[]){return t=>{t.providersResolver=(i,r)=>function MA(n,e,t){const i=q();if(i.firstCreatePass){const r=Ht(n);Zc(t,i.data,i.blueprint,r,!0),Zc(e,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,e)}}class e_{}class xA{resolveComponentFactory(e){throw function FA(n){const e=Error(`No component factory found for ${Q(n)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=n,e}(e)}}let ti=(()=>{class n{}return n.NULL=new xA,n})();function OA(){return sr(Fe(),y())}function sr(n,e){return new Ve(ft(n,e))}let Ve=(()=>{class n{constructor(t){this.nativeElement=t}}return n.__NG_ELEMENT_ID__=OA,n})();function RA(n){return n instanceof Ve?n.nativeElement:n}class es{}let ni=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function kA(){const n=y(),t=pt(Fe().index,n);return function NA(n){return n[j]}(Qt(t)?t:n)}(),n})(),PA=(()=>{class n{}return n.\u0275prov=x({token:n,providedIn:"root",factory:()=>null}),n})();class ii{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const LA=new ii("13.4.0"),eu={};function No(n,e,t,i,r=!1){for(;null!==t;){const s=e[t.index];if(null!==s&&i.push(Me(s)),jt(s))for(let a=10;a<s.length;a++){const l=s[a],c=l[1].firstChild;null!==c&&No(l[1],l,c,i)}const o=t.type;if(8&o)No(n,e,t.child,i);else if(32&o){const a=Ul(t,e);let l;for(;l=a();)i.push(l)}else if(16&o){const a=Zf(e,t);if(Array.isArray(a))i.push(...a);else{const l=Pr(e[16]);No(l[1],l,a,i,!0)}}t=r?t.projectionNext:t.next}return i}class ts{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 No(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(jt(e)){const t=e[8],i=t?t.indexOf(this):-1;i>-1&&(Kl(e,i),io(t,i))}this._attachedToViewContainer=!1}Hf(this._lView[1],this._lView)}onDestroy(e){kp(this._lView[1],this._lView,null,e)}markForCheck(){Sc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function Tc(n,e,t){const i=e[10];i.begin&&i.begin();try{ji(n,e,n.template,t)}catch(r){throw Kp(e,r),r}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ZE(n,e){Lr(n,e,e[j],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new M(902,"");this._appRef=e}}class VA extends ts{constructor(e){super(e),this._view=e}detectChanges(){zp(this._view)}checkNoChanges(){}get context(){return null}}class n_ extends ti{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Ue(e);return new tu(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 tu extends e_{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=function iM(n){return n.map(nM).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 jA(n,e){return{get:(t,i,r)=>{const s=n.get(t,eu,r);return s!==eu||i===eu?s:e.get(t,i,r)}}}(e,r.injector):e,o=s.get(es,$h),a=s.get(PA,null),l=o.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",u=i?function Np(n,e,t){if(ve(n))return n.selectRootElement(e,t===Vt.ShadowDom);let i="string"==typeof e?n.querySelector(e):e;return i.textContent="",i}(l,i,this.componentDef.encapsulation):ql(o.createRenderer(null,this.componentDef),c,function BA(n){const e=n.toLowerCase();return"svg"===e?"svg":"math"===e?"math":null}(c)),d=this.componentDef.onPush?576:528,h=function hg(n,e){return{components:[],scheduler:n||zw,clean:HM,playerHandler:e||null,flags:0}}(),f=bo(0,null,null,1,0,null,null,null,null,null),p=$r(null,f,h,d,null,null,o,l,a,s);let g,_;Gs(p);try{const b=function ug(n,e,t,i,r,s){const o=t[1];t[20]=n;const l=Vi(o,20,2,"#host",null),c=l.mergedAttrs=e.hostAttrs;null!==c&&(Co(l,c,!0),null!==n&&(Zs(r,n,c),null!==l.classes&&ec(r,n,l.classes),null!==l.styles&&Xf(r,n,l.styles)));const u=i.createRenderer(n,e),d=$r(t,Op(e),null,e.onPush?64:16,t[20],l,i,u,s||null,null);return o.firstCreatePass&&(eo(Sr(l,t),o,e.type),jp(o,l),Hp(l,t.length,1)),Do(t,d),t[20]=d}(u,this.componentDef,p,o,l);if(u)if(i)Zs(l,u,["ng-version",LA.full]);else{const{attrs:m,classes:C}=function rM(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(!$t(r))break;r=s}i++}return{attrs:e,classes:t}}(this.componentDef.selectors[0]);m&&Zs(l,u,m),C&&C.length>0&&ec(l,u,C.join(" "))}if(_=gl(f,20),void 0!==t){const m=_.projection=[];for(let C=0;C<this.ngContentSelectors.length;C++){const I=t[C];m.push(null!=I?Array.from(I):null)}}g=function dg(n,e,t,i,r){const s=t[1],o=function MM(n,e,t){const i=Fe();n.firstCreatePass&&(t.providersResolver&&t.providersResolver(t),$p(n,i,e,Bi(n,e,1,null),t));const r=Ar(e,n,i.directiveStart,i);We(r,e);const s=ft(i,e);return s&&We(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=Fe();e.contentQueries(1,o,l.directiveStart)}const a=Fe();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Rn(a.index),Vp(t[1],a,0,a.directiveStart,a.directiveEnd,e),Bp(e,o)),o}(b,this.componentDef,p,h,[aS]),Ur(f,p,null)}finally{Ws()}return new $A(this.componentType,g,sr(_,p),p,_)}}class $A extends class IA{}{constructor(e,t,i,r,s){super(),this.location=i,this._rootLView=r,this._tNode=s,this.instance=t,this.hostView=this.changeDetectorRef=new VA(r),this.componentType=e}get injector(){return new Ii(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}class or{}const ar=new Map;class o_ extends or{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new n_(this);const i=Mt(e);this._bootstrapComponents=nn(i.bootstrap),this._r3Injector=Jp(e,t,[{provide:or,useValue:this},{provide:ti,useValue:this.componentFactoryResolver}],Q(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=st.THROW_IF_NOT_FOUND,i=B.Default){return e===st||e===or||e===Fc?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 nu extends class zA{}{constructor(e){super(),this.moduleType=e,null!==Mt(e)&&function GA(n){const e=new Set;!function t(i){const r=Mt(i,!0),s=r.id;null!==s&&(function r_(n,e,t){if(e&&e!==t)throw new Error(`Duplicate module registered for ${n} - ${Q(e)} vs ${Q(e.name)}`)}(s,ar.get(s),i),ar.set(s,i));const o=nn(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 iu(n){return e=>{setTimeout(n,void 0,e)}}const Re=class cT extends ke{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=iu(l),a&&(a=iu(a)),c&&(c=iu(c)));const u=super.subscribe({next:a,error:l,complete:c});return e instanceof ae&&e.add(u),u}};function uT(){return this._results[Ui()]()}class ru{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=Ui(),i=ru.prototype;i[t]||(i[t]=uT)}get changes(){return this._changes||(this._changes=new Re)}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=Tt(e);(this._changesDetected=!function hE(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 Cn=(()=>{class n{}return n.__NG_ELEMENT_ID__=fT,n})();const dT=Cn,hT=class extends dT{constructor(e,t,i){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=i}createEmbeddedView(e){const t=this._declarationTContainer.tViews,i=$r(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)),Ur(t,i,e),new ts(i)}};function fT(){return ko(Fe(),y())}function ko(n,e){return 4&n.type?new hT(e,n,sr(n,e)):null}let ln=(()=>{class n{}return n.__NG_ELEMENT_ID__=pT,n})();function pT(){return p_(Fe(),y())}const gT=ln,h_=class extends gT{constructor(e,t,i){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=i}get element(){return sr(this._hostTNode,this._hostLView)}get injector(){return new Ii(this._hostTNode,this._hostLView)}get parentInjector(){const e=Js(this._hostTNode,this._hostLView);if(af(e)){const t=Ti(e,this._hostLView),i=Ai(e);return new Ii(t[1].data[i+8],t)}return new Ii(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=f_(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 Ir(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 tu(Ue(e)),c=i||this.parentInjector;if(!s&&null==l.ngModule){const h=(o?c:this.parentInjector).get(or,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 NC(n){return jt(n[3])}(i)){const u=this.indexOf(e);if(-1!==u)this.detach(u);else{const d=i[3],h=new h_(d,d[6],d[3]);h.detach(h.indexOf(e))}}const s=this._adjustIndex(t),o=this._lContainer;!function XE(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],_f(t,10+i,e)):(t.push(e),e[4]=null),e[3]=t;const o=e[17];null!==o&&t!==o&&function JE(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=Ql(s,o),l=i[j],c=co(l,o[7]);return null!==c&&function YE(n,e,t,i,r,s){i[0]=r,i[6]=e,Lr(n,i,t,1,r,s)}(r,o[6],l,i,c,a),e.attachToViewContainerRef(),_f(su(o),s,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=f_(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),i=Kl(this._lContainer,t);i&&(io(su(this._lContainer),t),Hf(i[1],i))}detach(e){const t=this._adjustIndex(e,-1),i=Kl(this._lContainer,t);return i&&null!=io(su(this._lContainer),t)?new ts(i):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}};function f_(n){return n[8]}function su(n){return n[8]||(n[8]=[])}function p_(n,e){let t;const i=e[n.index];if(jt(i))t=i;else{let r;if(8&n.type)r=Me(i);else{const s=e[j];r=s.createComment("");const o=ft(n,e);Zn(s,co(s,o),r,function iw(n,e){return ve(n)?n.nextSibling(e):e.nextSibling}(s,o),!1)}e[n.index]=t=Up(i,e,r,n),Do(e,t)}return new h_(t,n,e)}class ou{constructor(e){this.queryList=e,this.matches=null}clone(){return new ou(this.queryList)}setDirty(){this.queryList.setDirty()}}class au{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 au(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!==v_(e,t).matches&&this.queries[t].setDirty()}}class g_{constructor(e,t,i=null){this.predicate=e,this.flags=t,this.read=i}}class lu{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 lu(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 cu{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 cu(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,yT(t,s)),this.matchTNodeWithReadOption(e,t,to(t,e,s,!1,!1))}else i===Cn?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,to(t,e,i,!1,!1))}matchTNodeWithReadOption(e,t,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===Ve||r===ln||r===Cn&&4&t.type)this.addMatch(t.index,-2);else{const s=to(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 yT(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 bT(n,e,t,i){return-1===t?function vT(n,e){return 11&n.type?sr(n,e):4&n.type?ko(n,e):null}(e,n):-2===t?function DT(n,e,t){return t===Ve?sr(e,n):t===Cn?ko(e,n):t===ln?p_(e,n):void 0}(n,e,i):Ar(n,n[1],t,e)}function m_(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:bT(e,s[c],o[l+1],t.metadata.read))}r.matches=a}return r.matches}function uu(n,e,t,i){const r=n.queries.getByIndex(t),s=r.matches;if(null!==s){const o=m_(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]&&uu(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];uu(f[1],f,c,i)}}}}}return i}function at(n){const e=y(),t=q(),i=Zh();El(i+1);const r=v_(t,i);if(n.dirty&&Uh(e)===(2==(2&r.metadata.flags))){if(null===r.matches)n.reset([]);else{const s=r.crossesNgTemplate?uu(t,e,i,[]):m_(t,e,r,i);n.reset(s,RA),n.notifyOnChanges()}return!0}return!1}function rs(n,e,t){const i=q();i.firstCreatePass&&(y_(i,new g_(n,e,t),-1),2==(2&e)&&(i.staticViewQueries=!0)),__(i,y(),e)}function cn(n,e,t,i){const r=q();if(r.firstCreatePass){const s=Fe();y_(r,new g_(e,t,i),s.index),function ET(n,e){const t=n.contentQueries||(n.contentQueries=[]);e!==(t.length?t[t.length-1]:-1)&&t.push(n.queries.length-1,e)}(r,n),2==(2&t)&&(r.staticContentQueries=!0)}__(r,y(),t)}function lt(){return function CT(n,e){return n[19].queries[e].queryList}(y(),Zh())}function __(n,e,t){const i=new ru(4==(4&t));kp(n,e,i,i.destroy),null===e[19]&&(e[19]=new au),e[19].queries.push(new ou(i))}function y_(n,e,t){null===n.queries&&(n.queries=new lu),n.queries.track(new cu(e,t))}function v_(n,e){return n.queries.getByIndex(e)}function Vo(...n){}const P_=new T("Application Initializer");let mu=(()=>{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(So(s))t.push(s);else if(kg(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)(D(P_,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const os=new T("AppId",{providedIn:"root",factory:function L_(){return`${_u()}${_u()}${_u()}`}});function _u(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const V_=new T("Platform Initializer"),yu=new T("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),HT=new T("appBootstrapListener"),En=new T("LocaleId",{providedIn:"root",factory:()=>Pl(En,B.Optional|B.SkipSelf)||function $T(){return"undefined"!=typeof $localize&&$localize.locale||Io}()}),WT=(()=>Promise.resolve(0))();function vu(n){"undefined"==typeof Zone?WT.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class le{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Re(!1),this.onMicrotaskEmpty=new Re(!1),this.onStable=new Re(!1),this.onError=new Re(!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 qT(){let n=J.requestAnimationFrame,e=J.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 ZT(n){const e=()=>{!function YT(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(J,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Du(n),n.isCheckStableRunning=!0,bu(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Du(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,s,o,a)=>{try{return B_(n),t.invokeTask(r,s,o,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||n.shouldCoalesceRunChangeDetection)&&e(),j_(n)}},onInvoke:(t,i,r,s,o,a,l)=>{try{return B_(n),t.invoke(r,s,o,a,l)}finally{n.shouldCoalesceRunChangeDetection&&e(),j_(n)}},onHasTask:(t,i,r,s)=>{t.hasTask(r,s),i===r&&("microTask"==s.change?(n._hasPendingMicrotasks=s.microTask,Du(n),bu(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(!le.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(le.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,KT,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 KT={};function bu(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 Du(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function B_(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function j_(n){n._nesting--,bu(n)}class QT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Re,this.onMicrotaskEmpty=new Re,this.onStable=new Re,this.onError=new Re}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 Cu=(()=>{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:()=>{le.assertNotInAngularZone(),vu(()=>{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())vu(()=>{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)(D(le))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),XT=(()=>{class n{constructor(){this._applications=new Map,Eu.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 Eu.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 JT{addToWindow(e){}findTestabilityInTree(e,t,i){return null}}let Eu=new JT,ri=null;const H_=new T("AllowMultipleToken"),$_=new T("PlatformOnDestroy");function U_(n,e,t=[]){const i=`Platform: ${e}`,r=new T(i);return(s=[])=>{let o=wu();if(!o||o.injector.get(H_,!1)){const a=[...t,...s,{provide:r,useValue:!0}];n?n(a):function iI(n){if(ri&&!ri.get(H_,!1))throw new M(400,"");ri=n;const e=n.get(z_),t=n.get(V_,null);t&&t.forEach(i=>i())}(function sI(n=[],e){return st.create({name:e,providers:[{provide:xc,useValue:"platform"},{provide:$_,useValue:()=>ri=null},...n]})}(a,i))}return function rI(n){const e=wu();if(!e)throw new M(401,"");return e}()}}function wu(){var n;return null!==(n=null==ri?void 0:ri.get(z_))&&void 0!==n?n:null}let z_=(()=>{class n{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const a=function oI(n,e){let t;return t="noop"===n?new QT:("zone.js"===n?void 0:n)||new le({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:le,useValue:a}];return a.run(()=>{const c=st.create({providers:l,parent:this.injector,name:t.moduleType.name}),u=t.create(c),d=u.injector.get(Hr,null);if(!d)throw new M(402,"");return a.runOutsideAngular(()=>{const h=a.onError.subscribe({next:f=>{d.handleError(f)}});u.onDestroy(()=>{Mu(this._modules,u),h.unsubscribe()})}),function aI(n,e,t){try{const i=t();return So(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(mu);return h.runInitializers(),h.donePromise.then(()=>(function N0(n){dt(n,"Expected localeId to be defined"),"string"==typeof n&&(Im=n.toLowerCase().replace(/_/g,"-"))}(u.injector.get(En,Io)||Io),this._moduleDoBootstrap(u),u))})})}bootstrapModule(t,i=[]){const r=G_({},i);return function tI(n,e,t){const i=new nu(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 M(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 M(404,"");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get($_,null);null==t||t(),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(t){return new(t||n)(D(st))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function G_(n,e){return Array.isArray(e)?e.reduce(G_,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 de(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),a=new de(l=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{le.assertNotInAngularZone(),vu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{le.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{c.unsubscribe(),u.unsubscribe()}});this.isStable=Rs(o,a.pipe(function tC(){return n=>Sh()(function XD(n,e){return function(i){let r;if(r="function"==typeof n?n:function(){return n},"function"==typeof e)return i.lift(new JD(r,e));const s=Object.create(i,YD);return s.source=i,s.subjectFactory=r,s}}(eC)(n))}()))}bootstrap(t,i){if(!this._initStatus.done)throw new M(405,"");let r;r=t instanceof e_?t:this._injector.get(ti).resolveComponentFactory(t),this.componentTypes.push(r.componentType);const s=function nI(n){return n.isBoundToModule}(r)?void 0:this._injector.get(or),a=r.create(st.NULL,[],i||r.selector,s),l=a.location.nativeElement,c=a.injector.get(Cu,null),u=c&&a.injector.get(XT);return c&&u&&u.registerApplication(l,c),a.onDestroy(()=>{this.detachView(a.hostView),Mu(this.components,a),u&&u.unregisterApplication(l)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new M(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;Mu(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(HT,[]).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)(D(le),D(st),D(Hr),D(mu))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Mu(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}let q_=!0,jo=(()=>{class n{}return n.__NG_ELEMENT_ID__=uI,n})();function uI(n){return function dI(n,e,t){if(Hs(n)&&!t){const i=pt(n.index,e);return new ts(i,i)}return 47&n.type?new ts(e[16],e):null}(Fe(),y(),16==(16&n))}const wI=U_(null,"core",[]);let MI=(()=>{class n{constructor(t){}}return n.\u0275fac=function(t){return new(t||n)(D(Bo))},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({}),n})(),zo=null;function un(){return zo}const se=new T("DocumentToken");let ju=(()=>{class n{constructor(t,i){this._viewContainer=t,this._context=new EF,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){vy("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){vy("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,i){return!0}}return n.\u0275fac=function(t){return new(t||n)(v(ln),v(Cn))},n.\u0275dir=O({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),n})();class EF{constructor(){this.$implicit=null,this.ngIf=null}}function vy(n,e){if(e&&!e.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${Q(e)}'.`)}const by="browser";class Uu{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let na=(()=>{class n{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const i=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let i=0;i<this._defaultViews.length;i++)this._defaultViews[i].enforceState(t)}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=O({type:n,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),n})(),My=(()=>{class n{constructor(t,i,r){this.ngSwitch=r,r._addCase(),this._view=new Uu(t,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(t){return new(t||n)(v(ln),v(Cn),v(na,9))},n.\u0275dir=O({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),n})(),Ty=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({}),n})();class Wu extends class Ax extends class TI{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function AI(n){zo||(zo=n)}(new Wu)}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 Tx(){return hs=hs||document.querySelector("base"),hs?hs.getAttribute("href"):null}();return null==t?null:function Ix(n){ia=ia||document.createElement("a"),ia.setAttribute("href",n);const e=ia.pathname;return"/"===e.charAt(0)?e:`/${e}`}(t)}resetBaseElement(){hs=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return function yF(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 ia,hs=null;const Fy=new T("TRANSITION_ID"),xx=[{provide:P_,useFactory:function Fx(n,e,t){return()=>{t.get(mu).donePromise.then(()=>{const i=un(),r=e.querySelectorAll(`style[ng-transition="${n}"]`);for(let s=0;s<r.length;s++)i.remove(r[s])})}},deps:[Fy,se,st],multi:!0}];class qu{static init(){!function eI(n){Eu=n}(new qu)}addToWindow(e){J.getAngularTestability=(i,r=!0)=>{const s=e.findTestabilityInTree(i,r);if(null==s)throw new Error("Could not find testability for element.");return s},J.getAllAngularTestabilities=()=>e.getAllTestabilities(),J.getAllAngularRootElements=()=>e.getAllRootElements(),J.frameworkStabilizers||(J.frameworkStabilizers=[]),J.frameworkStabilizers.push(i=>{const r=J.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?un().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}let Ox=(()=>{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 ra=new T("EventManagerPlugins");let sa=(()=>{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)(D(ra),D(le))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class xy{constructor(e){this._doc=e}addGlobalEventListener(e,t,i){const r=un().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,i)}}let Oy=(()=>{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})(),fs=(()=>{class n extends Oy{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(Ry),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(t,r,i)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(Ry))}}return n.\u0275fac=function(t){return new(t||n)(D(se))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();function Ry(n){un().remove(n)}const Ku={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/"},Yu=/%COMP%/g;function oa(n,e,t){for(let i=0;i<e.length;i++){let r=e[i];Array.isArray(r)?oa(n,r,t):(r=r.replace(Yu,n),t.push(r))}return t}function Py(n){return e=>{if("__ngUnwrap__"===e)return n;!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}let aa=(()=>{class n{constructor(t,i,r){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Zu(t)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;switch(i.encapsulation){case Vt.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new Vx(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(t),r}case 1:case Vt.ShadowDom:return new Bx(this.eventManager,this.sharedStylesHost,t,i);default:if(!this.rendererByCompId.has(i.id)){const r=oa(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)(D(sa),D(fs),D(os))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class Zu{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,t){return t?document.createElementNS(Ku[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=Ku[r];s?e.setAttributeNS(s,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){const r=Ku[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&(mt.DashCase|mt.Important)?e.style.setProperty(t,i,r&mt.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){i&mt.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,Py(i)):this.eventManager.addEventListener(e,t,Py(i))}}class Vx extends Zu{constructor(e,t,i,r){super(e),this.component=i;const s=oa(r+"-"+i.id,i.styles,[]);t.addStyles(s),this.contentAttr=function kx(n){return"_ngcontent-%COMP%".replace(Yu,n)}(r+"-"+i.id),this.hostAttr=function Px(n){return"_nghost-%COMP%".replace(Yu,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 Bx extends Zu{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=oa(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 jx=(()=>{class n extends xy{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)(D(se))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const Vy=["alt","control","meta","shift"],$x={"\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"},By={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"},Ux={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let zx=(()=>{class n extends xy{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(()=>un().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(Vy.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 Gx(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&&By.hasOwnProperty(e)&&(e=By[e]))}return $x[e]||e}(t);return r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),Vy.forEach(s=>{s!=r&&Ux[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)(D(se))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const Yx=U_(wI,"browser",[{provide:yu,useValue:by},{provide:V_,useValue:function Wx(){Wu.makeCurrent(),qu.init()},multi:!0},{provide:se,useFactory:function Kx(){return function FC(n){fl=n}(document),document},deps:[]}]),Zx=[{provide:xc,useValue:"root"},{provide:Hr,useFactory:function qx(){return new Hr},deps:[]},{provide:ra,useClass:jx,multi:!0,deps:[se,le,yu]},{provide:ra,useClass:zx,multi:!0,deps:[se]},{provide:aa,useClass:aa,deps:[sa,fs,os]},{provide:es,useExisting:aa},{provide:Oy,useExisting:fs},{provide:fs,useClass:fs,deps:[se]},{provide:Cu,useClass:Cu,deps:[le]},{provide:sa,useClass:sa,deps:[ra,le]},{provide:class Mx{},useClass:Ox,deps:[]}];let jy=(()=>{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:os,useValue:t.appId},{provide:Fy,useExisting:os},xx]}}}return n.\u0275fac=function(t){return new(t||n)(D(n,12))},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({providers:Zx,imports:[Ty,MI]}),n})();function ps(n){return null!=n&&"false"!=`${n}`}function la(n){return n instanceof Ve?n.nativeElement:n}function Xu(...n){let e=n[n.length-1];return yr(e)?(n.pop(),Qa(n,e)):Mh(n)}function Ju(n,e,t,i){return ws(t)&&(i=t,t=void 0),i?Ju(n,e,t).pipe(vi(r=>mr(r)?i(...r):i(r))):new de(r=>{zy(n,e,function s(o){r.next(arguments.length>1?Array.prototype.slice.call(arguments):o)},r,t)})}function zy(n,e,t,i,r){let s;if(function dO(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const o=n;n.addEventListener(e,t,r),s=()=>o.removeEventListener(e,t,r)}else if(function uO(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const o=n;n.on(e,t),s=()=>o.off(e,t)}else if(function cO(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const o=n;n.addListener(e,t),s=()=>o.removeListener(e,t)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let o=0,a=n.length;o<a;o++)zy(n[o],e,t,i,r)}i.add(s)}"undefined"!=typeof window&&window;class hO extends ae{constructor(e,t){super()}schedule(e,t=0){return this}}class ca extends hO{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 Gy=(()=>{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 Yt extends Gy{constructor(e,t=Gy.now){super(e,()=>Yt.delegate&&Yt.delegate!==this?Yt.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,i){return Yt.delegate&&Yt.delegate!==this?Yt.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 pO extends Yt{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 fO extends ca{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 mO=1;const _O=Promise.resolve(),ua={};function Wy(n){return n in ua&&(delete ua[n],!0)}const qy={setImmediate(n){const e=mO++;return ua[e]=!0,_O.then(()=>Wy(e)&&n()),e},clearImmediate(n){Wy(n)}},ed=(new class vO extends Yt{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 yO extends ca{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=qy.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&&(qy.clearImmediate(t),e.scheduled=void 0)}}),new Yt(ca));class SO{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new AO(e,this.predicate,this.thisArg))}}class AO extends je{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 td;try{td="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){td=!1}let cr,Mn=(()=>{class n{constructor(t){this._platformId=t,this.isBrowser=this._platformId?function AF(n){return n===by}(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&&!td)&&"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)(D(yu))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),TO=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({}),n})();const Qy=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Xy(){if(cr)return cr;if("object"!=typeof document||!document)return cr=new Set(Qy),cr;let n=document.createElement("input");return cr=new Set(Qy.filter(e=>(n.setAttribute("type",e),n.type===e))),cr}let gs;function da(n){return function IO(){if(null==gs&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>gs=!0}))}finally{gs=gs||!1}return gs}()?n:!!n.capture}function id(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}const kO=new T("cdk-dir-doc",{providedIn:"root",factory:function PO(){return Pl(se)}}),LO=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let tv=(()=>{class n{constructor(t){if(this.value="ltr",this.change=new Re,t){const r=t.documentElement?t.documentElement.dir:null;this.value=function VO(n){const e=(null==n?void 0:n.toLowerCase())||"";return"auto"===e&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?LO.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}((t.body?t.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(t){return new(t||n)(D(kO,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),nv=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({}),n})();const zO=(()=>{function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return n.prototype=Object.create(Error.prototype),n})(),iv=new de(n=>n.complete());function rv(n){return n?function GO(n){return new de(e=>n.schedule(()=>e.complete()))}(n):iv}class WO{constructor(e){if(this.total=e,this.total<0)throw new zO}call(e,t){return t.subscribe(new qO(e,this.total))}}class qO extends je{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,i=++this.count;i<=t&&(this.destination.next(e),i===t&&(this.destination.complete(),this.unsubscribe()))}}function fa(n){return e=>e.lift(new KO(n))}class KO{constructor(e){this.notifier=e}call(e,t){const i=new YO(e),r=Os(this.notifier,new Fs(i));return r&&!i.seenValue?(i.add(r),t.subscribe(i)):i}}class YO extends xs{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}let od=(()=>{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||id()){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),id()?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)(D(se),D(Mn))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const gR=new class pR extends Yt{}(class fR extends ca{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 _R({error:n,subscriber:e}){e.error(n)}class Rt{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 Xu(this.value);case"E":return function mR(n,e){return new de(e?t=>e.schedule(_R,0,{error:n,subscriber:t}):t=>t.error(n))}(this.error);case"C":return rv()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new Rt("N",e):Rt.undefinedValueNotification}static createError(e){return new Rt("E",void 0,e)}static createComplete(){return Rt.completeNotification}}Rt.completeNotification=new Rt("C"),Rt.undefinedValueNotification=new Rt("N",void 0);class pa extends je{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(pa.dispatch,this.delay,new vR(e,this.destination)))}_next(e){this.scheduleMessage(Rt.createNext(e))}_error(e){this.scheduleMessage(Rt.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(Rt.createComplete()),this.unsubscribe()}}class vR{constructor(e,t){this.notification=e,this.destination=t}}class bR extends ke{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 DR(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 yi;if(this.isStopped||this.hasError?o=ae.EMPTY:(this.observers.push(e),o=new mh(this,e)),r&&e.add(e=new pa(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||gR).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 DR{constructor(e,t){this.time=e,this.value=t}}function pv(n,e){return"function"==typeof e?t=>t.pipe(pv((i,r)=>Is(n(i,r)).pipe(vi((s,o)=>e(i,s,r,o))))):t=>t.lift(new CR(n))}class CR{constructor(e){this.project=e}call(e,t){return t.subscribe(new ER(e,this.project))}}class ER extends xs{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 Fs(this),r=this.destination;r.add(i),this.innerSubscription=Os(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 ga={schedule(n,e){const t=setTimeout(n,e);return()=>clearTimeout(t)},scheduleBeforeRender(n){if("undefined"==typeof window)return ga.schedule(n,0);if(void 0===window.requestAnimationFrame)return ga.schedule(n,16);const e=window.requestAnimationFrame(n);return()=>window.cancelAnimationFrame(e)}};let ad;function OR(n,e,t){let i=t;return function MR(n){return!!n&&n.nodeType===Node.ELEMENT_NODE}(n)&&e.some((r,s)=>!("*"===r||!function AR(n,e){if(!ad){const t=Element.prototype;ad=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return n.nodeType===Node.ELEMENT_NODE&&ad.call(n,e)}(n,r)||(i=s,0))),i}class NR{constructor(e,t){this.componentFactory=t.get(ti).resolveComponentFactory(e)}create(e){return new kR(this.componentFactory,e)}}class kR{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new bR(1),this.events=this.eventEmitters.pipe(pv(i=>Rs(...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(le),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=ga.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 TR(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=st.create({providers:[],parent:this.injector}),i=function xR(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=OR(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 SR(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(vi(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=ga.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 Vh(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 PR extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function ma(n,e){return new de(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=Is(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 gv=(()=>{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)(v(ni),v(Ve))},n.\u0275dir=O({type:n}),n})(),ci=(()=>{class n extends gv{}return n.\u0275fac=function(){let e;return function(i){return(e||(e=ze(n)))(i||n)}}(),n.\u0275dir=O({type:n,features:[Y]}),n})();const dn=new T("NgValueAccessor"),jR={provide:dn,useExisting:ie(()=>_a),multi:!0},$R=new T("CompositionEventMode");let _a=(()=>{class n extends gv{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function HR(){const n=un()?un().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)(v(ni),v(Ve),v($R,8))},n.\u0275dir=O({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&&Ke("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:[ee([jR]),Y]}),n})();function Bn(n){return null==n||0===n.length}function _v(n){return null!=n&&"number"==typeof n.length}const Ye=new T("NgValidators"),jn=new T("NgAsyncValidators"),UR=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class zR{static min(e){return function yv(n){return e=>{if(Bn(e.value)||Bn(n))return null;const t=parseFloat(e.value);return!isNaN(t)&&t<n?{min:{min:n,actual:e.value}}:null}}(e)}static max(e){return function vv(n){return e=>{if(Bn(e.value)||Bn(n))return null;const t=parseFloat(e.value);return!isNaN(t)&&t>n?{max:{max:n,actual:e.value}}:null}}(e)}static required(e){return function bv(n){return Bn(n.value)?{required:!0}:null}(e)}static requiredTrue(e){return function Dv(n){return!0===n.value?null:{required:!0}}(e)}static email(e){return function Cv(n){return Bn(n.value)||UR.test(n.value)?null:{email:!0}}(e)}static minLength(e){return function Ev(n){return e=>Bn(e.value)||!_v(e.value)?null:e.value.length<n?{minlength:{requiredLength:n,actualLength:e.value.length}}:null}(e)}static maxLength(e){return function wv(n){return e=>_v(e.value)&&e.value.length>n?{maxlength:{requiredLength:n,actualLength:e.value.length}}:null}(e)}static pattern(e){return function Mv(n){if(!n)return ya;let e,t;return"string"==typeof n?(t="","^"!==n.charAt(0)&&(t+="^"),t+=n,"$"!==n.charAt(n.length-1)&&(t+="$"),e=new RegExp(t)):(t=n.toString(),e=n),i=>{if(Bn(i.value))return null;const r=i.value;return e.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}(e)}static nullValidator(e){return null}static compose(e){return xv(e)}static composeAsync(e){return Ov(e)}}function ya(n){return null}function Sv(n){return null!=n}function Av(n){const e=So(n)?Is(n):n;return kg(e),e}function Tv(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 Iv(n,e){return e.map(t=>t(n))}function Fv(n){return n.map(e=>function GR(n){return!n.validate}(e)?e:t=>e.validate(t))}function xv(n){if(!n)return null;const e=n.filter(Sv);return 0==e.length?null:function(t){return Tv(Iv(t,e))}}function ld(n){return null!=n?xv(Fv(n)):null}function Ov(n){if(!n)return null;const e=n.filter(Sv);return 0==e.length?null:function(t){return function VR(...n){if(1===n.length){const e=n[0];if(mr(e))return ma(e,null);if(Za(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return ma(t.map(i=>e[i]),t)}}if("function"==typeof n[n.length-1]){const e=n.pop();return ma(n=1===n.length&&mr(n[0])?n[0]:n,null).pipe(vi(t=>e(...t)))}return ma(n,null)}(Iv(t,e).map(Av)).pipe(vi(Tv))}}function cd(n){return null!=n?Ov(Fv(n)):null}function Rv(n,e){return null===n?[e]:Array.isArray(n)?[...n,e]:[n,e]}function Nv(n){return n._rawValidators}function kv(n){return n._rawAsyncValidators}function ud(n){return n?Array.isArray(n)?n:[n]:[]}function va(n,e){return Array.isArray(n)?n.includes(e):n===e}function Pv(n,e){const t=ud(e);return ud(n).forEach(r=>{va(t,r)||t.push(r)}),t}function Lv(n,e){return ud(e).filter(t=>!va(n,t))}class Vv{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=ld(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=cd(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}}class Sn extends Vv{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class nt extends Vv{get formDirective(){return null}get path(){return null}}let jv=(()=>{class n extends class Bv{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)(v(Sn,2))},n.\u0275dir=O({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,i){2&t&&Dn("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:[Y]}),n})();function ms(n,e){fd(n,e),e.valueAccessor.writeValue(n.value),function eN(n,e){e.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&$v(n,e)})}(n,e),function nN(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 tN(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&$v(n,e),"submit"!==n.updateOn&&n.markAsTouched()})}(n,e),function JR(n,e){if(e.valueAccessor.setDisabledState){const t=i=>{e.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(t),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}(n,e)}function Ca(n,e,t=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),wa(n,e),n&&(e._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Ea(n,e){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function fd(n,e){const t=Nv(n);null!==e.validator?n.setValidators(Rv(t,e.validator)):"function"==typeof t&&n.setValidators([t]);const i=kv(n);null!==e.asyncValidator?n.setAsyncValidators(Rv(i,e.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();Ea(e._rawValidators,r),Ea(e._rawAsyncValidators,r)}function wa(n,e){let t=!1;if(null!==n){if(null!==e.validator){const r=Nv(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=kv(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 Ea(e._rawValidators,i),Ea(e._rawAsyncValidators,i),t}function $v(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Uv(n,e){fd(n,e)}function Gv(n,e){n._syncPendingControls(),e.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function md(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}const _s="VALID",Ma="INVALID",ur="PENDING",ys="DISABLED";function yd(n){return(Sa(n)?n.validators:n)||null}function Wv(n){return Array.isArray(n)?ld(n):n||null}function vd(n,e){return(Sa(e)?e.asyncValidators:n)||null}function qv(n){return Array.isArray(n)?cd(n):n||null}function Sa(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const Kv=n=>n instanceof Cd,bd=n=>n instanceof Ed;function Yv(n){return Kv(n)?n.value:n.getRawValue()}function Zv(n,e){const t=bd(n),i=n.controls;if(!(t?Object.keys(i):i).length)throw new M(1e3,"");if(!i[e])throw new M(1001,"")}function Qv(n,e){bd(n),n._forEachChild((i,r)=>{if(void 0===e[r])throw new M(1002,"")})}class Dd{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=Wv(this._rawValidators),this._composedAsyncValidatorFn=qv(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===_s}get invalid(){return this.status===Ma}get pending(){return this.status==ur}get disabled(){return this.status===ys}get enabled(){return this.status!==ys}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=Wv(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=qv(e)}addValidators(e){this.setValidators(Pv(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Pv(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Lv(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Lv(e,this._rawAsyncValidators))}hasValidator(e){return va(this._rawValidators,e)}hasAsyncValidator(e){return va(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=ur,!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=ys,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=_s,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===_s||this.status===ur)&&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()?ys:_s}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=ur,this._hasOwnPendingAsyncValidator=!0;const t=Av(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 oN(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=bd(i)?i.controls.hasOwnProperty(r)?i.controls[r]:null:(n=>n instanceof lN)(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 Re,this.statusChanges=new Re}_calculateStatus(){return this._allControlsDisabled()?ys:this.errors?Ma:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ur)?ur:this._anyControlsHaveStatus(Ma)?Ma:_s}_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){Sa(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Cd extends Dd{constructor(e=null,t,i){super(yd(t),vd(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}),Sa(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){md(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){md(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 Ed extends Dd{constructor(e,t,i){super(yd(t),vd(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={}){Qv(this,e),Object.keys(e).forEach(i=>{Zv(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]=Yv(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 lN extends Dd{constructor(e,t,i){super(yd(t),vd(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={}){Qv(this,e),e.forEach((i,r)=>{Zv(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=>Yv(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)}}const cN={provide:nt,useExisting:ie(()=>Aa)},vs=(()=>Promise.resolve(null))();let Aa=(()=>{class n extends nt{constructor(t,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new Re,this.form=new Ed({},ld(t),cd(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){vs.then(()=>{const i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),ms(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){vs.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){vs.then(()=>{const i=this._findContainer(t.path),r=new Ed({});Uv(r,t),i.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){vs.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){vs.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,Gv(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return n.\u0275fac=function(t){return new(t||n)(v(Ye,10),v(jn,10))},n.\u0275dir=O({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,i){1&t&&Ke("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ee([cN]),Y]}),n})(),ib=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({}),n})();const wd=new T("NgModelWithFormControlWarning"),_N={provide:Sn,useExisting:ie(()=>Md)};let Md=(()=>{class n extends Sn{constructor(t,i,r,s){super(),this._ngModelWarningConfig=s,this.update=new Re,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(i),this.valueAccessor=function gd(n,e){if(!e)return null;let t,i,r;return Array.isArray(e),e.forEach(s=>{s.constructor===_a?t=s:function sN(n){return Object.getPrototypeOf(n.constructor)===ci}(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&&Ca(i,this,!1),ms(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}(function pd(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&&Ca(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)(v(Ye,10),v(jn,10),v(dn,10),v(wd,8))},n.\u0275dir=O({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[ee([_N]),Y,Xt]}),n})();const yN={provide:nt,useExisting:ie(()=>Ta)};let Ta=(()=>{class n extends nt{constructor(t,i){super(),this.validators=t,this.asyncValidators=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Re,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(wa(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const i=this.form.get(t.path);return ms(i,t),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){Ca(t.control||null,t,!1),md(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this.submitted=!0,Gv(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const i=t.control,r=this.form.get(t.path);i!==r&&(Ca(i||null,t),Kv(r)&&(ms(r,t),t.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const i=this.form.get(t.path);Uv(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const i=this.form.get(t.path);i&&function iN(n,e){return wa(n,e)}(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){fd(this.form,this),this._oldForm&&wa(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(t){return new(t||n)(v(Ye,10),v(jn,10))},n.\u0275dir=O({type:n,selectors:[["","formGroup",""]],hostBindings:function(t,i){1&t&&Ke("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ee([yN]),Y,Xt]}),n})(),vb=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({imports:[[ib]]}),n})(),LN=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({imports:[vb]}),n})(),VN=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:wd,useValue:t.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({imports:[vb]}),n})();function bb(n,e=ed){return t=>t.lift(new BN(n,e))}class BN{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new jN(e,this.dueTime,this.scheduler))}}class jN extends je{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(HN,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 HN(n){n.debouncedNext()}let Db=(()=>{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})(),$N=(()=>{class n{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,i)=>this._cleanupObserver(i))}observe(t){const i=la(t);return new de(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 ke,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)(D(Db))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),UN=(()=>{class n{constructor(t,i,r){this._contentObserver=t,this._elementRef=i,this._ngZone=r,this.event=new Re,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=ps(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=function aO(n,e=0){return function lO(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):e}(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(bb(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)(v($N),v(Ve),v(le))},n.\u0275dir=O({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),zN=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({providers:[Db]}),n})();const Sb="cdk-high-contrast-black-on-white",Ab="cdk-high-contrast-white-on-black",xd="cdk-high-contrast-active";let rk=(()=>{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(xd),t.remove(Sb),t.remove(Ab),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?(t.add(xd),t.add(Sb)):2===i&&(t.add(xd),t.add(Ab))}}}return n.\u0275fac=function(t){return new(t||n)(D(Mn),D(se))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ok=new T("mat-sanity-checks",{providedIn:"root",factory:function sk(){return!0}});let Od=(()=>{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!id()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}}return n.\u0275fac=function(t){return new(t||n)(D(rk),D(ok,8),D(se))},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({imports:[[nv],nv]}),n})();function ak(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 lk(n){return class extends n{constructor(...e){super(...e),this.stateChanges=new ke,this.errorState=!1}updateErrorState(){const e=this.errorState,s=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);s!==e&&(this.errorState=s,this.stateChanges.next())}}}let Ib=(()=>{class n{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Rb(...n){return function pk(){return wh(1)}()(Xu(...n))}function Nd(...n){const e=n[n.length-1];return yr(e)?(n.pop(),t=>Rb(n,t,e)):t=>Rb(n,t)}class Nb{}const An="*";function mk(n,e){return{type:7,name:n,definitions:e,options:{}}}function _k(n,e=null){return{type:4,styles:e,timings:n}}function kb(n,e=null){return{type:2,steps:n,options:e}}function Ia(n){return{type:6,styles:n,offset:null}}function yk(n,e,t){return{type:0,name:n,styles:e,options:t}}function vk(n,e,t=null){return{type:1,expr:n,animation:e,options:t}}function Pb(n){Promise.resolve(null).then(n)}class Ds{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(){Pb(()=>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 Lb{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?Pb(()=>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 W=!1;function Vb(n){return new M(3e3,W)}function Jk(){return"undefined"!=typeof window&&void 0!==window.document}function Pd(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Hn(n){switch(n.length){case 0:return new Ds;case 1:return n[0];default:return new Lb(n)}}function Bb(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 An:_=s[p];break;default:_=e.normalizeStyleValue(p,g,_,o)}f[g]=_}),h||a.push(f),c=f,l=d}),o.length)throw function $k(n){return new M(3502,W)}();return a}function Ld(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&Vd(t,"start",n)));break;case"done":n.onDone(()=>i(t&&Vd(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&Vd(t,"destroy",n)))}}function Vd(n,e,t){const i=t.totalTime,s=Bd(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 Bd(n,e,t,i,r="",s=0,o){return{element:n,triggerName:e,fromState:t,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function vt(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 jb(n){const e=n.indexOf(":");return[n.substring(1,e),n.substr(e+1)]}let jd=(n,e)=>!1,Hb=(n,e,t)=>[],$b=null;function Hd(n){const e=n.parentNode||n.host;return e===$b?null:e}(Pd()||"undefined"!=typeof Element)&&(Jk()?($b=(()=>document.documentElement)(),jd=(n,e)=>{for(;e;){if(e===n)return!0;e=Hd(e)}return!1}):jd=(n,e)=>n.contains(e),Hb=(n,e,t)=>{if(t)return Array.from(n.querySelectorAll(e));const i=n.querySelector(e);return i?[i]:[]});let di=null,Ub=!1;function zb(n){di||(di=function tP(){return"undefined"!=typeof document?document.body:null}()||{},Ub=!!di.style&&"WebkitAppearance"in di.style);let e=!0;return di.style&&!function eP(n){return"ebkit"==n.substring(1,6)}(n)&&(e=n in di.style,!e&&Ub&&(e="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in di.style)),e}const Gb=jd,Wb=Hb;let qb=(()=>{class n{validateStyleProperty(t){return zb(t)}matchesElement(t,i){return!1}containsElement(t,i){return Gb(t,i)}getParentElement(t){return Hd(t)}query(t,i,r){return Wb(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,s,o,a=[],l){return new Ds(r,s)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),$d=(()=>{class n{}return n.NOOP=new qb,n})();const Ud="ng-enter",xa="ng-leave",Oa="ng-trigger",Ra=".ng-trigger",Yb="ng-animating",zd=".ng-animating";function hi(n){if("number"==typeof n)return n;const e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Gd(parseFloat(e[1]),e[2])}function Gd(n,e){return"s"===e?1e3*n:n}function Na(n,e,t){return n.hasOwnProperty("duration")?n:function rP(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(Vb()),{duration:0,delay:0,easing:""};r=Gd(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(s=Gd(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 bk(){return new M(3100,W)}()),a=!0),s<0&&(e.push(function Dk(){return new M(3101,W)}()),a=!0),a&&e.splice(l,0,Vb())}return{duration:r,delay:s,easing:o}}(n,e,t)}function dr(n,e={}){return Object.keys(n).forEach(t=>{e[t]=n[t]}),e}function $n(n,e,t={}){if(e)for(let i in n)t[i]=n[i];else dr(n,t);return t}function Qb(n,e,t){return t?e+":"+t+";":""}function Xb(n){let e="";for(let t=0;t<n.style.length;t++){const i=n.style.item(t);e+=Qb(0,i,n.style.getPropertyValue(i))}for(const t in n.style)n.style.hasOwnProperty(t)&&!t.startsWith("_")&&(e+=Qb(0,aP(t),n.style[t]));n.setAttribute("style",e)}function hn(n,e,t){n.style&&(Object.keys(e).forEach(i=>{const r=qd(i);t&&!t.hasOwnProperty(i)&&(t[i]=n.style[r]),n.style[r]=e[i]}),Pd()&&Xb(n))}function fi(n,e){n.style&&(Object.keys(e).forEach(t=>{const i=qd(t);n.style[i]=""}),Pd()&&Xb(n))}function Cs(n){return Array.isArray(n)?1==n.length?n[0]:kb(n):n}const Wd=new RegExp("{{\\s*(.+?)\\s*}}","g");function Jb(n){let e=[];if("string"==typeof n){let t;for(;t=Wd.exec(n);)e.push(t[1]);Wd.lastIndex=0}return e}function ka(n,e,t){const i=n.toString(),r=i.replace(Wd,(s,o)=>{let a=e[o];return e.hasOwnProperty(o)||(t.push(function Ek(n){return new M(3003,W)}()),a=""),a.toString()});return r==i?n:r}function Pa(n){const e=[];let t=n.next();for(;!t.done;)e.push(t.value),t=n.next();return e}const oP=/-+([a-z0-9])/g;function qd(n){return n.replace(oP,(...e)=>e[1].toUpperCase())}function aP(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function bt(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 wk(n){return new M(3004,W)}()}}function eD(n,e){return window.getComputedStyle(n)[e]}function fP(n,e){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function pP(n,e,t){if(":"==n[0]){const l=function gP(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 Vk(n){return new M(3016,W)}()),"* => *"}}(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 Lk(n){return new M(3015,W)}()),e;const r=i[1],s=i[2],o=i[3];e.push(tD(r,o));"<"==s[0]&&!("*"==r&&"*"==o)&&e.push(tD(o,r))}(i,t,e)):t.push(n),t}const ja=new Set(["true","1"]),Ha=new Set(["false","0"]);function tD(n,e){const t=ja.has(n)||Ha.has(n),i=ja.has(e)||Ha.has(e);return(r,s)=>{let o="*"==n||n==r,a="*"==e||e==s;return!o&&t&&"boolean"==typeof r&&(o=r?ja.has(n):Ha.has(n)),!a&&i&&"boolean"==typeof s&&(a=s?ja.has(e):Ha.has(e)),o&&a}}const mP=new RegExp("s*:selfs*,?","g");function Kd(n,e,t,i){return new _P(n).build(e,t,i)}class _P{constructor(e){this._driver=e}build(e,t,i){const r=new bP(t);this._resetContextStyleTimingState(r);const s=bt(this,Cs(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 Sk(){return new M(3006,W)}()),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 Ak(){return new M(3007,W)}())}),{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($a(a)){const l=a;Object.keys(l).forEach(c=>{Jb(l[c]).forEach(u=>{o.hasOwnProperty(u)||s.add(u)})})}}),s.size&&(Pa(s.values()),t.errors.push(function Tk(n,e){return new M(3008,W)}()))}return{type:0,name:e.name,style:i,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const i=bt(this,Cs(e.animation),t);return{type:1,matchers:fP(e.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:pi(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(i=>bt(this,i,t)),options:pi(e.options)}}visitGroup(e,t){const i=t.currentTime;let r=0;const s=e.steps.map(o=>{t.currentTime=i;const a=bt(this,o,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:3,steps:s,options:pi(e.options)}}visitAnimate(e,t){const i=function CP(n,e){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return Yd(Na(n,e).duration,0,"");const t=n;if(t.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=Yd(0,0,"");return s.dynamic=!0,s.strValue=t,s}const r=Na(t,e);return Yd(r.duration,r.delay,r.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;let r,s=e.styles?e.styles:Ia({});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=Ia(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==An?i.push(o):t.errors.push(function Ik(n){return new M(3002,W)}()):i.push(o)}):i.push(e.styles);let r=!1,s=null;return i.forEach(o=>{if($a(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 Fk(n,e,t,i,r){return new M(3010,W)}()),u=!1),s=c.startTime),u&&(l[a]={startTime:s,endTime:r}),t.options&&function sP(n,e,t){const i=e.params||{},r=Jb(n);r.length&&r.forEach(s=>{i.hasOwnProperty(s)||t.push(function Ck(n){return new M(3001,W)}())})}(o[a],t.options,t.errors)})})}visitKeyframes(e,t){const i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function xk(){return new M(3011,W)}()),i;let s=0;const o=[];let a=!1,l=!1,c=0;const u=e.steps.map(b=>{const m=this._makeStyleAst(b,t);let C=null!=m.offset?m.offset:function DP(n){if("string"==typeof n)return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if($a(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}});else if($a(n)&&n.hasOwnProperty("offset")){const t=n;e=parseFloat(t.offset),delete t.offset}return e}(m.styles),I=0;return null!=C&&(s++,I=m.offset=C),l=l||I<0||I>1,a=a||I<c,c=I,o.push(I),m});l&&t.errors.push(function Ok(){return new M(3012,W)}()),a&&t.errors.push(function Rk(){return new M(3200,W)}());const d=e.steps.length;let h=0;s>0&&s<d?t.errors.push(function Nk(){return new M(3202,W)}()):0==s&&(h=1/(d-1));const f=d-1,p=t.currentTime,g=t.currentAnimateTimings,_=g.duration;return u.forEach((b,m)=>{const C=h>0?m==f?1:h*m:o[m],I=C*_;t.currentTime=p+g.delay+I,g.duration=I,this._validateStyleAst(b,t),b.offset=C,i.styles.push(b)}),i}visitReference(e,t){return{type:8,animation:bt(this,Cs(e.animation),t),options:pi(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:pi(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:pi(e.options)}}visitQuery(e,t){const i=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[s,o]=function yP(n){const e=!!n.split(/\s*,\s*/).find(t=>":self"==t);return e&&(n=n.replace(mP,"")),n=n.replace(/@\*/g,Ra).replace(/@\w+/g,t=>Ra+"-"+t.substr(1)).replace(/:animating/g,zd),[n,e]}(e.selector);t.currentQuerySelector=i.length?i+" "+s:s,vt(t.collectedStyles,t.currentQuerySelector,{});const a=bt(this,Cs(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:pi(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function kk(){return new M(3013,W)}());const i="full"===e.timings?{duration:0,delay:0,easing:"full"}:Na(e.timings,t.errors,!0);return{type:12,animation:bt(this,Cs(e.animation),t),timings:i,options:null}}}class bP{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 $a(n){return!Array.isArray(n)&&"object"==typeof n}function pi(n){return n?(n=dr(n)).params&&(n.params=function vP(n){return n?dr(n):null}(n.params)):n={},n}function Yd(n,e,t){return{duration:n,delay:e,easing:t}}function Zd(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 Ua{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 MP=new RegExp(":enter","g"),AP=new RegExp(":leave","g");function Qd(n,e,t,i,r,s={},o={},a,l,c=[]){return(new TP).buildKeyframes(n,e,t,i,r,s,o,a,l,c)}class TP{buildKeyframes(e,t,i,r,s,o,a,l,c,u=[]){c=c||new Ua;const d=new Xd(e,t,c,r,s,u,[]);d.options=l,d.currentTimeline.setStyles([o],null,d.errors,l),bt(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()):[Zd(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?hi(i.duration):null,a=null!=i.delay?hi(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),bt(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=za);const o=hi(s.delay);r.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>bt(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?hi(e.options.delay):0;e.steps.forEach(o=>{const a=t.createSubContext(e.options);s&&a.delayNextStep(s),bt(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 Na(t.params?ka(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?hi(r.delay):0;s&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=za);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),bt(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;bt(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=r.currentTime-d+(r.startTime-i.currentTimeline.startTime)}}const za={};class Xd{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=za,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Ga(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=hi(i.duration)),null!=i.delay&&(r.delay=hi(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]=ka(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 Xd(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=za,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 IP(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(MP,"."+this._enterClassName)).replace(AP,"."+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 Pk(n){return new M(3014,W)}()),a}}class Ga{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 Ga(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]||An,this._currentKeyframe[t]=An}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,r){t&&(this._previousKeyframe.easing=t);const s=r&&r.params||{},o=function FP(n,e){const t={};let i;return n.forEach(r=>{"*"===r?(i=i||Object.keys(e),i.forEach(s=>{t[s]=An})):$n(r,!1,t)}),t}(e,this._globalTimelineStyles);Object.keys(o).forEach(a=>{const l=ka(o[a],s,i);this._pendingStyles[a]=l,this._localTimelineStyles.hasOwnProperty(a)||(this._backFill[a]=this._globalTimelineStyles.hasOwnProperty(a)?this._globalTimelineStyles[a]:An),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=$n(a,!0);Object.keys(c).forEach(u=>{const d=c[u];"!"==d?e.add(u):d==An&&t.add(u)}),i||(c.offset=l/this.duration),r.push(c)});const s=e.size?Pa(e.values()):[],o=t.size?Pa(t.values()):[];if(i){const a=r[0],l=dr(a);a.offset=0,l.offset=1,r=[a,l]}return Zd(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}}class IP extends Ga{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=$n(e[0],!1);l.offset=0,s.push(l);const c=$n(e[0],!1);c.offset=rD(a),s.push(c);const u=e.length-1;for(let d=1;d<=u;d++){let h=$n(e[d],!1);h.offset=rD((t+h.offset*i)/o),s.push(h)}i=o,t=0,r="",e=s}return Zd(this.element,e,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function rD(n,e=3){const t=Math.pow(10,e-1);return Math.round(n*t)/t}class Jd{}class xP extends Jd{normalizePropertyName(e,t){return qd(e)}normalizeStyleValue(e,t,i,r){let s="";const o=i.toString().trim();if(OP[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 Mk(n,e){return new M(3005,W)}())}return o+s}}const OP=(()=>function RP(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 sD(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 eh={};class oD{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,r){return function NP(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||eh,p=this.buildStyles(i,a&&a.params||eh,d),g=l&&l.params||eh,_=this.buildStyles(r,g,d),b=new Set,m=new Map,C=new Map,I="void"===r,U={params:Object.assign(Object.assign({},h),g)},ue=u?[]:Qd(e,t,this.ast.animation,s,o,p,_,U,c,d);let me=0;if(ue.forEach(Ct=>{me=Math.max(Ct.duration+Ct.delay,me)}),d.length)return sD(t,this._triggerName,i,r,I,p,_,[],[],m,C,me,d);ue.forEach(Ct=>{const Et=Ct.element,fr=vt(m,Et,{});Ct.preStyleProps.forEach(Zt=>fr[Zt]=!0);const Tn=vt(C,Et,{});Ct.postStyleProps.forEach(Zt=>Tn[Zt]=!0),Et!==t&&b.add(Et)});const Dt=Pa(b.values());return sD(t,this._triggerName,i,r,I,p,_,ue,Dt,m,C,me)}}class kP{constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){const i={},r=dr(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=ka(l,r,t));const c=this.normalizer.normalizePropertyName(a,t);l=this.normalizer.normalizeStyleValue(a,c,l,t),i[c]=l})}}),i}}class LP{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 kP(r.style,r.options&&r.options.params||{},i)}),aD(this.states,"true","1"),aD(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new oD(e,r,this.states))}),this.fallbackTransition=function VP(n,e,t){return new oD(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 aD(n,e,t){n.hasOwnProperty(e)?n.hasOwnProperty(t)||(n[t]=n[e]):n.hasOwnProperty(t)&&(n[e]=n[t])}const BP=new Ua;class jP{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=Kd(this._driver,t,i,[]);if(i.length)throw function Uk(n){return new M(3503,W)}();this._animations[e]=s}_buildPlayer(e,t,i){const r=e.element,s=Bb(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=Qd(this._driver,t,s,Ud,xa,{},{},i,BP,r),o.forEach(u=>{const d=vt(a,u.element,{});u.postStyleProps.forEach(h=>d[h]=null)})):(r.push(function zk(){return new M(3300,W)}()),o=[]),r.length)throw function Gk(n){return new M(3504,W)}();a.forEach((u,d)=>{Object.keys(u).forEach(h=>{u[h]=this._driver.computeStyle(d,h,An)})});const c=Hn(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 Wk(n){return new M(3301,W)}();return t}listen(e,t,i,r){const s=Bd(t,"","","");return Ld(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 lD="ng-animate-queued",th="ng-animate-disabled",GP=[],cD={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},WP={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Nt="__ng_removed";class nh{constructor(e,t=""){this.namespaceId=t;const i=e&&e.hasOwnProperty("value");if(this.value=function ZP(n){return null!=n?n:null}(i?e.value:e),i){const s=dr(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 Es="void",ih=new nh(Es);class qP{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,kt(t,this._hostClassName)}listen(e,t,i,r){if(!this._triggers.hasOwnProperty(t))throw function qk(n,e){return new M(3302,W)}();if(null==i||0==i.length)throw function Kk(n){return new M(3303,W)}();if(!function QP(n){return"start"==n||"done"==n}(i))throw function Yk(n,e){return new M(3400,W)}();const s=vt(this._elementListeners,e,[]),o={name:t,phase:i,callback:r};s.push(o);const a=vt(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(kt(e,Oa),kt(e,Oa+"-"+t),a[t]=ih),()=>{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 Zk(n){return new M(3401,W)}();return t}trigger(e,t,i,r=!0){const s=this._getTrigger(t),o=new rh(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(kt(e,Oa),kt(e,Oa+"-"+t),this._engine.statesByElement.set(e,a={}));let l=a[t];const c=new nh(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a[t]=c,l||(l=ih),c.value!==Es&&l.value===c.value){if(!function e1(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),b=s.matchStyles(c.value,c.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{fi(e,_),hn(e,b)})}return}const h=vt(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||(kt(e,lD),o.onStart(()=>{hr(e,lD)})),o.onDone(()=>{let g=this.players.indexOf(o);g>=0&&this.players.splice(g,1);const _=this._engine.playersByElement.get(e);if(_){let b=_.indexOf(o);b>=0&&_.splice(b,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,Ra,!0);i.forEach(r=>{if(r[Nt])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,Es,r);c&&a.push(c)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),i&&Hn(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]||ih,u=new nh(Es),d=new rh(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[Nt];(!s||s===cD)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){kt(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=Bd(s,i.triggerName,i.fromState.value,i.toState.value);l._data=e,Ld(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 KP{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 qP(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(Wa(t)){const s=this._fetchNamespace(e);if(s)return s.trigger(t,i,r),!0}return!1}insertNode(e,t,i,r){if(!Wa(t))return;const s=t[Nt];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),kt(e,th)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),hr(e,th))}removeNode(e,t,i,r){if(Wa(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[Nt]={namespaceId:e,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,t,i,r,s){return Wa(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,Ra,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,zd,!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 Hn(this.players).onDone(()=>e());e()})}processLeaveNode(e){var t;const i=e[Nt];if(i&&i.setForRemoval){if(e[Nt]=cD,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(th))&&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++)kt(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?Hn(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(e){throw function Qk(n){return new M(3402,W)}()}_flushAnimations(e,t){const i=new Ua,r=[],s=new Map,o=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(S=>{u.add(S);const F=this.driver.query(S,".ng-animate-queued",!0);for(let k=0;k<F.length;k++)u.add(F[k])});const d=this.bodyNode,h=Array.from(this.statesByElement.keys()),f=hD(h,this.collectedEnterElements),p=new Map;let g=0;f.forEach((S,F)=>{const k=Ud+g++;p.set(F,k),S.forEach(K=>kt(K,k))});const _=[],b=new Set,m=new Set;for(let S=0;S<this.collectedLeaveElements.length;S++){const F=this.collectedLeaveElements[S],k=F[Nt];k&&k.setForRemoval&&(_.push(F),b.add(F),k.hasAnimation?this.driver.query(F,".ng-star-inserted",!0).forEach(K=>b.add(K)):m.add(F))}const C=new Map,I=hD(h,Array.from(b));I.forEach((S,F)=>{const k=xa+g++;C.set(F,k),S.forEach(K=>kt(K,k))}),e.push(()=>{f.forEach((S,F)=>{const k=p.get(F);S.forEach(K=>hr(K,k))}),I.forEach((S,F)=>{const k=C.get(F);S.forEach(K=>hr(K,k))}),_.forEach(S=>{this.processLeaveNode(S)})});const U=[],ue=[];for(let S=this._namespaceList.length-1;S>=0;S--)this._namespaceList[S].drainQueuedTransitions(t).forEach(k=>{const K=k.player,Be=k.element;if(U.push(K),this.collectedEnterElements.length){const it=Be[Nt];if(it&&it.setForMove){if(it.previousTriggersValues&&it.previousTriggersValues.has(k.triggerName)){const gi=it.previousTriggersValues.get(k.triggerName),zn=this.statesByElement.get(k.element);zn&&zn[k.triggerName]&&(zn[k.triggerName].value=gi)}return void K.destroy()}}const fn=!d||!this.driver.containsElement(d,Be),wt=C.get(Be),Un=p.get(Be),_e=this._buildInstruction(k,i,Un,wt,fn);if(_e.errors&&_e.errors.length)return void ue.push(_e);if(fn)return K.onStart(()=>fi(Be,_e.fromStyles)),K.onDestroy(()=>hn(Be,_e.toStyles)),void r.push(K);if(k.isFallbackTransition)return K.onStart(()=>fi(Be,_e.fromStyles)),K.onDestroy(()=>hn(Be,_e.toStyles)),void r.push(K);const ID=[];_e.timelines.forEach(it=>{it.stretchStartingKeyframe=!0,this.disabledNodes.has(it.element)||ID.push(it)}),_e.timelines=ID,i.append(Be,_e.timelines),o.push({instruction:_e,player:K,element:Be}),_e.queriedElements.forEach(it=>vt(a,it,[]).push(K)),_e.preStyleProps.forEach((it,gi)=>{const zn=Object.keys(it);if(zn.length){let mi=l.get(gi);mi||l.set(gi,mi=new Set),zn.forEach(uh=>mi.add(uh))}}),_e.postStyleProps.forEach((it,gi)=>{const zn=Object.keys(it);let mi=c.get(gi);mi||c.set(gi,mi=new Set),zn.forEach(uh=>mi.add(uh))})});if(ue.length){const S=[];ue.forEach(F=>{S.push(function Xk(n,e){return new M(3505,W)}())}),U.forEach(F=>F.destroy()),this.reportError(S)}const me=new Map,Dt=new Map;o.forEach(S=>{const F=S.element;i.has(F)&&(Dt.set(F,F),this._beforeAnimationBuild(S.player.namespaceId,S.instruction,me))}),r.forEach(S=>{const F=S.element;this._getPreviousPlayers(F,!1,S.namespaceId,S.triggerName,null).forEach(K=>{vt(me,F,[]).push(K),K.destroy()})});const Ct=_.filter(S=>pD(S,l,c)),Et=new Map;dD(Et,this.driver,m,c,An).forEach(S=>{pD(S,l,c)&&Ct.push(S)});const Tn=new Map;f.forEach((S,F)=>{dD(Tn,this.driver,new Set(S),l,"!")}),Ct.forEach(S=>{const F=Et.get(S),k=Tn.get(S);Et.set(S,Object.assign(Object.assign({},F),k))});const Zt=[],pr=[],gr={};o.forEach(S=>{const{element:F,player:k,instruction:K}=S;if(i.has(F)){if(u.has(F))return k.onDestroy(()=>hn(F,K.toStyles)),k.disabled=!0,k.overrideTotalTime(K.totalTime),void r.push(k);let Be=gr;if(Dt.size>1){let wt=F;const Un=[];for(;wt=wt.parentNode;){const _e=Dt.get(wt);if(_e){Be=_e;break}Un.push(wt)}Un.forEach(_e=>Dt.set(_e,Be))}const fn=this._buildAnimation(k.namespaceId,K,me,s,Tn,Et);if(k.setRealPlayer(fn),Be===gr)Zt.push(k);else{const wt=this.playersByElement.get(Be);wt&&wt.length&&(k.parentPlayer=Hn(wt)),r.push(k)}}else fi(F,K.fromStyles),k.onDestroy(()=>hn(F,K.toStyles)),pr.push(k),u.has(F)&&r.push(k)}),pr.forEach(S=>{const F=s.get(S.element);if(F&&F.length){const k=Hn(F);S.setRealPlayer(k)}}),r.forEach(S=>{S.parentPlayer?S.syncPlayerEvents(S.parentPlayer):S.destroy()});for(let S=0;S<_.length;S++){const F=_[S],k=F[Nt];if(hr(F,xa),k&&k.hasAnimation)continue;let K=[];if(a.size){let fn=a.get(F);fn&&fn.length&&K.push(...fn);let wt=this.driver.query(F,zd,!0);for(let Un=0;Un<wt.length;Un++){let _e=a.get(wt[Un]);_e&&_e.length&&K.push(..._e)}}const Be=K.filter(fn=>!fn.destroyed);Be.length?XP(this,F,Be):this.processLeaveNode(F)}return _.length=0,Zt.forEach(S=>{this.players.push(S),S.onDone(()=>{S.destroy();const F=this.players.indexOf(S);this.players.splice(F,1)}),S.play()}),Zt}elementContainsData(e,t){let i=!1;const r=t[Nt];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==Es;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=vt(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)})}fi(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[Nt];if(_&&_.removedBeforeQueried)return new Ds(p.duration,p.delay);const b=g!==l,m=function JP(n){const e=[];return fD(n,e),e}((i.get(g)||GP).map(me=>me.getRealPlayer())).filter(me=>!!me.element&&me.element===g),C=s.get(g),I=o.get(g),U=Bb(0,this._normalizer,0,p.keyframes,C,I),ue=this._buildPlayer(p,U,m);if(p.subTimeline&&r&&d.add(g),b){const me=new rh(e,a,g);me.setRealPlayer(ue),c.push(me)}return ue});c.forEach(p=>{vt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function YP(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=>kt(p,Yb));const f=Hn(h);return f.onDestroy(()=>{u.forEach(p=>hr(p,Yb)),hn(l,t.toStyles)}),d.forEach(p=>{vt(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 Ds(e.duration,e.delay)}}class rh{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new Ds,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=>Ld(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){vt(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 Wa(n){return n&&1===n.nodeType}function uD(n,e){const t=n.style.display;return n.style.display=null!=e?e:"none",t}function dD(n,e,t,i,r){const s=[];t.forEach(l=>s.push(uD(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[Nt]=WP,o.push(c))}),n.set(c,u)});let a=0;return t.forEach(l=>uD(l,s[a++])),o}function hD(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 kt(n,e){var t;null===(t=n.classList)||void 0===t||t.add(e)}function hr(n,e){var t;null===(t=n.classList)||void 0===t||t.remove(e)}function XP(n,e,t){Hn(t).onDone(()=>n.processLeaveNode(e))}function fD(n,e){for(let t=0;t<n.length;t++){const i=n[t];i instanceof Lb?fD(i.players,e):e.push(i)}}function pD(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 qa{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,s)=>{},this._transitionEngine=new KP(e,t,i),this._timelineEngine=new jP(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=Kd(this._driver,s,l,[]);if(l.length)throw function Hk(n,e){return new M(3404,W)}();a=function PP(n,e,t){return new LP(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]=jb(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]=jb(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 n1=(()=>{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&&hn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(hn(this._element,this._initialStyles),this._endStyles&&(hn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(fi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(fi(this._element,this._endStyles),this._endStyles=null),hn(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function sh(n){let e=null;const t=Object.keys(n);for(let i=0;i<t.length;i++){const r=t[i];r1(r)&&(e=e||{},e[r]=n[r])}return e}function r1(n){return"display"===n||"position"===n}class gD{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]:eD(this.element,i))})}this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class s1{validateStyleProperty(e){return zb(e)}matchesElement(e,t){return!1}containsElement(e,t){return Gb(e,t)}getParentElement(e){return Hd(e)}query(e,t,i){return Wb(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 gD);(function lP(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 cP(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]=eD(n,l)})}}return e}(e,t=t.map(h=>$n(h,!1)),c);const d=function t1(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=sh(e[0]),e.length>1&&(i=sh(e[e.length-1]))):e&&(t=sh(e)),t||i?new n1(n,t,i):null}(e,t);return new gD(e,t,l,d)}}let o1=(()=>{class n extends Nb{constructor(t,i){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(i.body,{id:"0",encapsulation:Vt.None,styles:[],data:{animation:[]}})}build(t){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(t)?kb(t):t;return mD(this._renderer,null,i,"register",[r]),new a1(i,this._renderer)}}return n.\u0275fac=function(t){return new(t||n)(D(es),D(se))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class a1 extends class gk{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new l1(this._id,e,t||{},this._renderer)}}class l1{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 mD(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 mD(n,e,t,i,r){return n.setProperty(e,`@@${t}:${i}`,r)}const _D="@.disabled";let c1=(()=>{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 yD("",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 u1(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)(D(es),D(qa),D(le))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class yD{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==_D?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 u1 extends yD{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==_D?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 d1(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 h1(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 f1=(()=>{class n extends qa{constructor(t,i,r){super(t.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(t){return new(t||n)(D(se),D($d),D(Jd))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const oh=new T("AnimationModuleType"),vD=[{provide:Nb,useClass:o1},{provide:Jd,useFactory:function p1(){return new xP}},{provide:qa,useClass:f1},{provide:es,useFactory:function g1(n,e,t){return new c1(n,e,t)},deps:[aa,qa,le]}],bD=[{provide:$d,useFactory:()=>new s1},{provide:oh,useValue:"BrowserAnimations"},...vD],m1=[{provide:$d,useClass:qb},{provide:oh,useValue:"NoopAnimations"},...vD];let _1=(()=>{class n{static withConfig(t){return{ngModule:n,providers:t.disableAnimations?m1:bD}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({providers:bD,imports:[jy]}),n})();const y1=["connectionContainer"],v1=["inputContainer"],b1=["label"];function D1(n,e){1&n&&(qr(0),pe(1,"div",14),er(2,"div",15)(3,"div",16)(4,"div",17),De(),pe(5,"div",18),er(6,"div",15)(7,"div",16)(8,"div",17),De(),Kr())}function C1(n,e){if(1&n){const t=Uc();pe(0,"div",19),Ke("cdkObserveContent",function(){return yl(t),Ft().updateOutlineGap()}),bn(1,1),De()}2&n&&fe("cdkObserveContentDisabled","outline"!=Ft().appearance)}function E1(n,e){if(1&n&&(qr(0),bn(1,2),pe(2,"span"),Jn(3),De(),Kr()),2&n){const t=Ft(2);be(3),nr(t._control.placeholder)}}function w1(n,e){1&n&&bn(0,3,["*ngSwitchCase","true"])}function M1(n,e){1&n&&(pe(0,"span",23),Jn(1," *"),De())}function S1(n,e){if(1&n){const t=Uc();pe(0,"label",20,21),Ke("cdkObserveContent",function(){return yl(t),Ft().updateOutlineGap()}),ot(2,E1,4,1,"ng-container",12),ot(3,w1,1,0,"ng-content",12),ot(4,M1,2,0,"span",22),De()}if(2&n){const t=Ft();Dn("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),fe("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),yt("for",t._control.id)("aria-owns",t._control.id),be(2),fe("ngSwitchCase",!1),be(1),fe("ngSwitchCase",!0),be(1),fe("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function A1(n,e){1&n&&(pe(0,"div",24),bn(1,4),De())}function T1(n,e){if(1&n&&(pe(0,"div",25),er(1,"span",26),De()),2&n){const t=Ft();be(1),Dn("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function I1(n,e){1&n&&(pe(0,"div"),bn(1,5),De()),2&n&&fe("@transitionMessages",Ft()._subscriptAnimationState)}function F1(n,e){if(1&n&&(pe(0,"div",30),Jn(1),De()),2&n){const t=Ft(2);fe("id",t._hintLabelId),be(1),nr(t.hintLabel)}}function x1(n,e){if(1&n&&(pe(0,"div",27),ot(1,F1,2,2,"div",28),bn(2,6),er(3,"div",29),bn(4,7),De()),2&n){const t=Ft();fe("@transitionMessages",t._subscriptAnimationState),be(1),fe("ngIf",t.hintLabel)}}const O1=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],R1=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let N1=0;const DD=new T("MatError");let k1=(()=>{class n{constructor(t,i){this.id="mat-error-"+N1++,t||i.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(t){return new(t||n)(function no(n){return function aE(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(rf(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}(Fe(),n)}("aria-live"),v(Ve))},n.\u0275dir=O({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(t,i){2&t&&yt("id",i.id)},inputs:{id:"id"},features:[ee([{provide:DD,useExisting:n}])]}),n})();const P1={transitionMessages:mk("transitionMessages",[yk("enter",Ia({opacity:1,transform:"translateY(0%)"})),vk("void => enter",[Ia({opacity:0,transform:"translateY(-5px)"}),_k("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let ah=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=O({type:n}),n})(),L1=0;const CD=new T("MatHint");let V1=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+L1++}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=O({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,i){2&t&&(yt("id",i.id)("align",null),Dn("mat-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"},features:[ee([{provide:CD,useExisting:n}])]}),n})(),lh=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=O({type:n,selectors:[["mat-label"]]}),n})(),B1=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=O({type:n,selectors:[["mat-placeholder"]]}),n})();const j1=new T("MatPrefix"),H1=new T("MatSuffix");let ED=0;const U1=ak(class{constructor(n){this._elementRef=n}},"primary"),z1=new T("MAT_FORM_FIELD_DEFAULT_OPTIONS"),MD=new T("MatFormField");let G1=(()=>{class n extends U1{constructor(t,i,r,s,o,a,l){super(t),this._changeDetectorRef=i,this._dir=r,this._defaults=s,this._platform=o,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new ke,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+ED++,this._labelId="mat-form-field-label-"+ED++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==l,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const i=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&i!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=ps(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe(Nd(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(fa(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(fa(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Rs(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Nd(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Nd(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(fa(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const i=this._control?this._control.ngControl:null;return i&&i[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Ju(this._label.nativeElement,"transitionend").pipe(function sv(n){return e=>0===n?rv():e.lift(new WO(n))}(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(s=>"start"===s.align):null,r=this._hintChildren?this._hintChildren.find(s=>"end"===s.align):null;i?t.push(i.id):this._hintLabel&&t.push(this._hintLabelId),r&&t.push(r.id)}else this._errorChildren&&t.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,r=".mat-form-field-outline-start",s=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!t||!t.children.length||!t.textContent.trim()){const u=i.querySelectorAll(`${r}, ${s}`);for(let d=0;d<u.length;d++)u[d].style.width="0";return}if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let o=0,a=0;const l=i.querySelectorAll(r),c=i.querySelectorAll(s);if(this._label&&this._label.nativeElement.children.length){const u=i.getBoundingClientRect();if(0===u.width&&0===u.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const d=this._getStartEnd(u),h=t.children,f=this._getStartEnd(h[0].getBoundingClientRect());let p=0;for(let g=0;g<h.length;g++)p+=h[g].offsetWidth;o=Math.abs(f-d)-5,a=p>0?.75*p+10:0}for(let u=0;u<l.length;u++)l[u].style.width=`${o}px`;for(let u=0;u<c.length;u++)c[u].style.width=`${a}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left}_isAttachedToDOM(){const t=this._elementRef.nativeElement;if(t.getRootNode){const i=t.getRootNode();return i&&i!==t}return document.documentElement.contains(t)}}return n.\u0275fac=function(t){return new(t||n)(v(Ve),v(jo),v(tv,8),v(z1,8),v(Mn),v(le),v(oh,8))},n.\u0275cmp=Ls({type:n,selectors:[["mat-form-field"]],contentQueries:function(t,i,r){if(1&t&&(cn(r,ah,5),cn(r,ah,7),cn(r,lh,5),cn(r,lh,7),cn(r,B1,5),cn(r,DD,5),cn(r,CD,5),cn(r,j1,5),cn(r,H1,5)),2&t){let s;at(s=lt())&&(i._controlNonStatic=s.first),at(s=lt())&&(i._controlStatic=s.first),at(s=lt())&&(i._labelChildNonStatic=s.first),at(s=lt())&&(i._labelChildStatic=s.first),at(s=lt())&&(i._placeholderChild=s.first),at(s=lt())&&(i._errorChildren=s),at(s=lt())&&(i._hintChildren=s),at(s=lt())&&(i._prefixChildren=s),at(s=lt())&&(i._suffixChildren=s)}},viewQuery:function(t,i){if(1&t&&(rs(y1,7),rs(v1,5),rs(b1,5)),2&t){let r;at(r=lt())&&(i._connectionContainerRef=r.first),at(r=lt())&&(i._inputContainerRef=r.first),at(r=lt())&&(i._label=r.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(t,i){2&t&&Dn("mat-form-field-appearance-standard","standard"==i.appearance)("mat-form-field-appearance-fill","fill"==i.appearance)("mat-form-field-appearance-outline","outline"==i.appearance)("mat-form-field-appearance-legacy","legacy"==i.appearance)("mat-form-field-invalid",i._control.errorState)("mat-form-field-can-float",i._canLabelFloat())("mat-form-field-should-float",i._shouldLabelFloat())("mat-form-field-has-label",i._hasFloatingLabel())("mat-form-field-hide-placeholder",i._hideControlPlaceholder())("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-focused",i._control.focused)("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))("_mat-animation-noopable",!i._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[ee([{provide:MD,useExisting:n}]),Y],ngContentSelectors:R1,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(t,i){1&t&&(function Bg(n){const e=y()[16][6];if(!e.projection){const i=e.projection=Fr(n?n.length:1,null),r=i.slice();let s=e.child;for(;null!==s;){const o=n?zS(s,n):0;null!==o&&(r[o]?r[o].projectionNext=s:i[o]=s,r[o]=s),s=s.next}}}(O1),pe(0,"div",0)(1,"div",1,2),Ke("click",function(s){return i._control.onContainerClick&&i._control.onContainerClick(s)}),ot(3,D1,9,0,"ng-container",3),ot(4,C1,2,1,"div",4),pe(5,"div",5,6),bn(7),pe(8,"span",7),ot(9,S1,5,16,"label",8),De()(),ot(10,A1,2,0,"div",9),De(),ot(11,T1,2,4,"div",10),pe(12,"div",11),ot(13,I1,2,1,"div",12),ot(14,x1,5,2,"div",13),De()()),2&t&&(be(3),fe("ngIf","outline"==i.appearance),be(1),fe("ngIf",i._prefixChildren.length),be(5),fe("ngIf",i._hasFloatingLabel()),be(1),fe("ngIf",i._suffixChildren.length),be(1),fe("ngIf","outline"!=i.appearance),be(1),fe("ngSwitch",i._getDisplayedMessages()),be(1),fe("ngSwitchCase","error"),be(1),fe("ngSwitchCase","hint"))},directives:[ju,UN,na,My],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[P1.transitionMessages]},changeDetection:0}),n})(),ch=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({imports:[[Ty,Od,zN],Od]}),n})();const SD=da({passive:!0});let W1=(()=>{class n{constructor(t,i){this._platform=t,this._ngZone=i,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return iv;const i=la(t),r=this._monitoredElements.get(i);if(r)return r.subject;const s=new ke,o="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(o)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(o)&&(i.classList.remove(o),this._ngZone.run(()=>s.next({target:l.target,isAutofilled:!1}))):(i.classList.add(o),this._ngZone.run(()=>s.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,SD),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:s,unlisten:()=>{i.removeEventListener("animationstart",a,SD)}}),s}stopMonitoring(t){const i=la(t),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((t,i)=>this.stopMonitoring(i))}}return n.\u0275fac=function(t){return new(t||n)(D(Mn),D(le))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),AD=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({imports:[[TO]]}),n})();const q1=new T("MAT_INPUT_VALUE_ACCESSOR"),K1=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Y1=0;const Z1=lk(class{constructor(n,e,t,i){this._defaultErrorStateMatcher=n,this._parentForm=e,this._parentFormGroup=t,this.ngControl=i}});let TD=(()=>{class n extends Z1{constructor(t,i,r,s,o,a,l,c,u,d){super(a,s,o,r),this._elementRef=t,this._platform=i,this._autofillMonitor=c,this._formField=d,this._uid="mat-input-"+Y1++,this.focused=!1,this.stateChanges=new ke,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(p=>Xy().has(p));const h=this._elementRef.nativeElement,f=h.nodeName.toLowerCase();this._inputValueAccessor=l||h,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&u.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",p=>{const g=p.target;!g.value&&0===g.selectionStart&&0===g.selectionEnd&&(g.setSelectionRange(1,1),g.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===f,this._isTextarea="textarea"===f,this._isInFormField=!!d,this._isNativeSelect&&(this.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=ps(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){var t,i,r,s;return null!==(s=null!==(t=this._required)&&void 0!==t?t:null===(r=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===r?void 0:r.hasValidator(zR.required))&&void 0!==s&&s}set required(t){this._required=ps(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&Xy().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=ps(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t!==this.focused&&(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,i;const r=(null===(i=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===i?void 0:i.call(t))?null:this.placeholder;if(r!==this._previousPlaceholder){const s=this._elementRef.nativeElement;this._previousPlaceholder=r,r?s.setAttribute("placeholder",r):s.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){K1.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,i=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}}return n.\u0275fac=function(t){return new(t||n)(v(Ve),v(Mn),v(Sn,10),v(Aa,8),v(Ta,8),v(Ib),v(q1,10),v(W1),v(le),v(MD,8))},n.\u0275dir=O({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(t,i){1&t&&Ke("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&t&&(qc("disabled",i.disabled)("required",i.required),yt("id",i.id)("data-placeholder",i.placeholder)("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),Dn("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[ee([{provide:ah,useExisting:n}]),Y,Xt]}),n})(),Q1=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({providers:[Ib],imports:[[AD,ch,Od],AD,ch]}),n})(),X1=(()=>{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)(D(se))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),J1=(()=>{class n{constructor(){this.errorStateMatcher={isErrorState:()=>!!this.error||!this.valueCanBeChanged&&this.formControl.dirty},this.formControl=new Cd(""),this.onEnter$=new ke,this.valueCanBeChanged=!1}ngOnInit(){this.onEnter$.pipe(bb(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 Zy(n,e){return function(i){return i.lift(new SO(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})();function eL(n,e){if(1&n&&(pe(0,"mat-label"),Jn(1),De()),2&n){const t=Ft();be(1),nr(t.label)}}function tL(n,e){if(1&n&&(pe(0,"mat-error"),Jn(1),De()),2&n){const t=Ft();be(1),To(" ",t.error," ")}}let nL=(()=>{class n extends J1{}return n.\u0275fac=function(){let e;return function(i){return(e||(e=ze(n)))(i||n)}}(),n.\u0275cmp=Ls({type:n,selectors:[["drayman-textarea-field-internal"]],viewQuery:function(t,i){if(1&t&&rs(TD,5),2&t){let r;at(r=lt())&&(i.input=r.first)}},inputs:{rows:"rows",appearance:"appearance",value:"value",label:"label",disabled:"disabled",placeholder:"placeholder",helpText:"helpText",error:"error",onValueChange:"onValueChange",updateOnBlur:"updateOnBlur"},features:[Y],decls:6,vars:9,consts:[[3,"appearance","floatLabel"],[4,"ngIf"],["matInput","","type","text","autocomplete","off",3,"placeholder","formControl","errorStateMatcher","rows","blur"]],template:function(t,i){1&t&&(pe(0,"mat-form-field",0),ot(1,eL,2,1,"mat-label",1),pe(2,"textarea",2),Ke("blur",function(){return i.onBlur()}),De(),pe(3,"mat-hint"),Jn(4),De(),ot(5,tL,2,1,"mat-error",1),De()),2&t&&(fe("appearance",i.appearance||"outline")("floatLabel","auto"),be(1),fe("ngIf",i.label),be(1),fe("placeholder",i.placeholder||i.label)("formControl",i.formControl)("errorStateMatcher",i.errorStateMatcher)("rows",i.rows),be(2),nr(i.helpText),be(1),fe("ngIf",i.error))},directives:[G1,ju,lh,TD,_a,jv,Md,V1,k1],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%} .mat-form-field-infix{width:auto!important}"]}),n})(),iL=(()=>{class n{constructor(t){this.injector=t}ngDoBootstrap(){const t=function LR(n,e){const t=function FR(n,e){return e.get(ti).resolveComponentFactory(n).inputs}(n,e.injector),i=e.strategyFactory||new NR(n,e.injector),r=function IR(n){const e={};return n.forEach(({propName:t,templateName:i})=>{e[function wR(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}(i)]=t}),e}(t);class s extends PR{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}(nL,{injector:this.injector});customElements.define("drayman-textarea-field",t)}}return n.\u0275fac=function(t){return new(t||n)(D(st))},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({providers:[{provide:od,useClass:X1}],imports:[[jy,_1,LN,VN,ch,Q1]]}),n})();(function cI(){q_=!1})(),Yx().bootstrapModule(iL).catch(n=>console.error(n))})();
1
+ (()=>{"use strict";function ws(n){return"function"==typeof n}let Ya=!1;const Pt={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 Ya&&console.log("RxJS: Back to a better error behavior. Thank you. <3");Ya=n},get useDeprecatedSynchronousErrorHandling(){return Ya}};function _i(n){setTimeout(()=>{throw n},0)}const Ms={closed:!0,next(n){},error(n){if(Pt.useDeprecatedSynchronousErrorHandling)throw n;_i(n)},complete(){}},mr=Array.isArray||(n=>n&&"number"==typeof n.length);function Za(n){return null!==n&&"object"==typeof n}const Ss=(()=>{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 ae{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 ae)t.remove(this);else if(null!==t)for(let o=0;o<t.length;++o)t[o].remove(this);if(ws(r)){i&&(this._unsubscribe=void 0);try{r.call(this)}catch(o){e=o instanceof Ss?dh(o.errors):[o]}}if(mr(s)){let o=-1,a=s.length;for(;++o<a;){const l=s[o];if(Za(l))try{l.unsubscribe()}catch(c){e=e||[],c instanceof Ss?e=e.concat(dh(c.errors)):e.push(c)}}}if(e)throw new Ss(e)}add(e){let t=e;if(!e)return ae.EMPTY;switch(typeof e){case"function":t=new ae(e);case"object":if(t===this||t.closed||"function"!=typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if(!(t instanceof ae)){const s=t;t=new ae,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 ae){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 dh(n){return n.reduce((e,t)=>e.concat(t instanceof Ss?t.errors:t),[])}ae.EMPTY=((n=new ae).closed=!0,n);const As="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class je extends ae{constructor(e,t,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=Ms;break;case 1:if(!e){this.destination=Ms;break}if("object"==typeof e){e instanceof je?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new hh(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new hh(this,e,t,i)}}[As](){return this}static create(e,t,i){const r=new je(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 hh extends je{constructor(e,t,i,r){super(),this._parentSubscriber=e;let s,o=this;ws(t)?s=t:t&&(s=t.next,i=t.error,r=t.complete,t!==Ms&&(o=Object.create(t),ws(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;Pt.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}=Pt;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):_i(e),this.unsubscribe();else{if(this.unsubscribe(),i)throw e;_i(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);Pt.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(),Pt.useDeprecatedSynchronousErrorHandling)throw i;_i(i)}}__tryOrSetError(e,t,i){if(!Pt.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,i)}catch(r){return Pt.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(_i(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const _r="function"==typeof Symbol&&Symbol.observable||"@@observable";function fh(n){return n}let de=(()=>{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 xD(n,e,t){if(n){if(n instanceof je)return n;if(n[As])return n[As]()}return n||e||t?new je(n,e,t):new je(Ms)}(t,i,r);if(o.add(s?s.call(o,this.source):this.source||Pt.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),Pt.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){Pt.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=i),function FD(n){for(;n;){const{closed:e,destination:t,isStopped:i}=n;if(e||i)return!1;n=t&&t instanceof je?t:null}return!0}(t)?t.error(i):console.warn(i)}}forEach(t,i){return new(i=gh(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)}[_r](){return this}pipe(...t){return 0===t.length?this:function ph(n){return 0===n.length?fh:1===n.length?n[0]:function(t){return n.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=gh(t))((i,r)=>{let s;this.subscribe(o=>s=o,o=>r(o),()=>i(s))})}}return n.create=e=>new n(e),n})();function gh(n){if(n||(n=Pt.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const yi=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class mh extends ae{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 _h extends je{constructor(e){super(e),this.destination=e}}let ke=(()=>{class n extends de{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[As](){return new _h(this)}lift(t){const i=new yh(this,this);return i.operator=t,i}next(t){if(this.closed)throw new yi;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 yi;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 yi;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 yi;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new yi;return this.hasError?(t.error(this.thrownError),ae.EMPTY):this.isStopped?(t.complete(),ae.EMPTY):(this.observers.push(t),new mh(this,t))}asObservable(){const t=new de;return t.source=this,t}}return n.create=(e,t)=>new yh(e,t),n})();class yh extends ke{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):ae.EMPTY}}function yr(n){return n&&"function"==typeof n.schedule}function vi(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 OD(n,e))}}class OD{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new RD(e,this.project,this.thisArg))}}class RD extends je{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 vh=n=>e=>{for(let t=0,i=n.length;t<i&&!e.closed;t++)e.next(n[t]);e.complete()},Ts=function kD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),bh=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function Dh(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const Ch=n=>{if(n&&"function"==typeof n[_r])return(n=>e=>{const t=n[_r]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)})(n);if(bh(n))return vh(n);if(Dh(n))return(n=>e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,_i),e))(n);if(n&&"function"==typeof n[Ts])return(n=>e=>{const t=n[Ts]();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 ${Za(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(t)}};function Qa(n,e){return new de(t=>{const i=new ae;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 Is(n,e){return e?function UD(n,e){if(null!=n){if(function HD(n){return n&&"function"==typeof n[_r]}(n))return function VD(n,e){return new de(t=>{const i=new ae;return i.add(e.schedule(()=>{const r=n[_r]();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(Dh(n))return function BD(n,e){return new de(t=>{const i=new ae;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(bh(n))return Qa(n,e);if(function $D(n){return n&&"function"==typeof n[Ts]}(n)||"string"==typeof n)return function jD(n,e){if(!n)throw new Error("Iterable cannot be null");return new de(t=>{const i=new ae;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=n[Ts](),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 de?n:new de(Ch(n))}class Fs extends je{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 xs extends je{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function Os(n,e){if(!e.closed)return n instanceof de?n.subscribe(e):Ch(n)(e)}function Eh(n,e,t=Number.POSITIVE_INFINITY){return"function"==typeof e?i=>i.pipe(Eh((r,s)=>Is(n(r,s)).pipe(vi((o,a)=>e(r,o,s,a))),t)):("number"==typeof e&&(t=e),i=>i.lift(new zD(n,t)))}class zD{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new GD(e,this.project,this.concurrent))}}class GD extends xs{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 Fs(this),i=this.destination;i.add(t);const r=Os(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 wh(n=Number.POSITIVE_INFINITY){return Eh(fh,n)}function Mh(n,e){return e?Qa(n,e):new de(vh(n))}function Rs(...n){let e=Number.POSITIVE_INFINITY,t=null,i=n[n.length-1];return yr(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 de?n[0]:wh(e)(Mh(n,t))}function Sh(){return function(e){return e.lift(new WD(e))}}class WD{constructor(e){this.connectable=e}call(e,t){const{connectable:i}=this;i._refCount++;const r=new qD(e,i),s=t.subscribe(r);return r.closed||(r.connection=i.connect()),s}}class qD extends je{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 KD extends de{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 ae,e.add(this.source.subscribe(new ZD(this.getSubject(),this))),e.closed&&(this._connection=null,e=ae.EMPTY)),e}refCount(){return Sh()(this)}}const YD=(()=>{const n=KD.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 ZD extends _h{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 JD{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 eC(){return new ke}function te(n){for(let e in n)if(n[e]===te)return e;throw Error("Could not find renamed property on target object.")}function Xa(n,e){for(const t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function Q(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(Q).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 Ja(n,e){return null==n||""===n?null===e?"":e:null==e||""===e?n:n+" "+e}const nC=te({__forward_ref__:te});function ie(n){return n.__forward_ref__=ie,n.toString=function(){return Q(this())},n}function H(n){return Ah(n)?n():n}function Ah(n){return"function"==typeof n&&n.hasOwnProperty(nC)&&n.__forward_ref__===ie}class M extends Error{constructor(e,t){super(function el(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 He(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 M(-201,`No provider for ${He(n)} found${t}`)}function dt(n,e){null==n&&function X(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 Pe(n){return{providers:n.providers||[],imports:n.imports||[]}}function tl(n){return Th(n,ks)||Th(n,Fh)}function Th(n,e){return n.hasOwnProperty(e)?n[e]:null}function Ih(n){return n&&(n.hasOwnProperty(nl)||n.hasOwnProperty(cC))?n[nl]:null}const ks=te({\u0275prov:te}),nl=te({\u0275inj:te}),Fh=te({ngInjectableDef:te}),cC=te({ngInjectorDef:te});var B=(()=>((B=B||{})[B.Default=0]="Default",B[B.Host=1]="Host",B[B.Self=2]="Self",B[B.SkipSelf=4]="SkipSelf",B[B.Optional=8]="Optional",B))();let il;function In(n){const e=il;return il=n,e}function xh(n,e,t){const i=tl(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&B.Optional?null:void 0!==e?e:void Ns(Q(n),"Injector")}function Fn(n){return{toString:n}.toString()}var Lt=(()=>((Lt=Lt||{})[Lt.OnPush=0]="OnPush",Lt[Lt.Default=1]="Default",Lt))(),Vt=(()=>(function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(Vt||(Vt={})),Vt))();const dC="undefined"!=typeof globalThis&&globalThis,hC="undefined"!=typeof window&&window,fC="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,J=dC||"undefined"!=typeof global&&global||hC||fC,bi={},ne=[],Ps=te({\u0275cmp:te}),rl=te({\u0275dir:te}),sl=te({\u0275pipe:te}),Oh=te({\u0275mod:te}),gn=te({\u0275fac:te}),vr=te({__NG_ELEMENT_ID__:te});let pC=0;function Ls(n){return Fn(()=>{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===Lt.OnPush,directiveDefs:null,pipeDefs:null,selectors:n.selectors||ne,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||Vt.Emulated,id:"c",styles:n.styles||ne,_:null,setInput:null,schemas:n.schemas||null,tView:null},r=n.directives,s=n.features,o=n.pipes;return i.id+=pC++,i.inputs=Ph(n.inputs,t),i.outputs=Ph(n.outputs),s&&s.forEach(a=>a(i)),i.directiveDefs=r?()=>("function"==typeof r?r():r).map(Rh):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(Nh):null,i})}function Rh(n){return Ue(n)||function xn(n){return n[rl]||null}(n)}function Nh(n){return function Gn(n){return n[sl]||null}(n)}const kh={};function $e(n){return Fn(()=>{const e={type:n.type,bootstrap:n.bootstrap||ne,declarations:n.declarations||ne,imports:n.imports||ne,exports:n.exports||ne,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null};return null!=n.id&&(kh[n.id]=n.type),e})}function Ph(n,e){if(null==n)return bi;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 O=Ls;function Ue(n){return n[Ps]||null}function Mt(n,e){const t=n[Oh]||null;if(!t&&!0===e)throw new Error(`Type ${Q(n)} does not have '\u0275mod' property.`);return t}const j=11;function Qt(n){return Array.isArray(n)&&"object"==typeof n[1]}function jt(n){return Array.isArray(n)&&!0===n[1]}function ll(n){return 0!=(8&n.flags)}function Hs(n){return 2==(2&n.flags)}function $s(n){return 1==(1&n.flags)}function Ht(n){return null!==n.template}function bC(n){return 0!=(512&n[2])}function Yn(n,e){return n.hasOwnProperty(gn)?n[gn]:null}class Vh{constructor(e,t,i){this.previousValue=e,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function Xt(){return Bh}function Bh(n){return n.type.prototype.ngOnChanges&&(n.setInput=wC),EC}function EC(){const n=Hh(this),e=null==n?void 0:n.current;if(e){const t=n.previous;if(t===bi)n.previous=e;else for(let i in e)t[i]=e[i];n.current=null,this.ngOnChanges(e)}}function wC(n,e,t,i){const r=Hh(n)||function MC(n,e){return n[jh]=e}(n,{previous:bi,current:null}),s=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[t],l=o[a];s[a]=new Vh(l&&l.currentValue,e,o===bi),n[i]=e}Xt.ngInherit=!0;const jh="__ngSimpleChanges__";function Hh(n){return n[jh]||null}let fl;function ve(n){return!!n.listen}const $h={createRenderer:(n,e)=>function pl(){return void 0!==fl?fl:"undefined"!=typeof document?document:void 0}()};function Me(n){for(;Array.isArray(n);)n=n[0];return n}function Us(n,e){return Me(e[n])}function ft(n,e){return Me(e[n.index])}function gl(n,e){return n.data[e]}function pt(n,e){const t=e[n];return Qt(t)?t:t[0]}function Uh(n){return 4==(4&n[2])}function ml(n){return 128==(128&n[2])}function On(n,e){return null==e?null:n[e]}function zh(n){n[18]=0}function _l(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:Jh(null),bindingsEnabled:!0};function Wh(){return L.bindingsEnabled}function y(){return L.lFrame.lView}function q(){return L.lFrame.tView}function yl(n){return L.lFrame.contextLView=n,n[8]}function Fe(){let n=qh();for(;null!==n&&64===n.type;)n=n.parent;return n}function qh(){return L.lFrame.currentTNode}function Jt(n,e){const t=L.lFrame;t.currentTNode=n,t.isParent=e}function vl(){return L.lFrame.isParent}function bl(){L.lFrame.isParent=!1}function Si(){return L.lFrame.bindingIndex++}function $C(n,e){const t=L.lFrame;t.bindingIndex=t.bindingRootIndex=n,Dl(e)}function Dl(n){L.lFrame.currentDirectiveIndex=n}function Zh(){return L.lFrame.currentQueryIndex}function El(n){L.lFrame.currentQueryIndex=n}function zC(n){const e=n[1];return 2===e.type?e.declTNode:1===e.type?n[6]:null}function Qh(n,e,t){if(t&B.SkipSelf){let r=e,s=n;for(;!(r=r.parent,null!==r||t&B.Host||(r=zC(s),null===r||(s=s[15],10&r.type))););if(null===r)return!1;e=r,n=s}const i=L.lFrame=Xh();return i.currentTNode=e,i.lView=n,!0}function Gs(n){const e=Xh(),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 Xh(){const n=L.lFrame,e=null===n?null:n.child;return null===e?Jh(n):e}function Jh(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 ef(){const n=L.lFrame;return L.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const tf=ef;function Ws(){const n=ef();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 Xe(){return L.lFrame.selectedIndex}function Rn(n){L.lFrame.selectedIndex=n}function he(){const n=L.lFrame;return gl(n.tView,n.selectedIndex)}function qs(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 Ks(n,e,t){nf(n,e,3,t)}function Ys(n,e,t,i){(3&n[2])===t&&nf(n,e,t,i)}function wl(n,e){let t=n[2];(3&t)===e&&(t&=2047,t+=1,n[2]=t)}function nf(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)&&(JC(n,t,e,l),n[18]=(4294901760&n[18])+l+2),l++}function JC(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 wr{constructor(e,t,i){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function Zs(n,e,t){const i=ve(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];Sl(o)?i&&n.setProperty(e,o,a):i?n.setAttribute(e,o,a):e.setAttribute(o,a),r++}}return r}function rf(n){return 3===n||4===n||6===n}function Sl(n){return 64===n.charCodeAt(0)}function Qs(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||sf(n,t,r,null,-1===t||2===t?e[++i]:null)}}return n}function sf(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 af(n){return-1!==n}function Ai(n){return 32767&n}function Ti(n,e){let t=function rE(n){return n>>16}(n),i=e;for(;t>0;)i=i[15],t--;return i}let Al=!0;function Xs(n){const e=Al;return Al=n,e}let sE=0;function Sr(n,e){const t=Il(n,e);if(-1!==t)return t;const i=e[1];i.firstCreatePass&&(n.injectorIndex=e.length,Tl(i.data,n),Tl(e,null),Tl(i.blueprint,null));const r=Js(n,e),s=n.injectorIndex;if(af(r)){const o=Ai(r),a=Ti(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 Tl(n,e){n.push(0,0,0,0,0,0,0,0,e)}function Il(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===e[n.injectorIndex+8]?-1:n.injectorIndex}function Js(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 eo(n,e,t){!function oE(n,e,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(vr)&&(i=t[vr]),null==i&&(i=t[vr]=sE++);const r=255&i;e.data[n+(r>>5)]|=1<<r}(n,e,t)}function uf(n,e,t){if(t&B.Optional)return n;Ns(e,"NodeInjector")}function df(n,e,t,i){if(t&B.Optional&&void 0===i&&(i=null),0==(t&(B.Self|B.Host))){const r=n[9],s=In(void 0);try{return r?r.get(e,i,t&B.Optional):xh(e,i,t&B.Optional)}finally{In(s)}}return uf(i,e,t)}function hf(n,e,t,i=B.Default,r){if(null!==n){const s=function uE(n){if("string"==typeof n)return n.charCodeAt(0)||0;const e=n.hasOwnProperty(vr)?n[vr]:void 0;return"number"==typeof e?e>=0?255&e:lE:e}(t);if("function"==typeof s){if(!Qh(e,n,i))return i&B.Host?uf(r,t,i):df(e,t,i,r);try{const o=s(i);if(null!=o||i&B.Optional)return o;Ns(t)}finally{tf()}}else if("number"==typeof s){let o=null,a=Il(n,e),l=-1,c=i&B.Host?e[16][6]:null;for((-1===a||i&B.SkipSelf)&&(l=-1===a?Js(n,e):e[a+8],-1!==l&&gf(i,!1)?(o=e[1],a=Ai(l),e=Ti(l,e)):a=-1);-1!==a;){const u=e[1];if(pf(s,a,u.data)){const d=cE(a,e,t,o,i,c);if(d!==ff)return d}l=e[a+8],-1!==l&&gf(i,e[1].data[a+8]===c)&&pf(s,a,e)?(o=u,a=Ai(l),e=Ti(l,e)):a=-1}}}return df(e,t,i,r)}const ff={};function lE(){return new Ii(Fe(),y())}function cE(n,e,t,i,r,s){const o=e[1],a=o.data[n+8],u=to(a,o,t,null==i?Hs(a)&&Al:i!=o&&0!=(3&a.type),r&B.Host&&s===a);return null!==u?Ar(e,o,u,a):ff}function to(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&&Ht(f)&&f.type===t)return l}return null}function Ar(n,e,t,i){let r=n[t];const s=e.data;if(function eE(n){return n instanceof wr}(r)){const o=r;o.resolving&&function iC(n,e){const t=e?`. Dependency path: ${e.join(" > ")} > ${n}`:"";throw new M(-200,`Circular dependency in DI detected for ${n}${t}`)}(He(s[t]));const a=Xs(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?In(o.injectImpl):null;Qh(n,i,B.Default);try{r=n[t]=o.factory(void 0,s,n,i),e.firstCreatePass&&t>=i.directiveStart&&function XC(n,e,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=e.type.prototype;if(i){const o=Bh(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&&In(l),Xs(a),o.resolving=!1,tf()}}return r}function pf(n,e,t){return!!(t[e+(n>>5)]&1<<n)}function gf(n,e){return!(n&B.Self||n&B.Host&&e)}class Ii{constructor(e,t){this._tNode=e,this._lView=t}get(e,t,i){return hf(this._tNode,this._lView,e,i,t)}}function ze(n){return Fn(()=>{const e=n.prototype.constructor,t=e[gn]||Fl(e),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const s=r[gn]||Fl(r);if(s&&s!==t)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function Fl(n){return Ah(n)?()=>{const e=Fl(H(n));return e&&e()}:Yn(n)}class T{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 Tt(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)),Tt(i,e)):e!==n&&e.push(i)}return e}function en(n,e){n.forEach(t=>Array.isArray(t)?en(t,e):e(t))}function _f(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function io(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function Fr(n,e){const t=[];for(let i=0;i<n;i++)t.push(e);return t}function gt(n,e,t){let i=Ni(n,e);return i>=0?n[1|i]=t:(i=~i,function pE(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 Rl(n,e){const t=Ni(n,e);if(t>=0)return n[1|t]}function Ni(n,e){return function bf(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 xr={},so="ngTempTokenPath",DE=/\n/gm,Cf="__source",EE=te({provide:String,useValue:te});let Or;function Ef(n){const e=Or;return Or=n,e}function wE(n,e=B.Default){if(void 0===Or)throw new M(203,"");return null===Or?xh(n,void 0,e):Or.get(n,e&B.Optional?null:void 0,e)}function D(n,e=B.Default){return(function uC(){return il}()||wE)(H(n),e)}const Pl=D;function Ll(n){const e=[];for(let t=0;t<n.length;t++){const i=H(n[t]);if(Array.isArray(i)){if(0===i.length)throw new M(900,"");let r,s=B.Default;for(let o=0;o<i.length;o++){const a=i[o],l=ME(a);"number"==typeof l?-1===l?r=a.token:s|=l:r=a}e.push(D(r,s))}else e.push(D(i))}return e}function ME(n){return n.__NG_DI_FLAG__}var mt=(()=>((mt=mt||{})[mt.Important=1]="Important",mt[mt.DashCase=2]="DashCase",mt))();const xf="__ngContext__";function We(n,e){n[xf]=e}function Hl(n){const e=function kr(n){return n[xf]||null}(n);return e?Array.isArray(e)?e:e.lView:null}function Ul(n,e){return undefined(n,e)}function Pr(n){const e=n[3];return jt(e)?e[3]:e}function zl(n){return Vf(n[13])}function Gl(n){return Vf(n[4])}function Vf(n){for(;null!==n&&!jt(n);)n=n[4];return n}function Pi(n,e,t,i,r){if(null!=i){let s,o=!1;jt(i)?s=i:Qt(i)&&(o=!0,i=i[0]);const a=Me(i);0===n&&null!==t?null==r?zf(e,t,a):Zn(e,t,a,r||null,!0):1===n&&null!==t?Zn(e,t,a,r||null,!0):2===n?function Xl(n,e,t){const i=co(n,e);i&&function nw(n,e,t,i){ve(n)?n.removeChild(e,t,i):e.removeChild(t)}(n,i,e,t)}(e,a,o):3===n&&e.destroyNode(a),null!=s&&function sw(n,e,t,i,r){const s=t[7];s!==Me(t)&&Pi(e,n,i,s,r);for(let a=10;a<t.length;a++){const l=t[a];Lr(l[1],l,n,e,i,s)}}(e,n,s,t,r)}}function ql(n,e,t){if(ve(n))return n.createElement(e,t);{const i=null!==t?function IC(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 jf(n,e){const t=n[9],i=t.indexOf(e),r=e[3];1024&e[2]&&(e[2]&=-1025,_l(r,-1)),t.splice(i,1)}function Kl(n,e){if(n.length<=10)return;const t=10+e,i=n[t];if(i){const r=i[17];null!==r&&r!==n&&jf(r,i),e>0&&(n[t-1][4]=i[4]);const s=io(n,10+e);!function KE(n,e){Lr(n,e,e[j],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 Hf(n,e){if(!(256&e[2])){const t=e[j];ve(t)&&t.destroyNode&&Lr(n,e,t,3,null,null),function QE(n){let e=n[13];if(!e)return Yl(n[1],n);for(;e;){let t=null;if(Qt(e))t=e[13];else{const i=e[10];i&&(t=i)}if(!t){for(;e&&!e[4]&&e!==n;)Qt(e)&&Yl(e[1],e),e=e[3];null===e&&(e=n),Qt(e)&&Yl(e[1],e),t=e&&e[4]}e=t}}(e)}}function Yl(n,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function tw(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 wr)){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 ew(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):Me(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&&ve(e[j])&&e[j].destroy();const t=e[17];if(null!==t&&jt(e[3])){t!==e[3]&&jf(t,e);const i=e[19];null!==i&&i.detachView(n)}}}function $f(n,e,t){return function Uf(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===Vt.None||r===Vt.Emulated)return null}return ft(i,t)}(n,e.parent,t)}function Zn(n,e,t,i,r){ve(n)?n.insertBefore(e,t,i,r):e.insertBefore(t,i,r)}function zf(n,e,t){ve(n)?n.appendChild(e,t):e.appendChild(t)}function Gf(n,e,t,i,r){null!==i?Zn(n,e,t,i,r):zf(n,e,t)}function co(n,e){return ve(n)?n.parentNode(e):e.parentNode}function Wf(n,e,t){return Kf(n,e,t)}let Kf=function qf(n,e,t){return 40&n.type?ft(n,t):null};function uo(n,e,t,i){const r=$f(n,i,e),s=e[j],a=Wf(i.parent||e[6],i,e);if(null!=r)if(Array.isArray(t))for(let l=0;l<t.length;l++)Gf(s,r,t[l],a,!1);else Gf(s,r,t,a,!1)}function ho(n,e){if(null!==e){const t=e.type;if(3&t)return ft(e,n);if(4&t)return Ql(-1,n[e.index]);if(8&t){const i=e.child;if(null!==i)return ho(n,i);{const r=n[e.index];return jt(r)?Ql(-1,r):Me(r)}}if(32&t)return Ul(e,n)()||Me(n[e.index]);{const i=Zf(n,e);return null!==i?Array.isArray(i)?i[0]:ho(Pr(n[16]),i):ho(n,e.next)}}return null}function Zf(n,e){return null!==e?n[16][6].projection[e.projection]:null}function Ql(n,e){const t=10+n+1;if(t<e.length){const i=e[t],r=i[1].firstChild;if(null!==r)return ho(i,r)}return e[7]}function Jl(n,e,t,i,r,s,o){for(;null!=t;){const a=i[t.index],l=t.type;if(o&&0===e&&(a&&We(Me(a),i),t.flags|=4),64!=(64&t.flags))if(8&l)Jl(n,e,t.child,i,r,s,!1),Pi(e,n,r,a,s);else if(32&l){const c=Ul(t,i);let u;for(;u=c();)Pi(e,n,r,u,s);Pi(e,n,r,a,s)}else 16&l?Qf(n,e,i,t,r,s):Pi(e,n,r,a,s);t=o?t.projectionNext:t.next}}function Lr(n,e,t,i,r,s){Jl(t,i,n.firstChild,e,r,s,!1)}function Qf(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++)Pi(e,n,r,l[c],s);else Jl(n,e,l,o[3],r,s,!0)}function Xf(n,e,t){ve(n)?n.setAttribute(e,"style",t):e.style.cssText=t}function ec(n,e,t){ve(n)?""===t?n.removeAttribute(e,"class"):n.setAttribute(e,"class",t):e.className=t}function lc(n){return n.ngOriginalError}function Lw(n,...e){n.error(...e)}class Hr{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),i=function Pw(n){return n&&n.ngErrorLogger||Lw}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t)}_findOriginalError(e){let t=e&&lc(e);for(;t&&lc(t);)t=lc(t);return t||null}}const zw=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(J))();function nn(n){return n instanceof Function?n():n}function fp(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 pp="ng-template";function Kw(n,e,t){let i=0;for(;i<n.length;){let r=n[i++];if(t&&"class"===r){if(r=n[i],-1!==fp(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 gp(n){return 4===n.type&&n.value!==pp}function Yw(n,e,t){return e===(4!==n.type||t?n.value:pp)}function Zw(n,e,t){let i=4;const r=n.attrs||[],s=function Jw(n){for(let e=0;e<n.length;e++)if(rf(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&&!Yw(n,l,t)||""===l&&1===e.length){if($t(i))return!1;o=!0}}else{const c=8&i?l:e[++a];if(8&i&&null!==n.attrs){if(!Kw(n.attrs,c,t)){if($t(i))return!1;o=!0}continue}const d=Qw(8&i?"class":l,r,gp(n),t);if(-1===d){if($t(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!==fp(f,c,0)||2&i&&c!==h){if($t(i))return!1;o=!0}}}}else{if(!o&&!$t(i)&&!$t(l))return!1;if(o&&$t(l))continue;o=!1,i=l|1&i}}return $t(i)||o}function $t(n){return 0==(1&n)}function Qw(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 eM(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 mp(n,e,t=!1){for(let i=0;i<e.length;i++)if(Zw(n,e[i],t))return!0;return!1}function tM(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 _p(n,e){return n?":not("+e.trim()+")":e}function nM(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&&!$t(o)&&(e+=_p(s,r),r=""),i=o,s=s||!$t(i);t++}return""!==r&&(e+=_p(s,r)),e}const V={};function be(n){yp(q(),y(),Xe()+n,!1)}function yp(n,e,t,i){if(!i)if(3==(3&e[2])){const s=n.preOrderCheckHooks;null!==s&&Ks(e,s,t)}else{const s=n.preOrderHooks;null!==s&&Ys(e,s,0,t)}Rn(t)}function _o(n,e){return n<<17|e<<2}function Ut(n){return n>>17&32767}function cc(n){return 2|n}function yn(n){return(131068&n)>>2}function uc(n,e){return-131069&n|e<<2}function dc(n){return 1|n}function Ip(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];El(r),o.contentQueries(2,e[s],s)}}}function $r(n,e,t,i,r,s,o,a,l,c){const u=e.blueprint.slice();return u[0]=r,u[2]=140|i,zh(u),u[3]=u[15]=n,u[8]=t,u[10]=o||n&&n[10],u[j]=a||n&&n[j],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 Vi(n,e,t,i,r){let s=n.data[e];if(null===s)s=function bc(n,e,t,i,r){const s=qh(),o=vl(),l=n.data[e]=function bM(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 HC(){return L.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=t,s.value=i,s.attrs=r;const o=function Er(){const n=L.lFrame,e=n.currentTNode;return n.isParent?e:e.parent}();s.injectorIndex=null===o?-1:o.injectorIndex}return Jt(s,!0),s}function Bi(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 Ur(n,e,t){Gs(e);try{const i=n.viewQuery;null!==i&&Ic(1,i,t);const r=n.template;null!==r&&Fp(n,e,r,1,t),n.firstCreatePass&&(n.firstCreatePass=!1),n.staticContentQueries&&Ip(n,e),n.staticViewQueries&&Ic(2,n.viewQuery,t);const s=n.components;null!==s&&function _M(n,e){for(let t=0;t<e.length;t++)VM(n,e[t])}(e,s)}catch(i){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),i}finally{e[2]&=-5,Ws()}}function ji(n,e,t,i){const r=e[2];if(256!=(256&r)){Gs(e);try{zh(e),function Kh(n){return L.lFrame.bindingIndex=n}(n.bindingStartIndex),null!==t&&Fp(n,e,t,2,i);const o=3==(3&r);if(o){const c=n.preOrderCheckHooks;null!==c&&Ks(e,c,null)}else{const c=n.preOrderHooks;null!==c&&Ys(e,c,0,null),wl(e,0)}if(function PM(n){for(let e=zl(n);null!==e;e=Gl(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])&&_l(s,1),r[2]|=1024}}}(e),function kM(n){for(let e=zl(n);null!==e;e=Gl(e))for(let t=10;t<e.length;t++){const i=e[t],r=i[1];ml(i)&&ji(r,i,r.template,i[8])}}(e),null!==n.contentQueries&&Ip(n,e),o){const c=n.contentCheckHooks;null!==c&&Ks(e,c)}else{const c=n.contentHooks;null!==c&&Ys(e,c,1),wl(e,1)}!function gM(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)Rn(~r);else{const s=r,o=t[++i],a=t[++i];$C(o,s),a(2,e[s])}}}finally{Rn(-1)}}(n,e);const a=n.components;null!==a&&function mM(n,e){for(let t=0;t<e.length;t++)LM(n,e[t])}(e,a);const l=n.viewQuery;if(null!==l&&Ic(2,l,i),o){const c=n.viewCheckHooks;null!==c&&Ks(e,c)}else{const c=n.viewHooks;null!==c&&Ys(e,c,2),wl(e,2)}!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),e[2]&=-73,1024&e[2]&&(e[2]&=-1025,_l(e[3],-1))}finally{Ws()}}}function yM(n,e,t,i){const r=e[10],o=Uh(e);try{!o&&r.begin&&r.begin(),o&&Ur(n,e,i),ji(n,e,t,i)}finally{!o&&r.end&&r.end()}}function Fp(n,e,t,i,r){const s=Xe(),o=2&i;try{Rn(-1),o&&e.length>20&&yp(n,e,20,!1),t(i,r)}finally{Rn(s)}}function xp(n,e,t){if(ll(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)}}}function Dc(n,e,t){!Wh()||(function AM(n,e,t,i){const r=t.directiveStart,s=t.directiveEnd;n.firstCreatePass||Sr(t,e),We(i,e);const o=t.initialInputs;for(let a=r;a<s;a++){const l=n.data[a],c=Ht(l);c&&OM(e,t,l);const u=Ar(e,n,a,t);We(u,e),null!==o&&RM(0,a-r,u,l,0,o),c&&(pt(t.index,e)[8]=u)}}(n,e,t,ft(t,e)),128==(128&t.flags)&&function TM(n,e,t){const i=t.directiveStart,r=t.directiveEnd,o=t.index,a=function UC(){return L.lFrame.currentDirectiveIndex}();try{Rn(o);for(let l=i;l<r;l++){const c=n.data[l],u=e[l];Dl(l),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&Bp(c,u)}}finally{Rn(-1),Dl(a)}}(n,e,t))}function Cc(n,e,t=ft){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}}}function Op(n){const e=n.tView;return null===e||e.incompleteFirstPass?n.tView=bo(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts):e}function bo(n,e,t,i,r,s,o,a,l,c){const u=20+i,d=u+r,h=function vM(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 kp(n,e,t,i){const r=Gp(e);null===t?r.push(i):(r.push(t),n.firstCreatePass&&Wp(n).push(i,r.length-1))}function Pp(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 _t(n,e,t,i,r,s,o,a){const l=ft(e,t);let u,c=e.inputs;!a&&null!=c&&(u=c[i])?(Yp(n,t,u,i,r),Hs(e)&&function EM(n,e){const t=pt(e,n);16&t[2]||(t[2]|=64)}(t,e.index)):3&e.type&&(i=function CM(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,ve(s)?s.setProperty(l,i,r):Sl(i)||(l.setProperty?l.setProperty(i,r):l[i]=r))}function Ec(n,e,t,i){let r=!1;if(Wh()){const s=function IM(n,e,t){const i=n.directiveRegistry;let r=null;if(i)for(let s=0;s<i.length;s++){const o=i[s];mp(t,o.selectors,!1)&&(r||(r=[]),eo(Sr(t,e),n,o.type),Ht(o)?(jp(n,t),r.unshift(o)):r.push(o))}return r}(n,e,t),o=null===i?null:{"":-1};if(null!==s){r=!0,Hp(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=Bi(n,e,s.length,null);for(let u=0;u<s.length;u++){const d=s[u];t.mergedAttrs=Qs(t.mergedAttrs,d.hostAttrs),$p(n,t,e,c,d),xM(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 DM(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||gp(e)?null:NM(d,s);o.push(h),a=Pp(d,c,a),l=Pp(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 FM(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 M(-301,!1);i.push(e[r],s)}}}(t,i,o)}return t.mergedAttrs=Qs(t.mergedAttrs,t.attrs),r}function Vp(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 SM(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 Bp(n,e){null!==n.hostBindings&&n.hostBindings(1,e)}function jp(n,e){e.flags|=2,(n.components||(n.components=[])).push(e.index)}function xM(n,e,t){if(t){if(e.exportAs)for(let i=0;i<e.exportAs.length;i++)t[e.exportAs[i]]=n;Ht(e)&&(t[""]=n)}}function Hp(n,e,t){n.flags|=1,n.directiveStart=e,n.directiveEnd=e+t,n.providerIndexes=e}function $p(n,e,t,i,r){n.data[i]=r;const s=r.factory||(r.factory=Yn(r.type)),o=new wr(s,Ht(r),null);n.blueprint[i]=o,t[i]=o,Vp(n,e,0,i,Bi(n,t,r.hostVars,V),r)}function OM(n,e,t){const i=ft(e,n),r=Op(t),s=n[10],o=Do(n,$r(n,r,null,t.onPush?64:16,i,e,s,s.createRenderer(i,t),null,null));n[e.index]=o}function rn(n,e,t,i,r,s){const o=ft(n,e);!function wc(n,e,t,i,r,s,o){if(null==s)ve(n)?n.removeAttribute(e,r,t):e.removeAttribute(r);else{const a=null==o?P(s):o(s,i||"",r);ve(n)?n.setAttribute(e,r,a,t):t?e.setAttributeNS(t,r,a):e.setAttribute(r,a)}}(e[j],o,s,n.value,t,i,r)}function RM(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 NM(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 Up(n,e,t,i){return new Array(n,!0,!1,e,null,0,i,t,null,null)}function LM(n,e){const t=pt(e,n);if(ml(t)){const i=t[1];80&t[2]?ji(i,t,i.template,t[8]):t[5]>0&&Mc(t)}}function Mc(n){for(let i=zl(n);null!==i;i=Gl(i))for(let r=10;r<i.length;r++){const s=i[r];if(1024&s[2]){const o=s[1];ji(o,s,o.template,s[8])}else s[5]>0&&Mc(s)}const t=n[1].components;if(null!==t)for(let i=0;i<t.length;i++){const r=pt(t[i],n);ml(r)&&r[5]>0&&Mc(r)}}function VM(n,e){const t=pt(e,n),i=t[1];(function BM(n,e){for(let t=e.length;t<n.blueprint.length;t++)e.push(n.blueprint[t])})(i,t),Ur(i,t,t[8])}function Do(n,e){return n[13]?n[14][4]=e:n[13]=e,n[14]=e,e}function Sc(n){for(;n;){n[2]|=64;const e=Pr(n);if(bC(n)&&!e)return n;n=e}return null}function zp(n){!function Ac(n){for(let e=0;e<n.components.length;e++){const t=n.components[e],i=Hl(t),r=i[1];yM(r,i,r.template,t)}}(n[8])}function Ic(n,e,t){El(0),e(n,t)}const HM=(()=>Promise.resolve(null))();function Gp(n){return n[7]||(n[7]=[])}function Wp(n){return n.cleanup||(n.cleanup=[])}function Kp(n,e){const t=n[9],i=t?t.get(Hr,null):null;i&&i.handleError(e)}function Yp(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 vn(n,e,t){const i=Us(e,n);!function Bf(n,e,t){ve(n)?n.setValue(e,t):e.textContent=t}(n[j],i,t)}function Co(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=Ja(r,a):2==s&&(i=Ja(i,a+": "+e[++o]+";"))}t?n.styles=i:n.stylesWithoutHost=i,t?n.classes=r:n.classesWithoutHost=r}const Fc=new T("INJECTOR",-1);class Zp{get(e,t=xr){if(t===xr){const i=new Error(`NullInjectorError: No provider for ${Q(e)}!`);throw i.name="NullInjectorError",i}return t}}const xc=new T("Set Injector scope."),zr={},zM={};let Oc;function Qp(){return void 0===Oc&&(Oc=new Zp),Oc}function Xp(n,e=null,t=null,i){const r=Jp(n,e,t,i);return r._resolveInjectorDefTypes(),r}function Jp(n,e=null,t=null,i){return new GM(n,t,e||Qp(),i)}class GM{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&&en(t,a=>this.processProvider(a,e,t)),en([e],a=>this.processInjectorType(a,[],s)),this.records.set(Fc,Hi(void 0,this));const o=this.records.get(xc);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof e?null:Q(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=xr,i=B.Default){this.assertNotDestroyed();const r=Ef(this),s=In(void 0);try{if(!(i&B.SkipSelf)){let a=this.records.get(e);if(void 0===a){const l=function JM(n){return"function"==typeof n||"object"==typeof n&&n instanceof T}(e)&&tl(e);a=l&&this.injectableDefInScope(l)?Hi(Rc(e),zr):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(i&B.Self?Qp():this.parent).get(e,t=i&B.Optional&&t===xr?null:t)}catch(o){if("NullInjectorError"===o.name){if((o[so]=o[so]||[]).unshift(Q(e)),r)throw o;return function SE(n,e,t,i){const r=n[so];throw e[Cf]&&r.unshift(e[Cf]),n.message=function AE(n,e,t,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.substr(2):n;let r=Q(e);if(Array.isArray(e))r=e.map(Q).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):Q(a)))}r=`{${s.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${n.replace(DE,"\n ")}`}("\n"+n.message,r,t,i),n.ngTokenPath=r,n[so]=null,n}(o,e,"R3InjectorError",this.source)}throw o}finally{In(s),Ef(r)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((i,r)=>e.push(Q(r))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processInjectorType(e,t,i){if(!(e=H(e)))return!1;let r=Ih(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=Ih(s)),null==r)return!1;if(null!=r.imports&&!a){let u;i.push(o);try{en(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];en(f,p=>this.processProvider(p,h,f||ne))}}this.injectorDefTypes.add(o);const l=Yn(o)||(()=>new o);this.records.set(o,Hi(l,zr));const c=r.providers;if(null!=c&&!a){const u=e;en(c,d=>this.processProvider(d,u,c))}return void 0!==s&&void 0!==e.providers}processProvider(e,t,i){let r=$i(e=H(e))?e:H(e&&e.provide);const s=function qM(n,e,t){return tg(n)?Hi(void 0,n.useValue):Hi(eg(n),zr)}(e);if($i(e)||!0!==e.multi)this.records.get(r);else{let o=this.records.get(r);o||(o=Hi(void 0,zr,!0),o.factory=()=>Ll(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=zM,t.value=t.factory()),"object"==typeof t.value&&t.value&&function XM(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=H(e.providedIn);return"string"==typeof t?"any"===t||t===this.scope:this.injectorDefTypes.has(t)}}function Rc(n){const e=tl(n),t=null!==e?e.factory:Yn(n);if(null!==t)return t;if(n instanceof T)throw new M(204,!1);if(n instanceof Function)return function WM(n){const e=n.length;if(e>0)throw Fr(e,"?"),new M(204,!1);const t=function aC(n){const e=n&&(n[ks]||n[Fh]);if(e){const t=function lC(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 M(204,!1)}function eg(n,e,t){let i;if($i(n)){const r=H(n);return Yn(r)||Rc(r)}if(tg(n))i=()=>H(n.useValue);else if(function YM(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...Ll(n.deps||[]));else if(function KM(n){return!(!n||!n.useExisting)}(n))i=()=>D(H(n.useExisting));else{const r=H(n&&(n.useClass||n.provide));if(!function QM(n){return!!n.deps}(n))return Yn(r)||Rc(r);i=()=>new r(...Ll(n.deps))}return i}function Hi(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function tg(n){return null!==n&&"object"==typeof n&&EE in n}function $i(n){return"function"==typeof n}let st=(()=>{class n{static create(t,i){var r;if(Array.isArray(t))return Xp({name:""},i,t,"");{const s=null!==(r=t.name)&&void 0!==r?r:"";return Xp({name:s},t.parent,t.providers,s)}}}return n.THROW_IF_NOT_FOUND=xr,n.NULL=new Zp,n.\u0275prov=x({token:n,providedIn:"any",factory:()=>D(Fc)}),n.__NG_ELEMENT_ID__=-1,n})();function aS(n,e){qs(Hl(n)[1],Fe())}function Y(n){let e=function fg(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),t=!0;const i=[n];for(;e;){let r;if(Ht(n))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new M(903,"");r=e.\u0275dir}if(r){if(t){i.push(r);const o=n;o.inputs=Pc(n.inputs),o.declaredInputs=Pc(n.declaredInputs),o.outputs=Pc(n.outputs);const a=r.hostBindings;a&&dS(n,a);const l=r.viewQuery,c=r.contentQueries;if(l&&cS(n,l),c&&uS(n,c),Xa(n.inputs,r.inputs),Xa(n.declaredInputs,r.declaredInputs),Xa(n.outputs,r.outputs),Ht(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===Y&&(t=!1)}}e=Object.getPrototypeOf(e)}!function lS(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=Qs(r.hostAttrs,t=Qs(t,r.hostAttrs))}}(i)}function Pc(n){return n===bi?{}:n===ne?[]:n}function cS(n,e){const t=n.viewQuery;n.viewQuery=t?(i,r)=>{e(i,r),t(i,r)}:e}function uS(n,e){const t=n.contentQueries;n.contentQueries=t?(i,r,s)=>{e(i,r,s),t(i,r,s)}:e}function dS(n,e){const t=n.hostBindings;n.hostBindings=t?(i,r)=>{e(i,r),t(i,r)}:e}let Eo=null;function Ui(){if(!Eo){const n=J.Symbol;if(n&&n.iterator)Eo=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&&(Eo=i)}}}return Eo}function qe(n,e,t){return!Object.is(n[e],t)&&(n[e]=t,!0)}function yt(n,e,t,i){const r=y();return qe(r,Si(),e)&&(q(),rn(he(),r,n,e,t,i)),yt}function ot(n,e,t,i,r,s,o,a){const l=y(),c=q(),u=n+20,d=c.firstCreatePass?function yS(n,e,t,i,r,s,o,a,l){const c=e.consts,u=Vi(e,n,4,o||null,On(c,a));Ec(e,t,u,On(c,l)),qs(e,u);const d=u.tViews=bo(2,u,i,r,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c);return null!==e.queries&&(e.queries.template(e,u),d.queries=e.queries.embeddedTView(u)),u}(u,c,l,e,t,i,r,s,o):c.data[u];Jt(d,!1);const h=l[j].createComment("");uo(c,l,h,d),We(h,l),Do(l,l[u]=Up(h,l,h,d)),$s(d)&&Dc(c,l,d),null!=o&&Cc(l,d,a)}function v(n,e=B.Default){const t=y();return null===t?D(n,e):hf(Fe(),t,H(n),e)}function fe(n,e,t){const i=y();return qe(i,Si(),e)&&_t(q(),he(),i,n,e,i[j],t,!1),fe}function $c(n,e,t,i,r){const o=r?"class":"style";Yp(n,t,e.inputs[o],o,i)}function pe(n,e,t,i){const r=y(),s=q(),o=20+n,a=r[j],l=r[o]=ql(a,e,function QC(){return L.lFrame.currentNamespace}()),c=s.firstCreatePass?function HS(n,e,t,i,r,s,o){const a=e.consts,c=Vi(e,n,2,r,On(a,s));return Ec(e,t,c,On(a,o)),null!==c.attrs&&Co(c,c.attrs,!1),null!==c.mergedAttrs&&Co(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(o,s,r,0,e,t,i):s.data[o];Jt(c,!0);const u=c.mergedAttrs;null!==u&&Zs(a,l,u);const d=c.classes;null!==d&&ec(a,l,d);const h=c.styles;return null!==h&&Xf(a,l,h),64!=(64&c.flags)&&uo(s,r,l,c),0===function kC(){return L.lFrame.elementDepthCount}()&&We(l,r),function PC(){L.lFrame.elementDepthCount++}(),$s(c)&&(Dc(s,r,c),xp(s,c,r)),null!==i&&Cc(r,c),pe}function De(){let n=Fe();vl()?bl():(n=n.parent,Jt(n,!1));const e=n;!function LC(){L.lFrame.elementDepthCount--}();const t=q();return t.firstCreatePass&&(qs(t,n),ll(n)&&t.queries.elementEnd(n)),null!=e.classesWithoutHost&&function nE(n){return 0!=(16&n.flags)}(e)&&$c(t,e,y(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function iE(n){return 0!=(32&n.flags)}(e)&&$c(t,e,y(),e.stylesWithoutHost,!1),De}function er(n,e,t,i){return pe(n,e,t,i),De(),er}function qr(n,e,t){const i=y(),r=q(),s=n+20,o=r.firstCreatePass?function $S(n,e,t,i,r){const s=e.consts,o=On(s,i),a=Vi(e,n,8,"ng-container",o);return null!==o&&Co(a,o,!0),Ec(e,t,a,On(s,r)),null!==e.queries&&e.queries.elementStart(e,a),a}(s,r,i,e,t):r.data[s];Jt(o,!0);const a=i[s]=i[j].createComment("");return uo(r,i,a,o),We(a,i),$s(o)&&(Dc(r,i,o),xp(r,o,i)),null!=t&&Cc(i,o),qr}function Kr(){let n=Fe();const e=q();return vl()?bl():(n=n.parent,Jt(n,!1)),e.firstCreatePass&&(qs(e,n),ll(n)&&e.queries.elementEnd(n)),Kr}function Uc(){return y()}function So(n){return!!n&&"function"==typeof n.then}const kg=function Ng(n){return!!n&&"function"==typeof n.subscribe};function Ke(n,e,t,i){const r=y(),s=q(),o=Fe();return function Lg(n,e,t,i,r,s,o,a){const l=$s(i),u=n.firstCreatePass&&Wp(n),d=e[8],h=Gp(e);let f=!0;if(3&i.type||a){const _=ft(i,e),b=a?a(_):_,m=h.length,C=a?I=>a(Me(I[i.index])):i.index;if(ve(t)){let I=null;if(!a&&l&&(I=function US(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!==I)(I.__ngLastListenerFn__||I).__ngNextListenerFn__=s,I.__ngLastListenerFn__=s,f=!1;else{s=zc(i,e,d,s,!1);const U=t.listen(b,r,s);h.push(s,U),u&&u.push(r,C,m,m+1)}}else s=zc(i,e,d,s,!0),b.addEventListener(r,s,o),h.push(s),u&&u.push(r,C,m,o)}else s=zc(i,e,d,s,!1);const p=i.outputs;let g;if(f&&null!==p&&(g=p[r])){const _=g.length;if(_)for(let b=0;b<_;b+=2){const ue=e[g[b]][g[b+1]].subscribe(s),me=h.length;h.push(s,ue),u&&u.push(r,i.index,me,-(me+1))}}}(s,r,r[j],o,n,e,!!t,i),Ke}function Vg(n,e,t,i){try{return!1!==t(i)}catch(r){return Kp(n,r),!1}}function zc(n,e,t,i,r){return function s(o){if(o===Function)return i;const a=2&n.flags?pt(n.index,e):e;0==(32&e[2])&&Sc(a);let l=Vg(e,0,i,o),c=s.__ngNextListenerFn__;for(;c;)l=Vg(e,0,c,o)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(o.preventDefault(),o.returnValue=!1),l}}function Ft(n=1){return function GC(n){return(L.lFrame.contextLView=function WC(n,e){for(;n>0;)e=e[15],n--;return e}(n,L.lFrame.contextLView))[8]}(n)}function zS(n,e){let t=null;const i=function Xw(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?mp(n,s,!0):tM(i,s))return r}else t=r}return t}function bn(n,e=0,t){const i=y(),r=q(),s=Vi(r,20+n,16,null,t||null);null===s.projection&&(s.projection=e),bl(),64!=(64&s.flags)&&function rw(n,e,t){Qf(e[j],0,e,t,$f(n,t,e),Wf(t.parent||e[6],t,e))}(r,i,s)}function Yg(n,e,t,i,r){const s=n[t+1],o=null===e;let a=i?Ut(s):yn(s),l=!1;for(;0!==a&&(!1===l||o);){const u=n[a+1];qS(n[a],e)&&(l=!0,n[a+1]=i?dc(u):cc(u)),a=i?Ut(u):yn(u)}l&&(n[t+1]=i?cc(s):dc(s))}function qS(n,e){return null===n||null==e||(Array.isArray(n)?n[1]:n)===e||!(!Array.isArray(n)||"string"!=typeof e)&&Ni(n,e)>=0}function Dn(n,e){return function Gt(n,e,t,i){const r=y(),s=q(),o=function _n(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[Xe()],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 n0(n,e,t,i){const r=function Cl(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=Yr(t=Wc(null,n,e,t,i),e.attrs,i),s=null);else{const o=e.directiveStylingLast;if(-1===o||n[o]!==r)if(t=Wc(r,n,e,t,i),null===s){let l=function r0(n,e,t){const i=t?e.classBindings:e.styleBindings;if(0!==yn(i))return n[Ut(i)]}(n,e,i);void 0!==l&&Array.isArray(l)&&(l=Wc(null,n,e,l[1],i),l=Yr(l,e.attrs,i),function s0(n,e,t,i){n[Ut(t?e.classBindings:e.styleBindings)]=i}(n,e,i,l))}else s=function o0(n,e,t){let i;const r=e.directiveEnd;for(let s=1+e.directiveStylingLast;s<r;s++)i=Yr(i,n[s].hostAttrs,t);return Yr(i,e.attrs,t)}(n,e,i)}return void 0!==s&&(i?e.residualClasses=s:e.residualStyles=s),t}(r,s,e,i),function GS(n,e,t,i,r,s){let o=s?e.classBindings:e.styleBindings,a=Ut(o),l=yn(o);n[i]=t;let u,c=!1;if(Array.isArray(t)){const d=t;u=d[1],(null===u||Ni(d,u)>0)&&(c=!0)}else u=t;if(r)if(0!==l){const h=Ut(n[a+1]);n[i+1]=_o(h,a),0!==h&&(n[h+1]=uc(n[h+1],i)),n[a+1]=function sM(n,e){return 131071&n|e<<17}(n[a+1],i)}else n[i+1]=_o(a,0),0!==a&&(n[a+1]=uc(n[a+1],i)),a=i;else n[i+1]=_o(l,0),0===a?a=i:n[l+1]=uc(n[l+1],i),l=i;c&&(n[i+1]=cc(n[i+1])),Yg(n,u,i,!0),Yg(n,u,i,!1),function WS(n,e,t,i,r){const s=r?n.residualClasses:n.residualStyles;null!=s&&"string"==typeof e&&Ni(s,e)>=0&&(t[i+1]=dc(t[i+1]))}(e,u,n,i,s),o=_o(a,l),s?e.classBindings=o:e.styleBindings=o}(r,s,e,t,o,i)}}(s,n,o,i),e!==V&&qe(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];Ao(function Dp(n){return 1==(1&n)}(c)?am(l,e,t,r,yn(c),o):void 0)||(Ao(s)||function bp(n){return 2==(2&n)}(c)&&(s=am(l,null,t,r,a,o)),function ow(n,e,t,i,r){const s=ve(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:mt.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|=mt.Important),s?n.setStyle(t,i,r,o):t.style.setProperty(i,r,a?"important":"")}}}(i,o,Us(Xe(),t),r,s))}(s,s.data[Xe()],r,r[j],n,r[o+1]=function c0(n,e){return null==n||("string"==typeof e?n+=e:"object"==typeof n&&(n=Q(function kn(n){return n instanceof class np{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),Dn}function Wc(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=Yr(i,s.hostAttrs,r),s!==n);)a++;return null!==n&&(t.directiveStylingLast=a),i}function Yr(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]),gt(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?ne:void 0);let f=d?Rl(h,i):u===i?h:void 0;if(c&&!Ao(f)&&(f=Rl(l,i)),Ao(f)&&(a=f,o))return a;const p=n[r+1];r=o?Ut(p):yn(p)}if(null!==e){let l=s?e.residualClasses:e.residualStyles;null!=l&&(a=Rl(l,i))}return a}function Ao(n){return void 0!==n}function Jn(n,e=""){const t=y(),i=q(),r=n+20,s=i.firstCreatePass?Vi(i,r,1,e,null):i.data[r],o=t[r]=function Wl(n,e){return ve(n)?n.createText(e):n.createTextNode(e)}(t[j],e);uo(i,t,o,s),Jt(s,!1)}function nr(n){return To("",n,""),nr}function To(n,e,t){const i=y(),r=function Gi(n,e,t,i){return qe(n,Si(),t)?e+P(t)+i:V}(i,n,e,t);return r!==V&&vn(i,Xe(),r),To}function qc(n,e,t){const i=y();return qe(i,Si(),e)&&_t(q(),he(),i,n,e,i[j],t,!0),qc}const Io="en-US";let Im=Io;function Zc(n,e,t,i,r){if(n=H(n),Array.isArray(n))for(let s=0;s<n.length;s++)Zc(n[s],e,t,i,r);else{const s=q(),o=y();let a=$i(n)?n:H(n.provide),l=eg(n);const c=Fe(),u=1048575&c.providerIndexes,d=c.directiveStart,h=c.providerIndexes>>20;if($i(n)||!n.multi){const f=new wr(l,r,v),p=Xc(a,e,r?u:u+h,d);-1===p?(eo(Sr(c,o),s,a),Qc(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=Xc(a,e,u+h,d),p=Xc(a,e,u,u+h),g=f>=0&&t[f],_=p>=0&&t[p];if(r&&!_||!r&&!g){eo(Sr(c,o),s,a);const b=function TA(n,e,t,i,r){const s=new wr(n,t,v);return s.multi=[],s.index=e,s.componentProviders=0,Jm(s,r,i&&!t),s}(r?AA:SA,t.length,r,i,l);!r&&_&&(t[p].providerFactory=b),Qc(s,n,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),t.push(b),o.push(b)}else Qc(s,n,f>-1?f:p,Jm(t[r?p:f],l,!r&&i));!r&&i&&_&&t[p].componentProviders++}}}function Qc(n,e,t,i){const r=$i(e),s=function ZM(n){return!!n.useClass}(e);if(r||s){const l=(s?H(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 Xc(n,e,t,i){for(let r=t;r<i;r++)if(e[r]===n)return r;return-1}function SA(n,e,t,i){return Jc(this.multi,[])}function AA(n,e,t,i){const r=this.multi;let s;if(this.providerFactory){const o=this.providerFactory.componentProviders,a=Ar(t,t[1],this.providerFactory.index,i);s=a.slice(0,o),Jc(r,s);for(let l=o;l<a.length;l++)s.push(a[l])}else s=[],Jc(r,s);return s}function Jc(n,e){for(let t=0;t<n.length;t++)e.push((0,n[t])());return e}function ee(n,e=[]){return t=>{t.providersResolver=(i,r)=>function MA(n,e,t){const i=q();if(i.firstCreatePass){const r=Ht(n);Zc(t,i.data,i.blueprint,r,!0),Zc(e,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,e)}}class e_{}class xA{resolveComponentFactory(e){throw function FA(n){const e=Error(`No component factory found for ${Q(n)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=n,e}(e)}}let ti=(()=>{class n{}return n.NULL=new xA,n})();function OA(){return sr(Fe(),y())}function sr(n,e){return new Ve(ft(n,e))}let Ve=(()=>{class n{constructor(t){this.nativeElement=t}}return n.__NG_ELEMENT_ID__=OA,n})();function RA(n){return n instanceof Ve?n.nativeElement:n}class es{}let ni=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function kA(){const n=y(),t=pt(Fe().index,n);return function NA(n){return n[j]}(Qt(t)?t:n)}(),n})(),PA=(()=>{class n{}return n.\u0275prov=x({token:n,providedIn:"root",factory:()=>null}),n})();class ii{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const LA=new ii("13.4.0"),eu={};function No(n,e,t,i,r=!1){for(;null!==t;){const s=e[t.index];if(null!==s&&i.push(Me(s)),jt(s))for(let a=10;a<s.length;a++){const l=s[a],c=l[1].firstChild;null!==c&&No(l[1],l,c,i)}const o=t.type;if(8&o)No(n,e,t.child,i);else if(32&o){const a=Ul(t,e);let l;for(;l=a();)i.push(l)}else if(16&o){const a=Zf(e,t);if(Array.isArray(a))i.push(...a);else{const l=Pr(e[16]);No(l[1],l,a,i,!0)}}t=r?t.projectionNext:t.next}return i}class ts{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 No(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(jt(e)){const t=e[8],i=t?t.indexOf(this):-1;i>-1&&(Kl(e,i),io(t,i))}this._attachedToViewContainer=!1}Hf(this._lView[1],this._lView)}onDestroy(e){kp(this._lView[1],this._lView,null,e)}markForCheck(){Sc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function Tc(n,e,t){const i=e[10];i.begin&&i.begin();try{ji(n,e,n.template,t)}catch(r){throw Kp(e,r),r}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ZE(n,e){Lr(n,e,e[j],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new M(902,"");this._appRef=e}}class VA extends ts{constructor(e){super(e),this._view=e}detectChanges(){zp(this._view)}checkNoChanges(){}get context(){return null}}class n_ extends ti{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Ue(e);return new tu(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 tu extends e_{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=function iM(n){return n.map(nM).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 jA(n,e){return{get:(t,i,r)=>{const s=n.get(t,eu,r);return s!==eu||i===eu?s:e.get(t,i,r)}}}(e,r.injector):e,o=s.get(es,$h),a=s.get(PA,null),l=o.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",u=i?function Np(n,e,t){if(ve(n))return n.selectRootElement(e,t===Vt.ShadowDom);let i="string"==typeof e?n.querySelector(e):e;return i.textContent="",i}(l,i,this.componentDef.encapsulation):ql(o.createRenderer(null,this.componentDef),c,function BA(n){const e=n.toLowerCase();return"svg"===e?"svg":"math"===e?"math":null}(c)),d=this.componentDef.onPush?576:528,h=function hg(n,e){return{components:[],scheduler:n||zw,clean:HM,playerHandler:e||null,flags:0}}(),f=bo(0,null,null,1,0,null,null,null,null,null),p=$r(null,f,h,d,null,null,o,l,a,s);let g,_;Gs(p);try{const b=function ug(n,e,t,i,r,s){const o=t[1];t[20]=n;const l=Vi(o,20,2,"#host",null),c=l.mergedAttrs=e.hostAttrs;null!==c&&(Co(l,c,!0),null!==n&&(Zs(r,n,c),null!==l.classes&&ec(r,n,l.classes),null!==l.styles&&Xf(r,n,l.styles)));const u=i.createRenderer(n,e),d=$r(t,Op(e),null,e.onPush?64:16,t[20],l,i,u,s||null,null);return o.firstCreatePass&&(eo(Sr(l,t),o,e.type),jp(o,l),Hp(l,t.length,1)),Do(t,d),t[20]=d}(u,this.componentDef,p,o,l);if(u)if(i)Zs(l,u,["ng-version",LA.full]);else{const{attrs:m,classes:C}=function rM(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(!$t(r))break;r=s}i++}return{attrs:e,classes:t}}(this.componentDef.selectors[0]);m&&Zs(l,u,m),C&&C.length>0&&ec(l,u,C.join(" "))}if(_=gl(f,20),void 0!==t){const m=_.projection=[];for(let C=0;C<this.ngContentSelectors.length;C++){const I=t[C];m.push(null!=I?Array.from(I):null)}}g=function dg(n,e,t,i,r){const s=t[1],o=function MM(n,e,t){const i=Fe();n.firstCreatePass&&(t.providersResolver&&t.providersResolver(t),$p(n,i,e,Bi(n,e,1,null),t));const r=Ar(e,n,i.directiveStart,i);We(r,e);const s=ft(i,e);return s&&We(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=Fe();e.contentQueries(1,o,l.directiveStart)}const a=Fe();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Rn(a.index),Vp(t[1],a,0,a.directiveStart,a.directiveEnd,e),Bp(e,o)),o}(b,this.componentDef,p,h,[aS]),Ur(f,p,null)}finally{Ws()}return new $A(this.componentType,g,sr(_,p),p,_)}}class $A extends class IA{}{constructor(e,t,i,r,s){super(),this.location=i,this._rootLView=r,this._tNode=s,this.instance=t,this.hostView=this.changeDetectorRef=new VA(r),this.componentType=e}get injector(){return new Ii(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}class or{}const ar=new Map;class o_ extends or{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new n_(this);const i=Mt(e);this._bootstrapComponents=nn(i.bootstrap),this._r3Injector=Jp(e,t,[{provide:or,useValue:this},{provide:ti,useValue:this.componentFactoryResolver}],Q(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=st.THROW_IF_NOT_FOUND,i=B.Default){return e===st||e===or||e===Fc?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 nu extends class zA{}{constructor(e){super(),this.moduleType=e,null!==Mt(e)&&function GA(n){const e=new Set;!function t(i){const r=Mt(i,!0),s=r.id;null!==s&&(function r_(n,e,t){if(e&&e!==t)throw new Error(`Duplicate module registered for ${n} - ${Q(e)} vs ${Q(e.name)}`)}(s,ar.get(s),i),ar.set(s,i));const o=nn(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 iu(n){return e=>{setTimeout(n,void 0,e)}}const Re=class cT extends ke{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=iu(l),a&&(a=iu(a)),c&&(c=iu(c)));const u=super.subscribe({next:a,error:l,complete:c});return e instanceof ae&&e.add(u),u}};function uT(){return this._results[Ui()]()}class ru{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=Ui(),i=ru.prototype;i[t]||(i[t]=uT)}get changes(){return this._changes||(this._changes=new Re)}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=Tt(e);(this._changesDetected=!function hE(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 Cn=(()=>{class n{}return n.__NG_ELEMENT_ID__=fT,n})();const dT=Cn,hT=class extends dT{constructor(e,t,i){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=i}createEmbeddedView(e){const t=this._declarationTContainer.tViews,i=$r(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)),Ur(t,i,e),new ts(i)}};function fT(){return ko(Fe(),y())}function ko(n,e){return 4&n.type?new hT(e,n,sr(n,e)):null}let ln=(()=>{class n{}return n.__NG_ELEMENT_ID__=pT,n})();function pT(){return p_(Fe(),y())}const gT=ln,h_=class extends gT{constructor(e,t,i){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=i}get element(){return sr(this._hostTNode,this._hostLView)}get injector(){return new Ii(this._hostTNode,this._hostLView)}get parentInjector(){const e=Js(this._hostTNode,this._hostLView);if(af(e)){const t=Ti(e,this._hostLView),i=Ai(e);return new Ii(t[1].data[i+8],t)}return new Ii(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=f_(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 Ir(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 tu(Ue(e)),c=i||this.parentInjector;if(!s&&null==l.ngModule){const h=(o?c:this.parentInjector).get(or,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 NC(n){return jt(n[3])}(i)){const u=this.indexOf(e);if(-1!==u)this.detach(u);else{const d=i[3],h=new h_(d,d[6],d[3]);h.detach(h.indexOf(e))}}const s=this._adjustIndex(t),o=this._lContainer;!function XE(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],_f(t,10+i,e)):(t.push(e),e[4]=null),e[3]=t;const o=e[17];null!==o&&t!==o&&function JE(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=Ql(s,o),l=i[j],c=co(l,o[7]);return null!==c&&function YE(n,e,t,i,r,s){i[0]=r,i[6]=e,Lr(n,i,t,1,r,s)}(r,o[6],l,i,c,a),e.attachToViewContainerRef(),_f(su(o),s,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=f_(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),i=Kl(this._lContainer,t);i&&(io(su(this._lContainer),t),Hf(i[1],i))}detach(e){const t=this._adjustIndex(e,-1),i=Kl(this._lContainer,t);return i&&null!=io(su(this._lContainer),t)?new ts(i):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}};function f_(n){return n[8]}function su(n){return n[8]||(n[8]=[])}function p_(n,e){let t;const i=e[n.index];if(jt(i))t=i;else{let r;if(8&n.type)r=Me(i);else{const s=e[j];r=s.createComment("");const o=ft(n,e);Zn(s,co(s,o),r,function iw(n,e){return ve(n)?n.nextSibling(e):e.nextSibling}(s,o),!1)}e[n.index]=t=Up(i,e,r,n),Do(e,t)}return new h_(t,n,e)}class ou{constructor(e){this.queryList=e,this.matches=null}clone(){return new ou(this.queryList)}setDirty(){this.queryList.setDirty()}}class au{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 au(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!==v_(e,t).matches&&this.queries[t].setDirty()}}class g_{constructor(e,t,i=null){this.predicate=e,this.flags=t,this.read=i}}class lu{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 lu(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 cu{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 cu(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,yT(t,s)),this.matchTNodeWithReadOption(e,t,to(t,e,s,!1,!1))}else i===Cn?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,to(t,e,i,!1,!1))}matchTNodeWithReadOption(e,t,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===Ve||r===ln||r===Cn&&4&t.type)this.addMatch(t.index,-2);else{const s=to(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 yT(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 bT(n,e,t,i){return-1===t?function vT(n,e){return 11&n.type?sr(n,e):4&n.type?ko(n,e):null}(e,n):-2===t?function DT(n,e,t){return t===Ve?sr(e,n):t===Cn?ko(e,n):t===ln?p_(e,n):void 0}(n,e,i):Ar(n,n[1],t,e)}function m_(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:bT(e,s[c],o[l+1],t.metadata.read))}r.matches=a}return r.matches}function uu(n,e,t,i){const r=n.queries.getByIndex(t),s=r.matches;if(null!==s){const o=m_(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]&&uu(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];uu(f[1],f,c,i)}}}}}return i}function at(n){const e=y(),t=q(),i=Zh();El(i+1);const r=v_(t,i);if(n.dirty&&Uh(e)===(2==(2&r.metadata.flags))){if(null===r.matches)n.reset([]);else{const s=r.crossesNgTemplate?uu(t,e,i,[]):m_(t,e,r,i);n.reset(s,RA),n.notifyOnChanges()}return!0}return!1}function rs(n,e,t){const i=q();i.firstCreatePass&&(y_(i,new g_(n,e,t),-1),2==(2&e)&&(i.staticViewQueries=!0)),__(i,y(),e)}function cn(n,e,t,i){const r=q();if(r.firstCreatePass){const s=Fe();y_(r,new g_(e,t,i),s.index),function ET(n,e){const t=n.contentQueries||(n.contentQueries=[]);e!==(t.length?t[t.length-1]:-1)&&t.push(n.queries.length-1,e)}(r,n),2==(2&t)&&(r.staticContentQueries=!0)}__(r,y(),t)}function lt(){return function CT(n,e){return n[19].queries[e].queryList}(y(),Zh())}function __(n,e,t){const i=new ru(4==(4&t));kp(n,e,i,i.destroy),null===e[19]&&(e[19]=new au),e[19].queries.push(new ou(i))}function y_(n,e,t){null===n.queries&&(n.queries=new lu),n.queries.track(new cu(e,t))}function v_(n,e){return n.queries.getByIndex(e)}function Vo(...n){}const P_=new T("Application Initializer");let mu=(()=>{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(So(s))t.push(s);else if(kg(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)(D(P_,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const os=new T("AppId",{providedIn:"root",factory:function L_(){return`${_u()}${_u()}${_u()}`}});function _u(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const V_=new T("Platform Initializer"),yu=new T("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),HT=new T("appBootstrapListener"),En=new T("LocaleId",{providedIn:"root",factory:()=>Pl(En,B.Optional|B.SkipSelf)||function $T(){return"undefined"!=typeof $localize&&$localize.locale||Io}()}),WT=(()=>Promise.resolve(0))();function vu(n){"undefined"==typeof Zone?WT.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class le{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Re(!1),this.onMicrotaskEmpty=new Re(!1),this.onStable=new Re(!1),this.onError=new Re(!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 qT(){let n=J.requestAnimationFrame,e=J.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 ZT(n){const e=()=>{!function YT(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(J,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Du(n),n.isCheckStableRunning=!0,bu(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Du(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,s,o,a)=>{try{return B_(n),t.invokeTask(r,s,o,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||n.shouldCoalesceRunChangeDetection)&&e(),j_(n)}},onInvoke:(t,i,r,s,o,a,l)=>{try{return B_(n),t.invoke(r,s,o,a,l)}finally{n.shouldCoalesceRunChangeDetection&&e(),j_(n)}},onHasTask:(t,i,r,s)=>{t.hasTask(r,s),i===r&&("microTask"==s.change?(n._hasPendingMicrotasks=s.microTask,Du(n),bu(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(!le.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(le.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,KT,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 KT={};function bu(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 Du(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function B_(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function j_(n){n._nesting--,bu(n)}class QT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Re,this.onMicrotaskEmpty=new Re,this.onStable=new Re,this.onError=new Re}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 Cu=(()=>{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:()=>{le.assertNotInAngularZone(),vu(()=>{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())vu(()=>{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)(D(le))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),XT=(()=>{class n{constructor(){this._applications=new Map,Eu.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 Eu.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 JT{addToWindow(e){}findTestabilityInTree(e,t,i){return null}}let Eu=new JT,ri=null;const H_=new T("AllowMultipleToken"),$_=new T("PlatformOnDestroy");function U_(n,e,t=[]){const i=`Platform: ${e}`,r=new T(i);return(s=[])=>{let o=wu();if(!o||o.injector.get(H_,!1)){const a=[...t,...s,{provide:r,useValue:!0}];n?n(a):function iI(n){if(ri&&!ri.get(H_,!1))throw new M(400,"");ri=n;const e=n.get(z_),t=n.get(V_,null);t&&t.forEach(i=>i())}(function sI(n=[],e){return st.create({name:e,providers:[{provide:xc,useValue:"platform"},{provide:$_,useValue:()=>ri=null},...n]})}(a,i))}return function rI(n){const e=wu();if(!e)throw new M(401,"");return e}()}}function wu(){var n;return null!==(n=null==ri?void 0:ri.get(z_))&&void 0!==n?n:null}let z_=(()=>{class n{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const a=function oI(n,e){let t;return t="noop"===n?new QT:("zone.js"===n?void 0:n)||new le({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:le,useValue:a}];return a.run(()=>{const c=st.create({providers:l,parent:this.injector,name:t.moduleType.name}),u=t.create(c),d=u.injector.get(Hr,null);if(!d)throw new M(402,"");return a.runOutsideAngular(()=>{const h=a.onError.subscribe({next:f=>{d.handleError(f)}});u.onDestroy(()=>{Mu(this._modules,u),h.unsubscribe()})}),function aI(n,e,t){try{const i=t();return So(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(mu);return h.runInitializers(),h.donePromise.then(()=>(function N0(n){dt(n,"Expected localeId to be defined"),"string"==typeof n&&(Im=n.toLowerCase().replace(/_/g,"-"))}(u.injector.get(En,Io)||Io),this._moduleDoBootstrap(u),u))})})}bootstrapModule(t,i=[]){const r=G_({},i);return function tI(n,e,t){const i=new nu(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 M(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 M(404,"");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get($_,null);null==t||t(),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(t){return new(t||n)(D(st))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function G_(n,e){return Array.isArray(e)?e.reduce(G_,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 de(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),a=new de(l=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{le.assertNotInAngularZone(),vu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{le.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{c.unsubscribe(),u.unsubscribe()}});this.isStable=Rs(o,a.pipe(function tC(){return n=>Sh()(function XD(n,e){return function(i){let r;if(r="function"==typeof n?n:function(){return n},"function"==typeof e)return i.lift(new JD(r,e));const s=Object.create(i,YD);return s.source=i,s.subjectFactory=r,s}}(eC)(n))}()))}bootstrap(t,i){if(!this._initStatus.done)throw new M(405,"");let r;r=t instanceof e_?t:this._injector.get(ti).resolveComponentFactory(t),this.componentTypes.push(r.componentType);const s=function nI(n){return n.isBoundToModule}(r)?void 0:this._injector.get(or),a=r.create(st.NULL,[],i||r.selector,s),l=a.location.nativeElement,c=a.injector.get(Cu,null),u=c&&a.injector.get(XT);return c&&u&&u.registerApplication(l,c),a.onDestroy(()=>{this.detachView(a.hostView),Mu(this.components,a),u&&u.unregisterApplication(l)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new M(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;Mu(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(HT,[]).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)(D(le),D(st),D(Hr),D(mu))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Mu(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}let q_=!0,jo=(()=>{class n{}return n.__NG_ELEMENT_ID__=uI,n})();function uI(n){return function dI(n,e,t){if(Hs(n)&&!t){const i=pt(n.index,e);return new ts(i,i)}return 47&n.type?new ts(e[16],e):null}(Fe(),y(),16==(16&n))}const wI=U_(null,"core",[]);let MI=(()=>{class n{constructor(t){}}return n.\u0275fac=function(t){return new(t||n)(D(Bo))},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({}),n})(),zo=null;function un(){return zo}const se=new T("DocumentToken");let ju=(()=>{class n{constructor(t,i){this._viewContainer=t,this._context=new EF,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){vy("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){vy("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,i){return!0}}return n.\u0275fac=function(t){return new(t||n)(v(ln),v(Cn))},n.\u0275dir=O({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),n})();class EF{constructor(){this.$implicit=null,this.ngIf=null}}function vy(n,e){if(e&&!e.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${Q(e)}'.`)}const by="browser";class Uu{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let na=(()=>{class n{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const i=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let i=0;i<this._defaultViews.length;i++)this._defaultViews[i].enforceState(t)}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=O({type:n,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),n})(),My=(()=>{class n{constructor(t,i,r){this.ngSwitch=r,r._addCase(),this._view=new Uu(t,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(t){return new(t||n)(v(ln),v(Cn),v(na,9))},n.\u0275dir=O({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),n})(),Ty=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({}),n})();class Wu extends class Ax extends class TI{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function AI(n){zo||(zo=n)}(new Wu)}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 Tx(){return hs=hs||document.querySelector("base"),hs?hs.getAttribute("href"):null}();return null==t?null:function Ix(n){ia=ia||document.createElement("a"),ia.setAttribute("href",n);const e=ia.pathname;return"/"===e.charAt(0)?e:`/${e}`}(t)}resetBaseElement(){hs=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return function yF(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 ia,hs=null;const Fy=new T("TRANSITION_ID"),xx=[{provide:P_,useFactory:function Fx(n,e,t){return()=>{t.get(mu).donePromise.then(()=>{const i=un(),r=e.querySelectorAll(`style[ng-transition="${n}"]`);for(let s=0;s<r.length;s++)i.remove(r[s])})}},deps:[Fy,se,st],multi:!0}];class qu{static init(){!function eI(n){Eu=n}(new qu)}addToWindow(e){J.getAngularTestability=(i,r=!0)=>{const s=e.findTestabilityInTree(i,r);if(null==s)throw new Error("Could not find testability for element.");return s},J.getAllAngularTestabilities=()=>e.getAllTestabilities(),J.getAllAngularRootElements=()=>e.getAllRootElements(),J.frameworkStabilizers||(J.frameworkStabilizers=[]),J.frameworkStabilizers.push(i=>{const r=J.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?un().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}let Ox=(()=>{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 ra=new T("EventManagerPlugins");let sa=(()=>{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)(D(ra),D(le))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class xy{constructor(e){this._doc=e}addGlobalEventListener(e,t,i){const r=un().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,i)}}let Oy=(()=>{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})(),fs=(()=>{class n extends Oy{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(Ry),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(t,r,i)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(Ry))}}return n.\u0275fac=function(t){return new(t||n)(D(se))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();function Ry(n){un().remove(n)}const Ku={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/"},Yu=/%COMP%/g;function oa(n,e,t){for(let i=0;i<e.length;i++){let r=e[i];Array.isArray(r)?oa(n,r,t):(r=r.replace(Yu,n),t.push(r))}return t}function Py(n){return e=>{if("__ngUnwrap__"===e)return n;!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}let aa=(()=>{class n{constructor(t,i,r){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Zu(t)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;switch(i.encapsulation){case Vt.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new Vx(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(t),r}case 1:case Vt.ShadowDom:return new Bx(this.eventManager,this.sharedStylesHost,t,i);default:if(!this.rendererByCompId.has(i.id)){const r=oa(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)(D(sa),D(fs),D(os))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class Zu{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,t){return t?document.createElementNS(Ku[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=Ku[r];s?e.setAttributeNS(s,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){const r=Ku[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&(mt.DashCase|mt.Important)?e.style.setProperty(t,i,r&mt.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){i&mt.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,Py(i)):this.eventManager.addEventListener(e,t,Py(i))}}class Vx extends Zu{constructor(e,t,i,r){super(e),this.component=i;const s=oa(r+"-"+i.id,i.styles,[]);t.addStyles(s),this.contentAttr=function kx(n){return"_ngcontent-%COMP%".replace(Yu,n)}(r+"-"+i.id),this.hostAttr=function Px(n){return"_nghost-%COMP%".replace(Yu,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 Bx extends Zu{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=oa(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 jx=(()=>{class n extends xy{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)(D(se))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const Vy=["alt","control","meta","shift"],$x={"\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"},By={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"},Ux={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let zx=(()=>{class n extends xy{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(()=>un().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(Vy.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 Gx(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&&By.hasOwnProperty(e)&&(e=By[e]))}return $x[e]||e}(t);return r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),Vy.forEach(s=>{s!=r&&Ux[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)(D(se))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const Yx=U_(wI,"browser",[{provide:yu,useValue:by},{provide:V_,useValue:function Wx(){Wu.makeCurrent(),qu.init()},multi:!0},{provide:se,useFactory:function Kx(){return function FC(n){fl=n}(document),document},deps:[]}]),Zx=[{provide:xc,useValue:"root"},{provide:Hr,useFactory:function qx(){return new Hr},deps:[]},{provide:ra,useClass:jx,multi:!0,deps:[se,le,yu]},{provide:ra,useClass:zx,multi:!0,deps:[se]},{provide:aa,useClass:aa,deps:[sa,fs,os]},{provide:es,useExisting:aa},{provide:Oy,useExisting:fs},{provide:fs,useClass:fs,deps:[se]},{provide:Cu,useClass:Cu,deps:[le]},{provide:sa,useClass:sa,deps:[ra,le]},{provide:class Mx{},useClass:Ox,deps:[]}];let jy=(()=>{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:os,useValue:t.appId},{provide:Fy,useExisting:os},xx]}}}return n.\u0275fac=function(t){return new(t||n)(D(n,12))},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({providers:Zx,imports:[Ty,MI]}),n})();function ps(n){return null!=n&&"false"!=`${n}`}function la(n){return n instanceof Ve?n.nativeElement:n}function Xu(...n){let e=n[n.length-1];return yr(e)?(n.pop(),Qa(n,e)):Mh(n)}function Ju(n,e,t,i){return ws(t)&&(i=t,t=void 0),i?Ju(n,e,t).pipe(vi(r=>mr(r)?i(...r):i(r))):new de(r=>{zy(n,e,function s(o){r.next(arguments.length>1?Array.prototype.slice.call(arguments):o)},r,t)})}function zy(n,e,t,i,r){let s;if(function dO(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const o=n;n.addEventListener(e,t,r),s=()=>o.removeEventListener(e,t,r)}else if(function uO(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const o=n;n.on(e,t),s=()=>o.off(e,t)}else if(function cO(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const o=n;n.addListener(e,t),s=()=>o.removeListener(e,t)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let o=0,a=n.length;o<a;o++)zy(n[o],e,t,i,r)}i.add(s)}"undefined"!=typeof window&&window;class hO extends ae{constructor(e,t){super()}schedule(e,t=0){return this}}class ca extends hO{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 Gy=(()=>{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 Yt extends Gy{constructor(e,t=Gy.now){super(e,()=>Yt.delegate&&Yt.delegate!==this?Yt.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,i){return Yt.delegate&&Yt.delegate!==this?Yt.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 pO extends Yt{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 fO extends ca{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 mO=1;const _O=Promise.resolve(),ua={};function Wy(n){return n in ua&&(delete ua[n],!0)}const qy={setImmediate(n){const e=mO++;return ua[e]=!0,_O.then(()=>Wy(e)&&n()),e},clearImmediate(n){Wy(n)}},ed=(new class vO extends Yt{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 yO extends ca{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=qy.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&&(qy.clearImmediate(t),e.scheduled=void 0)}}),new Yt(ca));class SO{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new AO(e,this.predicate,this.thisArg))}}class AO extends je{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 td;try{td="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){td=!1}let cr,Mn=(()=>{class n{constructor(t){this._platformId=t,this.isBrowser=this._platformId?function AF(n){return n===by}(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&&!td)&&"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)(D(yu))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),TO=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({}),n})();const Qy=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Xy(){if(cr)return cr;if("object"!=typeof document||!document)return cr=new Set(Qy),cr;let n=document.createElement("input");return cr=new Set(Qy.filter(e=>(n.setAttribute("type",e),n.type===e))),cr}let gs;function da(n){return function IO(){if(null==gs&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>gs=!0}))}finally{gs=gs||!1}return gs}()?n:!!n.capture}function id(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}const kO=new T("cdk-dir-doc",{providedIn:"root",factory:function PO(){return Pl(se)}}),LO=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let tv=(()=>{class n{constructor(t){if(this.value="ltr",this.change=new Re,t){const r=t.documentElement?t.documentElement.dir:null;this.value=function VO(n){const e=(null==n?void 0:n.toLowerCase())||"";return"auto"===e&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?LO.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}((t.body?t.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(t){return new(t||n)(D(kO,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),nv=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({}),n})();const zO=(()=>{function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return n.prototype=Object.create(Error.prototype),n})(),iv=new de(n=>n.complete());function rv(n){return n?function GO(n){return new de(e=>n.schedule(()=>e.complete()))}(n):iv}class WO{constructor(e){if(this.total=e,this.total<0)throw new zO}call(e,t){return t.subscribe(new qO(e,this.total))}}class qO extends je{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,i=++this.count;i<=t&&(this.destination.next(e),i===t&&(this.destination.complete(),this.unsubscribe()))}}function fa(n){return e=>e.lift(new KO(n))}class KO{constructor(e){this.notifier=e}call(e,t){const i=new YO(e),r=Os(this.notifier,new Fs(i));return r&&!i.seenValue?(i.add(r),t.subscribe(i)):i}}class YO extends xs{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}let od=(()=>{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||id()){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),id()?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)(D(se),D(Mn))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const gR=new class pR extends Yt{}(class fR extends ca{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 _R({error:n,subscriber:e}){e.error(n)}class Rt{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 Xu(this.value);case"E":return function mR(n,e){return new de(e?t=>e.schedule(_R,0,{error:n,subscriber:t}):t=>t.error(n))}(this.error);case"C":return rv()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new Rt("N",e):Rt.undefinedValueNotification}static createError(e){return new Rt("E",void 0,e)}static createComplete(){return Rt.completeNotification}}Rt.completeNotification=new Rt("C"),Rt.undefinedValueNotification=new Rt("N",void 0);class pa extends je{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(pa.dispatch,this.delay,new vR(e,this.destination)))}_next(e){this.scheduleMessage(Rt.createNext(e))}_error(e){this.scheduleMessage(Rt.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(Rt.createComplete()),this.unsubscribe()}}class vR{constructor(e,t){this.notification=e,this.destination=t}}class bR extends ke{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 DR(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 yi;if(this.isStopped||this.hasError?o=ae.EMPTY:(this.observers.push(e),o=new mh(this,e)),r&&e.add(e=new pa(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||gR).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 DR{constructor(e,t){this.time=e,this.value=t}}function pv(n,e){return"function"==typeof e?t=>t.pipe(pv((i,r)=>Is(n(i,r)).pipe(vi((s,o)=>e(i,s,r,o))))):t=>t.lift(new CR(n))}class CR{constructor(e){this.project=e}call(e,t){return t.subscribe(new ER(e,this.project))}}class ER extends xs{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 Fs(this),r=this.destination;r.add(i),this.innerSubscription=Os(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 ga={schedule(n,e){const t=setTimeout(n,e);return()=>clearTimeout(t)},scheduleBeforeRender(n){if("undefined"==typeof window)return ga.schedule(n,0);if(void 0===window.requestAnimationFrame)return ga.schedule(n,16);const e=window.requestAnimationFrame(n);return()=>window.cancelAnimationFrame(e)}};let ad;function OR(n,e,t){let i=t;return function MR(n){return!!n&&n.nodeType===Node.ELEMENT_NODE}(n)&&e.some((r,s)=>!("*"===r||!function AR(n,e){if(!ad){const t=Element.prototype;ad=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return n.nodeType===Node.ELEMENT_NODE&&ad.call(n,e)}(n,r)||(i=s,0))),i}class NR{constructor(e,t){this.componentFactory=t.get(ti).resolveComponentFactory(e)}create(e){return new kR(this.componentFactory,e)}}class kR{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new bR(1),this.events=this.eventEmitters.pipe(pv(i=>Rs(...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(le),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=ga.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 TR(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=st.create({providers:[],parent:this.injector}),i=function xR(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=OR(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 SR(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(vi(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=ga.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 Vh(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 PR extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function ma(n,e){return new de(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=Is(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 gv=(()=>{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)(v(ni),v(Ve))},n.\u0275dir=O({type:n}),n})(),ci=(()=>{class n extends gv{}return n.\u0275fac=function(){let e;return function(i){return(e||(e=ze(n)))(i||n)}}(),n.\u0275dir=O({type:n,features:[Y]}),n})();const dn=new T("NgValueAccessor"),jR={provide:dn,useExisting:ie(()=>_a),multi:!0},$R=new T("CompositionEventMode");let _a=(()=>{class n extends gv{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function HR(){const n=un()?un().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)(v(ni),v(Ve),v($R,8))},n.\u0275dir=O({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&&Ke("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:[ee([jR]),Y]}),n})();function Bn(n){return null==n||0===n.length}function _v(n){return null!=n&&"number"==typeof n.length}const Ye=new T("NgValidators"),jn=new T("NgAsyncValidators"),UR=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class zR{static min(e){return function yv(n){return e=>{if(Bn(e.value)||Bn(n))return null;const t=parseFloat(e.value);return!isNaN(t)&&t<n?{min:{min:n,actual:e.value}}:null}}(e)}static max(e){return function vv(n){return e=>{if(Bn(e.value)||Bn(n))return null;const t=parseFloat(e.value);return!isNaN(t)&&t>n?{max:{max:n,actual:e.value}}:null}}(e)}static required(e){return function bv(n){return Bn(n.value)?{required:!0}:null}(e)}static requiredTrue(e){return function Dv(n){return!0===n.value?null:{required:!0}}(e)}static email(e){return function Cv(n){return Bn(n.value)||UR.test(n.value)?null:{email:!0}}(e)}static minLength(e){return function Ev(n){return e=>Bn(e.value)||!_v(e.value)?null:e.value.length<n?{minlength:{requiredLength:n,actualLength:e.value.length}}:null}(e)}static maxLength(e){return function wv(n){return e=>_v(e.value)&&e.value.length>n?{maxlength:{requiredLength:n,actualLength:e.value.length}}:null}(e)}static pattern(e){return function Mv(n){if(!n)return ya;let e,t;return"string"==typeof n?(t="","^"!==n.charAt(0)&&(t+="^"),t+=n,"$"!==n.charAt(n.length-1)&&(t+="$"),e=new RegExp(t)):(t=n.toString(),e=n),i=>{if(Bn(i.value))return null;const r=i.value;return e.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}(e)}static nullValidator(e){return null}static compose(e){return xv(e)}static composeAsync(e){return Ov(e)}}function ya(n){return null}function Sv(n){return null!=n}function Av(n){const e=So(n)?Is(n):n;return kg(e),e}function Tv(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 Iv(n,e){return e.map(t=>t(n))}function Fv(n){return n.map(e=>function GR(n){return!n.validate}(e)?e:t=>e.validate(t))}function xv(n){if(!n)return null;const e=n.filter(Sv);return 0==e.length?null:function(t){return Tv(Iv(t,e))}}function ld(n){return null!=n?xv(Fv(n)):null}function Ov(n){if(!n)return null;const e=n.filter(Sv);return 0==e.length?null:function(t){return function VR(...n){if(1===n.length){const e=n[0];if(mr(e))return ma(e,null);if(Za(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return ma(t.map(i=>e[i]),t)}}if("function"==typeof n[n.length-1]){const e=n.pop();return ma(n=1===n.length&&mr(n[0])?n[0]:n,null).pipe(vi(t=>e(...t)))}return ma(n,null)}(Iv(t,e).map(Av)).pipe(vi(Tv))}}function cd(n){return null!=n?Ov(Fv(n)):null}function Rv(n,e){return null===n?[e]:Array.isArray(n)?[...n,e]:[n,e]}function Nv(n){return n._rawValidators}function kv(n){return n._rawAsyncValidators}function ud(n){return n?Array.isArray(n)?n:[n]:[]}function va(n,e){return Array.isArray(n)?n.includes(e):n===e}function Pv(n,e){const t=ud(e);return ud(n).forEach(r=>{va(t,r)||t.push(r)}),t}function Lv(n,e){return ud(e).filter(t=>!va(n,t))}class Vv{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=ld(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=cd(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}}class Sn extends Vv{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class nt extends Vv{get formDirective(){return null}get path(){return null}}let jv=(()=>{class n extends class Bv{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)(v(Sn,2))},n.\u0275dir=O({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,i){2&t&&Dn("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:[Y]}),n})();function ms(n,e){fd(n,e),e.valueAccessor.writeValue(n.value),function eN(n,e){e.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&$v(n,e)})}(n,e),function nN(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 tN(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&$v(n,e),"submit"!==n.updateOn&&n.markAsTouched()})}(n,e),function JR(n,e){if(e.valueAccessor.setDisabledState){const t=i=>{e.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(t),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}(n,e)}function Ca(n,e,t=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),wa(n,e),n&&(e._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Ea(n,e){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function fd(n,e){const t=Nv(n);null!==e.validator?n.setValidators(Rv(t,e.validator)):"function"==typeof t&&n.setValidators([t]);const i=kv(n);null!==e.asyncValidator?n.setAsyncValidators(Rv(i,e.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();Ea(e._rawValidators,r),Ea(e._rawAsyncValidators,r)}function wa(n,e){let t=!1;if(null!==n){if(null!==e.validator){const r=Nv(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=kv(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 Ea(e._rawValidators,i),Ea(e._rawAsyncValidators,i),t}function $v(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Uv(n,e){fd(n,e)}function Gv(n,e){n._syncPendingControls(),e.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function md(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}const _s="VALID",Ma="INVALID",ur="PENDING",ys="DISABLED";function yd(n){return(Sa(n)?n.validators:n)||null}function Wv(n){return Array.isArray(n)?ld(n):n||null}function vd(n,e){return(Sa(e)?e.asyncValidators:n)||null}function qv(n){return Array.isArray(n)?cd(n):n||null}function Sa(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const Kv=n=>n instanceof Cd,bd=n=>n instanceof Ed;function Yv(n){return Kv(n)?n.value:n.getRawValue()}function Zv(n,e){const t=bd(n),i=n.controls;if(!(t?Object.keys(i):i).length)throw new M(1e3,"");if(!i[e])throw new M(1001,"")}function Qv(n,e){bd(n),n._forEachChild((i,r)=>{if(void 0===e[r])throw new M(1002,"")})}class Dd{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=Wv(this._rawValidators),this._composedAsyncValidatorFn=qv(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===_s}get invalid(){return this.status===Ma}get pending(){return this.status==ur}get disabled(){return this.status===ys}get enabled(){return this.status!==ys}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=Wv(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=qv(e)}addValidators(e){this.setValidators(Pv(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Pv(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Lv(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Lv(e,this._rawAsyncValidators))}hasValidator(e){return va(this._rawValidators,e)}hasAsyncValidator(e){return va(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=ur,!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=ys,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=_s,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===_s||this.status===ur)&&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()?ys:_s}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=ur,this._hasOwnPendingAsyncValidator=!0;const t=Av(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 oN(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=bd(i)?i.controls.hasOwnProperty(r)?i.controls[r]:null:(n=>n instanceof lN)(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 Re,this.statusChanges=new Re}_calculateStatus(){return this._allControlsDisabled()?ys:this.errors?Ma:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ur)?ur:this._anyControlsHaveStatus(Ma)?Ma:_s}_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){Sa(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Cd extends Dd{constructor(e=null,t,i){super(yd(t),vd(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}),Sa(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){md(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){md(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 Ed extends Dd{constructor(e,t,i){super(yd(t),vd(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={}){Qv(this,e),Object.keys(e).forEach(i=>{Zv(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]=Yv(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 lN extends Dd{constructor(e,t,i){super(yd(t),vd(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={}){Qv(this,e),e.forEach((i,r)=>{Zv(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=>Yv(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)}}const cN={provide:nt,useExisting:ie(()=>Aa)},vs=(()=>Promise.resolve(null))();let Aa=(()=>{class n extends nt{constructor(t,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new Re,this.form=new Ed({},ld(t),cd(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){vs.then(()=>{const i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),ms(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){vs.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){vs.then(()=>{const i=this._findContainer(t.path),r=new Ed({});Uv(r,t),i.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){vs.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){vs.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,Gv(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return n.\u0275fac=function(t){return new(t||n)(v(Ye,10),v(jn,10))},n.\u0275dir=O({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,i){1&t&&Ke("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ee([cN]),Y]}),n})(),ib=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({}),n})();const wd=new T("NgModelWithFormControlWarning"),_N={provide:Sn,useExisting:ie(()=>Md)};let Md=(()=>{class n extends Sn{constructor(t,i,r,s){super(),this._ngModelWarningConfig=s,this.update=new Re,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(i),this.valueAccessor=function gd(n,e){if(!e)return null;let t,i,r;return Array.isArray(e),e.forEach(s=>{s.constructor===_a?t=s:function sN(n){return Object.getPrototypeOf(n.constructor)===ci}(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&&Ca(i,this,!1),ms(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}(function pd(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&&Ca(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)(v(Ye,10),v(jn,10),v(dn,10),v(wd,8))},n.\u0275dir=O({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[ee([_N]),Y,Xt]}),n})();const yN={provide:nt,useExisting:ie(()=>Ta)};let Ta=(()=>{class n extends nt{constructor(t,i){super(),this.validators=t,this.asyncValidators=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Re,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(wa(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const i=this.form.get(t.path);return ms(i,t),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){Ca(t.control||null,t,!1),md(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this.submitted=!0,Gv(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const i=t.control,r=this.form.get(t.path);i!==r&&(Ca(i||null,t),Kv(r)&&(ms(r,t),t.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const i=this.form.get(t.path);Uv(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const i=this.form.get(t.path);i&&function iN(n,e){return wa(n,e)}(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){fd(this.form,this),this._oldForm&&wa(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(t){return new(t||n)(v(Ye,10),v(jn,10))},n.\u0275dir=O({type:n,selectors:[["","formGroup",""]],hostBindings:function(t,i){1&t&&Ke("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ee([yN]),Y,Xt]}),n})(),vb=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({imports:[[ib]]}),n})(),LN=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({imports:[vb]}),n})(),VN=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:wd,useValue:t.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({imports:[vb]}),n})();function bb(n,e=ed){return t=>t.lift(new BN(n,e))}class BN{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new jN(e,this.dueTime,this.scheduler))}}class jN extends je{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(HN,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 HN(n){n.debouncedNext()}let Db=(()=>{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})(),$N=(()=>{class n{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,i)=>this._cleanupObserver(i))}observe(t){const i=la(t);return new de(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 ke,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)(D(Db))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),UN=(()=>{class n{constructor(t,i,r){this._contentObserver=t,this._elementRef=i,this._ngZone=r,this.event=new Re,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=ps(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=function aO(n,e=0){return function lO(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):e}(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(bb(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)(v($N),v(Ve),v(le))},n.\u0275dir=O({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),zN=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({providers:[Db]}),n})();const Sb="cdk-high-contrast-black-on-white",Ab="cdk-high-contrast-white-on-black",xd="cdk-high-contrast-active";let rk=(()=>{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(xd),t.remove(Sb),t.remove(Ab),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?(t.add(xd),t.add(Sb)):2===i&&(t.add(xd),t.add(Ab))}}}return n.\u0275fac=function(t){return new(t||n)(D(Mn),D(se))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ok=new T("mat-sanity-checks",{providedIn:"root",factory:function sk(){return!0}});let Od=(()=>{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!id()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}}return n.\u0275fac=function(t){return new(t||n)(D(rk),D(ok,8),D(se))},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({imports:[[nv],nv]}),n})();function ak(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 lk(n){return class extends n{constructor(...e){super(...e),this.stateChanges=new ke,this.errorState=!1}updateErrorState(){const e=this.errorState,s=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);s!==e&&(this.errorState=s,this.stateChanges.next())}}}let Ib=(()=>{class n{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Rb(...n){return function pk(){return wh(1)}()(Xu(...n))}function Nd(...n){const e=n[n.length-1];return yr(e)?(n.pop(),t=>Rb(n,t,e)):t=>Rb(n,t)}class Nb{}const An="*";function mk(n,e){return{type:7,name:n,definitions:e,options:{}}}function _k(n,e=null){return{type:4,styles:e,timings:n}}function kb(n,e=null){return{type:2,steps:n,options:e}}function Ia(n){return{type:6,styles:n,offset:null}}function yk(n,e,t){return{type:0,name:n,styles:e,options:t}}function vk(n,e,t=null){return{type:1,expr:n,animation:e,options:t}}function Pb(n){Promise.resolve(null).then(n)}class Ds{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(){Pb(()=>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 Lb{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?Pb(()=>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 W=!1;function Vb(n){return new M(3e3,W)}function Jk(){return"undefined"!=typeof window&&void 0!==window.document}function Pd(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Hn(n){switch(n.length){case 0:return new Ds;case 1:return n[0];default:return new Lb(n)}}function Bb(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 An:_=s[p];break;default:_=e.normalizeStyleValue(p,g,_,o)}f[g]=_}),h||a.push(f),c=f,l=d}),o.length)throw function $k(n){return new M(3502,W)}();return a}function Ld(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&Vd(t,"start",n)));break;case"done":n.onDone(()=>i(t&&Vd(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&Vd(t,"destroy",n)))}}function Vd(n,e,t){const i=t.totalTime,s=Bd(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 Bd(n,e,t,i,r="",s=0,o){return{element:n,triggerName:e,fromState:t,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function vt(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 jb(n){const e=n.indexOf(":");return[n.substring(1,e),n.substr(e+1)]}let jd=(n,e)=>!1,Hb=(n,e,t)=>[],$b=null;function Hd(n){const e=n.parentNode||n.host;return e===$b?null:e}(Pd()||"undefined"!=typeof Element)&&(Jk()?($b=(()=>document.documentElement)(),jd=(n,e)=>{for(;e;){if(e===n)return!0;e=Hd(e)}return!1}):jd=(n,e)=>n.contains(e),Hb=(n,e,t)=>{if(t)return Array.from(n.querySelectorAll(e));const i=n.querySelector(e);return i?[i]:[]});let di=null,Ub=!1;function zb(n){di||(di=function tP(){return"undefined"!=typeof document?document.body:null}()||{},Ub=!!di.style&&"WebkitAppearance"in di.style);let e=!0;return di.style&&!function eP(n){return"ebkit"==n.substring(1,6)}(n)&&(e=n in di.style,!e&&Ub&&(e="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in di.style)),e}const Gb=jd,Wb=Hb;let qb=(()=>{class n{validateStyleProperty(t){return zb(t)}matchesElement(t,i){return!1}containsElement(t,i){return Gb(t,i)}getParentElement(t){return Hd(t)}query(t,i,r){return Wb(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,s,o,a=[],l){return new Ds(r,s)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),$d=(()=>{class n{}return n.NOOP=new qb,n})();const Ud="ng-enter",xa="ng-leave",Oa="ng-trigger",Ra=".ng-trigger",Yb="ng-animating",zd=".ng-animating";function hi(n){if("number"==typeof n)return n;const e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Gd(parseFloat(e[1]),e[2])}function Gd(n,e){return"s"===e?1e3*n:n}function Na(n,e,t){return n.hasOwnProperty("duration")?n:function rP(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(Vb()),{duration:0,delay:0,easing:""};r=Gd(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(s=Gd(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 bk(){return new M(3100,W)}()),a=!0),s<0&&(e.push(function Dk(){return new M(3101,W)}()),a=!0),a&&e.splice(l,0,Vb())}return{duration:r,delay:s,easing:o}}(n,e,t)}function dr(n,e={}){return Object.keys(n).forEach(t=>{e[t]=n[t]}),e}function $n(n,e,t={}){if(e)for(let i in n)t[i]=n[i];else dr(n,t);return t}function Qb(n,e,t){return t?e+":"+t+";":""}function Xb(n){let e="";for(let t=0;t<n.style.length;t++){const i=n.style.item(t);e+=Qb(0,i,n.style.getPropertyValue(i))}for(const t in n.style)n.style.hasOwnProperty(t)&&!t.startsWith("_")&&(e+=Qb(0,aP(t),n.style[t]));n.setAttribute("style",e)}function hn(n,e,t){n.style&&(Object.keys(e).forEach(i=>{const r=qd(i);t&&!t.hasOwnProperty(i)&&(t[i]=n.style[r]),n.style[r]=e[i]}),Pd()&&Xb(n))}function fi(n,e){n.style&&(Object.keys(e).forEach(t=>{const i=qd(t);n.style[i]=""}),Pd()&&Xb(n))}function Cs(n){return Array.isArray(n)?1==n.length?n[0]:kb(n):n}const Wd=new RegExp("{{\\s*(.+?)\\s*}}","g");function Jb(n){let e=[];if("string"==typeof n){let t;for(;t=Wd.exec(n);)e.push(t[1]);Wd.lastIndex=0}return e}function ka(n,e,t){const i=n.toString(),r=i.replace(Wd,(s,o)=>{let a=e[o];return e.hasOwnProperty(o)||(t.push(function Ek(n){return new M(3003,W)}()),a=""),a.toString()});return r==i?n:r}function Pa(n){const e=[];let t=n.next();for(;!t.done;)e.push(t.value),t=n.next();return e}const oP=/-+([a-z0-9])/g;function qd(n){return n.replace(oP,(...e)=>e[1].toUpperCase())}function aP(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function bt(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 wk(n){return new M(3004,W)}()}}function eD(n,e){return window.getComputedStyle(n)[e]}function fP(n,e){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function pP(n,e,t){if(":"==n[0]){const l=function gP(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 Vk(n){return new M(3016,W)}()),"* => *"}}(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 Lk(n){return new M(3015,W)}()),e;const r=i[1],s=i[2],o=i[3];e.push(tD(r,o));"<"==s[0]&&!("*"==r&&"*"==o)&&e.push(tD(o,r))}(i,t,e)):t.push(n),t}const ja=new Set(["true","1"]),Ha=new Set(["false","0"]);function tD(n,e){const t=ja.has(n)||Ha.has(n),i=ja.has(e)||Ha.has(e);return(r,s)=>{let o="*"==n||n==r,a="*"==e||e==s;return!o&&t&&"boolean"==typeof r&&(o=r?ja.has(n):Ha.has(n)),!a&&i&&"boolean"==typeof s&&(a=s?ja.has(e):Ha.has(e)),o&&a}}const mP=new RegExp("s*:selfs*,?","g");function Kd(n,e,t,i){return new _P(n).build(e,t,i)}class _P{constructor(e){this._driver=e}build(e,t,i){const r=new bP(t);this._resetContextStyleTimingState(r);const s=bt(this,Cs(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 Sk(){return new M(3006,W)}()),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 Ak(){return new M(3007,W)}())}),{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($a(a)){const l=a;Object.keys(l).forEach(c=>{Jb(l[c]).forEach(u=>{o.hasOwnProperty(u)||s.add(u)})})}}),s.size&&(Pa(s.values()),t.errors.push(function Tk(n,e){return new M(3008,W)}()))}return{type:0,name:e.name,style:i,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const i=bt(this,Cs(e.animation),t);return{type:1,matchers:fP(e.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:pi(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(i=>bt(this,i,t)),options:pi(e.options)}}visitGroup(e,t){const i=t.currentTime;let r=0;const s=e.steps.map(o=>{t.currentTime=i;const a=bt(this,o,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:3,steps:s,options:pi(e.options)}}visitAnimate(e,t){const i=function CP(n,e){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return Yd(Na(n,e).duration,0,"");const t=n;if(t.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=Yd(0,0,"");return s.dynamic=!0,s.strValue=t,s}const r=Na(t,e);return Yd(r.duration,r.delay,r.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;let r,s=e.styles?e.styles:Ia({});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=Ia(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==An?i.push(o):t.errors.push(function Ik(n){return new M(3002,W)}()):i.push(o)}):i.push(e.styles);let r=!1,s=null;return i.forEach(o=>{if($a(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 Fk(n,e,t,i,r){return new M(3010,W)}()),u=!1),s=c.startTime),u&&(l[a]={startTime:s,endTime:r}),t.options&&function sP(n,e,t){const i=e.params||{},r=Jb(n);r.length&&r.forEach(s=>{i.hasOwnProperty(s)||t.push(function Ck(n){return new M(3001,W)}())})}(o[a],t.options,t.errors)})})}visitKeyframes(e,t){const i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function xk(){return new M(3011,W)}()),i;let s=0;const o=[];let a=!1,l=!1,c=0;const u=e.steps.map(b=>{const m=this._makeStyleAst(b,t);let C=null!=m.offset?m.offset:function DP(n){if("string"==typeof n)return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if($a(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}});else if($a(n)&&n.hasOwnProperty("offset")){const t=n;e=parseFloat(t.offset),delete t.offset}return e}(m.styles),I=0;return null!=C&&(s++,I=m.offset=C),l=l||I<0||I>1,a=a||I<c,c=I,o.push(I),m});l&&t.errors.push(function Ok(){return new M(3012,W)}()),a&&t.errors.push(function Rk(){return new M(3200,W)}());const d=e.steps.length;let h=0;s>0&&s<d?t.errors.push(function Nk(){return new M(3202,W)}()):0==s&&(h=1/(d-1));const f=d-1,p=t.currentTime,g=t.currentAnimateTimings,_=g.duration;return u.forEach((b,m)=>{const C=h>0?m==f?1:h*m:o[m],I=C*_;t.currentTime=p+g.delay+I,g.duration=I,this._validateStyleAst(b,t),b.offset=C,i.styles.push(b)}),i}visitReference(e,t){return{type:8,animation:bt(this,Cs(e.animation),t),options:pi(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:pi(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:pi(e.options)}}visitQuery(e,t){const i=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[s,o]=function yP(n){const e=!!n.split(/\s*,\s*/).find(t=>":self"==t);return e&&(n=n.replace(mP,"")),n=n.replace(/@\*/g,Ra).replace(/@\w+/g,t=>Ra+"-"+t.substr(1)).replace(/:animating/g,zd),[n,e]}(e.selector);t.currentQuerySelector=i.length?i+" "+s:s,vt(t.collectedStyles,t.currentQuerySelector,{});const a=bt(this,Cs(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:pi(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function kk(){return new M(3013,W)}());const i="full"===e.timings?{duration:0,delay:0,easing:"full"}:Na(e.timings,t.errors,!0);return{type:12,animation:bt(this,Cs(e.animation),t),timings:i,options:null}}}class bP{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 $a(n){return!Array.isArray(n)&&"object"==typeof n}function pi(n){return n?(n=dr(n)).params&&(n.params=function vP(n){return n?dr(n):null}(n.params)):n={},n}function Yd(n,e,t){return{duration:n,delay:e,easing:t}}function Zd(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 Ua{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 MP=new RegExp(":enter","g"),AP=new RegExp(":leave","g");function Qd(n,e,t,i,r,s={},o={},a,l,c=[]){return(new TP).buildKeyframes(n,e,t,i,r,s,o,a,l,c)}class TP{buildKeyframes(e,t,i,r,s,o,a,l,c,u=[]){c=c||new Ua;const d=new Xd(e,t,c,r,s,u,[]);d.options=l,d.currentTimeline.setStyles([o],null,d.errors,l),bt(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()):[Zd(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?hi(i.duration):null,a=null!=i.delay?hi(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),bt(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=za);const o=hi(s.delay);r.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>bt(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?hi(e.options.delay):0;e.steps.forEach(o=>{const a=t.createSubContext(e.options);s&&a.delayNextStep(s),bt(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 Na(t.params?ka(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?hi(r.delay):0;s&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=za);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),bt(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;bt(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=r.currentTime-d+(r.startTime-i.currentTimeline.startTime)}}const za={};class Xd{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=za,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Ga(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=hi(i.duration)),null!=i.delay&&(r.delay=hi(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]=ka(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 Xd(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=za,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 IP(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(MP,"."+this._enterClassName)).replace(AP,"."+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 Pk(n){return new M(3014,W)}()),a}}class Ga{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 Ga(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]||An,this._currentKeyframe[t]=An}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,r){t&&(this._previousKeyframe.easing=t);const s=r&&r.params||{},o=function FP(n,e){const t={};let i;return n.forEach(r=>{"*"===r?(i=i||Object.keys(e),i.forEach(s=>{t[s]=An})):$n(r,!1,t)}),t}(e,this._globalTimelineStyles);Object.keys(o).forEach(a=>{const l=ka(o[a],s,i);this._pendingStyles[a]=l,this._localTimelineStyles.hasOwnProperty(a)||(this._backFill[a]=this._globalTimelineStyles.hasOwnProperty(a)?this._globalTimelineStyles[a]:An),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=$n(a,!0);Object.keys(c).forEach(u=>{const d=c[u];"!"==d?e.add(u):d==An&&t.add(u)}),i||(c.offset=l/this.duration),r.push(c)});const s=e.size?Pa(e.values()):[],o=t.size?Pa(t.values()):[];if(i){const a=r[0],l=dr(a);a.offset=0,l.offset=1,r=[a,l]}return Zd(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}}class IP extends Ga{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=$n(e[0],!1);l.offset=0,s.push(l);const c=$n(e[0],!1);c.offset=rD(a),s.push(c);const u=e.length-1;for(let d=1;d<=u;d++){let h=$n(e[d],!1);h.offset=rD((t+h.offset*i)/o),s.push(h)}i=o,t=0,r="",e=s}return Zd(this.element,e,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function rD(n,e=3){const t=Math.pow(10,e-1);return Math.round(n*t)/t}class Jd{}class xP extends Jd{normalizePropertyName(e,t){return qd(e)}normalizeStyleValue(e,t,i,r){let s="";const o=i.toString().trim();if(OP[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 Mk(n,e){return new M(3005,W)}())}return o+s}}const OP=(()=>function RP(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 sD(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 eh={};class oD{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,r){return function NP(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||eh,p=this.buildStyles(i,a&&a.params||eh,d),g=l&&l.params||eh,_=this.buildStyles(r,g,d),b=new Set,m=new Map,C=new Map,I="void"===r,U={params:Object.assign(Object.assign({},h),g)},ue=u?[]:Qd(e,t,this.ast.animation,s,o,p,_,U,c,d);let me=0;if(ue.forEach(Ct=>{me=Math.max(Ct.duration+Ct.delay,me)}),d.length)return sD(t,this._triggerName,i,r,I,p,_,[],[],m,C,me,d);ue.forEach(Ct=>{const Et=Ct.element,fr=vt(m,Et,{});Ct.preStyleProps.forEach(Zt=>fr[Zt]=!0);const Tn=vt(C,Et,{});Ct.postStyleProps.forEach(Zt=>Tn[Zt]=!0),Et!==t&&b.add(Et)});const Dt=Pa(b.values());return sD(t,this._triggerName,i,r,I,p,_,ue,Dt,m,C,me)}}class kP{constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){const i={},r=dr(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=ka(l,r,t));const c=this.normalizer.normalizePropertyName(a,t);l=this.normalizer.normalizeStyleValue(a,c,l,t),i[c]=l})}}),i}}class LP{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 kP(r.style,r.options&&r.options.params||{},i)}),aD(this.states,"true","1"),aD(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new oD(e,r,this.states))}),this.fallbackTransition=function VP(n,e,t){return new oD(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 aD(n,e,t){n.hasOwnProperty(e)?n.hasOwnProperty(t)||(n[t]=n[e]):n.hasOwnProperty(t)&&(n[e]=n[t])}const BP=new Ua;class jP{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=Kd(this._driver,t,i,[]);if(i.length)throw function Uk(n){return new M(3503,W)}();this._animations[e]=s}_buildPlayer(e,t,i){const r=e.element,s=Bb(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=Qd(this._driver,t,s,Ud,xa,{},{},i,BP,r),o.forEach(u=>{const d=vt(a,u.element,{});u.postStyleProps.forEach(h=>d[h]=null)})):(r.push(function zk(){return new M(3300,W)}()),o=[]),r.length)throw function Gk(n){return new M(3504,W)}();a.forEach((u,d)=>{Object.keys(u).forEach(h=>{u[h]=this._driver.computeStyle(d,h,An)})});const c=Hn(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 Wk(n){return new M(3301,W)}();return t}listen(e,t,i,r){const s=Bd(t,"","","");return Ld(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 lD="ng-animate-queued",th="ng-animate-disabled",GP=[],cD={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},WP={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Nt="__ng_removed";class nh{constructor(e,t=""){this.namespaceId=t;const i=e&&e.hasOwnProperty("value");if(this.value=function ZP(n){return null!=n?n:null}(i?e.value:e),i){const s=dr(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 Es="void",ih=new nh(Es);class qP{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,kt(t,this._hostClassName)}listen(e,t,i,r){if(!this._triggers.hasOwnProperty(t))throw function qk(n,e){return new M(3302,W)}();if(null==i||0==i.length)throw function Kk(n){return new M(3303,W)}();if(!function QP(n){return"start"==n||"done"==n}(i))throw function Yk(n,e){return new M(3400,W)}();const s=vt(this._elementListeners,e,[]),o={name:t,phase:i,callback:r};s.push(o);const a=vt(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(kt(e,Oa),kt(e,Oa+"-"+t),a[t]=ih),()=>{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 Zk(n){return new M(3401,W)}();return t}trigger(e,t,i,r=!0){const s=this._getTrigger(t),o=new rh(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(kt(e,Oa),kt(e,Oa+"-"+t),this._engine.statesByElement.set(e,a={}));let l=a[t];const c=new nh(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a[t]=c,l||(l=ih),c.value!==Es&&l.value===c.value){if(!function e1(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),b=s.matchStyles(c.value,c.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{fi(e,_),hn(e,b)})}return}const h=vt(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||(kt(e,lD),o.onStart(()=>{hr(e,lD)})),o.onDone(()=>{let g=this.players.indexOf(o);g>=0&&this.players.splice(g,1);const _=this._engine.playersByElement.get(e);if(_){let b=_.indexOf(o);b>=0&&_.splice(b,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,Ra,!0);i.forEach(r=>{if(r[Nt])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,Es,r);c&&a.push(c)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),i&&Hn(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]||ih,u=new nh(Es),d=new rh(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[Nt];(!s||s===cD)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){kt(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=Bd(s,i.triggerName,i.fromState.value,i.toState.value);l._data=e,Ld(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 KP{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 qP(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(Wa(t)){const s=this._fetchNamespace(e);if(s)return s.trigger(t,i,r),!0}return!1}insertNode(e,t,i,r){if(!Wa(t))return;const s=t[Nt];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),kt(e,th)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),hr(e,th))}removeNode(e,t,i,r){if(Wa(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[Nt]={namespaceId:e,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,t,i,r,s){return Wa(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,Ra,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,zd,!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 Hn(this.players).onDone(()=>e());e()})}processLeaveNode(e){var t;const i=e[Nt];if(i&&i.setForRemoval){if(e[Nt]=cD,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(th))&&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++)kt(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?Hn(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(e){throw function Qk(n){return new M(3402,W)}()}_flushAnimations(e,t){const i=new Ua,r=[],s=new Map,o=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(S=>{u.add(S);const F=this.driver.query(S,".ng-animate-queued",!0);for(let k=0;k<F.length;k++)u.add(F[k])});const d=this.bodyNode,h=Array.from(this.statesByElement.keys()),f=hD(h,this.collectedEnterElements),p=new Map;let g=0;f.forEach((S,F)=>{const k=Ud+g++;p.set(F,k),S.forEach(K=>kt(K,k))});const _=[],b=new Set,m=new Set;for(let S=0;S<this.collectedLeaveElements.length;S++){const F=this.collectedLeaveElements[S],k=F[Nt];k&&k.setForRemoval&&(_.push(F),b.add(F),k.hasAnimation?this.driver.query(F,".ng-star-inserted",!0).forEach(K=>b.add(K)):m.add(F))}const C=new Map,I=hD(h,Array.from(b));I.forEach((S,F)=>{const k=xa+g++;C.set(F,k),S.forEach(K=>kt(K,k))}),e.push(()=>{f.forEach((S,F)=>{const k=p.get(F);S.forEach(K=>hr(K,k))}),I.forEach((S,F)=>{const k=C.get(F);S.forEach(K=>hr(K,k))}),_.forEach(S=>{this.processLeaveNode(S)})});const U=[],ue=[];for(let S=this._namespaceList.length-1;S>=0;S--)this._namespaceList[S].drainQueuedTransitions(t).forEach(k=>{const K=k.player,Be=k.element;if(U.push(K),this.collectedEnterElements.length){const it=Be[Nt];if(it&&it.setForMove){if(it.previousTriggersValues&&it.previousTriggersValues.has(k.triggerName)){const gi=it.previousTriggersValues.get(k.triggerName),zn=this.statesByElement.get(k.element);zn&&zn[k.triggerName]&&(zn[k.triggerName].value=gi)}return void K.destroy()}}const fn=!d||!this.driver.containsElement(d,Be),wt=C.get(Be),Un=p.get(Be),_e=this._buildInstruction(k,i,Un,wt,fn);if(_e.errors&&_e.errors.length)return void ue.push(_e);if(fn)return K.onStart(()=>fi(Be,_e.fromStyles)),K.onDestroy(()=>hn(Be,_e.toStyles)),void r.push(K);if(k.isFallbackTransition)return K.onStart(()=>fi(Be,_e.fromStyles)),K.onDestroy(()=>hn(Be,_e.toStyles)),void r.push(K);const ID=[];_e.timelines.forEach(it=>{it.stretchStartingKeyframe=!0,this.disabledNodes.has(it.element)||ID.push(it)}),_e.timelines=ID,i.append(Be,_e.timelines),o.push({instruction:_e,player:K,element:Be}),_e.queriedElements.forEach(it=>vt(a,it,[]).push(K)),_e.preStyleProps.forEach((it,gi)=>{const zn=Object.keys(it);if(zn.length){let mi=l.get(gi);mi||l.set(gi,mi=new Set),zn.forEach(uh=>mi.add(uh))}}),_e.postStyleProps.forEach((it,gi)=>{const zn=Object.keys(it);let mi=c.get(gi);mi||c.set(gi,mi=new Set),zn.forEach(uh=>mi.add(uh))})});if(ue.length){const S=[];ue.forEach(F=>{S.push(function Xk(n,e){return new M(3505,W)}())}),U.forEach(F=>F.destroy()),this.reportError(S)}const me=new Map,Dt=new Map;o.forEach(S=>{const F=S.element;i.has(F)&&(Dt.set(F,F),this._beforeAnimationBuild(S.player.namespaceId,S.instruction,me))}),r.forEach(S=>{const F=S.element;this._getPreviousPlayers(F,!1,S.namespaceId,S.triggerName,null).forEach(K=>{vt(me,F,[]).push(K),K.destroy()})});const Ct=_.filter(S=>pD(S,l,c)),Et=new Map;dD(Et,this.driver,m,c,An).forEach(S=>{pD(S,l,c)&&Ct.push(S)});const Tn=new Map;f.forEach((S,F)=>{dD(Tn,this.driver,new Set(S),l,"!")}),Ct.forEach(S=>{const F=Et.get(S),k=Tn.get(S);Et.set(S,Object.assign(Object.assign({},F),k))});const Zt=[],pr=[],gr={};o.forEach(S=>{const{element:F,player:k,instruction:K}=S;if(i.has(F)){if(u.has(F))return k.onDestroy(()=>hn(F,K.toStyles)),k.disabled=!0,k.overrideTotalTime(K.totalTime),void r.push(k);let Be=gr;if(Dt.size>1){let wt=F;const Un=[];for(;wt=wt.parentNode;){const _e=Dt.get(wt);if(_e){Be=_e;break}Un.push(wt)}Un.forEach(_e=>Dt.set(_e,Be))}const fn=this._buildAnimation(k.namespaceId,K,me,s,Tn,Et);if(k.setRealPlayer(fn),Be===gr)Zt.push(k);else{const wt=this.playersByElement.get(Be);wt&&wt.length&&(k.parentPlayer=Hn(wt)),r.push(k)}}else fi(F,K.fromStyles),k.onDestroy(()=>hn(F,K.toStyles)),pr.push(k),u.has(F)&&r.push(k)}),pr.forEach(S=>{const F=s.get(S.element);if(F&&F.length){const k=Hn(F);S.setRealPlayer(k)}}),r.forEach(S=>{S.parentPlayer?S.syncPlayerEvents(S.parentPlayer):S.destroy()});for(let S=0;S<_.length;S++){const F=_[S],k=F[Nt];if(hr(F,xa),k&&k.hasAnimation)continue;let K=[];if(a.size){let fn=a.get(F);fn&&fn.length&&K.push(...fn);let wt=this.driver.query(F,zd,!0);for(let Un=0;Un<wt.length;Un++){let _e=a.get(wt[Un]);_e&&_e.length&&K.push(..._e)}}const Be=K.filter(fn=>!fn.destroyed);Be.length?XP(this,F,Be):this.processLeaveNode(F)}return _.length=0,Zt.forEach(S=>{this.players.push(S),S.onDone(()=>{S.destroy();const F=this.players.indexOf(S);this.players.splice(F,1)}),S.play()}),Zt}elementContainsData(e,t){let i=!1;const r=t[Nt];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==Es;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=vt(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)})}fi(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[Nt];if(_&&_.removedBeforeQueried)return new Ds(p.duration,p.delay);const b=g!==l,m=function JP(n){const e=[];return fD(n,e),e}((i.get(g)||GP).map(me=>me.getRealPlayer())).filter(me=>!!me.element&&me.element===g),C=s.get(g),I=o.get(g),U=Bb(0,this._normalizer,0,p.keyframes,C,I),ue=this._buildPlayer(p,U,m);if(p.subTimeline&&r&&d.add(g),b){const me=new rh(e,a,g);me.setRealPlayer(ue),c.push(me)}return ue});c.forEach(p=>{vt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function YP(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=>kt(p,Yb));const f=Hn(h);return f.onDestroy(()=>{u.forEach(p=>hr(p,Yb)),hn(l,t.toStyles)}),d.forEach(p=>{vt(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 Ds(e.duration,e.delay)}}class rh{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new Ds,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=>Ld(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){vt(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 Wa(n){return n&&1===n.nodeType}function uD(n,e){const t=n.style.display;return n.style.display=null!=e?e:"none",t}function dD(n,e,t,i,r){const s=[];t.forEach(l=>s.push(uD(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[Nt]=WP,o.push(c))}),n.set(c,u)});let a=0;return t.forEach(l=>uD(l,s[a++])),o}function hD(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 kt(n,e){var t;null===(t=n.classList)||void 0===t||t.add(e)}function hr(n,e){var t;null===(t=n.classList)||void 0===t||t.remove(e)}function XP(n,e,t){Hn(t).onDone(()=>n.processLeaveNode(e))}function fD(n,e){for(let t=0;t<n.length;t++){const i=n[t];i instanceof Lb?fD(i.players,e):e.push(i)}}function pD(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 qa{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,s)=>{},this._transitionEngine=new KP(e,t,i),this._timelineEngine=new jP(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=Kd(this._driver,s,l,[]);if(l.length)throw function Hk(n,e){return new M(3404,W)}();a=function PP(n,e,t){return new LP(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]=jb(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]=jb(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 n1=(()=>{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&&hn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(hn(this._element,this._initialStyles),this._endStyles&&(hn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(fi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(fi(this._element,this._endStyles),this._endStyles=null),hn(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function sh(n){let e=null;const t=Object.keys(n);for(let i=0;i<t.length;i++){const r=t[i];r1(r)&&(e=e||{},e[r]=n[r])}return e}function r1(n){return"display"===n||"position"===n}class gD{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]:eD(this.element,i))})}this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class s1{validateStyleProperty(e){return zb(e)}matchesElement(e,t){return!1}containsElement(e,t){return Gb(e,t)}getParentElement(e){return Hd(e)}query(e,t,i){return Wb(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 gD);(function lP(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 cP(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]=eD(n,l)})}}return e}(e,t=t.map(h=>$n(h,!1)),c);const d=function t1(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=sh(e[0]),e.length>1&&(i=sh(e[e.length-1]))):e&&(t=sh(e)),t||i?new n1(n,t,i):null}(e,t);return new gD(e,t,l,d)}}let o1=(()=>{class n extends Nb{constructor(t,i){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(i.body,{id:"0",encapsulation:Vt.None,styles:[],data:{animation:[]}})}build(t){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(t)?kb(t):t;return mD(this._renderer,null,i,"register",[r]),new a1(i,this._renderer)}}return n.\u0275fac=function(t){return new(t||n)(D(es),D(se))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class a1 extends class gk{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new l1(this._id,e,t||{},this._renderer)}}class l1{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 mD(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 mD(n,e,t,i,r){return n.setProperty(e,`@@${t}:${i}`,r)}const _D="@.disabled";let c1=(()=>{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 yD("",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 u1(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)(D(es),D(qa),D(le))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class yD{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==_D?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 u1 extends yD{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==_D?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 d1(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 h1(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 f1=(()=>{class n extends qa{constructor(t,i,r){super(t.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(t){return new(t||n)(D(se),D($d),D(Jd))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const oh=new T("AnimationModuleType"),vD=[{provide:Nb,useClass:o1},{provide:Jd,useFactory:function p1(){return new xP}},{provide:qa,useClass:f1},{provide:es,useFactory:function g1(n,e,t){return new c1(n,e,t)},deps:[aa,qa,le]}],bD=[{provide:$d,useFactory:()=>new s1},{provide:oh,useValue:"BrowserAnimations"},...vD],m1=[{provide:$d,useClass:qb},{provide:oh,useValue:"NoopAnimations"},...vD];let _1=(()=>{class n{static withConfig(t){return{ngModule:n,providers:t.disableAnimations?m1:bD}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({providers:bD,imports:[jy]}),n})();const y1=["connectionContainer"],v1=["inputContainer"],b1=["label"];function D1(n,e){1&n&&(qr(0),pe(1,"div",14),er(2,"div",15)(3,"div",16)(4,"div",17),De(),pe(5,"div",18),er(6,"div",15)(7,"div",16)(8,"div",17),De(),Kr())}function C1(n,e){if(1&n){const t=Uc();pe(0,"div",19),Ke("cdkObserveContent",function(){return yl(t),Ft().updateOutlineGap()}),bn(1,1),De()}2&n&&fe("cdkObserveContentDisabled","outline"!=Ft().appearance)}function E1(n,e){if(1&n&&(qr(0),bn(1,2),pe(2,"span"),Jn(3),De(),Kr()),2&n){const t=Ft(2);be(3),nr(t._control.placeholder)}}function w1(n,e){1&n&&bn(0,3,["*ngSwitchCase","true"])}function M1(n,e){1&n&&(pe(0,"span",23),Jn(1," *"),De())}function S1(n,e){if(1&n){const t=Uc();pe(0,"label",20,21),Ke("cdkObserveContent",function(){return yl(t),Ft().updateOutlineGap()}),ot(2,E1,4,1,"ng-container",12),ot(3,w1,1,0,"ng-content",12),ot(4,M1,2,0,"span",22),De()}if(2&n){const t=Ft();Dn("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),fe("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),yt("for",t._control.id)("aria-owns",t._control.id),be(2),fe("ngSwitchCase",!1),be(1),fe("ngSwitchCase",!0),be(1),fe("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function A1(n,e){1&n&&(pe(0,"div",24),bn(1,4),De())}function T1(n,e){if(1&n&&(pe(0,"div",25),er(1,"span",26),De()),2&n){const t=Ft();be(1),Dn("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function I1(n,e){1&n&&(pe(0,"div"),bn(1,5),De()),2&n&&fe("@transitionMessages",Ft()._subscriptAnimationState)}function F1(n,e){if(1&n&&(pe(0,"div",30),Jn(1),De()),2&n){const t=Ft(2);fe("id",t._hintLabelId),be(1),nr(t.hintLabel)}}function x1(n,e){if(1&n&&(pe(0,"div",27),ot(1,F1,2,2,"div",28),bn(2,6),er(3,"div",29),bn(4,7),De()),2&n){const t=Ft();fe("@transitionMessages",t._subscriptAnimationState),be(1),fe("ngIf",t.hintLabel)}}const O1=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],R1=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let N1=0;const DD=new T("MatError");let k1=(()=>{class n{constructor(t,i){this.id="mat-error-"+N1++,t||i.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(t){return new(t||n)(function no(n){return function aE(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(rf(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}(Fe(),n)}("aria-live"),v(Ve))},n.\u0275dir=O({type:n,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(t,i){2&t&&yt("id",i.id)},inputs:{id:"id"},features:[ee([{provide:DD,useExisting:n}])]}),n})();const P1={transitionMessages:mk("transitionMessages",[yk("enter",Ia({opacity:1,transform:"translateY(0%)"})),vk("void => enter",[Ia({opacity:0,transform:"translateY(-5px)"}),_k("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let ah=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=O({type:n}),n})(),L1=0;const CD=new T("MatHint");let V1=(()=>{class n{constructor(){this.align="start",this.id="mat-hint-"+L1++}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=O({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,i){2&t&&(yt("id",i.id)("align",null),Dn("mat-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"},features:[ee([{provide:CD,useExisting:n}])]}),n})(),lh=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=O({type:n,selectors:[["mat-label"]]}),n})(),B1=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=O({type:n,selectors:[["mat-placeholder"]]}),n})();const j1=new T("MatPrefix"),H1=new T("MatSuffix");let ED=0;const U1=ak(class{constructor(n){this._elementRef=n}},"primary"),z1=new T("MAT_FORM_FIELD_DEFAULT_OPTIONS"),MD=new T("MatFormField");let G1=(()=>{class n extends U1{constructor(t,i,r,s,o,a,l){super(t),this._changeDetectorRef=i,this._dir=r,this._defaults=s,this._platform=o,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new ke,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+ED++,this._labelId="mat-form-field-label-"+ED++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==l,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const i=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&i!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=ps(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe(Nd(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(fa(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(fa(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Rs(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Nd(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Nd(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(fa(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const i=this._control?this._control.ngControl:null;return i&&i[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Ju(this._label.nativeElement,"transitionend").pipe(function sv(n){return e=>0===n?rv():e.lift(new WO(n))}(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(s=>"start"===s.align):null,r=this._hintChildren?this._hintChildren.find(s=>"end"===s.align):null;i?t.push(i.id):this._hintLabel&&t.push(this._hintLabelId),r&&t.push(r.id)}else this._errorChildren&&t.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,r=".mat-form-field-outline-start",s=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!t||!t.children.length||!t.textContent.trim()){const u=i.querySelectorAll(`${r}, ${s}`);for(let d=0;d<u.length;d++)u[d].style.width="0";return}if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let o=0,a=0;const l=i.querySelectorAll(r),c=i.querySelectorAll(s);if(this._label&&this._label.nativeElement.children.length){const u=i.getBoundingClientRect();if(0===u.width&&0===u.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const d=this._getStartEnd(u),h=t.children,f=this._getStartEnd(h[0].getBoundingClientRect());let p=0;for(let g=0;g<h.length;g++)p+=h[g].offsetWidth;o=Math.abs(f-d)-5,a=p>0?.75*p+10:0}for(let u=0;u<l.length;u++)l[u].style.width=`${o}px`;for(let u=0;u<c.length;u++)c[u].style.width=`${a}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left}_isAttachedToDOM(){const t=this._elementRef.nativeElement;if(t.getRootNode){const i=t.getRootNode();return i&&i!==t}return document.documentElement.contains(t)}}return n.\u0275fac=function(t){return new(t||n)(v(Ve),v(jo),v(tv,8),v(z1,8),v(Mn),v(le),v(oh,8))},n.\u0275cmp=Ls({type:n,selectors:[["mat-form-field"]],contentQueries:function(t,i,r){if(1&t&&(cn(r,ah,5),cn(r,ah,7),cn(r,lh,5),cn(r,lh,7),cn(r,B1,5),cn(r,DD,5),cn(r,CD,5),cn(r,j1,5),cn(r,H1,5)),2&t){let s;at(s=lt())&&(i._controlNonStatic=s.first),at(s=lt())&&(i._controlStatic=s.first),at(s=lt())&&(i._labelChildNonStatic=s.first),at(s=lt())&&(i._labelChildStatic=s.first),at(s=lt())&&(i._placeholderChild=s.first),at(s=lt())&&(i._errorChildren=s),at(s=lt())&&(i._hintChildren=s),at(s=lt())&&(i._prefixChildren=s),at(s=lt())&&(i._suffixChildren=s)}},viewQuery:function(t,i){if(1&t&&(rs(y1,7),rs(v1,5),rs(b1,5)),2&t){let r;at(r=lt())&&(i._connectionContainerRef=r.first),at(r=lt())&&(i._inputContainerRef=r.first),at(r=lt())&&(i._label=r.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(t,i){2&t&&Dn("mat-form-field-appearance-standard","standard"==i.appearance)("mat-form-field-appearance-fill","fill"==i.appearance)("mat-form-field-appearance-outline","outline"==i.appearance)("mat-form-field-appearance-legacy","legacy"==i.appearance)("mat-form-field-invalid",i._control.errorState)("mat-form-field-can-float",i._canLabelFloat())("mat-form-field-should-float",i._shouldLabelFloat())("mat-form-field-has-label",i._hasFloatingLabel())("mat-form-field-hide-placeholder",i._hideControlPlaceholder())("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-focused",i._control.focused)("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))("_mat-animation-noopable",!i._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[ee([{provide:MD,useExisting:n}]),Y],ngContentSelectors:R1,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(t,i){1&t&&(function Bg(n){const e=y()[16][6];if(!e.projection){const i=e.projection=Fr(n?n.length:1,null),r=i.slice();let s=e.child;for(;null!==s;){const o=n?zS(s,n):0;null!==o&&(r[o]?r[o].projectionNext=s:i[o]=s,r[o]=s),s=s.next}}}(O1),pe(0,"div",0)(1,"div",1,2),Ke("click",function(s){return i._control.onContainerClick&&i._control.onContainerClick(s)}),ot(3,D1,9,0,"ng-container",3),ot(4,C1,2,1,"div",4),pe(5,"div",5,6),bn(7),pe(8,"span",7),ot(9,S1,5,16,"label",8),De()(),ot(10,A1,2,0,"div",9),De(),ot(11,T1,2,4,"div",10),pe(12,"div",11),ot(13,I1,2,1,"div",12),ot(14,x1,5,2,"div",13),De()()),2&t&&(be(3),fe("ngIf","outline"==i.appearance),be(1),fe("ngIf",i._prefixChildren.length),be(5),fe("ngIf",i._hasFloatingLabel()),be(1),fe("ngIf",i._suffixChildren.length),be(1),fe("ngIf","outline"!=i.appearance),be(1),fe("ngSwitch",i._getDisplayedMessages()),be(1),fe("ngSwitchCase","error"),be(1),fe("ngSwitchCase","hint"))},directives:[ju,UN,na,My],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[P1.transitionMessages]},changeDetection:0}),n})(),ch=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({imports:[[Ty,Od,zN],Od]}),n})();const SD=da({passive:!0});let W1=(()=>{class n{constructor(t,i){this._platform=t,this._ngZone=i,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return iv;const i=la(t),r=this._monitoredElements.get(i);if(r)return r.subject;const s=new ke,o="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(o)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(o)&&(i.classList.remove(o),this._ngZone.run(()=>s.next({target:l.target,isAutofilled:!1}))):(i.classList.add(o),this._ngZone.run(()=>s.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,SD),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:s,unlisten:()=>{i.removeEventListener("animationstart",a,SD)}}),s}stopMonitoring(t){const i=la(t),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((t,i)=>this.stopMonitoring(i))}}return n.\u0275fac=function(t){return new(t||n)(D(Mn),D(le))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),AD=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({imports:[[TO]]}),n})();const q1=new T("MAT_INPUT_VALUE_ACCESSOR"),K1=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Y1=0;const Z1=lk(class{constructor(n,e,t,i){this._defaultErrorStateMatcher=n,this._parentForm=e,this._parentFormGroup=t,this.ngControl=i}});let TD=(()=>{class n extends Z1{constructor(t,i,r,s,o,a,l,c,u,d){super(a,s,o,r),this._elementRef=t,this._platform=i,this._autofillMonitor=c,this._formField=d,this._uid="mat-input-"+Y1++,this.focused=!1,this.stateChanges=new ke,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(p=>Xy().has(p));const h=this._elementRef.nativeElement,f=h.nodeName.toLowerCase();this._inputValueAccessor=l||h,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&u.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",p=>{const g=p.target;!g.value&&0===g.selectionStart&&0===g.selectionEnd&&(g.setSelectionRange(1,1),g.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===f,this._isTextarea="textarea"===f,this._isInFormField=!!d,this._isNativeSelect&&(this.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=ps(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){var t,i,r,s;return null!==(s=null!==(t=this._required)&&void 0!==t?t:null===(r=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===r?void 0:r.hasValidator(zR.required))&&void 0!==s&&s}set required(t){this._required=ps(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&Xy().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=ps(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t!==this.focused&&(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,i;const r=(null===(i=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===i?void 0:i.call(t))?null:this.placeholder;if(r!==this._previousPlaceholder){const s=this._elementRef.nativeElement;this._previousPlaceholder=r,r?s.setAttribute("placeholder",r):s.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){K1.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,i=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}}return n.\u0275fac=function(t){return new(t||n)(v(Ve),v(Mn),v(Sn,10),v(Aa,8),v(Ta,8),v(Ib),v(q1,10),v(W1),v(le),v(MD,8))},n.\u0275dir=O({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(t,i){1&t&&Ke("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&t&&(qc("disabled",i.disabled)("required",i.required),yt("id",i.id)("data-placeholder",i.placeholder)("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),Dn("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[ee([{provide:ah,useExisting:n}]),Y,Xt]}),n})(),Q1=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({providers:[Ib],imports:[[AD,ch,Od],AD,ch]}),n})(),X1=(()=>{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)(D(se))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),J1=(()=>{class n{constructor(){this.errorStateMatcher={isErrorState:()=>!!this.error||!this.valueCanBeChanged&&this.formControl.dirty},this.formControl=new Cd(""),this.onEnter$=new ke,this.valueCanBeChanged=!1}ngOnInit(){this.onEnter$.pipe(bb(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 Zy(n,e){return function(i){return i.lift(new SO(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),metaData:this.metaData})}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})();function eL(n,e){if(1&n&&(pe(0,"mat-label"),Jn(1),De()),2&n){const t=Ft();be(1),nr(t.label)}}function tL(n,e){if(1&n&&(pe(0,"mat-error"),Jn(1),De()),2&n){const t=Ft();be(1),To(" ",t.error," ")}}let nL=(()=>{class n extends J1{}return n.\u0275fac=function(){let e;return function(i){return(e||(e=ze(n)))(i||n)}}(),n.\u0275cmp=Ls({type:n,selectors:[["drayman-textarea-field-internal"]],viewQuery:function(t,i){if(1&t&&rs(TD,5),2&t){let r;at(r=lt())&&(i.input=r.first)}},inputs:{rows:"rows",appearance:"appearance",value:"value",label:"label",disabled:"disabled",placeholder:"placeholder",helpText:"helpText",error:"error",onValueChange:"onValueChange",updateOnBlur:"updateOnBlur"},features:[Y],decls:6,vars:9,consts:[[3,"appearance","floatLabel"],[4,"ngIf"],["matInput","","type","text","autocomplete","off",3,"placeholder","formControl","errorStateMatcher","rows","blur"]],template:function(t,i){1&t&&(pe(0,"mat-form-field",0),ot(1,eL,2,1,"mat-label",1),pe(2,"textarea",2),Ke("blur",function(){return i.onBlur()}),De(),pe(3,"mat-hint"),Jn(4),De(),ot(5,tL,2,1,"mat-error",1),De()),2&t&&(fe("appearance",i.appearance||"outline")("floatLabel","auto"),be(1),fe("ngIf",i.label),be(1),fe("placeholder",i.placeholder||i.label)("formControl",i.formControl)("errorStateMatcher",i.errorStateMatcher)("rows",i.rows),be(2),nr(i.helpText),be(1),fe("ngIf",i.error))},directives:[G1,ju,lh,TD,_a,jv,Md,V1,k1],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%} .mat-form-field-infix{width:auto!important}"]}),n})(),iL=(()=>{class n{constructor(t){this.injector=t}ngDoBootstrap(){const t=function LR(n,e){const t=function FR(n,e){return e.get(ti).resolveComponentFactory(n).inputs}(n,e.injector),i=e.strategyFactory||new NR(n,e.injector),r=function IR(n){const e={};return n.forEach(({propName:t,templateName:i})=>{e[function wR(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}(i)]=t}),e}(t);class s extends PR{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}(nL,{injector:this.injector});customElements.define("drayman-textarea-field",t)}}return n.\u0275fac=function(t){return new(t||n)(D(st))},n.\u0275mod=$e({type:n}),n.\u0275inj=Pe({providers:[{provide:od,useClass:X1}],imports:[[jy,_1,LN,VN,ch,Q1]]}),n})();(function cI(){q_=!1})(),Yx().bootstrapModule(iL).catch(n=>console.error(n))})();