-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathmain.4a0b4a203be19828.js
More file actions
1 lines (1 loc) · 495 KB
/
main.4a0b4a203be19828.js
File metadata and controls
1 lines (1 loc) · 495 KB
1
"use strict";(self.webpackChunkdevfest2023=self.webpackChunkdevfest2023||[]).push([[179],{647:()=>{function ve(t){return"function"==typeof t}function Na(t){const e=t(n=>{Error.call(n),n.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const Fc=Na(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((n,r)=>`${r+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function no(t,i){if(t){const e=t.indexOf(i);0<=e&&t.splice(e,1)}}class Qe{constructor(i){this.initialTeardown=i,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let i;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const o of e)o.remove(this);else e.remove(this);const{initialTeardown:n}=this;if(ve(n))try{n()}catch(o){i=o instanceof Fc?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{db(o)}catch(a){i=i??[],a instanceof Fc?i=[...i,...a.errors]:i.push(a)}}if(i)throw new Fc(i)}}add(i){var e;if(i&&i!==this)if(this.closed)db(i);else{if(i instanceof Qe){if(i.closed||i._hasParent(this))return;i._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(i)}}_hasParent(i){const{_parentage:e}=this;return e===i||Array.isArray(e)&&e.includes(i)}_addParent(i){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(i),e):e?[e,i]:i}_removeParent(i){const{_parentage:e}=this;e===i?this._parentage=null:Array.isArray(e)&&no(e,i)}remove(i){const{_finalizers:e}=this;e&&no(e,i),i instanceof Qe&&i._removeParent(this)}}Qe.EMPTY=(()=>{const t=new Qe;return t.closed=!0,t})();const cb=Qe.EMPTY;function lb(t){return t instanceof Qe||t&&"closed"in t&&ve(t.remove)&&ve(t.add)&&ve(t.unsubscribe)}function db(t){ve(t)?t():t.unsubscribe()}const _r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Pc={setTimeout(t,i,...e){const{delegate:n}=Pc;return n?.setTimeout?n.setTimeout(t,i,...e):setTimeout(t,i,...e)},clearTimeout(t){const{delegate:i}=Pc;return(i?.clearTimeout||clearTimeout)(t)},delegate:void 0};function ub(t){Pc.setTimeout(()=>{const{onUnhandledError:i}=_r;if(!i)throw t;i(t)})}function ah(){}const tA=sh("C",void 0,void 0);function sh(t,i,e){return{kind:t,value:i,error:e}}let br=null;function Nc(t){if(_r.useDeprecatedSynchronousErrorHandling){const i=!br;if(i&&(br={errorThrown:!1,error:null}),t(),i){const{errorThrown:e,error:n}=br;if(br=null,e)throw n}}else t()}class ch extends Qe{constructor(i){super(),this.isStopped=!1,i?(this.destination=i,lb(i)&&i.add(this)):this.destination=cA}static create(i,e,n){return new La(i,e,n)}next(i){this.isStopped?dh(function nA(t){return sh("N",t,void 0)}(i),this):this._next(i)}error(i){this.isStopped?dh(function iA(t){return sh("E",void 0,t)}(i),this):(this.isStopped=!0,this._error(i))}complete(){this.isStopped?dh(tA,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(i){this.destination.next(i)}_error(i){try{this.destination.error(i)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const oA=Function.prototype.bind;function lh(t,i){return oA.call(t,i)}class aA{constructor(i){this.partialObserver=i}next(i){const{partialObserver:e}=this;if(e.next)try{e.next(i)}catch(n){Lc(n)}}error(i){const{partialObserver:e}=this;if(e.error)try{e.error(i)}catch(n){Lc(n)}else Lc(i)}complete(){const{partialObserver:i}=this;if(i.complete)try{i.complete()}catch(e){Lc(e)}}}class La extends ch{constructor(i,e,n){let r;if(super(),ve(i)||!i)r={next:i??void 0,error:e??void 0,complete:n??void 0};else{let o;this&&_r.useDeprecatedNextContext?(o=Object.create(i),o.unsubscribe=()=>this.unsubscribe(),r={next:i.next&&lh(i.next,o),error:i.error&&lh(i.error,o),complete:i.complete&&lh(i.complete,o)}):r=i}this.destination=new aA(r)}}function Lc(t){_r.useDeprecatedSynchronousErrorHandling?function rA(t){_r.useDeprecatedSynchronousErrorHandling&&br&&(br.errorThrown=!0,br.error=t)}(t):ub(t)}function dh(t,i){const{onStoppedNotification:e}=_r;e&&Pc.setTimeout(()=>e(t,i))}const cA={closed:!0,next:ah,error:function sA(t){throw t},complete:ah},uh="function"==typeof Symbol&&Symbol.observable||"@@observable";function Bn(t){return t}function hb(t){return 0===t.length?Bn:1===t.length?t[0]:function(e){return t.reduce((n,r)=>r(n),e)}}let Be=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(e,n,r){const o=function uA(t){return t&&t instanceof ch||function dA(t){return t&&ve(t.next)&&ve(t.error)&&ve(t.complete)}(t)&&lb(t)}(e)?e:new La(e,n,r);return Nc(()=>{const{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(n){e.error(n)}}forEach(e,n){return new(n=mb(n))((r,o)=>{const a=new La({next:s=>{try{e(s)}catch(c){o(c),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(e){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(e)}[uh](){return this}pipe(...e){return hb(e)(this)}toPromise(e){return new(e=mb(e))((n,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>n(o))})}}return t.create=i=>new t(i),t})();function mb(t){var i;return null!==(i=t??_r.Promise)&&void 0!==i?i:Promise}const hA=Na(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Y=(()=>{class t extends Be{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const n=new pb(this,this);return n.operator=e,n}_throwIfClosed(){if(this.closed)throw new hA}next(e){Nc(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const n of this.currentObservers)n.next(e)}})}error(e){Nc(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:n}=this;for(;n.length;)n.shift().error(e)}})}complete(){Nc(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:n,isStopped:r,observers:o}=this;return n||r?cb:(this.currentObservers=null,o.push(e),new Qe(()=>{this.currentObservers=null,no(o,e)}))}_checkFinalizedStatuses(e){const{hasError:n,thrownError:r,isStopped:o}=this;n?e.error(r):o&&e.complete()}asObservable(){const e=new Be;return e.source=this,e}}return t.create=(i,e)=>new pb(i,e),t})();class pb extends Y{constructor(i,e){super(),this.destination=i,this.source=e}next(i){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,i)}error(i){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,i)}complete(){var i,e;null===(e=null===(i=this.destination)||void 0===i?void 0:i.complete)||void 0===e||e.call(i)}_subscribe(i){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(i))&&void 0!==n?n:cb}}function fb(t){return ve(t?.lift)}function et(t){return i=>{if(fb(i))return i.lift(function(e){try{return t(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ge(t,i,e,n,r){return new mA(t,i,e,n,r)}class mA extends ch{constructor(i,e,n,r,o,a){super(i),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(c){i.error(c)}}:super._next,this._error=r?function(s){try{r(s)}catch(c){i.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(s){i.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var i;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(i=this.onFinalize)||void 0===i||i.call(this))}}}function pe(t,i){return et((e,n)=>{let r=0;e.subscribe(Ge(n,o=>{n.next(t.call(i,o,r++))}))})}function Vn(t){return this instanceof Vn?(this.v=t,this):new Vn(t)}function vb(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,i=t[Symbol.asyncIterator];return i?i.call(t):(t=function fh(t){var i="function"==typeof Symbol&&Symbol.iterator,e=i&&t[i],n=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(o){e[o]=t[o]&&function(a){return new Promise(function(s,c){!function r(o,a,s,c){Promise.resolve(c).then(function(l){o({value:l,done:s})},a)}(s,c,(a=t[o](a)).done,a.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const gh=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function yb(t){return ve(t?.then)}function xb(t){return ve(t[uh])}function wb(t){return Symbol.asyncIterator&&ve(t?.[Symbol.asyncIterator])}function Cb(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 Db=function PA(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function kb(t){return ve(t?.[Db])}function Mb(t){return function bb(t,i,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,n=e.apply(t,i||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(h){n[h]&&(r[h]=function(m){return new Promise(function(f,g){o.push([h,m,f,g])>1||s(h,m)})})}function s(h,m){try{!function c(h){h.value instanceof Vn?Promise.resolve(h.value.v).then(l,d):u(o[0][2],h)}(n[h](m))}catch(f){u(o[0][3],f)}}function l(h){s("next",h)}function d(h){s("throw",h)}function u(h,m){h(m),o.shift(),o.length&&s(o[0][0],o[0][1])}}(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:n,done:r}=yield Vn(e.read());if(r)return yield Vn(void 0);yield yield Vn(n)}}finally{e.releaseLock()}})}function Eb(t){return ve(t?.getReader)}function Pt(t){if(t instanceof Be)return t;if(null!=t){if(xb(t))return function NA(t){return new Be(i=>{const e=t[uh]();if(ve(e.subscribe))return e.subscribe(i);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(gh(t))return function LA(t){return new Be(i=>{for(let e=0;e<t.length&&!i.closed;e++)i.next(t[e]);i.complete()})}(t);if(yb(t))return function BA(t){return new Be(i=>{t.then(e=>{i.closed||(i.next(e),i.complete())},e=>i.error(e)).then(null,ub)})}(t);if(wb(t))return Sb(t);if(kb(t))return function VA(t){return new Be(i=>{for(const e of t)if(i.next(e),i.closed)return;i.complete()})}(t);if(Eb(t))return function HA(t){return Sb(Mb(t))}(t)}throw Cb(t)}function Sb(t){return new Be(i=>{(function jA(t,i){var e,n,r,o;return function gb(t,i,e,n){return new(e||(e=Promise))(function(o,a){function s(d){try{l(n.next(d))}catch(u){a(u)}}function c(d){try{l(n.throw(d))}catch(u){a(u)}}function l(d){d.done?o(d.value):function r(o){return o instanceof e?o:new e(function(a){a(o)})}(d.value).then(s,c)}l((n=n.apply(t,i||[])).next())})}(this,void 0,void 0,function*(){try{for(e=vb(t);!(n=yield e.next()).done;)if(i.next(n.value),i.closed)return}catch(a){r={error:a}}finally{try{n&&!n.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}i.complete()})})(t,i).catch(e=>i.error(e))})}function pn(t,i,e,n=0,r=!1){const o=i.schedule(function(){e(),r?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!r)return o}function bt(t,i,e=1/0){return ve(i)?bt((n,r)=>pe((o,a)=>i(n,o,r,a))(Pt(t(n,r))),e):("number"==typeof i&&(e=i),et((n,r)=>function zA(t,i,e,n,r,o,a,s){const c=[];let l=0,d=0,u=!1;const h=()=>{u&&!c.length&&!l&&i.complete()},m=g=>l<n?f(g):c.push(g),f=g=>{o&&i.next(g),l++;let _=!1;Pt(e(g,d++)).subscribe(Ge(i,w=>{r?.(w),o?m(w):i.next(w)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&l<n;){const w=c.shift();a?pn(i,a,()=>f(w)):f(w)}h()}catch(w){i.error(w)}}))};return t.subscribe(Ge(i,m,()=>{u=!0,h()})),()=>{s?.()}}(n,r,t,e)))}function ro(t=1/0){return bt(Bn,t)}const Ui=new Be(t=>t.complete());function Ib(t){return t&&ve(t.schedule)}function _h(t){return t[t.length-1]}function Ba(t){return Ib(_h(t))?t.pop():void 0}function Ab(t,i=0){return et((e,n)=>{e.subscribe(Ge(n,r=>pn(n,t,()=>n.next(r),i),()=>pn(n,t,()=>n.complete(),i),r=>pn(n,t,()=>n.error(r),i)))})}function Rb(t,i=0){return et((e,n)=>{n.add(t.schedule(()=>e.subscribe(n),i))})}function Ob(t,i){if(!t)throw new Error("Iterable cannot be null");return new Be(e=>{pn(e,i,()=>{const n=t[Symbol.asyncIterator]();pn(e,i,()=>{n.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function at(t,i){return i?function ZA(t,i){if(null!=t){if(xb(t))return function GA(t,i){return Pt(t).pipe(Rb(i),Ab(i))}(t,i);if(gh(t))return function qA(t,i){return new Be(e=>{let n=0;return i.schedule(function(){n===t.length?e.complete():(e.next(t[n++]),e.closed||this.schedule())})})}(t,i);if(yb(t))return function WA(t,i){return Pt(t).pipe(Rb(i),Ab(i))}(t,i);if(wb(t))return Ob(t,i);if(kb(t))return function YA(t,i){return new Be(e=>{let n;return pn(e,i,()=>{n=t[Db](),pn(e,i,()=>{let r,o;try{({value:r,done:o}=n.next())}catch(a){return void e.error(a)}o?e.complete():e.next(r)},0,!0)}),()=>ve(n?.return)&&n.return()})}(t,i);if(Eb(t))return function QA(t,i){return Ob(Mb(t),i)}(t,i)}throw Cb(t)}(t,i):Pt(t)}function vr(...t){const i=Ba(t),e=function $A(t,i){return"number"==typeof _h(t)?t.pop():i}(t,1/0),n=t;return n.length?1===n.length?Pt(n[0]):ro(e)(at(n,i)):Ui}class Qt extends Y{constructor(i){super(),this._value=i}get value(){return this.getValue()}_subscribe(i){const e=super._subscribe(i);return!e.closed&&i.next(this._value),e}getValue(){const{hasError:i,thrownError:e,_value:n}=this;if(i)throw e;return this._throwIfClosed(),n}next(i){super.next(this._value=i)}}function j(...t){return at(t,Ba(t))}function bh(t={}){const{connector:i=(()=>new Y),resetOnError:e=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=t;return o=>{let a,s,c,l=0,d=!1,u=!1;const h=()=>{s?.unsubscribe(),s=void 0},m=()=>{h(),a=c=void 0,d=u=!1},f=()=>{const g=a;m(),g?.unsubscribe()};return et((g,_)=>{l++,!u&&!d&&h();const w=c=c??i();_.add(()=>{l--,0===l&&!u&&!d&&(s=vh(f,r))}),w.subscribe(_),!a&&l>0&&(a=new La({next:b=>w.next(b),error:b=>{u=!0,h(),s=vh(m,e,b),w.error(b)},complete:()=>{d=!0,h(),s=vh(m,n),w.complete()}}),Pt(g).subscribe(a))})(o)}}function vh(t,i,...e){if(!0===i)return void t();if(!1===i)return;const n=new La({next:()=>{n.unsubscribe(),t()}});return Pt(i(...e)).subscribe(n)}function fi(t,i){return et((e,n)=>{let r=null,o=0,a=!1;const s=()=>a&&!r&&n.complete();e.subscribe(Ge(n,c=>{r?.unsubscribe();let l=0;const d=o++;Pt(t(c,d)).subscribe(r=Ge(n,u=>n.next(i?i(c,u,d,l++):u),()=>{r=null,s()}))},()=>{a=!0,s()}))})}function Fb(t,i=Bn){return t=t??KA,et((e,n)=>{let r,o=!0;e.subscribe(Ge(n,a=>{const s=i(a);(o||!t(r,s))&&(o=!1,r=s,n.next(a))}))})}function KA(t,i){return t===i}function Re(t){for(let i in t)if(t[i]===Re)return i;throw Error("Could not find renamed property on target object.")}function Bc(t,i){for(const e in i)i.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=i[e])}function ut(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(ut).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const i=t.toString();if(null==i)return""+i;const e=i.indexOf("\n");return-1===e?i:i.substring(0,e)}function yh(t,i){return null==t||""===t?null===i?"":i:null==i||""===i?t:t+" "+i}const XA=Re({__forward_ref__:Re});function ye(t){return t.__forward_ref__=ye,t.toString=function(){return ut(this())},t}function X(t){return xh(t)?t():t}function xh(t){return"function"==typeof t&&t.hasOwnProperty(XA)&&t.__forward_ref__===ye}function wh(t){return t&&!!t.\u0275providers}const Pb="https://g.co/ng/security#xss";class x extends Error{constructor(i,e){super(function Vc(t,i){return`NG0${Math.abs(t)}${i?": "+i:""}`}(i,e)),this.code=i}}function ae(t){return"string"==typeof t?t:null==t?"":String(t)}function Ch(t,i){throw new x(-201,!1)}function gi(t,i){null==t&&function Q(t,i,e,n){throw new Error(`ASSERTION ERROR: ${t}`+(null==n?"":` [Expected=> ${e} ${n} ${i} <=Actual]`))}(i,t,null,"!=")}function M(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function N(t){return{providers:t.providers||[],imports:t.imports||[]}}function Hc(t){return Nb(t,zc)||Nb(t,Lb)}function Nb(t,i){return t.hasOwnProperty(i)?t[i]:null}function jc(t){return t&&(t.hasOwnProperty(Dh)||t.hasOwnProperty(s1))?t[Dh]:null}const zc=Re({\u0275prov:Re}),Dh=Re({\u0275inj:Re}),Lb=Re({ngInjectableDef:Re}),s1=Re({ngInjectorDef:Re});var ge=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(ge||{});let kh;function Zt(t){const i=kh;return kh=t,i}function Vb(t,i,e){const n=Hc(t);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:e&ge.Optional?null:void 0!==i?i:void Ch(ut(t))}const Ve=globalThis,Va={},Th="__NG_DI_FLAG__",Uc="ngTempTokenPath",d1=/\n/gm,jb="__source";let oo;function Hn(t){const i=oo;return oo=t,i}function m1(t,i=ge.Default){if(void 0===oo)throw new x(-203,!1);return null===oo?Vb(t,void 0,i):oo.get(t,i&ge.Optional?null:void 0,i)}function v(t,i=ge.Default){return(function Bb(){return kh}()||m1)(X(t),i)}function I(t,i=ge.Default){return v(t,$c(i))}function $c(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Ah(t){const i=[];for(let e=0;e<t.length;e++){const n=X(t[e]);if(Array.isArray(n)){if(0===n.length)throw new x(900,!1);let r,o=ge.Default;for(let a=0;a<n.length;a++){const s=n[a],c=p1(s);"number"==typeof c?-1===c?r=s.token:o|=c:r=s}i.push(v(r,o))}else i.push(v(n))}return i}function Ha(t,i){return t[Th]=i,t.prototype[Th]=i,t}function p1(t){return t[Th]}function fn(t){return{toString:t}.toString()}var Gc=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Gc||{}),_i=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(_i||{});const $i={},Me=[],Wc=Re({\u0275cmp:Re}),Rh=Re({\u0275dir:Re}),Oh=Re({\u0275pipe:Re}),Ub=Re({\u0275mod:Re}),gn=Re({\u0275fac:Re}),ja=Re({__NG_ELEMENT_ID__:Re}),$b=Re({__NG_ENV_ID__:Re});function Gb(t,i,e){let n=t.length;for(;;){const r=t.indexOf(i,e);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const o=i.length;if(r+o===n||t.charCodeAt(r+o)<=32)return r}e=r+1}}function Fh(t,i,e){let n=0;for(;n<e.length;){const r=e[n];if("number"==typeof r){if(0!==r)break;n++;const o=e[n++],a=e[n++],s=e[n++];t.setAttribute(i,a,s,o)}else{const o=r,a=e[++n];qb(o)?t.setProperty(i,o,a):t.setAttribute(i,o,a),n++}}return n}function Wb(t){return 3===t||4===t||6===t}function qb(t){return 64===t.charCodeAt(0)}function za(t,i){if(null!==i&&0!==i.length)if(null===t||0===t.length)t=i.slice();else{let e=-1;for(let n=0;n<i.length;n++){const r=i[n];"number"==typeof r?e=r:0===e||Yb(t,e,r,null,-1===e||2===e?i[++n]:null)}}return t}function Yb(t,i,e,n,r){let o=0,a=t.length;if(-1===i)a=-1;else for(;o<t.length;){const s=t[o++];if("number"==typeof s){if(s===i){a=-1;break}if(s>i){a=o-1;break}}}for(;o<t.length;){const s=t[o];if("number"==typeof s)break;if(s===e){if(null===n)return void(null!==r&&(t[o+1]=r));if(n===t[o+1])return void(t[o+2]=r)}o++,null!==n&&o++,null!==r&&o++}-1!==a&&(t.splice(a,0,i),o=a+1),t.splice(o++,0,e),null!==n&&t.splice(o++,0,n),null!==r&&t.splice(o++,0,r)}const Qb="ng-template";function _1(t,i,e){let n=0,r=!0;for(;n<t.length;){let o=t[n++];if("string"==typeof o&&r){const a=t[n++];if(e&&"class"===o&&-1!==Gb(a.toLowerCase(),i,0))return!0}else{if(1===o){for(;n<t.length&&"string"==typeof(o=t[n++]);)if(o.toLowerCase()===i)return!0;return!1}"number"==typeof o&&(r=!1)}}return!1}function Zb(t){return 4===t.type&&t.value!==Qb}function b1(t,i,e){return i===(4!==t.type||e?t.value:Qb)}function v1(t,i,e){let n=4;const r=t.attrs||[],o=function w1(t){for(let i=0;i<t.length;i++)if(Wb(t[i]))return i;return t.length}(r);let a=!1;for(let s=0;s<i.length;s++){const c=i[s];if("number"!=typeof c){if(!a)if(4&n){if(n=2|1&n,""!==c&&!b1(t,c,e)||""===c&&1===i.length){if(Ii(n))return!1;a=!0}}else{const l=8&n?c:i[++s];if(8&n&&null!==t.attrs){if(!_1(t.attrs,l,e)){if(Ii(n))return!1;a=!0}continue}const u=y1(8&n?"class":c,r,Zb(t),e);if(-1===u){if(Ii(n))return!1;a=!0;continue}if(""!==l){let h;h=u>o?"":r[u+1].toLowerCase();const m=8&n?h:null;if(m&&-1!==Gb(m,l,0)||2&n&&l!==h){if(Ii(n))return!1;a=!0}}}}else{if(!a&&!Ii(n)&&!Ii(c))return!1;if(a&&Ii(c))continue;a=!1,n=c|1&n}}return Ii(n)||a}function Ii(t){return 0==(1&t)}function y1(t,i,e,n){if(null===i)return-1;let r=0;if(n||!e){let o=!1;for(;r<i.length;){const a=i[r];if(a===t)return r;if(3===a||6===a)o=!0;else{if(1===a||2===a){let s=i[++r];for(;"string"==typeof s;)s=i[++r];continue}if(4===a)break;if(0===a){r+=4;continue}}r+=o?1:2}return-1}return function C1(t,i){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){const n=t[e];if("number"==typeof n)return-1;if(n===i)return e;e++}return-1}(i,t)}function Kb(t,i,e=!1){for(let n=0;n<i.length;n++)if(v1(t,i[n],e))return!0;return!1}function D1(t,i){e:for(let e=0;e<i.length;e++){const n=i[e];if(t.length===n.length){for(let r=0;r<t.length;r++)if(t[r]!==n[r])continue e;return!0}}return!1}function Xb(t,i){return t?":not("+i.trim()+")":i}function k1(t){let i=t[0],e=1,n=2,r="",o=!1;for(;e<t.length;){let a=t[e];if("string"==typeof a)if(2&n){const s=t[++e];r+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else 8&n?r+="."+a:4&n&&(r+=" "+a);else""!==r&&!Ii(a)&&(i+=Xb(o,r),r=""),n=a,o=o||!Ii(n);e++}return""!==r&&(i+=Xb(o,r)),i}function se(t){return fn(()=>{const i=ev(t),e={...i,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Gc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||_i.Emulated,styles:t.styles||Me,_:null,schemas:t.schemas||null,tView:null,id:""};tv(e);const n=t.dependencies;return e.directiveDefs=qc(n,!1),e.pipeDefs=qc(n,!0),e.id=function O1(t){let i=0;const e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const r of e)i=Math.imul(31,i)+r.charCodeAt(0)<<0;return i+=2147483648,"c"+i}(e),e})}function I1(t){return we(t)||yt(t)}function T1(t){return null!==t}function L(t){return fn(()=>({type:t.type,bootstrap:t.bootstrap||Me,declarations:t.declarations||Me,imports:t.imports||Me,exports:t.exports||Me,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Jb(t,i){if(null==t)return $i;const e={};for(const n in t)if(t.hasOwnProperty(n)){let r=t[n],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=n,i&&(i[r]=o)}return e}function C(t){return fn(()=>{const i=ev(t);return tv(i),i})}function we(t){return t[Wc]||null}function yt(t){return t[Rh]||null}function Nt(t){return t[Oh]||null}function ri(t,i){const e=t[Ub]||null;if(!e&&!0===i)throw new Error(`Type ${ut(t)} does not have '\u0275mod' property.`);return e}function ev(t){const i={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputTransforms:null,inputConfig:t.inputs||$i,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||Me,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Jb(t.inputs,i),outputs:Jb(t.outputs)}}function tv(t){t.features?.forEach(i=>i(t))}function qc(t,i){if(!t)return null;const e=i?Nt:I1;return()=>("function"==typeof t?t():t).map(n=>e(n)).filter(T1)}const Ze=0,F=1,ue=2,$e=3,Ti=4,Ua=5,It=6,so=7,tt=8,jn=9,co=10,ce=11,$a=12,iv=13,lo=14,it=15,Ga=16,uo=17,Gi=18,Wa=19,nv=20,zn=21,_n=22,qa=23,Ya=24,_e=25,Ph=1,rv=2,Wi=7,ho=9,xt=11;function Xt(t){return Array.isArray(t)&&"object"==typeof t[Ph]}function Lt(t){return Array.isArray(t)&&!0===t[Ph]}function Nh(t){return 0!=(4&t.flags)}function xr(t){return t.componentOffset>-1}function Qc(t){return 1==(1&t.flags)}function Ai(t){return!!t.template}function Lh(t){return 0!=(512&t[ue])}function wr(t,i){return t.hasOwnProperty(gn)?t[gn]:null}let wt=null,Zc=!1;function bi(t){const i=wt;return wt=t,i}const sv={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function lv(t){if(!Za(t)||t.dirty){if(!t.producerMustRecompute(t)&&!hv(t))return void(t.dirty=!1);t.producerRecomputeValue(t),t.dirty=!1}}function uv(t){t.dirty=!0,function dv(t){if(void 0===t.liveConsumerNode)return;const i=Zc;Zc=!0;try{for(const e of t.liveConsumerNode)e.dirty||uv(e)}finally{Zc=i}}(t),t.consumerMarkedDirty?.(t)}function Vh(t){return t&&(t.nextProducerIndex=0),bi(t)}function Hh(t,i){if(bi(i),t&&void 0!==t.producerNode&&void 0!==t.producerIndexOfThis&&void 0!==t.producerLastReadVersion){if(Za(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)Kc(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function hv(t){mo(t);for(let i=0;i<t.producerNode.length;i++){const e=t.producerNode[i],n=t.producerLastReadVersion[i];if(n!==e.version||(lv(e),n!==e.version))return!0}return!1}function mv(t){if(mo(t),Za(t))for(let i=0;i<t.producerNode.length;i++)Kc(t.producerNode[i],t.producerIndexOfThis[i]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Kc(t,i){if(function fv(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}(t),mo(t),1===t.liveConsumerNode.length)for(let n=0;n<t.producerNode.length;n++)Kc(t.producerNode[n],t.producerIndexOfThis[n]);const e=t.liveConsumerNode.length-1;if(t.liveConsumerNode[i]=t.liveConsumerNode[e],t.liveConsumerIndexOfThis[i]=t.liveConsumerIndexOfThis[e],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,i<t.liveConsumerNode.length){const n=t.liveConsumerIndexOfThis[i],r=t.liveConsumerNode[i];mo(r),r.producerIndexOfThis[n]=i}}function Za(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function mo(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}let gv=null;const yv=()=>{},W1=(()=>({...sv,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule(t.ref)},hasRun:!1,cleanupFn:yv}))();class q1{constructor(i,e,n){this.previousValue=i,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function ht(){return xv}function xv(t){return t.type.prototype.ngOnChanges&&(t.setInput=Q1),Y1}function Y1(){const t=Cv(this),i=t?.current;if(i){const e=t.previous;if(e===$i)t.previous=i;else for(let n in i)e[n]=i[n];t.current=null,this.ngOnChanges(i)}}function Q1(t,i,e,n){const r=this.declaredInputs[e],o=Cv(t)||function Z1(t,i){return t[wv]=i}(t,{previous:$i,current:null}),a=o.current||(o.current={}),s=o.previous,c=s[r];a[r]=new q1(c&&c.currentValue,i,s===$i),t[n]=i}ht.ngInherit=!0;const wv="__ngSimpleChanges__";function Cv(t){return t[wv]||null}const qi=function(t,i,e){};function He(t){for(;Array.isArray(t);)t=t[Ze];return t}function Xc(t,i){return He(i[t])}function Jt(t,i){return He(i[t.index])}function Mv(t,i){return t.data[i]}function oi(t,i){const e=i[t];return Xt(e)?e:e[Ze]}function $n(t,i){return null==i?null:t[i]}function Ev(t){t[uo]=0}function iR(t){1024&t[ue]||(t[ue]|=1024,Iv(t,1))}function Sv(t){1024&t[ue]&&(t[ue]&=-1025,Iv(t,-1))}function Iv(t,i){let e=t[$e];if(null===e)return;e[Ua]+=i;let n=e;for(e=e[$e];null!==e&&(1===i&&1===n[Ua]||-1===i&&0===n[Ua]);)e[Ua]+=i,n=e,e=e[$e]}const Z={lFrame:Hv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Rv(){return Z.bindingsEnabled}function fo(){return null!==Z.skipHydrationRootTNode}function D(){return Z.lFrame.lView}function Ce(){return Z.lFrame.tView}function go(t){return Z.lFrame.contextLView=t,t[tt]}function _o(t){return Z.lFrame.contextLView=null,t}function Ct(){let t=Ov();for(;null!==t&&64===t.type;)t=t.parent;return t}function Ov(){return Z.lFrame.currentTNode}function Yi(t,i){const e=Z.lFrame;e.currentTNode=t,e.isParent=i}function Gh(){return Z.lFrame.isParent}function Wh(){Z.lFrame.isParent=!1}function Bt(){const t=Z.lFrame;let i=t.bindingRootIndex;return-1===i&&(i=t.bindingRootIndex=t.tView.bindingStartIndex),i}function bo(){return Z.lFrame.bindingIndex++}function vn(t){const i=Z.lFrame,e=i.bindingIndex;return i.bindingIndex=i.bindingIndex+t,e}function pR(t,i){const e=Z.lFrame;e.bindingIndex=e.bindingRootIndex=t,qh(i)}function qh(t){Z.lFrame.currentDirectiveIndex=t}function Lv(){return Z.lFrame.currentQueryIndex}function Qh(t){Z.lFrame.currentQueryIndex=t}function gR(t){const i=t[F];return 2===i.type?i.declTNode:1===i.type?t[It]:null}function Bv(t,i,e){if(e&ge.SkipSelf){let r=i,o=t;for(;!(r=r.parent,null!==r||e&ge.Host||(r=gR(o),null===r||(o=o[lo],10&r.type))););if(null===r)return!1;i=r,t=o}const n=Z.lFrame=Vv();return n.currentTNode=i,n.lView=t,!0}function Zh(t){const i=Vv(),e=t[F];Z.lFrame=i,i.currentTNode=e.firstChild,i.lView=t,i.tView=e,i.contextLView=t,i.bindingIndex=e.bindingStartIndex,i.inI18n=!1}function Vv(){const t=Z.lFrame,i=null===t?null:t.child;return null===i?Hv(t):i}function Hv(t){const i={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=i),i}function jv(){const t=Z.lFrame;return Z.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const zv=jv;function Kh(){const t=jv();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 Vt(){return Z.lFrame.selectedIndex}function Cr(t){Z.lFrame.selectedIndex=t}function We(){const t=Z.lFrame;return Mv(t.tView,t.selectedIndex)}function yn(){Z.lFrame.currentNamespace="svg"}let $v=!0;function Jc(){return $v}function Gn(t){$v=t}function el(t,i){for(let e=i.directiveStart,n=i.directiveEnd;e<n;e++){const o=t.data[e].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:s,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:d}=o;a&&(t.contentHooks??=[]).push(-e,a),s&&((t.contentHooks??=[]).push(e,s),(t.contentCheckHooks??=[]).push(e,s)),c&&(t.viewHooks??=[]).push(-e,c),l&&((t.viewHooks??=[]).push(e,l),(t.viewCheckHooks??=[]).push(e,l)),null!=d&&(t.destroyHooks??=[]).push(e,d)}}function tl(t,i,e){Gv(t,i,3,e)}function il(t,i,e,n){(3&t[ue])===e&&Gv(t,i,e,n)}function Jh(t,i){let e=t[ue];(3&e)===i&&(e&=8191,e+=1,t[ue]=e)}function Gv(t,i,e,n){const o=n??-1,a=i.length-1;let s=0;for(let c=void 0!==n?65535&t[uo]:0;c<a;c++)if("number"==typeof i[c+1]){if(s=i[c],null!=n&&s>=n)break}else i[c]<0&&(t[uo]+=65536),(s<o||-1==o)&&(wR(t,e,i,c),t[uo]=(4294901760&t[uo])+c+2),c++}function Wv(t,i){qi(4,t,i);const e=bi(null);try{i.call(t)}finally{bi(e),qi(5,t,i)}}function wR(t,i,e,n){const r=e[n]<0,o=e[n+1],s=t[r?-e[n]:e[n]];r?t[ue]>>13<t[uo]>>16&&(3&t[ue])===i&&(t[ue]+=8192,Wv(s,o)):Wv(s,o)}const vo=-1;class Xa{constructor(i,e,n){this.factory=i,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function tm(t){return t!==vo}function Ja(t){return 32767&t}function es(t,i){let e=function MR(t){return t>>16}(t),n=i;for(;e>0;)n=n[lo],e--;return n}let im=!0;function nl(t){const i=im;return im=t,i}const qv=255,Yv=5;let ER=0;const Qi={};function rl(t,i){const e=Qv(t,i);if(-1!==e)return e;const n=i[F];n.firstCreatePass&&(t.injectorIndex=i.length,nm(n.data,t),nm(i,null),nm(n.blueprint,null));const r=ol(t,i),o=t.injectorIndex;if(tm(r)){const a=Ja(r),s=es(r,i),c=s[F].data;for(let l=0;l<8;l++)i[o+l]=s[a+l]|c[a+l]}return i[o+8]=r,o}function nm(t,i){t.push(0,0,0,0,0,0,0,0,i)}function Qv(t,i){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===i[t.injectorIndex+8]?-1:t.injectorIndex}function ol(t,i){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,n=null,r=i;for(;null!==r;){if(n=iy(r),null===n)return vo;if(e++,r=r[lo],-1!==n.injectorIndex)return n.injectorIndex|e<<16}return vo}function rm(t,i,e){!function SR(t,i,e){let n;"string"==typeof e?n=e.charCodeAt(0)||0:e.hasOwnProperty(ja)&&(n=e[ja]),null==n&&(n=e[ja]=ER++);const r=n&qv;i.data[t+(r>>Yv)]|=1<<r}(t,i,e)}function Zv(t,i,e){if(e&ge.Optional||void 0!==t)return t;Ch()}function Kv(t,i,e,n){if(e&ge.Optional&&void 0===n&&(n=null),!(e&(ge.Self|ge.Host))){const r=t[jn],o=Zt(void 0);try{return r?r.get(i,n,e&ge.Optional):Vb(i,n,e&ge.Optional)}finally{Zt(o)}}return Zv(n,0,e)}function Xv(t,i,e,n=ge.Default,r){if(null!==t){if(2048&i[ue]&&!(n&ge.Self)){const a=function FR(t,i,e,n,r){let o=t,a=i;for(;null!==o&&null!==a&&2048&a[ue]&&!(512&a[ue]);){const s=Jv(o,a,e,n|ge.Self,Qi);if(s!==Qi)return s;let c=o.parent;if(!c){const l=a[nv];if(l){const d=l.get(e,Qi,n);if(d!==Qi)return d}c=iy(a),a=a[lo]}o=c}return r}(t,i,e,n,Qi);if(a!==Qi)return a}const o=Jv(t,i,e,n,Qi);if(o!==Qi)return o}return Kv(i,e,n,r)}function Jv(t,i,e,n,r){const o=function AR(t){if("string"==typeof t)return t.charCodeAt(0)||0;const i=t.hasOwnProperty(ja)?t[ja]:void 0;return"number"==typeof i?i>=0?i&qv:OR:i}(e);if("function"==typeof o){if(!Bv(i,t,n))return n&ge.Host?Zv(r,0,n):Kv(i,e,n,r);try{let a;if(a=o(n),null!=a||n&ge.Optional)return a;Ch()}finally{zv()}}else if("number"==typeof o){let a=null,s=Qv(t,i),c=vo,l=n&ge.Host?i[it][It]:null;for((-1===s||n&ge.SkipSelf)&&(c=-1===s?ol(t,i):i[s+8],c!==vo&&ty(n,!1)?(a=i[F],s=Ja(c),i=es(c,i)):s=-1);-1!==s;){const d=i[F];if(ey(o,s,d.data)){const u=TR(s,i,e,a,n,l);if(u!==Qi)return u}c=i[s+8],c!==vo&&ty(n,i[F].data[s+8]===l)&&ey(o,s,i)?(a=d,s=Ja(c),i=es(c,i)):s=-1}}return r}function TR(t,i,e,n,r,o){const a=i[F],s=a.data[t+8],d=al(s,a,e,null==n?xr(s)&&im:n!=a&&0!=(3&s.type),r&ge.Host&&o===s);return null!==d?Dr(i,a,d,s):Qi}function al(t,i,e,n,r){const o=t.providerIndexes,a=i.data,s=1048575&o,c=t.directiveStart,d=o>>20,h=r?s+d:t.directiveEnd;for(let m=n?s:s+d;m<h;m++){const f=a[m];if(m<c&&e===f||m>=c&&f.type===e)return m}if(r){const m=a[c];if(m&&Ai(m)&&m.type===e)return c}return null}function Dr(t,i,e,n){let r=t[e];const o=i.data;if(function CR(t){return t instanceof Xa}(r)){const a=r;a.resolving&&function JA(t,i){const e=i?`. Dependency path: ${i.join(" > ")} > ${t}`:"";throw new x(-200,`Circular dependency in DI detected for ${t}${e}`)}(function Ae(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():ae(t)}(o[e]));const s=nl(a.canSeeViewProviders);a.resolving=!0;const l=a.injectImpl?Zt(a.injectImpl):null;Bv(t,n,ge.Default);try{r=t[e]=a.factory(void 0,o,t,n),i.firstCreatePass&&e>=n.directiveStart&&function xR(t,i,e){const{ngOnChanges:n,ngOnInit:r,ngDoCheck:o}=i.type.prototype;if(n){const a=xv(i);(e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}(e,o[e],i)}finally{null!==l&&Zt(l),nl(s),a.resolving=!1,zv()}}return r}function ey(t,i,e){return!!(e[i+(t>>Yv)]&1<<t)}function ty(t,i){return!(t&ge.Self||t&ge.Host&&i)}class Ht{constructor(i,e){this._tNode=i,this._lView=e}get(i,e,n){return Xv(this._tNode,this._lView,i,$c(n),e)}}function OR(){return new Ht(Ct(),D())}function ie(t){return fn(()=>{const i=t.prototype.constructor,e=i[gn]||om(i),n=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){const o=r[gn]||om(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function om(t){return xh(t)?()=>{const i=om(X(t));return i&&i()}:wr(t)}function iy(t){const i=t[F],e=i.type;return 2===e?i.declTNode:1===e?t[It]:null}const xo="__parameters__";function Co(t,i,e){return fn(()=>{const n=function am(t){return function(...e){if(t){const n=t(...e);for(const r in n)this[r]=n[r]}}}(i);function r(...o){if(this instanceof r)return n.apply(this,o),this;const a=new r(...o);return s.annotation=a,s;function s(c,l,d){const u=c.hasOwnProperty(xo)?c[xo]:Object.defineProperty(c,xo,{value:[]})[xo];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(a),c}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function ko(t,i){t.forEach(e=>Array.isArray(e)?ko(e,i):i(e))}function ry(t,i,e){i>=t.length?t.push(e):t.splice(i,0,e)}function sl(t,i){return i>=t.length-1?t.pop():t.splice(i,1)[0]}function ns(t,i){const e=[];for(let n=0;n<t;n++)e.push(i);return e}function ai(t,i,e){let n=Mo(t,i);return n>=0?t[1|n]=e:(n=~n,function jR(t,i,e,n){let r=t.length;if(r==i)t.push(e,n);else if(1===r)t.push(n,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>i;)t[r]=t[r-2],r--;t[i]=e,t[i+1]=n}}(t,n,i,e)),n}function sm(t,i){const e=Mo(t,i);if(e>=0)return t[1|e]}function Mo(t,i){return function oy(t,i,e){let n=0,r=t.length>>e;for(;r!==n;){const o=n+(r-n>>1),a=t[o<<e];if(i===a)return o<<e;a>i?r=o:n=o+1}return~(r<<e)}(t,i,1)}const yi=Ha(Co("Optional"),8),Ki=Ha(Co("SkipSelf"),4);function ml(t){return 128==(128&t.flags)}var Wn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Wn||{});const cO=/^>|^->|<!--|-->|--!>|<!-$/g,lO=/(<|>)/g,dO="\u200b$1\u200b";const hm=new Map;let uO=0;const pm="__ngContext__";function Tt(t,i){Xt(i)?(t[pm]=i[Wa],function mO(t){hm.set(t[Wa],t)}(i)):t[pm]=i}let fm;function gm(t,i){return fm(t,i)}function as(t){const i=t[$e];return Lt(i)?i[$e]:i}function ky(t){return Ey(t[$a])}function My(t){return Ey(t[Ti])}function Ey(t){for(;null!==t&&!Lt(t);)t=t[Ti];return t}function Io(t,i,e,n,r){if(null!=n){let o,a=!1;Lt(n)?o=n:Xt(n)&&(a=!0,n=n[Ze]);const s=He(n);0===t&&null!==e?null==r?Ay(i,e,s):kr(i,e,s,r||null,!0):1===t&&null!==e?kr(i,e,s,r||null,!0):2===t?function yl(t,i,e){const n=bl(t,i);n&&function RO(t,i,e,n){t.removeChild(i,e,n)}(t,n,i,e)}(i,s,a):3===t&&i.destroyNode(s),null!=o&&function PO(t,i,e,n,r){const o=e[Wi];o!==He(e)&&Io(i,t,n,o,r);for(let s=xt;s<e.length;s++){const c=e[s];cs(c[F],c,t,i,n,o)}}(i,t,o,e,r)}}function _m(t,i){return t.createComment(function _y(t){return t.replace(cO,i=>i.replace(lO,dO))}(i))}function gl(t,i,e){return t.createElement(i,e)}function Iy(t,i){const e=t[ho],n=e.indexOf(i);Sv(i),e.splice(n,1)}function _l(t,i){if(t.length<=xt)return;const e=xt+i,n=t[e];if(n){const r=n[Ga];null!==r&&r!==t&&Iy(r,n),i>0&&(t[e-1][Ti]=n[Ti]);const o=sl(t,xt+i);!function DO(t,i){cs(t,i,i[ce],2,null,null),i[Ze]=null,i[It]=null}(n[F],n);const a=o[Gi];null!==a&&a.detachView(o[F]),n[$e]=null,n[Ti]=null,n[ue]&=-129}return n}function bm(t,i){if(!(256&i[ue])){const e=i[ce];i[qa]&&mv(i[qa]),i[Ya]&&mv(i[Ya]),e.destroyNode&&cs(t,i,e,3,null,null),function EO(t){let i=t[$a];if(!i)return vm(t[F],t);for(;i;){let e=null;if(Xt(i))e=i[$a];else{const n=i[xt];n&&(e=n)}if(!e){for(;i&&!i[Ti]&&i!==t;)Xt(i)&&vm(i[F],i),i=i[$e];null===i&&(i=t),Xt(i)&&vm(i[F],i),e=i&&i[Ti]}i=e}}(i)}}function vm(t,i){if(!(256&i[ue])){i[ue]&=-129,i[ue]|=256,function AO(t,i){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let n=0;n<e.length;n+=2){const r=i[e[n]];if(!(r instanceof Xa)){const o=e[n+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){const s=r[o[a]],c=o[a+1];qi(4,s,c);try{c.call(s)}finally{qi(5,s,c)}}else{qi(4,r,o);try{o.call(r)}finally{qi(5,r,o)}}}}}(t,i),function TO(t,i){const e=t.cleanup,n=i[so];if(null!==e)for(let o=0;o<e.length-1;o+=2)if("string"==typeof e[o]){const a=e[o+3];a>=0?n[a]():n[-a].unsubscribe(),o+=2}else e[o].call(n[e[o+1]]);null!==n&&(i[so]=null);const r=i[zn];if(null!==r){i[zn]=null;for(let o=0;o<r.length;o++)(0,r[o])()}}(t,i),1===i[F].type&&i[ce].destroy();const e=i[Ga];if(null!==e&&Lt(i[$e])){e!==i[$e]&&Iy(e,i);const n=i[Gi];null!==n&&n.detachView(t)}!function pO(t){hm.delete(t[Wa])}(i)}}function ym(t,i,e){return function Ty(t,i,e){let n=i;for(;null!==n&&40&n.type;)n=(i=n).parent;if(null===n)return e[Ze];{const{componentOffset:r}=n;if(r>-1){const{encapsulation:o}=t.data[n.directiveStart+r];if(o===_i.None||o===_i.Emulated)return null}return Jt(n,e)}}(t,i.parent,e)}function kr(t,i,e,n,r){t.insertBefore(i,e,n,r)}function Ay(t,i,e){t.appendChild(i,e)}function Ry(t,i,e,n,r){null!==n?kr(t,i,e,n,r):Ay(t,i,e)}function bl(t,i){return t.parentNode(i)}function Oy(t,i,e){return Py(t,i,e)}let xm,km,Py=function Fy(t,i,e){return 40&t.type?Jt(t,e):null};function vl(t,i,e,n){const r=ym(t,n,i),o=i[ce],s=Oy(n.parent||i[It],n,i);if(null!=r)if(Array.isArray(e))for(let c=0;c<e.length;c++)Ry(o,r,e[c],s,!1);else Ry(o,r,e,s,!1);void 0!==xm&&xm(o,n,i,e,r)}function ss(t,i){if(null!==i){const e=i.type;if(3&e)return Jt(i,t);if(4&e)return wm(-1,t[i.index]);if(8&e){const n=i.child;if(null!==n)return ss(t,n);{const r=t[i.index];return Lt(r)?wm(-1,r):He(r)}}if(32&e)return gm(i,t)()||He(t[i.index]);{const n=Ly(t,i);return null!==n?Array.isArray(n)?n[0]:ss(as(t[it]),n):ss(t,i.next)}}return null}function Ly(t,i){return null!==i?t[it][It].projection[i.projection]:null}function wm(t,i){const e=xt+t+1;if(e<i.length){const n=i[e],r=n[F].firstChild;if(null!==r)return ss(n,r)}return i[Wi]}function Cm(t,i,e,n,r,o,a){for(;null!=e;){const s=n[e.index],c=e.type;if(a&&0===i&&(s&&Tt(He(s),n),e.flags|=2),32!=(32&e.flags))if(8&c)Cm(t,i,e.child,n,r,o,!1),Io(i,t,r,s,o);else if(32&c){const l=gm(e,n);let d;for(;d=l();)Io(i,t,r,d,o);Io(i,t,r,s,o)}else 16&c?Vy(t,i,n,e,r,o):Io(i,t,r,s,o);e=a?e.projectionNext:e.next}}function cs(t,i,e,n,r,o){Cm(e,n,t.firstChild,i,r,o,!1)}function Vy(t,i,e,n,r,o){const a=e[it],c=a[It].projection[n.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++)Io(i,t,r,c[l],o);else{let l=c;const d=a[$e];ml(n)&&(l.flags|=128),Cm(t,i,l,d,r,o,!0)}}function Hy(t,i,e){""===e?t.removeAttribute(i,"class"):t.setAttribute(i,"class",e)}function jy(t,i,e){const{mergedAttrs:n,classes:r,styles:o}=e;null!==n&&Fh(t,i,n),null!==r&&Hy(t,i,r),null!==o&&function LO(t,i,e){t.setAttribute(i,"style",e)}(t,i,o)}class Mr{constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Pb})`}}function si(t){return t instanceof Mr?t.changingThisBreaksApplicationSecurity:t}const iF=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Dt=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Dt||{});function kl(t){const i=function ds(){const t=D();return t&&t[co].sanitizer}();return i?i.sanitize(Dt.URL,t)||"":function Xi(t,i){const e=function qO(t){return t instanceof Mr&&t.getTypeName()||null}(t);if(null!=e&&e!==i){if("ResourceURL"===e&&"URL"===i)return!0;throw new Error(`Required a safe ${i}, got a ${e} (see ${Pb})`)}return e===i}(t,"URL")?si(t):function Cl(t){return(t=String(t)).match(iF)?t:"unsafe:"+t}(ae(t))}class y{constructor(i,e){this._desc=i,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=M({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const us=new y("ENVIRONMENT_INITIALIZER"),e0=new y("INJECTOR",-1),t0=new y("INJECTOR_DEF_TYPES");class Tm{get(i,e=Va){if(e===Va){const n=new Error(`NullInjectorError: No provider for ${ut(i)}!`);throw n.name="NullInjectorError",n}return e}}function pF(...t){return{\u0275providers:n0(0,t),\u0275fromNgModule:!0}}function n0(t,...i){const e=[],n=new Set;let r;const o=a=>{e.push(a)};return ko(i,a=>{const s=a;Ml(s,o,[],n)&&(r||=[],r.push(s))}),void 0!==r&&r0(r,o),e}function r0(t,i){for(let e=0;e<t.length;e++){const{ngModule:n,providers:r}=t[e];Rm(r,o=>{i(o,n)})}}function Ml(t,i,e,n){if(!(t=X(t)))return!1;let r=null,o=jc(t);const a=!o&&we(t);if(o||a){if(a&&!a.standalone)return!1;r=t}else{const c=t.ngModule;if(o=jc(c),!o)return!1;r=c}const s=n.has(r);if(a){if(s)return!1;if(n.add(r),a.dependencies){const c="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const l of c)Ml(l,i,e,n)}}else{if(!o)return!1;{if(null!=o.imports&&!s){let l;n.add(r);try{ko(o.imports,d=>{Ml(d,i,e,n)&&(l||=[],l.push(d))})}finally{}void 0!==l&&r0(l,i)}if(!s){const l=wr(r)||(()=>new r);i({provide:r,useFactory:l,deps:Me},r),i({provide:t0,useValue:r,multi:!0},r),i({provide:us,useValue:()=>v(r),multi:!0},r)}const c=o.providers;if(null!=c&&!s){const l=t;Rm(c,d=>{i(d,l)})}}}return r!==t&&void 0!==t.providers}function Rm(t,i){for(let e of t)wh(e)&&(e=e.\u0275providers),Array.isArray(e)?Rm(e,i):i(e)}const fF=Re({provide:String,useValue:Re});function Om(t){return null!==t&&"object"==typeof t&&fF in t}function Er(t){return"function"==typeof t}const Fm=new y("Set Injector scope."),El={},_F={};let Pm;function Sl(){return void 0===Pm&&(Pm=new Tm),Pm}class ci{}class Il extends ci{get destroyed(){return this._destroyed}constructor(i,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Lm(i,a=>this.processProvider(a)),this.records.set(e0,Ro(void 0,this)),r.has("environment")&&this.records.set(ci,Ro(void 0,this));const o=this.records.get(Fm);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(t0.multi,Me,ge.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();const i=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of i)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(i){return this.assertNotDestroyed(),this._onDestroyHooks.push(i),()=>this.removeOnDestroy(i)}runInContext(i){this.assertNotDestroyed();const e=Hn(this),n=Zt(void 0);try{return i()}finally{Hn(e),Zt(n)}}get(i,e=Va,n=ge.Default){if(this.assertNotDestroyed(),i.hasOwnProperty($b))return i[$b](this);n=$c(n);const o=Hn(this),a=Zt(void 0);try{if(!(n&ge.SkipSelf)){let c=this.records.get(i);if(void 0===c){const l=function wF(t){return"function"==typeof t||"object"==typeof t&&t instanceof y}(i)&&Hc(i);c=l&&this.injectableDefInScope(l)?Ro(Nm(i),El):null,this.records.set(i,c)}if(null!=c)return this.hydrate(i,c)}return(n&ge.Self?Sl():this.parent).get(i,e=n&ge.Optional&&e===Va?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[Uc]=s[Uc]||[]).unshift(ut(i)),o)throw s;return function f1(t,i,e,n){const r=t[Uc];throw i[jb]&&r.unshift(i[jb]),t.message=function g1(t,i,e,n=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let r=ut(i);if(Array.isArray(i))r=i.map(ut).join(" -> ");else if("object"==typeof i){let o=[];for(let a in i)if(i.hasOwnProperty(a)){let s=i[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):ut(s)))}r=`{${o.join(", ")}}`}return`${e}${n?"("+n+")":""}[${r}]: ${t.replace(d1,"\n ")}`}("\n"+t.message,r,e,n),t.ngTokenPath=r,t[Uc]=null,t}(s,i,"R3InjectorError",this.source)}throw s}finally{Zt(a),Hn(o)}}resolveInjectorInitializers(){const i=Hn(this),e=Zt(void 0);try{const r=this.get(us.multi,Me,ge.Self);for(const o of r)o()}finally{Hn(i),Zt(e)}}toString(){const i=[],e=this.records;for(const n of e.keys())i.push(ut(n));return`R3Injector[${i.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new x(205,!1)}processProvider(i){let e=Er(i=X(i))?i:X(i&&i.provide);const n=function vF(t){return Om(t)?Ro(void 0,t.useValue):Ro(function s0(t,i,e){let n;if(Er(t)){const r=X(t);return wr(r)||Nm(r)}if(Om(t))n=()=>X(t.useValue);else if(function a0(t){return!(!t||!t.useFactory)}(t))n=()=>t.useFactory(...Ah(t.deps||[]));else if(function o0(t){return!(!t||!t.useExisting)}(t))n=()=>v(X(t.useExisting));else{const r=X(t&&(t.useClass||t.provide));if(!function yF(t){return!!t.deps}(t))return wr(r)||Nm(r);n=()=>new r(...Ah(t.deps))}return n}(t),El)}(i);if(Er(i)||!0!==i.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=Ro(void 0,El,!0),r.factory=()=>Ah(r.multi),this.records.set(e,r)),e=i,r.multi.push(i)}this.records.set(e,n)}hydrate(i,e){return e.value===El&&(e.value=_F,e.value=e.factory()),"object"==typeof e.value&&e.value&&function xF(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(i){if(!i.providedIn)return!1;const e=X(i.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(i){const e=this._onDestroyHooks.indexOf(i);-1!==e&&this._onDestroyHooks.splice(e,1)}}function Nm(t){const i=Hc(t),e=null!==i?i.factory:wr(t);if(null!==e)return e;if(t instanceof y)throw new x(204,!1);if(t instanceof Function)return function bF(t){const i=t.length;if(i>0)throw ns(i,"?"),new x(204,!1);const e=function a1(t){return t&&(t[zc]||t[Lb])||null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new x(204,!1)}function Ro(t,i,e=!1){return{factory:t,value:i,multi:e?[]:void 0}}function Lm(t,i){for(const e of t)Array.isArray(e)?Lm(e,i):e&&wh(e)?Lm(e.\u0275providers,i):i(e)}const Tl=new y("AppId",{providedIn:"root",factory:()=>CF}),CF="ng",c0=new y("Platform Initializer"),Ji=new y("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),jt=new y("AnimationModuleType"),Bm=new y("CSP nonce",{providedIn:"root",factory:()=>function Ao(){if(void 0!==km)return km;if(typeof document<"u")return document;throw new x(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let l0=(t,i,e)=>null;function Wm(t,i,e=!1){return l0(t,i,e)}class OF{}class h0{}class PF{resolveComponentFactory(i){throw function FF(t){const i=Error(`No component factory found for ${ut(t)}.`);return i.ngComponent=t,i}(i)}}let Po=(()=>{class t{static#e=this.NULL=new PF}return t})();function NF(){return No(Ct(),D())}function No(t,i){return new W(Jt(t,i))}let W=(()=>{class t{constructor(e){this.nativeElement=e}static#e=this.__NG_ELEMENT_ID__=NF}return t})();function LF(t){return t instanceof W?t.nativeElement:t}class ps{}let xi=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function BF(){const t=D(),e=oi(Ct().index,t);return(Xt(e)?e:t)[ce]}()}return t})(),VF=(()=>{class t{static#e=this.\u0275prov=M({token:t,providedIn:"root",factory:()=>null})}return t})();class Sr{constructor(i){this.full=i,this.major=i.split(".")[0],this.minor=i.split(".")[1],this.patch=i.split(".").slice(2).join(".")}}const HF=new Sr("16.2.7"),Qm={};function _0(t,i=null,e=null,n){const r=b0(t,i,e,n);return r.resolveInjectorInitializers(),r}function b0(t,i=null,e=null,n,r=new Set){const o=[e||Me,pF(t)];return n=n||("object"==typeof t?void 0:ut(t)),new Il(o,i||Sl(),n||null,r)}let st=(()=>{class t{static#e=this.THROW_IF_NOT_FOUND=Va;static#t=this.NULL=new Tm;static create(e,n){if(Array.isArray(e))return _0({name:""},n,e,"");{const r=e.name??"";return _0({name:r},e.parent,e.providers,r)}}static#i=this.\u0275prov=M({token:t,providedIn:"any",factory:()=>v(e0)});static#n=this.__NG_ELEMENT_ID__=-1}return t})();function Km(t){return t.ngOriginalError}class Ri{constructor(){this._console=console}handleError(i){const e=this._findOriginalError(i);this._console.error("ERROR",i),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(i){let e=i&&Km(i);for(;e&&Km(e);)e=Km(e);return e||null}}function Jm(t){return i=>{setTimeout(t,void 0,i)}}const ne=class qF extends Y{constructor(i=!1){super(),this.__isAsync=i}emit(i){super.next(i)}subscribe(i,e,n){let r=i,o=e||(()=>null),a=n;if(i&&"object"==typeof i){const c=i;r=c.next?.bind(c),o=c.error?.bind(c),a=c.complete?.bind(c)}this.__isAsync&&(o=Jm(o),r&&(r=Jm(r)),a&&(a=Jm(a)));const s=super.subscribe({next:r,error:o,complete:a});return i instanceof Qe&&i.add(s),s}};function y0(...t){}class z{constructor({enableLongStackTrace:i=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ne(!1),this.onMicrotaskEmpty=new ne(!1),this.onStable=new ne(!1),this.onError=new ne(!1),typeof Zone>"u")throw new x(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&e,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function YF(){const t="function"==typeof Ve.requestAnimationFrame;let i=Ve[t?"requestAnimationFrame":"setTimeout"],e=Ve[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&i&&e){const n=i[Zone.__symbol__("OriginalDelegate")];n&&(i=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:i,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function KF(t){const i=()=>{!function ZF(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Ve,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,tp(t),t.isCheckStableRunning=!0,ep(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),tp(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,n,r,o,a,s)=>{if(function JF(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(s))return e.invokeTask(r,o,a,s);try{return x0(t),e.invokeTask(r,o,a,s)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&i(),w0(t)}},onInvoke:(e,n,r,o,a,s,c)=>{try{return x0(t),e.invoke(r,o,a,s,c)}finally{t.shouldCoalesceRunChangeDetection&&i(),w0(t)}},onHasTask:(e,n,r,o)=>{e.hasTask(r,o),n===r&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,tp(t),ep(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,n,r,o)=>(e.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!z.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(z.isInAngularZone())throw new x(909,!1)}run(i,e,n){return this._inner.run(i,e,n)}runTask(i,e,n,r){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,i,QF,y0,y0);try{return o.runTask(a,e,n)}finally{o.cancelTask(a)}}runGuarded(i,e,n){return this._inner.runGuarded(i,e,n)}runOutsideAngular(i){return this._outer.run(i)}}const QF={};function ep(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 tp(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function x0(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function w0(t){t._nesting--,ep(t)}class XF{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ne,this.onMicrotaskEmpty=new ne,this.onStable=new ne,this.onError=new ne}run(i,e,n){return i.apply(e,n)}runGuarded(i,e,n){return i.apply(e,n)}runOutsideAngular(i){return i()}runTask(i,e,n,r){return i.apply(e,n)}}const C0=new y("",{providedIn:"root",factory:D0});function D0(){const t=I(z);let i=!0;return vr(new Be(r=>{i=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{r.next(i),r.complete()})}),new Be(r=>{let o;t.runOutsideAngular(()=>{o=t.onStable.subscribe(()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{!i&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(i=!0,r.next(!0))})})});const a=t.onUnstable.subscribe(()=>{z.assertInAngularZone(),i&&(i=!1,t.runOutsideAngular(()=>{r.next(!1)}))});return()=>{o.unsubscribe(),a.unsubscribe()}}).pipe(bh()))}function k0(t){return t.ownerDocument.defaultView}function wn(t){return t instanceof Function?t():t}let ip=(()=>{class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=M({token:t,providedIn:"root",factory:()=>new t})}return t})();function fs(t){for(;t;){t[ue]|=64;const i=as(t);if(Lh(t)&&!i)return t;t=i}return null}const T0=new y("",{providedIn:"root",factory:()=>!1});let Ll=null;function F0(t,i){return t[i]??L0()}function P0(t,i){const e=L0();e.producerNode?.length&&(t[i]=Ll,e.lView=t,Ll=N0())}const cP={...sv,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{fs(t.lView)},lView:null};function N0(){return Object.create(cP)}function L0(){return Ll??=N0(),Ll}const le={};function O(t){B0(Ce(),D(),Vt()+t,!1)}function B0(t,i,e,n){if(!n)if(3==(3&i[ue])){const o=t.preOrderCheckHooks;null!==o&&tl(i,o,e)}else{const o=t.preOrderHooks;null!==o&&il(i,o,0,e)}Cr(e)}function p(t,i=ge.Default){const e=D();return null===e?v(t,i):Xv(Ct(),e,X(t),i)}function qn(){throw new Error("invalid")}function Bl(t,i,e,n,r,o,a,s,c,l,d){const u=i.blueprint.slice();return u[Ze]=r,u[ue]=140|n,(null!==l||t&&2048&t[ue])&&(u[ue]|=2048),Ev(u),u[$e]=u[lo]=t,u[tt]=e,u[co]=a||t&&t[co],u[ce]=s||t&&t[ce],u[jn]=c||t&&t[jn]||null,u[It]=o,u[Wa]=function hO(){return uO++}(),u[_n]=d,u[nv]=l,u[it]=2==i.type?t[it]:u,u}function Vo(t,i,e,n,r){let o=t.data[i];if(null===o)o=function np(t,i,e,n,r){const o=Ov(),a=Gh(),c=t.data[i]=function gP(t,i,e,n,r,o){let a=i?i.injectorIndex:-1,s=0;return fo()&&(s|=128),{type:e,index:n,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,e,i,n,r);return null===t.firstChild&&(t.firstChild=c),null!==o&&(a?null==o.child&&null!==c.parent&&(o.child=c):null===o.next&&(o.next=c,c.prev=o)),c}(t,i,e,n,r),function mR(){return Z.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=e,o.value=n,o.attrs=r;const a=function Ka(){const t=Z.lFrame,i=t.currentTNode;return t.isParent?i:i.parent}();o.injectorIndex=null===a?-1:a.injectorIndex}return Yi(o,!0),o}function gs(t,i,e,n){if(0===e)return-1;const r=i.length;for(let o=0;o<e;o++)i.push(n),t.blueprint.push(n),t.data.push(null);return r}function V0(t,i,e,n,r){const o=F0(i,qa),a=Vt(),s=2&n;try{Cr(-1),s&&i.length>_e&&B0(t,i,_e,!1),qi(s?2:0,r);const l=s?o:null,d=Vh(l);try{null!==l&&(l.dirty=!1),e(n,r)}finally{Hh(l,d)}}finally{s&&null===i[qa]&&P0(i,qa),Cr(a),qi(s?3:1,r)}}function rp(t,i,e){if(Nh(i)){const n=bi(null);try{const o=i.directiveEnd;for(let a=i.directiveStart;a<o;a++){const s=t.data[a];s.contentQueries&&s.contentQueries(1,e[a],a)}}finally{bi(n)}}}function op(t,i,e){Rv()&&(function CP(t,i,e,n){const r=e.directiveStart,o=e.directiveEnd;xr(e)&&function TP(t,i,e){const n=Jt(i,t),r=H0(e);let a=16;e.signals?a=4096:e.onPush&&(a=64);const s=Vl(t,Bl(t,r,null,a,n,i,null,t[co].rendererFactory.createRenderer(n,e),null,null,null));t[i.index]=s}(i,e,t.data[r+e.componentOffset]),t.firstCreatePass||rl(e,i),Tt(n,i);const a=e.initialInputs;for(let s=r;s<o;s++){const c=t.data[s],l=Dr(i,t,s,e);Tt(l,i),null!==a&&AP(0,s-r,l,c,0,a),Ai(c)&&(oi(e.index,i)[tt]=Dr(i,t,s,e))}}(t,i,e,Jt(e,i)),64==(64&e.flags)&&G0(t,i,e))}function ap(t,i,e=Jt){const n=i.localNames;if(null!==n){let r=i.index+1;for(let o=0;o<n.length;o+=2){const a=n[o+1],s=-1===a?e(i,t):t[a];t[r++]=s}}}function H0(t){const i=t.tView;return null===i||i.incompleteFirstPass?t.tView=sp(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):i}function sp(t,i,e,n,r,o,a,s,c,l,d){const u=_e+n,h=u+r,m=function dP(t,i){const e=[];for(let n=0;n<i;n++)e.push(n<t?null:le);return e}(u,h),f="function"==typeof l?l():l;return m[F]={type:t,blueprint:m,template:e,queries:null,viewQuery:s,declTNode:i,data:m.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,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 o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:c,consts:f,incompleteFirstPass:!1,ssrId:d}}let j0=t=>null;function z0(t,i,e,n){for(let r in t)if(t.hasOwnProperty(r)){e=null===e?{}:e;const o=t[r];null===n?U0(e,i,r,o):n.hasOwnProperty(r)&&U0(e,i,n[r],o)}return e}function U0(t,i,e,n){t.hasOwnProperty(e)?t[e].push(i,n):t[e]=[i,n]}function li(t,i,e,n,r,o,a,s){const c=Jt(i,e);let d,l=i.inputs;!s&&null!=l&&(d=l[n])?(hp(t,e,d,n,r),xr(i)&&function vP(t,i){const e=oi(i,t);16&e[ue]||(e[ue]|=64)}(e,i.index)):3&i.type&&(n=function bP(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(n),r=null!=a?a(r,i.value||"",n):r,o.setProperty(c,n,r))}function cp(t,i,e,n){if(Rv()){const r=null===n?null:{"":-1},o=function kP(t,i){const e=t.directiveRegistry;let n=null,r=null;if(e)for(let o=0;o<e.length;o++){const a=e[o];if(Kb(i,a.selectors,!1))if(n||(n=[]),Ai(a))if(null!==a.findHostDirectiveDefs){const s=[];r=r||new Map,a.findHostDirectiveDefs(a,s,r),n.unshift(...s,a),lp(t,i,s.length)}else n.unshift(a),lp(t,i,0);else r=r||new Map,a.findHostDirectiveDefs?.(a,n,r),n.push(a)}return null===n?null:[n,r]}(t,e);let a,s;null===o?a=s=null:[a,s]=o,null!==a&&$0(t,i,e,a,r,s),r&&function MP(t,i,e){if(i){const n=t.localNames=[];for(let r=0;r<i.length;r+=2){const o=e[i[r+1]];if(null==o)throw new x(-301,!1);n.push(i[r],o)}}}(e,n,r)}e.mergedAttrs=za(e.mergedAttrs,e.attrs)}function $0(t,i,e,n,r,o){for(let l=0;l<n.length;l++)rm(rl(e,i),t,n[l].type);!function SP(t,i,e){t.flags|=1,t.directiveStart=i,t.directiveEnd=i+e,t.providerIndexes=i}(e,t.data.length,n.length);for(let l=0;l<n.length;l++){const d=n[l];d.providersResolver&&d.providersResolver(d)}let a=!1,s=!1,c=gs(t,i,n.length,null);for(let l=0;l<n.length;l++){const d=n[l];e.mergedAttrs=za(e.mergedAttrs,d.hostAttrs),IP(t,e,i,c,d),EP(c,d,r),null!==d.contentQueries&&(e.flags|=4),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(e.flags|=64);const u=d.type.prototype;!a&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),a=!0),!s&&(u.ngOnChanges||u.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),s=!0),c++}!function _P(t,i,e){const r=i.directiveEnd,o=t.data,a=i.attrs,s=[];let c=null,l=null;for(let d=i.directiveStart;d<r;d++){const u=o[d],h=e?e.get(u):null,f=h?h.outputs:null;c=z0(u.inputs,d,c,h?h.inputs:null),l=z0(u.outputs,d,l,f);const g=null===c||null===a||Zb(i)?null:RP(c,d,a);s.push(g)}null!==c&&(c.hasOwnProperty("class")&&(i.flags|=8),c.hasOwnProperty("style")&&(i.flags|=16)),i.initialInputs=s,i.inputs=c,i.outputs=l}(t,e,o)}function G0(t,i,e){const n=e.directiveStart,r=e.directiveEnd,o=e.index,a=function fR(){return Z.lFrame.currentDirectiveIndex}();try{Cr(o);for(let s=n;s<r;s++){const c=t.data[s],l=i[s];qh(s),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&DP(c,l)}}finally{Cr(-1),qh(a)}}function DP(t,i){null!==t.hostBindings&&t.hostBindings(1,i)}function lp(t,i,e){i.componentOffset=e,(t.components??=[]).push(i.index)}function EP(t,i,e){if(e){if(i.exportAs)for(let n=0;n<i.exportAs.length;n++)e[i.exportAs[n]]=t;Ai(i)&&(e[""]=t)}}function IP(t,i,e,n,r){t.data[n]=r;const o=r.factory||(r.factory=wr(r.type)),a=new Xa(o,Ai(r),p);t.blueprint[n]=a,e[n]=a,function xP(t,i,e,n,r){const o=r.hostBindings;if(o){let a=t.hostBindingOpCodes;null===a&&(a=t.hostBindingOpCodes=[]);const s=~i.index;(function wP(t){let i=t.length;for(;i>0;){const e=t[--i];if("number"==typeof e&&e<0)return e}return 0})(a)!=s&&a.push(s),a.push(e,n,o)}}(t,i,n,gs(t,e,r.hostVars,le),r)}function en(t,i,e,n,r,o){const a=Jt(t,i);!function dp(t,i,e,n,r,o,a){if(null==o)t.removeAttribute(i,r,e);else{const s=null==a?ae(o):a(o,n||"",r);t.setAttribute(i,r,s,e)}}(i[ce],a,o,t.value,e,n,r)}function AP(t,i,e,n,r,o){const a=o[i];if(null!==a)for(let s=0;s<a.length;)W0(n,e,a[s++],a[s++],a[s++])}function W0(t,i,e,n,r){const o=bi(null);try{const a=t.inputTransforms;null!==a&&a.hasOwnProperty(n)&&(r=a[n].call(i,r)),null!==t.setInput?t.setInput(i,r,e,n):i[n]=r}finally{bi(o)}}function RP(t,i,e){let n=null,r=0;for(;r<e.length;){const o=e[r];if(0!==o)if(5!==o){if("number"==typeof o)break;if(t.hasOwnProperty(o)){null===n&&(n=[]);const a=t[o];for(let s=0;s<a.length;s+=2)if(a[s]===i){n.push(o,a[s+1],e[r+1]);break}}r+=2}else r+=2;else r+=4}return n}function q0(t,i,e,n){return[t,!0,!1,i,null,0,n,e,null,null,null]}function Y0(t,i){const e=t.contentQueries;if(null!==e)for(let n=0;n<e.length;n+=2){const o=e[n+1];if(-1!==o){const a=t.data[o];Qh(e[n]),a.contentQueries(2,i[o],o)}}}function Vl(t,i){return t[$a]?t[iv][Ti]=i:t[$a]=i,t[iv]=i,i}function up(t,i,e){Qh(0);const n=bi(null);try{i(t,e)}finally{bi(n)}}function Q0(t){return t[so]||(t[so]=[])}function Z0(t){return t.cleanup||(t.cleanup=[])}function X0(t,i){const e=t[jn],n=e?e.get(Ri,null):null;n&&n.handleError(i)}function hp(t,i,e,n,r){for(let o=0;o<e.length;){const a=e[o++],s=e[o++];W0(t.data[a],i[a],n,s,r)}}function OP(t,i){const e=oi(i,t),n=e[F];!function FP(t,i){for(let e=i.length;e<t.blueprint.length;e++)i.push(t.blueprint[e])}(n,e);const r=e[Ze];null!==r&&null===e[_n]&&(e[_n]=Wm(r,e[jn])),mp(n,e,e[tt])}function mp(t,i,e){Zh(i);try{const n=t.viewQuery;null!==n&&up(1,n,e);const r=t.template;null!==r&&V0(t,i,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Y0(t,i),t.staticViewQueries&&up(2,t.viewQuery,e);const o=t.components;null!==o&&function PP(t,i){for(let e=0;e<i.length;e++)OP(t,i[e])}(i,o)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{i[ue]&=-5,Kh()}}let J0=(()=>{class t{constructor(){this.all=new Set,this.queue=new Map}create(e,n,r){const o=typeof Zone>"u"?null:Zone.current,a=function G1(t,i,e){const n=Object.create(W1);e&&(n.consumerAllowSignalWrites=!0),n.fn=t,n.schedule=i;const r=a=>{n.cleanupFn=a};return n.ref={notify:()=>uv(n),run:()=>{if(n.dirty=!1,n.hasRun&&!hv(n))return;n.hasRun=!0;const a=Vh(n);try{n.cleanupFn(),n.cleanupFn=yv,n.fn(r)}finally{Hh(n,a)}},cleanup:()=>n.cleanupFn()},n.ref}(e,l=>{this.all.has(l)&&this.queue.set(l,o)},r);let s;this.all.add(a),a.notify();const c=()=>{a.cleanup(),s?.(),this.all.delete(a),this.queue.delete(a)};return s=n?.onDestroy(c),{destroy:c}}flush(){if(0!==this.queue.size)for(const[e,n]of this.queue)this.queue.delete(e),n?n.run(()=>e.run()):e.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=M({token:t,providedIn:"root",factory:()=>new t})}return t})();function Hl(t,i,e){let n=e?t.styles:null,r=e?t.classes:null,o=0;if(null!==i)for(let a=0;a<i.length;a++){const s=i[a];"number"==typeof s?o=s:1==o?r=yh(r,s):2==o&&(n=yh(n,s+": "+i[++a]+";"))}e?t.styles=n:t.stylesWithoutHost=n,e?t.classes=r:t.classesWithoutHost=r}function _s(t,i,e,n,r=!1){for(;null!==e;){const o=i[e.index];null!==o&&n.push(He(o)),Lt(o)&&ex(o,n);const a=e.type;if(8&a)_s(t,i,e.child,n);else if(32&a){const s=gm(e,i);let c;for(;c=s();)n.push(c)}else if(16&a){const s=Ly(i,e);if(Array.isArray(s))n.push(...s);else{const c=as(i[it]);_s(c[F],c,s,n,!0)}}e=r?e.projectionNext:e.next}return n}function ex(t,i){for(let e=xt;e<t.length;e++){const n=t[e],r=n[F].firstChild;null!==r&&_s(n[F],n,r,i)}t[Wi]!==t[Ze]&&i.push(t[Wi])}function jl(t,i,e,n=!0){const r=i[co],o=r.rendererFactory,a=r.afterRenderEventManager;o.begin?.(),a?.begin();try{tx(t,i,t.template,e)}catch(c){throw n&&X0(i,c),c}finally{o.end?.(),r.effectManager?.flush(),a?.end()}}function tx(t,i,e,n){const r=i[ue];if(256!=(256&r)){i[co].effectManager?.flush(),Zh(i);try{Ev(i),function Pv(t){return Z.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==e&&V0(t,i,e,2,n);const a=3==(3&r);if(a){const l=t.preOrderCheckHooks;null!==l&&tl(i,l,null)}else{const l=t.preOrderHooks;null!==l&&il(i,l,0,null),Jh(i,0)}if(function BP(t){for(let i=ky(t);null!==i;i=My(i)){if(!i[rv])continue;const e=i[ho];for(let n=0;n<e.length;n++){iR(e[n])}}}(i),ix(i,2),null!==t.contentQueries&&Y0(t,i),a){const l=t.contentCheckHooks;null!==l&&tl(i,l)}else{const l=t.contentHooks;null!==l&&il(i,l,1),Jh(i,1)}!function lP(t,i){const e=t.hostBindingOpCodes;if(null===e)return;const n=F0(i,Ya);try{for(let r=0;r<e.length;r++){const o=e[r];if(o<0)Cr(~o);else{const a=o,s=e[++r],c=e[++r];pR(s,a),n.dirty=!1;const l=Vh(n);try{c(2,i[a])}finally{Hh(n,l)}}}}finally{null===i[Ya]&&P0(i,Ya),Cr(-1)}}(t,i);const s=t.components;null!==s&&rx(i,s,0);const c=t.viewQuery;if(null!==c&&up(2,c,n),a){const l=t.viewCheckHooks;null!==l&&tl(i,l)}else{const l=t.viewHooks;null!==l&&il(i,l,2),Jh(i,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),i[ue]&=-73,Sv(i)}finally{Kh()}}}function ix(t,i){for(let e=ky(t);null!==e;e=My(e))for(let n=xt;n<e.length;n++)nx(e[n],i)}function VP(t,i,e){nx(oi(i,t),e)}function nx(t,i){if(!function eR(t){return 128==(128&t[ue])}(t))return;const e=t[F],n=t[ue];if(80&n&&0===i||1024&n||2===i)tx(e,t,e.template,t[tt]);else if(t[Ua]>0){ix(t,1);const r=e.components;null!==r&&rx(t,r,1)}}function rx(t,i,e){for(let n=0;n<i.length;n++)VP(t,i[n],e)}class bs{get rootNodes(){const i=this._lView,e=i[F];return _s(e,i,e.firstChild,[])}constructor(i,e){this._lView=i,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[tt]}set context(i){this._lView[tt]=i}get destroyed(){return 256==(256&this._lView[ue])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const i=this._lView[$e];if(Lt(i)){const e=i[8],n=e?e.indexOf(this):-1;n>-1&&(_l(i,n),sl(e,n))}this._attachedToViewContainer=!1}bm(this._lView[F],this._lView)}onDestroy(i){!function Tv(t,i){if(256==(256&t[ue]))throw new x(911,!1);null===t[zn]&&(t[zn]=[]),t[zn].push(i)}(this._lView,i)}markForCheck(){fs(this._cdRefInjectingView||this._lView)}detach(){this._lView[ue]&=-129}reattach(){this._lView[ue]|=128}detectChanges(){jl(this._lView[F],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function MO(t,i){cs(t,i,i[ce],2,null,null)}(this._lView[F],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=i}}class HP extends bs{constructor(i){super(i),this._view=i}detectChanges(){const i=this._view;jl(i[F],i,i[tt],!1)}checkNoChanges(){}get context(){return null}}class ox extends Po{constructor(i){super(),this.ngModule=i}resolveComponentFactory(i){const e=we(i);return new vs(e,this.ngModule)}}function ax(t){const i=[];for(let e in t)t.hasOwnProperty(e)&&i.push({propName:t[e],templateName:e});return i}class zP{constructor(i,e){this.injector=i,this.parentInjector=e}get(i,e,n){n=$c(n);const r=this.injector.get(i,Qm,n);return r!==Qm||e===Qm?r:this.parentInjector.get(i,e,n)}}class vs extends h0{get inputs(){const i=this.componentDef,e=i.inputTransforms,n=ax(i.inputs);if(null!==e)for(const r of n)e.hasOwnProperty(r.propName)&&(r.transform=e[r.propName]);return n}get outputs(){return ax(this.componentDef.outputs)}constructor(i,e){super(),this.componentDef=i,this.ngModule=e,this.componentType=i.type,this.selector=function M1(t){return t.map(k1).join(",")}(i.selectors),this.ngContentSelectors=i.ngContentSelectors?i.ngContentSelectors:[],this.isBoundToModule=!!e}create(i,e,n,r){let o=(r=r||this.ngModule)instanceof ci?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const a=o?new zP(i,o):i,s=a.get(ps,null);if(null===s)throw new x(407,!1);const u={rendererFactory:s,sanitizer:a.get(VF,null),effectManager:a.get(J0,null),afterRenderEventManager:a.get(ip,null)},h=s.createRenderer(null,this.componentDef),m=this.componentDef.selectors[0][0]||"div",f=n?function uP(t,i,e,n){const o=n.get(T0,!1)||e===_i.ShadowDom,a=t.selectRootElement(i,o);return function hP(t){j0(t)}(a),a}(h,n,this.componentDef.encapsulation,a):gl(h,m,function jP(t){const i=t.toLowerCase();return"svg"===i?"svg":"math"===i?"math":null}(m)),w=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let b=null;null!==f&&(b=Wm(f,a,!0));const S=sp(0,null,null,1,0,null,null,null,null,null,null),P=Bl(null,S,null,w,null,null,u,h,a,null,b);let oe,Ne;Zh(P);try{const Ue=this.componentDef;let St,mi=null;Ue.findHostDirectiveDefs?(St=[],mi=new Map,Ue.findHostDirectiveDefs(Ue,St,mi),St.push(Ue)):St=[Ue];const zi=function $P(t,i){const e=t[F],n=_e;return t[n]=i,Vo(e,n,2,"#host",null)}(P,f),rh=function GP(t,i,e,n,r,o,a){const s=r[F];!function WP(t,i,e,n){for(const r of t)i.mergedAttrs=za(i.mergedAttrs,r.hostAttrs);null!==i.mergedAttrs&&(Hl(i,i.mergedAttrs,!0),null!==e&&jy(n,e,i))}(n,t,i,a);let c=null;null!==i&&(c=Wm(i,r[jn]));const l=o.rendererFactory.createRenderer(i,e);let d=16;e.signals?d=4096:e.onPush&&(d=64);const u=Bl(r,H0(e),null,d,r[t.index],t,o,l,null,null,c);return s.firstCreatePass&&lp(s,t,n.length-1),Vl(r,u),r[t.index]=u}(zi,f,Ue,St,P,u,h);Ne=Mv(S,_e),f&&function YP(t,i,e,n){if(n)Fh(t,e,["ng-version",HF.full]);else{const{attrs:r,classes:o}=function E1(t){const i=[],e=[];let n=1,r=2;for(;n<t.length;){let o=t[n];if("string"==typeof o)2===r?""!==o&&i.push(o,t[++n]):8===r&&e.push(o);else{if(!Ii(r))break;r=o}n++}return{attrs:i,classes:e}}(i.selectors[0]);r&&Fh(t,e,r),o&&o.length>0&&Hy(t,e,o.join(" "))}}(h,Ue,f,n),void 0!==e&&function QP(t,i,e){const n=t.projection=[];for(let r=0;r<i.length;r++){const o=e[r];n.push(null!=o?Array.from(o):null)}}(Ne,this.ngContentSelectors,e),oe=function qP(t,i,e,n,r,o){const a=Ct(),s=r[F],c=Jt(a,r);$0(s,r,a,e,null,n);for(let d=0;d<e.length;d++)Tt(Dr(r,s,a.directiveStart+d,a),r);G0(s,r,a),c&&Tt(c,r);const l=Dr(r,s,a.directiveStart+a.componentOffset,a);if(t[tt]=r[tt]=l,null!==o)for(const d of o)d(l,i);return rp(s,a,t),l}(rh,Ue,St,mi,P,[ZP]),mp(S,P,null)}finally{Kh()}return new UP(this.componentType,oe,No(Ne,P),P,Ne)}}class UP extends OF{constructor(i,e,n,r,o){super(),this.location=n,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new HP(r),this.componentType=i}setInput(i,e){const n=this._tNode.inputs;let r;if(null!==n&&(r=n[i])){if(this.previousInputValues??=new Map,this.previousInputValues.has(i)&&Object.is(this.previousInputValues.get(i),e))return;const o=this._rootLView;hp(o[F],o,r,i,e),this.previousInputValues.set(i,e),fs(oi(this._tNode.index,o))}}get injector(){return new Ht(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(i){this.hostView.onDestroy(i)}}function ZP(){const t=Ct();el(D()[F],t)}function T(t){let i=function sx(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),e=!0;const n=[t];for(;i;){let r;if(Ai(t))r=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new x(903,!1);r=i.\u0275dir}if(r){if(e){n.push(r);const a=t;a.inputs=zl(t.inputs),a.inputTransforms=zl(t.inputTransforms),a.declaredInputs=zl(t.declaredInputs),a.outputs=zl(t.outputs);const s=r.hostBindings;s&&eN(t,s);const c=r.viewQuery,l=r.contentQueries;if(c&&XP(t,c),l&&JP(t,l),Bc(t.inputs,r.inputs),Bc(t.declaredInputs,r.declaredInputs),Bc(t.outputs,r.outputs),null!==r.inputTransforms&&(null===a.inputTransforms&&(a.inputTransforms={}),Bc(a.inputTransforms,r.inputTransforms)),Ai(r)&&r.data.animation){const d=t.data;d.animation=(d.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let a=0;a<o.length;a++){const s=o[a];s&&s.ngInherit&&s(t),s===T&&(e=!1)}}i=Object.getPrototypeOf(i)}!function KP(t){let i=0,e=null;for(let n=t.length-1;n>=0;n--){const r=t[n];r.hostVars=i+=r.hostVars,r.hostAttrs=za(r.hostAttrs,e=za(e,r.hostAttrs))}}(n)}function zl(t){return t===$i?{}:t===Me?[]:t}function XP(t,i){const e=t.viewQuery;t.viewQuery=e?(n,r)=>{i(n,r),e(n,r)}:i}function JP(t,i){const e=t.contentQueries;t.contentQueries=e?(n,r,o)=>{i(n,r,o),e(n,r,o)}:i}function eN(t,i){const e=t.hostBindings;t.hostBindings=e?(n,r)=>{i(n,r),e(n,r)}:i}function Ul(t){return!!pp(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function pp(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function tn(t,i,e){return t[i]=e}function At(t,i,e){return!Object.is(t[i],e)&&(t[i]=e,!0)}function Ir(t,i,e,n){const r=At(t,i,e);return At(t,i+1,n)||r}function J(t,i,e,n){const r=D();return At(r,bo(),i)&&(Ce(),en(We(),r,t,i,e,n)),J}function V(t,i,e,n,r,o,a,s){const c=D(),l=Ce(),d=t+_e,u=l.firstCreatePass?function kN(t,i,e,n,r,o,a,s,c){const l=i.consts,d=Vo(i,t,4,a||null,$n(l,s));cp(i,e,d,$n(l,c)),el(i,d);const u=d.tView=sp(2,d,n,r,o,i.directiveRegistry,i.pipeRegistry,null,i.schemas,l,null);return null!==i.queries&&(i.queries.template(i,d),u.queries=i.queries.embeddedTView(d)),d}(d,l,c,i,e,n,r,o,a):l.data[d];Yi(u,!1);const h=Dx(l,c,u,t);Jc()&&vl(l,c,h,u),Tt(h,c),Vl(c,c[d]=q0(h,c,h,u)),Qc(u)&&op(l,c,u),null!=a&&ap(c,u,s)}let Dx=function kx(t,i,e,n){return Gn(!0),i[ce].createComment("")};function R(t,i,e){const n=D();return At(n,bo(),i)&&li(Ce(),We(),n,t,i,n[ce],e,!1),R}function yp(t,i,e,n,r){const a=r?"class":"style";hp(t,e,i.inputs[a],a,n)}function k(t,i,e,n){const r=D(),o=Ce(),a=_e+t,s=r[ce],c=o.firstCreatePass?function IN(t,i,e,n,r,o){const a=i.consts,c=Vo(i,t,2,n,$n(a,r));return cp(i,e,c,$n(a,o)),null!==c.attrs&&Hl(c,c.attrs,!1),null!==c.mergedAttrs&&Hl(c,c.mergedAttrs,!0),null!==i.queries&&i.queries.elementStart(i,c),c}(a,o,r,i,e,n):o.data[a],l=Mx(o,r,c,s,i,t);r[a]=l;const d=Qc(c);return Yi(c,!0),jy(s,l,c),32!=(32&c.flags)&&Jc()&&vl(o,r,l,c),0===function rR(){return Z.lFrame.elementDepthCount}()&&Tt(l,r),function oR(){Z.lFrame.elementDepthCount++}(),d&&(op(o,r,c),rp(o,c,r)),null!==n&&ap(r,c),k}function E(){let t=Ct();Gh()?Wh():(t=t.parent,Yi(t,!1));const i=t;(function sR(t){return Z.skipHydrationRootTNode===t})(i)&&function uR(){Z.skipHydrationRootTNode=null}(),function aR(){Z.lFrame.elementDepthCount--}();const e=Ce();return e.firstCreatePass&&(el(e,t),Nh(t)&&e.queries.elementEnd(t)),null!=i.classesWithoutHost&&function DR(t){return 0!=(8&t.flags)}(i)&&yp(e,i,D(),i.classesWithoutHost,!0),null!=i.stylesWithoutHost&&function kR(t){return 0!=(16&t.flags)}(i)&&yp(e,i,D(),i.stylesWithoutHost,!1),E}function K(t,i,e,n){return k(t,i,e,n),E(),K}let Mx=(t,i,e,n,r,o)=>(Gn(!0),gl(n,r,function Uv(){return Z.lFrame.currentNamespace}()));function nn(t,i,e){const n=D(),r=Ce(),o=t+_e,a=r.firstCreatePass?function RN(t,i,e,n,r){const o=i.consts,a=$n(o,n),s=Vo(i,t,8,"ng-container",a);return null!==a&&Hl(s,a,!0),cp(i,e,s,$n(o,r)),null!==i.queries&&i.queries.elementStart(i,s),s}(o,r,n,i,e):r.data[o];Yi(a,!0);const s=Ex(r,n,a,t);return n[o]=s,Jc()&&vl(r,n,s,a),Tt(s,n),Qc(a)&&(op(r,n,a),rp(r,a,n)),null!=e&&ap(n,a),nn}function rn(){let t=Ct();const i=Ce();return Gh()?Wh():(t=t.parent,Yi(t,!1)),i.firstCreatePass&&(el(i,t),Nh(t)&&i.queries.elementEnd(t)),rn}function zt(t,i,e){return nn(t,i,e),rn(),zt}let Ex=(t,i,e,n)=>(Gn(!0),_m(i[ce],""));function Qo(){return D()}function Ds(t){return!!t&&"function"==typeof t.then}function Sx(t){return!!t&&"function"==typeof t.subscribe}function fe(t,i,e,n){const r=D(),o=Ce(),a=Ct();return function Tx(t,i,e,n,r,o,a){const s=Qc(n),l=t.firstCreatePass&&Z0(t),d=i[tt],u=Q0(i);let h=!0;if(3&n.type||a){const g=Jt(n,i),_=a?a(g):g,w=u.length,b=a?P=>a(He(P[n.index])):n.index;let S=null;if(!a&&s&&(S=function PN(t,i,e,n){const r=t.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const a=r[o];if(a===e&&r[o+1]===n){const s=i[so],c=r[o+2];return s.length>c?s[c]:null}"string"==typeof a&&(o+=2)}return null}(t,i,r,n.index)),null!==S)(S.__ngLastListenerFn__||S).__ngNextListenerFn__=o,S.__ngLastListenerFn__=o,h=!1;else{o=Rx(n,i,d,o,!1);const P=e.listen(_,r,o);u.push(o,P),l&&l.push(r,b,w,w+1)}}else o=Rx(n,i,d,o,!1);const m=n.outputs;let f;if(h&&null!==m&&(f=m[r])){const g=f.length;if(g)for(let _=0;_<g;_+=2){const oe=i[f[_]][f[_+1]].subscribe(o),Ne=u.length;u.push(o,oe),l&&l.push(r,n.index,Ne,-(Ne+1))}}}(o,r,r[ce],a,t,i,n),fe}function Ax(t,i,e,n){try{return qi(6,i,e),!1!==e(n)}catch(r){return X0(t,r),!1}finally{qi(7,i,e)}}function Rx(t,i,e,n,r){return function o(a){if(a===Function)return n;fs(t.componentOffset>-1?oi(t.index,i):i);let c=Ax(i,e,n,a),l=o.__ngNextListenerFn__;for(;l;)c=Ax(i,e,l,a)&&c,l=l.__ngNextListenerFn__;return r&&!1===c&&a.preventDefault(),c}}function Ee(t=1){return function _R(t){return(Z.lFrame.contextLView=function bR(t,i){for(;t>0;)i=i[lo],t--;return i}(t,Z.lFrame.contextLView))[tt]}(t)}function NN(t,i){let e=null;const n=function x1(t){const i=t.attrs;if(null!=i){const e=i.indexOf(5);if(!(1&e))return i[e+1]}return null}(t);for(let r=0;r<i.length;r++){const o=i[r];if("*"!==o){if(null===n?Kb(t,o,!0):D1(n,o))return r}else e=r}return e}function Ke(t){const i=D()[it][It];if(!i.projection){const n=i.projection=ns(t?t.length:1,null),r=n.slice();let o=i.child;for(;null!==o;){const a=t?NN(o,t):0;null!==a&&(r[a]?r[a].projectionNext=o:n[a]=o,r[a]=o),o=o.next}}}function he(t,i=0,e){const n=D(),r=Ce(),o=Vo(r,_e+t,16,null,e||null);null===o.projection&&(o.projection=i),Wh(),(!n[_n]||fo())&&32!=(32&o.flags)&&function FO(t,i,e){Vy(i[ce],0,i,e,ym(t,e,i),Oy(e.parent||i[It],e,i))}(r,n,o)}function Yl(t,i){return t<<17|i<<2}function Yn(t){return t>>17&32767}function wp(t){return 2|t}function Tr(t){return(131068&t)>>2}function Cp(t,i){return-131069&t|i<<2}function Dp(t){return 1|t}function zx(t,i,e,n,r){const o=t[e+1],a=null===i;let s=n?Yn(o):Tr(o),c=!1;for(;0!==s&&(!1===c||a);){const d=t[s+1];zN(t[s],i)&&(c=!0,t[s+1]=n?Dp(d):wp(d)),s=n?Yn(d):Tr(d)}c&&(t[e+1]=n?wp(o):Dp(o))}function zN(t,i){return null===t||null==i||(Array.isArray(t)?t[1]:t)===i||!(!Array.isArray(t)||"string"!=typeof i)&&Mo(t,i)>=0}const pt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ux(t){return t.substring(pt.key,pt.keyEnd)}function UN(t){return t.substring(pt.value,pt.valueEnd)}function $x(t,i){const e=pt.textEnd;return e===i?-1:(i=pt.keyEnd=function WN(t,i,e){for(;i<e&&t.charCodeAt(i)>32;)i++;return i}(t,pt.key=i,e),Zo(t,i,e))}function Gx(t,i){const e=pt.textEnd;let n=pt.key=Zo(t,i,e);return e===n?-1:(n=pt.keyEnd=function qN(t,i,e){let n;for(;i<e&&(45===(n=t.charCodeAt(i))||95===n||(-33&n)>=65&&(-33&n)<=90||n>=48&&n<=57);)i++;return i}(t,n,e),n=qx(t,n,e),n=pt.value=Zo(t,n,e),n=pt.valueEnd=function YN(t,i,e){let n=-1,r=-1,o=-1,a=i,s=a;for(;a<e;){const c=t.charCodeAt(a++);if(59===c)return s;34===c||39===c?s=a=Yx(t,c,a,e):i===a-4&&85===o&&82===r&&76===n&&40===c?s=a=Yx(t,41,a,e):c>32&&(s=a),o=r,r=n,n=-33&c}return s}(t,n,e),qx(t,n,e))}function Wx(t){pt.key=0,pt.keyEnd=0,pt.value=0,pt.valueEnd=0,pt.textEnd=t.length}function Zo(t,i,e){for(;i<e&&t.charCodeAt(i)<=32;)i++;return i}function qx(t,i,e,n){return(i=Zo(t,i,e))<e&&i++,i}function Yx(t,i,e,n){let r=-1,o=e;for(;o<n;){const a=t.charCodeAt(o++);if(a==i&&92!==r)return o;r=92==a&&92===r?0:a}throw new Error}function Se(t,i){return function Pi(t,i,e,n){const r=D(),o=Ce(),a=vn(2);o.firstUpdatePass&&Zx(o,t,a,n),i!==le&&At(r,a,i)&&Xx(o,o.data[Vt()],r,r[ce],t,r[a+1]=function r2(t,i){return null==t||""===t||("string"==typeof i?t+=i:"object"==typeof t&&(t=ut(si(t)))),t}(i,e),n,a)}(t,i,null,!0),Se}function QN(t,i){for(let e=function GN(t){return Wx(t),Gx(t,Zo(t,0,pt.textEnd))}(i);e>=0;e=Gx(i,e))Kx(t,Ux(i),UN(i))}function Dn(t){Ni(t2,on,t,!0)}function on(t,i){for(let e=function $N(t){return Wx(t),$x(t,Zo(t,0,pt.textEnd))}(i);e>=0;e=$x(i,e))ai(t,Ux(i),!0)}function Ni(t,i,e,n){const r=Ce(),o=vn(2);r.firstUpdatePass&&Zx(r,null,o,n);const a=D();if(e!==le&&At(a,o,e)){const s=r.data[Vt()];if(ew(s,n)&&!Qx(r,o)){let c=n?s.classesWithoutHost:s.stylesWithoutHost;null!==c&&(e=yh(c,e||"")),yp(r,s,a,e,n)}else!function n2(t,i,e,n,r,o,a,s){r===le&&(r=Me);let c=0,l=0,d=0<r.length?r[0]:null,u=0<o.length?o[0]:null;for(;null!==d||null!==u;){const h=c<r.length?r[c+1]:void 0,m=l<o.length?o[l+1]:void 0;let g,f=null;d===u?(c+=2,l+=2,h!==m&&(f=u,g=m)):null===u||null!==d&&d<u?(c+=2,f=d):(l+=2,f=u,g=m),null!==f&&Xx(t,i,e,n,f,g,a,s),d=c<r.length?r[c]:null,u=l<o.length?o[l]:null}}(r,s,a,a[ce],a[o+1],a[o+1]=function e2(t,i,e){if(null==e||""===e)return Me;const n=[],r=si(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(n,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&t(n,o,r[o]);else"string"==typeof r&&i(n,r);return n}(t,i,e),n,o)}}function Qx(t,i){return i>=t.expandoStartIndex}function Zx(t,i,e,n){const r=t.data;if(null===r[e+1]){const o=r[Vt()],a=Qx(t,e);ew(o,n)&&null===i&&!a&&(i=!1),i=function ZN(t,i,e,n){const r=function Yh(t){const i=Z.lFrame.currentDirectiveIndex;return-1===i?null:t[i]}(t);let o=n?i.residualClasses:i.residualStyles;if(null===r)0===(n?i.classBindings:i.styleBindings)&&(e=ks(e=kp(null,t,i,e,n),i.attrs,n),o=null);else{const a=i.directiveStylingLast;if(-1===a||t[a]!==r)if(e=kp(r,t,i,e,n),null===o){let c=function KN(t,i,e){const n=e?i.classBindings:i.styleBindings;if(0!==Tr(n))return t[Yn(n)]}(t,i,n);void 0!==c&&Array.isArray(c)&&(c=kp(null,t,i,c[1],n),c=ks(c,i.attrs,n),function XN(t,i,e,n){t[Yn(e?i.classBindings:i.styleBindings)]=n}(t,i,n,c))}else o=function JN(t,i,e){let n;const r=i.directiveEnd;for(let o=1+i.directiveStylingLast;o<r;o++)n=ks(n,t[o].hostAttrs,e);return ks(n,i.attrs,e)}(t,i,n)}return void 0!==o&&(n?i.residualClasses=o:i.residualStyles=o),e}(r,o,i,n),function HN(t,i,e,n,r,o){let a=o?i.classBindings:i.styleBindings,s=Yn(a),c=Tr(a);t[n]=e;let d,l=!1;if(Array.isArray(e)?(d=e[1],(null===d||Mo(e,d)>0)&&(l=!0)):d=e,r)if(0!==c){const h=Yn(t[s+1]);t[n+1]=Yl(h,s),0!==h&&(t[h+1]=Cp(t[h+1],n)),t[s+1]=function BN(t,i){return 131071&t|i<<17}(t[s+1],n)}else t[n+1]=Yl(s,0),0!==s&&(t[s+1]=Cp(t[s+1],n)),s=n;else t[n+1]=Yl(c,0),0===s?s=n:t[c+1]=Cp(t[c+1],n),c=n;l&&(t[n+1]=wp(t[n+1])),zx(t,d,n,!0),zx(t,d,n,!1),function jN(t,i,e,n,r){const o=r?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof i&&Mo(o,i)>=0&&(e[n+1]=Dp(e[n+1]))}(i,d,t,n,o),a=Yl(s,c),o?i.classBindings=a:i.styleBindings=a}(r,o,i,e,a,n)}}function kp(t,i,e,n,r){let o=null;const a=e.directiveEnd;let s=e.directiveStylingLast;for(-1===s?s=e.directiveStart:s++;s<a&&(o=i[s],n=ks(n,o.hostAttrs,r),o!==t);)s++;return null!==t&&(e.directiveStylingLast=s),n}function ks(t,i,e){const n=e?1:2;let r=-1;if(null!==i)for(let o=0;o<i.length;o++){const a=i[o];"number"==typeof a?r=a:r===n&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),ai(t,a,!!e||i[++o]))}return void 0===t?null:t}function Kx(t,i,e){ai(t,i,si(e))}function t2(t,i,e){const n=String(i);""!==n&&!n.includes(" ")&&ai(t,n,e)}function Xx(t,i,e,n,r,o,a,s){if(!(3&i.type))return;const c=t.data,l=c[s+1],d=function VN(t){return 1==(1&t)}(l)?Jx(c,i,e,r,Tr(l),a):void 0;Ql(d)||(Ql(o)||function LN(t){return 2==(2&t)}(l)&&(o=Jx(c,null,e,r,s,a)),function NO(t,i,e,n,r){if(i)r?t.addClass(e,n):t.removeClass(e,n);else{let o=-1===n.indexOf("-")?void 0:Wn.DashCase;null==r?t.removeStyle(e,n,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Wn.Important),t.setStyle(e,n,r,o))}}(n,a,Xc(Vt(),e),r,o))}function Jx(t,i,e,n,r,o){const a=null===i;let s;for(;r>0;){const c=t[r],l=Array.isArray(c),d=l?c[1]:c,u=null===d;let h=e[r+1];h===le&&(h=u?Me:void 0);let m=u?sm(h,n):d===n?h:void 0;if(l&&!Ql(m)&&(m=sm(c,n)),Ql(m)&&(s=m,a))return s;const f=t[r+1];r=a?Yn(f):Tr(f)}if(null!==i){let c=o?i.residualClasses:i.residualStyles;null!=c&&(s=sm(c,n))}return s}function Ql(t){return void 0!==t}function ew(t,i){return 0!=(t.flags&(i?8:16))}function Oe(t,i=""){const e=D(),n=Ce(),r=t+_e,o=n.firstCreatePass?Vo(n,r,1,i,null):n.data[r],a=tw(n,e,o,i,t);e[r]=a,Jc()&&vl(n,e,a,o),Yi(o,!1)}let tw=(t,i,e,n,r)=>(Gn(!0),function fl(t,i){return t.createText(i)}(i[ce],n));function Qn(t){return Ar("",t,""),Qn}function Ar(t,i,e){const n=D(),r=function jo(t,i,e,n){return At(t,bo(),e)?i+ae(e)+n:le}(n,t,i,e);return r!==le&&function Cn(t,i,e){const n=Xc(i,t);!function Sy(t,i,e){t.setValue(i,e)}(t[ce],n,e)}(n,Vt(),r),Ar}function Ci(t,i,e){const n=D();return At(n,bo(),i)&&li(Ce(),We(),n,t,i,n[ce],e,!0),Ci}const Jo="en-US";let ww=Jo;class Or{}class Yw{}class Rp extends Or{constructor(i,e,n){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ox(this);const r=ri(i);this._bootstrapComponents=wn(r.bootstrap),this._r3Injector=b0(i,e,[{provide:Or,useValue:this},{provide:Po,useValue:this.componentFactoryResolver},...n],ut(i),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(i)}get injector(){return this._r3Injector}destroy(){const i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}}class Op extends Yw{constructor(i){super(),this.moduleType=i}create(i){return new Rp(this.moduleType,i,[])}}class Qw extends Or{constructor(i){super(),this.componentFactoryResolver=new ox(this),this.instance=null;const e=new Il([...i.providers,{provide:Or,useValue:this},{provide:Po,useValue:this.componentFactoryResolver}],i.parent||Sl(),i.debugName,new Set(["environment"]));this.injector=e,i.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}}function Fp(t,i,e=null){return new Qw({providers:t,parent:i,debugName:e,runEnvironmentInitializers:!0}).injector}let SL=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){const n=n0(0,e.type),r=n.length>0?Fp([n],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=M({token:t,providedIn:"environment",factory:()=>new t(v(ci))})}return t})();function Fr(t){t.getStandaloneInjector=i=>i.get(SL).getOrCreateStandaloneInjector(t)}function Zn(t,i,e,n){return function nC(t,i,e,n,r,o){const a=i+e;return At(t,a,r)?tn(t,a+1,o?n.call(o,r):n(r)):As(t,a+1)}(D(),Bt(),t,i,e,n)}function iC(t,i,e,n,r){return function rC(t,i,e,n,r,o,a){const s=i+e;return Ir(t,s,r,o)?tn(t,s+2,a?n.call(a,r,o):n(r,o)):As(t,s+2)}(D(),Bt(),t,i,e,n,r)}function ed(t,i,e,n,r,o){return function oC(t,i,e,n,r,o,a,s){const c=i+e;return function $l(t,i,e,n,r){const o=Ir(t,i,e,n);return At(t,i+2,r)||o}(t,c,r,o,a)?tn(t,c+3,s?n.call(s,r,o,a):n(r,o,a)):As(t,c+3)}(D(),Bt(),t,i,e,n,r,o)}function As(t,i){const e=t[i];return e===le?void 0:e}function KL(){return this._results[Symbol.iterator]()}class ea{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new ne)}constructor(i=!1){this._emitDistinctChangesOnly=i,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=ea.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=KL)}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,e){return this._results.reduce(i,e)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,e){const n=this;n.dirty=!1;const r=function vi(t){return t.flat(Number.POSITIVE_INFINITY)}(i);(this._changesDetected=!function VR(t,i,e){if(t.length!==i.length)return!1;for(let n=0;n<t.length;n++){let r=t[n],o=i[n];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}(n._results,r,e))&&(n._results=r,n.length=r.length,n.last=r[this.length-1],n.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function JL(t,i,e,n=!0){const r=i[F];if(function SO(t,i,e,n){const r=xt+n,o=e.length;n>0&&(e[r-1][Ti]=i),n<o-xt?(i[Ti]=e[r],ry(e,xt+n,i)):(e.push(i),i[Ti]=null),i[$e]=e;const a=i[Ga];null!==a&&e!==a&&function IO(t,i){const e=t[ho];i[it]!==i[$e][$e][it]&&(t[rv]=!0),null===e?t[ho]=[i]:e.push(i)}(a,i);const s=i[Gi];null!==s&&s.insertView(t),i[ue]|=128}(r,i,t,e),n){const o=wm(e,t),a=i[ce],s=bl(a,t[Wi]);null!==s&&function kO(t,i,e,n,r,o){n[Ze]=r,n[It]=i,cs(t,n,e,1,r,o)}(r,t[It],a,i,s,o)}}let ft=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=iB}return t})();const eB=ft,tB=class extends eB{constructor(i,e,n){super(),this._declarationLView=i,this._declarationTContainer=e,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(i,e){return this.createEmbeddedViewImpl(i,e)}createEmbeddedViewImpl(i,e,n){const r=function XL(t,i,e,n){const r=i.tView,s=Bl(t,r,e,4096&t[ue]?4096:16,null,i,null,null,null,n?.injector??null,n?.hydrationInfo??null);s[Ga]=t[i.index];const l=t[Gi];return null!==l&&(s[Gi]=l.createEmbeddedView(r)),mp(r,s,e),s}(this._declarationLView,this._declarationTContainer,i,{injector:e,hydrationInfo:n});return new bs(r)}};function iB(){return td(Ct(),D())}function td(t,i){return 4&t.type?new tB(i,t,No(t,i)):null}let kt=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=cB}return t})();function cB(){return pC(Ct(),D())}const lB=kt,hC=class extends lB{constructor(i,e,n){super(),this._lContainer=i,this._hostTNode=e,this._hostLView=n}get element(){return No(this._hostTNode,this._hostLView)}get injector(){return new Ht(this._hostTNode,this._hostLView)}get parentInjector(){const i=ol(this._hostTNode,this._hostLView);if(tm(i)){const e=es(i,this._hostLView),n=Ja(i);return new Ht(e[F].data[n+8],e)}return new Ht(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){const e=mC(this._lContainer);return null!==e&&e[i]||null}get length(){return this._lContainer.length-xt}createEmbeddedView(i,e,n){let r,o;"number"==typeof n?r=n:null!=n&&(r=n.index,o=n.injector);const s=i.createEmbeddedViewImpl(e||{},o,null);return this.insertImpl(s,r,false),s}createComponent(i,e,n,r,o){const a=i&&!function is(t){return"function"==typeof t}(i);let s;if(a)s=e;else{const g=e||{};s=g.index,n=g.injector,r=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}const c=a?i:new vs(we(i)),l=n||this.parentInjector;if(!o&&null==c.ngModule){const _=(a?l:this.parentInjector).get(ci,null);_&&(o=_)}we(c.componentType??{});const m=c.create(l,r,null,o);return this.insertImpl(m.hostView,s,false),m}insert(i,e){return this.insertImpl(i,e,!1)}insertImpl(i,e,n){const r=i._lView;if(function tR(t){return Lt(t[$e])}(r)){const c=this.indexOf(i);if(-1!==c)this.detach(c);else{const l=r[$e],d=new hC(l,l[It],l[$e]);d.detach(d.indexOf(i))}}const a=this._adjustIndex(e),s=this._lContainer;return JL(s,r,a,!n),i.attachToViewContainerRef(),ry(Np(s),a,i),i}move(i,e){return this.insert(i,e)}indexOf(i){const e=mC(this._lContainer);return null!==e?e.indexOf(i):-1}remove(i){const e=this._adjustIndex(i,-1),n=_l(this._lContainer,e);n&&(sl(Np(this._lContainer),e),bm(n[F],n))}detach(i){const e=this._adjustIndex(i,-1),n=_l(this._lContainer,e);return n&&null!=sl(Np(this._lContainer),e)?new bs(n):null}_adjustIndex(i,e=0){return i??this.length+e}};function mC(t){return t[8]}function Np(t){return t[8]||(t[8]=[])}function pC(t,i){let e;const n=i[t.index];return Lt(n)?e=n:(e=q0(n,i,null,t),i[t.index]=e,Vl(i,e)),fC(e,i,t,n),new hC(e,t,i)}let fC=function gC(t,i,e,n){if(t[Wi])return;let r;r=8&e.type?He(n):function dB(t,i){const e=t[ce],n=e.createComment(""),r=Jt(i,t);return kr(e,bl(e,r),n,function OO(t,i){return t.nextSibling(i)}(e,r),!1),n}(i,e),t[Wi]=r};class Lp{constructor(i){this.queryList=i,this.matches=null}clone(){return new Lp(this.queryList)}setDirty(){this.queryList.setDirty()}}class Bp{constructor(i=[]){this.queries=i}createEmbeddedView(i){const e=i.queries;if(null!==e){const n=null!==i.contentQueries?i.contentQueries[0]:e.length,r=[];for(let o=0;o<n;o++){const a=e.getByIndex(o);r.push(this.queries[a.indexInDeclarationView].clone())}return new Bp(r)}return null}insertView(i){this.dirtyQueriesWithMatches(i)}detachView(i){this.dirtyQueriesWithMatches(i)}dirtyQueriesWithMatches(i){for(let e=0;e<this.queries.length;e++)null!==xC(i,e).matches&&this.queries[e].setDirty()}}class _C{constructor(i,e,n=null){this.predicate=i,this.flags=e,this.read=n}}class Vp{constructor(i=[]){this.queries=i}elementStart(i,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(i,e)}elementEnd(i){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(i)}embeddedTView(i){let e=null;for(let n=0;n<this.length;n++){const r=null!==e?e.length:0,o=this.getByIndex(n).embeddedTView(i,r);o&&(o.indexInDeclarationView=n,null!==e?e.push(o):e=[o])}return null!==e?new Vp(e):null}template(i,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(i,e)}getByIndex(i){return this.queries[i]}get length(){return this.queries.length}track(i){this.queries.push(i)}}class Hp{constructor(i,e=-1){this.metadata=i,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(i,e){this.isApplyingToNode(e)&&this.matchTNode(i,e)}elementEnd(i){this._declarationNodeIndex===i.index&&(this._appliesToNextNode=!1)}template(i,e){this.elementStart(i,e)}embeddedTView(i,e){return this.isApplyingToNode(i)?(this.crossesNgTemplate=!0,this.addMatch(-i.index,e),new Hp(this.metadata)):null}isApplyingToNode(i){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let n=i.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(i,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const o=n[r];this.matchTNodeWithReadOption(i,e,mB(e,o)),this.matchTNodeWithReadOption(i,e,al(e,i,o,!1,!1))}else n===ft?4&e.type&&this.matchTNodeWithReadOption(i,e,-1):this.matchTNodeWithReadOption(i,e,al(e,i,n,!1,!1))}matchTNodeWithReadOption(i,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===W||r===kt||r===ft&&4&e.type)this.addMatch(e.index,-2);else{const o=al(e,i,r,!1,!1);null!==o&&this.addMatch(e.index,o)}else this.addMatch(e.index,n)}}addMatch(i,e){null===this.matches?this.matches=[i,e]:this.matches.push(i,e)}}function mB(t,i){const e=t.localNames;if(null!==e)for(let n=0;n<e.length;n+=2)if(e[n]===i)return e[n+1];return null}function fB(t,i,e,n){return-1===e?function pB(t,i){return 11&t.type?No(t,i):4&t.type?td(t,i):null}(i,t):-2===e?function gB(t,i,e){return e===W?No(i,t):e===ft?td(i,t):e===kt?pC(i,t):void 0}(t,i,n):Dr(t,t[F],e,i)}function bC(t,i,e,n){const r=i[Gi].queries[n];if(null===r.matches){const o=t.data,a=e.matches,s=[];for(let c=0;c<a.length;c+=2){const l=a[c];s.push(l<0?null:fB(i,o[l],a[c+1],e.metadata.read))}r.matches=s}return r.matches}function jp(t,i,e,n){const r=t.queries.getByIndex(e),o=r.matches;if(null!==o){const a=bC(t,i,r,e);for(let s=0;s<o.length;s+=2){const c=o[s];if(c>0)n.push(a[s/2]);else{const l=o[s+1],d=i[-c];for(let u=xt;u<d.length;u++){const h=d[u];h[Ga]===h[$e]&&jp(h[F],h,l,n)}if(null!==d[ho]){const u=d[ho];for(let h=0;h<u.length;h++){const m=u[h];jp(m[F],m,l,n)}}}}}return n}function ee(t){const i=D(),e=Ce(),n=Lv();Qh(n+1);const r=xC(e,n);if(t.dirty&&function J1(t){return 4==(4&t[ue])}(i)===(2==(2&r.metadata.flags))){if(null===r.matches)t.reset([]);else{const o=r.crossesNgTemplate?jp(e,i,n,[]):bC(e,i,r,n);t.reset(o,LF),t.notifyOnChanges()}return!0}return!1}function gt(t,i,e){const n=Ce();n.firstCreatePass&&(yC(n,new _C(t,i,e),-1),2==(2&i)&&(n.staticViewQueries=!0)),vC(n,D(),i)}function Fe(t,i,e,n){const r=Ce();if(r.firstCreatePass){const o=Ct();yC(r,new _C(i,e,n),o.index),function bB(t,i){const e=t.contentQueries||(t.contentQueries=[]);i!==(e.length?e[e.length-1]:-1)&&e.push(t.queries.length-1,i)}(r,t),2==(2&e)&&(r.staticContentQueries=!0)}vC(r,D(),e)}function te(){return function _B(t,i){return t[Gi].queries[i].queryList}(D(),Lv())}function vC(t,i,e){const n=new ea(4==(4&e));(function fP(t,i,e,n){const r=Q0(i);r.push(e),t.firstCreatePass&&Z0(t).push(n,r.length-1)})(t,i,n,n.destroy),null===i[Gi]&&(i[Gi]=new Bp),i[Gi].queries.push(new Lp(n))}function yC(t,i,e){null===t.queries&&(t.queries=new Vp),t.queries.track(new Hp(i,e))}function xC(t,i){return t.queries.getByIndex(i)}const qp=new y("Application Initializer");let Yp=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,n)=>{this.resolve=e,this.reject=n}),this.appInits=I(qp,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const e=[];for(const r of this.appInits){const o=r();if(Ds(o))e.push(o);else if(Sx(o)){const a=new Promise((s,c)=>{o.subscribe({complete:s,error:c})});e.push(a)}}const n=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{n()}).catch(r=>{this.reject(r)}),0===e.length&&n(),this.initialized=!0}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),BC=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const an=new y("LocaleId",{providedIn:"root",factory:()=>I(an,ge.Optional|ge.SkipSelf)||function VB(){return typeof $localize<"u"&&$localize.locale||Jo}()});let rd=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Qt(!1)}add(){this.hasPendingTasks.next(!0);const e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class zB{constructor(i,e){this.ngModuleFactory=i,this.componentFactories=e}}let VC=(()=>{class t{compileModuleSync(e){return new Op(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const n=this.compileModuleSync(e),o=wn(ri(e).declarations).reduce((a,s)=>{const c=we(s);return c&&a.push(new vs(c)),a},[]);return new zB(n,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const UC=new y(""),ad=new y("");let Jp,Kp=(()=>{class t{constructor(e,n,r){this._ngZone=e,this.registry=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Jp||(function cV(t){Jp=t}(r),r.addToWindow(n)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(n=>!n.updateCb||!n.updateCb(e)||(clearTimeout(n.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,n,r){let o=-1;n&&n>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),e(this._didWork,this.getPendingTasks())},n)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,n,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,n,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,n,r){return[]}static#e=this.\u0275fac=function(n){return new(n||t)(v(z),v(Xp),v(ad))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})(),Xp=(()=>{class t{constructor(){this._applications=new Map}registerApplication(e,n){this._applications.set(e,n)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,n=!0){return Jp?.findTestabilityInTree(this,e,n)??null}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),Kn=null;const $C=new y("AllowMultipleToken"),ef=new y("PlatformDestroyListeners"),tf=new y("appBootstrapListener");class WC{constructor(i,e){this.name=i,this.token=e}}function YC(t,i,e=[]){const n=`Platform: ${i}`,r=new y(n);return(o=[])=>{let a=nf();if(!a||a.injector.get($C,!1)){const s=[...e,...o,{provide:r,useValue:!0}];t?t(s):function uV(t){if(Kn&&!Kn.get($C,!1))throw new x(400,!1);(function GC(){!function H1(t){gv=t}(()=>{throw new x(600,!1)})})(),Kn=t;const i=t.get(ZC);(function qC(t){t.get(c0,null)?.forEach(e=>e())})(t)}(function QC(t=[],i){return st.create({name:i,providers:[{provide:Fm,useValue:"platform"},{provide:ef,useValue:new Set([()=>Kn=null])},...t]})}(s,n))}return function mV(t){const i=nf();if(!i)throw new x(401,!1);return i}()}}function nf(){return Kn?.get(ZC)??null}let ZC=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,n){const r=function pV(t="zone.js",i){return"noop"===t?new XF:"zone.js"===t?new z(i):t}(n?.ngZone,function KC(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}({eventCoalescing:n?.ngZoneEventCoalescing,runCoalescing:n?.ngZoneRunCoalescing}));return r.run(()=>{const o=function EL(t,i,e){return new Rp(t,i,e)}(e.moduleType,this.injector,function iD(t){return[{provide:z,useFactory:t},{provide:us,multi:!0,useFactory:()=>{const i=I(gV,{optional:!0});return()=>i.initialize()}},{provide:tD,useFactory:fV},{provide:C0,useFactory:D0}]}(()=>r)),a=o.injector.get(Ri,null);return r.runOutsideAngular(()=>{const s=r.onError.subscribe({next:c=>{a.handleError(c)}});o.onDestroy(()=>{sd(this._modules,o),s.unsubscribe()})}),function XC(t,i,e){try{const n=e();return Ds(n)?n.catch(r=>{throw i.runOutsideAngular(()=>t.handleError(r)),r}):n}catch(n){throw i.runOutsideAngular(()=>t.handleError(n)),n}}(a,r,()=>{const s=o.injector.get(Yp);return s.runInitializers(),s.donePromise.then(()=>(function Cw(t){gi(t,"Expected localeId to be defined"),"string"==typeof t&&(ww=t.toLowerCase().replace(/_/g,"-"))}(o.injector.get(an,Jo)||Jo),this._moduleDoBootstrap(o),o))})})}bootstrapModule(e,n=[]){const r=JC({},n);return function lV(t,i,e){const n=new Op(e);return Promise.resolve(n)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const n=e.injector.get(Xn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new x(-403,!1);e.instance.ngDoBootstrap(n)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new x(404,!1);this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());const e=this._injector.get(ef,null);e&&(e.forEach(n=>n()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(n){return new(n||t)(v(st))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function JC(t,i){return Array.isArray(i)?i.reduce(JC,t):{...t,...i}}let Xn=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=I(tD),this.zoneIsStable=I(C0),this.componentTypes=[],this.components=[],this.isStable=I(rd).hasPendingTasks.pipe(fi(e=>e?j(!1):this.zoneIsStable),Fb(),bh()),this._injector=I(ci)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,n){const r=e instanceof h0;if(!this._injector.get(Yp).done)throw!r&&function ao(t){const i=we(t)||yt(t)||Nt(t);return null!==i&&i.standalone}(e),new x(405,!1);let a;a=r?e:this._injector.get(Po).resolveComponentFactory(e),this.componentTypes.push(a.componentType);const s=function dV(t){return t.isBoundToModule}(a)?void 0:this._injector.get(Or),l=a.create(st.NULL,[],n||a.selector,s),d=l.location.nativeElement,u=l.injector.get(UC,null);return u?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),sd(this.components,l),u?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new x(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this.internalErrorHandler(e)}finally{this._runningTick=!1}}attachView(e){const n=e;this._views.push(n),n.attachToAppRef(this)}detachView(e){const n=e;sd(this._views,n),n.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const n=this._injector.get(tf,[]);n.push(...this._bootstrapListeners),n.forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>sd(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new x(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function sd(t,i){const e=t.indexOf(i);e>-1&&t.splice(e,1)}const tD=new y("",{providedIn:"root",factory:()=>I(Ri).handleError.bind(void 0)});function fV(){const t=I(z),i=I(Ri);return e=>t.runOutsideAngular(()=>i.handleError(e))}let gV=(()=>{class t{constructor(){this.zone=I(z),this.applicationRef=I(Xn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();let Gt=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=bV}return t})();function bV(t){return function vV(t,i,e){if(xr(t)&&!e){const n=oi(t.index,i);return new bs(n,n)}return 47&t.type?new bs(i[it],i):null}(Ct(),D(),16==(16&t))}class aD{constructor(){}supports(i){return Ul(i)}create(i){return new kV(i)}}const DV=(t,i)=>i;class kV{constructor(i){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=i||DV}forEachItem(i){let e;for(e=this._itHead;null!==e;e=e._next)i(e)}forEachOperation(i){let e=this._itHead,n=this._removalsHead,r=0,o=null;for(;e||n;){const a=!n||e&&e.currentIndex<cD(n,r,o)?e:n,s=cD(a,r,o),c=a.currentIndex;if(a===n)r--,n=n._nextRemoved;else if(e=e._next,null==a.previousIndex)r++;else{o||(o=[]);const l=s-r,d=c-r;if(l!=d){for(let h=0;h<l;h++){const m=h<o.length?o[h]:o[h]=0,f=m+h;d<=f&&f<l&&(o[h]=m+1)}o[a.previousIndex]=d-l}}s!==c&&i(a,s,c)}}forEachPreviousItem(i){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)i(e)}forEachAddedItem(i){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)i(e)}forEachMovedItem(i){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)i(e)}forEachRemovedItem(i){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)i(e)}forEachIdentityChange(i){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)i(e)}diff(i){if(null==i&&(i=[]),!Ul(i))throw new x(900,!1);return this.check(i)?this:null}onDestroy(){}check(i){this._reset();let r,o,a,e=this._itHead,n=!1;if(Array.isArray(i)){this.length=i.length;for(let s=0;s<this.length;s++)o=i[s],a=this._trackByFn(s,o),null!==e&&Object.is(e.trackById,a)?(n&&(e=this._verifyReinsertion(e,o,a,s)),Object.is(e.item,o)||this._addIdentityChange(e,o)):(e=this._mismatch(e,o,a,s),n=!0),e=e._next}else r=0,function sN(t,i){if(Array.isArray(t))for(let e=0;e<t.length;e++)i(t[e]);else{const e=t[Symbol.iterator]();let n;for(;!(n=e.next()).done;)i(n.value)}}(i,s=>{a=this._trackByFn(r,s),null!==e&&Object.is(e.trackById,a)?(n&&(e=this._verifyReinsertion(e,s,a,r)),Object.is(e.item,s)||this._addIdentityChange(e,s)):(e=this._mismatch(e,s,a,r),n=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=i,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;null!==i;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;null!==i;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,e,n,r){let o;return null===i?o=this._itTail:(o=i._prev,this._remove(i)),null!==(i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._reinsertAfter(i,o,r)):null!==(i=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._moveAfter(i,o,r)):i=this._addAfter(new MV(e,n),o,r),i}_verifyReinsertion(i,e,n,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?i=this._reinsertAfter(o,i._prev,r):i.currentIndex!=r&&(i.currentIndex=r,this._addToMoves(i,r)),i}_truncate(i){for(;null!==i;){const e=i._next;this._addToRemovals(this._unlink(i)),i=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(i,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(i);const r=i._prevRemoved,o=i._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(i,e,n),this._addToMoves(i,n),i}_moveAfter(i,e,n){return this._unlink(i),this._insertAfter(i,e,n),this._addToMoves(i,n),i}_addAfter(i,e,n){return this._insertAfter(i,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=i:this._additionsTail._nextAdded=i,i}_insertAfter(i,e,n){const r=null===e?this._itHead:e._next;return i._next=r,i._prev=e,null===r?this._itTail=i:r._prev=i,null===e?this._itHead=i:e._next=i,null===this._linkedRecords&&(this._linkedRecords=new sD),this._linkedRecords.put(i),i.currentIndex=n,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){null!==this._linkedRecords&&this._linkedRecords.remove(i);const e=i._prev,n=i._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,i}_addToMoves(i,e){return i.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=i:this._movesTail._nextMoved=i),i}_addToRemovals(i){return null===this._unlinkedRecords&&(this._unlinkedRecords=new sD),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,e){return i.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=i:this._identityChangesTail._nextIdentityChange=i,i}}class MV{constructor(i,e){this.item=i,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class EV{constructor(){this._head=null,this._tail=null}add(i){null===this._head?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,i))return n;return null}remove(i){const e=i._prevDup,n=i._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class sD{constructor(){this.map=new Map}put(i){const e=i.trackById;let n=this.map.get(e);n||(n=new EV,this.map.set(e,n)),n.add(i)}get(i,e){const r=this.map.get(i);return r?r.get(i,e):null}remove(i){const e=i.trackById;return this.map.get(e).remove(i)&&this.map.delete(e),i}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function cD(t,i,e){const n=t.previousIndex;if(null===n)return n;let r=0;return e&&n<e.length&&(r=e[n]),n+i+r}class lD{constructor(){}supports(i){return i instanceof Map||pp(i)}create(){return new SV}}class SV{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(i){let e;for(e=this._mapHead;null!==e;e=e._next)i(e)}forEachPreviousItem(i){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)i(e)}forEachChangedItem(i){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)i(e)}forEachAddedItem(i){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)i(e)}forEachRemovedItem(i){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)i(e)}diff(i){if(i){if(!(i instanceof Map||pp(i)))throw new x(900,!1)}else i=new Map;return this.check(i)?this:null}onDestroy(){}check(i){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(i,(n,r)=>{if(e&&e.key===r)this._maybeAddToChanges(e,n),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,n);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let n=e;null!==n;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,e){if(i){const n=i._prev;return e._next=i,e._prev=n,i._prev=e,n&&(n._next=e),i===this._mapHead&&(this._mapHead=e),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(i,e){if(this._records.has(i)){const r=this._records.get(i);this._maybeAddToChanges(r,e);const o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}const n=new IV(i);return this._records.set(i,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let i;for(this._previousMapHead=this._mapHead,i=this._previousMapHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._changesHead;null!==i;i=i._nextChanged)i.previousValue=i.currentValue;for(i=this._additionsHead;null!=i;i=i._nextAdded)i.previousValue=i.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(i,e){Object.is(e,i.currentValue)||(i.previousValue=i.currentValue,i.currentValue=e,this._addToChanges(i))}_addToAdditions(i){null===this._additionsHead?this._additionsHead=this._additionsTail=i:(this._additionsTail._nextAdded=i,this._additionsTail=i)}_addToChanges(i){null===this._changesHead?this._changesHead=this._changesTail=i:(this._changesTail._nextChanged=i,this._changesTail=i)}_forEach(i,e){i instanceof Map?i.forEach(e):Object.keys(i).forEach(n=>e(i[n],n))}}class IV{constructor(i){this.key=i,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 dD(){return new kn([new aD])}let kn=(()=>{class t{static#e=this.\u0275prov=M({token:t,providedIn:"root",factory:dD});constructor(e){this.factories=e}static create(e,n){if(null!=n){const r=n.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||dD()),deps:[[t,new Ki,new yi]]}}find(e){const n=this.factories.find(r=>r.supports(e));if(null!=n)return n;throw new x(901,!1)}}return t})();function uD(){return new Ns([new lD])}let Ns=(()=>{class t{static#e=this.\u0275prov=M({token:t,providedIn:"root",factory:uD});constructor(e){this.factories=e}static create(e,n){if(n){const r=n.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||uD()),deps:[[t,new Ki,new yi]]}}find(e){const n=this.factories.find(r=>r.supports(e));if(n)return n;throw new x(901,!1)}}return t})();const RV=YC(null,"core",[]);let OV=(()=>{class t{constructor(e){}static#e=this.\u0275fac=function(n){return new(n||t)(v(Xn))};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({})}return t})(),df=null;function Jn(){return df}class qV{}const re=new y("DocumentToken");let uf=(()=>{class t{historyGo(e){throw new Error("Not implemented")}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:function(){return I(QV)},providedIn:"platform"})}return t})();const YV=new y("Location Initialized");let QV=(()=>{class t extends uf{constructor(){super(),this._doc=I(re),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Jn().getBaseHref(this._doc)}onPopState(e){const n=Jn().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){const n=Jn().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,n,r){this._history.pushState(e,n,r)}replaceState(e,n,r){this._history.replaceState(e,n,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:function(){return new t},providedIn:"platform"})}return t})();function hf(t,i){if(0==t.length)return i;if(0==i.length)return t;let e=0;return t.endsWith("/")&&e++,i.startsWith("/")&&e++,2==e?t+i.substring(1):1==e?t+i:t+"/"+i}function yD(t){const i=t.match(/#|\?|$/),e=i&&i.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function Mn(t){return t&&"?"!==t[0]?"?"+t:t}let Nr=(()=>{class t{historyGo(e){throw new Error("Not implemented")}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:function(){return I(wD)},providedIn:"root"})}return t})();const xD=new y("appBaseHref");let wD=(()=>{class t extends Nr{constructor(e,n){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??I(re).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return hf(this._baseHref,e)}path(e=!1){const n=this._platformLocation.pathname+Mn(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${n}${r}`:n}pushState(e,n,r,o){const a=this.prepareExternalUrl(r+Mn(o));this._platformLocation.pushState(e,n,a)}replaceState(e,n,r,o){const a=this.prepareExternalUrl(r+Mn(o));this._platformLocation.replaceState(e,n,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static#e=this.\u0275fac=function(n){return new(n||t)(v(uf),v(xD,8))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ZV=(()=>{class t extends Nr{constructor(e,n){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=n&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let n=this._platformLocation.hash;return null==n&&(n="#"),n.length>0?n.substring(1):n}prepareExternalUrl(e){const n=hf(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,r,o){let a=this.prepareExternalUrl(r+Mn(o));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(e,n,a)}replaceState(e,n,r,o){let a=this.prepareExternalUrl(r+Mn(o));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(e,n,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static#e=this.\u0275fac=function(n){return new(n||t)(v(uf),v(xD,8))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})(),Ls=(()=>{class t{constructor(e){this._subject=new ne,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const n=this._locationStrategy.getBaseHref();this._basePath=function JV(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(yD(CD(n))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+Mn(n))}normalize(e){return t.stripTrailingSlash(function XV(t,i){if(!t||!i.startsWith(t))return i;const e=i.substring(t.length);return""===e||["/",";","?","#"].includes(e[0])?e:i}(this._basePath,CD(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",r=null){this._locationStrategy.pushState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Mn(n)),r)}replaceState(e,n="",r=null){this._locationStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Mn(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)})),()=>{const n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(r=>r(e,n))}subscribe(e,n,r){return this._subject.subscribe({next:e,error:n,complete:r})}static#e=this.normalizeQueryParams=Mn;static#t=this.joinWithSlash=hf;static#i=this.stripTrailingSlash=yD;static#n=this.\u0275fac=function(n){return new(n||t)(v(Nr))};static#r=this.\u0275prov=M({token:t,factory:function(){return function KV(){return new Ls(v(Nr))}()},providedIn:"root"})}return t})();function CD(t){return t.replace(/\/index.html$/,"")}function RD(t,i){i=encodeURIComponent(i);for(const e of t.split(";")){const n=e.indexOf("="),[r,o]=-1==n?[e,""]:[e.slice(0,n),e.slice(n+1)];if(r.trim()===i)return decodeURIComponent(o)}return null}const wf=/\s+/,OD=[];let FD=(()=>{class t{constructor(e,n,r,o){this._iterableDiffers=e,this._keyValueDiffers=n,this._ngEl=r,this._renderer=o,this.initialClasses=OD,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(wf):OD}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(wf):e}ngDoCheck(){for(const n of this.initialClasses)this._updateState(n,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const n of e)this._updateState(n,!0);else if(null!=e)for(const n of Object.keys(e))this._updateState(n,!!e[n]);this._applyStateDiff()}_updateState(e,n){const r=this.stateMap.get(e);void 0!==r?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(e,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const n=e[0],r=e[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1}}_toggleClass(e,n){(e=e.trim()).length>0&&e.split(wf).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static#e=this.\u0275fac=function(n){return new(n||t)(p(kn),p(Ns),p(W),p(xi))};static#t=this.\u0275dir=C({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return t})();class V3{constructor(i,e,n,r){this.$implicit=i,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ND=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,n,r){this._viewContainer=e,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const n=this._viewContainer;e.forEachOperation((r,o,a)=>{if(null==r.previousIndex)n.createEmbeddedView(this._template,new V3(r.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)n.remove(null===o?void 0:o);else if(null!==o){const s=n.get(o);n.move(s,a),LD(s,r)}});for(let r=0,o=n.length;r<o;r++){const s=n.get(r).context;s.index=r,s.count=o,s.ngForOf=this._ngForOf}e.forEachIdentityChange(r=>{LD(n.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,n){return!0}static#e=this.\u0275fac=function(n){return new(n||t)(p(kt),p(ft),p(kn))};static#t=this.\u0275dir=C({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return t})();function LD(t,i){t.context.$implicit=i.item}let Lr=(()=>{class t{constructor(e,n){this._viewContainer=e,this._context=new H3,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){BD("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){BD("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,n){return!0}static#e=this.\u0275fac=function(n){return new(n||t)(p(kt),p(ft))};static#t=this.\u0275dir=C({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return t})();class H3{constructor(){this.$implicit=null,this.ngIf=null}}function BD(t,i){if(i&&!i.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${ut(i)}'.`)}let jD=(()=>{class t{constructor(e,n,r){this._ngEl=e,this._differs=n,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,n){const[r,o]=e.split("."),a=-1===r.indexOf("-")?void 0:Wn.DashCase;null!=n?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${n}${o}`:n,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(e){e.forEachRemovedItem(n=>this._setStyle(n.key,null)),e.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),e.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static#e=this.\u0275fac=function(n){return new(n||t)(p(W),p(Ns),p(xi))};static#t=this.\u0275dir=C({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return t})(),Df=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:o,ngTemplateOutletInjector:a}=this;this._viewRef=n.createEmbeddedView(r,o,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(n){return new(n||t)(p(kt))};static#t=this.\u0275dir=C({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ht]})}return t})(),qe=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({})}return t})();const UD="browser";function wd(t){return t===UD}function $D(t){return"server"===t}let f4=(()=>{class t{static#e=this.\u0275prov=M({token:t,providedIn:"root",factory:()=>new g4(v(re),window)})}return t})();class g4{constructor(i,e){this.document=i,this.window=e,this.offset=()=>[0,0]}setOffset(i){this.offset=Array.isArray(i)?()=>i:i}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(i){this.supportsScrolling()&&this.window.scrollTo(i[0],i[1])}scrollToAnchor(i){if(!this.supportsScrolling())return;const e=function _4(t,i){const e=t.getElementById(i)||t.getElementsByName(i)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&"function"==typeof t.body.attachShadow){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const o=r.shadowRoot;if(o){const a=o.getElementById(i)||o.querySelector(`[name="${i}"]`);if(a)return a}r=n.nextNode()}}return null}(this.document,i);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(i){this.supportsScrolling()&&(this.window.history.scrollRestoration=i)}scrollToElement(i){const e=i.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class GD{}class H4 extends qV{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class If extends H4{static makeCurrent(){!function WV(t){df||(df=t)}(new If)}onAndCancel(i,e,n){return i.addEventListener(e,n),()=>{i.removeEventListener(e,n)}}dispatchEvent(i,e){i.dispatchEvent(e)}remove(i){i.parentNode&&i.parentNode.removeChild(i)}createElement(i,e){return(e=e||this.getDefaultDocument()).createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,e){return"window"===e?window:"document"===e?i:"body"===e?i.body:null}getBaseHref(i){const e=function j4(){return js=js||document.querySelector("base"),js?js.getAttribute("href"):null}();return null==e?null:function z4(t){kd=kd||document.createElement("a"),kd.setAttribute("href",t);const i=kd.pathname;return"/"===i.charAt(0)?i:`/${i}`}(e)}resetBaseElement(){js=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return RD(document.cookie,i)}}let kd,js=null,$4=(()=>{class t{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})();const Tf=new y("EventManagerPlugins");let ZD=(()=>{class t{constructor(e,n){this._zone=n,this._eventNameToPlugin=new Map,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,n,r){return this._findPluginFor(n).addEventListener(e,n,r)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(o=>o.supports(e)),!n)throw new x(5101,!1);return this._eventNameToPlugin.set(e,n),n}static#e=this.\u0275fac=function(n){return new(n||t)(v(Tf),v(z))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})();class KD{constructor(i){this._doc=i}}const Af="ng-app-id";let XD=(()=>{class t{constructor(e,n,r,o={}){this.doc=e,this.appId=n,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=$D(o),this.resetHostNodes()}addStyles(e){for(const n of e)1===this.changeUsageCount(n,1)&&this.onStyleAdded(n)}removeStyles(e){for(const n of e)this.changeUsageCount(n,-1)<=0&&this.onStyleRemoved(n)}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach(n=>n.remove()),e.clear());for(const n of this.getAllStyles())this.onStyleRemoved(n);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const n of this.getAllStyles())this.addStyleToHost(e,n)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const n of this.hostNodes)this.addStyleToHost(n,e)}onStyleRemoved(e){const n=this.styleRef;n.get(e)?.elements?.forEach(r=>r.remove()),n.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${Af}="${this.appId}"]`);if(e?.length){const n=new Map;return e.forEach(r=>{null!=r.textContent&&n.set(r.textContent,r)}),n}return null}changeUsageCount(e,n){const r=this.styleRef;if(r.has(e)){const o=r.get(e);return o.usage+=n,o.usage}return r.set(e,{usage:n,elements:[]}),n}getStyleElement(e,n){const r=this.styleNodesInDOM,o=r?.get(n);if(o?.parentNode===e)return r.delete(n),o.removeAttribute(Af),o;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=n,this.platformIsServer&&a.setAttribute(Af,this.appId),a}}addStyleToHost(e,n){const r=this.getStyleElement(e,n);e.appendChild(r);const o=this.styleRef,a=o.get(n)?.elements;a?a.push(r):o.set(n,{elements:[r],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}static#e=this.\u0275fac=function(n){return new(n||t)(v(re),v(Tl),v(Bm,8),v(Ji))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})();const Rf={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/"},Of=/%COMP%/g,Y4=new y("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function ek(t,i){return i.map(e=>e.replace(Of,t))}let Ff=(()=>{class t{constructor(e,n,r,o,a,s,c,l=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=s,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=$D(s),this.defaultRenderer=new Pf(e,a,c,this.platformIsServer)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===_i.ShadowDom&&(n={...n,encapsulation:_i.Emulated});const r=this.getOrCreateRenderer(e,n);return r instanceof ik?r.applyToHost(e):r instanceof Nf&&r.applyStyles(),r}getOrCreateRenderer(e,n){const r=this.rendererByCompId;let o=r.get(n.id);if(!o){const a=this.doc,s=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(n.encapsulation){case _i.Emulated:o=new ik(c,l,n,this.appId,d,a,s,u);break;case _i.ShadowDom:return new X4(c,l,e,n,a,s,this.nonce,u);default:o=new Nf(c,l,n,d,a,s,u)}r.set(n.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(n){return new(n||t)(v(ZD),v(XD),v(Tl),v(Y4),v(re),v(Ji),v(z),v(Bm))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})();class Pf{constructor(i,e,n,r){this.eventManager=i,this.doc=e,this.ngZone=n,this.platformIsServer=r,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(i,e){return e?this.doc.createElementNS(Rf[e]||e,i):this.doc.createElement(i)}createComment(i){return this.doc.createComment(i)}createText(i){return this.doc.createTextNode(i)}appendChild(i,e){(tk(i)?i.content:i).appendChild(e)}insertBefore(i,e,n){i&&(tk(i)?i.content:i).insertBefore(e,n)}removeChild(i,e){i&&i.removeChild(e)}selectRootElement(i,e){let n="string"==typeof i?this.doc.querySelector(i):i;if(!n)throw new x(-5104,!1);return e||(n.textContent=""),n}parentNode(i){return i.parentNode}nextSibling(i){return i.nextSibling}setAttribute(i,e,n,r){if(r){e=r+":"+e;const o=Rf[r];o?i.setAttributeNS(o,e,n):i.setAttribute(e,n)}else i.setAttribute(e,n)}removeAttribute(i,e,n){if(n){const r=Rf[n];r?i.removeAttributeNS(r,e):i.removeAttribute(`${n}:${e}`)}else i.removeAttribute(e)}addClass(i,e){i.classList.add(e)}removeClass(i,e){i.classList.remove(e)}setStyle(i,e,n,r){r&(Wn.DashCase|Wn.Important)?i.style.setProperty(e,n,r&Wn.Important?"important":""):i.style[e]=n}removeStyle(i,e,n){n&Wn.DashCase?i.style.removeProperty(e):i.style[e]=""}setProperty(i,e,n){i[e]=n}setValue(i,e){i.nodeValue=e}listen(i,e,n){if("string"==typeof i&&!(i=Jn().getGlobalEventTarget(this.doc,i)))throw new Error(`Unsupported event target ${i} for event ${e}`);return this.eventManager.addEventListener(i,e,this.decoratePreventDefault(n))}decoratePreventDefault(i){return e=>{if("__ngUnwrap__"===e)return i;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>i(e)):i(e))&&e.preventDefault()}}}function tk(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class X4 extends Pf{constructor(i,e,n,r,o,a,s,c){super(i,o,a,c),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=ek(r.id,r.styles);for(const d of l){const u=document.createElement("style");s&&u.setAttribute("nonce",s),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(i){return i===this.hostEl?this.shadowRoot:i}appendChild(i,e){return super.appendChild(this.nodeOrShadowRoot(i),e)}insertBefore(i,e,n){return super.insertBefore(this.nodeOrShadowRoot(i),e,n)}removeChild(i,e){return super.removeChild(this.nodeOrShadowRoot(i),e)}parentNode(i){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(i)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Nf extends Pf{constructor(i,e,n,r,o,a,s,c){super(i,o,a,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r,this.styles=c?ek(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ik extends Nf{constructor(i,e,n,r,o,a,s,c){const l=r+"-"+n.id;super(i,e,n,o,a,s,c,l),this.contentAttr=function Q4(t){return"_ngcontent-%COMP%".replace(Of,t)}(l),this.hostAttr=function Z4(t){return"_nghost-%COMP%".replace(Of,t)}(l)}applyToHost(i){this.applyStyles(),this.setAttribute(i,this.hostAttr,"")}createElement(i,e){const n=super.createElement(i,e);return super.setAttribute(n,this.contentAttr,""),n}}let J4=(()=>{class t extends KD{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,r){return e.addEventListener(n,r,!1),()=>this.removeEventListener(e,n,r)}removeEventListener(e,n,r){return e.removeEventListener(n,r)}static#e=this.\u0275fac=function(n){return new(n||t)(v(re))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})();const nk=["alt","control","meta","shift"],eH={"\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"},tH={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let iH=(()=>{class t extends KD{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const o=t.parseEventName(n),a=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Jn().onAndCancel(e,o.domEventName,a))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const o=t._normalizeKey(n.pop());let a="",s=n.indexOf("code");if(s>-1&&(n.splice(s,1),a="code."),nk.forEach(l=>{const d=n.indexOf(l);d>-1&&(n.splice(d,1),a+=l+".")}),a+=o,0!=n.length||0===o.length)return null;const c={};return c.domEventName=r,c.fullKey=a,c}static matchEventFullKeyCode(e,n){let r=eH[e.key]||e.key,o="";return n.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),nk.forEach(a=>{a!==r&&(0,tH[a])(e)&&(o+=a+".")}),o+=r,o===n)}static eventCallback(e,n,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>n(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}static#e=this.\u0275fac=function(n){return new(n||t)(v(re))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})();const aH=YC(RV,"browser",[{provide:Ji,useValue:UD},{provide:c0,useValue:function nH(){If.makeCurrent()},multi:!0},{provide:re,useFactory:function oH(){return function jO(t){km=t}(document),document},deps:[]}]),sH=new y(""),ak=[{provide:ad,useClass:class U4{addToWindow(i){Ve.getAngularTestability=(n,r=!0)=>{const o=i.findTestabilityInTree(n,r);if(null==o)throw new x(5103,!1);return o},Ve.getAllAngularTestabilities=()=>i.getAllTestabilities(),Ve.getAllAngularRootElements=()=>i.getAllRootElements(),Ve.frameworkStabilizers||(Ve.frameworkStabilizers=[]),Ve.frameworkStabilizers.push(n=>{const r=Ve.getAllAngularTestabilities();let o=r.length,a=!1;const s=function(c){a=a||c,o--,0==o&&n(a)};r.forEach(c=>{c.whenStable(s)})})}findTestabilityInTree(i,e,n){return null==e?null:i.getTestability(e)??(n?Jn().isShadowRoot(e)?this.findTestabilityInTree(i,e.host,!0):this.findTestabilityInTree(i,e.parentElement,!0):null)}},deps:[]},{provide:UC,useClass:Kp,deps:[z,Xp,ad]},{provide:Kp,useClass:Kp,deps:[z,Xp,ad]}],sk=[{provide:Fm,useValue:"root"},{provide:Ri,useFactory:function rH(){return new Ri},deps:[]},{provide:Tf,useClass:J4,multi:!0,deps:[re,z,Ji]},{provide:Tf,useClass:iH,multi:!0,deps:[re]},Ff,XD,ZD,{provide:ps,useExisting:Ff},{provide:GD,useClass:$4,deps:[]},[]];let ck=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:Tl,useValue:e.appId}]}}static#e=this.\u0275fac=function(n){return new(n||t)(v(sH,12))};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({providers:[...sk,...ak],imports:[qe,OV]})}return t})(),lk=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static#e=this.\u0275fac=function(n){return new(n||t)(v(re))};static#t=this.\u0275prov=M({token:t,factory:function(n){let r=null;return r=n?new n:function lH(){return new lk(v(re))}(),r},providedIn:"root"})}return t})();typeof window<"u"&&window;const{isArray:pH}=Array,{getPrototypeOf:fH,prototype:gH,keys:_H}=Object;const{isArray:vH}=Array;function Vf(t){return pe(i=>function yH(t,i){return vH(i)?t(...i):t(i)}(t,i))}function Md(...t){const i=Ba(t),e=function Tb(t){return ve(_h(t))?t.pop():void 0}(t),{args:n,keys:r}=function fk(t){if(1===t.length){const i=t[0];if(pH(i))return{args:i,keys:null};if(function bH(t){return t&&"object"==typeof t&&fH(t)===gH}(i)){const e=_H(i);return{args:e.map(n=>i[n]),keys:e}}}return{args:t,keys:null}}(t);if(0===n.length)return at([],i);const o=new Be(function xH(t,i,e=Bn){return n=>{_k(i,()=>{const{length:r}=t,o=new Array(r);let a=r,s=r;for(let c=0;c<r;c++)_k(i,()=>{const l=at(t[c],i);let d=!1;l.subscribe(Ge(n,u=>{o[c]=u,d||(d=!0,s--),s||n.next(e(o.slice()))},()=>{--a||n.complete()}))},n)},n)}}(n,i,r?a=>function gk(t,i){return t.reduce((e,n,r)=>(e[n]=i[r],e),{})}(r,a):Bn));return e?o.pipe(Vf(e)):o}function _k(t,i,e){t?pn(e,t,i):i()}const Ed=Na(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Sd(...t){return function wH(){return ro(1)}()(at(t,Ba(t)))}function Id(t){return new Be(i=>{Pt(t()).subscribe(i)})}function oa(t,i){const e=ve(t)?t:()=>t,n=r=>r.error(e());return new Be(i?r=>i.schedule(n,0,r):n)}function Hf(){return et((t,i)=>{let e=null;t._refCount++;const n=Ge(i,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(e=null);const r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),i.unsubscribe()});t.subscribe(n),n.closed||(e=t.connect())})}class jf extends Be{constructor(i,e){super(),this.source=i,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,fb(i)&&(this.lift=i.lift)}_subscribe(i){return this.getSubject().subscribe(i)}getSubject(){const i=this._subject;return(!i||i.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:i}=this;this._subject=this._connection=null,i?.unsubscribe()}connect(){let i=this._connection;if(!i){i=this._connection=new Qe;const e=this.getSubject();i.add(this.source.subscribe(Ge(e,void 0,()=>{this._teardown(),e.complete()},n=>{this._teardown(),e.error(n)},()=>this._teardown()))),i.closed&&(this._connection=null,i=Qe.EMPTY)}return i}refCount(){return Hf()(this)}}function qt(t){return t<=0?()=>Ui:et((i,e)=>{let n=0;i.subscribe(Ge(e,r=>{++n<=t&&(e.next(r),t<=n&&e.complete())}))})}function tr(...t){const i=Ba(t);return et((e,n)=>{(i?Sd(t,e,i):Sd(t,e)).subscribe(n)})}function Mt(t,i){return et((e,n)=>{let r=0;e.subscribe(Ge(n,o=>t.call(i,o,r++)&&n.next(o)))})}function Td(t){return et((i,e)=>{let n=!1;i.subscribe(Ge(e,r=>{n=!0,e.next(r)},()=>{n||e.next(t),e.complete()}))})}function bk(t=CH){return et((i,e)=>{let n=!1;i.subscribe(Ge(e,r=>{n=!0,e.next(r)},()=>n?e.complete():e.error(t())))})}function CH(){return new Ed}function Br(t,i){const e=arguments.length>=2;return n=>n.pipe(t?Mt((r,o)=>t(r,o,n)):Bn,qt(1),e?Td(i):bk(()=>new Ed))}function aa(t,i){return ve(i)?bt(t,i,1):bt(t,1)}function lt(t,i,e){const n=ve(t)||i||e?{next:t,error:i,complete:e}:t;return n?et((r,o)=>{var a;null===(a=n.subscribe)||void 0===a||a.call(n);let s=!0;r.subscribe(Ge(o,c=>{var l;null===(l=n.next)||void 0===l||l.call(n,c),o.next(c)},()=>{var c;s=!1,null===(c=n.complete)||void 0===c||c.call(n),o.complete()},c=>{var l;s=!1,null===(l=n.error)||void 0===l||l.call(n,c),o.error(c)},()=>{var c,l;s&&(null===(c=n.unsubscribe)||void 0===c||c.call(n)),null===(l=n.finalize)||void 0===l||l.call(n)}))}):Bn}function ir(t){return et((i,e)=>{let o,n=null,r=!1;n=i.subscribe(Ge(e,void 0,void 0,a=>{o=Pt(t(a,ir(t)(i))),n?(n.unsubscribe(),n=null,o.subscribe(e)):r=!0})),r&&(n.unsubscribe(),n=null,o.subscribe(e))})}function zf(t){return t<=0?()=>Ui:et((i,e)=>{let n=[];i.subscribe(Ge(e,r=>{n.push(r),t<n.length&&n.shift()},()=>{for(const r of n)e.next(r);e.complete()},void 0,()=>{n=null}))})}function sa(t){return et((i,e)=>{try{i.subscribe(e)}finally{e.add(t)}})}function rt(t){return et((i,e)=>{Pt(t).subscribe(Ge(e,()=>e.complete(),ah)),!e.closed&&i.subscribe(e)})}const me="primary",zs=Symbol("RouteTitle");class SH{constructor(i){this.params=i||{}}has(i){return Object.prototype.hasOwnProperty.call(this.params,i)}get(i){if(this.has(i)){const e=this.params[i];return Array.isArray(e)?e[0]:e}return null}getAll(i){if(this.has(i)){const e=this.params[i];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function ca(t){return new SH(t)}function IH(t,i,e){const n=e.path.split("/");if(n.length>t.length||"full"===e.pathMatch&&(i.hasChildren()||n.length<t.length))return null;const r={};for(let o=0;o<n.length;o++){const a=n[o],s=t[o];if(a.startsWith(":"))r[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:t.slice(0,n.length),posParams:r}}function sn(t,i){const e=t?Object.keys(t):void 0,n=i?Object.keys(i):void 0;if(!e||!n||e.length!=n.length)return!1;let r;for(let o=0;o<e.length;o++)if(r=e[o],!vk(t[r],i[r]))return!1;return!0}function vk(t,i){if(Array.isArray(t)&&Array.isArray(i)){if(t.length!==i.length)return!1;const e=[...t].sort(),n=[...i].sort();return e.every((r,o)=>n[o]===r)}return t===i}function yk(t){return t.length>0?t[t.length-1]:null}function nr(t){return function pk(t){return!!t&&(t instanceof Be||ve(t.lift)&&ve(t.subscribe))}(t)?t:Ds(t)?at(Promise.resolve(t)):j(t)}const AH={exact:function Ck(t,i,e){if(!Vr(t.segments,i.segments)||!Ad(t.segments,i.segments,e)||t.numberOfChildren!==i.numberOfChildren)return!1;for(const n in i.children)if(!t.children[n]||!Ck(t.children[n],i.children[n],e))return!1;return!0},subset:Dk},xk={exact:function RH(t,i){return sn(t,i)},subset:function OH(t,i){return Object.keys(i).length<=Object.keys(t).length&&Object.keys(i).every(e=>vk(t[e],i[e]))},ignored:()=>!0};function wk(t,i,e){return AH[e.paths](t.root,i.root,e.matrixParams)&&xk[e.queryParams](t.queryParams,i.queryParams)&&!("exact"===e.fragment&&t.fragment!==i.fragment)}function Dk(t,i,e){return kk(t,i,i.segments,e)}function kk(t,i,e,n){if(t.segments.length>e.length){const r=t.segments.slice(0,e.length);return!(!Vr(r,e)||i.hasChildren()||!Ad(r,e,n))}if(t.segments.length===e.length){if(!Vr(t.segments,e)||!Ad(t.segments,e,n))return!1;for(const r in i.children)if(!t.children[r]||!Dk(t.children[r],i.children[r],n))return!1;return!0}{const r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!!(Vr(t.segments,r)&&Ad(t.segments,r,n)&&t.children[me])&&kk(t.children[me],i,o,n)}}function Ad(t,i,e){return i.every((n,r)=>xk[e](t[r].parameters,n.parameters))}class la{constructor(i=new Pe([],{}),e={},n=null){this.root=i,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ca(this.queryParams)),this._queryParamMap}toString(){return NH.serialize(this)}}class Pe{constructor(i,e){this.segments=i,this.children=e,this.parent=null,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Rd(this)}}class Us{constructor(i,e){this.path=i,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=ca(this.parameters)),this._parameterMap}toString(){return Sk(this)}}function Vr(t,i){return t.length===i.length&&t.every((e,n)=>e.path===i[n].path)}let $s=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:function(){return new Uf},providedIn:"root"})}return t})();class Uf{parse(i){const e=new qH(i);return new la(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(i){const e=`/${Gs(i.root,!0)}`,n=function VH(t){const i=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(r=>`${Od(e)}=${Od(r)}`).join("&"):`${Od(e)}=${Od(n)}`}).filter(e=>!!e);return i.length?`?${i.join("&")}`:""}(i.queryParams);return`${e}${n}${"string"==typeof i.fragment?`#${function LH(t){return encodeURI(t)}(i.fragment)}`:""}`}}const NH=new Uf;function Rd(t){return t.segments.map(i=>Sk(i)).join("/")}function Gs(t,i){if(!t.hasChildren())return Rd(t);if(i){const e=t.children[me]?Gs(t.children[me],!1):"",n=[];return Object.entries(t.children).forEach(([r,o])=>{r!==me&&n.push(`${r}:${Gs(o,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function PH(t,i){let e=[];return Object.entries(t.children).forEach(([n,r])=>{n===me&&(e=e.concat(i(r,n)))}),Object.entries(t.children).forEach(([n,r])=>{n!==me&&(e=e.concat(i(r,n)))}),e}(t,(n,r)=>r===me?[Gs(t.children[me],!1)]:[`${r}:${Gs(n,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[me]?`${Rd(t)}/${e[0]}`:`${Rd(t)}/(${e.join("//")})`}}function Mk(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Od(t){return Mk(t).replace(/%3B/gi,";")}function $f(t){return Mk(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Fd(t){return decodeURIComponent(t)}function Ek(t){return Fd(t.replace(/\+/g,"%20"))}function Sk(t){return`${$f(t.path)}${function BH(t){return Object.keys(t).map(i=>`;${$f(i)}=${$f(t[i])}`).join("")}(t.parameters)}`}const HH=/^[^\/()?;#]+/;function Gf(t){const i=t.match(HH);return i?i[0]:""}const jH=/^[^\/()?;=#]+/,UH=/^[^=?&#]+/,GH=/^[^&#]+/;class qH{constructor(i){this.url=i,this.remaining=i}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Pe([],{}):new Pe([],this.parseChildren())}parseQueryParams(){const i={};if(this.consumeOptional("?"))do{this.parseQueryParam(i)}while(this.consumeOptional("&"));return i}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const i=[];for(this.peekStartsWith("(")||i.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),i.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(i.length>0||Object.keys(e).length>0)&&(n[me]=new Pe(i,e)),n}parseSegment(){const i=Gf(this.remaining);if(""===i&&this.peekStartsWith(";"))throw new x(4009,!1);return this.capture(i),new Us(Fd(i),this.parseMatrixParams())}parseMatrixParams(){const i={};for(;this.consumeOptional(";");)this.parseParam(i);return i}parseParam(i){const e=function zH(t){const i=t.match(jH);return i?i[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const r=Gf(this.remaining);r&&(n=r,this.capture(n))}i[Fd(e)]=Fd(n)}parseQueryParam(i){const e=function $H(t){const i=t.match(UH);return i?i[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const a=function WH(t){const i=t.match(GH);return i?i[0]:""}(this.remaining);a&&(n=a,this.capture(n))}const r=Ek(e),o=Ek(n);if(i.hasOwnProperty(r)){let a=i[r];Array.isArray(a)||(a=[a],i[r]=a),a.push(o)}else i[r]=o}parseParens(i){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Gf(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new x(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):i&&(o=me);const a=this.parseChildren();e[o]=1===Object.keys(a).length?a[me]:new Pe([],a),this.consumeOptional("//")}return e}peekStartsWith(i){return this.remaining.startsWith(i)}consumeOptional(i){return!!this.peekStartsWith(i)&&(this.remaining=this.remaining.substring(i.length),!0)}capture(i){if(!this.consumeOptional(i))throw new x(4011,!1)}}function Ik(t){return t.segments.length>0?new Pe([],{[me]:t}):t}function Tk(t){const i={};for(const n of Object.keys(t.children)){const o=Tk(t.children[n]);if(n===me&&0===o.segments.length&&o.hasChildren())for(const[a,s]of Object.entries(o.children))i[a]=s;else(o.segments.length>0||o.hasChildren())&&(i[n]=o)}return function YH(t){if(1===t.numberOfChildren&&t.children[me]){const i=t.children[me];return new Pe(t.segments.concat(i.segments),i.children)}return t}(new Pe(t.segments,i))}function Hr(t){return t instanceof la}function Ak(t){let i;const r=Ik(function e(o){const a={};for(const c of o.children){const l=e(c);a[c.outlet]=l}const s=new Pe(o.url,a);return o===t&&(i=s),s}(t.root));return i??r}function Rk(t,i,e,n){let r=t;for(;r.parent;)r=r.parent;if(0===i.length)return Wf(r,r,r,e,n);const o=function ZH(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Fk(!0,0,t);let i=0,e=!1;const n=t.reduce((r,o,a)=>{if("object"==typeof o&&null!=o){if(o.outlets){const s={};return Object.entries(o.outlets).forEach(([c,l])=>{s[c]="string"==typeof l?l.split("/"):l}),[...r,{outlets:s}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===a?(o.split("/").forEach((s,c)=>{0==c&&"."===s||(0==c&&""===s?e=!0:".."===s?i++:""!=s&&r.push(s))}),r):[...r,o]},[]);return new Fk(e,i,n)}(i);if(o.toRoot())return Wf(r,r,new Pe([],{}),e,n);const a=function KH(t,i,e){if(t.isAbsolute)return new Nd(i,!0,0);if(!e)return new Nd(i,!1,NaN);if(null===e.parent)return new Nd(e,!0,0);const n=Pd(t.commands[0])?0:1;return function XH(t,i,e){let n=t,r=i,o=e;for(;o>r;){if(o-=r,n=n.parent,!n)throw new x(4005,!1);r=n.segments.length}return new Nd(n,!1,r-o)}(e,e.segments.length-1+n,t.numberOfDoubleDots)}(o,r,t),s=a.processChildren?qs(a.segmentGroup,a.index,o.commands):Pk(a.segmentGroup,a.index,o.commands);return Wf(r,a.segmentGroup,s,e,n)}function Pd(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Ws(t){return"object"==typeof t&&null!=t&&t.outlets}function Wf(t,i,e,n,r){let a,o={};n&&Object.entries(n).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(d=>`${d}`):`${l}`}),a=t===i?e:Ok(t,i,e);const s=Ik(Tk(a));return new la(s,o,r)}function Ok(t,i,e){const n={};return Object.entries(t.children).forEach(([r,o])=>{n[r]=o===i?e:Ok(o,i,e)}),new Pe(t.segments,n)}class Fk{constructor(i,e,n){if(this.isAbsolute=i,this.numberOfDoubleDots=e,this.commands=n,i&&n.length>0&&Pd(n[0]))throw new x(4003,!1);const r=n.find(Ws);if(r&&r!==yk(n))throw new x(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Nd{constructor(i,e,n){this.segmentGroup=i,this.processChildren=e,this.index=n}}function Pk(t,i,e){if(t||(t=new Pe([],{})),0===t.segments.length&&t.hasChildren())return qs(t,i,e);const n=function ej(t,i,e){let n=0,r=i;const o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(n>=e.length)return o;const a=t.segments[r],s=e[n];if(Ws(s))break;const c=`${s}`,l=n<e.length-1?e[n+1]:null;if(r>0&&void 0===c)break;if(c&&l&&"object"==typeof l&&void 0===l.outlets){if(!Lk(c,l,a))return o;n+=2}else{if(!Lk(c,{},a))return o;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}(t,i,e),r=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){const o=new Pe(t.segments.slice(0,n.pathIndex),{});return o.children[me]=new Pe(t.segments.slice(n.pathIndex),t.children),qs(o,0,r)}return n.match&&0===r.length?new Pe(t.segments,{}):n.match&&!t.hasChildren()?qf(t,i,e):n.match?qs(t,0,r):qf(t,i,e)}function qs(t,i,e){if(0===e.length)return new Pe(t.segments,{});{const n=function JH(t){return Ws(t[0])?t[0].outlets:{[me]:t}}(e),r={};if(Object.keys(n).some(o=>o!==me)&&t.children[me]&&1===t.numberOfChildren&&0===t.children[me].segments.length){const o=qs(t.children[me],i,e);return new Pe(t.segments,o.children)}return Object.entries(n).forEach(([o,a])=>{"string"==typeof a&&(a=[a]),null!==a&&(r[o]=Pk(t.children[o],i,a))}),Object.entries(t.children).forEach(([o,a])=>{void 0===n[o]&&(r[o]=a)}),new Pe(t.segments,r)}}function qf(t,i,e){const n=t.segments.slice(0,i);let r=0;for(;r<e.length;){const o=e[r];if(Ws(o)){const c=tj(o.outlets);return new Pe(n,c)}if(0===r&&Pd(e[0])){n.push(new Us(t.segments[i].path,Nk(e[0]))),r++;continue}const a=Ws(o)?o.outlets[me]:`${o}`,s=r<e.length-1?e[r+1]:null;a&&s&&Pd(s)?(n.push(new Us(a,Nk(s))),r+=2):(n.push(new Us(a,{})),r++)}return new Pe(n,{})}function tj(t){const i={};return Object.entries(t).forEach(([e,n])=>{"string"==typeof n&&(n=[n]),null!==n&&(i[e]=qf(new Pe([],{}),0,n))}),i}function Nk(t){const i={};return Object.entries(t).forEach(([e,n])=>i[e]=`${n}`),i}function Lk(t,i,e){return t==e.path&&sn(i,e.parameters)}const Ys="imperative";class cn{constructor(i,e){this.id=i,this.url=e}}class Ld extends cn{constructor(i,e,n="imperative",r=null){super(i,e),this.type=0,this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class rr extends cn{constructor(i,e,n){super(i,e),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Qs extends cn{constructor(i,e,n,r){super(i,e),this.reason=n,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class da extends cn{constructor(i,e,n,r){super(i,e),this.reason=n,this.code=r,this.type=16}}class Bd extends cn{constructor(i,e,n,r){super(i,e),this.error=n,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Bk extends cn{constructor(i,e,n,r){super(i,e),this.urlAfterRedirects=n,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ij extends cn{constructor(i,e,n,r){super(i,e),this.urlAfterRedirects=n,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nj extends cn{constructor(i,e,n,r,o){super(i,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class rj extends cn{constructor(i,e,n,r){super(i,e),this.urlAfterRedirects=n,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class oj extends cn{constructor(i,e,n,r){super(i,e),this.urlAfterRedirects=n,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class aj{constructor(i){this.route=i,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class sj{constructor(i){this.route=i,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class cj{constructor(i){this.snapshot=i,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lj{constructor(i){this.snapshot=i,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dj{constructor(i){this.snapshot=i,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class uj{constructor(i){this.snapshot=i,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Vk{constructor(i,e,n){this.routerEvent=i,this.position=e,this.anchor=n,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Yf{}class Qf{constructor(i){this.url=i}}class hj{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Zs,this.attachRef=null}}let Zs=(()=>{class t{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 hj,this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class Hk{constructor(i){this._root=i}get root(){return this._root.value}parent(i){const e=this.pathFromRoot(i);return e.length>1?e[e.length-2]:null}children(i){const e=Zf(i,this._root);return e?e.children.map(n=>n.value):[]}firstChild(i){const e=Zf(i,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(i){const e=Kf(i,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==i)}pathFromRoot(i){return Kf(i,this._root).map(e=>e.value)}}function Zf(t,i){if(t===i.value)return i;for(const e of i.children){const n=Zf(t,e);if(n)return n}return null}function Kf(t,i){if(t===i.value)return[i];for(const e of i.children){const n=Kf(t,e);if(n.length)return n.unshift(i),n}return[]}class In{constructor(i,e){this.value=i,this.children=e}toString(){return`TreeNode(${this.value})`}}function ua(t){const i={};return t&&t.children.forEach(e=>i[e.value.outlet]=e),i}class jk extends Hk{constructor(i,e){super(i),this.snapshot=e,Xf(this,i)}toString(){return this.snapshot.toString()}}function zk(t,i){const e=function mj(t,i){const a=new Vd([],{},{},"",{},me,i,null,{});return new $k("",new In(a,[]))}(0,i),n=new Qt([new Us("",{})]),r=new Qt({}),o=new Qt({}),a=new Qt({}),s=new Qt(""),c=new ha(n,r,a,s,o,me,i,e.root);return c.snapshot=e.root,new jk(new In(c,[]),e)}class ha{constructor(i,e,n,r,o,a,s,c){this.urlSubject=i,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(pe(l=>l[zs]))??j(void 0),this.url=i,this.params=e,this.queryParams=n,this.fragment=r,this.data=o}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(pe(i=>ca(i)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(pe(i=>ca(i)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Uk(t,i="emptyOnly"){const e=t.pathFromRoot;let n=0;if("always"!==i)for(n=e.length-1;n>=1;){const r=e[n],o=e[n-1];if(r.routeConfig&&""===r.routeConfig.path)n--;else{if(o.component)break;n--}}return function pj(t){return t.reduce((i,e)=>({params:{...i.params,...e.params},data:{...i.data,...e.data},resolve:{...e.data,...i.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(n))}class Vd{get title(){return this.data?.[zs]}constructor(i,e,n,r,o,a,s,c,l){this.url=i,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=c,this._resolve=l}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=ca(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ca(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(n=>n.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class $k extends Hk{constructor(i,e){super(e),this.url=i,Xf(this,e)}toString(){return Gk(this._root)}}function Xf(t,i){i.value._routerState=t,i.children.forEach(e=>Xf(t,e))}function Gk(t){const i=t.children.length>0?` { ${t.children.map(Gk).join(", ")} } `:"";return`${t.value}${i}`}function Jf(t){if(t.snapshot){const i=t.snapshot,e=t._futureSnapshot;t.snapshot=e,sn(i.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),i.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),sn(i.params,e.params)||t.paramsSubject.next(e.params),function TH(t,i){if(t.length!==i.length)return!1;for(let e=0;e<t.length;++e)if(!sn(t[e],i[e]))return!1;return!0}(i.url,e.url)||t.urlSubject.next(e.url),sn(i.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function eg(t,i){const e=sn(t.params,i.params)&&function FH(t,i){return Vr(t,i)&&t.every((e,n)=>sn(e.parameters,i[n].parameters))}(t.url,i.url);return e&&!(!t.parent!=!i.parent)&&(!t.parent||eg(t.parent,i.parent))}let Wk=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=me,this.activateEvents=new ne,this.deactivateEvents=new ne,this.attachEvents=new ne,this.detachEvents=new ne,this.parentContexts=I(Zs),this.location=I(kt),this.changeDetector=I(Gt),this.environmentInjector=I(ci),this.inputBinder=I(Hd,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){const{firstChange:n,previousValue:r}=e.name;if(n)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new x(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new x(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new x(4012,!1);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new x(4013,!1);this._activatedRoute=e;const r=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,c=new fj(e,s,r.injector);this.activated=r.createComponent(a,{index:r.length,injector:c,environmentInjector:n??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275dir=C({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[ht]})}return t})();class fj{constructor(i,e,n){this.route=i,this.childContexts=e,this.parent=n}get(i,e){return i===ha?this.route:i===Zs?this.childContexts:this.parent.get(i,e)}}const Hd=new y("");let qk=(()=>{class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){const{activatedRoute:n}=e,r=Md([n.queryParams,n.params,n.data]).pipe(fi(([o,a,s],c)=>(s={...o,...a,...s},0===c?j(s):Promise.resolve(s)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||null===n.component)return void this.unsubscribeFromRouteData(e);const a=function GV(t){const i=we(t);if(!i)return null;const e=new vs(i);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return i.standalone},get isSignal(){return i.signals}}}(n.component);if(a)for(const{templateName:s}of a.inputs)e.activatedComponentRef.setInput(s,o[s]);else this.unsubscribeFromRouteData(e)});this.outletDataSubscriptions.set(e,r)}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})();function Ks(t,i,e){if(e&&t.shouldReuseRoute(i.value,e.value.snapshot)){const n=e.value;n._futureSnapshot=i.value;const r=function _j(t,i,e){return i.children.map(n=>{for(const r of e.children)if(t.shouldReuseRoute(n.value,r.value.snapshot))return Ks(t,n,r);return Ks(t,n)})}(t,i,e);return new In(n,r)}{if(t.shouldAttach(i.value)){const o=t.retrieve(i.value);if(null!==o){const a=o.route;return a.value._futureSnapshot=i.value,a.children=i.children.map(s=>Ks(t,s)),a}}const n=function bj(t){return new ha(new Qt(t.url),new Qt(t.params),new Qt(t.queryParams),new Qt(t.fragment),new Qt(t.data),t.outlet,t.component,t)}(i.value),r=i.children.map(o=>Ks(t,o));return new In(n,r)}}const tg="ngNavigationCancelingError";function Yk(t,i){const{redirectTo:e,navigationBehaviorOptions:n}=Hr(i)?{redirectTo:i,navigationBehaviorOptions:void 0}:i,r=Qk(!1,0,i);return r.url=e,r.navigationBehaviorOptions=n,r}function Qk(t,i,e){const n=new Error("NavigationCancelingError: "+(t||""));return n[tg]=!0,n.cancellationCode=i,e&&(n.url=e),n}function Zk(t){return t&&t[tg]}let Kk=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275cmp=se({type:t,selectors:[["ng-component"]],standalone:!0,features:[Fr],decls:1,vars:0,template:function(n,r){1&n&&K(0,"router-outlet")},dependencies:[Wk],encapsulation:2})}return t})();function ig(t){const i=t.children&&t.children.map(ig),e=i?{...t,children:i}:{...t};return!e.component&&!e.loadComponent&&(i||e.loadChildren)&&e.outlet&&e.outlet!==me&&(e.component=Kk),e}function Vi(t){return t.outlet||me}function Xs(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let i=t.parent;i;i=i.parent){const e=i.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class Mj{constructor(i,e,n,r,o){this.routeReuseStrategy=i,this.futureState=e,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=o}activate(i){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,i),Jf(this.futureState.root),this.activateChildRoutes(e,n,i)}deactivateChildRoutes(i,e,n){const r=ua(e);i.children.forEach(o=>{const a=o.value.outlet;this.deactivateRoutes(o,r[a],n),delete r[a]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(i,e,n){const r=i.value,o=e?e.value:null;if(r===o)if(r.component){const a=n.getContext(r.outlet);a&&this.deactivateChildRoutes(i,e,a.children)}else this.deactivateChildRoutes(i,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(i,e){i.value.component&&this.routeReuseStrategy.shouldDetach(i.value.snapshot)?this.detachAndStoreRouteSubtree(i,e):this.deactivateRouteAndOutlet(i,e)}detachAndStoreRouteSubtree(i,e){const n=e.getContext(i.value.outlet),r=n&&i.value.component?n.children:e,o=ua(i);for(const a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],r);if(n&&n.outlet){const a=n.outlet.detach(),s=n.children.onOutletDeactivated();this.routeReuseStrategy.store(i.value.snapshot,{componentRef:a,route:i,contexts:s})}}deactivateRouteAndOutlet(i,e){const n=e.getContext(i.value.outlet),r=n&&i.value.component?n.children:e,o=ua(i);for(const a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(i,e,n){const r=ua(e);i.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],n),this.forwardEvent(new uj(o.value.snapshot))}),i.children.length&&this.forwardEvent(new lj(i.value.snapshot))}activateRoutes(i,e,n){const r=i.value,o=e?e.value:null;if(Jf(r),r===o)if(r.component){const a=n.getOrCreateContext(r.outlet);this.activateChildRoutes(i,e,a.children)}else this.activateChildRoutes(i,e,n);else if(r.component){const a=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),Jf(s.route.value),this.activateChildRoutes(i,null,a.children)}else{const s=Xs(r.snapshot);a.attachRef=null,a.route=r,a.injector=s,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(i,null,a.children)}}else this.activateChildRoutes(i,null,n)}}class Xk{constructor(i){this.path=i,this.route=this.path[this.path.length-1]}}class jd{constructor(i,e){this.component=i,this.route=e}}function Ej(t,i,e){const n=t._root;return Js(n,i?i._root:null,e,[n.value])}function ma(t,i){const e=Symbol(),n=i.get(t,e);return n===e?"function"!=typeof t||function o1(t){return null!==Hc(t)}(t)?i.get(t):t:n}function Js(t,i,e,n,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=ua(i);return t.children.forEach(a=>{(function Ij(t,i,e,n,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,a=i?i.value:null,s=e?e.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const c=function Tj(t,i,e){if("function"==typeof e)return e(t,i);switch(e){case"pathParamsChange":return!Vr(t.url,i.url);case"pathParamsOrQueryParamsChange":return!Vr(t.url,i.url)||!sn(t.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!eg(t,i)||!sn(t.queryParams,i.queryParams);default:return!eg(t,i)}}(a,o,o.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new Xk(n)):(o.data=a.data,o._resolvedData=a._resolvedData),Js(t,i,o.component?s?s.children:null:e,n,r),c&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new jd(s.outlet.component,a))}else a&&ec(i,s,r),r.canActivateChecks.push(new Xk(n)),Js(t,null,o.component?s?s.children:null:e,n,r)})(a,o[a.value.outlet],e,n.concat([a.value]),r),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>ec(s,e.getContext(a),r)),r}function ec(t,i,e){const n=ua(t),r=t.value;Object.entries(n).forEach(([o,a])=>{ec(a,r.component?i?i.children.getContext(o):null:i,e)}),e.canDeactivateChecks.push(new jd(r.component&&i&&i.outlet&&i.outlet.isActivated?i.outlet.component:null,r))}function tc(t){return"function"==typeof t}function Jk(t){return t instanceof Ed||"EmptyError"===t?.name}const zd=Symbol("INITIAL_VALUE");function pa(){return fi(t=>Md(t.map(i=>i.pipe(qt(1),tr(zd)))).pipe(pe(i=>{for(const e of i)if(!0!==e){if(e===zd)return zd;if(!1===e||e instanceof la)return e}return!0}),Mt(i=>i!==zd),qt(1)))}function eM(t){return function lA(...t){return hb(t)}(lt(i=>{if(Hr(i))throw Yk(0,i)}),pe(i=>!0===i))}class Ud{constructor(i){this.segmentGroup=i||null}}class tM{constructor(i){this.urlTree=i}}function fa(t){return oa(new Ud(t))}function iM(t){return oa(new tM(t))}class Zj{constructor(i,e){this.urlSerializer=i,this.urlTree=e}noMatchError(i){return new x(4002,!1)}lineralizeSegments(i,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return j(n);if(r.numberOfChildren>1||!r.children[me])return oa(new x(4e3,!1));r=r.children[me]}}applyRedirectCommands(i,e,n){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),i,n)}applyRedirectCreateUrlTree(i,e,n,r){const o=this.createSegmentGroup(i,e.root,n,r);return new la(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(i,e){const n={};return Object.entries(i).forEach(([r,o])=>{if("string"==typeof o&&o.startsWith(":")){const s=o.substring(1);n[r]=e[s]}else n[r]=o}),n}createSegmentGroup(i,e,n,r){const o=this.createSegments(i,e.segments,n,r);let a={};return Object.entries(e.children).forEach(([s,c])=>{a[s]=this.createSegmentGroup(i,c,n,r)}),new Pe(o,a)}createSegments(i,e,n,r){return e.map(o=>o.path.startsWith(":")?this.findPosParam(i,o,r):this.findOrReturn(o,n))}findPosParam(i,e,n){const r=n[e.path.substring(1)];if(!r)throw new x(4001,!1);return r}findOrReturn(i,e){let n=0;for(const r of e){if(r.path===i.path)return e.splice(n),r;n++}return i}}const ng={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Kj(t,i,e,n,r){const o=rg(t,i,e);return o.matched?(n=function yj(t,i){return t.providers&&!t._injector&&(t._injector=Fp(t.providers,i,`Route: ${t.path}`)),t._injector??i}(i,n),function qj(t,i,e,n){const r=i.canMatch;return r&&0!==r.length?j(r.map(a=>{const s=ma(a,t);return nr(function Nj(t){return t&&tc(t.canMatch)}(s)?s.canMatch(i,e):t.runInContext(()=>s(i,e)))})).pipe(pa(),eM()):j(!0)}(n,i,e).pipe(pe(a=>!0===a?o:{...ng}))):j(o)}function rg(t,i,e){if(""===i.path)return"full"===i.pathMatch&&(t.hasChildren()||e.length>0)?{...ng}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(i.matcher||IH)(e,t,i);if(!r)return{...ng};const o={};Object.entries(r.posParams??{}).forEach(([s,c])=>{o[s]=c.path});const a=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}}}function nM(t,i,e,n){return e.length>0&&function ez(t,i,e){return e.some(n=>$d(t,i,n)&&Vi(n)!==me)}(t,e,n)?{segmentGroup:new Pe(i,Jj(n,new Pe(e,t.children))),slicedSegments:[]}:0===e.length&&function tz(t,i,e){return e.some(n=>$d(t,i,n))}(t,e,n)?{segmentGroup:new Pe(t.segments,Xj(t,0,e,n,t.children)),slicedSegments:e}:{segmentGroup:new Pe(t.segments,t.children),slicedSegments:e}}function Xj(t,i,e,n,r){const o={};for(const a of n)if($d(t,e,a)&&!r[Vi(a)]){const s=new Pe([],{});o[Vi(a)]=s}return{...r,...o}}function Jj(t,i){const e={};e[me]=i;for(const n of t)if(""===n.path&&Vi(n)!==me){const r=new Pe([],{});e[Vi(n)]=r}return e}function $d(t,i,e){return(!(t.hasChildren()||i.length>0)||"full"!==e.pathMatch)&&""===e.path}class oz{constructor(i,e,n,r,o,a,s){this.injector=i,this.configLoader=e,this.rootComponentType=n,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.allowRedirects=!0,this.applyRedirects=new Zj(this.urlSerializer,this.urlTree)}noMatchError(i){return new x(4002,!1)}recognize(){const i=nM(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,i,me).pipe(ir(e=>{if(e instanceof tM)return this.allowRedirects=!1,this.urlTree=e.urlTree,this.match(e.urlTree);throw e instanceof Ud?this.noMatchError(e):e}),pe(e=>{const n=new Vd([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},me,this.rootComponentType,null,{}),r=new In(n,e),o=new $k("",r),a=function QH(t,i,e=null,n=null){return Rk(Ak(t),i,e,n)}(n,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(o._root),{state:o,tree:a}}))}match(i){return this.processSegmentGroup(this.injector,this.config,i.root,me).pipe(ir(n=>{throw n instanceof Ud?this.noMatchError(n):n}))}inheritParamsAndData(i){const e=i.value,n=Uk(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),i.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(i,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(i,e,n):this.processSegment(i,e,n,n.segments,r,!0)}processChildren(i,e,n){const r=[];for(const o of Object.keys(n.children))"primary"===o?r.unshift(o):r.push(o);return at(r).pipe(aa(o=>{const a=n.children[o],s=function Dj(t,i){const e=t.filter(n=>Vi(n)===i);return e.push(...t.filter(n=>Vi(n)!==i)),e}(e,o);return this.processSegmentGroup(i,s,a,o)}),function kH(t,i){return et(function DH(t,i,e,n,r){return(o,a)=>{let s=e,c=i,l=0;o.subscribe(Ge(a,d=>{const u=l++;c=s?t(c,d,u):(s=!0,d),n&&a.next(c)},r&&(()=>{s&&a.next(c),a.complete()})))}}(t,i,arguments.length>=2,!0))}((o,a)=>(o.push(...a),o)),Td(null),function MH(t,i){const e=arguments.length>=2;return n=>n.pipe(t?Mt((r,o)=>t(r,o,n)):Bn,zf(1),e?Td(i):bk(()=>new Ed))}(),bt(o=>{if(null===o)return fa(n);const a=rM(o);return function az(t){t.sort((i,e)=>i.value.outlet===me?-1:e.value.outlet===me?1:i.value.outlet.localeCompare(e.value.outlet))}(a),j(a)}))}processSegment(i,e,n,r,o,a){return at(e).pipe(aa(s=>this.processSegmentAgainstRoute(s._injector??i,e,s,n,r,o,a).pipe(ir(c=>{if(c instanceof Ud)return j(null);throw c}))),Br(s=>!!s),ir(s=>{if(Jk(s))return function nz(t,i,e){return 0===i.length&&!t.children[e]}(n,r,o)?j([]):fa(n);throw s}))}processSegmentAgainstRoute(i,e,n,r,o,a,s){return function iz(t,i,e,n){return!!(Vi(t)===n||n!==me&&$d(i,e,t))&&("**"===t.path||rg(i,t,e).matched)}(n,r,o,a)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(i,r,n,o,a,s):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(i,r,e,n,o,a):fa(r):fa(r)}expandSegmentAgainstRouteUsingRedirect(i,e,n,r,o,a){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(i,n,r,a):this.expandRegularSegmentAgainstRouteUsingRedirect(i,e,n,r,o,a)}expandWildCardWithParamsAgainstRouteUsingRedirect(i,e,n,r){const o=this.applyRedirects.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?iM(o):this.applyRedirects.lineralizeSegments(n,o).pipe(bt(a=>{const s=new Pe(a,{});return this.processSegment(i,e,s,a,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(i,e,n,r,o,a){const{matched:s,consumedSegments:c,remainingSegments:l,positionalParamSegments:d}=rg(e,r,o);if(!s)return fa(e);const u=this.applyRedirects.applyRedirectCommands(c,r.redirectTo,d);return r.redirectTo.startsWith("/")?iM(u):this.applyRedirects.lineralizeSegments(r,u).pipe(bt(h=>this.processSegment(i,n,e,h.concat(l),a,!1)))}matchSegmentAgainstRoute(i,e,n,r,o,a){let s;if("**"===n.path){const c=r.length>0?yk(r).parameters:{};s=j({snapshot:new Vd(r,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,oM(n),Vi(n),n.component??n._loadedComponent??null,n,aM(n)),consumedSegments:[],remainingSegments:[]}),e.children={}}else s=Kj(e,n,r,i).pipe(pe(({matched:c,consumedSegments:l,remainingSegments:d,parameters:u})=>c?{snapshot:new Vd(l,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,oM(n),Vi(n),n.component??n._loadedComponent??null,n,aM(n)),consumedSegments:l,remainingSegments:d}:null));return s.pipe(fi(c=>null===c?fa(e):this.getChildConfig(i=n._injector??i,n,r).pipe(fi(({routes:l})=>{const d=n._loadedInjector??i,{snapshot:u,consumedSegments:h,remainingSegments:m}=c,{segmentGroup:f,slicedSegments:g}=nM(e,h,m,l);if(0===g.length&&f.hasChildren())return this.processChildren(d,l,f).pipe(pe(w=>null===w?null:[new In(u,w)]));if(0===l.length&&0===g.length)return j([new In(u,[])]);const _=Vi(n)===o;return this.processSegment(d,l,f,g,_?me:o,!0).pipe(pe(w=>[new In(u,w)]))}))))}getChildConfig(i,e,n){return e.children?j({routes:e.children,injector:i}):e.loadChildren?void 0!==e._loadedRoutes?j({routes:e._loadedRoutes,injector:e._loadedInjector}):function Wj(t,i,e,n){const r=i.canLoad;return void 0===r||0===r.length?j(!0):j(r.map(a=>{const s=ma(a,t);return nr(function Rj(t){return t&&tc(t.canLoad)}(s)?s.canLoad(i,e):t.runInContext(()=>s(i,e)))})).pipe(pa(),eM())}(i,e,n).pipe(bt(r=>r?this.configLoader.loadChildren(i,e).pipe(lt(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function Qj(t){return oa(Qk(!1,3))}())):j({routes:[],injector:i})}}function sz(t){const i=t.value.routeConfig;return i&&""===i.path}function rM(t){const i=[],e=new Set;for(const n of t){if(!sz(n)){i.push(n);continue}const r=i.find(o=>n.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...n.children),e.add(r)):i.push(n)}for(const n of e){const r=rM(n.children);i.push(new In(n.value,r))}return i.filter(n=>!e.has(n))}function oM(t){return t.data||{}}function aM(t){return t.resolve||{}}function sM(t){return"string"==typeof t.title||null===t.title}function og(t){return fi(i=>{const e=t(i);return e?at(e).pipe(pe(()=>i)):j(i)})}const ga=new y("ROUTES");let ag=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=I(VC)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return j(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const n=nr(e.loadComponent()).pipe(pe(cM),lt(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),sa(()=>{this.componentLoaders.delete(e)})),r=new jf(n,()=>new Y).pipe(Hf());return this.componentLoaders.set(e,r),r}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return j({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);const o=function pz(t,i,e,n){return nr(t.loadChildren()).pipe(pe(cM),bt(r=>r instanceof Yw||Array.isArray(r)?j(r):at(i.compileModuleAsync(r))),pe(r=>{n&&n(t);let o,a,s=!1;return Array.isArray(r)?(a=r,!0):(o=r.create(e).injector,a=o.get(ga,[],{optional:!0,self:!0}).flat()),{routes:a.map(ig),injector:o}}))}(n,this.compiler,e,this.onLoadEndListener).pipe(sa(()=>{this.childrenLoaders.delete(n)})),a=new jf(o,()=>new Y).pipe(Hf());return this.childrenLoaders.set(n,a),a}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function cM(t){return function fz(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}let Gd=(()=>{class t{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Y,this.transitionAbortSubject=new Y,this.configLoader=I(ag),this.environmentInjector=I(ci),this.urlSerializer=I($s),this.rootContexts=I(Zs),this.inputBindingEnabled=null!==I(Hd,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>j(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new sj(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new aj(r))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const n=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:n})}setupNavigations(e,n,r){return this.transitions=new Qt({id:0,currentUrlTree:n,currentRawUrl:n,currentBrowserUrl:n,extractedUrl:e.urlHandlingStrategy.extract(n),urlAfterRedirects:e.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ys,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Mt(o=>0!==o.id),pe(o=>({...o,extractedUrl:e.urlHandlingStrategy.extract(o.rawUrl)})),fi(o=>{this.currentTransition=o;let a=!1,s=!1;return j(o).pipe(lt(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),fi(c=>{const l=c.currentBrowserUrl.toString(),d=!e.navigated||c.extractedUrl.toString()!==l||l!==c.currentUrlTree.toString();if(!d&&"reload"!==(c.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const h="";return this.events.next(new da(c.id,this.urlSerializer.serialize(c.rawUrl),h,0)),c.resolve(null),Ui}if(e.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return j(c).pipe(fi(h=>{const m=this.transitions?.getValue();return this.events.next(new Ld(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),m!==this.transitions?.getValue()?Ui:Promise.resolve(h)}),function cz(t,i,e,n,r,o){return bt(a=>function rz(t,i,e,n,r,o,a="emptyOnly"){return new oz(t,i,e,n,r,a,o).recognize()}(t,i,e,n,a.extractedUrl,r,o).pipe(pe(({state:s,tree:c})=>({...a,targetSnapshot:s,urlAfterRedirects:c}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),lt(h=>{o.targetSnapshot=h.targetSnapshot,o.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:h.urlAfterRedirects};const m=new Bk(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}));if(d&&e.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){const{id:h,extractedUrl:m,source:f,restoredState:g,extras:_}=c,w=new Ld(h,this.urlSerializer.serialize(m),f,g);this.events.next(w);const b=zk(0,this.rootComponentType).snapshot;return this.currentTransition=o={...c,targetSnapshot:b,urlAfterRedirects:m,extras:{..._,skipLocationChange:!1,replaceUrl:!1}},j(o)}{const h="";return this.events.next(new da(c.id,this.urlSerializer.serialize(c.extractedUrl),h,1)),c.resolve(null),Ui}}),lt(c=>{const l=new ij(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),pe(c=>(this.currentTransition=o={...c,guards:Ej(c.targetSnapshot,c.currentSnapshot,this.rootContexts)},o)),function Bj(t,i){return bt(e=>{const{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:a}}=e;return 0===a.length&&0===o.length?j({...e,guardsResult:!0}):function Vj(t,i,e,n){return at(t).pipe(bt(r=>function Gj(t,i,e,n,r){const o=i&&i.routeConfig?i.routeConfig.canDeactivate:null;return o&&0!==o.length?j(o.map(s=>{const c=Xs(i)??r,l=ma(s,c);return nr(function Pj(t){return t&&tc(t.canDeactivate)}(l)?l.canDeactivate(t,i,e,n):c.runInContext(()=>l(t,i,e,n))).pipe(Br())})).pipe(pa()):j(!0)}(r.component,r.route,e,i,n)),Br(r=>!0!==r,!0))}(a,n,r,t).pipe(bt(s=>s&&function Aj(t){return"boolean"==typeof t}(s)?function Hj(t,i,e,n){return at(i).pipe(aa(r=>Sd(function zj(t,i){return null!==t&&i&&i(new cj(t)),j(!0)}(r.route.parent,n),function jj(t,i){return null!==t&&i&&i(new dj(t)),j(!0)}(r.route,n),function $j(t,i,e){const n=i[i.length-1],o=i.slice(0,i.length-1).reverse().map(a=>function Sj(t){const i=t.routeConfig?t.routeConfig.canActivateChild:null;return i&&0!==i.length?{node:t,guards:i}:null}(a)).filter(a=>null!==a).map(a=>Id(()=>j(a.guards.map(c=>{const l=Xs(a.node)??e,d=ma(c,l);return nr(function Fj(t){return t&&tc(t.canActivateChild)}(d)?d.canActivateChild(n,t):l.runInContext(()=>d(n,t))).pipe(Br())})).pipe(pa())));return j(o).pipe(pa())}(t,r.path,e),function Uj(t,i,e){const n=i.routeConfig?i.routeConfig.canActivate:null;if(!n||0===n.length)return j(!0);const r=n.map(o=>Id(()=>{const a=Xs(i)??e,s=ma(o,a);return nr(function Oj(t){return t&&tc(t.canActivate)}(s)?s.canActivate(i,t):a.runInContext(()=>s(i,t))).pipe(Br())}));return j(r).pipe(pa())}(t,r.route,e))),Br(r=>!0!==r,!0))}(n,o,t,i):j(s)),pe(s=>({...e,guardsResult:s})))})}(this.environmentInjector,c=>this.events.next(c)),lt(c=>{if(o.guardsResult=c.guardsResult,Hr(c.guardsResult))throw Yk(0,c.guardsResult);const l=new nj(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),Mt(c=>!!c.guardsResult||(this.cancelNavigationTransition(c,"",3),!1)),og(c=>{if(c.guards.canActivateChecks.length)return j(c).pipe(lt(l=>{const d=new rj(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),fi(l=>{let d=!1;return j(l).pipe(function lz(t,i){return bt(e=>{const{targetSnapshot:n,guards:{canActivateChecks:r}}=e;if(!r.length)return j(e);let o=0;return at(r).pipe(aa(a=>function dz(t,i,e,n){const r=t.routeConfig,o=t._resolve;return void 0!==r?.title&&!sM(r)&&(o[zs]=r.title),function uz(t,i,e,n){const r=function hz(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===r.length)return j({});const o={};return at(r).pipe(bt(a=>function mz(t,i,e,n){const r=Xs(i)??n,o=ma(t,r);return nr(o.resolve?o.resolve(i,e):r.runInContext(()=>o(i,e)))}(t[a],i,e,n).pipe(Br(),lt(s=>{o[a]=s}))),zf(1),function EH(t){return pe(()=>t)}(o),ir(a=>Jk(a)?Ui:oa(a)))}(o,t,i,n).pipe(pe(a=>(t._resolvedData=a,t.data=Uk(t,e).resolve,r&&sM(r)&&(t.data[zs]=r.title),null)))}(a.route,n,t,i)),lt(()=>o++),zf(1),bt(a=>o===r.length?j(e):Ui))})}(e.paramsInheritanceStrategy,this.environmentInjector),lt({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",2)}}))}),lt(l=>{const d=new oj(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),og(c=>{const l=d=>{const u=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(d.routeConfig).pipe(lt(h=>{d.component=h}),pe(()=>{})));for(const h of d.children)u.push(...l(h));return u};return Md(l(c.targetSnapshot.root)).pipe(Td(),qt(1))}),og(()=>this.afterPreactivation()),pe(c=>{const l=function gj(t,i,e){const n=Ks(t,i._root,e?e._root:void 0);return new jk(n,i)}(e.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=o={...c,targetRouterState:l},o}),lt(()=>{this.events.next(new Yf)}),((t,i,e,n)=>pe(r=>(new Mj(i,r.targetRouterState,r.currentRouterState,e,n).activate(t),r)))(this.rootContexts,e.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),qt(1),lt({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new rr(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),e.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),rt(this.transitionAbortSubject.pipe(lt(c=>{throw c}))),sa(()=>{a||s||this.cancelNavigationTransition(o,"",1),this.currentNavigation?.id===o.id&&(this.currentNavigation=null)}),ir(c=>{if(s=!0,Zk(c))this.events.next(new Qs(o.id,this.urlSerializer.serialize(o.extractedUrl),c.message,c.cancellationCode)),function vj(t){return Zk(t)&&Hr(t.url)}(c)?this.events.next(new Qf(c.url)):o.resolve(!1);else{this.events.next(new Bd(o.id,this.urlSerializer.serialize(o.extractedUrl),c,o.targetSnapshot??void 0));try{o.resolve(e.errorHandler(c))}catch(l){o.reject(l)}}return Ui}))}))}cancelNavigationTransition(e,n,r){const o=new Qs(e.id,this.urlSerializer.serialize(e.extractedUrl),n,r);this.events.next(o),e.resolve(!1)}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function lM(t){return t!==Ys}let dM=(()=>{class t{buildTitle(e){let n,r=e.root;for(;void 0!==r;)n=this.getResolvedTitleForRoute(r)??n,r=r.children.find(o=>o.outlet===me);return n}getResolvedTitleForRoute(e){return e.data[zs]}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:function(){return I(gz)},providedIn:"root"})}return t})(),gz=(()=>{class t extends dM{constructor(e){super(),this.title=e}updateTitle(e){const n=this.buildTitle(e);void 0!==n&&this.title.setTitle(n)}static#e=this.\u0275fac=function(n){return new(n||t)(v(lk))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),_z=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:function(){return I(vz)},providedIn:"root"})}return t})();class bz{shouldDetach(i){return!1}store(i,e){}shouldAttach(i){return!1}retrieve(i){return null}shouldReuseRoute(i,e){return i.routeConfig===e.routeConfig}}let vz=(()=>{class t extends bz{static#e=this.\u0275fac=function(){let e;return function(r){return(e||(e=ie(t)))(r||t)}}();static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const Wd=new y("",{providedIn:"root",factory:()=>({})});let yz=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:function(){return I(xz)},providedIn:"root"})}return t})(),xz=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ic=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(ic||{});function uM(t,i){t.events.pipe(Mt(e=>e instanceof rr||e instanceof Qs||e instanceof Bd||e instanceof da),pe(e=>e instanceof rr||e instanceof da?ic.COMPLETE:e instanceof Qs&&(0===e.code||1===e.code)?ic.REDIRECTING:ic.FAILED),Mt(e=>e!==ic.REDIRECTING),qt(1)).subscribe(()=>{i()})}function wz(t){throw t}function Cz(t,i,e){return i.parse("/")}const Dz={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},kz={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Mi=(()=>{class t{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=I(BC),this.isNgZoneEnabled=!1,this._events=new Y,this.options=I(Wd,{optional:!0})||{},this.pendingTasks=I(rd),this.errorHandler=this.options.errorHandler||wz,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Cz,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=I(yz),this.routeReuseStrategy=I(_z),this.titleStrategy=I(dM),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=I(ga,{optional:!0})?.flat()??[],this.navigationTransitions=I(Gd),this.urlSerializer=I($s),this.location=I(Ls),this.componentInputBindingEnabled=!!I(Hd,{optional:!0}),this.eventsSubscription=new Qe,this.isNgZoneEnabled=I(z)instanceof z&&z.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new la,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=zk(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const e=this.navigationTransitions.events.subscribe(n=>{try{const{currentTransition:r}=this.navigationTransitions;if(null===r)return void(hM(n)&&this._events.next(n));if(n instanceof Ld)lM(r.source)&&(this.browserUrlTree=r.extractedUrl);else if(n instanceof da)this.rawUrlTree=r.rawUrl;else if(n instanceof Bk){if("eager"===this.urlUpdateStrategy){if(!r.extras.skipLocationChange){const o=this.urlHandlingStrategy.merge(r.urlAfterRedirects,r.rawUrl);this.setBrowserUrl(o,r)}this.browserUrlTree=r.urlAfterRedirects}}else if(n instanceof Yf)this.currentUrlTree=r.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(r.urlAfterRedirects,r.rawUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r),this.browserUrlTree=r.urlAfterRedirects);else if(n instanceof Qs)0!==n.code&&1!==n.code&&(this.navigated=!0),(3===n.code||2===n.code)&&this.restoreHistory(r);else if(n instanceof Qf){const o=this.urlHandlingStrategy.merge(n.url,r.currentRawUrl),a={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||lM(r.source)};this.scheduleNavigation(o,Ys,null,a,{resolve:r.resolve,reject:r.reject,promise:r.promise})}n instanceof Bd&&this.restoreHistory(r,!0),n instanceof rr&&(this.navigated=!0),hM(n)&&this._events.next(n)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const e=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Ys,e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const n="popstate"===e.type?"popstate":"hashchange";"popstate"===n&&setTimeout(()=>{this.navigateToSyncWithBrowser(e.url,n,e.state)},0)}))}navigateToSyncWithBrowser(e,n,r){const o={replaceUrl:!0},a=r?.navigationId?r:null;if(r){const c={...r};delete c.navigationId,delete c.\u0275routerPageId,0!==Object.keys(c).length&&(o.state=c)}const s=this.parseUrl(e);this.scheduleNavigation(s,n,a,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(ig),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,n={}){const{relativeTo:r,queryParams:o,fragment:a,queryParamsHandling:s,preserveFragment:c}=n,l=c?this.currentUrlTree.fragment:a;let u,d=null;switch(s){case"merge":d={...this.currentUrlTree.queryParams,...o};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}null!==d&&(d=this.removeEmptyProps(d));try{u=Ak(r?r.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||!e[0].startsWith("/"))&&(e=[]),u=this.currentUrlTree.root}return Rk(u,e,d,l??null)}navigateByUrl(e,n={skipLocationChange:!1}){const r=Hr(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,Ys,null,n)}navigate(e,n={skipLocationChange:!1}){return function Mz(t){for(let i=0;i<t.length;i++)if(null==t[i])throw new x(4008,!1)}(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let n;try{n=this.urlSerializer.parse(e)}catch(r){n=this.malformedUriErrorHandler(r,this.urlSerializer,e)}return n}isActive(e,n){let r;if(r=!0===n?{...Dz}:!1===n?{...kz}:n,Hr(e))return wk(this.currentUrlTree,e,r);const o=this.parseUrl(e);return wk(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.keys(e).reduce((n,r)=>{const o=e[r];return null!=o&&(n[r]=o),n},{})}scheduleNavigation(e,n,r,o,a){if(this.disposed)return Promise.resolve(!1);let s,c,l;a?(s=a.resolve,c=a.reject,l=a.promise):l=new Promise((u,h)=>{s=u,c=h});const d=this.pendingTasks.add();return uM(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:e,extras:o,resolve:s,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(u=>Promise.reject(u))}setBrowserUrl(e,n){const r=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(r)||n.extras.replaceUrl){const a={...n.extras.state,...this.generateNgRouterState(n.id,this.browserPageId)};this.location.replaceState(r,"",a)}else{const o={...n.extras.state,...this.generateNgRouterState(n.id,this.browserPageId+1)};this.location.go(r,"",o)}}restoreHistory(e,n=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-this.browserPageId;0!==o?this.location.historyGo(o):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(n&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function hM(t){return!(t instanceof Yf||t instanceof Qf)}class mM{}let Iz=(()=>{class t{constructor(e,n,r,o,a){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Mt(e=>e instanceof rr),aa(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,n){const r=[];for(const o of n){o.providers&&!o._injector&&(o._injector=Fp(o.providers,e,`Route: ${o.path}`));const a=o._injector??e,s=o._loadedInjector??a;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(a,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(s,o.children??o._loadedRoutes))}return at(r).pipe(ro())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{let r;r=n.loadChildren&&void 0===n.canLoad?this.loader.loadChildren(e,n):j(null);const o=r.pipe(bt(a=>null===a?j(void 0):(n._loadedRoutes=a.routes,n._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));return n.loadComponent&&!n._loadedComponent?at([o,this.loader.loadComponent(n)]).pipe(ro()):o})}static#e=this.\u0275fac=function(n){return new(n||t)(v(Mi),v(VC),v(ci),v(mM),v(ag))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const cg=new y("");let pM=(()=>{class t{constructor(e,n,r,o,a={}){this.urlSerializer=e,this.transitions=n,this.viewportScroller=r,this.zone=o,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Ld?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof rr?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof da&&0===e.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Vk&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Vk(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(n){qn()};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})();function Tn(t,i){return{\u0275kind:t,\u0275providers:i}}function gM(){const t=I(st);return i=>{const e=t.get(Xn);if(i!==e.components[0])return;const n=t.get(Mi),r=t.get(_M);1===t.get(lg)&&n.initialNavigation(),t.get(bM,null,ge.Optional)?.setUpPreloading(),t.get(cg,null,ge.Optional)?.init(),n.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const _M=new y("",{factory:()=>new Y}),lg=new y("",{providedIn:"root",factory:()=>1}),bM=new y("");function Oz(t){return Tn(0,[{provide:bM,useExisting:Iz},{provide:mM,useExisting:t}])}const vM=new y("ROUTER_FORROOT_GUARD"),Pz=[Ls,{provide:$s,useClass:Uf},Mi,Zs,{provide:ha,useFactory:function fM(t){return t.routerState.root},deps:[Mi]},ag,[]];function Nz(){return new WC("Router",Mi)}let yM=(()=>{class t{constructor(e){}static forRoot(e,n){return{ngModule:t,providers:[Pz,[],{provide:ga,multi:!0,useValue:e},{provide:vM,useFactory:Hz,deps:[[Mi,new yi,new Ki]]},{provide:Wd,useValue:n||{}},n?.useHash?{provide:Nr,useClass:ZV}:{provide:Nr,useClass:wD},{provide:cg,useFactory:()=>{const t=I(f4),i=I(z),e=I(Wd),n=I(Gd),r=I($s);return e.scrollOffset&&t.setOffset(e.scrollOffset),new pM(r,n,t,i,e)}},n?.preloadingStrategy?Oz(n.preloadingStrategy).\u0275providers:[],{provide:WC,multi:!0,useFactory:Nz},n?.initialNavigation?jz(n):[],n?.bindToComponentInputs?Tn(8,[qk,{provide:Hd,useExisting:qk}]).\u0275providers:[],[{provide:xM,useFactory:gM},{provide:tf,multi:!0,useExisting:xM}]]}}static forChild(e){return{ngModule:t,providers:[{provide:ga,multi:!0,useValue:e}]}}static#e=this.\u0275fac=function(n){return new(n||t)(v(vM,8))};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({})}return t})();function Hz(t){return"guarded"}function jz(t){return["disabled"===t.initialNavigation?Tn(3,[{provide:qp,multi:!0,useFactory:()=>{const i=I(Mi);return()=>{i.setUpLocationChangeListener()}}},{provide:lg,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?Tn(2,[{provide:lg,useValue:0},{provide:qp,multi:!0,deps:[st],useFactory:i=>{const e=i.get(YV,Promise.resolve());return()=>e.then(()=>new Promise(n=>{const r=i.get(Mi),o=i.get(_M);uM(r,()=>{n(!0)}),i.get(Gd).afterPreactivation=()=>(n(!0),o.closed?j(void 0):o),r.initialNavigation()}))}}]).\u0275providers:[]]}const xM=new y(""),Uz=[];let dg,$z=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[yM.forRoot(Uz),yM]})}return t})();try{dg=typeof Intl<"u"&&Intl.v8BreakIterator}catch{dg=!1}let nc,jr,ug,Et=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?wd(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!dg)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(n){return new(n||t)(v(Ji))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Hi(t){return function Gz(){if(null==nc&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>nc=!0}))}finally{nc=nc||!1}return nc}()?t:!!t.capture}function Wz(){if(null==jr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return jr=!1,jr;if("scrollBehavior"in document.documentElement.style)jr=!0;else{const t=Element.prototype.scrollTo;jr=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return jr}function Yd(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const i=t.shadowRoot.activeElement;if(i===t)break;t=i}return t}function or(t){return t.composedPath?t.composedPath()[0]:t.target}function hg(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function ar(t,...i){return i.length?i.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}class h5 extends Qe{constructor(i,e){super()}schedule(i,e=0){return this}}const Qd={setInterval(t,i,...e){const{delegate:n}=Qd;return n?.setInterval?n.setInterval(t,i,...e):setInterval(t,i,...e)},clearInterval(t){const{delegate:i}=Qd;return(i?.clearInterval||clearInterval)(t)},delegate:void 0};class gg extends h5{constructor(i,e){super(i,e),this.scheduler=i,this.work=e,this.pending=!1}schedule(i,e=0){var n;if(this.closed)return this;this.state=i;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(o,this.id,e),this}requestAsyncId(i,e,n=0){return Qd.setInterval(i.flush.bind(i,this),n)}recycleAsyncId(i,e,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return e;null!=e&&Qd.clearInterval(e)}execute(i,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(i,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(i,e){let r,n=!1;try{this.work(i)}catch(o){n=!0,r=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:i,scheduler:e}=this,{actions:n}=e;this.work=this.state=this.scheduler=null,this.pending=!1,no(n,this),null!=i&&(this.id=this.recycleAsyncId(e,i,null)),this.delay=null,super.unsubscribe()}}}const MM={now:()=>(MM.delegate||Date).now(),delegate:void 0};class oc{constructor(i,e=oc.now){this.schedulerActionCtor=i,this.now=e}schedule(i,e=0,n){return new this.schedulerActionCtor(this,i).schedule(n,e)}}oc.now=MM.now;class _g extends oc{constructor(i,e=oc.now){super(i,e),this.actions=[],this._active=!1}flush(i){const{actions:e}=this;if(this._active)return void e.push(i);let n;this._active=!0;do{if(n=i.execute(i.state,i.delay))break}while(i=e.shift());if(this._active=!1,n){for(;i=e.shift();)i.unsubscribe();throw n}}}const bg=new _g(gg),m5=bg;function EM(t){return Mt((i,e)=>t<=e)}function de(t){return null!=t&&"false"!=`${t}`}function ba(t,i=0){return function p5(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):i}function Zd(t){return Array.isArray(t)?t:[t]}function dt(t){return null==t?"":"string"==typeof t?t:`${t}px`}function zr(t){return t instanceof W?t.nativeElement:t}let SM=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Kd=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({providers:[SM]})}return t})();const IM=new Set;let Ur,_5=(()=>{class t{constructor(e,n){this._platform=e,this._nonce=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):v5}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function b5(t,i){if(!IM.has(t))try{Ur||(Ur=document.createElement("style"),i&&(Ur.nonce=i),Ur.setAttribute("type","text/css"),document.head.appendChild(Ur)),Ur.sheet&&(Ur.sheet.insertRule(`@media ${t} {body{ }}`,0),IM.add(t))}catch(e){console.error(e)}}(e,this._nonce),this._matchMedia(e)}static#e=this.\u0275fac=function(n){return new(n||t)(v(Et),v(Bm,8))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function v5(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let y5=(()=>{class t{constructor(e,n){this._mediaMatcher=e,this._zone=n,this._queries=new Map,this._destroySubject=new Y}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return TM(Zd(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=Md(TM(Zd(e)).map(a=>this._registerQuery(a).observable));return o=Sd(o.pipe(qt(1)),o.pipe(EM(1),function vg(t,i=bg){return et((e,n)=>{let r=null,o=null,a=null;const s=()=>{if(r){r.unsubscribe(),r=null;const l=o;o=null,n.next(l)}};function c(){const l=a+t,d=i.now();if(d<l)return r=this.schedule(void 0,l-d),void n.add(r);s()}e.subscribe(Ge(n,l=>{o=l,a=i.now(),r||(r=i.schedule(c,t),n.add(r))},()=>{s(),n.complete()},void 0,()=>{o=r=null}))})}(0))),o.pipe(pe(a=>{const s={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:l})=>{s.matches=s.matches||c,s.breakpoints[l]=c}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const n=this._mediaMatcher.matchMedia(e),o={observable:new Be(a=>{const s=c=>this._zone.run(()=>a.next(c));return n.addListener(s),()=>{n.removeListener(s)}}).pipe(tr(n),pe(({matches:a})=>({query:e,matches:a})),rt(this._destroySubject)),mql:n};return this._queries.set(e,o),o}static#e=this.\u0275fac=function(n){return new(n||t)(v(_5),v(z))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function TM(t){return t.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}let Xd=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function k5(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const n=function D5(t){try{return t.frameElement}catch{return null}}(function O5(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(e));if(n&&(-1===PM(n)||!this.isVisible(n)))return!1;let r=e.nodeName.toLowerCase(),o=PM(e);return e.hasAttribute("contenteditable")?-1!==o:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function A5(t){let i=t.nodeName.toLowerCase(),e="input"===i&&t.type;return"text"===e||"password"===e||"select"===i||"textarea"===i}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==o:"video"===r?-1!==o&&(null!==o||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,n){return function R5(t){return!function E5(t){return function I5(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function M5(t){let i=t.nodeName.toLowerCase();return"input"===i||"select"===i||"button"===i||"textarea"===i}(t)||function S5(t){return function T5(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||FM(t))}(e)&&!this.isDisabled(e)&&(n?.ignoreVisibility||this.isVisible(e))}static#e=this.\u0275fac=function(n){return new(n||t)(v(Et))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function FM(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let i=t.getAttribute("tabindex");return!(!i||isNaN(parseInt(i,10)))}function PM(t){if(!FM(t))return null;const i=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}class F5{get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}constructor(i,e,n,r,o=!1){this._element=i,this._checker=e,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){const i=this._startAnchor,e=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){const e=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return"start"==i?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const n=this._getFirstTabbableElement(e);return n?.focus(i),!!n}return e.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){const e=this._getRegionBoundary("start");return e&&e.focus(i),!!e}focusLastTabbableElement(i){const e=this._getRegionBoundary("end");return e&&e.focus(i),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;const e=i.children;for(let n=0;n<e.length;n++){const r=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(r)return r}return null}_getLastTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;const e=i.children;for(let n=e.length-1;n>=0;n--){const r=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null}_createAnchor(){const i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,e){i?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){this._ngZone.isStable?i():this._ngZone.onStable.pipe(qt(1)).subscribe(i)}}let yg=(()=>{class t{constructor(e,n,r){this._checker=e,this._ngZone=n,this._document=r}create(e,n=!1){return new F5(e,this._checker,this._ngZone,this._document,n)}static#e=this.\u0275fac=function(n){return new(n||t)(v(Xd),v(z),v(re))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function NM(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}function LM(t){const i=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!i||-1!==i.identifier||null!=i.radiusX&&1!==i.radiusX||null!=i.radiusY&&1!==i.radiusY)}const P5=new y("cdk-input-modality-detector-options"),N5={ignoreKeys:[18,17,224,91,16]},va=Hi({passive:!0,capture:!0});let L5=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,n,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Qt(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(s=>s===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=or(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<650||(this._modality.next(NM(a)?"keyboard":"mouse"),this._mostRecentTarget=or(a))},this._onTouchstart=a=>{LM(a)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=or(a))},this._options={...N5,...o},this.modalityDetected=this._modality.pipe(EM(1)),this.modalityChanged=this.modalityDetected.pipe(Fb()),e.isBrowser&&n.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,va),r.addEventListener("mousedown",this._onMousedown,va),r.addEventListener("touchstart",this._onTouchstart,va)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,va),document.removeEventListener("mousedown",this._onMousedown,va),document.removeEventListener("touchstart",this._onTouchstart,va))}static#e=this.\u0275fac=function(n){return new(n||t)(v(Et),v(z),v(re),v(P5,8))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const V5=new y("cdk-focus-monitor-default-options"),Jd=Hi({passive:!0,capture:!0});let sr=(()=>{class t{constructor(e,n,r,o,a){this._ngZone=e,this._platform=n,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Y,this._rootNodeFocusAndBlurListener=s=>{for(let l=or(s);l;l=l.parentElement)"focus"===s.type?this._onFocus(s,l):this._onBlur(s,l)},this._document=o,this._detectionMode=a?.detectionMode||0}monitor(e,n=!1){const r=zr(e);if(!this._platform.isBrowser||1!==r.nodeType)return j();const o=function Yz(t){if(function qz(){if(null==ug){const t=typeof document<"u"?document.head:null;ug=!(!t||!t.createShadowRoot&&!t.attachShadow)}return ug}()){const i=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}(r)||this._getDocument(),a=this._elementInfo.get(r);if(a)return n&&(a.checkChildren=!0),a.subject;const s={checkChildren:n,subject:new Y,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){const n=zr(e),r=this._elementInfo.get(n);r&&(r.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(r))}focusVia(e,n,r){const o=zr(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([s,c])=>this._originChanged(s,n,c)):(this._setOrigin(n),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused","touch"===n),e.classList.toggle("cdk-keyboard-focused","keyboard"===n),e.classList.toggle("cdk-mouse-focused","mouse"===n),e.classList.toggle("cdk-program-focused","program"===n)}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&n,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,n){const r=this._elementInfo.get(n),o=or(e);!r||!r.checkChildren&&n!==o||this._originChanged(n,this._getFocusOrigin(o),r)}_onBlur(e,n){const r=this._elementInfo.get(n);!r||r.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(r,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,Jd),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,Jd)}),this._rootNodeFocusListenerCount.set(n,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(rt(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){const r=this._rootNodeFocusListenerCount.get(n);r>1?this._rootNodeFocusListenerCount.set(n,r-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Jd),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Jd),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,r){this._setClasses(e,n),this._emitOrigin(r,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){const n=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&n.push([o,r])}),n}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:n,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!n||n===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let a=0;a<o.length;a++)if(o[a].contains(n))return!0;return!1}static#e=this.\u0275fac=function(n){return new(n||t)(v(z),v(Et),v(L5),v(re,8),v(V5,8))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const VM="cdk-high-contrast-black-on-white",HM="cdk-high-contrast-white-on-black",xg="cdk-high-contrast-active";let jM=(()=>{class t{constructor(e,n){this._platform=e,this._document=n,this._breakpointSubscription=I(y5).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const n=this._document.defaultView||window,r=n&&n.getComputedStyle?n.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(xg,VM,HM),this._hasCheckedHighContrastMode=!0;const n=this.getHighContrastMode();1===n?e.add(xg,VM):2===n&&e.add(xg,HM)}}static#e=this.\u0275fac=function(n){return new(n||t)(v(Et),v(re))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ac=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(n){return new(n||t)(v(jM))};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[Kd]})}return t})();const H5=new y("cdk-dir-doc",{providedIn:"root",factory:function j5(){return I(re)}}),z5=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ya=(()=>{class t{constructor(e){this.value="ltr",this.change=new ne,e&&(this.value=function U5(t){const i=t?.toLowerCase()||"";return"auto"===i&&typeof navigator<"u"&&navigator?.language?z5.test(navigator.language)?"rtl":"ltr":"rtl"===i?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(n){return new(n||t)(v(H5,8))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),sc=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({})}return t})();const G5=new y("mat-sanity-checks",{providedIn:"root",factory:function $5(){return!0}});let $=(()=>{class t{constructor(e,n,r){this._sanityChecks=n,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!hg()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}static#e=this.\u0275fac=function(n){return new(n||t)(v(jM),v(G5,8),v(re))};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[sc,sc]})}return t})();function eu(t){return class extends t{get disabled(){return this._disabled}set disabled(i){this._disabled=de(i)}constructor(...i){super(...i),this._disabled=!1}}}function tu(t,i){return class extends t{get color(){return this._color}set color(e){const n=e||this.defaultColor;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}constructor(...e){super(...e),this.defaultColor=i,this.color=i}}}function cc(t){return class extends t{get disableRipple(){return this._disableRipple}set disableRipple(i){this._disableRipple=de(i)}constructor(...i){super(...i),this._disableRipple=!1}}}const q5=new y("MAT_DATE_LOCALE",{providedIn:"root",factory:function Y5(){return I(an)}});class ln{constructor(){this._localeChanges=new Y,this.localeChanges=this._localeChanges}getValidDateOrNull(i){return this.isDateInstance(i)&&this.isValid(i)?i:null}deserialize(i){return null==i||this.isDateInstance(i)&&this.isValid(i)?i:this.invalid()}setLocale(i){this.locale=i,this._localeChanges.next()}compareDate(i,e){return this.getYear(i)-this.getYear(e)||this.getMonth(i)-this.getMonth(e)||this.getDate(i)-this.getDate(e)}sameDate(i,e){if(i&&e){let n=this.isValid(i),r=this.isValid(e);return n&&r?!this.compareDate(i,e):n==r}return i==e}clampDate(i,e,n){return e&&this.compareDate(i,e)<0?e:n&&this.compareDate(i,n)>0?n:i}}const Dg=new y("mat-date-formats"),Q5=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function kg(t,i){const e=Array(t);for(let n=0;n<t;n++)e[n]=i(n);return e}let Z5=(()=>{class t extends ln{constructor(e,n){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const n=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return kg(12,r=>this._format(n,new Date(2017,r,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return kg(31,n=>this._format(e,new Date(2017,0,n+1)))}getDayOfWeekNames(e){const n=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return kg(7,r=>this._format(n,new Date(2017,0,r+1)))}getYearName(e){const n=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(n,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,n,r){let o=this._createDateWithOverflow(e,n,r);return o.getMonth(),o}today(){return new Date}parse(e,n){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,n){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const r=new Intl.DateTimeFormat(this.locale,{...n,timeZone:"utc"});return this._format(r,e)}addCalendarYears(e,n){return this.addCalendarMonths(e,12*n)}addCalendarMonths(e,n){let r=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+n,this.getDate(e));return this.getMonth(r)!=((this.getMonth(e)+n)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(e,n){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+n)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(Q5.test(e)){let n=new Date(e);if(this.isValid(n))return n}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,n,r){const o=new Date;return o.setFullYear(e,n,r),o.setHours(0,0,0,0),o}_2digit(e){return("00"+e).slice(-2)}_format(e,n){const r=new Date;return r.setUTCFullYear(n.getFullYear(),n.getMonth(),n.getDate()),r.setUTCHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),e.format(r)}static#e=this.\u0275fac=function(n){return new(n||t)(v(q5,8),v(Et))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})();const K5={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let X5=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({providers:[{provide:ln,useClass:Z5}]})}return t})(),$M=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({providers:[{provide:Dg,useValue:K5}],imports:[X5]})}return t})(),GM=(()=>{class t{isErrorState(e,n){return!!(e&&e.invalid&&(e.touched||n&&n.submitted))}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),WM=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[$,$]})}return t})();class J5{constructor(i,e,n,r=!1){this._renderer=i,this.element=e,this.config=n,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const qM=Hi({passive:!0,capture:!0});class e8{constructor(){this._events=new Map,this._delegateEventHandler=i=>{const e=or(i);e&&this._events.get(i.type)?.forEach((n,r)=>{(r===e||r.contains(e))&&n.forEach(o=>o.handleEvent(i))})}}addHandler(i,e,n,r){const o=this._events.get(e);if(o){const a=o.get(n);a?a.add(r):o.set(n,new Set([r]))}else this._events.set(e,new Map([[n,new Set([r])]])),i.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,qM)})}removeHandler(i,e,n){const r=this._events.get(i);if(!r)return;const o=r.get(e);o&&(o.delete(n),0===o.size&&r.delete(e),0===r.size&&(this._events.delete(i),document.removeEventListener(i,this._delegateEventHandler,qM)))}}const YM={enterDuration:225,exitDuration:150},QM=Hi({passive:!0,capture:!0}),ZM=["mousedown","touchstart"],KM=["mouseup","mouseleave","touchend","touchcancel"];class dc{static#e=this._eventManager=new e8;constructor(i,e,n,r){this._target=i,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=zr(n))}fadeInRipple(i,e,n={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...YM,...n.animation};n.centered&&(i=r.left+r.width/2,e=r.top+r.height/2);const a=n.radius||function n8(t,i,e){const n=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(i-e.top),Math.abs(i-e.bottom));return Math.sqrt(n*n+r*r)}(i,e,r),s=i-r.left,c=e-r.top,l=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=s-a+"px",d.style.top=c-a+"px",d.style.height=2*a+"px",d.style.width=2*a+"px",null!=n.color&&(d.style.backgroundColor=n.color),d.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),m=u.transitionDuration,f="none"===u.transitionProperty||"0s"===m||"0s, 0s"===m||0===r.width&&0===r.height,g=new J5(this,d,n,f);d.style.transform="scale3d(1, 1, 1)",g.state=0,n.persistent||(this._mostRecentTransientRipple=g);let _=null;return!f&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const w=()=>this._finishRippleTransition(g),b=()=>this._destroyRipple(g);d.addEventListener("transitionend",w),d.addEventListener("transitioncancel",b),_={onTransitionEnd:w,onTransitionCancel:b}}),this._activeRipples.set(g,_),(f||!l)&&this._finishRippleTransition(g),g}fadeOutRipple(i){if(2===i.state||3===i.state)return;const e=i.element,n={...YM,...i.config.animation};e.style.transitionDuration=`${n.exitDuration}ms`,e.style.opacity="0",i.state=2,(i._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(i)}fadeOutAll(){this._getActiveRipples().forEach(i=>i.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(i=>{i.config.persistent||i.fadeOut()})}setupTriggerEvents(i){const e=zr(i);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,ZM.forEach(n=>{dc._eventManager.addHandler(this._ngZone,n,e,this)}))}handleEvent(i){"mousedown"===i.type?this._onMousedown(i):"touchstart"===i.type?this._onTouchStart(i):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{KM.forEach(e=>{this._triggerElement.addEventListener(e,this,QM)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(i){0===i.state?this._startFadeOutTransition(i):2===i.state&&this._destroyRipple(i)}_startFadeOutTransition(i){const e=i===this._mostRecentTransientRipple,{persistent:n}=i.config;i.state=1,!n&&(!e||!this._isPointerDown)&&i.fadeOut()}_destroyRipple(i){const e=this._activeRipples.get(i)??null;this._activeRipples.delete(i),this._activeRipples.size||(this._containerRect=null),i===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),i.state=3,null!==e&&(i.element.removeEventListener("transitionend",e.onTransitionEnd),i.element.removeEventListener("transitioncancel",e.onTransitionCancel)),i.element.remove()}_onMousedown(i){const e=NM(i),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!e&&!n&&(this._isPointerDown=!0,this.fadeInRipple(i.clientX,i.clientY,this._target.rippleConfig))}_onTouchStart(i){if(!this._target.rippleDisabled&&!LM(i)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=i.changedTouches;if(e)for(let n=0;n<e.length;n++)this.fadeInRipple(e[n].clientX,e[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(i=>{!i.config.persistent&&(1===i.state||i.config.terminateOnPointerUp&&0===i.state)&&i.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const i=this._triggerElement;i&&(ZM.forEach(e=>dc._eventManager.removeHandler(e,i,this)),this._pointerUpEventsRegistered&&KM.forEach(e=>i.removeEventListener(e,this,QM)))}}const wa=new y("mat-ripple-global-options");let uc=(()=>{class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,n,r,o,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new dc(this,n,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,n=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,n,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}static#e=this.\u0275fac=function(n){return new(n||t)(p(W),p(z),p(Et),p(wa,8),p(jt,8))};static#t=this.\u0275dir=C({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,r){2&n&&Se("mat-ripple-unbounded",r.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})(),An=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[$,$]})}return t})(),XM=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[$]})}return t})(),JM=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[An,qe,$,XM]})}return t})();const eE={capture:!0},tE=["focus","click","mouseenter","touchstart"],Mg="mat-ripple-loader-uninitialized",Eg="mat-ripple-loader-class-name",iE="mat-ripple-loader-centered",iu="mat-ripple-loader-disabled";let nE=(()=>{class t{constructor(){this._document=I(re,{optional:!0}),this._animationMode=I(jt,{optional:!0}),this._globalRippleOptions=I(wa,{optional:!0}),this._platform=I(Et),this._ngZone=I(z),this._onInteraction=e=>{if(!(e.target instanceof HTMLElement))return;const r=e.target.closest(`[${Mg}]`);r&&this.createRipple(r)},this._ngZone.runOutsideAngular(()=>{for(const e of tE)this._document?.addEventListener(e,this._onInteraction,eE)})}ngOnDestroy(){for(const e of tE)this._document?.removeEventListener(e,this._onInteraction,eE)}configureRipple(e,n){e.setAttribute(Mg,""),(n.className||!e.hasAttribute(Eg))&&e.setAttribute(Eg,n.className||""),n.centered&&e.setAttribute(iE,""),n.disabled&&e.setAttribute(iu,"")}getRipple(e){return e.matRipple?e.matRipple:this.createRipple(e)}setDisabled(e,n){const r=e.matRipple;r?r.disabled=n:n?e.setAttribute(iu,""):e.removeAttribute(iu)}createRipple(e){if(!this._document)return;e.querySelector(".mat-ripple")?.remove();const n=this._document.createElement("span");n.classList.add("mat-ripple",e.getAttribute(Eg)),e.append(n);const r=new uc(new W(n),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return r._isInitialized=!0,r.trigger=e,r.centered=e.hasAttribute(iE),r.disabled=e.hasAttribute(iu),this.attachRipple(e,r),r}attachRipple(e,n){e.removeAttribute(Mg),e.matRipple=n}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const r8=["mat-button",""],o8=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],a8=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],s8=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],c8=tu(eu(cc(class{constructor(t){this._elementRef=t}})));let l8=(()=>{class t extends c8{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=de(e),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=de(e),this._updateRippleDisabled()}constructor(e,n,r,o){super(e),this._platform=n,this._ngZone=r,this._animationMode=o,this._focusMonitor=I(sr),this._rippleLoader=I(nE),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const a=e.nativeElement.classList;for(const s of s8)this._hasHostAttributes(s.selector)&&s.mdcClasses.forEach(c=>{a.add(c)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",n){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,n):this._elementRef.nativeElement.focus(n)}_hasHostAttributes(...e){return e.some(n=>this._elementRef.nativeElement.hasAttribute(n))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(n){qn()};static#t=this.\u0275dir=C({type:t,features:[T]})}return t})(),rE=(()=>{class t extends l8{constructor(e,n,r,o){super(e,n,r,o)}static#e=this.\u0275fac=function(n){return new(n||t)(p(W),p(Et),p(z),p(jt,8))};static#t=this.\u0275cmp=se({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(n,r){2&n&&(J("disabled",r.disabled||null),Se("_mat-animation-noopable","NoopAnimations"===r._animationMode)("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[T],attrs:r8,ngContentSelectors:a8,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,r){1&n&&(Ke(o8),K(0,"span",0),he(1),k(2,"span",1),he(3,1),E(),he(4,2),K(5,"span",2)(6,"span",3)),2&n&&Se("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return t})(),hc=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[$,An,$]})}return t})(),h8=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275cmp=se({type:t,selectors:[["app-navbar"]],decls:20,vars:0,consts:[[1,"navbar","navbar-expand-lg","bg-body-tertiary","fixed-top"],[1,"container-fluid","me-lg-5","ms-lg-5"],["src","/assets/logo_navbar.svg","width","110"],["type","button","data-bs-toggle","collapse","data-bs-target","#navbarNav","aria-controls","navbarNav","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler"],[1,"navbar-toggler-icon"],["id","navbarNav",1,"collapse","navbar-collapse","justify-content-end"],[1,"navbar-nav"],[1,"nav-item","me-5"],["href","#1",1,"nav-link"],["href","#3",1,"nav-link"],["href","#4",1,"nav-link"],[1,""],["href","https://www.eventbrite.com.br/e/729800030537/","target","_blank"],["mat-raised-button","",1,"primary_button"]],template:function(n,r){1&n&&(k(0,"nav",0)(1,"div",1),K(2,"img",2),k(3,"button",3),K(4,"span",4),E(),k(5,"div",5)(6,"ul",6)(7,"li",7)(8,"a",8),Oe(9,"O Evento"),E()(),k(10,"li",7)(11,"a",9),Oe(12,"Palestrantes"),E()(),k(13,"li",7)(14,"a",10),Oe(15,"Parcerias"),E()(),k(16,"li",11)(17,"a",12)(18,"button",13),Oe(19,"Inscreva-se"),E()()()()()()())},dependencies:[rE],styles:["a[_ngcontent-%COMP%]{color:var(--Black, #303031);font-family:Product Sans,sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:normal;letter-spacing:-.4px}.nav-item[_ngcontent-%COMP%]{display:flex;align-content:center;flex-wrap:wrap}.navbar[_ngcontent-%COMP%]{background-color:#fbbc04!important}.primary_button[_ngcontent-%COMP%]{background-color:#4285f4!important;color:#fff!important;font-family:Product Sans,sans-serif!important;font-size:18px!important;font-style:normal;line-height:normal;letter-spacing:-.36px;padding:12px 16px;height:100%}"]})}return t})(),m8=(()=>{class t{constructor(e){this.renderer=e,this.setImagePath()}ngOnInit(){}onResize(e){console.log(e),this.setImagePath()}setImagePath(){this.imagePath=window.innerWidth<=600?"/assets/header_mobile.png":"/assets/header_md.png"}static#e=this.\u0275fac=function(n){return new(n||t)(p(xi))};static#t=this.\u0275cmp=se({type:t,selectors:[["app-header"]],hostBindings:function(n,r){1&n&&fe("resize",function(a){return r.onResize(a)},0,k0)},decls:3,vars:1,consts:[[1,"d-flex","justify-content-center"],["href","https://www.eventbrite.com.br/e/729800030537/","target","_blank"],[1,"image",3,"src"]],template:function(n,r){1&n&&(k(0,"div",0)(1,"a",1),K(2,"img",2),E()()),2&n&&(O(2),R("src",r.imagePath,kl))},styles:[".image[_ngcontent-%COMP%]{width:100%}"]})}return t})(),p8=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275cmp=se({type:t,selectors:[["app-evento"]],decls:22,vars:0,consts:[["id","1",1,"me-lg-5","ms-lg-5","me-md-3","ms-md-3","me-2","ms-2","mt-lg-5","mt-3"],[1,"row"],[1,"col-md-6"],[1,"d-flex","titulo"],["src","/assets/icon_title.svg",1,"icon_title"],[1,"ms-4","d-flex","align-content-center","flex-wrap"],[2,"margin-top","24px","margin-bottom","24px"],[1,"col-md-6","d-none","d-md-block"],["src","/assets/image_evento.svg",1,"image_nordeste"]],template:function(n,r){1&n&&(k(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),K(4,"img",4),k(5,"div",5)(6,"h1"),Oe(7," O Evento "),E()()(),k(8,"div")(9,"h2",6),Oe(10," N\xe3o sei, s\xf3 sei que foi assim"),E(),k(11,"p"),Oe(12," DevFests s\xe3o eventos de tecnologia organizados anualmente por comunidades de desenvolvedores, os Google Developer Groups (GDGs), no mundo inteiro. "),E(),k(13,"p"),Oe(14," Nos \xfaltimos anos, as comunidades dos Estados do Nordeste resolveram se unir para realizar o "),k(15,"strong"),Oe(16,"DevFest Nordeste"),E(),Oe(17,", dando destaque aos talentos locais e tamb\xe9m promovendo a troca de conhecimentos entre os participantes. "),E(),k(18,"p"),Oe(19," O evento tem como p\xfablico alvo profissionais de tecnologia, estudantes, e empres\xe1rios, e aborda tanto conhecimentos t\xe9cnicos, quanto quest\xf5es como diversidade, soft skills e experi\xeancias profissionais. "),E()()(),k(20,"div",7),K(21,"img",8),E()()())},styles:["@media only screen and (max-width: 500px){.icon_title[_ngcontent-%COMP%]{width:50px!important}h2[_ngcontent-%COMP%]{font-size:28px!important;line-height:30px!important;text-align:center!important}p[_ngcontent-%COMP%]{font-size:16px!important;line-height:24px!important}}@media only screen and (min-width: 501px) and (max-width: 1000px){.icon_title[_ngcontent-%COMP%]{width:40px!important}p[_ngcontent-%COMP%]{font-size:20px!important;line-height:24px!important}h2[_ngcontent-%COMP%]{font-size:30px!important;line-height:44px!important}.row[_ngcontent-%COMP%]{align-items:center}.image_nordeste[_ngcontent-%COMP%]{width:100%}}@media only screen and (min-width: 1201px){h2[_ngcontent-%COMP%]{line-height:50px!important}.image_nordeste[_ngcontent-%COMP%]{margin-left:80px!important}}.icon_title[_ngcontent-%COMP%]{width:80px}p[_ngcontent-%COMP%]{color:var(--Black, #303031)!important;font-family:Product Sans,sans-serif!important;font-size:24px;font-style:normal!important;font-weight:400!important;line-height:32px;letter-spacing:-.48px;text-align:justify}h2[_ngcontent-%COMP%]{color:var(--Black, #303031)!important;font-family:Product Sans,sans-serif;font-size:40px;font-style:normal!important;font-weight:900!important;line-height:80px}"]})}return t})();const oE=["*"];let Rt=(()=>class t{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"})(),aE=(()=>{class t{ripple=!1;overlayOptions={};filterMatchModeOptions={text:[Rt.STARTS_WITH,Rt.CONTAINS,Rt.NOT_CONTAINS,Rt.ENDS_WITH,Rt.EQUALS,Rt.NOT_EQUALS],numeric:[Rt.EQUALS,Rt.NOT_EQUALS,Rt.LESS_THAN,Rt.LESS_THAN_OR_EQUAL_TO,Rt.GREATER_THAN,Rt.GREATER_THAN_OR_EQUAL_TO],date:[Rt.DATE_IS,Rt.DATE_IS_NOT,Rt.DATE_BEFORE,Rt.DATE_AFTER]};translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyFilterMessage:"No results found",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",previousPageLabel:"Previous Page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left"}};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new Y;translationObserver=this.translationSource.asObservable();getTranslation(e){return this.translation[e]}setTranslation(e){this.translation={...this.translation,...e},this.translationSource.next(this.translation)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),g8=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=se({type:t,selectors:[["p-header"]],ngContentSelectors:oE,decls:1,vars:0,template:function(n,r){1&n&&(Ke(),he(0))},encapsulation:2})}return t})(),_8=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=se({type:t,selectors:[["p-footer"]],ngContentSelectors:oE,decls:1,vars:0,template:function(n,r){1&n&&(Ke(),he(0))},encapsulation:2})}return t})(),sE=(()=>{class t{template;type;name;constructor(e){this.template=e}getType(){return this.name}static \u0275fac=function(n){return new(n||t)(p(ft))};static \u0275dir=C({type:t,selectors:[["","pTemplate",""]],inputs:{type:"type",name:["pTemplate","name"]}})}return t})(),cE=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=L({type:t});static \u0275inj=N({imports:[qe]})}return t})();class Sg{static equals(i,e,n){return n?this.resolveFieldData(i,n)===this.resolveFieldData(e,n):this.equalsByValue(i,e)}static equalsByValue(i,e){if(i===e)return!0;if(i&&e&&"object"==typeof i&&"object"==typeof e){var o,a,s,n=Array.isArray(i),r=Array.isArray(e);if(n&&r){if((a=i.length)!=e.length)return!1;for(o=a;0!=o--;)if(!this.equalsByValue(i[o],e[o]))return!1;return!0}if(n!=r)return!1;var c=this.isDate(i),l=this.isDate(e);if(c!=l)return!1;if(c&&l)return i.getTime()==e.getTime();var d=i instanceof RegExp,u=e instanceof RegExp;if(d!=u)return!1;if(d&&u)return i.toString()==e.toString();var h=Object.keys(i);if((a=h.length)!==Object.keys(e).length)return!1;for(o=a;0!=o--;)if(!Object.prototype.hasOwnProperty.call(e,h[o]))return!1;for(o=a;0!=o--;)if(!this.equalsByValue(i[s=h[o]],e[s]))return!1;return!0}return i!=i&&e!=e}static resolveFieldData(i,e){if(i&&e){if(this.isFunction(e))return e(i);if(-1==e.indexOf("."))return i[e];{let n=e.split("."),r=i;for(let o=0,a=n.length;o<a;++o){if(null==r)return null;r=r[n[o]]}return r}}return null}static isFunction(i){return!!(i&&i.constructor&&i.call&&i.apply)}static reorderArray(i,e,n){i&&e!==n&&(n>=i.length&&(n%=i.length,e%=i.length),i.splice(n,0,i.splice(e,1)[0]))}static insertIntoOrderedArray(i,e,n,r){if(n.length>0){let o=!1;for(let a=0;a<n.length;a++)if(this.findIndexInList(n[a],r)>e){n.splice(a,0,i),o=!0;break}o||n.push(i)}else n.push(i)}static findIndexInList(i,e){let n=-1;if(e)for(let r=0;r<e.length;r++)if(e[r]==i){n=r;break}return n}static contains(i,e){if(null!=i&&e&&e.length)for(let n of e)if(this.equals(i,n))return!0;return!1}static removeAccents(i){return i&&i.search(/[\xC0-\xFF]/g)>-1&&(i=i.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),i}static isDate(i){return"[object Date]"===Object.prototype.toString.call(i)}static isEmpty(i){return null==i||""===i||Array.isArray(i)&&0===i.length||!this.isDate(i)&&"object"==typeof i&&0===Object.keys(i).length}static isNotEmpty(i){return!this.isEmpty(i)}static compare(i,e,n,r=1){let o=-1;const a=this.isEmpty(i),s=this.isEmpty(e);return o=a&&s?0:a?r:s?-r:"string"==typeof i&&"string"==typeof e?i.localeCompare(e,n,{numeric:!0}):i<e?-1:i>e?1:0,o}static sort(i,e,n=1,r,o=1){return(1===o?n:o)*Sg.compare(i,e,r,n)}static merge(i,e){if(null!=i||null!=e)return null!=i&&"object"!=typeof i||null!=e&&"object"!=typeof e?null!=i&&"string"!=typeof i||null!=e&&"string"!=typeof e?e||i:[i||"",e||""].join(" "):{...i||{},...e||{}}}static isPrintableCharacter(i=""){return this.isNotEmpty(i)&&1===i.length&&i.match(/\S| /)}static getItemValue(i,...e){return this.isFunction(i)?i(...e):i}static findLastIndex(i,e){let n=-1;if(this.isNotEmpty(i))try{n=i.findLastIndex(e)}catch{n=i.lastIndexOf([...i].reverse().find(e))}return n}static findLast(i,e){let n;if(this.isNotEmpty(i))try{n=i.findLast(e)}catch{n=[...i].reverse().find(e)}return n}}var lE=0;!function v8(){let t=[];const r=o=>o&&parseInt(o.style.zIndex,10)||0}();const y8=["*"];let nu=(()=>{class t{label;spin=!1;styleClass;role;ariaLabel;ariaHidden;ngOnInit(){this.getAttributes()}getAttributes(){const e=Sg.isEmpty(this.label);this.role=e?void 0:"img",this.ariaLabel=e?void 0:this.label,this.ariaHidden=e}getClassNames(){return`p-icon ${this.styleClass?this.styleClass+" ":""}${this.spin?"p-icon-spin":""}`}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=se({type:t,selectors:[["ng-component"]],hostAttrs:[1,"p-element","p-icon-wrapper"],inputs:{label:"label",spin:"spin",styleClass:"styleClass"},standalone:!0,features:[Fr],ngContentSelectors:y8,decls:1,vars:0,template:function(n,r){1&n&&(Ke(),he(0))},encapsulation:2,changeDetection:0})}return t})(),dE=(()=>{class t extends nu{static \u0275fac=function(){let e;return function(r){return(e||(e=ie(t)))(r||t)}}();static \u0275cmp=se({type:t,selectors:[["ChevronDownIcon"]],standalone:!0,features:[T,Fr],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z","fill","currentColor"]],template:function(n,r){1&n&&(yn(),k(0,"svg",0),K(1,"path",1),E()),2&n&&(Dn(r.getClassNames()),J("aria-label",r.ariaLabel)("aria-hidden",r.ariaHidden)("role",r.role))},encapsulation:2})}return t})(),uE=(()=>{class t extends nu{static \u0275fac=function(){let e;return function(r){return(e||(e=ie(t)))(r||t)}}();static \u0275cmp=se({type:t,selectors:[["ChevronLeftIcon"]],standalone:!0,features:[T,Fr],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z","fill","currentColor"]],template:function(n,r){1&n&&(yn(),k(0,"svg",0),K(1,"path",1),E()),2&n&&(Dn(r.getClassNames()),J("aria-label",r.ariaLabel)("aria-hidden",r.ariaHidden)("role",r.role))},encapsulation:2})}return t})(),hE=(()=>{class t extends nu{static \u0275fac=function(){let e;return function(r){return(e||(e=ie(t)))(r||t)}}();static \u0275cmp=se({type:t,selectors:[["ChevronRightIcon"]],standalone:!0,features:[T,Fr],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z","fill","currentColor"]],template:function(n,r){1&n&&(yn(),k(0,"svg",0),K(1,"path",1),E()),2&n&&(Dn(r.getClassNames()),J("aria-label",r.ariaLabel)("aria-hidden",r.ariaHidden)("role",r.role))},encapsulation:2})}return t})(),mE=(()=>{class t extends nu{static \u0275fac=function(){let e;return function(r){return(e||(e=ie(t)))(r||t)}}();static \u0275cmp=se({type:t,selectors:[["ChevronUpIcon"]],standalone:!0,features:[T,Fr],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M12.2097 10.4113C12.1057 10.4118 12.0027 10.3915 11.9067 10.3516C11.8107 10.3118 11.7237 10.2532 11.6506 10.1792L6.93602 5.46461L2.22139 10.1476C2.07272 10.244 1.89599 10.2877 1.71953 10.2717C1.54307 10.2556 1.3771 10.1808 1.24822 10.0593C1.11933 9.93766 1.035 9.77633 1.00874 9.6011C0.982477 9.42587 1.0158 9.2469 1.10338 9.09287L6.37701 3.81923C6.52533 3.6711 6.72639 3.58789 6.93602 3.58789C7.14565 3.58789 7.3467 3.6711 7.49502 3.81923L12.7687 9.09287C12.9168 9.24119 13 9.44225 13 9.65187C13 9.8615 12.9168 10.0626 12.7687 10.2109C12.616 10.3487 12.4151 10.4207 12.2097 10.4113Z","fill","currentColor"]],template:function(n,r){1&n&&(yn(),k(0,"svg",0),K(1,"path",1),E()),2&n&&(Dn(r.getClassNames()),J("aria-label",r.ariaLabel)("aria-hidden",r.ariaHidden)("role",r.role))},encapsulation:2})}return t})(),Je=(()=>{class t{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(e,n){e&&n&&(e.classList?e.classList.add(n):e.className+=" "+n)}static addMultipleClasses(e,n){if(e&&n)if(e.classList){let r=n.trim().split(" ");for(let o=0;o<r.length;o++)e.classList.add(r[o])}else{let r=n.split(" ");for(let o=0;o<r.length;o++)e.className+=" "+r[o]}}static removeClass(e,n){e&&n&&(e.classList?e.classList.remove(n):e.className=e.className.replace(new RegExp("(^|\\b)"+n.split(" ").join("|")+"(\\b|$)","gi")," "))}static hasClass(e,n){return!(!e||!n)&&(e.classList?e.classList.contains(n):new RegExp("(^| )"+n+"( |$)","gi").test(e.className))}static siblings(e){return Array.prototype.filter.call(e.parentNode.children,function(n){return n!==e})}static find(e,n){return Array.from(e.querySelectorAll(n))}static findSingle(e,n){return this.isElement(e)?e.querySelector(n):null}static index(e){let n=e.parentNode.childNodes,r=0;for(var o=0;o<n.length;o++){if(n[o]==e)return r;1==n[o].nodeType&&r++}return-1}static indexWithinGroup(e,n){let r=e.parentNode?e.parentNode.childNodes:[],o=0;for(var a=0;a<r.length;a++){if(r[a]==e)return o;r[a].attributes&&r[a].attributes[n]&&1==r[a].nodeType&&o++}return-1}static appendOverlay(e,n,r="self"){"self"!==r&&e&&n&&this.appendChild(e,n)}static alignOverlay(e,n,r="self",o=!0){e&&n&&(o&&(e.style.minWidth=`${t.getOuterWidth(n)}px`),"self"===r?this.relativePosition(e,n):this.absolutePosition(e,n))}static relativePosition(e,n){const r=w=>{if(w)return"relative"===getComputedStyle(w).getPropertyValue("position")?w:r(w.parentElement)},o=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),a=n.offsetHeight,s=n.getBoundingClientRect(),c=this.getWindowScrollTop(),l=this.getWindowScrollLeft(),d=this.getViewport(),h=r(e)?.getBoundingClientRect()||{top:-1*c,left:-1*l};let m,f;s.top+a+o.height>d.height?(m=s.top-h.top-o.height,e.style.transformOrigin="bottom",s.top+m<0&&(m=-1*s.top)):(m=a+s.top-h.top,e.style.transformOrigin="top");const g=s.left+o.width-d.width;f=o.width>d.width?-1*(s.left-h.left):g>0?s.left-h.left-g:s.left-h.left,e.style.top=m+"px",e.style.left=f+"px"}static absolutePosition(e,n){const r=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),o=r.height,a=r.width,s=n.offsetHeight,c=n.offsetWidth,l=n.getBoundingClientRect(),d=this.getWindowScrollTop(),u=this.getWindowScrollLeft(),h=this.getViewport();let m,f;l.top+s+o>h.height?(m=l.top+d-o,e.style.transformOrigin="bottom",m<0&&(m=d)):(m=s+l.top+d,e.style.transformOrigin="top"),f=l.left+a>h.width?Math.max(0,l.left+u+c-a):l.left+u,e.style.top=m+"px",e.style.left=f+"px"}static getParents(e,n=[]){return null===e.parentNode?n:this.getParents(e.parentNode,n.concat([e.parentNode]))}static getScrollableParents(e){let n=[];if(e){let r=this.getParents(e);const o=/(auto|scroll)/,a=s=>{let c=window.getComputedStyle(s,null);return o.test(c.getPropertyValue("overflow"))||o.test(c.getPropertyValue("overflowX"))||o.test(c.getPropertyValue("overflowY"))};for(let s of r){let c=1===s.nodeType&&s.dataset.scrollselectors;if(c){let l=c.split(",");for(let d of l){let u=this.findSingle(s,d);u&&a(u)&&n.push(u)}}9!==s.nodeType&&a(s)&&n.push(s)}}return n}static getHiddenElementOuterHeight(e){e.style.visibility="hidden",e.style.display="block";let n=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",n}static getHiddenElementOuterWidth(e){e.style.visibility="hidden",e.style.display="block";let n=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",n}static getHiddenElementDimensions(e){let n={};return e.style.visibility="hidden",e.style.display="block",n.width=e.offsetWidth,n.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",n}static scrollInView(e,n){let r=getComputedStyle(e).getPropertyValue("borderTopWidth"),o=r?parseFloat(r):0,a=getComputedStyle(e).getPropertyValue("paddingTop"),s=a?parseFloat(a):0,c=e.getBoundingClientRect(),d=n.getBoundingClientRect().top+document.body.scrollTop-(c.top+document.body.scrollTop)-o-s,u=e.scrollTop,h=e.clientHeight,m=this.getOuterHeight(n);d<0?e.scrollTop=u+d:d+m>h&&(e.scrollTop=u+d-h+m)}static fadeIn(e,n){e.style.opacity=0;let r=+new Date,o=0,a=function(){o=+e.style.opacity.replace(",",".")+((new Date).getTime()-r)/n,e.style.opacity=o,r=+new Date,+o<1&&(window.requestAnimationFrame&&requestAnimationFrame(a)||setTimeout(a,16))};a()}static fadeOut(e,n){var r=1,s=50/n;let c=setInterval(()=>{(r-=s)<=0&&(r=0,clearInterval(c)),e.style.opacity=r},50)}static getWindowScrollTop(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}static getWindowScrollLeft(){let e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}static matches(e,n){var r=Element.prototype;return(r.matches||r.webkitMatchesSelector||r.mozMatchesSelector||r.msMatchesSelector||function(a){return-1!==[].indexOf.call(document.querySelectorAll(a),this)}).call(e,n)}static getOuterWidth(e,n){let r=e.offsetWidth;if(n){let o=getComputedStyle(e);r+=parseFloat(o.marginLeft)+parseFloat(o.marginRight)}return r}static getHorizontalPadding(e){let n=getComputedStyle(e);return parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)}static getHorizontalMargin(e){let n=getComputedStyle(e);return parseFloat(n.marginLeft)+parseFloat(n.marginRight)}static innerWidth(e){let n=e.offsetWidth,r=getComputedStyle(e);return n+=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),n}static width(e){let n=e.offsetWidth,r=getComputedStyle(e);return n-=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),n}static getInnerHeight(e){let n=e.offsetHeight,r=getComputedStyle(e);return n+=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom),n}static getOuterHeight(e,n){let r=e.offsetHeight;if(n){let o=getComputedStyle(e);r+=parseFloat(o.marginTop)+parseFloat(o.marginBottom)}return r}static getHeight(e){let n=e.offsetHeight,r=getComputedStyle(e);return n-=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),n}static getWidth(e){let n=e.offsetWidth,r=getComputedStyle(e);return n-=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight)+parseFloat(r.borderLeftWidth)+parseFloat(r.borderRightWidth),n}static getViewport(){let e=window,n=document,r=n.documentElement,o=n.getElementsByTagName("body")[0];return{width:e.innerWidth||r.clientWidth||o.clientWidth,height:e.innerHeight||r.clientHeight||o.clientHeight}}static getOffset(e){var n=e.getBoundingClientRect();return{top:n.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:n.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(e,n){let r=e.parentNode;if(!r)throw"Can't replace element";return r.replaceChild(n,e)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var e=window.navigator.userAgent;return e.indexOf("MSIE ")>0||(e.indexOf("Trident/")>0?(e.indexOf("rv:"),!0):e.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(e,n){if(this.isElement(n))n.appendChild(e);else{if(!(n&&n.el&&n.el.nativeElement))throw"Cannot append "+n+" to "+e;n.el.nativeElement.appendChild(e)}}static removeChild(e,n){if(this.isElement(n))n.removeChild(e);else{if(!n.el||!n.el.nativeElement)throw"Cannot remove "+e+" from "+n;n.el.nativeElement.removeChild(e)}}static removeElement(e){"remove"in Element.prototype?e.remove():e.parentNode.removeChild(e)}static isElement(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}static calculateScrollbarWidth(e){if(e){let n=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(n.borderLeftWidth)-parseFloat(n.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let n=document.createElement("div");n.className="p-scrollbar-measure",document.body.appendChild(n);let r=n.offsetWidth-n.clientWidth;return document.body.removeChild(n),this.calculatedScrollbarWidth=r,r}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let e=document.createElement("div");e.className="p-scrollbar-measure",document.body.appendChild(e);let n=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),this.calculatedScrollbarWidth=n,n}static invokeElementMethod(e,n,r){e[n].apply(e,r)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let e=navigator.userAgent.toLowerCase(),n=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:n[1]||"",version:n[2]||"0"}}static isInteger(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}static isHidden(e){return!e||null===e.offsetParent}static isVisible(e){return e&&null!=e.offsetParent}static isExist(e){return null!==e&&typeof e<"u"&&e.nodeName&&e.parentNode}static focus(e,n){e&&document.activeElement!==e&&e.focus(n)}static getFocusableElements(e){let n=t.find(e,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [href]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]):not(.p-disabled)'),r=[];for(let o of n)(o.offsetWidth||o.offsetHeight||o.getClientRects().length)&&r.push(o);return r}static getNextFocusableElement(e,n=!1){const r=t.getFocusableElements(e);let o=0;if(r&&r.length>0){const a=r.indexOf(r[0].ownerDocument.activeElement);n?o=-1==a||0===a?r.length-1:a-1:-1!=a&&a!==r.length-1&&(o=a+1)}return r[o]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null}static getTargetElement(e,n){if(!e)return null;switch(e){case"document":return document;case"window":return window;case"@next":return n?.nextElementSibling;case"@prev":return n?.previousElementSibling;case"@parent":return n?.parentElement;case"@grandparent":return n?.parentElement.parentElement;default:const r=typeof e;if("string"===r)return document.querySelector(e);if("object"===r&&e.hasOwnProperty("nativeElement"))return this.isExist(e.nativeElement)?e.nativeElement:void 0;const a=(s=e)&&s.constructor&&s.call&&s.apply?e():e;return a&&9===a.nodeType||this.isExist(a)?a:null}var s}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(e,n){if(e){const r=e.getAttribute(n);return isNaN(r)?"true"===r||"false"===r?"true"===r:r:+r}}}return t})(),x8=(()=>{class t{document;platformId;renderer;el;zone;config;constructor(e,n,r,o,a,s){this.document=e,this.platformId=n,this.renderer=r,this.el=o,this.zone=a,this.config=s}animationListener;mouseDownListener;timeout;ngAfterViewInit(){wd(this.platformId)&&this.config&&this.config.ripple&&this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))})}onMouseDown(e){let n=this.getInk();if(!n||"none"===this.document.defaultView?.getComputedStyle(n,null).display)return;if(Je.removeClass(n,"p-ink-active"),!Je.getHeight(n)&&!Je.getWidth(n)){let s=Math.max(Je.getOuterWidth(this.el.nativeElement),Je.getOuterHeight(this.el.nativeElement));n.style.height=s+"px",n.style.width=s+"px"}let r=Je.getOffset(this.el.nativeElement),o=e.pageX-r.left+this.document.body.scrollTop-Je.getWidth(n)/2,a=e.pageY-r.top+this.document.body.scrollLeft-Je.getHeight(n)/2;this.renderer.setStyle(n,"top",a+"px"),this.renderer.setStyle(n,"left",o+"px"),Je.addClass(n,"p-ink-active"),this.timeout=setTimeout(()=>{let s=this.getInk();s&&Je.removeClass(s,"p-ink-active")},401)}getInk(){const e=this.el.nativeElement.children;for(let n=0;n<e.length;n++)if("string"==typeof e[n].className&&-1!==e[n].className.indexOf("p-ink"))return e[n];return null}resetInk(){let e=this.getInk();e&&Je.removeClass(e,"p-ink-active")}onAnimationEnd(e){this.timeout&&clearTimeout(this.timeout),Je.removeClass(e.currentTarget,"p-ink-active")}create(){let e=this.renderer.createElement("span");this.renderer.addClass(e,"p-ink"),this.renderer.appendChild(this.el.nativeElement,e),this.renderer.setAttribute(e,"aria-hidden","true"),this.renderer.setAttribute(e,"role","presentation"),this.animationListener||(this.animationListener=this.renderer.listen(e,"animationend",this.onAnimationEnd.bind(this)))}remove(){let e=this.getInk();e&&(this.mouseDownListener&&this.mouseDownListener(),this.animationListener&&this.animationListener(),this.mouseDownListener=null,this.animationListener=null,Je.removeElement(e))}ngOnDestroy(){this.config&&this.config.ripple&&this.remove()}static \u0275fac=function(n){return new(n||t)(p(re),p(Ji),p(xi),p(W),p(z),p(aE,8))};static \u0275dir=C({type:t,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple","p-element"]})}return t})(),w8=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=L({type:t});static \u0275inj=N({imports:[qe]})}return t})();const C8=["itemsContainer"],D8=["indicatorContent"];function k8(t,i){1&t&&zt(0)}function M8(t,i){if(1&t&&(k(0,"div",11),he(1),V(2,k8,1,0,"ng-container",12),E()),2&t){const e=Ee();O(2),R("ngTemplateOutlet",e.headerTemplate)}}function E8(t,i){1&t&&K(0,"ChevronLeftIcon",17),2&t&&R("styleClass","carousel-prev-icon")}function S8(t,i){1&t&&K(0,"ChevronUpIcon",17),2&t&&R("styleClass","carousel-prev-icon")}function I8(t,i){if(1&t&&(nn(0),V(1,E8,1,1,"ChevronLeftIcon",16),V(2,S8,1,1,"ChevronUpIcon",16),rn()),2&t){const e=Ee(2);O(1),R("ngIf",!e.isVertical()),O(1),R("ngIf",e.isVertical())}}function T8(t,i){}function A8(t,i){1&t&&V(0,T8,0,0,"ng-template")}function R8(t,i){if(1&t&&(k(0,"span",18),V(1,A8,1,0,null,12),E()),2&t){const e=Ee(2);O(1),R("ngTemplateOutlet",e.previousIconTemplate)}}const O8=function(t){return{"p-carousel-prev p-link":!0,"p-disabled":t}};function F8(t,i){if(1&t){const e=Qo();k(0,"button",13),fe("click",function(r){return go(e),_o(Ee().navBackward(r))}),V(1,I8,3,2,"ng-container",14),V(2,R8,2,1,"span",15),E()}if(2&t){const e=Ee();R("ngClass",Zn(5,O8,e.isBackwardNavDisabled()))("disabled",e.isBackwardNavDisabled()),J("aria-label",e.ariaPrevButtonLabel()),O(1),R("ngIf",!e.previousIconTemplate),O(1),R("ngIf",e.previousIconTemplate)}}function P8(t,i){1&t&&zt(0)}const pE=function(t,i,e){return{"p-carousel-item p-carousel-item-cloned":!0,"p-carousel-item-active":t,"p-carousel-item-start":i,"p-carousel-item-end":e}},Ig=function(t){return{$implicit:t}};function N8(t,i){if(1&t&&(k(0,"div",2),V(1,P8,1,0,"ng-container",19),E()),2&t){const e=i.$implicit,n=i.index,r=Ee();R("ngClass",ed(6,pE,-1*r.totalShiftedItems===r.value.length,0===n,r.clonedItemsForStarting.length-1===n)),J("aria-hidden",-1*r.totalShiftedItems!==r.value.length)("aria-label",r.ariaSlideNumber(n))("aria-roledescription",r.ariaSlideLabel()),O(1),R("ngTemplateOutlet",r.itemTemplate)("ngTemplateOutletContext",Zn(10,Ig,e))}}function L8(t,i){1&t&&zt(0)}const B8=function(t,i,e){return{"p-carousel-item":!0,"p-carousel-item-active":t,"p-carousel-item-start":i,"p-carousel-item-end":e}};function V8(t,i){if(1&t&&(k(0,"div",2),V(1,L8,1,0,"ng-container",19),E()),2&t){const e=i.$implicit,n=i.index,r=Ee();R("ngClass",ed(3,B8,r.firstIndex()<=n&&r.lastIndex()>=n,r.firstIndex()===n,r.lastIndex()===n)),O(1),R("ngTemplateOutlet",r.itemTemplate)("ngTemplateOutletContext",Zn(7,Ig,e))}}function H8(t,i){1&t&&zt(0)}function j8(t,i){if(1&t&&(k(0,"div",2),V(1,H8,1,0,"ng-container",19),E()),2&t){const e=i.$implicit,n=i.index,r=Ee();R("ngClass",ed(3,pE,-1*r.totalShiftedItems===r.numVisible,0===n,r.clonedItemsForFinishing.length-1===n)),O(1),R("ngTemplateOutlet",r.itemTemplate)("ngTemplateOutletContext",Zn(7,Ig,e))}}function z8(t,i){1&t&&K(0,"ChevronRightIcon",17),2&t&&R("styleClass","carousel-prev-icon")}function U8(t,i){1&t&&K(0,"ChevronDownIcon",17),2&t&&R("styleClass","carousel-prev-icon")}function $8(t,i){if(1&t&&(nn(0),V(1,z8,1,1,"ChevronRightIcon",16),V(2,U8,1,1,"ChevronDownIcon",16),rn()),2&t){const e=Ee(2);O(1),R("ngIf",!e.isVertical()),O(1),R("ngIf",e.isVertical())}}function G8(t,i){}function W8(t,i){1&t&&V(0,G8,0,0,"ng-template")}function q8(t,i){if(1&t&&(k(0,"span",18),V(1,W8,1,0,null,12),E()),2&t){const e=Ee(2);O(1),R("ngTemplateOutlet",e.nextIconTemplate)}}const Y8=function(t){return{"p-carousel-next p-link":!0,"p-disabled":t}};function Q8(t,i){if(1&t){const e=Qo();k(0,"button",13),fe("click",function(r){return go(e),_o(Ee().navForward(r))}),V(1,$8,3,2,"ng-container",14),V(2,q8,2,1,"span",15),E()}if(2&t){const e=Ee();R("ngClass",Zn(5,Y8,e.isForwardNavDisabled()))("disabled",e.isForwardNavDisabled()),J("aria-label",e.ariaNextButtonLabel()),O(1),R("ngIf",!e.nextIconTemplate),O(1),R("ngIf",e.nextIconTemplate)}}const Z8=function(t){return{"p-carousel-indicator":!0,"p-highlight":t}};function K8(t,i){if(1&t){const e=Qo();k(0,"li",2)(1,"button",22),fe("click",function(r){const a=go(e).index;return _o(Ee(2).onDotClick(r,a))}),E()()}if(2&t){const e=i.index,n=Ee(2);R("ngClass",Zn(9,Z8,n._page===e)),J("data-pc-section","indicator"),O(1),Dn(n.indicatorStyleClass),R("ngClass","p-link")("ngStyle",n.indicatorStyle)("tabindex",n._page===e?0:-1),J("aria-label",n.ariaPageLabel(e+1))("aria-current",n._page===e?"page":void 0)}}function X8(t,i){if(1&t){const e=Qo();k(0,"ul",20,21),fe("keydown",function(r){return go(e),_o(Ee().onIndicatorKeydown(r))}),V(2,K8,2,11,"li",8),E()}if(2&t){const e=Ee();Dn(e.indicatorsContentClass),R("ngClass","p-carousel-indicators p-reset")("ngStyle",e.indicatorsContentStyle),O(2),R("ngForOf",e.totalDotsArray())}}function J8(t,i){1&t&&zt(0)}function eU(t,i){if(1&t&&(k(0,"div",23),he(1,1),V(2,J8,1,0,"ng-container",12),E()),2&t){const e=Ee();O(2),R("ngTemplateOutlet",e.footerTemplate)}}const tU=[[["p-header"]],[["p-footer"]]],iU=function(t,i){return{"p-carousel p-component":!0,"p-carousel-vertical":t,"p-carousel-horizontal":i}},nU=function(t){return{height:t}},rU=["p-header","p-footer"];let oU=(()=>{class t{el;zone;cd;renderer;document;platformId;config;get page(){return this._page}set page(e){this.isCreated&&e!==this._page&&(this.autoplayInterval&&this.stopAutoplay(),e>this._page&&e<=this.totalDots()-1?this.step(-1,e):e<this._page&&this.step(1,e)),this._page=e}get numVisible(){return this._numVisible}set numVisible(e){this._numVisible=e}get numScroll(){return this._numVisible}set numScroll(e){this._numScroll=e}responsiveOptions;orientation="horizontal";verticalViewPortHeight="300px";contentClass="";indicatorsContentClass="";indicatorsContentStyle;indicatorStyleClass="";indicatorStyle;get value(){return this._value}set value(e){this._value=e}circular=!1;showIndicators=!0;showNavigators=!0;autoplayInterval=0;style;styleClass;onPage=new ne;itemsContainer;indicatorContent;headerFacet;footerFacet;templates;_numVisible=1;_numScroll=1;_oldNumScroll=0;prevState={numScroll:0,numVisible:0,value:[]};defaultNumScroll=1;defaultNumVisible=1;_page=0;_value;carouselStyle;id;totalShiftedItems;isRemainingItemsAdded=!1;animationTimeout;translateTimeout;remainingItems=0;_items;startPos;documentResizeListener;clonedItemsForStarting;clonedItemsForFinishing;allowAutoplay;interval;isCreated;swipeThreshold=20;itemTemplate;headerTemplate;footerTemplate;previousIconTemplate;nextIconTemplate;window;constructor(e,n,r,o,a,s,c){this.el=e,this.zone=n,this.cd=r,this.renderer=o,this.document=a,this.platformId=s,this.config=c,this.totalShiftedItems=this.page*this.numScroll*-1,this.window=this.document.defaultView}ngOnChanges(e){e.value&&this.circular&&this._value&&this.setCloneItems(),this.isCreated&&(e.numVisible&&(this.responsiveOptions&&(this.defaultNumVisible=this.numVisible),this.isCircular()&&this.setCloneItems(),this.createStyle(),this.calculatePosition()),e.numScroll&&this.responsiveOptions&&(this.defaultNumScroll=this.numScroll))}ngAfterContentInit(){this.id=function b8(t="pn_id_"){return`${t}${++lE}`}(),this.allowAutoplay=!!this.autoplayInterval,this.circular&&this.setCloneItems(),this.responsiveOptions&&(this.defaultNumScroll=this._numScroll,this.defaultNumVisible=this._numVisible),this.createStyle(),this.calculatePosition(),this.responsiveOptions&&this.bindDocumentListeners(),this.templates?.forEach(e=>{switch(e.getType()){case"item":default:this.itemTemplate=e.template;break;case"header":this.headerTemplate=e.template;break;case"footer":this.footerTemplate=e.template;break;case"previousicon":this.previousIconTemplate=e.template;break;case"nexticon":this.nextIconTemplate=e.template}})}ngAfterContentChecked(){const e=this.isCircular();let n=this.totalShiftedItems;if(this.value&&this.itemsContainer&&(this.prevState.numScroll!==this._numScroll||this.prevState.numVisible!==this._numVisible||this.prevState.value.length!==this.value.length)){this.autoplayInterval&&this.stopAutoplay(!1),this.remainingItems=(this.value.length-this._numVisible)%this._numScroll;let r=this._page;0!==this.totalDots()&&r>=this.totalDots()&&(r=this.totalDots()-1,this._page=r,this.onPage.emit({page:this.page})),n=r*this._numScroll*-1,e&&(n-=this._numVisible),r===this.totalDots()-1&&this.remainingItems>0?(n+=-1*this.remainingItems+this._numScroll,this.isRemainingItemsAdded=!0):this.isRemainingItemsAdded=!1,n!==this.totalShiftedItems&&(this.totalShiftedItems=n),this._oldNumScroll=this._numScroll,this.prevState.numScroll=this._numScroll,this.prevState.numVisible=this._numVisible,this.prevState.value=[...this._value],this.totalDots()>0&&this.itemsContainer.nativeElement&&(this.itemsContainer.nativeElement.style.transform=this.isVertical()?`translate3d(0, ${n*(100/this._numVisible)}%, 0)`:`translate3d(${n*(100/this._numVisible)}%, 0, 0)`),this.isCreated=!0,this.autoplayInterval&&this.isAutoplay()&&this.startAutoplay()}e&&(0===this.page?n=-1*this._numVisible:0===n&&(n=-1*this.value.length,this.remainingItems>0&&(this.isRemainingItemsAdded=!0)),n!==this.totalShiftedItems&&(this.totalShiftedItems=n))}createStyle(){this.carouselStyle||(this.carouselStyle=this.renderer.createElement("style"),this.carouselStyle.type="text/css",this.renderer.appendChild(this.document.head,this.carouselStyle));let e=`\n #${this.id} .p-carousel-item {\n\t\t\t\tflex: 1 0 ${100/this.numVisible}%\n\t\t\t}\n `;if(this.responsiveOptions){this.responsiveOptions.sort((n,r)=>{const o=n.breakpoint,a=r.breakpoint;let s=null;return s=null==o&&null!=a?-1:null!=o&&null==a?1:null==o&&null==a?0:"string"==typeof o&&"string"==typeof a?o.localeCompare(a,void 0,{numeric:!0}):o<a?-1:o>a?1:0,-1*s});for(let n=0;n<this.responsiveOptions.length;n++){let r=this.responsiveOptions[n];e+=`\n @media screen and (max-width: ${r.breakpoint}) {\n #${this.id} .p-carousel-item {\n flex: 1 0 ${100/r.numVisible}%\n }\n }\n `}}this.carouselStyle.innerHTML=e}calculatePosition(){if(this.responsiveOptions){let e={numVisible:this.defaultNumVisible,numScroll:this.defaultNumScroll};if(typeof window<"u"){let n=window.innerWidth;for(let r=0;r<this.responsiveOptions.length;r++){let o=this.responsiveOptions[r];parseInt(o.breakpoint,10)>=n&&(e=o)}}if(this._numScroll!==e.numScroll){let n=this._page;n=Math.floor(n*this._numScroll/e.numScroll);let r=e.numScroll*this.page*-1;this.isCircular()&&(r-=e.numVisible),this.totalShiftedItems=r,this._numScroll=e.numScroll,this._page=n,this.onPage.emit({page:this.page})}this._numVisible!==e.numVisible&&(this._numVisible=e.numVisible,this.setCloneItems()),this.cd.markForCheck()}}setCloneItems(){this.clonedItemsForStarting=[],this.clonedItemsForFinishing=[],this.isCircular()&&(this.clonedItemsForStarting.push(...this.value.slice(-1*this._numVisible)),this.clonedItemsForFinishing.push(...this.value.slice(0,this._numVisible)))}firstIndex(){return this.isCircular()?-1*(this.totalShiftedItems+this.numVisible):-1*this.totalShiftedItems}lastIndex(){return this.firstIndex()+this.numVisible-1}totalDots(){return this.value?.length?Math.ceil((this.value.length-this._numVisible)/this._numScroll)+1:0}totalDotsArray(){const e=this.totalDots();return e<=0?[]:Array(e).fill(0)}isVertical(){return"vertical"===this.orientation}isCircular(){return this.circular&&this.value&&this.value.length>=this.numVisible}isAutoplay(){return this.autoplayInterval&&this.allowAutoplay}isForwardNavDisabled(){return this.isEmpty()||this._page>=this.totalDots()-1&&!this.isCircular()}isBackwardNavDisabled(){return this.isEmpty()||this._page<=0&&!this.isCircular()}isEmpty(){return!this.value||0===this.value.length}navForward(e,n){(this.isCircular()||this._page<this.totalDots()-1)&&this.step(-1,n),this.autoplayInterval&&this.stopAutoplay(),e&&e.cancelable&&e.preventDefault()}navBackward(e,n){(this.isCircular()||0!==this._page)&&this.step(1,n),this.autoplayInterval&&this.stopAutoplay(),e&&e.cancelable&&e.preventDefault()}onDotClick(e,n){let r=this._page;this.autoplayInterval&&this.stopAutoplay(),n>r?this.navForward(e,n):n<r&&this.navBackward(e,n)}onIndicatorKeydown(e){switch(e.code){case"ArrowRight":this.onRightKey();break;case"ArrowLeft":this.onLeftKey()}}onRightKey(){const e=[...Je.find(this.indicatorContent.nativeElement,'[data-pc-section="indicator"]')],n=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(n,n+1===e.length?e.length-1:n+1)}onLeftKey(){const e=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(e,e-1<=0?0:e-1)}onHomeKey(){const e=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(e,0)}onEndKey(){const e=[...Je.find(this.indicatorContent.nativeElement,'[data-pc-section="indicator"]r')],n=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(n,e.length-1)}onTabKey(){const e=[...Je.find(this.indicatorContent.nativeElement,'[data-pc-section="indicator"]')],n=e.findIndex(a=>!0===Je.getAttribute(a,"data-p-highlight")),r=Je.findSingle(this.indicatorContent.nativeElement,'[data-pc-section="indicator"] > button[tabindex="0"]'),o=e.findIndex(a=>a===r.parentElement);e[o].children[0].tabIndex="-1",e[n].children[0].tabIndex="0"}findFocusedIndicatorIndex(){const e=[...Je.find(this.indicatorContent.nativeElement,'[data-pc-section="indicator"]')],n=Je.findSingle(this.indicatorContent.nativeElement,'[data-pc-section="indicator"] > button[tabindex="0"]');return e.findIndex(r=>r===n.parentElement)}changedFocusedIndicator(e,n){const r=[...Je.find(this.indicatorContent.nativeElement,'[data-pc-section="indicator"]')];r[e].children[0].tabIndex="-1",r[n].children[0].tabIndex="0",r[n].children[0].focus()}step(e,n){let r=this.totalShiftedItems;const o=this.isCircular();null!=n?(r=this._numScroll*n*-1,o&&(r-=this._numVisible),this.isRemainingItemsAdded=!1):(r+=this._numScroll*e,this.isRemainingItemsAdded&&(r+=this.remainingItems-this._numScroll*e,this.isRemainingItemsAdded=!1),n=Math.abs(Math.floor((o?r+this._numVisible:r)/this._numScroll))),o&&this.page===this.totalDots()-1&&-1===e?(r=-1*(this.value.length+this._numVisible),n=0):o&&0===this.page&&1===e?(r=0,n=this.totalDots()-1):n===this.totalDots()-1&&this.remainingItems>0&&(r+=-1*this.remainingItems-this._numScroll*e,this.isRemainingItemsAdded=!0),this.itemsContainer&&(this.itemsContainer.nativeElement.style.transform=this.isVertical()?`translate3d(0, ${r*(100/this._numVisible)}%, 0)`:`translate3d(${r*(100/this._numVisible)}%, 0, 0)`,this.itemsContainer.nativeElement.style.transition="transform 500ms ease 0s"),this.totalShiftedItems=r,this._page=n,this.onPage.emit({page:this.page})}startAutoplay(){this.interval=setInterval(()=>{this.totalDots()>0&&(this.page===this.totalDots()-1?this.step(-1,0):this.step(-1,this.page+1))},this.autoplayInterval),this.allowAutoplay=!0}stopAutoplay(e=!0){this.interval&&(clearInterval(this.interval),this.interval=void 0,e&&(this.allowAutoplay=!1))}isPlaying(){return!!this.interval}onTransitionEnd(){this.itemsContainer&&(this.itemsContainer.nativeElement.style.transition="",(0===this.page||this.page===this.totalDots()-1)&&this.isCircular()&&(this.itemsContainer.nativeElement.style.transform=this.isVertical()?`translate3d(0, ${this.totalShiftedItems*(100/this._numVisible)}%, 0)`:`translate3d(${this.totalShiftedItems*(100/this._numVisible)}%, 0, 0)`))}onTouchStart(e){let n=e.changedTouches[0];this.startPos={x:n.pageX,y:n.pageY}}onTouchMove(e){e.cancelable&&e.preventDefault()}onTouchEnd(e){let n=e.changedTouches[0];this.isVertical()?this.changePageOnTouch(e,n.pageY-this.startPos.y):this.changePageOnTouch(e,n.pageX-this.startPos.x)}changePageOnTouch(e,n){Math.abs(n)>this.swipeThreshold&&(n<0?this.navForward(e):this.navBackward(e))}ariaPrevButtonLabel(){return this.config.translation.aria?this.config.translation.aria.prevPageLabel:void 0}ariaSlideLabel(){return this.config.translation.aria?this.config.translation.aria.slide:void 0}ariaNextButtonLabel(){return this.config.translation.aria?this.config.translation.aria.nextPageLabel:void 0}ariaSlideNumber(e){return this.config.translation.aria?this.config.translation.aria.slideNumber.replace(/{slideNumber}/g,e):void 0}ariaPageLabel(e){return this.config.translation.aria?this.config.translation.aria.pageLabel.replace(/{page}/g,e):void 0}bindDocumentListeners(){wd(this.platformId)&&(this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.window,"resize",e=>{this.calculatePosition()})))}unbindDocumentListeners(){wd(this.platformId)&&this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}ngOnDestroy(){this.responsiveOptions&&this.unbindDocumentListeners(),this.autoplayInterval&&this.stopAutoplay()}static \u0275fac=function(n){return new(n||t)(p(W),p(z),p(Gt),p(xi),p(re),p(Ji),p(aE))};static \u0275cmp=se({type:t,selectors:[["p-carousel"]],contentQueries:function(n,r,o){if(1&n&&(Fe(o,g8,5),Fe(o,_8,5),Fe(o,sE,4)),2&n){let a;ee(a=te())&&(r.headerFacet=a.first),ee(a=te())&&(r.footerFacet=a.first),ee(a=te())&&(r.templates=a)}},viewQuery:function(n,r){if(1&n&&(gt(C8,5),gt(D8,5)),2&n){let o;ee(o=te())&&(r.itemsContainer=o.first),ee(o=te())&&(r.indicatorContent=o.first)}},hostAttrs:[1,"p-element"],inputs:{page:"page",numVisible:"numVisible",numScroll:"numScroll",responsiveOptions:"responsiveOptions",orientation:"orientation",verticalViewPortHeight:"verticalViewPortHeight",contentClass:"contentClass",indicatorsContentClass:"indicatorsContentClass",indicatorsContentStyle:"indicatorsContentStyle",indicatorStyleClass:"indicatorStyleClass",indicatorStyle:"indicatorStyle",value:"value",circular:"circular",showIndicators:"showIndicators",showNavigators:"showNavigators",autoplayInterval:"autoplayInterval",style:"style",styleClass:"styleClass"},outputs:{onPage:"onPage"},features:[ht],ngContentSelectors:rU,decls:14,vars:23,consts:[["role","region",3,"ngClass","ngStyle"],["class","p-carousel-header",4,"ngIf"],[3,"ngClass"],[1,"p-carousel-container"],["type","button","pRipple","",3,"ngClass","disabled","click",4,"ngIf"],[1,"p-carousel-items-content",3,"ngStyle"],[1,"p-carousel-items-container",3,"transitionend","touchend","touchstart","touchmove"],["itemsContainer",""],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass","class","ngStyle","keydown",4,"ngIf"],["class","p-carousel-footer",4,"ngIf"],[1,"p-carousel-header"],[4,"ngTemplateOutlet"],["type","button","pRipple","",3,"ngClass","disabled","click"],[4,"ngIf"],["class","p-carousel-prev-icon",4,"ngIf"],[3,"styleClass",4,"ngIf"],[3,"styleClass"],[1,"p-carousel-prev-icon"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngClass","ngStyle","keydown"],["indicatorContent",""],["type","button",3,"ngClass","ngStyle","tabindex","click"],[1,"p-carousel-footer"]],template:function(n,r){1&n&&(Ke(tU),k(0,"div",0),V(1,M8,3,1,"div",1),k(2,"div",2)(3,"div",3),V(4,F8,3,7,"button",4),k(5,"div",5)(6,"div",6,7),fe("transitionend",function(){return r.onTransitionEnd()})("touchend",function(a){return r.onTouchEnd(a)})("touchstart",function(a){return r.onTouchStart(a)})("touchmove",function(a){return r.onTouchMove(a)}),V(8,N8,2,12,"div",8),V(9,V8,2,9,"div",8),V(10,j8,2,9,"div",8),E()(),V(11,Q8,3,7,"button",4),E(),V(12,X8,3,5,"ul",9),E(),V(13,eU,3,1,"div",10),E()),2&n&&(Dn(r.styleClass),R("ngClass",iC(18,iU,r.isVertical(),!r.isVertical()))("ngStyle",r.style),J("id",r.id),O(1),R("ngIf",r.headerFacet||r.headerTemplate),O(1),Dn(r.contentClass),R("ngClass","p-carousel-content"),O(1),J("aria-live",r.allowAutoplay?"polite":"off"),O(1),R("ngIf",r.showNavigators),O(1),R("ngStyle",Zn(21,nU,r.isVertical()?r.verticalViewPortHeight:"auto")),O(3),R("ngForOf",r.clonedItemsForStarting),O(1),R("ngForOf",r.value),O(1),R("ngForOf",r.clonedItemsForFinishing),O(1),R("ngIf",r.showNavigators),O(1),R("ngIf",r.showIndicators),O(1),R("ngIf",r.footerFacet||r.footerTemplate))},dependencies:function(){return[FD,ND,Lr,Df,jD,x8,hE,uE,dE,mE]},styles:["@layer primeng{.p-carousel{display:flex;flex-direction:column}.p-carousel-content{display:flex;flex-direction:column;overflow:auto}.p-carousel-prev,.p-carousel-next{align-self:center;flex-grow:0;flex-shrink:0;display:flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-carousel-container{display:flex;flex-direction:row}.p-carousel-items-content{overflow:hidden;width:100%}.p-carousel-items-container{display:flex;flex-direction:row}.p-carousel-indicators{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.p-carousel-indicator>button{display:flex;align-items:center;justify-content:center}.p-carousel-vertical .p-carousel-container{flex-direction:column}.p-carousel-vertical .p-carousel-items-container{flex-direction:column;height:100%}.p-items-hidden .p-carousel-item{visibility:hidden}.p-items-hidden .p-carousel-item.p-carousel-item-active{visibility:visible}}\n"],encapsulation:2,changeDetection:0})}return t})(),aU=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=L({type:t});static \u0275inj=N({imports:[qe,cE,w8,hE,uE,dE,mE,qe,cE]})}return t})();function sU(t,i){if(1&t){const e=Qo();k(0,"div",5),fe("click",function(){const o=go(e).$implicit;return _o(Ee().alterarDescricao(o.id))}),K(1,"img",6),k(2,"h3"),Oe(3),E(),k(4,"h4"),Oe(5),E(),k(6,"h5"),Oe(7),E()()}if(2&t){const e=i.$implicit;(function Fi(t){Ni(Kx,QN,t,!1)})("border:"+e.color),O(1),R("src",e.image,kl),O(2),Qn(e.nome),O(2),Qn(e.profissao),O(2),Qn(e.trabalho)}}let cU=(()=>{class t{constructor(){this.descricao="",this.palestrantes=[{id:0,image:"/assets/palestrantes/Andre_Figueiredo.png",nome:"Andr\xe9 Figueiredo",profissao:"Lead Software Engineer",trabalho:"Nubank",color:"4px solid var(--Green-300, #81C995)",description:"Andr\xe9 Figueiredo atua h\xe1 mais de 20 anos desenvolvendo sistemas, arquitetando, projetando e implementando solu\xe7\xf5es de alta disponibilidade e escalabilidade para a ind\xfastria de pagamentos eletr\xf4nicos, atua desde 2021 como l\xedder t\xe9cnico do Nubank. "},{id:1,image:"/assets/palestrantes/Fabiana_Nascimento.png",nome:"Fabiana Nascimento",profissao:"Analista de Tecnologia Sr",trabalho:"UFPB",color:"4px solid var(--yellow-300, #FDE293)",description:"Fabiana Nascimento \xe9 uma profissional de TI com mais de 20 anos de experi\xeancia, j\xe1 atuou como desenvolvedora, administradora de banco de dados e gerente de projetos, e tamb\xe9m lecionou em faculdades de sistemas e computa\xe7\xe3o. Atualmente, atua como Analista de Tecnologia da Informa\xe7\xe3o da UFPB."},{id:2,image:"/assets/palestrantes/Fausto_Blanco.png",nome:"Fausto Blanco",profissao:"Software Engineer S\xeanior",trabalho:"Banco BV",color:"4px solid var(--Red-300, #F28B82)",description:"Fausto Blanco \xe9 Engenheiro de Software S\xeanior no BV, com 15 anos de experi\xeancia como Desenvolvedor, sendo os \xfaltimos 6 atuando com Mobile e os \xfaltimos 2 focados em seguran\xe7a. Sua paix\xe3o \xe9 passar conhecimento adiante. "},{id:3,image:"/assets/palestrantes/Cecilia_Flavia.png",nome:"Cec\xedlia Fl\xe1via",profissao:"Cientista de Dados",trabalho:"Ambev Tech",color:"4px solid var(--Blue-300, #8AB4F8)",description:"Cec\xedlia Fl\xe1via possui uma trajet\xf3ria mista entre academia e mercado, atualmente trabalha com Machine/Deep Learning na AmbevTech e faz doutorado na mesma \xe1rea pela UFPE, al\xe9m de ser professora de Python, dados e machine learning na Ada."}],this.responsiveOptions=[{breakpoint:"1199px",numVisible:3,numScroll:1},{breakpoint:"991px",numVisible:2,numScroll:1},{breakpoint:"767px",numVisible:1,numScroll:1}]}alterarDescricao(e){this.descricao=this.palestrantes[e].description}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275cmp=se({type:t,selectors:[["app-palestrantes"]],decls:7,vars:7,consts:[["id","3",1,"div_palestrantes","flex_palestrantes","mt-5"],[3,"showIndicators","value","numVisible","numScroll","circular","responsiveOptions"],["pTemplate","item"],[1,"row"],[1,"col-lg-6","col-md-8","descricao"],[1,"card",3,"click"],[1,"image",3,"src"]],template:function(n,r){1&n&&(k(0,"div",0)(1,"p-carousel",1),V(2,sU,8,6,"ng-template",2),E(),k(3,"div",3)(4,"div",4)(5,"p"),Oe(6),E()()()()),2&n&&(O(1),R("showIndicators",!1)("value",r.palestrantes)("numVisible",5)("numScroll",1)("circular",!1)("responsiveOptions",r.responsiveOptions),O(5),Qn(r.descricao))},dependencies:[oU,sE],styles:[".div_palestrantes[_ngcontent-%COMP%]{background:url(/assets/palestrantes.svg) top left no-repeat,url(/assets/palestrantes_bottom.svg) bottom right no-repeat;background-position:0% 0%,100% 100%;width:100%}.flex_palestrantes[_ngcontent-%COMP%]{padding-top:220px;padding-left:60px;padding-right:60px}.descricao[_ngcontent-%COMP%]{margin-top:60px;padding-left:60px}.card[_ngcontent-%COMP%]{border-radius:16px;background-color:#fff;width:240px;display:flex;align-items:center;padding-top:36px;padding-bottom:36px;margin-right:16px;height:292px;cursor:pointer}.image[_ngcontent-%COMP%]{width:130px}p[_ngcontent-%COMP%]{color:var(--Black, #303031);font-family:Roboto Mono,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:26px;letter-spacing:-.36px;text-align:justify}h3[_ngcontent-%COMP%]{color:var(--Black, #303031);text-align:center;font-family:Product Sans,sans-serif;font-size:20px;font-style:normal;font-weight:700;line-height:30px;letter-spacing:-.5px;margin-top:16px;margin-bottom:0}h4[_ngcontent-%COMP%]{color:var(--Gray, #66645E);text-align:center;font-family:Roboto Mono,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:18px;letter-spacing:-.4px;margin-top:8px;margin-bottom:0}h5[_ngcontent-%COMP%]{color:var(--Black, #303031);font-family:Product Sans,sans-serif;font-size:16px;font-style:normal;font-weight:500;line-height:30px;letter-spacing:-.4px;margin-bottom:0;height:100%;display:flex;align-items:flex-end}@media only screen and (max-width: 500px){.div_palestrantes[_ngcontent-%COMP%]{background:url(/assets/palestrantes_md.svg) top left no-repeat;background-position:0% 0%;width:100%}.flex_palestrantes[_ngcontent-%COMP%]{padding-top:100px;padding-left:10px;padding-right:10px}.descricao[_ngcontent-%COMP%]{padding-left:10px!important;padding-right:10px!important;margin-top:20px!important}p[_ngcontent-%COMP%]{text-align:center!important;font-size:14px;line-height:20px}.card[_ngcontent-%COMP%]{width:100%}}@media only screen and (min-width: 501px) and (max-width: 1000px){.div_palestrantes[_ngcontent-%COMP%]{background:url(/assets/palestrantes_md.svg) top left no-repeat;background-position:0% 0%;width:100%}}"]})}return t})(),lU=(()=>{class t{constructor(){this.mensagemWhatsApp="Ol\xe1! Tenho interesse em patrocinar o DevFest 2023!"}redirecionarParaEmail(){window.open("mailto:gdgjpb@gmail.com?subject=Parceria Devfest Nordeste 2023&body=Tenho interesse em patrocinar o Devfest Nordeste 2023","_blank")}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275cmp=se({type:t,selectors:[["app-parcerias"]],decls:10,vars:0,consts:[["id","4",1,"row","mt-5","align-items-center","me-md-5","ms-md-5","me-3","ms-3"],[1,"col-md-6","d-none","d-md-block"],["src","/assets/parcerias.png","width","100%"],[1,"col-md-6"],["mat-raised-button","",1,"primary_button",3,"click"]],template:function(n,r){1&n&&(k(0,"div",0)(1,"div",1),K(2,"img",2),E(),k(3,"div",3)(4,"h2"),Oe(5,"Se avexe n\xe3o, patrocine."),E(),k(6,"p"),Oe(7,"Junte-se a n\xf3s como patrocinador e tenha a oportunidade de destacar sua empresa na maior confer\xeancia de desenvolvimento de software do ano!"),E(),k(8,"button",4),fe("click",function(){return r.redirecionarParaEmail()}),Oe(9,"Seja uma empresa parceira"),E()()())},dependencies:[rE],styles:["h2[_ngcontent-%COMP%]{color:var(--Black, #303031)!important;font-family:Product Sans,sans-serif;font-size:48px!important;font-style:normal;font-weight:900!important;line-height:64px}p[_ngcontent-%COMP%]{color:var(--Black, #303031);font-family:Product Sans,sans-serif;font-size:18px;font-style:normal;font-weight:400;line-height:28px;letter-spacing:.36px;margin-top:24px}button.primary_button[_ngcontent-%COMP%]{color:var(--White, #FFF)!important;text-align:center;font-family:Product Sans,sans-serif!important;font-size:18px;font-style:normal;font-weight:500;line-height:24px;border-radius:8px;background-color:var(--Blue-500, #4285F4)!important;padding:20px 24px!important;height:100%;margin-top:36px}"]})}return t})(),dU=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275cmp=se({type:t,selectors:[["app-footer"]],decls:21,vars:0,consts:[[1,"nav","mt-5","pe-md-5","ps-md-5","pe-2","ps-2"],[1,"row","w-100","justify-content-between"],[1,"col-md-6","center"],["src","/assets/logo_navbar.svg"],[1,"col-md-6","d-none","d-md-block","d-flex","justify-content-end"],[1,"navbar-nav","justify-content-end",2,"flex-direction","row"],[1,"nav-item","ms-5"],["href","#1",1,"nav-link"],["href","#2",1,"nav-link"],["href","#4",1,"nav-link"],[1,"d-flex","pt-4","justify-content-between","w-100"],[1,"center"],[1,"d-none","d-md-block"],["href","https://www.instagram.com/devfest.ne/","target","__blank"],[1,"pi","pi-instagram",2,"font-size","1.5rem"]],template:function(n,r){1&n&&(k(0,"div",0)(1,"div",1)(2,"div",2),K(3,"img",3),E(),k(4,"div",4)(5,"ul",5)(6,"li",6)(7,"a",7),Oe(8,"O Evento"),E()(),k(9,"li",6)(10,"a",8),Oe(11,"Programa\xe7\xe3o"),E()(),k(12,"li",6)(13,"a",9),Oe(14,"Parcerias"),E()()()()(),k(15,"div",10)(16,"p",11),Oe(17,"GDG Jo\xe3o Pessoa | WTM Jo\xe3o Pessoa | Devfest Nordeste \xa9 2023 | Jo\xe3o Pessoa, Para\xedba, Brasil | 02 de dezembro de 2023"),E(),k(18,"div",12)(19,"a",13),K(20,"i",14),E()()()())},styles:[".nav-item[_ngcontent-%COMP%]{display:flex;align-content:center;flex-wrap:wrap}.nav[_ngcontent-%COMP%]{background-color:#fbbc04!important;padding-top:64px}li.nav-item[_ngcontent-%COMP%]{color:var(--Black, #303031)!important;font-family:Product Sans,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:normal;letter-spacing:-.32px}p[_ngcontent-%COMP%]{color:#6c7073;font-family:Inter,sans-serif;font-size:14.366px!important;font-style:normal;font-weight:400;line-height:23.345px}a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#0f172a}@media only screen and (max-width: 501px){.center[_ngcontent-%COMP%]{display:flex;justify-content:center!important;text-align:center}}"]})}return t})(),uU=(()=>{class t{constructor(){this.title="devfest2023"}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275cmp=se({type:t,selectors:[["app-root"]],decls:6,vars:0,template:function(n,r){1&n&&K(0,"app-navbar")(1,"app-header")(2,"app-evento")(3,"app-palestrantes")(4,"app-parcerias")(5,"app-footer")},dependencies:[h8,m8,p8,cU,lU,dU]})}return t})();class fE{}class hU{}const Rn="*";function gE(t,i=null){return{type:2,steps:t,options:i}}function H(t){return{type:6,styles:t,offset:null}}class mc{constructor(i=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=i+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(i=>i()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(i){this._position=this.totalTime?i*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(i){const e="start"==i?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}}class _E{constructor(i){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=i;let e=0,n=0,r=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==o&&this._onFinish()}),a.onDestroy(()=>{++n==o&&this._onDestroy()}),a.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this.players.forEach(i=>i.init())}onStart(i){this._onStartFns.push(i)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(i=>i()),this._onStartFns=[])}onDone(i){this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(i=>i.play())}pause(){this.players.forEach(i=>i.pause())}restart(){this.players.forEach(i=>i.restart())}finish(){this._onFinish(),this.players.forEach(i=>i.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(i=>i.destroy()),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}reset(){this.players.forEach(i=>i.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(i){const e=i*this.totalTime;this.players.forEach(n=>{const r=n.totalTime?Math.min(1,e/n.totalTime):1;n.setPosition(r)})}getPosition(){const i=this.players.reduce((e,n)=>null===e||n.totalTime>e.totalTime?n:e,null);return null!=i?i.getPosition():0}beforeDestroy(){this.players.forEach(i=>{i.beforeDestroy&&i.beforeDestroy()})}triggerCallback(i){const e="start"==i?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}}function bE(t){return new x(3e3,!1)}function cr(t){switch(t.length){case 0:return new mc;case 1:return t[0];default:return new _E(t)}}function vE(t,i,e=new Map,n=new Map){const r=[],o=[];let a=-1,s=null;if(i.forEach(c=>{const l=c.get("offset"),d=l==a,u=d&&s||new Map;c.forEach((h,m)=>{let f=m,g=h;if("offset"!==m)switch(f=t.normalizePropertyName(f,r),g){case"!":g=e.get(m);break;case Rn:g=n.get(m);break;default:g=t.normalizeStyleValue(m,f,g,r)}u.set(f,g)}),d||o.push(u),s=u,a=l}),r.length)throw function PU(t){return new x(3502,!1)}();return o}function Ag(t,i,e,n){switch(i){case"start":t.onStart(()=>n(e&&Rg(e,"start",t)));break;case"done":t.onDone(()=>n(e&&Rg(e,"done",t)));break;case"destroy":t.onDestroy(()=>n(e&&Rg(e,"destroy",t)))}}function Rg(t,i,e){const o=Og(t.element,t.triggerName,t.fromState,t.toState,i||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),a=t._data;return null!=a&&(o._data=a),o}function Og(t,i,e,n,r="",o=0,a){return{element:t,triggerName:i,fromState:e,toState:n,phaseName:r,totalTime:o,disabled:!!a}}function ui(t,i,e){let n=t.get(i);return n||t.set(i,n=e),n}function yE(t){const i=t.indexOf(":");return[t.substring(1,i),t.slice(i+1)]}const qU=(()=>typeof document>"u"?null:document.documentElement)();function Fg(t){const i=t.parentNode||t.host||null;return i===qU?null:i}let $r=null,xE=!1;function wE(t,i){for(;i;){if(i===t)return!0;i=Fg(i)}return!1}function CE(t,i,e){if(e)return Array.from(t.querySelectorAll(i));const n=t.querySelector(i);return n?[n]:[]}let DE=(()=>{class t{validateStyleProperty(e){return function QU(t){$r||($r=function ZU(){return typeof document<"u"?document.body:null}()||{},xE=!!$r.style&&"WebkitAppearance"in $r.style);let i=!0;return $r.style&&!function YU(t){return"ebkit"==t.substring(1,6)}(t)&&(i=t in $r.style,!i&&xE&&(i="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in $r.style)),i}(e)}matchesElement(e,n){return!1}containsElement(e,n){return wE(e,n)}getParentElement(e){return Fg(e)}query(e,n,r){return CE(e,n,r)}computeStyle(e,n,r){return r||""}animate(e,n,r,o,a,s=[],c){return new mc(r,o)}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})(),Pg=(()=>{class t{static#e=this.NOOP=new DE}return t})();const KU=1e3,Ng="ng-enter",ou="ng-leave",au="ng-trigger",su=".ng-trigger",ME="ng-animating",Lg=".ng-animating";function On(t){if("number"==typeof t)return t;const i=t.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:Bg(parseFloat(i[1]),i[2])}function Bg(t,i){return"s"===i?t*KU:t}function cu(t,i,e){return t.hasOwnProperty("duration")?t:function JU(t,i,e){let r,o=0,a="";if("string"==typeof t){const s=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return i.push(bE()),{duration:0,delay:0,easing:""};r=Bg(parseFloat(s[1]),s[2]);const c=s[3];null!=c&&(o=Bg(parseFloat(c),s[4]));const l=s[5];l&&(a=l)}else r=t;if(!e){let s=!1,c=i.length;r<0&&(i.push(function mU(){return new x(3100,!1)}()),s=!0),o<0&&(i.push(function pU(){return new x(3101,!1)}()),s=!0),s&&i.splice(c,0,bE())}return{duration:r,delay:o,easing:a}}(t,i,e)}function pc(t,i={}){return Object.keys(t).forEach(e=>{i[e]=t[e]}),i}function EE(t){const i=new Map;return Object.keys(t).forEach(e=>{i.set(e,t[e])}),i}function lr(t,i=new Map,e){if(e)for(let[n,r]of e)i.set(n,r);for(let[n,r]of t)i.set(n,r);return i}function dn(t,i,e){i.forEach((n,r)=>{const o=Hg(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=n})}function Gr(t,i){i.forEach((e,n)=>{const r=Hg(n);t.style[r]=""})}function fc(t){return Array.isArray(t)?1==t.length?t[0]:gE(t):t}const Vg=new RegExp("{{\\s*(.+?)\\s*}}","g");function IE(t){let i=[];if("string"==typeof t){let e;for(;e=Vg.exec(t);)i.push(e[1]);Vg.lastIndex=0}return i}function gc(t,i,e){const n=t.toString(),r=n.replace(Vg,(o,a)=>{let s=i[a];return null==s&&(e.push(function gU(t){return new x(3003,!1)}()),s=""),s.toString()});return r==n?t:r}function lu(t){const i=[];let e=t.next();for(;!e.done;)i.push(e.value),e=t.next();return i}const i$=/-+([a-z0-9])/g;function Hg(t){return t.replace(i$,(...i)=>i[1].toUpperCase())}function hi(t,i,e){switch(i.type){case 7:return t.visitTrigger(i,e);case 0:return t.visitState(i,e);case 1:return t.visitTransition(i,e);case 2:return t.visitSequence(i,e);case 3:return t.visitGroup(i,e);case 4:return t.visitAnimate(i,e);case 5:return t.visitKeyframes(i,e);case 6:return t.visitStyle(i,e);case 8:return t.visitReference(i,e);case 9:return t.visitAnimateChild(i,e);case 10:return t.visitAnimateRef(i,e);case 11:return t.visitQuery(i,e);case 12:return t.visitStagger(i,e);default:throw function _U(t){return new x(3004,!1)}()}}function TE(t,i){return window.getComputedStyle(t)[i]}const du="*";function o$(t,i){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(n=>function a$(t,i,e){if(":"==t[0]){const c=function s$(t,i){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,n)=>parseFloat(n)>parseFloat(e);case":decrement":return(e,n)=>parseFloat(n)<parseFloat(e);default:return i.push(function AU(t){return new x(3016,!1)}()),"* => *"}}(t,e);if("function"==typeof c)return void i.push(c);t=c}const n=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return e.push(function TU(t){return new x(3015,!1)}()),i;const r=n[1],o=n[2],a=n[3];i.push(AE(r,a));"<"==o[0]&&!(r==du&&a==du)&&i.push(AE(a,r))}(n,e,i)):e.push(t),e}const uu=new Set(["true","1"]),hu=new Set(["false","0"]);function AE(t,i){const e=uu.has(t)||hu.has(t),n=uu.has(i)||hu.has(i);return(r,o)=>{let a=t==du||t==r,s=i==du||i==o;return!a&&e&&"boolean"==typeof r&&(a=r?uu.has(t):hu.has(t)),!s&&n&&"boolean"==typeof o&&(s=o?uu.has(i):hu.has(i)),a&&s}}const c$=new RegExp("s*:selfs*,?","g");function jg(t,i,e,n){return new l$(t).build(i,e,n)}class l${constructor(i){this._driver=i}build(i,e,n){const r=new h$(e);return this._resetContextStyleTimingState(r),hi(this,fc(i),r)}_resetContextStyleTimingState(i){i.currentQuerySelector="",i.collectedStyles=new Map,i.collectedStyles.set("",new Map),i.currentTime=0}visitTrigger(i,e){let n=e.queryCount=0,r=e.depCount=0;const o=[],a=[];return"@"==i.name.charAt(0)&&e.errors.push(function vU(){return new x(3006,!1)}()),i.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),0==s.type){const c=s,l=c.name;l.toString().split(/\s*,\s*/).forEach(d=>{c.name=d,o.push(this.visitState(c,e))}),c.name=l}else if(1==s.type){const c=this.visitTransition(s,e);n+=c.queryCount,r+=c.depCount,a.push(c)}else e.errors.push(function yU(){return new x(3007,!1)}())}),{type:7,name:i.name,states:o,transitions:a,queryCount:n,depCount:r,options:null}}visitState(i,e){const n=this.visitStyle(i.styles,e),r=i.options&&i.options.params||null;if(n.containsDynamicStyles){const o=new Set,a=r||{};n.styles.forEach(s=>{s instanceof Map&&s.forEach(c=>{IE(c).forEach(l=>{a.hasOwnProperty(l)||o.add(l)})})}),o.size&&(lu(o.values()),e.errors.push(function xU(t,i){return new x(3008,!1)}()))}return{type:0,name:i.name,style:n,options:r?{params:r}:null}}visitTransition(i,e){e.queryCount=0,e.depCount=0;const n=hi(this,fc(i.animation),e);return{type:1,matchers:o$(i.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:Wr(i.options)}}visitSequence(i,e){return{type:2,steps:i.steps.map(n=>hi(this,n,e)),options:Wr(i.options)}}visitGroup(i,e){const n=e.currentTime;let r=0;const o=i.steps.map(a=>{e.currentTime=n;const s=hi(this,a,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:3,steps:o,options:Wr(i.options)}}visitAnimate(i,e){const n=function p$(t,i){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return zg(cu(t,i).duration,0,"");const e=t;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=zg(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=cu(e,i);return zg(r.duration,r.delay,r.easing)}(i.timings,e.errors);e.currentAnimateTimings=n;let r,o=i.styles?i.styles:H({});if(5==o.type)r=this.visitKeyframes(o,e);else{let a=i.styles,s=!1;if(!a){s=!0;const l={};n.easing&&(l.easing=n.easing),a=H(l)}e.currentTime+=n.duration+n.delay;const c=this.visitStyle(a,e);c.isEmptyStep=s,r=c}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(i,e){const n=this._makeStyleAst(i,e);return this._validateStyleAst(n,e),n}_makeStyleAst(i,e){const n=[],r=Array.isArray(i.styles)?i.styles:[i.styles];for(let s of r)"string"==typeof s?s===Rn?n.push(s):e.errors.push(new x(3002,!1)):n.push(EE(s));let o=!1,a=null;return n.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!o))for(let c of s.values())if(c.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:n,easing:a,offset:i.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(i,e){const n=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;n&&o>0&&(o-=n.duration+n.delay),i.styles.forEach(a=>{"string"!=typeof a&&a.forEach((s,c)=>{const l=e.collectedStyles.get(e.currentQuerySelector),d=l.get(c);let u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(function CU(t,i,e,n,r){return new x(3010,!1)}()),u=!1),o=d.startTime),u&&l.set(c,{startTime:o,endTime:r}),e.options&&function t$(t,i,e){const n=i.params||{},r=IE(t);r.length&&r.forEach(o=>{n.hasOwnProperty(o)||e.push(function fU(t){return new x(3001,!1)}())})}(s,e.options,e.errors)})})}visitKeyframes(i,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function DU(){return new x(3011,!1)}()),n;let o=0;const a=[];let s=!1,c=!1,l=0;const d=i.steps.map(w=>{const b=this._makeStyleAst(w,e);let S=null!=b.offset?b.offset:function m$(t){if("string"==typeof t)return null;let i=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const n=e;i=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;i=parseFloat(e.get("offset")),e.delete("offset")}return i}(b.styles),P=0;return null!=S&&(o++,P=b.offset=S),c=c||P<0||P>1,s=s||P<l,l=P,a.push(P),b});c&&e.errors.push(function kU(){return new x(3012,!1)}()),s&&e.errors.push(function MU(){return new x(3200,!1)}());const u=i.steps.length;let h=0;o>0&&o<u?e.errors.push(function EU(){return new x(3202,!1)}()):0==o&&(h=1/(u-1));const m=u-1,f=e.currentTime,g=e.currentAnimateTimings,_=g.duration;return d.forEach((w,b)=>{const S=h>0?b==m?1:h*b:a[b],P=S*_;e.currentTime=f+g.delay+P,g.duration=P,this._validateStyleAst(w,e),w.offset=S,n.styles.push(w)}),n}visitReference(i,e){return{type:8,animation:hi(this,fc(i.animation),e),options:Wr(i.options)}}visitAnimateChild(i,e){return e.depCount++,{type:9,options:Wr(i.options)}}visitAnimateRef(i,e){return{type:10,animation:this.visitReference(i.animation,e),options:Wr(i.options)}}visitQuery(i,e){const n=e.currentQuerySelector,r=i.options||{};e.queryCount++,e.currentQuery=i;const[o,a]=function d$(t){const i=!!t.split(/\s*,\s*/).find(e=>":self"==e);return i&&(t=t.replace(c$,"")),t=t.replace(/@\*/g,su).replace(/@\w+/g,e=>su+"-"+e.slice(1)).replace(/:animating/g,Lg),[t,i]}(i.selector);e.currentQuerySelector=n.length?n+" "+o:o,ui(e.collectedStyles,e.currentQuerySelector,new Map);const s=hi(this,fc(i.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:i.selector,options:Wr(i.options)}}visitStagger(i,e){e.currentQuery||e.errors.push(function SU(){return new x(3013,!1)}());const n="full"===i.timings?{duration:0,delay:0,easing:"full"}:cu(i.timings,e.errors,!0);return{type:12,animation:hi(this,fc(i.animation),e),timings:n,options:null}}}class h${constructor(i){this.errors=i,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Wr(t){return t?(t=pc(t)).params&&(t.params=function u$(t){return t?pc(t):null}(t.params)):t={},t}function zg(t,i,e){return{duration:t,delay:i,easing:e}}function Ug(t,i,e,n,r,o,a=null,s=!1){return{type:1,element:t,keyframes:i,preStyleProps:e,postStyleProps:n,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}class mu{constructor(){this._map=new Map}get(i){return this._map.get(i)||[]}append(i,e){let n=this._map.get(i);n||this._map.set(i,n=[]),n.push(...e)}has(i){return this._map.has(i)}clear(){this._map.clear()}}const _$=new RegExp(":enter","g"),v$=new RegExp(":leave","g");function $g(t,i,e,n,r,o=new Map,a=new Map,s,c,l=[]){return(new y$).buildKeyframes(t,i,e,n,r,o,a,s,c,l)}class y${buildKeyframes(i,e,n,r,o,a,s,c,l,d=[]){l=l||new mu;const u=new Gg(i,e,l,r,o,d,[]);u.options=c;const h=c.delay?On(c.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([a],null,u.errors,c),hi(this,n,u);const m=u.timelines.filter(f=>f.containsAnimation());if(m.length&&s.size){let f;for(let g=m.length-1;g>=0;g--){const _=m[g];if(_.element===e){f=_;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([s],null,u.errors,c)}return m.length?m.map(f=>f.buildKeyframes()):[Ug(e,[],[],[],0,h,"",!1)]}visitTrigger(i,e){}visitState(i,e){}visitTransition(i,e){}visitAnimateChild(i,e){const n=e.subInstructions.get(e.element);if(n){const r=e.createSubContext(i.options),o=e.currentTimeline.currentTime,a=this._visitSubInstructions(n,r,r.options);o!=a&&e.transformIntoNewTimeline(a)}e.previousNode=i}visitAnimateRef(i,e){const n=e.createSubContext(i.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([i.options,i.animation.options],e,n),this.visitReference(i.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=i}_applyAnimationRefDelays(i,e,n){for(const r of i){const o=r?.delay;if(o){const a="number"==typeof o?o:On(gc(o,r?.params??{},e.errors));n.delayNextStep(a)}}}_visitSubInstructions(i,e,n){let o=e.currentTimeline.currentTime;const a=null!=n.duration?On(n.duration):null,s=null!=n.delay?On(n.delay):null;return 0!==a&&i.forEach(c=>{const l=e.appendInstructionToTimeline(c,a,s);o=Math.max(o,l.duration+l.delay)}),o}visitReference(i,e){e.updateOptions(i.options,!0),hi(this,i.animation,e),e.previousNode=i}visitSequence(i,e){const n=e.subContextCount;let r=e;const o=i.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=pu);const a=On(o.delay);r.delayNextStep(a)}i.steps.length&&(i.steps.forEach(a=>hi(this,a,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=i}visitGroup(i,e){const n=[];let r=e.currentTimeline.currentTime;const o=i.options&&i.options.delay?On(i.options.delay):0;i.steps.forEach(a=>{const s=e.createSubContext(i.options);o&&s.delayNextStep(o),hi(this,a,s),r=Math.max(r,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(r),e.previousNode=i}_visitTiming(i,e){if(i.dynamic){const n=i.strValue;return cu(e.params?gc(n,e.params,e.errors):n,e.errors)}return{duration:i.duration,delay:i.delay,easing:i.easing}}visitAnimate(i,e){const n=e.currentAnimateTimings=this._visitTiming(i.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());const o=i.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(n.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=i}visitStyle(i,e){const n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();const o=r&&r.easing||i.easing;i.isEmptyStep?n.applyEmptyStep(o):n.setStyles(i.styles,o,e.errors,e.options),e.previousNode=i}visitKeyframes(i,e){const n=e.currentAnimateTimings,r=e.currentTimeline.duration,o=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,i.styles.forEach(c=>{s.forwardTime((c.offset||0)*o),s.setStyles(c.styles,c.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+o),e.previousNode=i}visitQuery(i,e){const n=e.currentTimeline.currentTime,r=i.options||{},o=r.delay?On(r.delay):0;o&&(6===e.previousNode.type||0==n&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=pu);let a=n;const s=e.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;let c=null;s.forEach((l,d)=>{e.currentQueryIndex=d;const u=e.createSubContext(i.options,l);o&&u.delayNextStep(o),l===e.element&&(c=u.currentTimeline),hi(this,i.animation,u),u.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,u.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),c&&(e.currentTimeline.mergeTimelineCollectedStyles(c),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=i}visitStagger(i,e){const n=e.parentContext,r=e.currentTimeline,o=i.timings,a=Math.abs(o.duration),s=a*(e.currentQueryTotal-1);let c=a*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=s-c;break;case"full":c=n.currentStaggerTime}const d=e.currentTimeline;c&&d.delayNextStep(c);const u=d.currentTime;hi(this,i.animation,e),e.previousNode=i,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)}}const pu={};class Gg{constructor(i,e,n,r,o,a,s,c){this._driver=i,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=pu,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new fu(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(i,e){if(!i)return;const n=i;let r=this.options;null!=n.duration&&(r.duration=On(n.duration)),null!=n.delay&&(r.delay=On(n.delay));const o=n.params;if(o){let a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(s=>{(!e||!a.hasOwnProperty(s))&&(a[s]=gc(o[s],a,this.errors))})}}_copyOptions(){const i={};if(this.options){const e=this.options.params;if(e){const n=i.params={};Object.keys(e).forEach(r=>{n[r]=e[r]})}}return i}createSubContext(i=null,e,n){const r=e||this.element,o=new Gg(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(i),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(i){return this.previousNode=pu,this.currentTimeline=this.currentTimeline.fork(this.element,i),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(i,e,n){const r={duration:e??i.duration,delay:this.currentTimeline.currentTime+(n??0)+i.delay,easing:""},o=new x$(this._driver,i.element,i.keyframes,i.preStyleProps,i.postStyleProps,r,i.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(i){this.currentTimeline.forwardTime(this.currentTimeline.duration+i)}delayNextStep(i){i>0&&this.currentTimeline.delayNextStep(i)}invokeQuery(i,e,n,r,o,a){let s=[];if(r&&s.push(this.element),i.length>0){i=(i=i.replace(_$,"."+this._enterClassName)).replace(v$,"."+this._leaveClassName);let l=this._driver.query(this.element,i,1!=n);0!==n&&(l=n<0?l.slice(l.length+n,l.length):l.slice(0,n)),s.push(...l)}return!o&&0==s.length&&a.push(function IU(t){return new x(3014,!1)}()),s}}class fu{constructor(i,e,n,r){this._driver=i,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(i){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+i),e&&this.snapshotCurrentStyles()):this.startTime+=i}fork(i,e){return this.applyStylesToKeyframe(),new fu(this._driver,i,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(i){this.applyStylesToKeyframe(),this.duration=i,this._loadKeyframe()}_updateStyle(i,e){this._localTimelineStyles.set(i,e),this._globalTimelineStyles.set(i,e),this._styleSummary.set(i,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(i){i&&this._previousKeyframe.set("easing",i);for(let[e,n]of this._globalTimelineStyles)this._backFill.set(e,n||Rn),this._currentKeyframe.set(e,Rn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,e,n,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},a=function w$(t,i){const e=new Map;let n;return t.forEach(r=>{if("*"===r){n=n||i.keys();for(let o of n)e.set(o,Rn)}else lr(r,e)}),e}(i,this._globalTimelineStyles);for(let[s,c]of a){const l=gc(c,o,n);this._pendingStyles.set(s,l),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??Rn),this._updateStyle(s,l)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((i,e)=>{this._currentKeyframe.set(e,i)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((i,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,i)}))}snapshotCurrentStyles(){for(let[i,e]of this._localTimelineStyles)this._pendingStyles.set(i,e),this._updateStyle(i,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const i=[];for(let e in this._currentKeyframe)i.push(e);return i}mergeTimelineCollectedStyles(i){i._styleSummary.forEach((e,n)=>{const r=this._styleSummary.get(n);(!r||e.time>r.time)&&this._updateStyle(n,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const i=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,c)=>{const l=lr(s,new Map,this._backFill);l.forEach((d,u)=>{"!"===d?i.add(u):d===Rn&&e.add(u)}),n||l.set("offset",c/this.duration),r.push(l)});const o=i.size?lu(i.values()):[],a=e.size?lu(e.values()):[];if(n){const s=r[0],c=new Map(s);s.set("offset",0),c.set("offset",1),r=[s,c]}return Ug(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}}class x$ extends fu{constructor(i,e,n,r,o,a,s=!1){super(i,e,a.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let i=this.keyframes,{delay:e,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],a=n+e,s=e/a,c=lr(i[0]);c.set("offset",0),o.push(c);const l=lr(i[0]);l.set("offset",FE(s)),o.push(l);const d=i.length-1;for(let u=1;u<=d;u++){let h=lr(i[u]);const m=h.get("offset");h.set("offset",FE((e+m*n)/a)),o.push(h)}n=a,e=0,r="",i=o}return Ug(this.element,i,this.preStyleProps,this.postStyleProps,n,e,r,!0)}}function FE(t,i=3){const e=Math.pow(10,i-1);return Math.round(t*e)/e}class Wg{}const C$=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class D$ extends Wg{normalizePropertyName(i,e){return Hg(i)}normalizeStyleValue(i,e,n,r){let o="";const a=n.toString().trim();if(C$.has(e)&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{const s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push(function bU(t,i){return new x(3005,!1)}())}return a+o}}function PE(t,i,e,n,r,o,a,s,c,l,d,u,h){return{type:0,element:t,triggerName:i,isRemovalTransition:r,fromState:e,fromStyles:o,toState:n,toStyles:a,timelines:s,queriedElements:c,preStyleProps:l,postStyleProps:d,totalTime:u,errors:h}}const qg={};class NE{constructor(i,e,n){this._triggerName=i,this.ast=e,this._stateStyles=n}match(i,e,n,r){return function k$(t,i,e,n,r){return t.some(o=>o(i,e,n,r))}(this.ast.matchers,i,e,n,r)}buildStyles(i,e,n){let r=this._stateStyles.get("*");return void 0!==i&&(r=this._stateStyles.get(i?.toString())||r),r?r.buildStyles(e,n):new Map}build(i,e,n,r,o,a,s,c,l,d){const u=[],h=this.ast.options&&this.ast.options.params||qg,f=this.buildStyles(n,s&&s.params||qg,u),g=c&&c.params||qg,_=this.buildStyles(r,g,u),w=new Set,b=new Map,S=new Map,P="void"===r,oe={params:M$(g,h),delay:this.ast.options?.delay},Ne=d?[]:$g(i,e,this.ast.animation,o,a,f,_,oe,l,u);let Ue=0;if(Ne.forEach(mi=>{Ue=Math.max(mi.duration+mi.delay,Ue)}),u.length)return PE(e,this._triggerName,n,r,P,f,_,[],[],b,S,Ue,u);Ne.forEach(mi=>{const zi=mi.element,rh=ui(b,zi,new Set);mi.preStyleProps.forEach(to=>rh.add(to));const Oc=ui(S,zi,new Set);mi.postStyleProps.forEach(to=>Oc.add(to)),zi!==e&&w.add(zi)});const St=lu(w.values());return PE(e,this._triggerName,n,r,P,f,_,Ne,St,b,S,Ue)}}function M$(t,i){const e=pc(i);for(const n in t)t.hasOwnProperty(n)&&null!=t[n]&&(e[n]=t[n]);return e}class E${constructor(i,e,n){this.styles=i,this.defaultParams=e,this.normalizer=n}buildStyles(i,e){const n=new Map,r=pc(this.defaultParams);return Object.keys(i).forEach(o=>{const a=i[o];null!==a&&(r[o]=a)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((a,s)=>{a&&(a=gc(a,r,e));const c=this.normalizer.normalizePropertyName(s,e);a=this.normalizer.normalizeStyleValue(s,c,a,e),n.set(s,a)})}),n}}class I${constructor(i,e,n){this.name=i,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new E$(r.style,r.options&&r.options.params||{},n))}),LE(this.states,"true","1"),LE(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new NE(i,r,this.states))}),this.fallbackTransition=function T$(t,i,e){return new NE(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(a,s)=>!0],options:null,queryCount:0,depCount:0},i)}(i,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(i,e,n,r){return this.transitionFactories.find(a=>a.match(i,e,n,r))||null}matchStyles(i,e,n){return this.fallbackTransition.buildStyles(i,e,n)}}function LE(t,i,e){t.has(i)?t.has(e)||t.set(e,t.get(i)):t.has(e)&&t.set(i,t.get(e))}const A$=new mu;class R${constructor(i,e,n){this.bodyNode=i,this._driver=e,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(i,e){const n=[],o=jg(this._driver,e,n,[]);if(n.length)throw function NU(t){return new x(3503,!1)}();this._animations.set(i,o)}_buildPlayer(i,e,n){const r=i.element,o=vE(this._normalizer,i.keyframes,e,n);return this._driver.animate(r,o,i.duration,i.delay,i.easing,[],!0)}create(i,e,n={}){const r=[],o=this._animations.get(i);let a;const s=new Map;if(o?(a=$g(this._driver,e,o,Ng,ou,new Map,new Map,n,A$,r),a.forEach(d=>{const u=ui(s,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(r.push(function LU(){return new x(3300,!1)}()),a=[]),r.length)throw function BU(t){return new x(3504,!1)}();s.forEach((d,u)=>{d.forEach((h,m)=>{d.set(m,this._driver.computeStyle(u,m,Rn))})});const l=cr(a.map(d=>{const u=s.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(i,l),l.onDestroy(()=>this.destroy(i)),this.players.push(l),l}destroy(i){const e=this._getPlayer(i);e.destroy(),this._playersById.delete(i);const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(i){const e=this._playersById.get(i);if(!e)throw function VU(t){return new x(3301,!1)}();return e}listen(i,e,n,r){const o=Og(e,"","","");return Ag(this._getPlayer(i),n,o,r),()=>{}}command(i,e,n,r){if("register"==n)return void this.register(i,r[0]);if("create"==n)return void this.create(i,e,r[0]||{});const o=this._getPlayer(i);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(i)}}}const BE="ng-animate-queued",Yg="ng-animate-disabled",L$=[],VE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},B$={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ji="__ng_removed";class Qg{get params(){return this.options.params}constructor(i,e=""){this.namespaceId=e;const n=i&&i.hasOwnProperty("value");if(this.value=function z$(t){return t??null}(n?i.value:i),n){const o=pc(i);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(i){const e=i.params;if(e){const n=this.options.params;Object.keys(e).forEach(r=>{null==n[r]&&(n[r]=e[r])})}}}const _c="void",Zg=new Qg(_c);class V${constructor(i,e,n){this.id=i,this.hostElement=e,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,Ei(e,this._hostClassName)}listen(i,e,n,r){if(!this._triggers.has(e))throw function HU(t,i){return new x(3302,!1)}();if(null==n||0==n.length)throw function jU(t){return new x(3303,!1)}();if(!function U$(t){return"start"==t||"done"==t}(n))throw function zU(t,i){return new x(3400,!1)}();const o=ui(this._elementListeners,i,[]),a={name:e,phase:n,callback:r};o.push(a);const s=ui(this._engine.statesByElement,i,new Map);return s.has(e)||(Ei(i,au),Ei(i,au+"-"+e),s.set(e,Zg)),()=>{this._engine.afterFlush(()=>{const c=o.indexOf(a);c>=0&&o.splice(c,1),this._triggers.has(e)||s.delete(e)})}}register(i,e){return!this._triggers.has(i)&&(this._triggers.set(i,e),!0)}_getTrigger(i){const e=this._triggers.get(i);if(!e)throw function UU(t){return new x(3401,!1)}();return e}trigger(i,e,n,r=!0){const o=this._getTrigger(e),a=new Kg(this.id,e,i);let s=this._engine.statesByElement.get(i);s||(Ei(i,au),Ei(i,au+"-"+e),this._engine.statesByElement.set(i,s=new Map));let c=s.get(e);const l=new Qg(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),s.set(e,l),c||(c=Zg),l.value!==_c&&c.value===l.value){if(!function W$(t,i){const e=Object.keys(t),n=Object.keys(i);if(e.length!=n.length)return!1;for(let r=0;r<e.length;r++){const o=e[r];if(!i.hasOwnProperty(o)||t[o]!==i[o])return!1}return!0}(c.params,l.params)){const g=[],_=o.matchStyles(c.value,c.params,g),w=o.matchStyles(l.value,l.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{Gr(i,_),dn(i,w)})}return}const h=ui(this._engine.playersByElement,i,[]);h.forEach(g=>{g.namespaceId==this.id&&g.triggerName==e&&g.queued&&g.destroy()});let m=o.matchTransition(c.value,l.value,i,l.params),f=!1;if(!m){if(!r)return;m=o.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:e,transition:m,fromState:c,toState:l,player:a,isFallbackTransition:f}),f||(Ei(i,BE),a.onStart(()=>{Ma(i,BE)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);const _=this._engine.playersByElement.get(i);if(_){let w=_.indexOf(a);w>=0&&_.splice(w,1)}}),this.players.push(a),h.push(a),a}deregister(i){this._triggers.delete(i),this._engine.statesByElement.forEach(e=>e.delete(i)),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(r=>r.name!=i))})}clearElementCache(i){this._engine.statesByElement.delete(i),this._elementListeners.delete(i);const e=this._engine.playersByElement.get(i);e&&(e.forEach(n=>n.destroy()),this._engine.playersByElement.delete(i))}_signalRemovalForInnerTriggers(i,e){const n=this._engine.driver.query(i,su,!0);n.forEach(r=>{if(r[ji])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(a=>a.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(i,e,n,r){const o=this._engine.statesByElement.get(i),a=new Map;if(o){const s=[];if(o.forEach((c,l)=>{if(a.set(l,c.value),this._triggers.has(l)){const d=this.trigger(i,l,_c,r);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,i,!0,e,a),n&&cr(s).onDone(()=>this._engine.processLeaveNode(i)),!0}return!1}prepareLeaveAnimationListeners(i){const e=this._elementListeners.get(i),n=this._engine.statesByElement.get(i);if(e&&n){const r=new Set;e.forEach(o=>{const a=o.name;if(r.has(a))return;r.add(a);const c=this._triggers.get(a).fallbackTransition,l=n.get(a)||Zg,d=new Qg(_c),u=new Kg(this.id,a,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:a,transition:c,fromState:l,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(i,e){const n=this._engine;if(i.childElementCount&&this._signalRemovalForInnerTriggers(i,e),this.triggerLeaveAnimation(i,e,!0))return;let r=!1;if(n.totalAnimations){const o=n.players.length?n.playersByQueriedElement.get(i):[];if(o&&o.length)r=!0;else{let a=i;for(;a=a.parentNode;)if(n.statesByElement.get(a)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(i),r)n.markElementAsRemoved(this.id,i,!1,e);else{const o=i[ji];(!o||o===VE)&&(n.afterFlush(()=>this.clearElementCache(i)),n.destroyInnerAnimations(i),n._onRemovalComplete(i,e))}}insertNode(i,e){Ei(i,this._hostClassName)}drainQueuedTransitions(i){const e=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const o=n.element,a=this._elementListeners.get(o);a&&a.forEach(s=>{if(s.name==n.triggerName){const c=Og(o,n.triggerName,n.fromState.value,n.toState.value);c._data=i,Ag(n.player,s.phase,c,s.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(n)}),this._queue=[],e.sort((n,r)=>{const o=n.transition.ast.depCount,a=r.transition.ast.depCount;return 0==o||0==a?o-a:this._engine.driver.containsElement(n.element,r.element)?1:-1})}destroy(i){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,i)}}class H${_onRemovalComplete(i,e){this.onRemovalComplete(i,e)}constructor(i,e,n){this.bodyNode=i,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){const i=[];return this._namespaceList.forEach(e=>{e.players.forEach(n=>{n.queued&&i.push(n)})}),i}createNamespace(i,e){const n=new V$(i,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[i]=n}_balanceNamespaceList(i,e){const n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let a=!1,s=this.driver.getParentElement(e);for(;s;){const c=r.get(s);if(c){const l=n.indexOf(c);n.splice(l+1,0,i),a=!0;break}s=this.driver.getParentElement(s)}a||n.unshift(i)}else n.push(i);return r.set(e,i),i}register(i,e){let n=this._namespaceLookup[i];return n||(n=this.createNamespace(i,e)),n}registerTrigger(i,e,n){let r=this._namespaceLookup[i];r&&r.register(e,n)&&this.totalAnimations++}destroy(i,e){i&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const n=this._fetchNamespace(i);this.namespacesByHostElement.delete(n.hostElement);const r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1),n.destroy(e),delete this._namespaceLookup[i]}))}_fetchNamespace(i){return this._namespaceLookup[i]}fetchNamespacesByElement(i){const e=new Set,n=this.statesByElement.get(i);if(n)for(let r of n.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(i,e,n,r){if(gu(e)){const o=this._fetchNamespace(i);if(o)return o.trigger(e,n,r),!0}return!1}insertNode(i,e,n,r){if(!gu(e))return;const o=e[ji];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(i){const a=this._fetchNamespace(i);a&&a.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(i){this.collectedEnterElements.push(i)}markElementAsDisabled(i,e){e?this.disabledNodes.has(i)||(this.disabledNodes.add(i),Ei(i,Yg)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),Ma(i,Yg))}removeNode(i,e,n){if(gu(e)){const r=i?this._fetchNamespace(i):null;r?r.removeNode(e,n):this.markElementAsRemoved(i,e,!1,n);const o=this.namespacesByHostElement.get(e);o&&o.id!==i&&o.removeNode(e,n)}else this._onRemovalComplete(e,n)}markElementAsRemoved(i,e,n,r,o){this.collectedLeaveElements.push(e),e[ji]={namespaceId:i,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(i,e,n,r,o){return gu(e)?this._fetchNamespace(i).listen(e,n,r,o):()=>{}}_buildInstruction(i,e,n,r,o){return i.transition.build(this.driver,i.element,i.fromState.value,i.toState.value,n,r,i.fromState.options,i.toState.options,e,o)}destroyInnerAnimations(i){let e=this.driver.query(i,su,!0);e.forEach(n=>this.destroyActiveAnimationsForElement(n)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(i,Lg,!0),e.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(i){const e=this.playersByElement.get(i);e&&e.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(i){const e=this.playersByQueriedElement.get(i);e&&e.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(i=>{if(this.players.length)return cr(this.players).onDone(()=>i());i()})}processLeaveNode(i){const e=i[ji];if(e&&e.setForRemoval){if(i[ji]=VE,e.namespaceId){this.destroyInnerAnimations(i);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(i)}this._onRemovalComplete(i,e.setForRemoval)}i.classList?.contains(Yg)&&this.markElementAsDisabled(i,!1),this.driver.query(i,".ng-animate-disabled",!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(i=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,r)=>this._balanceNamespaceList(n,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Ei(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,i)}finally{for(let r=0;r<n.length;r++)n[r]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){const n=this._whenQuietFns;this._whenQuietFns=[],e.length?cr(e).onDone(()=>{n.forEach(r=>r())}):n.forEach(r=>r())}}reportError(i){throw function $U(t){return new x(3402,!1)}()}_flushAnimations(i,e){const n=new mu,r=[],o=new Map,a=[],s=new Map,c=new Map,l=new Map,d=new Set;this.disabledNodes.forEach(B=>{d.add(B);const G=this.driver.query(B,".ng-animate-queued",!0);for(let q=0;q<G.length;q++)d.add(G[q])});const u=this.bodyNode,h=Array.from(this.statesByElement.keys()),m=zE(h,this.collectedEnterElements),f=new Map;let g=0;m.forEach((B,G)=>{const q=Ng+g++;f.set(G,q),B.forEach(ke=>Ei(ke,q))});const _=[],w=new Set,b=new Set;for(let B=0;B<this.collectedLeaveElements.length;B++){const G=this.collectedLeaveElements[B],q=G[ji];q&&q.setForRemoval&&(_.push(G),w.add(G),q.hasAnimation?this.driver.query(G,".ng-star-inserted",!0).forEach(ke=>w.add(ke)):b.add(G))}const S=new Map,P=zE(h,Array.from(w));P.forEach((B,G)=>{const q=ou+g++;S.set(G,q),B.forEach(ke=>Ei(ke,q))}),i.push(()=>{m.forEach((B,G)=>{const q=f.get(G);B.forEach(ke=>Ma(ke,q))}),P.forEach((B,G)=>{const q=S.get(G);B.forEach(ke=>Ma(ke,q))}),_.forEach(B=>{this.processLeaveNode(B)})});const oe=[],Ne=[];for(let B=this._namespaceList.length-1;B>=0;B--)this._namespaceList[B].drainQueuedTransitions(e).forEach(q=>{const ke=q.player,vt=q.element;if(oe.push(ke),this.collectedEnterElements.length){const Ft=vt[ji];if(Ft&&Ft.setForMove){if(Ft.previousTriggersValues&&Ft.previousTriggersValues.has(q.triggerName)){const io=Ft.previousTriggersValues.get(q.triggerName),Si=this.statesByElement.get(q.element);if(Si&&Si.has(q.triggerName)){const oh=Si.get(q.triggerName);oh.value=io,Si.set(q.triggerName,oh)}}return void ke.destroy()}}const mn=!u||!this.driver.containsElement(u,vt),pi=S.get(vt),gr=f.get(vt),Ye=this._buildInstruction(q,n,gr,pi,mn);if(Ye.errors&&Ye.errors.length)return void Ne.push(Ye);if(mn)return ke.onStart(()=>Gr(vt,Ye.fromStyles)),ke.onDestroy(()=>dn(vt,Ye.toStyles)),void r.push(ke);if(q.isFallbackTransition)return ke.onStart(()=>Gr(vt,Ye.fromStyles)),ke.onDestroy(()=>dn(vt,Ye.toStyles)),void r.push(ke);const eA=[];Ye.timelines.forEach(Ft=>{Ft.stretchStartingKeyframe=!0,this.disabledNodes.has(Ft.element)||eA.push(Ft)}),Ye.timelines=eA,n.append(vt,Ye.timelines),a.push({instruction:Ye,player:ke,element:vt}),Ye.queriedElements.forEach(Ft=>ui(s,Ft,[]).push(ke)),Ye.preStyleProps.forEach((Ft,io)=>{if(Ft.size){let Si=c.get(io);Si||c.set(io,Si=new Set),Ft.forEach((oh,sb)=>Si.add(sb))}}),Ye.postStyleProps.forEach((Ft,io)=>{let Si=l.get(io);Si||l.set(io,Si=new Set),Ft.forEach((oh,sb)=>Si.add(sb))})});if(Ne.length){const B=[];Ne.forEach(G=>{B.push(function GU(t,i){return new x(3505,!1)}())}),oe.forEach(G=>G.destroy()),this.reportError(B)}const Ue=new Map,St=new Map;a.forEach(B=>{const G=B.element;n.has(G)&&(St.set(G,G),this._beforeAnimationBuild(B.player.namespaceId,B.instruction,Ue))}),r.forEach(B=>{const G=B.element;this._getPreviousPlayers(G,!1,B.namespaceId,B.triggerName,null).forEach(ke=>{ui(Ue,G,[]).push(ke),ke.destroy()})});const mi=_.filter(B=>$E(B,c,l)),zi=new Map;jE(zi,this.driver,b,l,Rn).forEach(B=>{$E(B,c,l)&&mi.push(B)});const Oc=new Map;m.forEach((B,G)=>{jE(Oc,this.driver,new Set(B),c,"!")}),mi.forEach(B=>{const G=zi.get(B),q=Oc.get(B);zi.set(B,new Map([...G?.entries()??[],...q?.entries()??[]]))});const to=[],XT=[],JT={};a.forEach(B=>{const{element:G,player:q,instruction:ke}=B;if(n.has(G)){if(d.has(G))return q.onDestroy(()=>dn(G,ke.toStyles)),q.disabled=!0,q.overrideTotalTime(ke.totalTime),void r.push(q);let vt=JT;if(St.size>1){let pi=G;const gr=[];for(;pi=pi.parentNode;){const Ye=St.get(pi);if(Ye){vt=Ye;break}gr.push(pi)}gr.forEach(Ye=>St.set(Ye,vt))}const mn=this._buildAnimation(q.namespaceId,ke,Ue,o,Oc,zi);if(q.setRealPlayer(mn),vt===JT)to.push(q);else{const pi=this.playersByElement.get(vt);pi&&pi.length&&(q.parentPlayer=cr(pi)),r.push(q)}}else Gr(G,ke.fromStyles),q.onDestroy(()=>dn(G,ke.toStyles)),XT.push(q),d.has(G)&&r.push(q)}),XT.forEach(B=>{const G=o.get(B.element);if(G&&G.length){const q=cr(G);B.setRealPlayer(q)}}),r.forEach(B=>{B.parentPlayer?B.syncPlayerEvents(B.parentPlayer):B.destroy()});for(let B=0;B<_.length;B++){const G=_[B],q=G[ji];if(Ma(G,ou),q&&q.hasAnimation)continue;let ke=[];if(s.size){let mn=s.get(G);mn&&mn.length&&ke.push(...mn);let pi=this.driver.query(G,Lg,!0);for(let gr=0;gr<pi.length;gr++){let Ye=s.get(pi[gr]);Ye&&Ye.length&&ke.push(...Ye)}}const vt=ke.filter(mn=>!mn.destroyed);vt.length?$$(this,G,vt):this.processLeaveNode(G)}return _.length=0,to.forEach(B=>{this.players.push(B),B.onDone(()=>{B.destroy();const G=this.players.indexOf(B);this.players.splice(G,1)}),B.play()}),to}afterFlush(i){this._flushFns.push(i)}afterFlushAnimationsDone(i){this._whenQuietFns.push(i)}_getPreviousPlayers(i,e,n,r,o){let a=[];if(e){const s=this.playersByQueriedElement.get(i);s&&(a=s)}else{const s=this.playersByElement.get(i);if(s){const c=!o||o==_c;s.forEach(l=>{l.queued||!c&&l.triggerName!=r||a.push(l)})}}return(n||r)&&(a=a.filter(s=>!(n&&n!=s.namespaceId||r&&r!=s.triggerName))),a}_beforeAnimationBuild(i,e,n){const o=e.element,a=e.isRemovalTransition?void 0:i,s=e.isRemovalTransition?void 0:e.triggerName;for(const c of e.timelines){const l=c.element,d=l!==o,u=ui(n,l,[]);this._getPreviousPlayers(l,d,a,s,e.toState).forEach(m=>{const f=m.getRealPlayer();f.beforeDestroy&&f.beforeDestroy(),m.destroy(),u.push(m)})}Gr(o,e.fromStyles)}_buildAnimation(i,e,n,r,o,a){const s=e.triggerName,c=e.element,l=[],d=new Set,u=new Set,h=e.timelines.map(f=>{const g=f.element;d.add(g);const _=g[ji];if(_&&_.removedBeforeQueried)return new mc(f.duration,f.delay);const w=g!==c,b=function G$(t){const i=[];return UE(t,i),i}((n.get(g)||L$).map(Ue=>Ue.getRealPlayer())).filter(Ue=>!!Ue.element&&Ue.element===g),S=o.get(g),P=a.get(g),oe=vE(this._normalizer,f.keyframes,S,P),Ne=this._buildPlayer(f,oe,b);if(f.subTimeline&&r&&u.add(g),w){const Ue=new Kg(i,s,g);Ue.setRealPlayer(Ne),l.push(Ue)}return Ne});l.forEach(f=>{ui(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>function j$(t,i,e){let n=t.get(i);if(n){if(n.length){const r=n.indexOf(e);n.splice(r,1)}0==n.length&&t.delete(i)}return n}(this.playersByQueriedElement,f.element,f))}),d.forEach(f=>Ei(f,ME));const m=cr(h);return m.onDestroy(()=>{d.forEach(f=>Ma(f,ME)),dn(c,e.toStyles)}),u.forEach(f=>{ui(r,f,[]).push(m)}),m}_buildPlayer(i,e,n){return e.length>0?this.driver.animate(i.element,e,i.duration,i.delay,i.easing,n):new mc(i.duration,i.delay)}}class Kg{constructor(i,e,n){this.namespaceId=i,this.triggerName=e,this.element=n,this._player=new mc,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(i){this._containsRealPlayer||(this._player=i,this._queuedCallbacks.forEach((e,n)=>{e.forEach(r=>Ag(i,n,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(i.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(i){this.totalTime=i}syncPlayerEvents(i){const e=this._player;e.triggerCallback&&i.onStart(()=>e.triggerCallback("start")),i.onDone(()=>this.finish()),i.onDestroy(()=>this.destroy())}_queueEvent(i,e){ui(this._queuedCallbacks,i,[]).push(e)}onDone(i){this.queued&&this._queueEvent("done",i),this._player.onDone(i)}onStart(i){this.queued&&this._queueEvent("start",i),this._player.onStart(i)}onDestroy(i){this.queued&&this._queueEvent("destroy",i),this._player.onDestroy(i)}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(i){this.queued||this._player.setPosition(i)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(i){const e=this._player;e.triggerCallback&&e.triggerCallback(i)}}function gu(t){return t&&1===t.nodeType}function HE(t,i){const e=t.style.display;return t.style.display=i??"none",e}function jE(t,i,e,n,r){const o=[];e.forEach(c=>o.push(HE(c)));const a=[];n.forEach((c,l)=>{const d=new Map;c.forEach(u=>{const h=i.computeStyle(l,u,r);d.set(u,h),(!h||0==h.length)&&(l[ji]=B$,a.push(l))}),t.set(l,d)});let s=0;return e.forEach(c=>HE(c,o[s++])),a}function zE(t,i){const e=new Map;if(t.forEach(s=>e.set(s,[])),0==i.length)return e;const r=new Set(i),o=new Map;function a(s){if(!s)return 1;let c=o.get(s);if(c)return c;const l=s.parentNode;return c=e.has(l)?l:r.has(l)?1:a(l),o.set(s,c),c}return i.forEach(s=>{const c=a(s);1!==c&&e.get(c).push(s)}),e}function Ei(t,i){t.classList?.add(i)}function Ma(t,i){t.classList?.remove(i)}function $$(t,i,e){cr(e).onDone(()=>t.processLeaveNode(i))}function UE(t,i){for(let e=0;e<t.length;e++){const n=t[e];n instanceof _E?UE(n.players,i):i.push(n)}}function $E(t,i,e){const n=e.get(t);if(!n)return!1;let r=i.get(t);return r?n.forEach(o=>r.add(o)):i.set(t,n),e.delete(t),!0}class _u{constructor(i,e,n){this.bodyNode=i,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new H$(i,e,n),this._timelineEngine=new R$(i,e,n),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(i,e,n,r,o){const a=i+"-"+r;let s=this._triggerCache[a];if(!s){const c=[],d=jg(this._driver,o,c,[]);if(c.length)throw function FU(t,i){return new x(3404,!1)}();s=function S$(t,i,e){return new I$(t,i,e)}(r,d,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(e,r,s)}register(i,e){this._transitionEngine.register(i,e)}destroy(i,e){this._transitionEngine.destroy(i,e)}onInsert(i,e,n,r){this._transitionEngine.insertNode(i,e,n,r)}onRemove(i,e,n){this._transitionEngine.removeNode(i,e,n)}disableAnimations(i,e){this._transitionEngine.markElementAsDisabled(i,e)}process(i,e,n,r){if("@"==n.charAt(0)){const[o,a]=yE(n);this._timelineEngine.command(o,e,a,r)}else this._transitionEngine.trigger(i,e,n,r)}listen(i,e,n,r,o){if("@"==n.charAt(0)){const[a,s]=yE(n);return this._timelineEngine.listen(a,e,s,o)}return this._transitionEngine.listen(i,e,n,r,o)}flush(i=-1){this._transitionEngine.flush(i)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(i){this._transitionEngine.afterFlushAnimationsDone(i)}}let Y$=(()=>{class t{static#e=this.initialStylesByElement=new WeakMap;constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&dn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(dn(this._element,this._initialStyles),this._endStyles&&(dn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Gr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Gr(this._element,this._endStyles),this._endStyles=null),dn(this._element,this._initialStyles),this._state=3)}}return t})();function Xg(t){let i=null;return t.forEach((e,n)=>{(function Q$(t){return"display"===t||"position"===t})(n)&&(i=i||new Map,i.set(n,e))}),i}class GE{constructor(i,e,n,r){this.element=i,this.keyframes=e,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const i=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,i,this.options),this._finalKeyframe=i.length?i[i.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(i){const e=[];return i.forEach(n=>{e.push(Object.fromEntries(n))}),e}_triggerWebAnimation(i,e,n){return i.animate(this._convertKeyframesToObject(e),n)}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(i=>i()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}setPosition(i){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=i*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const i=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,r)=>{"offset"!==r&&i.set(r,this._finished?n:TE(this.element,r))}),this.currentSnapshot=i}triggerCallback(i){const e="start"===i?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}}class Z${validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}matchesElement(i,e){return!1}containsElement(i,e){return wE(i,e)}getParentElement(i){return Fg(i)}query(i,e,n){return CE(i,e,n)}computeStyle(i,e,n){return window.getComputedStyle(i)[e]}animate(i,e,n,r,o,a=[]){const c={duration:n,delay:r,fill:0==r?"both":"forwards"};o&&(c.easing=o);const l=new Map,d=a.filter(m=>m instanceof GE);(function n$(t,i){return 0===t||0===i})(n,r)&&d.forEach(m=>{m.currentSnapshot.forEach((f,g)=>l.set(g,f))});let u=function e$(t){return t.length?t[0]instanceof Map?t:t.map(i=>EE(i)):[]}(e).map(m=>lr(m));u=function r$(t,i,e){if(e.size&&i.length){let n=i[0],r=[];if(e.forEach((o,a)=>{n.has(a)||r.push(a),n.set(a,o)}),r.length)for(let o=1;o<i.length;o++){let a=i[o];r.forEach(s=>a.set(s,TE(t,s)))}}return i}(i,u,l);const h=function q$(t,i){let e=null,n=null;return Array.isArray(i)&&i.length?(e=Xg(i[0]),i.length>1&&(n=Xg(i[i.length-1]))):i instanceof Map&&(e=Xg(i)),e||n?new Y$(t,e,n):null}(i,u);return new GE(i,u,c,h)}}let K$=(()=>{class t extends fE{constructor(e,n){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(n.body,{id:"0",encapsulation:_i.None,styles:[],data:{animation:[]}})}build(e){const n=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?gE(e):e;return WE(this._renderer,null,n,"register",[r]),new X$(n,this._renderer)}static#e=this.\u0275fac=function(n){return new(n||t)(v(ps),v(re))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})();class X$ extends hU{constructor(i,e){super(),this._id=i,this._renderer=e}create(i,e){return new J$(this._id,i,e||{},this._renderer)}}class J${constructor(i,e,n,r){this.id=i,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(i,e){return this._renderer.listen(this.element,`@@${this.id}:${i}`,e)}_command(i,...e){return WE(this._renderer,this.element,this.id,i,e)}onDone(i){this._listen("done",i)}onStart(i){this._listen("start",i)}onDestroy(i){this._listen("destroy",i)}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(i){this._command("setPosition",i)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function WE(t,i,e,n,r){return t.setProperty(i,`@@${e}:${n}`,r)}const qE="@.disabled";let e6=(()=>{class t{constructor(e,n,r){this.delegate=e,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,n.onRemovalComplete=(o,a)=>{const s=a?.parentNode(o);s&&a.removeChild(s,o)}}createRenderer(e,n){const o=this.delegate.createRenderer(e,n);if(!(e&&n&&n.data&&n.data.animation)){let d=this._rendererCache.get(o);return d||(d=new YE("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,d)),d}const a=n.id,s=n.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const c=d=>{Array.isArray(d)?d.forEach(c):this.engine.registerTrigger(a,s,e,d.name,d)};return n.data.animation.forEach(c),new t6(this,s,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,n,r){e>=0&&e<this._microtaskId?this._zone.run(()=>n(r)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[a,s]=o;a(s)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([n,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static#e=this.\u0275fac=function(n){return new(n||t)(v(ps),v(_u),v(z))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})();class YE{constructor(i,e,n,r){this.namespaceId=i,this.delegate=e,this.engine=n,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(i){this.delegate.destroyNode?.(i)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(i,e){return this.delegate.createElement(i,e)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}appendChild(i,e){this.delegate.appendChild(i,e),this.engine.onInsert(this.namespaceId,e,i,!1)}insertBefore(i,e,n,r=!0){this.delegate.insertBefore(i,e,n),this.engine.onInsert(this.namespaceId,e,i,r)}removeChild(i,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(i,e){return this.delegate.selectRootElement(i,e)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,e,n,r){this.delegate.setAttribute(i,e,n,r)}removeAttribute(i,e,n){this.delegate.removeAttribute(i,e,n)}addClass(i,e){this.delegate.addClass(i,e)}removeClass(i,e){this.delegate.removeClass(i,e)}setStyle(i,e,n,r){this.delegate.setStyle(i,e,n,r)}removeStyle(i,e,n){this.delegate.removeStyle(i,e,n)}setProperty(i,e,n){"@"==e.charAt(0)&&e==qE?this.disableAnimations(i,!!n):this.delegate.setProperty(i,e,n)}setValue(i,e){this.delegate.setValue(i,e)}listen(i,e,n){return this.delegate.listen(i,e,n)}disableAnimations(i,e){this.engine.disableAnimations(i,e)}}class t6 extends YE{constructor(i,e,n,r,o){super(e,n,r,o),this.factory=i,this.namespaceId=e}setProperty(i,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&e==qE?this.disableAnimations(i,n=void 0===n||!!n):this.engine.process(this.namespaceId,i,e.slice(1),n):this.delegate.setProperty(i,e,n)}listen(i,e,n){if("@"==e.charAt(0)){const r=function n6(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(i);let o=e.slice(1),a="";return"@"!=o.charAt(0)&&([o,a]=function r6(t){const i=t.indexOf(".");return[t.substring(0,i),t.slice(i+1)]}(o)),this.engine.listen(this.namespaceId,r,o,a,s=>{this.factory.scheduleListenerCallback(s._data||-1,n,s)})}return this.delegate.listen(i,e,n)}}const QE=[{provide:fE,useClass:K$},{provide:Wg,useFactory:function a6(){return new D$}},{provide:_u,useClass:(()=>{class t extends _u{constructor(e,n,r,o){super(e.body,n,r)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(n){return new(n||t)(v(re),v(Pg),v(Wg),v(Xn))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})()},{provide:ps,useFactory:function s6(t,i,e){return new e6(t,i,e)},deps:[Ff,_u,z]}],Jg=[{provide:Pg,useFactory:()=>new Z$},{provide:jt,useValue:"BrowserAnimations"},...QE],ZE=[{provide:Pg,useClass:DE},{provide:jt,useValue:"NoopAnimations"},...QE];let c6=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?ZE:Jg}}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({providers:Jg,imports:[ck]})}return t})();const Yr=new y("CallSetDisabledState",{providedIn:"root",factory:()=>yc}),yc="always";let VS=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({})}return t})();const m_=new y("NgModelWithFormControlWarning");let tI=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[VS]})}return t})(),aG=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Yr,useValue:e.callSetDisabledState??yc}]}}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[tI]})}return t})(),sG=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:m_,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Yr,useValue:e.callSetDisabledState??yc}]}}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[tI]})}return t})();class Au{}class Ru{}class un{constructor(i){this.normalizedNames=new Map,this.lazyUpdate=null,i?"string"==typeof i?this.lazyInit=()=>{this.headers=new Map,i.split("\n").forEach(e=>{const n=e.indexOf(":");if(n>0){const r=e.slice(0,n),o=r.toLowerCase(),a=e.slice(n+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:typeof Headers<"u"&&i instanceof Headers?(this.headers=new Map,i.forEach((e,n)=>{this.setHeaderEntries(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(i).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();const e=this.headers.get(i.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,e){return this.clone({name:i,value:e,op:"a"})}set(i,e){return this.clone({name:i,value:e,op:"s"})}delete(i,e){return this.clone({name:i,value:e,op:"d"})}maybeSetNormalizedName(i,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,i)}init(){this.lazyInit&&(this.lazyInit instanceof un?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init(),Array.from(i.headers.keys()).forEach(e=>{this.headers.set(e,i.headers.get(e)),this.normalizedNames.set(e,i.normalizedNames.get(e))})}clone(i){const e=new un;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof un?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([i]),e}applyUpdate(i){const e=i.name.toLowerCase();switch(i.op){case"a":case"s":let n=i.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(i.name,e);const r=("a"===i.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const o=i.value;if(o){let a=this.headers.get(e);if(!a)return;a=a.filter(s=>-1===o.indexOf(s)),0===a.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}setHeaderEntries(i,e){const n=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=i.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(i,r)}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>i(this.normalizedNames.get(e),this.headers.get(e)))}}class cG{encodeKey(i){return iI(i)}encodeValue(i){return iI(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}}const dG=/%(\d[a-f0-9])/gi,uG={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function iI(t){return encodeURIComponent(t).replace(dG,(i,e)=>uG[e]??i)}function Ou(t){return`${t}`}class hr{constructor(i={}){if(this.updates=null,this.cloneFrom=null,this.encoder=i.encoder||new cG,i.fromString){if(i.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function lG(t,i){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[a,s]=-1==o?[i.decodeKey(r),""]:[i.decodeKey(r.slice(0,o)),i.decodeValue(r.slice(o+1))],c=e.get(a)||[];c.push(s),e.set(a,c)}),e}(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(e=>{const n=i.fromObject[e],r=Array.isArray(n)?n.map(Ou):[Ou(n)];this.map.set(e,r)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();const e=this.map.get(i);return e?e[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,e){return this.clone({param:i,value:e,op:"a"})}appendAll(i){const e=[];return Object.keys(i).forEach(n=>{const r=i[n];Array.isArray(r)?r.forEach(o=>{e.push({param:n,value:o,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}set(i,e){return this.clone({param:i,value:e,op:"s"})}delete(i,e){return this.clone({param:i,value:e,op:"d"})}toString(){return this.init(),this.keys().map(i=>{const e=this.encoder.encodeKey(i);return this.map.get(i).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(i=>""!==i).join("&")}clone(i){const e=new hr({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(i),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(i=>this.map.set(i,this.cloneFrom.map.get(i))),this.updates.forEach(i=>{switch(i.op){case"a":case"s":const e=("a"===i.op?this.map.get(i.param):void 0)||[];e.push(Ou(i.value)),this.map.set(i.param,e);break;case"d":if(void 0===i.value){this.map.delete(i.param);break}{let n=this.map.get(i.param)||[];const r=n.indexOf(Ou(i.value));-1!==r&&n.splice(r,1),n.length>0?this.map.set(i.param,n):this.map.delete(i.param)}}}),this.cloneFrom=this.updates=null)}}class hG{constructor(){this.map=new Map}set(i,e){return this.map.set(i,e),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}}function nI(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function rI(t){return typeof Blob<"u"&&t instanceof Blob}function oI(t){return typeof FormData<"u"&&t instanceof FormData}class Cc{constructor(i,e,n,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=i.toUpperCase(),function mG(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new un),this.context||(this.context=new hG),this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=e;else{const s=e.indexOf("?");this.urlWithParams=e+(-1===s?"?":s<e.length-1?"&":"")+a}}else this.params=new hr,this.urlWithParams=e}serializeBody(){return null===this.body?null:nI(this.body)||rI(this.body)||oI(this.body)||function pG(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof hr?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||oI(this.body)?null:rI(this.body)?this.body.type||null:nI(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof hr?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(i={}){const e=i.method||this.method,n=i.url||this.url,r=i.responseType||this.responseType,o=void 0!==i.body?i.body:this.body,a=void 0!==i.withCredentials?i.withCredentials:this.withCredentials,s=void 0!==i.reportProgress?i.reportProgress:this.reportProgress;let c=i.headers||this.headers,l=i.params||this.params;const d=i.context??this.context;return void 0!==i.setHeaders&&(c=Object.keys(i.setHeaders).reduce((u,h)=>u.set(h,i.setHeaders[h]),c)),i.setParams&&(l=Object.keys(i.setParams).reduce((u,h)=>u.set(h,i.setParams[h]),l)),new Cc(e,n,o,{params:l,headers:c,context:d,reportProgress:s,responseType:r,withCredentials:a})}}var Sa=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Sa||{});class v_{constructor(i,e=200,n="OK"){this.headers=i.headers||new un,this.status=void 0!==i.status?i.status:e,this.statusText=i.statusText||n,this.url=i.url||null,this.ok=this.status>=200&&this.status<300}}class y_ extends v_{constructor(i={}){super(i),this.type=Sa.ResponseHeader}clone(i={}){return new y_({headers:i.headers||this.headers,status:void 0!==i.status?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}}class Ia extends v_{constructor(i={}){super(i),this.type=Sa.Response,this.body=void 0!==i.body?i.body:null}clone(i={}){return new Ia({body:void 0!==i.body?i.body:this.body,headers:i.headers||this.headers,status:void 0!==i.status?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}}class aI extends v_{constructor(i){super(i,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${i.url||"(unknown url)"}`:`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}}function x_(t,i){return{body:i,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let w_=(()=>{class t{constructor(e){this.handler=e}request(e,n,r={}){let o;if(e instanceof Cc)o=e;else{let c,l;c=r.headers instanceof un?r.headers:new un(r.headers),r.params&&(l=r.params instanceof hr?r.params:new hr({fromObject:r.params})),o=new Cc(e,n,void 0!==r.body?r.body:null,{headers:c,context:r.context,params:l,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const a=j(o).pipe(aa(c=>this.handler.handle(c)));if(e instanceof Cc||"events"===r.observe)return a;const s=a.pipe(Mt(c=>c instanceof Ia));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe(pe(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return s.pipe(pe(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return s.pipe(pe(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return s.pipe(pe(c=>c.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:(new hr).append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,r={}){return this.request("PATCH",e,x_(r,n))}post(e,n,r={}){return this.request("POST",e,x_(r,n))}put(e,n,r={}){return this.request("PUT",e,x_(r,n))}static#e=this.\u0275fac=function(n){return new(n||t)(v(Au))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})();function lI(t,i){return i(t)}function gG(t,i){return(e,n)=>i.intercept(e,{handle:r=>t(r,n)})}const bG=new y(""),Dc=new y(""),dI=new y("");function vG(){let t=null;return(i,e)=>{null===t&&(t=(I(bG,{optional:!0})??[]).reduceRight(gG,lI));const n=I(rd),r=n.add();return t(i,e).pipe(sa(()=>n.remove(r)))}}let uI=(()=>{class t extends Au{constructor(e,n){super(),this.backend=e,this.injector=n,this.chain=null,this.pendingTasks=I(rd)}handle(e){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(Dc),...this.injector.get(dI,[])]));this.chain=r.reduceRight((o,a)=>function _G(t,i,e){return(n,r)=>e.runInContext(()=>i(n,o=>t(o,r)))}(o,a,this.injector),lI)}const n=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(sa(()=>this.pendingTasks.remove(n)))}static#e=this.\u0275fac=function(n){return new(n||t)(v(Ru),v(ci))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})();const CG=/^\)\]\}',?\n/;let mI=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new x(-2800,!1);const n=this.xhrFactory;return(n.\u0275loadImpl?at(n.\u0275loadImpl()):j(null)).pipe(fi(()=>new Be(o=>{const a=n.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((g,_)=>a.setRequestHeader(g,_.join(","))),e.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const g=e.detectContentTypeHeader();null!==g&&a.setRequestHeader("Content-Type",g)}if(e.responseType){const g=e.responseType.toLowerCase();a.responseType="json"!==g?g:"text"}const s=e.serializeBody();let c=null;const l=()=>{if(null!==c)return c;const g=a.statusText||"OK",_=new un(a.getAllResponseHeaders()),w=function DG(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(a)||e.url;return c=new y_({headers:_,status:a.status,statusText:g,url:w}),c},d=()=>{let{headers:g,status:_,statusText:w,url:b}=l(),S=null;204!==_&&(S=typeof a.response>"u"?a.responseText:a.response),0===_&&(_=S?200:0);let P=_>=200&&_<300;if("json"===e.responseType&&"string"==typeof S){const oe=S;S=S.replace(CG,"");try{S=""!==S?JSON.parse(S):null}catch(Ne){S=oe,P&&(P=!1,S={error:Ne,text:S})}}P?(o.next(new Ia({body:S,headers:g,status:_,statusText:w,url:b||void 0})),o.complete()):o.error(new aI({error:S,headers:g,status:_,statusText:w,url:b||void 0}))},u=g=>{const{url:_}=l(),w=new aI({error:g,status:a.status||0,statusText:a.statusText||"Unknown Error",url:_||void 0});o.error(w)};let h=!1;const m=g=>{h||(o.next(l()),h=!0);let _={type:Sa.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(_.total=g.total),"text"===e.responseType&&a.responseText&&(_.partialText=a.responseText),o.next(_)},f=g=>{let _={type:Sa.UploadProgress,loaded:g.loaded};g.lengthComputable&&(_.total=g.total),o.next(_)};return a.addEventListener("load",d),a.addEventListener("error",u),a.addEventListener("timeout",u),a.addEventListener("abort",u),e.reportProgress&&(a.addEventListener("progress",m),null!==s&&a.upload&&a.upload.addEventListener("progress",f)),a.send(s),o.next({type:Sa.Sent}),()=>{a.removeEventListener("error",u),a.removeEventListener("abort",u),a.removeEventListener("load",d),a.removeEventListener("timeout",u),e.reportProgress&&(a.removeEventListener("progress",m),null!==s&&a.upload&&a.upload.removeEventListener("progress",f)),a.readyState!==a.DONE&&a.abort()}})))}static#e=this.\u0275fac=function(n){return new(n||t)(v(GD))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})();const C_=new y("XSRF_ENABLED"),pI=new y("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),fI=new y("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class gI{}let EG=(()=>{class t{constructor(e,n,r){this.doc=e,this.platform=n,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=RD(e,this.cookieName),this.lastCookieString=e),this.lastToken}static#e=this.\u0275fac=function(n){return new(n||t)(v(re),v(Ji),v(pI))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})();function SG(t,i){const e=t.url.toLowerCase();if(!I(C_)||"GET"===t.method||"HEAD"===t.method||e.startsWith("http://")||e.startsWith("https://"))return i(t);const n=I(gI).getToken(),r=I(fI);return null!=n&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,n)})),i(t)}var mr=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(mr||{});function IG(...t){const i=[w_,mI,uI,{provide:Au,useExisting:uI},{provide:Ru,useExisting:mI},{provide:Dc,useValue:SG,multi:!0},{provide:C_,useValue:!0},{provide:gI,useClass:EG}];for(const e of t)i.push(...e.\u0275providers);return function Am(t){return{\u0275providers:t}}(i)}const _I=new y("LEGACY_INTERCEPTOR_FN");function TG(){return function Zr(t,i){return{\u0275kind:t,\u0275providers:i}}(mr.LegacyInterceptors,[{provide:_I,useFactory:vG},{provide:Dc,useExisting:_I,multi:!0}])}let AG=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({providers:[IG(TG())]})}return t})();const LG=["addListener","removeListener"],BG=["addEventListener","removeEventListener"],VG=["on","off"];function D_(t,i,e,n){if(ve(e)&&(n=e,e=void 0),n)return D_(t,i,e).pipe(Vf(n));const[r,o]=function zG(t){return ve(t.addEventListener)&&ve(t.removeEventListener)}(t)?BG.map(a=>s=>t[a](i,s,e)):function HG(t){return ve(t.addListener)&&ve(t.removeListener)}(t)?LG.map(bI(t,i)):function jG(t){return ve(t.on)&&ve(t.off)}(t)?VG.map(bI(t,i)):[];if(!r&&gh(t))return bt(a=>D_(a,i,e))(Pt(t));if(!r)throw new TypeError("Invalid event target");return new Be(a=>{const s=(...c)=>a.next(1<c.length?c:c[0]);return r(s),()=>o(s)})}function bI(t,i){return e=>n=>t[e](i,n)}const kc={schedule(t){let i=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:n}=kc;n&&(i=n.requestAnimationFrame,e=n.cancelAnimationFrame);const r=i(o=>{e=void 0,t(o)});return new Qe(()=>e?.(r))},requestAnimationFrame(...t){const{delegate:i}=kc;return(i?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:i}=kc;return(i?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};new class $G extends _g{flush(i){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;i=i||n.shift();do{if(r=i.execute(i.state,i.delay))break}while((i=n[0])&&i.id===e&&n.shift());if(this._active=!1,r){for(;(i=n[0])&&i.id===e&&n.shift();)i.unsubscribe();throw r}}}(class UG extends gg{constructor(i,e){super(i,e),this.scheduler=i,this.work=e}requestAsyncId(i,e,n=0){return null!==n&&n>0?super.requestAsyncId(i,e,n):(i.actions.push(this),i._scheduled||(i._scheduled=kc.requestAnimationFrame(()=>i.flush(void 0))))}recycleAsyncId(i,e,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(i,e,n);const{actions:o}=i;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(kc.cancelAnimationFrame(e),i._scheduled=void 0)}});let k_,WG=1;const Pu={};function vI(t){return t in Pu&&(delete Pu[t],!0)}const qG={setImmediate(t){const i=WG++;return Pu[i]=!0,k_||(k_=Promise.resolve()),k_.then(()=>vI(i)&&t()),i},clearImmediate(t){vI(t)}},{setImmediate:YG,clearImmediate:QG}=qG,Nu={setImmediate(...t){const{delegate:i}=Nu;return(i?.setImmediate||YG)(...t)},clearImmediate(t){const{delegate:i}=Nu;return(i?.clearImmediate||QG)(t)},delegate:void 0};new class KG extends _g{flush(i){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;i=i||n.shift();do{if(r=i.execute(i.state,i.delay))break}while((i=n[0])&&i.id===e&&n.shift());if(this._active=!1,r){for(;(i=n[0])&&i.id===e&&n.shift();)i.unsubscribe();throw r}}}(class ZG extends gg{constructor(i,e){super(i,e),this.scheduler=i,this.work=e}requestAsyncId(i,e,n=0){return null!==n&&n>0?super.requestAsyncId(i,e,n):(i.actions.push(this),i._scheduled||(i._scheduled=Nu.setImmediate(i.flush.bind(i,void 0))))}recycleAsyncId(i,e,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(i,e,n);const{actions:o}=i;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(Nu.clearImmediate(e),i._scheduled===e&&(i._scheduled=void 0))}});function yI(t,i=bg){return function JG(t){return et((i,e)=>{let n=!1,r=null,o=null,a=!1;const s=()=>{if(o?.unsubscribe(),o=null,n){n=!1;const l=r;r=null,e.next(l)}a&&e.complete()},c=()=>{o=null,a&&e.complete()};i.subscribe(Ge(e,l=>{n=!0,r=l,o||Pt(t(l)).subscribe(o=Ge(e,s,c))},()=>{a=!0,(!n||!o||o.closed)&&e.complete()}))})}(()=>function tW(t=0,i,e=m5){let n=-1;return null!=i&&(Ib(i)?e=i:n=i),new Be(r=>{let o=function eW(t){return t instanceof Date&&!isNaN(t)}(t)?+t-e.now():t;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=n?this.schedule(void 0,n):r.complete())},o)})}(t,i))}let nW=(()=>{class t{constructor(e,n,r){this._ngZone=e,this._platform=n,this._scrolled=new Y,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const n=this.scrollContainers.get(e);n&&(n.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Be(n=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(yI(e)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):j()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(e,n){const r=this.getAncestorScrollContainers(e);return this.scrolled(n).pipe(Mt(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const n=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&n.push(o)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,n){let r=zr(n),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>D_(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(n){return new(n||t)(v(z),v(Et),v(re,8))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),M_=(()=>{class t{constructor(e,n,r){this._platform=e,this._change=new Y,this._changeListener=o=>{this._change.next(o)},this._document=r,n.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:n,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,n=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||n.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||n.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(yI(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(n){return new(n||t)(v(Et),v(z),v(re,8))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),pr=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({})}return t})(),E_=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[sc,pr,sc,pr]})}return t})(),xI=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[qe,$,pr,pr,$]})}return t})(),DI=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({})}return t})(),kI=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[$,An,DI,$,DI]})}return t})(),TI=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[$,$]})}return t})(),CW=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[$,$]})}return t})(),Vu=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[Kd,qe,$,An,XM,CW]})}return t})(),Hu=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[$,qe,$]})}return t})(),s9=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({})}return t})();class A_{attach(i){return this._attachedHost=i,i.attach(this)}detach(){let i=this._attachedHost;null!=i&&(this._attachedHost=null,i.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(i){this._attachedHost=i}}class R_ extends A_{constructor(i,e,n,r,o){super(),this.component=i,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=r,this.projectableNodes=o}}class BI extends A_{constructor(i,e,n,r){super(),this.templateRef=i,this.viewContainerRef=e,this.context=n,this.injector=r}get origin(){return this.templateRef.elementRef}attach(i,e=this.context){return this.context=e,super.attach(i)}detach(){return this.context=void 0,super.detach()}}class c9 extends A_{constructor(i){super(),this.element=i instanceof W?i.nativeElement:i}}class O_{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(i){return i instanceof R_?(this._attachedPortal=i,this.attachComponentPortal(i)):i instanceof BI?(this._attachedPortal=i,this.attachTemplatePortal(i)):this.attachDomPortal&&i instanceof c9?(this._attachedPortal=i,this.attachDomPortal(i)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(i){this._disposeFn=i}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class l9 extends O_{constructor(i,e,n,r,o){super(),this.outletElement=i,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=r,this.attachDomPortal=a=>{const s=a.element,c=this._document.createComment("dom-portal");s.parentNode.insertBefore(c,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(s,c)})},this._document=o}attachComponentPortal(i){const n=(i.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(i.component);let r;return i.viewContainerRef?(r=i.viewContainerRef.createComponent(n,i.viewContainerRef.length,i.injector||i.viewContainerRef.injector,i.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=n.create(i.injector||this._defaultInjector||st.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=i,r}attachTemplatePortal(i){let e=i.viewContainerRef,n=e.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return n.rootNodes.forEach(r=>this.outletElement.appendChild(r)),n.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(n);-1!==r&&e.remove(r)}),this._attachedPortal=i,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}}let F_=(()=>{class t extends O_{constructor(e,n,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=n,this._isInitialized=!1,this.attached=new ne,this.attachDomPortal=o=>{const a=o.element,s=this._document.createComment("dom-portal");o.setAttachedHost(this),a.parentNode.insertBefore(s,a),this._getRootNode().appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(a,s)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const n=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=n.createComponent(o,n.length,e.injector||n.injector,e.projectableNodes||void 0);return n!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);const n=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static#e=this.\u0275fac=function(n){return new(n||t)(p(Po),p(kt),p(re))};static#t=this.\u0275dir=C({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[T]})}return t})(),Pn=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({})}return t})(),HI=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[qe,$,s9,Pn]})}return t})(),$I=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[$,qe,An,$]})}return t})(),x9=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({})}return t})(),Sc=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[$,qe,Kd,$]})}return t})(),WI=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[$,Sc,Sc,x9,$]})}return t})(),YI=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[qe,$,Pn,An,Kd,ac,$]})}return t})();const QI=Wz();class F9{constructor(i,e){this._viewportRuler=i,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const i=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=i.style.left||"",this._previousHTMLStyles.top=i.style.top||"",i.style.left=dt(-this._previousScrollPosition.left),i.style.top=dt(-this._previousScrollPosition.top),i.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const i=this._document.documentElement,n=i.style,r=this._document.body.style,o=n.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,i.classList.remove("cdk-global-scrollblock"),QI&&(n.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),QI&&(n.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,n=this._viewportRuler.getViewportSize();return e.scrollHeight>n.height||e.scrollWidth>n.width}}class P9{constructor(i,e,n,r){this._scrollDispatcher=i,this._ngZone=e,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(i){this._overlayRef=i}enable(){if(this._scrollSubscription)return;const i=this._scrollDispatcher.scrolled(0).pipe(Mt(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=i.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=i.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ZI{enable(){}disable(){}attach(){}}function N_(t,i){return i.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function KI(t,i){return i.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class N9{constructor(i,e,n,r){this._scrollDispatcher=i,this._viewportRuler=e,this._ngZone=n,this._config=r,this._scrollSubscription=null}attach(i){this._overlayRef=i}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:r}=this._viewportRuler.getViewportSize();N_(e,[{width:n,height:r,bottom:r,right:n,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let L9=(()=>{class t{constructor(e,n,r,o){this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=r,this.noop=()=>new ZI,this.close=a=>new P9(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new F9(this._viewportRuler,this._document),this.reposition=a=>new N9(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=o}static#e=this.\u0275fac=function(n){return new(n||t)(v(nW),v(M_),v(z),v(re))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class XI{constructor(i){if(this.scrollStrategy=new ZI,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,i){const e=Object.keys(i);for(const n of e)void 0!==i[n]&&(this[n]=i[n])}}}class B9{constructor(i,e){this.connectionPair=i,this.scrollableViewProperties=e}}let JI=(()=>{class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const n=this._attachedOverlays.indexOf(e);n>-1&&this._attachedOverlays.splice(n,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(n){return new(n||t)(v(re))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),V9=(()=>{class t extends JI{constructor(e,n){super(e),this._ngZone=n,this._keydownListener=r=>{const o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--)if(o[a]._keydownEvents.observers.length>0){const s=o[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(r)):s.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(n){return new(n||t)(v(re),v(z,8))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),H9=(()=>{class t extends JI{constructor(e,n,r){super(e),this._platform=n,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=or(o)},this._clickListener=o=>{const a=or(o),s="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let l=c.length-1;l>-1;l--){const d=c[l];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(a)||d.overlayElement.contains(s))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(e){if(super.add(e),!this._isAttached){const n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(n){return new(n||t)(v(re),v(Et),v(z,8))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ju=(()=>{class t{constructor(e,n){this._platform=n,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||hg()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}const n=this._document.createElement("div");n.classList.add(e),hg()?n.setAttribute("platform","test"):this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}static#e=this.\u0275fac=function(n){return new(n||t)(v(re),v(Et))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class Ic{constructor(i,e,n,r,o,a,s,c,l,d=!1){this._portalOutlet=i,this._host=e,this._pane=n,this._config=r,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=c,this._outsideClickDispatcher=l,this._animationsDisabled=d,this._backdropElement=null,this._backdropClick=new Y,this._attachments=new Y,this._detachments=new Y,this._locationChanges=Qe.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new Y,this._outsidePointerEvents=new Y,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(i){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(i);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(qt(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const i=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),i}dispose(){const i=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,i&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(i){i!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=i,this.hasAttached()&&(i.attach(this),this.updatePosition()))}updateSize(i){this._config={...this._config,...i},this._updateElementSize()}setDirection(i){this._config={...this._config,direction:i},this._updateElementDirection()}addPanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!0)}removePanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!1)}getDirection(){const i=this._config.direction;return i?"string"==typeof i?i:i.value:"ltr"}updateScrollStrategy(i){i!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=i,this.hasAttached()&&(i.attach(this),i.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const i=this._pane.style;i.width=dt(this._config.width),i.height=dt(this._config.height),i.minWidth=dt(this._config.minWidth),i.minHeight=dt(this._config.minHeight),i.maxWidth=dt(this._config.maxWidth),i.maxHeight=dt(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?"":"none"}_attachBackdrop(){const i="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(i)})}):this._backdropElement.classList.add(i)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const i=this._backdropElement;if(i){if(this._animationsDisabled)return void this._disposeBackdrop(i);i.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{i.addEventListener("transitionend",this._backdropTransitionendHandler)}),i.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(i)},500))}}_toggleClasses(i,e,n){const r=Zd(e||[]).filter(o=>!!o);r.length&&(n?i.classList.add(...r):i.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const i=this._ngZone.onStable.pipe(rt(vr(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),i.unsubscribe())})})}_disposeScrollStrategy(){const i=this._scrollStrategy;i&&(i.disable(),i.detach&&i.detach())}_disposeBackdrop(i){i&&(i.removeEventListener("click",this._backdropClickHandler),i.removeEventListener("transitionend",this._backdropTransitionendHandler),i.remove(),this._backdropElement===i&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const eT="cdk-overlay-connected-position-bounding-box",j9=/([A-Za-z%]+)$/;class z9{get positions(){return this._preferredPositions}constructor(i,e,n,r,o){this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Y,this._resizeSubscription=Qe.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(i)}attach(i){this._validatePositions(),i.hostElement.classList.add(eT),this._overlayRef=i,this._boundingBox=i.hostElement,this._pane=i.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const i=this._originRect,e=this._overlayRect,n=this._viewportRect,r=this._containerRect,o=[];let a;for(let s of this._preferredPositions){let c=this._getOriginPoint(i,r,s),l=this._getOverlayPoint(c,e,s),d=this._getOverlayFit(l,e,n,s);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,c);this._canFitWithFlexibleDimensions(d,l,n)?o.push({position:s,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,s)}):(!a||a.overlayFit.visibleArea<d.visibleArea)&&(a={overlayFit:d,overlayPoint:l,originPoint:c,position:s,overlayRect:e})}if(o.length){let s=null,c=-1;for(const l of o){const d=l.boundingBoxRect.width*l.boundingBoxRect.height*(l.position.weight||1);d>c&&(c=d,s=l)}return this._isPushed=!1,void this._applyPosition(s.position,s.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Xr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(eT),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const i=this._lastPosition;if(i){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,i);this._applyPosition(i,e)}else this.apply()}withScrollableContainers(i){return this._scrollables=i,this}withPositions(i){return this._preferredPositions=i,-1===i.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(i){return this._viewportMargin=i,this}withFlexibleDimensions(i=!0){return this._hasFlexibleDimensions=i,this}withGrowAfterOpen(i=!0){return this._growAfterOpen=i,this}withPush(i=!0){return this._canPush=i,this}withLockedPosition(i=!0){return this._positionLocked=i,this}setOrigin(i){return this._origin=i,this}withDefaultOffsetX(i){return this._offsetX=i,this}withDefaultOffsetY(i){return this._offsetY=i,this}withTransformOriginOn(i){return this._transformOriginSelector=i,this}_getOriginPoint(i,e,n){let r,o;if("center"==n.originX)r=i.left+i.width/2;else{const a=this._isRtl()?i.right:i.left,s=this._isRtl()?i.left:i.right;r="start"==n.originX?a:s}return e.left<0&&(r-=e.left),o="center"==n.originY?i.top+i.height/2:"top"==n.originY?i.top:i.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(i,e,n){let r,o;return r="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:i.x+r,y:i.y+o}}_getOverlayFit(i,e,n,r){const o=iT(e);let{x:a,y:s}=i,c=this._getOffset(r,"x"),l=this._getOffset(r,"y");c&&(a+=c),l&&(s+=l);let h=0-s,m=s+o.height-n.height,f=this._subtractOverflows(o.width,0-a,a+o.width-n.width),g=this._subtractOverflows(o.height,h,m),_=f*g;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:g===o.height,fitsInViewportHorizontally:f==o.width}}_canFitWithFlexibleDimensions(i,e,n){if(this._hasFlexibleDimensions){const r=n.bottom-e.y,o=n.right-e.x,a=tT(this._overlayRef.getConfig().minHeight),s=tT(this._overlayRef.getConfig().minWidth);return(i.fitsInViewportVertically||null!=a&&a<=r)&&(i.fitsInViewportHorizontally||null!=s&&s<=o)}return!1}_pushOverlayOnScreen(i,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};const r=iT(e),o=this._viewportRect,a=Math.max(i.x+r.width-o.width,0),s=Math.max(i.y+r.height-o.height,0),c=Math.max(o.top-n.top-i.y,0),l=Math.max(o.left-n.left-i.x,0);let d=0,u=0;return d=r.width<=o.width?l||-a:i.x<this._viewportMargin?o.left-n.left-i.x:0,u=r.height<=o.height?c||-s:i.y<this._viewportMargin?o.top-n.top-i.y:0,this._previousPushAmount={x:d,y:u},{x:i.x+d,y:i.y+u}}_applyPosition(i,e){if(this._setTransformOrigin(i),this._setOverlayElementStyles(e,i),this._setBoundingBoxStyles(e,i),i.panelClass&&this._addPanelClasses(i.panelClass),this._lastPosition=i,this._positionChanges.observers.length){const n=this._getScrollVisibility(),r=new B9(i,n);this._positionChanges.next(r)}this._isInitialRender=!1}_setTransformOrigin(i){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,r=i.overlayY;n="center"===i.overlayX?"center":this._isRtl()?"start"===i.overlayX?"right":"left":"start"===i.overlayX?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${n} ${r}`}_calculateBoundingBoxRect(i,e){const n=this._viewportRect,r=this._isRtl();let o,a,s,d,u,h;if("top"===e.overlayY)a=i.y,o=n.height-a+this._viewportMargin;else if("bottom"===e.overlayY)s=n.height-i.y+2*this._viewportMargin,o=n.height-s+this._viewportMargin;else{const m=Math.min(n.bottom-i.y+n.top,i.y),f=this._lastBoundingBoxSize.height;o=2*m,a=i.y-m,o>f&&!this._isInitialRender&&!this._growAfterOpen&&(a=i.y-f/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)h=n.width-i.x+this._viewportMargin,d=i.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)u=i.x,d=n.right-i.x;else{const m=Math.min(n.right-i.x+n.left,i.x),f=this._lastBoundingBoxSize.width;d=2*m,u=i.x-m,d>f&&!this._isInitialRender&&!this._growAfterOpen&&(u=i.x-f/2)}return{top:a,left:u,bottom:s,right:h,width:d,height:o}}_setBoundingBoxStyles(i,e){const n=this._calculateBoundingBoxRect(i,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.height=dt(n.height),r.top=dt(n.top),r.bottom=dt(n.bottom),r.width=dt(n.width),r.left=dt(n.left),r.right=dt(n.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=dt(o)),a&&(r.maxWidth=dt(a))}this._lastBoundingBoxSize=n,Xr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Xr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Xr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(i,e){const n={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){const d=this._viewportRuler.getViewportScrollPosition();Xr(n,this._getExactOverlayY(e,i,d)),Xr(n,this._getExactOverlayX(e,i,d))}else n.position="static";let s="",c=this._getOffset(e,"x"),l=this._getOffset(e,"y");c&&(s+=`translateX(${c}px) `),l&&(s+=`translateY(${l}px)`),n.transform=s.trim(),a.maxHeight&&(r?n.maxHeight=dt(a.maxHeight):o&&(n.maxHeight="")),a.maxWidth&&(r?n.maxWidth=dt(a.maxWidth):o&&(n.maxWidth="")),Xr(this._pane.style,n)}_getExactOverlayY(i,e,n){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,i);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),"bottom"===i.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=dt(o.y),r}_getExactOverlayX(i,e,n){let a,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,i);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),a=this._isRtl()?"end"===i.overlayX?"left":"right":"end"===i.overlayX?"right":"left","right"===a?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=dt(o.x),r}_getScrollVisibility(){const i=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:KI(i,n),isOriginOutsideView:N_(i,n),isOverlayClipped:KI(e,n),isOverlayOutsideView:N_(e,n)}}_subtractOverflows(i,...e){return e.reduce((n,r)=>n-Math.max(r,0),i)}_getNarrowedViewportRect(){const i=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+i-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:i-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,e){return"x"===e?null==i.offsetX?this._offsetX:i.offsetX:null==i.offsetY?this._offsetY:i.offsetY}_validatePositions(){}_addPanelClasses(i){this._pane&&Zd(i).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getOriginRect(){const i=this._origin;if(i instanceof W)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();const e=i.width||0,n=i.height||0;return{top:i.y,bottom:i.y+n,left:i.x,right:i.x+e,height:n,width:e}}}function Xr(t,i){for(let e in i)i.hasOwnProperty(e)&&(t[e]=i[e]);return t}function tT(t){if("number"!=typeof t&&null!=t){const[i,e]=t.split(j9);return e&&"px"!==e?null:parseFloat(i)}return t||null}function iT(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const nT="cdk-global-overlay-wrapper";class U9{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(i){const e=i.getConfig();this._overlayRef=i,this._width&&!e.width&&i.updateSize({width:this._width}),this._height&&!e.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(nT),this._isDisposed=!1}top(i=""){return this._bottomOffset="",this._topOffset=i,this._alignItems="flex-start",this}left(i=""){return this._xOffset=i,this._xPosition="left",this}bottom(i=""){return this._topOffset="",this._bottomOffset=i,this._alignItems="flex-end",this}right(i=""){return this._xOffset=i,this._xPosition="right",this}start(i=""){return this._xOffset=i,this._xPosition="start",this}end(i=""){return this._xOffset=i,this._xPosition="end",this}width(i=""){return this._overlayRef?this._overlayRef.updateSize({width:i}):this._width=i,this}height(i=""){return this._overlayRef?this._overlayRef.updateSize({height:i}):this._height=i,this}centerHorizontally(i=""){return this.left(i),this._xPosition="center",this}centerVertically(i=""){return this.top(i),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=n,c=!("100%"!==r&&"100vw"!==r||a&&"100%"!==a&&"100vw"!==a),l=!("100%"!==o&&"100vh"!==o||s&&"100%"!==s&&"100vh"!==s),d=this._xPosition,u=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let m="",f="",g="";c?g="flex-start":"center"===d?(g="center",h?f=u:m=u):h?"left"===d||"end"===d?(g="flex-end",m=u):("right"===d||"start"===d)&&(g="flex-start",f=u):"left"===d||"start"===d?(g="flex-start",m=u):("right"===d||"end"===d)&&(g="flex-end",f=u),i.position=this._cssPosition,i.marginLeft=c?"0":m,i.marginTop=l?"0":this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=c?"0":f,e.justifyContent=g,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(nT),n.justifyContent=n.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}}let $9=(()=>{class t{constructor(e,n,r,o){this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=o}global(){return new U9}flexibleConnectedTo(e){return new z9(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(n){return new(n||t)(v(M_),v(re),v(Et),v(ju))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),G9=0,hn=(()=>{class t{constructor(e,n,r,o,a,s,c,l,d,u,h,m){this.scrollStrategies=e,this._overlayContainer=n,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=a,this._injector=s,this._ngZone=c,this._document=l,this._directionality=d,this._location=u,this._outsideClickDispatcher=h,this._animationsModuleType=m}create(e){const n=this._createHostElement(),r=this._createPaneElement(n),o=this._createPortalOutlet(r),a=new XI(e);return a.direction=a.direction||this._directionality.value,new Ic(o,n,r,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const n=this._document.createElement("div");return n.id="cdk-overlay-"+G9++,n.classList.add("cdk-overlay-pane"),e.appendChild(n),n}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Xn)),new l9(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(n){return new(n||t)(v(L9),v(ju),v(Po),v($9),v(V9),v(st),v(z),v(re),v(ya),v(Ls),v(H9),v(jt,8))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const Y9={provide:new y("cdk-connected-overlay-scroll-strategy"),deps:[hn],useFactory:function q9(t){return()=>t.scrollStrategies.reposition()}};let Jr=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({providers:[hn,Y9],imports:[sc,Pn,E_,E_]})}return t})(),rT=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[Jr,Pn,qe,hc,$,$]})}return t})(),oT=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[qe,$]})}return t})();function e7(t,i){}class zu{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let aT=(()=>{class t extends O_{constructor(e,n,r,o,a,s,c,l){super(),this._elementRef=e,this._focusTrapFactory=n,this._config=o,this._interactivityChecker=a,this._ngZone=s,this._overlayRef=c,this._focusMonitor=l,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=d=>{this._portalOutlet.hasAttached();const u=this._portalOutlet.attachDomPortal(d);return this._contentAttached(),u},this._document=r,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const n=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),n}attachTemplatePortal(e){this._portalOutlet.hasAttached();const n=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),n}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,n){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(n)}_focusByCssSelector(e,n){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,n)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(n=>{n||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let n=null;if("string"==typeof e?n=this._document.querySelector(e):"boolean"==typeof e?n=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(n=e),this._config.restoreFocus&&n&&"function"==typeof n.focus){const r=Yd(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(n,this._closeInteractionType),this._closeInteractionType=null):n.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,n=Yd();return e===n||e.contains(n)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Yd())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(n){return new(n||t)(p(W),p(yg),p(re,8),p(zu),p(Xd),p(z),p(Ic),p(sr))};static#t=this.\u0275cmp=se({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(n,r){if(1&n&>(F_,7),2&n){let o;ee(o=te())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(n,r){2&n&&J("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[T],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,r){1&n&&V(0,e7,0,0,"ng-template",0)},dependencies:[F_],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return t})();class L_{constructor(i,e){this.overlayRef=i,this.config=e,this.closed=new Y,this.disableClose=e.disableClose,this.backdropClick=i.backdropClick(),this.keydownEvents=i.keydownEvents(),this.outsidePointerEvents=i.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(n=>{27===n.keyCode&&!this.disableClose&&!ar(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=i.detachments().subscribe(()=>{!1!==e.closeOnOverlayDetachments&&this.close()})}close(i,e){if(this.containerInstance){const n=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(i),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(i="",e=""){return this.overlayRef.updateSize({width:i,height:e}),this}addPanelClass(i){return this.overlayRef.addPanelClass(i),this}removePanelClass(i){return this.overlayRef.removePanelClass(i),this}}const sT=new y("DialogScrollStrategy"),t7=new y("DialogData"),n7=new y("DefaultDialogConfig"),o7={provide:sT,deps:[hn],useFactory:function r7(t){return()=>t.scrollStrategies.block()}};let a7=0,cT=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,n,r,o,a,s){this._overlay=e,this._injector=n,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Y,this._afterOpenedAtThisLevel=new Y,this._ariaHiddenElements=new Map,this.afterAllClosed=Id(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(tr(void 0))),this._scrollStrategy=s}open(e,n){(n={...this._defaultOptions||new zu,...n}).id=n.id||"cdk-dialog-"+a7++,n.id&&this.getDialogById(n.id);const o=this._getOverlayConfig(n),a=this._overlay.create(o),s=new L_(a,n),c=this._attachContainer(a,s,n);return s.containerInstance=c,this._attachDialogContent(e,s,c,n),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){B_(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){B_(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),B_(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const n=new XI({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(n.backdropClass=e.backdropClass),n}_attachContainer(e,n,r){const o=r.injector||r.viewContainerRef?.injector,a=[{provide:zu,useValue:r},{provide:L_,useValue:n},{provide:Ic,useValue:e}];let s;r.container?"function"==typeof r.container?s=r.container:(s=r.container.type,a.push(...r.container.providers(r))):s=aT;const c=new R_(s,r.viewContainerRef,st.create({parent:o||this._injector,providers:a}),r.componentFactoryResolver);return e.attach(c).instance}_attachDialogContent(e,n,r,o){if(e instanceof ft){const a=this._createInjector(o,n,r,void 0);let s={$implicit:o.data,dialogRef:n};o.templateContext&&(s={...s,..."function"==typeof o.templateContext?o.templateContext():o.templateContext}),r.attachTemplatePortal(new BI(e,null,s,a))}else{const a=this._createInjector(o,n,r,this._injector),s=r.attachComponentPortal(new R_(e,o.viewContainerRef,a,o.componentFactoryResolver));n.componentRef=s,n.componentInstance=s.instance}}_createInjector(e,n,r,o){const a=e.injector||e.viewContainerRef?.injector,s=[{provide:t7,useValue:e.data},{provide:L_,useValue:n}];return e.providers&&("function"==typeof e.providers?s.push(...e.providers(n,e,r)):s.push(...e.providers)),e.direction&&(!a||!a.get(ya,null,{optional:!0}))&&s.push({provide:ya,useValue:{value:e.direction,change:j()}}),st.create({parent:a||o,providers:s})}_removeOpenDialog(e,n){const r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,a)=>{o?a.setAttribute("aria-hidden",o):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const n=e.parentElement.children;for(let r=n.length-1;r>-1;r--){const o=n[r];o!==e&&"SCRIPT"!==o.nodeName&&"STYLE"!==o.nodeName&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(n){return new(n||t)(v(hn),v(st),v(n7,8),v(t,12),v(ju),v(sT))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})();function B_(t,i){let e=t.length;for(;e--;)i(t[e])}let lT=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({providers:[cT,o7],imports:[Jr,Pn,ac,Pn]})}return t})(),dT=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[lT,$,Pn,$]})}return t})(),uT=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[ac,$,$]})}return t})(),mT=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[WM,$,WM,$]})}return t})();function l7(t,i){}class Uu{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const V_="mdc-dialog--open",pT="mdc-dialog--opening",fT="mdc-dialog--closing";let h7=(()=>{class t extends aT{constructor(e,n,r,o,a,s,c,l){super(e,n,r,o,a,s,c,l),this._animationStateChanged=new ne}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}static#e=this.\u0275fac=function(n){return new(n||t)(p(W),p(yg),p(re,8),p(Uu),p(Xd),p(z),p(Ic),p(sr))};static#t=this.\u0275cmp=se({type:t,selectors:[["ng-component"]],features:[T],decls:0,vars:0,template:function(n,r){},encapsulation:2})}return t})();const gT="--mat-dialog-transition-duration";function _T(t){return null==t?null:"number"==typeof t?t:t.endsWith("ms")?ba(t.substring(0,t.length-2)):t.endsWith("s")?1e3*ba(t.substring(0,t.length-1)):"0"===t?0:null}let m7=(()=>{class t extends h7{constructor(e,n,r,o,a,s,c,l,d){super(e,n,r,o,a,s,c,d),this._animationMode=l,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?_T(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?_T(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(gT,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(pT,V_)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(V_),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(V_),this._animationsEnabled?(this._hostElement.style.setProperty(gT,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(fT)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(pT,fT)}_waitForAnimationToComplete(e,n){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(e):e()})}static#e=this.\u0275fac=function(n){return new(n||t)(p(W),p(yg),p(re,8),p(Uu),p(Xd),p(z),p(Ic),p(jt,8),p(sr))};static#t=this.\u0275cmp=se({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(n,r){2&n&&(Ci("id",r._config.id),J("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),Se("_mat-animation-noopable",!r._animationsEnabled))},features:[T],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(n,r){1&n&&(k(0,"div",0)(1,"div",1),V(2,l7,0,0,"ng-template",2),E()())},dependencies:[F_],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}return t})();class p7{constructor(i,e,n){this._ref=i,this._containerInstance=n,this._afterOpened=new Y,this._beforeClosed=new Y,this._state=0,this.disableClose=e.disableClose,this.id=i.id,n._animationStateChanged.pipe(Mt(r=>"opened"===r.state),qt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(Mt(r=>"closed"===r.state),qt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),vr(this.backdropClick(),this.keydownEvents().pipe(Mt(r=>27===r.keyCode&&!this.disableClose&&!ar(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),function f7(t,i,e){t._closeInteractionType=i,t.close(e)}(this,"keydown"===r.type?"keyboard":"mouse"))})}close(i){this._result=i,this._containerInstance._animationStateChanged.pipe(Mt(e=>"closing"===e.state),qt(1)).subscribe(e=>{this._beforeClosed.next(i),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(i){let e=this._ref.config.positionStrategy;return i&&(i.left||i.right)?i.left?e.left(i.left):e.right(i.right):e.centerHorizontally(),i&&(i.top||i.bottom)?i.top?e.top(i.top):e.bottom(i.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(i="",e=""){return this._ref.updateSize(i,e),this}addPanelClass(i){return this._ref.addPanelClass(i),this}removePanelClass(i){return this._ref.removePanelClass(i),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const g7=new y("MatMdcDialogData"),_7=new y("mat-mdc-dialog-default-options"),bT=new y("mat-mdc-dialog-scroll-strategy"),v7={provide:bT,deps:[hn],useFactory:function b7(t){return()=>t.scrollStrategies.block()}};let y7=0,x7=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,n,r,o,a,s,c,l,d,u){this._overlay=e,this._defaultOptions=r,this._parentDialog=o,this._dialogRefConstructor=c,this._dialogContainerType=l,this._dialogDataToken=d,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Y,this._afterOpenedAtThisLevel=new Y,this._idPrefix="mat-dialog-",this.dialogConfigClass=Uu,this.afterAllClosed=Id(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(tr(void 0))),this._scrollStrategy=s,this._dialog=n.get(cT)}open(e,n){let r;(n={...this._defaultOptions||new Uu,...n}).id=n.id||`${this._idPrefix}${y7++}`,n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();const o=this._dialog.open(e,{...n,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:n},{provide:zu,useValue:n}]},templateContext:()=>({dialogRef:r}),providers:(a,s,c)=>(r=new this._dialogRefConstructor(a,n,c),r.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:r}])});return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{const a=this.openDialogs.indexOf(r);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let n=e.length;for(;n--;)e[n].close()}static#e=this.\u0275fac=function(n){qn()};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})(),w7=(()=>{class t extends x7{constructor(e,n,r,o,a,s,c,l){super(e,n,o,s,c,a,p7,m7,g7,l),this._idPrefix="mat-mdc-dialog-"}static#e=this.\u0275fac=function(n){return new(n||t)(v(hn),v(st),v(Ls,8),v(_7,8),v(bT),v(t,12),v(ju),v(jt,8))};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac})}return t})(),C7=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({providers:[w7,v7],imports:[lT,Jr,Pn,$,$]})}return t})();const S7={provide:new y("mat-select-scroll-strategy"),deps:[hn],useFactory:function E7(t){return()=>t.scrollStrategies.reposition()}};let H_=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({providers:[S7],imports:[qe,Jr,JM,$,pr,Sc,JM,$]})}return t})();const $u=new y("mat-chips-default-options");let ET=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({providers:[GM,{provide:$u,useValue:{separatorKeyCodes:[13]}}],imports:[$,qe,An,$]})}return t})();const sq={provide:new y("mat-tooltip-scroll-strategy"),deps:[hn],useFactory:function aq(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}};let W_=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({providers:[sq],imports:[ac,qe,Jr,$,$,pr]})}return t})(),q_=(()=>{class t{constructor(){this.changes=new Y,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,n,r)=>{if(0==r||0==n)return`0 of ${r}`;const o=e*n;return`${o+1} \u2013 ${o<(r=Math.max(r,0))?Math.min(o+n,r):o+n} of ${r}`}}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const mq={provide:q_,deps:[[new yi,new Ki,q_]],useFactory:function hq(t){return t||new q_}};let ST=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({providers:[mq],imports:[qe,hc,H_,W_]})}return t})(),TT=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({})}return t})(),AT=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[TT,$,An,qe,TT,$]})}return t})(),Y_=(()=>{class t{constructor(){this.changes=new Y}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const Mq={provide:Y_,deps:[[new yi,new Ki,Y_]],useFactory:function kq(t){return t||new Y_}};let RT=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({providers:[Mq],imports:[qe,$]})}return t})();const Tq={provide:new y("mat-menu-scroll-strategy"),deps:[hn],useFactory:function Iq(t){return()=>t.scrollStrategies.reposition()}};let FT=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({providers:[Tq],imports:[qe,An,$,Jr,pr,$]})}return t})(),PT=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[$,$]})}return t})(),$q=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[E_]})}return t})(),WT=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[$,$q,$]})}return t})(),iY=(()=>{class t{constructor(){this.changes=new Y,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(e,n){return`${e} \u2013 ${n}`}formatYearRangeLabel(e,n){return`${e} to ${n}`}static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const hY={provide:new y("mat-datepicker-scroll-strategy"),deps:[hn],useFactory:function uY(t){return()=>t.scrollStrategies.reposition()}};let KT=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({providers:[iY,hY],imports:[qe,hc,Jr,ac,Pn,$,pr]})}return t})(),vY=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t});static#i=this.\u0275inj=N({imports:[TI,hc,kI,xI,Vu,YI,Hu,Vu,Hu,HI,$I,WI,rT,oT,dT,uT,mT,C7,H_,ET,AT,FT,W_,PT,WT,ST,RT,Sc,KT,$M,TI,hc,kI,xI,Vu,YI,Hu,Vu,Hu,HI,$I,WI,rT,oT,dT,uT,mT,H_,ET,AT,FT,W_,PT,WT,ST,RT,Sc,KT,$M]})}return t})(),yY=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=L({type:t,bootstrap:[uU]});static#i=this.\u0275inj=N({imports:[ck,$z,c6,aG,sG,AG,vY,aU]})}return t})();aH().bootstrapModule(yY).catch(t=>console.error(t))}},ve=>{ve(ve.s=647)}]);