PageSourceSearch

https://bs-angular-zen.web.app/main.846782b5b1459bb7.js

js bs-angular-zen.web.app collected 2026-10-03 12:18:54 UTC 489,260 bytes, 1 lines download raw bytes

vendor: 10,146 bytes, line 1
1"use strict";(self.webpackChunkofficial_site=self.webpackChunkofficial_site||[]).push([[179],{872:()=>{function le(n){return"function"==typeof n}function Os(n){const e=n(r=>{Error.call(r),r.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const aa=Os(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e});function gi(n,t){if(n){const e=n.indexOf(t);0<=e&&n.splice(e,1)}}class Ze{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const s of e)s.remove(this);else e.remove(this);const{initialTeardown:r}=this;if(le(r))try{r()}catch(s){t=s instanceof aa?s.errors:[s]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const s of i)try{ng(s)}catch(o){t=t??[],o instanceof aa?t=[...t,...o.errors]:t.push(o)}}if(t)throw new aa(t)}}add(t){var e;if(t&&t!==this)if(this.closed)ng(t);else{if(t instanceof Ze){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&gi(e,t)}remove(t){const{_finalizers:e}=this;e&&gi(e,t),t instanceof Ze&&t._removeParent(this)}}Ze.EMPTY=(()=>{const n=new Ze;return n.closed=!0,n})();const eg=Ze.EMPTY;function tg(n){return n instanceof Ze||n&&"closed"in n&&le(n.remove)&&le(n.add)&&le(n.unsubscribe)}function ng(n){le(n)?n():n.unsubscribe()}const kr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},la={setTimeout(n,t,...e){const{delegate:r}=la;return r?.setTimeout?r.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){const{delegate:t}=la;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0};function rg(n){la.setTimeout(()=>{const{onUnhandledError:t}=kr;if(!t)throw n;t(n)})}function Zc(){}const _S=Xc("C",void 0,void 0);function Xc(n,t,e){return{kind:n,value:t,error:e}}let Pr=null;function ca(n){if(kr.useDeprecatedSynchronousErrorHandling){const t=!Pr;if(t&&(Pr={errorThrown:!1,error:null}),n(),t){const{errorThrown:e,error:r}=Pr;if(Pr=null,e)throw r}}else n()}class Jc extends Ze{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,tg(t)&&t.add(this)):this.destination=SS}static create(t,e,r){return new Fs(t,e,r)}next(t){this.isStopped?tu(function wS(n){return Xc("N",n,void 0)}(t),this):this._next(t)}error(t){this.isStopped?tu(function bS(n){return Xc("E",void 0,n)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?tu(_S,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const DS=Function.prototype.bind;function eu(n,t){return DS.call(n,t)}class xS{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(r){ua(r)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(r){ua(r)}else ua(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){ua(e)}}}class Fs extends Jc{constructor(t,e,r){let i;if(super(),le(t)||!t)i={next:t??void 0,error:e??void 0,complete:r??void 0};else{let s;this&&kr.useDeprecatedNextContext?(s=Object.create(t),s.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&eu(t.next,s),error:t.error&&eu(t.error,s),complete:t.complete&&eu(t.complete,s)}):i=t}this.destination=new xS(i)}}function ua(n){kr.useDeprecatedSynchronousErrorHandling?function CS(n){kr.useDeprecatedSynchronousErrorHandling&&Pr&&(Pr.errorThrown=!0,Pr.error=n)}(n):rg(n)}function tu(n,t){const{onStoppedNotification:e}=kr;e&&la.setTimeout(()=>e(n,t))}const SS={closed:!0,next:Zc,error:function ES(n){throw n},complete:Zc},nu="function"==typeof Symbol&&Symbol.observable||"@@observable";function hr(n){return n}function ig(n){return 0===n.length?hr:1===n.length?n[0]:function(e){return n.reduce((r,i)=>i(r),e)}}let Ee=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){const r=new n;return r.source=this,r.operator=e,r}subscribe(e,r,i){const s=function IS(n){return n&&n instanceof Jc||function AS(n){return n&&le(n.next)&&le(n.error)&&le(n.complete)}(n)&&tg(n)}(e)?e:new Fs(e,r,i);return ca(()=>{const{operator:o,source:a}=this;s.add(o?o.call(s,a):a?this._subscribe(s):this._trySubscribe(s))}),s}_trySubscribe(e){try{return this._subscribe(e)}catch(r){e.error(r)}}forEach(e,r){return new(r=sg(r))((i,s)=>{const o=new Fs({next:a=>{try{e(a)}catch(l){s(l),o.unsubscribe()}},error:s,complete:i});this.subscribe(o)})}_subscribe(e){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(e)}[nu](){return this}pipe(...e){return ig(e)(this)}toPromise(e){return new(e=sg(e))((r,i)=>{let s;this.subscribe(o=>s=o,o=>i(o),()=>r(s))})}}return n.create=t=>new n(t),n})();function sg(n){var t;return null!==(t=n??kr.Promise)&&void 0!==t?t:Promise}const TS=Os(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let _e=(()=>{class n extends Ee{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const r=new og(this,this);return r.operator=e,r}_throwIfClosed(){if(this.closed)throw new TS}next(e){ca(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(e)}})}error(e){ca(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:r}=this;for(;r.length;)r.shift().error(e)}})}complete(){ca(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:r,isStopped:i,observers:s}=this;return r||i?eg:(this.currentObservers=null,s.push(e),new Ze(()=>{this.currentObservers=null,gi(s,e)}))}_checkFinalizedStatuses(e){const{hasError:r,thrownError:i,isStopped:s}=this;r?e.error(i):s&&e.complete()}asObservable(){const e=new Ee;return e.source=this,e}}return n.create=(t,e)=>new og(t,e),n})();class og extends _e{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)}error(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:eg}}function ag(n){return le(n?.lift)}function Me(n){return t=>{if(ag(t))return t.lift(function(e){try{return n(e,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ae(n,t,e,r,i){return new RS(n,t,e,r,i)}class RS extends Jc{constructor(t,e,r,i,s,o){super(t),this.onFinalize=s,this.shouldUnsubscribe=o,this._next=e?function(a){try{e(a)}catch(l){t.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function $(n,t){return Me((e,r)=>{let i=0;e.subscribe(Ae(r,s=>{r.next(n.call(t,s,i++))}))})}function Lr(n){return this instanceof Lr?(this.v=n,this):new Lr(n)}function kS(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=e.apply(n,t||[]),s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(h){r[h]&&(i[h]=function(f){return new Promise(function(p,m){s.push([h,f,p,m])>1||a(h,f)})})}function a(h,f){try{!function l(h){h.value instanceof Lr?Promise.resolve(h.value.v).then(c,u):d(s[0][2],h)}(r[h](f))}catch(p){d(s[0][3],p)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,f){h(f),s.shift(),s.length&&a(s[0][0],s[0][1])}}function PS(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=n[Symbol.asyncIterator];return t?t.call(n):(n=function ug(n){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&n[t],r=0;if(e)return e.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(s){e[s]=n[s]&&function(o){return new Promise(function(a,l){!function i(s,o,a,l){Promise.resolve(l).then(function(c){s({value:c,done:a})},o)}(a,l,(o=n[s](o)).done,o.value)})}}}const iu=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function dg(n){return le(n?.then)}function hg(n){return le(n[nu])}function fg(n){return Symbol.asyncIterator&&le(n?.[Symbol.asyncIterator])}function pg(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invali
1d object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const gg=function NS(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function mg(n){return le(n?.[gg])}function yg(n){return kS(this,arguments,function*(){const e=n.getReader();try{for(;;){const{value:r,done:i}=yield Lr(e.read());if(i)return yield Lr(void 0);yield yield Lr(r)}}finally{e.releaseLock()}})}function vg(n){return le(n?.getReader)}function Ct(n){if(n instanceof Ee)return n;if(null!=n){if(hg(n))return function BS(n){return new Ee(t=>{const e=n[nu]();if(le(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(iu(n))return function VS(n){return new Ee(t=>{for(let e=0;e<n.length&&!t.closed;e++)t.next(n[e]);t.complete()})}(n);if(dg(n))return function jS(n){return new Ee(t=>{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,rg)})}(n);if(fg(n))return _g(n);if(mg(n))return function HS(n){return new Ee(t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()})}(n);if(vg(n))return function $S(n){return _g(yg(n))}(n)}throw pg(n)}function _g(n){return new Ee(t=>{(function US(n,t){var e,r,i,s;return function OS(n,t,e,r){return new(e||(e=Promise))(function(s,o){function a(u){try{c(r.next(u))}catch(d){o(d)}}function l(u){try{c(r.throw(u))}catch(d){o(d)}}function c(u){u.done?s(u.value):function i(s){return s instanceof e?s:new e(function(o){o(s)})}(u.value).then(a,l)}c((r=r.apply(n,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=PS(n);!(r=yield e.next()).done;)if(t.next(r.value),t.closed)return}catch(o){i={error:o}}finally{try{r&&!r.done&&(s=e.return)&&(yield s.call(e))}finally{if(i)throw i.error}}t.complete()})})(n,t).catch(e=>t.error(e))})}function Nn(n,t,e,r=0,i=!1){const s=t.schedule(function(){e(),i?n.add(this.schedule(null,r)):this.unsubscribe()},r);if(n.add(s),!i)return s}function Xe(n,t,e=1/0){return le(t)?Xe((r,i)=>$((s,o)=>t(r,s,i,o))(Ct(n(r,i))),e):("number"==typeof t&&(e=t),Me((r,i)=>function zS(n,t,e,r,i,s,o,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&t.complete()},f=m=>c<r?p(m):l.push(m),p=m=>{s&&t.next(m),c++;let y=!1;Ct(e(m,u++)).subscribe(Ae(t,_=>{i?.(_),s?f(_):t.next(_)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;l.length&&c<r;){const _=l.shift();o?Nn(t,o,()=>p(_)):p(_)}h()}catch(_){t.error(_)}}))};return n.subscribe(Ae(t,f,()=>{d=!0,h()})),()=>{a?.()}}(r,i,n,e)))}function mi(n=1/0){return Xe(hr,n)}const Bn=new Ee(n=>n.complete());function bg(n){return n&&le(n.schedule)}function su(n){return n[n.length-1]}function wg(n){return le(su(n))?n.pop():void 0}function ks(n){return bg(su(n))?n.pop():void 0}function Cg(n,t=0){return Me((e,r)=>{e.subscribe(Ae(r,i=>Nn(r,n,()=>r.next(i),t),()=>Nn(r,n,()=>r.complete(),t),i=>Nn(r,n,()=>r.error(i),t)))})}function Dg(n,t=0){return Me((e,r)=>{r.add(n.schedule(()=>e.subscribe(r),t))})}function xg(n,t){if(!n)throw new Error("Iterable cannot be null");return new Ee(e=>{Nn(e,t,()=>{const r=n[Symbol.asyncIterator]();Nn(e,t,()=>{r.next().then(i=>{i.done?e.complete():e.next(i.value)})},0,!0)})})}function je(n,t){return t?function XS(n,t){if(null!=n){if(hg(n))return function qS(n,t){return Ct(n).pipe(Dg(t),Cg(t))}(n,t);if(iu(n))return function YS(n,t){return new Ee(e=>{let r=0;return t.schedule(function(){r===n.length?e.complete():(e.next(n[r++]),e.closed||this.schedule())})})}(n,t);if(dg(n))return function KS(n,t){return Ct(n).pipe(Dg(t),Cg(t))}(n,t);if(fg(n))return xg(n,t);if(mg(n))return function QS(n,t){return new Ee(e=>{let r;return Nn(e,t,()=>{r=n[gg](),Nn(e,t,()=>{let i,s;try{({value:i,done:s}=r.next())}catch(o){return void e.error(o)}s?e.complete():e.next(i)},0,!0)}),()=>le(r?.return)&&r.return()})}(n,t);if(vg(n))return function ZS(n,t){return xg(yg(n),t)}(n,t)}throw pg(n)}(n,t):Ct(n)}function da(...n){const t=ks(n),e=function WS(n,t){return"number"==typeof su(n)?n.pop():t}(n,1/0),r=n;return r.length?1===r.length?Ct(r[0]):mi(e)(je(r,t)):Bn}function Eg(n={}){const{connector:t=(()=>new _e),resetOnError:e=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=n;return s=>{let o,a,l,c=0,u=!1,d=!1;const h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),o=l=void 0,u=d=!1},p=()=>{const m=o;f(),m?.unsubscribe()};return Me((m,y)=>{c++,!d&&!u&&h();const _=l=l??t();y.add(()=>{c--,0===c&&!d&&!u&&(a=ou(p,i))}),_.subscribe(y),!o&&c>0&&(o=new Fs({next:C=>_.next(C),error:C=>{d=!0,h(),a=ou(f,e,C),_.error(C)},complete:()=>{u=!0,h(),a=ou(f,r),_.complete()}}),Ct(m).subscribe(o))})(s)}}function ou(n,t,...e){if(!0===t)return void n();if(!1===t)return;const r=new Fs({next:()=>{r.unsubscribe(),n()}});return t(...e).subscribe(r)}function be(n){for(let t in n)if(n[t]===be)return t;throw Error("Could not find renamed property on target object.")}function au(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function we(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(we).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function lu(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const JS=be({__forward_ref__:be});function cu(n){return n.__forward_ref__=cu,n.toString=function(){return we(this())},n}function j(n){return uu(n)?n():n}function uu(n){return"function"==typeof n&&n.hasOwnProperty(JS)&&n.__forward_ref__===cu}
1class D extends Error{constructor(t,e){super(function ha(n,t){return`NG0${Math.abs(n)}${t?": "+t.trim():""}`}(t,e)),this.code=t}}function W(n){return"string"==typeof n?n:null==n?"":String(n)}function fa(n,t){throw new D(-201,!1)}function Rt(n,t){null==n&&function ge(n,t,e,r){throw new Error(`ASSERTION ERROR: ${n}`+(null==r?"":` [Expected=> ${e} ${r} ${t} <=Actual]`))}(t,n,null,"!=")}function x(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function ce(n){return{providers:n.providers||[],imports:n.imports||[]}}function pa(n){return Sg(n,ga)||Sg(n,Ag)}function Sg(n,t){return n.hasOwnProperty(t)?n[t]:null}function Mg(n){return n&&(n.hasOwnProperty(du)||n.hasOwnProperty(c0))?n[du]:null}const ga=be({\u0275prov:be}),du=be({\u0275inj:be}),Ag=be({ngInjectableDef:be}),c0=be({ngInjectorDef:be});var N=(()=>((N=N||{})[N.Default=0]="Default",N[N.Host=1]="Host",N[N.Self=2]="Self",N[N.SkipSelf=4]="SkipSelf",N[N.Optional=8]="Optional",N))();let hu;function qt(n){const t=hu;return hu=n,t}function Ig(n,t,e){const r=pa(n);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:e&N.Optional?null:void 0!==t?t:void fa(we(n))}function fr(n){return{toString:n}.toString()}var cn=(()=>((cn=cn||{})[cn.OnPush=0]="OnPush",cn[cn.Default=1]="Default",cn))(),un=(()=>{return(n=un||(un={}
1))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",un;var n})();const Ce=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),yi={},pe=[],ma=be({\u0275cmp:be}),fu=be({\u0275dir:be}),pu=be({\u0275pipe:be}),Tg=be({\u0275mod:be}),jn=be({\u0275fac:be}),Ps=be({__NG_ELEMENT_ID__:be});let d0=0;function at(n){return fr(()=>{const e=!0===n.standalone,r={},i={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===cn.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||pe,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||un.Emulated,id:"c"+d0++,styles:n.styles||pe,_:null,setInput:null,schemas:n.schemas||null,tView:null},s=n.dependencies,o=n.features;return i.inputs=Fg(n.inputs,r),i.outputs=Fg(n.outputs),o&&o.forEach(a=>a(i)),i.directiveDefs=s?()=>("function"==typeof s?s():s).map(Rg).filter(Og):null,i.pipeDefs=s?()=>("function"==typeof s?s():s).map(gt).filter(Og):null,i})}function Rg(n){return me(n)||pt(n)}function Og(n){return null!==n}function de(n){return fr(()=>({type:n.type,bootstrap:n.bootstrap||pe,declarations:n.declarations||pe,imports:n.imports||pe,exports:n.exports||pe,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Fg(n,t){if(null==n)return yi;const e={};for(const r in n)if(n.hasOwnProperty(r)){let i=n[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),e[i]=r,t&&(t[i]=s)}return e}const S=at;function Dt(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function me(n){return n[ma]||null}function pt(n){return n[fu]||null}function gt(n){return n[pu]||null}function Ot(n,t){const e=n[Tg]||null;if(!e&&!0===t)throw new Error(`Type ${we(n)} does not have '\u0275mod' property.`);return e}const Q=11;function xt(n){return Array.isArray(n)&&"object"==typeof n[1]}function hn(n){return Array.isArray(n)&&!0===n[1]}function yu(n){return 0!=(8&n.flags)}function ba(n){return 2==(2&n.flags)}function wa(n){return 1==(1&n.flags)}function fn(n){return null!==n.template}function y0(n){return 0!=(256&n[2])}function Hr(n,t){return n.hasOwnProperty(jn)?n[jn]:null}class b0{constructor(t,e,r){this.previousValue=t,this.currentValue=e,this.firstChange=r}isFirstChange(){return this.firstChange}}function Hn(){return Lg}function Lg(n){return n.type.prototype.ngOnChanges&&(n.setInput=C0),w0}function w0(){const n=Bg(this),t=n?.current;if(t){const e=n.previous;if(e===yi)n.previous=t;else for(let r in t)e[r]=t[r];n.current=null,this.ngOnChanges(t)}}function C0(n,t,e,r){const i=Bg(n)||function D0(n,t){return n[Ng]=t}(n,{previous:yi,current:null}),s=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[e],l=o[a];s[a]=new b0(l&&l.currentValue,t,o===yi),n[r]=t}Hn.ngInherit=!0;const Ng="__ngSimpleChanges__";function Bg(n){return n[Ng]||null}function He(n){for(;Array.isArray(n);)n=n[0];return n}function Ca(n,t){return He(t[n])}function kt(n,t){return He(t[n.index])}function Cu(n,t){return n.data[t]}function Ci(n,t){return n[t]}function Pt(n,t){const e=t[n];return xt(e)?e:e[0]}function Da(n){return 64==(64&n[2])}function pr(n,t){return null==t?null:n[t]}function Vg(n){n[18]=0}function Du(n,t){n[5]+=t;let e=n,r=n[3];for(;null!==r&&(1===t&&1===e[5]||-1===t&&0===e[5]);)r[5]+=t,e=r,r=r[3]}const U={lFrame:Zg(null),bindingsEnabled:!0};function Hg(){return U.bindingsEnabled}function w(){return U.lFrame.lView}function oe(){return U.lFrame.tView}function We(){let n=zg();for(;null!==n&&64===n.type;)n=n.parent;return n}function zg(){return U.lFrame.currentTNode}function En(n,t){const e=U.lFrame;e.currentTNode=n,e.isParent=t}function xu(){return U.lFrame.isParent}function Eu(){U.lFrame.isParent=!1}function mt(){const n=U.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function Di(){return U.lFrame.bindingIndex++}function B0(n,t){const e=U.lFrame;e.bindingIndex=e.bindingRootIndex=n,Su(t)}function Su(n){U.lFrame.currentDirectiveIndex=n}function Kg(){return U.lFrame.currentQueryIndex}function Au(n){U.lFrame.currentQueryIndex=n}function j0(n){const t=n[1];return 2===t.type?t.declTNode:1===t.type?n[6]:null}function Yg(n,t,e){if(e&N.SkipSelf){let i=t,s=n;for(;!(i=i.parent,null!==i||e&N.Host||(i=j0(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;t=i,n=s}const r=U.lFrame=Qg();return r.currentTNode=t,r.lView=n,!0}function Iu(n){const t=Qg(),e=n[1];U.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function Qg(){const n=U.lFrame,t=null===n?null:n.child;return null===t?Zg(n):t}function Zg(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,
1selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function Xg(){const n=U.lFrame;return U.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Jg=Xg;function Tu(){const n=Xg();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function yt(){return U.lFrame.selectedIndex}function gr(n){U.lFrame.selectedIndex=n}function Re(){const n=U.lFrame;return Cu(n.tView,n.selectedIndex)}function xa(n,t){for(let e=t.directiveStart,r=t.directiveEnd;e<r;e++){const s=n.data[e].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=s;o&&(n.contentHooks||(n.contentHooks=[])).push(-e,o),a&&((n.contentHooks||(n.contentHooks=[])).push(e,a),(n.contentCheckHooks||(n.contentCheckHooks=[])).push(e,a)),l&&(n.viewHooks||(n.viewHooks=[])).push(-e,l),c&&((n.viewHooks||(n.viewHooks=[])).push(e,c),(n.viewCheckHooks||(n.viewCheckHooks=[])).push(e,c)),null!=u&&(n.destroyHooks||(n.destroyHooks=[])).push(e,u)}}function Ea(n,t,e){em(n,t,3,e)}function Sa(n,t,e,r){(3&n[2])===e&&em(n,t,e,r)}function Ru(n,t){let e=n[2];(3&e)===t&&(e&=2047,e+=1,n[2]=e)}function em(n,t,e,r){const s=r??-1,o=t.length-1;let a=0;for(let l=void 0!==r?65535&n[18]:0;l<o;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=r&&a>=r)break}else t[l]<0&&(n[18]+=65536),(a<s||-1==s)&&(Y0(n,e,t,l),n[18]=(4294901760&n[18])+l+2),l++}function Y0(n,t,e,r){const i=e[r]<0,s=e[r+1],a=n[i?-e[r]:e[r]];if(i){if(n[2]>>11<n[18]>>16&&(3&n[2])===t){n[2]+=2048;try{s.call(a)}finally{}}}else try{s.call(a)}finally{}}class Hs{constructor(t,e,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=r}}function Ma(n,t,e){let r=0;for(;r<e.length;){const i=e[r];if("number"==typeof i){if(0!==i)break;r++;const s=e[r++],o=e[r++],a=e[r++];n.setAttribute(t,o,a,s)}else{const s=i,o=e[++r];nm(s)?n.setProperty(t,s,o):n.setAttribute(t,s,o),r++}}return r}function tm(n){return 3===n||4===n||6===n}function nm(n){return 64===n.charCodeAt(0)}function Aa(n,t){if(null!==t&&0!==t.length)if(null===n||0===n.length)n=t.slice();else{let e=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?e=i:0===e||rm(n,e,i,null,-1===e||2===e?t[++r]:null)}}return n}function rm(n,t,e,r,i){let s=0,o=n.length;if(-1===t)o=-1;else for(;s<n.length;){const a=n[s++];if("number"==typeof a){if(a===t){o=-1;break}if(a>t){o=s-1;break}}}for(;s<n.length;){const a=n[s];if("number"==typeof a)break;if(a===e){if(null===r)return void(null!==i&&(n[s+1]=i));if(r===n[s+1])return void(n[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==o&&(n.splice(o,0,t),s=o+1),n.splice(s++,0,e),null!==r&&n.splice(s++,0,r),null!==i&&n.splice(s++,0,i)}function im(n){return-1!==n}function xi(n){return 32767&n}function Ei(n,t){let e=function eM(n){return n>>16}(n),r=t;for(;e>0;)r=r[15],e--;return r}let Fu=!0;function Ia(n){const t=Fu;return Fu=n,t}let tM=0;const Sn={};function Us(n,t){const e=Pu(n,t);if(-1!==e)return e;const r=t[1];r.firstCreatePass&&(n.injectorIndex=t.length,ku(r.data,n),ku(t,null),ku(r.blueprint,null));const i=Ta(n,t),s=n.injectorIndex;if(im(i)){const o=xi(i),a=Ei(i,t),l=a[1].data;for(let c=0;c<8;c++)t[s+c]=a[o+c]|l[o+c]}return t[s+8]=i,s}function ku(n,t){n.push(0,0,0,0,0,0,0,0,t)}function Pu(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function Ta(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,r=null,i=t;for(;null!==i;){if(r=fm(i),null===r)return-1;if(e++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|e<<16}return-1}function Ra(n,t,e){!function nM(n,t,e){let r;"string"==typeof e?r=e.charCodeAt(0)||0:e.hasOwnProperty(Ps)&&(r=e[Ps]),null==r&&(r=e[Ps]=tM++);const i=255&r;t.data[n+(i>>5)]|=1<<i}(n,t,e)}function am(n,t,e){if(e&N.Optional||void 0!==n)return n;fa()}function lm(n,t,e,r){if(e&N.Optional&&void 0===r&&(r=null),0==(e&(N.Self|N.Host))){const i=n[9],s=qt(void 0);try{return i?i.get(t,r,e&N.Optional):Ig(t,r,e&N.Optional)}finally{qt(s)}}return am(r,0,e)}function cm(n,t,e,r=N.Default,i){if(null!==n){if(1024&t[2]){const o=function aM(n,t,e,r,i){let s=n,o=t;for(;null!==s&&null!==o&&1024&o[2]&&!(256&o[2]);){const a=um(s,o,e,r|N.Self,Sn);if(a!==Sn)return a;let l=s.parent;if(!l){const c=o[21];if(c){const u=c.get(e,Sn,r);if(u!==Sn)return u}l=fm(o),o=o[15]}s=l}return i}(n,t,e,r,Sn);if(o!==Sn)return o}const s=um(n,t,e,r,Sn);if(s!==Sn)return s}return lm(t,e,r,i)}function um(n,t,e,r,i){const s=function sM(n){if("string"==typeof n)return n.charCo
1deAt(0)||0;const t=n.hasOwnProperty(Ps)?n[Ps]:void 0;return"number"==typeof t?t>=0?255&t:oM:t}(e);if("function"==typeof s){if(!Yg(t,n,r))return r&N.Host?am(i,0,r):lm(t,e,r,i);try{const o=s(r);if(null!=o||r&N.Optional)return o;fa()}finally{Jg()}}else if("number"==typeof s){let o=null,a=Pu(n,t),l=-1,c=r&N.Host?t[16][6]:null;for((-1===a||r&N.SkipSelf)&&(l=-1===a?Ta(n,t):t[a+8],-1!==l&&hm(r,!1)?(o=t[1],a=xi(l),t=Ei(l,t)):a=-1);-1!==a;){const u=t[1];if(dm(s,a,u.data)){const d=iM(a,t,e,o,r,c);if(d!==Sn)return d}l=t[a+8],-1!==l&&hm(r,t[1].data[a+8]===c)&&dm(s,a,t)?(o=u,a=xi(l),t=Ei(l,t)):a=-1}}return i}function iM(n,t,e,r,i,s){const o=t[1],a=o.data[n+8],u=Oa(a,o,e,null==r?ba(a)&&Fu:r!=o&&0!=(3&a.type),i&N.Host&&s===a);return null!==u?zs(t,o,u,a):Sn}function Oa(n,t,e,r,i){const s=n.providerIndexes,o=t.data,a=1048575&s,l=n.directiveStart,u=s>>20,h=i?a+u:n.directiveEnd;for(let f=r?a:a+u;f<h;f++){const p=o[f];if(f<l&&e===p||f>=l&&p.type===e)return f}if(i){const f=o[l];if(f&&fn(f)&&f.type===e)return l}return null}function zs(n,t,e,r){let i=n[e];const s=t.data;if(function Q0(n){return n instanceof Hs}(i)){const o=i;o.resolving&&function e0(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new D(-200,`Circular dependency in DI detected for ${n}${e}`)}(function fe(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():W(n)}(s[e]));const a=Ia(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?qt(o.injectImpl):null;Yg(n,r,N.Default);try{i=n[e]=o.factory(void 0,s,n,r),t.firstCreatePass&&e>=r.directiveStart&&function K0(n,t,e){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const o=Lg(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o)}i&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,i),s&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s))}(e,s[e],t)}finally{null!==l&&qt(l),Ia(a),o.resolving=!1,Jg()}}return i}function dm(n,t,e){return!!(e[t+(n>>5)]&1<<n)}function hm(n,t){return!(n&N.Self||n&N.Host&&t)}class Si{constructor(t,e){this._tNode=t,this._lView=e}get(t,e,r){return cm(this._tNode,this._lView,t,r,e)}}function oM(){return new Si(We(),w())}function X(n){return fr(()=>{const t=n.prototype.constructor,e=t[jn]||Lu(t),r=Object.prototype;let i=Object.getPrototypeOf(n.prototype).constructor;for(;i&&i!==r;){const s=i[jn]||Lu(i);if(s&&s!==e)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Lu(n){return uu(n)?()=>{const t=Lu(j(n));return t&&t()}:Hr(n)}function fm(n){const t=n[1],e=t.type;return 2===e?t.declTNode:1===e?n[6]:null}function Mi(n){return function rM(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const r=e.length;let i=0;for(;i<r;){const s=e[i];if(tm(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof e[i];)i++;else{if(s===t)return e[i+1];i+=2}}}return null}(We(),n)}const Ii="__parameters__";function Ri(n,t,e){return fr(()=>{const r=function Nu(n){return function(...e){if(n){const r=n(...e);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const o=new i(...s);return a.annotation=o,a;function a(l,c,u){const d=l.hasOwnProperty(Ii)?l[Ii]:Object.defineProperty(l,Ii,{value:[]})[Ii];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(o),l}}return e&&(i.prototype=Object.create(e.prototype)),i.prototype.ngMetadataName=n,i.annotationCls=i,i})}class E{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=x({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Lt(n,t){void 0===t&&(t=n);for(let e=0;e<n.length;e++){let r=n[e];Array.isArray(r)?(t===n&&(t=n.slice(0,e)),Lt(r,t)):t!==n&&t.push(r)}return t}function zn(n,t){n.forEach(e=>Array.isArray(e)?zn(e,t):t(e))}function gm(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Fa(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function qs(n,t){const e=[];for(let r=0;r<n;r++)e.push(t);return e}function Nt(n,t,e){let r=Oi(n,t);return r>=0?n[1|r]=e:(r=~r,function dM(n,t,e,r){let i=n.length;if(i==t)n.push(e,r);else if(1===i)n.push(r,n[0]),n[0]=e;else{for(i--,n.push(n[i-1],n[i]);i>t;)n[i]=n[i-2],i--;
1n[t]=e,n[t+1]=r}}(n,r,t,e)),r}function Vu(n,t){const e=Oi(n,t);if(e>=0)return n[1|e]}function Oi(n,t){return function vm(n,t,e){let r=0,i=n.length>>e;for(;i!==r;){const s=r+(i-r>>1),o=n[s<<e];if(t===o)return s<<e;o>t?i=s:r=s+1}return~(i<<e)}(n,t,1)}const Ks={},Hu="__NG_DI_FLAG__",Pa="ngTempTokenPath",_M=/\n/gm,_m="__source";let Ys;function Fi(n){const t=Ys;return Ys=n,t}function wM(n,t=N.Default){if(void 0===Ys)throw new D(-203,!1);return null===Ys?Ig(n,void 0,t):Ys.get(n,t&N.Optional?null:void 0,t)}function v(n,t=N.Default){return(function u0(){return hu}()||wM)(j(n),t)}function ye(n,t=N.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),v(n,t)}function $u(n){const t=[];for(let e=0;e<n.length;e++){const r=j(n[e]);if(Array.isArray(r)){if(0===r.length)throw new D(900,!1);let i,s=N.Default;for(let o=0;o<r.length;o++){const a=r[o],l=CM(a);"number"==typeof l?-1===l?i=a.token:s|=l:i=a}t.push(v(i,s))}else t.push(v(r))}return t}function Qs(n,t){return n[Hu]=t,n.prototype[Hu]=t,n}function CM(n){return n[Hu]}const yr=Qs(Ri("Optional"),8),ki=Qs(Ri("SkipSelf"),4);var Et=(()=>((Et=Et||{})[Et.Important=1]="Important",Et[Et.DashCase=2]="DashCase",Et))();const qu=new Map;let jM=0;const Yu="__ngContext__";function ut(n,t){xt(t)?(n[Yu]=t[20],function $M(n){qu.set(n[20],n)}(t)):n[Yu]=t}function Zu(n,t){return undefined(n,t)}function eo(n){const t=n[3];return hn(t)?t[3]:t}function Xu(n){return jm(n[13])}function Ju(n){return jm(n[4])}function jm(n){for(;null!==n&&!hn(n);)n=n[4];return n}function Li(n,t,e,r,i){if(null!=r){let s,o=!1;hn(r)?s=r:xt(r)&&(o=!0,r=r[0]);const a=He(r);0===n&&null!==e?null==i?Wm(t,e,a):$r(t,e,a,i||null,!0):1===n&&null!==e?$r(t,e,a,i||null,!0):2===n?function od(n,t,e){const r=Ba(n,t);r&&function uA(n,t,e,r){n.removeChild(t,e,r)}(n,r,t,e)}(t,a,o):3===n&&t.destroyNode(a),null!=s&&function fA(n,t,e,r,i){const s=e[7];s!==He(e)&&Li(t,n,r,s,i);for(let a=10;a<e.length;a++){const l=e[a];to(l[1],l,n,t,r,s)}}(t,n,s,e,i)}}function td(n,t,e){return n.createElement(t,e)}function $m(n,t){const e=n[9],r=e.indexOf(t),i=t[3];512&t[2]&&(t[2]&=-513,Du(i,-1)),e.splice(r,1)}function nd(n,t){if(n.length<=10)return;const e=10+t,r=n[e];if(r){const i=r[17];null!==i&&i!==n&&$m(i,r),t>0&&(n[e-1][4]=r[4]);const s=Fa(n,10+t);!function nA(n,t){to(n,t,t[Q],2,null,null),t[0]=null,t[6]=null}(r[1],r);const o=s[19];null!==o&&o.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Um(n,t){if(!(128&t[2])){const e=t[Q];e.destroyNode&&to(n,t,e,3,null,null),function sA(n){let t=n[13];if(!t)return rd(n[1],n);for(;t;){let e=null;if(xt(t))e=t[13];else{const r=t[10];r&&(e=r)}if(!e){for(;t&&!t[4]&&t!==n;)xt(t)&&rd(t[1],t),t=t[3];null===t&&(t=n),xt(t)&&rd(t[1],t),e=t&&t[4]}t=e}}(t)}}function rd(n,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function cA(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let r=0;r<e.length;r+=2){const i=t[e[r]];if(!(i instanceof Hs)){const s=e[r+1];if(Array.isArray(s))for(let o=0;o<s.length;o+=2){const a=i[s[o]],l=s[o+1];try{l.call(a)}finally{}}else try{s.call(i)}finally{}}}}(n,t),function lA(n,t){const e=n.cleanup,r=t[7];let i=-1;if(null!==e)for(let s=0;s<e.length-1;s+=2)if("string"==typeof e[s]){const o=e[s+1],a="function"==typeof o?o(t):He(t[o]),l=r[i=e[s+2]],c=e[s+3];"boolean"==typeof c?a.removeEventListener(e[s],l,c):c>=0?r[i=c]():r[i=-c].unsubscribe(),s+=2}else{const o=r[i=e[s+1]];e[s].call(o)}if(null!==r){for(let s=i+1;s<r.length;s++)(0,r[s])();t[7]=null}}(n,t),1===t[1].type&&t[Q].destroy();const e=t[17];if(null!==e&&hn(t[3])){e!==t[3]&&$m(e,t);const r=t[19];null!==r&&r.detachView(n)}!function UM(n){qu.delete(n[20])}(t)}}function zm(n,t,e){return function Gm(n,t,e){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return e[0];if(2&r.flags){const i=n.data[r.directiveStart].encapsulation;if(i===un.None||i===un.Emulated)return null}return kt(r,e)}(n,t.parent,e)}function $r(n,t,e,r,i){n.insertBefore(t,e,r,i)}function Wm(n,t,e){n.appendChild(t,e)}function qm(n,t,e,r,i){null!==r?$r(n,t,e,r,i):Wm(n,t,e)}function Ba(n,t){return n.parentNode(t)}function Km(n,t,e){return Qm(n,t,e)}let Ha,ud,$a,Qm=function Ym(n,t,e){return 40&n.type?kt(n,e):null};function Va(n,t,e,r){const i=zm(n,r,t),s=t[Q],a=Km(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(e))for(let l=0;l<e.length;l++)qm(s,i,e[l],a,!1);else qm(s,i,e,a,!1)}function ja(n,t){if(null!==t){const e=t.type;if(3&e)return kt(t,n);if(4&e)return sd(-1,n[t.index]);if(8&e){const r=t.child;if(null!==r)return ja(n,r);{const i=n[t.index];return hn(i)?sd(-1,i):He(i)}}if(32&e)return Zu(t,n)()||He(n[t.index]);{const r=Xm(n,t);return null!==r?Array.isArray(r)?r[0]:ja(eo(n[16]),r):ja(n,t.next)}}return null}function Xm(n,t){return null!==t?n[16][6].projection[t.projection]:null}function sd(n,t){const e=10+n+1;if(e<t.length){const r=t[e],i=r[1].firstChild;if(null!==i)return ja(r,i)}return t[7]}function ad(n,t,e,r,i,s,o){for(;null!=e;){const a=r[e.index],l=e.type;if(o&&0===t&&(a&&ut(He(a),r),e.flags|=4),64!=(64&e.flags))if(8&l)ad(n,t,e.child,r,i,s,!1),Li(t,n,i,a,s);else if(32&l){const c=Zu(e,r);let u;for(;u=c();)Li(t,n,i,u,s);Li(t,n,i,a,s)}else 16&l?Jm(n,t,r,e,i,s):Li(t,n,i,a,s);e=o?e.projectionNext:e.next}}function to(n,t,e,r,i,s){ad(e,r,n.firstChild,t,i,s,!1)}function Jm(n,t,e,r,i,s){const o=e[16],l=o[6].projection[r.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)Li(t,n,i,l[c],s);else ad(n,t,l,o[3],i,s,!0)}function ey(n,t,e){n.setAttribute(t,"style",e)}function ld(n,t,e){""===e?n.removeAttribute(t,"class"):n.setAttribute(t,"class",e)}function Ur(n){return function cd(){if(void 0===Ha&&(Ha=null,Ce.trustedTypes))try{Ha=Ce.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Ha}()?.createHTML(n)||n}function iy(n){return function dd(){if(void 0===$a&&($a=null,Ce.trustedTypes))try{$a=Ce.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return $a}()?.createScriptURL(n)||n}
1class zr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class _A extends zr{getTypeName(){return"HTML"}}class bA extends zr{getTypeName(){return"Style"}}class wA extends zr{getTypeName(){return"Script"}}class CA extends zr{getTypeName(){return"URL"}}class DA extends zr{getTypeName(){return"ResourceURL"}}function Bt(n){return n instanceof zr?n.changingThisBreaksApplicationSecurity:n}function Mn(n,t){const e=function xA(n){return n instanceof zr&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===t}class TA{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(Ur(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class RA{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const r=this.inertDocument.createElement("body");e.appendChild(r)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Ur(t),e;const r=this.inertDocument.createElement("body");return r.innerHTML=Ur(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0<i;i--){const o=e.item(i).name;("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&t.removeAttribute(o)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const FA=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Ua(n){return(n=String(n)).match(FA)?n:"unsafe:"+n}function Gn(n){const t={};for(const e of n.split(","))t[e]=!0;return t}function no(...n){const t={};for(const e of n)for(const r in e)e.hasOwnProperty(r)&&(t[r]=!0);return t}const oy=Gn("area,br,col,hr,img,wbr"),ay=Gn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ly=Gn("rp,rt"),hd=no(oy,no(ay,Gn("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")),no(ly,Gn("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")),no(ly,ay)),fd=Gn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),cy=no(fd,Gn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Gn("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")),kA=Gn("script,style,template");class PA{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,r=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?r=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,r&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=this.checkClobberedElement(e,e.nextSibling);if(i){e=i;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!hd.hasOwnProperty(e))return this.sanitizedSomething=!0,!kA.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const r=t.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),o=s.name,a=o.toLowerCase();if(!cy.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=s.value;fd[a]&&(l=Ua(l)),this.buf.push(" ",o,'="',uy(l),'"')}return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();hd.hasOwnProperty(e)&&!oy.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(uy(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 LA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,NA=/([^\#-~ |!])/g;function uy(n){return n.replace(/&/g,"&amp;").replace(LA,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(NA,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let za;function dy(n,t){let e=null;try{za=za||function sy(n){const t=new RA(n);return function OA(){try{return!!(new window.DOMParser).parseFromString(Ur(""),"text/html")}catch{return!1}}()?new TA(t):t}(n);let r=t?String(t):"";e=za.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=e.innerHTML,e=za.getInertBodyElement(r)}while(r!==s);return Ur((new PA).sanitizeChildren(pd(e)||e))}finally{if(e){const r=pd(e)||e;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function pd(n){return"content"in n&&function BA(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var he=(()=>((he=he||{})[he.NONE=0]="NONE",he[he.HTML=1]="HTML",he[he.STYLE=2]="STYLE",he[he.SCRIPT=3]="SCRIPT",he[he.U
1RL=4]="URL",he[he.RESOURCE_URL=5]="RESOURCE_URL",he))();function pn(n){const t=ro();return t?t.sanitize(he.URL,n)||"":Mn(n,"URL")?Bt(n):Ua(W(n))}function gd(n){const t=ro();if(t)return iy(t.sanitize(he.RESOURCE_URL,n)||"");if(Mn(n,"ResourceURL"))return iy(Bt(n));throw new D(904,!1)}function ro(){const n=w();return n&&n[12]}const md=new E("ENVIRONMENT_INITIALIZER"),hy=new E("INJECTOR",-1),fy=new E("INJECTOR_DEF_TYPES");class py{get(t,e=Ks){if(e===Ks){const r=new Error(`NullInjectorError: No provider for ${we(t)}!`);throw r.name="NullInjectorError",r}return e}}function WA(...n){return{\u0275providers:gy(0,n)}}function gy(n,...t){const e=[],r=new Set;let i;return zn(t,s=>{const o=s;yd(o,e,[],r)&&(i||(i=[]),i.push(o))}),void 0!==i&&my(i,e),e}function my(n,t){for(let e=0;e<n.length;e++){const{providers:i}=n[e];zn(i,s=>{t.push(s)})}}function yd(n,t,e,r){if(!(n=j(n)))return!1;let i=null,s=Mg(n);const o=!s&&me(n);if(s||o){if(o&&!o.standalone)return!1;i=n}else{const l=n.ngModule;if(s=Mg(l),!s)return!1;i=l}const a=r.has(i);if(o){if(a)return!1;if(r.add(i),o.dependencies){const l="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const c of l)yd(c,t,e,r)}}else{if(!s)return!1;{if(null!=s.imports&&!a){let c;r.add(i);try{zn(s.imports,u=>{yd(u,t,e,r)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&my(c,t)}if(!a){const c=Hr(i)||(()=>new i);t.push({provide:i,useFactory:c,deps:pe},{provide:fy,useValue:i,multi:!0},{provide:md,useValue:()=>v(i),multi:!0})}const l=s.providers;null==l||a||zn(l,u=>{t.push(u)})}}return i!==n&&void 0!==n.providers}const qA=be({provide:String,useValue:be});function vd(n){return null!==n&&"object"==typeof n&&qA in n}function Gr(n){return"function"==typeof n}const _d=new E("Set Injector scope."),Ga={},YA={};let bd;function Wa(){return void 0===bd&&(bd=new py),bd}class vr{}class _y extends vr{constructor(t,e,r,i){super(),this.parent=e,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Cd(t,o=>this.processProvider(o)),this.records.set(hy,Ni(void 0,this)),i.has("environment")&&this.records.set(vr,Ni(void 0,this));const s=this.records.get(_d);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(fy.multi,pe,N.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=Fi(this),r=qt(void 0);try{return t()}finally{Fi(e),qt(r)}}get(t,e=Ks,r=N.Default){this.assertNotDestroyed();const i=Fi(this),s=qt(void 0);try{if(!(r&N.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function eI(n){return"function"==typeof n||"object"==typeof n&&n instanceof E}(t)&&pa(t);a=l&&this.injectableDefInScope(l)?Ni(wd(t),Ga):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&N.Self?Wa():this.parent).get(t,e=r&N.Optional&&e===Ks?null:e)}catch(o){if("NullInjectorError"===o.name){if((o[Pa]=o[Pa]||[]).unshift(we(t)),i)throw o;return function DM(n,t,e,r){const i=n[Pa];throw t[_m]&&i.unshift(t[_m]),n.message=function xM(n,t,e,r=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let i=we(t);if(Array.isArray(t))i=t.map(we).join(" -> ");else if("object"==typeof t){let s=[];for(let o in t)if(t.hasOwnProperty(o)){let a=t[o];s.push(o+":"+("string"==typeof a?JSON.stringify(a):we(a)))}i=`{${s.join(", ")}}`}return`${e}${r?"("+r+")":""}[${i}]: ${n.replace(_M,"\n  ")}`}("\n"+n.message,i,e,r),n.ngTokenPath=i,n[Pa]=null,n}(o,t,"R3InjectorError",this.source)}throw o}finally{qt(s),Fi(i)}}resolveInjectorInitializers(){const t=Fi(this),e=qt(void 0);try{const r=this.get(md.multi,pe,N.Self);for(const i of r)i()}finally{Fi(t),qt(e)}}toString(){const t=[],e=this.records;for(const r of e.keys())t.push(we(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(t){let e=Gr(t=j(t))?t:j(t&&t.provide);const r=function ZA(n){return vd(n)?Ni(void 0,n.useValue):Ni(function by(n,t,e){let r;if(Gr(n)){const i=j(n);return Hr(i)||wd(i)}if(vd(n))r=()=>j(n.useValue);else if(function vy(n){return!(!n||!n.useFactory)}(n))r=()=>n.useFactory(...$u(n.deps||[]));else if(function yy(n){return!(!n||!n.useExisting)}(n))r=()=>v(j(n.useExisting));else{const i=j(n&&(n.useClass||n.provide));if(!function XA(n){return!!n.deps}(n))return Hr(i)||wd(i);r=()=>new i(...$u(n.deps))}return r}(n),Ga)}(t);if(Gr(t)||!0!==t.multi)this.records.get(e);else{let i=this.records.get(e);i||(i=Ni(void 0,Ga,!0),i.factory=()=>$u(i.multi),this.records.set(e,i)),e=t,i.multi.push(t)}this.records.set(e,r)}hydrate(t,e){return e.value===Ga&&(e.value=YA,e.value=e.factory()),"object"==typeof e.value&&e.value&&function JA(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=j(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function wd(n){const t=pa(n),e=null!==t?t.factory:Hr(n);if(null!==e)return e;if(n instanceof E)throw new D(204,!1);if(n instanceof Function)return function QA(n){const t=n.length;if(t>0)throw qs(t,"?"),new D(204,!1);const e=function a0(n){const t=n&&(n[ga]||n[Ag]);
1if(t){const e=function l0(n){if(n.hasOwnProperty("name"))return n.name;const t=(""+n).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),t}return null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new D(204,!1)}function Ni(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function tI(n){return!!n.\u0275providers}function Cd(n,t){for(const e of n)Array.isArray(e)?Cd(e,t):tI(e)?Cd(e.\u0275providers,t):t(e)}class wy{}class iI{resolveComponentFactory(t){throw function rI(n){const t=Error(`No component factory found for ${we(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let Bi=(()=>{class n{}return n.NULL=new iI,n})();function sI(){return Vi(We(),w())}function Vi(n,t){return new J(kt(n,t))}let J=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=sI,n})();function oI(n){return n instanceof J?n.nativeElement:n}class io{}let ji=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function aI(){const n=w(),e=Pt(We().index,n);return(xt(e)?e:n)[Q]}(),n})(),lI=(()=>{class n{}return n.\u0275prov=x({token:n,providedIn:"root",factory:()=>null}),n})();class Wr{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const cI=new Wr("14.2.12"),Dd={};function Ed(n){return n.ngOriginalError}class Wn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&Ed(t);for(;e&&Ed(e);)e=Ed(e);return e||null}}function qn(n){return n instanceof Function?n():n}function xy(n,t,e){let r=n.length;for(;;){const i=n.indexOf(t,e);if(-1===i)return i;if(0===i||n.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||n.charCodeAt(i+s)<=32)return i}e=i+1}}const Ey="ng-template";function bI(n,t,e){let r=0;for(;r<n.length;){let i=n[r++];
1if(e&&"class"===i){if(i=n[r],-1!==xy(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<n.length&&"string"==typeof(i=n[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function Sy(n){return 4===n.type&&n.value!==Ey}function wI(n,t,e){return t===(4!==n.type||e?n.value:Ey)}function CI(n,t,e){let r=4;const i=n.attrs||[],s=function EI(n){for(let t=0;t<n.length;t++)if(tm(n[t]))return t;return n.length}(i);let o=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!o)if(4&r){if(r=2|1&r,""!==l&&!wI(n,l,e)||""===l&&1===t.length){if(gn(r))return!1;o=!0}}else{const c=8&r?l:t[++a];if(8&r&&null!==n.attrs){if(!bI(n.attrs,c,e)){if(gn(r))return!1;o=!0}continue}const d=DI(8&r?"class":l,i,Sy(n),e);if(-1===d){if(gn(r))return!1;o=!0;continue}if(""!==c){let h;h=d>s?"":i[d+1].toLowerCase();const f=8&r?h:null;if(f&&-1!==xy(f,c,0)||2&r&&c!==h){if(gn(r))return!1;o=!0}}}}else{if(!o&&!gn(r)&&!gn(l))return!1;if(o&&gn(l))continue;o=!1,r=l|1&r}}return gn(r)||o}function gn(n){return 0==(1&n)}function DI(n,t,e,r){if(null===t)return-1;let i=0;if(r||!e){let s=!1;for(;i<t.length;){const o=t[i];if(o===n)return i;if(3===o||6===o)s=!0;else{if(1===o||2===o){let a=t[++i];for(;"string"==typeof a;)a=t[++i];continue}if(4===o)break;if(0===o){i+=4;continue}}i+=s?1:2}return-1}return function SI(n,t){let e=n.indexOf(4);if(e>-1)for(e++;e<n.length;){const r=n[e];if("number"==typeof r)return-1;if(r===t)return e;e++}return-1}(t,n)}function My(n,t,e=!1){for(let r=0;r<t.length;r++)if(CI(n,t[r],e))return!0;return!1}function MI(n,t){e:for(let e=0;e<t.length;e++){const r=t[e];if(n.length===r.length){for(let i=0;i<n.length;i++)if(n[i]!==r[i])continue e;return!0}}return!1}function Ay(n,t){return n?":not("+t.trim()+")":t}function AI(n){let t=n[0],e=1,r=2,i="",s=!1;for(;e<n.length;){let o=n[e];if("string"==typeof o)if(2&r){const a=n[++e];i+="["+o+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!gn(o)&&(t+=Ay(s,i),i=""),r=o,s=s||!gn(r);e++}return""!==i&&(t+=Ay(s,i)),t}const q={};function z(n){Iy(oe(),w(),yt()+n,!1)}function Iy(n,t,e,r){if(!r)if(3==(3&t[2])){const s=n.preOrderCheckHooks;null!==s&&Ea(t,s,e)}else{const s=n.preOrderHooks;null!==s&&Sa(t,s,0,e)}gr(e)}function Fy(n,t=null,e=null,r){const i=ky(n,t,e,r);return i.resolveInjectorInitializers(),i}function ky(n,t=null,e=null,r,i=new Set){const s=[e||pe,WA(n)];return r=r||("object"==typeof n?void 0:we(n)),new _y(s,t||Wa(),r||null,i)}let St=(()=>{class n{static create(e,r){if(Array.isArray(e))return Fy({name:""},r,e,"");{const i=e.name??"";return Fy({name:i},e.parent,e.providers,i)}}}return n.THROW_IF_NOT_FOUND=Ks,n.NULL=new py,n.\u0275prov=x({token:n,providedIn:"any",factory:()=>v(hy)}),n.__NG_ELEMENT_ID__=-1,n})();function g(n,t=N.Default){const e=w();return null===e?v(n,t):cm(We(),e,j(n),t)}function Ka(){throw new Error("invalid")}function Ya(n,t){return n<<17|t<<2}function mn(n){return n>>17&32767}function Td(n){return 2|n}function Kn(n){return(131068&n)>>2}function Rd(n,t){return-131069&n|t<<2}function Od(n){return 1|n}function Zy(n,t){const e=n.contentQueries;if(null!==e)for(let r=0;r<e.length;r+=2){const i=e[r],s=e[r+1];if(-1!==s){const o=n.data[s];Au(i),o.contentQueries(2,t[s],s)}}}function Xa(n,t,e,r,i,s,o,a,l,c,u){const d=t.blueprint.slice();return d[0]=i,d[2]=76|r,(null!==u||n&&1024&n[2])&&(d[2]|=1024),Vg(d),d[3]=d[15]=n,d[8]=e,d[10]=o||n&&n[10],d[Q]=a||n&&n[Q],d[12]=l||n&&n[12]||null,d[9]=c||n&&n[9]||null,d[6]=s,d[20]=function HM(){return jM++}(),d[21]=u,d[16]=2==t.type?n[16]:d,d}function Ui(n,t,e,r,i){let s=n.data[t];if(null===s)s=function jd(n,t,e,r,i){const s=zg(),o=xu(),l=n.data[t]=function uT(n,t,e,r,i,s){return{type:e,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?s:s&&s.parent,e,t,r,i);return null===n.firstChild&&(n.firstChild=l),null!==s&&(o?null==s.child&&null!==l.parent&&(s.child=l):null===s.next&&(s.next=l)),l}(n,t,e,r,i),function N0(){return U.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=e,s.value=r,s.attrs=i;const o=function js(){const n=U.lFrame,t=n.currentTNode;return n.isParent?t:t.parent}();s.injectorIndex=null===o?-1:o.injectorIndex}return En(s,!0),s}function zi(n,t,e,r){if(0===e)return-1;const i=t.length;for(let s=0;s<e;s++)t.push(r),n.blueprint.push(r),n.data.push(null);return i}function Hd(n,t,e){Iu(t);try{const r=n.viewQuery;null!==r&&Yd(1,r,e);const i=n.template;null!==i&&Xy(n,t,i,1,e),n.firstCreatePass&&(n.firstCreatePass=!1),n.staticContentQueries&&Zy(n,t),n.staticViewQueries&&Yd(2,n.viewQuery,e);const s=n.components;null!==s&&function aT(n,t){for(let e=0;e<t.length;e++)ST(n,t[e])}(t,s)}catch(r){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),r}finally{t[2]&=-5,Tu()}}function Ja(n,t,e,r){const i=t[2];if(128!=(128&i)){Iu(t);try{Vg(t),function Wg(n){return U.lFrame.bindingIndex=n}(n.bindingStartIndex),null!==e&&Xy(n,t,e,2,r);const o=3==(3&i);if(o){const c=n.preOrderCheckHooks;null!==c&&Ea(t,c,null)}else{const c=n.preOrderHooks;null!==c&&Sa(t,c,0,null),Ru(t,0)}if(function xT(n){for(let t=Xu(n);null!==t;t=Ju(t)){if(!t[2])continue;const e=t[9];for(let r=0;r<e.length;r++){const i=e[r],s=i[3];0==(512&i[2])&&Du(s,1),i[2]|=512}}}(t),function DT(n){for(let t=Xu(n);null!==t;t=Ju(t))for(let e=10;e<t.length;e++){const r=t[e],i=r[1];Da(r)&&Ja(i,r,i.template,r[8])}}(t),null!==n.contentQueries&&Zy(n,t),o){const c=n.contentCheckHooks;null!==c&&Ea(t,c)}else{const c=n.contentHooks;null!==c&&Sa(t,c,1),Ru(t,1)}!function sT(n,t){const e=n.hostBindingOpCodes;if(null!==e)try{for(let r=0;r<e.length;r++){const i=e[r];if(i<0)gr(~i);else{const s=i,o=e[++r],a=e[++r];B0(o,s),a(2,t[s])}}}finally{gr(-1)}}(n,t);const a=n.components;null!==a&&function oT(n,t){for(let e=0;e<t.length;e++)ET(n,t[e])}(t,a);const l=n.viewQuery;if(null!==l&&Yd(2,l,r),o){const c=n.viewCheckHooks;null!==c&&Ea(t,c)}else{const c=n.viewHooks;null!==c&&Sa(t,c,2),Ru(t,2)}!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Du(t[3],-1))}finally{Tu()}}}function Xy(n,t,e,r,i){const s=yt(),o=2&r;try{gr(-1),o&&t.length>22&&Iy(n,t,22,!1),e(r,i)}finally{gr(s)}}function Jy(n,t,e){if(yu(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const o=n.data[s];
1o.contentQueries&&o.contentQueries(1,e[s],s)}}}function $d(n,t,e){!Hg()||(function gT(n,t,e,r){const i=e.directiveStart,s=e.directiveEnd;n.firstCreatePass||Us(e,t),ut(r,t);const o=e.initialInputs;for(let a=i;a<s;a++){const l=n.data[a],c=fn(l);c&&bT(t,e,l);const u=zs(t,n,a,e);ut(u,t),null!==o&&wT(0,a-i,u,l,0,o),c&&(Pt(e.index,t)[8]=u)}}(n,t,e,kt(e,t)),128==(128&e.flags)&&function mT(n,t,e){const r=e.directiveStart,i=e.directiveEnd,s=e.index,o=function V0(){return U.lFrame.currentDirectiveIndex}();try{gr(s);for(let a=r;a<i;a++){const l=n.data[a],c=t[a];Su(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&ov(l,c)}}finally{gr(-1),Su(o)}}(n,t,e))}function Ud(n,t,e=kt){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],a=-1===o?e(t,n):n[o];n[i++]=a}}}function ev(n){const t=n.tView;return null===t||t.incompleteFirstPass?n.tView=zd(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts):t}function zd(n,t,e,r,i,s,o,a,l,c){const u=22+r,d=u+i,h=function lT(n,t){const e=[];for(let r=0;r<t;r++)e.push(r<n?null:q);return e}(u,d),f="function"==typeof c?c():c;return h[1]={type:n,blueprint:h,template:e,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:f,incompleteFirstPass:!1}}function tv(n,t,e,r){const i=dv(t);null===e?i.push(r):(i.push(e),n.firstCreatePass&&hv(n).push(r,i.length-1))}function nv(n,t,e){for(let r in n)if(n.hasOwnProperty(r)){const i=n[r];(e=null===e?{}:e).hasOwnProperty(r)?e[r].push(t,i):e[r]=[t,i]}return e}function rv(n,t){const r=t.directiveEnd,i=n.data,s=t.attrs,o=[];let a=null,l=null;for(let c=t.directiveStart;c<r;c++){const u=i[c],d=u.inputs,h=null===s||Sy(t)?null:CT(d,s);o.push(h),a=nv(d,c,a),l=nv(u.outputs,c,l)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=a,t.outputs=l}function iv(n,t){const e=Pt(t,n);16&e[2]||(e[2]|=32)}function Gd(n,t,e,r){let i=!1;if(Hg()){const s=function yT(n,t,e){const r=n.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];My(e,o.selectors,!1)&&(i||(i=[]),Ra(Us(e,t),n,o.type),fn(o)?(av(n,e),i.unshift(o)):i.push(o))}return i}(n,t,e),o=null===r?null:{"":-1};if(null!==s){i=!0,lv(e,n.data.length,s.length);for(let u=0;u<s.length;u++){const d=s[u];d.providersResolver&&d.providersResolver(d)}let a=!1,l=!1,c=zi(n,t,s.length,null);for(let u=0;u<s.length;u++){const d=s[u];e.mergedAttrs=Aa(e.mergedAttrs,d.hostAttrs),cv(n,e,t,c,d),_T(c,d,o),null!==d.contentQueries&&(e.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(e.flags|=128);const h=d.type.prototype;!a&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e.index),a=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e.index),l=!0),c++}rv(n,e)}o&&function vT(n,t,e){if(t){const r=n.localNames=[];for(let i=0;i<t.length;i+=2){const s=e[t[i+1]];if(null==s)throw new D(-301,!1);r.push(t[i],s)}}}(e,r,o)}return e.mergedAttrs=Aa(e.mergedAttrs,e.attrs),i}function sv(n,t,e,r,i,s){const o=s.hostBindings;if(o){let a=n.hostBindingOpCodes;null===a&&(a=n.hostBindingOpCodes=[]);const l=~t.index;(function pT(n){let t=n.length;for(;t>0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=l&&a.push(l),a.push(r,i,o)}}function ov(n,t){null!==n.hostBindings&&n.hostBindings(1,t)}function av(n,t){t.flags|=2,(n.components||(n.components=[])).push(t.index)}function _T(n,t,e){if(e){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)e[t.exportAs[r]]=n;fn(t)&&(e[""]=n)}}function lv(n,t,e){n.flags|=1,n.directiveStart=t,n.directiveEnd=t
1+e,n.providerIndexes=t}function cv(n,t,e,r,i){n.data[r]=i;const s=i.factory||(i.factory=Hr(i.type)),o=new Hs(s,fn(i),g);n.blueprint[r]=o,e[r]=o,sv(n,t,0,r,zi(n,e,i.hostVars,q),i)}function bT(n,t,e){const r=kt(t,n),i=ev(e),s=n[10],o=el(n,Xa(n,i,null,e.onPush?32:16,r,t,s,s.createRenderer(r,e),null,null,null));n[t.index]=o}function An(n,t,e,r,i,s){const o=kt(n,t);!function Wd(n,t,e,r,i,s,o){if(null==s)n.removeAttribute(t,i,e);else{const a=null==o?W(s):o(s,r||"",i);n.setAttribute(t,i,a,e)}}(t[Q],o,s,n.value,e,r,i)}function wT(n,t,e,r,i,s){const o=s[t];if(null!==o){const a=r.setInput;for(let l=0;l<o.length;){const c=o[l++],u=o[l++],d=o[l++];null!==a?r.setInput(e,d,c,u):e[u]=d}}}function CT(n,t){let e=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;n.hasOwnProperty(i)&&(null===e&&(e=[]),e.push(i,n[i],t[r+1])),r+=2}else r+=2;else r+=4}return e}function uv(n,t,e,r){return new Array(n,!0,!1,t,null,0,r,e,null,null)}function ET(n,t){const e=Pt(t,n);if(Da(e)){const r=e[1];48&e[2]?Ja(r,e,r.template,e[8]):e[5]>0&&qd(e)}}function qd(n){for(let r=Xu(n);null!==r;r=Ju(r))for(let i=10;i<r.length;i++){const s=r[i];if(Da(s))if(512&s[2]){const o=s[1];Ja(o,s,o.template,s[8])}else s[5]>0&&qd(s)}const e=n[1].components;if(null!==e)for(let r=0;r<e.length;r++){const i=Pt(e[r],n);Da(i)&&i[5]>0&&qd(i)}}function ST(n,t){const e=Pt(t,n),r=e[1];(function MT(n,t){for(let e=t.length;e<n.blueprint.length;e++)t.push(n.blueprint[e])})(r,e),Hd(r,e,e[8])}function el(n,t){return n[13]?n[14][4]=t:n[13]=t,n[14]=t,t}function Kd(n){for(;n;){n[2]|=32;const t=eo(n);if(y0(n)&&!t)return n;n=t}return null}function tl(n,t,e,r=!0){const i=t[10];i.begin&&i.begin();try{Ja(n,t,n.template,e)}catch(o){throw r&&pv(t,o),o}finally{i.end&&i.end()}}function Yd(n,t,e){Au(0),t(n,e)}function dv(n){return n[7]||(n[7]=[])}function hv(n){return n.cleanup||(n.cleanup=[])}function pv(n,t){const e=n[9],r=e?e.get(Wn,null):null;r&&r.handleError(t)}function Qd(n,t,e,r,i){for(let s=0;s<e.length;){const o=e[s++],a=e[s++],l=t[o],c=n.data[o];null!==c.setInput?c.setInput(l,i,r,a):l[a]=i}}function nl(n,t,e){let r=e?n.styles:null,i=e?n.classes:null,s=0;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?s=a:1==s?i=lu(i,a):2==s&&(r=lu(r,a+": "+t[++o]+";"))}e?n.styles=r:n.stylesWithoutHost=r,e?n.classes=i:n.classesWithoutHost=i}function rl(n,t,e,r,i=!1){for(;null!==e;){const s=t[e.index];if(null!==s&&r.push(He(s)),hn(s))for(let a=10;a<s.length;a++){const l=s[a],c=l[1].firstChild;null!==c&&rl(l[1],l,c,r)}const o=e.type;if(8&o)rl(n,t,e.child,r);else if(32&o){const a=Zu(e,t);let l;for(;l=a();)r.push(l)}else if(16&o){const a=Xm(t,e);if(Array.isArray(a))r.push(...a);else{const l=eo(t[16]);rl(l[1],l,a,r,!0)}}e=i?e.projectionNext:e.next}return r}class so{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,e=t[1];return rl(e,t,e.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(hn(t)){const e=t[8],r=e?e.indexOf(this):-1;r>-1&&(nd(t,r),Fa(e,r))}this._attachedToViewContainer=!1}Um(this._lView[1],this._lView)}onDestroy(t){tv(this._lView[1],this._lView,null,t)}markForCheck(){Kd(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){tl(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function iA(n,t){to(n,t,t[Q],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t}}class AT extends so{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;tl(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Zd extends Bi{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=me(t);return new oo(e,this.ngModule)}}
1function gv(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class TT{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,r){const i=this.injector.get(t,Dd,r);return i!==Dd||e===Dd?i:this.parentInjector.get(t,e,r)}}class oo extends wy{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function II(n){return n.map(AI).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return gv(this.componentDef.inputs)}get outputs(){return gv(this.componentDef.outputs)}create(t,e,r,i){let s=(i=i||this.ngModule)instanceof vr?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const o=s?new TT(t,s):t,a=o.get(io,null);if(null===a)throw new D(407,!1);const l=o.get(lI,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=r?function cT(n,t,e){return n.selectRootElement(t,e===un.ShadowDom)}(c,r,this.componentDef.encapsulation):td(c,u,function IT(n){const t=n.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(u)),h=this.componentDef.onPush?288:272,f=zd(0,null,null,1,0,null,null,null,null,null),p=Xa(null,f,null,h,null,null,a,c,l,o,null);let m,y;Iu(p);try{const _=function FT(n,t,e,r,i,s){const o=e[1];e[22]=n;const l=Ui(o,22,2,"#host",null),c=l.mergedAttrs=t.hostAttrs;null!==c&&(nl(l,c,!0),null!==n&&(Ma(i,n,c),null!==l.classes&&ld(i,n,l.classes),null!==l.styles&&ey(i,n,l.styles)));const u=r.createRenderer(n,t),d=Xa(e,ev(t),null,t.onPush?32:16,e[22],l,r,u,s||null,null,null);return o.firstCreatePass&&(Ra(Us(l,e),o,t.type),av(o,l),lv(l,e.length,1)),el(e,d),e[22]=d}(d,this.componentDef,p,a,c);if(d)if(r)Ma(c,d,["ng-version",cI.full]);else{const{attrs:C,classes:b}=function TI(n){const t=[],e=[];let r=1,i=2;for(;r<n.length;){let s=n[r];if("string"==typeof s)2===i?""!==s&&t.push(s,n[++r]):8===i&&e.push(s);else{if(!gn(i))break;i=s}r++}return{attrs:t,classes:e}}(this.componentDef.selectors[0]);C&&Ma(c,d,C),b&&b.length>0&&ld(c,d,b.join(" "))}if(y=Cu(f,22),void 0!==e){const C=y.projection=[];for(let b=0;b<this.ngContentSelectors.length;b++){const I=e[b];C.push(null!=I?Array.from(I):null)}}m=function kT(n,t,e,r){const i=e[1],s=function fT(n,t,e){const r=We();n.firstCreatePass&&(e.providersResolver&&e.providersResolver(e),cv(n,r,t,zi(n,t,1,null),e),rv(n,r));const i=zs(t,n,r.directiveStart,r);ut(i,t);const s=kt(r,t);return s&&ut(s,t),i}(i,e,t);if(n[8]=e[8]=s,null!==r)for(const a of r)a(s,t);if(t.contentQueries){const a=We();t.contentQueries(1,s,a.directiveStart)}const o=We();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(gr(o.index),sv(e[1],o,0,o.directiveStart,o.directiveEnd,t),ov(t,s)),s}(_,this.componentDef,p,[PT]),Hd(f,p,null)}finally{Tu()}return new OT(this.componentType,m,Vi(y,p),p,y)}}class OT extends class nI{}{constructor(t,e,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new AT(i),this.componentType=t}setInput(t,e){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){const s=this._rootLView;Qd(s[1],s,i,t,e),iv(s,this._tNode.index)}}get injector(){return new Si(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function PT(){const n=We();xa(w()[1],n)}function F(n){let t=function mv(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),e=!0;const r=[n];for(;t;){let i;if(fn(n))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new D(903,!1);i=t.\u0275dir}if(i){if(e){r.push(i);const o=n;o.inputs=Xd(n.inputs),o.declaredInputs=Xd(n.declaredInputs),o.outputs=Xd(n.outputs);const a=i.hostBindings;a&&VT(n,a);const l=i.viewQuery,c=i.contentQueries;if(l&&NT(n,l),c&&BT(n,c),au(n.inputs,i.inputs),au(n.declaredInputs,i.declaredInputs),au(n.outputs,i.outputs),fn(i)&&i.data.animation){const u=n.data;u.animation=(u.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let o=0;o<s.length;o++){const a=s[o];a&&a.ngInherit&&a(n),a===F&&(e=!1)}}t=Object.getPrototypeOf(t)}!function LT(n){let t=0,e=null;for(let r=n.length-1;r>=0;r--){const i=n[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Aa(i.hostAttrs,e=Aa(e,i.hostAttrs))}}(r)}function Xd(n){return n===yi?{}:n===pe?[]:n}function NT(n,t){const e=n.viewQuery;n.viewQuery=e?(r,i)=>{t(r,i),e(r,i)}:t}function BT(n,t){const e=n.contentQueries;n.contentQueries=e?(r,i,s)=>{t(r,i,s),e(r,i,s)}:t}function VT(n,t){const e=n.hostBindings;n.hostBindings=e?(r,i)=>{t(r,i),e(r,i)}:t}let il=null;function qr(){if(!il){const n=Ce.Symbol;if(n&&n.iterator)il=n.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const r=t[e];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(il=r)}}}return il}
1function ao(n){return!!Jd(n)&&(Array.isArray(n)||!(n instanceof Map)&&qr()in n)}function Jd(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function In(n,t,e){return n[t]=e}function dt(n,t,e){return!Object.is(n[t],e)&&(n[t]=e,!0)}function Gi(n,t,e,r){const i=w();return dt(i,Di(),t)&&(oe(),An(Re(),i,n,t,e,r)),Gi}function Qn(n,t,e,r,i,s,o,a){const l=w(),c=oe(),u=n+22,d=c.firstCreatePass?function qT(n,t,e,r,i,s,o,a,l){const c=t.consts,u=Ui(t,n,4,o||null,pr(c,a));Gd(t,e,u,pr(c,l)),xa(t,u);const d=u.tViews=zd(2,u,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,e,r,i,s,o):c.data[u];En(d,!1);const h=l[Q].createComment("");Va(c,l,h,d),ut(h,l),el(l,l[u]=uv(h,l,h,d)),wa(d)&&$d(c,l,d),null!=o&&Ud(l,d,a)}function ve(n,t,e){const r=w();return dt(r,Di(),t)&&function Vt(n,t,e,r,i,s,o,a){const l=kt(t,e);let u,c=t.inputs;!a&&null!=c&&(u=c[r])?(Qd(n,e,u,r,i),ba(t)&&iv(e,t.index)):3&t.type&&(r=function dT(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(r),i=null!=o?o(i,t.value||"",r):i,s.setProperty(l,r,i))}(oe(),Re(),r,n,t,r[Q],e,!1),ve}function eh(n,t,e,r,i){const o=i?"class":"style";Qd(n,e,t.inputs[o],o,r)}function H(n,t,e,r){const i=w(),s=oe(),o=22+n,a=i[Q],l=i[o]=td(a,t,function q0(){return U.lFrame.currentNamespace}()),c=s.firstCreatePass?function YT(n,t,e,r,i,s,o){const a=t.consts,c=Ui(t,n,2,i,pr(a,s));return Gd(t,e,c,pr(a,o)),null!==c.attrs&&nl(c,c.attrs,!1),null!==c.mergedAttrs&&nl(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(o,s,i,0,t,e,r):s.data[o];En(c,!0);const u=c.mergedAttrs;null!==u&&Ma(a,l,u);const d=c.classes;null!==d&&ld(a,l,d);const h=c.styles;return null!==h&&ey(a,l,h),64!=(64&c.flags)&&Va(s,i,l,c),0===function R0(){return U.lFrame.elementDepthCount}()&&ut(l,i),function O0(){U.lFrame.elementDepthCount++}(),wa(c)&&($d(s,i,c),Jy(s,c,i)),null!==r&&Ud(i,c),H}function P(){let n=We();xu()?Eu():(n=n.parent,En(n,!1));const t=n;!function F0(){U.lFrame.elementDepthCount--}();const e=oe();return e.firstCreatePass&&(xa(e,n),yu(n)&&e.queries.elementEnd(n)),null!=t.classesWithoutHost&&function X0(n){return 0!=(16&n.flags)}(t)&&eh(e,t,w(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function J0(n){return 0!=(32&n.flags)}(t)&&eh(e,t,w(),t.stylesWithoutHost,!1),P}function et(n,t,e,r){return H(n,t,e,r),P(),et}function ol(n,t,e){const r=w(),i=oe(),s=n+22,o=i.firstCreatePass?function QT(n,t,e,r,i){const s=t.consts,o=pr(s,r),a=Ui(t,n,8,"ng-container",o);return null!==o&&nl(a,o,!0),Gd(t,e,a,pr(s,i)),null!==t.queries&&t.queries.elementStart(t,a),a}(s,i,r,t,e):i.data[s];En(o,!0);const a=r[s]=r[Q].createComment("");return Va(i,r,a,o),ut(a,r),wa(o)&&($d(i,r,o),Jy(i,o,r)),null!=e&&Ud(r,o),ol}function al(){let n=We();const t=oe();return xu()?Eu():(n=n.parent,En(n,!1)),t.firstCreatePass&&(xa(t,n),yu(n)&&t.queries.elementEnd(n)),al}function ll(n){return!!n&&"function"==typeof n.then}function Iv(n){return!!n&&"function"==typeof n.subscribe}const Tv=Iv;function Yr(n,t,e,r){const i=w(),s=oe(),o=We();return function Ov(n,t,e,r,i,s,o,a){const l=wa(r),u=n.firstCreatePass&&hv(n),d=t[8],h=dv(t);let f=!0;if(3&r.type||a){const y=kt(r,t),_=a?a(y):y,C=h.length,b=a?te=>a(He(te[r.index])):r.index;let I=null;if(!a&&l&&(I=function ZT(n,t,e,r){const i=n.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const o=i[s];if(o===e&&i[s+1]===r){const a=t[7],l=i[s+2];return a.length>l?a[l]:null}"string"==typeof o&&(s+=2)}return null}(n,t,i,r.index)),null!==I)(I.__ngLastListenerFn__||I).__ngNextListenerFn__=s,I.__ngLastListenerFn__=s,f=!1;else{s=kv(r,t,d,s,!1);const te=e.listen(_,i,s);h.push(s,te),u&&u.push(i,b,C,C+1)}}else s=kv(r,t,d,s,!1);const p=r.outputs;let m;if(f&&null!==p&&(m=p[i])){const y=m.length;if(y)for(let _=0;_<y;_+=2){const se=t[m[_]][m[_+1]].subscribe(s),ke=h.length;h.push(s,se),u&&u.push(i,r.index,ke,-(ke+1))}}}(s,i,i[Q],o,n,t,0,r),Yr}function Fv(n,t,e,r){try{return!1!==e(r)}catch(i){return pv(n,i),!1}}function kv(n,t,e,r,i){return function s(o){if(o===Function)return r;Kd(2&n.flags?Pt(n.index,t):t);let l=Fv(t,0,r,o),c=s.__ngNextListenerFn__;for(;c;)l=Fv(t,0,c,o)&&l,c=c.__ngNextListenerFn__;return i&&!1===l&&(o.preventDefault(),o.returnValue=!1),l}}function cl(n=1){return function H0(n){return(U.lFrame.contextLView=function $0(n,t){for(;n>0;)t=t[15],n--;return t}(n,U.lFrame.contextLView))[8]}(n)}function XT(n,t){let e=null;const r=function xI(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(n);for(let i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?My(n,s,!0):MI(r,s))return i}else e=i}return e}function Qr(n){const t=w()[16][6];if(!t.projection){const r=t.projection=qs(n?n.length:1,null),i=r.slice();let s=t.child;for(;null!==s;){const o=n?XT(s,n):0;null!==o&&(i[o]?i[o].projectionNext=s:r[o]=s,i[o]=s),s=s.next}}}
1function yn(n,t=0,e){const r=w(),i=oe(),s=Ui(i,22+n,16,null,e||null);null===s.projection&&(s.projection=t),Eu(),64!=(64&s.flags)&&function hA(n,t,e){Jm(t[Q],0,t,e,zm(n,e,t),Km(e.parent||t[6],e,t))}(i,r,s)}function zv(n,t,e,r,i){const s=n[e+1],o=null===t;let a=r?mn(s):Kn(s),l=!1;for(;0!==a&&(!1===l||o);){const u=n[a+1];tR(n[a],t)&&(l=!0,n[a+1]=r?Od(u):Td(u)),a=r?mn(u):Kn(u)}l&&(n[e+1]=r?Td(s):Od(s))}function tR(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&Oi(n,t)>=0}function ul(n,t,e){return vn(n,t,e,!1),ul}function Zt(n,t){return vn(n,t,null,!0),Zt}function vn(n,t,e,r){const i=w(),s=oe(),o=function Un(n){const t=U.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}(2);s.firstUpdatePass&&function Xv(n,t,e,r){const i=n.data;if(null===i[e+1]){const s=i[yt()],o=function Zv(n,t){return t>=n.expandoStartIndex}(n,e);(function n_(n,t){return 0!=(n.flags&(t?16:32))})(s,r)&&null===t&&!o&&(t=!1),t=function uR(n,t,e,r){const i=function Mu(n){const t=U.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}(n);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(e=co(e=nh(null,n,t,e,r),t.attrs,r),s=null);else{const o=t.directiveStylingLast;if(-1===o||n[o]!==i)if(e=nh(i,n,t,e,r),null===s){let l=function dR(n,t,e){const r=e?t.classBindings:t.styleBindings;if(0!==Kn(r))return n[mn(r)]}(n,t,r);void 0!==l&&Array.isArray(l)&&(l=nh(null,n,t,l[1],r),l=co(l,t.attrs,r),function hR(n,t,e,r){n[mn(e?t.classBindings:t.styleBindings)]=r}(n,t,r,l))}else s=function fR(n,t,e){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=co(r,n[s].hostAttrs,e);return co(r,t.attrs,e)}(n,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),e}(i,s,t,r),function JT(n,t,e,r,i,s){let o=s?t.classBindings:t.styleBindings,a=mn(o),l=Kn(o);n[r]=e;let u,c=!1;if(Array.isArray(e)){const d=e;u=d[1],(null===u||Oi(d,u)>0)&&(c=!0)}else u=e;if(i)if(0!==l){const h=mn(n[a+1]);n[r+1]=Ya(h,a),0!==h&&(n[h+1]=Rd(n[h+1],r)),n[a+1]=function YI(n,t){return 131071&n|t<<17}(n[a+1],r)}else n[r+1]=Ya(a,0),0!==a&&(n[a+1]=Rd(n[a+1],r)),a=r;else n[r+1]=Ya(l,0),0===a?a=r:n[l+1]=Rd(n[l+1],r),l=r;c&&(n[r+1]=Td(n[r+1])),zv(n,u,r,!0),zv(n,u,r,!1),function eR(n,t,e,r,i){const s=i?n.residualClasses:n.residualStyles;null!=s&&"string"==typeof t&&Oi(s,t)>=0&&(e[r+1]=Od(e[r+1]))}(t,u,n,r,s),o=Ya(a,l),s?t.classBindings=o:t.styleBindings=o}(i,s,t,e,o,r)}}(s,n,o,r),t!==q&&dt(i,o,t)&&function e_(n,t,e,r,i,s,o,a){if(!(3&t.type))return;const l=n.data,c=l[a+1];dl(function Uy(n){return 1==(1&n)}(c)?t_(l,t,e,i,Kn(c),o):void 0)||(dl(s)||function $y(n){return 2==(2&n)}(c)&&(s=t_(l,null,e,i,a,o)),function pA(n,t,e,r,i){if(t)i?n.addClass(e,r):n.removeClass(e,r);else{let s=-1===r.indexOf("-")?void 0:Et.DashCase;null==i?n.removeStyle(e,r,s):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=Et.Important),n.setStyle(e,r,i,s))}}(r,o,Ca(yt(),e),i,s))}(s,s.data[yt()],i,i[Q],n,i[o+1]=function mR(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=we(Bt(n)))),n}(t,e),r,o)}function nh(n,t,e,r,i){let s=null;const o=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a<o&&(s=t[a],r=co(r,s.hostAttrs,i),s!==n);)a++;return null!==n&&(e.directiveStylingLast=a),r}function co(n,t,e){const r=e?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const o=t[s];"number"==typeof o?i=o:i===r&&(Array.isArray(n)||(n=void 0===n?[]:["",n]),Nt(n,o,!!e||t[++s]))}return void 0===n?null:n}function t_(n,t,e,r,i,s){const o=null===t;let a;for(;i>0;){const l=n[i],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=e[i+1];h===q&&(h=d?pe:void 0);let f=d?Vu(h,r):u===r?h:void 0;if(c&&!dl(f)&&(f=Vu(l,r)),dl(f)&&(a=f,o))return a;const p=n[i+1];i=o?mn(p):Kn(p)}if(null!==t){let l=s?t.residualClasses:t.residualStyles;null!=l&&(a=Vu(l,r))}return a}function dl(n){return void 0!==n}function ae(n,t=""){const e=w(),r=oe(),i=n+22,s=r.firstCreatePass?Ui(r,i,1,t,null):r.data[i],o=e[i]=function ed(n,t){return n.createText(t)}(e[Q],t);Va(r,e,o,s),En(s,!1)}function tt(n){return ns("",n,""),tt}function ns(n,t,e){const r=w(),i=function qi(n,t,e,r){return dt(n,Di(),e)?t+W(e)+r:q}(r,n,t,e);return i!==q&&function Yn(n,t,e){const r=Ca(t,n);!function Hm(n,t,e){n.setValue(t,e)}(n[Q],r,e)}(r,yt(),i),ns}const is="en-US";let x_=is;class Xr{}class Q_{}class Z_ extends Xr{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Zd(this);const r=Ot(t);this._bootstrapComponents=qn(r.bootstrap),this._r3Injector=ky(t,e,[{provide:Xr,useValue:this},{provide:Bi,useValue:this.componentFactoryResolver}],we(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializer
1s(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ch extends Q_{constructor(t){super(),this.moduleType=t}create(t){return new Z_(this.moduleType,t)}}class NO extends Xr{constructor(t,e,r){super(),this.componentFactoryResolver=new Zd(this),this.instance=null;const i=new _y([...t,{provide:Xr,useValue:this},{provide:Bi,useValue:this.componentFactoryResolver}],e||Wa(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ml(n,t,e=null){return new NO(n,t,e).injector}let BO=(()=>{class n{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const r=gy(0,e.type),i=r.length>0?ml([r],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,i)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=x({token:n,providedIn:"environment",factory:()=>new n(v(vr))}),n})();function X_(n){n.getStandaloneInjector=t=>t.get(BO).getOrCreateStandaloneInjector(n)}function yl(n,t,e){const r=mt()+n,i=w();return i[r]===q?In(i,r,e?t.call(e):t()):function lo(n,t){return n[t]}(i,r)}function mo(n,t,e,r){return sb(w(),mt(),n,t,e,r)}function sb(n,t,e,r,i,s){const o=t+e;return dt(n,o,i)?In(n,o+1,s?r.call(s,i):r(i)):function yo(n,t){const e=n[t];return e===q?void 0:e}(n,o+1)}function dh(n,t){const e=oe();let r;const i=n+22;e.firstCreatePass?(r=function tF(n,t){if(t)for(let e=t.length-1;e>=0;e--){const r=t[e];if(n===r.name)return r}}(t,e.pipeRegistry),e.data[i]=r,r.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(i,r.onDestroy)):r=e.data[i];const s=r.factory||(r.factory=Hr(r.type)),o=qt(g);try{const a=Ia(!1),l=s();return Ia(a),function KT(n,t,e,r){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=r}(e,w(),i,l),l}finally{qt(o)}}function hh(n,t,e){const r=n+22,i=w(),s=Ci(i,r);return function vo(n,t){return n[1].data[t].pure}(i,r)?sb(i,mt(),t,s.transform,e,s):s.transform(e)}function fh(n){return t=>{setTimeout(n,void 0,t)}}const nt=class oF extends _e{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,r){let i=t,s=e||(()=>null),o=r;if(t&&"object"==typeof t){const l=t;i=l.next?.bind(l),s=l.error?.bind(l),o=l.complete?.bind(l)}this.__isAsync&&(s=fh(s),i&&(i=fh(i)),o&&(o=fh(o)));const a=super.subscribe({next:i,error:s,complete:o});return t instanceof Ze&&t.add(a),a}};function aF(){return this._results[qr()]()}class ph{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=qr(),r=ph.prototype;r[e]||(r[e]=aF)}get changes(){return this._changes||(this._changes=new nt)}get(t){return this._results[t]}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,e){const r=this;r.dirty=!1;const i=Lt(t);(this._changesDetected=!function cM(n,t,e){if(n.length!==t.length)return!1;for(let r=0;r<n.length;r++){let i=n[r],s=t[r];if(e&&(i=e(i),s=e(s)),s!==i)return!1}return!0}(r._results,i,e))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Zn=(()=>{class n{}return n.__NG_ELEMENT_ID__=uF,n})();const lF=Zn,cF=class extends lF{constructor(t,e,r){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=r}createEmbeddedView(t,e){const r=this._declarationTContainer.tViews,i=Xa(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,e||null);i[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[19];return null!==o&&(i[19]=o.createEmbeddedView(r)),Hd(r,i,t),new so(i)}};function uF(){return vl(We(),w())}function vl(n,t){return 4&n.type?new cF(t,n,Vi(n,t)):null}let Xt=(()=>{class n{}return n.__NG_ELEMENT_ID__=dF,n})();function dF(){return hb(We(),w())}const hF=Xt,ub=class extends hF{constructor(t,e,r){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=r}
1get element(){return Vi(this._hostTNode,this._hostLView)}get injector(){return new Si(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ta(this._hostTNode,this._hostLView);if(im(t)){const e=Ei(t,this._hostLView),r=xi(t);return new Si(e[1].data[r+8],e)}return new Si(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=db(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const o=t.createEmbeddedView(e||{},s);return this.insert(o,i),o}createComponent(t,e,r,i,s){const o=t&&!function Ws(n){return"function"==typeof n}(t);let a;if(o)a=e;else{const d=e||{};a=d.index,r=d.injector,i=d.projectableNodes,s=d.environmentInjector||d.ngModuleRef}const l=o?t:new oo(me(t)),c=r||this.parentInjector;if(!s&&null==l.ngModule){const h=(o?c:this.parentInjector).get(vr,null);h&&(s=h)}const u=l.create(c,i,void 0,s);return this.insert(u.hostView,a),u}insert(t,e){const r=t._lView,i=r[1];if(function T0(n){return hn(n[3])}(r)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const d=r[3],h=new ub(d,d[6],d[3]);h.detach(h.indexOf(t))}}const s=this._adjustIndex(e),o=this._lContainer;!function oA(n,t,e,r){const i=10+r,s=e.length;r>0&&(e[i-1][4]=t),r<s-10?(t[4]=e[i],gm(e,10+r,t)):(e.push(t),t[4]=null),t[3]=e;const o=t[17];null!==o&&e!==o&&function aA(n,t){const e=n[9];t[16]!==t[3][3][16]&&(n[2]=!0),null===e?n[9]=[t]:e.push(t)}(o,t);const a=t[19];null!==a&&a.insertView(n),t[2]|=64}(i,r,o,s);const a=sd(s,o),l=r[Q],c=Ba(l,o[7]);return null!==c&&function rA(n,t,e,r,i,s){r[0]=i,r[6]=t,to(n,r,e,1,i,s)}(i,o[6],l,r,c,a),t.attachToViewContainerRef(),gm(gh(o),s,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=db(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),r=nd(this._lContainer,e);r&&(Fa(gh(this._lContainer),e),Um(r[1],r))}detach(t){const e=this._adjustIndex(t,-1),r=nd(this._lContainer,e);return r&&null!=Fa(gh(this._lContainer),e)?new so(r):null}_adjustIndex(t,e=0){return t??this.length+e}};function db(n){return n[8]}function gh(n){return n[8]||(n[8]=[])}function hb(n,t){let e;const r=t[n.index];if(hn(r))e=r;else{let i;if(8&n.type)i=He(r);else{const s=t[Q];i=s.createComment("");const o=kt(n,t);$r(s,Ba(s,o),i,function dA(n,t){return n.nextSibling(t)}(s,o),!1)}t[n.index]=e=uv(r,t,i,n),el(t,e)}return new ub(e,n,t)}class mh{constructor(t){this.queryList=t,this.matches=null}clone(){return new mh(this.queryList)}setDirty(){this.queryList.setDirty()}}class yh{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const r=null!==t.contentQueries?t.contentQueries[0]:e.length,i=[];for(let s=0;s<r;s++){const o=e.getByIndex(s);i.push(this.queries[o.indexInDeclarationView].clone())}return new yh(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==yb(t,e).matches&&this.queries[e].setDirty()}}class fb{constructor(t,e,r=null){this.predicate=t,this.flags=e,this.read=r}}class vh{constructor(t=[]){this.queries=t}elementStart(t,e){for(let r=0;r<this.queries.length;r++)this.queries[r].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 r=0;r<this.length;r++){const i=null!==e?e.length:0,s=this.getByIndex(r).embeddedTView(t,i);s&&(s.indexInDeclarationView=r,null!==e?e.push(s):e=[s])}return null!==e?new vh(e):null}template(t,e){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class _h{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 _h(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==e;)r=r.parent;return e===(null!==r?r.index:-1)}return this._appliesToNextNode}
1matchTNode(t,e){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(t,e,gF(e,s)),this.matchTNodeWithReadOption(t,e,Oa(e,t,s,!1,!1))}else r===Zn?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Oa(e,t,r,!1,!1))}matchTNodeWithReadOption(t,e,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===J||i===Xt||i===Zn&&4&e.type)this.addMatch(e.index,-2);else{const s=Oa(e,t,i,!1,!1);null!==s&&this.addMatch(e.index,s)}else this.addMatch(e.index,r)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function gF(n,t){const e=n.localNames;if(null!==e)for(let r=0;r<e.length;r+=2)if(e[r]===t)return e[r+1];return null}function yF(n,t,e,r){return-1===e?function mF(n,t){return 11&n.type?Vi(n,t):4&n.type?vl(n,t):null}(t,n):-2===e?function vF(n,t,e){return e===J?Vi(t,n):e===Zn?vl(t,n):e===Xt?hb(t,n):void 0}(n,t,r):zs(n,n[1],e,t)}function pb(n,t,e,r){const i=t[19].queries[r];if(null===i.matches){const s=n.data,o=e.matches,a=[];for(let l=0;l<o.length;l+=2){const c=o[l];a.push(c<0?null:yF(t,s[c],o[l+1],e.metadata.read))}i.matches=a}return i.matches}function bh(n,t,e,r){const i=n.queries.getByIndex(e),s=i.matches;if(null!==s){const o=pb(n,t,i,e);for(let a=0;a<s.length;a+=2){const l=s[a];if(l>0)r.push(o[a/2]);else{const c=s[a+1],u=t[-l];for(let d=10;d<u.length;d++){const h=u[d];h[17]===h[3]&&bh(h[1],h,c,r)}if(null!==u[9]){const d=u[9];for(let h=0;h<d.length;h++){const f=d[h];bh(f[1],f,c,r)}}}}}return r}function ss(n){const t=w(),e=oe(),r=Kg();Au(r+1);const i=yb(e,r);if(n.dirty&&function I0(n){return 4==(4&n[2])}(t)===(2==(2&i.metadata.flags))){if(null===i.matches)n.reset([]);else{const s=i.crossesNgTemplate?bh(e,t,r,[]):pb(e,t,i,r);n.reset(s,oI),n.notifyOnChanges()}return!0}return!1}function wh(n,t,e){const r=oe();r.firstCreatePass&&(mb(r,new fb(n,t,e),-1),2==(2&t)&&(r.staticViewQueries=!0)),gb(r,w(),t)}function os(){return function _F(n,t){return n[19].queries[t].queryList}(w(),Kg())}function gb(n,t,e){const r=new ph(4==(4&e));tv(n,t,r,r.destroy),null===t[19]&&(t[19]=new yh),t[19].queries.push(new mh(r))}function mb(n,t,e){null===n.queries&&(n.queries=new vh),n.queries.track(new _h(t,e))}function yb(n,t){return n.queries.getByIndex(t)}function wl(...n){}const Cl=new E("Application Initializer");let Dl=(()=>{class n{constructor(e){this.appInits=e,this.resolve=wl,this.reject=wl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const e=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const s=this.appInits[i]();if(ll(s))e.push(s);else if(Tv(s)){const o=new Promise((a,l)=>{s.subscribe({complete:a,error:l})});e.push(o)}}Promise.all(e).then(()=>{r()}).catch(i=>{this.reject(i)}),0===e.length&&r(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(v(Cl,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const cs=new E("AppId",{providedIn:"root",factory:function Lb(){return`${Sh()}${Sh()}${Sh()}`}});function Sh(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Nb=new E("Platform Initializer"),Jt=new E("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Mh=new E("appBootstrapListener"),Xn=new E("AnimationModuleType");let HF=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const On=new E("LocaleId",{providedIn:"root",factory:()=>ye(On,N.Optional|N.SkipSelf)||function $F(){return typeof $localize<"u"&&$localize.locale||is}()});class zF{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let Ah=(()=>{class n{compileModuleSync(e){return new ch(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const r=this.compileModuleSync(e),s=qn(Ot(e).declarations).reduce((o,a)=>{const l=me(a);return l&&o.push(new oo(l)),o},[]);return new zF(r,s)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const qF=(()=>Promise.resolve(0))();function Ih(n){typeof Zone>"u"?qF.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class ie{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new nt(!1),this.onMicrotaskEmpty=new nt(!1),this.onStable=new nt(!1),this.onError=ne
1w nt(!1),typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();const i=this;if(i._nesting=0,i._outer=i._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const s=Zone.AsyncStackTaggingZoneSpec;i._inner=i._inner.fork(new s("Angular"))}Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&e,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function KF(){let n=Ce.requestAnimationFrame,t=Ce.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function ZF(n){const t=()=>{!function QF(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(Ce,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Rh(n),n.isCheckStableRunning=!0,Th(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Rh(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,r,i,s,o,a)=>{try{return jb(n),e.invokeTask(i,s,o,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||n.shouldCoalesceRunChangeDetection)&&t(),Hb(n)}},onInvoke:(e,r,i,s,o,a,l)=>{try{return jb(n),e.invoke(i,s,o,a,l)}finally{n.shouldCoalesceRunChangeDetection&&t(),Hb(n)}},onHasTask:(e,r,i,s)=>{e.hasTask(i,s),r===i&&("microTask"==s.change?(n._hasPendingMicrotasks=s.microTask,Rh(n),Th(n)):"macroTask"==s.change&&(n.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,r,i,s)=>(e.handleError(i,s),n.runOutsideAngular(()=>n.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ie.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(ie.isInAngularZone())throw new D(909,!1)}run(t,e,r){return this._inner.run(t,e,r)}runTask(t,e,r,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,t,YF,wl,wl);try{return s.runTask(o,e,r)}finally{s.cancelTask(o)}}runGuarded(t,e,r){return this._inner.runGuarded(t,e,r)}runOutsideAngular(t){return this._outer.run(t)}}const YF={};function Th(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function Rh(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function jb(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Hb(n){n._nesting--,Th(n)}class XF{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new nt,this.onMicrotaskEmpty=new nt,this.onStable=new nt,this.onError=new nt}run(t,e,r){return t.apply(e,r)}runGuarded(t,e,r){return t.apply(e,r)}runOutsideAngular(t){return t()}runTask(t,e,r,i){return t.apply(e,r)}}const $b=new E(""),xl=new E("");let kh,Oh=(()=>{class n{constructor(e,r,i){this._ngZone=e,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,kh||(function JF(n){kh=n}(i),i.addToWindow(r)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{ie.assertNotInAngularZone(),Ih(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}
1decreasePendingRequestCount(){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())Ih(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(e)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),e(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:e,timeoutId:s,updateCb:i})}whenStable(e,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,r,i){return[]}}return n.\u0275fac=function(e){return new(e||n)(v(ie),v(Fh),v(xl))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),Fh=(()=>{class n{constructor(){this._applications=new Map}registerApplication(e,r){this._applications.set(e,r)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,r=!0){return kh?.findTestabilityInTree(this,e,r)??null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),wr=null;const Ub=new E("AllowMultipleToken"),Ph=new E("PlatformDestroyListeners");class zb{constructor(t,e){this.name=t,this.token=e}}function Wb(n,t,e=[]){const r=`Platform: ${t}`,i=new E(r);return(s=[])=>{let o=Lh();if(!o||o.injector.get(Ub,!1)){const a=[...e,...s,{provide:i,useValue:!0}];n?n(a):function nk(n){if(wr&&!wr.get(Ub,!1))throw new D(400,!1);wr=n;const t=n.get(Kb);(function Gb(n){const t=n.get(Nb,null);t&&t.forEach(e=>e())})(n)}(function qb(n=[],t){return St.create({name:t,providers:[{provide:_d,useValue:"platform"},{provide:Ph,useValue:new Set([()=>wr=null])},...n]})}(a,r))}return function ik(n){const t=Lh();if(!t)throw new D(401,!1);return t}()}}function Lh(){return wr?.get(Kb)??null}let Kb=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,r){const i=function Qb(n,t){let e;return e="noop"===n?new XF:("zone.js"===n?void 0:n)||new ie(t),e}(r?.ngZone,function Yb(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(r)),s=[{provide:ie,useValue:i}];return i.run(()=>{const o=St.create({providers:s,parent:this.injector,name:e.moduleType.name}),a=e.create(o),l=a.injector.get(Wn,null);if(!l)throw new D(402,!1);return i.runOutsideAngular(()=>{const c=i.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{El(this._modules,a),c.unsubscribe()})}),function Zb(n,t,e){try{const r=e();return ll(r)?r.catch(i=>{throw t.runOutsideAngular(()=>n.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>n.handleError(r)),r}}(l,i,()=>{const c=a.injector.get(Dl);return c.runInitializers(),c.donePromise.then(()=>(function E_(n){Rt(n,"Expected localeId to be defined"),"string"==typeof n&&(x_=n.toLowerCase().replace(/_/g,"-"))}(a.injector.get(On,is)||is),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,r=[]){const i=Xb({},r);return function ek(n,t,e){const r=new ch(e);return Promise.resolve(r)}(0,0,e).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(e){const r=e.injector.get(us);if(e._bootstrapComponents.length>
10)e._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!e.instance.ngDoBootstrap)throw new D(403,!1);e.instance.ngDoBootstrap(r)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const e=this._injector.get(Ph,null);e&&(e.forEach(r=>r()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(v(St))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function Xb(n,t){return Array.isArray(t)?t.reduce(Xb,n):{...n,...t}}let us=(()=>{class n{constructor(e,r,i){this._zone=e,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new Ee(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),o=new Ee(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{ie.assertNotInAngularZone(),Ih(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{ie.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=da(s,o.pipe(Eg()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,r){const i=e instanceof wy;if(!this._injector.get(Dl).done)throw!i&&function vi(n){const t=me(n)||pt(n)||gt(n);return null!==t&&t.standalone}(e),new D(405,false);let o;o=i?e:this._injector.get(Bi).resolveComponentFactory(e),this.componentTypes.push(o.componentType);const a=function tk(n){return n.isBoundToModule}(o)?void 0:this._injector.get(Xr),c=o.create(St.NULL,[],r||o.selector,a),u=c.location.nativeElement,d=c.injector.get($b,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),El(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new D(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const r=e;this._views.push(r),r.attachToAppRef(this)}detachView(e){const r=e;El(this._views,r),r.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Mh,[]).concat(this._bootstrapListeners).forEach(i=>i(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>El(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new D(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)(v(ie),v(vr),v(Wn))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function El(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let ew=!0,bo=(()=>{class n{}return n.__NG_ELEMENT_ID__=ak,n})();function ak(n){return function lk(n,t,e){if(ba(n)&&!e){const r=Pt(n.index,t);return new so(r,r)}return 47&n.type?new so(t[16],t):null}(We(),w(),16==(16&n))}class sw{constructor(){}supports(t){return ao(t)}create(t){return new pk(t)}}const fk=(n,t)=>t;class pk{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||fk}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,r=this._removalsHead,i=0,s=null;for(;e||r;){const o=!r||e&&e.currentIndex<aw(r,i,s)?e:r,a=aw(o,i,s),l=o.currentIndex;if(o===r)i--,r=r._nextRemoved;else if(e=e._next,null==o.previousIndex)i++;else{s||(s=[]);const c=a-i,u=l-i;if(c!=u){for(let h=0;h<c;h++){const f=h<s.length?s[h]:s[h]=0,p=f+h;u<=p&&p<c&&(s[h]=f+1)}s[o.previousIndex]=u-c}}a!==l&&t(o,a,l)}}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;
vendor: 5,043 bytes, line 1
1e=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=[]),!ao(t))throw new D(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,o,e=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)s=t[a],o=this._trackByFn(a,s),null!==e&&Object.is(e.trackById,o)?(r&&(e=this._verifyReinsertion(e,s,o,a)),Object.is(e.item,s)||this._addIdentityChange(e,s)):(e=this._mismatch(e,s,o,a),r=!0),e=e._next}else i=0,function zT(n,t){if(Array.isArray(n))for(let e=0;e<n.length;e++)t(n[e]);else{const e=n[qr()]();let r;for(;!(r=e.next()).done;)t(r.value)}}(t,a=>{o=this._trackByFn(i,a),null!==e&&Object.is(e.trackById,o)?(r&&(e=this._verifyReinsertion(e,a,o,i)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,o,i),r=!0),e=e._next,i++}),this.length=i;return this._truncate(e),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;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=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,i)):t=this._addAfter(new gk(e,r),s,i),t}_verifyReinsertion(t,e,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,e,r),this._addToMoves(t,r),t}_moveAfter(t,e,r){return this._unlink(t),this._insertAfter(t,e,r),this._addToMoves(t,r),t}_addAfter(t,e,r){return this._insertAfter(t,e,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,r){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new ow),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,r=t._next;return null===e?this._itHead=r:e._next=r,null===r?this._itTail=e:r._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 ow),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 gk{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 mk{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 r;for(r=this._head;null!==r;
vendor: 5,338 bytes, line 1
1r=r._nextDup)if((null===e||e<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const e=t._prevDup,r=t._nextDup;return null===e?this._head=r:e._nextDup=r,null===r?this._tail=e:r._prevDup=e,null===this._head}}class ow{constructor(){this.map=new Map}put(t){const e=t.trackById;let r=this.map.get(e);r||(r=new mk,this.map.set(e,r)),r.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 aw(n,t,e){const r=n.previousIndex;if(null===r)return r;let i=0;return e&&r<e.length&&(i=e[r]),r+t+i}class lw{constructor(){}supports(t){return t instanceof Map||Jd(t)}create(){return new yk}}class yk{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;e=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||Jd(t)))throw new D(900,!1)}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,(r,i)=>{if(e&&e.key===i)this._maybeAddToChanges(e,r),this._appendAfter=e,e=e._next;else{const s=this._getOrCreateRecordForKey(i,r);e=this._insertBeforeOrAppend(e,s)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let r=e;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const r=t._prev;return e._next=t,e._prev=r,t._prev=e,r&&(r._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 s=i._prev,o=i._next;return s&&(s._next=o),o&&(o._prev=s),i._next=null,i._prev=null,i}const r=new vk(t);return this._records.set(t,r),r.currentValue=e,this._addToAdditions(r),r}_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){Object.is(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(r=>e(t[r],r))}}class vk{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}}function cw(){return new wo([new sw])}let wo=(()=>{class n{constructor(e){this.factories=e}static create(e,r){if(null!=r){const i=r.factories.slice();e=e.concat(i)}return new n(e)}static extend(e){return{provide:n,useFactory:r=>n.create(e,r||cw()),deps:[[n,new ki,new yr]]}}find(e){const r=this.factories.find(i=>i.supports(e));if(null!=r)return r;throw new D(901,!1)}}return n.\u0275prov=x({token:n,providedIn:"root",factory:cw}),n})();function uw(){return new ei([new lw])}let ei=(()=>{class n{constructor(e){this.factories=e}static create(e,r){if(r){const i=r.factories.slice();e=e.concat(i)}return new n(e)}static extend(e){return{provide:n,useFactory:r=>n.create(e,r||uw()),deps:[[n,new ki,new yr]]}}find(e){const r=this.factories.find(i=>i.supports(e));if(r)return r;throw new D(901,!1)}}return n.\u0275prov=x({token:n,providedIn:"root",factory:uw}),n})();const wk=Wb(null,"core",[]);let Ck=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(v(us))},n.\u0275mod=de({type:n}),n.\u0275inj=ce({}),n})();function ds(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}let Al=null;function Cr(){return Al}const K=new E("DocumentToken");let Hh=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:function(){return function Sk(){return v(
1dw)}()},providedIn:"platform"}),n})();const Mk=new E("Location Initialized");let dw=(()=>{class n extends Hh{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Cr().getBaseHref(this._doc)}onPopState(e){const r=Cr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){const r=Cr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",e,!1),()=>r.removeEventListener("hashchange",e)}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(e){this.location.pathname=e}pushState(e,r,i){hw()?this._history.pushState(e,r,i):this.location.hash=i}replaceState(e,r,i){hw()?this._history.replaceState(e,r,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(v(K))},n.\u0275prov=x({token:n,factory:function(){return function Ak(){return new dw(v(K))}()},providedIn:"platform"}),n})();function hw(){return!!window.history.pushState}function $h(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function fw(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function er(n){return n&&"?"!==n[0]?"?"+n:n}let ti=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:function(){return ye(gw)},providedIn:"root"}),n})();const pw=new E("appBaseHref");let gw=(()=>{class n extends ti{constructor(e,r){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??ye(K).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return $h(this._baseHref,e)}path(e=!1){const r=this._platformLocation.pathname+er(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${r}${i}`:r}pushState(e,r,i,s){const o=this.prepareExternalUrl(i+er(s));this._platformLocation.pushState(e,r,o)}replaceState(e,r,i,s){const o=this.prepareExternalUrl(i+er(s));this._platformLocation.replaceState(e,r,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(v(Hh),v(pw,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ik=(()=>{class n extends ti{constructor(e,r){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(e){const r=$h(this._baseHref,e);return r.length>0?"#"+r:r}pushState(e,r,i,s){let o=this.prepareExternalUrl(i+er(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,r,o)}replaceState(e,r,i,s){let o=this.prepareExternalUrl(i+er(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,r,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(v(Hh),v(pw,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),Il=(()=>
1{class n{constructor(e){this._subject=new nt,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const r=this._locationStrategy.getBaseHref();this._baseHref=fw(mw(r)),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,r=""){return this.path()==this.normalize(e+er(r))}normalize(e){return n.stripTrailingSlash(function Rk(n,t){return n&&t.startsWith(n)?t.substring(n.length):t}(this._baseHref,mw(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,r="",i=null){this._locationStrategy.pushState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+er(r)),i)}replaceState(e,r="",i=null){this._locationStrategy.replaceState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+er(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",r){this._urlChangeListeners.forEach(i=>i(e,r))}subscribe(e,r,i){return this._subject.subscribe({next:e,error:r,complete:i})}}return n.normalizeQueryParams=er,n.joinWithSlash=$h,n.stripTrailingSlash=fw,n.\u0275fac=function(e){return new(e||n)(v(ti))},n.\u0275prov=x({token:n,factory:function(){return function Tk(){return new Il(v(ti))}()},providedIn:"root"}),n})();function mw(n){return n.replace(/\/index.html$/,"")}let xo=(()=>{class n{constructor(e,r,i,s){this._iterableDiffers=e,this._keyValueDiffers=r,this._ngEl=i,this._renderer=s,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(ao(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(r=>this._toggleClass(r.key,r.currentValue)),e.forEachChangedItem(r=>this._toggleClass(r.key,r.currentValue)),e.forEachRemovedItem(r=>{r.previousValue&&this._toggleClass(r.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(r=>{if("string"!=typeof r.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${we(r.item)}`);this._toggleClass(r.item,!0)}),e.forEachRemovedItem(r=>this._toggleClass(r.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(r=>this._toggleClass(r,!0)):Object.keys(e).forEach(r=>this._toggleClass(r,!!e[r])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(r=>this._toggleClass(r,!1)):Object.keys(e).forEach(r=>this._toggleClass(r,!1)))}_toggleClass(e,r){(e=e.trim())&&e.split(/\s+/g).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}}return n.\u0275fac=function(e){return new(e||n)(g(wo),g(ei),g(J),g(ji))},n.\u0275dir=S({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})();class mP{constructor(t,e,r,i){this.$implicit=t,this.ngForOf=e,this.index=r,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Vl=(()=>{class n{constructor(e,r,i){this._viewContainer=e,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const r=this._viewContainer;e.forEachOperation((i,s,o)=>
1{if(null==i.previousIndex)r.createEmbeddedView(this._template,new mP(i.item,this._ngForOf,-1,-1),null===o?void 0:o);else if(null==o)r.remove(null===s?void 0:s);else if(null!==s){const a=r.get(s);r.move(a,o),Mw(a,i)}});for(let i=0,s=r.length;i<s;i++){const a=r.get(i).context;a.index=i,a.count=s,a.ngForOf=this._ngForOf}e.forEachIdentityChange(i=>{Mw(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(e,r){return!0}}return n.\u0275fac=function(e){return new(e||n)(g(Xt),g(Zn),g(wo))},n.\u0275dir=S({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function Mw(n,t){n.context.$implicit=t.item}let Eo=(()=>{class n{constructor(e,r){this._viewContainer=e,this._context=new vP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Aw("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Aw("ngIfElse",e),this._elseTemplateRef=e,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(e,r){return!0}}return n.\u0275fac=function(e){return new(e||n)(g(Xt),g(Zn))},n.\u0275dir=S({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class vP{constructor(){this.$implicit=null,this.ngIf=null}}function Aw(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${we(t)}'.`)}let ef=(()=>{class n{constructor(e,r,i){this._ngEl=e,this._differs=r,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,r){const[i,s]=e.split("."),o=-1===i.indexOf("-")?void 0:Et.DashCase;null!=r?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${r}${s}`:r,o):this._renderer.removeStyle(this._ngEl.nativeElement,i,o)}_applyChanges(e){e.forEachRemovedItem(r=>this._setStyle(r.key,null)),e.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),e.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}}return n.\u0275fac=function(e){return new(e||n)(g(J),g(ei),g(ji))},n.\u0275dir=S({type:n,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),n})();class DP{createSubscription(t,e){return t.subscribe({next:e,error:r=>{throw r}})}dispose(t){t.unsubscribe()}}class xP{createSubscription(t,e){return t.then(e,r=>{throw r})}dispose(t){}}const EP=new xP,SP=new DP;let tf=(()=>{class n{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,r=>this._updateLatestValue(e,r))}_selectStrategy(e){if(ll(e))return EP;if(Iv(e))return SP;throw function Cn(n,t){return new D(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,r){e===this._obj&&(this._latestValue=r,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(g(bo,16))},n.\u0275pipe=Dt({name:"async",type:n,pure:!1,standalone:!0}),n})(),jl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}),n.\u0275inj=ce({}),n})();const Rw="browser";function Dr(n){return n===Rw}function hs(n){return"server"===n}let WP=(()=>{class n{}return n.\u0275prov=x({token:n,providedIn:"root",factory:()=>new qP(v(K),window)}),n})();class qP{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function KP(n,t){const e=n.getElementById(t)||n.getElementsByName(t)[0];if(e)return e;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const r=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const s=i.shadowRoot;if(s){const o=s.getElementById(t)||s.querySelector(`[name="${t}"]`);if(o)return o}i=r.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),r=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(r-s[0],i-s[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Ow(this.window.history)||Ow(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Ow(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class lf extends class fL extends class Ek{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function xk(n){Al||(Al=n)}(new lf)}onAndCancel(t,e,r){return t.addEventListener(e,r,!1),()=>{t.removeEventListener(e,r,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}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}getBaseHref(t){const e=function pL(){return Mo=Mo||document.querySelector("base"),Mo?Mo.getAttribute("href"):null}();return null==e?null:function gL(n){$l=$l||document.createElement("a"),$l.setAttribute("href",n);const t=$l.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){Mo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function pP(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const r=e.indexOf("="),[i,s]=-1==r?[e,""]:[e.slice(0,r),e.slice(r+1)];if(i.trim()===t)return decodeURIComponent(s)}return null}(document.cookie,t)}}let $l,Mo=null;const Lw=new E("TRANSITION_ID"),yL=[{provide:Cl,useFactory:function mL(n,t,e){return()=>{e.get(Dl).donePromise.then(()=>{const r=Cr(),i=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let s=0;s<i.length;s++)r.remove(i[s])})}},deps:[Lw,K,St],multi:!0}];let _L=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const Ul=new E("EventManagerPlugins");let zl=(()=>{class n{constructor(e,r){this._zone=r,this._eventNameToPlugin=new Map,e.forEach(i=>
vendor: 7,014 bytes, line 1
1i.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,r,i){return this._findPluginFor(r).addEventListener(e,r,i)}addGlobalEventListener(e,r,i){return this._findPluginFor(r).addGlobalEventListener(e,r,i)}getZone(){return this._zone}_findPluginFor(e){const r=this._eventNameToPlugin.get(e);if(r)return r;const i=this._plugins;for(let s=0;s<i.length;s++){const o=i[s];if(o.supports(e))return this._eventNameToPlugin.set(e,o),o}throw new Error(`No event manager plugin found for event ${e}`)}}return n.\u0275fac=function(e){return new(e||n)(v(Ul),v(ie))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class Nw{constructor(t){this._doc=t}addGlobalEventListener(t,e,r){const i=Cr().getGlobalEventTarget(this._doc,t);if(!i)throw new Error(`Unsupported event target ${i} for event ${e}`);return this.addEventListener(i,e,r)}}let Bw=(()=>{class n{constructor(){this._stylesSet=new Set}addStyles(e){const r=new Set;e.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),Ao=(()=>{class n extends Bw{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,r,i){e.forEach(s=>{const o=this._doc.createElement("style");o.textContent=s,i.push(r.appendChild(o))})}addHost(e){const r=[];this._addStylesToHost(this._stylesSet,e,r),this._hostNodes.set(e,r)}removeHost(e){const r=this._hostNodes.get(e);r&&r.forEach(Vw),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(e,i,r)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(Vw))}}return n.\u0275fac=function(e){return new(e||n)(v(K))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();function Vw(n){Cr().remove(n)}const cf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},uf=/%COMP%/g;function Gl(n,t,e){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?Gl(n,i,e):(i=i.replace(uf,n),e.push(i))}return e}function $w(n){return t=>{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let Wl=(()=>{class n{constructor(e,r,i){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new df(e)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;switch(r.encapsulation){case un.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new EL(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(e),i}case 1:case un.ShadowDom:return new SL(this.eventManager,this.sharedStylesHost,e,r);default:if(!this.rendererByCompId.has(r.id)){const i=Gl(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(v(zl),v(Ao),v(cs))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class df{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(cf[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(zw(t)?t.content:t).appendChild(e)}insertBefore(t,e,r){t&&(zw(t)?t.content:t).insertBefore(e,r)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return e||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,r,i){if(i){e=i+":"+e;const s=cf[i];s?t.setAttributeNS(s,e,r):t.setAttribute(e,r)}else t.setAttribute(e,r)}removeAttribute(t,e,r){if(r){const i=cf[r];i?t.removeAttributeNS(i,e):t.removeAttribute(`${r}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,r,i){i&(Et.DashCase|Et.Important)?t.style.setProperty(e,r,i&Et.Important?"important":""):t.style[e]=r}removeStyle(t,e,r){r&Et.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,r){t[e]=r}setValue(t,e){t.nodeValue=e}listen(t,e,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,$w(r)):this.eventManager.addEventListener(t,e,$w(r))}}function zw(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class EL extends df{constructor(t,e,r,i){super(t),this.component=r;const s=Gl(i+"-"+r.id,r.styles,[]);e.addStyles(s),this.contentAttr=function CL(n){return"_ngcontent-%COMP%".replace(uf,n)}(i+"-"+r.id),this.hostAttr=function DL(n){return"_nghost-%COMP%".replace(uf,n)}(i+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const r=super.createElement(t,e);return super.setAttribute(r,this.contentAttr,""),r}}class SL extends df{constructor(t,e,r,i){super(t),this.sharedStylesHost=e,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=Gl(i.id,i.styles,[]);for(let o=0;o<s.length;o++){const a=document.createElement("style");a.textContent=s[o],this.shadowRoot.appendChild(a)}}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,r){return super.insertBefore(this.nodeOrShadowRoot(t),e,r)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let ML=(()=>{class n extends Nw{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i){return e.addEventListener(r,i,!1),()=>this.removeEventListener(e,r,i)}removeEventListener(e,r,i){return e.removeEventListener(r,i)}}return n.\u0275fac=function(e){return new(e||n)(v(K))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const Gw=["alt","control","meta","shift"],AL={"\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"},IL={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let TL=(()=>{class n extends Nw{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,r,i){const s=n.parseEventName(r),o=n.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Cr().onAndCancel(e,s.domEventName,o))}static parseEventName(e){const r=e.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const s=n._normalizeKey(r.pop());let o="",a=r.indexOf("code");if(a>
1-1&&(r.splice(a,1),o="code."),Gw.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),o+=c+".")}),o+=s,0!=r.length||0===s.length)return null;const l={};return l.domEventName=i,l.fullKey=o,l}static matchEventFullKeyCode(e,r){let i=AL[e.key]||e.key,s="";return r.indexOf("code.")>-1&&(i=e.code,s="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),Gw.forEach(o=>{o!==i&&(0,IL[o])(e)&&(s+=o+".")}),s+=i,s===r)}static eventCallback(e,r,i){return s=>{n.matchEventFullKeyCode(s,e)&&i.runGuarded(()=>r(s))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(v(K))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const kL=Wb(wk,"browser",[{provide:Jt,useValue:Rw},{provide:Nb,useValue:function RL(){lf.makeCurrent()},multi:!0},{provide:K,useFactory:function FL(){return function vA(n){ud=n}(document),document},deps:[]}]),Kw=new E(""),Yw=[{provide:xl,useClass:class vL{addToWindow(t){Ce.getAngularTestability=(r,i=!0)=>{const s=t.findTestabilityInTree(r,i);if(null==s)throw new Error("Could not find testability for element.");return s},Ce.getAllAngularTestabilities=()=>t.getAllTestabilities(),Ce.getAllAngularRootElements=()=>t.getAllRootElements(),Ce.frameworkStabilizers||(Ce.frameworkStabilizers=[]),Ce.frameworkStabilizers.push(r=>{const i=Ce.getAllAngularTestabilities();let s=i.length,o=!1;const a=function(l){o=o||l,s--,0==s&&r(o)};i.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,e,r){return null==e?null:t.getTestability(e)??(r?Cr().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:$b,useClass:Oh,deps:[ie,Fh,xl]},{provide:Oh,useClass:Oh,deps:[ie,Fh,xl]}],Qw=[{provide:_d,useValue:"root"},{provide:Wn,useFactory:function OL(){return new Wn},deps:[]},{provide:Ul,useClass:ML,multi:!0,deps:[K,ie,Jt]},{provide:Ul,useClass:TL,multi:!0,deps:[K]},{provide:Wl,useClass:Wl,deps:[zl,Ao,cs]},{provide:io,useExisting:Wl},{provide:Bw,useExisting:Ao},{provide:Ao,useClass:Ao,deps:[K]},{provide:zl,useClass:zl,deps:[Ul,ie]},{provide:class YP{},useClass:_L,deps:[]},[]];let Zw=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:cs,useValue:e.appId},{provide:Lw,useExisting:cs},yL]}}}return n.\u0275fac=function(e){return new(e||n)(v(Kw,12))},n.\u0275mod=de({type:n}),n.\u0275inj=ce({providers:[...Qw,...Yw],imports:[jl,Ck]}),n})(),Xw=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(v(K))},n.\u0275prov=x({token:n,factory:function(e){let r=null;return r=e?new e:function LL(){return new Xw(v(K))}(),r},providedIn:"root"}),n})();typeof window<"u"&&window;let Io=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:function(e){let r=null;return r=e?new(e||n):v(tC),r},providedIn:"root"}),n})(),tC=(()=>{class n extends Io{constructor(e){super(),this._doc=e}sanitize(e,r){if(null==r)return null;switch(e){case he.NONE:return r;case he.HTML:return Mn(r,"HTML")?Bt(r):dy(this._doc,String(r)).toString();case he.STYLE:return Mn(r,"Style")?Bt(r):r;case he.SCRIPT:if(Mn(r,"Script"))return Bt(r);throw new Error("unsafe value used in a script context");case he.URL:return Mn(r,"URL")?Bt(r):Ua(String(r));case he.RESOURCE_URL:if(Mn(r,"ResourceURL"))return Bt(r);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function EA(n){return new _A(n)}(e)}bypassSecurityTrustStyle(e){return function SA(n){return new bA(n)}(e)}bypassSecurityTrustScript(e){return function MA(n){return new wA(n)}(e)}bypassSecurityTrustUrl(e){return function AA(n){return new CA(n)}(e)}bypassSecurityTrustResourceUrl(e){return function IA(n){return new DA(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(v(K))},n.\u0275prov=x({token:n,factory:function(e){let r=null;return r=e?new e:function UL(n){return new tC(n.get(K))}(v(St)),r},providedIn:"root"}),n})();
vendor: 4,179 bytes, line 1
1class nC{}const nr="*";function iC(n,t=null){return{type:2,steps:n,options:t}}function Er(n){return{type:6,styles:n,offset:null}}function aC(n){Promise.resolve().then(n)}class To{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(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(){aC(()=>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(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}}class lC{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,r=0,i=0;const s=this.players.length;0==s?aC(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++e==s&&this._onFinish()}),o.onDestroy(()=>{++r==s&&this._onDestroy()}),o.onStart(()=>{++i==s&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(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(r=>{const i=r.totalTime?Math.min(1,e/r.totalTime):1;r.setPosition(i)})}getPosition(){const t=this.players.reduce((e,r)=>null===e||r.totalTime>e.totalTime?r:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}}function cC(n){return new D(3e3,!1)}function MN(){return typeof window<"u"&&typeof window.document<"u"}function gf(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Sr(n){switch(n.length){case 0:return new To;case 1:return n[0];default:return new lC(n)}}function uC(n,t,e,r,i=new Map,s=new Map){const o=[],a=[];let l=-1,c=null;if(r.forEach(u=>{const d=u.get("offset"),h=d==l,f=h&&c||new Map;u.forEach((p,m)=>{let y=m,_=p;if("offset"!==m)switch(y=t.normalizePropertyName(y,o),_){case"!":_=i.get(m);break;case nr:_=s.get(m);break;default:_=t.normalizeStyleValue(m,y,_,o)}f.set(y,_)}),h||a.push(f),c=f,l=d}),o.length)throw function gN(n){return new D(3502,!1)}();return a}function mf(n,t,e,r){switch(t){case"start":n.onStart(()=>r(e&&yf(e,"start",n)));break;case"done":n.onDone(()=>r(e&&yf(e,"done",n)));break;
1case"destroy":n.onDestroy(()=>r(e&&yf(e,"destroy",n)))}}function yf(n,t,e){const s=vf(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),o=n._data;return null!=o&&(s._data=o),s}function vf(n,t,e,r,i="",s=0,o){return{element:n,triggerName:t,fromState:e,toState:r,phaseName:i,totalTime:s,disabled:!!o}}function jt(n,t,e){let r=n.get(t);return r||n.set(t,r=e),r}function dC(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let _f=(n,t)=>!1,hC=(n,t,e)=>[],fC=null;function bf(n){const t=n.parentNode||n.host;return t===fC?null:t}(gf()||typeof Element<"u")&&(MN()?(fC=(()=>document.documentElement)(),_f=(n,t)=>{for(;t;){if(t===n)return!0;t=bf(t)}return!1}):_f=(n,t)=>n.contains(t),hC=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const r=n.querySelector(t);return r?[r]:[]});let ni=null,pC=!1;const gC=_f,mC=hC;let yC=(()=>{class n{validateStyleProperty(e){return function IN(n){ni||(ni=function TN(){return typeof document<"u"?document.body:null}()||{},pC=!!ni.style&&"WebkitAppearance"in ni.style);let t=!0;return ni.style&&!function AN(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in ni.style,!t&&pC&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in ni.style)),t}(e)}matchesElement(e,r){return!1}containsElement(e,r){return gC(e,r)}getParentElement(e){return bf(e)}query(e,r,i){return mC(e,r,i)}computeStyle(e,r,i){return i||""}animate(e,r,i,s,o,a=[],l){return new To(i,s)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),wf=(()=>{class n{}return n.NOOP=new yC,n})();const Cf="ng-enter",ql="ng-leave",Kl="ng-trigger",Yl=".ng-trigger",_C="ng-animating",Df=".ng-animating";function rr(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:xf(parseFloat(t[1]),t[2])}function xf(n,t){return"s"===t?1e3*n:n}function Ql(n,t,e){return n.hasOwnProperty("duration")?n:function FN(n,t,e){let i,s=0,o="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push(cC()),{duration:0,delay:0,easing:""};i=xf(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(s=xf(parseFloat(l),a[4]));const c=a[5];c&&(o=c)}else i=n;if(!e){let a=!1,l=t.length;i<0&&(t.push(function qL(){return new D(3100,!1)}()),a=!0),s<0&&(t.push(function KL(){return new D(3101,!1)}()),a=!0),a&&t.splice(l,0,cC())}return{duration:i,delay:s,easing:o}}(n,t,e)}function Ro(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function bC(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function Mr(n,t=new Map,e){if(e)for(let[r,i]of e)t.set(r,i);for(let[r,i]of n)t.set(r,i);return t}function CC(n,t,e){return e?t+":"+e+";":""}function DC(n){let t="";for(let e=0;e<n.style.length;e++){const r=n.style.item(e);t+=CC(0,r,n.style.getPropertyValue(r))}for(const e in n.style)n.style.hasOwnProperty(e)&&!e.startsWith("_")&&(t+=CC(0,NN(e),n.style[e]));n.setAttribute("style",t)}function Fn(n,t,e){n.style&&(t.forEach((r,i)=>{const s=Sf(i);e&&!e.has(i)&&e.set(i,n.style[s]),n.style[s]=r}),gf()&&DC(n))}function ri(n,t){n.style&&(t.forEach((e,r)=>{const i=Sf(r);n.style[i]=""}),gf()&&DC(n))}function Oo(n){return Array.isArray(n)?1==n.length?n[0]:iC(n):n}const Ef=new RegExp("{{\\s*(.+?)\\s*}}","g");function xC(n){let t=[];if("string"==typeof n){let e;for(;e=Ef.exec(n);)t.push(e[1]);Ef.lastIndex=0}return t}function Fo(n,t,e){const r=n.toString(),i=r.replace(Ef,(s,o)=>{let a=t[o];return null==a&&(e.push(function QL(n){return new D(3003,!1)}()),a=""),a.toString()});return i==r?n:i}function Zl(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const LN=/-+([a-z0-9])/g;function Sf(n){return n.replace(LN,(...t)=>t[1].toUpperCase())}function NN(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ht(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function ZL(n){return new D(3004,!1)}()}}function EC(n,t){return window.getComputedStyle(n)[t]}function UN(n,t){const e=[];
vendor: 30,311 bytes, line 1
1return"string"==typeof n?n.split(/\s*,\s*/).forEach(r=>function zN(n,t,e){if(":"==n[0]){const l=function GN(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,r)=>parseFloat(r)>parseFloat(e);case":decrement":return(e,r)=>parseFloat(r)<parseFloat(e);default:return t.push(function dN(n){return new D(3016,!1)}()),"* => *"}}(n,e);if("function"==typeof l)return void t.push(l);n=l}const r=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return e.push(function uN(n){return new D(3015,!1)}()),t;const i=r[1],s=r[2],o=r[3];t.push(SC(i,o));"<"==s[0]&&!("*"==i&&"*"==o)&&t.push(SC(o,i))}(r,e,t)):e.push(n),e}const tc=new Set(["true","1"]),nc=new Set(["false","0"]);function SC(n,t){const e=tc.has(n)||nc.has(n),r=tc.has(t)||nc.has(t);return(i,s)=>{let o="*"==n||n==i,a="*"==t||t==s;return!o&&e&&"boolean"==typeof i&&(o=i?tc.has(n):nc.has(n)),!a&&r&&"boolean"==typeof s&&(a=s?tc.has(t):nc.has(t)),o&&a}}const WN=new RegExp("s*:selfs*,?","g");function Mf(n,t,e,r){return new qN(n).build(t,e,r)}class qN{constructor(t){this._driver=t}build(t,e,r){const i=new QN(e);return this._resetContextStyleTimingState(i),Ht(this,Oo(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let r=e.queryCount=0,i=e.depCount=0;const s=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push(function JL(){return new D(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,s.push(this.visitState(l,e))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,e);r+=l.queryCount,i+=l.depCount,o.push(l)}else e.errors.push(function eN(){return new D(3007,!1)}())}),{type:7,name:t.name,states:s,transitions:o,queryCount:r,depCount:i,options:null}}visitState(t,e){const r=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(r.containsDynamicStyles){const s=new Set,o=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{xC(l).forEach(c=>{o.hasOwnProperty(c)||s.add(c)})})}),s.size&&(Zl(s.values()),e.errors.push(function tN(n,t){return new D(3008,!1)}()))}return{type:0,name:t.name,style:r,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const r=Ht(this,Oo(t.animation),e);return{type:1,matchers:UN(t.expr,e.errors),animation:r,queryCount:e.queryCount,depCount:e.depCount,options:ii(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(r=>Ht(this,r,e)),options:ii(t.options)}}visitGroup(t,e){const r=e.currentTime;let i=0;const s=t.steps.map(o=>{e.currentTime=r;const a=Ht(this,o,e);return i=Math.max(i,e.currentTime),a});return e.currentTime=i,{type:3,steps:s,options:ii(t.options)}}visitAnimate(t,e){const r=function XN(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return Af(Ql(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=Af(0,0,"");return s.dynamic=!0,s.strValue=e,s}const i=Ql(e,t);return Af(i.duration,i.delay,i.easing)}(t.timings,e.errors);e.currentAnimateTimings=r;let i,s=t.styles?t.styles:Er({});if(5==s.type)i=this.visitKeyframes(s,e);else{let o=t.styles,a=!1;if(!o){a=!0;const c={};r.easing&&(c.easing=r.easing),o=Er(c)}e.currentTime+=r.duration+r.delay;const l=this.visitStyle(o,e);l.isEmptyStep=a,i=l}return e.currentAnimateTimings=null,{type:4,timings:r,style:i,options:null}}visitStyle(t,e){const r=this._makeStyleAst(t,e);return this._validateStyleAst(r,e),r}_makeStyleAst(t,e){const r=[],i=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of i)"string"==typeof a?a===nr?r.push(a):e.errors.push(new D(3002,!1)):r.push(bC(a));let s=!1,o=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!s))for(let l of a.values())if(l.toString().indexOf("{{")>=0){s=!0;break}}),{type:6,styles:r,easing:o,offset:t.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(t,e){const r=e.currentAnimateTimings;let i=e.currentTime,s=e.currentTime;r&&s>0&&(s-=r.duration+r.delay),t.styles.forEach(o=>{"string"!=typeof o&&o.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),u=c.get(l);let d=!0;u&&(s!=i&&s>=u.startTime&&i<=u.endTime&&(e.errors.push(function rN(n,t,e,r,i){return new D(3010,!1)}()),d=!1),s=u.startTime),d&&c.set(l,{startTime:s,endTime:i}),e.options&&function PN(n,t,e){const r=t.params||{},i=xC(n);i.length&&i.forEach(s=>{r.hasOwnProperty(s)||e.push(function YL(n){return new D(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(t,e){const r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function iN(){return new D(3011,!1)}()),r;let s=0;const o=[];let a=!1,l=!1,c=0;const u=t.steps.map(_=>{const C=this._makeStyleAst(_,e);let b=null!=C.offset?C.offset:function ZN(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const r=e;t=parseFloat(r.get("offset")),r.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(C.styles),I=0;return null!=b&&(s++,I=C.offset=b),l=l||I<0||I>1,a=a||I<c,c=I,o.push(I),C});l&&e.errors.push(function sN(){return new D(3012,!1)}()),a&&e.errors.push(function oN(){return new D(3200,!1)}());const d=t.steps.length;let h=0;s>0&&s<d?e.errors.push(function aN(){return new D(3202,!1)}()):0==s&&(h=1/(d-1));const f=d-1,p=e.currentTime,m=e.currentAnimateTimings,y=m.duration;return u.forEach((_,C)=>{const b=h>0?C==f?1:h*C:o[C],I=b*y;e.currentTime=p+m.delay+I,m.duration=I,this._validateStyleAst(_,e),_.offset=b,r.styles.push(_)}),r}visitReference(t,e){return{type:8,animation:Ht(this,Oo(t.animation),e),options:ii(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:ii(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:ii(t.options)}}visitQuery(t,e){const r=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[s,o]=function KN(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(WN,"")),n=n.replace(/@\*/g,Yl).replace(/@\w+/g,e=>Yl+"-"+e.slice(1)).replace(/:animating/g,Df),[n,t]}(t.selector);e.currentQuerySelector=r.length?r+" "+s:s,jt(e.collectedStyles,e.currentQuerySelector,new Map);const a=Ht(this,Oo(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=r,{type:11,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:a,originalSelector:t.selector,options:ii(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function lN(){return new D(3013,!1)}());const r="full"===t.timings?{duration:0,delay:0,easing:"full"}:Ql(t.timings,e.errors,!0);return{type:12,animation:Ht(this,Oo(t.animation),e),timings:r,options:null}}}class QN{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=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function ii(n){return n?(n=Ro(n)).params&&(n.params=function YN(n){return n?Ro(n):null}(n.params)):n={},n}function Af(n,t,e){return{duration:n,delay:t,easing:e}}function If(n,t,e,r,i,s,o=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:r,duration:i,delay:s,totalTime:i+s,easing:o,subTimeline:a}}class rc{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let r=this._map.get(t);r||this._map.set(t,r=[]),r.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const t1=new RegExp(":enter","g"),r1=new RegExp(":leave","g");function Tf(n,t,e,r,i,s=new Map,o=new Map,a,l,c=[]){return(new s1).buildKeyframes(n,t,e,r,i,s,o,a,l,c)}class s1{buildKeyframes(t,e,r,i,s,o,a,l,c,u=[]){c=c||new rc;const d=new Rf(t,e,c,i,s,u,[]);d.options=l;const h=l.delay?rr(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([o],null,d.errors,l),Ht(this,r,d);const f=d.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let m=f.length-1;m>=0;m--){const y=f[m];if(y.element===e){p=y;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[If(e,[],[],[],0,h,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const r=e.subInstructions.get(e.element);if(r){const i=e.createSubContext(t.options),s=e.currentTimeline.currentTime,o=this._visitSubInstructions(r,i,i.options);s!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const r=e.createSubContext(t.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,r),this.visitReference(t.animation,r),e.transformIntoNewTimeline(r.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,r){for(const i of t){const s=i?.delay;if(s){const o="number"==typeof s?s:rr(Fo(s,i?.params??{},e.errors));r.delayNextStep(o)}}}_visitSubInstructions(t,e,r){let s=e.currentTimeline.currentTime;const o=null!=r.duration?rr(r.duration):null,a=null!=r.delay?rr(r.delay):null;return 0!==o&&t.forEach(l=>{const c=e.appendInstructionToTimeline(l,o,a);s=Math.max(s,c.duration+c.delay)}),s}visitReference(t,e){e.updateOptions(t.options,!0),Ht(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const r=e.subContextCount;let i=e;const s=t.options;if(s&&(s.params||s.delay)&&(i=e.createSubContext(s),i.transformIntoNewTimeline(),null!=s.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ic);const o=rr(s.delay);i.delayNextStep(o)}t.steps.length&&(t.steps.forEach(o=>Ht(this,o,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const r=[];let i=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?rr(t.options.delay):0;t.steps.forEach(o=>{const a=e.createSubContext(t.options);s&&a.delayNextStep(s),Ht(this,o,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(o=>e.currentTimeline.mergeTimelineCollectedStyles(o)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const r=t.strValue;return Ql(e.params?Fo(r,e.params,e.errors):r,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const r=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;r.delay&&(e.incrementTime(r.delay),i.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(r.duration),this.visitStyle(s,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const r=e.currentTimeline,i=e.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();const s=i&&i.easing||t.easing;t.isEmptyStep?r.applyEmptyStep(s):r.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const r=e.currentAnimateTimings,i=e.currentTimeline.duration,s=r.duration,a=e.createSubContext().currentTimeline;a.easing=r.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*s),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(i+s),e.previousNode=t}visitQuery(t,e){const r=e.currentTimeline.currentTime,i=t.options||{},s=i.delay?rr(i.delay):0;s&&(6===e.previousNode.type||0==r&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ic);let o=r;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{e.currentQueryIndex=u;const d=e.createSubContext(t.options,c);s&&d.delayNextStep(s),c===e.element&&(l=d.currentTimeline),Ht(this,t.animation,d),d.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,d.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const r=e.parentContext,i=e.currentTimeline,s=t.timings,o=Math.abs(s.duration),a=o*(e.currentQueryTotal-1);let l=o*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime}const u=e.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;Ht(this,t.animation,e),e.previousNode=t,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}}const ic={};class Rf{constructor(t,e,r,i,s,o,a,l){this._driver=t,this.element=e,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ic,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new sc(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const r=t;let i=this.options;null!=r.duration&&(i.duration=rr(r.duration)),null!=r.delay&&(i.delay=rr(r.delay));const s=r.params;if(s){let o=i.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!e||!o.hasOwnProperty(a))&&(o[a]=Fo(s[a],o,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const r=t.params={};Object.keys(e).forEach(i=>{r[i]=e[i]})}}return t}createSubContext(t=null,e,r){const i=e||this.element,s=new Rf(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||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=ic,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,r){const i={duration:e??t.duration,delay:this.currentTimeline.currentTime+(r??0)+t.delay,easing:""},s=new o1(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(s),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,r,i,s,o){let a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(t1,"."+this._enterClassName)).replace(r1,"."+this._leaveClassName);let c=this._driver.query(this.element,t,1!=r);0!==r&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),a.push(...c)}return!s&&0==a.length&&o.push(function cN(n){return new D(3014,!1)}()),a}}class sc{constructor(t,e,r,i){this._driver=t,this.element=e,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),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.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new sc(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=new Map,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.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,r]of this._globalTimelineStyles)this._backFill.set(e,r||nr),this._currentKeyframe.set(e,nr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,r,i){e&&this._previousKeyframe.set("easing",e);const s=i&&i.params||{},o=function a1(n,t){const e=new Map;let r;return n.forEach(i=>{if("*"===i){r=r||t.keys();for(let s of r)e.set(s,nr)}else Mr(i,e)}),e}(t,this._globalTimelineStyles);for(let[a,l]of o){const c=Fo(l,s,r);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??nr),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(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){t._styleSummary.forEach((e,r)=>{const i=this._styleSummary.get(r);(!i||e.time>i.time)&&this._updateStyle(r,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,r=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((a,l)=>{const c=Mr(a,new Map,this._backFill);c.forEach((u,d)=>{"!"===u?t.add(d):u===nr&&e.add(d)}),r||c.set("offset",l/this.duration),i.push(c)});const s=t.size?Zl(t.values()):[],o=e.size?Zl(e.values()):[];if(r){const a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return If(this.element,i,s,o,this.duration,this.startTime,this.easing,!1)}}class o1 extends sc{constructor(t,e,r,i,s,o,a=!1){super(t,e,o.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],o=r+e,a=e/o,l=Mr(t[0]);l.set("offset",0),s.push(l);const c=Mr(t[0]);c.set("offset",IC(a)),s.push(c);const u=t.length-1;for(let d=1;d<=u;d++){let h=Mr(t[d]);const f=h.get("offset");h.set("offset",IC((e+f*r)/o)),s.push(h)}r=o,e=0,i="",t=s}return If(this.element,t,this.preStyleProps,this.postStyleProps,r,e,i,!0)}}function IC(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class Of{}const l1=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class c1 extends Of{normalizePropertyName(t,e){return Sf(t)}normalizeStyleValue(t,e,r,i){let s="";const o=r.toString().trim();if(l1.has(e)&&0!==r&&"0"!==r)if("number"==typeof r)s="px";else{const a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push(function XL(n,t){return new D(3005,!1)}())}return o+s}}function TC(n,t,e,r,i,s,o,a,l,c,u,d,h){return{type:0,element:n,triggerName:t,isRemovalTransition:i,fromState:e,fromStyles:s,toState:r,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const Ff={};class RC{constructor(t,e,r){this._triggerName=t,this.ast=e,this._stateStyles=r}match(t,e,r,i){return function u1(n,t,e,r,i){return n.some(s=>s(t,e,r,i))}(this.ast.matchers,t,e,r,i)}buildStyles(t,e,r){let i=this._stateStyles.get("*");return void 0!==t&&(i=this._stateStyles.get(t?.toString())||i),i?i.buildStyles(e,r):new Map}build(t,e,r,i,s,o,a,l,c,u){const d=[],h=this.ast.options&&this.ast.options.params||Ff,p=this.buildStyles(r,a&&a.params||Ff,d),m=l&&l.params||Ff,y=this.buildStyles(i,m,d),_=new Set,C=new Map,b=new Map,I="void"===i,te={params:d1(m,h),delay:this.ast.options?.delay},se=u?[]:Tf(t,e,this.ast.animation,s,o,p,y,te,c,d);let ke=0;if(se.forEach(zt=>{ke=Math.max(zt.duration+zt.delay,ke)}),d.length)return TC(e,this._triggerName,r,i,I,p,y,[],[],C,b,ke,d);se.forEach(zt=>{const Gt=zt.element,Is=jt(C,Gt,new Set);zt.preStyleProps.forEach(xn=>Is.add(xn));const dr=jt(b,Gt,new Set);zt.postStyleProps.forEach(xn=>dr.add(xn)),Gt!==e&&_.add(Gt)});const Ut=Zl(_.values());return TC(e,this._triggerName,r,i,I,p,y,se,Ut,C,b,ke)}}function d1(n,t){const e=Ro(t);for(const r in n)n.hasOwnProperty(r)&&null!=n[r]&&(e[r]=n[r]);return e}class h1{constructor(t,e,r){this.styles=t,this.defaultParams=e,this.normalizer=r}buildStyles(t,e){const r=new Map,i=Ro(this.defaultParams);return Object.keys(t).forEach(s=>{const o=t[s];null!==o&&(i[s]=o)}),this.styles.styles.forEach(s=>{"string"!=typeof s&&s.forEach((o,a)=>{o&&(o=Fo(o,i,e));const l=this.normalizer.normalizePropertyName(a,e);o=this.normalizer.normalizeStyleValue(a,l,o,e),r.set(l,o)})}),r}}class p1{constructor(t,e,r){this.name=t,this.ast=e,this._normalizer=r,this.transitionFactories=[],this.states=new Map,e.states.forEach(i=>{this.states.set(i.name,new h1(i.style,i.options&&i.options.params||{},r))}),OC(this.states,"true","1"),OC(this.states,"false","0"),e.transitions.forEach(i=>{this.transitionFactories.push(new RC(t,i,this.states))}),this.fallbackTransition=function g1(n,t,e){return new RC(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(o,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,r,i){return this.transitionFactories.find(o=>o.match(t,e,r,i))||null}matchStyles(t,e,r){return this.fallbackTransition.buildStyles(t,e,r)}}function OC(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const m1=new rc;class y1{constructor(t,e,r){this.bodyNode=t,this._driver=e,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const r=[],s=Mf(this._driver,e,r,[]);if(r.length)throw function mN(n){return new D(3503,!1)}();this._animations.set(t,s)}_buildPlayer(t,e,r){const i=t.element,s=uC(0,this._normalizer,0,t.keyframes,e,r);return this._driver.animate(i,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,r={}){const i=[],s=this._animations.get(t);let o;const a=new Map;if(s?(o=Tf(this._driver,e,s,Cf,ql,new Map,new Map,r,m1,i),o.forEach(u=>{const d=jt(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(i.push(function yN(){return new D(3300,!1)}()),o=[]),i.length)throw function vN(n){return new D(3504,!1)}();a.forEach((u,d)=>{u.forEach((h,f)=>{u.set(f,this._driver.computeStyle(d,f,nr))})});const c=Sr(o.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const r=this.players.indexOf(e);r>=0&&this.players.splice(r,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function _N(n){return new D(3301,!1)}();return e}listen(t,e,r,i){const s=vf(e,"","","");return mf(this._getPlayer(t),r,s,i),()=>{}}command(t,e,r,i){if("register"==r)return void this.register(t,i[0]);if("create"==r)return void this.create(t,e,i[0]||{});const s=this._getPlayer(t);switch(r){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(i[0]));break;case"destroy":this.destroy(t)}}}const FC="ng-animate-queued",kf="ng-animate-disabled",C1=[],kC={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},D1={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},nn="__ng_removed";class Pf{constructor(t,e=""){this.namespaceId=e;const r=t&&t.hasOwnProperty("value");if(this.value=function M1(n){return n??null}(r?t.value:t),r){const s=Ro(t);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const r=this.options.params;Object.keys(e).forEach(i=>{null==r[i]&&(r[i]=e[i])})}}}const ko="void",Lf=new Pf(ko);class x1{constructor(t,e,r){this.id=t,this.hostElement=e,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,rn(e,this._hostClassName)}listen(t,e,r,i){if(!this._triggers.has(e))throw function bN(n,t){return new D(3302,!1)}();if(null==r||0==r.length)throw function wN(n){return new D(3303,!1)}();if(!function A1(n){return"start"==n||"done"==n}(r))throw function CN(n,t){return new D(3400,!1)}();const s=jt(this._elementListeners,t,[]),o={name:e,phase:r,callback:i};s.push(o);const a=jt(this._engine.statesByElement,t,new Map);return a.has(e)||(rn(t,Kl),rn(t,Kl+"-"+e),a.set(e,Lf)),()=>{this._engine.afterFlush(()=>{const l=s.indexOf(o);l>=0&&s.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function DN(n){return new D(3401,!1)}();return e}trigger(t,e,r,i=!0){const s=this._getTrigger(e),o=new Nf(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(rn(t,Kl),rn(t,Kl+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e);const c=new Pf(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=Lf),c.value!==ko&&l.value===c.value){if(!function R1(n,t){const e=Object.keys(n),r=Object.keys(t);if(e.length!=r.length)return!1;for(let i=0;i<e.length;i++){const s=e[i];if(!t.hasOwnProperty(s)||n[s]!==t[s])return!1}return!0}(l.params,c.params)){const m=[],y=s.matchStyles(l.value,l.params,m),_=s.matchStyles(c.value,c.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush(()=>{ri(t,y),Fn(t,_)})}return}const h=jt(this._engine.playersByElement,t,[]);h.forEach(m=>{m.namespaceId==this.id&&m.triggerName==e&&m.queued&&m.destroy()});let f=s.matchTransition(l.value,c.value,t,c.params),p=!1;if(!f){if(!i)return;f=s.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:f,fromState:l,toState:c,player:o,isFallbackTransition:p}),p||(rn(t,FC),o.onStart(()=>{fs(t,FC)})),o.onDone(()=>{let m=this.players.indexOf(o);m>=0&&this.players.splice(m,1);const y=this._engine.playersByElement.get(t);if(y){let _=y.indexOf(o);_>=0&&y.splice(_,1)}}),this.players.push(o),h.push(o),o}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,r)=>{this._elementListeners.set(r,e.filter(i=>i.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(r=>r.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const r=this._engine.driver.query(t,Yl,!0);r.forEach(i=>{if(i[nn])return;const s=this._engine.fetchNamespacesByElement(i);s.size?s.forEach(o=>o.triggerLeaveAnimation(i,e,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(t,e,r,i){const s=this._engine.statesByElement.get(t),o=new Map;if(s){const a=[];if(s.forEach((l,c)=>{if(o.set(c,l.value),this._triggers.has(c)){const u=this.trigger(t,c,ko,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,o),r&&Sr(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),r=this._engine.statesByElement.get(t);if(e&&r){const i=new Set;e.forEach(s=>{const o=s.name;if(i.has(o))return;i.add(o);const l=this._triggers.get(o).fallbackTransition,c=r.get(o)||Lf,u=new Pf(ko),d=new Nf(this.id,o,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:o,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(t,e){const r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(r.totalAnimations){const s=r.players.length?r.playersByQueriedElement.get(t):[];if(s&&s.length)i=!0;else{let o=t;for(;o=o.parentNode;)if(r.statesByElement.get(o)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)r.markElementAsRemoved(this.id,t,!1,e);else{const s=t[nn];(!s||s===kC)&&(r.afterFlush(()=>this.clearElementCache(t)),r.destroyInnerAnimations(t),r._onRemovalComplete(t,e))}}insertNode(t,e){rn(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(r=>{const i=r.player;if(i.destroyed)return;const s=r.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==r.triggerName){const l=vf(s,r.triggerName,r.fromState.value,r.toState.value);l._data=t,mf(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(r)}),this._queue=[],e.sort((r,i)=>{const s=r.transition.ast.depCount,o=i.transition.ast.depCount;return 0==s||0==o?s-o:this._engine.driver.containsElement(r.element,i.element)?1:-1})}
1destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(r=>r.element===t)||e,e}}class E1{constructor(t,e,r){this.bodyNode=t,this.driver=e,this._normalizer=r,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=(i,s)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(r=>{r.queued&&t.push(r)})}),t}createNamespace(t,e){const r=new x1(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(r,e):(this.newHostElements.set(e,r),this.collectEnterElement(e)),this._namespaceLookup[t]=r}_balanceNamespaceList(t,e){const r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let o=!1,a=this.driver.getParentElement(e);for(;a;){const l=i.get(a);if(l){const c=r.indexOf(l);r.splice(c+1,0,t),o=!0;break}a=this.driver.getParentElement(a)}o||r.unshift(t)}else r.push(t);return i.set(e,t),t}register(t,e){let r=this._namespaceLookup[t];return r||(r=this.createNamespace(t,e)),r}registerTrigger(t,e,r){let i=this._namespaceLookup[t];i&&i.register(e,r)&&this.totalAnimations++}destroy(t,e){if(!t)return;const r=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(r.hostElement),delete this._namespaceLookup[t];const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1)}),this.afterFlushAnimationsDone(()=>r.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,r=this.statesByElement.get(t);if(r)for(let i of r.values())if(i.namespaceId){const s=this._fetchNamespace(i.namespaceId);s&&e.add(s)}return e}trigger(t,e,r,i){if(oc(e)){const s=this._fetchNamespace(t);if(s)return s.trigger(e,r,i),!0}return!1}insertNode(t,e,r,i){if(!oc(e))return;const s=e[nn];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(t){const o=this._fetchNamespace(t);o&&o.insertNode(e,r)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),rn(t,kf)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),fs(t,kf))}removeNode(t,e,r,i){if(oc(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),r){const o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,r,i,s){this.collectedLeaveElements.push(e),e[nn]={namespaceId:t,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:s}}listen(t,e,r,i,s){return oc(e)?this._fetchNamespace(t).listen(e,r,i,s):()=>{}}_buildInstruction(t,e,r,i,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,r,i,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,Yl,!0);e.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,Df,!0),e.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Sr(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[nn];if(e&&e.setForRemoval){if(t[nn]=kC,e.namespaceId){this.destroyInnerAnimations(t);const r=this._fetchNamespace(e.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(kf)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEac
vendor: 3,694 bytes, line 1
1h(r=>{this.markElementAsDisabled(r,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++)rn(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{e=this._flushAnimations(r,t)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],e.length?Sr(e).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(t){throw function xN(n){return new D(3402,!1)}()}_flushAnimations(t,e){const r=new rc,i=[],s=new Map,o=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(R=>{u.add(R);const k=this.driver.query(R,".ng-animate-queued",!0);for(let V=0;V<k.length;V++)u.add(k[V])});const d=this.bodyNode,h=Array.from(this.statesByElement.keys()),f=NC(h,this.collectedEnterElements),p=new Map;let m=0;f.forEach((R,k)=>{const V=Cf+m++;p.set(k,V),R.forEach(ue=>rn(ue,V))});const y=[],_=new Set,C=new Set;for(let R=0;R<this.collectedLeaveElements.length;R++){const k=this.collectedLeaveElements[R],V=k[nn];V&&V.setForRemoval&&(y.push(k),_.add(k),V.hasAnimation?this.driver.query(k,".ng-star-inserted",!0).forEach(ue=>_.add(ue)):C.add(k))}const b=new Map,I=NC(h,Array.from(_));I.forEach((R,k)=>{const V=ql+m++;b.set(k,V),R.forEach(ue=>rn(ue,V))}),t.push(()=>{f.forEach((R,k)=>{const V=p.get(k);R.forEach(ue=>fs(ue,V))}),I.forEach((R,k)=>{const V=b.get(k);R.forEach(ue=>fs(ue,V))}),y.forEach(R=>{this.processLeaveNode(R)})});const te=[],se=[];for(let R=this._namespaceList.length-1;R>=0;R--)this._namespaceList[R].drainQueuedTransitions(e).forEach(V=>{const ue=V.player,it=V.element;if(te.push(ue),this.collectedEnterElements.length){const ft=it[nn];if(ft&&ft.setForMove){if(ft.previousTriggersValues&&ft.previousTriggersValues.has(V.triggerName)){const pi=ft.previousTriggersValues.get(V.triggerName),ln=this.statesByElement.get(V.element);if(ln&&ln.has(V.triggerName)){const Qc=ln.get(V.triggerName);Qc.value=pi,ln.set(V.triggerName,Qc)}}return void ue.destroy()}}const Ln=!d||!this.driver.containsElement(d,it),Wt=b.get(it),Fr=p.get(it),Pe=this._buildInstruction(V,r,Fr,Wt,Ln);if(Pe.errors&&Pe.errors.length)return void se.push(Pe);if(Ln)return ue.onStart(()=>ri(it,Pe.fromStyles)),ue.onDestroy(()=>Fn(it,Pe.toStyles)),void i.push(ue);if(V.isFallbackTransition)return ue.onStart(()=>ri(it,Pe.fromStyles)),ue.onDestroy(()=>Fn(it,Pe.toStyles)),void i.push(ue);const vS=[];Pe.timelines.forEach(ft=>{ft.stretchStartingKeyframe=!0,this.disabledNodes.has(ft.element)||vS.push(ft)}),Pe.timelines=vS,r.append(it,Pe.timelines),o.push({instruction:Pe,player:ue,element:it}),Pe.queriedElements.forEach(ft=>jt(a,ft,[]).push(ue)),Pe.preStyleProps.forEach((ft,pi)=>{if(ft.size){let ln=l.get(pi);ln||l.set(pi,ln=new Set),ft.forEach((Qc,Jp)=>ln.add(Jp))}}),Pe.postStyleProps.forEach((ft,pi)=>{let ln=c.get(pi);ln||c.set(pi,ln=new Set),ft.forEach((Qc,Jp)=>ln.add(Jp))})});if(se.length){const R=[];se.forEach(k=>{R.push(function EN(n,t){return new D(3505,!1)}())}),te.forEach(k=>k.destroy()),this.reportError(R)}const ke=new Map,Ut=new Map;o.forEach(R=>{const k=R.element;r.has(k)&&(Ut.set(k,k),this._beforeAnimationBuild(R.player.namespaceId,R.instruction,ke))}
1),i.forEach(R=>{const k=R.element;this._getPreviousPlayers(k,!1,R.namespaceId,R.triggerName,null).forEach(ue=>{jt(ke,k,[]).push(ue),ue.destroy()})});const zt=y.filter(R=>VC(R,l,c)),Gt=new Map;LC(Gt,this.driver,C,c,nr).forEach(R=>{VC(R,l,c)&&zt.push(R)});const dr=new Map;f.forEach((R,k)=>{LC(dr,this.driver,new Set(R),l,"!")}),zt.forEach(R=>{const k=Gt.get(R),V=dr.get(R);Gt.set(R,new Map([...Array.from(k?.entries()??[]),...Array.from(V?.entries()??[])]))});const xn=[],Ts=[],Rs={};o.forEach(R=>{const{element:k,player:V,instruction:ue}=R;if(r.has(k)){if(u.has(k))return V.onDestroy(()=>Fn(k,ue.toStyles)),V.disabled=!0,V.overrideTotalTime(ue.totalTime),void i.push(V);let it=Rs;if(Ut.size>1){let Wt=k;const Fr=[];for(;Wt=Wt.parentNode;){const Pe=Ut.get(Wt);if(Pe){it=Pe;break}Fr.push(Wt)}Fr.forEach(Pe=>Ut.set(Pe,it))}const Ln=this._buildAnimation(V.namespaceId,ue,ke,s,dr,Gt);if(V.setRealPlayer(Ln),it===Rs)xn.push(V);else{const Wt=this.playersByElement.get(it);Wt&&Wt.length&&(V.parentPlayer=Sr(Wt)),i.push(V)}}else ri(k,ue.fromStyles),V.onDestroy(()=>Fn(k,ue.toStyles)),Ts.push(V),u.has(k)&&i.push(V)}),Ts.forEach(R=>{const k=s.get(R.element);if(k&&k.length){const V=Sr(k);R.setRealPlayer(V)}}
vendor: 11,020 bytes, line 1
1),i.forEach(R=>{R.parentPlayer?R.syncPlayerEvents(R.parentPlayer):R.destroy()});for(let R=0;R<y.length;R++){const k=y[R],V=k[nn];if(fs(k,ql),V&&V.hasAnimation)continue;let ue=[];if(a.size){let Ln=a.get(k);Ln&&Ln.length&&ue.push(...Ln);let Wt=this.driver.query(k,Df,!0);for(let Fr=0;Fr<Wt.length;Fr++){let Pe=a.get(Wt[Fr]);Pe&&Pe.length&&ue.push(...Pe)}}const it=ue.filter(Ln=>!Ln.destroyed);it.length?I1(this,k,it):this.processLeaveNode(k)}return y.length=0,xn.forEach(R=>{this.players.push(R),R.onDone(()=>{R.destroy();const k=this.players.indexOf(R);this.players.splice(k,1)}),R.play()}),xn}elementContainsData(t,e){let r=!1;const i=e[nn];return i&&i.setForRemoval&&(r=!0),this.playersByElement.has(e)&&(r=!0),this.playersByQueriedElement.has(e)&&(r=!0),this.statesByElement.has(e)&&(r=!0),this._fetchNamespace(t).elementContainsData(e)||r}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,r,i,s){let o=[];if(e){const a=this.playersByQueriedElement.get(t);a&&(o=a)}else{const a=this.playersByElement.get(t);if(a){const l=!s||s==ko;a.forEach(c=>{c.queued||!l&&c.triggerName!=i||o.push(c)})}}return(r||i)&&(o=o.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),o}_beforeAnimationBuild(t,e,r){const s=e.element,o=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,u=c!==s,d=jt(r,c,[]);this._getPreviousPlayers(c,u,o,a,e.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),d.push(f)})}ri(s,e.fromStyles)}_buildAnimation(t,e,r,i,s,o){const a=e.triggerName,l=e.element,c=[],u=new Set,d=new Set,h=e.timelines.map(p=>{const m=p.element;u.add(m);const y=m[nn];if(y&&y.removedBeforeQueried)return new To(p.duration,p.delay);const _=m!==l,C=function T1(n){const t=[];return BC(n,t),t}((r.get(m)||C1).map(ke=>ke.getRealPlayer())).filter(ke=>!!ke.element&&ke.element===m),b=s.get(m),I=o.get(m),te=uC(0,this._normalizer,0,p.keyframes,b,I),se=this._buildPlayer(p,te,C);if(p.subTimeline&&i&&d.add(m),_){const ke=new Nf(t,a,m);ke.setRealPlayer(se),c.push(ke)}return se});c.forEach(p=>{jt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function S1(n,t,e){let r=n.get(t);if(r){if(r.length){const i=r.indexOf(e);r.splice(i,1)}0==r.length&&n.delete(t)}return r}(this.playersByQueriedElement,p.element,p))}),u.forEach(p=>rn(p,_C));const f=Sr(h);return f.onDestroy(()=>{u.forEach(p=>fs(p,_C)),Fn(l,e.toStyles)}),d.forEach(p=>{jt(i,p,[]).push(f)}),f}_buildPlayer(t,e,r){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,r):new To(t.duration,t.delay)}}class Nf{constructor(t,e,r){this.namespaceId=t,this.triggerName=e,this.element=r,this._player=new To,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,r)=>{e.forEach(i=>mf(t,r,void 0,i))}),this._queuedCallbacks.clear(),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){jt(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 oc(n){return n&&1===n.nodeType}function PC(n,t){const e=n.style.display;return n.style.display=t??"none",e}function LC(n,t,e,r,i){const s=[];e.forEach(l=>s.push(PC(l)));const o=[];r.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const h=t.computeStyle(c,d,i);u.set(d,h),(!h||0==h.length)&&(c[nn]=D1,o.push(c))}),n.set(c,u)});let a=0;return e.forEach(l=>PC(l,s[a++])),o}function NC(n,t){const e=new Map;if(n.forEach(a=>e.set(a,[])),0==t.length)return e;const i=new Set(t),s=new Map;function o(a){if(!a)return 1;let l=s.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:i.has(c)?1:o(c),s.set(a,l),l}return t.forEach(a=>{const l=o(a);1!==l&&e.get(l).push(a)}),e}function rn(n,t){n.classList?.add(t)}function fs(n,t){n.classList?.remove(t)}function I1(n,t,e){Sr(e).onDone(()=>n.processLeaveNode(t))}function BC(n,t){for(let e=0;e<n.length;e++){const r=n[e];r instanceof lC?BC(r.players,t):t.push(r)}}function VC(n,t,e){const r=e.get(n);if(!r)return!1;let i=t.get(n);return i?r.forEach(s=>i.add(s)):t.set(n,r),e.delete(n),!0}class ac{constructor(t,e,r){this.bodyNode=t,this._driver=e,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,s)=>{},this._transitionEngine=new E1(t,e,r),this._timelineEngine=new y1(t,e,r),this._transitionEngine.onRemovalComplete=(i,s)=>this.onRemovalComplete(i,s)}registerTrigger(t,e,r,i,s){const o=t+"-"+i;let a=this._triggerCache[o];if(!a){const l=[],u=Mf(this._driver,s,l,[]);if(l.length)throw function pN(n,t){return new D(3404,!1)}();a=function f1(n,t,e){return new p1(n,t,e)}(i,u,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,i,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,r,i){this._transitionEngine.insertNode(t,e,r,i)}onRemove(t,e,r,i){this._transitionEngine.removeNode(t,e,i||!1,r)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,r,i){if("@"==r.charAt(0)){const[s,o]=dC(r);this._timelineEngine.command(s,e,o,i)}else this._transitionEngine.trigger(t,e,r,i)}listen(t,e,r,i,s){if("@"==r.charAt(0)){const[o,a]=dC(r);return this._timelineEngine.listen(o,e,a,s)}return this._transitionEngine.listen(t,e,r,i,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let F1=(()=>{class n{constructor(e,r,i){this._element=e,this._startStyles=r,this._endStyles=i,this._state=0;let s=n.initialStylesByElement.get(e);s||n.initialStylesByElement.set(e,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Fn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Fn(this._element,this._initialStyles),this._endStyles&&(Fn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(ri(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ri(this._element,this._endStyles),this._endStyles=null),Fn(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function Bf(n){let t=null;return n.forEach((e,r)=>{(function k1(n){return"display"===n||"position"===n})(r)&&(t=t||new Map,t.set(r,e))}),t}class jC{constructor(t,e,r,i){this.element=t,this.keyframes=e,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.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]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(r=>{e.push(Object.fromEntries(r))}),e}_triggerWebAnimation(t,e,r){return t.animate(this._convertKeyframesToObject(e),r)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_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){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{"offset"!==i&&t.set(i,this._finished?r:EC(this.element,i))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}}class P1{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return gC(t,e)}getParentElement(t){return bf(t)}query(t,e,r){return mC(t,e,r)}computeStyle(t,e,r){return window.getComputedStyle(t)[e]}animate(t,e,r,i,s,o=[]){const l={duration:r,delay:i,fill:0==i?"both":"forwards"};s&&(l.easing=s);const c=new Map,u=o.filter(f=>f instanceof jC);(function BN(n,t){return 0===n||0===t})(r,i)&&u.forEach(f=>{f.currentSnapshot.forEach((p,m)=>c.set(m,p))});let d=function kN(n){return n.length?n[0]instanceof Map?n:n.map(t=>bC(t)):[]}(e).map(f=>Mr(f));d=function VN(n,t,e){if(e.size&&t.length){let r=t[0],i=[];if(e.forEach((s,o)=>{r.has(o)||i.push(o),r.set(o,s)}),i.length)for(let s=1;s<t.length;s++){let o=t[s];
1i.forEach(a=>o.set(a,EC(n,a)))}}return t}(t,d,c);const h=function O1(n,t){let e=null,r=null;return Array.isArray(t)&&t.length?(e=Bf(t[0]),t.length>1&&(r=Bf(t[t.length-1]))):t instanceof Map&&(e=Bf(t)),e||r?new F1(n,e,r):null}(t,d);return new jC(t,d,l,h)}}let L1=(()=>{class n extends nC{constructor(e,r){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(r.body,{id:"0",encapsulation:un.None,styles:[],data:{animation:[]}})}build(e){const r=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(e)?iC(e):e;return HC(this._renderer,null,r,"register",[i]),new N1(r,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(v(io),v(K))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class N1 extends class zL{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new B1(this._id,t,e||{},this._renderer)}}class B1{constructor(t,e,r,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return HC(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"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function HC(n,t,e,r,i){return n.setProperty(t,`@@${e}:${r}`,i)}const $C="@.disabled";let V1=(()=>{class n{constructor(e,r,i){this.delegate=e,this.engine=r,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),r.onRemovalComplete=(s,o)=>{const a=o?.parentNode(s);a&&o.removeChild(a,s)}}createRenderer(e,r){const s=this.delegate.createRenderer(e,r);if(!(e&&r&&r.data&&r.data.animation)){let u=this._rendererCache.get(s);return u||(u=new UC("",s,this.engine,()=>this._rendererCache.delete(s)),this._rendererCache.set(s,u)),u}const o=r.id,a=r.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=u=>{Array.isArray(u)?u.forEach(l):this.engine.registerTrigger(o,a,e,u.name,u)};return r.data.animation.forEach(l),new j1(this,a,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,r,i){e>=0&&e<this._microtaskId?this._zone.run(()=>r(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{const[o,a]=s;o(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([r,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 n.\u0275fac=function(e){return new(e||n)(v(io),v(ac),v(ie))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();class UC{constructor(t,e,r,i){this.namespaceId=t,this.delegate=e,this.engine=r,this._onDestroy=i,this.destroyNode=this.delegate.destroyNode?s=>e.destroyNode(s):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,r,i=!0){this.delegate.insertBefore(t,e,r),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,r){this.engine.onRemove(this.namespaceId,e,this.delegate,r)}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,r,i){this.delegate.setAttribute(t,e,r,i)}removeAttribute(t,e,r){this.delegate.removeAttribute(t,e,r)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,r,i){this.delegate.setStyle(t,e,r,i)}removeStyle(t,e,r){this.delegate.removeStyle(t,e,r)}setProperty(t,e,r){"@"==e.charAt(0)&&e==$C?this.disableAnimations(t,!!r):this.delegate.setProperty(t,e,r)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,r){return this.delegate.listen(t,e,r)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class j1 extends UC{constructor(t,e,r,i,s){super(e,r,i,s),this.factory=t,this.namespaceId=e}setProperty(t,e,r){"@"==e.charAt(0)?"."==e.charAt(1)&&e==$C?this.disableAnimations(t,r=void 0===r||!!r):this.engine.process(this.namespaceId,t,e.slice(1),r):this.delegate.setProperty(t,e,r)}listen(t,e,r){if("@"==e.charAt(0)){const i=function H1(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let s=e.slice(1),o="";return"@"!=s.charAt(0)&&([s,o]=function $1(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}(s)),this.engine.listen(this.namespaceId,i,s,o,a=>{this.factory.scheduleListenerCallback(a._data||-1,r,a)})}return this.delegate.listen(t,e,r)}}const zC=[{provide:nC,useClass:L1},{provide:Of,useFactory:function z1(){return new c1}},{provide:ac,useClass:(()=>{class n extends ac{constructor(e,r,i,s){super(e.body,r,i)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(v(K),v(wf),v(Of),v(us))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})()},{provide:io,useFactory:function G1(n,t,e){return new V1(n,t,e)},deps:[Wl,ac,ie]}],Vf=[{provide:wf,useFactory:()=>new P1},{provide:Xn,useValue:"BrowserAnimations"},...zC],GC=[{provide:wf,useClass:yC},{provide:Xn,useValue:"NoopAnimations"},...zC];let W1=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?GC:Vf}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}),n.\u0275inj=ce({providers:Vf,imports:[Zw]}),n})();
1class At extends _e{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:r}=this;if(t)throw e;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function WC(n){for(let t in n){let e=n[t]??"";switch(t){case"display":n.display="flex"===e?["-webkit-flex","flex"]:"inline-flex"===e?["-webkit-inline-flex","inline-flex"]:e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":n["-webkit-"+t]=e;break;case"flex-direction":n["-webkit-flex-direction"]=e,n["flex-direction"]=e;break;case"order":n.order=n["-webkit-"+t]=isNaN(+e)?"0":e}}return n}const jf="inline",cc=["row","column","row-reverse","column-reverse"];function qC(n){let[t,e,r]=KC(n);return function K1(n,t=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":n,"flex-wrap":t||null}}(t,e,r)}function KC(n){n=n?.toLowerCase()??"";let[t,e,r]=n.split(" ");return cc.find(i=>i===t)||(t=cc[0]),e===jf&&(e=r!==jf?r:"",r=jf),[t,q1(e),!!r]}function Po(n){let[t]=KC(n);return t.indexOf("row")>-1}function q1(n){if(n)switch(n.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":n="wrap-reverse";break;case"no":case"none":case"nowrap":n="nowrap";break;default:n="wrap"}return n}function ir(n,...t){if(null==n)throw TypeError("Cannot convert undefined or null to object");for(let e of t)if(null!=e)for(let r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);return n}function wt(n,t){return Me((e,r)=>{let i=0;e.subscribe(Ae(r,s=>n.call(t,s,i++)&&r.next(s)))})}function ze(n,t,e){const r=le(n)||t||e?{next:n,error:t,complete:e}:n;return r?Me((i,s)=>{var o;null===(o=r.subscribe)||void 0===o||o.call(r);let a=!0;i.subscribe(Ae(s,l=>{var c;null===(c=r.next)||void 0===c||c.call(r,l),s.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),s.complete()},l=>{var c;a=!1,null===(c=r.error)||void 0===c||c.call(r,l),s.error(l)},()=>{var l,c;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(c=r.finalize)||void 0===c||c.call(r)}))}):hr}const Q1={provide:Mh,useFactory:function Y1(n,t){return()=>{if(Dr(t)){const e=Array.from(n.querySelectorAll(`[class*=${YC}]`)),r=/\bflex-layout-.+?\b/g;e.forEach(i=>{i.classList.contains(`${YC}ssr`)&&i.parentNode?i.parentNode.removeChild(i):i.className.replace(r,"")})}}},deps:[K,Jt],multi:!0},YC="flex-layout-";let Hf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}),n.\u0275inj=ce({providers:[Q1]}),n})();class si{constructor(t=!1,e="all",r="",i="",s=0){this.matches=t,this.mediaQuery=e,this.mqAlias=r,this.suffix=i,this.priority=s,this.property=""}clone(){return new si(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let Z1=(()=>{class n{constructor(){this.stylesheet=new Map}addStyleToElement(e,r,i){const s=this.stylesheet.get(e);s?s.set(r,i):this.stylesheet.set(e,new Map([[r,i]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,r){const i=this.stylesheet.get(e);let s="";if(i){const o=i.get(r);("number"==typeof o||"string"==typeof o)&&(s=o+"")}return s}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const $f={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},Dn=new E("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>$f}),ps=new E("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),Uf=new E("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function QC(n,t){return n=n?.clone()??new si,t&&(n.mqAlias=t.alias,n.mediaQuery=t.mediaQuery,n.suffix=t.suffix,n.priority=t.priority),n}class Be{constructor(){this.shouldCache=!0}sideEffect(t,e,r){}}let Se=(()=>{class n{constructor(e,r,i,s){this._serverStylesheet=e,this._serverModuleLoaded=r,this._platformId=i,this.layoutConfig=s}applyStyleToElement(e,r,i=null){let s={};"string"==typeof r&&(s[r]=i,r=s),s=this.layoutConfig.disableVendorPrefixes?r:WC(r),this._applyMultiValueStyleToElement(s,e)}applyStyleToElements(e,r=[]){const i=this.layoutConfig.disableVendorPrefixes?e:WC(e);r.forEach(s=>{this._applyMultiValueStyleToElement(i,s)})}getFlowDirection(e){const r="flex-direction";let i=this.lookupStyle(e,r);return[i||"row",this.lookupInlineStyle(e,r)||hs(this._platformId)&&this._serverModuleLoaded?i:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,r){return e.getAttribute(r)??""}lookupInlineStyle(e,r){return Dr(this._platformId)?e.style.getPropertyValue(r):function X1(n,t){return ZC(n)[t]??""}(e,r)}lookupStyle(e,r,i=!1){let s="";return e&&((s=this.lookupInlineStyle(e,r))||(Dr(this._platformId)?i||(s=getComputedStyle(e).getPropertyValue(r)):this._serverModuleLoaded&&(s=this._serverStylesheet.getStyleForElement(e,r)))),s?s.trim():""}_applyMultiValueStyleToElement(e,r){Object.keys(e).sort().forEac
1h(i=>{const s=e[i],o=Array.isArray(s)?s:[s];o.sort();for(let a of o)a=a?a+"":"",Dr(this._platformId)||!this._serverModuleLoaded?Dr(this._platformId)?r.style.setProperty(i,a):J1(r,i,a):this._serverStylesheet.addStyleToElement(r,i,a)})}}return n.\u0275fac=function(e){return new(e||n)(v(Z1),v(ps),v(Jt),v(Dn))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function J1(n,t,e){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const r=ZC(n);r[t]=e??"",function eB(n,t){let e="";for(const r in t)t[r]&&(e+=`${r}:${t[r]};`);n.setAttribute("style",e)}(n,r)}function ZC(n){const t={},e=n.getAttribute("style");if(e){const r=e.split(/;+/g);for(let i=0;i<r.length;i++){const s=r[i].trim();if(s.length>0){const o=s.indexOf(":");if(-1===o)throw new Error(`Invalid CSS style: ${s}`);t[s.substr(0,o).trim()]=s.substr(o+1).trim()}}}return t}function Lo(n,t){return(t&&t.priority||0)-(n&&n.priority||0)}function tB(n,t){return(n.priority||0)-(t.priority||0)}let zf=(()=>{class n{constructor(e,r,i){this._zone=e,this._platformId=r,this._document=i,this.source=new At(new si(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((r,i)=>{r.matches&&e.push(i)}),e}isActive(e){return this.registry.get(e)?.matches??this.registerQuery(e).some(i=>i.matches)}observe(e,r=!1){if(e&&e.length){const i=this._observable$.pipe(wt(o=>!r||e.indexOf(o.mediaQuery)>-1));return da(new Ee(o=>{const a=this.registerQuery(e);if(a.length){const l=a.pop();a.forEach(c=>{o.next(c)}),this.source.next(l)}o.complete()}),i)}return this._observable$}registerQuery(e){const r=Array.isArray(e)?e:[e],i=[];return function nB(n,t){const e=n.filter(r=>!XC[r]);if(e.length>0){const r=e.join(", ");try{const i=t.createElement("style");i.setAttribute("type","text/css"),i.styleSheet||i.appendChild(t.createTextNode(`\n/*\n  @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n  see http://bit.ly/2sd4HMP\n*/\n@media ${r} {.fx-query-test{ }}\n`)),t.head.appendChild(i),e.forEach(s=>XC[s]=i)}catch(i){console.error(i)}}}(r,this._document),r.forEach(s=>{const o=l=>{this._zone.run(()=>this.source.next(new si(l.matches,s)))};let a=this.registry.get(s);a||(a=this.buildMQL(s),a.addListener(o),this.pendingRemoveListenerFns.push(()=>a.removeListener(o)),this.registry.set(s,a)),a.matches&&i.push(new si(!0,s))}),i}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function iB(n,t){return t&&window.matchMedia("all").addListener?window.matchMedia(n):function rB(n){const t=new EventTarget;return t.matches="all"===n||""===n,t.media=n,t.addListener=()=>{},t.removeListener=()=>{},t.addEventListener=()=>{},t.dispatchEvent=()=>!1,t.onchange=null,t}(n)}(e,Dr(this._platformId))}}return n.\u0275fac=function(e){return new(e||n)(v(ie),v(Jt),v(K))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const XC={},sB=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],JC="(orientation: portrait) and (max-width: 599.98px)",eD="(orientation: landscape) and (max-width: 959.98px)",tD="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",nD="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",rD="(orientation: portrait) and (min-width: 840px)",iD="(orientation: landscape) and (min-width: 1280px)",sr={HANDSET:`${J
1C}, ${eD}`,TABLET:`${tD} , ${nD}`,WEB:`${rD}, ${iD} `,HANDSET_PORTRAIT:`${JC}`,TABLET_PORTRAIT:`${tD} `,WEB_PORTRAIT:`${rD}`,HANDSET_LANDSCAPE:`${eD}`,TABLET_LANDSCAPE:`${nD}`,WEB_LANDSCAPE:`${iD}`},oB=[{alias:"handset",priority:2e3,mediaQuery:sr.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:sr.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:sr.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:sr.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:sr.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:sr.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:sr.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:sr.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:sr.WEB_PORTRAIT,overlapping:!0}],aB=/(\.|-|_)/g;function lB(n){let t=n.length>0?n.charAt(0):"",e=n.length>1?n.slice(1):"";return t.toUpperCase()+e}const hB=new E("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const n=ye(Uf),t=ye(Dn),e=[].concat.apply([],(n||[]).map(i=>Array.isArray(i)?i:[i]));return function dB(n,t=[]){const e={};return n.forEach(r=>{e[r.alias]=r}),t.forEach(r=>{e[r.alias]?ir(e[r.alias],r):e[r.alias]=r}),function uB(n){return n.forEach(t=>{t.suffix||(t.suffix=function cB(n){return n.replace(aB,"|").split("|").map(lB).join("")}(t.alias),t.overlapping=!!t.overlapping)}),n}(Object.keys(e).map(r=>e[r]))}((t.disableDefaultBps?[]:sB).concat(t.addOrientationBps?oB:[]),e)}});let Gf=(()=>{class n{constructor(e){this.findByMap=new Map,this.items=[...e].sort(tB)}findByAlias(e){return e?this.findWithPredicate(e,r=>r.alias===e):null}findByQuery(e){return this.findWithPredicate(e,r=>r.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e?.suffix??"")}findWithPredicate(e,r){let i=this.findByMap.get(e);return i||(i=this.items.find(r)??null,this.findByMap.set(e,i)),i??null}}return n.\u0275fac=function(e){return new(e||n)(v(hB))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const gs="print",fB={alias:gs,mediaQuery:gs,priority:1e3};let pB=(()=>{class n{constructor(e,r,i){this.breakpoints=e,this.layoutConfig=r,this._document=i,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new gB,this.deactivations=[]}withPrintQuery(e){return[...e,gs]}isPrintEvent(e){return e.mediaQuery.startsWith(gs)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const r=this.breakpoints.findByQuery(e);return(r?[...this.printBreakPoints,r]:this.printBreakPoints).sort(Lo)}updateEvent(e){let r=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(r=this.getEventBreakpoints(e)[0],e.mediaQuery=r?.mediaQuery??""),QC(e,r)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const r=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new si(!0,gs))),e.updateStyles())},i=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",r),this._document.defaultView.addEventListener("afterprint",i),this.beforePrintEventListeners.push(r),this.afterPrintEventListeners.push(i)}interceptEvents(e){return r=>{this.isPrintEvent(r)?r.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(r)),e.updateStyles()):!r.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles()):this.collectActivations(e,r)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,r){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(r)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,r){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!r.matches){const i=this.breakpoints.findByQuery(r.mediaQuery);if(i){const s=this.formerActivations&&this.formerActivations.includes(i),o=!this.formerActivations&&e.activatedBreakpoints.includes(i);(s||o)&&(this.deactivations.push(i),this.deactivations.sort(Lo))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEac
1h(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}}return n.\u0275fac=function(e){return new(e||n)(v(Gf),v(Dn),v(K))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class gB{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(fB),t.sort(Lo),t.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(t){t&&void 0===this.printBreakpoints.find(r=>r.mediaQuery===t.mediaQuery)&&(this.printBreakpoints=function mB(n){return n?.mediaQuery.startsWith(gs)??!1}(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}}let Te=(()=>{class n{constructor(e,r,i){this.matchMedia=e,this.breakpoints=r,this.hook=i,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new _e,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}onMediaChange(e){const r=this.findByQuery(e.mediaQuery);if(r){e=QC(e,r);const i=this.activatedBreakpoints.indexOf(r);e.matches&&-1===i?(this._activatedBreakpoints.push(r),this._activatedBreakpoints.sort(Lo),this.updateStyles()):!e.matches&&-1!==i&&(this._activatedBreakpoints.splice(i,1),this._activatedBreakpoints.sort(Lo),this.updateStyles())}}init(e,r,i,s,o=[]){sD(this.updateMap,e,r,i),sD(this.clearMap,e,r,s),this.buildElementKeyMap(e,r),this.watchExtraTriggers(e,r,o)}getValue(e,r,i){const s=this.elementMap.get(e);if(s){const o=void 0!==i?s.get(i):this.getActivatedValues(s,r);if(o)return o.get(r)}}hasValue(e,r){const i=this.elementMap.get(e);if(i){const s=this.getActivatedValues(i,r);if(s)return void 0!==s.get(r)||!1}return!1}setValue(e,r,i,s){let o=this.elementMap.get(e);if(o){const l=(o.get(s)??new Map).set(r,i);o.set(s,l),this.elementMap.set(e,o)}else o=(new Map).set(s,(new Map).set(r,i)),this.elementMap.set(e,o);const a=this.getValue(e,r);void 0!==a&&this.updateElement(e,r,a)}trackValue(e,r){return this.subject.asObservable().pipe(wt(i=>i.element===e&&i.key===r))}updateStyles(){this.elementMap.forEach((e,r)=>{const i=new Set(this.elementKeyMap.get(r));let s=this.getActivatedValues(e);s&&s.forEach((o,a)=>{this.updateElement(r,a,o),i.delete(a)}
1),i.forEach(o=>{if(s=this.getActivatedValues(e,o),s){const a=s.get(o);this.updateElement(r,o,a)}else this.clearElement(r,o)})})}clearElement(e,r){const i=this.clearMap.get(e);if(i){const s=i.get(r);s&&(s(),this.subject.next({element:e,key:r,value:""}))}}updateElement(e,r,i){const s=this.updateMap.get(e);if(s){const o=s.get(r);o&&(o(i),this.subject.next({element:e,key:r,value:i}))}}releaseElement(e){const r=this.watcherMap.get(e);r&&(r.forEach(s=>s.unsubscribe()),this.watcherMap.delete(e));const i=this.elementMap.get(e);i&&(i.forEach((s,o)=>i.delete(o)),this.elementMap.delete(e))}triggerUpdate(e,r){const i=this.elementMap.get(e);if(i){const s=this.getActivatedValues(i,r);s&&(r?this.updateElement(e,r,s.get(r)):s.forEach((o,a)=>this.updateElement(e,a,o)))}}buildElementKeyMap(e,r){let i=this.elementKeyMap.get(e);i||(i=new Set,this.elementKeyMap.set(e,i)),i.add(r)}watchExtraTriggers(e,r,i){if(i&&i.length){let s=this.watcherMap.get(e);if(s||(s=new Map,this.watcherMap.set(e,s)),!s.get(r)){const a=da(...i).subscribe(()=>{const l=this.getValue(e,r);this.updateElement(e,r,l)});s.set(r,a)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,r){for(let s=0;s<this.activatedBreakpoints.length;s++){const a=e.get(this.activatedBreakpoints[s].alias);if(a&&(void 0===r||a.has(r)&&null!=a.get(r)))return a}if(!this._useFallbacks)return;const i=e.get("");return void 0===r||i&&i.has(r)?i:void 0}observeActivations(){const e=this.breakpoints.items.map(r=>r.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(ze(this.hook.interceptEvents(this)),wt(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return n.\u0275fac=function(e){return new(e||n)(v(zf),v(Gf),v(pB))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function sD(n,t,e,r){if(void 0!==r){const i=n.get(t)??new Map;i.set(e,r),n.set(t,i)}}let Fe=(()=>{class n{constructor(e,r,i,s){this.elementRef=e,this.styleBuilder=r,this.styler=i,this.marshal=s,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new _e,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(r=>{if(-1!==this.inputs.indexOf(r)){const i=r.split(".").slice(1).join(".");this.setValue(e[r].currentValue,i)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,r){const i=this.styleBuilder,s=i.shouldCache;let o=this.styleCache.get(e);(!o||!s)&&(o=i.buildStyles(e,r),s&&this.styleCache.set(e,o)),this.mru={...o},this.applyStyleToElement(o),i.sideEffect(e,o,r)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,r=!1){if(e){const[i,s]=this.styler.getFlowDirection(e);if(!s&&r){const o=qC(i);this.styler.applyStyleToElements(o,[e])}return i.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,r,i=this.nativeElement){this.styler.applyStyleToElement(i,e,r)}setValue(e,r){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,r)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(g(J),g(Be),g(Se),g(Te))},n.\u0275dir=S({type:n,features:[Hn]}),n})();function oD(n,t="1",e="1"){let r=[t,e,n],i=n.indexOf("calc");if(i>0){r[2]=aD(n.substring(i).trim());let s=n.substr(0,i).trim().split(" ");2==s.length&&(r[0]=s[0],r[1]=s[1])}else if(0==i)r[2]=aD(n.trim());else{let s=n.split(" ");r=3===s.length?s:[t,e,n]}return r}function aD(n){return n.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function uc(n,t){if(void 0===t)return n;const e=r=>{const i=+r.slice(0,-"x".length);return n.endsWith("x")&&!isNaN(i)?`${i*t.value}${t.unit}`:n};return n.includes(" ")?n.split(" ").map(e).join(" "):e(n)}function sn(n){return null!=n&&"false"!=`${n}`}function cD(n,t=0){return function _B(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}function dc(n){return Array.isArray(n)?n:[n]}function Ge(n){return null==n?"":"string"==typeof n?n:`${n}px`}function ms(n){return n instanceof J?n.nativeElement:n}function rt(n){return Me((t,e)=>{Ct(n).subscribe(Ae(e,()=>e.complete(),Zc)),!e.closed&&t.subscribe(e)})}EventTarget;let EB=(()=>{class n extends Fe{constructor(e,r,i,s,o,a,l){super(e,null,r,i),this.ngClassInstance=l,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new xo(s,o,e,a)),this.init(),this.setValue("","")}set klass(e){this.ngClassInstance.klass=e,this.setValue(e,"")}updateWithValue(e){this.ngClassInstance.ngClass=e,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return n.\u0275fac=function(e){return new(e||n)(g(J),g(Se),g(Te),g(wo),g(ei),g(ji),g(xo,10))},n.\u0275dir=S({type:n,inputs:{klass:["class","klass"]},features:[F]}),n})();const SB=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let Wf=(()=>
1{class n extends EB{constructor(){super(...arguments),this.inputs=SB}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=X(n)))(r||n)}}(),n.\u0275dir=S({type:n,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[F]}),n})();class RB{constructor(t,e,r=!0){this.key=t,this.value=e,this.key=r?t.replace(/['"]/g,"").trim():t.trim(),this.value=r?e.replace(/['"]/g,"").trim():e.trim(),this.value=this.value.replace(/;/,"")}}function uD(n){let t=typeof n;return"object"===t?n.constructor===Array?"array":n.constructor===Set?"set":"object":t}function hD(n){const[t,...e]=n.split(":");return new RB(t,e.join(":"))}function fD(n,t){return t.key&&(n[t.key]=t.value),n}let kB=(()=>{class n extends Fe{constructor(e,r,i,s,o,a,l,c,u){super(e,null,r,i),this.sanitizer=s,this.ngStyleInstance=l,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new ef(e,o,a)),this.init();const d=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(d),this.isServer=c&&hs(u)}updateWithValue(e){const r=this.buildStyleMap(e);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...r},this.isServer&&this.applyStyleToElement(r),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(e){const r=i=>this.sanitizer.sanitize(he.STYLE,i)??"";if(e)switch(uD(e)){case"string":return gD(function OB(n,t=";"){return String(n).trim().split(t).map(e=>e.trim()).filter(e=>""!==e)}(e),r);case"array":return gD(e,r);default:return function dD(n,t){let e=[];return"set"===uD(n)?n.forEach(r=>e.push(r)):Object.keys(n).forEach(r=>{e.push(`${r}:${n[r]}`)}),function FB(n,t){return n.map(hD).filter(r=>!!r).map(r=>(t&&(r.value=t(r.value)),r)).reduce(fD,{})}(e,t)}(e,r)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return n.\u0275fac=function(e){return new(e||n)(g(J),g(Se),g(Te),g(Io),g(ei
1),g(ji),g(ef,10),g(ps),g(Jt))},n.\u0275dir=S({type:n,features:[F]}),n})();const PB=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let pD=(()=>{class n extends kB{constructor(){super(...arguments),this.inputs=PB}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=X(n)))(r||n)}}(),n.\u0275dir=S({type:n,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[F]}),n})();function gD(n,t){return n.map(hD).filter(r=>!!r).map(r=>(t&&(r.value=t(r.value)),r)).reduce(fD,{})}let mD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}
1),n.\u0275inj=ce({imports:[Hf]}),n})();const LB=new E("cdk-dir-doc",{providedIn:"root",factory:function NB(){return ye(K)}}),BB=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let hc=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new nt,e){const i=e.documentElement?e.documentElement.dir:null;this.value=function VB(n){const t=n?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?BB.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||i||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(v(LB,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ys=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}),n.\u0275inj=ce({}),n})(),jB=(()=>{class n extends Be{buildStyles(e,{display:r}){const i=qC(e);return{...i,display:"none"===r?r:i.display}}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=X(n)))(r||n)}}(),n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const HB=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let $B=(()=>{class n extends Fe{constructor(e,r,i,s,o){super(e,i,r,s),this._config=o,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){const i=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=yD.get(i)??new Map,yD.set(i,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:i}),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(g(J),g(Se),g(jB),g(Te),g(Dn))},n.\u0275dir=S({type:n,features:[F]}),n})(),No=(()=>{class n extends $B{constructor(){super(...arguments),this.inputs=HB}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=X(n)))(r||n)}}(),n.\u0275dir=S({type:n,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[F]}),n})();const yD=new Map,vD={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let UB=(()=>{class n extends Be{constructor(e,r){super(),this._styler=e,this._config=r}buildStyles(e,r){return e.endsWith(fc)?function ZB(n,t){const[e,r]=n.split(" "),s=c=>`-${c}`;let o="0px",a=s(r??e),l="0px";return"rtl"===t?l=s(e):o=s(e),{margin:`0px ${o} ${a} ${l}`}}(e=uc(e=e.slice(0,e.indexOf(fc)),this._config.multiplier),r.directionality):{}}sideEffect(e,r,i){const s=i.items;if(e.endsWith(fc)){const o=function QB(n,t){const[e,r]=n.split(" ");let s="0px",a="0px";return"rtl"===t?a=e:s=e,{padding:`0px ${s} ${r??e} ${a}`}}(e=uc(e=e.slice(0,e.indexOf(fc)),this._config.multiplier),i.directionality);this._styler.applyStyleToElements(o,i.items)}else{e=uc(e,this._config.multiplier),e=this.addFallbackUnit(e);const o=s.pop(),a=function XB(n,t){const e=_D(t.directionality,t.layout),r={...vD};return r[e]=n,r}(e,i);this._styler.applyStyleToElements(a,s),this._styler.applyStyleToElements(vD,[o])}}addFallbackUnit(e){return isNaN(+e)?e:`${e}${this._config.defaultUnit}`}}return n.\u0275fac=function(e){return new(e||n)(v(Se),v(Dn))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const zB=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];let GB=(()=>{class n extends Fe{constructor(e,r,i,s,o,a){super(e,o,s,a),this.zone=r,this.directionality=i,this.styleUtils=s,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=ne
1w _e;const l=[this.directionality.change,this.observerSubject.asObservable()];this.init(l),this.marshal.trackValue(this.nativeElement,"layout").pipe(rt(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const e=this.nativeElement.children,r=[];for(let i=e.length;i--;)r[i]=e[i];return r}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(e){const i=e.value.split(" ");this.layout=i[0],cc.find(s=>s===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(e){const r=this.childrenNodes.filter(i=>1===i.nodeType&&this.willDisplay(i)).sort((i,s)=>{const o=+this.styler.lookupStyle(i,"order"),a=+this.styler.lookupStyle(s,"order");return isNaN(o)||isNaN(a)||o===a?0:o>a?1:-1});if(r.length>0){const i=this.directionality.value,s=this.layout;"row"===s&&"rtl"===i?this.styleCache=WB:"row"===s&&"rtl"!==i?this.styleCache=KB:"column"===s&&"rtl"===i?this.styleCache=qB:"column"===s&&"rtl"!==i&&(this.styleCache=YB),this.addStyles(e,{directionality:i,items:r,layout:s})}}clearStyles(){const e=Object.keys(this.mru).length>0,r=e?"padding":_D(this.directionality.value,this.layout);e&&super.clearStyles(),this.styleUtils.applyStyleToElements({[r]:""},this.childrenNodes)}willDisplay(e){const r=this.marshal.getValue(e,"show-hide");return!0===r||void 0===r&&"none"!==this.styleUtils.lookupStyle(e,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(e=>{e.some(i=>i.addedNodes&&i.addedNodes.length>0||i.removedNodes&&i.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return n.\u0275fac=function(e){return new(e||n)(g(J),g(ie),g(hc),g(Se),g(UB),g(Te))},n.\u0275dir=S({type:n,features:[F]}),n})(),Bo=(()=>{class n extends GB{constructor(){super(...arguments),this.inputs=zB}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=X(n)))(r||n)}}(),n.\u0275dir=S({type:n,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[F]}),n})();const WB=new Map,qB=new Map,KB=new Map,YB=new Map,fc=" grid";function _D(n,t){switch(t){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":default:return"rtl"===n?"margin-left":"margin-right";case"row-reverse":return"rtl"===n?"margin-right":"margin-left"}}let JB=(()=>{class n extends Be{constructor(e){super(),this.layoutConfig=e}buildStyles(e,r){let[i,s,...o]=e.split(" "),a=o.join(" ");const l=r.direction.indexOf("column")>-1?"column":"row",c=Po(l)?"max-width":"max-height",u=Po(l)?"min-width":"min-height",d=String(a).indexOf("calc")>-1,h=d||"auto"===a,f=String(a).indexOf("%")>-1&&!d,p=String(a).indexOf("px")>-1||String(a).indexOf("rem")>-1||String(a).indexOf("em")>-1||String(a).indexOf("vw")>-1||String(a).indexOf("vh")>-1;let m=d||p;i="0"==i?0:i,s="0"==s?0:s;const y=!i&&!s;let _={};const C={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(a||""){case"":const b=!1!==this.layoutConfig.useColumnBasisZero;a="row"===l?"0%":b?"0.000000001px":"auto";break;case"initial":case"nogrow":i=0,a="auto";break;case"grow":a="100%";break;case"noshrink":s=0,a="auto";break;case"auto":break;case"none":i=0,s=0,a="auto";break;default:!m&&!f&&!isNaN(a)&&(a+="%"),"0%"===a&&(m=!0),"0px"===a&&(a="0%"),_=ir(C,d?{"flex-grow":i,"flex-shrink":s,"flex-basis":m?a:"100%"}:{flex:`${i} ${s} ${m?a:"100%"}`})}return _.flex||_["flex-grow"]||(_=ir(C,d?{"flex-grow":i,"flex-shrink":s,"flex-basis":a}:{flex:`${i} ${s} ${a}`})),"0%"!==a&&"0px"!==a&&"0.000000001px"!==a&&"auto"!==a&&(_[u]=y||m&&i?a:null,_[c]=y||!h&&s?a:null),_[u]||_[c]?r.hasWrap&&(_[d?"flex-basis":"flex"]=_[c]?d?_[c]:`${i} ${s} ${_[c]}`:d?_[u]:`${i} ${s} ${_[u]}`):_=ir(C,d?{"flex-grow":i,"flex-shrink":s,"flex-basis":a}:{flex:`${i} ${s} ${a}`}),ir(_,{"box-sizing":"border-box"})}}return n.\u0275fac=function(e){return new(e||n)(v(Dn))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const eV=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let tV=(()=>{class n extends Fe{constructor(e,r,i,s,o){super(e,s,r,o),this.layoutConfig=i,this.marshal=o,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(rt(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(rt(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){const i=e.value.split(" ");this.direction=i[0],this.wrap=void 0!==i[1]&&"wrap"===i[1],this.triggerUpdate()}updateWithValue(e){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const i=this.direction,s=i.startsWith("row"),o=this.wrap;s&&o?this.styleCache=iV:s&&!o?this.styleCache=nV:!s&&o?this.styleCache=sV:!s&&!o&&
1(this.styleCache=rV);const l=oD(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(l.join(" "),{direction:i,hasWrap:o})}triggerReflow(){const e=this.activatedValue;if(void 0!==e){const r=oD(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,r.join(" "))}}}return n.\u0275fac=function(e){return new(e||n)(g(J),g(Se),g(Dn),g(JB),g(Te))},n.\u0275dir=S({type:n,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[F]}),n})(),bD=(()=>{class n extends tV{constructor(){super(...arguments),this.inputs=eV}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=X(n)))(r||n)}}(),n.\u0275dir=S({type:n,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[F]}),n})();const nV=new Map,rV=new Map,iV=new Map,sV=new Map;let AV=(()=>{class n extends Be{buildStyles(e,r){const i={},[s,o]=e.split(" ");switch(s){case"center":i["justify-content"]="center";break;case"space-around":i["justify-content"]="space-around";break;case"space-between":i["justify-content"]="space-between";break;case"space-evenly":i["justify-content"]="space-evenly";break;case"end":case"flex-end":i["justify-content"]="flex-end";break;default:i["justify-content"]="flex-start"}switch(o){case"start":case"flex-start":i["align-items"]=i["align-content"]="flex-start";break;case"center":i["align-items"]=i["align-content"]="center";break;case"end":case"flex-end":i["align-items"]=i["align-content"]="flex-end";break;case"space-between":i["align-content"]="space-between",i["align-items"]="stretch";break;case"space-around":i["align-content"]="space-around",i["align-items"]="stretch";break;case"baseline":i["align-content"]="stretch",i["align-items"]="baseline";break;default:i["align-items"]=i["align-content"]="stretch"}return ir(i,{display:r.inline?"inline-flex":"flex","flex-direction":r.layout,"box-sizing":"border-box","max-width":"stretch"===o?Po(r.layout)?null:"100%":null,"max-height":"stretch"===o&&Po(r.layout)?"100%":null})}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=X(n)))(r||n)}}(),n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const IV=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let TV=(()=>{class n extends Fe{constructor(e,r,i,s){super(e,i,r,s),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(rt(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){const r=this.layout||"row",i=this.inline;"row"===r&&i?this.styleCache=PV:"row"!==r||i?"row-reverse"===r&&i?this.styleCache=NV:"row-reverse"!==r||i?"column"===r&&i?this.styleCache=LV:"column"!==r||i?"column-reverse"===r&&i?this.styleCache=BV:"column-reverse"===r&&!i&&(this.styleCache=kV):this.styleCache=OV:this.styleCache=FV:this.styleCache=RV,this.addStyles(e,{layout:r,inline:i})}onLayoutChange(e){const r=e.value.split(" ");this.layout=r[0],this.inline=e.value.includes("inline"),cc.find(i=>i===this.layout)||(this.layout="row"),this.triggerUpdate()}}return n.\u0275fac=function(e){return new(e||n)(g(J),g(Se),g(AV),g(Te))},n.\u0275dir=S({type:n,features:[F]}),n})(),Vo=(()=>{class n extends TV{constructor(){super(...arguments),this.inputs=IV}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=X(n)))(r||n)}}(),n.\u0275dir=S({type:n,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm"
1:"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[F]}),n})();const RV=new Map,OV=new Map,FV=new Map,kV=new Map,PV=new Map,LV=new Map,NV=new Map,BV=new Map;let wD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}),n.\u0275inj=ce({imports:[Hf,ys]}),n})();const xD="stretch";let WV=(()=>{class n extends Be{buildStyles(e,r){return function ZV(n,t){const e={},[r,i]=n.split(" ");switch(r){case"center":e["align-content"]="center";break;case"space-around":e["align-content"]="space-around";break;case"space-between":e["align-content"]="space-between";break;case"space-evenly":e["align-content"]="space-evenly";break;case"end":e["align-content"]="end";break;case"start":default:e["align-content"]="start";break;case"stretch":e["align-content"]="stretch"}switch(i){case"start":e["align-items"]="start";break;case"center":e["align-items"]="center";break;case"end":e["align-items"]="end";break;case"stretch":e["align-items"]="stretch";break;default:e["align-items"]=xD}return e.display=t?"inline-grid":"grid",e}(e||`start ${xD}`,r.inline)}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=X(n)))(r||n)}}(),n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),qV=(()=>{class n extends Fe{constructor(e,r,i,s){super(e,r,i,s),this.DIRECTIVE_KEY="grid-align-columns",this._inline=!1,this.init()}get inline(){return this._inline}set inline(e){this._inline=sn(e)}updateWithValue(e){this.styleCache=this.inline?YV:KV,this.addStyles(e,{inline:this.inline})}}return n.\u0275fac=function(e){return new(e||n)(g(J),g(WV),g(Se),g(Te))},n.\u0275dir=S({type:n,inputs:{inline:["gdInline","inline"]},features:[F]}),n})();const KV=new Map,YV=new Map,QV=["gdAlignColumns","gdAlignColumns.xs","gdAlignColumns.sm","gdAlignColumns.md","gdAlignColumns.lg","gdAlignColumns.xl","gdAlignColumns.lt-sm","gdAlignColumns.lt-md","gdAlignColumns.lt-lg","gdAlignColumns.lt-xl","gdAlignColumns.gt-xs","gdAlignColumns.gt-sm","gdAlignColumns.gt-md","gdAlignColumns.gt-lg"];let ED=(()=>{class n extends qV{constructor(){super(...arguments),this.inputs=QV}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=X(n)))(r||n)}}(),n.\u0275dir=S({type:n,selectors:[["","gdAlignColumns",""],["","gdAlignColumns.xs",""],["","gdAlignColumns.sm",""],["","gdAlignColumns.md",""],["","gdAlignColumns.lg",""],["","gdAlignColumns.xl",""],["","gdAlignColumns.lt-sm",""],["","gdAlignColumns.lt-md",""],["","gdAlignColumns.lt-lg",""],["","gdAlignColumns.lt-xl",""],["","gdAlignColumns.gt-xs",""],["","gdAlignColumns.gt-sm",""],["","gdAlignColumns.gt-md",""],["","gdAlignColumns.gt-lg",""]],inputs:{gdAlignColumns:"gdAlignColumns","gdAlignColumns.xs":"gdAlignColumns.xs","gdAlignColumns.sm":"gdAlignColumns.sm","gdAlignColumns.md":"gdAlignColumns.md","gdAlignColumns.lg":"gdAlignColumns.lg","gdAlignColumns.xl":"gdAlignColumns.xl","gdAlignColumns.lt-sm":"gdAlignColumns.lt-sm","gdAlignColumns.lt-md":"gdAlignColumns.lt-md","gdAlignColumns.lt-lg":"gdAlignColumns.lt-lg","gdAlignColumns.lt-xl":"gdAlignColumns.lt-xl","gdAlignColumns.gt-xs":"gdAlignColumns.gt-xs","gdAlignColumns.gt-sm":"gdAlignColumns.gt-sm","gdAlignColumns.gt-md":"gdAlignColumns.gt-md","gdAlignColumns.gt-lg":"gdAlignColumns.gt-lg"},features:[F]}),n})(),Fj=(()=>{class n extends Be{buildStyles(e,r){let i=!1;(e=e||"none").endsWith("!")&&(e=e.substring(0,e.indexOf("!")),i=!0);const s={display:r.inline?"inline-grid":"grid","grid-auto-columns":"","grid-template-columns":""};return s[i?"grid-auto-columns":"grid-template-columns"]=e,s}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=X(n)))(r||n)}}(),n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),kj=(()=>{class n extends Fe{constructor(e,r,i,s){super(e,r,i,s),this.DIRECTIVE_KEY="grid-columns",this._inline=!1,this.init()}get inline(){return this._inline}set inline(e){this._inline=sn(e)}
1updateWithValue(e){this.styleCache=this.inline?Lj:Pj,this.addStyles(e,{inline:this.inline})}}return n.\u0275fac=function(e){return new(e||n)(g(J),g(Fj),g(Se),g(Te))},n.\u0275dir=S({type:n,inputs:{inline:["gdInline","inline"]},features:[F]}),n})();const Pj=new Map,Lj=new Map,Nj=["gdColumns","gdColumns.xs","gdColumns.sm","gdColumns.md","gdColumns.lg","gdColumns.xl","gdColumns.lt-sm","gdColumns.lt-md","gdColumns.lt-lg","gdColumns.lt-xl","gdColumns.gt-xs","gdColumns.gt-sm","gdColumns.gt-md","gdColumns.gt-lg"];let ID=(()=>{class n extends kj{constructor(){super(...arguments),this.inputs=Nj}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=X(n)))(r||n)}}(),n.\u0275dir=S({type:n,selectors:[["","gdColumns",""],["","gdColumns.xs",""],["","gdColumns.sm",""],["","gdColumns.md",""],["","gdColumns.lg",""],["","gdColumns.xl",""],["","gdColumns.lt-sm",""],["","gdColumns.lt-md",""],["","gdColumns.lt-lg",""],["","gdColumns.lt-xl",""],["","gdColumns.gt-xs",""],["","gdColumns.gt-sm",""],["","gdColumns.gt-md",""],["","gdColumns.gt-lg",""]],inputs:{gdColumns:"gdColumns","gdColumns.xs":"gdColumns.xs","gdColumns.sm":"gdColumns.sm","gdColumns.md":"gdColumns.md","gdColumns.lg":"gdColumns.lg","gdColumns.xl":"gdColumns.xl","gdColumns.lt-sm":"gdColumns.lt-sm","gdColumns.lt-md":"gdColumns.lt-md","gdColumns.lt-lg":"gdColumns.lt-lg","gdColumns.lt-xl":"gdColumns.lt-xl","gdColumns.gt-xs":"gdColumns.gt-xs","gdColumns.gt-sm":"gdColumns.gt-sm","gdColumns.gt-md":"gdColumns.gt-md","gdColumns.gt-lg":"gdColumns.gt-lg"},features:[F]}),n})(),Vj=(()=>{class n extends Be{buildStyles(e,r){return{display:r.inline?"inline-grid":"grid","grid-gap":e||"0"}}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=X(n)))(r||n)}}(),n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),jj=(()=>{class n extends Fe{constructor(e,r,i,s){super(e,i,r,s),this.DIRECTIVE_KEY="grid-gap",this._inline=!1,this.init()}get inline(){return this._inline}set inline(e){this._inline=sn(e)}updateWithValue(e){this.styleCache=this.inline?$j:Hj,this.addStyles(e,{inline:this.inline})}}return n.\u0275fac=function(e){return new(e||n)(g(J),g(Se),g(Vj),g(Te))},n.\u0275dir=S({type:n,inputs:{inline:["gdInline","inline"]},features:[F]}),n})();const Hj=new Map,$j=new Map,Uj=["gdGap","gdGap.xs","gdGap.sm","gdGap.md","gdGap.lg","gdGap.xl","gdGap.lt-sm","gdGap.lt-md","gdGap.lt-lg","gdGap.lt-xl","gdGap.gt-xs","gdGap.gt-sm","gdGap.gt-md","gdGap.gt-lg"];let TD=(()=>{class n extends jj{constructor(){super(...arguments),this.inputs=Uj}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=X(n)))(r||n)}}(),n.\u0275dir=S({type:n,selectors:[["","gdGap",""],["","gdGap.xs",""],["","gdGap.sm",""],["","gdGap.md",""],["","gdGap.lg",""],["","gdGap.xl",""],["","gdGap.lt-sm",""],["","gdGap.lt-md",""],["","gdGap.lt-lg",""],["","gdGap.lt-xl",""],["","gdGap.gt-xs",""],["","gdGap.gt-sm",""],["","gdGap.gt-md",""],["","gdGap.gt-lg",""]],inputs:{gdGap:"gdGap","gdGap.xs":"gdGap.xs","gdGap.sm":"gdGap.sm","gdGap.md":"gdGap.md","gdGap.lg":"gdGap.lg","gdGap.xl":"gdGap.xl","gdGap.lt-sm":"gdGap.lt-sm","gdGap.lt-md":"gdGap.lt-md","gdGap.lt-lg":"gdGap.lt-lg","gdGap.lt-xl":"gdGap.lt-xl","gdGap.gt-xs":"gdGap.gt-xs","gdGap.gt-sm":"gdGap.gt-sm","gdGap.gt-md":"gdGap.gt-md","gdGap.gt-lg":"gdGap.gt-lg"},features:[F]}),n})(),OD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}
1),n.\u0275inj=ce({imports:[Hf]}),n})(),r2=(()=>{class n{constructor(e,r){hs(r)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,r=[]){return{ngModule:n,providers:e.serverLoaded?[{provide:Dn,useValue:{...$f,...e}},{provide:Uf,useValue:r,multi:!0},{provide:ps,useValue:!0}]:[{provide:Dn,useValue:{...$f,...e}},{provide:Uf,useValue:r,multi:!0}]}}}return n.\u0275fac=function(e){return new(e||n)(v(ps),v(Jt))},n.\u0275mod=de({type:n}),n.\u0275inj=ce({imports:[wD,mD,OD,wD,mD,OD]}),n})();function O(...n){return je(n,ks(n))}const pc=Os(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:s2}=Array,{getPrototypeOf:o2,prototype:a2,keys:l2}=Object;function FD(n){if(1===n.length){const t=n[0];if(s2(t))return{args:t,keys:null};if(function c2(n){return n&&"object"==typeof n&&o2(n)===a2}(t)){const e=l2(t);return{args:e.map(r=>t[r]),keys:e}}}return{args:n,keys:null}}const{isArray:u2}=Array;function Kf(n){return $(t=>function d2(n,t){return u2(t)?n(...t):n(t)}(n,t))}function kD(n,t){return n.reduce((e,r,i)=>(e[r]=t[i],e),{})}function Yf(...n){const t=ks(n),e=wg(n),{args:r,keys:i}=FD(n);if(0===r.length)return je([],t);const s=new Ee(function h2(n,t,e=hr){return r=>{PD(t,()=>{const{length:i}=n,s=new Array(i);let o=i,a=i;for(let l=0;l<i;l++)PD(t,()=>{const c=je(n[l],t);let u=!1;c.subscribe(Ae(r,d=>{s[l]=d,u||(u=!0,a--),a||r.next(e(s.slice()))},()=>{--o||r.complete()}))},r)},r)}}(r,t,i?o=>kD(i,o):hr));return e?s.pipe(Kf(e)):s}function PD(n,t,e){n?Nn(e,n,t):t()}function LD(){return mi(1)}function gc(...n){return LD()(je(n,ks(n)))}function ND(n){return new Ee(t=>{Ct(n()).subscribe(t)})}function vs(n,t){const e=le(n)?n:()=>n,r=i=>i.error(e());return new Ee(t?i=>t.schedule(r,0,i):r)}function Qf(){return Me((n,t)=>{let e=null;n._refCount++;const r=Ae(t,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(e=null);const i=n._connection,s=e;e=null,i&&(!s||i===s)&&i.unsubscribe(),t.unsubscribe()});n.subscribe(r),r.closed||(e=n.connect())})}class BD extends Ee{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,ag(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new Ze;const e=this.getSubject();t.add(this.source.subscribe(Ae(e,void 0,()=>{this._teardown(),e.complete()},r=>{this._teardown(),e.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=Ze.EMPTY)}return t}refCount(){return Qf()(this)}}function kn(n,t){return Me((e,r)=>{let i=null,s=0,o=!1;const a=()=>o&&!i&&r.complete();e.subscribe(Ae(r,l=>{i?.unsubscribe();let c=0;const u=s++;Ct(n(l,u)).subscribe(i=Ae(r,d=>r.next(t?t(l,d,u,c++):d),()=>{i=null,a()}))},()=>{o=!0,a()}))})}function or(n){return n<=0?()=>Bn:Me((t,e)=>{let r=0;t.subscribe(Ae(e,i=>{++r<=n&&(e.next(i),n<=r&&e.complete())}))})}function VD(...n){const t=ks(n);return Me((e,r)=>{(t?gc(n,e,t):gc(n,e)).subscribe(r)})}function mc(n){return Me((t,e)=>{let r=!1;t.subscribe(Ae(e,i=>{r=!0,e.next(i)},()=>{r||e.next(n),e.complete()}))})}function jD(n=f2){return Me((t,e)=>{let r=!1;t.subscribe(Ae(e,i=>{r=!0,e.next(i)},()=>r?e.complete():e.error(n())))})}function f2(){return new pc}function Ar(n,t){const e=arguments.length>=2;return r=>r.pipe(n?wt((i,s)=>n(i,s,r)):hr,or(1),e?mc(t):jD(()=>new pc))}function Ir(n,t){return le(t)?Xe(n,t,1):Xe(n,1)}function ar(n){return Me((t,e)=>{let s,r=null,i=!1;r=t.subscribe(Ae(e,void 0,void 0,o=>{s=Ct(n(o,ar(n)(t))),r?(r.unsubscribe(),r=null,s.subscribe(e)):i=!0})),i&&(r.unsubscribe(),r=null,s.subscribe(e))})}function HD(n,t,e,r,i){return(s,o)=>{let a=e,l=t,c=0;s.subscribe(Ae(o,u=>{const d=c++;l=a?n(l,u,d):(a=!0,u),r&&o.next(l)},i&&(()=>{a&&o.next(l),o.complete()})))}}function $D(n,t){return Me(HD(n,t,arguments.length>=2,!0))}function Zf(n){return n<=0?()=>Bn:Me((t,e)=>{let r=[];t.subscribe(Ae(e,i=>{r.push(i),n<r.length&&r.shift()},()=>{for(const i of r)e.next(i);e.complete()},void 0,()=>{r=null}))})}function UD(n,t){const e=arguments.length>=2;return r=>r.pipe(n?wt((i,s)=>n(i,s,r)):hr,Zf(1),e?mc(t):jD(()=>new pc))}function jo(n){return Me((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}const G="primary",Ho=Symbol("RouteTitle");class m2{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function _s(n){return new m2(n)}function y2(n,t,e){const r=e.path.split("/");if(r.length>n.length||"full"===e.pathMatch&&(t.hasChildren()||r.length<n.length))return null;const i={};for(let s=0;s<r.length;s++){const o=r[s],a=n[s];if(o.startsWith(":"))i[o.substring(1)]=a;else if(o!==a.path)return null}return{consumed:n.slice(0,r.length),posParams:i}}function Pn(n,t){const e=n?Object.keys(n):void 0,r=t?Object.keys(t):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let s=0;s<e.length;s++)if(i=e[s],!zD(n[i],t[i]))return!1;return!0}function zD(n,t){if(Array.isArray(n)&&Array.isArray(t)){if(n.length!==t.length)return!1;const e=[...n].sort(),r=[...t].sort();return e.every((i,s)=>r[s]===i)}return n===t}function GD(n){return Array.prototype.concat.apply([],n)}function WD(n){return n.length>0?n[n.length-1]:null}function st(n,t){for(const e in n)n.hasOwnProperty(e)&&t(n[e],e)}function Tr(n){return Tv(n)?n:ll(n)?je(Promise.resolve(n)):O(n)}const b2={exact:function YD(n,t,e){if(!ai(n.segments,t.segments)||!yc(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!n.children[r]||!YD(n.children[r],t.children[r],e))return!1;return!0},subset:QD},qD={exact:function w2(n,t){return Pn(n,t)},subset:function C2(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>zD(n[e],t[e]))},ignored:()=>!0};function KD(n,t,e){return b2[e.paths](n.root,t.root,e.matrixParams)&&qD[e.queryParams](n.queryParams,t.queryParams)&&!("exact"===e.fragment&&n.fragment!==t.fragment)}function QD(n,t,e){return ZD(n,t,t.segments,e)}function ZD(n,t,e,r){if(n.segments.length>e.length){const i=n.segments.slice(0,e.length);
1return!(!ai(i,e)||t.hasChildren()||!yc(i,e,r))}if(n.segments.length===e.length){if(!ai(n.segments,e)||!yc(n.segments,e,r))return!1;for(const i in t.children)if(!n.children[i]||!QD(n.children[i],t.children[i],r))return!1;return!0}{const i=e.slice(0,n.segments.length),s=e.slice(n.segments.length);return!!(ai(n.segments,i)&&yc(n.segments,i,r)&&n.children[G])&&ZD(n.children[G],t,s,r)}}function yc(n,t,e){return t.every((r,i)=>qD[e](n[i].parameters,r.parameters))}class oi{constructor(t,e,r){this.root=t,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_s(this.queryParams)),this._queryParamMap}toString(){return E2.serialize(this)}}class ne{constructor(t,e){this.segments=t,this.children=e,this.parent=null,st(e,(r,i)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return vc(this)}}class $o{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=_s(this.parameters)),this._parameterMap}toString(){return tx(this)}}function ai(n,t){return n.length===t.length&&n.every((e,r)=>e.path===t[r].path)}let XD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:function(){return new Jf},providedIn:"root"}),n})();class Jf{parse(t){const e=new k2(t);return new oi(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${Uo(t.root,!0)}`,r=function A2(n){const t=Object.keys(n).map(e=>{const r=n[e];return Array.isArray(r)?r.map(i=>`${_c(e)}=${_c(i)}`).join("&"):`${_c(e)}=${_c(r)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${e}${r}${"string"==typeof t.fragment?`#${function S2(n){return encodeURI(n)}(t.fragment)}`:""}`}}const E2=new Jf;function vc(n){return n.segments.map(t=>tx(t)).join("/")}function Uo(n,t){if(!n.hasChildren())return vc(n);if(t){const e=n.children[G]?Uo(n.children[G],!1):"",r=[];return st(n.children,(i,s)=>{s!==G&&r.push(`${s}:${Uo(i,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}{const e=function x2(n,t){let e=[];return st(n.children,(r,i)=>{i===G&&(e=e.concat(t(r,i)))}),st(n.children,(r,i)=>{i!==G&&(e=e.concat(t(r,i)))}),e}(n,(r,i)=>i===G?[Uo(n.children[G],!1)]:[`${i}:${Uo(r,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[G]?`${vc(n)}/${e[0]}`:`${vc(n)}/(${e.join("//")})`}}function JD(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function _c(n){return JD(n).replace(/%3B/gi,";")}function ep(n){return JD(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function bc(n){return decodeURIComponent(n)}function ex(n){return bc(n.replace(/\+/g,"%20"))}function tx(n){return`${ep(n.path)}${function M2(n){return Object.keys(n).map(t=>`;${ep(t)}=${ep(n[t])}`).join("")}(n.parameters)}`}const I2=/^[^\/()?;=#]+/;function wc(n){const t=n.match(I2);return t?t[0]:""}const T2=/^[^=?&#]+/,O2=/^[^&#]+/;class k2{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ne([],{}):new ne([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(r[G]=new ne(t,e)),r}parseSegment(){const t=wc(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new D(4009,!1);return this.capture(t),new $o(bc(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=wc(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){const i=wc(this.remaining);i&&(r=i,this.capture(r))}t[bc(e)]=bc(r)}parseQueryParam(t){const e=function R2(n){const t=n.match(T2);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){const o=function F2(n){const t=n.match(O2);return t?t[0]:""}(this.remaining);o&&(r=o,this.capture(r))}const i=ex(e),s=ex(r);if(t.hasOwnProperty(i)){let o=t[i];Array.isArray(o)||(o=[o],t[i]=o),o.push(s)}else t[i]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=wc(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new D(4010,!1);let s;r.indexOf(":")>-1?(s=r.slice(0,r.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=G);const o=this.parseChildren();e[s]=1===Object.keys(o).length?o[G]:new ne([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new D(4011,!1)}}function tp(n){return n.segments.length>0?new ne([],{[G]:n}):n}function Cc(n){const t={};for(const r of Object.keys(n.children)){const s=Cc(n.children[r]);(s.segments.length>0||s.hasChildren())&&(t[r]=s)}return function P2(n){if(1===n.numberOfChildren&&n.children[G]){const t=n.children[G];return new ne(n.segments.concat(t.segments),t.children)}return n}(new ne(n.segments,t))}function li(n){return n instanceof oi}function B2(n,t,e,r,i){if(0===e.length)return bs(t.root,t.root,t.root,r,i);const s=function ix(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new rx(!0,0,n);let t=0,e=!1;const r=n.reduce((i,s,o)=>
1{if("object"==typeof s&&null!=s){if(s.outlets){const a={};return st(s.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...i,{outlets:a}]}if(s.segmentPath)return[...i,s.segmentPath]}return"string"!=typeof s?[...i,s]:0===o?(s.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?t++:""!=a&&i.push(a))}),i):[...i,s]},[]);return new rx(e,t,r)}(e);return s.toRoot()?bs(t.root,t.root,new ne([],{}),r,i):function o(l){const c=function j2(n,t,e,r){if(n.isAbsolute)return new ws(t.root,!0,0);if(-1===r)return new ws(e,e===t.root,0);return function sx(n,t,e){let r=n,i=t,s=e;for(;s>i;){if(s-=i,r=r.parent,!r)throw new D(4005,!1);i=r.segments.length}return new ws(r,!1,i-s)}(e,r+(zo(n.commands[0])?0:1),n.numberOfDoubleDots)}(s,t,n.snapshot?._urlSegment,l),u=c.processChildren?Wo(c.segmentGroup,c.index,s.commands):rp(c.segmentGroup,c.index,s.commands);return bs(t.root,c.segmentGroup,u,r,i)}(n.snapshot?._lastPathIndex)}function zo(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Go(n){return"object"==typeof n&&null!=n&&n.outlets}function bs(n,t,e,r,i){let o,s={};r&&st(r,(l,c)=>{s[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`}),o=n===t?e:nx(n,t,e);const a=tp(Cc(o));return new oi(a,s,i)}function nx(n,t,e){const r={};return st(n.children,(i,s)=>{r[s]=i===t?e:nx(i,t,e)}),new ne(n.segments,r)}class rx{constructor(t,e,r){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=r,t&&r.length>0&&zo(r[0]))throw new D(4003,!1);const i=r.find(Go);if(i&&i!==WD(r))throw new D(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ws{constructor(t,e,r){this.segmentGroup=t,this.processChildren=e,this.index=r}}function rp(n,t,e){if(n||(n=new ne([],{})),0===n.segments.length&&n.hasChildren())return Wo(n,t,e);const r=function $2(n,t,e){let r=0,i=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;i<n.segments.length;){if(r>=e.length)return s;const o=n.segments[i],a=e[r];if(Go(a))break;const l=`${a}`,c=r<e.length-1?e[r+1]:null;if(i>0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!ax(l,c,o))return s;r+=2}else{if(!ax(l,{},o))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(n,t,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<n.segments.length){const s=new ne(n.segments.slice(0,r.pathIndex),{});return s.children[G]=new ne(n.segments.slice(r.pathIndex),n.children),Wo(s,0,i)}return r.match&&0===i.length?new ne(n.segments,{}):r.match&&!n.hasChildren()?ip(n,t,e):r.match?Wo(n,0,i):ip(n,t,e)}function Wo(n,t,e){if(0===e.length)return new ne(n.segments,{});{const r=function H2(n){return Go(n[0])?n[0].outlets:{[G]:n}}(e),i={};return st(r,(s,o)=>{"string"==typeof s&&(s=[s]),null!==s&&(i[o]=rp(n.children[o],t,s))}),st(n.children,(s,o)=>{void 0===r[o]&&(i[o]=s)}),new ne(n.segments,i)}}function ip(n,t,e){const r=n.segments.slice(0,t);let i=0;for(;i<e.length;){const s=e[i];if(Go(s)){const l=U2(s.outlets);return new ne(r,l)}if(0===i&&zo(e[0])){r.push(new $o(n.segments[t].path,ox(e[0]))),i++;continue}const o=Go(s)?s.outlets[G]:`${s}`,a=i<e.length-1?e[i+1]:null;o&&a&&zo(a)?(r.push(new $o(o,ox(a))),i+=2):(r.push(new $o(o,{})),i++)}return new ne(r,{})}function U2(n){const t={};return st(n,(e,r)=>{"string"==typeof e&&(e=[e]),null!==e&&(t[r]=ip(new ne([],{}),0,e))}),t}function ox(n){const t={};return st(n,(e,r)=>t[r]=`${e}`),t}function ax(n,t,e){return n==e.path&&Pn(t,e.parameters)}class lr{constructor(t,e){this.id=t,this.url=e}}class Dc extends lr{constructor(t,e,r="imperative",i=null){super(t,e),this.type=0,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class cr extends lr{constructor(t,e,r){super(t,e),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class qo extends lr{constructor(t,e,r,i){super(t,e),this.reason=r,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class sp extends lr{constructor(t,e,r,i){super(t,e),this.error=r,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class lx extends lr{constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class cx extends lr{constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ux extends lr{constructor(t,e,r,i,s){super(t,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=s,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class dx extends lr{constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hx extends lr{constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fx{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class px{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class gx{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mx{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yx{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vx{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class op{constructor(t,e,r){this.routerEvent=t,this.position=e,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class _x{constructor(t){this._root=t}get root(){return this._root.value}
1parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=ap(t,this._root);return e?e.children.map(r=>r.value):[]}firstChild(t){const e=ap(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=lp(t,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return lp(t,this._root).map(e=>e.value)}}function ap(n,t){if(n===t.value)return t;for(const e of t.children){const r=ap(n,e);if(r)return r}return null}function lp(n,t){if(n===t.value)return[t];for(const e of t.children){const r=lp(n,e);if(r.length)return r.unshift(t),r}return[]}class ur{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Cs(n){const t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}class bx extends _x{constructor(t,e){super(t),this.snapshot=e,cp(this,t)}toString(){return this.snapshot.toString()}}function wx(n,t){const e=function G2(n,t){const o=new xc([],{},{},"",{},G,t,null,n.root,-1,{});return new Dx("",new ur(o,[]))}(n,t),r=new At([new $o("",{})]),i=new At({}),s=new At({}),o=new At({}),a=new At(""),l=new on(r,i,o,a,s,G,t,e.root);return l.snapshot=e.root,new bx(new ur(l,[]),e)}class on{constructor(t,e,r,i,s,o,a,l){this.url=t,this.params=e,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=a,this.title=this.data?.pipe($(c=>c[Ho]))??O(void 0),this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe($(t=>_s(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe($(t=>_s(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Cx(n,t="emptyOnly"){const e=n.pathFromRoot;let r=0;if("always"!==t)for(r=e.length-1;r>=1;){const i=e[r],s=e[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(s.component)break;r--}}return function W2(n){return n.reduce((t,e)=>({params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(r))}class xc{constructor(t,e,r,i,s,o,a,l,c,u,d,h){this.url=t,this.params=e,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=a,this.title=this.data?.[Ho],this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=u,this._correctedLastPathIndex=h??u,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=_s(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_s(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Dx extends _x{constructor(t,e){super(e),this.url=t,cp(this,e)}toString(){return xx(this._root)}}function cp(n,t){t.value._routerState=n,t.children.forEach(e=>cp(n,e))}function xx(n){const t=n.children.length>0?` { ${n.children.map(xx).join(", ")} } `:"";return`${n.value}${t}`}function up(n){if(n.snapshot){const t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Pn(t.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),t.fragment!==e.fragment&&n.fragment.next(e.fragment),Pn(t.params,e.params)||n.params.next(e.params),function v2(n,t){if(n.length!==t.length)return!1;for(let e=0;e<n.length;++e)if(!Pn(n[e],t[e]))return!1;return!0}(t.url,e.url)||n.url.next(e.url),Pn(t.data,e.data)||n.data.next(e.data)}else n.snapshot=n._futureSnapshot,n.data.next(n._futureSnapshot.data)}function dp(n,t){const e=Pn(n.params,t.params)&&function D2(n,t){return ai(n,t)&&n.every((e,r)=>Pn(e.parameters,t[r].parameters))}(n.url,t.url);return e&&!(!n.parent!=!t.parent)&&(!n.parent||dp(n.parent,t.parent))}function Ko(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){const r=e.value;r._futureSnapshot=t.value;const i=function K2(n,t,e){return t.children.map(r=>{for(const i of e.children)if(n.shouldReuseRoute(r.value,i.value.snapshot))return Ko(n,r,i);return Ko(n,r)})}(n,t,e);return new ur(r,i)}{if(n.shouldAttach(t.value)){const s=n.retrieve(t.value);if(null!==s){const o=s.route;return o.value._futureSnapshot=t.value,o.children=t.children.map(a=>Ko(n,a)),o}}const r=function Y2(n){return new on(new At(n.url),new At(n.params),new At(n.queryParams),new At(n.fragment),new At(n.data),n.outlet,n.component,n)}(t.value),i=t.children.map(s=>Ko(n,s));return new ur(r,i)}}const hp="ngNavigationCancelingError";function Ex(n,t){const{redirectTo:e,navigationBehaviorOptions:r}=li(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=Sx(!1,0,t);return i.url=e,i.navigationBehaviorOptions=r,i}function Sx(n,t,e){const r=new Error("NavigationCancelingError: "+(n||""));return r[hp]=!0,r.cancellationCode=t,e&&(r.url=e),r}function Mx(n){return Ax(n)&&li(n.url)}function Ax(n){return n&&n[hp]}class Q2{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Yo,this.attachRef=null}}let Yo=(()=>{class n{constructor(){this.contexts=new Map}onChildOutletCreated(e,r){const i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){const r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new Q2,this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Ec=!1;let fp=(()=>{class n{constructor(e,r,i,s,o){this.parentContexts=e,this.location=r,this.changeDetector=s,this.environmentInjector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new nt,this.deactivateEvents=new nt,this.attachEvents=new nt,this.detachEvents=new nt,this.name=i||G,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new D(4012,Ec);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D(4012,Ec);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D(4012,Ec);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new D(4013,Ec);this._activatedRoute=e;const i=this.location,o=e._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Z2(e,a,i.injector);if(r&&function X2(n){return!!n.resolveComponentFactory}
1(r)){const c=r.resolveComponentFactory(o);this.activated=i.createComponent(c,i.length,l)}else this.activated=i.createComponent(o,{index:i.length,injector:l,environmentInjector:r??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(g(Yo),g(Xt),Mi("name"),g(bo),g(vr))},n.\u0275dir=S({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),n})();class Z2{constructor(t,e,r){this.route=t,this.childContexts=e,this.parent=r}get(t,e){return t===on?this.route:t===Yo?this.childContexts:this.parent.get(t,e)}}let pp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=at({type:n,selectors:[["ng-component"]],standalone:!0,features:[X_],decls:1,vars:0,template:function(e,r){1&e&&et(0,"router-outlet")},dependencies:[fp],encapsulation:2}),n})();function Ix(n,t){return n.providers&&!n._injector&&(n._injector=ml(n.providers,t,`Route: ${n.path}`)),n._injector??t}function mp(n){const t=n.children&&n.children.map(mp),e=t?{...n,children:t}:{...n};return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==G&&(e.component=pp),e}function an(n){return n.outlet||G}function Tx(n,t){const e=n.filter(r=>an(r)===t);return e.push(...n.filter(r=>an(r)!==t)),e}function Qo(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){const e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class rH{constructor(t,e,r,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=r,this.forwardEvent=i}activate(t){const e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,t),up(this.futureState.root),this.activateChildRoutes(e,r,t)}deactivateChildRoutes(t,e,r){const i=Cs(e);t.children.forEach(s=>{const o=s.value.outlet;this.deactivateRoutes(s,i[o],r),delete i[o]}),st(i,(s,o)=>{this.deactivateRouteAndItsChildren(s,r)})}deactivateRoutes(t,e,r){const i=t.value,s=e?e.value:null;if(i===s)if(i.component){const o=r.getContext(i.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,r);else s&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const r=e.getContext(t.value.outlet),i=r&&t.value.component?r.children:e,s=Cs(t);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],i);if(r&&r.outlet){const o=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:o,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){const r=e.getContext(t.value.outlet),i=r&&t.value.component?r.children:e,s=Cs(t);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],i);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,e,r){const i=Cs(e);t.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],r),this.forwardEvent(new vx(s.value.snapshot))}),t.children.length&&this.forwardEvent(new mx(t.value.snapshot))}activateRoutes(t,e,r){const i=t.value,s=e?e.value:null;if(up(i),i===s)if(i.component){const o=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,r);else if(i.component){const o=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),up(a.route.value),this.activateChildRoutes(t,null,o.children)}else{const a=Qo(i.snapshot),l=a?.get(Bi)??null;o.attachRef=null,o.route=i,o.resolver=l,o.injector=a,o.outlet&&o.outlet.activateWith(i,o.injector),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,r)}}class Rx{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Sc{constructor(t,e){this.component=t,this.route=e}}function iH(n,t,e){const r=n._root;return Zo(r,t?t._root:null,e,[r.value])}function Ds(n,t){const e=Symbol(),r=t.get(n,e);return r===e?"function"!=typeof n||function o0(n){return null!==pa(n)}(n)?t.get(n):n:r}function Zo(n,t,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=Cs(t);
1return n.children.forEach(o=>{(function oH(n,t,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=n.value,o=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const l=function aH(n,t,e){if("function"==typeof e)return e(n,t);switch(e){case"pathParamsChange":return!ai(n.url,t.url);case"pathParamsOrQueryParamsChange":return!ai(n.url,t.url)||!Pn(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!dp(n,t)||!Pn(n.queryParams,t.queryParams);default:return!dp(n,t)}}(o,s,s.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Rx(r)):(s.data=o.data,s._resolvedData=o._resolvedData),Zo(n,t,s.component?a?a.children:null:e,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Sc(a.outlet.component,o))}else o&&Xo(t,a,i),i.canActivateChecks.push(new Rx(r)),Zo(n,null,s.component?a?a.children:null:e,r,i)})(o,s[o.value.outlet],e,r.concat([o.value]),i),delete s[o.value.outlet]}),st(s,(o,a)=>Xo(o,e.getContext(a),i)),i}function Xo(n,t,e){const r=Cs(n),i=n.value;st(r,(s,o)=>{Xo(s,i.component?t?t.children.getContext(o):null:t,e)}),e.canDeactivateChecks.push(new Sc(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}function Jo(n){return"function"==typeof n}function yp(n){return n instanceof pc||"EmptyError"===n?.name}const Mc=Symbol("INITIAL_VALUE");function xs(){return kn(n=>Yf(n.map(t=>t.pipe(or(1),VD(Mc)))).pipe($(t=>{for(const e of t)if(!0!==e){if(e===Mc)return Mc;if(!1===e||e instanceof oi)return e}return!0}),wt(t=>t!==Mc),or(1)))}function Ox(n){return function MS(...n){return ig(n)}(ze(t=>{if(li(t))throw Ex(0,t)}),$(t=>!0===t))}const vp={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Fx(n,t,e,r,i){const s=_p(n,t,e);return s.matched?function xH(n,t,e,r){const i=t.canMatch;return i&&0!==i.length?O(i.map(o=>{const a=Ds(o,n);return Tr(function fH(n){return n&&Jo(n.canMatch)}(a)?a.canMatch(t,e):n.runInContext(()=>a(t,e)))})).pipe(xs(),Ox()):O(!0)}(r=Ix(t,r),t,e).pipe($(o=>!0===o?s:{...vp})):O(s)}function _p(n,t,e){if(""===t.path)return"full"===t.pathMatch&&(n.hasChildren()||e.length>0)?{...vp}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const i=(t.matcher||y2)(e,n,t);if(!i)return{...vp};const s={};st(i.posParams,(a,l)=>{s[l]=a.path});const o=i.consumed.length>0?{...s,...i.consumed[i.consumed.length-1].parameters}:s;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}}}function Ac(n,t,e,r,i="corrected"){if(e.length>0&&function MH(n,t,e){return e.some(r=>Ic(n,t,r)&&an(r)!==G)}(n,e,r)){const o=new ne(t,function SH(n,t,e,r){const i={};i[G]=r,r._sourceSegment=n,r._segmentIndexShift=t.length;for(const s of e)if(""===s.path&&an(s)!==G){const o=new ne([],{});o._sourceSegment=n,o._segmentIndexShift=t.length,i[an(s)]=o}return i}(n,t,r,new ne(e,n.children)));return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===e.length&&function AH(n,t,e){return e.some(r=>Ic(n,t,r))}(n,e,r)){const o=new ne(n.segments,function EH(n,t,e,r,i,s){const o={};for(const a of r)if(Ic(n,e,a)&&!i[an(a)]){const l=new ne([],{});l._sourceSegment=n,l._segmentIndexShift="legacy"===s?n.segments.length:t.length,o[an(a)]=l}return{...i,...o}}(n,t,e,r,n.children,i));return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:e}}const s=new ne(n.segments,n.children);return s._sourceSegment=n,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:e}}function Ic(n,t,e){return(!(n.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function kx(n,t,e,r){return!!(an(n)===r||r!==G&&Ic(t,e,n))&&("**"===n.path||_p(t,n,e).matched)}function Px(n,t,e){return 0===t.length&&!n.children[e]}const Tc=!1;class Rc{constructor(t){this.segmentGroup=t||null}}class Lx{constructor(t){this.urlTree=t}}function ea(n){return vs(new Rc(n))}function Nx(n){return vs(new Lx(n))}class OH{constructor(t,e,r,i,s){this.injector=t,this.configLoader=e,this.urlSerializer
1=r,this.urlTree=i,this.config=s,this.allowRedirects=!0}apply(){const t=Ac(this.urlTree.root,[],[],this.config).segmentGroup,e=new ne(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,e,G).pipe($(s=>this.createUrlTree(Cc(s),this.urlTree.queryParams,this.urlTree.fragment))).pipe(ar(s=>{if(s instanceof Lx)return this.allowRedirects=!1,this.match(s.urlTree);throw s instanceof Rc?this.noMatchError(s):s}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,G).pipe($(i=>this.createUrlTree(Cc(i),t.queryParams,t.fragment))).pipe(ar(i=>{throw i instanceof Rc?this.noMatchError(i):i}))}noMatchError(t){return new D(4002,Tc)}createUrlTree(t,e,r){const i=tp(t);return new oi(i,e,r)}expandSegmentGroup(t,e,r,i){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,e,r).pipe($(s=>new ne([],s))):this.expandSegment(t,r,e,r.segments,i,!0)}expandChildren(t,e,r){const i=[];for(const s of Object.keys(r.children))"primary"===s?i.unshift(s):i.push(s);return je(i).pipe(Ir(s=>{const o=r.children[s],a=Tx(e,s);return this.expandSegmentGroup(t,a,o,s).pipe($(l=>({segment:l,outlet:s})))}),$D((s,o)=>(s[o.outlet]=o.segment,s),{}),UD())}expandSegment(t,e,r,i,s,o){return je(r).pipe(Ir(a=>this.expandSegmentAgainstRoute(t,e,r,a,i,s,o).pipe(ar(c=>{if(c instanceof Rc)return O(null);throw c}))),Ar(a=>!!a),ar((a,l)=>{if(yp(a))return Px(e,i,s)?O(new ne([],{})):ea(e);throw a}))}expandSegmentAgainstRoute(t,e,r,i,s,o,a){return kx(i,e,s,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,s,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,r,i,s,o):ea(e):ea(e)}expandSegmentAgainstRouteUsingRedirect(t,e,r,i,s,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,r,i,s,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,r,i){const s=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?Nx(s):this.lineralizeSegments(r,s).pipe(Xe(o=>{const a=new ne(o,{});return this.expandSegment(t,a,e,o,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,r,i,s,o){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=_p(e,i,s);if(!a)return ea(e);const d=this.applyRedirectCommands(l,i.redirectTo,u);return i.redirectTo.startsWith("/")?Nx(d):this.lineralizeSegments(i,d).pipe(Xe(h=>this.expandSegment(t,e,r,h.concat(c),o,!1)))}matchSegmentAgainstRoute(t,e,r,i,s){return"**"===r.path?(t=Ix(r,t),r.loadChildren?(r._loadedRoutes?O({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(t,r)).pipe($(a=>(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,new ne(i,{})))):O(new ne(i,{}))):Fx(e,r,i,t).pipe(kn(({matched:o,consumedSegments:a,remainingSegments:l})=>o?this.getChildConfig(t=r._injector??t,r,i).pipe(Xe(u=>{const d=u.injector??t,h=u.routes,{segmentGroup:f,slicedSegments:p}=Ac(e,a,l,h),m=new ne(f.segments,f.children);if(0===p.length&&m.hasChildren())return this.expandChildren(d,h,m).pipe($(b=>new ne(a,b)));if(0===h.length&&0===p.length)return O(new ne(a,{}));const y=an(r)===s;return this.expandSegment(d,m,h,p,y?G:s,!0).pipe($(C=>new ne(a.concat(C.segments),C.children)))})):ea(e)))}getChildConfig(t,e,r){return e.children?O({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?O({routes:e._loadedRoutes,injector:e._loadedInjector}):function DH(n,t,e,r){const i=t.canLoad;return void 0===i||0===i.length?O(!0):O(i.map(o=>{const a=Ds(o,n);return Tr(function cH(n){return n&&Jo(n.canLoad)}(a)?a.canLoad(t,e):n.runInContext(()=>a(t,e)))})).pipe(xs(),Ox())}(t,e,r).pipe(Xe(i=>i?this.configLoader.loadChildren(t,e).pipe(ze(s=>{e._loadedRoutes=s.routes,e._loadedInjector=s.injector})):function TH(n){return vs(Sx(Tc,3))}())):O({routes:[],injector:t})}lineralizeSegments(t,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return O(r);if(i.numberOfChildren>1||!i.children[G])return vs(new D(4e3,Tc));i=i.children[G]}}applyRedirectCommands(t,e,r){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,r)}
1applyRedirectCreateUrlTree(t,e,r,i){const s=this.createSegmentGroup(t,e.root,r,i);return new oi(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const r={};return st(t,(i,s)=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[s]=e[a]}else r[s]=i}),r}createSegmentGroup(t,e,r,i){const s=this.createSegments(t,e.segments,r,i);let o={};return st(e.children,(a,l)=>{o[l]=this.createSegmentGroup(t,a,r,i)}),new ne(s,o)}createSegments(t,e,r,i){return e.map(s=>s.path.startsWith(":")?this.findPosParam(t,s,i):this.findOrReturn(s,r))}findPosParam(t,e,r){const i=r[e.path.substring(1)];if(!i)throw new D(4001,Tc);return i}findOrReturn(t,e){let r=0;for(const i of e){if(i.path===t.path)return e.splice(r),i;r++}return t}}class kH{}class NH{constructor(t,e,r,i,s,o,a,l){this.injector=t,this.rootComponentType=e,this.config=r,this.urlTree=i,this.url=s,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a,this.urlSerializer=l}recognize(){const t=Ac(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,G).pipe($(e=>{if(null===e)return null;const r=new xc([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},G,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new ur(r,e),s=new Dx(this.url,i);return this.inheritParamsAndData(s._root),s}))}inheritParamsAndData(t){const e=t.value,r=Cx(e,this.paramsInheritanceStrategy);e.params=Object.freeze(r.params),e.data=Object.freeze(r.data),t.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(t,e,r,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,e,r):this.processSegment(t,e,r,r.segments,i)}processChildren(t,e,r){return je(Object.keys(r.children)).pipe(Ir(i=>{const s=r.children[i],o=Tx(e,i);return this.processSegmentGroup(t,o,s,i)}),$D((i,s)=>i&&s?(i.push(...s),i):null),function p2(n,t=!1){return Me((e,r)=>{let i=0;e.subscribe(Ae(r,s=>{const o=n(s,i++);(o||t)&&r.next(s),!o&&r.complete()}))})}(i=>null!==i),mc(null),UD(),$(i=>{if(null===i)return null;const s=Bx(i);return function BH(n){n.sort((t,e)=>t.value.outlet===G?-1:e.value.outlet===G?1:t.value.outlet.localeCompare(e.value.outlet))}(s),s}))}processSegment(t,e,r,i,s){return je(e).pipe(Ir(o=>this.processSegmentAgainstRoute(o._injector??t,o,r,i,s)),Ar(o=>!!o),ar(o=>{if(yp(o))return Px(r,i,s)?O([]):O(null);throw o}))}processSegmentAgainstRoute(t,e,r,i,s){if(e.redirectTo||!kx(e,r,i,s))return O(null);let o;if("**"===e.path){const a=i.length>0?WD(i).parameters:{},l=jx(r)+i.length;o=O({snapshot:new xc(i,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,$x(e),an(e),e.component??e._loadedComponent??null,e,Vx(r),l,Ux(e),l),consumedSegments:[],remainingSegments:[]})}else o=Fx(r,e,i,t).pipe($(({matched:a,consumedSegments:l,remainingSegments:c,parameters:u})=>{if(!a)return null;const d=jx(r)+l.length;return{snapshot:new xc(l,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,$x(e),an(e),e.component??e._loadedComponent??null,e,Vx(r),d,Ux(e),d),consumedSegments:l,remainingSegments:c}}));return o.pipe(kn(a=>{if(null===a)return O(null);const{snapshot:l,consumedSegments:c,remainingSegments:u}=a;t=e._injector??t;const d=e._loadedInjector??t,h=function VH(n){return n.children?n.children:n.loadChildren?n._loadedRoutes:[]}(e),{segmentGroup:f,slicedSegments:p}=Ac(r,c,u,h.filter(y=>void 0===y.redirectTo),this.relativeLinkResolution);if(0===p.length&&f.hasChildren())return this.processChildren(d,h,f).pipe($(y=>null===y?null:[new ur(l,y)]));if(0===h.length&&0===p.length)return O([new ur(l,[])]);const m=an(e)===s;return this.processSegment(d,h,f,p,m?G:s).pipe($(y=>null===y?null:[new ur(l,y)]))}))}}function jH(n){const t=n.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function Bx(n){const t=[],e=new Set;for(const r of n){if(!jH(r)){t.push(r);continue}const i=t.find(s=>r.value.routeConfig===s.value.routeConfig);void 0!==i?(i.children.push(...r.children),e.add(i)):t.push(r)}for(const r of e){const i=Bx(r.children);t.push(new ur(r.value,i))}return t.filter(r=>!e.has(r))}function Vx(n){let t=n;for(;t._sourceSegment;)t=t._sourceSegment;return t}function jx(n){let t=n,e=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,e+=t._segmentIndexShift??0;return e-1}function $x(n){return n.data||{}}function Ux(n){return n.resolve||{}}function zx(n){return"string"==typeof n.title||null===n.title}function bp(n){return kn(t=>{const e=n(t);return e?je(e).pipe($(()=>t)):O(t)})}let Gx=(()=>{class n{buildTitle(e){let r,i=e.root;for(;void 0!==i;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(s=>s.outlet===G);return r}getResolvedTitleForRoute(e){return e.data[Ho]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:function(){return ye(Wx)},providedIn:"root"}),n})(),Wx=(()=>{class n extends Gx{constructor(e){super(),this.title=e}updateTitle(e){const r=this.buildTitle(e);void 0!==r&&this.title.setTitle(r)}}return n.\u0275fac=function(e){return new(e||n)(v(Xw))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class KH{}class QH extends class YH{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const Fc=new E("",{providedIn:"root",factory:()=>({})}),wp=new E("ROUTES");let Cp=(()=>{class n{constructor(e,r){this.injector=e,this.compiler=r,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return O(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const r=Tr(e.loadComponent()).pipe(ze(s=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=s}),jo(()=>{this.componentLoaders.delete(e)})),i=new BD(r,()=>new _e).pipe(Qf());return this.componentLoaders.set(e,i),i}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return O({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const s=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe($(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,c,u=!1;Array.isArray(a)?c=a:(l=a.create(e).injector,c=GD(l.get(wp,[],N.Self|N.Optional)));return{routes:c.map(mp),injector:l}}),jo(()=>{this.childrenLoaders.delete(r)})),o=new BD(s,()=>new _e).pipe(Qf());return this.childrenLoaders.set(r,o),o}loadModuleFactoryOrRoutes(e){return Tr(e()).pipe(Xe(r=>r instanceof Q_||Array.isArray(r)?O(r):je(this.compiler.compileModuleAsync(r))))}}return n.\u0275fac=function(e){return new(e||n)(v(St),v(Ah))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class XH{}class JH{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function e$(n){throw n}function t$(n,t,e){return t.parse("/")}const n$={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},r$={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Kx(){const n=ye(XD),t=ye(Yo),e=ye(Il),r=ye(St),i=ye(Ah),s=ye(wp,{optional:!0})??[],o=ye(Fc,{optional:!0})??{},a=ye(Wx),l=ye(Gx,{optional:!0}),c=ye(XH,{optional:!0}),u=ye(KH,{optional:!0}),d=new Qe(null,n,t,e,r,i,GD(s));return c&&(d.urlHandlingStrategy=c),u&&(d.routeReuseStrategy=u),d.titleStrategy=l??a,function i$(n,t){n.errorHandler&&(t.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(t.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(t.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(t.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(t.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(t.canceledNavigationResolution=n.canceledNavigationResolution)}(o,d),d}let Qe=(()=>{class n{constructor(e,r,i,s,o,a,l){this.rootComponentType=e,this.urlSerializer
1=r,this.rootContexts=i,this.location=s,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new _e,this.errorHandler=e$,this.malformedUriErrorHandler=t$,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>O(void 0),this.urlHandlingStrategy=new JH,this.routeReuseStrategy=new QH,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=o.get(Cp),this.configLoader.onLoadEndListener=h=>this.triggerEvent(new px(h)),this.configLoader.onLoadStartListener=h=>this.triggerEvent(new fx(h)),this.ngModule=o.get(Xr),this.console=o.get(HF);const d=o.get(ie);this.isNgZoneEnabled=d instanceof ie&&ie.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function _2(){return new oi(new ne([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=wx(this.currentUrlTree,this.rootComponentType),this.transitions=new At({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(e){const r=this.events;return e.pipe(wt(i=>0!==i.id),$(i=>({...i,extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),kn(i=>{let s=!1,o=!1;return O(i).pipe(ze(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),kn(a=>{const l=this.browserUrlTree.toString(),c=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||c)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return Yx(a.source)&&(this.browserUrlTree=a.extractedUrl),O(a).pipe(kn(d=>{const h=this.transitions.getValue();return r.next(new Dc(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions.getValue()?Bn:Promise.resolve(d)}),function FH(n,t,e,r){return kn(i=>function RH(n,t,e,r,i){return new OH(n,t,e,r,i).apply()}(n,t,e,i.extractedUrl,r).pipe($(s=>({...i,urlAfterRedirects:s}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),ze(d=>{this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},i.urlAfterRedirects=d.urlAfterRedirects}),function $H(n,t,e,r,i,s){return Xe(o=>function LH(n,t,e,r,i,s,o="emptyOnly",a="legacy"){return new NH(n,t,e,r,i,o,a,s).recognize().pipe(kn(l=>null===l?function PH(n){return new Ee(t=>t.error(n))}(new kH):O(l)))}(n,t,e,o.urlAfterRedirects,r.serialize(o.urlAfterRedirects),r,i,s).pipe($(a=>({...o,targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),ze(d=>{if(i.targetSnapshot=d.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const f=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(f,d)}this.browserUrlTree=d.urlAfterRedirects}const h=new lx(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);r.next(h)}));if(c&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:h,extractedUrl:f,source:p,restoredState:m,extras:y}=a,_=new Dc(h,this.serializeUrl(f),p,m);r.next(_);const C=wx(f,this.rootComponentType).snapshot;return O(i={...a,targetSnapshot:C,urlAfterRedirects:f,extras:{...y,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=a.rawUrl,a.resolve(null),Bn}),ze(a=>{const l=new cx(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),$(a=>i={...a,guards:iH(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function gH(n,t){return Xe(e=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=e;return 0===o.length&&0===s.length?O({...e,guardsResult:!0}):function mH(n,t,e,r){return je(n).pipe(Xe(i=>function CH(n,t,e,r,i){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return s&&0!==s.length?O(s.map(a=>{const l=Qo(t)??i,c=Ds(a,l);return Tr(function hH(n){return n&&Jo(n.canDeactivate)}(c)?c.canDeactivate(n,t,e,r):l.runInContext(()=>c(n,t,e,r))).pipe(Ar())})).pipe(xs()):O(!0)}(i.component,i.route,e,t,r)),Ar(i=>!0!==i,!0))}(o,r,i,n).pipe(Xe(a=>a&&function lH(n){return"boolean"==typeof n}(a)?function yH(n,t,e,r){return je(t).pipe(Ir(i=>gc(function _H(n,t){return null!==n&&t&&t(new gx(n)),O(!0)}(i.route.parent,r),function vH(n,t){return null!==n&&t&&t(new yx(n)),O(!0)}(i.route,r),function wH(n,t,e){const r=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(o=>
1function sH(n){const t=n.routeConfig?n.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:n,guards:t}:null}(o)).filter(o=>null!==o).map(o=>ND(()=>O(o.guards.map(l=>{const c=Qo(o.node)??e,u=Ds(l,c);return Tr(function dH(n){return n&&Jo(n.canActivateChild)}(u)?u.canActivateChild(r,n):c.runInContext(()=>u(r,n))).pipe(Ar())})).pipe(xs())));return O(s).pipe(xs())}(n,i.path,e),function bH(n,t,e){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return O(!0);const i=r.map(s=>ND(()=>{const o=Qo(t)??e,a=Ds(s,o);return Tr(function uH(n){return n&&Jo(n.canActivate)}(a)?a.canActivate(t,n):o.runInContext(()=>a(t,n))).pipe(Ar())}));return O(i).pipe(xs())}(n,i.route,e))),Ar(i=>!0!==i,!0))}(r,s,n,t):O(a)),$(a=>({...e,guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),ze(a=>{if(i.guardsResult=a.guardsResult,li(a.guardsResult))throw Ex(0,a.guardsResult);const l=new ux(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),wt(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),bp(a=>
1{if(a.guards.canActivateChecks.length)return O(a).pipe(ze(l=>{const c=new dx(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}),kn(l=>{let c=!1;return O(l).pipe(function UH(n,t){return Xe(e=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=e;if(!i.length)return O(e);let s=0;return je(i).pipe(Ir(o=>function zH(n,t,e,r){const i=n.routeConfig,s=n._resolve;return void 0!==i?.title&&!zx(i)&&(s[Ho]=i.title),function GH(n,t,e,r){const i=function WH(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===i.length)return O({});const s={};return je(i).pipe(Xe(o=>function qH(n,t,e,r){const i=Qo(t)??r,s=Ds(n,i);return Tr(s.resolve?s.resolve(t,e):i.runInContext(()=>s(t,e)))}(n[o],t,e,r).pipe(Ar(),ze(a=>{s[o]=a}))),Zf(1),function g2(n){return $(()=>n)}(s),ar(o=>yp(o)?Bn:vs(o)))}(s,n,t,r).pipe($(o=>(n._resolvedData=o,n.data=Cx(n,e).resolve,i&&zx(i)&&(n.data[Ho]=i.title),null)))}(o.route,r,n,t)),ze(()=>s++),Zf(1),Xe(o=>s===i.length?O(e):Bn))})}(this.paramsInheritanceStrategy,this.ngModule.injector),ze({next:()=>c=!0,complete:()=>{c||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),ze(l=>{const c=new hx(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}))}),bp(a=>{const l=c=>{const u=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(c.routeConfig).pipe(ze(d=>{c.component=d}),$(()=>{})));for(const d of c.children)u.push(...l(d));return u};return Yf(l(a.targetSnapshot.root)).pipe(mc(),or(1))}),bp(()=>this.afterPreactivation()),$(a=>{const l=function q2(n,t,e){const r=Ko(n,t._root,e?e._root:void 0);return new bx(r,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return i={...a,targetRouterState:l}}),ze(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((n,t,e)=>$(r=>(new rH(t,r.targetRouterState,r.currentRouterState,e).activate(n),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),ze({next(){s=!0},complete(){s=!0}}),jo(()=>{s||o||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),ar(a=>{if(o=!0,Ax(a)){Mx(a)||(this.navigated=!0,this.restoreHistory(i,!0));const l=new qo(i.id,this.serializeUrl(i.extractedUrl),a.message,a.cancellationCode);if(r.next(l),Mx(a)){const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),u={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Yx(i.source)};this.scheduleNavigation(c,"imperative",null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{this.restoreHistory(i,!0);const l=new sp(i.id,this.serializeUrl(i.extractedUrl),a,i.targetSnapshot??void 0);r.next(l);try{i.resolve(this.errorHandler(a))}catch(c){i.reject(c)}}return Bn}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next({...this.transitions.value,...e})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const r="popstate"===e.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{const i={replaceUrl:!0},s=e.state?.navigationId?e.state:null;if(s){const a={...s};delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(i.state=a)}const o=this.parseUrl(e.url);this.scheduleNavigation(o,r,s,i)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){this.config=e.map(mp),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,r={}){const{relativeTo:i,queryParams:s,fragment:o,queryParamsHandling:a,preserveFragment:l}=r,c=i||this.routerState.root,u=l?this.currentUrlTree.fragment:o;let d=null;switch(a){case"merge":d={...this.currentUrlTree.queryParams,...s};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}return null!==d&&(d=this.removeEmptyProps(d)),B2(c,this.currentUrlTree,e,d,u??null)}navigateByUrl(e,r={skipLocationChange:!1}){const i=li(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,r)}navigate(e,r={skipLocationChange:!1}){return function s$(n){for(let t=0;t<n.length;t++){if(null==n[t])throw new D(4008,false)}}(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let r;try{r=this.urlSerializer.parse(e)}catch(i){r=this.malformedUriErrorHandler(i,this.urlSerializer,e)}return r}isActive(e,r){let i;if(i=!0===r?{...n$}:!1===r?{...r$}:r,li(e))return KD(this.currentUrlTree,e,i);const s=this.parseUrl(e);return KD(this.currentUrlTree,s,i)}removeEmptyProps(e){return Object.keys(e).reduce((r,i)=>{const s=e[i];return null!=s&&(r[i]=s),r},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new cr(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,r,i,s,o){if(this.disposed)return Promise.resolve(!1);let a,l,c;o?(a=o.resolve,l=o.reject,c=o.promise):c=new Promise((h,f)=>
1{a=h,l=f});const u=++this.navigationId;let d;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(i=this.location.getState()),d=i&&i.\u0275routerPageId?i.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):d=0,this.setTransition({id:u,targetPageId:d,source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:s,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(h=>Promise.reject(h))}setBrowserUrl(e,r){const i=this.urlSerializer.serialize(e),s={...r.extras.state,...this.generateNgRouterState(r.id,r.targetPageId)};this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl?this.location.replaceState(i,"",s):this.location.go(i,"",s)}restoreHistory(e,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===i?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===i&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(i)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,r,i){const s=new qo(e.id,this.serializeUrl(e.extractedUrl),r,i);this.triggerEvent(s),e.resolve(!1)}generateNgRouterState(e,r){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}}return n.\u0275fac=function(e){Ka()},n.\u0275prov=x({token:n,factory:function(){return Kx()},providedIn:"root"}),n})();function Yx(n){return"imperative"!==n}let ci=(()=>{class n{constructor(e,r,i){this.router=e,this.route=r,this.locationStrategy=i,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new _e,this.subscription=e.events.subscribe(s=>{s instanceof cr&&this.updateTargetUrlAndHref()})}set preserveFragment(e){this._preserveFragment=ds(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=ds(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=ds(e)}get replaceUrl(){return this._replaceUrl}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,r,i,s,o){return!!(0!==e||r||i||s||o||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return n.\u0275fac=function(e){return new(e||n)(g(Qe),g(on),g(ti))},n.\u0275dir=S({type:n,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,r){1&e&&Yr("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&e&&Gi("target",r.target)("href",r.href,pn)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Hn]}),n})();class Qx{}let l$=(()=>{class n{constructor(e,r,i,s,o){this.router=e,this.injector=i,this.preloadingStrategy=s,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(wt(e=>e instanceof cr),Ir(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,r){const i=[];for(const s of r){s.providers&&!s._injector&&(s._injector=ml(s.providers,e,`Route: ${s.path}`));const o=s._injector??e,a=s._loadedInjector??o;s.loadChildren&&!s._loadedRoutes&&void 0===s.canLoad||s.loadComponent&&!s._loadedComponent?i.push(this.preloadConfig(o,s)):(s.
1children||s._loadedRoutes)&&i.push(this.processRoutes(a,s.children??s._loadedRoutes))}return je(i).pipe(mi())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(e,r):O(null);const s=i.pipe(Xe(o=>null===o?O(void 0):(r._loadedRoutes=o.routes,r._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));return r.loadComponent&&!r._loadedComponent?je([s,this.loader.loadComponent(r)]).pipe(mi()):s})}}return n.\u0275fac=function(e){return new(e||n)(v(Qe),v(Ah),v(vr),v(Qx),v(Cp))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const xp=new E("");let Zx=(()=>{class n{constructor(e,r,i={}){this.router=e,this.viewportScroller=r,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Dc?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof cr&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof op&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,r){this.router.triggerEvent(new op(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(e){Ka()},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();function Es(n,t){return{\u0275kind:n,\u0275providers:t}}function Ep(n){return[{provide:wp,multi:!0,useValue:n}]}function Jx(){const n=ye(St);return t=>{const e=n.get(us);if(t!==e.components[0])return;const r=n.get(Qe),i=n.get(eE);1===n.get(Sp)&&r.initialNavigation(),n.get(tE,null,N.Optional)?.setUpPreloading(),n.get(xp,null,N.Optional)?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.unsubscribe())}}const eE=new E("",{factory:()=>new _e}),Sp=new E("",{providedIn:"root",factory:()=>1});const tE=new E("");function h$(n){return Es(0,[{provide:tE,useExisting:l$},{provide:Qx,useExisting:n}])}const nE=new E("ROUTER_FORROOT_GUARD"),f$=[Il,{provide:XD,useClass:Jf},{provide:Qe,useFactory:Kx},Yo,{provide:on,useFactory:function Xx(n){return n.routerState.root},deps:[Qe]},Cp];function p$(){return new zb("Router",Qe)}let rE=(()=>{class n{constructor(e){}static forRoot(e,r){return{ngModule:n,providers:[f$,[],Ep(e),{provide:nE,useFactory:v$,deps:[[Qe,new yr,new ki]]},{provide:Fc,useValue:r||{}},r?.useHash?{provide:ti,useClass:Ik}:{provide:ti,useClass:gw},{provide:xp,useFactory:()=>{const n=ye(Qe),t=ye(WP),e=ye(Fc);return e.scrollOffset&&t.setOffset(e.scrollOffset),new Zx(n,t,e)}},r?.preloadingStrategy?h$(r.preloadingStrategy).\u0275providers:[],{provide:zb,multi:!0,useFactory:p$},r?.initialNavigation?_$(r):[],[{provide:iE,useFactory:Jx},{provide:Mh,multi:!0,useExisting:iE}]]}}static forChild(e){return{ngModule:n,providers:[Ep(e)]}}}return n.\u0275fac=function(e){return new(e||n)(v(nE,8))},n.\u0275mod=de({type:n}
1),n.\u0275inj=ce({imports:[pp]}),n})();function v$(n){return"guarded"}function _$(n){return["disabled"===n.initialNavigation?Es(3,[{provide:Cl,multi:!0,useFactory:()=>{const t=ye(Qe);return()=>{t.setUpLocationChangeListener()}}},{provide:Sp,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?Es(2,[{provide:Sp,useValue:0},{provide:Cl,multi:!0,deps:[St],useFactory:t=>{const e=t.get(Mk,Promise.resolve());let r=!1;return()=>e.then(()=>new Promise(s=>{const o=t.get(Qe),a=t.get(eE);(function i(s){t.get(Qe).events.pipe(wt(a=>a instanceof cr||a instanceof qo||a instanceof sp),$(a=>a instanceof cr||a instanceof qo&&(0===a.code||1===a.code)&&null),wt(a=>null!==a),or(1)).subscribe(()=>{s()})})(()=>{s(!0),r=!0}),o.afterPreactivation=()=>(s(!0),r||a.closed?O(void 0):a),o.initialNavigation()}))}}]).\u0275providers:[]]}const iE=new E(""),Mp={name:"angular-zen",strongName:"Angular Zen",slogan:"The Angular tools you always wished were there.",benefitsSlogan:"Helps you focus on what you really need to do.",benefits:[{title:"Plug & Play",emoji:"\u{1f50c}",description:"Easy to use. The intuitive library structure and its API provide for maximum power with minimum effort and learning curve."},{title:"Tree-Shakable",emoji:"\u{1f333}",description:"Any library module you don't use in your app will be excluded from your final bundle."},{title:"Fastar Scaffolding",emoji:"\u{1f3d7}",description:"Create services and components quicker."},{title:"Worry Less",emoji:"\u{1f973}",description:"Well tested infrustructural tools give you deeper control with no need to dive deep yourself."},{title:"Angular Universal Tools",emoji:"\u{1f30e}",description:"Services and directives facilitate with SSR."},{title:"Router Extensions",emoji:"\u{1f500}",description:"Improved experience when working with routes."},{title:"Language Integration Tools",emoji:"\u{1f5e3}",description:"Quickly add and standardize language support to your libraries."},{title:"Open-source!",emoji:"\u{1f929}",description:"Learn how it works! Contribute! Fork it! Make it your own!"}],examplesTopics:[{title:"Core Module",description:"Learn about the core infrastructural tools.",icon:"memory",examples:[{title:"WindowRef",description:"Safely access or mock the `window` object.",icon:"desktop_windows",embedUrl:"https://codesandbox.io/embed/window-ref-cuqht?fontsize=14&hidenavigation=1&module=%2Fsrc%2Fapp%2Fdemo%2Fdemo.component.ts&theme=dark"},{title:"DocumentRef",description:"Safely access or mock the `document` object.",icon:"description",embedUrl:"https://codesandbox.io/embed/document-ref-ipur0?fontsize=14&hidenavigation=1&module=%2Fsrc%2Fapp%2Fdemo%2Fdemo.component.ts&theme=dark"},{title:"HeadService",description:"Work with the `<head>` element to create, modify, find and remove elements.",icon:"face",embedUrl:"https://codesandbox.io/embed/head-service-l2sqf?fontsize=14&hidenavigation=1&module=%2Fsrc%2Fapp%2Fdemo%2Fdemo.component.ts&theme=dark"},{title:"Destroyable",description:"Subscribe to observables without worrying about memory leaks.",icon:"local_fire_department",embedUrl:"https://codesandbox.io/embed/destroyable-tmjni?fontsize=14&hidenavigation=1&module=%2Fsrc%2Fapp%2Fdemo%2Fno-leak.component.ts&theme=dark"},{title:"*observe directives",description:"Enhance the concepts of the `async` pipe with new features.",icon:"visibility",embedUrl:"https://codesandbox.io/embed/observe-directives-kd4th6?expanddevtools=1&fontsize=14&hidenavigation=1&initialpath=%2Fsrc%2Fapp%2Fdemo&module=%2Fsrc%2Fapp%2Fdemo%2Fdemo.component.html&theme=dark"},{title:"*onObserver directives",description:"Condition template rendering according to observable states.",icon:"visibility",embedUrl:"https://codesandbox.io/embed/on-observer-directives-87mkhv?fontsize=14&hidenavigation=1&initialpath=%2Fsrc%2Fapp%2Fdemo%2Fsimple&module=%2Fsrc%2Fapp%2Fdemo%2Fsimple%2Fsimple-demo.component.html&theme=dark"}]},{title:"Async Module",description:"Learn about the async operation tools.",icon:"align_horizontal_left",examples:[{title:"Lazy Loading Styles",description:"Loading styles programatically.",icon:"style",embedUrl:"https://codesandbox.io/embed/loading-styles-3mtlg?fontsize=14&hidenavigation=1&module=%2Fsrc%2Fapp%2Fdemo%2Fdemo.component.ts&theme=dark"},{title:"Lazy Loading Scripts",description:"Loading scripts programatically.",icon:"code",embedUrl:"https://codesandbox.io/embed/loading-scripts-vgf7t?fontsize=14&hidenavigation=1&module=%2Fsrc%2Fapp%2Fdemo%2Fdemo.component.ts&theme=dark"}]},{title:"Universal Module",description:"Learn how to identify the current platform and render platform specific elements.",icon:"public",examples:[{title:"UniversalService",description:"Easily identify the current platform.",icon:"public",embedUrl:"https://codesandbox.io/embed/universal-service-5y1cb?expanddevtools=1&fontsize=14&hidenavigation=1&module=%2Fsrc%2Fapp%2Fdemo%2Fdemo.component.ts&theme=dark"},{title:"Platform Directives",description:"Allow/prevent rendering of elements using special directives",icon:"star",embedUrl:"https://codesandbox.io/embed/platform-directives-zg8d9?fontsize=14&hidenavigation=1&module=%2Fsrc%2Fapp%2Fdemo%2Fdemo.component.html&theme=dark"}]},{title:"RouterX Module",description:"Learn new ways of working with routes.",icon:"alt_route",examples:[{title:"NavigationX",description:"Automatically generated navigation services with strongly-typed routes.",icon:"switch_access_shortcut",embedUrl:"",notes:"Checkout docs for PREVIEW version",soon:!0},{title:"Routing Utils",description:"Interacting with the router and its outlets with an easy-to-use API.",icon:"alt_route",embedUrl:"",notes:"Checkout docs for PREVIEW version",soon:!0},{title:"RouterOutletComponentBus",description:"Fetching the instances of components activated by the outlets in your app.",icon:"settings_input_component",embedUrl:"https://codesandbox.io/embed/router-outlet-component-bus-n32g0?expanddevtools=1&fontsize=14&hidenavigation=0&module=%2Fsrc%2Fapp%2Fdemo%2Fmonitor.service.ts&theme=dark"},{title:"Route Aware Event Handling",description:"Creating route-aware components and services with ease.",icon:"flash_on",embedUrl:"https://codesandbox.io/embed/router-events-rnvw5?expanddevtools=1&fontsize=14&hidenavigation=1&module=%2Fsrc%2Fapp%2Fdemo%2Fdemo.component.ts&theme=dark"},{title:"Route Aware Deep Scan",description:"Performing a deep scan or accumulative actions on a route tree.",icon:"search",embedUrl:"https://codesandbox.io/embed/deep-route-scan-6i0uk?expanddevtools=1&fontsize=14&hidenavigation=1&module=%2Fsrc%2Fapp%2Fdemo%2Fdemo.component.ts&theme=dark"},{title:"Route Aware Resolves",description:"Use route-aware tools to resolve async code at any time.",icon:"sync_alt",embedUrl:"https://codesandbox.io/embed/resolves-7e5iq?fontsize=14&hidenavigation=1&module=%2Fsrc%2Fapp%2Fdemo%2Fdemo.component.ts&theme=dark"},{title:"Url Reflection",description:"Extracting the different parts of the current or any url.",icon:"http",embedUrl:"https://codesandbox.io/embed/url-reflection-qhtl4?fontsize=14&hidenavigation=0&module=%2Fsrc%2Fapp%2Fdemo%2Fdemo.component.html&theme=dark"}]},{title:"Language Integration Module",description:"Standardize and add language support to your libraries.",icon:"translate",examples:[{title:"Implementing in a Library",description:"Providing language support for your library users.",icon:"handyman",embedUrl:"https://codesandbox.io/embed/language-integration-module-wnc42?expanddevtools=1&fontsize=14&hidenavigation=1&module=%2Fsrc%2Fapp%2Fdemo%2Flibrary1%2Flibrary1.service.ts&theme=dark"},{title:"Providing From an App",description:"Integrating your app's language tools with supporting libraries.",icon:"app_settings_alt",embedUrl:"https://codesandbox.io/embed/language-integration-module-wnc42?expanddevtools=1&fontsize=14&hidenavigation=1&module=%2Fsrc%2Fapp%2Fdemo%2Fapp%2Fdemo-app.module.ts&theme=dark"},{title:"Localized Route Awareness",description:"Creating route-aware components and services with language support using `LocalizedRouteAware`.",icon:"alt_route",embedUrl:"https://codesandbox.io/embed/localized-route-aware-v49o1?expanddevtools=1&fontsize=14&hidenavigation=1&module=%2Fsrc%2Fapp%2Fdemo%2Flibrary2%2Flibrary2.
1service.ts&theme=dark"},{title:"Url Localization",description:"Define a strategy and transform urls to their localized version.",icon:"http",embedUrl:"https://codesandbox.io/embed/url-localization-iwt0r?fontsize=14&hidenavigation=0&module=%2Fsrc%2Fapp%2Fdemo%2Fapp%2Furl-localization.ts&theme=dark"}]}],linkedProjects:[],wikiUrl:"https://bs-angular-zen.web.app/docs/zen/index.html",repoUrl:"https://github.com/bespunky/angular-zen",packageUrl:"https://www.npmjs.com/package/@bespunky/angular-zen",credits:[{text:"Cover image created by pixabay - www.pixabay.com",url:"https://pixabay.com/photos/buddha-india-mind-prayer-concept-1550588/"}]},Ap=[Mp,{name:"angular-zen-ux",strongName:"Angular Zen UX",slogan:"UX tools you love loving.",benefitsSlogan:"Enrich your website with easy to use tools.",benefits:[{title:"Plug & Play",emoji:"\u{1f50c}",description:"Easy to use. The intuitive library structure and its API provide for maximum power with minimum effort and learning curve."},{title:"Tree-Shakable",emoji:"\u{1f333}",description:"Any library module you don't use in your app will be excluded from your final bundle."},{title:"Angular Universal Ready",emoji:"\u{1f30e}",description:"Designed and tested for work with SSR."},{title:"Open-source!",emoji:"\u{1f929}",description:"Learn how it works! Contribute! Fork it! Make it your own!"}],examplesTopics:[],linkedProjects:[],wikiUrl:"https://bs-angular-zen.web.app/docs/zen-ux/index.html",repoUrl:"https://github.com/BeSpunky/angular-zen/tree/master/projects/bespunky/angular-zen-ux",packageUrl:"https://www.npmjs.com/package/@bespunky/angular-zen-ux",credits:[{text:"Cover image by Elias Sch. - www.pixabay.com",url:"https://pixabay.com/users/EliasSch-3372715/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=2040340"},{text:"Hand gesture icon made by Kiranshastry - www.flaticon.com",url:"https://www.flaticon.com/authors/kiranshastry"}],soon:!0},{name:"angular-zen-seo",strongName:"Angular Zen SEO",slogan:"Your go-to tools for SEO implementations with Angular.",benefitsSlogan:"Helps you focus on what you really need to do.",benefits:[{title:"Plug & Play",emoji:"\u{1f50c}",description:"Easy to use. The intuitive library structure and its API provide for maximum power with minimum effort and learning curve."},{title:"Tree-Shakable",emoji:"\u{1f333}",description:"Any library module you don't use in your app will be excluded from your final bundle."},{title:"Angular Universal Ready",emoji:"\u{1f30e}",description:"Designed and tested for work with SSR."},{title:"Well-Known Protocols Support",emoji:"\u{1f530}",description:"Built-in implementation of meta protocols for Facebook, Twitter and OG."},{title:"Extendable",emoji:"\u{1f9e9}",description:"Allows you to provide additional protocol implementations."},{title:"Route Integration",emoji:"\u{1f500}",description:"Allows you to provide per-route configuration directly in your route config."},{title:"Link Automation",emoji:"\u{1f517}",description:"Automates tag creation for canonical links, hreflang links and more."},{title:"Open-source!",emoji:"\u{1f929}",description:"Learn how it works! Contribute! Fork it! Make it your own!"}],examplesTopics:[],linkedProjects:[],wikiUrl:"https://bs-angular-zen.web.app/docs/zen-seo/index.html",repoUrl:"https://github.com/BeSpunky/angular-zen/tree/master/projects/bespunky/angular-zen-seo",packageUrl:"https://www.npmjs.com/package/@bespunky/angular-zen-seo",credits:[{text:"Cover image by Aur\xe9lien - Wild Spot - www.unsplash.com",url:"https://unsplash.com/@wildspot?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText"},{text:"Infographic vector created by freepik - www.freepik.com",url:"https://www.freepik.com/vectors/infographic"}],soon:!0}];let Ip;!function w$(){Ap.forEach((n,t)=>{const e=[...Ap];return e.splice(t,1),n.linkedProjects=e,e})}();try{Ip=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Ip=!1}let ta,ui,Tp,$t=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Dr(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&&!Ip)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(v(Jt))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Nc(n){return function C$(){if(null==ta&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ta=!0}))}finally{ta=ta||!1}return ta}()?n:!!n.capture}function D$(){if(null==ui){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ui=!1,ui;if("scrollBehavior"in document.documentElement.style)ui=!0;else{const n=Element.prototype.scrollTo;ui=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return ui}function di(n){return n.composedPath?n.composedPath()[0]:n.target}function Rp(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function oE(n){return wt((t,e)=>n<=e)}function k$(n,t){return n===t}let P$=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),L$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}),n.\u0275inj=ce({providers:[P$]}),n})();class N$ extends Ze{constructor(t,e){super()}schedule(t,e=0){return this}}const Vc={setInterval(n,t,...e){const{delegate:r}=Vc;return r?.setInterval?r.setInterval(n,t,...e):setInterval(n,t,...e)},clearInterval(n){const{delegate:t}=Vc;return(t?.clearInterval||clearInterval)(n)},delegate:void 0};class Op extends N${constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var r;if(this.closed)return this;this.state=t;const i=this.id,s=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(s,i,e)),this.pending=!0,this.delay=e,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(s,this.id,e),this}requestAsyncId(t,e,r=0){return Vc.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,e,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return e;null!=e&&Vc.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,e);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let i,r=!1;try{this.work(t)}catch(s){r=!0,i=s||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:r}=e;this.work=this.state=this.scheduler=null,this.pending=!1,gi(r,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}const aE={now:()=>(aE.delegate||Date).now(),delegate:void 0};class na{constructor(t,e=na.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,r){return new this.schedulerActionCtor(this,t).schedule(r,e)}}na.now=aE.now;class Fp extends na{constructor(t,e=na.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,r){for(;t=e.shift();)t.unsubscribe();throw r}}}const kp=new Fp(Op),B$=kp,lE=new Set;let Ms,j$=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):$$}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function H$(n){if(!lE.has(n))try{Ms||(Ms=document.createElement("style"),Ms.setAttribute("type","text/css"),document.head.appendChild(Ms)),Ms.sheet&&(Ms.sheet.insertRule(`@media ${n} {body{ }}`,0),lE.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(v($t))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function $$(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let cE=(()=>{class n{constructor(e,r){this._mediaMatcher=e,this._zone=r,this._queries=new Map,this._destroySubject=ne
1w _e}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return uE(dc(e)).some(i=>this._registerQuery(i).mql.matches)}observe(e){let s=Yf(uE(dc(e)).map(o=>this._registerQuery(o).observable));return s=gc(s.pipe(or(1)),s.pipe(oE(1),function V$(n,t=kp){return Me((e,r)=>{let i=null,s=null,o=null;const a=()=>{if(i){i.unsubscribe(),i=null;const c=s;s=null,r.next(c)}};function l(){const c=o+n,u=t.now();if(u<c)return i=this.schedule(void 0,c-u),void r.add(i);a()}e.subscribe(Ae(r,c=>{s=c,o=t.now(),i||(i=t.schedule(l,n),r.add(i))},()=>{a(),r.complete()},void 0,()=>{s=i=null}))})}(0))),s.pipe($(o=>{const a={matches:!1,breakpoints:{}};return o.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const r=this._mediaMatcher.matchMedia(e),s={observable:new Ee(o=>{const a=l=>this._zone.run(()=>o.next(l));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(VD(r),$(({matches:o})=>({query:e,matches:o})),rt(this._destroySubject)),mql:r};return this._queries.set(e,s),s}}return n.\u0275fac=function(e){return new(e||n)(v(j$),v(ie))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function uE(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}function jc(n,t){return(n.getAttribute(t)||"").match(/\S+/g)||[]}const hE="cdk-describedby-message",Hc="cdk-describedby-host";let Pp=0,W$=(()=>{class n{constructor(e,r){this._platform=r,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Pp++,this._document=e,this._id=ye(cs)+"-"+Pp++}describe(e,r,i){if(!this._canBeDescribed(e,r))return;const s=Lp(r,i);"string"!=typeof r?(fE(r,this._id),this._messageRegistry.set(s,{messageElement:r,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(r,i),this._isElementDescribedByMessage(e,s)||this._addMessageReference(e,s)}removeDescription(e,r,i){if(!r||!this._isElementNode(e))return;const s=Lp(r,i);if(this._isElementDescribedByMessage(e,s)&&this._removeMessageReference(e,s),"string"==typeof r){const o=this._messageRegistry.get(s);o&&0===o.referenceCount&&this._deleteMessageElement(s)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${Hc}="${this._id}"]`);for(let r=0;r<e.length;r++)this._removeCdkDescribedByReferenceIds(e[r]),e[r].removeAttribute(Hc);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,r){const i=this._document.createElement("div");fE(i,this._id),i.textContent=e,r&&i.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(i),this._messageRegistry.set(Lp(e,r),{messageElement:i,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;const e="cdk-describedby-message-container",r=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let s=0;s<r.length;s++)r[s].remove();const i=this._document.createElement("div");i.style.visibility="hidden",i.classList.add(e),i.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&i.setAttribute("platform","server"),this._document.body.appendChild(i),this._messagesContainer=i}_removeCdkDescribedByReferenceIds(e){const r=jc(e,"aria-describedby").filter(i=>0!=i.indexOf(hE));e.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(e,r){const i=this._messageRegistry.get(r);(function z$(n,t,e){const r=jc(n,t);r.some(i=>i.trim()==e.trim())||(r.push(e.trim()),n.setAttribute(t,r.join(" ")))})(e,"aria-describedby",i.messageElement.id),e.setAttribute(Hc,this._id),i.referenceCount++}_removeMessageReference(e,r){const i=this._messageRegistry.get(r);i.referenceCount--,function G$(n,t,e){const i=jc(n,t).filter(s=>s!=e.trim());i.length?n.setAttribute(t,i.join(" ")):n.removeAttribute(t)}(e,"aria-describedby",i.messageElement.id),e.removeAttribute(Hc)}_isElementDescribedByMessage(e,r){const i=jc(e,"aria-describedby"),s=this._messageRegistry.get(r),o=s&&s.messageElement.id;return!!o&&-1!=i.indexOf(o)}_canBeDescribed(e,r){if(!this._isElementNode(e))return!1;if(r&&"object"==typeof r)return!0;const i=null==r?"":`${r}`.trim(),s=e.getAttribute("aria-label");return!(!i||s&&s.trim()===i)}
1_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(v(K),v($t))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Lp(n,t){return"string"==typeof n?`${t||""}/${n}`:n}function fE(n,t){n.id||(n.id=`${hE}-${t}-${Pp++}`)}function gE(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function mE(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const X$=new E("cdk-input-modality-detector-options"),J$={ignoreKeys:[18,17,224,91,16]},As=Nc({passive:!0,capture:!0});let eU=(()=>{class n{constructor(e,r,i,s){this._platform=e,this._mostRecentTarget=null,this._modality=new At(null),this._lastTouchMs=0,this._onKeydown=o=>{this._options?.ignoreKeys?.some(a=>a===o.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=di(o))},this._onMousedown=o=>{Date.now()-this._lastTouchMs<650||(this._modality.next(gE(o)?"keyboard":"mouse"),this._mostRecentTarget=di(o))},this._onTouchstart=o=>{mE(o)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=di(o))},this._options={...J$,...s},this.modalityDetected=this._modality.pipe(oE(1)),this.modalityChanged=this.modalityDetected.pipe(function F$(n,t=hr){return n=n??k$,Me((e,r)=>{let i,s=!0;e.subscribe(Ae(r,o=>{const a=t(o);(s||!n(i,a))&&(s=!1,i=a,r.next(o))}))})}()),e.isBrowser&&r.runOutsideAngular(()=>{i.addEventListener("keydown",this._onKeydown,As),i.addEventListener("mousedown",this._onMousedown,As),i.addEventListener("touchstart",this._onTouchstart,As)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,As),document.removeEventListener("mousedown",this._onMousedown,As),document.removeEventListener("touchstart",this._onTouchstart,As))}}return n.\u0275fac=function(e){return new(e||n)(v($t),v(ie),v(K),v(X$,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const nU=new E("cdk-focus-monitor-default-options"),$c=Nc({passive:!0,capture:!0});let Np=(()=>{class n{constructor(e,r,i,s,o){this._ngZone=e,this._platform=r,this._inputModalityDetector=i,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new _e,this._rootNodeFocusAndBlurListener=a=>{for(let c=di(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=s,this._detectionMode=o?.detectionMode||0}monitor(e,r=!1){const i=ms(e);if(!this._platform.isBrowser||1!==i.nodeType)return O(null);const s=function E$(n){if(function x$(){if(null==Tp){const n=typeof document<"u"?document.head:null;Tp=!(!n||!n.createShadowRoot&&!n.attachShadow)}return Tp}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(i)||this._getDocument(),o=this._elementInfo.get(i);if(o)return r&&(o.checkChildren=!0),o.subject;const a={checkChildren:r,subject:new _e,rootNode:s};return this._elementInfo.set(i,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const r=ms(e),i=this._elementInfo.get(r);i&&(i.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(i))}focusVia(e,r,i){const s=ms(e);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(([a,l])=>this._originChanged(a,r,l)):(this._setOrigin(r),"function"==typeof s.focus&&s.focus(i))}ngOnDestroy(){this._elementInfo.forEach((e,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,r){e.classList.toggle("cdk-focused",!!r),e.classList.toggle("cdk-touch-focused","touch"===r),e.classList.toggle("cdk-keyboard-focused","keyboard"===r),e.classList.toggle("cdk-mouse-focused","mouse"===r),e.classList.toggle("cdk-program-focused","program"===r)}_setOrigin(e,r=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&r,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,r){const i=this._elementInfo.get(r),s=di(e);!i||!i.checkChildren&&r!==s||this._originChanged(r,this._getFocusOrigin(s),i)}_onBlur(e,r){const i=this._elementInfo.get(r);!i||i.checkChildren&&e.relatedTarget instanceof Node&&r.contains(e.relatedTarget)||(this._setClasses(r),this._emitOrigin(i,null))}_emitOrigin(e,r){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(r))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const r=e.rootNode,i=this._rootNodeFocusListenerCount.get(r)||0;i||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,$c),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,$c)}),this._rootNodeFocusListenerCount.set(r,i+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(rt(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(e){const r=e.rootNode;if(this._rootNodeFocusListenerCount.has(r)){const i=this._rootNodeFocusListenerCount.get(r);i>1?this._rootNodeFocusListenerCount.set(r,i-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,$c),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,$c),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,r,i){this._setClasses(e,r),this._emitOrigin(i,r),this._lastFocusOrigin=r}_getClosestElementsInfo(e){const r=[];return this._elementInfo.forEach((i,s)=>{(s===e||i.checkChildren&&s.contains(e))&&r.push([s,i])}),r}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:r,mostRecentModality:i}=this._inputModalityDetector;
1if("mouse"!==i||!r||r===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const s=e.labels;if(s)for(let o=0;o<s.length;o++)if(s[o].contains(r))return!0;return!1}}return n.\u0275fac=function(e){return new(e||n)(v(ie),v($t),v(eU),v(K,8),v(nU,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const vE="cdk-high-contrast-black-on-white",_E="cdk-high-contrast-white-on-black",Bp="cdk-high-contrast-active";let bE=(()=>{class n{constructor(e,r){this._platform=e,this._document=r,this._breakpointSubscription=ye(cE).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.getComputedStyle(e):null,s=(i&&i.backgroundColor||"").replace(/ /g,"");switch(e.remove(),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Bp,vE,_E),this._hasCheckedHighContrastMode=!0;const r=this.getHighContrastMode();1===r?e.add(Bp,vE):2===r&&e.add(Bp,_E)}}}return n.\u0275fac=function(e){return new(e||n)(v($t),v(K))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),rU=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(v(bE))},n.\u0275mod=de({type:n}
1),n.\u0275inj=ce({imports:[L$]}),n})();const sU=new E("mat-sanity-checks",{providedIn:"root",factory:function iU(){return!0}});let It=(()=>{class n{constructor(e,r,i){this._sanityChecks=r,this._document=i,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Rp()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(v(bE),v(sU,8),v(K))},n.\u0275mod=de({type:n}),n.\u0275inj=ce({imports:[ys,ys]}),n})();function oU(n){return class extends n{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=sn(t)}}}function Vp(n,t){return class extends n{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const r=e||this.defaultColor;r!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),r&&this._elementRef.nativeElement.classList.add(`mat-${r}`),this._color=r)}}}function aU(n){return class extends n{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=sn(t)}}}class cU{constructor(t,e,r,i=!1){this._renderer=t,this.element=e,this.config=r,this._animationForciblyDisabledThroughCss=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const DE={enterDuration:225,exitDuration:150},jp=Nc({passive:!0}),xE=["mousedown","touchstart"],EE=["mouseup","mouseleave","touchend","touchcancel"];class dU{constructor(t,e,r,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=ms(r))}fadeInRipple(t,e,r={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s={...DE,...r.animation};r.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const o=r.radius||function hU(n,t,e){const r=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),i=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(r*r+i*i)}(t,e,i),a=t-i.left,l=e-i.top,c=s.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=a-o+"px",u.style.top=l-o+"px",u.style.height=2*o+"px",u.style.width=2*o+"px",null!=r.color&&(u.style.backgroundColor=r.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u);const d=window.getComputedStyle(u),f=d.transitionDuration,p="none"===d.transitionProperty||"0s"===f||"0s, 0s"===f,m=new cU(this,u,r,p);u.style.transform="scale3d(1, 1, 1)",m.state=0,r.persistent||(this._mostRecentTransientRipple=m);let y=null;return!p&&(c||s.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const _=()=>this._finishRippleTransition(m),C=()=>this._destroyRipple(m);u.addEventListener("transitionend",_),u.addEventListener("transitioncancel",C),y={onTransitionEnd:_,onTransitionCancel:C}}),this._activeRipples.set(m,y),(p||!c)&&this._finishRippleTransition(m),m}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,r={...DE,...t.config.animation};e.style.transitionDuration=`${r.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=ms(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(xE))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(EE),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:r}=t.config;t.state=1,!r&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==e&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=gE(t),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!e&&!r&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!mE(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let r=0;r<e.length;r++)this.fadeInRipple(e[r].clientX,e[r].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEac
1h(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(e=>{this._triggerElement.addEventListener(e,this,jp)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(xE.forEach(t=>{this._triggerElement.removeEventListener(t,this,jp)}),this._pointerUpEventsRegistered&&EE.forEach(t=>{this._triggerElement.removeEventListener(t,this,jp)}))}}const fU=new E("mat-ripple-global-options");let Hp=(()=>{class n{constructor(e,r,i,s,o){this._elementRef=e,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new dU(this,r,e,i)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,r=0,i){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,r,{...this.rippleConfig,...i}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return n.\u0275fac=function(e){return new(e||n)(g(J),g(ie),g($t),g(fU,8),g(Xn,8))},n.\u0275dir=S({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,r){2&e&&Zt("mat-ripple-unbounded",r.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),pU=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}
1),n.\u0275inj=ce({imports:[It,It]}),n})();const SE=["mat-button",""],ME=["*"],yU=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],vU=Vp(oU(aU(class{constructor(n){this._elementRef=n}})));let AE=(()=>{class n extends vU{constructor(e,r,i){super(e),this._focusMonitor=r,this._animationMode=i,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const s of yU)this._hasHostAttributes(s)&&this._getHostElement().classList.add(s);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,r){e?this._focusMonitor.focusVia(this._getHostElement(),e,r):this._getHostElement().focus(r)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(r=>this._getHostElement().hasAttribute(r))}}return n.\u0275fac=function(e){return new(e||n)(g(J),g(Np),g(Xn,8))},n.\u0275cmp=at({type:n,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(e,r){if(1&e&&wh(Hp,5),2&e){let i;ss(i=os())&&(r.ripple=i.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,r){2&e&&(Gi("disabled",r.disabled||null),Zt("_mat-animation-noopable","NoopAnimations"===r._animationMode)("mat-button-disabled",r.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[F],attrs:SE,ngContentSelectors:ME,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(e,r){1&e&&(Qr(),H(0,"span",0),yn(1),P(),et(2,"span",1)(3,"span",2)),2&e&&(z(2),Zt("mat-button-ripple-round",r.isRoundButton||r.isIconButton),ve("matRippleDisabled",r._isRippleDisabled())("matRippleCentered",r.isIconButton)("matRippleTrigger",r._getHostElement()))},dependencies:[Hp],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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.mat-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-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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.mat-button-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-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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.mat-button-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-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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}.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:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.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}"],encapsulation:2,changeDetection:0}),n})(),IE=(()=>{class n extends AE{constructor(e,r,i,s){super(r,e,i),this._ngZone=s,this._haltDisabledEvents=o=>{this.disabled&&(o.preventDefault(),o.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return n.\u0275fac=function(e){return new(e||n)(g(Np),g(J),g(Xn,8),g(ie,8))},n.\u0275cmp=at({type:n,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:7,hostBindings:function(e,r){2&e&&(Gi("tabindex",r.disabled?-1:r.tabIndex)("disabled",r.disabled||null)("aria-disabled",r.disabled.toString()),Zt("_mat-animation-noopable","NoopAnimations"===r._animationMode)("mat-button-disabled",r.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[F],attrs:SE,ngContentSelectors:ME,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(e,r){1&e&&(Qr(),H(0,"span",0),yn(1),P(),et(2,"span",1)(3,"span",2)),2&e&&(z(2),Zt("mat-button-ripple-round",r.isRoundButton||r.isIconButton),ve("matRippleDisabled",r._isRippleDisabled())("matRippleCentered",r.isIconButton)("matRippleTrigger",r._getHostElement()))},dependencies:[Hp],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}
1.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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.mat-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-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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.mat-button-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-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);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.mat-button-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-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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}.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:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.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}"],encapsulation:2,changeDetection:0}),n})(),TE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}
1),n.\u0275inj=ce({imports:[pU,It,It]}),n})();const _U=["*",[["mat-card-footer"]]],bU=["*","mat-card-footer"],wU=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],CU=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n      [mat-card-title], [mat-card-subtitle],\n      [matCardTitle], [matCardSubtitle]","*"];let DU=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=S({type:n,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),n})(),xU=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=S({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),n})(),EU=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=S({type:n,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),n})(),SU=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=S({type:n,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),n})(),RE=(()=>{class n{constructor(e){this._animationMode=e}}return n.\u0275fac=function(e){return new(e||n)(g(Xn,8))},n.\u0275cmp=at({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,r){2&e&&Zt("_mat-animation-noopable","NoopAnimations"===r._animationMode)},exportAs:["matCard"],ngContentSelectors:bU,decls:2,vars:0,template:function(e,r){1&e&&(Qr(_U),yn(0),yn(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-card._mat-animation-noopable{transition:none !important;animation:none !important}.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;display:block;overflow:hidden}.mat-card-image img{width:100%}.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:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-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}"],encapsulation:2,changeDetection:0}),n})(),MU=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=at({type:n,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:CU,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(e,r){1&e&&(Qr(wU),yn(0),H(1,"div",0),yn(2,1),P(),yn(3,2))},encapsulation:2,changeDetection:0}),n})(),OE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}
vendor: 4,213 bytes, line 1
1),n.\u0275inj=ce({imports:[It,It]}),n})();function AU(n,t){if(1&n&&(H(0,"mat-card",2)(1,"h2"),ae(2),P(),H(3,"h3"),ae(4),P(),H(5,"h1"),ae(6),P()()),2&n){const e=t.$implicit;z(2),tt(e.title),z(2),tt(e.description),z(2),tt(e.emoji)}}let IU=(()=>{class n{constructor(){this.benefits=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=at({type:n,selectors:[["app-library-benefits"]],inputs:{benefits:"benefits"},decls:2,vars:1,consts:[["gdColumns","repeat(auto-fit, minmax(300px, 1fr))","gdAlignColumns","space-evenly stretch","gdGap","30px",1,"benefits"],["style","height: 300px","class","text-center transition hover-zoom","fxLayout","column","fxLayoutAlign","space-around center","fxLayoutGap","15px",4,"ngFor","ngForOf"],["fxLayout","column","fxLayoutAlign","space-around center","fxLayoutGap","15px",1,"text-center","transition","hover-zoom",2,"height","300px"]],template:function(e,r){1&e&&(H(0,"div",0),Qn(1,AU,7,3,"mat-card",1),P()),2&e&&(z(1),ve("ngForOf",r.benefits))},dependencies:[Vl,RE,No,Bo,Vo,ED,ID,TD]}),n})();class RU{}class Rr{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const r=e.indexOf(":");if(r>0){const i=e.slice(0,r),s=i.toLowerCase(),o=e.slice(r+1).trim();this.maybeSetNormalizedName(i,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let r=t[e];const i=e.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(i,r),this.maybeSetNormalizedName(e,i))})}: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 Rr?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 Rr;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Rr?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 r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":const s=t.value;if(s){let o=this.headers.get(e);if(!o)return;o=o.filter(a=>-1===s.indexOf(a)),0===o.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}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 OU{encodeKey(t){return FE(t)}encodeValue(t){return FE(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const kU=/%(\d[a-f0-9])/gi,PU={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function FE(n){return encodeURIComponent(n).replace(kU,(t,e)=>PU[e]??t)}function Uc(n){return`${n}`}class Or{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new OU,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function FU(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{const s=i.indexOf("="),[o,a]=-1==s?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,s)),t.decodeValue(i.slice(s+1))],l=e.get(o)||[];l.push(a),e.set(o,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e
vendor: 4,101 bytes, line 1
1=>{const r=t.fromObject[e],i=Array.isArray(r)?r.map(Uc):[Uc(r)];this.map.set(e,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"})}appendAll(t){const e=[];return Object.keys(t).forEach(r=>{const i=t[r];Array.isArray(i)?i.forEach(s=>{e.push({param:r,value:s,op:"a"})}):e.push({param:r,value:i,op:"a"})}),this.clone(e)}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(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Or({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(Uc(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const i=r.indexOf(Uc(t.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class LU{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function kE(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function PE(n){return typeof Blob<"u"&&n instanceof Blob}function LE(n){return typeof FormData<"u"&&n instanceof FormData}class ia{constructor(t,e,r,i){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function NU(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,s=i):s=r,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new Rr),this.context||(this.context=new LU),this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a<e.length-1?"&":"")+o}}else this.params=new Or,this.urlWithParams=e}serializeBody(){return null===this.body?null:kE(this.body)||PE(this.body)||LE(this.body)||function BU(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Or?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||LE(this.body)?null:PE(this.body)?this.body.type||null:kE(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Or?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){const e=t.method||this.method,r=t.url||this.url,i=t.responseType||this.responseType,s=void 0!==t.body?t.body:this.body,o=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let l=t.headers||this.headers,c=t.params||this.params;const u=t.context??this.context;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((d,h)=>d.set(h,t.setHeaders[h]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((d,h)=>
1d.set(h,t.setParams[h]),c)),new ia(e,r,s,{params:c,headers:l,context:u,reportProgress:a,responseType:i,withCredentials:o})}}var ot=(()=>((ot=ot||{})[ot.Sent=0]="Sent",ot[ot.UploadProgress=1]="UploadProgress",ot[ot.ResponseHeader=2]="ResponseHeader",ot[ot.DownloadProgress=3]="DownloadProgress",ot[ot.Response=4]="Response",ot[ot.User=5]="User",ot))();class $p extends class VU{constructor(t,e=200,r="OK"){this.headers=t.headers||new Rr,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}{constructor(t={}){super(t),this.type=ot.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new $p({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 Up(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let BE=(()=>{class n{constructor(e){this.handler=e}request(e,r,i={}){let s;if(e instanceof ia)s=e;else{let l,c;l=i.headers instanceof Rr?i.headers:new Rr(i.headers),i.params&&(c=i.params instanceof Or?i.params:new Or({fromObject:i.params})),s=new ia(e,r,void 0!==i.body?i.body:null,{headers:l,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const o=O(s).pipe(Ir(l=>this.handler.handle(l)));if(e instanceof ia||"events"===i.observe)return o;const a=o.pipe(wt(l=>l instanceof $p));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return a.pipe($(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe($(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe($(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe($(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:(new Or).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,i={}){return this.request("PATCH",e,Up(i,r))}post(e,r,i={}){return this.request("POST",e,Up(i,r))}put(e,r,i={}){return this.request("PUT",e,Up(i,r))}}return n.\u0275fac=function(e){return new(e||n)(v(RU))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const HU=["*"];let zc;function sa(n){return function $U(){if(void 0===zc&&(zc=null,typeof window<"u")){const n=window;void 0!==n.trustedTypes&&(zc=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return zc}()?.createHTML(n)||n}function VE(n){return Error(`Unable to find icon with the name "${n}"`)}function jE(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function HE(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class hi{constructor(t,e,r){this.url=t,this.svgText=e,this.options=r}}let Gc=(()=>{class n{constructor(e,r,i,s){this._httpClient=e,this._sanitizer=r,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=i}addSvgIcon(e,r,i){return this.addSvgIconInNamespace("",e,r,i)}addSvgIconLiteral(e,r,i){return this.addSvgIconLiteralInNamespace("",e,r,i)}addSvgIconInNamespace(e,r,i,s){return this._addSvgIconConfig(e,r,new hi(i,null,s))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,r,i,s){const o=this._sanitizer.sanitize(he.HTML,i);if(!o)throw HE(i);const a=sa(o);return this._addSvgIconConfig(e,r,new hi("",a,s))}addSvgIconSet(e,r){return this.addSvgIconSetInNamespace("",e,r)}addSvgIconSetLiteral(e,r){return this.addSvgIconSetLiteralInNamespace("",e,r)}addSvgIconSetInNamespace(e,r,i){return this._addSvgIconSetConfig(e,new hi(r,null,i))}addSvgIconSetLiteralInNamespace(e,r,i){const s=this._sanitizer.sanitize(he.HTML,r);if(!s)throw HE(r);const o=sa(s);return this._addSvgIconSetConfig(e,new hi("",o,i))}
vendor: 7,252 bytes, line 1
1registerFontClassAlias(e,r=e){return this._fontCssClassesByAlias.set(e,r),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const r=this._sanitizer.sanitize(he.RESOURCE_URL,e);if(!r)throw jE(e);const i=this._cachedIconsByUrl.get(r);return i?O(Wc(i)):this._loadSvgIconFromConfig(new hi(e,null)).pipe(ze(s=>this._cachedIconsByUrl.set(r,s)),$(s=>Wc(s)))}getNamedSvgIcon(e,r=""){const i=$E(r,e);let s=this._svgIconConfigs.get(i);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(r,e),s)return this._svgIconConfigs.set(i,s),this._getSvgFromConfig(s);const o=this._iconSetConfigs.get(r);return o?this._getSvgFromIconSetConfigs(e,o):vs(VE(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?O(Wc(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe($(r=>Wc(r)))}_getSvgFromIconSetConfigs(e,r){const i=this._extractIconWithNameFromAnySet(e,r);return i?O(i):function TU(...n){const t=wg(n),{args:e,keys:r}=FD(n),i=new Ee(s=>{const{length:o}=e;if(!o)return void s.complete();const a=new Array(o);let l=o,c=o;for(let u=0;u<o;u++){let d=!1;Ct(e[u]).subscribe(Ae(s,h=>{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||s.next(r?kD(r,a):a),s.complete())}))}});return t?i.pipe(Kf(t)):i}(r.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(ar(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(he.RESOURCE_URL,o.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),O(null)})))).pipe($(()=>{const o=this._extractIconWithNameFromAnySet(e,r);if(!o)throw VE(e);return o}))}_extractIconWithNameFromAnySet(e,r){for(let i=r.length-1;i>=0;i--){const s=r[i];if(s.svgText&&s.svgText.toString().indexOf(e)>-1){const o=this._svgElementFromConfig(s),a=this._extractSvgIconFromSet(o,e,s.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(ze(r=>e.svgText=r),$(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?O(null):this._fetchIcon(e).pipe(ze(r=>e.svgText=r))}_extractSvgIconFromSet(e,r,i){const s=e.querySelector(`[id="${r}"]`);if(!s)return null;const o=s.cloneNode(!0);if(o.removeAttribute("id"),"svg"===o.nodeName.toLowerCase())return this._setSvgAttributes(o,i);if("symbol"===o.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(o),i);const a=this._svgElementFromString(sa("<svg></svg>"));return a.appendChild(o),this._setSvgAttributes(a,i)}_svgElementFromString(e){const r=this._document.createElement("DIV");r.innerHTML=e;const i=r.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(e){const r=this._svgElementFromString(sa("<svg></svg>")),i=e.attributes;for(let s=0;s<i.length;s++){const{name:o,value:a}=i[s];"id"!==o&&r.setAttribute(o,a)}for(let s=0;s<e.childNodes.length;s++)e.childNodes[s].nodeType===this._document.ELEMENT_NODE&&r.appendChild(e.childNodes[s].cloneNode(!0));return r}_setSvgAttributes(e,r){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),r&&r.viewBox&&e.setAttribute("viewBox",r.viewBox),e}_fetchIcon(e){const{url:r,options:i}=e,s=i?.withCredentials??!1;if(!this._httpClient)throw function UU(){return 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==r)throw Error(`Cannot fetch icon from URL "${r}".`);const o=this._sanitizer.sanitize(he.RESOURCE_URL,r);if(!o)throw jE(r);const a=this._inProgressUrlFetches.get(o);if(a)return a;const l=this._httpClient.get(o,{responseType:"text",withCredentials:s}).pipe($(c=>sa(c)),jo(()=>this._inProgressUrlFetches.delete(o)),Eg());return this._inProgressUrlFetches.set(o,l),l}_addSvgIconConfig(e,r,i){return this._svgIconConfigs.set($E(e,r),i),this}_addSvgIconSetConfig(e,r){const i=this._iconSetConfigs.get(e);return i?i.push(r):this._iconSetConfigs.set(e,[r]),this}_svgElementFromConfig(e){if(!e.svgElement){const r=this._svgElementFromString(e.svgText);this._setSvgAttributes(r,e.options),e.svgElement=r}return e.svgElement}_getIconConfigFromResolvers(e,r){for(let i=0;i<this._resolvers.length;i++){const s=this._resolvers[i](r,e);if(s)return GU(s)?new hi(s.url,null,s.options):new hi(s,null)}}}return n.\u0275fac=function(e){return new(e||n)(v(BE,8),v(Io),v(K,8),v(Wn))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Wc(n){return n.cloneNode(!0)}function $E(n,t){return n+":"+t}function GU(n){return!(!n.url||!n.options)}const WU=Vp(class{constructor(n){this._elementRef=n}}),qU=new E("MAT_ICON_DEFAULT_OPTIONS"),KU=new E("mat-icon-location",{providedIn:"root",factory:function YU(){const n=ye(K),t=n?n.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}}),UE=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],QU=UE.map(n=>`[${n}]`).join(", "),ZU=/^url\(['"]?#(.*?)['"]?\)$/;let zp=(()=>{class n extends WU{constructor(e,r,i,s,o,a){super(e),this._iconRegistry=r,this._location=s,this._errorHandler=o,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ze.EMPTY,a&&(a.color&&(this.color=this.defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),i||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=sn(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const r=this._cleanupFontValue(e);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const r=this._cleanupFontValue(e);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const r=e.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let r=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){const i=e.childNodes[r];(1!==i.nodeType||"svg"===i.nodeName.toLowerCase())&&i.remove()}}
1_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>e.classList.remove(i)),r.forEach(i=>e.classList.add(i)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const r=this._elementsWithExternalReferences;r&&r.forEach((i,s)=>{i.forEach(o=>{s.setAttribute(o.name,`url('${e}#${o.value}')`)})})}_cacheChildrenWithExternalReferences(e){const r=e.querySelectorAll(QU),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s<r.length;s++)UE.forEach(o=>{const a=r[s],l=a.getAttribute(o),c=l?l.match(ZU):null;if(c){let u=i.get(a);u||(u=[],i.set(a,u)),u.push({name:o,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[r,i]=this._splitIconName(e);r&&(this._svgNamespace=r),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,r).pipe(or(1)).subscribe(s=>this._setSvgElement(s),s=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${r}:${i}! ${s.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(g(J),g(Gc),Mi("aria-hidden"),g(KU),g(Wn),g(qU,8))},n.\u0275cmp=at({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,r){2&e&&(Gi("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet),Zt("mat-icon-inline",r.inline)("mat-icon-no-color","primary"!==r.color&&"accent"!==r.color&&"warn"!==r.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[F],ngContentSelectors:HU,decls:1,vars:0,template:function(e,r){1&e&&(Qr(),yn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[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}"],encapsulation:2,changeDetection:0}),n})(),zE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}
1),n.\u0275inj=ce({imports:[It,It]}),n})();function XU(n,t){if(1&n&&(H(0,"mat-card-subtitle"),ae(1),P()),2&n){const e=cl().$implicit;z(1),tt(e.subtitle)}}const JU=function(){return["./"]},ez=function(n){return["./",n]},tz=function(n){return{soon:n}};function nz(n,t){if(1&n&&(H(0,"a",2)(1,"mat-card")(2,"mat-card-header")(3,"div",3)(4,"mat-icon"),ae(5),P()(),H(6,"mat-card-title"),ae(7),P(),Qn(8,XU,2,1,"mat-card-subtitle",4),P(),H(9,"mat-card-content")(10,"p"),ae(11),P()()()()),2&n){const e=t.$implicit;ve("routerLink",e.soon?yl(6,JU):mo(7,ez,e.title))("ngClass",mo(9,tz,e.soon)),z(5),tt(e.icon),z(2),tt(e.title),z(1),ve("ngIf",e.subtitle),z(3),tt(e.content)}}let GE=(()=>{class n{constructor(){this.cards=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=at({type:n,selectors:[["app-example-list"]],inputs:{cards:"cards"},decls:2,vars:1,consts:[["fxLayout","column","fxLayoutAlign","space-between stretch","fxLayoutGap","15px",1,"examples","relative"],["class","non-link-style transition hover-zoom relative",3,"routerLink","ngClass",4,"ngFor","ngForOf"],[1,"non-link-style","transition","hover-zoom","relative",3,"routerLink","ngClass"],["mat-card-avatar",""],[4,"ngIf"]],template:function(e,r){1&e&&(H(0,"div",0),Qn(1,nz,12,11,"a",1),P()),2&e&&(z(1),ve("ngForOf",r.cards))},dependencies:[xo,Vl,Eo,ci,RE,MU,DU,xU,EU,SU,zp,No,Bo,Vo,Wf]}),n})();const rz=function(n){return["/",n]};function iz(n,t){if(1&n&&(H(0,"a",23),et(1,"img",24),P()),2&n){const e=t.$implicit;Zt("soon",e.soon),ve("routerLink",mo(4,rz,e.name)),z(1),ve("src","assets/"+e.name+"/logo64x64.png",pn)}}function sz(n,t){if(1&n&&(H(0,"div",21),Qn(1,iz,2,6,"a",22),P()),2&n){const e=cl();z(1),ve("ngForOf",e.project.linkedProjects)}}function oz(n,t){if(1&n&&(H(0,"small")(1,"a",25),ae(2),P()()),2&n){const e=t.$implicit;z(1),ve("href",e.url,pn),z(1),tt(e.text)}}const az=function(){return{width:"initial"}},lz=function(){return{width:"500px"}};let cz=(()=>{class n{constructor(e){this.project=e.snapshot.data,this.cards=this.project.examplesTopics.map(r=>({title:r.title,subtitle:`${r.examples.length} examples`,icon:r.icon,content:r.description}))}slideTo(e){e.scrollIntoView({behavior:"smooth",block:"start"})}}return n.\u0275fac=function(e){return new(e||n)(g(on))},n.\u0275cmp=at({type:n,selectors:[["app-home"]],decls:41,vars:15,consts:[["fxLayout","column","fxLayoutAlign","center center",1,"cover","fill-screen-v","relative"],[1,"cover-image"],[1,"box","padding-30","text-center",3,"ngStyle.xs","ngStyle.gt-xs"],[1,"logo","text-center"],["width","297","height","413",3,"src"],[1,"title"],[1,"subtitle"],["mat-raised-button","","color","primary",3,"click"],["class","margin-top-30 text-center","fxLayout","row","fxLayoutAlign","center center","fxLayoutGap","15px",4,"ngIf"],["fxLayout","column","fxLayoutAlign","center stretch","fxLayoutGap","15px",1,"benefits","padding-30"],[1,"text-center"],[3,"benefits"],["mat-raised-button","","color","primary","target","_blank",1,"margin-top-30",3,"href"],[1,"demos","padding-30"],["demos",""],["name","demos"],[1,"padding-30",3,"cards"],["fxLayout","column","fxLayoutAlign","center center","fxLayoutGap","30px",1,"footer","padding-30"],["href","https://choosealicense.com/licenses/mit/","target","_blank"],["href","mailto:[email protected]?subject=@bespunky/angular-zen","target","_blank"],[4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","center center","fxLayoutGap","15px",1,"margin-top-30","text-center"],["mat-raised-button","","class","project-link",3,"routerLink","soon",4,"ngFor","ngForOf"],["mat-raised-button","",1,"project-link",3,"routerLink"],["width","64","height","97",3,"src"],["target","_blank",3,"href"]],template:function(e,r){if(1&e){const i=function Av(){return w()}();H(0,"div",0),et(1,"div",1),H(2,"div",2)(3,"div",3),et(4,"img",4),P(),H(5,"h1",5),ae(6),P(),H(7,"h3",6),ae(8),P(),H(9,"button",7),Yr("click",function(){!function $g(n){return U.lFrame.contextLView=n,n[8]}(i);const o=function Sv(n){return Ci(function L0(){return U.lFrame.contextLView}(),22+n)}(22);return function Ug(n){return U.lFrame.contextLView=null,n}(r.slideTo(o))}),ae(10,"Start Experimenting"),P()(),Qn(11,sz,2,1,"div",8),P(),H(12,"div",9)(13,"h1",10),ae(14,"The Cool Benefits"),P(),H(15,"h3",10),ae(16),P(),et(17,"app-library-benefits",11),H(18,"div",10)(19,"a",12),ae(20,"See The Docs"),P()()(),H(21,"div",13,14),et(23,"a",15),H(24,"h1",10),ae(25,"Demos"),P(),H(26,"h3",10),ae(27,"\u26a1 All of the examples are served using StackBlitz. For tips and insights, look at their bottom section."),P(),et(28,"app-example-list",16),P(),H(29,"div",17)(30,"span"),ae(31,"This site and the library are provided freely under the "),H(32,"a",18),ae(33,"MIT license"),P(),ae(34,"."),P(),H(35,"span"),ae(36,"Issues and requests can be sent to "),H(37,"a",19),ae(38,"[email protected]"),P(),ae(39,"."),P(),Qn(40,oz,3,2,"small",20),P()}2&e&&(z(1),ul("background-image","url(/assets/"+r.project.name+"/cover.jpg)"),z(1),ve("ngStyle.xs",yl(13,az))("ngStyle.gt-xs",yl(14,lz)),z(2),ve("src","assets/"+r.project.name+"/[email protected]",pn),z(2),ns("@bespunky/",r.project.name,""),z(2),tt(r.project.slogan),z(3),ve("ngIf",r.project.linkedProjects.length),z(5),tt(r.project.benefitsSlogan),z(1),ve("benefits",r.project.benefits),z(2),ve("href",r.project.wikiUrl,pn),z(9),ve("cards",r.cards),z(12),ve("ngForOf",r.project.credits))},dependencies:[Vl,Eo,ci,AE,IE,No,Bo,Vo,pD,IU,GE],styles:['@charset "UTF-8";.cover-image[_ngcontent-%COMP%]{content:"";position:absolute;inset:0;z-index:-1;background-size:cover;background-position:center center;background-repeat:no-repeat}.project-link[_ngcontent-%COMP%]{padding:10px 25px!important}.project-link.soon[_ngcontent-%COMP%]:before{content:"\\1f6a7  Soon";padding-top:0;padding-bottom:0;top:-12px;right:initial;left:-10px;transform:rotate(-7deg)}.demos[_ngcontent-%COMP%]{background:rgba(0,0,0,.14)}.footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#474747}']}),n})();const uz=["addListener","removeListener"],dz=["addEventListener","removeEventListener"],hz=["on","off"];function Gp(n,t,e,r){if(le(e)&&(r=e,e=void 0),r)return Gp(n,t,e).pipe(Kf(r));const[i,s]=function gz(n){return le(n.addEventListener)&&le(n.removeEventListener)}(n)?dz.map(o=>a=>n[o](t,a,e)):function fz(n){return le(n.addListener)&&le(n.removeListener)}(n)?uz.map(WE(n,t)):function pz(n){return le(n.on)&&le(n.off)}(n)?hz.map(WE(n,t)):[];if(!i&&iu(n))return Xe(o=>Gp(o,t,e))(Ct(n));if(!i)throw new TypeError("Invalid event target");return new Ee(o=>{const a=(...l)=>o.next(1<l.length?l:l[0]);return i(a),()=>s(a)})}function WE(n,t){return e=>r=>n[e](t,r)}const oa={schedule(n){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:r}=oa;r&&(t=r.requestAnimationFrame,e=r.cancelAnimationFrame);const i=t(s=>{e=void 0,n(s)});return new Ze(()=>e?.(i))},requestAnimationFrame(...n){const{delegate:t}=oa;return(t?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:t}=oa;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0};new class yz extends Fp{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let i;t=t||r.shift();do{if(i=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===e&&r.shift());if(this._active=!1,i){for(;(t=r[0])&&t.id===e&&r.shift();)t.unsubscribe();throw i}}}
1(class mz extends Op{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,r=0){return null!==r&&r>0?super.requestAsyncId(t,e,r):(t.actions.push(this),t._scheduled||(t._scheduled=oa.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,r=0){var i;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,e,r);const{actions:s}=t;null!=e&&(null===(i=s[s.length-1])||void 0===i?void 0:i.id)!==e&&(oa.cancelAnimationFrame(e),t._scheduled=void 0)}});let Wp,_z=1;const qc={};function qE(n){return n in qc&&(delete qc[n],!0)}const bz={setImmediate(n){const t=_z++;return qc[t]=!0,Wp||(Wp=Promise.resolve()),Wp.then(()=>qE(t)&&n()),t},clearImmediate(n){qE(n)}},{setImmediate:wz,clearImmediate:Cz}=bz,Kc={setImmediate(...n){const{delegate:t}=Kc;return(t?.setImmediate||wz)(...n)},clearImmediate(n){const{delegate:t}=Kc;return(t?.clearImmediate||Cz)(n)},delegate:void 0};new class xz extends Fp{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let i;t=t||r.shift();do{if(i=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===e&&r.shift());if(this._active=!1,i){for(;(t=r[0])&&t.id===e&&r.shift();)t.unsubscribe();throw i}}}(class Dz extends Op{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,r=0){return null!==r&&r>0?super.requestAsyncId(t,e,r):(t.actions.push(this),t._scheduled||(t._scheduled=Kc.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,r=0){var i;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,e,r);const{actions:s}=t;null!=e&&(null===(i=s[s.length-1])||void 0===i?void 0:i.id)!==e&&(Kc.clearImmediate(e),t._scheduled=void 0)}});function KE(n,t=kp){return function Sz(n){return Me((t,e)=>{let r=!1,i=null,s=null,o=!1;const a=()=>{if(s?.unsubscribe(),s=null,r){r=!1;const c=i;i=null,e.next(c)}o&&e.complete()},l=()=>{s=null,o&&e.complete()};t.subscribe(Ae(e,c=>{r=!0,i=c,s||Ct(n(c)).subscribe(s=Ae(e,a,l))},()=>{o=!0,(!r||!s||s.closed)&&e.complete()}))})}(()=>function Az(n=0,t,e=B$){let r=-1;return null!=t&&(bg(t)?e=t:r=t),new Ee(i=>{let s=function Mz(n){return n instanceof Date&&!isNaN(n)}(n)?+n-e.now():n;s<0&&(s=0);let o=0;return e.schedule(function(){i.closed||(i.next(o++),0<=r?this.schedule(void 0,r):i.complete())},s)})}(n,t))}let YE=(()=>{class n{constructor(e,r,i){this._ngZone=e,this._platform=r,this._scrolled=new _e,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const r=this.scrollContainers.get(e);r&&(r.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Ee(r=>{this._globalSubscription||this._addGlobalListener();const i=e>0?this._scrolled.pipe(KE(e)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):O()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(e,r){const i=this.getAncestorScrollContainers(e);return this.scrolled(r).pipe(wt(s=>!s||i.indexOf(s)>-1))}getAncestorScrollContainers(e){const r=[];return this.scrollContainers.forEach((i,s)=>{this._scrollableContainsElement(s,e)&&r.push(s)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,r){let i=ms(r),s=e.getElementRef().nativeElement;do{if(i==s)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Gp(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(v(ie),v($t),v(K,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),QE=(()=>{class n{constructor(e,r,i){this._platform=e,this._change=new _e,this._changeListener=s=>{this._change.next(s)},this._document=i,r.runOutsideAngular(()=>{if(e.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:r,height:i}=this.getViewportSize();
1return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+r,height:i,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,r=this._getWindow(),i=e.documentElement,s=i.getBoundingClientRect();return{top:-s.top||e.body.scrollTop||r.scrollY||i.scrollTop||0,left:-s.left||e.body.scrollLeft||r.scrollX||i.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(KE(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(v($t),v(ie),v(K,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),qp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}),n.\u0275inj=ce({}),n})(),ZE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}),n.\u0275inj=ce({imports:[ys,qp,ys,qp]}),n})();class Kp{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class XE extends Kp{constructor(t,e,r,i){super(),this.component=t,this.viewContainerRef=e,this.injector=r,this.componentFactoryResolver=i}}class Rz extends Kp{constructor(t,e,r,i){super(),this.templateRef=t,this.viewContainerRef=e,this.context=r,this.injector=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 Oz extends Kp{constructor(t){super(),this.element=t instanceof J?t.nativeElement:t}}class kz extends class Fz{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof XE?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Rz?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Oz?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}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)}}{constructor(t,e,r,i,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=r,this._defaultInjector=i,this.attachDomPortal=o=>{const a=o.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=s}attachComponentPortal(t){const r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(r,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>i.destroy())):(i=r.create(t.injector||this._defaultInjector||St.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let e=t.viewContainerRef,r=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=e.indexOf(r);-1!==i&&e.remove(i)}),this._attachedPortal=t,r}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let Pz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}),n.\u0275inj=ce({}),n})();const JE=D$();class Lz{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=Ge(-this._previousScrollPosition.left),t.style.top=Ge(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,r=t.style,i=this._document.body.style,s=r.scrollBehavior||"",o=i.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),JE&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),JE&&(r.scrollBehavior=s,i.scrollBehavior=o)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,r=this._viewportRuler.getViewportSize();return e.scrollHeight>r.height||e.scrollWidth>r.width}}class Nz{constructor(t,e,r,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler
1=r,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){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 e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-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 eS{enable(){}disable(){}attach(){}}function Yp(n,t){return t.some(e=>n.bottom<e.top||n.top>e.bottom||n.right<e.left||n.left>e.right)}function tS(n,t){return t.some(e=>n.top<e.top||n.bottom>e.bottom||n.left<e.left||n.right>e.right)}class Bz{constructor(t,e,r,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=r,this._config=i,this._scrollSubscription=null}attach(t){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 e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:i}=this._viewportRuler.getViewportSize();Yp(e,[{width:r,height:i,bottom:i,right:r,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 Vz=(()=>{class n{constructor(e,r,i,s){this._scrollDispatcher=e,this._viewportRuler=r,this._ngZone=i,this.noop=()=>new eS,this.close=o=>new Nz(this._scrollDispatcher,this._ngZone,this._viewportRuler,o),this.block=()=>new Lz(this._viewportRuler,this._document),this.reposition=o=>new Bz(this._scrollDispatcher,this._viewportRuler,this._ngZone,o),this._document=s}}return n.\u0275fac=function(e){return new(e||n)(v(YE),v(QE),v(ie),v(K))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class jz{constructor(t){if(this.scrollStrategy=new eS,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const r of e)void 0!==t[r]&&(this[r]=t[r])}}}class Hz{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let nS=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const r=this._attachedOverlays.indexOf(e);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(v(K))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),$z=(()=>{class n extends nS{constructor(e,r){super(e),this._ngZone=r,this._keydownListener=i=>{const s=this._attachedOverlays;for(let o=s.length-1;o>-1;o--)if(s[o]._keydownEvents.observers.length>0){const a=s[o]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(i)):a.next(i);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(v(K),v(ie,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Uz=(()=>{class n extends nS{constructor(e,r,i){super(e),this._platform=r,this._ngZone=i,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=di(s)},this._clickListener=s=>{const o=di(s),a="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:o;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(o)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(s)):d.next(s)}}}
1add(e){if(super.add(e),!this._isAttached){const r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(v(K),v($t),v(ie,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),rS=(()=>{class n{constructor(e,r){this._platform=r,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||Rp()){const i=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let s=0;s<i.length;s++)i[s].remove()}const r=this._document.createElement("div");r.classList.add(e),Rp()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}}return n.\u0275fac=function(e){return new(e||n)(v(K),v($t))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class zz{constructor(t,e,r,i,s,o,a,l,c,u=!1){this._portalOutlet=t,this._host=e,this._pane=r,this._config=i,this._ngZone=s,this._keyboardDispatcher=o,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=u,this._backdropElement=null,this._backdropClick=new _e,this._attachments=new _e,this._detachments=new _e,this._locationChanges=Ze.EMPTY,this._backdropClickHandler=d=>this._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new _e,this._outsidePointerEvents=new _e,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(or(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._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),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(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
1pose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...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=Ge(this._config.width),t.height=Ge(this._config.height),t.minWidth=Ge(this._config.minWidth),t.minHeight=Ge(this._config.minHeight),t.maxWidth=Ge(this._config.maxWidth),t.maxHeight=Ge(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),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),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,r){const i=dc(e||[]).filter(s=>!!s);i.length&&(r?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(rt(da(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._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const iS="cdk-overlay-connected-position-bounding-box",Gz=/([A-Za-z%]+)$/;
1class Wz{constructor(t,e,r,i,s){this._viewportRuler=e,this._document=r,this._platform=i,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=Ze.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(iS),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(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,r=this._viewportRect,i=this._containerRect,s=[];let o;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,i,a),c=this._getOverlayPoint(l,e,a),u=this._getOverlayFit(c,e,r,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,r)?s.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!o||o.overlayFit.visibleArea<u.visibleArea)&&(o={overlayFit:u,overlayPoint:c,originPoint:l,position:a,overlayRect:e})}if(s.length){let a=null,l=-1;for(const c of s){const u=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);u>l&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(o.position,o.originPoint);this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&fi(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(iS),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}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,r){let i,s;if("center"==r.originX)i=t.left+t.width/2;else{const o=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;i="start"==r.originX?o:a}return e.left<0&&(i-=e.left),s="center"==r.originY?t.top+t.height/2:"top"==r.originY?t.top:t.bottom,e.top<0&&(s-=e.top),{x:i,y:s}}_getOverlayPoint(t,e,r){let i,s;return i="center"==r.overlayX?-e.width/2:"start"===r.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==r.overlayY?-e.height/2:"top"==r.overlayY?0:-e.height,{x:t.x+i,y:t.y+s}}_getOverlayFit(t,e,r,i){const s=oS(e);let{x:o,y:a}=t,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(o+=l),c&&(a+=c);let h=0-a,f=a+s.height-r.height,p=this._subtractOverflows(s.width,0-o,o+s.width-r.width),m=this._subtractOverflows(s.height,h,f),y=p*m;return{visibleArea:y,isCompletelyWithinViewport:s.width*s.height===y,fitsInViewportVertically:m===s.height,fitsInViewportHorizontally:p==s.width}}_canFitWithFlexibleDimensions(t,e,r){if(this._hasFlexibleDimensions){const i=r.bottom-e.y,s=r.right-e.x,o=sS(this._overlayRef.getConfig().minHeight),a=sS(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportHorizontally||null!=a&&a<=s;return(t.fitsInViewportVertically||null!=o&&o<=i)&&c}return!1}_pushOverlayOnScreen(t,e,r){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=oS(e),s=this._viewportRect,o=Math.max(t.x+i.width-s.width,0),a=Math.max(t.y+i.height-s.height,0),l=Math.max(s.top-r.top-t.y,0),c=Math.max(s.left-r.left-t.x,0);let u=0,d=0;return u=i.width<=s.width?c||-o:t.x<this._viewportMargin?s.left-r.left-t.x:0,d=i.height<=s.height?l||-a:t.y<this._viewportMargin?s.top-r.top-t.y:0,this._previousPushAmount={x:u,y:d},{x:t.x+u,y:t.y+d}}_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 r=this._getScrollVisibility(),i=new Hz(t,r);this._positionChanges.next(i)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let r,i=t.overlayY;r="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=`${r} ${i}`}_calculateBoundingBoxRect(t,e){const r=this._viewportRect,i=this._isRtl();let s,o,a,u,d,h;if("top"===e.overlayY)o=t.y,s=r.height-o+this._viewportMargin;else if("bottom"===e.overlayY)a=r.height-t.y+2*this._viewportMargin,s=r.height-a+this._viewportMargin;else{const f=Math.min(r.bottom-t.y+r.top,t.y),p=this._lastBoundingBoxSize.height;s=2*f,o=t.y-f,s>p&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.y-p/2)}
1if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)h=r.width-t.x+this._viewportMargin,u=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)d=t.x,u=r.right-t.x;else{const f=Math.min(r.right-t.x+r.left,t.x),p=this._lastBoundingBoxSize.width;u=2*f,d=t.x-f,u>p&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-p/2)}return{top:o,left:d,bottom:a,right:h,width:u,height:s}}_setBoundingBoxStyles(t,e){const r=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const s=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=Ge(r.height),i.top=Ge(r.top),i.bottom=Ge(r.bottom),i.width=Ge(r.width),i.left=Ge(r.left),i.right=Ge(r.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",s&&(i.maxHeight=Ge(s)),o&&(i.maxWidth=Ge(o))}this._lastBoundingBoxSize=r,fi(this._boundingBox.style,i)}_resetBoundingBoxStyles(){fi(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){fi(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const r={},i=this._hasExactPosition(),s=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){const u=this._viewportRuler.getViewportScrollPosition();fi(r,this._getExactOverlayY(e,t,u)),fi(r,this._getExactOverlayX(e,t,u))}else r.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),r.transform=a.trim(),o.maxHeight&&(i?r.maxHeight=Ge(o.maxHeight):s&&(r.maxHeight="")),o.maxWidth&&(i?r.maxWidth=Ge(o.maxWidth):s&&(r.maxWidth="")),fi(this._pane.style,r)}_getExactOverlayY(t,e,r){let i={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,r)),"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":i.top=Ge(s.y),i}_getExactOverlayX(t,e,r){let o,i={left:"",right:""},s=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,r)),o=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===o?i.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":i.left=Ge(s.x),i}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:tS(t,r),isOriginOutsideView:Yp(t,r),isOverlayClipped:tS(e,r),isOverlayOutsideView:Yp(e,r)}}_subtractOverflows(t,...e){return e.reduce((r,i)=>r-Math.max(i,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+t-this._viewportMargin,bottom:r.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?t.offsetX??this._offsetX:t.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&dc(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof J)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,r=t.height||0;return{top:t.y,bottom:t.y+r,left:t.x,right:t.x+e,height:r,width:e}}}function fi(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function sS(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(Gz);return e&&"px"!==e?null:parseFloat(t)}return n||null}function oS(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const aS="cdk-global-overlay-wrapper";class qz{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}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(aS),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="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._xPosition="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,r=this._overlayRef.getConfig(),{width:i,height:s,maxWidth:o,maxHeight:a}=r,l=!("100%"!==i&&"100vw"!==i||o&&"100%"!==o&&"100vw"!==o),c=!("100%"!==s&&"100vh"!==s||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let f="",p="",m="";l?m="flex-start":"center"===u?(m="center",h?p=d:f=d):h?"left"===u||"end"===u?(m="flex-end",f=d):("right"===u||"start"===u)&&(m="flex-start",p=d):"left"===u||"start"===u?(m="flex-start",f=d):("right"===u||"end"===u)&&(m="flex-end",p=d),t.position=this._cssPosition,t.marginLeft=l?"0":f,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":p,e.justifyContent=m,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,r=e.style;e.classList.remove(aS),r.justifyContent=r.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let Kz=(()=>{class n{constructor(e,r,i,s){this._viewportRuler=e,this._document=r,this._platform=i,this._overlayContainer=s}global(){return new qz}flexibleConnectedTo(e){return new Wz(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(v(QE),v(K),v($t),v(rS))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Yz=0,Yc=(()=>{class n{constructor(e,r,i,s,o,a,l,c,u,d,h,f){this.scrollStrategies=e,this._overlayContainer=r,this._componentFactoryResolver=i,this._positionBuilder=s,this._keyboardDispatcher=o,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=h,this._animationsModuleType=f}create(e){const r=this._createHostElement(),i=this._createPaneElement(r),s=this._createPortalOutlet(i),o=new jz(e);return o.direction=o.direction||this._directionality.value,new zz(s,r,i,o,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const r=this._document.createElement("div");return r.id="cdk-overlay-"+Yz++,r.classList.add("cdk-overlay-pane"),e.appendChild(r),r}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(us)),new kz(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(v(Vz),v(rS),v(Bi),v(Kz),v($z),v(St),v(ie),v(K),v(hc),v(Il),v(Uz),v(Xn,8))},n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})();const Xz={provide:new E("cdk-connected-overlay-scroll-strategy"),deps:[Yc],useFactory:function Zz(n){return()=>n.scrollStrategies.reposition()}};let Jz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}),n.\u0275inj=ce({providers:[Yc,Xz],imports:[ys,Pz,ZE,ZE]}),n})();const eG=["tooltip"],lS="tooltip-panel",cS=Nc({passive:!0}),uS=new E("mat-tooltip-scroll-strategy"),iG={provide:uS,deps:[Yc],useFactory:function rG(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},sG=new E("mat-tooltip-default-options",{providedIn:"root",factory:function oG(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let aG=(()=>{class n{constructor(e,r,i,s,o,a,l,c,u,d,h,f){this._overlay=e,this._elementRef=r,this._scrollDispatcher=i,this._viewContainerRef=s,this._ngZone=o,this._platform=a,this._ariaDescriber=l,this._focusMonitor=c,this._dir=d,this._defaultOptions=h,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new _e,this._scrollStrategy=u,this._document=f,h&&(h.position&&(this.position=h.position),h.touchGestures&&(this.touchGestures=h.touchGestures)),d.change.pipe(rt(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.
1show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=sn(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=cD(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=cD(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(rt(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([r,i])=>{e.removeEventListener(r,i,cS)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const r=this._createOverlay();this._detach(),this._portal=this._portal||new XE(this._tooltipComponent,this._viewContainerRef);const i=this._tooltipInstance=r.attach(this._portal).instance;i._triggerElement=this._elementRef.nativeElement,i._mouseLeaveHideDelay=this._hideDelay,i.afterHidden().pipe(rt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),i.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return r.positionChanges.pipe(rt(this._destroyed)).subscribe(i=>{this._updateCurrentPositionClass(i.connectionPair),this._tooltipInstance&&i.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${lS}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(rt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(rt(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(rt(this._destroyed)).subscribe(i=>{this._isTooltipVisible()&&27===i.keyCode&&!function O$(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}(i)&&(i.preventDefault(),i.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const r=e.getConfig().positionStrategy,i=this._getOrigin(),s=this._getOverlayPosition();r.withPositions([this._addOffset({...i.main,...s.main}),this._addOffset({...i.fallback,...s.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,r=this.position;let i;"above"==r||"below"==r?i={originX:"center",originY:"above"==r?"top":"bottom"}:"before"==r||"left"==r&&e||"right"==r&&!e?i={originX:"start",originY:"center"}:("after"==r||"right"==r&&e||"left"==r&&!e)&&(i={originX:"end",originY:"center"});const{x:s,y:o}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:s,originY:o}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,r=this.position;let i;"above"==r?i={overlayX:"center",overlayY:"bottom"}:"below"==r?i={overlayX:"center",overlayY:"top"}:"before"==r||"left"==r&&e||"right"==r&&!e?i={overlayX:"end",overlayY:"center"}:("after"==r||"right"==r&&e||"left"==r&&!e)&&(i={overlayX:"start",overlayY:"center"});const{x:s,y:o}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:s,overlayY:o}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(or(1),rt(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,r){return"above"===this.position||"below"===this.position?"top"===r?r="bottom":"bottom"===r&&(r="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:r}}_updateCurrentPositionClass(e){const{overlayY:r,originX:i,originY:s}=e;let o;if(o="center"===r?this._dir&&"rtl"===this._dir.value?"end"===i?"left":"right":"start"===i?"left":"right":"bottom"===r&&"top"===s?"above":"below",o!==this._currentPosition){const a=this._overlayRef;if(a){const l=`${this._cssClassPrefix}-${lS}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+o)}this._currentPosition=o}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsM
1ouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",r=>{const i=r.relatedTarget;(!i||!this._overlayRef?.overlayElement.contains(i))&&this.hide()}],["wheel",r=>this._wheelListener(r)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const r=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",r],["touchcancel",r])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([r,i])=>{this._elementRef.nativeElement.addEventListener(r,i,cS)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const r=this._document.elementFromPoint(e.clientX,e.clientY),i=this._elementRef.nativeElement;r!==i&&!i.contains(r)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const r=this._elementRef.nativeElement,i=r.style;("on"===e||"INPUT"!==r.nodeName&&"TEXTAREA"!==r.nodeName)&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),("on"===e||!r.draggable)&&(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){Ka()},n.\u0275dir=S({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),Qp=(()=>{class n extends aG{constructor(e,r,i,s,o,a,l,c,u,d,h,f){super(e,r,i,s,o,a,l,c,u,d,h,f),this._tooltipComponent=cG}}return n.\u0275fac=function(e){return new(e||n)(g(Yc),g(J),g(YE),g(Xt),g(ie),g($t),g(W$),g(Np),g(uS),g(hc,8),g(sG,8),g(K))},n.\u0275dir=S({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[F]}),n})(),lG=(()=>{class n{constructor(e,r){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new _e,this._animationsDisabled="NoopAnimations"===r}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const r=this._tooltip.nativeElement,i=this._showAnimation,s=this._hideAnimation;if(r.classList.remove(e?s:i),r.classList.add(e?i:s),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const o=getComputedStyle(r);("0s"===o.getPropertyValue("animation-duration")||"none"===o.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(r.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return n.\u0275fac=function(e){return new(e||n)(g(bo),g(Xn,8))},n.\u0275dir=S({type:n}),n})(),cG=(()=>{class n extends lG{constructor(e,r,i){super(e,i),this._breakpointObserver=r,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return n.\u0275fac=function(e){return new(e||n)(g(bo),g(cE),g(Xn,8))},n.\u0275cmp=at({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(e,r){if(1&e&&wh(eG,7),2&e){let i;ss(i=os())&&(r._tooltip=i.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,r){1&e&&Yr("mouseleave",function(s){return r._handleMouseLeave(s)}),2&e&&ul("zoom",r.isVisible()?1:null)},features:[F],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,r){if(1&e&&(H(0,"div",0,1),Yr("animationend",function(s){return r._handleAnimationEnd(s)}),dh(2,"async"),ae(3),P()),2&e){let i;Zt("mat-tooltip-handset",null==(i=hh(2,4,r._isHandset))?null:i.matches),ve("ngClass",r.tooltipClass),z(3),tt(r.message)}},dependencies:[xo,tf],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),n})(),dS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}),n.\u0275inj=ce({providers:[iG],imports:[rU,jl,Jz,It,It,qp]}),n})(),uG=(()=>{class n{constructor(e){this.topic=e.snapshot.data,this.cards=this.topic.examples.map(r=>
1({title:r.title,subtitle:"",icon:r.icon,content:r.description,soon:r.soon}))}}return n.\u0275fac=function(e){return new(e||n)(g(on))},n.\u0275cmp=at({type:n,selectors:[["app-topic"]],decls:11,vars:3,consts:[[1,"topic","padding-30"],[1,"summary"],["href","/#demos","matTooltip","Back home",1,"non-link-style"],[3,"cards"]],template:function(e,r){1&e&&(H(0,"div",0)(1,"div",1)(2,"h1"),ae(3),H(4,"small")(5,"a",2)(6,"mat-icon"),ae(7,"keyboard_arrow_up"),P()()()(),H(8,"h3"),ae(9),P()(),et(10,"app-example-list",3),P()),2&e&&(z(3),ns("",r.topic.title," "),z(6),tt(r.topic.description),z(1),ve("cards",r.cards))},dependencies:[Qp,zp,GE]}),n})();function dG(n,t){if(1&n&&(H(0,"p",6),ae(1),P()),2&n){const e=cl();z(1),tt(e.example.notes)}}let hG=(()=>{class n{constructor(e,r){this.sanitizer=e,this.loaded=!1,this.example=r.snapshot.data,this.safeEmbedUrl=this.sanitizer.bypassSecurityTrustResourceUrl(this.example.embedUrl)}}return n.\u0275fac=function(e){return new(e||n)(g(Io),g(on))},n.\u0275cmp=at({type:n,selectors:[["app-example"]],decls:15,vars:5,consts:[[1,"example","padding-30"],[1,"summary"],["routerLink","../","matTooltip","Back",1,"non-link-style"],["class","notes",4,"ngIf"],["ngClass.gt-xs","padding-30 no-padding-top"],[3,"src"],[1,"notes"]],template:function(e,r){1&e&&(H(0,"div",0)(1,"div",1)(2,"h1")(3,"mat-icon"),ae(4),P(),ae(5),H(6,"small")(7,"a",2)(8,"mat-icon"),ae(9,"keyboard_arrow_up"),P()()()(),H(10,"h3"),ae(11),P(),Qn(12,dG,2,1,"p",3),P()(),H(13,"div",4),et(14,"iframe",5),P()),2&e&&(z(4),tt(r.example.icon),z(1),ns(" ",r.example.title," "),z(6),tt(r.example.description),z(1),ve("ngIf",r.example.notes),z(2),ve("src",r.safeEmbedUrl,gd))},dependencies:[Eo,ci,Qp,zp,Wf],styles:["embed[_ngcontent-%COMP%], iframe[_ngcontent-%COMP%]{width:100%;height:95vh;border:none;box-shadow:0 0 4px #00000080}"]}),n})();function hS(n){return[{path:"",component:cz,data:n},...n.examplesTopics.map(pG)]}function pG(n){return{path:n.title,children:[{path:"",component:uG,data:n},...n.examples.map(gG)]}}function gG(n){return{path:n.title,data:n,component:hG}}const[mG,...yG]=Ap,vG=[...hS(mG),...yG.map(function fG(n){return{path:n.name,children:hS(n)}}),{path:"**",pathMatch:"full",redirectTo:""}];let _G=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}
1),n.\u0275inj=ce({imports:[rE.forRoot(vG,{enableTracing:!1}),rE]}),n})();const bG=["*",[["mat-toolbar-row"]]],wG=["*","mat-toolbar-row"],CG=Vp(class{constructor(n){this._elementRef=n}});let DG=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=S({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),xG=(()=>{class n extends CG{constructor(e,r,i){super(e),this._platform=r,this._document=i}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(g(J),g($t),g(K))},n.\u0275cmp=at({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,r,i){if(1&e&&function _l(n,t,e,r){const i=oe();if(i.firstCreatePass){const s=We();mb(i,new fb(t,e,r),s.index),function bF(n,t){const e=n.contentQueries||(n.contentQueries=[]);t!==(e.length?e[e.length-1]:-1)&&e.push(n.queries.length-1,t)}(i,n),2==(2&e)&&(i.staticContentQueries=!0)}gb(i,w(),e)}(i,DG,5),2&e){let s;ss(s=os())&&(r._toolbarRows=s)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,r){2&e&&Zt("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",0===r._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[F],ngContentSelectors:wG,decls:2,vars:0,template:function(e,r){1&e&&(Qr(bG),yn(0),yn(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%}"],encapsulation:2,changeDetection:0}),n})(),fS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}
1),n.\u0275inj=ce({imports:[It,It]}),n})(),pS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}),n.\u0275inj=ce({imports:[jl,It,It]}),n})();const SG=[fS,OE,TE,dS,zE,pS];let MG=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}),n.\u0275inj=ce({imports:[SG,fS,OE,TE,dS,zE,pS]}),n})();const IG=[{provide:new E("DocumentToken"),useExisting:K}],OG=[{provide:new E("WindowToken"),useFactory:function RG(n){return Dr(n)?window:new Object},deps:[Jt]}];let gS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}),n.\u0275inj=ce({}),n})(),mS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}),n.\u0275inj=ce({}),n})(),FG=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n}),n.\u0275inj=ce({providers:[OG,IG],imports:[gS,mS,gS,mS]}),n})(),kG=(()=>{class n{constructor(){this.destroyed=new _e,this.subscriptions=new Ze}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete(),this.subscriptions.unsubscribe()}subscribe(e,r,i,s){return this.subscriptions.add(e.subscribe(r instanceof Function?{next:r,error:i,complete:s}:r)),this.subscriptions}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=S({type:n}),n})();new E("RouterX.Config");const VG=(n,t)=>(n.push(t),n);class yS{constructor(t){this.outletName=t}get isPrimaryOutlet(){return this.outletName===G}}class HG extends yS{constructor(t,e){super(e),this.changes=t}get componentInstance(){return this.changes.value}}
1let $G=(()=>{class n{constructor(){this._outletsState=new Map,this.components=new Map,this.componentPublished=new nt,this.componentUnpublished=new nt}get outletsState(){return new Map(this._outletsState)}publishComponent(e,r=G){const i=this.components;let s=i.get(r);s||(s=new At(e),i.set(r,s)),this._outletsState.set(r,e),s.next(e),this.componentPublished.emit(new HG(s,r))}unpublishComponent(e=G){const r=this.components;r.has(e)&&(r.get(e)?.complete(),r.delete(e),this._outletsState.delete(e),this.componentUnpublished.emit(new yS(e)))}isComponentPublished(e=G){return this.components.has(e)}changes(e=G){return this.components.get(e)??null}instance(e=G){return this.components.get(e)?.value??null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const UG={[Dc.prototype.constructor.name]:"NavigationStart",[fx.prototype.constructor.name]:"RouteConfigLoadStart",[px.prototype.constructor.name]:"RouteConfigLoadEnd",[lx.prototype.constructor.name]:"RoutesRecognized",[cx.prototype.constructor.name]:"GuardsCheckStart",[gx.prototype.constructor.name]:"ChildActivationStart",[yx.prototype.constructor.name]:"ActivationStart",[ux.prototype.constructor.name]:"GuardsCheckEnd",[dx.prototype.constructor.name]:"ResolveStart",[hx.prototype.constructor.name]:"ResolveEnd",[mx.prototype.constructor.name]:"ChildActivationEnd",[vx.prototype.constructor.name]:"ActivationEnd",[cr.prototype.constructor.name]:"NavigationEnd",[qo.prototype.constructor.name]:"NavigationCancel",[sp.prototype.constructor.name]:"NavigationError",[op.prototype.constructor.name]:"Scroll"};let GG=(()=>{class n extends kG{constructor(e,r,i){super(),this.router=e,this.route=r,this.componentBus=i,this.subscribe(this.router.events,this.dispatchRouterEvent.bind(this))}dispatchRouterEvent(e){const s=this[`on${UG[e.constructor.name]}`];s&&s.call(this,e)}observeRouterEvent(e,r=!0){let i=this.router.events;return r&&(i=i.pipe(rt(this.destroyed))),i.pipe(wt(s=>s.constructor===e))}deepScanRoute(e,r,i=-1){!r(e,this.componentBus?.instance(e.outlet))&&0!==i&&e.children&&e.children.forEach(a=>this.deepScanRoute(a,r,i-1))}resolve(e,...r){return e?(Array.isArray(e)||(e=[e]),je(e.map(s=>s(this.activatedRouteComponent,...r))).pipe(LD(),function jG(){return Me((n,t)=>{(function BG(n,t){return Me(HD(n,t,arguments.length>=2,!1,!0))})(VG,[])(n).subscribe(t)})}())):O([])}resolveInMacroTask(e,...r){const i=Zone.current.scheduleMacroTask(`route-aware-resolver-${Math.random()}`,()=>{},{},()=>{},()=>{});return this.resolve(e,...r).pipe(jo(()=>i.invoke()))}get activatedRouteComponent(){return this.componentBus?.instance(this.route.outlet)}}return n.\u0275fac=function(e){return new(e||n)(g(Qe),g(on),g($G))},n.\u0275dir=S({type:n,features:[F]}),n.\u0275prov=x({token:n,factory:n.\u0275fac}),n})(),qG=(()=>{class n extends GG{constructor(e,r){super(e,r),this.current=this.observeRouterEvent(cr).pipe($(()=>this.extractProject()))}extractProject(){if(!this.route.snapshot.root.firstChild)return Mp;let e;return this.deepScanRoute(this.route.snapshot.root.firstChild,r=>{if(function WG(n){return["name","strongName","slogan","benefits","benefitsSlogan"].every(e=>e in n)}(r.data))return e=r.data,!0},1),e??Mp}}return n.\u0275fac=function(e){return new(e||n)(v(Qe),v(on))},n.\u0275prov=x({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const KG=function(n){return["/",n]};function YG(n,t){if(1&n&&(ol(0),H(1,"span",2),et(2,"img",3),P(),H(3,"a",4),ae(4),P(),et(5,"span",5),H(6,"a",6),et(7,"img",7),P(),H(8,"a",8),ae(9,"Docs"),P(),H(10,"a",9),et(11,"img",10),P(),al()),2&n){const e=t.$implicit;z(2),ve("src","assets/"+e.name+"/logo-icon64x64.png",pn),z(1),ve("routerLink",mo(7,KG,e.name))("matTooltip",e.strongName+"'s Homepage"),z(1),tt(e.strongName),z(2),ve("href",e.repoUrl,pn),z(2),ve("href",e.wikiUrl,pn),z(2),ve("href",e.packageUrl,pn)}}let QG=(()=>{class n{constructor(e){this.project=e}}return n.\u0275fac=function(e){return new(e||n)(g(qG))},n.\u0275cmp=at({type:n,selectors:[["app-root"]],decls:4,vars:3,consts:[["color","primary","fxLayout","row","fxLayoutAlign","space-between center","fxLayoutGap","15px"],[4,"ngIf"],[1,"margin-top-10"],["width","30",3,"src"],["mat-button","",3,"routerLink","matTooltip"],["fxFlex",""],["mat-icon-button","","matTooltip","Repository","target","_blank",3,"href"],["src","assets/github.svg","width","30"],["mat-icon-button","","matTooltip","wiki","target","_blank",3,"href"],["mat-icon-button","","matTooltip","npm package","target","_blank",3,"href"],["src","https://raw.githubusercontent.com/npm/logos/master/npm%20logo/classic/npm-2009.svg","width","40"]],template:function(e,r){1&e&&(H(0,"mat-toolbar",0),Qn(1,YG,12,9,"ng-container",1),dh(2,"async"),P(),et(3,"router-outlet")),2&e&&(z(1),ve("ngIf",hh(2,1,r.project.current)))},dependencies:[Eo,fp,ci,xG,IE,Qp,No,Bo,Vo,bD,tf]}),n})(),ZG=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=de({type:n,bootstrap:[QG]}
1),n.\u0275inj=ce({imports:[Zw,W1,jl,_G,MG,r2,FG]}),n})();(function ok(){ew=!1})(),kL().bootstrapModule(ZG).catch(n=>console.error(n))}},le=>{le(le.s=872)}]);

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.