PageSourceSearch

https://panaaj.bitbucket.io/main-es2015.8893f08b917d7dacab3a.js

js panaaj.bitbucket.io collected 2026-10-09 04:47:16 UTC 472,215 bytes, 1 lines download raw bytes

vendor: 14,218 bytes, line 1
1(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,i){t.exports=i("zUnb")},crnd:function(t,e){function i(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}i.keys=function(){return[]},i.resolve=i,t.exports=i,i.id="crnd"},zUnb:function(t,e,i){"use strict";function n(t){return"function"==typeof t}i.r(e);let s=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=t},get useDeprecatedSynchronousErrorHandling(){return s}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(r.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function c(t){return null!==t&&"object"==typeof t}const h=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let u=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:i,_unsubscribe:s,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,i instanceof t)i.remove(this);else if(null!==i)for(let t=0;t<i.length;++t)i[t].remove(this);if(n(s))try{s.call(this)}catch(o){e=o instanceof h?d(o.errors):[o]}if(l(r)){let t=-1,i=r.length;for(;++t<i;){const i=r[t];if(c(i))try{i.unsubscribe()}catch(o){e=e||[],o instanceof h?e=e.concat(d(o.errors)):e.push(o)}}}if(e)throw new h(e)}add(e){let i=e;if(!e)return t.EMPTY;switch(typeof e){case"function":i=new t(e);case"object":if(i===this||i.closed||"function"!=typeof i.unsubscribe)return i;if(this.closed)return i.unsubscribe(),i;if(!(i instanceof t)){const e=i;i=new t,i._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:n}=i;if(null===n)i._parentOrParents=this;else if(n instanceof t){if(n===this)return i;i._parentOrParents=[n,this]}else{if(-1!==n.indexOf(this))return i;n.push(this)}const s=this._subscriptions;return null===s?this._subscriptions=[i]:s.push(i),i}remove(t){const e=this._subscriptions;if(e){const i=e.indexOf(t);-1!==i&&e.splice(i,1)}}}return t.EMPTY=function(t){return t.closed=!0,t}(new t),t})();function d(t){return t.reduce((t,e)=>t.concat(e instanceof h?e.errors:e),[])}const m=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class p extends u{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof p?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new f(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new f(this,t,e,i)}}[m](){return this}static create(t,e,i){const n=new p(t,e,i);return n.syncErrorThrowable=!1,n}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class f extends p{constructor(t,e,i,s){let r;super(),this._parentSubscriber=t;let o=this;n(e)?r=e:e&&(r=e.next,i=e.error,s=e.complete,e!==a&&(o=Object.create(e),n(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=r,this._error=i,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;r.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=r;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):o(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);r.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(i){if(this.unsubscribe(),r.useDeprecatedSynchronousErrorHandling)throw i;o(i)}}__tryOrSetError(t,e,i){if(!r.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(n){return r.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=n,t.syncErrorThrown=!0,!0):(o(n),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const g=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function _(){}let y=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(t,e,i){const{operator:n}=this,s=function(t,e,i){if(t){if(t instanceof p)return t;if(t[m])return t[m]()}return t||e||i?new p(t,e,i):new p(a)}(t,e,i);if(s.add(n?n.call(s,this.source):this.source||r.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),r.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){r.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:i,isStopped:n}=t;if(e||n)return!1;t=i&&i instanceof p?i:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=b(e))((e,i)=>{let n;n=this.subscribe(e=>{try{t(e)}catch(s){i(s),n&&n.unsubscribe()}},i,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[g](){return this}pipe(...t){return 0===t.length?this:((e=t)?1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)}:_)(this);var e}toPromise(t){return new(t=b(t))((t,e)=>{let i;this.subscribe(t=>i=t,t=>e(t),()=>t(i))})}}return t.create=e=>new t(e),t})();function b(t){if(t||(t=r.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const v=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class w extends u{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class x extends p{constructor(t){super(t),this.destination=t}}let E=(()=>{class t extends y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[m](){return new x(this)}lift(t){const e=new S(this,this);return e.operator=t,e}next(t){if(this.closed)throw new v;if(!this.isStopped){const{observers:e}=this,i=e.length,n=e.slice();for(let s=0;s<i;s++)n[s].next(t)}}error(t){if(this.closed)throw new v;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,i=e.length,n=e.slice();for(let s=0;s<i;s++)n[s].error(t);this.observers.length=0}complete(){if(this.closed)throw new v;this.isStopped=!0;const{observers:t}=this,e=t.length,i=t.slice();for(let n=0;n<e;n++)i[n].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new v;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new v;return this.hasError?(t.error(this.thrownError),u.EMPTY):this.isStopped?(t.complete(),u.EMPTY):(this.observers.push(t),new w(this,t))}asObservable(){const t=new y;return t.source=this,t}}return t.create=(t,e)=>new S(t,e),t})();class S extends E{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):u.EMPTY}}function C(t){return t&&"function"==typeof t.schedule}class k extends p{constructor(t,e,i){super(),this.parent=t,this.outerValue=e,this.outerIndex=i,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const T=t=>e=>{for(let i=0,n=t.length;i<n&&!e.closed;i++)e.next(t[i]);e.complete()};function A(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const I=A(),D=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function R(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const O=t=>{if(t&&"function"==typeof t[g])return n=t,t=>{const e=n[g]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(D(t))return T(t);if(R(t))return i=t,t=>(i.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);if(t&&"function"==typeof t[I])return e=t,t=>{const i=e[I]();for(;;){const e=i.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof i.return&&t.add(()=>{i.return&&i.return()}),t};{const e=c(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}var e,i,n};function P(t,e,i,n,s=new k(t,i,n)){if(!s.closed)return e instanceof y?e.subscribe(s):O(e)(s)}class N extends p{notifyNext(t,e,i,n,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}function F(t,e){return function(i){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new M(t,e))}}class M{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new L(t,this.project,this.thisArg))}}class L extends p{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}function j(t,e){return new y(i=>{const n=new u;let s=0;return n.add(e.schedule((function(){s!==t.length?(i.next(t[s++]),i.closed||n.add(this.schedule())):i.complete()}))),n})}function B(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[g]}(t))return function(t,e){return new y(i=>{const n=new u;return n.add(e.schedule(()=>{const s=t[g]();n.add(s.subscribe({next(t){n.add(e.schedule(()=>i.next(t)))},error(t){n.add(e.schedule(()=>i.error(t)))},complete(){n.add(e.schedule(()=>i.complete()))}}))})),n})}(t,e);if(R(t))return function(t,e){return new y(i=>{const n=new u;return n.add(e.schedule(()=>t.then(t=>{n.add(e.schedule(()=>{i.next(t),n.add(e.schedule(()=>i.complete()))}))},t=>{n.add(e.schedule(()=>i.error(t)))}))),n})}(t,e);if(D(t))return j(t,e);if(function(t){return t&&"function"==typeof t[I]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new y(i=>{const n=new u;let s;return n.add(()=>{s&&"function"==typeof s.return&&s.return()}),n.add(e.schedule(()=>{s=t[I](),n.add(e.schedule((function(){if(i.closed)return;let t,e;try{const i=s.next();t=i.value,e=i.done}catch(n){return void i.error(n)}e?i.complete():(i.next(t),this.schedule())})))})),n})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof y?t:new y(O(t))}function V(t,e,i=Number.POSITIVE_INFINITY){return"function"==typeof e?n=>n.pipe(V((i,n)=>B(t(i,n)).pipe(F((t,s)=>e(i,t,n,s))),i)):("number"==typeof e&&(i=e),e=>e.lift(new z(t,i)))}class z{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new H(t,this.project,this.concurrent))}}class H extends N{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(n){return void this.destination.error(n)}this.active++,this._innerSub(e,t,i)}_innerSub(t,e,i){const n=new k(this,e,i),s=this.destination;s.add(n);const r=P(this,t,void 0,void 0,n);r!==n&&s.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t,e,i,n,s){this.destination.next(e)}notifyComplete(t){const e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function $(t){return t}function W(t=Number.POSITIVE_INFINITY){return V($,t)}function q(t,e){return e?j(t,e):new y(T(t))}function K(...t){let e=Number.POSITIVE_INFINITY,i=null,n=t[t.length-1];return C(n)?(i=t.pop(),t.length>
11&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof n&&(e=t.pop()),null===i&&1===t.length&&t[0]instanceof y?t[0]:W(e)(q(t,i))}function U(){return function(t){return t.lift(new Z(t))}}class Z{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const n=new Q(t,i),s=e.subscribe(n);return n.closed||(n.connection=i.connect()),s}}class Q extends p{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,n=t._connection;this.connection=null,!n||i&&n!==i||n.unsubscribe()}}class G extends y{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new u,t.add(this.source.subscribe(new X(this.getSubject(),this))),t.closed&&(this._connection=null,t=u.EMPTY)),t}refCount(){return U()(this)}}const Y=(()=>{const t=G.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class X extends x{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function J(){return new E}function tt(){return t=>{return U()((e=J,function(t){let i;i="function"==typeof e?e:function(){return e};const n=Object.create(t,Y);return n.source=t,n.subjectFactory=i,n})(t));var e}}function et(t){return{toString:t}.toString()}function it(t,e,i){return et(()=>{const n=function(t){return function(...e){if(t){const i=t(...e);for(const t in i)this[t]=i[t]}}}(e);function s(...t){if(this instanceof s)return n.apply(this,t),this;const e=new s(...t);return i.annotation=e,i;function i(t,i,n){const s=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;s.length<=n;)s.push(null);return(s[n]=s[n]||[]).push(e),t}}return i&&(s.prototype=Object.create(i.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}const nt=it("Inject",t=>({token:t})),st=it("Optional"),rt=it("Self"),ot=it("SkipSelf");var at=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function lt(t){for(let e in t)if(t[e]===lt)return e;throw Error("Could not find renamed property on target object.")}function ct(t,e){for(const i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function ht(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ut(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function dt(t){return mt(t,t[ft])||mt(t,t[yt])}function mt(t,e){return e&&e.token===t?e:null}function pt(t){return t&&(t.hasOwnProperty(gt)||t.hasOwnProperty(bt))?t[gt]:null}const ft=lt({"\u0275prov":lt}),gt=lt({"\u0275inj":lt}),_t=lt({"\u0275provFallback":lt}),yt=lt({ngInjectableDef:lt}),bt=lt({ngInjectorDef:lt});function vt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(vt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const i=e.indexOf("\n");return-1===i?e:e.substring(0,i)}function wt(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const xt=lt({__forward_ref__:lt});function Et(t){return t.__forward_ref__=Et,t.toString=function(){return vt(this())},t}function St(t){return Ct(t)?t():t}function Ct(t){return"function"==typeof t&&t.hasOwnProperty(xt)&&t.__forward_ref__===Et}const kt="undefined"!=typeof globalThis&&globalThis,Tt="undefined"!=typeof window&&window,At="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,It="undefined"!=typeof global&&global,Dt=kt||It||Tt||At,Rt=lt({"\u0275cmp":lt}),Ot=lt({"\u0275dir":lt}),Pt=lt({"\u0275pipe":lt}),Nt=lt({"\u0275mod":lt}),Ft=lt({"\u0275loc":lt}),Mt=lt({"\u0275fac":lt}),Lt=lt({__NG_ELEMENT_ID__:lt});
1class jt{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=ht({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Bt=new jt("INJECTOR",-1),Vt={},zt=/\n/gm,Ht=lt({provide:String,useValue:lt});let $t,Wt=void 0;function qt(t){const e=Wt;return Wt=t,e}function Kt(t){const e=$t;return $t=t,e}function Ut(t,e=at.Default){if(void 0===Wt)throw new Error("inject() must be called from an injection context");return null===Wt?Gt(t,void 0,e):Wt.get(t,e&at.Optional?null:void 0,e)}function Zt(t,e=at.Default){return($t||Ut)(St(t),e)}const Qt=Zt;function Gt(t,e,i){const n=dt(t);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(i&at.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${vt(t)}]`)}function Yt(t){const e=[];for(let i=0;i<t.length;i++){const n=St(t[i]);if(Array.isArray(n)){if(0===n.length)throw new Error("Arguments array must have arguments.");let t=void 0,i=at.Default;for(let e=0;e<n.length;e++){const s=n[e];s instanceof st||"Optional"===s.ngMetadataName||s===st?i|=at.Optional:s instanceof ot||"SkipSelf"===s.ngMetadataName||s===ot?i|=at.SkipSelf:s instanceof rt||"Self"===s.ngMetadataName||s===rt?i|=at.Self:t=s instanceof nt||s===nt?s.token:s}e.push(Zt(t,i))}else e.push(Zt(n))}return e}class Xt{get(t,e=Vt){if(e===Vt){const e=new Error(`NullInjectorError: No provider for ${vt(t)}!`);throw e.name="NullInjectorError",e}return e}}class Jt{}function te(t,e){t.forEach(t=>Array.isArray(t)?te(t,e):e(t))}function ee(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function ie(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ne(t,e){const i=[];for(let n=0;n<t;n++)i.push(e);return i}function se(t,e,i){let n=oe(t,e);return n>=0?t[1|n]=i:(n=~n,function(t,e,i,n){let s=t.length;if(s==e)t.push(i,n);else if(1===s)t.push(n,t[0]),t[0]=i;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=i,t[e+1]=n}}(t,n,e,i)),n}function re(t,e){const i=oe(t,e);if(i>=0)return t[1|i]}function oe(t,e){return function(t,e,i){let n=0,s=t.length>>1;for(;s!==n;){const i=n+(s-n>>1),r=t[i<<1];if(e===r)return i<<1;r>e?s=i:n=i+1}return~(s<<1)}(t,e)}const ae=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),le=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t[t.ShadowDom]="ShadowDom",t}(),ce={},he=[];let ue=0;function de(t){return et(()=>{const e=t.type,i=e.prototype,n={},s={type:e,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:i.ngOnInit||null,doCheck:i.ngDoCheck||null,afterContentInit:i.ngAfterContentInit||null,afterContentChecked:i.ngAfterContentChecked||null,afterViewInit:i.ngAfterViewInit||null,afterViewChecked:i.ngAfterViewChecked||null,onDestroy:i.ngOnDestroy||null,onPush:t.changeDetection===ae.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||he,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||le.Emulated,id:"c",styles:t.styles||he,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,o=t.features,a=t.pipes;return s.id+=ue++,s.inputs=_e(t.inputs,n),s.outputs=_e(t.outputs),o&&o.forEach(t=>t(s)),s.directiveDefs=r?()=>("function"==typeof r?r():r).map(me):null,s.pipeDefs=a?()=>("function"==typeof a?a():a).map(pe):null,s})}function me(t){return ve(t)||function(t){return t[Ot]||null}(t)}function pe(t){return function(t){return t[Pt]||null}(t)}const fe={};function ge(t){const e={type:t.type,bootstrap:t.bootstrap||he,declarations:t.declarations||he,imports:t.imports||he,exports:t.exports||he,transitiveCompileScopes:null,
1schemas:t.schemas||null,id:t.id||null};return null!=t.id&&et(()=>{fe[t.id]=t.type}),e}function _e(t,e){if(null==t)return ce;const i={};for(const n in t)if(t.hasOwnProperty(n)){let s=t[n],r=s;Array.isArray(s)&&(r=s[1],s=s[0]),i[s]=n,e&&(e[s]=r)}return i}const ye=de;function be(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function ve(t){return t[Rt]||null}function we(t,e){return t.hasOwnProperty(Mt)?t[Mt]:null}function xe(t,e){const i=t[Nt]||null;if(!i&&!0===e)throw new Error(`Type ${vt(t)} does not have '\u0275mod' property.`);return i}function Ee(t){return Array.isArray(t)&&"object"==typeof t[1]}function Se(t){return Array.isArray(t)&&!0===t[1]}function Ce(t){return 0!=(8&t.flags)}function ke(t){return 2==(2&t.flags)}function Te(t){return 1==(1&t.flags)}function Ae(t){return null!==t.template}function Ie(t){return 0!=(512&t[2])}let De=void 0;function Re(t){return!!t.listen}const Oe={createRenderer:(t,e)=>void 0!==De?De:"undefined"!=typeof document?document:void 0};function Pe(t){for(;Array.isArray(t);)t=t[0];return t}function Ne(t,e){return Pe(e[t+19])}function Fe(t,e){return Pe(e[t.index])}function Me(t,e){return t.data[e+19]}function Le(t,e){return t[e+19]}function je(t,e){const i=e[t];return Ee(i)?i:i[0]}function Be(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ve(t){return 4==(4&t[2])}function ze(t){return 128==(128&t[2])}function He(t,e){return null===t||null==e?null:t[e]}function $e(t){t[18]=0}const We={lFrame:ci(null),bindingsEnabled:!0,checkNoChangesMode:!1};function qe(){return We.bindingsEnabled}function Ke(){return We.lFrame.lView}function Ue(){return We.lFrame.tView}function Ze(t){We.lFrame.contextLView=t}function Qe(){return We.lFrame.previousOrParentTNode}function Ge(t,e){We.lFrame.previousOrParentTNode=t,We.lFrame.isParent=e}function Ye(){return We.lFrame.isParent}function Xe(){We.lFrame.isParent=!1}function Je(){return We.checkNoChangesMode}function ti(t){We.checkNoChangesMode=t}function ei(){const t=We.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ii(){return We.lFrame.bindingIndex++}function ni(t,e){const i=We.lFrame;i.bindingIndex=i.bindingRootIndex=t,i.currentDirectiveIndex=e}function si(){return We.lFrame.currentQueryIndex}function ri(t){We.lFrame.currentQueryIndex=t}function oi(t,e){const i=li();We.lFrame=i,i.previousOrParentTNode=e,i.lView=t}function ai(t,e){const i=li(),n=t[1];We.lFrame=i,i.previousOrParentTNode=e,i.lView=t,i.tView=n,i.contextLView=t,i.bindingIndex=n.bindingStartIndex}function li(){const t=We.lFrame,e=null===t?null:t.child;return null===e?ci(t):e}function ci(t){const e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function hi(){const t=We.lFrame;return We.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}const ui=hi;function di(){const t=hi();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.currentSanitizer=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function mi(){return We.lFrame.selectedIndex}function pi(t){We.lFrame.selectedIndex=t}function fi(){const t=We.lFrame;return Me(t.tView,t.selectedIndex)}function gi(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i<n;i++){const e=t.data[i];e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(-i,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(i,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(i,e.afterContentChecked)),e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(-i,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(i,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(i,e.afterViewChecked)),null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(i,e.onDestroy)}}function _i(t,e,i){vi(t,e,3,i)}
1function yi(t,e,i,n){(3&t[2])===i&&vi(t,e,i,n)}function bi(t,e){let i=t[2];(3&i)===e&&(i&=1023,i+=1,t[2]=i)}function vi(t,e,i,n){const s=null!=n?n:-1;let r=0;for(let o=void 0!==n?65535&t[18]:0;o<e.length;o++)if("number"==typeof e[o+1]){if(r=e[o],null!=n&&r>=n)break}else e[o]<0&&(t[18]+=65536),(r<s||-1==s)&&(wi(t,i,e,o),t[18]=(4294901760&t[18])+o+2),o++}function wi(t,e,i,n){const s=i[n]<0,r=i[n+1],o=t[s?-i[n]:i[n]];s?t[2]>>10<t[18]>>16&&(3&t[2])===e&&(t[2]+=1024,r.call(o)):r.call(o)}class xi{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Ei(t,e,i){const n=Re(t);let s=0;for(;s<i.length;){const r=i[s];if("number"==typeof r){if(0!==r)break;s++;const o=i[s++],a=i[s++],l=i[s++];n?t.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=r,a=i[++s];Ci(o)?n&&t.setProperty(e,o,a):n?t.setAttribute(e,o,a):e.setAttribute(o,a),s++}}return s}function Si(t){return 3===t||4===t||6===t}function Ci(t){return 64===t.charCodeAt(0)}function ki(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let i=-1;for(let n=0;n<e.length;n++){const s=e[n];"number"==typeof s?i=s:0===i||Ti(t,i,s,null,-1===i||2===i?e[++n]:null)}}return t}function Ti(t,e,i,n,s){let r=0,o=t.length;if(-1===e)o=-1;else for(;r<t.length;){const i=t[r++];if("number"==typeof i){if(i===e){o=-1;break}if(i>e){o=r-1;break}}}for(;r<t.length;){const e=t[r];if("number"==typeof e)break;if(e===i){if(null===n)return void(null!==s&&(t[r+1]=s));if(n===t[r+1])return void(t[r+2]=s)}r++,null!==n&&r++,null!==s&&r++}-1!==o&&(t.splice(o,0,e),r=o+1),t.splice(r++,0,i),null!==n&&t.splice(r++,0,n),null!==s&&t.splice(r++,0,s)}function Ai(t){return-1!==t}function Ii(t){return 32767&t}function Di(t){return t>>16}function Ri(t,e){let i=Di(t),n=e;for(;i>0;)n=n[15],i--;return n}function Oi(t){return"string"==typeof t?t:null==t?"":""+t}function Pi(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Oi(t)}const Ni=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Dt))();function Fi(t){return{name:"body",target:t.ownerDocument.body}}function Mi(t){return t instanceof Function?t():t}let Li=!0;function ji(t){const e=Li;return Li=t,e}let Bi=0;function Vi(t,e){const i=Hi(t,e);if(-1!==i)return i;const n=e[1];n.firstCreatePass&&(t.injectorIndex=e.length,zi(n.data,t),zi(e,null),zi(n.blueprint,null));const s=$i(t,e),r=t.injectorIndex;if(Ai(s)){const t=Ii(s),i=Ri(s,e),n=i[1].data;for(let s=0;s<8;s++)e[r+s]=i[t+s]|n[t+s]}return e[r+8]=s,r}function zi(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Hi(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function $i(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let i=e[6],n=1;for(;i&&-1===i.injectorIndex;)i=(e=e[15])?e[6]:null,n++;return i?i.injectorIndex|n<<16:-1}function Wi(t,e,i){!function(t,e,i){let n="string"!=typeof i?i[Lt]:i.charCodeAt(0)||0;null==n&&(n=i[Lt]=Bi++);const s=255&n,r=1<<s,o=64&s,a=32&s,l=e.data;128&s?o?a?l[t+7]|=r:l[t+6]|=r:a?l[t+5]|=r:l[t+4]|=r:o?a?l[t+3]|=r:l[t+2]|=r:a?l[t+1]|=r:l[t]|=r}(t,e,i)}function qi(t,e,i,n=at.Default,s){if(null!==t){const s=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t[Lt];return"number"==typeof e&&e>0?255&e:e}(i);if("function"==typeof s){oi(e,t);try{const t=s();if(null!=t||n&at.Optional)return t;throw new Error(`No provider for ${Pi(i)}!`)}finally{ui()}}else if("number"==typeof s){if(-1===s)return new Xi(t,e);let r=null,o=Hi(t,e),a=-1,l=n&at.Host?e[16][6]:null;for((-1===o||n&at.SkipSelf)&&(a=-1===o?$i(t,e):e[o+8],Yi(n,!1)?(r=e[1],o=Ii(a),e=Ri(a,e)):o=-1);-1!==o;){a=e[o+8];const t=e[1];if(Gi(s,o,t.data)){const t=Ui(o,e,i,r,n,l);if(t!==Ki)return t}Yi(n,e[1].data[o+8]===l)&&Gi(s,o,e)?(r=t,o=Ii(a),e=Ri(a,e)):o=-1}}}if(n&at.Optional&&void 0===s&&(s=null),0==(n&(at.Self|at.Host))){const t=e[9],r=Kt(void 0);try{return t?t.get(i,s,n&at.Optional):Gt(i,s,n&at.Optional)}finally{Kt(r)}}if(n&at.Optional)return s;throw new Error(`NodeInjector: NOT_FOUND [${Pi(i)}]`)}const Ki={};
1function Ui(t,e,i,n,s,r){const o=e[1],a=o.data[t+8],l=Zi(a,o,i,null==n?ke(a)&&Li:n!=o&&3===a.type,s&at.Host&&r===a);return null!==l?Qi(e,o,l,a):Ki}function Zi(t,e,i,n,s){const r=t.providerIndexes,o=e.data,a=65535&r,l=t.directiveStart,c=r>>16,h=s?a+c:t.directiveEnd;for(let u=n?a:a+c;u<h;u++){const t=o[u];if(u<l&&i===t||u>=l&&t.type===i)return u}if(s){const t=o[l];if(t&&Ae(t)&&t.type===i)return l}return null}function Qi(t,e,i,n){let s=t[i];const r=e.data;if(s instanceof xi){const o=s;if(o.resolving)throw new Error(`Circular dep for ${Pi(r[i])}`);const a=ji(o.canSeeViewProviders);let l;o.resolving=!0,o.injectImpl&&(l=Kt(o.injectImpl)),oi(t,n);try{s=t[i]=o.factory(void 0,r,t,n),e.firstCreatePass&&i>=n.directiveStart&&function(t,e,i){const{onChanges:n,onInit:s,doCheck:r}=e;n&&((i.preOrderHooks||(i.preOrderHooks=[])).push(t,n),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,n)),s&&(i.preOrderHooks||(i.preOrderHooks=[])).push(-t,s),r&&((i.preOrderHooks||(i.preOrderHooks=[])).push(t,r),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(t,r))}(i,r[i],e)}finally{o.injectImpl&&Kt(l),ji(a),o.resolving=!1,ui()}}return s}function Gi(t,e,i){const n=64&t,s=32&t;let r;return r=128&t?n?s?i[e+7]:i[e+6]:s?i[e+5]:i[e+4]:n?s?i[e+3]:i[e+2]:s?i[e+1]:i[e],!!(r&1<<t)}function Yi(t,e){return!(t&at.Self||t&at.Host&&e)}class Xi{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return qi(this._tNode,this._lView,t,void 0,e)}}function Ji(t){return et(()=>{const e=Object.getPrototypeOf(t.prototype).constructor,i=e[Mt]||function t(e){const i=e;if(Ct(e))return()=>{const e=t(St(i));return e?e():null};let n=we(i);if(null===n){const t=pt(i);n=t&&t.factory}return n||null}(e);return null!==i?i:t=>new t})}function tn(t){return t.ngDebugContext}function en(t){return t.ngOriginalError}function nn(t,...e){t.error(...e)}class sn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),i=this._findContext(t),n=function(t){return t.ngErrorLogger||nn}(t);n(this._console,"ERROR",t),e&&n(this._console,"ORIGINAL ERROR",e),i&&n(this._console,"ERROR CONTEXT",i)}_findContext(t){return t?tn(t)?tn(t):this._findContext(en(t)):null}_findOriginalError(t){let e=en(t);for(;e&&en(e);)e=en(e);return e}}class rn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class on extends rn{getTypeName(){return"HTML"}}class an extends rn{getTypeName(){return"Style"}}class ln extends rn{getTypeName(){return"Script"}}class cn extends rn{getTypeName(){return"URL"}}class hn extends rn{getTypeName(){return"ResourceURL"}}function un(t){return t instanceof rn?t.changingThisBreaksApplicationSecurity:t}function dn(t,e){const i=mn(t);if(null!=i&&i!==e){if("ResourceURL"===i&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${i} (see http://g.co/ng/security#xss)`)}return i===e}function mn(t){return t instanceof rn&&t.getTypeName()||null}let pn=!0,fn=!1;function gn(){return fn=!0,pn}class _n{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");let e=this.inertDocument.body;if(null==e){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),e=this.inertDocument.createElement("body"),t.appendChild(e)}e.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!e.querySelector||e.querySelector("svg")?(e.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=e.querySelector&&e.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(n){return null}const e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);const i=e.response.body;return i.removeChild(i.firstChild),i}getInertBodyElement_DOMParser(t){t="<body><remove></remove>"+t+"</body>";try{const e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}getInertBodyElement_InertDocument(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=t,e;const i=this.inertDocument.createElement("body");return i.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let n=e.length-1;0<n;n--){const i=e.item(n).name;"xmlns:ns1"!==i&&0!==i.indexOf("ns1:")||t.removeAttribute(i)}let i=t.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const yn=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,bn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function vn(t){return(t=String(t)).match(yn)||t.match(bn)?t:(gn()&&console.warn(`WARNING: sanitizing unsafe URL value ${t} (see http://g.co/ng/security#xss)`),"unsafe:"+t)}function wn(t){const e={};for(const i of t.split(","))e[i]=!0;return e}function xn(...t){const e={};for(const i of t)for(const t in i)i.hasOwnProperty(t)&&(e[t]=!0);return e}const En=wn("area,br,col,hr,img,wbr"),Sn=wn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Cn=wn("rp,rt"),kn=xn(Cn,Sn),Tn=xn(En,xn(Sn,wn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),xn(Cn,wn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),kn),An=wn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),In=wn("srcset"),Dn=xn(An,In,wn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
1olspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),wn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Rn=wn("script,style,template");class On{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!Tn.hasOwnProperty(e))return this.sanitizedSomething=!0,!Rn.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=t.attributes;for(let s=0;s<i.length;s++){const t=i.item(s),e=t.name,r=e.toLowerCase();if(!Dn.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let o=t.value;An[r]&&(o=vn(o)),In[r]&&(n=o,o=(n=String(n)).split(",").map(t=>vn(t.trim())).join(", ")),this.buf.push(" ",e,'="',Fn(o),'"')}var n;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Tn.hasOwnProperty(e)&&!En.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(Fn(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Pn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Nn=/([^\#-~ |!])/g;function Fn(t){return t.replace(/&/g,"&amp;").replace(Pn,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Nn,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Mn;function Ln(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const jn=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}(),Bn=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Vn=/^url\(([^)]+)\)$/;function zn(t,e){t.__ngContext__=e}function Hn(t){throw new Error(`Multiple components match node with tagname ${t.tagName}`)}function $n(){throw new Error("Cannot mix multi providers and regular providers")}function Wn(t,e,i){let n=t.length;for(;;){const s=t.indexOf(e,i);if(-1===s)return s;if(0===s||t.charCodeAt(s-1)<=32){const i=e.length;if(s+i===n||t.charCodeAt(s+i)<=32)return s}i=s+1}}function qn(t,e,i){let n=0;for(;n<t.length;){let s=t[n++];if(i&&"class"===s){if(s=t[n],-1!==Wn(s.toLowerCase(),e,0))return!0}else if(1===s){for(;n<t.length&&"string"==typeof(s=t[n++]);)if(s.toLowerCase()===e)return!0;return!1}}return!1}function Kn(t,e,i){return e===(0!==t.type||i?t.tagName:"ng-template")}function Un(t,e,i){let n=4;const s=t.attrs||[],r=function(t){for(let e=0;e<t.length;e++)if(Si(t[e]))return e;return t.length}(s);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&n){if(n=2|1&n,""!==l&&!Kn(t,l,i)||""===l&&1===e.length){if(Zn(n))return!1;o=!0}}else{const c=8&n?l:e[++a];if(8&n&&null!==t.attrs){if(!qn(t.attrs,c,i)){if(Zn(n))return!1;o=!0}continue}const h=Qn(8&n?"class":l,s,0==t.type&&"ng-template"!==t.tagName,i);if(-1===h){if(Zn(n))return!1;o=!0;continue}if(""!==c){let t;t=h>r?"":s[h+1].toLowerCase();const e=8&n?t:null;if(e&&-1!==Wn(e,c,0)||2&n&&c!==t){if(Zn(n))return!1;o=!0}}}}else{if(!o&&!Zn(n)&&!Zn(l))return!1;if(o&&Zn(l))continue;o=!1,n=l|1&n}}return Zn(n)||o}function Zn(t){return 0==(1&t)}function Qn(t,e,i,n){if(null===e)return-1;let s=0;if(n||!i){let i=!1;for(;s<e.length;){const n=e[s];if(n===t)return s;if(3===n||6===n)i=!0;else{if(1===n||2===n){let t=e[++s];for(;"string"==typeof t;)t=e[++s];continue}if(4===n)break;if(0===n){s+=4;continue}}s+=i?1:2}return-1}return function(t,e){let i=t.indexOf(4);if(i>-1)for(i++;i<t.length;){if(t[i]===e)return i;i++}return-1}(e,t)}function Gn(t,e,i=!1){for(let n=0;n<e.length;n++)if(Un(t,e[n],i))return!0;return!1}function Yn(t,e){t:for(let i=0;i<e.length;i++){const n=e[i];if(t.length===n.length){for(let e=0;e<t.length;e++)if(t[e]!==n[e])continue t;return!0}}return!1}function Xn(t,e){return t?":not("+e.trim()+")":e}function Jn(t){let e=t[0],i=1,n=2,s="",r=!1;for(;i<t.length;){let o=t[i];if("string"==typeof o)if(2&n){const e=t[++i];s+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&n?s+="."+o:4&n&&(s+=" "+o);else""===s||Zn(o)||(e+=Xn(r,s),s=""),n=o,r=r||!Zn(n);i++}return""!==s&&(e+=Xn(r,s)),e}const ts={};function es(t){const e=t[3];return Se(e)?e[3]:e}
1function is(t){ns(Ue(),Ke(),mi()+t,Je())}function ns(t,e,i,n){if(!n)if(3==(3&e[2])){const n=t.preOrderCheckHooks;null!==n&&_i(e,n,i)}else{const n=t.preOrderHooks;null!==n&&yi(e,n,0,i)}pi(i)}function ss(t,e){return t<<17|e<<2}function rs(t){return t>>17&32767}function os(t){return 2|t}function as(t){return(131068&t)>>2}function ls(t,e){return-131069&t|e<<2}function cs(t){return 1|t}function hs(t,e){const i=t.contentQueries;if(null!==i)for(let n=0;n<i.length;n+=2){const s=i[n],r=i[n+1];if(-1!==r){const i=t.data[r];ri(s),i.contentQueries(2,e[r],r)}}}function us(t,e,i){return Re(e)?e.createElement(t,i):null===i?e.createElement(t):e.createElementNS(i,t)}function ds(t,e,i,n,s,r,o,a,l,c){const h=e.blueprint.slice();return h[0]=s,h[2]=140|n,$e(h),h[3]=h[15]=t,h[8]=i,h[10]=o||t&&t[10],h[11]=a||t&&t[11],h[12]=l||t&&t[12]||null,h[9]=c||t&&t[9]||null,h[6]=r,h[16]=2==e.type?t[16]:h,h}function ms(t,e,i,n,s,r){const o=i+19,a=t.data[o]||function(t,e,i,n,s,r){const o=Qe(),a=Ye(),l=a?o:o&&o.parent,c=t.data[i]=xs(0,l&&l!==e?l:null,n,i,s,r);return null===t.firstChild&&(t.firstChild=c),o&&(!a||null!=o.child||null===c.parent&&2!==o.type?a||(o.next=c):o.child=c),c}(t,e,o,n,s,r);return Ge(a,!0),a}function ps(t,e,i){ai(e,e[6]);try{const n=t.viewQuery;null!==n&&qs(1,n,i);const s=t.template;null!==s&&_s(t,e,s,1,i),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&hs(t,e),t.staticViewQueries&&qs(2,t.viewQuery,i);const r=t.components;null!==r&&function(t,e){for(let i=0;i<e.length;i++)Vs(t,e[i])}(e,r)}finally{e[2]&=-5,di()}}function fs(t,e,i,n){const s=e[2];if(256==(256&s))return;ai(e,e[6]);const r=Je();try{$e(e),We.lFrame.bindingIndex=t.bindingStartIndex,null!==i&&_s(t,e,i,2,n);const o=3==(3&s);if(!r)if(o){const i=t.preOrderCheckHooks;null!==i&&_i(e,i,null)}else{const i=t.preOrderHooks;null!==i&&yi(e,i,0,null),bi(e,0)}if(function(t){let e=t[13];for(;null!==e;){let i;if(Se(e)&&(i=e[2])>>1==-1){for(let t=9;t<e.length;t++){const i=e[t],n=i[1];ze(i)&&fs(n,i,n.template,i[8])}0!=(1&i)&&js(e,t[16])}e=e[4]}}(e),null!==t.contentQueries&&hs(t,e),!r)if(o){const i=t.contentCheckHooks;null!==i&&_i(e,i)}else{const i=t.contentHooks;null!==i&&yi(e,i,1),bi(e,1)}!function(t,e){try{const i=t.expandoInstructions;if(null!==i){let n=t.expandoStartIndex,s=-1,r=-1;for(let t=0;t<i.length;t++){const o=i[t];"number"==typeof o?o<=0?(r=0-o,pi(r),n+=9+i[++t],s=n):n+=o:(null!==o&&(ni(n,s),o(2,e[s])),s++)}}}finally{pi(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let i=0;i<e.length;i++)Bs(t,e[i])}(e,a);const l=t.viewQuery;if(null!==l&&qs(2,l,n),!r)if(o){const i=t.viewCheckHooks;null!==i&&_i(e,i)}else{const i=t.viewHooks;null!==i&&yi(e,i,2),bi(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),r||(e[2]&=-73)}finally{di()}}function gs(t,e,i,n){const s=e[10],r=!Je(),o=Ve(e);try{r&&!o&&s.begin&&s.begin(),o&&ps(t,e,n),fs(t,e,i,n)}finally{r&&!o&&s.end&&s.end()}}function _s(t,e,i,n,s){const r=mi();try{pi(-1),2&n&&e.length>19&&ns(t,e,0,Je()),i(n,s)}finally{pi(r)}}function ys(t,e,i){qe()&&(function(t,e,i,n){const s=i.directiveStart,r=i.directiveEnd;t.firstCreatePass||Vi(i,e),zn(n,e);const o=i.initialInputs;for(let a=s;a<r;a++){const n=t.data[a],r=Ae(n);r&&Ns(e,i,n);const l=Qi(e,t,a,i);zn(l,e),null!==o&&Fs(0,a-s,l,n,0,o),r&&(je(i.index,e)[8]=l)}}(t,e,i,Fe(i,e)),128==(128&i.flags)&&function(t,e,i){const n=i.directiveStart,s=i.directiveEnd,r=t.expandoInstructions,o=t.firstCreatePass,a=i.index-19;try{pi(a);for(let i=n;i<s;i++){const n=t.data[i],s=e[i];null!==n.hostBindings||0!==n.hostVars||null!==n.hostAttrs?As(n,s):o&&r.push(null)}}finally{pi(-1)}}(t,e,i))}function bs(t,e,i=Fe){const n=e.localNames;if(null!==n){let s=e.index+1;for(let r=0;r<n.length;r+=2){const o=n[r+1],a=-1===o?i(e,t):t[o];t[s++]=a}}}function vs(t){return t.tView||(t.tView=ws(1,-1,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts))}function ws(t,e,i,n,s,r,o,a,l,c){const h=19+n,u=h+s,d=function(t,e){const i=[];for(let n=0;n<e;n++)i.push(n<t?null:ts);return i}(h,u);return d[1]={type:t,id:e,blueprint:d,template:i,queries:null,viewQuery:a,node:null,data:d.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:u,expandoInstructions: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 r?r():r,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:c}}function xs(t,e,i,n,s,r){return{type:i,index:n,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:s,attrs:r,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,residualStyles:void 0,classes:null,residualClasses:void 0,classBindings:0,styleBindings:0}}
1function Es(t,e,i){for(let n in t)if(t.hasOwnProperty(n)){const s=t[n];(i=null===i?{}:i).hasOwnProperty(n)?i[n].push(e,s):i[n]=[e,s]}return i}function Ss(t,e,i,n,s,r,o,a){const l=Fe(e,i);let c,h=e.inputs;var u;!a&&null!=h&&(c=h[n])?(Ys(t,i,c,n,s),ke(e)&&function(t,e){const i=je(e,t);16&i[2]||(i[2]|=64)}(i,e.index)):3===e.type&&(n="class"===(u=n)?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u,s=null!=o?o(s,e.tagName||"",n):s,Re(r)?r.setProperty(l,n,s):Ci(n)||(l.setProperty?l.setProperty(n,s):l[n]=s))}function Cs(t,e,i,n){let s=!1;if(qe()){const r=function(t,e,i){const n=t.directiveRegistry;let s=null;if(n)for(let r=0;r<n.length;r++){const o=n[r];Gn(i,o.selectors,!1)&&(s||(s=[]),Wi(Vi(i,e),t,o.type),Ae(o)?(2&i.flags&&Hn(i),Ds(t,i),s.unshift(o)):s.push(o))}return s}(t,e,i),o=null===n?null:{"":-1};if(null!==r){let n=0;s=!0,Os(i,t.data.length,r.length);for(let t=0;t<r.length;t++){const e=r[t];e.providersResolver&&e.providersResolver(e)}Is(t,i,r.length);let a=!1,l=!1;for(let s=0;s<r.length;s++){const c=r[s];i.mergedAttrs=ki(i.mergedAttrs,c.hostAttrs),Ps(t,e,c),Rs(t.data.length-1,c,o),null!==c.contentQueries&&(i.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(i.flags|=128),!a&&(c.onChanges||c.onInit||c.doCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(i.index-19),a=!0),l||!c.onChanges&&!c.doCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(i.index-19),l=!0),ks(t,c),n+=c.hostVars}!function(t,e){const i=e.directiveEnd,n=t.data,s=e.attrs,r=[];let o=null,a=null;for(let l=e.directiveStart;l<i;l++){const t=n[l],e=t.inputs;r.push(null!==s?Ms(e,s):null),o=Es(e,l,o),a=Es(t.outputs,l,a)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=r,e.inputs=o,e.outputs=a}(t,i),Ts(t,e,n)}o&&function(t,e,i){if(e){const n=t.localNames=[];for(let t=0;t<e.length;t+=2){const s=i[e[t+1]];if(null==s)throw new Error(`Export of name '${e[t+1]}' not found!`);n.push(e[t],s)}}}(i,n,o)}return i.mergedAttrs=ki(i.mergedAttrs,i.attrs),s}function ks(t,e){const i=t.expandoInstructions;i.push(e.hostBindings),0!==e.hostVars&&i.push(e.hostVars)}function Ts(t,e,i){for(let n=0;n<i;n++)e.push(ts),t.blueprint.push(ts),t.data.push(null)}function As(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Is(t,e,i){const n=19-e.index,s=t.data.length-(65535&e.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(n,s,i)}function Ds(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Rs(t,e,i){if(i){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)i[e.exportAs[n]]=t;Ae(e)&&(i[""]=t)}}function Os(t,e,i){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+i,t.providerIndexes=e}function Ps(t,e,i){t.data.push(i);const n=i.factory||(i.factory=we(i.type)),s=new xi(n,Ae(i),null);t.blueprint.push(s),e.push(s)}function Ns(t,e,i){const n=Fe(e,t),s=vs(i),r=t[10],o=zs(t,ds(t,s,null,i.onPush?64:16,n,e,r,r.createRenderer(n,i)));t[e.index]=o}function Fs(t,e,i,n,s,r){const o=r[e];if(null!==o){const t=n.setInput;for(let e=0;e<o.length;){const s=o[e++],r=o[e++],a=o[e++];null!==t?n.setInput(i,a,s,r):i[r]=a}}}function Ms(t,e){let i=null,n=0;for(;n<e.length;){const s=e[n];if(0!==s)if(5!==s){if("number"==typeof s)break;t.hasOwnProperty(s)&&(null===i&&(i=[]),i.push(s,t[s],e[n+1])),n+=2}else n+=2;else n+=4}return i}
1function Ls(t,e,i,n){return new Array(t,!0,-2,e,null,null,n,i,null)}function js(t,e){const i=t[5];for(let n=0;n<i.length;n++){const t=i[n],s=t[3][3][16];if(s!==e&&0==(16&s[2])){const e=t[1];fs(e,t,e.template,t[8])}}}function Bs(t,e){const i=je(e,t);if(ze(i)&&80&i[2]){const t=i[1];fs(t,i,t.template,i[8])}}function Vs(t,e){const i=je(e,t),n=i[1];!function(t,e){for(let i=e.length;i<t.blueprint.length;i++)e.push(t.blueprint[i])}(n,i),ps(n,i,i[8])}function zs(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function Hs(t){for(;t;){t[2]|=64;const e=es(t);if(Ie(t)&&!e)return t;t=e}return null}function $s(t,e,i){const n=e[10];n.begin&&n.begin();try{fs(t,e,t.template,i)}catch(s){throw Gs(e,s),s}finally{n.end&&n.end()}}function Ws(t){!function(t){for(let e=0;e<t.components.length;e++){const i=t.components[e],n=Be(i),s=n[1];gs(s,n,s.template,i)}}(t[8])}function qs(t,e,i){ri(0),e(t,i)}const Ks=(()=>Promise.resolve(null))();function Us(t){return t[7]||(t[7]=[])}function Zs(t){return t.cleanup||(t.cleanup=[])}function Qs(t,e){return function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(e[t.index])[11]}function Gs(t,e){const i=t[9],n=i?i.get(sn,null):null;n&&n.handleError(e)}function Ys(t,e,i,n,s){for(let r=0;r<i.length;){const o=i[r++],a=i[r++],l=e[o],c=t.data[o];null!==c.setInput?c.setInput(l,s,n,a):l[a]=s}}function Xs(t,e){const i=e[3];return-1===t.index?Se(i)?i:null:i}function Js(t,e){const i=Xs(t,e);return i?ur(e[11],i[7]):null}function tr(t,e,i,n,s){if(null!=n){let r,o=!1;Se(n)?r=n:Ee(n)&&(o=!0,n=n[0]);const a=Pe(n);0===t&&null!==i?null==s?cr(e,i,a):lr(e,i,a,s||null):1===t&&null!==i?lr(e,i,a,s||null):2===t?function(t,e,i){const n=ur(t,e);n&&function(t,e,i,n){Re(t)?t.removeChild(e,i,n):e.removeChild(i)}(t,n,e,i)}(e,a,o):3===t&&e.destroyNode(a),null!=r&&function(t,e,i,n,s){const r=i[7];r!==Pe(i)&&tr(e,t,n,r,s);for(let o=9;o<i.length;o++){const s=i[o];gr(s[1],s,t,e,n,r)}}(e,t,r,i,s)}}function er(t,e,i,n){const s=Js(t.node,e);s&&gr(t,e,e[11],i?1:2,s,n)}function ir(t,e){const i=t[5],n=i.indexOf(e);i.splice(n,1)}function nr(t,e){if(t.length<=9)return;const i=9+e,n=t[i];if(n){const s=n[17];null!==s&&s!==t&&ir(s,n),e>0&&(t[i-1][4]=n[4]);const r=ie(t,9+e);er(n[1],n,!1,null);const o=r[5];null!==o&&o.detachView(r[1]),n[3]=null,n[4]=null,n[2]&=-129}return n}function sr(t,e){if(!(256&e[2])){const i=e[11];Re(i)&&i.destroyNode&&gr(t,e,i,3,null,null),function(t){let e=t[13];if(!e)return or(t[1],t);for(;e;){let i=null;if(Ee(e))i=e[13];else{const t=e[9];t&&(i=t)}if(!i){for(;e&&!e[4]&&e!==t;)Ee(e)&&or(e[1],e),e=rr(e,t);null===e&&(e=t),Ee(e)&&or(e[1],e),i=e&&e[4]}e=i}}(e)}}function rr(t,e){let i;return Ee(t)&&(i=t[6])&&2===i.type?Xs(i,t):t[3]===e?null:t[3]}function or(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let i;if(null!=t&&null!=(i=t.destroyHooks))for(let n=0;n<i.length;n+=2){const t=e[i[n]];t instanceof xi||i[n+1].call(t)}}(t,e),function(t,e){const i=t.cleanup;if(null!==i){const t=e[7];for(let n=0;n<i.length-1;n+=2)if("string"==typeof i[n]){const s=i[n+1],r="function"==typeof s?s(e):Pe(e[s]),o=t[i[n+2]],a=i[n+3];"boolean"==typeof a?r.removeEventListener(i[n],o,a):a>=0?t[a]():t[-a].unsubscribe(),n+=2}else i[n].call(t[i[n+1]]);e[7]=null}}(t,e);const i=e[6];i&&3===i.type&&Re(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&Se(e[3])){n!==e[3]&&ir(n,e);const i=e[5];null!==i&&i.detachView(t)}}}function ar(t,e,i){let n=e.parent;for(;null!=n&&(4===n.type||5===n.type);)n=(e=n).parent;if(null==n){const t=i[6];return 2===t.type?Js(t,i):i[0]}if(e&&5===e.type&&4&e.flags)return Fe(e,i).parentNode;if(2&n.flags){const e=t.data,i=e[e[n.index].directiveStart].encapsulation;if(i!==le.ShadowDom&&i!==le.Native)return null}return Fe(n,i)}function lr(t,e,i,n){Re(t)?t.insertBefore(e,i,n):e.insertBefore(i,n,!0)}function cr(t,e,i){Re(t)?t.appendChild(e,i):e.appendChild(i)}function hr(t,e,i,n){null!==n?lr(t,e,i,n):cr(t,e,i)}function ur(t,e){return Re(t)?t.parentNode(e):e.parentNode}function dr(t,e){if(2===t.type){const i=Xs(t,e);return null===i?null:pr(i.indexOf(e,9)-9,i)}return 4===t.type||5===t.type?Fe(t,e):null}function mr(t,e,i,n){const s=ar(t,n,e);if(null!=s){const t=e[11],r=dr(n.parent||e[6],e);if(Array.isArray(i))for(let e=0;e<i.length;e++)hr(t,s,i[e],r);else hr(t,s,i,r)}}function pr(t,e){const i=9+t+1;if(i<e.length){const t=e[i],n=t[1].firstChild;if(null!==n)return function t(e,i){if(null!==i){const n=i.type;if(3===n)return Fe(i,e);if(0===n)return pr(-1,e[i.index]);
1if(4===n||5===n){const n=i.child;if(null!==n)return t(e,n);{const t=e[i.index];return Se(t)?pr(-1,t):Pe(t)}}{const n=e[16],s=n[6],r=es(n),o=s.projection[i.projection];return null!=o?t(r,o):t(e,i.next)}}return null}(t,n)}return e[7]}function fr(t,e,i,n,s,r,o){for(;null!=i;){const a=n[i.index],l=i.type;o&&0===e&&(a&&zn(Pe(a),n),i.flags|=4),64!=(64&i.flags)&&(4===l||5===l?(fr(t,e,i.child,n,s,r,!1),tr(e,t,s,a,r)):1===l?_r(t,e,n,i,s,r):tr(e,t,s,a,r)),i=o?i.projectionNext:i.next}}function gr(t,e,i,n,s,r){fr(i,n,t.node.child,e,s,r,!1)}function _r(t,e,i,n,s,r){const o=i[16],a=o[6].projection[n.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)tr(e,t,s,a[l],r);else fr(t,e,a,o[3],s,r,!0)}function yr(t,e,i){Re(t)?t.setAttribute(e,"style",i):e.style.cssText=i}function br(t,e,i){Re(t)?""===i?t.removeAttribute(e,"class"):t.setAttribute(e,"class",i):e.className=i}class vr{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null}get rootNodes(){const t=this._lView;return null==t[0]?function t(e,i,n,s,r=!1){for(;null!==n;){const o=i[n.index];if(null!==o&&s.push(Pe(o)),Se(o))for(let e=9;e<o.length;e++){const i=o[e],n=i[1].firstChild;null!==n&&t(i[1],i,n,s)}const a=n.type;if(4===a||5===a)t(e,i,n.child,s);else if(1===a){const e=i[16],r=e[6],o=es(e);let a=r.projection[n.projection];null!==a&&null!==o&&t(o[1],o,a,s,!0)}n=r?n.projectionNext:n.next}return s}(t[1],t,t[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}sr(this._lView[1],this._lView)}onDestroy(t){var e,i,n;e=this._lView[1],n=t,Us(i=this._lView).push(n),e.firstCreatePass&&Zs(e).push(i[7].length-1,null)}markForCheck(){Hs(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){$s(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,i){ti(!0);try{$s(t,e,i)}finally{ti(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,gr(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class wr extends vr{constructor(t){super(t),this._view=t}detectChanges(){Ws(this._view)}checkNoChanges(){!function(t){ti(!0);try{Ws(t)}finally{ti(!1)}}(this._view)}get context(){return null}}let xr,Er,Sr;function Cr(t,e,i){return xr||(xr=class extends t{}),new xr(Fe(e,i))}function kr(t,e,i,n){return Er||(Er=class extends t{constructor(t,e,i){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t){const e=this._declarationTContainer.tViews,i=ds(this._declarationView,e,t,16,null,e.node);i[17]=this._declarationView[this._declarationTContainer.index];const n=this._declarationView[5];null!==n&&(i[5]=n.createEmbeddedView(e)),ps(e,i,t);const s=new vr(i);return s._tViewNode=i[6],s}}),0===i.type?new Er(n,i,Cr(e,i,n)):null}function Tr(t,e,i,n){let s;Sr||(Sr=class extends t{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostView=i}get element(){return Cr(e,this._hostTNode,this._hostView)}get injector(){return new Xi(this._hostTNode,this._hostView)}get parentInjector(){const t=$i(this._hostTNode,this._hostView),e=Ri(t,this._hostView),i=function(t,e,i){if(i.parent&&-1!==i.parent.injectorIndex){const t=i.parent.injectorIndex;let e=i.parent;for(;null!=e.parent&&t==e.parent.injectorIndex;)e=e.parent;return e}let n=Di(t),s=e,r=e[6];for(;n>1;)s=s[15],r=s[6],n--;return r}(t,this._hostView,this._hostTNode);return Ai(t)&&null!=i?new Xi(i,e):new Xi(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-9}createEmbeddedView(t,e,i){const n=t.createEmbeddedView(e||{});return this.insert(n,i),n}createComponent(t,e,i,n,s){const r=i||this.parentInjector;if(!s&&null==t.ngModule&&r){const t=r.get(Jt,null);t&&(s=t)}const o=t.create(r,n,void 0,s);return this.insert(o.hostView,e),o}
1insert(t,e){const i=t._lView,n=i[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Se(i[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=i[3],n=new Sr(e,e[6],e[3]);n.detach(n.indexOf(t))}}const s=this._adjustIndex(e);return function(t,e,i,n){const s=9+n,r=i.length;n>0&&(i[s-1][4]=e),n<r-9?(e[4]=i[s],ee(i,9+n,e)):(i.push(e),e[4]=null),e[3]=i;const o=e[17];null!==o&&i!==o&&function(t,e){const i=t[5],n=e[3][3][16];16!=(16&n[2])&&e[16]!==n&&(t[2]|=1),null===i?t[5]=[e]:i.push(e)}(o,e);const a=e[5];null!==a&&a.insertView(t),e[2]|=128}(n,i,this._lContainer,s),er(n,i,!0,pr(s,this._lContainer)),t.attachToViewContainerRef(this),ee(this._lContainer[8],s,t),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(t,e)}indexOf(t){const e=this._lContainer[8];return null!==e?e.indexOf(t):-1}remove(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1);(function(t,e){const i=nr(t,e);i&&sr(i[1],i)})(this._lContainer,e),ie(this._lContainer[8],e)}detach(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),i=nr(this._lContainer,e);return i&&null!=ie(this._lContainer[8],e)?new vr(i):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const r=n[i.index];if(Se(r))s=r,function(t,e){t[2]=-2}(s);else{let t;if(4===i.type)t=Pe(r);else if(t=n[11].createComment(""),Ie(n)){const e=n[11],s=Fe(i,n);lr(e,ur(e,s),t,function(t,e){return Re(t)?t.nextSibling(e):e.nextSibling}(e,s))}else mr(n[1],n,t,i);n[i.index]=s=Ls(r,n,t,i),zs(n,s)}return new Sr(s,i,n)}function Ar(t=!1){return function(t,e,i){if(!i&&ke(t)){const i=je(t.index,e);return new vr(i,i)}return 3===t.type||0===t.type||4===t.type||5===t.type?new vr(e[16],e):null}(Qe(),Ke(),t)}let Ir=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Dr(),t})();const Dr=Ar,Rr=new jt("Set Injector scope."),Or={},Pr={},Nr=[];let Fr=void 0;function Mr(){return void 0===Fr&&(Fr=new Xt),Fr}function Lr(t,e=null,i=null,n){return new jr(t,i,e||Mr(),n)}class jr{constructor(t,e,i,n=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];e&&te(e,i=>this.processProvider(i,t,e)),te([t],t=>this.processInjectorType(t,[],s)),this.records.set(Bt,zr(void 0,this));const r=this.records.get(Rr);this.scope=null!=r?r.value:null,this.source=n||("object"==typeof t?null:vt(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=Vt,i=at.Default){this.assertNotDestroyed();const n=qt(this);try{if(!(i&at.SkipSelf)){let e=this.records.get(t);if(void 0===e){const i=("function"==typeof(s=t)||"object"==typeof s&&s instanceof jt)&&dt(t);e=i&&this.injectableDefInScope(i)?zr(Br(t),Or):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(i&at.Self?Mr():this.parent).get(t,e=i&at.Optional&&e===Vt?null:e)}catch(r){if("NullInjectorError"===r.name){if((r.ngTempTokenPath=r.ngTempTokenPath||[]).unshift(vt(t)),n)throw r;return function(t,e,i,n){const s=t.ngTempTokenPath;throw e.__source&&s.unshift(e.__source),t.message=function(t,e,i,n=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=vt(e);if(Array.isArray(e))s=e.map(vt).join(" -> ");else if("object"==typeof e){let t=[];for(let i in e)if(e.hasOwnProperty(i)){let n=e[i];t.push(i+":"+("string"==typeof n?JSON.stringify(n):vt(n)))}s=`{${t.join(", ")}}`}return`${i}${n?"("+n+")":""}[${s}]: ${t.replace(zt,"\n  ")}`}("\n"+t.message,s,i,n),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(r,t,"R3InjectorError",this.source)}throw r}finally{qt(n)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,i)=>t.push(vt(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,i){if(!(t=St(t)))return!1;let n=pt(t);const s=null==n&&t.ngModule||void 0,r=void 0===s?t:s,o=-1!==i.indexOf(r);if(void 0!==s&&(n=pt(s)),null==n)return!1;if(null!=n.imports&&!o){let t;i.push(r);try{te(n.imports,n=>{this.processInjectorType(n,e,i)&&(void 0===t&&(t=[]),t.push(n))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:i,providers:n}=t[e];te(n,t=>this.processProvider(t,i,n||Nr))}}this.injectorDefTypes.add(r),this.records.set(r,zr(n.factory,Or));const a=n.providers;if(null!=a&&!o){const e=t;te(a,t=>this.processProvider(t,e,a))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,i){let n=$r(t=St(t))?t:St(t&&t.provide);
1const s=function(t,e,i){return Hr(t)?zr(void 0,t.useValue):zr(Vr(t,e,i),Or)}(t,e,i);if($r(t)||!0!==t.multi){const t=this.records.get(n);t&&void 0!==t.multi&&$n()}else{let e=this.records.get(n);e?void 0===e.multi&&$n():(e=zr(void 0,Or,!0),e.factory=()=>Yt(e.multi),this.records.set(n,e)),n=t,e.multi.push(t)}this.records.set(n,s)}hydrate(t,e){var i;return e.value===Pr?function(t){throw new Error(`Cannot instantiate cyclic dependency! ${t}`)}(vt(t)):e.value===Or&&(e.value=Pr,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(i=e.value)&&"object"==typeof i&&"function"==typeof i.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function Br(t){const e=dt(t),i=null!==e?e.factory:we(t);if(null!==i)return i;const n=pt(t);if(null!==n)return n.factory;if(t instanceof jt)throw new Error(`Token ${vt(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const i=ne(e,"?");throw new Error(`Can't resolve all parameters for ${vt(t)}: (${i.join(", ")}).`)}const i=function(t){const e=t&&(t[ft]||t[yt]||t[_t]&&t[_t]());if(e){const i=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${i}" that inherits its @Injectable decorator but does not provide one itself.\n`+`This will become an error in v10. Please add @Injectable() to the "${i}" class.`),e}return null}(t);return null!==i?()=>i.factory(t):()=>new t}(t);throw new Error("unreachable")}function Vr(t,e,i){let n=void 0;if($r(t)){const e=St(t);return we(e)||Br(e)}if(Hr(t))n=()=>St(t.useValue);else if((s=t)&&s.useFactory)n=()=>t.useFactory(...Yt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))n=()=>Zt(St(t.useExisting));else{const s=St(t&&(t.useClass||t.provide));if(s||function(t,e,i){let n="";throw t&&e&&(n=` - only instances of Provider and Type are allowed, got: [${e.map(t=>t==i?"?"+i+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${vt(t)}'`+n)}(e,i,t),!function(t){return!!t.deps}(t))return we(s)||Br(s);n=()=>new s(...Yt(t.deps))}var s;return n}function zr(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function Hr(t){return null!==t&&"object"==typeof t&&Ht in t}function $r(t){return"function"==typeof t}const Wr=function(t,e,i){return function(t,e=null,i=null,n){const s=Lr(t,e,i,n);return s._resolveInjectorDefTypes(),s}({name:i},e,t,i)};let qr=(()=>{class t{static create(t,e){return Array.isArray(t)?Wr(t,e,""):Wr(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Vt,t.NULL=new Xt,t.\u0275prov=ht({token:t,providedIn:"any",factory:()=>Zt(Bt)}),t.__NG_ELEMENT_ID__=-1,t})(),Kr=new Map;const Ur=new Set;function Zr(t){return"string"==typeof t?t:t.text()}function Qr(t,e){let i=t.styles,n=t.classes,s=0;for(let r=0;r<e.length;r++){const t=e[r];"number"==typeof t?s=t:1==s?n=wt(n,t):2==s&&(i=wt(i,t+": "+e[++r]+";"))}null!==i&&(t.styles=i),null!==n&&(t.classes=n)}let Gr=null;function Yr(){if(!Gr){const t=Dt.Symbol;if(t&&t.iterator)Gr=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const i=t[e];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Gr=i)}}}return Gr}function Xr(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}class Jr{constructor(t){this.wrapped=t}static wrap(t){return new Jr(t)}static unwrap(t){return Jr.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof Jr}}function to(t){return!!eo(t)&&(Array.isArray(t)||!(t instanceof Map)&&Yr()in t)}function eo(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function io(t,e,i){return t[e]=i}function no(t,e,i){return!Object.is(t[e],i)&&(t[e]=i,!0)}function so(t,e,i,n){const s=Ke();return no(s,ii(),e)&&(Ue(),function(t,e,i,n,s,r){const o=Fe(t,e),a=e[11];if(null==n)Re(a)?a.removeAttribute(o,i,r):o.removeAttribute(i);else{const e=null==s?Oi(n):s(n,t.tagName||"",i);
1Re(a)?a.setAttribute(o,i,e,r):r?o.setAttributeNS(r,i,e):o.setAttribute(i,e)}}(fi(),s,t,e,i,n)),so}function ro(t,e,i,n,s,r,o,a){const l=Ke(),c=Ue(),h=t+19,u=c.firstCreatePass?function(t,e,i,n,s,r,o,a,l){const c=e.consts,h=ms(e,i[6],t,0,o||null,He(c,a));Cs(e,i,h,He(c,l)),gi(e,h);const u=h.tViews=ws(2,-1,n,s,r,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c),d=xs(0,null,2,-1,null,null);return d.injectorIndex=h.injectorIndex,u.node=d,null!==e.queries&&(e.queries.template(e,h),u.queries=e.queries.embeddedTView(h)),h}(t,c,l,e,i,n,s,r,o):c.data[h];Ge(u,!1);const d=l[11].createComment("");mr(c,l,d,u),zn(d,l),zs(l,l[h]=Ls(d,l,d,u)),Te(u)&&ys(c,l,u),null!=o&&bs(l,u,a)}function oo(t){return Le(We.lFrame.contextLView,t)}function ao(t,e=at.Default){const i=Ke();return null==i?Zt(t,e):qi(Qe(),i,St(t),e)}function lo(t,e,i){const n=Ke();return no(n,ii(),e)&&Ss(Ue(),fi(),n,t,e,n[11],i,!1),lo}function co(t,e,i,n,s){const r=s?"class":"style";Ys(t,i,e.inputs[r],r,n)}function ho(t,e,i,n){const s=Ke(),r=Ue(),o=19+t,a=s[11],l=s[o]=us(e,a,We.lFrame.currentNamespace),c=r.firstCreatePass?function(t,e,i,n,s,r,o){const a=e.consts,l=He(a,r),c=ms(e,i[6],t,3,s,l);return Cs(e,i,c,He(a,o)),null!==c.mergedAttrs&&Qr(c,c.mergedAttrs),null!==e.queries&&e.queries.elementStart(e,c),c}(t,r,s,0,e,i,n):r.data[o];Ge(c,!0);const h=c.mergedAttrs;null!==h&&Ei(a,l,h);const u=c.classes;null!==u&&br(a,l,u);const d=c.styles;null!==d&&yr(a,l,d),mr(r,s,l,c),0===We.lFrame.elementDepthCount&&zn(l,s),We.lFrame.elementDepthCount++,Te(c)&&(ys(r,s,c),function(t,e,i){if(Ce(e)){const n=e.directiveEnd;for(let s=e.directiveStart;s<n;s++){const e=t.data[s];e.contentQueries&&e.contentQueries(1,i[s],s)}}}(r,c,s)),null!==n&&bs(s,c)}function uo(){let t=Qe();Ye()?Xe():(t=t.parent,Ge(t,!1));const e=t;We.lFrame.elementDepthCount--;const i=Ue();i.firstCreatePass&&(gi(i,t),Ce(t)&&i.queries.elementEnd(t)),null!==e.classes&&function(t){return 0!=(16&t.flags)}(e)&&co(i,e,Ke(),e.classes,!0),null!==e.styles&&function(t){return 0!=(32&t.flags)}(e)&&co(i,e,Ke(),e.styles,!1)}function mo(t,e,i,n){ho(t,e,i,n),uo()}function po(){return Ke()}function fo(t){return!!t&&"function"==typeof t.then}function go(t,e,i=!1,n){const s=Ke(),r=Ue(),o=Qe();return yo(r,s,s[11],o,t,e,i,n),go}function _o(t,e,i=!1,n){const s=Qe(),r=Ke(),o=Qs(s,r);return yo(Ue(),r,o,s,t,e,i,n),_o}function yo(t,e,i,n,s,r,o=!1,a){const l=Te(n),c=t.firstCreatePass&&(t.cleanup||(t.cleanup=[])),h=Us(e);let u=!0;if(3===n.type){const d=Fe(n,e),m=a?a(d):ce,p=m.target||d,f=h.length,g=a?t=>a(Pe(t[n.index])).target:n.index;if(Re(i)){let o=null;if(!a&&l&&(o=function(t,e,i,n){const s=t.cleanup;if(null!=s)for(let r=0;r<s.length-1;r+=2){const t=s[r];if(t===i&&s[r+1]===n){const t=e[7],i=s[r+2];return t.length>i?t[i]:null}"string"==typeof t&&(r+=2)}return null}(t,e,s,n.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=r,o.__ngLastListenerFn__=r,u=!1;else{r=vo(n,e,r,!1);const t=i.listen(m.name||p,s,r);h.push(r,t),c&&c.push(s,g,f,f+1)}}else r=vo(n,e,r,!0),p.addEventListener(s,r,o),h.push(r),c&&c.push(s,g,f,o)}const d=n.outputs;let m;if(u&&null!==d&&(m=d[s])){const t=m.length;if(t)for(let i=0;i<t;i+=2){const t=e[m[i]][m[i+1]].subscribe(r),o=h.length;h.push(r,t),c&&c.push(s,n.index,o,-(o+1))}}}function bo(t,e,i){try{return!1!==e(i)}catch(n){return Gs(t,n),!1}}function vo(t,e,i,n){return function s(r){if(r===Function)return i;const o=2&t.flags?je(t.index,e):e;0==(32&e[2])&&Hs(o);let a=bo(e,i,r),l=s.__ngNextListenerFn__;for(;l;)a=bo(e,l,r)&&a,l=l.__ngNextListenerFn__;return n&&!1===a&&(r.preventDefault(),r.returnValue=!1),a}}function wo(t=1){return function(t){return(We.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,We.lFrame.contextLView))[8]}(t)}function xo(t,e){let i=null;const n=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let s=0;s<e.length;s++){const r=e[s];if("*"!==r){if(null===n?Gn(t,r,!0):Yn(n,r))return s}else i=s}return i}function Eo(t){const e=Ke()[16][6];if(!e.projection){const i=e.projection=ne(t?t.length:1,null),n=i.slice();let s=e.child;for(;null!==s;){const e=t?xo(s,t):0;null!==e&&(n[e]?n[e].projectionNext=s:i[e]=s,n[e]=s),s=s.next}}}function So(t,e=0,i){const n=Ke(),s=Ue(),r=ms(s,n[6],t,1,null,i||null);
1null===r.projection&&(r.projection=e),Xe(),function(t,e,i){_r(e[11],0,e,i,ar(t,i,e),dr(i.parent||e[6],e))}(s,n,r)}const Co=[];function ko(t,e,i,n,s){const r=t[i+1],o=null===e;let a=n?rs(r):as(r),l=!1;for(;0!==a&&(!1===l||o);){const i=t[a+1];To(t[a],e)&&(l=!0,t[a+1]=n?cs(i):os(i)),a=n?rs(i):as(i)}l&&(t[i+1]=n?os(r):cs(r))}function To(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&oe(t,e)>=0}function Ao(t,e,i){return Do(t,e,i,!1),Ao}function Io(t,e){return Do(t,e,null,!0),Io}function Do(t,e,i,n){const s=Ke(),r=Ue(),o=function(t){const e=We.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+2,i}();if(r.firstUpdatePass&&function(t,e,i,n){const s=t.data;if(null===s[i+1]){const r=s[mi()+19],o=function(t,e){return e>=t.expandoStartIndex}(t,i);(function(t,e){return 0!=(t.flags&(e?16:32))})(r,n)&&null===e&&!o&&(e=!1),e=function(t,e,i,n){const s=function(t){const e=We.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let r=n?e.residualClasses:e.residualStyles;if(null===s)0===(n?e.classBindings:e.styleBindings)&&(i=Oo(i=Ro(null,t,e,i,n),e.attrs,n),r=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==s)if(i=Ro(s,t,e,i,n),null===r){let i=function(t,e,i){const n=i?e.classBindings:e.styleBindings;if(0!==as(n))return t[rs(n)]}(t,e,n);void 0!==i&&Array.isArray(i)&&(i=Ro(null,t,e,i[1],n),i=Oo(i,e.attrs,n),function(t,e,i,n){t[rs(i?e.classBindings:e.styleBindings)]=n}(t,e,n,i))}else r=function(t,e,i){let n=void 0;const s=e.directiveEnd;for(let r=1+e.directiveStylingLast;r<s;r++)n=Oo(n,t[r].hostAttrs,i);return Oo(n,e.attrs,i)}(t,e,n)}return void 0!==r&&(n?e.residualClasses=r:e.residualStyles=r),i}(s,r,e,n),function(t,e,i,n,s,r){let o=r?e.classBindings:e.styleBindings,a=rs(o),l=as(o);t[n]=i;let c,h=!1;if(Array.isArray(i)){const t=i;c=t[1],(null===c||oe(t,c)>0)&&(h=!0)}else c=i;if(s)if(0!==l){const e=rs(t[a+1]);t[n+1]=ss(e,a),0!==e&&(t[e+1]=ls(t[e+1],n)),t[a+1]=131071&t[a+1]|n<<17}else t[n+1]=ss(a,0),0!==a&&(t[a+1]=ls(t[a+1],n)),a=n;else t[n+1]=ss(l,0),0===a?a=n:t[l+1]=ls(t[l+1],n),l=n;h&&(t[n+1]=os(t[n+1])),ko(t,c,n,!0),ko(t,c,n,!1),function(t,e,i,n,s){const r=s?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof e&&oe(r,e)>=0&&(i[n+1]=cs(i[n+1]))}(e,c,t,n,r),o=ss(a,l),r?e.classBindings=o:e.styleBindings=o}(s,r,e,i,o,n)}}(r,t,o,n),e!==ts&&no(s,o,e)){let a;null==i&&(a=function(){const t=We.lFrame;return null===t?null:t.currentSanitizer}())&&(i=a),function(t,e,i,n,s,r,o,a){if(3!==e.type)return;const l=t.data,c=l[a+1];No(1==(1&c)?Po(l,e,i,s,as(c),o):void 0)||(No(r)||function(t){return 2==(2&t)}(c)&&(r=Po(l,null,i,s,a,o)),function(t,e,i,n,s){const r=Re(t);if(e)s?r?t.addClass(i,n):i.classList.add(n):r?t.removeClass(i,n):i.classList.remove(n);else{const e=-1==n.indexOf("-")?void 0:2;null==s?r?t.removeStyle(i,n,e):i.style.removeProperty(n):r?t.setStyle(i,n,s,e):i.style.setProperty(n,s)}}(n,o,Ne(mi(),i),s,r))}(r,r.data[mi()+19],s,s[11],t,s[o+1]=function(t,e){return null==t||("function"==typeof e?t=e(t):"string"==typeof e?t+=e:"object"==typeof t&&(t=vt(un(t)))),t}(e,i),n,o)}}function Ro(t,e,i,n,s){let r=null;const o=i.directiveEnd;let a=i.directiveStylingLast;for(-1===a?a=i.directiveStart:a++;a<o&&(r=e[a],n=Oo(n,r.hostAttrs,s),r!==t);)a++;return null!==t&&(i.directiveStylingLast=a),n}function Oo(t,e,i){const n=i?1:2;let s=-1;if(null!==e)for(let r=0;r<e.length;r++){const o=e[r];"number"==typeof o?s=o:s===n&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),se(t,o,!!i||e[++r]))}return void 0===t?null:t}function Po(t,e,i,n,s,r){const o=null===e;let a=void 0;for(;s>0;){const e=t[s],r=Array.isArray(e),l=r?e[1]:e,c=null===l;let h=i[s+1];h===ts&&(h=c?Co:void 0);let u=c?re(h,n):l===n?h:void 0;if(r&&!No(u)&&(u=re(e,n)),No(u)&&(a=u,o))return a;const d=t[s+1];s=o?rs(d):as(d)}if(null!==e){let t=r?e.residualClasses:e.residualStyles;null!=t&&(a=re(t,n))}return a}function No(t){return void 0!==t}function Fo(t,e=""){const i=Ke(),n=Ue(),s=t+19,r=n.firstCreatePass?ms(n,i[6],t,3,null,null):n.data[s],o=i[s]=function(t,e){return Re(e)?e.createText(t):e.createTextNode(t)}(e,i[11]);mr(n,i,o,r),Ge(r,!1)}function Mo(t){return Lo("",t,""),Mo}
1function Lo(t,e,i){const n=Ke(),s=function(t,e,i,n){return no(t,ii(),i)?e+Oi(i)+n:ts}(n,t,e,i);return s!==ts&&function(t,e,i){const n=Ne(e,t),s=t[11];Re(s)?s.setValue(n,i):n.textContent=i}(n,mi(),s),Lo}function jo(t,e,i){const n=Ke();if(no(n,ii(),e)){const s=Ue(),r=fi();Ss(s,r,n,t,e,Qs(r,n),i,!0)}return jo}function Bo(t,e){const i=Be(t)[1],n=i.data.length-1;gi(i,{directiveStart:n,directiveEnd:n+1})}function Vo(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,i=!0;const n=[t];for(;e;){let s=void 0;if(Ae(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(i){n.push(s);const e=t;e.inputs=zo(t.inputs),e.declaredInputs=zo(t.declaredInputs),e.outputs=zo(t.outputs);const i=s.hostBindings;i&&Wo(t,i);const r=s.viewQuery,o=s.contentQueries;if(r&&Ho(t,r),o&&$o(t,o),ct(t.inputs,s.inputs),ct(t.declaredInputs,s.declaredInputs),ct(t.outputs,s.outputs),Ae(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}e.afterContentChecked=e.afterContentChecked||s.afterContentChecked,e.afterContentInit=t.afterContentInit||s.afterContentInit,e.afterViewChecked=t.afterViewChecked||s.afterViewChecked,e.afterViewInit=t.afterViewInit||s.afterViewInit,e.doCheck=t.doCheck||s.doCheck,e.onDestroy=t.onDestroy||s.onDestroy,e.onInit=t.onInit||s.onInit}const e=s.features;if(e)for(let n=0;n<e.length;n++){const s=e[n];s&&s.ngInherit&&s(t),s===Vo&&(i=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,i=null;for(let n=t.length-1;n>=0;n--){const s=t[n];s.hostVars=e+=s.hostVars,s.hostAttrs=ki(s.hostAttrs,i=ki(i,s.hostAttrs))}}(n)}function zo(t){return t===ce?{}:t===he?[]:t}function Ho(t,e){const i=t.viewQuery;t.viewQuery=i?(t,n)=>{e(t,n),i(t,n)}:e}function $o(t,e){const i=t.contentQueries;t.contentQueries=i?(t,n,s)=>{e(t,n,s),i(t,n,s)}:e}function Wo(t,e){const i=t.hostBindings;t.hostBindings=i?(t,n)=>{e(t,n),i(t,n)}:e}class qo{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Ko(t){t.type.prototype.ngOnChanges&&(t.setInput=Uo,t.onChanges=function(){const t=Zo(this),e=t&&t.current;if(e){const i=t.previous;if(i===ce)t.previous=e;else for(let t in e)i[t]=e[t];t.current=null,this.ngOnChanges(e)}})}function Uo(t,e,i,n){const s=Zo(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:ce,current:null}),r=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[i],l=o[a];r[a]=new qo(l&&l.currentValue,e,o===ce),t[n]=e}function Zo(t){return t.__ngSimpleChanges__||null}function Qo(t,e,i,n,s){if(t=St(t),Array.isArray(t))for(let r=0;r<t.length;r++)Qo(t[r],e,i,n,s);else{const r=Ue(),o=Ke();let a=$r(t)?t:St(t.provide),l=Vr(t);const c=Qe(),h=65535&c.providerIndexes,u=c.directiveStart,d=c.providerIndexes>>16;if($r(t)||!t.multi){const n=new xi(l,s,ao),m=Xo(a,e,s?h:h+d,u);-1===m?(Wi(Vi(c,o),r,a),Go(r,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=65536),i.push(n),o.push(n)):(i[m]=n,o[m]=n)}else{const m=Xo(a,e,h+d,u),p=Xo(a,e,h,h+d),f=m>=0&&i[m],g=p>=0&&i[p];if(s&&!g||!s&&!f){Wi(Vi(c,o),r,a);const h=function(t,e,i,n,s){const r=new xi(t,i,ao);return r.multi=[],r.index=e,r.componentProviders=0,Yo(r,s,n&&!i),r}(s?ta:Jo,i.length,s,n,l);!s&&g&&(i[p].providerFactory=h),Go(r,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=65536),i.push(h),o.push(h)}else Go(r,t,m>-1?m:p),Yo(i[s?p:m],l,!s&&n);!s&&n&&g&&i[p].componentProviders++}}}function Go(t,e,i){if($r(e)||e.useClass){const n=(e.useClass||e).prototype.ngOnDestroy;n&&(t.destroyHooks||(t.destroyHooks=[])).push(i,n)}}function Yo(t,e,i){t.multi.push(e),i&&t.componentProviders++}function Xo(t,e,i,n){for(let s=i;s<n;s++)if(e[s]===t)return s;return-1}function Jo(t,e,i,n){return ea(this.multi,[])}function ta(t,e,i,n){const s=this.multi;let r;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=Qi(i,i[1],this.providerFactory.index,n);r=e.slice(0,t),ea(s,r);for(let i=t;i<e.length;i++)r.push(e[i])}else r=[],ea(s,r);return r}function ea(t,e){for(let i=0;i<t.length;i++)e.push((0,t[i])());return e}function ia(t,e=[]){return i=>{i.providersResolver=(i,n)=>
1function(t,e,i){const n=Ue();if(n.firstCreatePass){const s=Ae(t);Qo(i,n.data,n.blueprint,s,!0),Qo(e,n.data,n.blueprint,s,!1)}}(i,n?n(t):t,e)}}Ko.ngInherit=!0;class na{}class sa{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${vt(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let ra=(()=>{class t{}return t.NULL=new sa,t})(),oa=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>aa(t),t})();const aa=function(t){return Cr(t,Qe(),Ke())};class la{}const ca=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();let ha=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ua(),t})();const ua=function(){const t=Ke(),e=je(Qe().index,t);return function(t){const e=t[11];if(Re(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Ee(e)?e:t)};let da=(()=>{class t{}return t.\u0275prov=ht({token:t,providedIn:"root",factory:()=>null}),t})();class ma{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const pa=new ma("9.1.0");class fa{constructor(){}supports(t){return to(t)}create(t){return new _a(t)}}const ga=(t,e)=>e;class _a{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||ga}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,n=0,s=null;for(;e||i;){const r=!i||e&&e.currentIndex<wa(i,n,s)?e:i,o=wa(r,n,s),a=r.currentIndex;if(r===i)n--,i=i._nextRemoved;else if(e=e._next,null==r.previousIndex)n++;else{s||(s=[]);const t=o-n,e=a-n;if(t!=e){for(let i=0;i<t;i++){const n=i<s.length?s[i]:s[i]=0,r=n+i;e<=r&&r<t&&(s[i]=n+1)}s[r.previousIndex]=e-t}}o!==a&&t(r,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!to(t))throw new Error(`Error trying to diff '${vt(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,i,n,s=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)i=t[e],n=this._trackByFn(e,i),null!==s&&Xr(s.trackById,n)?(r&&(s=this._verifyReinsertion(s,i,n,e)),Xr(s.item,i)||this._addIdentityChange(s,i)):(s=this._mismatch(s,i,n,e),r=!0),s=s._next}else e=0,function(t,e){if(Array.isArray(t))for(let i=0;i<t.length;i++)e(t[i]);else{const i=t[Yr()]();let n;for(;!(n=i.next()).done;)e(n.value)}}(t,t=>{n=this._trackByFn(e,t),null!==s&&Xr(s.trackById,n)?(r&&(s=this._verifyReinsertion(s,t,n,e)),Xr(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,n,e),r=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,n){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,n))?(Xr(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,n)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Xr(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,n)):t=this._addAfter(new ya(e,i),s,n),t}
vendor: 4,320 bytes, line 1
1_verifyReinsertion(t,e,i,n){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?t=this._reinsertAfter(s,t._prev,n):t.currentIndex!=n&&(t.currentIndex=n,this._addToMoves(t,n)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const n=t._prevRemoved,s=t._nextRemoved;return null===n?this._removalsHead=s:n._nextRemoved=s,null===s?this._removalsTail=n:s._prevRemoved=n,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const n=null===e?this._itHead:e._next;return t._next=n,t._prev=e,null===n?this._itTail=t:n._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new va),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new va),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class ya{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class ba{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Xr(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class va{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new ba,this.map.set(e,i)),i.add(t)}get(t,e){const i=this.map.get(t);return i?i.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function wa(t,e,i){const n=t.previousIndex;if(null===n)return n;let s=0;return i&&n<i.length&&(s=i[n]),n+e+s}class xa{constructor(){}supports(t){return t instanceof Map||eo(t)}create(){return new Ea}}class Ea{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;
vendor: 4,334 bytes, line 1
1e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||eo(t)))throw new Error(`Error trying to diff '${vt(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,i)=>{if(e&&e.key===i)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const n=this._getOrCreateRecordForKey(i,t);e=this._insertBeforeOrAppend(e,n)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,e);const n=i._prev,s=i._next;return n&&(n._next=s),s&&(s._prev=n),i._next=null,i._prev=null,i}const i=new Sa(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Xr(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class Sa{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let Ca=(()=>{class t{constructor(t){this.factories=t}static create(e,i){if(null!=i){const t=i.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>{if(!i)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,i)},deps:[[t,new ot,new st]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${i=t,i.name||typeof i}'`);var i}}return t.\u0275prov=ht({token:t,providedIn:"root",factory:()=>new t([new fa])}),t})(),ka=(()=>{class t{constructor(t){this.factories=t}static create(e,i){if(i){const t=i.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>{if(!i)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,i)},deps:[[t,new ot,new st]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=ht({token:t,providedIn:"root",factory:()=>new t([new xa])}),t})();const Ta=[new xa],Aa=new Ca([new fa]),Ia=new ka(Ta);let Da=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ra(t,oa),t})();const Ra=function(t,e){return kr(t,e,Qe(),Ke())};let Oa=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Pa(t,oa),t})();const Pa=function(t,e){return Tr(t,e,Qe(),Ke())},Na={};class Fa extends ra{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=ve(t);return new ja(e,this.ngModule)}}function Ma(t){const e=[];for(let i in t)t.hasOwnProperty(i)&&e.push({propName:t[i],templateName:i});return e}const La=new jt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Ni});
1class ja extends na{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Jn).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Ma(this.componentDef.inputs)}get outputs(){return Ma(this.componentDef.outputs)}create(t,e,i,n){const s=(n=n||this.ngModule)?function(t,e){return{get:(i,n,s)=>{const r=t.get(i,Na,s);return r!==Na||n===Na?r:e.get(i,n,s)}}}(t,n.injector):t,r=s.get(la,Oe),o=s.get(da,null),a=r.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=i?function(t,e,i){if(Re(t))return t.selectRootElement(e,i===le.ShadowDom);let n="string"==typeof e?t.querySelector(e):e;return n.textContent="",n}(a,i,this.componentDef.encapsulation):us(l,r.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),h=this.componentDef.onPush?576:528,u="string"==typeof i&&/^#root-ng-internal-isolated-\d+/.test(i),d={components:[],scheduler:Ni,clean:Ks,playerHandler:null,flags:0},m=ws(0,-1,null,1,0,null,null,null,null,null),p=ds(null,m,d,h,null,null,r,a,o,s);let f,g;ai(p,null);try{const t=function(t,e,i,n,s,r){const o=i[1];i[19]=t;const a=ms(o,null,0,3,null,null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Qr(a,l),null!==t&&(Ei(s,t,l),null!==a.classes&&br(s,t,a.
1classes),null!==a.styles&&yr(s,t,a.styles)));const c=n.createRenderer(t,e),h=ds(i,vs(e),null,e.onPush?64:16,i[19],a,n,c,void 0);return o.firstCreatePass&&(Wi(Vi(a,i),o,e.type),Ds(o,a),Os(a,i.length,1)),zs(i,h),i[19]=h}(c,this.componentDef,p,r,a);if(c)if(i)Ei(a,c,["ng-version",pa.full]);else{const{attrs:t,classes:e}=function(t){const e=[],i=[];let n=1,s=2;for(;n<t.length;){let r=t[n];if("string"==typeof r)2===s?""!==r&&e.push(r,t[++n]):8===s&&i.push(r);else{if(!Zn(s))break;s=r}n++}return{attrs:e,classes:i}}(this.componentDef.selectors[0]);t&&Ei(a,c,t),e&&e.length>0&&br(a,c,e.join(" "))}g=Me(p[1],0),e&&(g.projection=e.map(t=>Array.from(t))),f=function(t,e,i,n,s){const r=i[1],o=function(t,e,i){const n=Qe();t.firstCreatePass&&(i.providersResolver&&i.providersResolver(i),Is(t,n,1),Ps(t,e,i));const s=Qi(e,t,e.length-1,n);zn(s,e);const r=Fe(n,e);return r&&zn(r,e),s}(r,i,e);n.components.push(o),t[8]=o,s&&s.forEach(t=>t(o,e)),e.contentQueries&&e.contentQueries(1,o,i.length-1);const a=Qe();if(r.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){pi(a.index-19);const t=i[1];ks(t,e),Ts(t,i,e.hostVars),As(e,o)}return o}(t,this.componentDef,p,d,[Bo]),ps(m,p,null)}finally{di()}const _=new Ba(this.componentType,f,Cr(oa,g,p),p,g);return i&&!u||(_.hostView._tViewNode.child=g),_}}class Ba extends class{}{constructor(t,e,i,n,s){super(),this.location=i,this._rootLView=n,this._tNode=s,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new wr(n),this.hostView._tViewNode=function(t,e,i,n){let s=t.node;return null==s&&(t.node=s=xs(0,null,2,-1,null,null)),n[6]=s}(n[1],0,0,n),this.componentType=t}get injector(){return new Xi(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const Va=void 0;var za=["en",[["a","p"],["AM","PM"],Va],[["AM","PM"],Va,Va],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Va,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Va,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Va,"{1} 'at' {0}",Va],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let Ha={};function $a(t){return t in Ha||(Ha[t]=Dt.ng&&Dt.ng.common&&Dt.ng.common.locales&&Dt.ng.common.locales[t]),Ha[t]}const Wa=function(){var t={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};return t[t.LocaleId]="LocaleId",t[t.DayPeriodsFormat]="DayPeriodsFormat",t[t.DayPeriodsStandalone]="DayPeriodsStandalone",t[t.DaysFormat]="DaysFormat",t[t.DaysStandalone]="DaysStandalone",t[t.MonthsFormat]="MonthsFormat",t[t.MonthsStandalone]="MonthsStandalone",t[t.Eras]="Eras",t[t.FirstDayOfWeek]="FirstDayOfWeek",t[t.WeekendRange]="WeekendRange",t[t.DateFormat]="DateFormat",t[t.TimeFormat]="TimeFormat",t[t.DateTimeFormat]="DateTimeFormat",t[t.NumberSymbols]="NumberSymbols",t[t.NumberFormats]="NumberFormats",t[t.CurrencyCode]="CurrencyCode",t[t.CurrencySymbol]="CurrencySymbol",t[t.CurrencyName]="CurrencyName",t[t.Currencies]="Currencies",t[t.Directionality]="Directionality",t[t.PluralCase]="PluralCase",t[t.ExtraData]="ExtraData",t}();let qa="en-US";function Ka(t){var e,i;
1i="Expected localeId to be defined",null==(e=t)&&function(t,e,i,n){throw new Error(`ASSERTION ERROR: ${t}`+` [Expected=> null != ${e} <=Actual]`)}(i,e),"string"==typeof t&&(qa=t.toLowerCase().replace(/_/g,"-"))}const Ua=new Map;class Za extends Jt{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Fa(this);const i=xe(t),n=t[Ft]||null;n&&Ka(n),this._bootstrapComponents=Mi(i.bootstrap),this._r3Injector=Lr(t,e,[{provide:Jt,useValue:this},{provide:ra,useValue:this.componentFactoryResolver}],vt(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=qr.THROW_IF_NOT_FOUND,i=at.Default){return t===qr||t===Jt||t===Bt?this:this._r3Injector.get(t,e,i)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Qa extends class{}{constructor(t){super(),this.moduleType=t,null!==xe(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,i){if(e&&e!==i)throw new Error(`Duplicate module registered for ${t} - ${vt(e)} vs ${vt(e.name)}`)})(t,Ua.get(t),e),Ua.set(t,e)}let i=e.\u0275mod.imports;i instanceof Function&&(i=i()),i&&i.forEach(e=>t(e))}(t)}create(t){return new Za(this.moduleType,t)}}function Ga(t,e,i,n,s){return function(t,e,i,n,s,r,o){const a=e+i;return function(t,e,i,n){const s=no(t,e,i);return no(t,e+1,n)||s}(t,a,s,r)?io(t,a+2,o?n.call(o,s,r):n(s,r)):Ya(t,a+2)}(Ke(),ei(),t,e,i,n,s)}function Ya(t,e){const i=t[e];return i===ts?void 0:i}class Xa extends E{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){let n,s=t=>null,r=()=>null;t&&"object"==typeof t?(n=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(s=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(r=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(n=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),i&&(r=this.__isAsync?()=>{setTimeout(()=>i())}:()=>{i()}));const o=super.subscribe(n,s,r);return t instanceof u&&t.add(o),o}}function Ja(){return this._results[Yr()]()}class tl{constructor(){this.dirty=!0,this._results=[],this.changes=new Xa,this.length=0;const t=Yr(),e=tl.prototype;e[t]||(e[t]=Ja)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=function t(e,i){void 0===i&&(i=e);for(let n=0;n<e.length;n++){let s=e[n];Array.isArray(s)?(i===e&&(i=e.slice(0,n)),t(s,i)):i!==e&&i.push(s)}return i}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class el{constructor(t){this.queryList=t,this.matches=null}clone(){return new el(this.queryList)}setDirty(){this.queryList.setDirty()}}class il{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const i=null!==t.contentQueries?t.contentQueries[0]:e.length,n=[];for(let t=0;t<i;t++){const i=e.getByIndex(t);n.push(this.queries[i.indexInDeclarationView].clone())}return new il(n)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==gl(t,e).matches&&this.queries[e].setDirty()}}class nl{constructor(t,e,i,n=null){this.predicate=t,this.descendants=e,this.isStatic=i,this.read=n}}class sl{constructor(t=[]){this.queries=t}elementStart(t,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let i=0;i<this.length;i++){const n=null!==e?e.length:0,s=this.getByIndex(i).embeddedTView(t,n);s&&(s.indexInDeclarationView=i,null!==e?e.push(s):e=[s])}return null!==e?new sl(e):null}template(t,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class rl{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new rl(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){const e=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&4===i.type&&i.index!==e;)i=i.parent;return e===(null!==i?i.index:-1)}return this._appliesToNextNode}
1matchTNode(t,e){if(Array.isArray(this.metadata.predicate)){const i=this.metadata.predicate;for(let n=0;n<i.length;n++)this.matchTNodeWithReadOption(t,e,ol(e,i[n]))}else{const i=this.metadata.predicate;i===Da?0===e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Zi(e,t,i,!1,!1))}}matchTNodeWithReadOption(t,e,i){if(null!==i){const n=this.metadata.read;if(null!==n)if(n===oa||n===Oa||n===Da&&0===e.type)this.addMatch(e.index,-2);else{const i=Zi(e,t,n,!1,!1);null!==i&&this.addMatch(e.index,i)}else this.addMatch(e.index,i)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function ol(t,e){const i=t.localNames;if(null!==i)for(let n=0;n<i.length;n+=2)if(i[n]===e)return i[n+1];return null}function al(t,e,i,n){return-1===i?function(t,e){return 3===t.type||4===t.type?Cr(oa,t,e):0===t.type?kr(Da,oa,t,e):null}(e,t):-2===i?function(t,e,i){return i===oa?Cr(oa,e,t):i===Da?kr(Da,oa,e,t):i===Oa?Tr(Oa,oa,e,t):void 0}(t,e,n):Qi(t,t[1],i,e)}function ll(t,e,i,n){const s=e[5].queries[n];if(null===s.matches){const n=t.data,r=i.matches,o=[];for(let t=0;t<r.length;t+=2){const s=r[t];o.push(s<0?null:al(e,n[s],r[t+1],i.metadata.read))}s.matches=o}return s.matches}function cl(t){const e=Ke(),i=Ue(),n=si();ri(n+1);const s=gl(i,n);if(t.dirty&&Ve(e)===s.metadata.isStatic){if(null===s.matches)t.reset([]);else{const r=s.crossesNgTemplate?function t(e,i,n,s){const r=e.queries.getByIndex(n),o=r.matches;if(null!==o){const a=ll(e,i,r,n);for(let e=0;e<o.length;e+=2){const n=o[e];if(n>0)s.push(a[e/2]);else{const r=o[e+1],a=i[-n];for(let e=9;e<a.length;e++){const i=a[e];i[17]===i[3]&&t(i[1],i,r,s)}if(null!==a[5]){const e=a[5];for(let i=0;i<e.length;i++){const n=e[i];t(n[1],n,r,s)}}}}}return s}(i,e,n,[]):ll(i,e,s,n);t.reset(r),t.notifyOnChanges()}return!0}return!1}function hl(t,e,i){ul(Ue(),Ke(),t,e,i,!1)}function ul(t,e,i,n,s,r){t.firstCreatePass&&(fl(t,new nl(i,n,r,s),-1),r&&(t.staticViewQueries=!0)),pl(t,e)}function dl(t,e,i,n){!function(t,e,i,n,s,r,o,a){t.firstCreatePass&&(fl(t,new nl(i,n,!1,s),o.index),function(t,e){const i=t.contentQueries||(t.contentQueries=[]);e!==(t.contentQueries.length?i[i.length-1]:-1)&&i.push(t.queries.length-1,e)}(t,a)),pl(t,e)}(Ue(),Ke(),e,i,n,0,Qe(),t)}function ml(){return t=Ke(),e=si(),t[5].queries[e].queryList;var t,e}function pl(t,e){const i=new tl;!function(t,e,i,n){const s=Us(e);s.push(i),t.firstCreatePass&&Zs(t).push(n,s.length-1)}(t,e,i,i.destroy),null===e[5]&&(e[5]=new il),e[5].queries.push(new el(i))}function fl(t,e,i){null===t.queries&&(t.queries=new sl),t.queries.track(new rl(e,i))}function gl(t,e){return t.queries.getByIndex(e)}const _l=new jt("Application Initializer");let yl=(()=>{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const e=this.appInits[i]();fo(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Zt(_l,8))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();const bl=new jt("AppId"),vl={provide:bl,useFactory:function(){return`${wl()}${wl()}${wl()}`},deps:[]};function wl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const xl=new jt("Platform Initializer"),El=new jt("Platform ID"),Sl=new jt("appBootstrapListener");let Cl=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();const kl=new jt("LocaleId"),Tl=new jt("DefaultCurrencyCode");class Al{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Il=function(t){return new Qa(t)},Dl=Il,Rl=function(t){return Promise.resolve(Il(t))},Ol=function(t){const e=Il(t),i=Mi(xe(t).declarations).reduce((t,e)=>{const i=ve(e);return i&&t.push(new ja(i)),t},[]);return new Al(e,i)},Pl=Ol,Nl=function(t){return Promise.resolve(Ol(t))};let Fl=(()=>{class t{constructor(){this.compileModuleSync=Dl,this.compileModuleAsync=Rl,this.compileModuleAndAllComponentsSync=Pl,this.compileModuleAndAllComponentsAsync=Nl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();const Ml=new jt("compilerOptions"),Ll=(()=>Promise.resolve(0))();function jl(t){"undefined"==typeof Zone?Ll.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Bl{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Xa(!1),this.onMicrotaskEmpty=new Xa(!1),this.onStable=new Xa(!1),this.onError=ne
vendor: 4,740 bytes, line 1
1w Xa(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=Dt.requestAnimationFrame,e=Dt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i);const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Dt,()=>{t.lastRequestAnimationFrameId=-1,$l(t),Hl(t)}),$l(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(i,n,s,r,o,a)=>{try{return Wl(t),i.invokeTask(s,r,o,a)}finally{e&&"eventTask"===r.type&&e(),ql(t)}},onInvoke:(e,i,n,s,r,o,a)=>{try{return Wl(t),e.invoke(n,s,r,o,a)}finally{ql(t)}},onHasTask:(e,i,n,s)=>{e.hasTask(n,s),i===n&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,$l(t),Hl(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,i,n,s)=>(e.handleError(n,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Bl.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Bl.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,n){const s=this._inner,r=s.scheduleEventTask("NgZoneEvent: "+n,t,zl,Vl,Vl);try{return s.runTask(r,e,i)}finally{s.cancelTask(r)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}function Vl(){}const zl={};function Hl(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function $l(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function Wl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ql(t){t._nesting--,Hl(t)}class Kl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Xa,this.onMicrotaskEmpty=new Xa,this.onStable=new Xa,this.onError=new Xa}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,n){return t.apply(e,i)}}let Ul=(()=>{class t{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:()=>{Bl.assertNotInAngularZone(),jl(()=>{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())jl(()=>{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(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.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,e,i){let n=-1;e&&e>0&&(n=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==n),t(this._didWork,this.getPendingTasks())}
1,e)),this._callbacks.push({doneCb:t,timeoutId:n,updateCb:i})}whenStable(t,e,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,i){return[]}}return t.\u0275fac=function(e){return new(e||t)(Zt(Bl))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})(),Zl=(()=>{class t{constructor(){this._applications=new Map,Yl.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}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,e=!0){return Yl.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();class Ql{addToWindow(t){}findTestabilityInTree(t,e,i){return null}}let Gl,Yl=new Ql,Xl=function(t,e,i){const n=t.get(Ml,[]).concat(e),s=new Qa(i);if(0===Kr.size)return Promise.resolve(s);const r=function(t){const e=[];return t.forEach(t=>t&&e.push(...t)),e}(n.map(t=>t.providers));if(0===r.length)return Promise.resolve(s);const o=function(){const t=Dt.ng;if(!t||!t.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n  - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return t.\u0275compilerFacade}(),a=qr.create({providers:r}).get(o.ResourceLoader);return function(t){const e=[],i=new Map;function n(t){let e=i.get(t);if(!e){const n=(t=>Promise.resolve(a.get(t)))(t);i.set(t,e=n.then(Zr))}return e}return Kr.forEach((t,i)=>{const s=[];t.templateUrl&&s.push(n(t.templateUrl).then(e=>{t.template=e}));const r=t.styleUrls,o=t.styles||(t.styles=[]),a=t.styles.length;r&&r.forEach((e,i)=>{o.push(""),s.push(n(e).then(n=>{o[a+i]=n,r.splice(r.indexOf(e),1),0==r.length&&(t.styleUrls=void 0)}))});const l=Promise.all(s).then(()=>function(t){Ur.delete(t)}(i));e.push(l)}),Kr=new Map,Promise.all(e).then(()=>{})}().then(()=>s)};const Jl=new jt("AllowMultipleToken");function tc(t,e,i=[]){const n=`Platform: ${e}`,s=new jt(n);return(e=[])=>{let r=ec();if(!r||r.injector.get(Jl,!1))if(t)t(i.concat(e).concat({provide:s,useValue:!0}));else{const t=i.concat(e).concat({provide:s,useValue:!0},{provide:Rr,useValue:"platform"});!function(t){if(Gl&&!Gl.destroyed&&!Gl.injector.get(Jl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Gl=t.get(ic);const e=t.get(xl,null);e&&e.forEach(t=>t())}(qr.create({providers:t,name:n}))}return function(t){const e=ec();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function ec(){return Gl&&!Gl.destroyed?Gl:null}let ic=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const i=function(t,e){let i;return i="noop"===t?new Kl:("zone.js"===t?void 0:t)||new Bl({enableLongStackTrace:gn(),shouldCoalesceEventChangeDetection:e}),i}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),n=[{provide:Bl,useValue:i}];return i.run(()=>{const e=qr.create({providers:n,parent:this.injector,name:t.moduleType.name}),s=t.create(e),r=s.injector.get(sn,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>rc(this._modules,s)),i.runOutsideAngular(()=>i.onError.subscribe({next:t=>{r.handleError(t)}})),function(t,e,i){try{const n=i();return fo(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}(r,i,()=>{const t=s.injector.get(yl);
1return t.runInitializers(),t.donePromise.then(()=>(Ka(s.injector.get(kl,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const i=nc({},e);return Xl(this.injector,i,t).then(t=>this.bootstrapModuleFactory(t,i))}_moduleDoBootstrap(t){const e=t.injector.get(sc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${vt(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(Zt(qr))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();function nc(t,e){return Array.isArray(e)?e.reduce(nc,t):Object.assign(Object.assign({},t),e)}let sc=(()=>{class t{constructor(t,e,i,n,s,r){this._zone=t,this._console=e,this._injector=i,this._exceptionHandler=n,this._componentFactoryResolver=s,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=gn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),a=new y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Bl.assertNotInAngularZone(),jl(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const i=this._zone.onUnstable.subscribe(()=>{Bl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),i.unsubscribe()}});this.isStable=K(o,a.pipe(tt()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let i;i=t instanceof na?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(i.componentType);const n=i.isBoundToModule?void 0:this._injector.get(Jt),s=i.create(qr.NULL,[],e||i.selector,n);s.onDestroy(()=>{this._unloadComponent(s)});const r=s.injector.get(Ul,null);return r&&s.injector.get(Zl).registerApplication(s.location.nativeElement,r),this._loadComponent(s),gn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;rc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Sl,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),rc(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(Zt(Bl),Zt(Cl),Zt(qr),Zt(sn),Zt(ra),Zt(yl))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();function rc(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}const oc=tc(null,"core",[{provide:El,useValue:"unknown"},{provide:ic,deps:[qr]},{provide:Zl,deps:[]},{provide:Cl,deps:[]}]),ac=[{provide:sc,useClass:sc,deps:[Bl,Cl,qr,sn,ra,yl]},{provide:La,deps:[Bl],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:yl,useClass:yl,deps:[[new st,_l]]},{provide:Fl,useClass:Fl,deps:[]},vl,{provide:Ca,useFactory:function(){return Aa},deps:[]},{provide:ka,useFactory:function(){return Ia},deps:[]},{provide:kl,useFactory:function(t){return Ka(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new nt(kl),new st,new ot]]},{provide:Tl,useValue:"USD"}];let lc=(()=>{class t{constructor(t){}}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)(Zt(sc))},providers:ac}),t})(),cc=null;function hc(){return cc}const uc=new jt("DocumentToken");let dc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({factory:mc,token:t,providedIn:"platform"}),t})();function mc(){return Zt(pc)}let pc=(()=>{class t extends dc{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=hc().getLocation(),this._history=hc().getHistory()}getBaseHrefFromDOM(){return hc().getBaseHref(this._doc)}onPopState(t){hc().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){hc().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,i){fc()?this._history.pushState(t,e,i):this.location.hash=i}replaceState(t,e,i){fc()?this._history.replaceState(t,e,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(Zt(uc))},t.\u0275prov=ht({factory:gc,token:t,providedIn:"platform"}),t})();function fc(){return!!window.history.pushState}function gc(){return new pc(Zt(uc))}function _c(t,e){if(0==t.length)return e;if(0==e.length)return t;let i=0;return t.endsWith("/")&&i++,e.startsWith("/")&&i++,2==i?t+e.substring(1):1==i?t+e:t+"/"+e}function yc(t){const e=t.match(/#|\?|$/),i=e&&e.index||t.length;return t.slice(0,i-("/"===t[i-1]?1:0))+t.slice(i)}function bc(t){return t&&"?"!==t[0]?"?"+t:t}let vc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({factory:wc,token:t,providedIn:"root"}),t})();function wc(t){const e=Zt(uc).location;return new Ec(Zt(dc),e&&e.origin||"")}const xc=new jt("appBaseHref");let Ec=(()=>{class t extends vc{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.on
1HashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return _c(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+bc(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${e}${i}`:e}pushState(t,e,i,n){const s=this.prepareExternalUrl(i+bc(n));this._platformLocation.pushState(t,e,s)}replaceState(t,e,i,n){const s=this.prepareExternalUrl(i+bc(n));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(Zt(dc),Zt(xc,8))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})(),Sc=(()=>{class t{constructor(t,e){this._subject=new Xa,this._urlChangeListeners=[],this._platformStrategy=t;const i=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=yc(kc(i)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+bc(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,kc(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",i=null){this._platformStrategy.pushState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+bc(e)),i)}replaceState(t,e="",i=null){this._platformStrategy.replaceState(i,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+bc(e)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)})}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(i=>i(t,e))}subscribe(t,e,i){return this._subject.subscribe({next:t,error:e,complete:i})}}return t.\u0275fac=function(e){return new(e||t)(Zt(vc),Zt(dc))},t.normalizeQueryParams=bc,t.joinWithSlash=_c,t.stripTrailingSlash=yc,t.\u0275prov=ht({factory:Cc,token:t,providedIn:"root"}),t})();function Cc(){return new Sc(Zt(vc),Zt(dc))}function kc(t){return t.replace(/\/index.html$/,"")}const Tc=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}();class Ac{}let Ic=(()=>{class t extends Ac{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let i=$a(e);if(i)return i;const n=e.split("-")[0];if(i=$a(n),i)return i;if("en"===n)return za;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[Wa.PluralCase]}(e||this.locale)(t)){case Tc.Zero:return"zero";case Tc.One:return"one";case Tc.Two:return"two";case Tc.Few:return"few";case Tc.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(Zt(kl))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})(),Dc=(()=>{class t{constructor(t,e,i,n){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=i,this._renderer=n,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(to(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>
1{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${vt(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(ao(Ca),ao(ka),ao(oa),ao(ha))},t.\u0275dir=ye({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})(),Rc=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new Oc,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Pc("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Pc("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,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(ao(Oa),ao(Da))},t.\u0275dir=ye({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class Oc{constructor(){this.$implicit=null,this.ngIf=null}}function Pc(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${vt(e)}'.`)}class Nc{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class Fc{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Mc=new Fc,Lc=new Nc;let jc=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):Xr(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,Jr.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(fo(e))return Mc;if(function(t){return!!t&&"function"==typeof t.subscribe}(e))return Lc;throw Error(`InvalidPipeArgument: '${e}' for pipe '${vt(t)}'`)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(function(t=at.Default){const e=Ar(!0);if(null!=e||t&at.Optional)return e;throw new Error("No provider for ChangeDetectorRef!")}())},t.\u0275pipe=be({name:"async",type:t,pure:!1}),t})(),Bc=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},providers:[{provide:Ac,useClass:Ic}]}),t})();class Vc extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new Vc,cc||(cc=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=Hc||(Hc=document.querySelector("base"),Hc)?Hc.getAttribute("href"):null;return null==e?null:(i=e,zc||(zc=document.createElement("a")),zc.setAttribute("href",i),"/"===zc.pathname.charAt(0)?zc.pathname:"/"+zc.pathname);var i}resetBaseElement(){Hc=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return function(t,e){e=encodeURIComponent(e);for(const i of t.split(";")){const t=i.indexOf("="),[n,s]=-1==t?[i,""]:[i.slice(0,t),i.slice(t+1)];if(n.trim()===e)return decodeURIComponent(s)}return null}(document.cookie,t)}}let zc,Hc=null;const $c=new jt("TRANSITION_ID"),Wc=[{provide:_l,useFactory:function(t,e,
vendor: 4,764 bytes, line 1
1i){return()=>{i.get(yl).donePromise.then(()=>{const i=hc();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>i.remove(t))})}},deps:[$c,uc,qr],multi:!0}];class qc{static init(){var t;t=new qc,Yl=t}addToWindow(t){Dt.getAngularTestability=(e,i=!0)=>{const n=t.findTestabilityInTree(e,i);if(null==n)throw new Error("Could not find testability for element.");return n},Dt.getAllAngularTestabilities=()=>t.getAllTestabilities(),Dt.getAllAngularRootElements=()=>t.getAllRootElements(),Dt.frameworkStabilizers||(Dt.frameworkStabilizers=[]),Dt.frameworkStabilizers.push(t=>{const e=Dt.getAllAngularTestabilities();let i=e.length,n=!1;const s=function(e){n=n||e,i--,0==i&&t(n)};e.forEach((function(t){t.whenStable(s)}))})}findTestabilityInTree(t,e,i){if(null==e)return null;const n=t.getTestability(e);return null!=n?n:i?hc().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const Kc=new jt("EventManagerPlugins");let Uc=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,i){return this._findPluginFor(e).addEventListener(t,e,i)}addGlobalEventListener(t,e,i){return this._findPluginFor(e).addGlobalEventListener(t,e,i)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const i=this._plugins;for(let n=0;n<i.length;n++){const e=i[n];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.\u0275fac=function(e){return new(e||t)(Zt(Kc),Zt(Bl))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();class Zc{constructor(t){this._doc=t}addGlobalEventListener(t,e,i){const n=hc().getGlobalEventTarget(this._doc,t);if(!n)throw new Error(`Unsupported event target ${n} for event ${e}`);return this.addEventListener(n,e,i)}}let Qc=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})(),Gc=(()=>{class t extends Qc{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const i=this._doc.createElement("style");i.textContent=t,this._styleNodes.add(e.appendChild(i))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>hc().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(Zt(uc))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();const Yc={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/"},Xc=/%COMP%/g;function Jc(t,e,i){for(let n=0;n<e.length;n++){let s=e[n];Array.isArray(s)?Jc(t,s,i):(s=s.replace(Xc,t),i.push(s))}return i}function th(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let eh=(()=>{class t{constructor(t,e,i){this.eventManager=t,this.sharedStylesHost=e,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new ih(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case le.Emulated:{let i=this.rendererByCompId.get(e.id);return i||(i=new nh(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,i)),i.applyToHost(t),i}case le.Native:case le.ShadowDom:return new sh(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Jc(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(Zt(Uc),Zt(Gc),Zt(bl))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();class ih{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Yc[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,i){t&&t.insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}
1" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,n){if(n){e=n+":"+e;const s=Yc[n];s?t.setAttributeNS(s,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const n=Yc[i];n?t.removeAttributeNS(n,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,n){n&ca.DashCase?t.style.setProperty(e,i,n&ca.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&ca.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,th(i)):this.eventManager.addEventListener(t,e,th(i))}}class nh extends ih{constructor(t,e,i,n){super(t),this.component=i;const s=Jc(n+"-"+i.id,i.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(Xc,n+"-"+i.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(Xc,t)}(n+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class sh extends ih{constructor(t,e,i,n){super(t),this.sharedStylesHost=e,this.hostEl=i,this.component=n,this.shadowRoot=n.encapsulation===le.ShadowDom?i.attachShadow({mode:"open"}):i.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=Jc(n.id,n.styles,[]);for(let r=0;r<s.length;r++){const t=document.createElement("style");t.textContent=s[r],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,i){return super.insertBefore(this.nodeOrShadowRoot(t),e,i)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let rh=(()=>{class t extends Zc{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,i){return t.addEventListener(e,i,!1),()=>this.removeEventListener(t,e,i)}removeEventListener(t,e,i){return t.removeEventListener(e,i)}}return t.\u0275fac=function(e){return new(e||t)(Zt(uc))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();const oh=["alt","control","meta","shift"],ah={"\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"},lh={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"},ch={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let hh=(()=>{class t extends Zc{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,n){const s=t.parseEventName(i),r=t.eventCallback(s.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>hc().onAndCancel(e,s.domEventName,r))}static parseEventName(e){const i=e.toLowerCase().split("."),n=i.shift();if(0===i.length||"keydown"!==n&&"keyup"!==n)return null;const s=t._normalizeKey(i.pop());let r="";if(oh.forEach(t=>{const e=i.indexOf(t);e>-1&&(i.splice(e,1),r+=t+".")}),r+=s,0!=i.length||0===s.length)return null;const o={};return o.domEventName=n,o.fullKey=r,o}static getEventFullKey(t){let e="",i=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&lh.hasOwnProperty(e)&&(e=lh[e]))}return ah[e]||e}(t);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),oh.forEach(n=>{n!=i&&(0,ch[n])(t)&&(e+=n+".")}),e+=i,e}static eventCallback(e,i,n){return s=>{t.getEventFullKey(s)===e&&n.runGuarded(()=>i(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(Zt(uc))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})(),uh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({factory:function(){return Zt(dh)},token:t,providedIn:"root"}),t})(),dh=(()=>{class t extends uh{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case jn.NONE:return e;case jn.HTML:return dn(e,"HTML")?un(e):function(t,e){let i=null;try{Mn=Mn||new _n(t);let n=e?String(e):"";i=Mn.getInertBodyElement(n);let s=5,r=n;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,n=r,r=i.innerHTML,i=Mn.getInertBodyElement(n)}while(n!==r);const o=new On,a=o.sanitizeChildren(Ln(i)||i);return gn()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(i){const t=Ln(i)||i;for(;t.firstChild;)t.removeChild(t.firstChild)}}}(this._doc,String(e));case jn.STYLE:return dn(e,"Style")?un(e):function(t){if(!(t=String(t).trim()))return"";const e=t.match(Vn);return e&&vn(e[1])===e[1]||t.match(Bn)&&function(t){let e=!0,i=!0;for(let n=0;n<t.length;n++){const s=t.charAt(n);"'"===s&&i?e=!e:'"'===s&&e&&(i=!i)}return e&&i}(t)?t:(gn()&&console.warn(`WARNING: sanitizing unsafe style value ${t} (see http://g.co/ng/security#xss).`),"unsafe")}(e);case jn.SCRIPT:if(dn(e,"Script"))return un(e);throw new Error("unsafe value used in a script context");
1case jn.URL:return mn(e),dn(e,"URL")?un(e):vn(String(e));case jn.RESOURCE_URL:if(dn(e,"ResourceURL"))return un(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return new on(t)}bypassSecurityTrustStyle(t){return new an(t)}bypassSecurityTrustScript(t){return new ln(t)}bypassSecurityTrustUrl(t){return new cn(t)}bypassSecurityTrustResourceUrl(t){return new hn(t)}}return t.\u0275fac=function(e){return new(e||t)(Zt(uc))},t.\u0275prov=ht({factory:function(){return t=Zt(Bt),new dh(t.get(uc));var t},token:t,providedIn:"root"}),t})();const mh=tc(oc,"browser",[{provide:El,useValue:"browser"},{provide:xl,useValue:function(){Vc.makeCurrent(),qc.init()},multi:!0},{provide:uc,useFactory:function(){return function(t){De=t}(document),document},deps:[]}]),ph=[[],{provide:Rr,useValue:"root"},{provide:sn,useFactory:function(){return new sn},deps:[]},{provide:Kc,useClass:rh,multi:!0,deps:[uc,Bl,El]},{provide:Kc,useClass:hh,multi:!0,deps:[uc]},[],{provide:eh,useClass:eh,deps:[Uc,Gc,bl]},{provide:la,useExisting:eh},{provide:Qc,useExisting:Gc},{provide:Gc,useClass:Gc,deps:[uc]},{provide:Ul,useClass:Ul,deps:[Bl]},{provide:Uc,useClass:Uc,deps:[Kc,Bl]},[]];let fh=(()=>{class t{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(e){return{ngModule:t,providers:[{provide:bl,useValue:e.appId},{provide:$c,useExisting:bl},Wc]}}}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)(Zt(t,12))},providers:ph,imports:[Bc,lc]}),t})();function gh(t){return null!=t&&"false"!==`${t}`}function _h(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function yh(t){return Array.isArray(t)?t:[t]}function bh(t){return null==t?"":"string"==typeof t?t:`${t}px`}function vh(t){return t instanceof oa?t.nativeElement:t}function wh(...t){let e=t[t.length-1];return C(e)?(t.pop(),j(t,e)):q(t)}function xh(t,e,i,s){return n(i)&&(s=i,i=void 0),s?xh(t,e,i).pipe(F(t=>l(t)?s(...t):s(t))):new y(n=>{!function t(e,i,n,s,r){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(i,n,r),o=()=>t.removeEventListener(i,n,r)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(i,n),o=()=>t.off(i,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(i,n),o=()=>t.removeListener(i,n)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,a=e.length;o<a;o++)t(e[o],i,n,s,r)}s.add(o)}(t,e,(function(t){n.next(arguments.length>1?Array.prototype.slice.call(arguments):t)}),n,i)})}"undefined"!=typeof window&&window;class Eh extends u{constructor(t,e){super()}schedule(t,e=0){return this}}class Sh extends Eh{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(n,this.id,e),this}requestAsyncId(t,e,i=0){return setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let i=!1,n=void 0;try{this.work(t)}catch(s){i=!0,n=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,i=e.actions,n=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&i.splice(n,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let Ch=(()=>
1{class t{constructor(e,i=t.now){this.SchedulerAction=e,this.now=i}schedule(t,e=0,i){return new this.SchedulerAction(this,t).schedule(i,e)}}return t.now=()=>Date.now(),t})();class kh extends Ch{constructor(t,e=Ch.now){super(t,()=>kh.delegate&&kh.delegate!==this?kh.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return kh.delegate&&kh.delegate!==this?kh.delegate.schedule(t,e,i):super.schedule(t,e,i)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let i;this.active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}function Th(t,e){return i=>i.lift(new Ah(t,e))}class Ah{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new Ih(t,this.compare,this.keySelector))}}class Ih extends p{constructor(t,e,i){super(t),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:i}=this;e=i?i(t):t}catch(n){return this.destination.error(n)}let i=!1;if(this.hasKey)try{const{compare:t}=this;i=t(this.key,e)}catch(n){return this.destination.error(n)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}const Dh=new kh(Sh);class Rh{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new Oh(t,this.durationSelector))}}class Oh extends N{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let i;try{const{durationSelector:e}=this;i=e(t)}catch(e){return this.destination.error(e)}const n=P(this,i);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}clearThrottle(){const{value:t,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))}notifyNext(t,e,i,n){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Ph(t){return!l(t)&&t-parseFloat(t)+1>=0}function Nh(t){const{index:e,period:i,subscriber:n}=t;if(n.next(e),!n.closed){if(-1===i)return n.complete();t.index=e+1,this.schedule(t,i)}}function Fh(t,e=Dh){return i=()=>function(t=0,e,i){let n=-1;return Ph(e)?n=Number(e)<1?1:Number(e):C(e)&&(i=e),C(i)||(i=Dh),new y(e=>{const s=Ph(t)?t:+t-i.now();return i.schedule(Nh,s,{index:0,period:n,subscriber:e})})}(t,e),function(t){return t.lift(new Rh(i))};var i}function Mh(t,e){return function(i){return i.lift(new Lh(t,e))}}class Lh{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new jh(t,this.predicate,this.thisArg))}}class jh extends p{constructor(t,e,i){super(t),this.predicate=e,this.thisArg=i,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(t)}}function Bh(t){return e=>e.lift(new Vh(t))}class Vh{constructor(t){this.notifier=t}call(t,e){const i=new zh(t),n=P(i,this.notifier);return n&&!i.seenValue?(i.add(n),e.subscribe(i)):i}}class zh extends N{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,i,n,s){this.seenValue=!0,this.complete()}notifyComplete(){}}function Hh(...t){return W(1)(wh(...t))}function $h(...t){const e=t[t.length-1];return C(e)?(t.pop(),i=>Hh(t,i,e)):e=>Hh(t,e)}function Wh(t,e){return"function"==typeof e?i=>i.pipe(Wh((i,n)=>B(t(i,n)).pipe(F((t,s)=>e(i,t,n,s))))):e=>e.lift(new qh(t))}class qh{constructor(t){this.project=t}call(t,e){return e.subscribe(new Kh(t,this.project))}}class Kh extends N{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(n){return void this.destination.error(n)}this._innerSub(e,t,i)}_innerSub(t,e,i){const n=this.innerSubscription;n&&n.unsubscribe();const s=new k(this,e,i),r=this.destination;r.add(s),this.innerSubscription=P(this,t,void 0,void 0,s),this.innerSubscription!==s&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,i,n,s){this.destination.next(e)}}const Uh=new y(t=>t.complete());function Zh(t){return t?function(t){return new y(e=>t.schedule(()=>e.complete()))}(t):Uh}let Qh;try{Qh="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Sy){Qh=!1}let Gh,Yh,Xh=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?"browser"===this._platformId:"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(m
1sie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Qh)&&"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 t.\u0275fac=function(e){return new(e||t)(Zt(El,8))},t.\u0275prov=ht({factory:function(){return new t(Zt(El,8))},token:t,providedIn:"root"}),t})(),Jh=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)}}),t})();function tu(t){return function(){if(null==Gh&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Gh=!0}))}finally{Gh=Gh||!1}return Gh}()?t:!!t.capture}function eu(){if("object"!=typeof document||!document)return 0;if(null==Yh){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.height="1px",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const i=document.createElement("div"),n=i.style;n.width="2px",n.height="1px",t.appendChild(i),document.body.appendChild(t),Yh=0,0===t.scrollLeft&&(t.scrollLeft=1,Yh=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return Yh}const iu=new jt("cdk-dir-doc",{providedIn:"root",factory:function(){return Qt(uc)}});let nu=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new Xa,t){const e=t.documentElement?t.documentElement.dir:null,i=(t.body?t.body.dir:null)||e;this.value="ltr"===i||"rtl"===i?i:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(Zt(iu,8))},t.\u0275prov=ht({factory:function(){return new t(Zt(iu,8))},token:t,providedIn:"root"}),t})(),su=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)}}),t})(),ru=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let i of this._listeners)i(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({factory:function(){return new t},token:t,providedIn:"root"}),t})(),ou=(()=>{class t{constructor(t,e,i){this._ngZone=t,this._platform=e,this._scrolled=new E,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new y(e=>{this._globalSubscription||this._addGlobalListener();const i=t>0?this._scrolled.pipe(Fh(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):wh()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const i=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Mh(t=>!t||i.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((i,n)=>{this._scrollableContainsElement(n,t)&&e.push(n)}),e}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollableContainsElement(t,e){let i=e.nativeElement,n=t.getElementRef().nativeElement;do{if(i==n)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>xh(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(Zt(Bl),Zt(Xh),Zt(uc,8))},t.\u0275prov=ht({factory:function(){return new t(Zt(Bl),Zt(Xh),Zt(uc,8))},token:t,providedIn:"root"}),t})(),au=(()=>{class t{constructor(t,e,i,n){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=i,this.dir=n,this._destroyed=new E,this._elementScrolled=new y(t=>this.ngZone.runOutsideAngular(()=>xh(this.elementRef.nativeElement,"scroll").pipe(Bh(this._destroyed)).subscribe(t)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,i=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=i?t.end:t.start),null==t.right&&(t.right=i?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),i&&0!=eu()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==eu()?t.left=t.right:1==eu()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const i=this.dir&&"rtl"==this.dir.value;return"start"==t?t=i?"right":"left":"end"==t&&(t=i?"left":"right"),i&&2==eu()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:i&&1==eu()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(ao(oa),ao(ou),ao(Bl),ao(nu,8))},t.\u0275dir=ye({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),lu=(()=>{class t{constructor(t,e,i){this._platform=t,this._document=i,e.runOutsideAngular(()=>{const e=this._getWindow();this._change=t.isBrowser?K(xh(e,"resize"),xh(e,"orientationchange")):wh(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:i}=this.getViewportSize();
1return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+e,height:i,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._getDocument(),e=this._getWindow(),i=t.documentElement,n=i.getBoundingClientRect();return{top:-n.top||t.body.scrollTop||e.scrollY||i.scrollTop||0,left:-n.left||t.body.scrollLeft||e.scrollX||i.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Fh(t)):this._change}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(Zt(Xh),Zt(Bl),Zt(uc,8))},t.\u0275prov=ht({factory:function(){return new t(Zt(Xh),Zt(Bl),Zt(uc,8))},token:t,providedIn:"root"}),t})(),cu=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},imports:[[su,Jh],su]}),t})();function hu(){throw Error("Host already has a portal attached")}class uu{attach(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&hu(),this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class du extends uu{constructor(t,e,i,n){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=n}}class mu extends uu{constructor(t,e,i){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class pu extends uu{constructor(t){super(),this.element=t instanceof oa?t.nativeElement:t}}class fu{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&hu(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof du?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof mu?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof pu?(this._attachedPortal=t,this.attachDomPortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class gu extends fu{constructor(t,e,i,n,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=n,this.attachDomPortal=t=>{if(!this._document)throw Error("Cannot attach DOM portal without _document constructor parameter");const e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");const i=this._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})},this._document=s}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),i}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context);
1return i.detectChanges(),i.rootNodes.forEach(t=>this.outletElement.appendChild(t)),this.setDisposeFn(()=>{let t=e.indexOf(i);-1!==t&&e.remove(t)}),i}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let _u=(()=>{class t extends fu{constructor(t,e,i){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new Xa,this.attachDomPortal=t=>{if(!this._document)throw Error("Cannot attach DOM portal without _document constructor parameter");const e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");const i=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(i,e),this._getRootNode().appendChild(e),super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})},this._document=i}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),n=e.createComponent(i,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=t,this._attachedRef=n,this.attached.emit(n),n}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(ao(ra),ao(Oa),ao(uc))},t.\u0275dir=ye({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Vo]}),t})(),yu=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)}}),t})();const bu=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function vu(t){return e=>0===t?Zh():e.lift(new wu(t))}class wu{constructor(t){if(this.total=t,this.total<0)throw new bu}call(t,e){return e.subscribe(new xu(t,this.total))}}class xu extends p{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,i=++this.count;i<=e&&(this.destination.next(t),i===e&&(this.destination.complete(),this.unsubscribe()))}}function Eu(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}class Su{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=bh(-this._previousScrollPosition.left),t.style.top=bh(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,i=this._document.body.style,n=e.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=i.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=n,i.scrollBehavior=s}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}function Cu(){return Error("Scroll strategy has already been attached.")}
1class ku{constructor(t,e,i,n){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){if(this._overlayRef)throw Cu();this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Tu{enable(){}disable(){}attach(){}}function Au(t,e){return e.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function Iu(t,e){return e.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class Du{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=n,this._scrollSubscription=null}attach(t){if(this._overlayRef)throw Cu();this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();Au(t,[{width:e,height:i,bottom:i,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Ru=(()=>{class t{constructor(t,e,i,n){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this.noop=()=>new Tu,this.close=t=>new ku(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new Su(this._viewportRuler,this._document),this.reposition=t=>new Du(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=n}}return t.\u0275fac=function(e){return new(e||t)(Zt(ou),Zt(lu),Zt(Bl),Zt(uc))},t.\u0275prov=ht({factory:function(){return new t(Zt(ou),Zt(lu),Zt(Bl),Zt(uc))},token:t,providedIn:"root"}),t})();class Ou{constructor(t){if(this.scrollStrategy=new Tu,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class Pu{constructor(t,e,i,n,s){this.offsetX=i,this.offsetY=n,this.panelClass=s,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class Nu{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}function Fu(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". `+'Expected "top", "bottom" or "center".')}function Mu(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". `+'Expected "start", "end" or "center".')}let Lu=(()=>{class t{constructor(t){this._attachedOverlays=[],this._keydownListener=t=>{const e=this._attachedOverlays;for(let i=e.length-1;i>-1;i--)if(e[i]._keydownEventSubscriptions>0){e[i]._keydownEvents.next(t);break}},this._document=t}ngOnDestroy(){this._detach()}add(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()}_detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(Zt(uc))},t.\u0275prov=ht({factory:function(){return new t(Zt(uc))},token:t,providedIn:"root"}),t})();const ju=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let Bu=(()=>{class t{constructor(t,e){this._platform=e,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=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(t||ju){const t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e])}const e=this._document.createElement("div");e.classList.add("cdk-overlay-container"),ju?e.setAttribute("platform","test"):t||e.setAttribute("platform","server"),this._document.body.appendChild(e),this._containerElement=e}}return t.\u0275fac=function(e){return new(e||t)(Zt(uc),Zt(Xh))},t.\u0275prov=ht({factory:function(){return new t(Zt(uc),Zt(Xh))},token:t,providedIn:"root"}),t})();class Vu{constructor(t,e,i,n,s,r,o,a){this._portalOutlet=t,this._host=e,this._pane=i,this._config=n,this._ngZone=s,this._keyboardDispatcher=r,this._document=o,this._location=a,this._backdropElement=null,this._backdropClick=new E,this._attachments=new E,this._detachments=new E,this._locationChanges=u.EMPTY,this._backdropClickHandler=t=>
1this._backdropClick.next(t),this._keydownEventsObservable=new y(t=>{const e=this._keydownEvents.subscribe(t);return this._keydownEventSubscriptions++,()=>{e.unsubscribe(),this._keydownEventSubscriptions--}}),this._keydownEvents=new E,this._keydownEventSubscriptions=0,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(vu(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick.asObservable()}attachments(){return this._attachments.asObservable()}detachments(){return this._detachments.asObservable()}keydownEvents(){return this._keydownEventsObservable}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=bh(this._config.width),t.height=bh(this._config.height),t.minWidth=bh(this._config.minWidth),t.minHeight=bh(this._config.minHeight),t.maxWidth=bh(this._config.maxWidth),t.maxHeight=bh(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"auto":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let i=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",i),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",i)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(i,500))}_toggleClasses(t,e,i){const n=t.classList;yh(e).forEach(t=>{t&&(i?n.add(t):n.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.asObservable().pipe(Bh(K(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const zu=/([A-Za-z%]+)$/;
1class Hu{constructor(t,e,i,n,s){this._viewportRuler=e,this._document=i,this._platform=n,this._overlayContainer=s,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new E,this._resizeSubscription=u.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,n=[];let s;for(let r of this._preferredPositions){let o=this._getOriginPoint(t,r),a=this._getOverlayPoint(o,e,r),l=this._getOverlayFit(a,e,i,r);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,o);this._canFitWithFlexibleDimensions(l,a,i)?n.push({position:r,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,r)}):(!s||s.overlayFit.visibleArea<l.visibleArea)&&(s={overlayFit:l,overlayPoint:a,originPoint:o,position:r,overlayRect:e})}if(n.length){let t=null,e=-1;for(const i of n){const n=i.boundingBoxRect.width*i.boundingBoxRect.height*(i.position.weight||1);n>e&&(e=n,t=i)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&$u(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let i,n;if("center"==e.originX)i=t.left+t.width/2;else{const n=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;i="start"==e.originX?n:s}return n="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:i,y:n}}_getOverlayPoint(t,e,i){let n,s;return n="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+n,y:t.y+s}}_getOverlayFit(t,e,i,n){let{x:s,y:r}=t,o=this._getOffset(n,"x"),a=this._getOffset(n,"y");o&&(s+=o),a&&(r+=a);let l=0-r,c=r+e.height-i.height,h=this._subtractOverflows(e.width,0-s,s+e.width-i.width),u=this._subtractOverflows(e.height,l,c),d=h*u;return{visibleArea:d,isCompletelyWithinViewport:e.width*e.height===d,fitsInViewportVertically:u===e.height,fitsInViewportHorizontally:h==e.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const n=i.bottom-e.y,s=i.right-e.x,r=Wu(this._overlayRef.getConfig().minHeight),o=Wu(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=o&&o<=s;return(t.fitsInViewportVertically||null!=r&&r<=n)&&a}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const n=this._viewportRect,s=Math.max(t.x+e.width-n.right,0),r=Math.max(t.y+e.height-n.bottom,0),o=Math.max(n.top-i.top-t.y,0),a=Math.max(n.left-i.left-t.x,0);let l=0,c=0;return l=e.width<=n.width?a||-s:t.x<this._viewportMargin?n.left-i.left-t.x:0,c=e.height<=n.height?o||-r:t.y<this._viewportMargin?n.top-i.top-t.y:0,this._previousPushAmount={x:l,y:c},{x:t.x+l,y:t.y+c}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const e=this._getScrollVisibility(),i=new Nu(t,e);this._positionChanges.next(i)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,n=t.overlayY;i="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let s=0;s<e.length;s++)e[s].style.transformOrigin=`${i} ${n}`}_calculateBoundingBoxRect(t,e){const i=this._viewportRect,n=this._isRtl();let s,r,o,a,l,c;if("top"===e.overlayY)r=t.y,s=i.height-r+this._viewportMargin;else if("bottom"===e.overlayY)o=i.height-t.y+2*this._viewportMargin,s=i.height-o+this._viewportMargin;else{const e=Math.min(i.bottom-t.y+i.top,t.y),n=this._lastBoundingBoxSize.height;s=2*e,r=t.y-e,s>n&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-n/2)}if("end"===e.overlayX&&!n||"start"===e.overlayX&&n)c=i.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!n||"end"===e.overlayX&&n)l=t.x,a=i.right-t.x;else{const e=Math.min(i.right-t.x+i.left,t.x),n=this._lastBoundingBoxSize.width;a=2*e,l=t.x-e,a>n&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-n/2)}return{top:r,left:l,bottom:o,right:c,width:a,height:s}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;n.height=bh(i.height),n.top=bh(i.top),n.bottom=bh(i.bottom),n.width=bh(i.width),n.left=bh(i.left),n.right=bh(i.right),n.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",n.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(n.maxHeight=bh(t)),s&&(n.maxWidth=bh(s))}this._lastBoundingBoxSize=i,$u(this._boundingBox.style,n)}_resetBoundingBoxStyles(){$u(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){$u(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},n=this._hasExactPosition(),s=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(n){const n=this._viewportRuler.getViewportScrollPosition();$u(i,this._getExactOverlayY(e,t,n)),$u(i,this._getExactOverlayX(e,t,n))}else i.position="static";let o="",a=this._getOffset(e,"x"),l=this._getOffset(e,"y");a&&(o+=`translateX(${a}px) `),l&&(o+=`translateY(${l}px)`),i.transform=o.trim(),r.maxHeight&&(n?i.maxHeight=bh(r.maxHeight):s&&(i.maxHeight="")),r.maxWidth&&(n?i.maxWidth=bh(r.maxWidth):s&&(i.maxWidth="")),$u(this._pane.style,i)}_getExactOverlayY(t,e,i){let n={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i));let r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=r,"bottom"===t.overlayY?n.bottom=`${this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)}px`:n.top=bh(s.y),n}_getExactOverlayX(t,e,i){let n,s={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),n=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===n?s.right=`${this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)}
1px`:s.left=bh(r.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Iu(t,i),isOriginOutsideView:Au(t,i),isOverlayClipped:Iu(e,i),isOverlayOutsideView:Au(e,i)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(t=>{Mu("originX",t.originX),Fu("originY",t.originY),Mu("overlayX",t.overlayX),Fu("overlayY",t.overlayY)})}_addPanelClasses(t){this._pane&&yh(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof oa)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function $u(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function Wu(t){if("number"!=typeof t&&null!=t){const[e,i]=t.split(zu);return i&&"px"!==i?null:parseFloat(e)}return t||null}class qu{constructor(t,e,i,n,s,r,o){this._preferredPositions=[],this._positionStrategy=new Hu(i,n,s,r,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e)}get _isRtl(){return"rtl"===this._overlayRef.getDirection()}get onPositionChange(){return this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,i,n){const s=new Pu(t,e,i,n);return this._preferredPositions.push(s),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class Ku{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}
1apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:n,height:s,maxWidth:r,maxHeight:o}=i,a=!("100%"!==n&&"100vw"!==n||r&&"100%"!==r&&"100vw"!==r),l=!("100%"!==s&&"100vh"!==s||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove("cdk-global-overlay-wrapper"),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let Uu=(()=>{class t{constructor(t,e,i,n){this._viewportRuler=t,this._document=e,this._platform=i,this._overlayContainer=n}global(){return new Ku}connectedTo(t,e,i){return new qu(e,i,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new Hu(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(Zt(lu),Zt(uc),Zt(Xh),Zt(Bu))},t.\u0275prov=ht({factory:function(){return new t(Zt(lu),Zt(uc),Zt(Xh),Zt(Bu))},token:t,providedIn:"root"}),t})(),Zu=0,Qu=(()=>{class t{constructor(t,e,i,n,s,r,o,a,l,c){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=i,this._positionBuilder=n,this._keyboardDispatcher=s,this._injector=r,this._ngZone=o,this._document=a,this._directionality=l,this._location=c}create(t){const e=this._createHostElement(),i=this._createPaneElement(e),n=this._createPortalOutlet(i),s=new Ou(t);return s.direction=s.direction||this._directionality.value,new Vu(n,e,i,s,this._ngZone,this._keyboardDispatcher,this._document,this._location)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id=`cdk-overlay-${Zu++}`,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(sc)),new gu(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(Zt(Ru),Zt(Bu),Zt(ra),Zt(Uu),Zt(Lu),Zt(qr),Zt(Bl),Zt(uc),Zt(nu),Zt(Sc,8))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();const Gu={provide:new jt("cdk-connected-overlay-scroll-strategy"),deps:[Qu],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let Yu=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},providers:[Qu,Gu],imports:[[su,yu,cu],cu]}),t})();function Xu(t,e,i){return function(n){return n.lift(new Ju(t,e,i))}}class Ju{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new td(t,this.nextOrObserver,this.error,this.complete))}}class td extends p{constructor(t,e,i,s){super(t),this._tapNext=_,this._tapError=_,this._tapComplete=_,this._tapError=i||_,this._tapComplete=s||_,n(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||_,this._tapError=e.error||_,this._tapComplete=e.complete||_)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}function ed(t,e=Dh){return i=>i.lift(new id(t,e))}
1class id{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new nd(t,this.dueTime,this.scheduler))}}class nd extends p{constructor(t,e,i){super(t),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(sd,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function sd(t){t.debouncedNext()}let rd=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({factory:function(){return new t},token:t,providedIn:"root"}),t})(),od=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},providers:[rd]}),t})();function ad(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}let ld=0;const cd=new Map;let hd=null,ud=(()=>{class t{constructor(t){this._document=t}describe(t,e){this._canBeDescribed(t,e)&&("string"!=typeof e?(this._setMessageId(e),cd.set(e,{messageElement:e,referenceCount:0})):cd.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))}removeDescription(t,e){if(this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),"string"==typeof e){const t=cd.get(e);t&&0===t.referenceCount&&this._deleteMessageElement(e)}hd&&0===hd.childNodes.length&&this._deleteMessagesContainer()}}ngOnDestroy(){const t=this._document.querySelectorAll("[cdk-describedby-host]");for(let e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute("cdk-describedby-host");hd&&this._deleteMessagesContainer(),cd.clear()}_createMessageElement(t){const e=this._document.createElement("div");this._setMessageId(e),e.textContent=t,this._createMessagesContainer(),hd.appendChild(e),cd.set(t,{messageElement:e,referenceCount:0})}_setMessageId(t){t.id||(t.id=`cdk-describedby-message-${ld++}`)}_deleteMessageElement(t){const e=cd.get(t),i=e&&e.messageElement;hd&&i&&hd.removeChild(i),cd.delete(t)}_createMessagesContainer(){if(!hd){const t=this._document.getElementById("cdk-describedby-message-container");t&&t.parentNode.removeChild(t),hd=this._document.createElement("div"),hd.id="cdk-describedby-message-container",hd.setAttribute("aria-hidden","true"),hd.style.display="none",this._document.body.appendChild(hd)}}_deleteMessagesContainer(){hd&&hd.parentNode&&(hd.parentNode.removeChild(hd),hd=null)}_removeCdkDescribedByReferenceIds(t){const e=ad(t,"aria-describedby").filter(t=>0!=t.indexOf("cdk-describedby-message"));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const i=cd.get(e);!function(t,e,i){const n=ad(t,e);n.some(t=>t.trim()==i.trim())||(n.push(i.trim()),t.setAttribute(e,n.join(" ")))}(t,"aria-describedby",i.messageElement.id),t.setAttribute("cdk-describedby-host",""),i.referenceCount++}_removeMessageReference(t,e){const i=cd.get(e);i.referenceCount--,function(t,e,i){const n=ad(t,e).filter(t=>t!=i.trim());n.length?t.setAttribute(e,n.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",i.messageElement.id),t.removeAttribute("cdk-describedby-host")}_isElementDescribedByMessage(t,e){const i=ad(t,"aria-describedby"),n=cd.get(e),s=n&&n.messageElement.id;return!!s&&-1!=i.indexOf(s)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const i=null==e?"":`${e}`.trim(),n=t.getAttribute("aria-label");return!(!i||n&&n.trim()===i)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(Zt(uc))},t.\u0275prov=ht({factory:function(){return new t(Zt(uc))},token:t,providedIn:"root"}),t})();class dd extends class{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new E,this._typeaheadSub
1scription=u.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new E,this.change=new E,t instanceof tl&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){if(this._items.length&&this._items.some(t=>"function"!=typeof t.getLabel))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Xu(t=>this._pressedLetters.push(t)),ed(t),Mh(()=>this._pressedLetters.length>0),F(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let i=1;i<e.length+1;i++){const n=(this._activeItemIndex+i)%e.length,s=e[n];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(n);break}}this._pressedLetters=[]}),this}setActiveItem(t){const e=this._activeItemIndex;this.updateActiveItem(t),this._activeItemIndex!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(e=>!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((i||Eu(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t),n=e[i];this._activeItem=null==n?null:n,this._activeItemIndex=i}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const n=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[n]))return void this.setActiveItem(n)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof tl?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let md=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(Sy){return null}}((i=t).ownerDocument&&i.ownerDocument.defaultView||window);var i;if(e){const t=e&&e.nodeName.toLowerCase();if(-1===fd(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===t)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}let n=t.nodeName.toLowerCase(),s=fd(t);if(t.hasAttribute("contenteditable"))return-1!==s;if("iframe"===n)return!1;if("audio"===n){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===n){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;
1if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==n||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),i="input"===e&&t.type;return"text"===i||"password"===i||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0}isFocusable(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||pd(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)}}return t.\u0275fac=function(e){return new(e||t)(Zt(Xh))},t.\u0275prov=ht({factory:function(){return new t(Zt(Xh))},token:t,providedIn:"root"}),t})();function pd(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function fd(t){if(!pd(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class gd{constructor(t,e,i,n,s=!1){this._element=t,this._checker=e,this._ngZone=i,this._document=n,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], `+`[cdkFocusRegion${t}], `+`[cdk-focus-${t}]`);for(let i=0;i<e.length;i++)e[i].hasAttribute(`cdk-focus-${t}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', `+`use 'cdkFocusRegion${t}' instead. The deprecated `+"attribute will be removed in 8.0.0.",e[i]):e[i].hasAttribute(`cdk-focus-region-${t}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', `+`use 'cdkFocusRegion${t}' instead. The deprecated attribute `+"will be removed in 8.0.0.",e[i]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return t?(t.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",t),gn()&&!this._checker.isFocusable(t)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",t),t.focus(),!0):this.focusFirstTabbableElement()}focusFirstTabbableElement(){const t=this._getRegionBoundary("start");return t&&t.focus(),!!t}focusLastTabbableElement(){const t=this._getRegionBoundary("end");return t&&t.focus(),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let i=0;i<e.length;i++){let t=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(t)return t}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let i=e.length-1;i>=0;i--){let t=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(vu(1)).subscribe(t)}}let _d=(()=>{class t{constructor(t,e,i){this._checker=t,this._ngZone=e,this._document=i}create(t,e=!1){return new gd(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(Zt(md),Zt(Bl),Zt(uc))},t.\u0275prov=ht({factory:function(){return new t(Zt(md),Zt(Bl),Zt(uc))},token:t,providedIn:"root"}),t})();"undefined"!=typeof Element&&Element;const yd=new jt("cdk-focus-monitor-default-options"),bd=tu({passive:!0,capture:!0});let vd=(()=>{class t{constructor(t,e,i,n){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=()=>{this._lastTouchTarget||this._setOriginForCurrentEventQueue("mouse")},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=t.composedPath?t.composedPath()[0]:t.target,this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._document=i,this._detectionMode=(null==n?void 0:n.detectionMode)||0}monitor(t,e=!1){if(!this._platform.isBrowser)return wh(null);const i=vh(t);
1if(this._elementInfo.has(i)){let t=this._elementInfo.get(i);return t.checkChildren=e,t.subject.asObservable()}let n={unlisten:()=>{},checkChildren:e,subject:new E};this._elementInfo.set(i,n),this._incrementMonitoredElementCount();let s=t=>this._onFocus(t,i),r=t=>this._onBlur(t,i);return this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",s,!0),i.addEventListener("blur",r,!0)}),n.unlisten=()=>{i.removeEventListener("focus",s,!0),i.removeEventListener("blur",r,!0)},n.subject.asObservable()}stopMonitoring(t){const e=vh(t),i=this._elementInfo.get(e);i&&(i.unlisten(),i.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._decrementMonitoredElementCount())}focusVia(t,e,i){const n=vh(t);this._setOriginForCurrentEventQueue(e),"function"==typeof n.focus&&n.focus(i)}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,i){i?t.classList.add(e):t.classList.remove(e)}_setClasses(t,e){this._elementInfo.get(t)&&(this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e))}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){let e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const i=this._elementInfo.get(e);if(!i||!i.checkChildren&&e!==t.target)return;let n=this._origin;n||(n=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"),this._setClasses(e,n),this._emitOrigin(i.subject,n),this._lastFocusOrigin=n}_onBlur(t,e){const i=this._elementInfo.get(e);!i||i.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(i.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_incrementMonitoredElementCount(){1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,bd),t.addEventListener("mousedown",this._documentMousedownListener,bd),t.addEventListener("touchstart",this._documentTouchstartListener,bd),e.addEventListener("focus",this._windowFocusListener)})}_decrementMonitoredElementCount(){if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,bd),t.removeEventListener("mousedown",this._documentMousedownListener,bd),t.removeEventListener("touchstart",this._documentTouchstartListener,bd),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}return t.\u0275fac=function(e){return new(e||t)(Zt(Bl),Zt(Xh),Zt(uc,8),Zt(yd,8))},t.\u0275prov=ht({factory:function(){return new t(Zt(Bl),Zt(Xh),Zt(uc,8),Zt(yd,8))},token:t,providedIn:"root"}),t})(),wd=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}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 e=(this._document.defaultView.getComputedStyle(t).backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),e){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black");const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(Zt(Xh),Zt(uc))},t.\u0275prov=ht({factory:function(){return new t(Zt(Xh),Zt(uc))},token:t,providedIn:"root"}),t})(),xd=(()=>
1{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)(Zt(wd))},imports:[[Jh,od]]}),t})();const Ed=new ma("9.2.0");class Sd{}function Cd(t,e){return{type:7,name:t,definitions:e,options:{}}}function kd(t,e=null){return{type:4,styles:e,timings:t}}function Td(t,e=null){return{type:3,steps:t,options:e}}function Ad(t,e=null){return{type:2,steps:t,options:e}}function Id(t){return{type:6,styles:t,offset:null}}function Dd(t,e,i){return{type:0,name:t,styles:e,options:i}}function Rd(t){return{type:5,steps:t}}function Od(t,e,i=null){return{type:1,expr:t,animation:e,options:i}}function Pd(t=null){return{type:9,options:t}}function Nd(t,e,i=null){return{type:11,selector:t,animation:e,options:i}}function Fd(t){Promise.resolve(null).then(t)}class Md{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Fd(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Ld{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,n=0;const s=this.players.length;0==s?Fd(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++i==s&&this._onDestroy()}),t.onStart(()=>{++n==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const i=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(i)})}getPosition(){let t=0;return this.players.forEach(e=>{const i=e.getPosition();t=Math.min(i,t)}),t}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function jd(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Bd(t){switch(t.length){case 0:return new Md;case 1:return t[0];default:return new Ld(t)}}function Vd(t,e,i,n,s={},r={}){const o=[],a=[];let l=-1,c=null;if(n.forEach(t=>{const i=t.offset,n=i==l,h=n&&c||{};Object.keys(t).forEach(i=>{let n=i,a=t[i];if("offset"!==i)switch(n=e.normalizePropertyName(n,o),a){case"!":a=s[i];break;case"*":a=r[i];break;default:a=e.normalizeStyleValue(i,n,a,o)}h[n]=a}),n||a.push(h),c=h,l=i}),o.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${o.join(t)}`)}return a}function zd(t,e,i,n){switch(e){case"start":t.onStart(()=>n(i&&Hd(i,"start",t)));break;case"done":t.onDone(()=>n(i&&Hd(i,"done",t)));break;
1case"destroy":t.onDestroy(()=>n(i&&Hd(i,"destroy",t)))}}function Hd(t,e,i){const n=i.totalTime,s=$d(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==n?t.totalTime:n,!!i.disabled),r=t._data;return null!=r&&(s._data=r),s}function $d(t,e,i,n,s="",r=0,o){return{element:t,triggerName:e,fromState:i,toState:n,phaseName:s,totalTime:r,disabled:!!o}}function Wd(t,e,i){let n;return t instanceof Map?(n=t.get(e),n||t.set(e,n=i)):(n=t[e],n||(n=t[e]=i)),n}function qd(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let Kd=(t,e)=>!1,Ud=(t,e)=>!1,Zd=(t,e,i)=>[];const Qd=jd();(Qd||"undefined"!=typeof Element)&&(Kd=(t,e)=>t.contains(e),Ud=(()=>{if(Qd||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,i)=>e.apply(t,[i]):Ud}})(),Zd=(t,e,i)=>{let n=[];if(i)n.push(...t.querySelectorAll(e));else{const i=t.querySelector(e);i&&n.push(i)}return n});let Gd=null,Yd=!1;function Xd(t){Gd||(Gd=("undefined"!=typeof document?document.body:null)||{},Yd=!!Gd.style&&"WebkitAppearance"in Gd.style);let e=!0;return Gd.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in Gd.style,!e&&Yd)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in Gd.style),e}const Jd=Ud,tm=Kd,em=Zd;function im(t){const e={};return Object.keys(t).forEach(i=>{const n=i.replace(/([a-z])([A-Z])/g,"$1-$2");e[n]=t[i]}),e}let nm=(()=>{class t{validateStyleProperty(t){return Xd(t)}matchesElement(t,e){return Jd(t,e)}containsElement(t,e){return tm(t,e)}query(t,e,i){return em(t,e,i)}computeStyle(t,e,i){return i||""}animate(t,e,i,n,s,r=[],o){return new Md(i,n)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})(),sm=(()=>{class t{}return t.NOOP=new nm,t})();function rm(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:om(parseFloat(e[1]),e[2])}function om(t,e){switch(e){case"s":return 1e3*t;default:return t}}function am(t,e,i){return t.hasOwnProperty("duration")?t:function(t,e,i){let n,s=0,r="";if("string"==typeof t){const i=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===i)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};n=om(parseFloat(i[1]),i[2]);const o=i[3];null!=o&&(s=om(parseFloat(o),i[4]));const a=i[5];a&&(r=a)}else n=t;if(!i){let i=!1,r=e.length;n<0&&(e.push("Duration values below 0 are not allowed for this animation step."),i=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),i=!0),i&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:n,delay:s,easing:r}}(t,e,i)}function lm(t,e={}){return Object.keys(t).forEach(i=>{e[i]=t[i]}),e}function cm(t,e,i={}){if(e)for(let n in t)i[n]=t[n];else lm(t,i);return i}function hm(t,e,i){return i?e+":"+i+";":""}function um(t){let e="";for(let i=0;i<t.style.length;i++){const n=t.style.item(i);e+=hm(0,n,t.style.getPropertyValue(n))}for(const i in t.style)t.style.hasOwnProperty(i)&&!i.startsWith("_")&&(e+=hm(0,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[i]));t.setAttribute("style",e)}function dm(t,e,i){t.style&&(Object.keys(e).forEach(n=>{const s=vm(n);i&&!i.hasOwnProperty(n)&&(i[n]=t.style[s]),t.style[s]=e[n]}),jd()&&um(t))}function mm(t,e){t.style&&(Object.keys(e).forEach(e=>{const i=vm(e);t.style[i]=""}),jd()&&um(t))}function pm(t){return Array.isArray(t)?1==t.length?t[0]:Ad(t):t}const fm=new RegExp("{{\\s*(.+?)\\s*}}","g");function gm(t){let e=[];
1if("string"==typeof t){let i;for(;i=fm.exec(t);)e.push(i[1]);fm.lastIndex=0}return e}function _m(t,e,i){const n=t.toString(),s=n.replace(fm,(t,n)=>{let s=e[n];return e.hasOwnProperty(n)||(i.push(`Please provide a value for the animation param ${n}`),s=""),s.toString()});return s==n?t:s}function ym(t){const e=[];let i=t.next();for(;!i.done;)e.push(i.value),i=t.next();return e}const bm=/-+([a-z0-9])/g;function vm(t){return t.replace(bm,(...t)=>t[1].toUpperCase())}function wm(t,e){return 0===t||0===e}function xm(t,e,i){const n=Object.keys(i);if(n.length&&e.length){let r=e[0],o=[];if(n.forEach(t=>{r.hasOwnProperty(t)||o.push(t),r[t]=i[t]}),o.length)for(var s=1;s<e.length;s++){let i=e[s];o.forEach((function(e){i[e]=Sm(t,e)}))}}return e}function Em(t,e,i){switch(e.type){case 7:return t.visitTrigger(e,i);case 0:return t.visitState(e,i);case 1:return t.visitTransition(e,i);case 2:return t.visitSequence(e,i);case 3:return t.visitGroup(e,i);case 4:return t.visitAnimate(e,i);case 5:return t.visitKeyframes(e,i);case 6:return t.visitStyle(e,i);case 8:return t.visitReference(e,i);case 9:return t.visitAnimateChild(e,i);case 10:return t.visitAnimateRef(e,i);case 11:return t.visitQuery(e,i);case 12:return t.visitStagger(e,i);default:throw new Error(`Unable to resolve animation metadata node #${e.type}`)}}function Sm(t,e){return window.getComputedStyle(t)[e]}function Cm(t,e){const i=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,i){if(":"==t[0]){const n=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,i);if("function"==typeof n)return void e.push(n);t=n}const n=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return i.push(`The provided transition expression "${t}" is not supported`),e;const s=n[1],r=n[2],o=n[3];e.push(Am(s,o)),"<"!=r[0]||"*"==s&&"*"==o||e.push(Am(o,s))}(t,i,e)):i.push(t),i}const km=new Set(["true","1"]),Tm=new Set(["false","0"]);function Am(t,e){const i=km.has(t)||Tm.has(t),n=km.has(e)||Tm.has(e);return(s,r)=>{let o="*"==t||t==s,a="*"==e||e==r;return!o&&i&&"boolean"==typeof s&&(o=s?km.has(t):Tm.has(t)),!a&&n&&"boolean"==typeof r&&(a=r?km.has(e):Tm.has(e)),o&&a}}const Im=new RegExp("s*:selfs*,?","g");function Dm(t,e,i){return new Rm(t).build(e,i)}class Rm{constructor(t){this._driver=t}build(t,e){const i=new Om(e);return this._resetContextStyleTimingState(i),Em(this,pm(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,n=e.depCount=0;const s=[],r=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const i=t,n=i.name;n.toString().split(/\s*,\s*/).forEach(t=>{i.name=t,s.push(this.visitState(i,e))}),i.name=n}else if(1==t.type){const s=this.visitTransition(t,e);i+=s.queryCount,n+=s.depCount,r.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:r,queryCount:i,depCount:n,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),n=t.options&&t.options.params||null;if(i.containsDynamicStyles){const s=new Set,r=n||{};if(i.styles.forEach(t=>{if(Pm(t)){const e=t;Object.keys(e).forEach(t=>{gm(e[t]).forEach(t=>{r.hasOwnProperty(t)||s.add(t)})})}}),s.size){const i=ym(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${i.join(", ")}`)}}return{type:0,name:t.name,style:i,options:n?{params:n}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Em(this,pm(t.animation),e);return{type:1,matchers:Cm(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Nm(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Em(this,t,e)),options:Nm(t.options)}}visitGroup(t,e){const i=e.currentTime;let n=0;const s=t.steps.map(t=>{e.currentTime=i;const s=Em(this,t,e);return n=Math.max(n,e.currentTime),s});return e.currentTime=n,{type:3,steps:s,options:Nm(t.options)}}visitAnimate(t,e){const i=function(t,e){let i=null;if(t.hasOwnProperty("duration"))i=t;else if("number"==typeof t)return Fm(am(t,e).duration,0,"");const n=t;if(n.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=Fm(0,0,"");return t.dynamic=!0,t.strValue=n,t}return i=i||am(n,e),Fm(i.duration,i.delay,i.easing)}(t.timings,e.errors);let n;e.currentAnimateTimings=i;let s=t.styles?t.styles:Id({});if(5==s.type)n=this.visitKeyframes(s,e);else{let s=t.styles,r=!1;if(!s){r=!0;const t={};i.easing&&(t.easing=i.easing),s=Id(t)}e.currentTime+=i.duration+i.delay;const o=this.visitStyle(s,e);o.isEmptyStep=r,n=o}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);
1return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?"*"==t?i.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):i.push(t)}):i.push(t.styles);let n=!1,s=null;return i.forEach(t=>{if(Pm(t)){const e=t,i=e.easing;if(i&&(s=i,delete e.easing),!n)for(let t in e)if(e[t].toString().indexOf("{{")>=0){n=!0;break}}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:n,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let n=e.currentTime,s=e.currentTime;i&&s>0&&(s-=i.duration+i.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(i=>{if(!this._driver.validateStyleProperty(i))return void e.errors.push(`The provided animation property "${i}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],o=r[i];let a=!0;o&&(s!=n&&s>=o.startTime&&n<=o.endTime&&(e.errors.push(`The CSS property "${i}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${n}ms"`),a=!1),s=o.startTime),a&&(r[i]={startTime:s,endTime:n}),e.options&&function(t,e,i){const n=e.params||{},s=gm(t);s.length&&s.forEach(t=>{n.hasOwnProperty(t)||i.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[i],e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;let n=0;const s=[];let r=!1,o=!1,a=0;const l=t.steps.map(t=>{const i=this._makeStyleAst(t,e);let l=null!=i.offset?i.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(Pm(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}});else if(Pm(t)&&t.hasOwnProperty("offset")){const i=t;e=parseFloat(i.offset),delete i.offset}return e}(i.styles),c=0;return null!=l&&(n++,c=i.offset=l),o=o||c<0||c>1,r=r||c<a,a=c,s.push(c),i});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),r&&e.errors.push("Please ensure that all keyframe offsets are in order");const c=t.steps.length;let h=0;n>0&&n<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==n&&(h=1/(c-1));const u=c-1,d=e.currentTime,m=e.currentAnimateTimings,p=m.duration;return l.forEach((t,n)=>{const r=h>0?n==u?1:h*n:s[n],o=r*p;e.currentTime=d+m.delay+o,m.duration=o,this._validateStyleAst(t,e),t.offset=r,i.styles.push(t)}),i}visitReference(t,e){return{type:8,animation:Em(this,pm(t.animation),e),options:Nm(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Nm(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Nm(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,n=t.options||{};e.queryCount++,e.currentQuery=t;const[s,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(Im,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=i.length?i+" "+s:s,Wd(e.collectedStyles,e.currentQuerySelector,{});const o=Em(this,pm(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:s,limit:n.limit||0,optional:!!n.optional,includeSelf:r,animation:o,originalSelector:t.selector,options:Nm(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:am(t.timings,e.errors,!0);return{type:12,animation:Em(this,pm(t.animation),e),timings:i,options:null}}}class Om{constructor(t){this.errors=t,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}}function Pm(t){return!Array.isArray(t)&&"object"==typeof t}function Nm(t){var e;return t?(t=lm(t)).params&&(t.params=(e=t.params)?lm(e):null):t={},t}function Fm(t,e,i){return{duration:t,delay:e,easing:i}}function Mm(t,e,i,n,s,r,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:i,postStyleProps:n,duration:s,delay:r,totalTime:s+r,easing:o,subTimeline:a}}class Lm{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const jm=new RegExp(":enter","g"),Bm=new RegExp(":leave","g");function Vm(t,e,i,n,s,r={},o={},a,l,c=[]){return(new zm).buildKeyframes(t,e,i,n,s,r,o,a,l,c)}class zm{buildKeyframes(t,e,i,n,s,r,o,a,l,c=[]){l=l||new Lm;const h=new $m(t,e,l,n,s,c,[]);h.options=a,h.currentTimeline.setStyles([r],null,h.errors,a),Em(this,i,h);const u=h.timelines.filter(t=>t.containsAnimation());if(u.length&&Object.keys(o).length){const t=u[u.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,h.errors,a)}return u.length?u.map(t=>t.buildKeyframes()):[Mm(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}
vendor: 4,129 bytes, line 1
1visitAnimateChild(t,e){const i=e.subInstructions.consume(e.element);if(i){const n=e.createSubContext(t.options),s=e.currentTimeline.currentTime,r=this._visitSubInstructions(i,n,n.options);s!=r&&e.transformIntoNewTimeline(r)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,i){let n=e.currentTimeline.currentTime;const s=null!=i.duration?rm(i.duration):null,r=null!=i.delay?rm(i.delay):null;return 0!==s&&t.forEach(t=>{const i=e.appendInstructionToTimeline(t,s,r);n=Math.max(n,i.duration+i.delay)}),n}visitReference(t,e){e.updateOptions(t.options,!0),Em(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let n=e;const s=t.options;if(s&&(s.params||s.delay)&&(n=e.createSubContext(s),n.transformIntoNewTimeline(),null!=s.delay)){6==n.previousNode.type&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Hm);const t=rm(s.delay);n.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Em(this,t,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let n=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?rm(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);s&&o.delayNextStep(s),Em(this,r,o),n=Math.max(n,o.currentTimeline.currentTime),i.push(o.currentTimeline)}),i.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(n),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return am(e.params?_m(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),n=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),n.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(i.duration),this.visitStyle(s,e),n.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,n=e.currentAnimateTimings;!n&&i.getCurrentStyleProperties().length&&i.forwardFrame();const s=n&&n.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(s):i.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,n=e.currentTimeline.duration,s=i.duration,r=e.createSubContext().currentTimeline;r.easing=i.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*s),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(n+s),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,n=t.options||{},s=n.delay?rm(n.delay):0;s&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Hm);let r=i;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!n.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((i,n)=>{e.currentQueryIndex=n;const o=e.createSubContext(t.options,i);s&&o.delayNextStep(s),i===e.element&&(a=o.currentTimeline),Em(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,n=e.currentTimeline,s=t.timings,r=Math.abs(s.duration),o=r*(e.currentQueryTotal-1);let a=r*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=i.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;Em(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=n.currentTime-c+(n.startTime-i.currentTimeline.startTime)}}const Hm={};class $m{constructor(t,e,i,n,s,r,o,a){this._driver=t,this.element=e,this.subInstru
1ctions=i,this._enterClassName=n,this._leaveClassName=s,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Hm,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Wm(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let n=this.options;null!=i.duration&&(n.duration=rm(i.duration)),null!=i.delay&&(n.delay=rm(i.delay));const s=i.params;if(s){let t=n.params;t||(t=this.options.params={}),Object.keys(s).forEach(i=>{e&&t.hasOwnProperty(i)||(t[i]=_m(s[i],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(t=>{i[t]=e[t]})}}return t}createSubContext(t=null,e,i){const n=e||this.element,s=new $m(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=Hm,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const n={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+t.delay,easing:""},s=new qm(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,n,t.stretchStartingKeyframe);return this.timelines.push(s),n}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,n,s,r){let o=[];if(n&&o.push(this.element),t.length>0){t=(t=t.replace(jm,"."+this._enterClassName)).replace(Bm,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=i);0!==i&&(e=i<0?e.slice(e.length+i,e.length):e.slice(0,i)),o.push(...e)}return s||0!=o.length||r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class Wm{constructor(t,e,i,n){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=n,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,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(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new Wm(this._driver,t,e||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(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEac
1h(t=>{this._backFill[t]=this._globalTimelineStyles[t]||"*",this._currentKeyframe[t]="*"}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,n){e&&(this._previousKeyframe.easing=e);const s=n&&n.params||{},r=function(t,e){const i={};let n;return t.forEach(t=>{"*"===t?(n=n||Object.keys(e),n.forEach(t=>{i[t]="*"})):cm(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(r).forEach(t=>{const e=_m(r[t],s,i);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:"*"),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const i=this._styleSummary[e],n=t._styleSummary[e];(!i||n.time>i.time)&&this._updateStyle(e,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let n=[];this._keyframes.forEach((s,r)=>{const o=cm(s,!0);Object.keys(o).forEach(i=>{const n=o[i];"!"==n?t.add(i):"*"==n&&e.add(i)}),i||(o.offset=r/this.duration),n.push(o)});const s=t.size?ym(t.values()):[],r=e.size?ym(e.values()):[];if(i){const t=n[0],e=lm(t);t.offset=0,e.offset=1,n=[t,e]}return Mm(this.element,n,s,r,this.duration,this.startTime,this.easing,!1)}}class qm extends Wm{constructor(t,e,i,n,s,r,o=!1){super(t,e,r.delay),this.element=e,this.keyframes=i,this.preStyleProps=n,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],r=i+e,o=e/r,a=cm(t[0],!1);a.offset=0,s.push(a);const l=cm(t[0],!1);l.offset=Km(o),s.push(l);const c=t.length-1;for(let n=1;n<=c;n++){let o=cm(t[n],!1);o.offset=Km((e+o.offset*i)/r),s.push(o)}i=r,e=0,n="",t=s}return Mm(this.element,t,this.preStyleProps,this.postStyleProps,i,e,n,!0)}}function Km(t,e=3){const i=Math.pow(10,e-1);return Math.round(t*i)/i}class Um{}class Zm extends Um{normalizePropertyName(t,e){return vm(t)}normalizeStyleValue(t,e,i,n){let s="";const r=i.toString().trim();if(Qm[e]&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const e=i.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&n.push(`Please provide a CSS unit value for ${t}:${i}`)}return r+s}}const Qm=(()=>function(t){const e={};return t.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 Gm(t,e,i,n,s,r,o,a,l,c,h,u,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:i,fromStyles:r,toState:n,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:h,totalTime:u,errors:d}}const Ym={};class Xm{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,n){return function(t,e,i,n,s){return t.some(t=>t(e,i,n,s))}(this.ast.matchers,t,e,i,n)}buildStyles(t,e,i){const n=this._stateStyles["*"],s=this._stateStyles[t],r=n?n.buildStyles(e,i):{};return s?s.buildStyles(e,i):r}build(t,e,i,n,s,r,o,a,l,c){const h=[],u=this.ast.options&&this.ast.options.params||Ym,d=this.buildStyles(i,o&&o.params||Ym,h),m=a&&a.params||Ym,p=this.buildStyles(n,m,h),f=new Set,g=new Map,_=new Map,y="void"===n,b={params:Object.assign(Object.assign({},u),m)},v=c?[]:Vm(t,e,this.ast.animation,s,r,d,p,b,l,h);let w=0;if(v.forEach(t=>{w=Math.max(t.duration+t.delay,w)}),h.length)return Gm(e,this._triggerName,i,n,y,d,p,[],[],g,_,w,h);v.forEach(t=>{const i=t.element,n=Wd(g,i,{});t.preStyleProps.forEach(t=>n[t]=!0);const s=Wd(_,i,{});t.postStyleProps.forEach(t=>s[t]=!0),i!==e&&f.add(i)});const x=ym(f.values());return Gm(e,this._triggerName,i,n,y,d,p,v,x,g,_,w)}}class Jm{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const i={},n=lm(this.defaultParams);
1return Object.keys(t).forEach(e=>{const i=t[e];null!=i&&(n[e]=i)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let r=s[t];r.length>1&&(r=_m(r,n,e)),i[t]=r})}}),i}}class tp{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new Jm(t.style,t.options&&t.options.params||{})}),ep(this.states,"true","1"),ep(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new Xm(t,e,this.states))}),this.fallbackTransition=new Xm(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,n){return this.transitionFactories.find(s=>s.match(t,e,i,n))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function ep(t,e,i){t.hasOwnProperty(e)?t.hasOwnProperty(i)||(t[i]=t[e]):t.hasOwnProperty(i)&&(t[e]=t[i])}const ip=new Lm;class np{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(t,e){const i=[],n=Dm(this._driver,e,i);if(i.length)throw new Error(`Unable to build the animation due to the following errors: ${i.join("\n")}`);this._animations[t]=n}_buildPlayer(t,e,i){const n=t.element,s=Vd(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(n,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const n=[],s=this._animations[t];let r;const o=new Map;if(s?(r=Vm(this._driver,e,s,"ng-enter","ng-leave",{},{},i,ip,n),r.forEach(t=>{const e=Wd(o,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(n.push("The requested animation doesn't exist or has already been destroyed"),r=[]),n.length)throw new Error(`Unable to create the animation due to the following errors: ${n.join("\n")}`);o.forEach((t,e)=>{Object.keys(t).forEach(i=>{t[i]=this._driver.computeStyle(e,i,"*")})});const a=Bd(r.map(t=>{const e=o.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=a,a.onDestroy(()=>this.destroy(t)),this.players.push(a),a}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,i,n){const s=$d(e,"","","");return zd(this._getPlayer(t),i,s,n),()=>{}}command(t,e,i,n){if("register"==i)return void this.register(t,n[0]);if("create"==i)return void this.create(t,e,n[0]||{});const s=this._getPlayer(t);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(n[0]));break;case"destroy":this.destroy(t)}}}const sp=[],rp={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},op={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class ap{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=null!=(n=i?t.value:t)?n:null,i){const e=lm(t);delete e.value,this.options=e}else this.options={};var n;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(i=>{null==t[i]&&(t[i]=e[i])})}}}const lp=new ap("void");class cp{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
1+t,gp(e,this._hostClassName)}listen(t,e,i,n){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${i}" because the animation trigger "${e}" doesn't exist!`);if(null==i||0==i.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=i)&&"done"!=s)throw new Error(`The provided animation trigger event "${i}" for the animation trigger "${e}" is not supported!`);var s;const r=Wd(this._elementListeners,t,[]),o={name:e,phase:i,callback:n};r.push(o);const a=Wd(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(gp(t,"ng-trigger"),gp(t,"ng-trigger-"+e),a[e]=lp),()=>{this._engine.afterFlush(()=>{const t=r.indexOf(o);t>=0&&r.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,i,n=!0){const s=this._getTrigger(e),r=new up(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(gp(t,"ng-trigger"),gp(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new ap(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=lp),"void"!==l.value&&a.value===l.value){if(!function(t,e){const i=Object.keys(t),n=Object.keys(e);if(i.length!=n.length)return!1;for(let s=0;s<i.length;s++){const n=i[s];if(!e.hasOwnProperty(n)||t[n]!==e[n])return!1}return!0}(a.params,l.params)){const e=[],i=s.matchStyles(a.value,a.params,e),n=s.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{mm(t,i),dm(t,n)})}return}const c=Wd(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let h=s.matchTransition(a.value,l.value,t,l.params),u=!1;if(!h){if(!n)return;h=s.fallbackTransition,u=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:a,toState:l,player:r,isFallbackTransition:u}),u||(gp(t,"ng-animate-queued"),r.onStart(()=>{_p(t,"ng-animate-queued")})),r.onDone(()=>{let e=this.players.indexOf(r);e>=0&&this.players.splice(e,1);const i=this._engine.playersByElement.get(t);if(i){let t=i.indexOf(r);t>=0&&i.splice(t,1)}}),this.players.push(r),c.push(r),r}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,i)=>{delete e[t]}),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,".ng-trigger",!0);i.forEach(t=>{if(t.__ng_removed)return;const i=this._engine.fetchNamespacesByElement(t);i.size?i.forEach(i=>i.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,i,n){const s=this._engine.statesByElement.get(t);if(s){const r=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const i=this.trigger(t,e,"void",n);i&&r.push(i)}}),r.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),i&&Bd(r).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const i=new Set;e.forEach(e=>{const n=e.name;if(i.has(n))return;i.add(n);const s=this._triggers[n].fallbackTransition,r=this._engine.statesByElement.get(t)[n]||lp,o=new ap("void"),a=new up(this.id,n,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:n,transition:s,fromState:r,toState:o,player:a,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let n=!1;if(i.totalAnimations){const e=i.players.length?i.playersByQueriedElement.get(t):[];if(e&&e.length)n=!0;else{let e=t;for(;e=e.parentNode;)if(i.statesByElement.get(e)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(t),n)i.markElementAsRemoved(this.id,t,!1,e);else{const n=t.__ng_removed;n&&n!==rp||(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){gp(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>
1{const n=i.player;if(n.destroyed)return;const s=i.element,r=this._elementListeners.get(s);r&&r.forEach(e=>{if(e.name==i.triggerName){const n=$d(s,i.triggerName,i.fromState.value,i.toState.value);n._data=t,zd(i.player,e.phase,n,e.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):e.push(i)}),this._queue=[],e.sort((t,e)=>{const i=t.transition.ast.depCount,n=e.transition.ast.depCount;return 0==i||0==n?i-n:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class hp{constructor(t,e,i){this.bodyNode=t,this.driver=e,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=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const i=new cp(t,e,this);return e.parentNode?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList.length-1;if(i>=0){let n=!1;for(let s=i;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),n=!0;break}n||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let n=this._namespaceLookup[t];n&&n.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(i);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i){const t=Object.keys(i);for(let n=0;n<t.length;n++){const s=i[t[n]].namespaceId;if(s){const t=this._fetchNamespace(s);t&&e.add(t)}}}return e}trigger(t,e,i,n){if(dp(e)){const s=this._fetchNamespace(t);if(s)return s.trigger(e,i,n),!0}return!1}insertNode(t,e,i,n){if(!dp(e))return;const s=e.__ng_removed;if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const n=this._fetchNamespace(t);n&&n.insertNode(e,i)}n&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),gp(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),_p(t,"ng-animate-disabled"))}removeNode(t,e,i,n){if(dp(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n),i){const i=this.namespacesByHostElement.get(e);i&&i.id!==t&&i.removeNode(e,n)}}else this._onRemovalComplete(e,n)}markElementAsRemoved(t,e,i,n){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1}}listen(t,e,i,n,s){return dp(e)?this._fetchNamespace(t).listen(e,i,n,s):()=>{}}_buildInstruction(t,e,i,n,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,n,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Bd(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=rp,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEac
1h(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)gp(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{e=this._flushAnimations(i,t)}finally{for(let t=0;t<i.length;t++)i[t]()}}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(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?Bd(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const i=new Lm,n=[],s=new Map,r=[],o=new Map,a=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(t=>{c.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let i=0;i<e.length;i++)c.add(e[i])});const h=this.bodyNode,u=Array.from(this.statesByElement.keys()),d=fp(u,this.collectedEnterElements),m=new Map;let p=0;d.forEach((t,e)=>{const i="ng-enter"+p++;m.set(e,i),t.forEach(t=>gp(t,i))});const f=[],g=new Set,_=new Set;for(let D=0;D<this.collectedLeaveElements.length;D++){const t=this.collectedLeaveElements[D],e=t.__ng_removed;e&&e.setForRemoval&&(f.push(t),g.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>g.add(t)):_.add(t))}const y=new Map,b=fp(u,Array.from(g));b.forEach((t,e)=>{const i="ng-leave"+p++;y.set(e,i),t.forEach(t=>gp(t,i))}),t.push(()=>{d.forEach((t,e)=>{const i=m.get(e);t.forEach(t=>_p(t,i))}),b.forEach((t,e)=>{const i=y.get(e);t.forEach(t=>_p(t,i))}),f.forEach(t=>{this.processLeaveNode(t)})});const v=[],w=[];for(let D=this._namespaceList.length-1;D>=0;D--)this._namespaceList[D].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(v.push(e),this.collectedEnterElements.length){const t=s.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const c=!h||!this.driver.containsElement(h,s),u=y.get(s),d=m.get(s),p=this._buildInstruction(t,i,d,u,c);if(!p.errors||!p.errors.length)return c||t.isFallbackTransition?(e.onStart(()=>mm(s,p.fromStyles)),e.onDestroy(()=>dm(s,p.toStyles)),void n.push(e)):(p.timelines.forEach(t=>t.stretchStartingKeyframe=!0),i.append(s,p.timelines),r.push({instruction:p,player:e,element:s}),p.queriedElements.forEach(t=>Wd(o,t,[]).push(e)),p.preStyleProps.forEach((t,e)=>{const i=Object.keys(t);if(i.length){let t=a.get(e);t||a.set(e,t=new Set),i.forEach(e=>t.add(e))}}),void p.postStyleProps.forEach((t,e)=>{const i=Object.keys(t);let n=l.get(e);n||l.set(e,n=new Set),i.forEach(t=>n.add(t))}));w.push(p)});if(w.length){const t=[];w.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),v.forEach(t=>t.destroy()),this.reportError(t)}const x=new Map,E=new Map;r.forEach(t=>{const e=t.element;i.has(e)&&(E.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,x))}),n.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{Wd(x,e,[]).push(t),t.destroy()})});const S=f.filter(t=>bp(t,a,l)),C=new Map;pp(C,this.driver,_,l,"*").forEach(t=>{bp(t,a,l)&&S.push(t)});const k=new Map;d.forEach((t,e)=>{pp(k,this.driver,new Set(t),a,"!")}),S.forEach(t=>{const e=C.get(t),i=k.get(t);C.set(t,Object.assign(Object.assign({},e),i))});const T=[],A=[],I={};r.forEach(t=>{const{element:e,player:r,instruction:o}=t;if(i.has(e)){if(c.has(e))return r.onDestroy(()=>dm(e,o.toStyles)),r.disabled=!0,r.overrideTotalTime(o.totalTime),void n.push(r);let t=I;if(E.size>1){let i=e;const n=[];for(;i=i.parentNode;){const e=E.get(i);if(e){t=e;break}n.push(i)}n.forEach(e=>E.set(e,t))}const i=this._buildAnimation(r.namespaceId,o,x,s,k,C);if(r.setRealPlayer(i),t===I)T.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=Bd(e)),n.push(r)}}else mm(e,o.fromStyles),r.onDestroy(()=>dm(e,o.toStyles)),A.push(r),c.has(e)&&n.push(r)}),A.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const i=Bd(e);t.setRealPlayer(i)}}
1),n.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let D=0;D<f.length;D++){const t=f[D],e=t.__ng_removed;if(_p(t,"ng-leave"),e&&e.hasAnimation)continue;let i=[];if(o.size){let e=o.get(t);e&&e.length&&i.push(...e);let n=this.driver.query(t,".ng-animating",!0);for(let t=0;t<n.length;t++){let e=o.get(n[t]);e&&e.length&&i.push(...e)}}const n=i.filter(t=>!t.destroyed);n.length?yp(this,t,n):this.processLeaveNode(t)}return f.length=0,T.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),T}elementContainsData(t,e){let i=!1;const n=e.__ng_removed;return n&&n.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,n,s){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||"void"==s;e.forEach(e=>{e.queued||(t||e.triggerName==n)&&r.push(e)})}}return(i||n)&&(r=r.filter(t=>!(i&&i!=t.namespaceId||n&&n!=t.triggerName))),r}_beforeAnimationBuild(t,e,i){const n=e.element,s=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==n,l=Wd(i,t,[]);this._getPreviousPlayers(t,a,s,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}mm(n,e.fromStyles)}_buildAnimation(t,e,i,n,s,r){const o=e.triggerName,a=e.element,l=[],c=new Set,h=new Set,u=e.timelines.map(e=>{const u=e.element;c.add(u);const d=u.__ng_removed;if(d&&d.removedBeforeQueried)return new Md(e.duration,e.delay);const m=u!==a,p=function(t){const e=[];return function t(e,i){for(let n=0;n<e.length;n++){const s=e[n];s instanceof Ld?t(s.players,i):i.push(s)}}(t,e),e}((i.get(u)||sp).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===u),f=s.get(u),g=r.get(u),_=Vd(0,this._normalizer,0,e.keyframes,f,g),y=this._buildPlayer(e,_,p);if(e.subTimeline&&n&&h.add(u),m){const e=new up(t,o,u);e.setRealPlayer(y),l.push(e)}return y});l.forEach(t=>{Wd(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,i){let n;if(t instanceof Map){if(n=t.get(e),n){if(n.length){const t=n.indexOf(i);n.splice(t,1)}0==n.length&&t.delete(e)}}else if(n=t[e],n){if(n.length){const t=n.indexOf(i);n.splice(t,1)}0==n.length&&delete t[e]}return n}(this.playersByQueriedElement,t.element,t))}),c.forEach(t=>gp(t,"ng-animating"));const d=Bd(u);return d.onDestroy(()=>{c.forEach(t=>_p(t,"ng-animating")),dm(a,e.toStyles)}),h.forEach(t=>{Wd(n,t,[]).push(d)}),d}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Md(t.duration,t.delay)}}class up{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Md,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEac
1h(e=>{this._queuedCallbacks[e].forEach(i=>zd(t,e,void 0,i))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Wd(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function dp(t){return t&&1===t.nodeType}function mp(t,e){const i=t.style.display;return t.style.display=null!=e?e:"none",i}function pp(t,e,i,n,s){const r=[];i.forEach(t=>r.push(mp(t)));const o=[];n.forEach((i,n)=>{const r={};i.forEach(t=>{const i=r[t]=e.computeStyle(n,t,s);i&&0!=i.length||(n.__ng_removed=op,o.push(n))}),t.set(n,r)});let a=0;return i.forEach(t=>mp(t,r[a++])),o}function fp(t,e){const i=new Map;if(t.forEach(t=>i.set(t,[])),0==e.length)return i;const n=new Set(e),s=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let r=s.get(e);if(r)return r;const o=e.parentNode;return r=i.has(o)?o:n.has(o)?1:t(o),s.set(e,r),r}(t);1!==e&&i.get(e).push(t)}),i}function gp(t,e){if(t.classList)t.classList.add(e);else{let i=t.$$classes;i||(i=t.$$classes={}),i[e]=!0}}function _p(t,e){if(t.classList)t.classList.remove(e);else{let i=t.$$classes;i&&delete i[e]}}function yp(t,e,i){Bd(i).onDone(()=>t.processLeaveNode(e))}function bp(t,e,i){const n=i.get(t);if(!n)return!1;let s=e.get(t);return s?n.forEach(t=>s.add(t)):e.set(t,n),i.delete(t),!0}class vp{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new hp(t,e,i),this._timelineEngine=new np(t,e,i),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,i,n,s){const r=t+"-"+n;let o=this._triggerCache[r];if(!o){const t=[],e=Dm(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${n}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new tp(t,e)}(n,e),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(e,n,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,n){this._transitionEngine.insertNode(t,e,i,n)}onRemove(t,e,i,n){this._transitionEngine.removeNode(t,e,n||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}
1process(t,e,i,n){if("@"==i.charAt(0)){const[t,s]=qd(i);this._timelineEngine.command(t,e,s,n)}else this._transitionEngine.trigger(t,e,i,n)}listen(t,e,i,n,s){if("@"==i.charAt(0)){const[t,n]=qd(i);return this._timelineEngine.listen(t,e,n,s)}return this._transitionEngine.listen(t,e,i,n,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function wp(t,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=Ep(e[0]),e.length>1&&(n=Ep(e[e.length-1]))):e&&(i=Ep(e)),i||n?new xp(t,i,n):null}let xp=(()=>{class t{constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&dm(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(dm(this._element,this._initialStyles),this._endStyles&&(dm(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(mm(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(mm(this._element,this._endStyles),this._endStyles=null),dm(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Ep(t){let e=null;const i=Object.keys(t);for(let n=0;n<i.length;n++){const s=i[n];Sp(s)&&(e=e||{},e[s]=t[s])}return e}function Sp(t){return"display"===t||"position"===t}class Cp{constructor(t,e,i,n,s,r,o){this._element=t,this._name=e,this._duration=i,this._delay=n,this._easing=s,this._fillMode=r,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const i=Rp(t,"").trim();i.length&&(function(t,e){let i=0;for(let n=0;n<t.length;n++)","===t.charAt(n)&&i++}(i),e=`${i}, ${e}`),Dp(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Ip(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){kp(this._element,this._name,"paused")}resume(){kp(this._element,this._name,"running")}setPosition(t){const e=Tp(this._element,this._name);this._position=t*this._duration,Dp(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),i=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&i>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Ip(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const i=Rp(t,"").split(","),n=Ap(i,e);n>=0&&(i.splice(n,1),Dp(t,"",i.join(",")))}(this._element,this._name))}}function kp(t,e,i){Dp(t,"PlayState",i,Tp(t,e))}function Tp(t,e){const i=Rp(t,"");return i.indexOf(",")>0?Ap(i.split(","),e):Ap([i],e)}function Ap(t,e){for(let i=0;i<t.length;i++)if(t[i].indexOf(e)>=0)return i;return-1}function Ip(t,e,i){i?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function Dp(t,e,i,n){const s="animation"+e;if(null!=n){const e=t.style[s];if(e.length){const t=e.split(",");t[n]=i,i=t.join(",")}}t.style[s]=i}function Rp(t,e){return t.style["animation"+e]}class Op{constructor(t,e,i,n,s,r,o,a){this.element=t,this.keyframes=e,this.animationName=i,this._duration=n,this._delay=s,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=n+s,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>
1=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Cp(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(i=>{"offset"!=i&&(t[i]=e?this._finalStyles[i]:Sm(this.element,i))})}this.currentSnapshot=t}}class Pp extends Md{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=im(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class Np{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return Xd(t)}matchesElement(t,e){return Jd(t,e)}containsElement(t,e){return tm(t,e)}query(t,e,i){return em(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,i){i=i.map(t=>im(t));let n=`@keyframes ${e} {\n`,s="";i.forEach(t=>{s=" ";const e=parseFloat(t.offset);n+=`${s}${100*e}% {\n`,s+=" ",Object.keys(t).forEach(e=>{const i=t[e];switch(e){case"offset":return;case"easing":return void(i&&(n+=`${s}animation-timing-function: ${i};\n`));default:return void(n+=`${s}${e}: ${i};\n`)}}),n+=`${s}}\n`}),n+="}\n";const r=document.createElement("style");return r.innerHTML=n,r}animate(t,e,i,n,s,r=[],o){o&&this._notifyFaultyScrubber();const a=r.filter(t=>t instanceof Op),l={};wm(i,n)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(i=>{"offset"!=i&&"easing"!=i&&(e[i]=t[i])})}),e}(e=xm(t,e,l));if(0==i)return new Pp(t,c);const h=`gen_css_kf_${this._count++}`,u=this.buildKeyframeElement(t,h,e);document.querySelector("head").appendChild(u);const d=wp(t,e),m=new Op(t,e,h,i,n,s,c,d);return m.onDestroy(()=>{var t;(t=u).parentNode.removeChild(t)}),m}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n","  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class Fp{constructor(t,e,i,n){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=n,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(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}
1_triggerWebAnimation(t,e,i){return t.animate(e,i)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:Sm(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Mp{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Lp().toString()),this._cssKeyframesDriver=new Np}validateStyleProperty(t){return Xd(t)}matchesElement(t,e){return Jd(t,e)}containsElement(t,e){return tm(t,e)}query(t,e,i){return em(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,i,n,s,r=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,i,n,s,r);const a={duration:i,delay:n,fill:0==n?"both":"forwards"};s&&(a.easing=s);const l={},c=r.filter(t=>t instanceof Fp);wm(i,n)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const h=wp(t,e=xm(t,e=e.map(t=>cm(t,!1)),l));return new Fp(t,e,a,h)}}function Lp(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let jp=(()=>{class t extends Sd{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:le.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(t)?Ad(t):t;return zp(this._renderer,null,e,"register",[i]),new Bp(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(Zt(la),Zt(uc))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();class Bp extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new Vp(this._id,t,e||{},this._renderer)}}class Vp{constructor(t,e,i,n){this.id=t,this.element=e,this._renderer=n,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return zp(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}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")}setPosition(t){this._command("setPosition",t)}getPosition(){return 0}}function zp(t,e,i,n,s){return t.setProperty(e,`@@${i}:${n}`,s)}let Hp=(()=>{class t{constructor(t,e,i){this.delegate=t,this.engine=e,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const i=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(i);return t||(t=new $p("",i,this.engine),this._rendererCache.set(i,t)),t}const n=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const r=e=>{Array.isArray(e)?e.forEach(r):this.engine.registerTrigger(n,s,t,e.name,e)};return e.data.animation.forEach(r),new Wp(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,i){t>=0&&t<this._microtaskId?this._zone.run(()=>e(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,i]=t;e(i)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,i]))}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 t.\u0275fac=function(e){return new(e||t)(Zt(la),Zt(vp),Zt(Bl))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();class $p{constructor(t,e,i){this.namespaceId=t,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}
1appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,!0)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,n){this.delegate.setAttribute(t,e,i,n)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,n){this.delegate.setStyle(t,e,i,n)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class Wp extends $p{constructor(t,e,i,n){super(e,i,n),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.substr(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const n=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),r="";return"@"!=s.charAt(0)&&([s,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,n,s,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,i,t)})}return this.delegate.listen(t,e,i)}}let qp=(()=>{class t extends vp{constructor(t,e,i){super(t.body,e,i)}}return t.\u0275fac=function(e){return new(e||t)(Zt(uc),Zt(sm),Zt(Um))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();const Kp=new jt("AnimationModuleType"),Up=[{provide:sm,useFactory:function(){return"function"==typeof Lp()?new Mp:new Np}},{provide:Kp,useValue:"BrowserAnimations"},{provide:Sd,useClass:jp},{provide:Um,useFactory:function(){return new Zm}},{provide:vp,useClass:qp},{provide:la,useFactory:function(t,e,i){return new Hp(t,e,i)},deps:[eh,vp,Bl]}];let Zp=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},providers:Up,imports:[fh]}),t})();const Qp=new ma("9.2.0"),Gp=new jt("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let Yp,Xp=(()=>{class t{constructor(t,e,i){this._hasDoneGlobalChecks=!1,this._document=i,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getDocument(){const t=this._document||document;return"object"==typeof t&&t?t:null}_getWindow(){const t=this._getDocument(),e=(null==t?void 0:t.defaultView)||window;return"object"==typeof e&&e?e:null}_checksAreEnabled(){return gn()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){const t=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),e=this._getDocument();t&&e&&!e.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){const t=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,e=this._getDocument();if(t||!e||!e.body||"function"!=typeof getComputedStyle)return;const i=e.createElement("div");i.classList.add("mat-theme-loaded-marker"),e.body.appendChild(i);const n=getComputedStyle(i);n&&"none"!==n.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),e.body.removeChild(i)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&Qp.full!==Ed.full&&console.warn("The Angular Material version ("+Qp.full+") does not match the Angular CDK version ("+Ed.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)(Zt(wd),Zt(Gp,8),Zt(uc,8))},imports:[[su],su]}),t})();function Jp(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=gh(t)}}}function tf(t,e){return class extends t{constructor(...t){super(...t),this.color=e}get color(){return this._color}set color(t){const i=t||e;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 ef(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=gh(t)}}}try{Yp="undefined"!=typeof Intl}catch(Sy){Yp=!1}let nf=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ye({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function sf(t,e,i){const n=t.nativeElement.classList;i?n.add(e):n.remove(e)}let rf=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},imports:[[Xp],Xp]}),t})();class of{constructor(t,e,i){this._renderer=t,this.element=e,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const af={enterDuration:450,exitDuration:400},lf=tu({passive:!0});class cf{constructor(t,e,i,n){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=t=>{const e=function(t){return 0===t.buttons}(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||e||i||(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))},this._onTouchStart=t=>{if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let t=0;t<e.length;t++)this.fadeInRipple(e[t].clientX,e[t].clientY,this._target.rippleConfig)}},this._onPointerUp=()=>{this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEac
1h(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))},n.isBrowser&&(this._containerElement=vh(i),this._triggerEvents.set("mousedown",this._onMousedown).set("mouseup",this._onPointerUp).set("mouseleave",this._onPointerUp).set("touchstart",this._onTouchStart).set("touchend",this._onPointerUp).set("touchcancel",this._onPointerUp))}fadeInRipple(t,e,i={}){const n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},af),i.animation);i.centered&&(t=n.left+n.width/2,e=n.top+n.height/2);const r=i.radius||function(t,e,i){const n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),s=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+s*s)}(t,e,n),o=t-n.left,a=e-n.top,l=s.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=`${o-r}px`,c.style.top=`${a-r}px`,c.style.height=`${2*r}px`,c.style.width=`${2*r}px`,null!=i.color&&(c.style.backgroundColor=i.color),c.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const h=new of(this,c,i);return h.state=0,this._activeRipples.add(h),i.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(()=>{const t=h===this._mostRecentTransientRipple;h.state=1,i.persistent||t&&this._isPointerDown||h.fadeOut()},l),h}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const i=t.element,n=Object.assign(Object.assign({},af),t.config.animation);i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,i.parentNode.removeChild(i)},n.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=vh(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(()=>{this._triggerEvents.forEach((t,i)=>{e.addEventListener(i,t,lf)})}),this._triggerElement=e)}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_removeTriggerEvents(){this._triggerElement&&this._triggerEvents.forEach((t,e)=>{this._triggerElement.removeEventListener(e,t,lf)})}}const hf=new jt("mat-ripple-global-options");let uf=(()=>{class t{constructor(t,e,i,n,s){this._elementRef=t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=n||{},this._rippleRenderer=new cf(this,e,t,i),"NoopAnimations"===s&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign({},this._globalOptions.animation),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,i){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(ao(oa),ao(Bl),ao(Xh),ao(hf,8),ao(Kp,8))},t.\u0275dir=ye({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&Io("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),df=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},imports:[[Xp,Jh],Xp]}),t})(),mf=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)}}),t})();function pf(t,e){}class ff{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const gf={dialogContainer:Cd("dialogContainer",[Dd("void, exit",Id({opacity:0,transform:"scale(0.7)"})),Dd("enter",Id({transform:"none"})),Od("* => enter",kd("150ms cubic-bezier(0, 0, 0.2, 1)",Id({transform:"none",opacity:1}))),Od("* => void, * => exit",kd("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Id({opacity:0}
1)))])};function _f(){throw Error("Attempting to attach dialog content after content is already attached")}let yf=(()=>{class t extends fu{constructor(t,e,i,n,s){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=i,this._config=s,this._elementFocusedBeforeDialogWasOpened=null,this._state="enter",this._animationStateChanged=new Xa,this.attachDomPortal=t=>(this._portalOutlet.hasAttached()&&_f(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=n}attachComponentPortal(t){return this._portalOutlet.hasAttached()&&_f(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached()&&_f(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)}_trapFocus(){const t=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(t)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{const e=this._document.activeElement;e===t||t.contains(e)||t.focus()}}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=this._document.activeElement,i=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==i&&!i.contains(e)||t.focus()}this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}_onAnimationDone(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(ao(oa),ao(_d),ao(Ir),ao(uc,8),ao(ff))},t.\u0275cmp=de({type:t,selectors:[["mat-dialog-container"]],viewQuery:function(t,e){var i,n;1&t&&(n=_u,!0,ul(Ue(),Ke(),n,!0,void 0,!0)),2&t&&cl(i=ml())&&(e._portalOutlet=i.first)},hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&_o("@dialogContainer.start",(function(t){return e._onAnimationStart(t)}))("@dialogContainer.done",(function(t){return e._onAnimationDone(t)})),2&t&&(so("id",e._id)("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),jo("@dialogContainer",e._state))},features:[Vo],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&ro(0,pf,0,0,"ng-template",0)},directives:[_u],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[gf.dialogContainer]}}),t})(),bf=0;class vf{constructor(t,e,i=`mat-dialog-${bf++}`){this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new E,this._afterClosed=new E,this._beforeClosed=new E,this._state=0,e._id=i,e._animationStateChanged.pipe(Mh(t=>
1"done"===t.phaseName&&"enter"===t.toState),vu(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Mh(t=>"done"===t.phaseName&&"exit"===t.toState),vu(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._overlayRef.dispose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(Mh(t=>27===t.keyCode&&!this.disableClose&&!Eu(t))).subscribe(t=>{t.preventDefault(),this.close()})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Mh(t=>"start"===t.phaseName),vu(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._state=2,this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>{this._overlayRef.dispose()},e.totalTime+100)}),this._containerInstance._startExitAnimation(),this._state=1}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}const wf=new jt("MatDialogData"),xf=new jt("mat-dialog-default-options"),Ef=new jt("mat-dialog-scroll-strategy"),Sf={provide:Ef,deps:[Qu],useFactory:function(t){return()=>t.scrollStrategies.block()}};let Cf=(()=>{class t{constructor(t,e,i,n,s,r,o){var a;this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=r,this._overlayContainer=o,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new E,this._afterOpenedAtThisLevel=new E,this._ariaHiddenElements=new Map,this.afterAllClosed=(a=()=>this.openDialogs.length?this._afterAllClosed:this._afterAllClosed.pipe($h(void 0)),new y(t=>{let e;try{e=a()}catch(i){return void t.error(i)}return(e?B(e):Zh()).subscribe(t)})),this._scrollStrategy=s}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}get _afterAllClosed(){const t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel}open(t,e){if((e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new ff)).id&&this.getDialogById(e.id))throw Error(`Dialog with id "${e.id}" exists already. The dialog id must be unique.`);const i=this._createOverlay(e),n=this._attachDialogContainer(i,e),s=this._attachDialogContent(t,n,i,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new Ou({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const i=qr.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:ff,useValue:e}]}),n=new du(yf,e.viewContainerRef,i,e.componentFactoryResolver);return t.attach(n).instance}_attachDialogContent(t,e,i,n){const s=new vf(i,e,n.id);if(n.hasBackdrop&&i.backdropClick().subscribe(()=>{s.disableClose||s.close()}),t instanceof Da)e.attachTemplatePortal(new mu(t,null,{$implicit:n.data,dialogRef:s}));else{const i=this._createInjector(n,s,e),r=e.attachComponentPortal(new du(t,n.viewContainerRef,i));s.componentInstance=r.instance}return s.updateSize(n.width,n.height).updatePosition(n.position),s}_createInjector(t,e,i){const n=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=[{provide:yf,useValue:i},{provide:wf,useValue:t.data},{provide:vf,useValue:e}];return!t.direction||n&&n.get(nu,null)||s.push({provide:nu,useValue:{value:t.direction,change:wh()}}),qr.create({parent:n||this._injector,providers:s})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEac
1h((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let i=e.length-1;i>-1;i--){let n=e[i];n===t||"SCRIPT"===n.nodeName||"STYLE"===n.nodeName||n.hasAttribute("aria-live")||(this._ariaHiddenElements.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(Zt(Qu),Zt(qr),Zt(Sc,8),Zt(xf,8),Zt(Ef),Zt(t,12),Zt(Bu))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})(),kf=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},providers:[Cf,Sf],imports:[[Yu,yu,Xp],Xp]}),t})();const Tf=["*",[["mat-toolbar-row"]]],Af=["*","mat-toolbar-row"];class If{constructor(t){this._elementRef=t}}const Df=tf(If);let Rf=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ye({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),Of=(()=>{class t extends Df{constructor(t,e,i){super(t),this._platform=e,this._document=i}ngAfterViewInit(){gn()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(t=>!(t.classList&&t.classList.contains("mat-toolbar-row"))).filter(t=>t.nodeType!==(this._document?this._document.COMMENT_NODE:8)).some(t=>!(!t.textContent||!t.textContent.trim()))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `<mat-toolbar-row>` elements explicitly or just place content inside of a `<mat-toolbar>` for a single row.")}()}}return t.\u0275fac=function(e){return new(e||t)(ao(oa),ao(Xh),ao(uc))},t.\u0275cmp=de({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,i){var n;1&t&&dl(i,Rf,!0),2&t&&cl(n=ml())&&(e._toolbarRows=n)},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,e){2&t&&Io("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[Vo],ngContentSelectors:Af,decls:2,vars:0,template:function(t,e){1&t&&(Eo(Tf),So(0),So(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}\n"],encapsulation:2,changeDetection:0}),t})(),Pf=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},imports:[[Xp],Xp]}),t})();const Nf=["mat-button",""],Ff=["*"],Mf=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class Lf{constructor(t){this._elementRef=t}}const jf=tf(Jp(ef(Lf)));let Bf=(()=>{class t extends jf{constructor(t,e,i){super(t),this._focusMonitor=e,this._animationMode=i,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const n of Mf)this._hasHostAttributes(n)&&this._getHostElement().classList.add(n);t.nativeElement.classList.add("mat-button-base"),this._focusMonitor.monitor(this._elementRef,!0),this.isRoundButton&&(this.color="accent")}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t="program",e){this._focusMonitor.focusVia(this._getHostElement(),t,e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(ao(oa),ao(vd),ao(Kp,8))},t.\u0275cmp=de({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){var i;1&t&&hl(uf,!0),2&t&&cl(i=ml())&&(e.ripple=i.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:3,hostBindings:function(t,e){2&t&&(so("disabled",e.disabled||null),Io("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Vo],attrs:Nf,ngContentSelectors:Ff,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(Eo(),ho(0,"span",0),So(1),uo(),mo(2,"div",1),mo(3,"div",2)),2&t&&(is(2),Io("mat-button-ripple-round",e.isRoundButton||e.isIconButton),lo("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[uf],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}
1.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),t})(),Vf=(()=>{class t extends Bf{constructor(t,e,i){super(e,t,i)}_haltDisabledEvents(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}}
1return t.\u0275fac=function(e){return new(e||t)(ao(vd),ao(oa),ao(Kp,8))},t.\u0275cmp=de({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){1&t&&go("click",(function(t){return e._haltDisabledEvents(t)})),2&t&&(so("tabindex",e.disabled?-1:e.tabIndex||0)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString()),Io("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[Vo],attrs:Nf,ngContentSelectors:Ff,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(Eo(),ho(0,"span",0),So(1),uo(),mo(2,"div",1),mo(3,"div",2)),2&t&&(is(2),Io("mat-button-ripple-round",e.isRoundButton||e.isIconButton),lo("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[uf],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),t})(),zf=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},imports:[[df,Xp],Xp]}),t})();class Hf{constructor(t){this.selector=t}call(t,e){return e.subscribe(new $f(t,this.selector,this.caught))}}class $f extends N{constructor(t,e,i){super(t),this.selector=e,this.caught=i}error(t){if(!this.isStopped){let i;try{i=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const n=new k(this,void 0,void 0);this.add(n);const s=P(this,i,void 0,void 0,n);s!==n&&this.add(s)}}}class Wf{constructor(t){this.callback=t}call(t,e){return e.subscribe(new qf(t,this.callback))}}class qf extends p{constructor(t,e){super(t),this.add(new u(e))}}class Kf{}class Uf{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const i=t.slice(0,e),n=i.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(s):this.headers.set(n,[s])}})}:()=>
vendor: 4,642 bytes, line 1
1{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const n=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(n,i),this.maybeSetNormalizedName(e,n))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof Uf?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new Uf;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Uf?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const n=("a"===t.op?this.headers.get(e):void 0)||[];n.push(...i),this.headers.set(e,n);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class Zf{encodeKey(t){return Qf(t)}encodeValue(t){return Qf(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function Qf(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class Gf{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Zf,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const i=new Map;return t.length>0&&t.split("&").forEach(t=>{const n=t.indexOf("="),[s,r]=-1==n?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,n)),e.decodeValue(t.slice(n+1))],o=i.get(s)||[];o.push(r),i.set(s,o)}),i}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e];this.map.set(e,Array.isArray(i)?i:[i])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Gf({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const i=e.indexOf(t.value);-1!==i&&e.splice(i,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function Yf(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Xf(t){return"undefined"!=typeof Blob&&t instanceof Blob}function Jf(t){return"undefined"!=typeof FormData&&t instanceof FormData}class tg{constructor(t,e,i,n){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}
vendor: 5,263 bytes, line 1
1(this.method)||n?(this.body=void 0!==i?i:null,s=n):s=i,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.params&&(this.params=s.params)),this.headers||(this.headers=new Uf),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const i=e.indexOf("?");this.urlWithParams=e+(-1===i?"?":i<e.length-1?"&":"")+t}}else this.params=new Gf,this.urlWithParams=e}serializeBody(){return null===this.body?null:Yf(this.body)||Xf(this.body)||Jf(this.body)||"string"==typeof this.body?this.body:this.body instanceof Gf?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Jf(this.body)?null:Xf(this.body)?this.body.type||null:Yf(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Gf?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(t={}){const e=t.method||this.method,i=t.url||this.url,n=t.responseType||this.responseType,s=void 0!==t.body?t.body:this.body,r=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,o=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let a=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(a=Object.keys(t.setHeaders).reduce((e,i)=>e.set(i,t.setHeaders[i]),a)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,i)=>e.set(i,t.setParams[i]),l)),new tg(e,i,s,{params:l,headers:a,reportProgress:o,responseType:n,withCredentials:r})}}const eg=function(){var t={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return t[t.Sent]="Sent",t[t.UploadProgress]="UploadProgress",t[t.ResponseHeader]="ResponseHeader",t[t.DownloadProgress]="DownloadProgress",t[t.Response]="Response",t[t.User]="User",t}();class ig extends class{constructor(t,e=200,i="OK"){this.headers=t.headers||new Uf,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}{constructor(t={}){super(t),this.type=eg.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new ig({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}function ng(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let sg=(()=>{class t{constructor(t){this.handler=t}request(t,e,i={}){let n;if(t instanceof tg)n=t;else{let s=void 0;s=i.headers instanceof Uf?i.headers:new Uf(i.headers);let r=void 0;i.params&&(r=i.params instanceof Gf?i.params:new Gf({fromObject:i.params})),n=new tg(t,e,void 0!==i.body?i.body:null,{headers:s,params:r,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=wh(n).pipe(V(t=>this.handler.handle(t),void 0,1));if(t instanceof tg||"events"===i.observe)return s;const r=s.pipe(Mh(t=>t instanceof ig));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return r.pipe(F(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return r.pipe(F(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return r.pipe(F(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return r.pipe(F(t=>t.body))}case"response":return r;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new Gf).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,i={}){return this.request("PATCH",t,ng(i,e))}post(t,e,i={}){return this.request("POST",t,ng(i,e))}put(t,e,i={}){return this.request("PUT",t,ng(i,e))}}return t.\u0275fac=function(e){return new(e||t)(Zt(Kf))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();function rg(t,e){return new y(i=>{const n=t.length;if(0===n)return void i.complete();const s=new Array(n);let r=0,o=0;for(let a=0;a<n;a++){const l=B(t[a]);let c=!1;i.add(l.subscribe({next:t=>{c||(c=!0,o++),s[a]=t},error:t=>i.error(t),complete:()=>{r++,r!==n&&c||(o===n&&i.next(e?e.reduce((t,e,i)=>(t[e]=s[i],t),{}):s),i.complete())}}))}})}const og=["*"];function ag(t){return Error(`Unable to find icon with the name "${t}"`)}function lg(t){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL "+`via Angular's DomSanitizer. Attempted URL was "${t}".`)}function cg(t){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by "+`Angular's DomSanitizer. Attempted literal was "${t}".`)}
1class hg{constructor(t,e){this.options=e,t.nodeName?this.svgElement=t:this.url=t}}let ug=(()=>{class t{constructor(t,e,i,n){this._httpClient=t,this._sanitizer=e,this._errorHandler=n,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=i}addSvgIcon(t,e,i){return this.addSvgIconInNamespace("",t,e,i)}addSvgIconLiteral(t,e,i){return this.addSvgIconLiteralInNamespace("",t,e,i)}addSvgIconInNamespace(t,e,i,n){return this._addSvgIconConfig(t,e,new hg(i,n))}addSvgIconLiteralInNamespace(t,e,i,n){const s=this._sanitizer.sanitize(jn.HTML,i);if(!s)throw cg(i);const r=this._createSvgElementForSingleIcon(s,n);return this._addSvgIconConfig(t,e,new hg(r,n))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,i){return this._addSvgIconSetConfig(t,new hg(e,i))}addSvgIconSetLiteralInNamespace(t,e,i){const n=this._sanitizer.sanitize(jn.HTML,e);if(!n)throw cg(e);const s=this._svgElementFromString(n);return this._addSvgIconSetConfig(t,new hg(s,i))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(jn.RESOURCE_URL,t);if(!e)throw lg(t);const i=this._cachedIconsByUrl.get(e);return i?wh(dg(i)):this._loadSvgIconFromConfig(new hg(t)).pipe(Xu(t=>this._cachedIconsByUrl.set(e,t)),F(t=>dg(t)))}getNamedSvgIcon(t,e=""){const i=mg(e,t),n=this._svgIconConfigs.get(i);if(n)return this._getSvgFromConfig(n);const s=this._iconSetConfigs.get(e);return s?this._getSvgFromIconSetConfigs(t,s):(r=ag(i),new y(t=>t.error(r)));var r}ngOnDestroy(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgElement?wh(dg(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(Xu(e=>t.svgElement=e),F(t=>dg(t)))}_getSvgFromIconSetConfigs(t,e){const i=this._extractIconWithNameFromAnySet(t,e);return i?wh(i):function(...t){if(1===t.length){const e=t[0];if(l(e))return rg(e,null);if(c(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return rg(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return rg(t=1===t.length&&l(t[0])?t[0]:t,null).pipe(F(t=>e(...t)))}return rg(t,null)}(e.filter(t=>!t.svgElement).map(t=>{return this._loadSvgIconSetFromConfig(t).pipe((e=e=>{const i=`Loading icon set URL: ${this._sanitizer.sanitize(jn.RESOURCE_URL,t.url)} failed: ${e.message}`;return this._errorHandler?this._errorHandler.handleError(new Error(i)):console.error(i),wh(null)},function(t){const i=new Hf(e),n=t.lift(i);return i.caught=n}));var e})).pipe(F(()=>{const i=this._extractIconWithNameFromAnySet(t,e);if(!i)throw ag(t);return i}))}_extractIconWithNameFromAnySet(t,e){for(let i=e.length-1;i>=0;i--){const n=e[i];if(n.svgElement){const e=this._extractSvgIconFromSet(n.svgElement,t,n.options);if(e)return e}}return null}_loadSvgIconFromConfig(t){return this._fetchUrl(t.url).pipe(F(e=>this._createSvgElementForSingleIcon(e,t.options)))}_loadSvgIconSetFromConfig(t){return t.svgElement?wh(t.svgElement):this._fetchUrl(t.url).pipe(F(e=>(t.svgElement||(t.svgElement=this._svgElementFromString(e)),t.svgElement)))}_createSvgElementForSingleIcon(t,e){const i=this._svgElementFromString(t);return this._setSvgAttributes(i,e),i}_extractSvgIconFromSet(t,e,i){const n=t.querySelector(`[id="${e}"]`);if(!n)return null;const s=n.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,i);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),i);const r=this._svgElementFromString("<svg></svg>");return r.appendChild(s),this._setSvgAttributes(r,i)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const i=e.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(t){const e=this._svgElementFromString("<svg></svg>"),i=t.attributes;for(let n=0;n<i.length;n++){const{name:t,value:s}=i[n];"id"!==t&&e.setAttribute(t,s)}for(let n=0;n<t.childNodes.length;n++)t.childNodes[n].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[n].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}_fetchUrl(t){if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==t)throw Error(`Cannot fetch icon from URL "${t}".`);const e=this._sanitizer.sanitize(jn.RESOURCE_URL,t);if(!e)throw lg(t);const i=this._inProgressUrlFetches.get(e);if(i)return i;const n=this._httpClient.get(e,{responseType:"text"}).pipe((s=()=>this._inProgressUrlFetches.delete(e),t=>t.lift(new Wf(s))),tt());var s;return this._inProgressUrlFetches.set(e,n),n}_addSvgIconConfig(t,e,i){return this._svgIconConfigs.set(mg(t,e),i),this}_addSvgIconSetConfig(t,e){const i=this._iconSetConfigs.get(t);return i?i.push(e):this._iconSetConfigs.set(t,[e]),this}}return t.\u0275fac=function(e){return new(e||t)(Zt(sg,8),Zt(uh),Zt(uc,8),Zt(sn,8))},t.\u0275prov=ht({factory:function(){return new t(Zt(sg,8),Zt(uh),Zt(uc,8),Zt(sn,8))},token:t,providedIn:"root"}),t})();function dg(t){return t.cloneNode(!0)}function mg(t,e){return t+":"+e}class pg{constructor(t){this._elementRef=t}}const fg=tf(pg),gg=new jt("mat-icon-location",{providedIn:"root",factory:function(){const t=Qt(uc),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),_g=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],yg=_g.map(t=>`[${t}]`).join(", "),bg=/^url\(['"]?#(.*?)['"]?\)$/;let vg=(()=>{class t extends fg{constructor(t,e,i,n,s){super(t),this._iconRegistry=e,this._location=n,this._errorHandler=s,this._inline=!1,i||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=gh(t)}get fontSet(){return this._fontSet}set fontSet(t){this._fontSet=this._cleanupFontValue(t)}get fontIcon(){return this._fontIcon}set fontIcon(t){this._fontIcon=this._cleanupFontValue(t)}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnChanges(t){const e=t.svgIcon;
1if(e)if(this.svgIcon){const[t,e]=this._splitIconName(this.svgIcon);this._iconRegistry.getNamedSvgIcon(e,t).pipe(vu(1)).subscribe(t=>this._setSvgElement(t),i=>{const n=`Error retrieving icon ${t}:${e}! ${i.message}`;this._errorHandler?this._errorHandler.handleError(new Error(n)):console.error(n)})}else e.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()}ngOnInit(){this._usingFontIcon()&&this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&this._location&&t.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let i=0;i<e.length;i++)e[i].textContent+=" ";if(this._location){const e=this._location.getPathname();this._previousPath=e,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(e)}this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){const i=t.childNodes[e];1===i.nodeType&&"svg"!==i.nodeName.toLowerCase()||t.removeChild(i)}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),e&&t.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}
1_prependPathToReferences(t){const e=this._elementsWithExternalReferences;e&&e.forEach((e,i)=>{e.forEach(e=>{i.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(yg),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let n=0;n<e.length;n++)_g.forEach(t=>{const s=e[n],r=s.getAttribute(t),o=r?r.match(bg):null;if(o){let e=i.get(s);e||(e=[],i.set(s,e)),e.push({name:t,value:o[1]})}})}}return t.\u0275fac=function(e){return new(e||t)(ao(oa),ao(ug),("aria-hidden",function(t,e){const i=t.attrs;if(i){const t=i.length;let e=0;for(;e<t;){const n=i[e];if(Si(n))break;if(0===n)e+=2;else if("number"==typeof n)for(e++;e<t&&"string"==typeof i[e];)e++;else{if("aria-hidden"===n)return i[e+1];e+=2}}}return null}(Qe())),ao(gg,8),ao(sn,8))},t.\u0275cmp=de({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:4,hostBindings:function(t,e){2&t&&Io("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color)},inputs:{color:"color",inline:"inline",fontSet:"fontSet",fontIcon:"fontIcon",svgIcon:"svgIcon"},exportAs:["matIcon"],features:[Vo,Ko],ngContentSelectors:og,decls:1,vars:0,template:function(t,e){1&t&&(Eo(),So(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t})(),wg=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},imports:[[Xp],Xp]}),t})();const xg=["mat-menu-item",""],Eg=["*"];function Sg(t,e){if(1&t){const t=po();ho(0,"div",0),go("keydown",(function(e){return Ze(t),wo()._handleKeydown(e)}))("click",(function(){return Ze(t),wo().closed.emit("click")}))("@transformMenu.start",(function(e){return Ze(t),wo()._onAnimationStart(e)}))("@transformMenu.done",(function(e){return Ze(t),wo()._onAnimationDone(e)})),ho(1,"div",1),So(2),uo(),uo()}if(2&t){const t=wo();lo("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),so("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const Cg={transformMenu:Cd("transformMenu",[Dd("void",Id({opacity:0,transform:"scale(0.8)"})),Od("void => enter",Td([Nd(".mat-menu-content, .mat-mdc-menu-content",kd("100ms linear",Id({opacity:1}))),kd("120ms cubic-bezier(0, 0, 0.2, 1)",Id({transform:"scale(1)"}))])),Od("* => void",kd("100ms 25ms linear",Id({opacity:0})))]),fadeInItems:Cd("fadeInItems",[Dd("showing",Id({opacity:1})),Od("void => *",[Id({opacity:0}),kd("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let kg=(()=>{class t{constructor(t,e,i,n,s,r,o){this._template=t,this._componentFactoryResolver=e,this._appRef=i,this._injector=n,this._viewContainerRef=s,this._document=r,this._changeDetectorRef=o,this._attached=new E}attach(t={}){this._portal||(this._portal=new mu(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new gu(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const e=this._template.elementRef.nativeElement;e.parentNode.insertBefore(this._outlet.outletElement,e),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,t),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return t.\u0275fac=function(e){return new(e||t)(ao(Da),ao(ra),ao(sc),ao(qr),ao(Oa),ao(uc),ao(Ir))},t.\u0275dir=ye({type:t,selectors:[["ng-template","matMenuContent",""]]}),t})();const Tg=new jt("MAT_MENU_PANEL");class Ag{}const Ig=ef(Jp(Ag));let Dg=(()=>{class t extends Ig{constructor(t,e,i,n){super(),this._elementRef=t,this._focusMonitor=i,this._parentMenu=n,this.role="menuitem",this._hovered=new E,this._focused=new E,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.monitor(this._elementRef,!1),n&&n.addItem&&n.addItem(this),this._document=e}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3;let i="";if(t.childNodes){const n=t.childNodes.length;for(let s=0;s<n;s++)t.childNodes[s].nodeType===e&&(i+=t.childNodes[s].textContent)}return i.trim()}}return t.\u0275fac=function(e){return new(e||t)(ao(oa),ao(uc),ao(vd),ao(Tg,8))},t.\u0275cmp=de({type:t,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(t,e){1&t&&go("click",(function(t){return e._checkDisabled(t)}))("mouseenter",(function(){return e._handleMouseEnter()})),2&t&&(so("role",e.role)("tabindex",e._getTabIndex())("aria-disabled",e.disabled.toString())("disabled",e.disabled||null),Io("mat-menu-item",!0)("mat-menu-item-highlighted",e._highlighted)("mat-menu-item-submenu-trigger",e._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[Vo],attrs:xg,ngContentSelectors:Eg,decls:2,vars:2,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"]],template:function(t,e){1&t&&(Eo(),So(0),mo(1,"div",0)),2&t&&(is(1),lo("matRippleDisabled",e.disableRipple||e.disabled)("matRippleTrigger",e._getHostElement()))},directives:[uf],encapsulation:2,changeDetection:0}),t})();const Rg=new jt("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Og=0,Pg=(()=>{class t{constructor(t,e,i){this._elementRef=t,this._ngZone=e,this._defaultOptions=i,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new tl,this._tabSubscription=u.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new E,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new Xa,this.close=this.closed,this.panelId=`mat-menu-panel-${Og++}`}get xPosition(){return this._xPosition}set xPosition(t){"before"!==t&&"after"!==t&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n      Example: <mat-menu xPosition="before" #menu="matMenu"></mat-menu>')}(),this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n      Example: <mat-menu yPosition="above" #menu="matMenu"></mat-menu>')}(),this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=gh(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=gh(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}
1),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new dd(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe($h(this._directDescendantItems),Wh(t=>K(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe($h(this._directDescendantItems),Wh(t=>K(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,i=this._keyManager;switch(e){case 27:Eu(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case 36:case 35:Eu(t)||(36===e?i.setFirstItemActive():i.setLastItemActive(),t.preventDefault());break;default:38!==e&&40!==e||i.setFocusOrigin("keyboard"),i.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.asObservable().pipe(vu(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=`mat-elevation-z${Math.min(4+t,24)}`,i=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const i=this._classList;i["mat-menu-before"]="before"===t,i["mat-menu-after"]="after"===t,i["mat-menu-above"]="above"===e,i["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe($h(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(ao(oa),ao(Bl),ao(Rg))},t.\u0275dir=ye({type:t,contentQueries:function(t,e,i){var n;1&t&&(dl(i,kg,!0),dl(i,Dg,!0),dl(i,Dg,!1)),2&t&&(cl(n=ml())&&(e.lazyContent=n.first),cl(n=ml())&&(e._allItems=n),cl(n=ml())&&(e.items=n))},viewQuery:function(t,e){var i;1&t&&hl(Da,!0),2&t&&cl(i=ml())&&(e.templateRef=i.first)},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t})(),Ng=(()=>{class t extends Pg{}return t.\u0275fac=function(e){return Fg(e||t)},t.\u0275dir=ye({type:t,features:[Vo]}),t})();const Fg=Ji(Ng);let Mg=(()=>{class t extends Ng{constructor(t,e,i){super(t,e,i)}}return t.\u0275fac=function(e){return new(e||t)(ao(oa),ao(Bl),ao(Rg))},t.\u0275cmp=de({type:t,selectors:[["mat-menu"]],exportAs:["matMenu"],features:[ia([{provide:Tg,useExisting:Ng},{provide:Ng,useExisting:t}]),Vo],ngContentSelectors:Eg,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(Eo(),ro(0,Sg,3,6,"ng-template"))},directives:[Dc],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[Cg.transformMenu,Cg.fadeInItems]},changeDetection:0}),t})();const Lg={provide:new jt("mat-menu-scroll-strategy"),deps:[Qu],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let jg=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},providers:[Lg],imports:[Xp]}),t})(),Bg=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},providers:[Lg],imports:[[Bc,Xp,df,Yu,jg],jg]}),t})();const Vg={};class zg{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new Hg(t,this.resultSelector))}}class Hg extends N{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(Vg),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;i<e;i++){const e=t[i];this.add(P(this,e,e,i))}}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,i,n,s){const r=this.values,o=this.toRespond?r[i]===Vg?--this.toRespond:this.toRespond:0;r[i]=e,0===o&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}class $g{constructor(t){this.total=t}call(t,e){return e.subscribe(new Wg(t,this.total))}}class Wg extends p{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}const qg=new Set;let Kg,Ug=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Zg}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!qg.has(t))try{Kg||(Kg=document.createElement("style"),Kg.setAttribute("type","text/css"),document.head.appendChild(Kg)),Kg.sheet&&(Kg.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),qg.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(Zt(Xh))},t.\u0275prov=ht({factory:function(){return new t(Zt(Xh))},token:t,providedIn:"root"}),t})();function Zg(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Qg=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=ne
1w E}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return Gg(yh(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){let e=function(...t){let e=null,i=null;return C(t[t.length-1])&&(i=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),q(t,i).lift(new zg(e))}(Gg(yh(t)).map(t=>this._registerQuery(t).observable));return e=Hh(e.pipe(vu(1)),e.pipe(t=>t.lift(new $g(1)),ed(0))),e.pipe(F(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(t=>{e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),i={observable:new y(t=>{const i=e=>this._zone.run(()=>t.next(e));return e.addListener(i),()=>{e.removeListener(i)}}).pipe($h(e),F(e=>({query:t,matches:e.matches})),Bh(this._destroySubject)),mql:e};return this._queries.set(t,i),i}}return t.\u0275fac=function(e){return new(e||t)(Zt(Ug),Zt(Bl))},t.\u0275prov=ht({factory:function(){return new t(Zt(Ug),Zt(Bl))},token:t,providedIn:"root"}),t})();function Gg(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const Yg={tooltipState:Cd("state",[Dd("initial, void, hidden",Id({opacity:0,transform:"scale(0)"})),Dd("visible",Id({transform:"scale(1)"})),Od("* => visible",kd("200ms cubic-bezier(0, 0, 0.2, 1)",Rd([Id({opacity:0,transform:"scale(0)",offset:0}),Id({opacity:.5,transform:"scale(0.99)",offset:.5}),Id({opacity:1,transform:"scale(1)",offset:1})]))),Od("* => hidden",kd("100ms cubic-bezier(0, 0, 0.2, 1)",Id({opacity:0})))])},Xg=tu({passive:!0});function Jg(t){return Error(`Tooltip position "${t}" is invalid.`)}const t_=new jt("mat-tooltip-scroll-strategy"),e_={provide:t_,deps:[Qu],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},i_=new jt("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let n_=(()=>{class t{constructor(t,e,i,n,s,r,o,a,l,c,h,u){this._overlay=t,this._elementRef=e,this._scrollDispatcher=i,this._viewContainerRef=n,this._ngZone=s,this._platform=r,this._ariaDescriber=o,this._focusMonitor=a,this._dir=c,this._defaultOptions=h,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new E,this._handleKeydown=t=>{this._isTooltipVisible()&&27===t.keyCode&&!Eu(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=l,h&&(h.position&&(this.position=h.position),h.touchGestures&&(this.touchGestures=h.touchGestures)),a.monitor(e).pipe(Bh(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&s.run(()=>this.show()):s.run(()=>this.hide(0))}),s.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=gh(t),this._disabled&&this.hide(0)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?`${t}`.trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngOnInit(){this._setupPointerEvents()}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEac
1h((e,i)=>{t.removeEventListener(i,e,Xg)}),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new du(s_,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Bh(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return e.positionChanges.pipe(Bh(this._destroyed)).subscribe(t=>{this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Bh(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),i=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),i.main),Object.assign(Object.assign({},e.fallback),i.fallback)])}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;if("above"==e||"below"==e)i={originX:"center",originY:"above"==e?"top":"bottom"};else if("before"==e||"left"==e&&t||"right"==e&&!t)i={originX:"start",originY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw Jg(e);i={originX:"end",originY:"center"}}const{x:n,y:s}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:n,originY:s}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let i;if("above"==e)i={overlayX:"center",overlayY:"bottom"};else if("below"==e)i={overlayX:"center",overlayY:"top"};else if("before"==e||"left"==e&&t||"right"==e&&!t)i={overlayX:"end",overlayY:"center"};else{if(!("after"==e||"right"==e&&t||"left"==e&&!t))throw Jg(e);i={overlayX:"start",overlayY:"center"}}const{x:n,y:s}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:n,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(vu(1),Bh(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}_setupPointerEvents(){if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",t).set("touchcancel",t).set("touchstart",()=>{clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)})}}else this._passiveListeners.set("mouseenter",()=>this.show()).set("mouseleave",()=>this.hide());
1this._passiveListeners.forEach((t,e)=>{this._elementRef.nativeElement.addEventListener(e,t,Xg)})}_disableNativeGesturesIfNecessary(){const t=this._elementRef.nativeElement,e=t.style,i=this.touchGestures;"off"!==i&&(("on"===i||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(e.userSelect=e.msUserSelect=e.webkitUserSelect=e.MozUserSelect="none"),"on"!==i&&t.draggable||(e.webkitUserDrag="none"),e.touchAction="none",e.webkitTapHighlightColor="transparent")}}return t.\u0275fac=function(e){return new(e||t)(ao(Qu),ao(oa),ao(ou),ao(Oa),ao(Bl),ao(Xh),ao(ud),ao(vd),ao(t_),ao(nu,8),ao(i_,8),ao(oa))},t.\u0275dir=ye({type:t,selectors:[["","matTooltip",""]],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),t})(),s_=(()=>{class t{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new E,this._isHandset=this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)")}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(ao(Ir),ao(Qg))},t.\u0275cmp=de({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&go("click",(function(){return e._handleBodyInteraction()}),!1,Fi),2&t&&Ao("zoom","visible"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){var i;1&t&&(ho(0,"div",0),go("@state.start",(function(){return e._animationStart()}))("@state.done",(function(t){return e._animationDone(t)})),function(t,e){const i=Ue();let n;i.firstCreatePass?(n=function(t,e){if(e)for(let i=e.length-1;i>=0;i--){const t=e[i];if("async"===t.name)return t}throw new Error("The pipe 'async' could not be found!")}(0,i.pipeRegistry),i.data[20]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(20,n.onDestroy)):n=i.data[20];const s=n.factory||(n.factory=we(n.type)),r=Kt(ao),o=s();Kt(r),function(t,e,i,n){20>=t.data.length&&(t.data[20]=null,t.blueprint[20]=null),e[20]=n}(i,Ke(),0,o)}(),Fo(2),uo()),2&t&&(Io("mat-tooltip-handset",null==(i=function(t,e,i){const n=Ke(),s=Le(n,t);return function(t,e){return Jr.isWrapped(e)&&(e=Jr.unwrap(e),t[We.lFrame.bindingIndex]=ts),e}(n,function(t,e){return t[1].data[e+19].pure}(n,t)?function(t,e,i,n,s,r){const o=e+i;return no(t,o,s)?io(t,o+1,r?n.call(r,s):n(s)):Ya(t,o+1)}(n,ei(),e,s.transform,i,s):s.transform(i))}(1,5,e._isHandset))?null:i.matches),lo("ngClass",e.tooltipClass)("@state",e._visibility),is(2),Mo(e.message))},directives:[Dc],pipes:[jc],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[Yg.tooltipState]},changeDetection:0}),t})(),r_=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},providers:[e_],imports:[[xd,Bc,Yu,Xp],Xp]}),t})();const o_=["*"];function a_(t,e){if(1&t){const t=po();ho(0,"div",2),go("click",(function(){return Ze(t),wo()._onBackdropClicked()})),uo()}2&t&&Io("mat-drawer-shown",wo()._isShowingBackdrop())}function l_(t,e){1&t&&(ho(0,"mat-drawer-content"),So(1,2),uo())}const c_=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],h_=["mat-drawer","mat-drawer-content","*"];function u_(t,e){if(1&t){const t=po();ho(0,"div",2),go("click",(function(){return Ze(t),wo()._onBackdropClicked()})),uo()}2&t&&Io("mat-drawer-shown",wo()._isShowingBackdrop())}function d_(t,e){1&t&&(ho(0,"mat-sidenav-content",3),So(1,2),uo())}const m_=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],p_=["mat-sidenav","mat-sidenav-content","*"],f_={transformDrawer:Cd("transform",[Dd("open, open-instant",Id({transform:"none",visibility:"visible"})),Dd("void",Id({"box-shadow":"none",visibility:"hidden"})),Od("void => open-instant",kd("0ms")),Od("void <=> open, open-instant => void",kd("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function g_(t){throw Error(`A drawer was already declared for 'position="${t}"'`)}const __=new jt("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),y_=new jt("MAT_DRAWER_CONTAINER");let b_=(()=>{class t extends au{constructor(t,e,i,n,s){super(i,n,s),this._changeDetectorRef=t,this._container=e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(ao(Ir),ao(Et(()=>
1w_)),ao(oa),ao(ou),ao(Bl))},t.\u0275cmp=de({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&Ao("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[Vo],ngContentSelectors:o_,decls:1,vars:0,template:function(t,e){1&t&&(Eo(),So(0))},encapsulation:2,changeDetection:0}),t})(),v_=(()=>{class t{constructor(t,e,i,n,s,r,o){this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=i,this._platform=n,this._ngZone=s,this._doc=r,this._container=o,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new E,this._animationEnd=new E,this._animationState="void",this.openedChange=new Xa(!0),this._destroyed=new E,this.onPositionChanged=new Xa,this._modeChanged=new E,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{xh(this._elementRef.nativeElement,"keydown").pipe(Mh(t=>27===t.keyCode&&!this.disableClose&&!Eu(t)),Bh(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe(Th((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{const{fromState:e,toState:i}=t;(0===i.indexOf("open")&&"void"===e||"void"===i&&0===e.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=gh(t)}get autoFocus(){const t=this._autoFocus;return null==t?"side"!==this.mode:t}set autoFocus(t){this._autoFocus=gh(t)}get opened(){return this._opened}set opened(t){this.toggle(gh(t))}get _openedStream(){return this.openedChange.pipe(Mh(t=>t),F(()=>{}))}get openedStart(){return this._animationStarted.pipe(Mh(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),F(()=>{}))}get _closedStream(){return this.openedChange.pipe(Mh(t=>!t),F(()=>{}))}get closedStart(){return this._animationStarted.pipe(Mh(t=>t.fromState!==t.toState&&"void"===t.toState),F(()=>{}))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(t=>{t||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){if(!this.autoFocus)return;const t=this._doc&&this._doc.activeElement;t&&this._elementRef.nativeElement.contains(t)&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}toggle(t=!this.opened,e="program"){return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=e):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe(vu(1)).subscribe(e=>t(e?"open":"close"))})}get _width(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(t){this._animationStarted.next(t)}_animationDoneListener(t){this._animationEnd.next(t)}}return t.\u0275fac=function(e){return new(e||t)(ao(oa),ao(_d),ao(vd),ao(Xh),ao(Bl),ao(uc,8),ao(y_,8))},t.\u0275cmp=de({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&_o("@transform.start",(function(t){return e._animationStartListener(t)}))("@transform.done",(function(t){return e._animationDoneListener(t)})),2&t&&(so("align",null),jo("@transform",e._animationState),Io("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:o_,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(Eo(),ho(0,"div",0),So(1),uo())},encapsulation:2,data:{animation:[f_.transformDrawer]},changeDetection:0}),t})(),w_=(()=>{class t{constructor(t,e,i,n,s,r=!1,o){this._dir=t,this._element=e,this._ngZone=i,this._changeDetectorRef=n,this._animationMode=o,this._drawers=new tl,this.backdropClick=new Xa,this._destroyed=new E,this._doCheckSubject=ne
1w E,this._contentMargins={left:null,right:null},this._contentMarginChanges=new E,t&&t.change.pipe(Bh(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),s.change().pipe(Bh(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=r}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=gh(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:gh(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe($h(this._allDrawers),Bh(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe($h(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._doCheckSubject.pipe(ed(10),Bh(this._destroyed)).subscribe(()=>this.updateContentMargins())}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,e=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._width;else if("push"==this._left.mode){const i=this._left._width;t+=i,e-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._width;else if("push"==this._right.mode){const i=this._right._width;e+=i,t-=i}t=t||null,e=e||null,t===this._contentMargins.left&&e===this._contentMargins.right||(this._contentMargins={left:t,right:e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe(Mh(t=>t.fromState!==t.toState),Bh(this._drawers.changes)).subscribe(t=>{"open-instant"!==t.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe(Bh(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe(Bh(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.asObservable().pipe(vu(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe(Bh(K(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const e=this._element.nativeElement.classList,i="mat-drawer-container-has-open";t?e.add(i):e.remove(i)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{"end"==t.position?(null!=this._end&&g_("end"),this._end=t):(null!=this._start&&g_("start"),this._start=t)}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawer()}_closeModalDrawer(){[this._start,this._end].filter(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t.close())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return"side"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return t.\u0275fac=function(e){return new(e||t)(ao(nu,8),ao(oa),ao(Bl),ao(Ir),ao(lu),ao(__),ao(Kp,8))},t.\u0275cmp=de({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,
1i){var n;1&t&&(dl(i,b_,!0),dl(i,v_,!0)),2&t&&(cl(n=ml())&&(e._content=n.first),cl(n=ml())&&(e._allDrawers=n))},viewQuery:function(t,e){var i;1&t&&hl(b_,!0),2&t&&cl(i=ml())&&(e._userContent=i.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&Io("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[ia([{provide:y_,useExisting:t}])],ngContentSelectors:h_,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,e){1&t&&(Eo(c_),ro(0,a_,1,2,"div",0),So(1),So(2,1),ro(3,l_,2,0,"mat-drawer-content",1)),2&t&&(lo("ngIf",e.hasBackdrop),is(3),lo("ngIf",!e._content))},directives:[Rc,b_],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),t})(),x_=(()=>{class t extends b_{constructor(t,e,i,n,s){super(t,e,i,n,s)}}return t.\u0275fac=function(e){return new(e||t)(ao(Ir),ao(Et(()=>C_)),ao(oa),ao(ou),ao(Bl))},t.\u0275cmp=de({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e){2&t&&Ao("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[Vo],ngContentSelectors:o_,decls:1,vars:0,template:function(t,e){1&t&&(Eo(),So(0))},encapsulation:2,changeDetection:0}),t})(),E_=(()=>{class t extends v_{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=gh(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=_h(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=_h(t)}}return t.\u0275fac=function(e){return S_(e||t)},t.\u0275cmp=de({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(so("align",null),Ao("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),Io("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened)("mat-sidenav-fixed",e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[Vo],ngContentSelectors:o_,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(Eo(),ho(0,"div",0),So(1),uo())},encapsulation:2,data:{animation:[f_.transformDrawer]},changeDetection:0}),t})();const S_=Ji(E_);let C_=(()=>{class t extends w_{}return t.\u0275fac=function(e){return k_(e||t)},t.\u0275cmp=de({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,
1i){var n;1&t&&(dl(i,x_,!0),dl(i,E_,!0)),2&t&&(cl(n=ml())&&(e._content=n.first),cl(n=ml())&&(e._allDrawers=n))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e){2&t&&Io("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[ia([{provide:y_,useExisting:t}]),Vo],ngContentSelectors:p_,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(t,e){1&t&&(Eo(m_),ro(0,u_,1,2,"div",0),So(1),So(2,1),ro(3,d_,2,0,"mat-sidenav-content",1)),2&t&&(lo("ngIf",e.hasBackdrop),is(3),lo("ngIf",!e._content))},directives:[Rc,x_,au],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),t})();const k_=Ji(C_);let T_=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},imports:[[Bc,Xp,cu,Jh],Xp]}),t})(),A_=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=gh(t)}get inset(){return this._inset}set inset(t){this._inset=gh(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=de({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(so("aria-orientation",e.vertical?"vertical":"horizontal"),Io("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),t})(),I_=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},imports:[[Xp],Xp]}),t})();const D_=["*"],R_=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],O_=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];class P_{}const N_=Jp(ef(P_));class F_{}const M_=ef(F_);let L_=(()=>{class t extends N_{constructor(){super(...arguments),this._stateChanges=new E}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return j_(e||t)},t.\u0275cmp=de({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[Vo,Ko],ngContentSelectors:D_,decls:1,vars:0,template:function(t,e){1&t&&(Eo(),So(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{dis
1play:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{dis
1play:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),t})();const j_=Ji(L_);let B_=(()=>{class t extends N_{constructor(t){super(),this._elementRef=t,this._stateChanges=new E,"action-list"===this._getListType()&&t.nativeElement.classList.add("mat-action-list")}_getListType(){const t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(ao(oa))},t.\u0275cmp=de({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[Vo,Ko],ngContentSelectors:D_,decls:1,vars:0,template:function(t,e){1&t&&(Eo(),So(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{dis
1play:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{dis
1play:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),t})(),V_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ye({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),z_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ye({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),H_=(()=>{class t extends M_{constructor(t,e,i,n){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new E,this._disabled=!1,this._isInteractiveList=!!(i||n&&"action-list"===n._getListType()),this._list=i||n;const s=this._getHostElement();"button"!==s.nodeName.toLowerCase()||s.hasAttribute("type")||s.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(Bh(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(t){this._disabled=gh(t)}
1ngAfterContentInit(){!function(t,e,i="mat"){t.changes.pipe($h(t)).subscribe(({length:t})=>{sf(e,`${i}-2-line`,!1),sf(e,`${i}-3-line`,!1),sf(e,`${i}-multi-line`,!1),2===t||3===t?sf(e,`${i}-${t}-line`,!0):t>3&&sf(e,`${i}-multi-line`,!0)})}(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(ao(oa),ao(Ir),ao(L_,8),ao(B_,8))},t.\u0275cmp=de({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,i){var n;1&t&&(dl(i,V_,!0),dl(i,z_,!0),dl(i,nf,!0)),2&t&&(cl(n=ml())&&(e._avatar=n.first),cl(n=ml())&&(e._icon=n.first),cl(n=ml())&&(e._lines=n))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&Io("mat-list-item-disabled",e.disabled)("mat-list-item-avatar",e._avatar||e._icon)("mat-list-item-with-avatar",e._avatar||e._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[Vo],ngContentSelectors:O_,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(t,e){1&t&&(Eo(R_),ho(0,"div",0),mo(1,"div",1),So(2),ho(3,"div",2),So(4,1),uo(),So(5,2),uo()),2&t&&(is(1),lo("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[uf],encapsulation:2,changeDetection:0}),t})(),$_=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},imports:[[rf,df,Xp,mf,Bc],rf,Xp,mf,I_]}),t})();const W_=["*",[["mat-card-footer"]]],q_=["*","mat-card-footer"];let K_=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(e){return new(e||t)(ao(Kp,8))},t.\u0275cmp=de({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&Io("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:q_,decls:2,vars:0,template:function(t,e){1&t&&(Eo(W_),So(0),So(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}
1.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),t})(),U_=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},imports:[[Xp],Xp]}),t})(),Z_=0,Q_=(()=>{class t{constructor(){this._stateChanges=new E,this._openCloseAllActions=new E,this.id=`cdk-accordion-${Z_++}`,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=gh(t)}openAll(){this._openCloseAll(!0)}closeAll(){this._openCloseAll(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete()}_openCloseAll(t){this.multi&&this._openCloseAllActions.next(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ye({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[Ko]}),t})(),G_=0,Y_=(()=>{class t{constructor(t,e,i){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=i,this._openCloseAllSubscription=u.EMPTY,this.closed=new Xa,this.opened=new Xa,this.destroyed=new Xa,this.expandedChange=new Xa,this.id=`cdk-accordion-child-${G_++}`,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=i.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=gh(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){this._disabled=gh(t)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}}return t.\u0275fac=function(e){return new(e||t)(ao(Q_,12),ao(Ir),ao(ru))},t.\u0275dir=ye({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[ia([{provide:Q_,useValue:void 0}])]}),t})(),X_=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)}}),t})();const J_=["body"];function ty(t,e){}const ey=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],iy=["mat-expansion-panel-header","*","mat-action-row"],ny=function(t,e){return{collapsedHeight:t,expandedHeight:e}},sy=function(t,e){return{value:t,params:e}};function ry(t,e){1&t&&mo(0,"span",2),2&t&&lo("@indicatorRotate",wo()._getExpandedState())}const oy=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],ay=["mat-panel-title","mat-panel-description","*"],ly=new jt("MAT_ACCORDION"),cy={indicatorRotate:Cd("indicatorRotate",[Dd("collapsed, void",Id({transform:"rotate(0deg)"})),Dd("expanded",Id({transform:"rotate(180deg)"})),Od("expanded <=> collapsed, void => collapsed",kd("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),expansionHeaderHeight:Cd("expansionHeight",[Dd("collapsed, void",Id({height:"{{collapsedHeight}}"}),{params:{collapsedHeight:"48px"}}),Dd("expanded",Id({height:"{{expandedHeight}}"}),{params:{expandedHeight:"64px"}}),Od("expanded <=> collapsed, void => collapsed",Td([Nd("@indicatorRotate",Pd(),{optional:!0}),kd("225ms cubic-bezier(0.4,0.0,0.2,1)")]))]),bodyExpansion:Cd("bodyExpansion",[Dd("collapsed, void",Id({height:"0px",visibility:"hidden"})),Dd("expanded",Id({height:"*",visibility:"visible"})),Od("expanded <=> collapsed, void => collapsed",kd("225ms cubic-bezier(0.4,0.0,0.2,1)"))])};let hy=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(ao(Da))},t.\u0275dir=ye({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),uy=0;const dy=new jt("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let my=(()=>{class t extends Y_{constructor(t,e,i,n,s,r,o){super(t,e,i),this._viewContainerRef
1=n,this._animationMode=r,this._hideToggle=!1,this.afterExpand=new Xa,this.afterCollapse=new Xa,this._inputChanges=new E,this._headerId=`mat-expansion-panel-header-${uy++}`,this._bodyAnimationDone=new E,this.accordion=t,this._document=s,this._bodyAnimationDone.pipe(Th((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),o&&(this.hideToggle=o.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=gh(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe($h(null),Mh(()=>this.expanded&&!this._portal),vu(1)).subscribe(()=>{this._portal=new mu(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}return t.\u0275fac=function(e){return new(e||t)(ao(ly,12),ao(Ir),ao(ru),ao(Oa),ao(uc),ao(Kp,8),ao(dy,8))},t.\u0275cmp=de({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,i){var n;1&t&&dl(i,hy,!0),2&t&&cl(n=ml())&&(e._lazyContent=n.first)},viewQuery:function(t,e){var i;1&t&&hl(J_,!0),2&t&&cl(i=ml())&&(e._body=i.first)},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&Io("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[ia([{provide:ly,useValue:void 0}]),Vo,Ko],ngContentSelectors:iy,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(Eo(ey),So(0),ho(1,"div",0,1),go("@bodyExpansion.done",(function(t){return e._bodyAnimationDone.next(t)})),ho(3,"div",2),So(4,1),ro(5,ty,0,0,"ng-template",3),uo(),So(6,2),uo()),2&t&&(is(1),lo("@bodyExpansion",e._getExpandedState())("id",e.id),so("aria-labelledby",e._headerId),is(4),lo("cdkPortalOutlet",e._portal))},directives:[_u],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[cy.bodyExpansion]},changeDetection:0}),t})(),py=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ye({type:t,selectors:[["mat-action-row"]],hostAttrs:[1,"mat-action-row"]}),t})(),fy=(()=>{class t{constructor(t,e,i,n,s){this.panel=t,this._element=e,this._focusMonitor=i,this._changeDetectorRef=n,this._parentChangeSubscription=u.EMPTY,this._animationsDisabled=!0;const r=t.accordion?t.accordion._stateChanges.pipe(Mh(t=>!(!t.hideToggle&&!t.togglePosition))):Uh;this._parentChangeSubscription=K(t.opened,t.closed,r,t._inputChanges.pipe(Mh(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(Mh(()=>t._containsFocus())).subscribe(()=>i.focusVia(e,"program")),i.monitor(e).subscribe(e=>{e&&t.accordion&&t.accordion._handleHeaderFocus(this)}),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.collapsedHeight)}_animationStarted(){this._animationsDisabled=!1}get disabled(){return this.panel.disabled}
1_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_keydown(t){switch(t.keyCode){case 32:case 13:Eu(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t="program",e){this._focusMonitor.focusVia(this._element,t,e)}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(ao(my,1),ao(oa),ao(vd),ao(Ir),ao(dy,8))},t.\u0275cmp=de({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header"],hostVars:19,hostBindings:function(t,e){1&t&&(_o("@expansionHeight.start",(function(){return e._animationStarted()})),go("click",(function(){return e._toggle()}))("keydown",(function(t){return e._keydown(t)}))),2&t&&(so("id",e.panel._headerId)("tabindex",e.disabled?-1:0)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),jo("@.disabled",e._animationsDisabled)("@expansionHeight",Ga(16,sy,e._getExpandedState(),Ga(13,ny,e.collapsedHeight,e.expandedHeight))),Io("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:ay,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(Eo(oy),ho(0,"span",0),So(1),So(2,1),So(3,2),uo(),ro(4,ry,1,1,"span",1)),2&t&&(is(4),lo("ngIf",e._showToggle()))},directives:[Rc],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}\n'],encapsulation:2,data:{animation:[cy.indicatorRotate,cy.expansionHeaderHeight]},changeDetection:0}),t})(),gy=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ye({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),t})(),_y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ye({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),yy=(()=>{class t extends Q_{constructor(){super(...arguments),this._ownHeaders=new tl,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=gh(t)}ngAfterContentInit(){this._headers.changes.pipe($h(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new dd(this._ownHeaders).withWrap()}_handleHeaderKeydown(t){const{keyCode:e}=t,i=this._keyManager;36===e?Eu(t)||(i.setFirstItemActive(),t.preventDefault()):35===e?Eu(t)||(i.setLastItemActive(),t.preventDefault()):this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}}return t.\u0275fac=function(e){return by(e||t)},t.\u0275dir=ye({type:t,selectors:[["mat-accordion"]],contentQueries:function(t,e,
1i){var n;1&t&&dl(i,fy,!0),2&t&&cl(n=ml())&&(e._headers=n)},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&Io("mat-accordion-multi",e.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[ia([{provide:ly,useExisting:t}]),Vo]}),t})();const by=Ji(yy);let vy=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},imports:[[Bc,X_,yu]]}),t})(),wy=(()=>{class t{constructor(t){this.dialog=t,this.app={name:"Panazzolo.com",description:"Web Software"}}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(ao(Cf))},t.\u0275cmp=de({type:t,selectors:[["app-root"]],decls:431,vars:3,consts:[[1,"appframe"],["color",""],["mat-icon-button","",3,"click"],[2,"flex","1 1 auto"],[1,"nosmall"],["matTooltip","Info Menu","matTooltipPosition","below"],["infomenu","matMenu"],["theme-main","",1,"view"],["mode","push"],["sidemenu",""],["mat-list-item","",3,"click"],["mat-list-avatar",""],["src","./assets/img/favicon-32x32.png",2,"width","42px"],["matLine",""],["matLine","",2,"font-size","8pt"],["mat-list-item","","href","./privacy_policy.html"],[1,"view-content"],["src","assets/img/apps/keepscore_1.png",1,"nosmall",2,"height","50px"],[1,"smallonly",2,"font-weight","500"],["src","./assets/img/apps/keepscore_icon.png",2,"width","25px"],[1,"striprow"],[2,"flex","1 1 auto","padding","0 10px"],[2,"text-align","left"],["mat-raised-button","","color","accent","rel","noopener","target","_keepscore","href","http://panazzolo.com/keepscore/","alt","KeepScore - AFL scorecard application"],["src","./assets/img/apps/keepscore_icon.png",2,"width","20px"],[1,"striprow","wrap"],[2,"flex","1 1 auto","text-align","left"],[1,"circle"],[2,"text-align","right"],["src","assets/img/apps/keepscore.png","alt","",2,"width","190px","height","200px","margin","0"],["src","./assets/img/apps/keepscore-mobile.png",2,"width","100px"],["nofollow","","rel","noopener","target","_fb","href","https://facebook.com/keepscore/"],[1,"fi-social-facebook",2,"font-size","32pt"],["src","assets/img/anchor.png",2,"width","30px"],["src","assets/img/apps/nmeasim_1.png",1,"nosmall",2,"height","50px"],["src","./assets/img/apps/nmeasim.png",2,"width","25px"],["mat-raised-button","","color","accent","rel","noopener","target","_blank","alt","NMEASimulator","href","https://github.com/panaaj/nmeasimulator/releases/latest",1,"button"],["src","assets/img/apps/nmeasim.png",2,"width","20px"],[2,"font-weight","500","font-style","italic"],[1,"material-icons",2,"color","blue"],["width","100%","src","https://user-images.githubusercontent.com/38519157/75314330-55c95380-58af-11ea-887c-392dcccbea3a.png","alt","NMEASimulator is a FREE NMEA senetence generator"],["src","assets/img/signalk.svg",2,"width","40px"],["href","http://signalk.org","target","_sigk"],[1,"nosmall","panel-title"],["src","./assets/img/apps/sigksim.png",2,"height","35px"],["src","./assets/img/apps/sigksim.png",2,"width","25px"],["mat-raised-button","","color","accent","rel","noopener","target","_blank","alt","SKsim","href","https://npmjs.com/package/sksim"],["src","./assets/img/apps/sigksim.png",2,"width","20px"],[2,"font-weight","500"],["height","156","src","./assets/img/apps/sksim.png","alt","SignalK Plugin and WebApp to generate Signal K data stream. "],["src","assets/img/apps/chrome.png",2,"width","30px"],["mat-raised-button","","color","accent","rel","noopener","target","_blank","alt","Signal K Simulator - ChromeOS","href","https://chrome.google.com/webstore/detail/signalk-simulator/mlchnjlgeihndinclponknhihclnebnf?utm_source=chrome-app-launcher-info-dialog",1,"button"],["src","assets/img/apps/chrome.png",2,"width","20px"],["href","https://www.npmjs.com/package/sksim","target","npm","rel","noopener"],["width","250","src","./assets/img/apps/signalksim-chrome.png","alt","SignalKSimulator Chrome Edition is a FREE utility for generating \n                                    SignalK data streams to connected devices"],["src","./assets/img/apps/nmeasleuth.png",2,"height","35px"],["src","./assets/img/apps/nmeasleuth.png",2,"width","25px"],["mat-raised-button","","color","accent","rel","noopener","target","_blank","alt","NMEASleuth - ChromeOS","href","https://chrome.google.com/webstore/detail/nmea-sleuth/pkikkfglomloligndkaibecgapljgjok?utm_source=chrome-ntp-icon",1,"button"],["width","250","src","./assets/img/apps/nmeasleuth-chrome.png","alt","NMEASleuth Chrome Edition is a FREE utility for inspecting \n                                    NMEA data streams"],["src","./assets/img/apps/nmeasim.png",2,"height","35px"],["mat-raised-button","","color","accent","rel","noopener","target","_blank","alt","NMEASimulator - ChromeOS","href","https://chrome.google.com/webstore/detail/nmea-simulator/dfhcgoinjchfcfnnkecjpjcnknlipcll?utm_source=chrome-ntp-icon",1,"button"],["width","250","src","./assets/img/apps/nmeasim-chrome.png","alt","NMEASimulator Chrome Edition is a FREE utility for generating \n                                    NMEA data streams to connected devices"]],template:function(t,e){if(1&t){const t=po();ho(0,"div",0),ho(1,"mat-toolbar",1),ho(2,"mat-toolbar-row"),ho(3,"span"),ho(4,"button",2),go("click",(function(){return Ze(t),oo(17).toggle()})),ho(5,"mat-icon"),Fo(6,"menu"),uo(),uo(),uo(),ho(7,"span",3),Fo(8),ho(9,"span",4),Fo(10,"- Web Software"),uo(),uo(),mo(11,"span"),uo(),uo(),mo(12,"mat-menu",5,6),ho(14,"div",7),ho(15,"mat-sidenav-container"),ho(16,"mat-sidenav",8,9),ho(18,"mat-nav-list"),ho(19,"a",10),go("click",(function(){return Ze(t),oo(17).close()})),ho(20,"mat-icon",11),mo(21,"img",12),uo(),ho(22,"h4",13),Fo(23),uo(),ho(24,"p",14),Fo(25),uo(),uo(),mo(26,"mat-divider"),ho(27,"a",15),ho(28,"h4",13),Fo(29,"Privacy policy"),uo(),ho(30,"p",14),Fo(31,"How we deal with visitor information."),uo(),uo(),uo(),uo(),ho(32,"div",16),mo(33,"br"),ho(34,"mat-card"),ho(35,"h2"),Fo(36," WebApps "),uo(),ho(37,"p"),Fo(38," Applications for the Web (PWA). "),uo(),uo(),mo(39,"br"),ho(40,"mat-accordion"),ho(41,"mat-expansion-panel"),ho(42,"mat-expansion-panel-header"),ho(43,"mat-panel-title"),mo(44,"img",17),ho(45,"div",18),mo(4
16,"img",19),Fo(47,"\xa0 KeepScore - AFL "),uo(),uo(),ho(48,"mat-panel-description"),ho(49,"div",20),ho(50,"div",21),ho(51,"span",4),Fo(52,"Australian Rules Football Score card"),uo(),uo(),ho(53,"div",22),ho(54,"a",23),mo(55,"img",24),Fo(56,"\xa0 LAUNCH "),uo(),uo(),uo(),uo(),uo(),ho(57,"div",25),ho(58,"div",26),ho(59,"b"),Fo(60,"Keepscore AFL"),uo(),ho(61,"p"),Fo(62,"KeepScore is an easy to use Australian Rules football scorecard web application that allows you to record and keep track of game progress. "),uo(),ho(63,"b"),Fo(64,"With KeepScore you can:"),uo(),ho(65,"ul",27),ho(66,"li"),Fo(67," Configure Team names, home team logo and colors"),uo(),ho(68,"li"),Fo(69," Chose between 2 or 4 game periods and set their duration."),uo(),ho(70,"li"),Fo(71," Load team lists."),uo(),ho(72,"li"),Fo(73," Keep track of the score."),uo(),ho(74,"li"),Fo(75," Record goal scorers."),uo(),ho(76,"li"),Fo(77," View a game summary."),uo(),ho(78,"li"),Fo(79," Tweet & Email game progress / result."),uo(),ho(80,"li"),Fo(81," Print a game result sheet."),uo(),uo(),uo(),ho(82,"div",28),mo(83,"img",29),Fo(84," \xa0 "),mo(85,"img",30),uo(),uo(),ho(86,"mat-action-row"),ho(87,"div",20),ho(88,"div",26),ho(89,"a",31),mo(90,"i",32),uo(),uo(),ho(91,"div",28),ho(92,"a",23),mo(93,"img",24),Fo(94,"\xa0 LAUNCH "),uo(),uo(),uo(),uo(),uo(),mo(95,"br"),mo(96,"br"),ho(97,"mat-card"),ho(98,"h2"),Fo(99," Marine Utilities "),mo(100,"img",33),uo(),ho(101,"p"),Fo(102," A collection of marine utilities. "),uo(),uo(),mo(103,"br"),ho(104,"mat-expansion-panel"),ho(105,"mat-expansion-panel-header"),ho(106,"mat-panel-title"),mo(107,"img",34),ho(108,"div",18),mo(109,"img",35),Fo(110,"\xa0 NMEASimulator "),uo(),uo(),ho(111,"mat-panel-description"),ho(112,"div",20),ho(113,"div",21),ho(114,"span",4),Fo(115,"NMEA sentence Generator (Win, Mac, Linux, Raspberry Pi)"),uo(),uo(),ho(116,"div",22),ho(117,"a",36),mo(118,"img",37),Fo(119,"\xa0 Download "),uo(),uo(),uo(),uo(),uo(),ho(120,"div",25),ho(121,"div",26),ho(122,"p"),Fo(123," NMEASimulator is a FREE utilitiy for generating NMEA data streams to devices connected via TCP/IP, WebSocket or Serial port. "),uo(),ho(124,"p",38),Fo(125," NMEASimulator is available for Windows, Mac, Linux and Raspberry Pi platforms and is a direct replacement for the NMEASimulator Chrome App. "),uo(),ho(126,"p"),Fo(127,"It is a simple and easy to use tool that mimics vessel movement, engine status, water depth, etc."),mo(128,"br"),Fo(129," Just open NMEASimulator and click on "),ho(130,"i",39),Fo(131,"play_arrow"),uo(),Fo(132,". "),uo(),ho(133,"p"),ho(134,"b"),Fo(135,"It can work in the following modes:"),uo(),uo(),ho(136,"ol"),ho(137,"li"),Fo(138," Using initial seed values, perodically apply a delta to them to mimic vessel movement. "),mo(139,"br"),Fo(140," Seed values and time interval can configured in "),ho(141,"i",39),Fo(142,"settings"),uo(),ho(143,"b"),Fo(144,"Settings"),uo(),Fo(145,"."),mo(146,"br"),uo(),mo(147,"br"),ho(148,"li"),Fo(149,"Follow a GPX / KML Track. NMEASimulator will walk through each point of the Track at the interval set in the configuration screen."),mo(150,"br"),ho(151,"i"),Fo(152,"Note: If a track has multiple segments, NMEASimulator will concatenate all the segments into one contiguous Track"),uo(),uo(),ho(153,"li"),Fo(154," Manual override allows you to take of control specific values with vessel heading and speed able to be varied using the "),ho(155,"i",39),Fo(156,"keyboard_arrow_left"),uo(),ho(157,"i",39),Fo(158,"keyboard_arrow_right"),uo(),ho(159,"i",39),Fo(160,"keyboard_arrow_up"),uo(),ho(161,"i",39),Fo(162,"keyboard_arrow_down"),uo(),Fo(163," keys."),mo(164,"br"),Fo(165,' Additionally all values can be "frozen" at the current value to enable a static steam of data to be output. '),uo(),uo(),Fo(166," NMEA sentences containing the following information are generated: "),ho(167,"ul",27),ho(168,"li"),Fo(169," GPS Fix Quality,HDOP, PDOP & VDOP, Number of satellites, Current local time and date. "),uo(),ho(170,"li"),Fo(171," Vessel position, speed and heading data "),uo(),ho(172,"li"),Fo(173," Wind speed and direction "),uo(),ho(174,"li"),Fo(175," Water temperature and depth "),uo(),ho(176,"li"),Fo(177," Waypoint position and name "),uo(),uo(),uo(),ho(178,"div",28),mo(179,"img",40),uo(),uo(),ho(180,"mat-action-row"),ho(181,"div",20),mo(182,"div",26),ho(183,"div",28),ho(184,"a",36),mo(185,"img",37),Fo(186,"\xa0 Download "),uo(),uo(),uo(),uo(),uo(),mo(187,"br"),ho(188,"mat-card"),ho(189,"h2"),Fo(190," Signal K Plugins / Apps "),mo(191,"img",41),uo(),ho(192,"p"),Fo(193," The following apps are provided as Signal K plugins / WebApps. "),uo(),ho(194,"p"),Fo(195," Want to know more about Signal K? Visit "),ho(196,"a",42),Fo(197,"signalk.org"),uo(),uo(),uo(),mo(198,"br"),ho(199,"mat-expansion-panel"),ho(200,"mat-expansion-panel-header"),ho(201,"mat-panel-title"),ho(202,"div",43),mo(203,"img",44),Fo(204," SKsim "),uo(),ho(205,"div",18),mo(206,"img",45),Fo(207,"\xa0 SKsim "),uo(),uo(),ho(208,"mat-panel-description"),ho(209,"div",20),ho(210,"div",21),ho(211,"span",4),Fo(212,"Signal K stream Generator"),uo(),uo(),ho(213,"div",22),ho(214,"a",46),mo(215,"img",47),Fo(216,"\xa0 Get it now "),uo(),uo(),uo(),uo(),uo(),ho(217,"div",25),ho(218,"div",26),ho(219,"b"),Fo(220,"SKsim"),uo(),ho(221,"p"),Fo(222," SKsim is a Signal K Plugin and WebApp for generating a SignalK data stream directly from your Signal K server. "),uo(),ho(223,"p",48),Fo(224," SKsim produces the the following data out of the box "),ho(225,"b"),Fo(226,"PLUS"),uo(),Fo(227," it also allows you to add any Signal K attribute you choose to the data stream
1: "),uo(),ho(228,"ul",27),ho(229,"li"),Fo(230," GPS Fix Quality,HDOP, PDOP & VDOP, Number of satellites, Current local time and date. "),uo(),ho(231,"li"),Fo(232," Vessel position, speed and heading data "),uo(),ho(233,"li"),Fo(234," Wind speed and direction "),uo(),ho(235,"li"),Fo(236," Water temperature and depth "),uo(),ho(237,"li"),Fo(238," Waypoint position and name "),uo(),ho(239,"li"),Fo(240," Engine RPM (Port and Starboard) "),uo(),ho(241,"li"),Fo(242," Environmental conditons such as air temperature, dew point, barometric pressure and relative humidity "),uo(),ho(243,"li"),Fo(244,"Also add any Signal K attribute you require!"),uo(),uo(),uo(),ho(245,"div",28),mo(246,"img",49),uo(),uo(),ho(247,"mat-action-row"),ho(248,"div",20),mo(249,"div",26),ho(250,"div",28),ho(251,"a",46),mo(252,"img",47),Fo(253,"\xa0 Get it now "),uo(),uo(),uo(),uo(),uo(),mo(254,"br"),mo(255,"br"),ho(256,"mat-card"),ho(257,"h2"),Fo(258," ChromeBook Apps "),mo(259,"img",50),uo(),ho(260,"p"),Fo(261," ChromeBook users can find ChromeOS versions of the following apps in the "),ho(262,"b"),Fo(263,"WebStore"),uo(),Fo(264,". "),uo(),uo(),mo(265,"br"),ho(266,"mat-expansion-panel"),ho(267,"mat-expansion-panel-header"),ho(268,"mat-panel-title"),ho(269,"div",43),mo(270,"img",44),Fo(271," Signal K Simulator "),uo(),ho(272,"div",18),mo(273,"img",45),Fo(274,"\xa0 Signal K Simulator "),uo(),uo(),ho(275,"mat-panel-description"),ho(276,"div",20),ho(277,"div",21),ho(278,"span",4),Fo(279,"Signal K stream Generator"),uo(),uo(),ho(280,"div",22),ho(281,"a",51),mo(282,"img",52),Fo(283,"\xa0 Store "),uo(),uo(),uo(),uo(),uo(),ho(284,"div",25),ho(285,"div",26),ho(286,"b"),Fo(287,"Signal K Simulator"),uo(),mo(288,"br"),Fo(289,"\xa0"),mo(290,"br"),Fo(291," Signal K Simulator ChromeOS Edition is a FREE Application for ChromeBooks for generating a SignalK data stream that can be: "),ho(292,"ul"),ho(293,"li"),Fo(294,"Made available on a specified IP address / port for devices to connect via TCP/IP or WebSocket"),uo(),ho(295,"li"),Fo(296,"Sent to a Signal K server which has the "),ho(297,"a",53),Fo(298," Signal K Simulator plug-in "),uo(),Fo(299," installed. "),uo(),uo(),ho(300,"p"),Fo(301,"Like it's companion NMEASimulator, SignalKSimulator is simple and easy to use generating a SignalK data stream right from your Chrome browser. "),uo(),ho(302,"p"),Fo(303,"Want to know more about Signal K? Visit "),ho(304,"a",42),Fo(305,"SignalK.org"),uo(),uo(),ho(306,"b"),Fo(307," SignalKSimulator produces the the following data out of the box "),ho(308,"b"),Fo(309,"PLUS"),uo(),Fo(310," it also allows you to add any Signal K attribute you choose to the data stream: "),uo(),ho(311,"ul",27),ho(312,"li"),Fo(313," GPS Fix Quality,HDOP, PDOP & VDOP, Number of satellites, Current local time and date. "),uo(),ho(314,"li"),Fo(315," Vessel position, speed and heading data "),uo(),ho(316,"li"),Fo(317," Wind speed and direction "),uo(),ho(318,"li"),Fo(319," Water temperature and depth "),uo(),ho(320,"li"),Fo(321," Waypoint position and name "),uo(),ho(322,"li"),Fo(323," Engine RPM (Port and Starboard) "),uo(),ho(324,"li"),Fo(325," Environmental conditons such as air temperature, dew point, barometric pressure and relative humidity "),uo(),ho(326,"li"),Fo(327,"Also add any Signal K attribute you require!"),uo(),uo(),uo(),ho(328,"div",28),mo(329,"img",54),uo(),uo(),ho(330,"mat-action-row"),ho(331,"div",20),mo(332,"div",26),ho(333,"div",28),ho(334,"a",51),mo(335,"img",52),Fo(336,"\xa0 Store "),uo(),uo(),uo(),uo(),uo(),mo(337,"br"),ho(338,"mat-expansion-panel"),ho(339,"mat-expansion-panel-header"),ho(340,"mat-panel-title"),ho(341,"div",43),mo(342,"img",55),Fo(343," NMEASleuth "),uo(),ho(344,"div",18),mo(345,"img",56),Fo(346,"\xa0 NMEASleuth "),uo(),uo(),ho(347,"mat-panel-description"),ho(348,"div",20),ho(349,"div",21),ho(350,"span",4),Fo(351,"NMEA sentence Inspector"),uo(),uo(),ho(352,"div",22),ho(353,"a",57),mo(354,"img",52),Fo(355,"\xa0 Store "),uo(),uo(),uo(),uo(),uo(),ho(356,"div",25),ho(357,"div",26),ho(358,"b"),Fo(359,"NMEASleuth"),uo(),ho(360,"p"),Fo(361,"NMEASleuth ChromeOS Edition is a FREE Application for ChromeBooks to inspect NMEA data streams from devices connected via a serial port or TCP/IP."),uo(),ho(362,"b"),Fo(363,"NMEASleuth has the following features:"),uo(),ho(364,"ul",27),ho(365,"li"),Fo(366," Raw NMEA data display."),uo(),ho(367,"li"),Fo(368," NMEA sentence type summary."),uo(),ho(369,"li"),Fo(370," NMEA sentence property display."),uo(),ho(371,"li"),Fo(372," Log NMEA data stream to file."),uo(),ho(373,"li"),Fo(374," Load NMEA data from file."),uo(),uo(),uo(),ho(375,"div",28),mo(376,"img",58),uo(),uo(),ho(377,"mat-action-row"),ho(378,"div",20),mo(379,"div",26),ho(380,"div",28),ho(381,"a",57),mo(382,"img",52),Fo(383,"\xa0 Store "),uo(),uo(),uo(),uo(),uo(),mo(384,"br"),ho(385,"mat-expansion-panel"),ho(386,"mat-expansion-panel-header"),ho(387,"mat-panel-title"),ho(388,"div",43),mo(389,"img",59),Fo(390," NMEASimulator "),uo(),ho(391,"div",18),mo(392,"img",35),Fo(393,"\xa0 NMEASimulator "),uo(),uo(),ho(394,"mat-panel-description"),ho(395,"div",20),ho(396,"div",21),ho(397,"span",4),Fo(398,"NMEA sentence Generator"),uo(),uo(),ho(399,"div",22),ho(400,"a",60),mo(401,"img",52),Fo(402,"\xa0 Store "),uo(),uo(),uo(),uo(),uo(),ho(403,"div",25),ho(404,"div",26),ho(405,"b"),Fo(4
106,"NMEASimulator"),uo(),ho(407,"p"),Fo(408,"NMEASimulator ChromeOS Edition is a FREE Application for ChromeBooks for generating NMEA data streams to devices connected via TCP/IP, WebSocket or Serial port."),uo(),ho(409,"b"),Fo(410,"NMEASimulator is simple and easy to use generating NMEA sentences simulating the following:"),uo(),ho(411,"ul",27),ho(412,"li"),Fo(413," GPS Fix Quality,HDOP, PDOP & VDOP, Number of satellites, Current local time and date. "),uo(),ho(414,"li"),Fo(415," Vessel position, speed and heading data "),uo(),ho(416,"li"),Fo(417," Wind speed and direction "),uo(),ho(418,"li"),Fo(419," Water temperature and depth "),uo(),ho(420,"li"),Fo(421," Waypoint position and name "),uo(),uo(),uo(),ho(422,"div",28),mo(423,"img",61),uo(),uo(),ho(424,"mat-action-row"),ho(425,"div",20),mo(426,"div",26),ho(427,"div",28),ho(428,"a",60),mo(429,"img",52),Fo(430,"\xa0 Store "),uo(),uo(),uo(),uo(),uo(),uo(),uo(),uo(),uo(),uo()}2&t&&(is(8),Lo("",e.app.name,"\xa0 "),is(15),Mo(e.app.name),is(2),Mo(e.app.description))},directives:[Of,Rf,Bf,vg,Mg,n_,C_,E_,L_,H_,V_,nf,A_,K_,yy,my,fy,_y,g
1y,Vf,py],styles:["mat-sidenav-container[_ngcontent-%COMP%]{height:100%}mat-sidenav[_ngcontent-%COMP%]{width:200px}mat-nav-list[_ngcontent-%COMP%]{padding-top:0}.appframe[_ngcontent-%COMP%]{position:absolute;top:0}.appframe[_ngcontent-%COMP%], .view[_ngcontent-%COMP%]{bottom:0;left:0;right:0}.view[_ngcontent-%COMP%]{top:64px;overflow:auto;position:fixed;border-top:0 solid silver}.striprow[_ngcontent-%COMP%]{width:100%;display:flex;flex-wrap:nowrap}.striprow.wrap[_ngcontent-%COMP%]{flex-wrap:wrap}.panel-title[_ngcontent-%COMP%]{flex:1 1 auto;font-size:1.67em;font-weight:700;font-style:italic}.nosmall[_ngcontent-%COMP%]{display:inline}.smallonly[_ngcontent-%COMP%]{display:none}@media (max-width:600px) and (orientation:portrait){.view[_ngcontent-%COMP%]{top:55px}}@media only screen and (max-width:599px){.nosmall[_ngcontent-%COMP%]{display:none}.smallonly[_ngcontent-%COMP%]{display:inline}}"]}),t})(),xy=(()=>{class t{}return t.\u0275mod=ge({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},imports:[[Bc,Xp,yu,df,od,xd],Xp]}),t})(),Ey=(()=>{class t{}return t.\u0275mod=ge({type:t,bootstrap:[wy]}),t.\u0275inj=ut({factory:function(e){return new(e||t)},providers:[],imports:[[fh,Zp,Bg,Pf,T_,U_,zf,$_,wg,r_,xy,kf,vy]]}),t})();(function(){if(fn)throw new Error("Cannot enable prod mode after platform setup.");pn=!1})(),mh().bootstrapModule(Ey).catch(t=>console.log(t))}},[[0,0]]]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.