-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.b71dee8e3a109c8a.js
1 lines (1 loc) · 262 KB
/
main.b71dee8e3a109c8a.js
1
"use strict";(self.webpackChunkweb_profile=self.webpackChunkweb_profile||[]).push([[179],{345:()=>{function ue(t){return"function"==typeof t}function ki(t){const n=t(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const eo=ki(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Li(t,e){if(t){const n=t.indexOf(e);0<=n&&t.splice(n,1)}}class Et{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const s of n)s.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(ue(r))try{r()}catch(s){e=s instanceof eo?s.errors:[s]}const{_teardowns:i}=this;if(i){this._teardowns=null;for(const s of i)try{Wf(s)}catch(o){e=null!=e?e:[],o instanceof eo?e=[...e,...o.errors]:e.push(o)}}if(e)throw new eo(e)}}add(e){var n;if(e&&e!==this)if(this.closed)Wf(e);else{if(e instanceof Et){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(n=this._teardowns)&&void 0!==n?n:[]).push(e)}}_hasParent(e){const{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){const{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&Li(n,e)}remove(e){const{_teardowns:n}=this;n&&Li(n,e),e instanceof Et&&e._removeParent(this)}}Et.EMPTY=(()=>{const t=new Et;return t.closed=!0,t})();const qf=Et.EMPTY;function zf(t){return t instanceof Et||t&&"closed"in t&&ue(t.remove)&&ue(t.add)&&ue(t.unsubscribe)}function Wf(t){ue(t)?t():t.unsubscribe()}const nr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},to={setTimeout(...t){const{delegate:e}=to;return((null==e?void 0:e.setTimeout)||setTimeout)(...t)},clearTimeout(t){const{delegate:e}=to;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Qf(t){to.setTimeout(()=>{const{onUnhandledError:e}=nr;if(!e)throw t;e(t)})}function Kf(){}const NE=Cl("C",void 0,void 0);function Cl(t,e,n){return{kind:t,value:e,error:n}}let rr=null;function no(t){if(nr.useDeprecatedSynchronousErrorHandling){const e=!rr;if(e&&(rr={errorThrown:!1,error:null}),t(),e){const{errorThrown:n,error:r}=rr;if(rr=null,n)throw r}}else t()}class El extends Et{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,zf(e)&&e.add(this)):this.destination=LE}static create(e,n,r){return new ro(e,n,r)}next(e){this.isStopped?bl(function xE(t){return Cl("N",t,void 0)}(e),this):this._next(e)}error(e){this.isStopped?bl(function FE(t){return Cl("E",void 0,t)}(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?bl(NE,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const RE=Function.prototype.bind;function wl(t,e){return RE.call(t,e)}class OE{constructor(e){this.partialObserver=e}next(e){const{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){io(r)}}error(e){const{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){io(r)}else io(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){io(n)}}}class ro extends El{constructor(e,n,r){let i;if(super(),ue(e)||!e)i={next:null!=e?e:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0};else{let s;this&&nr.useDeprecatedNextContext?(s=Object.create(e),s.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&wl(e.next,s),error:e.error&&wl(e.error,s),complete:e.complete&&wl(e.complete,s)}):i=e}this.destination=new OE(i)}}function io(t){nr.useDeprecatedSynchronousErrorHandling?function PE(t){nr.useDeprecatedSynchronousErrorHandling&&rr&&(rr.errorThrown=!0,rr.error=t)}(t):Qf(t)}function bl(t,e){const{onStoppedNotification:n}=nr;n&&to.setTimeout(()=>n(t,e))}const LE={closed:!0,next:Kf,error:function kE(t){throw t},complete:Kf},Sl="function"==typeof Symbol&&Symbol.observable||"@@observable";function ir(t){return t}let pe=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,i){const s=function BE(t){return t&&t instanceof El||function VE(t){return t&&ue(t.next)&&ue(t.error)&&ue(t.complete)}(t)&&zf(t)}(n)?n:new ro(n,r,i);return no(()=>{const{operator:o,source:a}=this;s.add(o?o.call(s,a):a?this._subscribe(s):this._trySubscribe(s))}),s}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Yf(r))((i,s)=>{const o=new ro({next:a=>{try{n(a)}catch(l){s(l),o.unsubscribe()}},error:s,complete:i});this.subscribe(o)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Sl](){return this}pipe(...n){return function Zf(t){return 0===t.length?ir:1===t.length?t[0]:function(n){return t.reduce((r,i)=>i(r),n)}}(n)(this)}toPromise(n){return new(n=Yf(n))((r,i)=>{let s;this.subscribe(o=>s=o,o=>i(o),()=>r(s))})}}return t.create=e=>new t(e),t})();function Yf(t){var e;return null!==(e=null!=t?t:nr.Promise)&&void 0!==e?e:Promise}const jE=ki(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let vn=(()=>{class t extends pe{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Jf(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new jE}next(n){no(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const i of r)i.next(n)}})}error(n){no(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){no(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:i,observers:s}=this;return r||i?qf:(s.push(n),new Et(()=>Li(s,n)))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:i,isStopped:s}=this;r?n.error(i):s&&n.complete()}asObservable(){const n=new pe;return n.source=this,n}}return t.create=(e,n)=>new Jf(e,n),t})();class Jf extends vn{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,e)}error(e){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,e)}complete(){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===n||n.call(e)}_subscribe(e){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(e))&&void 0!==r?r:qf}}function Xf(t){return ue(null==t?void 0:t.lift)}function Be(t){return e=>{if(Xf(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Pe(t,e,n,r,i){return new UE(t,e,n,r,i)}class UE extends El{constructor(e,n,r,i,s,o){super(e),this.onFinalize=s,this.shouldUnsubscribe=o,this._next=n?function(a){try{n(a)}catch(l){e.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}function ie(t,e){return Be((n,r)=>{let i=0;n.subscribe(Pe(r,s=>{r.next(t.call(e,s,i++))}))})}function sr(t){return this instanceof sr?(this.v=t,this):new sr(t)}function GE(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(t,e||[]),s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(f){r[f]&&(i[f]=function(h){return new Promise(function(p,g){s.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof sr?Promise.resolve(f.value.v).then(u,c):d(s[0][2],f)}(r[f](h))}catch(p){d(s[0][3],p)}}function u(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),s.shift(),s.length&&a(s[0][0],s[0][1])}}function qE(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t=function nh(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=t[s]&&function(o){return new Promise(function(a,l){!function i(s,o,a,l){Promise.resolve(l).then(function(u){s({value:u,done:a})},o)}(a,l,(o=t[s](o)).done,o.value)})}}}const rh=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function ih(t){return ue(null==t?void 0:t.then)}function sh(t){return ue(t[Sl])}function oh(t){return Symbol.asyncIterator&&ue(null==t?void 0:t[Symbol.asyncIterator])}function ah(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const lh=function WE(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function uh(t){return ue(null==t?void 0:t[lh])}function ch(t){return GE(this,arguments,function*(){const n=t.getReader();try{for(;;){const{value:r,done:i}=yield sr(n.read());if(i)return yield sr(void 0);yield yield sr(r)}}finally{n.releaseLock()}})}function dh(t){return ue(null==t?void 0:t.getReader)}function Xt(t){if(t instanceof pe)return t;if(null!=t){if(sh(t))return function QE(t){return new pe(e=>{const n=t[Sl]();if(ue(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(rh(t))return function KE(t){return new pe(e=>{for(let n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()})}(t);if(ih(t))return function ZE(t){return new pe(e=>{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Qf)})}(t);if(oh(t))return fh(t);if(uh(t))return function YE(t){return new pe(e=>{for(const n of t)if(e.next(n),e.closed)return;e.complete()})}(t);if(dh(t))return function JE(t){return fh(ch(t))}(t)}throw ah(t)}function fh(t){return new pe(e=>{(function XE(t,e){var n,r,i,s;return function HE(t,e,n,r){return new(n||(n=Promise))(function(s,o){function a(c){try{u(r.next(c))}catch(d){o(d)}}function l(c){try{u(r.throw(c))}catch(d){o(d)}}function u(c){c.done?s(c.value):function i(s){return s instanceof n?s:new n(function(o){o(s)})}(c.value).then(a,l)}u((r=r.apply(t,e||[])).next())})}(this,void 0,void 0,function*(){try{for(n=qE(t);!(r=yield n.next()).done;)if(e.next(r.value),e.closed)return}catch(o){i={error:o}}finally{try{r&&!r.done&&(s=n.return)&&(yield s.call(n))}finally{if(i)throw i.error}}e.complete()})})(t,e).catch(n=>e.error(n))})}function _n(t,e,n,r=0,i=!1){const s=e.schedule(function(){n(),i?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(s),!i)return s}function Re(t,e,n=1/0){return ue(e)?Re((r,i)=>ie((s,o)=>e(r,s,i,o))(Xt(t(r,i))),n):("number"==typeof e&&(n=e),Be((r,i)=>function ew(t,e,n,r,i,s,o,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&e.complete()},h=g=>u<r?p(g):l.push(g),p=g=>{s&&e.next(g),u++;let y=!1;Xt(n(g,c++)).subscribe(Pe(e,D=>{null==i||i(D),s?h(D):e.next(D)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;l.length&&u<r;){const D=l.shift();o?_n(e,o,()=>p(D)):p(D)}f()}catch(D){e.error(D)}}))};return t.subscribe(Pe(e,h,()=>{d=!0,f()})),()=>{null==a||a()}}(r,i,t,n)))}function Vi(t=1/0){return Re(ir,t)}const Dn=new pe(t=>t.complete());function Ml(t){return t[t.length-1]}function Bi(t){return function nw(t){return t&&ue(t.schedule)}(Ml(t))?t.pop():void 0}function ph(t,e=0){return Be((n,r)=>{n.subscribe(Pe(r,i=>_n(r,t,()=>r.next(i),e),()=>_n(r,t,()=>r.complete(),e),i=>_n(r,t,()=>r.error(i),e)))})}function gh(t,e=0){return Be((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function mh(t,e){if(!t)throw new Error("Iterable cannot be null");return new pe(n=>{_n(n,e,()=>{const r=t[Symbol.asyncIterator]();_n(n,e,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Oe(t,e){return e?function uw(t,e){if(null!=t){if(sh(t))return function iw(t,e){return Xt(t).pipe(gh(e),ph(e))}(t,e);if(rh(t))return function ow(t,e){return new pe(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}(t,e);if(ih(t))return function sw(t,e){return Xt(t).pipe(gh(e),ph(e))}(t,e);if(oh(t))return mh(t,e);if(uh(t))return function aw(t,e){return new pe(n=>{let r;return _n(n,e,()=>{r=t[lh](),_n(n,e,()=>{let i,s;try{({value:i,done:s}=r.next())}catch(o){return void n.error(o)}s?n.complete():n.next(i)},0,!0)}),()=>ue(null==r?void 0:r.return)&&r.return()})}(t,e);if(dh(t))return function lw(t,e){return mh(ch(t),e)}(t,e)}throw ah(t)}(t,e):Xt(t)}function so(t){return t<=0?()=>Dn:Be((e,n)=>{let r=0;e.subscribe(Pe(n,i=>{++r<=t&&(n.next(i),t<=r&&n.complete())}))})}function Tl(t,e,...n){return!0===e?(t(),null):!1===e?null:e(...n).pipe(so(1)).subscribe(()=>t())}function ne(t){for(let e in t)if(t[e]===ne)return e;throw Error("Could not find renamed property on target object.")}function X(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(X).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function Nl(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const fw=ne({__forward_ref__:ne});function se(t){return t.__forward_ref__=se,t.toString=function(){return X(this())},t}function j(t){return function yh(t){return"function"==typeof t&&t.hasOwnProperty(fw)&&t.__forward_ref__===se}(t)?t():t}class Z extends Error{constructor(e,n){super(function Fl(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}(e,n)),this.code=e}}function Qe(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():function k(t){return"string"==typeof t?t:null==t?"":String(t)}(t)}function oo(t,e){const n=e?` in ${e}`:"";throw new Z(-201,`No provider for ${Qe(t)} found${n}`)}function at(t,e){null==t&&function ce(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(null==r?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}(e,t,null,"!=")}function q(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function wt(t){return{providers:t.providers||[],imports:t.imports||[]}}function xl(t){return vh(t,ao)||vh(t,Dh)}function vh(t,e){return t.hasOwnProperty(e)?t[e]:null}function _h(t){return t&&(t.hasOwnProperty(Pl)||t.hasOwnProperty(_w))?t[Pl]:null}const ao=ne({\u0275prov:ne}),Pl=ne({\u0275inj:ne}),Dh=ne({ngInjectableDef:ne}),_w=ne({ngInjectorDef:ne});var V=(()=>((V=V||{})[V.Default=0]="Default",V[V.Host=1]="Host",V[V.Self=2]="Self",V[V.SkipSelf=4]="SkipSelf",V[V.Optional=8]="Optional",V))();let Rl;function kn(t){const e=Rl;return Rl=t,e}function Ch(t,e,n){const r=xl(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&V.Optional?null:void 0!==e?e:void oo(X(t),"Injector")}function Ln(t){return{toString:t}.toString()}var kt=(()=>((kt=kt||{})[kt.OnPush=0]="OnPush",kt[kt.Default=1]="Default",kt))(),Lt=(()=>{return(t=Lt||(Lt={}))[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",Lt;var t})();const Cw="undefined"!=typeof globalThis&&globalThis,Ew="undefined"!=typeof window&&window,ww="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,te=Cw||"undefined"!=typeof global&&global||Ew||ww,Ir={},re=[],lo=ne({\u0275cmp:ne}),Ol=ne({\u0275dir:ne}),kl=ne({\u0275pipe:ne}),Eh=ne({\u0275mod:ne}),En=ne({\u0275fac:ne}),ji=ne({__NG_ELEMENT_ID__:ne});let bw=0;function Nr(t){return Ln(()=>{const n={},r={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===kt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||re,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Lt.Emulated,id:"c",styles:t.styles||re,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,s=t.features,o=t.pipes;return r.id+=bw++,r.inputs=Ah(t.inputs,n),r.outputs=Ah(t.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(wh):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(bh):null,r})}function wh(t){return Ue(t)||function Vn(t){return t[Ol]||null}(t)}function bh(t){return function or(t){return t[kl]||null}(t)}const Sh={};function Vt(t){return Ln(()=>{const e={type:t.type,bootstrap:t.bootstrap||re,declarations:t.declarations||re,imports:t.imports||re,exports:t.exports||re,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(Sh[t.id]=t.type),e})}function Ah(t,e){if(null==t)return Ir;const n={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,e&&(e[i]=s)}return n}const R=Nr;function Ue(t){return t[lo]||null}function bt(t,e){const n=t[Eh]||null;if(!n&&!0===e)throw new Error(`Type ${X(t)} does not have '\u0275mod' property.`);return n}const U=11;function en(t){return Array.isArray(t)&&"object"==typeof t[1]}function jt(t){return Array.isArray(t)&&!0===t[1]}function Bl(t){return 0!=(8&t.flags)}function ho(t){return 2==(2&t.flags)}function po(t){return 1==(1&t.flags)}function Ut(t){return null!==t.template}function Nw(t){return 0!=(512&t[2])}function cr(t,e){return t.hasOwnProperty(En)?t[En]:null}class Pw{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Th(t){return t.type.prototype.ngOnChanges&&(t.setInput=Ow),Rw}function Rw(){const t=Nh(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===Ir)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function Ow(t,e,n,r){const i=Nh(t)||function kw(t,e){return t[Ih]=e}(t,{previous:Ir,current:null}),s=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[n],l=o[a];s[a]=new Pw(l&&l.currentValue,e,o===Ir),t[r]=e}const Ih="__ngSimpleChanges__";function Nh(t){return t[Ih]||null}let Gl;function ve(t){return!!t.listen}const Fh={createRenderer:(t,e)=>function ql(){return void 0!==Gl?Gl:"undefined"!=typeof document?document:void 0}()};function Se(t){for(;Array.isArray(t);)t=t[0];return t}function Tt(t,e){return Se(e[t.index])}function zl(t,e){return t.data[e]}function ut(t,e){const n=e[t];return en(n)?n:n[0]}function Wl(t){return 128==(128&t[2])}function Bn(t,e){return null==e?null:t[e]}function Ph(t){t[18]=0}function Ql(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const O={lFrame:Uh(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Rh(){return O.bindingsEnabled}function C(){return O.lFrame.lView}function Y(){return O.lFrame.tView}function Ie(){let t=Oh();for(;null!==t&&64===t.type;)t=t.parent;return t}function Oh(){return O.lFrame.currentTNode}function tn(t,e){const n=O.lFrame;n.currentTNode=t,n.isParent=e}function Kl(){return O.lFrame.isParent}function mo(){return O.isInCheckNoChangesMode}function yo(t){O.isInCheckNoChangesMode=t}function eb(t,e){const n=O.lFrame;n.bindingIndex=n.bindingRootIndex=t,Yl(e)}function Yl(t){O.lFrame.currentDirectiveIndex=t}function Xl(t){O.lFrame.currentQueryIndex=t}function nb(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function Bh(t,e,n){if(n&V.SkipSelf){let i=e,s=t;for(;!(i=i.parent,null!==i||n&V.Host||(i=nb(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;e=i,t=s}const r=O.lFrame=jh();return r.currentTNode=e,r.lView=t,!0}function vo(t){const e=jh(),n=t[1];O.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function jh(){const t=O.lFrame,e=null===t?null:t.child;return null===e?Uh(t):e}function Uh(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function Hh(){const t=O.lFrame;return O.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const $h=Hh;function _o(){const t=Hh();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Ze(){return O.lFrame.selectedIndex}function jn(t){O.lFrame.selectedIndex=t}function Do(){O.lFrame.currentNamespace="svg"}function Co(){!function ob(){O.lFrame.currentNamespace=null}()}function Eo(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const s=t.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=s;o&&(t.contentHooks||(t.contentHooks=[])).push(-n,o),a&&((t.contentHooks||(t.contentHooks=[])).push(n,a),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,a)),l&&(t.viewHooks||(t.viewHooks=[])).push(-n,l),u&&((t.viewHooks||(t.viewHooks=[])).push(n,u),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,u)),null!=c&&(t.destroyHooks||(t.destroyHooks=[])).push(n,c)}}function wo(t,e,n){Gh(t,e,3,n)}function bo(t,e,n,r){(3&t[2])===n&&Gh(t,e,n,r)}function eu(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function Gh(t,e,n,r){const s=null!=r?r:-1,o=e.length-1;let a=0;for(let l=void 0!==r?65535&t[18]:0;l<o;l++)if("number"==typeof e[l+1]){if(a=e[l],null!=r&&a>=r)break}else e[l]<0&&(t[18]+=65536),(a<s||-1==s)&&(ub(t,n,e,l),t[18]=(4294901760&t[18])+l+2),l++}function ub(t,e,n,r){const i=n[r]<0,s=n[r+1],a=t[i?-n[r]:n[r]];if(i){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{s.call(a)}finally{}}}else try{s.call(a)}finally{}}class qi{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function So(t,e,n){const r=ve(t);let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const o=n[i++],a=n[i++],l=n[i++];r?t.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=s,a=n[++i];nu(o)?r&&t.setProperty(e,o,a):r?t.setAttribute(e,o,a):e.setAttribute(o,a),i++}}return i}function qh(t){return 3===t||4===t||6===t}function nu(t){return 64===t.charCodeAt(0)}function Ao(t,e){if(null!==e&&0!==e.length)if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const i=e[r];"number"==typeof i?n=i:0===n||zh(t,n,i,null,-1===n||2===n?e[++r]:null)}}return t}function zh(t,e,n,r,i){let s=0,o=t.length;if(-1===e)o=-1;else for(;s<t.length;){const a=t[s++];if("number"==typeof a){if(a===e){o=-1;break}if(a>e){o=s-1;break}}}for(;s<t.length;){const a=t[s];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==i&&(t[s+1]=i));if(r===t[s+1])return void(t[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==o&&(t.splice(o,0,e),s=o+1),t.splice(s++,0,n),null!==r&&t.splice(s++,0,r),null!==i&&t.splice(s++,0,i)}function Wh(t){return-1!==t}function Lr(t){return 32767&t}function Vr(t,e){let n=function pb(t){return t>>16}(t),r=e;for(;n>0;)r=r[15],n--;return r}let ru=!0;function Mo(t){const e=ru;return ru=t,e}let gb=0;function Wi(t,e){const n=su(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,iu(r.data,t),iu(e,null),iu(r.blueprint,null));const i=To(t,e),s=t.injectorIndex;if(Wh(i)){const o=Lr(i),a=Vr(i,e),l=a[1].data;for(let u=0;u<8;u++)e[s+u]=a[o+u]|l[o+u]}return e[s+8]=i,s}function iu(t,e){t.push(0,0,0,0,0,0,0,0,e)}function su(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function To(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;null!==i;){const s=i[1],o=s.type;if(r=2===o?s.declTNode:1===o?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Io(t,e,n){!function mb(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ji)&&(r=n[ji]),null==r&&(r=n[ji]=gb++);const i=255&r;e.data[t+(i>>5)]|=1<<i}(t,e,n)}function Zh(t,e,n){if(n&V.Optional)return t;oo(e,"NodeInjector")}function Yh(t,e,n,r){if(n&V.Optional&&void 0===r&&(r=null),0==(n&(V.Self|V.Host))){const i=t[9],s=kn(void 0);try{return i?i.get(e,r,n&V.Optional):Ch(e,r,n&V.Optional)}finally{kn(s)}}return Zh(r,e,n)}function Jh(t,e,n,r=V.Default,i){if(null!==t){const s=function Db(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(ji)?t[ji]:void 0;return"number"==typeof e?e>=0?255&e:vb:e}(n);if("function"==typeof s){if(!Bh(e,t,r))return r&V.Host?Zh(i,n,r):Yh(e,n,r,i);try{const o=s(r);if(null!=o||r&V.Optional)return o;oo(n)}finally{$h()}}else if("number"==typeof s){let o=null,a=su(t,e),l=-1,u=r&V.Host?e[16][6]:null;for((-1===a||r&V.SkipSelf)&&(l=-1===a?To(t,e):e[a+8],-1!==l&&tp(r,!1)?(o=e[1],a=Lr(l),e=Vr(l,e)):a=-1);-1!==a;){const c=e[1];if(ep(s,a,c.data)){const d=_b(a,e,n,o,r,u);if(d!==Xh)return d}l=e[a+8],-1!==l&&tp(r,e[1].data[a+8]===u)&&ep(s,a,e)?(o=c,a=Lr(l),e=Vr(l,e)):a=-1}}}return Yh(e,n,r,i)}const Xh={};function vb(){return new Br(Ie(),C())}function _b(t,e,n,r,i,s){const o=e[1],a=o.data[t+8],c=function No(t,e,n,r,i){const s=t.providerIndexes,o=e.data,a=1048575&s,l=t.directiveStart,c=s>>20,f=i?a+c:t.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=o[h];if(h<l&&n===p||h>=l&&p.type===n)return h}if(i){const h=o[l];if(h&&Ut(h)&&h.type===n)return l}return null}(a,o,n,null==r?ho(a)&&ru:r!=o&&0!=(3&a.type),i&V.Host&&s===a);return null!==c?Qi(e,o,c,a):Xh}function Qi(t,e,n,r){let i=t[n];const s=e.data;if(function cb(t){return t instanceof qi}(i)){const o=i;o.resolving&&function hw(t,e){const n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new Z(-200,`Circular dependency in DI detected for ${t}${n}`)}(Qe(s[n]));const a=Mo(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?kn(o.injectImpl):null;Bh(t,r,V.Default);try{i=t[n]=o.factory(void 0,s,t,r),e.firstCreatePass&&n>=r.directiveStart&&function lb(t,e,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=e.type.prototype;if(r){const o=Th(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{null!==l&&kn(l),Mo(a),o.resolving=!1,$h()}}return i}function ep(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function tp(t,e){return!(t&V.Self||t&V.Host&&e)}class Br{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return Jh(this._tNode,this._lView,e,r,n)}}const Ur="__parameters__";function $r(t,e,n){return Ln(()=>{const r=function au(t){return function(...n){if(t){const r=t(...n);for(const i in r)this[i]=r[i]}}}(e);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,u,c){const d=l.hasOwnProperty(Ur)?l[Ur]:Object.defineProperty(l,Ur,{value:[]})[Ur];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(o),l}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}class G{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=q({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Eb=new G("AnalyzeForEntryComponents");function nn(t,e){t.forEach(n=>Array.isArray(n)?nn(n,e):e(n))}function rp(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Fo(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}const Xi={},du="__NG_DI_FLAG__",Po="ngTempTokenPath",xb=/\n/gm,lp="__source",Rb=ne({provide:String,useValue:ne});let es;function up(t){const e=es;return es=t,e}function Ob(t,e=V.Default){if(void 0===es)throw new Z(203,"");return null===es?Ch(t,void 0,e):es.get(t,e&V.Optional?null:void 0,e)}function I(t,e=V.Default){return(function Dw(){return Rl}()||Ob)(j(t),e)}function fu(t){const e=[];for(let n=0;n<t.length;n++){const r=j(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Z(900,"");let i,s=V.Default;for(let o=0;o<r.length;o++){const a=r[o],l=kb(a);"number"==typeof l?-1===l?i=a.token:s|=l:i=a}e.push(I(i,s))}else e.push(I(r))}return e}function ts(t,e){return t[du]=e,t.prototype[du]=e,t}function kb(t){return t[du]}const ns=ts($r("Inject",t=>({token:t})),-1),rn=ts($r("Optional"),8),qr=ts($r("SkipSelf"),4),Tp="__ngContext__";function Ge(t,e){t[Tp]=e}function Eu(t){const e=function as(t){return t[Tp]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function bu(t){return t.ngOriginalError}function I0(t,...e){t.error(...e)}class Qr{constructor(){this._console=console}handleError(e){const n=this._findOriginalError(e),r=function T0(t){return t&&t.ngErrorLogger||I0}(e);r(this._console,"ERROR",e),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&bu(e);for(;n&&bu(n);)n=bu(n);return n||null}}const Pp=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(te))();function on(t){return t instanceof Function?t():t}var dt=(()=>((dt=dt||{})[dt.Important=1]="Important",dt[dt.DashCase=2]="DashCase",dt))();function Au(t,e){return undefined(t,e)}function ls(t){const e=t[3];return jt(e)?e[3]:e}function Mu(t){return Vp(t[13])}function Tu(t){return Vp(t[4])}function Vp(t){for(;null!==t&&!jt(t);)t=t[4];return t}function Zr(t,e,n,r,i){if(null!=r){let s,o=!1;jt(r)?s=r:en(r)&&(o=!0,r=r[0]);const a=Se(r);0===t&&null!==n?null==i?Gp(e,n,a):dr(e,n,a,i||null,!0):1===t&&null!==n?dr(e,n,a,i||null,!0):2===t?function Yp(t,e,n){const r=Bo(t,e);r&&function J0(t,e,n,r){ve(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=s&&function tS(t,e,n,r,i){const s=n[7];s!==Se(n)&&Zr(e,t,r,s,i);for(let a=10;a<n.length;a++){const l=n[a];us(l[1],l,t,e,r,s)}}(e,t,s,n,i)}}function Nu(t,e,n){if(ve(t))return t.createElement(e,n);{const r=null!==n?function jw(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(n):null;return null===r?t.createElement(e):t.createElementNS(r,e)}}function jp(t,e){const n=t[9],r=n.indexOf(e),i=e[3];1024&e[2]&&(e[2]&=-1025,Ql(i,-1)),n.splice(r,1)}function Fu(t,e){if(t.length<=10)return;const n=10+e,r=t[n];if(r){const i=r[17];null!==i&&i!==t&&jp(i,r),e>0&&(t[n-1][4]=r[4]);const s=Fo(t,10+e);!function G0(t,e){us(t,e,e[U],2,null,null),e[0]=null,e[6]=null}(r[1],r);const o=s[19];null!==o&&o.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Up(t,e){if(!(256&e[2])){const n=e[U];ve(n)&&n.destroyNode&&us(t,e,n,3,null,null),function W0(t){let e=t[13];if(!e)return xu(t[1],t);for(;e;){let n=null;if(en(e))n=e[13];else{const r=e[10];r&&(n=r)}if(!n){for(;e&&!e[4]&&e!==t;)en(e)&&xu(e[1],e),e=e[3];null===e&&(e=t),en(e)&&xu(e[1],e),n=e&&e[4]}e=n}}(e)}}function xu(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function Y0(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r<n.length;r+=2){const i=e[n[r]];if(!(i instanceof qi)){const s=n[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{}}}}(t,e),function Z0(t,e){const n=t.cleanup,r=e[7];let i=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const o=n[s+1],a="function"==typeof o?o(e):Se(e[o]),l=r[i=n[s+2]],u=n[s+3];"boolean"==typeof u?a.removeEventListener(n[s],l,u):u>=0?r[i=u]():r[i=-u].unsubscribe(),s+=2}else{const o=r[i=n[s+1]];n[s].call(o)}if(null!==r){for(let s=i+1;s<r.length;s++)r[s]();e[7]=null}}(t,e),1===e[1].type&&ve(e[U])&&e[U].destroy();const n=e[17];if(null!==n&&jt(e[3])){n!==e[3]&&jp(n,e);const r=e[19];null!==r&&r.detachView(t)}}}function Hp(t,e,n){return function $p(t,e,n){let r=e;for(;null!==r&&40&r.type;)r=(e=r).parent;if(null===r)return n[0];if(2&r.flags){const i=t.data[r.directiveStart].encapsulation;if(i===Lt.None||i===Lt.Emulated)return null}return Tt(r,n)}(t,e.parent,n)}function dr(t,e,n,r,i){ve(t)?t.insertBefore(e,n,r,i):e.insertBefore(n,r,i)}function Gp(t,e,n){ve(t)?t.appendChild(e,n):e.appendChild(n)}function qp(t,e,n,r,i){null!==r?dr(t,e,n,r,i):Gp(t,e,n)}function Bo(t,e){return ve(t)?t.parentNode(e):e.parentNode}let Qp=function Wp(t,e,n){return 40&t.type?Tt(t,n):null};function jo(t,e,n,r){const i=Hp(t,r,e),s=e[U],a=function zp(t,e,n){return Qp(t,e,n)}(r.parent||e[6],r,e);if(null!=i)if(Array.isArray(n))for(let l=0;l<n.length;l++)qp(s,i,n[l],a,!1);else qp(s,i,n,a,!1)}function Uo(t,e){if(null!==e){const n=e.type;if(3&n)return Tt(e,t);if(4&n)return Ru(-1,t[e.index]);if(8&n){const r=e.child;if(null!==r)return Uo(t,r);{const i=t[e.index];return jt(i)?Ru(-1,i):Se(i)}}if(32&n)return Au(e,t)()||Se(t[e.index]);{const r=Zp(t,e);return null!==r?Array.isArray(r)?r[0]:Uo(ls(t[16]),r):Uo(t,e.next)}}return null}function Zp(t,e){return null!==e?t[16][6].projection[e.projection]:null}function Ru(t,e){const n=10+t+1;if(n<e.length){const r=e[n],i=r[1].firstChild;if(null!==i)return Uo(r,i)}return e[7]}function Ou(t,e,n,r,i,s,o){for(;null!=n;){const a=r[n.index],l=n.type;if(o&&0===e&&(a&&Ge(Se(a),r),n.flags|=4),64!=(64&n.flags))if(8&l)Ou(t,e,n.child,r,i,s,!1),Zr(e,t,i,a,s);else if(32&l){const u=Au(n,r);let c;for(;c=u();)Zr(e,t,i,c,s);Zr(e,t,i,a,s)}else 16&l?Jp(t,e,r,n,i,s):Zr(e,t,i,a,s);n=o?n.projectionNext:n.next}}function us(t,e,n,r,i,s){Ou(n,r,t.firstChild,e,i,s,!1)}function Jp(t,e,n,r,i,s){const o=n[16],l=o[6].projection[r.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++)Zr(e,t,i,l[u],s);else Ou(t,e,l,o[3],i,s,!0)}function Xp(t,e,n){ve(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function ku(t,e,n){ve(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function eg(t,e,n){let r=t.length;for(;;){const i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const s=e.length;if(i+s===r||t.charCodeAt(i+s)<=32)return i}n=i+1}}const tg="ng-template";function rS(t,e,n){let r=0;for(;r<t.length;){let i=t[r++];if(n&&"class"===i){if(i=t[r],-1!==eg(i.toLowerCase(),e,0))return!0}else if(1===i){for(;r<t.length&&"string"==typeof(i=t[r++]);)if(i.toLowerCase()===e)return!0;return!1}}return!1}function ng(t){return 4===t.type&&t.value!==tg}function iS(t,e,n){return e===(4!==t.type||n?t.value:tg)}function sS(t,e,n){let r=4;const i=t.attrs||[],s=function lS(t){for(let e=0;e<t.length;e++)if(qh(t[e]))return e;return t.length}(i);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&r){if(r=2|1&r,""!==l&&!iS(t,l,n)||""===l&&1===e.length){if(Ht(r))return!1;o=!0}}else{const u=8&r?l:e[++a];if(8&r&&null!==t.attrs){if(!rS(t.attrs,u,n)){if(Ht(r))return!1;o=!0}continue}const d=oS(8&r?"class":l,i,ng(t),n);if(-1===d){if(Ht(r))return!1;o=!0;continue}if(""!==u){let f;f=d>s?"":i[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==eg(h,u,0)||2&r&&u!==f){if(Ht(r))return!1;o=!0}}}}else{if(!o&&!Ht(r)&&!Ht(l))return!1;if(o&&Ht(l))continue;o=!1,r=l|1&r}}return Ht(r)||o}function Ht(t){return 0==(1&t)}function oS(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let s=!1;for(;i<e.length;){const o=e[i];if(o===t)return i;if(3===o||6===o)s=!0;else{if(1===o||2===o){let a=e[++i];for(;"string"==typeof a;)a=e[++i];continue}if(4===o)break;if(0===o){i+=4;continue}}i+=s?1:2}return-1}return function uS(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function rg(t,e,n=!1){for(let r=0;r<e.length;r++)if(sS(t,e[r],n))return!0;return!1}function ig(t,e){return t?":not("+e.trim()+")":e}function dS(t){let e=t[0],n=1,r=2,i="",s=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&r){const a=t[++n];i+="["+o+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!Ht(o)&&(e+=ig(s,i),i=""),r=o,s=s||!Ht(r);n++}return""!==i&&(e+=ig(s,i)),e}const L={};function Ho(t){sg(Y(),C(),Ze()+t,mo())}function sg(t,e,n,r){if(!r)if(3==(3&e[2])){const s=t.preOrderCheckHooks;null!==s&&wo(e,s,n)}else{const s=t.preOrderHooks;null!==s&&bo(e,s,0,n)}jn(n)}function mg(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const o=t.data[s];Xl(i),o.contentQueries(2,e[s],s)}}}function cs(t,e,n,r,i,s,o,a,l,u){const c=e.blueprint.slice();return c[0]=i,c[2]=140|r,Ph(c),c[3]=c[15]=t,c[8]=n,c[10]=o||t&&t[10],c[U]=a||t&&t[U],c[12]=l||t&&t[12]||null,c[9]=u||t&&t[9]||null,c[6]=s,c[16]=2==e.type?t[16]:c,c}function Yr(t,e,n,r,i){let s=t.data[e];if(null===s)s=function Qu(t,e,n,r,i){const s=Oh(),o=Kl(),l=t.data[e]=function IS(t,e,n,r,i,s){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:e?e.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:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?s:s&&s.parent,n,e,r,i);return null===t.firstChild&&(t.firstChild=l),null!==s&&(o?null==s.child&&null!==l.parent&&(s.child=l):null===s.next&&(s.next=l)),l}(t,e,n,r,i),function Xw(){return O.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const o=function Gi(){const t=O.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();s.injectorIndex=null===o?-1:o.injectorIndex}return tn(s,!0),s}function Jr(t,e,n,r){if(0===n)return-1;const i=e.length;for(let s=0;s<n;s++)e.push(r),t.blueprint.push(r),t.data.push(null);return i}function ds(t,e,n){vo(e);try{const r=t.viewQuery;null!==r&&rc(1,r,n);const i=t.template;null!==i&&yg(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&mg(t,e),t.staticViewQueries&&rc(2,t.viewQuery,n);const s=t.components;null!==s&&function AS(t,e){for(let n=0;n<e.length;n++)WS(t,e[n])}(e,s)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[2]&=-5,_o()}}function Xr(t,e,n,r){const i=e[2];if(256==(256&i))return;vo(e);const s=mo();try{Ph(e),function kh(t){return O.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&yg(t,e,n,2,r);const o=3==(3&i);if(!s)if(o){const u=t.preOrderCheckHooks;null!==u&&wo(e,u,null)}else{const u=t.preOrderHooks;null!==u&&bo(e,u,0,null),eu(e,0)}if(function qS(t){for(let e=Mu(t);null!==e;e=Tu(e)){if(!e[2])continue;const n=e[9];for(let r=0;r<n.length;r++){const i=n[r],s=i[3];0==(1024&i[2])&&Ql(s,1),i[2]|=1024}}}(e),function GS(t){for(let e=Mu(t);null!==e;e=Tu(e))for(let n=10;n<e.length;n++){const r=e[n],i=r[1];Wl(r)&&Xr(i,r,i.template,r[8])}}(e),null!==t.contentQueries&&mg(t,e),!s)if(o){const u=t.contentCheckHooks;null!==u&&wo(e,u)}else{const u=t.contentHooks;null!==u&&bo(e,u,1),eu(e,1)}!function bS(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)jn(~i);else{const s=i,o=n[++r],a=n[++r];eb(o,s),a(2,e[s])}}}finally{jn(-1)}}(t,e);const a=t.components;null!==a&&function SS(t,e){for(let n=0;n<e.length;n++)zS(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&rc(2,l,r),!s)if(o){const u=t.viewCheckHooks;null!==u&&wo(e,u)}else{const u=t.viewHooks;null!==u&&bo(e,u,2),eu(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),s||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Ql(e[3],-1))}finally{_o()}}function MS(t,e,n,r){const i=e[10],s=!mo(),o=function xh(t){return 4==(4&t[2])}(e);try{s&&!o&&i.begin&&i.begin(),o&&ds(t,e,r),Xr(t,e,n,r)}finally{s&&!o&&i.end&&i.end()}}function yg(t,e,n,r,i){const s=Ze(),o=2&r;try{jn(-1),o&&e.length>20&&sg(t,e,20,mo()),n(r,i)}finally{jn(s)}}function _g(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=zo(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function zo(t,e,n,r,i,s,o,a,l,u){const c=20+r,d=c+i,f=function TS(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:L);return n}(c,d),h="function"==typeof u?u():u;return f[1]={type:t,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:e,data:f.slice().fill(null,c),bindingStartIndex:c,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:h,incompleteFirstPass:!1}}function wg(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const i=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,i):n[r]=[e,i]}return n}function Sg(t,e,n,r,i,s){const o=s.hostBindings;if(o){let a=t.hostBindingOpCodes;null===a&&(a=t.hostBindingOpCodes=[]);const l=~e.index;(function OS(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(r,i,o)}}function Ag(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Mg(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function jS(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;Ut(e)&&(n[""]=t)}}function Tg(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Ig(t,e,n,r,i){t.data[r]=i;const s=i.factory||(i.factory=cr(i.type)),o=new qi(s,Ut(i),null);t.blueprint[r]=o,n[r]=o,Sg(t,e,0,r,Jr(t,n,i.hostVars,L),i)}function US(t,e,n){const r=Tt(e,t),i=_g(n),s=t[10],o=Wo(t,cs(t,i,null,n.onPush?64:16,r,e,s,s.createRenderer(r,n),null,null));t[e.index]=o}function HS(t,e,n,r,i,s){const o=s[e];if(null!==o){const a=r.setInput;for(let l=0;l<o.length;){const u=o[l++],c=o[l++],d=o[l++];null!==a?r.setInput(n,d,u,c):n[c]=d}}}function $S(t,e){let n=null,r=0;for(;r<e.length;){const i=e[r];if(0!==i)if(5!==i){if("number"==typeof i)break;t.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,t[i],e[r+1])),r+=2}else r+=2;else r+=4}return n}function zS(t,e){const n=ut(e,t);if(Wl(n)){const r=n[1];80&n[2]?Xr(r,n,r.template,n[8]):n[5]>0&&Xu(n)}}function Xu(t){for(let r=Mu(t);null!==r;r=Tu(r))for(let i=10;i<r.length;i++){const s=r[i];if(1024&s[2]){const o=s[1];Xr(o,s,o.template,s[8])}else s[5]>0&&Xu(s)}const n=t[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=ut(n[r],t);Wl(i)&&i[5]>0&&Xu(i)}}function WS(t,e){const n=ut(e,t),r=n[1];(function QS(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])})(r,n),ds(r,n,n[8])}function Wo(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function ec(t){for(;t;){t[2]|=64;const e=ls(t);if(Nw(t)&&!e)return t;t=e}return null}function nc(t,e,n){const r=e[10];r.begin&&r.begin();try{Xr(t,e,t.template,n)}catch(i){throw Og(e,i),i}finally{r.end&&r.end()}}function Fg(t){!function tc(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=Eu(n),i=r[1];MS(i,r,i.template,n)}}(t[8])}function rc(t,e,n){Xl(0),e(t,n)}const JS=(()=>Promise.resolve(null))();function xg(t){return t[7]||(t[7]=[])}function Pg(t){return t.cleanup||(t.cleanup=[])}function Og(t,e){const n=t[9],r=n?n.get(Qr,null):null;r&&r.handleError(e)}function kg(t,e,n,r,i){for(let s=0;s<n.length;){const o=n[s++],a=n[s++],l=e[o],u=t.data[o];null!==u.setInput?u.setInput(l,i,r,a):l[a]=i}}function Qo(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,s=0;if(null!==e)for(let o=0;o<e.length;o++){const a=e[o];"number"==typeof a?s=a:1==s?i=Nl(i,a):2==s&&(r=Nl(r,a+": "+e[++o]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}const ic=new G("INJECTOR",-1);class Lg{get(e,n=Xi){if(n===Xi){const r=new Error(`NullInjectorError: No provider for ${X(e)}!`);throw r.name="NullInjectorError",r}return n}}const sc=new G("Set Injector scope."),fs={},tA={};let oc;function Vg(){return void 0===oc&&(oc=new Lg),oc}function Bg(t,e=null,n=null,r){const i=jg(t,e,n,r);return i._resolveInjectorDefTypes(),i}function jg(t,e=null,n=null,r){return new nA(t,n,e||Vg(),r)}class nA{constructor(e,n,r,i=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];n&&nn(n,a=>this.processProvider(a,e,n)),nn([e],a=>this.processInjectorType(a,[],s)),this.records.set(ic,ei(void 0,this));const o=this.records.get(sc);this.scope=null!=o?o.value:null,this.source=i||("object"==typeof e?null:X(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,n=Xi,r=V.Default){this.assertNotDestroyed();const i=up(this),s=kn(void 0);try{if(!(r&V.SkipSelf)){let a=this.records.get(e);if(void 0===a){const l=function cA(t){return"function"==typeof t||"object"==typeof t&&t instanceof G}(e)&&xl(e);a=l&&this.injectableDefInScope(l)?ei(ac(e),fs):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(r&V.Self?Vg():this.parent).get(e,n=r&V.Optional&&n===Xi?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[Po]=o[Po]||[]).unshift(X(e)),i)throw o;return function Lb(t,e,n,r){const i=t[Po];throw e[lp]&&i.unshift(e[lp]),t.message=function Vb(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let i=X(e);if(Array.isArray(e))i=e.map(X).join(" -> ");else if("object"==typeof e){let s=[];for(let o in e)if(e.hasOwnProperty(o)){let a=e[o];s.push(o+":"+("string"==typeof a?JSON.stringify(a):X(a)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(xb,"\n ")}`}("\n"+t.message,i,n,r),t.ngTokenPath=i,t[Po]=null,t}(o,e,"R3InjectorError",this.source)}throw o}finally{kn(s),up(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((r,i)=>e.push(X(i))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Z(205,!1)}processInjectorType(e,n,r){if(!(e=j(e)))return!1;let i=_h(e);const s=null==i&&e.ngModule||void 0,o=void 0===s?e:s,a=-1!==r.indexOf(o);if(void 0!==s&&(i=_h(s)),null==i)return!1;if(null!=i.imports&&!a){let c;r.push(o);try{nn(i.imports,d=>{this.processInjectorType(d,n,r)&&(void 0===c&&(c=[]),c.push(d))})}finally{}if(void 0!==c)for(let d=0;d<c.length;d++){const{ngModule:f,providers:h}=c[d];nn(h,p=>this.processProvider(p,f,h||re))}}this.injectorDefTypes.add(o);const l=cr(o)||(()=>new o);this.records.set(o,ei(l,fs));const u=i.providers;if(null!=u&&!a){const c=e;nn(u,d=>this.processProvider(d,c,u))}return void 0!==s&&void 0!==e.providers}processProvider(e,n,r){let i=ti(e=j(e))?e:j(e&&e.provide);const s=function iA(t,e,n){return Hg(t)?ei(void 0,t.useValue):ei(function Ug(t,e,n){let r;if(ti(t)){const i=j(t);return cr(i)||ac(i)}if(Hg(t))r=()=>j(t.useValue);else if(function oA(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(...fu(t.deps||[]));else if(function sA(t){return!(!t||!t.useExisting)}(t))r=()=>I(j(t.useExisting));else{const i=j(t&&(t.useClass||t.provide));if(!function lA(t){return!!t.deps}(t))return cr(i)||ac(i);r=()=>new i(...fu(t.deps))}return r}(t),fs)}(e);if(ti(e)||!0!==e.multi)this.records.get(i);else{let o=this.records.get(i);o||(o=ei(void 0,fs,!0),o.factory=()=>fu(o.multi),this.records.set(i,o)),i=e,o.multi.push(e)}this.records.set(i,s)}hydrate(e,n){return n.value===fs&&(n.value=tA,n.value=n.factory()),"object"==typeof n.value&&n.value&&function uA(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;const n=j(e.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function ac(t){const e=xl(t),n=null!==e?e.factory:cr(t);if(null!==n)return n;if(t instanceof G)throw new Z(204,!1);if(t instanceof Function)return function rA(t){const e=t.length;if(e>0)throw function Ji(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}(e,"?"),new Z(204,!1);const n=function yw(t){const e=t&&(t[ao]||t[Dh]);if(e){const n=function vw(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" 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 "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Z(204,!1)}function ei(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Hg(t){return null!==t&&"object"==typeof t&&Rb in t}function ti(t){return"function"==typeof t}let qe=(()=>{class t{static create(n,r){var i;if(Array.isArray(n))return Bg({name:""},r,n,"");{const s=null!==(i=n.name)&&void 0!==i?i:"";return Bg({name:s},n.parent,n.providers,s)}}}return t.THROW_IF_NOT_FOUND=Xi,t.NULL=new Lg,t.\u0275prov=q({token:t,providedIn:"any",factory:()=>I(ic)}),t.__NG_ELEMENT_ID__=-1,t})();function vA(t,e){Eo(Eu(t)[1],Ie())}let Ko=null;function ni(){if(!Ko){const t=te.Symbol;if(t&&t.iterator)Ko=t.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<e.length;++n){const r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Ko=r)}}}return Ko}function hs(t){return!!dc(t)&&(Array.isArray(t)||!(t instanceof Map)&&ni()in t)}function dc(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function E(t,e=V.Default){const n=C();return null===n?I(t,e):Jh(Ie(),n,j(t),e)}function mc(){throw new Error("invalid")}function gs(t,e,n){const r=C();return function ze(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}(r,function kr(){return O.lFrame.bindingIndex++}(),e)&&function ft(t,e,n,r,i,s,o,a){const l=Tt(e,n);let c,u=e.inputs;!a&&null!=u&&(c=u[r])?(kg(t,n,c,r,i),ho(e)&&function xS(t,e){const n=ut(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(r=function FS(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(r),i=null!=o?o(i,e.value||"",r):i,ve(s)?s.setProperty(l,r,i):nu(r)||(l.setProperty?l.setProperty(r,i):l[r]=i))}(Y(),function _e(){const t=O.lFrame;return zl(t.tView,t.selectedIndex)}(),r,t,e,r[U],n,!1),gs}function yc(t,e,n,r,i){const o=i?"class":"style";kg(t,n,e.inputs[o],o,r)}function v(t,e,n,r){const i=C(),s=Y(),o=20+t,a=i[U],l=i[o]=Nu(a,e,function ab(){return O.lFrame.currentNamespace}()),u=s.firstCreatePass?function JA(t,e,n,r,i,s,o){const a=e.consts,u=Yr(e,t,2,i,Bn(a,s));return function Yu(t,e,n,r){let i=!1;if(Rh()){const s=function VS(t,e,n){const r=t.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];rg(n,o.selectors,!1)&&(i||(i=[]),Io(Wi(n,e),t,o.type),Ut(o)?(Mg(t,n),i.unshift(o)):i.push(o))}return i}(t,e,n),o=null===r?null:{"":-1};if(null!==s){i=!0,Tg(n,t.data.length,s.length);for(let c=0;c<s.length;c++){const d=s[c];d.providersResolver&&d.providersResolver(d)}let a=!1,l=!1,u=Jr(t,e,s.length,null);for(let c=0;c<s.length;c++){const d=s[c];n.mergedAttrs=Ao(n.mergedAttrs,d.hostAttrs),Ig(t,n,e,u,d),jS(u,d,o),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),a=!0),!l&&(f.ngOnChanges||f.ngDoCheck)&&((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),l=!0),u++}!function NS(t,e){const r=e.directiveEnd,i=t.data,s=e.attrs,o=[];let a=null,l=null;for(let u=e.directiveStart;u<r;u++){const c=i[u],d=c.inputs,f=null===s||ng(e)?null:$S(d,s);o.push(f),a=wg(d,u,a),l=wg(c.outputs,u,l)}null!==a&&(a.hasOwnProperty("class")&&(e.flags|=16),a.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=o,e.inputs=a,e.outputs=l}(t,n)}o&&function BS(t,e,n){if(e){const r=t.localNames=[];for(let i=0;i<e.length;i+=2){const s=n[e[i+1]];if(null==s)throw new Z(-301,!1);r.push(e[i],s)}}}(n,r,o)}return n.mergedAttrs=Ao(n.mergedAttrs,n.attrs),i}(e,n,u,Bn(a,o)),null!==u.attrs&&Qo(u,u.attrs,!1),null!==u.mergedAttrs&&Qo(u,u.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,u),u}(o,s,i,0,e,n,r):s.data[o];tn(u,!0);const c=u.mergedAttrs;null!==c&&So(a,l,c);const d=u.classes;null!==d&&ku(a,l,d);const f=u.styles;null!==f&&Xp(a,l,f),64!=(64&u.flags)&&jo(s,i,l,u),0===function zw(){return O.lFrame.elementDepthCount}()&&Ge(l,i),function Ww(){O.lFrame.elementDepthCount++}(),po(u)&&(function Ku(t,e,n){!Rh()||(function kS(t,e,n,r){const i=n.directiveStart,s=n.directiveEnd;t.firstCreatePass||Wi(n,e),Ge(r,e);const o=n.initialInputs;for(let a=i;a<s;a++){const l=t.data[a],u=Ut(l);u&&US(e,n,l);const c=Qi(e,t,a,n);Ge(c,e),null!==o&&HS(0,a-i,c,l,0,o),u&&(ut(n.index,e)[8]=c)}}(t,e,n,Tt(n,e)),128==(128&n.flags)&&function LS(t,e,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,a=function tb(){return O.lFrame.currentDirectiveIndex}();try{jn(o);for(let l=r;l<i;l++){const u=t.data[l],c=e[l];Yl(l),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&Ag(u,c)}}finally{jn(-1),Yl(a)}}(t,e,n))}(s,i,u),function vg(t,e,n){if(Bl(e)){const i=e.directiveEnd;for(let s=e.directiveStart;s<i;s++){const o=t.data[s];o.contentQueries&&o.contentQueries(1,n[s],s)}}}(s,u,i)),null!==r&&function Zu(t,e,n=Tt){const r=e.localNames;if(null!==r){let i=e.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],a=-1===o?n(e,t):t[o];t[i++]=a}}}(i,u)}function _(){let t=Ie();Kl()?function Zl(){O.lFrame.isParent=!1}():(t=t.parent,tn(t,!1));const e=t;!function Qw(){O.lFrame.elementDepthCount--}();const n=Y();n.firstCreatePass&&(Eo(n,t),Bl(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function fb(t){return 0!=(16&t.flags)}(e)&&yc(n,e,C(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function hb(t){return 0!=(32&t.flags)}(e)&&yc(n,e,C(),e.stylesWithoutHost,!1)}function ae(t,e,n,r){v(t,e,n,r),_()}function ms(t){return!!t&&"function"==typeof t.then}const vc=function Em(t){return!!t&&"function"==typeof t.subscribe};function Le(t,e,n,r){const i=C(),s=Y(),o=Ie();return function bm(t,e,n,r,i,s,o,a){const l=po(r),c=t.firstCreatePass&&Pg(t),d=e[8],f=xg(e);let h=!0;if(3&r.type||a){const y=Tt(r,e),D=a?a(y):y,m=f.length,w=a?M=>a(Se(M[r.index])):r.index;if(ve(n)){let M=null;if(!a&&l&&(M=function nM(t,e,n,r){const i=t.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const o=i[s];if(o===n&&i[s+1]===r){const a=e[7],l=i[s+2];return a.length>l?a[l]:null}"string"==typeof o&&(s+=2)}return null}(t,e,i,r.index)),null!==M)(M.__ngLastListenerFn__||M).__ngNextListenerFn__=s,M.__ngLastListenerFn__=s,h=!1;else{s=_c(r,e,d,s,!1);const B=n.listen(D,i,s);f.push(s,B),c&&c.push(i,w,m,m+1)}}else s=_c(r,e,d,s,!0),D.addEventListener(i,s,o),f.push(s),c&&c.push(i,w,m,o)}else s=_c(r,e,d,s,!1);const p=r.outputs;let g;if(h&&null!==p&&(g=p[i])){const y=g.length;if(y)for(let D=0;D<y;D+=2){const he=e[g[D]][g[D+1]].subscribe(s),me=f.length;f.push(s,he),c&&c.push(i,r.index,me,-(me+1))}}}(s,i,i[U],o,t,e,!!n,r),Le}function Sm(t,e,n,r){try{return!1!==n(r)}catch(i){return Og(t,i),!1}}function _c(t,e,n,r,i){return function s(o){if(o===Function)return r;const a=2&t.flags?ut(t.index,e):e;0==(32&e[2])&&ec(a);let l=Sm(e,0,r,o),u=s.__ngNextListenerFn__;for(;u;)l=Sm(e,0,u,o)&&l,u=u.__ngNextListenerFn__;return i&&!1===l&&(o.preventDefault(),o.returnValue=!1),l}}function T(t,e=""){const n=C(),r=Y(),i=t+20,s=r.firstCreatePass?Yr(r,i,1,e,null):r.data[i],o=n[i]=function Iu(t,e){return ve(t)?t.createText(e):t.createTextNode(e)}(n[U],e);jo(r,n,o,s),tn(s,!1)}const hr=void 0;var GM=["en",[["a","p"],["AM","PM"],hr],[["AM","PM"],hr,hr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],hr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],hr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",hr,"{1} 'at' {0}",hr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function $M(t){const n=Math.floor(Math.abs(t)),r=t.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let pi={};function my(t){return t in pi||(pi[t]=te.ng&&te.ng.common&&te.ng.common.locales&&te.ng.common.locales[t]),pi[t]}var S=(()=>((S=S||{})[S.LocaleId=0]="LocaleId",S[S.DayPeriodsFormat=1]="DayPeriodsFormat",S[S.DayPeriodsStandalone=2]="DayPeriodsStandalone",S[S.DaysFormat=3]="DaysFormat",S[S.DaysStandalone=4]="DaysStandalone",S[S.MonthsFormat=5]="MonthsFormat",S[S.MonthsStandalone=6]="MonthsStandalone",S[S.Eras=7]="Eras",S[S.FirstDayOfWeek=8]="FirstDayOfWeek",S[S.WeekendRange=9]="WeekendRange",S[S.DateFormat=10]="DateFormat",S[S.TimeFormat=11]="TimeFormat",S[S.DateTimeFormat=12]="DateTimeFormat",S[S.NumberSymbols=13]="NumberSymbols",S[S.NumberFormats=14]="NumberFormats",S[S.CurrencyCode=15]="CurrencyCode",S[S.CurrencySymbol=16]="CurrencySymbol",S[S.CurrencyName=17]="CurrencyName",S[S.Currencies=18]="Currencies",S[S.Directionality=19]="Directionality",S[S.PluralCase=20]="PluralCase",S[S.ExtraData=21]="ExtraData",S))();const ea="en-US";let yy=ea;class Hy{}class zT{resolveComponentFactory(e){throw function qT(t){const e=Error(`No component factory found for ${X(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(e)}}let mi=(()=>{class t{}return t.NULL=new zT,t})();function WT(){return yi(Ie(),C())}function yi(t,e){return new ht(Tt(t,e))}let ht=(()=>{class t{constructor(n){this.nativeElement=n}}return t.__NG_ELEMENT_ID__=WT,t})();class Es{}let YT=(()=>{class t{}return t.\u0275prov=q({token:t,providedIn:"root",factory:()=>null}),t})();class ws{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const JT=new ws("13.2.2"),Ic={};function sa(t,e,n,r,i=!1){for(;null!==n;){const s=e[n.index];if(null!==s&&r.push(Se(s)),jt(s))for(let a=10;a<s.length;a++){const l=s[a],u=l[1].firstChild;null!==u&&sa(l[1],l,u,r)}const o=n.type;if(8&o)sa(t,e,n.child,r);else if(32&o){const a=Au(n,e);let l;for(;l=a();)r.push(l)}else if(16&o){const a=Zp(e,n);if(Array.isArray(a))r.push(...a);else{const l=ls(e[16]);sa(l[1],l,a,r,!0)}}n=i?n.projectionNext:n.next}return r}class bs{constructor(e,n){this._lView=e,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,n=e[1];return sa(n,e,n.firstChild,[])}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(jt(e)){const n=e[8],r=n?n.indexOf(this):-1;r>-1&&(Fu(e,r),Fo(n,r))}this._attachedToViewContainer=!1}Up(this._lView[1],this._lView)}onDestroy(e){!function Eg(t,e,n,r){const i=xg(e);null===n?i.push(r):(i.push(n),t.firstCreatePass&&Pg(t).push(r,i.length-1))}(this._lView[1],this._lView,null,e)}markForCheck(){ec(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){nc(this._lView[1],this._lView,this.context)}checkNoChanges(){!function ZS(t,e,n){yo(!0);try{nc(t,e,n)}finally{yo(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Z(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function z0(t,e){us(t,e,e[U],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Z(902,"");this._appRef=e}}class XT extends bs{constructor(e){super(e),this._view=e}detectChanges(){Fg(this._view)}checkNoChanges(){!function YS(t){yo(!0);try{Fg(t)}finally{yo(!1)}}(this._view)}get context(){return null}}class Gy extends mi{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const n=Ue(e);return new Nc(n,this.ngModule)}}function qy(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const tI=new G("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Pp});class Nc extends Hy{constructor(e,n){super(),this.componentDef=e,this.ngModule=n,this.componentType=e.type,this.selector=function fS(t){return t.map(dS).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return qy(this.componentDef.inputs)}get outputs(){return qy(this.componentDef.outputs)}create(e,n,r,i){const s=(i=i||this.ngModule)?function nI(t,e){return{get:(n,r,i)=>{const s=t.get(n,Ic,i);return s!==Ic||r===Ic?s:e.get(n,r,i)}}}(e,i.injector):e,o=s.get(Es,Fh),a=s.get(YT,null),l=o.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",c=r?function Cg(t,e,n){if(ve(t))return t.selectRootElement(e,n===Lt.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(l,r,this.componentDef.encapsulation):Nu(o.createRenderer(null,this.componentDef),u,function eI(t){const e=t.toLowerCase();return"svg"===e?"svg":"math"===e?"math":null}(u)),d=this.componentDef.onPush?576:528,f=function Xg(t,e){return{components:[],scheduler:t||Pp,clean:JS,playerHandler:e||null,flags:0}}(),h=zo(0,null,null,1,0,null,null,null,null,null),p=cs(null,h,f,d,null,null,o,l,a,s);let g,y;vo(p);try{const D=function Yg(t,e,n,r,i,s){const o=n[1];n[20]=t;const l=Yr(o,20,2,"#host",null),u=l.mergedAttrs=e.hostAttrs;null!==u&&(Qo(l,u,!0),null!==t&&(So(i,t,u),null!==l.classes&&ku(i,t,l.classes),null!==l.styles&&Xp(i,t,l.styles)));const c=r.createRenderer(t,e),d=cs(n,_g(e),null,e.onPush?64:16,n[20],l,r,c,s||null,null);return o.firstCreatePass&&(Io(Wi(l,n),o,e.type),Mg(o,l),Tg(l,n.length,1)),Wo(n,d),n[20]=d}(c,this.componentDef,p,o,l);if(c)if(r)So(l,c,["ng-version",JT.full]);else{const{attrs:m,classes:w}=function hS(t){const e=[],n=[];let r=1,i=2;for(;r<t.length;){let s=t[r];if("string"==typeof s)2===i?""!==s&&e.push(s,t[++r]):8===i&&n.push(s);else{if(!Ht(i))break;i=s}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);m&&So(l,c,m),w&&w.length>0&&ku(l,c,w.join(" "))}if(y=zl(h,20),void 0!==n){const m=y.projection=[];for(let w=0;w<this.ngContentSelectors.length;w++){const M=n[w];m.push(null!=M?Array.from(M):null)}}g=function Jg(t,e,n,r,i){const s=n[1],o=function RS(t,e,n){const r=Ie();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ig(t,r,e,Jr(t,e,1,null),n));const i=Qi(e,t,r.directiveStart,r);Ge(i,e);const s=Tt(r,e);return s&&Ge(s,e),i}(s,n,e);if(r.components.push(o),t[8]=o,i&&i.forEach(l=>l(o,e)),e.contentQueries){const l=Ie();e.contentQueries(1,o,l.directiveStart)}const a=Ie();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(jn(a.index),Sg(n[1],a,0,a.directiveStart,a.directiveEnd,e),Ag(e,o)),o}(D,this.componentDef,p,f,[vA]),ds(h,p,null)}finally{_o()}return new iI(this.componentType,g,yi(y,p),p,y)}}class iI extends class GT{}{constructor(e,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new XT(i),this.componentType=e}get injector(){return new Br(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}class Tn{}class zy{}const vi=new Map;class Ky extends Tn{constructor(e,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Gy(this);const r=bt(e);this._bootstrapComponents=on(r.bootstrap),this._r3Injector=jg(e,n,[{provide:Tn,useValue:this},{provide:mi,useValue:this.componentFactoryResolver}],X(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,n=qe.THROW_IF_NOT_FOUND,r=V.Default){return e===qe||e===Tn||e===ic?this:this._r3Injector.get(e,n,r)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Fc extends zy{constructor(e){super(),this.moduleType=e,null!==bt(e)&&function oI(t){const e=new Set;!function n(r){const i=bt(r,!0),s=i.id;null!==s&&(function Wy(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${X(e)} vs ${X(e.name)}`)}(s,vi.get(s),r),vi.set(s,r));const o=on(i.imports);for(const a of o)e.has(a)||(e.add(a),n(a))}(t)}(e)}create(e){return new Ky(this.moduleType,e)}}function xc(t){return e=>{setTimeout(t,void 0,e)}}const Ce=class bI extends vn{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,r){var i,s,o;let a=e,l=n||(()=>null),u=r;if(e&&"object"==typeof e){const d=e;a=null===(i=d.next)||void 0===i?void 0:i.bind(d),l=null===(s=d.error)||void 0===s?void 0:s.bind(d),u=null===(o=d.complete)||void 0===o?void 0:o.bind(d)}this.__isAsync&&(l=xc(l),a&&(a=xc(a)),u&&(u=xc(u)));const c=super.subscribe({next:a,error:l,complete:u});return e instanceof Et&&e.add(c),c}};Symbol;let Wt=(()=>{class t{}return t.__NG_ELEMENT_ID__=II,t})();function II(){return function rv(t,e){let n;const r=e[t.index];if(jt(r))n=r;else{let i;if(8&t.type)i=Se(r);else{const s=e[U];i=s.createComment("");const o=Tt(t,e);dr(s,Bo(s,o),i,function X0(t,e){return ve(t)?t.nextSibling(e):e.nextSibling}(s,o),!1)}e[t.index]=n=function Ng(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}(r,e,i,t),Wo(e,n)}return new tv(n,t,e)}(Ie(),C())}const NI=Wt,tv=class extends NI{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return yi(this._hostTNode,this._hostLView)}get injector(){return new Br(this._hostTNode,this._hostLView)}get parentInjector(){const e=To(this._hostTNode,this._hostLView);if(Wh(e)){const n=Vr(e,this._hostLView),r=Lr(e);return new Br(n[1].data[r+8],n)}return new Br(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const n=nv(this._lContainer);return null!==n&&n[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,n,r){const i=e.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(e,n,r,i,s){const o=e&&!function Yi(t){return"function"==typeof t}(e);let a;if(o)a=n;else{const d=n||{};a=d.index,r=d.injector,i=d.projectableNodes,s=d.ngModuleRef}const l=o?e:new Nc(Ue(e)),u=r||this.parentInjector;if(!s&&null==l.ngModule&&u){const d=u.get(Tn,null);d&&(s=d)}const c=l.create(u,i,void 0,s);return this.insert(c.hostView,a),c}insert(e,n){const r=e._lView,i=r[1];if(function qw(t){return jt(t[3])}(r)){const c=this.indexOf(e);if(-1!==c)this.detach(c);else{const d=r[3],f=new tv(d,d[6],d[3]);f.detach(f.indexOf(e))}}const s=this._adjustIndex(n),o=this._lContainer;!function Q0(t,e,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=e),r<s-10?(e[4]=n[i],rp(n,10+r,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function K0(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(i,r,o,s);const a=Ru(s,o),l=r[U],u=Bo(l,o[7]);return null!==u&&function q0(t,e,n,r,i,s){r[0]=i,r[6]=e,us(t,r,n,1,i,s)}(i,o[6],l,r,u,a),e.attachToViewContainerRef(),rp(Rc(o),s,e),e}move(e,n){return this.insert(e,n)}indexOf(e){const n=nv(this._lContainer);return null!==n?n.indexOf(e):-1}remove(e){const n=this._adjustIndex(e,-1),r=Fu(this._lContainer,n);r&&(Fo(Rc(this._lContainer),n),Up(r[1],r))}detach(e){const n=this._adjustIndex(e,-1),r=Fu(this._lContainer,n);return r&&null!=Fo(Rc(this._lContainer),n)?new bs(r):null}_adjustIndex(e,n=0){return null==e?this.length+n:e}};function nv(t){return t[8]}function Rc(t){return t[8]||(t[8]=[])}function ua(...t){}const ca=new G("Application Initializer");let Di=(()=>{class t{constructor(n){this.appInits=n,this.resolve=ua,this.reject=ua,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const s=this.appInits[i]();if(ms(s))n.push(s);else if(vc(s)){const o=new Promise((a,l)=>{s.subscribe({complete:a,error:l})});n.push(o)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return t.\u0275fac=function(n){return new(n||t)(I(ca,8))},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})();const Ts=new G("AppId"),i1={provide:Ts,useFactory:function r1(){return`${Qc()}${Qc()}${Qc()}`},deps:[]};function Qc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Sv=new G("Platform Initializer"),Kc=new G("Platform ID"),Av=new G("appBootstrapListener");let Mv=(()=>{class t{log(n){console.log(n)}warn(n){console.warn(n)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})();const qn=new G("LocaleId"),Tv=new G("DefaultCurrencyCode");class s1{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}}let da=(()=>{class t{compileModuleSync(n){return new Fc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=on(bt(n).declarations).reduce((o,a)=>{const l=Ue(a);return l&&o.push(new Nc(l)),o},[]);return new s1(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})();const a1=(()=>Promise.resolve(0))();function Zc(t){"undefined"==typeof Zone?a1.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class we{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ce(!1),this.onMicrotaskEmpty=new Ce(!1),this.onStable=new Ce(!1),this.onError=new Ce(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function l1(){let t=te.requestAnimationFrame,e=te.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function d1(t){const e=()=>{!function c1(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(te,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Jc(t),t.isCheckStableRunning=!0,Yc(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Jc(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,o,a)=>{try{return Iv(t),n.invokeTask(i,s,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&e(),Nv(t)}},onInvoke:(n,r,i,s,o,a,l)=>{try{return Iv(t),n.invoke(i,s,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),Nv(t)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Jc(t),Yc(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!we.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(we.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,e,u1,ua,ua);try{return s.runTask(o,n,r)}finally{s.cancelTask(o)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}}const u1={};function Yc(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Jc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Iv(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Nv(t){t._nesting--,Yc(t)}class f1{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ce,this.onMicrotaskEmpty=new Ce,this.onStable=new Ce,this.onError=new Ce}run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,i){return e.apply(n,r)}}let Xc=(()=>{class t{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{we.assertNotInAngularZone(),Zc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Zc(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,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(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,i){return[]}}return t.\u0275fac=function(n){return new(n||t)(I(we))},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})(),Fv=(()=>{class t{constructor(){this._applications=new Map,ed.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return ed.findTestabilityInTree(this,n,r)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})();class h1{addToWindow(e){}findTestabilityInTree(e,n,r){return null}}let Qt,ed=new h1;const xv=new G("AllowMultipleToken");class Pv{constructor(e,n){this.name=e,this.token=n}}function Rv(t,e,n=[]){const r=`Platform: ${e}`,i=new G(r);return(s=[])=>{let o=Ov();if(!o||o.injector.get(xv,!1))if(t)t(n.concat(s).concat({provide:i,useValue:!0}));else{const a=n.concat(s).concat({provide:i,useValue:!0},{provide:sc,useValue:"platform"});!function y1(t){if(Qt&&!Qt.destroyed&&!Qt.injector.get(xv,!1))throw new Z(400,"");Qt=t.get(kv);const e=t.get(Sv,null);e&&e.forEach(n=>n())}(qe.create({providers:a,name:r}))}return function v1(t){const e=Ov();if(!e)throw new Z(401,"");return e}()}}function Ov(){return Qt&&!Qt.destroyed?Qt:null}let kv=(()=>{class t{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function _1(t,e){let n;return n="noop"===t?new f1:("zone.js"===t?void 0:t)||new we({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),l=[{provide:we,useValue:a}];return a.run(()=>{const u=qe.create({providers:l,parent:this.injector,name:n.moduleType.name}),c=n.create(u),d=c.injector.get(Qr,null);if(!d)throw new Z(402,"");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:h=>{d.handleError(h)}});c.onDestroy(()=>{td(this._modules,c),f.unsubscribe()})}),function D1(t,e,n){try{const r=n();return ms(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(d,a,()=>{const f=c.injector.get(Di);return f.runInitializers(),f.donePromise.then(()=>(function KM(t){at(t,"Expected localeId to be defined"),"string"==typeof t&&(yy=t.toLowerCase().replace(/_/g,"-"))}(c.injector.get(qn,ea)||ea),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const i=Lv({},r);return function g1(t,e,n){const r=new Fc(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(Is);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new Z(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Z(404,"");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(n){return new(n||t)(I(qe))},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})();function Lv(t,e){return Array.isArray(e)?e.reduce(Lv,t):Object.assign(Object.assign({},t),e)}let Is=(()=>{class t{constructor(n,r,i,s,o){this._zone=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=s,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new pe(u=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{u.next(this._stable),u.complete()})}),l=new pe(u=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{we.assertNotInAngularZone(),Zc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,u.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{we.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{u.next(!1)}))});return()=>{c.unsubscribe(),d.unsubscribe()}});this.isStable=function cw(...t){const e=Bi(t),n=function rw(t,e){return"number"==typeof Ml(t)?t.pop():e}(t,1/0),r=t;return r.length?1===r.length?Xt(r[0]):Vi(n)(Oe(r,e)):Dn}(a,l.pipe(function dw(t={}){const{connector:e=(()=>new vn),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=t;return s=>{let o=null,a=null,l=null,u=0,c=!1,d=!1;const f=()=>{null==a||a.unsubscribe(),a=null},h=()=>{f(),o=l=null,c=d=!1},p=()=>{const g=o;h(),null==g||g.unsubscribe()};return Be((g,y)=>{u++,!d&&!c&&f();const D=l=null!=l?l:e();y.add(()=>{u--,0===u&&!d&&!c&&(a=Tl(p,i))}),D.subscribe(y),o||(o=new ro({next:m=>D.next(m),error:m=>{d=!0,f(),a=Tl(h,n,m),D.error(m)},complete:()=>{c=!0,f(),a=Tl(h,r),D.complete()}}),Oe(g).subscribe(o))})(s)}}()))}bootstrap(n,r){if(!this._initStatus.done)throw new Z(405,"");let i;i=n instanceof Hy?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(i.componentType);const s=function m1(t){return t.isBoundToModule}(i)?void 0:this._injector.get(Tn),a=i.create(qe.NULL,[],r||i.selector,s),l=a.location.nativeElement,u=a.injector.get(Xc,null),c=u&&a.injector.get(Fv);return u&&c&&c.registerApplication(l,u),a.onDestroy(()=>{this.detachView(a.hostView),td(this.components,a),c&&c.unregisterApplication(l)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new Z(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;td(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Av,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(n){return new(n||t)(I(we),I(qe),I(Qr),I(mi),I(Di))},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})();function td(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}let Bv=!0,fa=(()=>{class t{}return t.__NG_ELEMENT_ID__=w1,t})();function w1(t){return function b1(t,e,n){if(ho(t)&&!n){const r=ut(t.index,e);return new bs(r,r)}return 47&t.type?new bs(e[16],e):null}(Ie(),C(),16==(16&t))}class Gv{constructor(){}supports(e){return hs(e)}create(e){return new N1(e)}}const I1=(t,e)=>e;class N1{constructor(e){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=e||I1}forEachItem(e){let n;for(n=this._itHead;null!==n;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const o=!r||n&&n.currentIndex<zv(r,i,s)?n:r,a=zv(o,i,s),l=o.currentIndex;if(o===r)i--,r=r._nextRemoved;else if(n=n._next,null==o.previousIndex)i++;else{s||(s=[]);const u=a-i,c=l-i;if(u!=c){for(let f=0;f<u;f++){const h=f<s.length?s[f]:s[f]=0,p=h+f;c<=p&&p<u&&(s[f]=h+1)}s[o.previousIndex]=c-u}}a!==l&&e(o,a,l)}}forEachPreviousItem(e){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)e(n)}forEachAddedItem(e){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)e(n)}forEachMovedItem(e){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)e(n)}forEachRemovedItem(e){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)e(n)}forEachIdentityChange(e){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)e(n)}diff(e){if(null==e&&(e=[]),!hs(e))throw new Z(900,"");return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i,s,o,n=this._itHead,r=!1;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)s=e[a],o=this._trackByFn(a,s),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,s,o,a)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,o,a),r=!0),n=n._next}else i=0,function TA(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[ni()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(e,a=>{o=this._trackByFn(i,a),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,a,o,i)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,o,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,r,i){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,s,i)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,s,i)):e=this._addAfter(new F1(n,r),s,i),e}_verifyReinsertion(e,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?e=this._reinsertAfter(s,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const n=e._next;this._addToRemovals(this._unlink(e)),e=n}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(e,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,s=e._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(e,n,r),this._addToMoves(e,r),e}_moveAfter(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}_addAfter(e,n,r){return this._insertAfter(e,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,n,r){const i=null===n?this._itHead:n._next;return e._next=i,e._prev=n,null===i?this._itTail=e:i._prev=e,null===n?this._itHead=e:n._next=e,null===this._linkedRecords&&(this._linkedRecords=new qv),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const n=e._prev,r=e._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new qv),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class F1{constructor(e,n){this.item=e,this.trackById=n,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 x1{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){const n=e._prevDup,r=e._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class qv{constructor(){this.map=new Map}put(e){const n=e.trackById;let r=this.map.get(n);r||(r=new x1,this.map.set(n,r)),r.add(e)}get(e,n){const i=this.map.get(e);return i?i.get(e,n):null}remove(e){const n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function zv(t,e,n){const r=t.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+e+i}class Wv{constructor(){}supports(e){return e instanceof Map||dc(e)}create(){return new P1}}class P1{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(e){let n;for(n=this._mapHead;null!==n;n=n._next)e(n)}forEachPreviousItem(e){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)e(n)}forEachChangedItem(e){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)e(n)}forEachAddedItem(e){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)e(n)}forEachRemovedItem(e){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)e(n)}diff(e){if(e){if(!(e instanceof Map||dc(e)))throw new Z(900,"")}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(e,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;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(e,n){if(e){const r=e._prev;return n._next=e,n._prev=r,e._prev=n,r&&(r._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){const i=this._records.get(e);this._maybeAddToChanges(i,n);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 R1(e);return this._records.set(e,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(r=>n(e[r],r))}}class R1{constructor(e){this.key=e,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 Qv(){return new Ns([new Gv])}let Ns=(()=>{class t{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||Qv()),deps:[[t,new qr,new rn]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Z(901,"")}}return t.\u0275prov=q({token:t,providedIn:"root",factory:Qv}),t})();function Kv(){return new Ci([new Wv])}let Ci=(()=>{class t{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||Kv()),deps:[[t,new qr,new rn]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(r)return r;throw new Z(901,"")}}return t.\u0275prov=q({token:t,providedIn:"root",factory:Kv}),t})();const O1=[new Wv],L1=new Ns([new Gv]),V1=new Ci(O1),B1=Rv(null,"core",[{provide:Kc,useValue:"unknown"},{provide:kv,deps:[qe]},{provide:Fv,deps:[]},{provide:Mv,deps:[]}]),G1=[{provide:Is,useClass:Is,deps:[we,qe,Qr,mi,Di]},{provide:tI,deps:[we],useFactory:function q1(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(n){e.push(n)}}},{provide:Di,useClass:Di,deps:[[new rn,ca]]},{provide:da,useClass:da,deps:[]},i1,{provide:Ns,useFactory:function j1(){return L1},deps:[]},{provide:Ci,useFactory:function U1(){return V1},deps:[]},{provide:qn,useFactory:function H1(t){return t||function $1(){return"undefined"!=typeof $localize&&$localize.locale||ea}()},deps:[[new ns(qn),new rn,new qr]]},{provide:Tv,useValue:"USD"}];let z1=(()=>{class t{constructor(n){}}return t.\u0275fac=function(n){return new(n||t)(I(Is))},t.\u0275mod=Vt({type:t}),t.\u0275inj=wt({providers:G1}),t})(),ga=null;function fn(){return ga}const it=new G("DocumentToken");let gr=(()=>{class t{historyGo(n){throw new Error("Not implemented")}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=q({token:t,factory:function(){return function Z1(){return I(Zv)}()},providedIn:"platform"}),t})();const Y1=new G("Location Initialized");let Zv=(()=>{class t extends gr{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return fn().getBaseHref(this._doc)}onPopState(n){const r=fn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=fn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this.location.pathname=n}pushState(n,r,i){Yv()?this._history.pushState(n,r,i):this.location.hash=i}replaceState(n,r,i){Yv()?this._history.replaceState(n,r,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return t.\u0275fac=function(n){return new(n||t)(I(it))},t.\u0275prov=q({token:t,factory:function(){return function J1(){return new Zv(I(it))}()},providedIn:"platform"}),t})();function Yv(){return!!window.history.pushState}function od(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function Jv(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function Nn(t){return t&&"?"!==t[0]?"?"+t:t}let Ei=(()=>{class t{historyGo(n){throw new Error("Not implemented")}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=q({token:t,factory:function(){return function X1(t){const e=I(it).location;return new Xv(I(gr),e&&e.origin||"")}()},providedIn:"root"}),t})();const ad=new G("appBaseHref");let Xv=(()=>{class t extends Ei{constructor(n,r){if(super(),this._platformLocation=n,this._removeListenerFns=[],null==r&&(r=this._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=r}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return od(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Nn(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,s){const o=this.prepareExternalUrl(i+Nn(s));this._platformLocation.pushState(n,r,o)}replaceState(n,r,i,s){const o=this.prepareExternalUrl(i+Nn(s));this._platformLocation.replaceState(n,r,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,n)}}return t.\u0275fac=function(n){return new(n||t)(I(gr),I(ad,8))},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})(),eN=(()=>{class t extends Ei{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=od(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,i,s){let o=this.prepareExternalUrl(i+Nn(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(n,r,o)}replaceState(n,r,i,s){let o=this.prepareExternalUrl(i+Nn(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(n=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,n)}}return t.\u0275fac=function(n){return new(n||t)(I(gr),I(ad,8))},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})(),ld=(()=>{class t{constructor(n,r){this._subject=new Ce,this._urlChangeListeners=[],this._platformStrategy=n;const i=this._platformStrategy.getBaseHref();this._platformLocation=r,this._baseHref=Jv(e_(i)),this._platformStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}path(n=!1){return this.normalize(this._platformStrategy.path(n))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Nn(r))}normalize(n){return t.stripTrailingSlash(function nN(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,e_(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._platformStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nn(r)),i)}replaceState(n,r="",i=null){this._platformStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nn(r)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(n=0){var r,i;null===(i=(r=this._platformStrategy).historyGo)||void 0===i||i.call(r,n)}onUrlChange(n){this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}))}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r,complete:i})}}return t.normalizeQueryParams=Nn,t.joinWithSlash=od,t.stripTrailingSlash=Jv,t.\u0275fac=function(n){return new(n||t)(I(Ei),I(gr))},t.\u0275prov=q({token:t,factory:function(){return function tN(){return new ld(I(Ei),I(gr))}()},providedIn:"root"}),t})();function e_(t){return t.replace(/\/index.html$/,"")}var Me=(()=>((Me=Me||{})[Me.Zero=0]="Zero",Me[Me.One=1]="One",Me[Me.Two=2]="Two",Me[Me.Few=3]="Few",Me[Me.Many=4]="Many",Me[Me.Other=5]="Other",Me))();const uN=function gy(t){return function Je(t){const e=function qM(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=my(e);if(n)return n;const r=e.split("-")[0];if(n=my(r),n)return n;if("en"===r)return GM;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[S.PluralCase]};class Sa{}let VN=(()=>{class t extends Sa{constructor(n){super(),this.locale=n}getPluralCategory(n,r){switch(uN(r||this.locale)(n)){case Me.Zero:return"zero";case Me.One:return"one";case Me.Two:return"two";case Me.Few:return"few";case Me.Many:return"many";default:return"other"}}}return t.\u0275fac=function(n){return new(n||t)(I(qn))},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})(),vF=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=wt({providers:[{provide:Sa,useClass:VN}]}),t})();let EF=(()=>{class t{}return t.\u0275prov=q({token:t,providedIn:"root",factory:()=>new wF(I(it),window)}),t})();class wF{constructor(e,n){this.document=e,this.window=n,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const n=function bF(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const s=i.shadowRoot;if(s){const o=s.getElementById(e)||s.querySelector(`[name="${e}"]`);if(o)return o}i=r.nextNode()}}return null}(this.document,e);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=e)}}scrollToElement(e){const n=e.getBoundingClientRect(),r=n.left+this.window.pageXOffset,i=n.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(r-s[0],i-s[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=p_(this.window.history)||p_(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}function p_(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Cd extends class AF extends class K1{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function Q1(t){ga||(ga=t)}(new Cd)}onAndCancel(e,n,r){return e.addEventListener(n,r,!1),()=>{e.removeEventListener(n,r,!1)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return(n=n||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return"window"===n?window:"document"===n?e:"body"===n?e.body:null}getBaseHref(e){const n=function MF(){return Ps=Ps||document.querySelector("base"),Ps?Ps.getAttribute("href"):null}();return null==n?null:function TF(t){Aa=Aa||document.createElement("a"),Aa.setAttribute("href",t);const e=Aa.pathname;return"/"===e.charAt(0)?e:`/${e}`}(n)}resetBaseElement(){Ps=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return function BN(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const r=n.indexOf("="),[i,s]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(s)}return null}(document.cookie,e)}}let Aa,Ps=null;const g_=new G("TRANSITION_ID"),NF=[{provide:ca,useFactory:function IF(t,e,n){return()=>{n.get(Di).donePromise.then(()=>{const r=fn(),i=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let s=0;s<i.length;s++)r.remove(i[s])})}},deps:[g_,it,qe],multi:!0}];class Ed{static init(){!function p1(t){ed=t}(new Ed)}addToWindow(e){te.getAngularTestability=(r,i=!0)=>{const s=e.findTestabilityInTree(r,i);if(null==s)throw new Error("Could not find testability for element.");return s},te.getAllAngularTestabilities=()=>e.getAllTestabilities(),te.getAllAngularRootElements=()=>e.getAllRootElements(),te.frameworkStabilizers||(te.frameworkStabilizers=[]),te.frameworkStabilizers.push(r=>{const i=te.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(e,n,r){if(null==n)return null;const i=e.getTestability(n);return null!=i?i:r?fn().isShadowRoot(n)?this.findTestabilityInTree(e,n.host,!0):this.findTestabilityInTree(e,n.parentElement,!0):null}}let FF=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})();const Ma=new G("EventManagerPlugins");let Ta=(()=>{class t{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>i.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}addGlobalEventListener(n,r,i){return this._findPluginFor(r).addGlobalEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const i=this._plugins;for(let s=0;s<i.length;s++){const o=i[s];if(o.supports(n))return this._eventNameToPlugin.set(n,o),o}throw new Error(`No event manager plugin found for event ${n}`)}}return t.\u0275fac=function(n){return new(n||t)(I(Ma),I(we))},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})();class m_{constructor(e){this._doc=e}addGlobalEventListener(e,n,r){const i=fn().getGlobalEventTarget(this._doc,e);if(!i)throw new Error(`Unsupported event target ${i} for event ${n}`);return this.addEventListener(i,n,r)}}let y_=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})(),Rs=(()=>{class t extends y_{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,i){n.forEach(s=>{const o=this._doc.createElement("style");o.textContent=s,i.push(r.appendChild(o))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(v_),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(n,i,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(v_))}}return t.\u0275fac=function(n){return new(n||t)(I(it))},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})();function v_(t){fn().remove(t)}const wd={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/"},bd=/%COMP%/g;function Ia(t,e,n){for(let r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?Ia(t,i,n):(i=i.replace(bd,t),n.push(i))}return n}function C_(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Na=(()=>{class t{constructor(n,r,i){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new Sd(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case Lt.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new LF(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(n),i}case 1:case Lt.ShadowDom:return new VF(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const i=Ia(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(n){return new(n||t)(I(Ta),I(Rs),I(Ts))},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})();class Sd{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,n){return n?document.createElementNS(wd[n]||n,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,n){e.appendChild(n)}insertBefore(e,n,r){e&&e.insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r="string"==typeof e?document.querySelector(e):e;if(!r)throw new Error(`The selector "${e}" did not match any elements`);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,i){if(i){n=i+":"+n;const s=wd[i];s?e.setAttributeNS(s,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){const i=wd[r];i?e.removeAttributeNS(i,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,i){i&(dt.DashCase|dt.Important)?e.style.setProperty(n,r,i&dt.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&dt.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e[n]=r}setValue(e,n){e.nodeValue=n}listen(e,n,r){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,n,C_(r)):this.eventManager.addEventListener(e,n,C_(r))}}class LF extends Sd{constructor(e,n,r,i){super(e),this.component=r;const s=Ia(i+"-"+r.id,r.styles,[]);n.addStyles(s),this.contentAttr=function RF(t){return"_ngcontent-%COMP%".replace(bd,t)}(i+"-"+r.id),this.hostAttr=function OF(t){return"_nghost-%COMP%".replace(bd,t)}(i+"-"+r.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,n){const r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}}class VF extends Sd{constructor(e,n,r,i){super(e),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=Ia(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(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let BF=(()=>{class t extends m_{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}}return t.\u0275fac=function(n){return new(n||t)(I(it))},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})();const w_=["alt","control","meta","shift"],UF={"\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"},b_={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},HF={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let $F=(()=>{class t extends m_{constructor(n){super(n)}supports(n){return null!=t.parseEventName(n)}addEventListener(n,r,i){const s=t.parseEventName(r),o=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>fn().onAndCancel(n,s.domEventName,o))}static parseEventName(n){const r=n.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(r.pop());let o="";if(w_.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),o+=l+".")}),o+=s,0!=r.length||0===s.length)return null;const a={};return a.domEventName=i,a.fullKey=o,a}static getEventFullKey(n){let r="",i=function GF(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&b_.hasOwnProperty(e)&&(e=b_[e]))}return UF[e]||e}(n);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),w_.forEach(s=>{s!=i&&HF[s](n)&&(r+=s+".")}),r+=i,r}static eventCallback(n,r,i){return s=>{t.getEventFullKey(s)===n&&i.runGuarded(()=>r(s))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return t.\u0275fac=function(n){return new(n||t)(I(it))},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})();const QF=Rv(B1,"browser",[{provide:Kc,useValue:"browser"},{provide:Sv,useValue:function qF(){Cd.makeCurrent(),Ed.init()},multi:!0},{provide:it,useFactory:function WF(){return function Uw(t){Gl=t}(document),document},deps:[]}]),KF=[{provide:sc,useValue:"root"},{provide:Qr,useFactory:function zF(){return new Qr},deps:[]},{provide:Ma,useClass:BF,multi:!0,deps:[it,we,Kc]},{provide:Ma,useClass:$F,multi:!0,deps:[it]},{provide:Na,useClass:Na,deps:[Ta,Rs,Ts]},{provide:Es,useExisting:Na},{provide:y_,useExisting:Rs},{provide:Rs,useClass:Rs,deps:[it]},{provide:Xc,useClass:Xc,deps:[we]},{provide:Ta,useClass:Ta,deps:[Ma,we]},{provide:class SF{},useClass:FF,deps:[]}];let S_=(()=>{class t{constructor(n){if(n)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(n){return{ngModule:t,providers:[{provide:Ts,useValue:n.appId},{provide:g_,useExisting:Ts},NF]}}}return t.\u0275fac=function(n){return new(n||t)(I(t,12))},t.\u0275mod=Vt({type:t}),t.\u0275inj=wt({providers:KF,imports:[vF,z1]}),t})();"undefined"!=typeof window&&window;const{isArray:ox}=Array,{getPrototypeOf:ax,prototype:lx,keys:ux}=Object;const{isArray:dx}=Array;let vD=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=wt({}),t})(),fP=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=wt({imports:[[vD]]}),t})(),hP=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=wt({imports:[fP]}),t})();function $(...t){return Oe(t,Bi(t))}class Yt extends vn{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){const{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}}function pP(...t){const e=Bi(t),n=function hh(t){return ue(Ml(t))?t.pop():void 0}(t),{args:r,keys:i}=function T_(t){if(1===t.length){const e=t[0];if(ox(e))return{args:e,keys:null};if(function cx(t){return t&&"object"==typeof t&&ax(t)===lx}(e)){const n=ux(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}(t);if(0===r.length)return Oe([],e);const s=new pe(function gP(t,e,n=ir){return r=>{kD(e,()=>{const{length:i}=t,s=new Array(i);let o=i,a=i;for(let l=0;l<i;l++)kD(e,()=>{const u=Oe(t[l],e);let c=!1;u.subscribe(Pe(r,d=>{s[l]=d,c||(c=!0,a--),a||r.next(n(s.slice()))},()=>{--o||r.complete()}))},r)},r)}}(r,e,i?o=>function N_(t,e){return t.reduce((n,r,i)=>(n[r]=e[i],n),{})}(i,o):ir));return n?s.pipe(function I_(t){return ie(e=>function fx(t,e){return dx(e)?t(...e):t(e)}(t,e))}(n)):s}function kD(t,e,n){t?_n(n,t,e):e()}const ja=ki(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Zd(...t){return function mP(){return Vi(1)}()(Oe(t,Bi(t)))}function LD(t){return new pe(e=>{Xt(t()).subscribe(e)})}function VD(){return Be((t,e)=>{let n=null;t._refCount++;const r=Pe(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(n=null);const i=t._connection,s=n;n=null,i&&(!s||i===s)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}class yP extends pe{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Xf(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:e}=this;this._subject=this._connection=null,null==e||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Et;const n=this.getSubject();e.add(this.source.subscribe(Pe(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Et.EMPTY)}return e}refCount(){return VD()(this)}}function vr(t,e){return Be((n,r)=>{let i=null,s=0,o=!1;const a=()=>o&&!i&&r.complete();n.subscribe(Pe(r,l=>{null==i||i.unsubscribe();let u=0;const c=s++;Xt(t(l,c)).subscribe(i=Pe(r,d=>r.next(e?e(l,d,c,u++):d),()=>{i=null,a()}))},()=>{o=!0,a()}))})}function _P(t,e,n,r,i){return(s,o)=>{let a=n,l=e,u=0;s.subscribe(Pe(o,c=>{const d=u++;l=a?t(l,c,d):(a=!0,c),r&&o.next(l)},i&&(()=>{a&&o.next(l),o.complete()})))}}function BD(t,e){return Be(_P(t,e,arguments.length>=2,!0))}function bi(t,e){return Be((n,r)=>{let i=0;n.subscribe(Pe(r,s=>t.call(e,s,i++)&&r.next(s)))})}function Zn(t){return Be((e,n)=>{let s,r=null,i=!1;r=e.subscribe(Pe(n,void 0,void 0,o=>{s=Xt(t(o,Zn(t)(e))),r?(r.unsubscribe(),r=null,s.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,s.subscribe(n))})}function Bs(t,e){return ue(e)?Re(t,e,1):Re(t,1)}function Yd(t){return t<=0?()=>Dn:Be((e,n)=>{let r=[];e.subscribe(Pe(n,i=>{r.push(i),t<r.length&&r.shift()},()=>{for(const i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function jD(t=DP){return Be((e,n)=>{let r=!1;e.subscribe(Pe(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(t())))})}function DP(){return new ja}function UD(t){return Be((e,n)=>{let r=!1;e.subscribe(Pe(n,i=>{r=!0,n.next(i)},()=>{r||n.next(t),n.complete()}))})}function Si(t,e){const n=arguments.length>=2;return r=>r.pipe(t?bi((i,s)=>t(i,s,r)):ir,so(1),n?UD(e):jD(()=>new ja))}function pt(t,e,n){const r=ue(t)||e||n?{next:t,error:e,complete:n}:t;return r?Be((i,s)=>{var o;null===(o=r.subscribe)||void 0===o||o.call(r);let a=!0;i.subscribe(Pe(s,l=>{var u;null===(u=r.next)||void 0===u||u.call(r,l),s.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),s.complete()},l=>{var u;a=!1,null===(u=r.error)||void 0===u||u.call(r,l),s.error(l)},()=>{var l,u;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(u=r.finalize)||void 0===u||u.call(r)}))}):ir}class xn{constructor(e,n){this.id=e,this.url=n}}class Jd extends xn{constructor(e,n,r="imperative",i=null){super(e,n),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class js extends xn{constructor(e,n,r){super(e,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class HD extends xn{constructor(e,n,r){super(e,n),this.reason=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class wP extends xn{constructor(e,n,r){super(e,n),this.error=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class bP extends xn{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class SP extends xn{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class AP extends xn{constructor(e,n,r,i,s){super(e,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class MP extends xn{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class TP extends xn{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $D{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class GD{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class IP{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class NP{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class FP{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xP{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qD{constructor(e,n,r){this.routerEvent=e,this.position=n,this.anchor=r}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const W="primary";class PP{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const n=this.params[e];return Array.isArray(n)?n[0]:n}return null}getAll(e){if(this.has(e)){const n=this.params[e];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function Ai(t){return new PP(t)}const zD="ngNavigationCancelingError";function Xd(t){const e=Error("NavigationCancelingError: "+t);return e[zD]=!0,e}function OP(t,e,n){const r=n.path.split("/");if(r.length>t.length||"full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;const i={};for(let s=0;s<r.length;s++){const o=r[s],a=t[s];if(o.startsWith(":"))i[o.substring(1)]=a;else if(o!==a.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}function pn(t,e){const n=t?Object.keys(t):void 0,r=e?Object.keys(e):void 0;if(!n||!r||n.length!=r.length)return!1;let i;for(let s=0;s<n.length;s++)if(i=n[s],!WD(t[i],e[i]))return!1;return!0}function WD(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),r=[...e].sort();return n.every((i,s)=>r[s]===i)}return t===e}function QD(t){return Array.prototype.concat.apply([],t)}function KD(t){return t.length>0?t[t.length-1]:null}function je(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function gn(t){return vc(t)?t:ms(t)?Oe(Promise.resolve(t)):$(t)}const VP={exact:function JD(t,e,n){if(!Dr(t.segments,e.segments)||!Ua(t.segments,e.segments,n)||t.numberOfChildren!==e.numberOfChildren)return!1;for(const r in e.children)if(!t.children[r]||!JD(t.children[r],e.children[r],n))return!1;return!0},subset:XD},ZD={exact:function BP(t,e){return pn(t,e)},subset:function jP(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>WD(t[n],e[n]))},ignored:()=>!0};function YD(t,e,n){return VP[n.paths](t.root,e.root,n.matrixParams)&&ZD[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function XD(t,e,n){return eC(t,e,e.segments,n)}function eC(t,e,n,r){if(t.segments.length>n.length){const i=t.segments.slice(0,n.length);return!(!Dr(i,n)||e.hasChildren()||!Ua(i,n,r))}if(t.segments.length===n.length){if(!Dr(t.segments,n)||!Ua(t.segments,n,r))return!1;for(const i in e.children)if(!t.children[i]||!XD(t.children[i],e.children[i],r))return!1;return!0}{const i=n.slice(0,t.segments.length),s=n.slice(t.segments.length);return!!(Dr(t.segments,i)&&Ua(t.segments,i,r)&&t.children[W])&&eC(t.children[W],e,s,r)}}function Ua(t,e,n){return e.every((r,i)=>ZD[n](t[i].parameters,r.parameters))}class _r{constructor(e,n,r){this.root=e,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ai(this.queryParams)),this._queryParamMap}toString(){return $P.serialize(this)}}class K{constructor(e,n){this.segments=e,this.children=n,this.parent=null,je(n,(r,i)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ha(this)}}class Us{constructor(e,n){this.path=e,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=Ai(this.parameters)),this._parameterMap}toString(){return sC(this)}}function Dr(t,e){return t.length===e.length&&t.every((n,r)=>n.path===e[r].path)}class tC{}class nC{parse(e){const n=new JP(e);return new _r(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(e){const n=`/${Hs(e.root,!0)}`,r=function zP(t){const e=Object.keys(t).map(n=>{const r=t[n];return Array.isArray(r)?r.map(i=>`${$a(n)}=${$a(i)}`).join("&"):`${$a(n)}=${$a(r)}`}).filter(n=>!!n);return e.length?`?${e.join("&")}`:""}(e.queryParams);return`${n}${r}${"string"==typeof e.fragment?`#${function GP(t){return encodeURI(t)}(e.fragment)}`:""}`}}const $P=new nC;function Ha(t){return t.segments.map(e=>sC(e)).join("/")}function Hs(t,e){if(!t.hasChildren())return Ha(t);if(e){const n=t.children[W]?Hs(t.children[W],!1):"",r=[];return je(t.children,(i,s)=>{s!==W&&r.push(`${s}:${Hs(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function HP(t,e){let n=[];return je(t.children,(r,i)=>{i===W&&(n=n.concat(e(r,i)))}),je(t.children,(r,i)=>{i!==W&&(n=n.concat(e(r,i)))}),n}(t,(r,i)=>i===W?[Hs(t.children[W],!1)]:[`${i}:${Hs(r,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[W]?`${Ha(t)}/${n[0]}`:`${Ha(t)}/(${n.join("//")})`}}function rC(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $a(t){return rC(t).replace(/%3B/gi,";")}function ef(t){return rC(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ga(t){return decodeURIComponent(t)}function iC(t){return Ga(t.replace(/\+/g,"%20"))}function sC(t){return`${ef(t.path)}${function qP(t){return Object.keys(t).map(e=>`;${ef(e)}=${ef(t[e])}`).join("")}(t.parameters)}`}const WP=/^[^\/()?;=#]+/;function qa(t){const e=t.match(WP);return e?e[0]:""}const QP=/^[^=?&#]+/,ZP=/^[^&#]+/;class JP{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new K([],{}):new K([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(e.length>0||Object.keys(n).length>0)&&(r[W]=new K(e,n)),r}parseSegment(){const e=qa(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Us(Ga(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const n=qa(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const i=qa(this.remaining);i&&(r=i,this.capture(r))}e[Ga(n)]=Ga(r)}parseQueryParam(e){const n=function KP(t){const e=t.match(QP);return e?e[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=function YP(t){const e=t.match(ZP);return e?e[0]:""}(this.remaining);o&&(r=o,this.capture(r))}const i=iC(n),s=iC(r);if(e.hasOwnProperty(i)){let o=e[i];Array.isArray(o)||(o=[o],e[i]=o),o.push(s)}else e[i]=s}parseParens(e){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=qa(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let s;r.indexOf(":")>-1?(s=r.substr(0,r.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=W);const o=this.parseChildren();n[s]=1===Object.keys(o).length?o[W]:new K([],o),this.consumeOptional("//")}return n}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class oC{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const n=this.pathFromRoot(e);return n.length>1?n[n.length-2]:null}children(e){const n=tf(e,this._root);return n?n.children.map(r=>r.value):[]}firstChild(e){const n=tf(e,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(e){const n=nf(e,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return nf(e,this._root).map(n=>n.value)}}function tf(t,e){if(t===e.value)return e;for(const n of e.children){const r=tf(t,n);if(r)return r}return null}function nf(t,e){if(t===e.value)return[e];for(const n of e.children){const r=nf(t,n);if(r.length)return r.unshift(e),r}return[]}class Pn{constructor(e,n){this.value=e,this.children=n}toString(){return`TreeNode(${this.value})`}}function Mi(t){const e={};return t&&t.children.forEach(n=>e[n.value.outlet]=n),e}class aC extends oC{constructor(e,n){super(e),this.snapshot=n,rf(this,e)}toString(){return this.snapshot.toString()}}function lC(t,e){const n=function XP(t,e){const o=new za([],{},{},"",{},W,e,null,t.root,-1,{});return new cC("",new Pn(o,[]))}(t,e),r=new Yt([new Us("",{})]),i=new Yt({}),s=new Yt({}),o=new Yt({}),a=new Yt(""),l=new Ti(r,i,o,a,s,W,e,n.root);return l.snapshot=n.root,new aC(new Pn(l,[]),n)}class Ti{constructor(e,n,r,i,s,o,a,l){this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=a,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(ie(e=>Ai(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ie(e=>Ai(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function uC(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const i=n[r],s=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(s.component)break;r--}}return function eR(t){return t.reduce((e,n)=>({params:Object.assign(Object.assign({},e.params),n.params),data:Object.assign(Object.assign({},e.data),n.data),resolve:Object.assign(Object.assign({},e.resolve),n._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class za{constructor(e,n,r,i,s,o,a,l,u,c,d){this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=a,this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=c,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=Ai(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ai(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class cC extends oC{constructor(e,n){super(n),this.url=e,rf(this,n)}toString(){return dC(this._root)}}function rf(t,e){e.value._routerState=t,e.children.forEach(n=>rf(t,n))}function dC(t){const e=t.children.length>0?` { ${t.children.map(dC).join(", ")} } `:"";return`${t.value}${e}`}function sf(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,pn(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),pn(e.params,n.params)||t.params.next(n.params),function kP(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!pn(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),pn(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function of(t,e){const n=pn(t.params,e.params)&&function UP(t,e){return Dr(t,e)&&t.every((n,r)=>pn(n.parameters,e[r].parameters))}(t.url,e.url);return n&&!(!t.parent!=!e.parent)&&(!t.parent||of(t.parent,e.parent))}function $s(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=e.value;const i=function nR(t,e,n){return e.children.map(r=>{for(const i of n.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return $s(t,r,i);return $s(t,r)})}(t,e,n);return new Pn(r,i)}{if(t.shouldAttach(e.value)){const s=t.retrieve(e.value);if(null!==s){const o=s.route;return o.value._futureSnapshot=e.value,o.children=e.children.map(a=>$s(t,a)),o}}const r=function rR(t){return new Ti(new Yt(t.url),new Yt(t.params),new Yt(t.queryParams),new Yt(t.fragment),new Yt(t.data),t.outlet,t.component,t)}(e.value),i=e.children.map(s=>$s(t,s));return new Pn(r,i)}}function Wa(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Gs(t){return"object"==typeof t&&null!=t&&t.outlets}function af(t,e,n,r,i){let s={};return r&&je(r,(o,a)=>{s[a]=Array.isArray(o)?o.map(l=>`${l}`):`${o}`}),new _r(n.root===t?e:fC(n.root,t,e),s,i)}function fC(t,e,n){const r={};return je(t.children,(i,s)=>{r[s]=i===e?n:fC(i,e,n)}),new K(t.segments,r)}class hC{constructor(e,n,r){if(this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=r,e&&r.length>0&&Wa(r[0]))throw new Error("Root segment cannot have matrix parameters");const i=r.find(Gs);if(i&&i!==KD(r))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class lf{constructor(e,n,r){this.segmentGroup=e,this.processChildren=n,this.index=r}}function pC(t,e,n){if(t||(t=new K([],{})),0===t.segments.length&&t.hasChildren())return Qa(t,e,n);const r=function uR(t,e,n){let r=0,i=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=n.length)return s;const o=t.segments[i],a=n[r];if(Gs(a))break;const l=`${a}`,u=r<n.length-1?n[r+1]:null;if(i>0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!mC(l,u,o))return s;r+=2}else{if(!mC(l,{},o))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const s=new K(t.segments.slice(0,r.pathIndex),{});return s.children[W]=new K(t.segments.slice(r.pathIndex),t.children),Qa(s,0,i)}return r.match&&0===i.length?new K(t.segments,{}):r.match&&!t.hasChildren()?uf(t,e,n):r.match?Qa(t,0,i):uf(t,e,n)}function Qa(t,e,n){if(0===n.length)return new K(t.segments,{});{const r=function lR(t){return Gs(t[0])?t[0].outlets:{[W]:t}}(n),i={};return je(r,(s,o)=>{"string"==typeof s&&(s=[s]),null!==s&&(i[o]=pC(t.children[o],e,s))}),je(t.children,(s,o)=>{void 0===r[o]&&(i[o]=s)}),new K(t.segments,i)}}function uf(t,e,n){const r=t.segments.slice(0,e);let i=0;for(;i<n.length;){const s=n[i];if(Gs(s)){const l=cR(s.outlets);return new K(r,l)}if(0===i&&Wa(n[0])){r.push(new Us(t.segments[e].path,gC(n[0]))),i++;continue}const o=Gs(s)?s.outlets[W]:`${s}`,a=i<n.length-1?n[i+1]:null;o&&a&&Wa(a)?(r.push(new Us(o,gC(a))),i+=2):(r.push(new Us(o,{})),i++)}return new K(r,{})}function cR(t){const e={};return je(t,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(e[r]=uf(new K([],{}),0,n))}),e}function gC(t){const e={};return je(t,(n,r)=>e[r]=`${n}`),e}function mC(t,e,n){return t==n.path&&pn(e,n.parameters)}class fR{constructor(e,n,r,i){this.routeReuseStrategy=e,this.futureState=n,this.currState=r,this.forwardEvent=i}activate(e){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,e),sf(this.futureState.root),this.activateChildRoutes(n,r,e)}deactivateChildRoutes(e,n,r){const i=Mi(n);e.children.forEach(s=>{const o=s.value.outlet;this.deactivateRoutes(s,i[o],r),delete i[o]}),je(i,(s,o)=>{this.deactivateRouteAndItsChildren(s,r)})}deactivateRoutes(e,n,r){const i=e.value,s=n?n.value:null;if(i===s)if(i.component){const o=r.getContext(i.outlet);o&&this.deactivateChildRoutes(e,n,o.children)}else this.deactivateChildRoutes(e,n,r);else s&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(e,n){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,n):this.deactivateRouteAndOutlet(e,n)}detachAndStoreRouteSubtree(e,n){const r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,s=Mi(e);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(e.value.snapshot,{componentRef:o,route:e,contexts:a})}}deactivateRouteAndOutlet(e,n){const r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,s=Mi(e);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(e,n,r){const i=Mi(n);e.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],r),this.forwardEvent(new xP(s.value.snapshot))}),e.children.length&&this.forwardEvent(new NP(e.value.snapshot))}activateRoutes(e,n,r){const i=e.value,s=n?n.value:null;if(sf(i),i===s)if(i.component){const o=r.getOrCreateContext(i.outlet);this.activateChildRoutes(e,n,o.children)}else this.activateChildRoutes(e,n,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),sf(a.route.value),this.activateChildRoutes(e,null,o.children)}else{const a=function hR(t){for(let e=t.parent;e;e=e.parent){const n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(i.snapshot),l=a?a.module.componentFactoryResolver:null;o.attachRef=null,o.route=i,o.resolver=l,o.outlet&&o.outlet.activateWith(i,l),this.activateChildRoutes(e,null,o.children)}}else this.activateChildRoutes(e,null,r)}}class cf{constructor(e,n){this.routes=e,this.module=n}}function Yn(t){return"function"==typeof t}function Cr(t){return t instanceof _r}const qs=Symbol("INITIAL_VALUE");function zs(){return vr(t=>pP(t.map(e=>e.pipe(so(1),function vP(...t){const e=Bi(t);return Be((n,r)=>{(e?Zd(t,n,e):Zd(t,n)).subscribe(r)})}(qs)))).pipe(BD((e,n)=>{let r=!1;return n.reduce((i,s,o)=>i!==qs?i:(s===qs&&(r=!0),r||!1!==s&&o!==n.length-1&&!Cr(s)?i:s),e)},qs),bi(e=>e!==qs),ie(e=>Cr(e)?e:!0===e),so(1)))}class _R{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ws,this.attachRef=null}}class Ws{constructor(){this.contexts=new Map}onChildOutletCreated(e,n){const r=this.getOrCreateContext(e);r.outlet=n,this.contexts.set(e,r)}onChildOutletDestroyed(e){const n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new _R,this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}}let df=(()=>{class t{constructor(n,r,i,s,o){this.parentContexts=n,this.location=r,this.resolver=i,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new Ce,this.deactivateEvents=new Ce,this.attachEvents=new Ce,this.detachEvents=new Ce,this.name=s||W,n.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const n=this.parentContexts.getContext(this.name);n&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=n;const o=(r=r||this.resolver).resolveComponentFactory(n._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,l=new DR(n,a,this.location.injector);this.activated=this.location.createComponent(o,this.location.length,l),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(n){return new(n||t)(E(Ws),E(Wt),E(mi),function Ki(t){return function yb(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const s=n[i];if(qh(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(s===e)return n[i+1];i+=2}}}return null}(Ie(),t)}("name"),E(fa))},t.\u0275dir=R({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),t})();class DR{constructor(e,n,r){this.route=e,this.childContexts=n,this.parent=r}get(e,n){return e===Ti?this.route:e===Ws?this.childContexts:this.parent.get(e,n)}}let yC=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=Nr({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(n,r){1&n&&ae(0,"router-outlet")},directives:[df],encapsulation:2}),t})();function vC(t,e=""){for(let n=0;n<t.length;n++){const r=t[n];CR(r,ER(e,r))}}function CR(t,e){t.children&&vC(t.children,e)}function ER(t,e){return e?t||e.path?t&&!e.path?`${t}/`:!t&&e.path?e.path:`${t}/${e.path}`:"":t}function ff(t){const e=t.children&&t.children.map(ff),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==W&&(n.component=yC),n}function Pt(t){return t.outlet||W}function _C(t,e){const n=t.filter(r=>Pt(r)===e);return n.push(...t.filter(r=>Pt(r)!==e)),n}const DC={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Ka(t,e,n){var r;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},DC):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||OP)(n,t,e);if(!s)return Object.assign({},DC);const o={};je(s.posParams,(l,u)=>{o[u]=l.path});const a=s.consumed.length>0?Object.assign(Object.assign({},o),s.consumed[s.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:a,positionalParamSegments:null!==(r=s.posParams)&&void 0!==r?r:{}}}function Za(t,e,n,r,i="corrected"){if(n.length>0&&function SR(t,e,n){return n.some(r=>Ya(t,e,r)&&Pt(r)!==W)}(t,n,r)){const o=new K(e,function bR(t,e,n,r){const i={};i[W]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const s of n)if(""===s.path&&Pt(s)!==W){const o=new K([],{});o._sourceSegment=t,o._segmentIndexShift=e.length,i[Pt(s)]=o}return i}(t,e,r,new K(n,t.children)));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function AR(t,e,n){return n.some(r=>Ya(t,e,r))}(t,n,r)){const o=new K(t.segments,function wR(t,e,n,r,i,s){const o={};for(const a of r)if(Ya(t,n,a)&&!i[Pt(a)]){const l=new K([],{});l._sourceSegment=t,l._segmentIndexShift="legacy"===s?t.segments.length:e.length,o[Pt(a)]=l}return Object.assign(Object.assign({},i),o)}(t,e,n,r,t.children,i));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:n}}const s=new K(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function Ya(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function CC(t,e,n,r){return!!(Pt(t)===r||r!==W&&Ya(e,n,t))&&("**"===t.path||Ka(e,t,n).matched)}function EC(t,e,n){return 0===e.length&&!t.children[n]}class Qs{constructor(e){this.segmentGroup=e||null}}class wC{constructor(e){this.urlTree=e}}function Ja(t){return new pe(e=>e.error(new Qs(t)))}function bC(t){return new pe(e=>e.error(new wC(t)))}function MR(t){return new pe(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class NR{constructor(e,n,r,i,s){this.configLoader=n,this.urlSerializer=r,this.urlTree=i,this.config=s,this.allowRedirects=!0,this.ngModule=e.get(Tn)}apply(){const e=Za(this.urlTree.root,[],[],this.config).segmentGroup,n=new K(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,n,W).pipe(ie(s=>this.createUrlTree(hf(s),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Zn(s=>{if(s instanceof wC)return this.allowRedirects=!1,this.match(s.urlTree);throw s instanceof Qs?this.noMatchError(s):s}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,W).pipe(ie(i=>this.createUrlTree(hf(i),e.queryParams,e.fragment))).pipe(Zn(i=>{throw i instanceof Qs?this.noMatchError(i):i}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,n,r){const i=e.segments.length>0?new K([],{[W]:e}):e;return new _r(i,n,r)}expandSegmentGroup(e,n,r,i){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(e,n,r).pipe(ie(s=>new K([],s))):this.expandSegment(e,r,n,r.segments,i,!0)}expandChildren(e,n,r){const i=[];for(const s of Object.keys(r.children))"primary"===s?i.unshift(s):i.push(s);return Oe(i).pipe(Bs(s=>{const o=r.children[s],a=_C(n,s);return this.expandSegmentGroup(e,a,o,s).pipe(ie(l=>({segment:l,outlet:s})))}),BD((s,o)=>(s[o.outlet]=o.segment,s),{}),function CP(t,e){const n=arguments.length>=2;return r=>r.pipe(t?bi((i,s)=>t(i,s,r)):ir,Yd(1),n?UD(e):jD(()=>new ja))}())}expandSegment(e,n,r,i,s,o){return Oe(r).pipe(Bs(a=>this.expandSegmentAgainstRoute(e,n,r,a,i,s,o).pipe(Zn(u=>{if(u instanceof Qs)return $(null);throw u}))),Si(a=>!!a),Zn((a,l)=>{if(a instanceof ja||"EmptyError"===a.name){if(EC(n,i,s))return $(new K([],{}));throw new Qs(n)}throw a}))}expandSegmentAgainstRoute(e,n,r,i,s,o,a){return CC(i,n,s,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,n,i,s,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,n,r,i,s,o):Ja(n):Ja(n)}expandSegmentAgainstRouteUsingRedirect(e,n,r,i,s,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,r,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,n,r,i,s,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i){const s=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?bC(s):this.lineralizeSegments(r,s).pipe(Re(o=>{const a=new K(o,{});return this.expandSegment(e,a,n,o,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,n,r,i,s,o){const{matched:a,consumedSegments:l,lastChild:u,positionalParamSegments:c}=Ka(n,i,s);if(!a)return Ja(n);const d=this.applyRedirectCommands(l,i.redirectTo,c);return i.redirectTo.startsWith("/")?bC(d):this.lineralizeSegments(i,d).pipe(Re(f=>this.expandSegment(e,n,r,f.concat(s.slice(u)),o,!1)))}matchSegmentAgainstRoute(e,n,r,i,s){if("**"===r.path)return r.loadChildren?(r._loadedConfig?$(r._loadedConfig):this.configLoader.load(e.injector,r)).pipe(ie(f=>(r._loadedConfig=f,new K(i,{})))):$(new K(i,{}));const{matched:o,consumedSegments:a,lastChild:l}=Ka(n,r,i);if(!o)return Ja(n);const u=i.slice(l);return this.getChildConfig(e,r,i).pipe(Re(d=>{const f=d.module,h=d.routes,{segmentGroup:p,slicedSegments:g}=Za(n,a,u,h),y=new K(p.segments,p.children);if(0===g.length&&y.hasChildren())return this.expandChildren(f,h,y).pipe(ie(M=>new K(a,M)));if(0===h.length&&0===g.length)return $(new K(a,{}));const D=Pt(r)===s;return this.expandSegment(f,y,h,g,D?W:s,!0).pipe(ie(w=>new K(a.concat(w.segments),w.children)))}))}getChildConfig(e,n,r){return n.children?$(new cf(n.children,e)):n.loadChildren?void 0!==n._loadedConfig?$(n._loadedConfig):this.runCanLoadGuards(e.injector,n,r).pipe(Re(i=>i?this.configLoader.load(e.injector,n).pipe(ie(s=>(n._loadedConfig=s,s))):function TR(t){return new pe(e=>e.error(Xd(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(n))):$(new cf([],e))}runCanLoadGuards(e,n,r){const i=n.canLoad;return i&&0!==i.length?$(i.map(o=>{const a=e.get(o);let l;if(function gR(t){return t&&Yn(t.canLoad)}(a))l=a.canLoad(n,r);else{if(!Yn(a))throw new Error("Invalid CanLoad guard");l=a(n,r)}return gn(l)})).pipe(zs(),pt(o=>{if(!Cr(o))return;const a=Xd(`Redirecting to "${this.urlSerializer.serialize(o)}"`);throw a.url=o,a}),ie(o=>!0===o)):$(!0)}lineralizeSegments(e,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return $(r);if(i.numberOfChildren>1||!i.children[W])return MR(e.redirectTo);i=i.children[W]}}applyRedirectCommands(e,n,r){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),e,r)}applyRedirectCreatreUrlTree(e,n,r,i){const s=this.createSegmentGroup(e,n.root,r,i);return new _r(s,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(e,n){const r={};return je(e,(i,s)=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[s]=n[a]}else r[s]=i}),r}createSegmentGroup(e,n,r,i){const s=this.createSegments(e,n.segments,r,i);let o={};return je(n.children,(a,l)=>{o[l]=this.createSegmentGroup(e,a,r,i)}),new K(s,o)}createSegments(e,n,r,i){return n.map(s=>s.path.startsWith(":")?this.findPosParam(e,s,i):this.findOrReturn(s,r))}findPosParam(e,n,r){const i=r[n.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${e}'. Cannot find '${n.path}'.`);return i}findOrReturn(e,n){let r=0;for(const i of n){if(i.path===e.path)return n.splice(r),i;r++}return e}}function hf(t){const e={};for(const r of Object.keys(t.children)){const s=hf(t.children[r]);(s.segments.length>0||s.hasChildren())&&(e[r]=s)}return function FR(t){if(1===t.numberOfChildren&&t.children[W]){const e=t.children[W];return new K(t.segments.concat(e.segments),e.children)}return t}(new K(t.segments,e))}class SC{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Xa{constructor(e,n){this.component=e,this.route=n}}function PR(t,e,n){const r=t._root;return Ks(r,e?e._root:null,n,[r.value])}function el(t,e,n){const r=function OR(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function Ks(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=Mi(e);return t.children.forEach(o=>{(function kR(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const l=function LR(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Dr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Dr(t.url,e.url)||!pn(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!of(t,e)||!pn(t.queryParams,e.queryParams);default:return!of(t,e)}}(o,s,s.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new SC(r)):(s.data=o.data,s._resolvedData=o._resolvedData),Ks(t,e,s.component?a?a.children:null:n,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Xa(a.outlet.component,o))}else o&&Zs(e,a,i),i.canActivateChecks.push(new SC(r)),Ks(t,null,s.component?a?a.children:null:n,r,i)})(o,s[o.value.outlet],n,r.concat([o.value]),i),delete s[o.value.outlet]}),je(s,(o,a)=>Zs(o,n.getContext(a),i)),i}function Zs(t,e,n){const r=Mi(t),i=t.value;je(r,(s,o)=>{Zs(s,i.component?e?e.children.getContext(o):null:e,n)}),n.canDeactivateChecks.push(new Xa(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}class zR{}function AC(t){return new pe(e=>e.error(t))}class QR{constructor(e,n,r,i,s,o){this.rootComponentType=e,this.config=n,this.urlTree=r,this.url=i,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=o}recognize(){const e=Za(this.urlTree.root,[],[],this.config.filter(o=>void 0===o.redirectTo),this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,e,W);if(null===n)return null;const r=new za([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},W,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Pn(r,n),s=new cC(this.url,i);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(e){const n=e.value,r=uC(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(e,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(e,n):this.processSegment(e,n,n.segments,r)}processChildren(e,n){const r=[];for(const s of Object.keys(n.children)){const o=n.children[s],a=_C(e,s),l=this.processSegmentGroup(a,o,s);if(null===l)return null;r.push(...l)}const i=MC(r);return function KR(t){t.sort((e,n)=>e.value.outlet===W?-1:n.value.outlet===W?1:e.value.outlet.localeCompare(n.value.outlet))}(i),i}processSegment(e,n,r,i){for(const s of e){const o=this.processSegmentAgainstRoute(s,n,r,i);if(null!==o)return o}return EC(n,r,i)?[]:null}processSegmentAgainstRoute(e,n,r,i){if(e.redirectTo||!CC(e,n,r,i))return null;let s,o=[],a=[];if("**"===e.path){const h=r.length>0?KD(r).parameters:{};s=new za(r,h,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,NC(e),Pt(e),e.component,e,TC(n),IC(n)+r.length,FC(e))}else{const h=Ka(n,e,r);if(!h.matched)return null;o=h.consumedSegments,a=r.slice(h.lastChild),s=new za(o,h.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,NC(e),Pt(e),e.component,e,TC(n),IC(n)+o.length,FC(e))}const l=function ZR(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(e),{segmentGroup:u,slicedSegments:c}=Za(n,o,a,l.filter(h=>void 0===h.redirectTo),this.relativeLinkResolution);if(0===c.length&&u.hasChildren()){const h=this.processChildren(l,u);return null===h?null:[new Pn(s,h)]}if(0===l.length&&0===c.length)return[new Pn(s,[])];const d=Pt(e)===i,f=this.processSegment(l,u,c,d?W:i);return null===f?null:[new Pn(s,f)]}}function YR(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function MC(t){const e=[],n=new Set;for(const r of t){if(!YR(r)){e.push(r);continue}const i=e.find(s=>r.value.routeConfig===s.value.routeConfig);void 0!==i?(i.children.push(...r.children),n.add(i)):e.push(r)}for(const r of n){const i=MC(r.children);e.push(new Pn(r.value,i))}return e.filter(r=>!n.has(r))}function TC(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function IC(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function NC(t){return t.data||{}}function FC(t){return t.resolve||{}}function xC(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function pf(t){return vr(e=>{const n=t(e);return n?Oe(n).pipe(ie(()=>e)):$(e)})}class sO extends class iO{shouldDetach(e){return!1}store(e,n){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,n){return e.routeConfig===n.routeConfig}}{}const gf=new G("ROUTES");class PC{constructor(e,n,r,i){this.injector=e,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=i}load(e,n){if(n._loader$)return n._loader$;this.onLoadStartListener&&this.onLoadStartListener(n);const i=this.loadModuleFactory(n.loadChildren).pipe(ie(s=>{this.onLoadEndListener&&this.onLoadEndListener(n);const o=s.create(e);return new cf(QD(o.injector.get(gf,void 0,V.Self|V.Optional)).map(ff),o)}),Zn(s=>{throw n._loader$=void 0,s}));return n._loader$=new yP(i,()=>new vn).pipe(VD()),n._loader$}loadModuleFactory(e){return gn(e()).pipe(Re(n=>n instanceof zy?$(n):Oe(this.compiler.compileModuleAsync(n))))}}class aO{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}}function lO(t){throw t}function uO(t,e,n){return e.parse("/")}function RC(t,e){return $(null)}const cO={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},dO={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let gt=(()=>{class t{constructor(n,r,i,s,o,a,l){this.rootComponentType=n,this.urlSerializer=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 vn,this.errorHandler=lO,this.malformedUriErrorHandler=uO,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:RC,afterPreactivation:RC},this.urlHandlingStrategy=new aO,this.routeReuseStrategy=new sO,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(Tn),this.console=o.get(Mv);const d=o.get(we);this.isNgZoneEnabled=d instanceof we&&we.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function LP(){return new _r(new K([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new PC(o,a,f=>this.triggerEvent(new $D(f)),f=>this.triggerEvent(new GD(f))),this.routerState=lC(this.currentUrlTree,this.rootComponentType),this.transitions=new Yt({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(){var n;return null===(n=this.location.getState())||void 0===n?void 0:n.\u0275routerPageId}setupNavigations(n){const r=this.events;return n.pipe(bi(i=>0!==i.id),ie(i=>Object.assign(Object.assign({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),vr(i=>{let s=!1,o=!1;return $(i).pipe(pt(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),vr(a=>{const l=this.browserUrlTree.toString(),u=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||u)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return tl(a.source)&&(this.browserUrlTree=a.extractedUrl),$(a).pipe(vr(d=>{const f=this.transitions.getValue();return r.next(new Jd(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions.getValue()?Dn:Promise.resolve(d)}),function xR(t,e,n,r){return vr(i=>function IR(t,e,n,r,i){return new NR(t,e,n,r,i).apply()}(t,e,n,i.extractedUrl,r).pipe(ie(s=>Object.assign(Object.assign({},i),{urlAfterRedirects:s}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),pt(d=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:d.urlAfterRedirects})}),function JR(t,e,n,r,i){return Re(s=>function WR(t,e,n,r,i="emptyOnly",s="legacy"){try{const o=new QR(t,e,n,r,i,s).recognize();return null===o?AC(new zR):$(o)}catch(o){return AC(o)}}(t,e,s.urlAfterRedirects,n(s.urlAfterRedirects),r,i).pipe(ie(o=>Object.assign(Object.assign({},s),{targetSnapshot:o}))))}(this.rootComponentType,this.config,d=>this.serializeUrl(d),this.paramsInheritanceStrategy,this.relativeLinkResolution),pt(d=>{if("eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const h=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(h,d)}this.browserUrlTree=d.urlAfterRedirects}const f=new bP(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);r.next(f)}));if(u&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:h,source:p,restoredState:g,extras:y}=a,D=new Jd(f,this.serializeUrl(h),p,g);r.next(D);const m=lC(h,this.rootComponentType).snapshot;return $(Object.assign(Object.assign({},a),{targetSnapshot:m,urlAfterRedirects:h,extras:Object.assign(Object.assign({},y),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),Dn}),pf(a=>{const{targetSnapshot:l,id:u,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.beforePreactivation(l,{navigationId:u,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),pt(a=>{const l=new SP(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),ie(a=>Object.assign(Object.assign({},a),{guards:PR(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function VR(t,e){return Re(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=n;return 0===o.length&&0===s.length?$(Object.assign(Object.assign({},n),{guardsResult:!0})):function BR(t,e,n,r){return Oe(t).pipe(Re(i=>function qR(t,e,n,r,i){const s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return s&&0!==s.length?$(s.map(a=>{const l=el(a,e,i);let u;if(function vR(t){return t&&Yn(t.canDeactivate)}(l))u=gn(l.canDeactivate(t,e,n,r));else{if(!Yn(l))throw new Error("Invalid CanDeactivate guard");u=gn(l(t,e,n,r))}return u.pipe(Si())})).pipe(zs()):$(!0)}(i.component,i.route,n,e,r)),Si(i=>!0!==i,!0))}(o,r,i,t).pipe(Re(a=>a&&function pR(t){return"boolean"==typeof t}(a)?function jR(t,e,n,r){return Oe(e).pipe(Bs(i=>Zd(function HR(t,e){return null!==t&&e&&e(new IP(t)),$(!0)}(i.route.parent,r),function UR(t,e){return null!==t&&e&&e(new FP(t)),$(!0)}(i.route,r),function GR(t,e,n){const r=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(o=>function RR(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(o)).filter(o=>null!==o).map(o=>LD(()=>$(o.guards.map(l=>{const u=el(l,o.node,n);let c;if(function yR(t){return t&&Yn(t.canActivateChild)}(u))c=gn(u.canActivateChild(r,t));else{if(!Yn(u))throw new Error("Invalid CanActivateChild guard");c=gn(u(r,t))}return c.pipe(Si())})).pipe(zs())));return $(s).pipe(zs())}(t,i.path,n),function $R(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return $(!0);const i=r.map(s=>LD(()=>{const o=el(s,e,n);let a;if(function mR(t){return t&&Yn(t.canActivate)}(o))a=gn(o.canActivate(e,t));else{if(!Yn(o))throw new Error("Invalid CanActivate guard");a=gn(o(e,t))}return a.pipe(Si())}));return $(i).pipe(zs())}(t,i.route,n))),Si(i=>!0!==i,!0))}(r,s,t,e):$(a)),ie(a=>Object.assign(Object.assign({},n),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),pt(a=>{if(Cr(a.guardsResult)){const u=Xd(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw u.url=a.guardsResult,u}const l=new AP(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),bi(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),pf(a=>{if(a.guards.canActivateChecks.length)return $(a).pipe(pt(l=>{const u=new MP(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}),vr(l=>{let u=!1;return $(l).pipe(function XR(t,e){return Re(n=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return $(n);let s=0;return Oe(i).pipe(Bs(o=>function eO(t,e,n,r){return function tO(t,e,n,r){const i=xC(t);if(0===i.length)return $({});const s={};return Oe(i).pipe(Re(o=>function nO(t,e,n,r){const i=el(t,e,r);return gn(i.resolve?i.resolve(e,n):i(e,n))}(t[o],e,n,r).pipe(pt(a=>{s[o]=a}))),Yd(1),Re(()=>xC(s).length===i.length?$(s):Dn))}(t._resolve,t,e,r).pipe(ie(s=>(t._resolvedData=s,t.data=Object.assign(Object.assign({},t.data),uC(t,n).resolve),null)))}(o.route,r,t,e)),pt(()=>s++),Yd(1),Re(o=>s===i.length?$(n):Dn))})}(this.paramsInheritanceStrategy,this.ngModule.injector),pt({next:()=>u=!0,complete:()=>{u||(this.restoreHistory(l),this.cancelNavigationTransition(l,"At least one route resolver didn't emit any value."))}}))}),pt(l=>{const u=new TP(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}))}),pf(a=>{const{targetSnapshot:l,id:u,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.afterPreactivation(l,{navigationId:u,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),ie(a=>{const l=function tR(t,e,n){const r=$s(t,e._root,n?n._root:void 0);return new aC(r,e)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:l})}),pt(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)}),((t,e,n)=>ie(r=>(new fR(e,r.targetRouterState,r.currentRouterState,n).activate(t),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),pt({next(){s=!0},complete(){s=!0}}),function EP(t){return Be((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}(()=>{var a;s||o||this.cancelNavigationTransition(i,`Navigation ID ${i.id} is not equal to the current navigation id ${this.navigationId}`),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===i.id&&(this.currentNavigation=null)}),Zn(a=>{if(o=!0,function RP(t){return t&&t[zD]}(a)){const l=Cr(a.url);l||(this.navigated=!0,this.restoreHistory(i,!0));const u=new HD(i.id,this.serializeUrl(i.extractedUrl),a.message);r.next(u),l?setTimeout(()=>{const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),d={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||tl(i.source)};this.scheduleNavigation(c,"imperative",null,d,{resolve:i.resolve,reject:i.reject,promise:i.promise})},0):i.resolve(!1)}else{this.restoreHistory(i,!0);const l=new wP(i.id,this.serializeUrl(i.extractedUrl),a);r.next(l);try{i.resolve(this.errorHandler(a))}catch(u){i.reject(u)}}return Dn}))}))}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}setTransition(n){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),n))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{var i;const s={replaceUrl:!0},o=(null===(i=n.state)||void 0===i?void 0:i.navigationId)?n.state:null;if(o){const l=Object.assign({},o);delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(s.state=l)}const a=this.parseUrl(n.url);this.scheduleNavigation(a,r,o,s)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){vC(n),this.config=n.map(ff),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(n,r={}){const{relativeTo:i,queryParams:s,fragment:o,queryParamsHandling:a,preserveFragment:l}=r,u=i||this.routerState.root,c=l?this.currentUrlTree.fragment:o;let d=null;switch(a){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}return null!==d&&(d=this.removeEmptyProps(d)),function iR(t,e,n,r,i){if(0===n.length)return af(e.root,e.root,e,r,i);const s=function sR(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new hC(!0,0,t);let e=0,n=!1;const r=t.reduce((i,s,o)=>{if("object"==typeof s&&null!=s){if(s.outlets){const a={};return je(s.outlets,(l,u)=>{a[u]="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?n=!0:".."===a?e++:""!=a&&i.push(a))}),i):[...i,s]},[]);return new hC(n,e,r)}(n);if(s.toRoot())return af(e.root,new K([],{}),e,r,i);const o=function oR(t,e,n){if(t.isAbsolute)return new lf(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const s=n.snapshot._urlSegment;return new lf(s,s===e.root,0)}const r=Wa(t.commands[0])?0:1;return function aR(t,e,n){let r=t,i=e,s=n;for(;s>i;){if(s-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new lf(r,!1,i-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(s,e,t),a=o.processChildren?Qa(o.segmentGroup,o.index,s.commands):pC(o.segmentGroup,o.index,s.commands);return af(o.segmentGroup,a,e,r,i)}(u,this.currentUrlTree,n,d,null!=c?c:null)}navigateByUrl(n,r={skipLocationChange:!1}){const i=Cr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,r)}navigate(n,r={skipLocationChange:!1}){return function fO(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){let r;try{r=this.urlSerializer.parse(n)}catch(i){r=this.malformedUriErrorHandler(i,this.urlSerializer,n)}return r}isActive(n,r){let i;if(i=!0===r?Object.assign({},cO):!1===r?Object.assign({},dO):r,Cr(n))return YD(this.currentUrlTree,n,i);const s=this.parseUrl(n);return YD(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.keys(n).reduce((r,i)=>{const s=n[i];return null!=s&&(r[i]=s),r},{})}processNavigations(){this.navigations.subscribe(n=>{this.navigated=!0,this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId,this.events.next(new js(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,n.resolve(!0)},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}scheduleNavigation(n,r,i,s,o){var a,l,u;if(this.disposed)return Promise.resolve(!1);const c=this.transitions.value,d=tl(r)&&c&&!tl(c.source),f=c.rawUrl.toString()===n.toString(),h=c.id===(null===(a=this.currentNavigation)||void 0===a?void 0:a.id);if(d&&f&&h)return Promise.resolve(!0);let g,y,D;o?(g=o.resolve,y=o.reject,D=o.promise):D=new Promise((M,B)=>{g=M,y=B});const m=++this.navigationId;let w;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(i=this.location.getState()),w=i&&i.\u0275routerPageId?i.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(l=this.browserPageId)&&void 0!==l?l:0:(null!==(u=this.browserPageId)&&void 0!==u?u:0)+1):w=0,this.setTransition({id:m,targetPageId:w,source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:s,resolve:g,reject:y,promise:D,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),D.catch(M=>Promise.reject(M))}setBrowserUrl(n,r){const i=this.urlSerializer.serialize(n),s=Object.assign(Object.assign({},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(n,r=!1){var i,s;if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)||0===o?this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===o&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(o)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(n,r){const i=new HD(n.id,this.serializeUrl(n.extractedUrl),r);this.triggerEvent(i),n.resolve(!1)}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return t.\u0275fac=function(n){mc()},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})();function tl(t){return"imperative"!==t}class OC{}class kC{preload(e,n){return $(null)}}let LC=(()=>{class t{constructor(n,r,i,s){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=new PC(i,r,l=>n.triggerEvent(new $D(l)),l=>n.triggerEvent(new GD(l)))}setUpPreloading(){this.subscription=this.router.events.pipe(bi(n=>n instanceof js),Bs(()=>this.preload())).subscribe(()=>{})}preload(){const n=this.injector.get(Tn);return this.processRoutes(n,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const i=[];for(const s of r)if(s.loadChildren&&!s.canLoad&&s._loadedConfig){const o=s._loadedConfig;i.push(this.processRoutes(o.module,o.routes))}else s.loadChildren&&!s.canLoad?i.push(this.preloadConfig(n,s)):s.children&&i.push(this.processRoutes(n,s.children));return Oe(i).pipe(Vi(),ie(s=>{}))}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>(r._loadedConfig?$(r._loadedConfig):this.loader.load(n.injector,r)).pipe(Re(s=>(r._loadedConfig=s,this.processRoutes(s.module,s.routes)))))}}return t.\u0275fac=function(n){return new(n||t)(I(gt),I(da),I(qe),I(OC))},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})(),vf=(()=>{class t{constructor(n,r,i={}){this.router=n,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(n=>{n instanceof Jd?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof js&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof qD&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.router.triggerEvent(new qD(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(n){mc()},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})();const Er=new G("ROUTER_CONFIGURATION"),VC=new G("ROUTER_FORROOT_GUARD"),mO=[ld,{provide:tC,useClass:nC},{provide:gt,useFactory:function CO(t,e,n,r,i,s,o={},a,l){const u=new gt(null,t,e,n,r,i,QD(s));return a&&(u.urlHandlingStrategy=a),l&&(u.routeReuseStrategy=l),function EO(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy),t.canceledNavigationResolution&&(e.canceledNavigationResolution=t.canceledNavigationResolution)}(o,u),o.enableTracing&&u.events.subscribe(c=>{var d,f;null===(d=console.group)||void 0===d||d.call(console,`Router Event: ${c.constructor.name}`),console.log(c.toString()),console.log(c),null===(f=console.groupEnd)||void 0===f||f.call(console)}),u},deps:[tC,Ws,ld,qe,da,gf,Er,[class oO{},new rn],[class rO{},new rn]]},Ws,{provide:Ti,useFactory:function wO(t){return t.routerState.root},deps:[gt]},LC,kC,class gO{preload(e,n){return n().pipe(Zn(()=>$(null)))}},{provide:Er,useValue:{enableTracing:!1}}];function yO(){return new Pv("Router",gt)}let BC=(()=>{class t{constructor(n,r){}static forRoot(n,r){return{ngModule:t,providers:[mO,jC(n),{provide:VC,useFactory:DO,deps:[[gt,new rn,new qr]]},{provide:Er,useValue:r||{}},{provide:Ei,useFactory:_O,deps:[gr,[new ns(ad),new rn],Er]},{provide:vf,useFactory:vO,deps:[gt,EF,Er]},{provide:OC,useExisting:r&&r.preloadingStrategy?r.preloadingStrategy:kC},{provide:Pv,multi:!0,useFactory:yO},[_f,{provide:ca,multi:!0,useFactory:bO,deps:[_f]},{provide:UC,useFactory:SO,deps:[_f]},{provide:Av,multi:!0,useExisting:UC}]]}}static forChild(n){return{ngModule:t,providers:[jC(n)]}}}return t.\u0275fac=function(n){return new(n||t)(I(VC,8),I(gt,8))},t.\u0275mod=Vt({type:t}),t.\u0275inj=wt({}),t})();function vO(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new vf(t,e,n)}function _O(t,e,n={}){return n.useHash?new eN(t,e):new Xv(t,e)}function DO(t){return"guarded"}function jC(t){return[{provide:Eb,multi:!0,useValue:t},{provide:gf,multi:!0,useValue:t}]}let _f=(()=>{class t{constructor(n){this.injector=n,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new vn}appInitializer(){return this.injector.get(Y1,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let r=null;const i=new Promise(a=>r=a),s=this.injector.get(gt),o=this.injector.get(Er);return"disabled"===o.initialNavigation?(s.setUpLocationChangeListener(),r(!0)):"enabled"===o.initialNavigation||"enabledBlocking"===o.initialNavigation?(s.hooks.afterPreactivation=()=>this.initNavigation?$(null):(this.initNavigation=!0,r(!0),this.resultOfPreactivationDone),s.initialNavigation()):r(!0),i})}bootstrapListener(n){const r=this.injector.get(Er),i=this.injector.get(LC),s=this.injector.get(vf),o=this.injector.get(gt),a=this.injector.get(Is);n===a.components[0]&&(("enabledNonBlocking"===r.initialNavigation||void 0===r.initialNavigation)&&o.initialNavigation(),i.setUpPreloading(),s.init(),o.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(n){return new(n||t)(I(qe))},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})();function bO(t){return t.appInitializer.bind(t)}function SO(t){return t.bootstrapListener.bind(t)}const UC=new G("Router Initializer");class HC{}const Rn="*";function $C(t,e){return{type:7,name:t,definitions:e,options:{}}}function nl(t,e=null){return{type:4,styles:e,timings:t}}function GC(t,e=null){return{type:2,steps:t,options:e}}function Ni(t){return{type:6,styles:t,offset:null}}function rl(t,e,n){return{type:0,name:t,styles:e,options:n}}function il(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function qC(t){Promise.resolve(null).then(t)}class Ys{constructor(e=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){qC(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const n="start"==e?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}class zC{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let n=0,r=0,i=0;const s=this.players.length;0==s?qC(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++n==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(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const n=e*this.totalTime;this.players.forEach(r=>{const i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){const e=this.players.reduce((n,r)=>null===n||r.totalTime>n.totalTime?r:n,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const n="start"==e?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}let TO=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=Nr({type:t,selectors:[["app-portfolio"]],decls:47,vars:0,consts:[[1,"content-title"],[1,"flex","flex-col","space-y-12","mt-8"],[1,"portfolio"],[1,"w-full","lg:w-1/3"],["src","assets/images/portfolio-unugiri.jpeg","alt","unugiri",1,"object-cover","shadow-lg","rounded-lg"],[1,"w-full","lg:w-2/3"],[1,"text-transparent","font-bold","text-xl","bg-gradient-to-r","from-lime-400","to-cyan-500","bg-clip-text"],[1,"text-white","font-light","text-base","text-left","mt-1"],["src","assets/images/portfolio-hrsystem.jpeg","alt","hr-system",1,"object-cover","shadow-lg","rounded-lg"],[1,"text-transparent","font-bold","text-xl","bg-gradient-to-r","from-pink-700","to-rose-100","bg-clip-text"],["src","assets/images/portfolio-oshigourmet.jpg","alt","Oshigourmet",1,"object-cover","shadow-lg","rounded-lg"],[1,"text-transparent","font-bold","text-xl","bg-orange-400","bg-clip-text"],["src","assets/images/portfolio-scandoc.jpeg","alt","Scandoc",1,"object-cover","shadow-lg","rounded-lg"],[1,"text-transparent","font-bold","text-xl","bg-yellow-400","bg-clip-text"],["href","https://scandoc.vercel.app/","target","_blank",1,"text-blue-400"]],template:function(n,r){1&n&&(v(0,"div",0),T(1,"Portfolio"),_(),v(2,"div",1),v(3,"div",2),v(4,"div",3),ae(5,"img",4),_(),v(6,"div",5),v(7,"div",6),T(8," Unugiri Bojonegoro "),_(),v(9,"div",7),T(10," Create university, faculty and department websites using Wordpress Multisite. Setup domain and hosting to support wildcard. and added some optimization to improve website performance. I choose Wordpress Multisite because it's easy to manage and the client can manage their own website. "),_(),_(),_(),v(11,"div",2),v(12,"div",3),ae(13,"img",8),_(),v(14,"div",5),v(15,"div",9),T(16," HR System "),_(),v(17,"div",7),T(18," HR System application with Live, Visit, Request Attendance and Broad notification to all employees features for PT. Iris International. Technologies used are Nestjs (Backend), MySQL (Database) and Flutter (Mobile)."),ae(19,"br"),ae(20,"br"),T(21," In this project I am responsible for the backend and frontend. I also added some security features such as JWT, Root device checker, and generate random question to validate user. Random questions are generated from user and family data such as date of birth, place of birth, and phone number. "),_(),_(),_(),v(22,"div",2),v(23,"div",3),ae(24,"img",10),_(),v(25,"div",5),v(26,"div",11),T(27," Oshigourmet "),_(),v(28,"div",7),T(29," Oshigourmet is a food review application. In this application, users can see food reviews from other users and can also add their own food reviews with video. This application is made using Flutter (Mobile) and Firebase. "),ae(30,"br"),ae(31,"br"),T(32," From this project i can learn how to use FFMPEG to compress video and upload it to Firebase Storage, and then we serve user video using video CDN service like a Mux. and i also learn about denormalization data in Firebase to improve performance. "),_(),_(),_(),v(33,"div",2),v(34,"div",3),ae(35,"img",12),_(),v(36,"div",5),v(37,"div",13),T(38," Scandoc "),_(),v(39,"div",7),T(40," Scandoc is a document scanning application without internet. In this application, users can scan documents and save them in PDF or PNG format. This application is made using NuxtJS and OpenCV-JS. I use OpenCV-JS to scan document and convert it to PDF or PNG format. User can still use this application without internet because i use PWA to cache all assets. "),ae(41,"br"),ae(42,"br"),T(43," i also learn how to use Canvas HTML to manipulate image. You can use this application "),v(44,"a",14),T(45,"here"),_(),T(46,". "),_(),_(),_(),_())},styles:[".portfolio[_ngcontent-%COMP%]{display:flex;flex-direction:column;row-gap:1rem}@media (min-width: 1024px){.portfolio[_ngcontent-%COMP%]{flex-direction:row}.portfolio[_ngcontent-%COMP%]{column-gap:2rem}.portfolio[_ngcontent-%COMP%]:nth-child(2n){flex-direction:row-reverse}}"]}),t})();const IO=[{path:"",component:(()=>{class t{constructor(){this.navbarShow=!1}ngOnInit(){}scrollTo(n){const r=this.getOffset(n);window.scroll(0,r.top)}getOffset(n){var r,i;const s=document.getElementById(n),o=null==s?void 0:s.getBoundingClientRect();return{left:null!==(r=null==o?void 0:o.left)&&void 0!==r?r:0+window.scrollX,top:null!==(i=null==o?void 0:o.top)&&void 0!==i?i:0+window.scrollY}}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=Nr({type:t,selectors:[["app-home"]],decls:147,vars:3,consts:[[1,"navbar","relative"],[1,"flex","flex-col","md:flex-row","max-w-6xl","w-full","justify-between","items-center"],[1,"flex","justify-between","items-center","w-full"],[1,"font-medium","text-xl"],[1,"block","md:hidden","w-8","h-8","relative"],[1,"absolute","inset-0",3,"click"],["version","1.1","id","Layer_1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","viewBox","0 0 50 50","enable-background","new 0 0 50 50",0,"xml","space","preserve",1,"w-full","h-full","fill-white"],["d","M8.667,15h30c0.552,0,1-0.447,1-1s-0.448-1-1-1h-30c-0.552,0-1,0.447-1,1S8.114,15,8.667,15z"],["d","M8.667,37h30c0.552,0,1-0.447,1-1s-0.448-1-1-1h-30c-0.552,0-1,0.447-1,1S8.114,37,8.667,37z"],["d","M8.667,26h30c0.552,0,1-0.447,1-1s-0.448-1-1-1h-30c-0.552,0-1,0.447-1,1S8.114,26,8.667,26z"],[1,"absolute","inset-0","p-2",3,"click"],["enable-background","new 0 0 26 26","version","1.1","viewBox","0 0 26 26",0,"xml","space","preserve","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",1,"w-full","h-full","fill-white"],["d","M14.0605469,13L24.7802734,2.2802734c0.2929688-0.2929688,0.2929688-0.7675781,0-1.0605469 s-0.7675781-0.2929688-1.0605469,0L13,11.9394531L2.2802734,1.2197266c-0.2929688-0.2929688-0.7675781-0.2929688-1.0605469,0 s-0.2929688,0.7675781,0,1.0605469L11.9394531,13L1.2197266,23.7197266c-0.2929688,0.2929688-0.2929688,0.7675781,0,1.0605469 C1.3662109,24.9267578,1.5576172,25,1.75,25s0.3837891-0.0732422,0.5302734-0.2197266L13,14.0605469l10.7197266,10.7197266 C23.8662109,24.9267578,24.0576172,25,24.25,25s0.3837891-0.0732422,0.5302734-0.2197266 c0.2929688-0.2929688,0.2929688-0.7675781,0-1.0605469L14.0605469,13z"],[1,"hidden","md:flex","space-x-8","font-medium","text-sm"],["href","#about",1,"block","whitespace-nowrap"],["href","#portfolio",1,"block","whitespace-nowrap"],["href","#contact",1,"block","whitespace-nowrap"],[1,"block","md:hidden","w-full","overflow-hidden"],[1,"mt-4","mb-2","space-y-4"],[1,"block",3,"click"],[1,"profile"],[1,"h-20"],[1,"w-48","h-48","rounded-full","overflow-hidden","shadow-xl","shadow-blue-500/50","relative","profile-animation"],["src","assets/images/profile.jpeg","alt","me",1,"object-cover","w-full","h-full"],[1,"block","mt-4","text-center"],[1,"text-2xl","font-bold"],[1,"flex","items-center","space-x-2","mx-auto","justify-center","mt-2"],["xmlns","http://www.w3.org/2000/svg","height","1em","viewBox","0 0 384 512",1,"text-white","fill-current"],["d","M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"],[1,"text-white"],[1,"max-w-6xl","mx-auto"],[1,"flex","flex-col","px-4","md:px-8","py-6","lg:py-12"],["id","about",1,"flex","flex-col","items-center","justify-center","pb-4"],[1,"content-title","mt-4"],[1,"text-white","text-center","font-normal","text-xl","drop-shadow-lg"],[1,"flex","flex-col","items-center","md:flex-row","mt-2","md:mt-8","pb-14"],[1,"flex","justify-center","w-48","md:w-1/2"],["src","assets/images/hello.png","alt","hello",1,"object-cover"],[1,"flex","flex-col","w-full","md:w-1/2","space-y-6","mt-4","md:mt-0"],[1,"card","shadow-lg","shadow-green-500"],[1,"text-white","font-bold","text-xl"],[1,"text-white/90","font-light"],[1,"card","shadow-lg","shadow-blue-700"],[1,"card","shadow-lg","shadow-blue-400"],[1,"card","shadow-lg","shadow-cyan-200"],[1,"relative","lg:py-12"],[1,"content-title"],[1,"grid","grid-cols-1","md:grid-cols-2","lg:grid-cols-4","gap-4","md:gap-8","mt-8","w-full","mx-auto","text-white"],[1,"text-white","font-bold","text-xl","mb-2"],["id","portfolio",1,"pb-8","pt-12","lg:py-12"],["id","contact",1,"mb-14"],[1,"content-title","!text-left"],[1,"flex","items-start","md:items-center","justify-start","space-x-0","md:space-x-8","mt-8"],["src","assets/images/sip.png","alt","sip",1,"hidden","md:block","w-72"],[1,"flex","flex-col","space-y-6"],["href","mailto:[email protected]","target","_blank","rel","noopener noreferrer",1,"bg-gradient-to-r","from-purple-500","to-pink-500","text-white","font-light","text-base","md:text-lg","flex","items-center","px-4","h-14","rounded-lg","shadow-lg"],[1,"w-8","mr-4"],["src","assets/svg/mail.svg","alt","mail"],["href","https://www.linkedin.com/in/singgih-putra-pratama-82a95318b/","target","_blank","rel","noopener noreferrer",1,"bg-[#007EBB]","text-white","font-light","text-base","md:text-lg","flex","items-center","px-4","h-14","rounded-lg","shadow-lg"],["src","assets/svg/linkedin.svg","alt","linkedin"],["href","https://github.com/do4mother","target","_blank","rel","noopener noreferrer",1,"bg-black","text-white","font-light","text-base","md:text-lg","flex","items-center","px-4","h-14","rounded-lg","shadow-lg"],["src","assets/svg/github.svg","alt","github"]],template:function(n,r){1&n&&(v(0,"div",0),v(1,"div",1),v(2,"div",2),v(3,"h1",3),T(4,"Singgih Putra Pratama"),_(),v(5,"div",4),v(6,"button",5),Le("click",function(){return r.navbarShow=!0}),Do(),v(7,"svg",6),ae(8,"path",7),ae(9,"path",8),ae(10,"path",9),_(),_(),Co(),v(11,"button",10),Le("click",function(){return r.navbarShow=!1}),Do(),v(12,"svg",11),ae(13,"path",12),_(),_(),_(),_(),Co(),v(14,"div",13),v(15,"a",14),T(16," About Me "),_(),v(17,"a",15),T(18," Portfolio "),_(),v(19,"a",16),T(20," Contact "),_(),_(),v(21,"div",17),v(22,"div",18),v(23,"button",19),Le("click",function(){return r.scrollTo("about")}),v(24,"h1"),T(25,"About Me"),_(),_(),v(26,"button",19),Le("click",function(){return r.scrollTo("portfolio")}),v(27,"h1"),T(28,"Portfolio"),_(),_(),v(29,"button",19),Le("click",function(){return r.scrollTo("contact")}),v(30,"h1"),T(31,"Contact"),_(),_(),_(),_(),_(),_(),v(32,"div",20),ae(33,"div",21),v(34,"div",22),ae(35,"img",23),_(),v(36,"div",24),v(37,"h1",25),T(38,"Full Stack Developer"),_(),v(39,"div",26),Do(),v(40,"svg",27),ae(41,"path",28),_(),Co(),v(42,"div",29),T(43,"Sidoarjo, Indonesia"),_(),_(),_(),_(),v(44,"div",30),v(45,"div",31),v(46,"div",32),v(47,"div",33),T(48,"Hi!"),_(),v(49,"div",34),T(50," let's get to know me "),_(),_(),v(51,"div",35),v(52,"div",36),ae(53,"img",37),_(),v(54,"div",38),v(55,"div",39),v(56,"div",40),T(57,"About Me"),_(),v(58,"div",41),T(59," I am a Full Stack Developer, I have been working in the field of software development for 3 years. I have experience in developing mobile applications and web applications both frontend and backend. "),_(),_(),v(60,"div",42),v(61,"div",40),T(62,"Education"),_(),v(63,"div",41),T(64,' Graduates of Informatics Engineering UPN "Veteran" Jawa Timur '),_(),_(),v(65,"div",43),v(66,"div",40),T(67,"Skill"),_(),v(68,"div",41),T(69," Have experience using programming languages such as Dart, Javascript, Python, and PHP. "),_(),_(),v(70,"div",44),v(71,"div",40),T(72,"Music & Games"),_(),v(73,"div",41),T(74," There is no better music than 90s rock, the genre of game I love the most is First-person shooter. "),_(),_(),_(),_(),v(75,"div",45),v(76,"div",46),T(77,"The framework and tools I use"),_(),v(78,"div",47),v(79,"div",39),v(80,"div",48),T(81,"Mobile Development"),_(),v(82,"div",41),v(83,"ul"),v(84,"li"),T(85,"Flutter"),_(),v(86,"li"),T(87," React Native "),_(),_(),_(),_(),v(88,"div",39),v(89,"div",48),T(90,"Web Development (Frontend)"),_(),v(91,"div",41),v(92,"ul"),v(93,"li"),T(94," ReactJS (NextJS) "),_(),v(95,"li"),T(96," VueJS (NuxtJS) "),_(),v(97,"li"),T(98," Qwik "),_(),_(),_(),_(),v(99,"div",39),v(100,"div",48),T(101,"Web Development (Backend)"),_(),v(102,"div",41),v(103,"ul"),v(104,"li"),T(105," NestJS "),_(),v(106,"li"),T(107," GraphQL "),_(),v(108,"li"),T(109," PassportJS "),_(),v(110,"li"),T(111," Prisma "),_(),v(112,"li"),T(113," Drizzle "),_(),_(),_(),_(),v(114,"div",39),v(115,"div",48),T(116,"BaaS"),_(),v(117,"div",41),v(118,"ul"),v(119,"li"),T(120," Firebase "),_(),v(121,"li"),T(122," Supabase "),_(),v(123,"li"),T(124," Appwrite "),_(),_(),_(),_(),_(),_(),ae(125,"app-portfolio",49),v(126,"div",50),v(127,"div",51),T(128,"Connect with me"),_(),v(129,"div",52),ae(130,"img",53),v(131,"div",54),v(132,"a",55),v(133,"div",56),ae(134,"img",57),_(),v(135,"span"),T(136,"[email protected]"),_(),_(),v(137,"a",58),v(138,"div",56),ae(139,"img",59),_(),v(140,"span"),T(141,"singgihputrap"),_(),_(),v(142,"a",60),v(143,"div",56),ae(144,"img",61),_(),v(145,"span"),T(146,"do4mother"),_(),_(),_(),_(),_(),_(),_()),2&n&&(Ho(6),gs("@openCloseMenu",r.navbarShow?"close":"open"),Ho(5),gs("@openCloseMenu",r.navbarShow?"open":"close"),Ho(10),gs("@showListMenu",r.navbarShow?"open":"close"))},directives:[TO],styles:[".profile[_ngcontent-%COMP%]{background-size:400% 400%;display:flex;width:100%;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem 1rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #159957;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(21 153 87 / 0));--tw-gradient-to: #155799;animation:bg-profile-anim 5s ease infinite alternate}@media (min-width: 768px){.profile[_ngcontent-%COMP%]{padding-top:2.5rem;padding-bottom:2.5rem}}.profile-animation[_ngcontent-%COMP%]{animation:profile-anim 1s ease infinite alternate}@keyframes profile-anim{0%{top:0}to{top:-1rem}}.bg-profile-anim[_ngcontent-%COMP%]{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #159957;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(21 153 87 / 0));--tw-gradient-to: #155799;animation:bg-profile-anim 5s ease infinite alternate}@keyframes bg-profile-anim{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.card[_ngcontent-%COMP%]{border-radius:.5rem;background-color:#33415580;padding:1rem 1.5rem}.anim-left-right[_ngcontent-%COMP%]{position:relative;animation:left-right 1s ease infinite alternate}@keyframes left-right{0%{left:-1rem}to{left:1rem}}.portfolio-detail[_ngcontent-%COMP%]{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#000c;padding:2rem}.bg-instagram[_ngcontent-%COMP%]{background:radial-gradient(circle farthest-corner at 35% 90%,#fec564,transparent 50%),radial-gradient(circle farthest-corner at 0 140%,#fec564,transparent 50%),radial-gradient(ellipse farthest-corner at 0 -25%,#5258cf,transparent 50%),radial-gradient(ellipse farthest-corner at 20% -50%,#5258cf,transparent 50%),radial-gradient(ellipse farthest-corner at 100% 0,#893dc2,transparent 50%),radial-gradient(ellipse farthest-corner at 60% -20%,#893dc2,transparent 50%),radial-gradient(ellipse farthest-corner at 100% 100%,#d9317a,transparent),linear-gradient(#6559ca,#bc318f 30%,#e33f5f 50%,#f77638 70%,#fec66d 100%)}"],data:{animation:[$C("openCloseMenu",[rl("open",Ni({opacity:1,visibility:"visible",transform:"rotate(0deg)"})),rl("close",Ni({opacity:0,visibility:"hidden",transform:"rotate(360deg)"})),il("open => close",[nl(".5s")]),il("close => open",[nl(".5s")])]),$C("showListMenu",[rl("open",Ni({height:"130px"})),rl("close",Ni({height:"0px"})),il("open => close",[nl(".4s")]),il("close => open",[nl(".4s")])])]}}),t})()}];let NO=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=wt({imports:[[BC.forRoot(IO)],BC]}),t})(),FO=(()=>{class t{constructor(){this.title="web-profile"}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=Nr({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(n,r){1&n&&ae(0,"router-outlet")},directives:[df],styles:[""]}),t})();function xO(){return"undefined"!=typeof window&&void 0!==window.document}function Cf(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Jn(t){switch(t.length){case 0:return new Ys;case 1:return t[0];default:return new zC(t)}}function WC(t,e,n,r,i={},s={}){const o=[],a=[];let l=-1,u=null;if(r.forEach(c=>{const d=c.offset,f=d==l,h=f&&u||{};Object.keys(c).forEach(p=>{let g=p,y=c[p];if("offset"!==p)switch(g=e.normalizePropertyName(g,o),y){case"!":y=i[p];break;case Rn:y=s[p];break;default:y=e.normalizeStyleValue(p,g,y,o)}h[g]=y}),f||a.push(h),u=h,l=d}),o.length){const c="\n - ";throw new Error(`Unable to animate due to the following errors:${c}${o.join(c)}`)}return a}function Ef(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&wf(n,"start",t)));break;case"done":t.onDone(()=>r(n&&wf(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&wf(n,"destroy",t)))}}function wf(t,e,n){const r=n.totalTime,s=bf(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),o=t._data;return null!=o&&(s._data=o),s}function bf(t,e,n,r,i="",s=0,o){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:s,disabled:!!o}}function mt(t,e,n){let r;return t instanceof Map?(r=t.get(e),r||t.set(e,r=n)):(r=t[e],r||(r=t[e]=n)),r}function QC(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let Sf=(t,e)=>!1,KC=(t,e,n)=>[];(Cf()||"undefined"!=typeof Element)&&(Sf=xO()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),KC=(t,e,n)=>{if(n)return Array.from(t.querySelectorAll(e));const r=t.querySelector(e);return r?[r]:[]});let wr=null,ZC=!1;function YC(t){wr||(wr=function RO(){return"undefined"!=typeof document?document.body:null}()||{},ZC=!!wr.style&&"WebkitAppearance"in wr.style);let e=!0;return wr.style&&!function PO(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in wr.style,!e&&ZC&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in wr.style)),e}const JC=Sf,XC=KC;let eE=(()=>{class t{validateStyleProperty(n){return YC(n)}matchesElement(n,r){return!1}containsElement(n,r){return JC(n,r)}query(n,r,i){return XC(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,s,o,a=[],l){return new Ys(i,s)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})(),Af=(()=>{class t{}return t.NOOP=new eE,t})();const Mf="ng-enter",sl="ng-leave",ol="ng-trigger",al=".ng-trigger",nE="ng-animating",Tf=".ng-animating";function br(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:If(parseFloat(e[1]),e[2])}function If(t,e){return"s"===e?1e3*t:t}function ll(t,e,n){return t.hasOwnProperty("duration")?t:function LO(t,e,n){let i,s=0,o="";if("string"==typeof t){const a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};i=If(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(s=If(parseFloat(l),a[4]));const u=a[5];u&&(o=u)}else i=t;if(!n){let a=!1,l=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),a=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),a=!0),a&&e.splice(l,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:s,easing:o}}(t,e,n)}function Fi(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function Xn(t,e,n={}){if(e)for(let r in t)n[r]=t[r];else Fi(t,n);return n}function iE(t,e,n){return n?e+":"+n+";":""}function sE(t){let e="";for(let n=0;n<t.style.length;n++){const r=t.style.item(n);e+=iE(0,r,t.style.getPropertyValue(r))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=iE(0,jO(n),t.style[n]));t.setAttribute("style",e)}function mn(t,e,n){t.style&&(Object.keys(e).forEach(r=>{const i=Ff(r);n&&!n.hasOwnProperty(r)&&(n[r]=t.style[i]),t.style[i]=e[r]}),Cf()&&sE(t))}function Sr(t,e){t.style&&(Object.keys(e).forEach(n=>{const r=Ff(n);t.style[r]=""}),Cf()&&sE(t))}function Js(t){return Array.isArray(t)?1==t.length?t[0]:GC(t):t}const Nf=new RegExp("{{\\s*(.+?)\\s*}}","g");function oE(t){let e=[];if("string"==typeof t){let n;for(;n=Nf.exec(t);)e.push(n[1]);Nf.lastIndex=0}return e}function ul(t,e,n){const r=t.toString(),i=r.replace(Nf,(s,o)=>{let a=e[o];return e.hasOwnProperty(o)||(n.push(`Please provide a value for the animation param ${o}`),a=""),a.toString()});return i==r?t:i}function cl(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const BO=/-+([a-z0-9])/g;function Ff(t){return t.replace(BO,(...e)=>e[1].toUpperCase())}function jO(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function yt(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error(`Unable to resolve animation metadata node #${e.type}`)}}function aE(t,e){return window.getComputedStyle(t)[e]}function $O(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(r=>function GO(t,e,n){if(":"==t[0]){const l=function qO(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r)<parseFloat(n);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof l)return void e.push(l);t=l}const r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const i=r[1],s=r[2],o=r[3];e.push(lE(i,o));"<"==s[0]&&!("*"==i&&"*"==o)&&e.push(lE(o,i))}(r,n,e)):n.push(t),n}const fl=new Set(["true","1"]),hl=new Set(["false","0"]);function lE(t,e){const n=fl.has(t)||hl.has(t),r=fl.has(e)||hl.has(e);return(i,s)=>{let o="*"==t||t==i,a="*"==e||e==s;return!o&&n&&"boolean"==typeof i&&(o=i?fl.has(t):hl.has(t)),!a&&r&&"boolean"==typeof s&&(a=s?fl.has(e):hl.has(e)),o&&a}}const zO=new RegExp("s*:selfs*,?","g");function xf(t,e,n){return new WO(t).build(e,n)}class WO{constructor(e){this._driver=e}build(e,n){const r=new ZO(n);return this._resetContextStyleTimingState(r),yt(this,Js(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,n){let r=n.queryCount=0,i=n.depCount=0;const s=[],o=[];return"@"==e.name.charAt(0)&&n.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),0==a.type){const l=a,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,s.push(this.visitState(l,n))}),l.name=u}else if(1==a.type){const l=this.visitTransition(a,n);r+=l.queryCount,i+=l.depCount,o.push(l)}else n.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:s,transitions:o,queryCount:r,depCount:i,options:null}}visitState(e,n){const r=this.visitStyle(e.styles,n),i=e.options&&e.options.params||null;if(r.containsDynamicStyles){const s=new Set,o=i||{};if(r.styles.forEach(a=>{if(pl(a)){const l=a;Object.keys(l).forEach(u=>{oE(l[u]).forEach(c=>{o.hasOwnProperty(c)||s.add(c)})})}}),s.size){const a=cl(s.values());n.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${a.join(", ")}`)}}return{type:0,name:e.name,style:r,options:i?{params:i}:null}}visitTransition(e,n){n.queryCount=0,n.depCount=0;const r=yt(this,Js(e.animation),n);return{type:1,matchers:$O(e.expr,n.errors),animation:r,queryCount:n.queryCount,depCount:n.depCount,options:Ar(e.options)}}visitSequence(e,n){return{type:2,steps:e.steps.map(r=>yt(this,r,n)),options:Ar(e.options)}}visitGroup(e,n){const r=n.currentTime;let i=0;const s=e.steps.map(o=>{n.currentTime=r;const a=yt(this,o,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:3,steps:s,options:Ar(e.options)}}visitAnimate(e,n){const r=function JO(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Pf(ll(t,e).duration,0,"");const r=t;if(r.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=Pf(0,0,"");return s.dynamic=!0,s.strValue=r,s}return n=n||ll(r,e),Pf(n.duration,n.delay,n.easing)}(e.timings,n.errors);n.currentAnimateTimings=r;let i,s=e.styles?e.styles:Ni({});if(5==s.type)i=this.visitKeyframes(s,n);else{let o=e.styles,a=!1;if(!o){a=!0;const u={};r.easing&&(u.easing=r.easing),o=Ni(u)}n.currentTime+=r.duration+r.delay;const l=this.visitStyle(o,n);l.isEmptyStep=a,i=l}return n.currentAnimateTimings=null,{type:4,timings:r,style:i,options:null}}visitStyle(e,n){const r=this._makeStyleAst(e,n);return this._validateStyleAst(r,n),r}_makeStyleAst(e,n){const r=[];Array.isArray(e.styles)?e.styles.forEach(o=>{"string"==typeof o?o==Rn?r.push(o):n.errors.push(`The provided style string value ${o} is not allowed.`):r.push(o)}):r.push(e.styles);let i=!1,s=null;return r.forEach(o=>{if(pl(o)){const a=o,l=a.easing;if(l&&(s=l,delete a.easing),!i)for(let u in a)if(a[u].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:r,easing:s,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,n){const r=n.currentAnimateTimings;let i=n.currentTime,s=n.currentTime;r&&s>0&&(s-=r.duration+r.delay),e.styles.forEach(o=>{"string"!=typeof o&&Object.keys(o).forEach(a=>{if(!this._driver.validateStyleProperty(a))return void n.errors.push(`The provided animation property "${a}" is not a supported CSS property for animations`);const l=n.collectedStyles[n.currentQuerySelector],u=l[a];let c=!0;u&&(s!=i&&s>=u.startTime&&i<=u.endTime&&(n.errors.push(`The CSS property "${a}" that exists between the times of "${u.startTime}ms" and "${u.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${i}ms"`),c=!1),s=u.startTime),c&&(l[a]={startTime:s,endTime:i}),n.options&&function VO(t,e,n){const r=e.params||{},i=oE(t);i.length&&i.forEach(s=>{r.hasOwnProperty(s)||n.push(`Unable to resolve the local animation param ${s} in the given list of values`)})}(o[a],n.options,n.errors)})})}visitKeyframes(e,n){const r={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push("keyframes() must be placed inside of a call to animate()"),r;let s=0;const o=[];let a=!1,l=!1,u=0;const c=e.steps.map(D=>{const m=this._makeStyleAst(D,n);let w=null!=m.offset?m.offset:function YO(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(n=>{if(pl(n)&&n.hasOwnProperty("offset")){const r=n;e=parseFloat(r.offset),delete r.offset}});else if(pl(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(m.styles),M=0;return null!=w&&(s++,M=m.offset=w),l=l||M<0||M>1,a=a||M<u,u=M,o.push(M),m});l&&n.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),a&&n.errors.push("Please ensure that all keyframe offsets are in order");const d=e.steps.length;let f=0;s>0&&s<d?n.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==s&&(f=1/(d-1));const h=d-1,p=n.currentTime,g=n.currentAnimateTimings,y=g.duration;return c.forEach((D,m)=>{const w=f>0?m==h?1:f*m:o[m],M=w*y;n.currentTime=p+g.delay+M,g.duration=M,this._validateStyleAst(D,n),D.offset=w,r.styles.push(D)}),r}visitReference(e,n){return{type:8,animation:yt(this,Js(e.animation),n),options:Ar(e.options)}}visitAnimateChild(e,n){return n.depCount++,{type:9,options:Ar(e.options)}}visitAnimateRef(e,n){return{type:10,animation:this.visitReference(e.animation,n),options:Ar(e.options)}}visitQuery(e,n){const r=n.currentQuerySelector,i=e.options||{};n.queryCount++,n.currentQuery=e;const[s,o]=function QO(t){const e=!!t.split(/\s*,\s*/).find(n=>":self"==n);return e&&(t=t.replace(zO,"")),t=t.replace(/@\*/g,al).replace(/@\w+/g,n=>al+"-"+n.substr(1)).replace(/:animating/g,Tf),[t,e]}(e.selector);n.currentQuerySelector=r.length?r+" "+s:s,mt(n.collectedStyles,n.currentQuerySelector,{});const a=yt(this,Js(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:11,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:Ar(e.options)}}visitStagger(e,n){n.currentQuery||n.errors.push("stagger() can only be used inside of query()");const r="full"===e.timings?{duration:0,delay:0,easing:"full"}:ll(e.timings,n.errors,!0);return{type:12,animation:yt(this,Js(e.animation),n),timings:r,options:null}}}class ZO{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function pl(t){return!Array.isArray(t)&&"object"==typeof t}function Ar(t){return t?(t=Fi(t)).params&&(t.params=function KO(t){return t?Fi(t):null}(t.params)):t={},t}function Pf(t,e,n){return{duration:t,delay:e,easing:n}}function Rf(t,e,n,r,i,s,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:s,totalTime:i+s,easing:o,subTimeline:a}}class gl{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,n){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...n)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const tk=new RegExp(":enter","g"),rk=new RegExp(":leave","g");function Of(t,e,n,r,i,s={},o={},a,l,u=[]){return(new ik).buildKeyframes(t,e,n,r,i,s,o,a,l,u)}class ik{buildKeyframes(e,n,r,i,s,o,a,l,u,c=[]){u=u||new gl;const d=new kf(e,n,u,i,s,c,[]);d.options=l,d.currentTimeline.setStyles([o],null,d.errors,l),yt(this,r,d);const f=d.timelines.filter(h=>h.containsAnimation());if(Object.keys(a).length){let h;for(let p=f.length-1;p>=0;p--){const g=f[p];if(g.element===n){h=g;break}}h&&!h.allowOnlyTimelineStyles()&&h.setStyles([a],null,d.errors,l)}return f.length?f.map(h=>h.buildKeyframes()):[Rf(n,[],[],[],0,0,"",!1)]}visitTrigger(e,n){}visitState(e,n){}visitTransition(e,n){}visitAnimateChild(e,n){const r=n.subInstructions.get(n.element);if(r){const i=n.createSubContext(e.options),s=n.currentTimeline.currentTime,o=this._visitSubInstructions(r,i,i.options);s!=o&&n.transformIntoNewTimeline(o)}n.previousNode=e}visitAnimateRef(e,n){const r=n.createSubContext(e.options);r.transformIntoNewTimeline(),this.visitReference(e.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=e}_visitSubInstructions(e,n,r){let s=n.currentTimeline.currentTime;const o=null!=r.duration?br(r.duration):null,a=null!=r.delay?br(r.delay):null;return 0!==o&&e.forEach(l=>{const u=n.appendInstructionToTimeline(l,o,a);s=Math.max(s,u.duration+u.delay)}),s}visitReference(e,n){n.updateOptions(e.options,!0),yt(this,e.animation,n),n.previousNode=e}visitSequence(e,n){const r=n.subContextCount;let i=n;const s=e.options;if(s&&(s.params||s.delay)&&(i=n.createSubContext(s),i.transformIntoNewTimeline(),null!=s.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ml);const o=br(s.delay);i.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>yt(this,o,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=e}visitGroup(e,n){const r=[];let i=n.currentTimeline.currentTime;const s=e.options&&e.options.delay?br(e.options.delay):0;e.steps.forEach(o=>{const a=n.createSubContext(e.options);s&&a.delayNextStep(s),yt(this,o,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(o=>n.currentTimeline.mergeTimelineCollectedStyles(o)),n.transformIntoNewTimeline(i),n.previousNode=e}_visitTiming(e,n){if(e.dynamic){const r=e.strValue;return ll(n.params?ul(r,n.params,n.errors):r,n.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,n){const r=n.currentAnimateTimings=this._visitTiming(e.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());const s=e.style;5==s.type?this.visitKeyframes(s,n):(n.incrementTime(r.duration),this.visitStyle(s,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}visitStyle(e,n){const r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.getCurrentStyleProperties().length&&r.forwardFrame();const s=i&&i.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(s):r.setStyles(e.styles,s,n.errors,n.options),n.previousNode=e}visitKeyframes(e,n){const r=n.currentAnimateTimings,i=n.currentTimeline.duration,s=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(l=>{a.forwardTime((l.offset||0)*s),a.setStyles(l.styles,l.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+s),n.previousNode=e}visitQuery(e,n){const r=n.currentTimeline.currentTime,i=e.options||{},s=i.delay?br(i.delay):0;s&&(6===n.previousNode.type||0==r&&n.currentTimeline.getCurrentStyleProperties().length)&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=ml);let o=r;const a=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let l=null;a.forEach((u,c)=>{n.currentQueryIndex=c;const d=n.createSubContext(e.options,u);s&&d.delayNextStep(s),u===n.element&&(l=d.currentTimeline),yt(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,d.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(o),l&&(n.currentTimeline.mergeTimelineCollectedStyles(l),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}visitStagger(e,n){const r=n.parentContext,i=n.currentTimeline,s=e.timings,o=Math.abs(s.duration),a=o*(n.currentQueryTotal-1);let l=o*n.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime}const c=n.currentTimeline;l&&c.delayNextStep(l);const d=c.currentTime;yt(this,e.animation,n),n.previousNode=e,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}}const ml={};class kf{constructor(e,n,r,i,s,o,a,l){this._driver=e,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ml,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new yl(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,n){if(!e)return;const r=e;let i=this.options;null!=r.duration&&(i.duration=br(r.duration)),null!=r.delay&&(i.delay=br(r.delay));const s=r.params;if(s){let o=i.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!n||!o.hasOwnProperty(a))&&(o[a]=ul(s[a],o,this.errors))})}}_copyOptions(){const e={};if(this.options){const n=this.options.params;if(n){const r=e.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return e}createSubContext(e=null,n,r){const i=n||this.element,s=new kf(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(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=ml,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,n,r){const i={duration:null!=n?n:e.duration,delay:this.currentTimeline.currentTime+(null!=r?r:0)+e.delay,easing:""},s=new sk(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(s),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,n,r,i,s,o){let a=[];if(i&&a.push(this.element),e.length>0){e=(e=e.replace(tk,"."+this._enterClassName)).replace(rk,"."+this._leaveClassName);let u=this._driver.query(this.element,e,1!=r);0!==r&&(u=r<0?u.slice(u.length+r,u.length):u.slice(0,r)),a.push(...u)}return!s&&0==a.length&&o.push(`\`query("${n}")\` returned zero elements. (Use \`query("${n}", { optional: true })\` if you wish to allow this.)`),a}}class yl{constructor(e,n,r,i){this._driver=e,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const n=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,n){return this.applyStylesToKeyframe(),new yl(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,n){this._localTimelineStyles[e]=n,this._globalTimelineStyles[e]=n,this._styleSummary[e]={time:this.currentTime,value:n}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(n=>{this._backFill[n]=this._globalTimelineStyles[n]||Rn,this._currentKeyframe[n]=Rn}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,n,r,i){n&&(this._previousKeyframe.easing=n);const s=i&&i.params||{},o=function ok(t,e){const n={};let r;return t.forEach(i=>{"*"===i?(r=r||Object.keys(e),r.forEach(s=>{n[s]=Rn})):Xn(i,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(o).forEach(a=>{const l=ul(o[a],s,r);this._pendingStyles[a]=l,this._localTimelineStyles.hasOwnProperty(a)||(this._backFill[a]=this._globalTimelineStyles.hasOwnProperty(a)?this._globalTimelineStyles[a]:Rn),this._updateStyle(a,l)})}applyStylesToKeyframe(){const e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(r=>{this._currentKeyframe[r]=e[r]}),Object.keys(this._localTimelineStyles).forEach(r=>{this._currentKeyframe.hasOwnProperty(r)||(this._currentKeyframe[r]=this._localTimelineStyles[r])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const n=this._localTimelineStyles[e];this._pendingStyles[e]=n,this._updateStyle(e,n)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let n in this._currentKeyframe)e.push(n);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(n=>{const r=this._styleSummary[n],i=e._styleSummary[n];(!r||i.time>r.time)&&this._updateStyle(n,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((a,l)=>{const u=Xn(a,!0);Object.keys(u).forEach(c=>{const d=u[c];"!"==d?e.add(c):d==Rn&&n.add(c)}),r||(u.offset=l/this.duration),i.push(u)});const s=e.size?cl(e.values()):[],o=n.size?cl(n.values()):[];if(r){const a=i[0],l=Fi(a);a.offset=0,l.offset=1,i=[a,l]}return Rf(this.element,i,s,o,this.duration,this.startTime,this.easing,!1)}}class sk extends yl{constructor(e,n,r,i,s,o,a=!1){super(e,n,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 e=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){const s=[],o=r+n,a=n/o,l=Xn(e[0],!1);l.offset=0,s.push(l);const u=Xn(e[0],!1);u.offset=dE(a),s.push(u);const c=e.length-1;for(let d=1;d<=c;d++){let f=Xn(e[d],!1);f.offset=dE((n+f.offset*r)/o),s.push(f)}r=o,n=0,i="",e=s}return Rf(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}function dE(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Lf{}class ak extends Lf{normalizePropertyName(e,n){return Ff(e)}normalizeStyleValue(e,n,r,i){let s="";const o=r.toString().trim();if(lk[n]&&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(`Please provide a CSS unit value for ${e}:${r}`)}return o+s}}const lk=(()=>function uk(t){const e={};return t.forEach(n=>e[n]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function fE(t,e,n,r,i,s,o,a,l,u,c,d,f){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:s,toState:r,toStyles:o,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:f}}const Vf={};class hE{constructor(e,n,r){this._triggerName=e,this.ast=n,this._stateStyles=r}match(e,n,r,i){return function ck(t,e,n,r,i){return t.some(s=>s(e,n,r,i))}(this.ast.matchers,e,n,r,i)}buildStyles(e,n,r){const i=this._stateStyles["*"],s=this._stateStyles[e],o=i?i.buildStyles(n,r):{};return s?s.buildStyles(n,r):o}build(e,n,r,i,s,o,a,l,u,c){const d=[],f=this.ast.options&&this.ast.options.params||Vf,p=this.buildStyles(r,a&&a.params||Vf,d),g=l&&l.params||Vf,y=this.buildStyles(i,g,d),D=new Set,m=new Map,w=new Map,M="void"===i,B={params:Object.assign(Object.assign({},f),g)},he=c?[]:Of(e,n,this.ast.animation,s,o,p,y,B,u,d);let me=0;if(he.forEach(_t=>{me=Math.max(_t.duration+_t.delay,me)}),d.length)return fE(n,this._triggerName,r,i,M,p,y,[],[],m,w,me,d);he.forEach(_t=>{const Dt=_t.element,Pi=mt(m,Dt,{});_t.preStyleProps.forEach(Jt=>Pi[Jt]=!0);const On=mt(w,Dt,{});_t.postStyleProps.forEach(Jt=>On[Jt]=!0),Dt!==n&&D.add(Dt)});const vt=cl(D.values());return fE(n,this._triggerName,r,i,M,p,y,he,vt,m,w,me)}}class dk{constructor(e,n,r){this.styles=e,this.defaultParams=n,this.normalizer=r}buildStyles(e,n){const r={},i=Fi(this.defaultParams);return Object.keys(e).forEach(s=>{const o=e[s];null!=o&&(i[s]=o)}),this.styles.styles.forEach(s=>{if("string"!=typeof s){const o=s;Object.keys(o).forEach(a=>{let l=o[a];l.length>1&&(l=ul(l,i,n));const u=this.normalizer.normalizePropertyName(a,n);l=this.normalizer.normalizeStyleValue(a,u,l,n),r[u]=l})}}),r}}class hk{constructor(e,n,r){this.name=e,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states={},n.states.forEach(i=>{this.states[i.name]=new dk(i.style,i.options&&i.options.params||{},r)}),pE(this.states,"true","1"),pE(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new hE(e,i,this.states))}),this.fallbackTransition=function pk(t,e,n){return new hE(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(o,a)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,n,r,i){return this.transitionFactories.find(o=>o.match(e,n,r,i))||null}matchStyles(e,n,r){return this.fallbackTransition.buildStyles(e,n,r)}}function pE(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const gk=new gl;class mk{constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r,this._animations={},this._playersById={},this.players=[]}register(e,n){const r=[],i=xf(this._driver,n,r);if(r.length)throw new Error(`Unable to build the animation due to the following errors: ${r.join("\n")}`);this._animations[e]=i}_buildPlayer(e,n,r){const i=e.element,s=WC(0,this._normalizer,0,e.keyframes,n,r);return this._driver.animate(i,s,e.duration,e.delay,e.easing,[],!0)}create(e,n,r={}){const i=[],s=this._animations[e];let o;const a=new Map;if(s?(o=Of(this._driver,n,s,Mf,sl,{},{},r,gk,i),o.forEach(c=>{const d=mt(a,c.element,{});c.postStyleProps.forEach(f=>d[f]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);a.forEach((c,d)=>{Object.keys(c).forEach(f=>{c[f]=this._driver.computeStyle(d,f,Rn)})});const u=Jn(o.map(c=>{const d=a.get(c.element);return this._buildPlayer(c,{},d)}));return this._playersById[e]=u,u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){const n=this._getPlayer(e);n.destroy(),delete this._playersById[e];const r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(e){const n=this._playersById[e];if(!n)throw new Error(`Unable to find the timeline player referenced by ${e}`);return n}listen(e,n,r,i){const s=bf(n,"","","");return Ef(this._getPlayer(e),r,s,i),()=>{}}command(e,n,r,i){if("register"==r)return void this.register(e,i[0]);if("create"==r)return void this.create(e,n,i[0]||{});const s=this._getPlayer(e);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(e)}}}const gE="ng-animate-queued",Bf="ng-animate-disabled",Ck=[],mE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ek={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Rt="__ng_removed";class jf{constructor(e,n=""){this.namespaceId=n;const r=e&&e.hasOwnProperty("value");if(this.value=function Ak(t){return null!=t?t:null}(r?e.value:e),r){const s=Fi(e);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const n=e.params;if(n){const r=this.options.params;Object.keys(n).forEach(i=>{null==r[i]&&(r[i]=n[i])})}}}const Xs="void",Uf=new jf(Xs);class wk{constructor(e,n,r){this.id=e,this.hostElement=n,this._engine=r,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Ot(n,this._hostClassName)}listen(e,n,r,i){if(!this._triggers.hasOwnProperty(n))throw new Error(`Unable to listen on the animation trigger event "${r}" because the animation trigger "${n}" doesn't exist!`);if(null==r||0==r.length)throw new Error(`Unable to listen on the animation trigger "${n}" because the provided event is undefined!`);if(!function Mk(t){return"start"==t||"done"==t}(r))throw new Error(`The provided animation trigger event "${r}" for the animation trigger "${n}" is not supported!`);const s=mt(this._elementListeners,e,[]),o={name:n,phase:r,callback:i};s.push(o);const a=mt(this._engine.statesByElement,e,{});return a.hasOwnProperty(n)||(Ot(e,ol),Ot(e,ol+"-"+n),a[n]=Uf),()=>{this._engine.afterFlush(()=>{const l=s.indexOf(o);l>=0&&s.splice(l,1),this._triggers[n]||delete a[n]})}}register(e,n){return!this._triggers[e]&&(this._triggers[e]=n,!0)}_getTrigger(e){const n=this._triggers[e];if(!n)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return n}trigger(e,n,r,i=!0){const s=this._getTrigger(n),o=new Hf(this.id,n,e);let a=this._engine.statesByElement.get(e);a||(Ot(e,ol),Ot(e,ol+"-"+n),this._engine.statesByElement.set(e,a={}));let l=a[n];const u=new jf(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),a[n]=u,l||(l=Uf),u.value!==Xs&&l.value===u.value){if(!function Nk(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const s=n[i];if(!e.hasOwnProperty(s)||t[s]!==e[s])return!1}return!0}(l.params,u.params)){const g=[],y=s.matchStyles(l.value,l.params,g),D=s.matchStyles(u.value,u.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{Sr(e,y),mn(e,D)})}return}const f=mt(this._engine.playersByElement,e,[]);f.forEach(g=>{g.namespaceId==this.id&&g.triggerName==n&&g.queued&&g.destroy()});let h=s.matchTransition(l.value,u.value,e,u.params),p=!1;if(!h){if(!i)return;h=s.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:h,fromState:l,toState:u,player:o,isFallbackTransition:p}),p||(Ot(e,gE),o.onStart(()=>{xi(e,gE)})),o.onDone(()=>{let g=this.players.indexOf(o);g>=0&&this.players.splice(g,1);const y=this._engine.playersByElement.get(e);if(y){let D=y.indexOf(o);D>=0&&y.splice(D,1)}}),this.players.push(o),f.push(o),o}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((n,r)=>{delete n[e]}),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const n=this._engine.playersByElement.get(e);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,n){const r=this._engine.driver.query(e,al,!0);r.forEach(i=>{if(i[Rt])return;const s=this._engine.fetchNamespacesByElement(i);s.size?s.forEach(o=>o.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,n,r,i){const s=this._engine.statesByElement.get(e),o=new Map;if(s){const a=[];if(Object.keys(s).forEach(l=>{if(o.set(l,s[l].value),this._triggers[l]){const u=this.trigger(e,l,Xs,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,n,o),r&&Jn(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const n=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(n&&r){const i=new Set;n.forEach(s=>{const o=s.name;if(i.has(o))return;i.add(o);const l=this._triggers[o].fallbackTransition,u=r[o]||Uf,c=new jf(Xs),d=new Hf(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:u,toState:c,player:d,isFallbackTransition:!0})})}}removeNode(e,n){const r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),this.triggerLeaveAnimation(e,n,!0))return;let i=!1;if(r.totalAnimations){const s=r.players.length?r.playersByQueriedElement.get(e):[];if(s&&s.length)i=!0;else{let o=e;for(;o=o.parentNode;)if(r.statesByElement.get(o)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,n);else{const s=e[Rt];(!s||s===mE)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,n))}}insertNode(e,n){Ot(e,this._hostClassName)}drainQueuedTransitions(e){const n=[];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=bf(s,r.triggerName,r.fromState.value,r.toState.value);l._data=e,Ef(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.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})}destroy(e){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let n=!1;return this._elementListeners.has(e)&&(n=!0),n=!!this._queue.find(r=>r.element===e)||n,n}}class bk{constructor(e,n,r){this.bodyNode=e,this.driver=n,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(e,n){this.onRemovalComplete(e,n)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,n){const r=new wk(e,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,n){const r=this._namespaceList.length-1;if(r>=0){let i=!1;for(let s=r;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,n)){this._namespaceList.splice(s+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(n,e),e}register(e,n){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,n)),r}registerTrigger(e,n,r){let i=this._namespaceLookup[e];i&&i.register(n,r)&&this.totalAnimations++}destroy(e,n){if(!e)return;const r=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(r.hostElement),delete this._namespaceLookup[e];const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1)}),this.afterFlushAnimationsDone(()=>r.destroy(n))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const n=new Set,r=this.statesByElement.get(e);if(r){const i=Object.keys(r);for(let s=0;s<i.length;s++){const o=r[i[s]].namespaceId;if(o){const a=this._fetchNamespace(o);a&&n.add(a)}}}return n}trigger(e,n,r,i){if(vl(n)){const s=this._fetchNamespace(e);if(s)return s.trigger(n,r,i),!0}return!1}insertNode(e,n,r,i){if(!vl(n))return;const s=n[Rt];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const o=this.collectedLeaveElements.indexOf(n);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){const o=this._fetchNamespace(e);o&&o.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,n){n?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ot(e,Bf)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),xi(e,Bf))}removeNode(e,n,r,i){if(vl(n)){const s=e?this._fetchNamespace(e):null;if(s?s.removeNode(n,i):this.markElementAsRemoved(e,n,!1,i),r){const o=this.namespacesByHostElement.get(n);o&&o.id!==e&&o.removeNode(n,i)}}else this._onRemovalComplete(n,i)}markElementAsRemoved(e,n,r,i,s){this.collectedLeaveElements.push(n),n[Rt]={namespaceId:e,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,n,r,i,s){return vl(n)?this._fetchNamespace(e).listen(n,r,i,s):()=>{}}_buildInstruction(e,n,r,i,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,i,e.fromState.options,e.toState.options,n,s)}destroyInnerAnimations(e){let n=this.driver.query(e,al,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,Tf,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){const n=this.playersByElement.get(e);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){const n=this.playersByQueriedElement.get(e);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Jn(this.players).onDone(()=>e());e()})}processLeaveNode(e){var n;const r=e[Rt];if(r&&r.setForRemoval){if(e[Rt]=mE,r.namespaceId){this.destroyInnerAnimations(e);const i=this._fetchNamespace(r.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,r.setForRemoval)}(null===(n=e.classList)||void 0===n?void 0:n.contains(Bf))&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let n=[];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++)Ot(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{n=this._flushAnimations(r,e)}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=[],n.length?Jn(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(e){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${e.join("\n")}`)}_flushAnimations(e,n){const r=new gl,i=[],s=new Map,o=[],a=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(A=>{c.add(A);const N=this.driver.query(A,".ng-animate-queued",!0);for(let x=0;x<N.length;x++)c.add(N[x])});const d=this.bodyNode,f=Array.from(this.statesByElement.keys()),h=_E(f,this.collectedEnterElements),p=new Map;let g=0;h.forEach((A,N)=>{const x=Mf+g++;p.set(N,x),A.forEach(J=>Ot(J,x))});const y=[],D=new Set,m=new Set;for(let A=0;A<this.collectedLeaveElements.length;A++){const N=this.collectedLeaveElements[A],x=N[Rt];x&&x.setForRemoval&&(y.push(N),D.add(N),x.hasAnimation?this.driver.query(N,".ng-star-inserted",!0).forEach(J=>D.add(J)):m.add(N))}const w=new Map,M=_E(f,Array.from(D));M.forEach((A,N)=>{const x=sl+g++;w.set(N,x),A.forEach(J=>Ot(J,x))}),e.push(()=>{h.forEach((A,N)=>{const x=p.get(N);A.forEach(J=>xi(J,x))}),M.forEach((A,N)=>{const x=w.get(N);A.forEach(J=>xi(J,x))}),y.forEach(A=>{this.processLeaveNode(A)})});const B=[],he=[];for(let A=this._namespaceList.length-1;A>=0;A--)this._namespaceList[A].drainQueuedTransitions(n).forEach(x=>{const J=x.player,Ve=x.element;if(B.push(J),this.collectedEnterElements.length){const tt=Ve[Rt];if(tt&&tt.setForMove){if(tt.previousTriggersValues&&tt.previousTriggersValues.has(x.triggerName)){const Mr=tt.previousTriggersValues.get(x.triggerName),tr=this.statesByElement.get(x.element);tr&&tr[x.triggerName]&&(tr[x.triggerName].value=Mr)}return void J.destroy()}}const yn=!d||!this.driver.containsElement(d,Ve),Ct=w.get(Ve),er=p.get(Ve),ye=this._buildInstruction(x,r,er,Ct,yn);if(ye.errors&&ye.errors.length)return void he.push(ye);if(yn)return J.onStart(()=>Sr(Ve,ye.fromStyles)),J.onDestroy(()=>mn(Ve,ye.toStyles)),void i.push(J);if(x.isFallbackTransition)return J.onStart(()=>Sr(Ve,ye.fromStyles)),J.onDestroy(()=>mn(Ve,ye.toStyles)),void i.push(J);const IE=[];ye.timelines.forEach(tt=>{tt.stretchStartingKeyframe=!0,this.disabledNodes.has(tt.element)||IE.push(tt)}),ye.timelines=IE,r.append(Ve,ye.timelines),o.push({instruction:ye,player:J,element:Ve}),ye.queriedElements.forEach(tt=>mt(a,tt,[]).push(J)),ye.preStyleProps.forEach((tt,Mr)=>{const tr=Object.keys(tt);if(tr.length){let Tr=l.get(Mr);Tr||l.set(Mr,Tr=new Set),tr.forEach(Gf=>Tr.add(Gf))}}),ye.postStyleProps.forEach((tt,Mr)=>{const tr=Object.keys(tt);let Tr=u.get(Mr);Tr||u.set(Mr,Tr=new Set),tr.forEach(Gf=>Tr.add(Gf))})});if(he.length){const A=[];he.forEach(N=>{A.push(`@${N.triggerName} has failed due to:\n`),N.errors.forEach(x=>A.push(`- ${x}\n`))}),B.forEach(N=>N.destroy()),this.reportError(A)}const me=new Map,vt=new Map;o.forEach(A=>{const N=A.element;r.has(N)&&(vt.set(N,N),this._beforeAnimationBuild(A.player.namespaceId,A.instruction,me))}),i.forEach(A=>{const N=A.element;this._getPreviousPlayers(N,!1,A.namespaceId,A.triggerName,null).forEach(J=>{mt(me,N,[]).push(J),J.destroy()})});const _t=y.filter(A=>CE(A,l,u)),Dt=new Map;vE(Dt,this.driver,m,u,Rn).forEach(A=>{CE(A,l,u)&&_t.push(A)});const On=new Map;h.forEach((A,N)=>{vE(On,this.driver,new Set(A),l,"!")}),_t.forEach(A=>{const N=Dt.get(A),x=On.get(A);Dt.set(A,Object.assign(Object.assign({},N),x))});const Jt=[],Ri=[],Oi={};o.forEach(A=>{const{element:N,player:x,instruction:J}=A;if(r.has(N)){if(c.has(N))return x.onDestroy(()=>mn(N,J.toStyles)),x.disabled=!0,x.overrideTotalTime(J.totalTime),void i.push(x);let Ve=Oi;if(vt.size>1){let Ct=N;const er=[];for(;Ct=Ct.parentNode;){const ye=vt.get(Ct);if(ye){Ve=ye;break}er.push(Ct)}er.forEach(ye=>vt.set(ye,Ve))}const yn=this._buildAnimation(x.namespaceId,J,me,s,On,Dt);if(x.setRealPlayer(yn),Ve===Oi)Jt.push(x);else{const Ct=this.playersByElement.get(Ve);Ct&&Ct.length&&(x.parentPlayer=Jn(Ct)),i.push(x)}}else Sr(N,J.fromStyles),x.onDestroy(()=>mn(N,J.toStyles)),Ri.push(x),c.has(N)&&i.push(x)}),Ri.forEach(A=>{const N=s.get(A.element);if(N&&N.length){const x=Jn(N);A.setRealPlayer(x)}}),i.forEach(A=>{A.parentPlayer?A.syncPlayerEvents(A.parentPlayer):A.destroy()});for(let A=0;A<y.length;A++){const N=y[A],x=N[Rt];if(xi(N,sl),x&&x.hasAnimation)continue;let J=[];if(a.size){let yn=a.get(N);yn&&yn.length&&J.push(...yn);let Ct=this.driver.query(N,Tf,!0);for(let er=0;er<Ct.length;er++){let ye=a.get(Ct[er]);ye&&ye.length&&J.push(...ye)}}const Ve=J.filter(yn=>!yn.destroyed);Ve.length?Tk(this,N,Ve):this.processLeaveNode(N)}return y.length=0,Jt.forEach(A=>{this.players.push(A),A.onDone(()=>{A.destroy();const N=this.players.indexOf(A);this.players.splice(N,1)}),A.play()}),Jt}elementContainsData(e,n){let r=!1;const i=n[Rt];return i&&i.setForRemoval&&(r=!0),this.playersByElement.has(n)&&(r=!0),this.playersByQueriedElement.has(n)&&(r=!0),this.statesByElement.has(n)&&(r=!0),this._fetchNamespace(e).elementContainsData(n)||r}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,n,r,i,s){let o=[];if(n){const a=this.playersByQueriedElement.get(e);a&&(o=a)}else{const a=this.playersByElement.get(e);if(a){const l=!s||s==Xs;a.forEach(u=>{u.queued||!l&&u.triggerName!=i||o.push(u)})}}return(r||i)&&(o=o.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),o}_beforeAnimationBuild(e,n,r){const s=n.element,o=n.isRemovalTransition?void 0:e,a=n.isRemovalTransition?void 0:n.triggerName;for(const l of n.timelines){const u=l.element,c=u!==s,d=mt(r,u,[]);this._getPreviousPlayers(u,c,o,a,n.toState).forEach(h=>{const p=h.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),h.destroy(),d.push(h)})}Sr(s,n.fromStyles)}_buildAnimation(e,n,r,i,s,o){const a=n.triggerName,l=n.element,u=[],c=new Set,d=new Set,f=n.timelines.map(p=>{const g=p.element;c.add(g);const y=g[Rt];if(y&&y.removedBeforeQueried)return new Ys(p.duration,p.delay);const D=g!==l,m=function Ik(t){const e=[];return DE(t,e),e}((r.get(g)||Ck).map(me=>me.getRealPlayer())).filter(me=>!!me.element&&me.element===g),w=s.get(g),M=o.get(g),B=WC(0,this._normalizer,0,p.keyframes,w,M),he=this._buildPlayer(p,B,m);if(p.subTimeline&&i&&d.add(g),D){const me=new Hf(e,a,g);me.setRealPlayer(he),u.push(me)}return he});u.forEach(p=>{mt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function Sk(t,e,n){let r;if(t instanceof Map){if(r=t.get(e),r){if(r.length){const i=r.indexOf(n);r.splice(i,1)}0==r.length&&t.delete(e)}}else if(r=t[e],r){if(r.length){const i=r.indexOf(n);r.splice(i,1)}0==r.length&&delete t[e]}return r}(this.playersByQueriedElement,p.element,p))}),c.forEach(p=>Ot(p,nE));const h=Jn(f);return h.onDestroy(()=>{c.forEach(p=>xi(p,nE)),mn(l,n.toStyles)}),d.forEach(p=>{mt(i,p,[]).push(h)}),h}_buildPlayer(e,n,r){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,r):new Ys(e.duration,e.delay)}}class Hf{constructor(e,n,r){this.namespaceId=e,this.triggerName=n,this.element=r,this._player=new Ys,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(n=>{this._queuedCallbacks[n].forEach(r=>Ef(e,n,void 0,r))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const n=this._player;n.triggerCallback&&e.onStart(()=>n.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,n){mt(this._queuedCallbacks,e,[]).push(n)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const n=this._player;n.triggerCallback&&n.triggerCallback(e)}}function vl(t){return t&&1===t.nodeType}function yE(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function vE(t,e,n,r,i){const s=[];n.forEach(l=>s.push(yE(l)));const o=[];r.forEach((l,u)=>{const c={};l.forEach(d=>{const f=c[d]=e.computeStyle(u,d,i);(!f||0==f.length)&&(u[Rt]=Ek,o.push(u))}),t.set(u,c)});let a=0;return n.forEach(l=>yE(l,s[a++])),o}function _E(t,e){const n=new Map;if(t.forEach(a=>n.set(a,[])),0==e.length)return n;const i=new Set(e),s=new Map;function o(a){if(!a)return 1;let l=s.get(a);if(l)return l;const u=a.parentNode;return l=n.has(u)?u:i.has(u)?1:o(u),s.set(a,l),l}return e.forEach(a=>{const l=o(a);1!==l&&n.get(l).push(a)}),n}function Ot(t,e){var n;null===(n=t.classList)||void 0===n||n.add(e)}function xi(t,e){var n;null===(n=t.classList)||void 0===n||n.remove(e)}function Tk(t,e,n){Jn(n).onDone(()=>t.processLeaveNode(e))}function DE(t,e){for(let n=0;n<t.length;n++){const r=t[n];r instanceof zC?DE(r.players,e):e.push(r)}}function CE(t,e,n){const r=n.get(t);if(!r)return!1;let i=e.get(t);return i?r.forEach(s=>i.add(s)):e.set(t,r),n.delete(t),!0}class _l{constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,s)=>{},this._transitionEngine=new bk(e,n,r),this._timelineEngine=new mk(e,n,r),this._transitionEngine.onRemovalComplete=(i,s)=>this.onRemovalComplete(i,s)}registerTrigger(e,n,r,i,s){const o=e+"-"+i;let a=this._triggerCache[o];if(!a){const l=[],u=xf(this._driver,s,l);if(l.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${l.join("\n - ")}`);a=function fk(t,e,n){return new hk(t,e,n)}(i,u,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(n,i,a)}register(e,n){this._transitionEngine.register(e,n)}destroy(e,n){this._transitionEngine.destroy(e,n)}onInsert(e,n,r,i){this._transitionEngine.insertNode(e,n,r,i)}onRemove(e,n,r,i){this._transitionEngine.removeNode(e,n,i||!1,r)}disableAnimations(e,n){this._transitionEngine.markElementAsDisabled(e,n)}process(e,n,r,i){if("@"==r.charAt(0)){const[s,o]=QC(r);this._timelineEngine.command(s,n,o,i)}else this._transitionEngine.trigger(e,n,r,i)}listen(e,n,r,i,s){if("@"==r.charAt(0)){const[o,a]=QC(r);return this._timelineEngine.listen(o,n,a,s)}return this._transitionEngine.listen(e,n,r,i,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let xk=(()=>{class t{constructor(n,r,i){this._element=n,this._startStyles=r,this._endStyles=i,this._state=0;let s=t.initialStylesByElement.get(n);s||t.initialStylesByElement.set(n,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&mn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(mn(this._element,this._initialStyles),this._endStyles&&(mn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Sr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Sr(this._element,this._endStyles),this._endStyles=null),mn(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function $f(t){let e=null;const n=Object.keys(t);for(let r=0;r<n.length;r++){const i=n[r];Pk(i)&&(e=e||{},e[i]=t[i])}return e}function Pk(t){return"display"===t||"position"===t}class EE{constructor(e,n,r,i){this.element=e,this.keyframes=n,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.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,n,r){return e.animate(n,r)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};if(this.hasStarted()){const n=this._finalKeyframe;Object.keys(n).forEach(r=>{"offset"!=r&&(e[r]=this._finished?n[r]:aE(this.element,r))})}this.currentSnapshot=e}triggerCallback(e){const n="start"==e?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}class Rk{validateStyleProperty(e){return YC(e)}matchesElement(e,n){return!1}containsElement(e,n){return JC(e,n)}query(e,n,r){return XC(e,n,r)}computeStyle(e,n,r){return window.getComputedStyle(e)[n]}animate(e,n,r,i,s,o=[]){const l={duration:r,delay:i,fill:0==i?"both":"forwards"};s&&(l.easing=s);const u={},c=o.filter(f=>f instanceof EE);(function UO(t,e){return 0===t||0===e})(r,i)&&c.forEach(f=>{let h=f.currentSnapshot;Object.keys(h).forEach(p=>u[p]=h[p])}),n=function HO(t,e,n){const r=Object.keys(n);if(r.length&&e.length){let s=e[0],o=[];if(r.forEach(a=>{s.hasOwnProperty(a)||o.push(a),s[a]=n[a]}),o.length)for(var i=1;i<e.length;i++){let a=e[i];o.forEach(function(l){a[l]=aE(t,l)})}}return e}(e,n=n.map(f=>Xn(f,!1)),u);const d=function Fk(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=$f(e[0]),e.length>1&&(r=$f(e[e.length-1]))):e&&(n=$f(e)),n||r?new xk(t,n,r):null}(e,n);return new EE(e,n,l,d)}}let Ok=(()=>{class t extends HC{constructor(n,r){super(),this._nextAnimationId=0,this._renderer=n.createRenderer(r.body,{id:"0",encapsulation:Lt.None,styles:[],data:{animation:[]}})}build(n){const r=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(n)?GC(n):n;return wE(this._renderer,null,r,"register",[i]),new kk(r,this._renderer)}}return t.\u0275fac=function(n){return new(n||t)(I(Es),I(it))},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})();class kk extends class MO{}{constructor(e,n){super(),this._id=e,this._renderer=n}create(e,n){return new Lk(this._id,e,n||{},this._renderer)}}class Lk{constructor(e,n,r,i){this.id=e,this.element=n,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}_listen(e,n){return this._renderer.listen(this.element,`@@${this.id}:${e}`,n)}_command(e,...n){return wE(this._renderer,this.element,this.id,e,n)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){var e,n;return null!==(n=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==n?n:0}}function wE(t,e,n,r,i){return t.setProperty(e,`@@${n}:${r}`,i)}const bE="@.disabled";let Vk=(()=>{class t{constructor(n,r,i){this.delegate=n,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=null==o?void 0:o.parentNode(s);a&&o.removeChild(a,s)}}createRenderer(n,r){const s=this.delegate.createRenderer(n,r);if(!(n&&r&&r.data&&r.data.animation)){let c=this._rendererCache.get(s);return c||(c=new SE("",s,this.engine),this._rendererCache.set(s,c)),c}const o=r.id,a=r.id+"-"+this._currentId;this._currentId++,this.engine.register(a,n);const l=c=>{Array.isArray(c)?c.forEach(l):this.engine.registerTrigger(o,a,n,c.name,c)};return r.data.animation.forEach(l),new Bk(this,a,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(n,r,i){n>=0&&n<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 t.\u0275fac=function(n){return new(n||t)(I(Es),I(_l),I(we))},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})();class SE{constructor(e,n,r){this.namespaceId=e,this.delegate=n,this.engine=r,this.destroyNode=this.delegate.destroyNode?i=>n.destroyNode(i):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,n){return this.delegate.createElement(e,n)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,n){this.delegate.appendChild(e,n),this.engine.onInsert(this.namespaceId,n,e,!1)}insertBefore(e,n,r,i=!0){this.delegate.insertBefore(e,n,r),this.engine.onInsert(this.namespaceId,n,e,i)}removeChild(e,n,r){this.engine.onRemove(this.namespaceId,n,this.delegate,r)}selectRootElement(e,n){return this.delegate.selectRootElement(e,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,n,r,i){this.delegate.setAttribute(e,n,r,i)}removeAttribute(e,n,r){this.delegate.removeAttribute(e,n,r)}addClass(e,n){this.delegate.addClass(e,n)}removeClass(e,n){this.delegate.removeClass(e,n)}setStyle(e,n,r,i){this.delegate.setStyle(e,n,r,i)}removeStyle(e,n,r){this.delegate.removeStyle(e,n,r)}setProperty(e,n,r){"@"==n.charAt(0)&&n==bE?this.disableAnimations(e,!!r):this.delegate.setProperty(e,n,r)}setValue(e,n){this.delegate.setValue(e,n)}listen(e,n,r){return this.delegate.listen(e,n,r)}disableAnimations(e,n){this.engine.disableAnimations(e,n)}}class Bk extends SE{constructor(e,n,r,i){super(n,r,i),this.factory=e,this.namespaceId=n}setProperty(e,n,r){"@"==n.charAt(0)?"."==n.charAt(1)&&n==bE?this.disableAnimations(e,r=void 0===r||!!r):this.engine.process(this.namespaceId,e,n.substr(1),r):this.delegate.setProperty(e,n,r)}listen(e,n,r){if("@"==n.charAt(0)){const i=function jk(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(e);let s=n.substr(1),o="";return"@"!=s.charAt(0)&&([s,o]=function Uk(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,i,s,o,a=>{this.factory.scheduleListenerCallback(a._data||-1,r,a)})}return this.delegate.listen(e,n,r)}}let Hk=(()=>{class t extends _l{constructor(n,r,i){super(n.body,r,i)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(n){return new(n||t)(I(it),I(Af),I(Lf))},t.\u0275prov=q({token:t,factory:t.\u0275fac}),t})();const AE=new G("AnimationModuleType"),ME=[{provide:HC,useClass:Ok},{provide:Lf,useFactory:function $k(){return new ak}},{provide:_l,useClass:Hk},{provide:Es,useFactory:function Gk(t,e,n){return new Vk(t,e,n)},deps:[Na,_l,we]}],TE=[{provide:Af,useFactory:()=>new Rk},{provide:AE,useValue:"BrowserAnimations"},...ME],qk=[{provide:Af,useClass:eE},{provide:AE,useValue:"NoopAnimations"},...ME];let zk=(()=>{class t{static withConfig(n){return{ngModule:t,providers:n.disableAnimations?qk:TE}}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=wt({providers:TE,imports:[S_]}),t})(),Wk=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=Vt({type:t,bootstrap:[FO]}),t.\u0275inj=wt({providers:[],imports:[[S_,NO,hP,zk]]}),t})();(function E1(){Bv=!1})(),QF().bootstrapModule(Wk).catch(t=>console.error(t))}},ue=>{ue(ue.s=345)}]);